diff --git a/.gitmodules b/.gitmodules index 20ce955e1..97c65c800 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = ../wine [submodule "dxvk"] path = dxvk - url = ../dxvk + url = https://github.com/doitsujin/dxvk.git [submodule "openvr"] path = openvr url = https://github.com/ValveSoftware/openvr @@ -13,12 +13,6 @@ [submodule "gstreamer"] path = gstreamer url = https://github.com/GStreamer/gstreamer.git -[submodule "gst-plugins-base"] - path = gst-plugins-base - url = https://github.com/GStreamer/gst-plugins-base.git -[submodule "gst-plugins-good"] - path = gst-plugins-good - url = https://github.com/GStreamer/gst-plugins-good.git [submodule "gst-orc"] path = gst-orc url = https://github.com/GStreamer/orc.git @@ -61,3 +55,13 @@ [submodule "glslang"] path = glslang url = https://github.com/KhronosGroup/glslang +[submodule "openfst"] + path = openfst + url = https://github.com/alphacep/openfst +[submodule "kaldi"] + path = kaldi + url = https://github.com/alphacep/kaldi + branch = vosk +[submodule "vosk-api"] + path = vosk-api + url = https://github.com/alphacep/vosk-api diff --git a/Makefile b/Makefile index 9f9812b94..30289bca3 100644 --- a/Makefile +++ b/Makefile @@ -129,6 +129,7 @@ proton: configure echo "Proton built locally. Use 'install', 'deploy' or 'redist' targets." install: configure + rm -rf $(STEAM_DIR)/compatibilitytools.d/$(_build_name)/files/ #remove proton's internal files, but preserve user_settings etc from top-level $(MAKE) $(MFLAGS) $(MAKEOVERRIDES) -C $(BUILD_DIR)/ $(UNSTRIPPED) install echo "Proton installed to your local Steam installation" @@ -169,8 +170,8 @@ any $(CONTAINERGOALS): configure dxvk: | $(BUILD_ROOT)/dxvk/lib/wine/dxvk dxvk: | $(BUILD_ROOT)/dxvk/lib64/wine/dxvk dxvk: any - cp -f $(BUILD_DIR)/dist/dist/lib/wine/dxvk/*.dll $(BUILD_ROOT)/dxvk/lib/wine/dxvk/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/dxvk/*.dll $(BUILD_ROOT)/dxvk/lib64/wine/dxvk/ + cp -f $(BUILD_DIR)/dist/files/lib/wine/dxvk/*.dll $(BUILD_ROOT)/dxvk/lib/wine/dxvk/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/dxvk/*.dll $(BUILD_ROOT)/dxvk/lib64/wine/dxvk/ dxvk-nvapi: | $(BUILD_ROOT)/dxvk-nvapi/lib/wine/nvapi dxvk-nvapi: | $(BUILD_ROOT)/dxvk-nvapi/lib64/wine/nvapi @@ -181,34 +182,34 @@ dxvk-nvapi: any vkd3d-proton: | $(BUILD_ROOT)/vkd3d-proton/lib/wine/vkd3d-proton vkd3d-proton: | $(BUILD_ROOT)/vkd3d-proton/lib64/wine/vkd3d-proton vkd3d-proton: any - cp -f $(BUILD_DIR)/dist/dist/lib/wine/vkd3d-proton/*.dll $(BUILD_ROOT)/vkd3d-proton/lib/wine/vkd3d-proton/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/vkd3d-proton/*.dll $(BUILD_ROOT)/vkd3d-proton/lib64/wine/vkd3d-proton/ + cp -f $(BUILD_DIR)/dist/files/lib/wine/vkd3d-proton/*.dll $(BUILD_ROOT)/vkd3d-proton/lib/wine/vkd3d-proton/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/vkd3d-proton/*.dll $(BUILD_ROOT)/vkd3d-proton/lib64/wine/vkd3d-proton/ lsteamclient: | $(BUILD_ROOT)/lsteamclient/lib/wine/i386-windows lsteamclient: | $(BUILD_ROOT)/lsteamclient/lib/wine/i386-unix lsteamclient: | $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-windows lsteamclient: | $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-unix lsteamclient: any - cp -f $(BUILD_DIR)/dist/dist/lib/wine/i386-windows/lsteamclient.dll $(BUILD_ROOT)/lsteamclient/lib/wine/i386-windows/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib/wine/i386-unix/lsteamclient.dll.so $(BUILD_ROOT)/lsteamclient/lib/wine/i386-unix/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-windows/lsteamclient.dll $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-windows/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-unix/lsteamclient.dll.so $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-unix/ + cp -f $(BUILD_DIR)/dist/files/lib/wine/i386-windows/lsteamclient.dll $(BUILD_ROOT)/lsteamclient/lib/wine/i386-windows/ && \ + cp -f $(BUILD_DIR)/dist/files/lib/wine/i386-unix/lsteamclient.dll.so $(BUILD_ROOT)/lsteamclient/lib/wine/i386-unix/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-windows/lsteamclient.dll $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-windows/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-unix/lsteamclient.dll.so $(BUILD_ROOT)/lsteamclient/lib64/wine/x86_64-unix/ vrclient: | $(BUILD_ROOT)/vrclient/lib/wine/i386-windows vrclient: | $(BUILD_ROOT)/vrclient/lib/wine/i386-unix vrclient: | $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-windows vrclient: | $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-unix vrclient: any - cp -f $(BUILD_DIR)/dist/dist/lib/wine/i386-windows/vrclient.dll $(BUILD_ROOT)/vrclient/lib/wine/i386-windows/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib/wine/i386-unix/vrclient.dll.so $(BUILD_ROOT)/vrclient/lib/wine/i386-unix/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-windows/vrclient_x64.dll $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-windows/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-unix/vrclient_x64.dll.so $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-unix/ + cp -f $(BUILD_DIR)/dist/files/lib/wine/i386-windows/vrclient.dll $(BUILD_ROOT)/vrclient/lib/wine/i386-windows/ && \ + cp -f $(BUILD_DIR)/dist/files/lib/wine/i386-unix/vrclient.dll.so $(BUILD_ROOT)/vrclient/lib/wine/i386-unix/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-windows/vrclient_x64.dll $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-windows/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-unix/vrclient_x64.dll.so $(BUILD_ROOT)/vrclient/lib64/wine/x86_64-unix/ wineopenxr: | $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-windows wineopenxr: | $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-unix wineopenxr: any - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-windows/wineopenxr.dll $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-windows/ && \ - cp -f $(BUILD_DIR)/dist/dist/lib64/wine/x86_64-unix/wineopenxr.dll.so $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-unix/ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-windows/wineopenxr.dll $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-windows/ && \ + cp -f $(BUILD_DIR)/dist/files/lib64/wine/x86_64-unix/wineopenxr.dll.so $(BUILD_ROOT)/wineopenxr/lib64/wine/x86_64-unix/ battleye: | $(BUILD_ROOT)/battleye/v1/lib/wine/i386-windows battleye: | $(BUILD_ROOT)/battleye/v1/lib/wine/i386-unix diff --git a/Makefile.in b/Makefile.in index 5b90fcffb..8937dc356 100644 --- a/Makefile.in +++ b/Makefile.in @@ -25,13 +25,13 @@ SHELL := /bin/bash # BUILD_NAME - Name of the build for manifests etc. # STEAMRT_IMAGE - Name of the docker image to use for building -STEAMRT_IMAGE ?= registry.gitlab.steamos.cloud/proton/sniper/sdk:0.20230509.49493-2 +STEAMRT_IMAGE ?= registry.gitlab.steamos.cloud/proton/sniper/sdk:0.20230905.59202-0 ifeq ($(SRCDIR),) foo := $(error SRCDIR not set, do not include Makefile.in directly, run ./configure.sh to generate Makefile) endif DST_BASE := $(OBJ)/dist -DST_DIR := $(DST_BASE)/dist +DST_DIR := $(DST_BASE)/files DST_LIBDIR32 := $(DST_DIR)/lib DST_LIBDIR64 := $(DST_DIR)/lib64 DIST_PREFIX := $(DST_DIR)/share/default_pfx/ @@ -62,6 +62,12 @@ ifneq ($(SUPPRESS_WARNINGS),) COMMON_FLAGS += -w endif +ifeq ($(ENABLE_BEAR),1) + BEAR := bear --append -- +else + BEAR := +endif + $(DST_DIR): mkdir -p $@ @@ -77,6 +83,7 @@ J = $(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS))) include $(SRC)/make/utility.mk include $(SRC)/make/rules-source.mk include $(SRC)/make/rules-common.mk +include $(SRC)/make/rules-makedep.mk include $(SRC)/make/rules-meson.mk include $(SRC)/make/rules-cmake.mk include $(SRC)/make/rules-autoconf.mk @@ -122,7 +129,7 @@ GSTREAMER_MESON_ARGS := \ GSTREAMER_DEPENDS = gst_orc -$(eval $(call rules-source,gstreamer,$(SRCDIR)/gstreamer)) +$(eval $(call rules-source,gstreamer,$(SRCDIR)/gstreamer/subprojects/gstreamer)) $(eval $(call rules-meson,gstreamer,32)) $(eval $(call rules-meson,gstreamer,64)) @@ -152,8 +159,7 @@ GST_BASE_MESON_ARGS := \ -Dplayback=enabled \ -Dtheora=enabled \ -Dtypefind=enabled \ - -Dvideoconvert=enabled \ - -Dvideoscale=enabled \ + -Dvideoconvertscale=enabled \ -Dvorbis=enabled \ -Dorc=enabled \ -Dx11=enabled \ @@ -164,7 +170,7 @@ GST_BASE_MESON_ARGS := \ GST_BASE_DEPENDS = gst_orc graphene gstreamer -$(eval $(call rules-source,gst_base,$(SRCDIR)/gst-plugins-base)) +$(eval $(call rules-source,gst_base,$(SRCDIR)/gstreamer/subprojects/gst-plugins-base)) $(eval $(call rules-meson,gst_base,32)) $(eval $(call rules-meson,gst_base,64)) @@ -194,7 +200,7 @@ GST_GOOD_MESON_ARGS := \ GST_GOOD_DEPENDS = gst_orc gstreamer gst_base -$(eval $(call rules-source,gst_good,$(SRCDIR)/gst-plugins-good)) +$(eval $(call rules-source,gst_good,$(SRCDIR)/gstreamer/subprojects/gst-plugins-good/)) $(eval $(call rules-meson,gst_good,32)) $(eval $(call rules-meson,gst_good,64)) @@ -225,7 +231,7 @@ $(OBJ)/.ffmpeg-dist64: GST_LIBAV_DEPENDS = gst_orc gstreamer gst_base ffmpeg -$(eval $(call rules-source,gst_libav,$(SRCDIR)/gst-libav)) +$(eval $(call rules-source,gst_libav,$(SRCDIR)/gstreamer/subprojects/gst-libav)) $(eval $(call rules-meson,gst_libav,32)) $(eval $(call rules-meson,gst_libav,64)) @@ -245,12 +251,12 @@ $(eval $(call rules-cargo,gst_plugins_rs,64)) $(OBJ)/.gst_plugins_rs-post-build64: mkdir -p $(GST_PLUGINS_RS_DST64)/lib64/gstreamer-1.0/ - cp -a $(GST_PLUGINS_RS_OBJ64)/x86_64-unknown-linux-gnu/release/libgstrsdav1d.so $(GST_PLUGINS_RS_DST64)/lib64/gstreamer-1.0/ + cp -a $(GST_PLUGINS_RS_OBJ64)/x86_64-unknown-linux-gnu/release/libgstdav1d.so $(GST_PLUGINS_RS_DST64)/lib64/gstreamer-1.0/ touch $@ $(OBJ)/.gst_plugins_rs-post-build32: mkdir -p $(GST_PLUGINS_RS_DST32)/lib/gstreamer-1.0/ - cp -a $(GST_PLUGINS_RS_OBJ32)/i686-unknown-linux-gnu/release/libgstrsdav1d.so $(GST_PLUGINS_RS_DST32)/lib/gstreamer-1.0/ + cp -a $(GST_PLUGINS_RS_OBJ32)/i686-unknown-linux-gnu/release/libgstdav1d.so $(GST_PLUGINS_RS_DST32)/lib/gstreamer-1.0/ touch $@ @@ -300,23 +306,12 @@ $(eval $(call rules-cmake,glslang,64)) ## lsteamclient ## -LSTEAMCLIENT_CFLAGS = -Wno-attributes -LSTEAMCLIENT_CXXFLAGS = -Wno-attributes -LSTEAMCLIENT_LDFLAGS = -static-libgcc -static-libstdc++ -ldl - -LSTEAMCLIENT_WINEMAKER_ARGS = \ - -DSTEAM_API_EXPORTS \ - -Dprivate=public \ - -Dprotected=public - LSTEAMCLIENT_DEPENDS = wine $(eval $(call rules-source,lsteamclient,$(SRCDIR)/lsteamclient)) -$(eval $(call rules-winemaker,lsteamclient,32,lsteamclient.dll)) -$(eval $(call rules-winemaker,lsteamclient,64,lsteamclient.dll)) - +$(eval $(call rules-makedep,lsteamclient,32)) +$(eval $(call rules-makedep,lsteamclient,64)) -## ## ## openxr @@ -335,13 +330,11 @@ $(eval $(call rules-cmake,openxr,64)) ## Note 32-bit is not supported by SteamVR, so we don't build it. ## -WINEOPENXR_LDFLAGS = -lopenxr_loader -ldxgi -lvulkan -ldl - +WINEOPENXR_LDFLAGS = -lopenxr_loader WINEOPENXR_DEPENDS = wine openxr $(eval $(call rules-source,wineopenxr,$(SRCDIR)/wineopenxr)) -# $(eval $(call rules-winemaker,wineopenxr,32,wineopenxr.dll)) -$(eval $(call rules-winemaker,wineopenxr,64,wineopenxr.dll)) +$(eval $(call rules-makedep,wineopenxr,64)) DIST_WINEOPENXR_JSON64 := $(DIST_PREFIX)/drive_c/openxr/wineopenxr64.json $(WINEOPENXR_SRC)/wineopenxr64.json: wineopenxr @@ -356,29 +349,106 @@ all-dist: $(DIST_WINEOPENXR_JSON64) ## steam.exe ## -STEAMEXE_CFLAGS = -Wno-attributes -STEAMEXE_CXXFLAGS = -Wno-attributes -STEAMEXE_LDFLAGS = -L$(STEAMEXE_SRC)/32/ -L$(STEAMEXE_SRC)/64/ -lsteam_api -lshlwapi -lmsi -lole32 -ldl -static-libgcc -static-libstdc++ +STEAMEXE_CPPFLAGS = \ + -I$(SRC)/lsteamclient/steamworks_sdk_142/ \ + -I$(SRC)/openvr/headers/ \ -STEAMEXE_WINEMAKER_ARGS = \ - "-I$(SRC)/lsteamclient/steamworks_sdk_142/" \ - "-I$(SRC)/openvr/headers/" \ - "-L$(SRC)/steam_helper/" +STEAMEXE_LDFLAGS = \ + -L$(SRC)/steam_helper/32/ \ + -L$(SRC)/steam_helper/64/ \ + -lsteam_api STEAMEXE_DEPENDS = wine $(eval $(call rules-source,steamexe,$(SRCDIR)/steam_helper)) -$(eval $(call rules-winemaker,steamexe,64,steam.exe)) -$(eval $(call rules-winemaker,steamexe,32,steam.exe)) +$(eval $(call rules-makedep,steamexe,64)) +$(eval $(call rules-makedep,steamexe,32)) $(OBJ)/.steamexe-post-build32: - cp $(STEAMEXE_SRC)/32/libsteam_api.so $(DST_LIBDIR32)/ + cp $(SRC)/steam_helper/32/libsteam_api.so $(DST_LIBDIR32)/ touch $@ $(OBJ)/.steamexe-post-build64: - cp $(STEAMEXE_SRC)/64/libsteam_api.so $(DST_LIBDIR64)/ + cp $(SRC)/steam_helper/64/libsteam_api.so $(DST_LIBDIR64)/ touch $@ +## +## openfst +## + +OPENFST_SOURCE_ARGS = \ + --include src/include/fst/config.h.in \ + --exclude aclocal.m4 \ + --exclude ar-lib \ + --exclude autom4te.cache \ + --exclude compile \ + --exclude config.guess \ + --exclude config.h.in \ + --exclude config.sub \ + --exclude configure \ + --exclude depcomp \ + --exclude install-sh \ + --exclude ltmain.sh \ + --exclude m4/libtool.m4 \ + --exclude m4/ltoptions.m4 \ + --exclude m4/ltsugar.m4 \ + --exclude m4/ltversion.m4 \ + --exclude m4/lt~obsolete.m4 \ + --exclude Makefile.in \ + --exclude missing \ + --exclude test-driver \ + +OPENFST_CONFIGURE_ARGS = \ + --enable-silent-rules \ + --enable-static \ + --disable-shared \ + --enable-far \ + --enable-ngram-fsts \ + --enable-lookahead-fsts \ + --with-pic \ + --disable-bin \ + +$(eval $(call rules-source,openfst,$(SRCDIR)/openfst)) +$(eval $(call rules-autoconf,openfst,32)) +$(eval $(call rules-autoconf,openfst,64)) + + +## +## kaldi +## + +KALDI_SOURCE_ARGS = \ + --exclude src/**/CMakeLists.txt \ + +KALDI_CMAKE_ARGS = \ + -DKALDI_VERSION=5.5-proton \ + -DBLAS_LIBRARIES=-lblas \ + -DLAPACK_LIBRARIES=-llapack \ + -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ + -DBUILD_SHARED_LIBS=OFF \ + -DKALDI_BUILD_TEST=OFF \ + -DKALDI_BUILD_EXE=OFF \ + +KALDI_DEPENDS = openfst + +$(eval $(call rules-source,kaldi,$(SRCDIR)/kaldi)) +$(eval $(call rules-cmake,kaldi,32)) +$(eval $(call rules-cmake,kaldi,64)) + + +## +## vosk +## + +VOSK_CMAKE_ARGS = \ + -DBUILD_SHARED_LIBS=ON \ + +VOSK_DEPENDS = openfst kaldi + +$(eval $(call rules-source,vosk,$(SRCDIR)/vosk-api)) +$(eval $(call rules-cmake,vosk,32)) +$(eval $(call rules-cmake,vosk,64)) + ## ## wine @@ -411,7 +481,7 @@ WINE_CONFIGURE_ARGS64 = --enable-win64 \ VKD3D_PE_CFLAGS="-I$(VULKAN_HEADERS_DST64)/include -I$(VKD3D_DST64)/include/vkd3d" \ VKD3D_PE_LIBS="-L$(VKD3D_DST64)/bin -l:libvkd3d-1.dll -l:libvkd3d-shader-1.dll" -WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d +WINE_DEPENDS = gst_orc gstreamer gst_base vkd3d openfst kaldi vosk $(eval $(call rules-source,wine,$(SRCDIR)/wine)) $(eval $(call rules-autoconf,wine,32)) @@ -442,24 +512,11 @@ $(OBJ)/.wine-post-build32: ## vrclient ## -VRCLIENT_CFLAGS = -Wno-attributes -VRCLIENT_CXXFLAGS = -Wno-attributes -VRCLIENT_LDFLAGS = -static-libgcc -static-libstdc++ -ldl - -VRCLIENT_WINEMAKER_ARGS = \ - "-I$(VRCLIENT_SRC)/" \ - "-I$(VRCLIENT_SRC)/vrclient_x64/" - VRCLIENT_DEPENDS = wine $(eval $(call rules-source,vrclient,$(SRCDIR)/vrclient_x64)) -$(eval $(call rules-winemaker,vrclient,32,vrclient.dll)) -$(eval $(call rules-winemaker,vrclient,64,vrclient_x64.dll)) - -$(OBJ)/.vrclient-post-source: - mkdir -p $(VRCLIENT_OBJ32) && cp -a $(VRCLIENT_SRC)/vrclient_x64/vrclient_x64.spec $(VRCLIENT_OBJ32)/vrclient.spec - mkdir -p $(VRCLIENT_OBJ64) && cp -a $(VRCLIENT_SRC)/vrclient_x64/vrclient_x64.spec $(VRCLIENT_OBJ64)/vrclient_x64.spec - touch $@ +$(eval $(call rules-makedep,vrclient,32)) +$(eval $(call rules-makedep,vrclient,64)) ## @@ -687,6 +744,43 @@ $(OBJ)/.eac-build32: endif +# HACK: we need to order those builds so that timestamps are different between +# 32 and 64 bit versions of the dlls. Otherwise there's a significant chance for +# conflict when creating symbol storage. We also have to make sure that projects +# which build alternative versions of the DLLs do not share the same timestamps. +# +# This is a temporary solution that only lowers the chance of conflicts. +# Binutils 2.42 (not released yet at the time of writing this) will introduce +# support for SOURCE_DATE_EPOCH which we should use instead. +$(OBJ)/.wine-build64: $(OBJ)/.wine-build32 +$(OBJ)/.vkd3d-proton-build32: $(OBJ)/.wine-build64 +$(OBJ)/.vkd3d-proton-build64: $(OBJ)/.vkd3d-proton-build32 +$(OBJ)/.dxvk-build32: $(OBJ)/.wine-build64 +$(OBJ)/.dxvk-build64: $(OBJ)/.dxvk-build32 +$(OBJ)/.dxvk-lsteamclient64: $(OBJ)/.dxvk-lsteamclient32 +$(OBJ)/.vkd3d-build64: $(OBJ)/.vkd3d-build32 +# nvapi and vrclient dlls have distinct names for 64 bit versions + +## +## Windows Symbol Store creation +## + +SYMSTORE_DEPENDS = wine + +$(eval $(call rules-source,symstore,$(SRCDIR)/symstore)) +$(eval $(call create-rules-common,symstore,SYMSTORE,64)) + +$(OBJ)/.symstore-build64: + @echo ":: building symstore helper..." >&2 + rsync -arx "$(SYMSTORE_SRC)/" "$(SYMSTORE_OBJ64)/" + $(MAKE) -C "$(SYMSTORE_OBJ64)" SYMSTORE_CFLAGS="-I$(WINE_SRC)/include -I$(WINE_OBJ64)/include" + touch $@ + +.PHONY: symstore-tarball +symstore-tarball: + mkdir -p $(OBJ)/symstore/$(BUILD_NAME) + $(SYMSTORE_OBJ64)/symstore --skip-managed $(DST_BASE) $(OBJ)/symstore/$(BUILD_NAME) + cd $(OBJ)/symstore/$(BUILD_NAME) && zip -r ../$(BUILD_NAME)-symstore.zip . >& /dev/null ## ## Fonts @@ -937,7 +1031,7 @@ all-dist: $(DIST_GECKO32) $(DIST_GECKO64) ## wine-mono ## -WINEMONO_VER := 8.0.1 +WINEMONO_VER := 8.1.0 WINEMONO_TARBALL := wine-mono-$(WINEMONO_VER)-x86.tar.xz DIST_WINEMONO_DIR := $(DST_DIR)/share/wine/mono DIST_WINEMONO := $(OBJ)/.wine-mono-dist @@ -1064,12 +1158,14 @@ all-dist: ## make deploy ## +STEAMPIPE_FIXUPS_PY := $(SRCDIR)/steampipe_fixups.py + .PHONY: deploy deploy: all mkdir -p $(DEPLOY_DIR) && \ - rsync --delete --exclude dist --exclude compatibilitytool.vdf -arx $(DST_BASE)/ $(DEPLOY_DIR) - tar -C $(DST_DIR) -c . > $(DEPLOY_DIR)/proton_dist.tar - @echo "Created deployment archive at "$(DEPLOY_DIR)"/proton_dist.tar" + rsync --delete --exclude compatibilitytool.vdf -arx $(DST_BASE)/ $(DEPLOY_DIR) + cp -a $(STEAMPIPE_FIXUPS_PY) $(DEPLOY_DIR) + python3 $(STEAMPIPE_FIXUPS_PY) process $(DEPLOY_DIR) ## @@ -1079,9 +1175,7 @@ deploy: all .PHONY: redist redist: all mkdir -p $(REDIST_DIR) - rsync --delete --exclude dist -arx $(DST_BASE)/ $(REDIST_DIR) - tar -C $(DST_DIR) -c . | gzip -c -1 > $(REDIST_DIR)/proton_dist.tar.gz - @echo "Created redistribution tarball at "$(REDIST_DIR)"/proton_dist.tar.gz" + rsync --delete -arx $(DST_BASE)/ $(REDIST_DIR) ## @@ -1091,10 +1185,10 @@ redist: all .PHONY: module32 module64 module module32: | all-source wine-configure32 - +$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module) + +$(BEAR) $(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module) module64: | all-source wine-configure64 - +$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module) + +$(BEAR) $(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module) module: | all-source wine-configure module: module32 module64 @@ -1130,8 +1224,8 @@ DOCKER_BASE = $(CONTAINER_ENGINE) run --rm -v $(SRC):$(SRC)$(CONTAINER_MOUNT_OPT -w $(OBJ) -e MAKEFLAGS \ $(DOCKER_OPTS) $(STEAMRT_IMAGE) -.PHONY: dist deploy redist -.DEFAULT dist deploy redist: +.PHONY: dist deploy redist symstore-tarball +.DEFAULT dist deploy redist symstore-tarball: if [ "$(ENABLE_CCACHE)" -eq "1" ]; then mkdir -p $(CCACHE_DIR); fi mkdir -p $(CARGO_HOME) $(DOCKER_BASE) $(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) -f $(firstword $(MAKEFILE_LIST)) $(MFLAGS) $(MAKEOVERRIDES) CONTAINER=1 $@ @@ -1149,7 +1243,6 @@ install: all if [ ! -d $(STEAM_DIR) ]; then echo >&2 "!! "$(STEAM_DIR)" does not exist, cannot install"; return 1; fi mkdir -p $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME) rsync --delete -arx $(DST_BASE)/* $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME) - cp -f $(DIST_VERSION) $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)/dist/ @echo "Installed Proton to "$(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME) @echo "You may need to restart Steam to select this tool" diff --git a/README.md b/README.md index 6ecff0e67..db66b9baa 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ E.g.: ``` mkdir ../debug-proton-build && cd ../debug-proton-build ../proton/configure.sh --enable-ccache --build-name=debug_build -make UNSTRIPPED_BUILD=1 install` +make UNSTRIPPED_BUILD=1 install ``` @@ -219,6 +219,42 @@ script `wine/tools/gdbinit.py` (source it) that provides `load-symbol-files` (or `lsf` for short) command which loads the symbols for all the mapped files. +`compile_commands.json` +----------------------- + +For use with [clangd](https://clangd.llvm.org/) LSP server and similar tooling. + +Projects built using cmake or meson (e.g. vkd3d-proton) automatically come with +`compile_commands.json`. For autotools (e.g. wine) you have to [configure the +build](#configuring-the-build) with `--enable-bear` that uses +[bear](https://github.com/rizsotto/Bear) to create the compilation database. +It's not on by default as it make the build slightly slower. + +The build system collects all the created compile_commands.json files in a +build subdirectory named `compile_commands/`. + +The paths are translated to point to the real source (i.e. not the rsynced +copy). It still may depend on build directory for things like auto-generated +`config.h` though and for wine it may be beneficial to run `tools/make_requests` +in you source directories as those changes are not committed. + +You can then configure your editor to use that file for clangd in a few ways: + +1) directly - some editors/plugins allow you to specify the path to `compile_commands.json` +2) via `.clangd` file, e.g. +```bash +cd src/proton/wine/ +cat > .clangd < --steam-runtime= }" + "$1" "Usage: $0 { --proton-sdk-image= }" "$1" " Generate a Makefile for building Proton. May be run from another directory to create" "$1" " out-of-tree build directories (e.g. mkdir mybuild && cd mybuild && ../configure.sh)" "$1" "" @@ -291,6 +297,8 @@ usage() { "$1" "" "$1" " --enable-ccache Mount \$CCACHE_DIR or \$HOME/.ccache inside of the container and use ccache for the build." "$1" "" + "$1" " --enable-bear Invokes make via bear creating compile_commands.json." + "$1" "" "$1" " Steam Runtime" "$1" " Proton builds that are to be installed & run under the steam client must be built with" "$1" " the Steam Runtime SDK to ensure compatibility. See README.md for more information." @@ -299,10 +307,6 @@ usage() { "$1" " for build steps that must be run in an SDK" "$1" " environment. See README.md for instructions to" "$1" " create this image." - "$1" " --steam-runtime=soldier Name of the steam runtime release to build for (soldier, scout)." - "$1" "" - "$1" " --no-proton-sdk Do not automatically invoke any runtime SDK as part of the build." - "$1" " Build steps may still be manually run in a runtime environment." exit 1; } diff --git a/dav1d b/dav1d index 7b433e077..8a6f054ef 160000 --- a/dav1d +++ b/dav1d @@ -1 +1 @@ -Subproject commit 7b433e077298d0f4faf8da6d6eb5774e29bffa54 +Subproject commit 8a6f054ef1e0f7886bc6e53e6be97c427154fe85 diff --git a/docker/Makefile b/docker/Makefile index d6d06e755..877d9d762 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -1,4 +1,4 @@ -STEAMRT_VERSION = 0.20230509.49493 +STEAMRT_VERSION = 0.20230905.59202 STEAMRT_URLBASE = registry.gitlab.steamos.cloud PROTONSDK_URLBASE = $(STEAMRT_URLBASE)/proton/sniper/sdk diff --git a/dxvk b/dxvk index 4d254b13b..91f7f43c3 160000 --- a/dxvk +++ b/dxvk @@ -1 +1 @@ -Subproject commit 4d254b13bee632e3f5c274e0a7d1aa919238d6a1 +Subproject commit 91f7f43c35f240231c9e5efd0b24a27da5c16a8a diff --git a/dxvk-nvapi b/dxvk-nvapi index 2483eac46..03cc59d84 160000 --- a/dxvk-nvapi +++ b/dxvk-nvapi @@ -1 +1 @@ -Subproject commit 2483eac46c2d7f87fdd7040ae4f27c0b658cb847 +Subproject commit 03cc59d84acc19dad8d55cb4b5ee20fb86eda426 diff --git a/gst-libav b/gst-libav deleted file mode 160000 index e896aabe3..000000000 --- a/gst-libav +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e896aabe3c3d278510fb567712c4a55ed0eae075 diff --git a/gst-orc b/gst-orc index 629864f07..7d5bbada3 160000 --- a/gst-orc +++ b/gst-orc @@ -1 +1 @@ -Subproject commit 629864f073ae003e63c026c1de2407fec713cb53 +Subproject commit 7d5bbada3f1c6cf34182abccf47a34d79b83fa97 diff --git a/gst-plugins-base b/gst-plugins-base deleted file mode 160000 index 57fb883b3..000000000 --- a/gst-plugins-base +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 57fb883b3f8c6d7a397afc0dfc4a7c2e5af05579 diff --git a/gst-plugins-good b/gst-plugins-good deleted file mode 160000 index 56dec037a..000000000 --- a/gst-plugins-good +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 56dec037a80266add6853e4b06e2dc379de757d1 diff --git a/gst-plugins-rs b/gst-plugins-rs index d0466b3ee..0205aa43d 160000 --- a/gst-plugins-rs +++ b/gst-plugins-rs @@ -1 +1 @@ -Subproject commit d0466b3eee114207f851b37cae0015c0e718f021 +Subproject commit 0205aa43d6d8c5d0c9d4e4f83e0a3aaa94acef89 diff --git a/gstreamer b/gstreamer index 71c213f99..bf6ce1d64 160000 --- a/gstreamer +++ b/gstreamer @@ -1 +1 @@ -Subproject commit 71c213f99ad5c8fc8f36a26238483f2bdf7d846a +Subproject commit bf6ce1d64a0697e7910826147b48f8f658366a5a diff --git a/kaldi b/kaldi new file mode 160000 index 000000000..a25f216f5 --- /dev/null +++ b/kaldi @@ -0,0 +1 @@ +Subproject commit a25f216f5ce4eec5e45a6ab7651e20c9840a05cd diff --git a/lsteamclient/Makefile.in b/lsteamclient/Makefile.in new file mode 100644 index 000000000..73c174c62 --- /dev/null +++ b/lsteamclient/Makefile.in @@ -0,0 +1,248 @@ +MODULE = lsteamclient.dll +IMPORTS = user32 + +EXTRADLLFLAGS = -mcygwin -static-libgcc -static-libstdc++ -ldl +EXTRADEFS = -DWINE_NO_LONG_TYPES -DSTEAM_API_EXPORTS -Dprivate=public -Dprotected=public + +SOURCES = \ + steam_input_manual.c \ + steam_networking_manual.c \ + steamclient_generated.c \ + steamclient_main.c \ + winISteamAppList.c \ + winISteamApps.c \ + winISteamAppTicket.c \ + winISteamClient.c \ + winISteamController.c \ + winISteamFriends.c \ + winISteamGameCoordinator.c \ + winISteamGameSearch.c \ + winISteamGameServer.c \ + winISteamGameServerStats.c \ + winISteamGameStats.c \ + winISteamHTMLSurface.c \ + winISteamHTTP.c \ + winISteamInput.c \ + winISteamInventory.c \ + winISteamMasterServerUpdater.c \ + winISteamMatchmaking.c \ + winISteamMatchmakingServers.c \ + winISteamMusic.c \ + winISteamMusicRemote.c \ + winISteamNetworking.c \ + winISteamNetworkingFakeUDPPort.c \ + winISteamNetworkingMessages.c \ + winISteamNetworkingSockets.c \ + winISteamNetworkingSocketsSerialized.c \ + winISteamNetworkingUtils.c \ + winISteamParentalSettings.c \ + winISteamParties.c \ + winISteamRemotePlay.c \ + winISteamRemoteStorage.c \ + winISteamScreenshots.c \ + winISteamUGC.c \ + winISteamUnifiedMessages.c \ + winISteamUser.c \ + winISteamUserStats.c \ + winISteamUtils.c \ + winISteamVideo.c \ + cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp \ + cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp \ + cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp \ + cppISteamClient_SteamClient006.cpp \ + cppISteamClient_SteamClient007.cpp \ + cppISteamClient_SteamClient008.cpp \ + cppISteamClient_SteamClient009.cpp \ + cppISteamClient_SteamClient010.cpp \ + cppISteamClient_SteamClient011.cpp \ + cppISteamClient_SteamClient012.cpp \ + cppISteamClient_SteamClient013.cpp \ + cppISteamClient_SteamClient014.cpp \ + cppISteamClient_SteamClient015.cpp \ + cppISteamClient_SteamClient016.cpp \ + cppISteamClient_SteamClient017.cpp \ + cppISteamClient_SteamClient018.cpp \ + cppISteamClient_SteamClient019.cpp \ + cppISteamClient_SteamClient020.cpp \ + cppISteamController_SteamController003.cpp \ + cppISteamController_SteamController004.cpp \ + cppISteamController_SteamController005.cpp \ + cppISteamController_SteamController006.cpp \ + cppISteamController_SteamController007.cpp \ + cppISteamController_SteamController008.cpp \ + cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp \ + cppISteamFriends_SteamFriends001.cpp \ + cppISteamFriends_SteamFriends002.cpp \ + cppISteamFriends_SteamFriends003.cpp \ + cppISteamFriends_SteamFriends004.cpp \ + cppISteamFriends_SteamFriends005.cpp \ + cppISteamFriends_SteamFriends006.cpp \ + cppISteamFriends_SteamFriends007.cpp \ + cppISteamFriends_SteamFriends008.cpp \ + cppISteamFriends_SteamFriends009.cpp \ + cppISteamFriends_SteamFriends010.cpp \ + cppISteamFriends_SteamFriends011.cpp \ + cppISteamFriends_SteamFriends012.cpp \ + cppISteamFriends_SteamFriends013.cpp \ + cppISteamFriends_SteamFriends014.cpp \ + cppISteamFriends_SteamFriends015.cpp \ + cppISteamFriends_SteamFriends017.cpp \ + cppISteamGameCoordinator_SteamGameCoordinator001.cpp \ + cppISteamGameSearch_SteamMatchGameSearch001.cpp \ + cppISteamGameServer_SteamGameServer002.cpp \ + cppISteamGameServer_SteamGameServer003.cpp \ + cppISteamGameServer_SteamGameServer004.cpp \ + cppISteamGameServer_SteamGameServer005.cpp \ + cppISteamGameServer_SteamGameServer008.cpp \ + cppISteamGameServer_SteamGameServer009.cpp \ + cppISteamGameServer_SteamGameServer010.cpp \ + cppISteamGameServer_SteamGameServer011.cpp \ + cppISteamGameServer_SteamGameServer012.cpp \ + cppISteamGameServer_SteamGameServer013.cpp \ + cppISteamGameServer_SteamGameServer014.cpp \ + cppISteamGameServer_SteamGameServer015.cpp \ + cppISteamGameServerStats_SteamGameServerStats001.cpp \ + cppISteamGameStats_SteamGameStats001.cpp \ + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp \ + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp \ + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp \ + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp \ + cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp \ + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp \ + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp \ + cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp \ + cppISteamInput_SteamInput001.cpp \ + cppISteamInput_SteamInput002.cpp \ + cppISteamInput_SteamInput005.cpp \ + cppISteamInput_SteamInput006.cpp \ + cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp \ + cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp \ + cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp \ + cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp \ + cppISteamMatchmaking_SteamMatchMaking001.cpp \ + cppISteamMatchmaking_SteamMatchMaking002.cpp \ + cppISteamMatchmaking_SteamMatchMaking003.cpp \ + cppISteamMatchmaking_SteamMatchMaking004.cpp \ + cppISteamMatchmaking_SteamMatchMaking005.cpp \ + cppISteamMatchmaking_SteamMatchMaking006.cpp \ + cppISteamMatchmaking_SteamMatchMaking007.cpp \ + cppISteamMatchmaking_SteamMatchMaking008.cpp \ + cppISteamMatchmaking_SteamMatchMaking009.cpp \ + cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp \ + cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp \ + cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp \ + cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp \ + cppISteamNetworking_SteamNetworking001.cpp \ + cppISteamNetworking_SteamNetworking002.cpp \ + cppISteamNetworking_SteamNetworking003.cpp \ + cppISteamNetworking_SteamNetworking004.cpp \ + cppISteamNetworking_SteamNetworking005.cpp \ + cppISteamNetworking_SteamNetworking006.cpp \ + cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp \ + cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp \ + cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp \ + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp \ + cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp \ + cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp \ + cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp \ + cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp \ + cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp \ + cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp \ + cppISteamParties_SteamParties002.cpp \ + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp \ + cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp \ + cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp \ + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp \ + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp \ + cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp \ + cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp \ + cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp \ + cppISteamUser_SteamUser004.cpp \ + cppISteamUser_SteamUser005.cpp \ + cppISteamUser_SteamUser006.cpp \ + cppISteamUser_SteamUser007.cpp \ + cppISteamUser_SteamUser008.cpp \ + cppISteamUser_SteamUser009.cpp \ + cppISteamUser_SteamUser010.cpp \ + cppISteamUser_SteamUser011.cpp \ + cppISteamUser_SteamUser012.cpp \ + cppISteamUser_SteamUser013.cpp \ + cppISteamUser_SteamUser014.cpp \ + cppISteamUser_SteamUser015.cpp \ + cppISteamUser_SteamUser016.cpp \ + cppISteamUser_SteamUser017.cpp \ + cppISteamUser_SteamUser018.cpp \ + cppISteamUser_SteamUser019.cpp \ + cppISteamUser_SteamUser020.cpp \ + cppISteamUser_SteamUser021.cpp \ + cppISteamUser_SteamUser022.cpp \ + cppISteamUser_SteamUser023.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp \ + cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp \ + cppISteamUtils_SteamUtils002.cpp \ + cppISteamUtils_SteamUtils004.cpp \ + cppISteamUtils_SteamUtils005.cpp \ + cppISteamUtils_SteamUtils006.cpp \ + cppISteamUtils_SteamUtils007.cpp \ + cppISteamUtils_SteamUtils008.cpp \ + cppISteamUtils_SteamUtils009.cpp \ + cppISteamUtils_SteamUtils010.cpp \ + cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp \ + cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp \ + unix_steam_input_manual.cpp \ + unix_steam_networking_manual.cpp \ + unix_steam_utils_manual.cpp \ + unixlib.cpp \ + unixlib_generated.cpp \ diff --git a/lsteamclient/cb_converters.dat b/lsteamclient/cb_converters.dat deleted file mode 100644 index 19d3d4918..000000000 --- a/lsteamclient/cb_converters.dat +++ /dev/null @@ -1,157 +0,0 @@ -case 0x00100098: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_MicroTxnAuthorizationResponse_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0201: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LobbyCreated_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c145b: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RequestPlayersForGameProgressCallback_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0038145c: win_msg->m_cubParam = 64; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RequestPlayersForGameResultCallback_t_64((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0014145d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RequestPlayersForGameFinalResultCallback_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0014145e: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SubmitPlayerResultResultCallback_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c145f: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_EndGameResultCallback_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x011414b5: win_msg->m_cubParam = 280; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_JoinPartyCallback_t_280((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c14b6: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateBeaconCallback_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0110051b: win_msg->m_cubParam = 280; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_280((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0010051d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c051f: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDeletePublishedFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x019c0520: win_msg->m_cubParam = 416; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0521: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSubscribePublishedFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x02640522: win_msg->m_cubParam = 616; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0523: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUnsubscribePublishedFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00100524: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x01200525: win_msg->m_cubParam = 296; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_296((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x26140526: win_msg->m_cubParam = 9760; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9760((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x026c0527: win_msg->m_cubParam = 624; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_624((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x001c0528: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c052c: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0010052d: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUserVoteDetails_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x019c052e: win_msg->m_cubParam = 416; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0010052f: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageSetUserPublishedFileActionResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140532: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishedFileUpdated_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x001c0452: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardScoreUploaded_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0457: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_LeaderboardUGCSet_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140458: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_PS3TrophiesInstalled_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x002403ff: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_FileDetailsResult_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00180835: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0836: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestHeadersReceived_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140837: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestDataReceived_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00200af3: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInputConfigurationLoaded_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00180af4: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInputGamepadSlotChange_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x26280d4a: win_msg->m_cubParam = 9784; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9784((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00100d4b: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_CreateItemResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0d4d: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_ItemInstalled_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00100d4e: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DownloadItemResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140d54: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddUGCDependencyResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140d55: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveUGCDependencyResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00100d56: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_AddAppDependencyResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00100d57: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoveAppDependencyResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00940d58: win_msg->m_cubParam = 152; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GetAppDependenciesResult_t_152((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0d59: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_DeleteItemResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#ifdef __i386__ -case 0x00301196: win_msg->m_cubParam = 48; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NeedsPaint_t_48((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x00341196: win_msg->m_cubParam = 56; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NeedsPaint_t_56((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x00141197: win_msg->m_cubParam = 20; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_StartRequest_t_20((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x00201197: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_StartRequest_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x00181199: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_URLChanged_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x00241199: win_msg->m_cubParam = 48; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_URLChanged_t_48((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000c119a: win_msg->m_cubParam = 12; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_FinishedRequest_t_12((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x0014119a: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_FinishedRequest_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x0008119b: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_OpenLinkInNewTab_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c119b: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_OpenLinkInNewTab_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x0008119c: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ChangedTitle_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c119c: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ChangedTitle_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x001411a1: win_msg->m_cubParam = 20; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_LinkAtPosition_t_20((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x001811a1: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_LinkAtPosition_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000811a2: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_JSAlert_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c11a2: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_JSAlert_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000811a3: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_JSConfirm_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c11a3: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_JSConfirm_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000c11a4: win_msg->m_cubParam = 12; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_FileOpenDialog_t_12((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x001411a4: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_FileOpenDialog_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x001c11a9: win_msg->m_cubParam = 28; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NewWindow_t_28((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x002011a9: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NewWindow_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000811ab: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_StatusText_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c11ab: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_StatusText_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000811ac: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ShowToolTip_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c11ac: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ShowToolTip_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x000811ad: win_msg->m_cubParam = 8; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_UpdateToolTip_t_8((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x000c11ad: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_UpdateToolTip_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -case 0x00141260: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamInventoryStartPurchaseResult_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x02c004c5: win_msg->m_cubParam = 712; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamNetConnectionStatusChangedCallback_t_712((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x002000d1: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_GSReputation_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x01180517: win_msg->m_cubParam = 288; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageAppSyncProgress_t_288((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x024004c5: win_msg->m_cubParam = 584; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamNetConnectionStatusChangedCallback_t_584((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x00140835: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTTPRequestCompleted_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#ifdef __i386__ -case 0x001011a5: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ComboNeedsPaint_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x001411a5: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_ComboNeedsPaint_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __i386__ -case 0x001811a9: win_msg->m_cubParam = 24; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NewWindow_t_24((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -#ifdef __x86_64__ -case 0x001c11a9: win_msg->m_cubParam = 32; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_HTML_NewWindow_t_32((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -#endif -case 0x26240d4a: win_msg->m_cubParam = 9776; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9776((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c051b: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageFileShareResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x26200d4a: win_msg->m_cubParam = 9768; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_SteamUGCRequestUGCDetailsResult_t_9768((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x26100526: win_msg->m_cubParam = 9752; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9752((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c051d: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStoragePublishFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x000c0524: win_msg->m_cubParam = 16; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageUpdatePublishedFileResult_t_16((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x02640527: win_msg->m_cubParam = 616; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageEnumerateWorkshopFilesResult_t_616((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x250c0526: win_msg->m_cubParam = 9496; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_9496((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x06c4051e: win_msg->m_cubParam = 1744; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageGetPublishedFileDetailsResult_t_1744((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; -case 0x0020051c: win_msg->m_cubParam = 40; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); cb_RemoteStorageDownloadUGCResult_t_40((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break; diff --git a/lsteamclient/cb_converters.h b/lsteamclient/cb_converters.h deleted file mode 100644 index 83b671cc9..000000000 --- a/lsteamclient/cb_converters.h +++ /dev/null @@ -1,404 +0,0 @@ -struct MicroTxnAuthorizationResponse_t; -struct winMicroTxnAuthorizationResponse_t_24; -extern void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *l, struct winMicroTxnAuthorizationResponse_t_24 *w); - -struct LobbyCreated_t; -struct winLobbyCreated_t_16; -extern void cb_LobbyCreated_t_16(const struct LobbyCreated_t *l, struct winLobbyCreated_t_16 *w); - -struct RequestPlayersForGameProgressCallback_t; -struct winRequestPlayersForGameProgressCallback_t_16; -extern void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *l, struct winRequestPlayersForGameProgressCallback_t_16 *w); - -struct RequestPlayersForGameResultCallback_t; -struct winRequestPlayersForGameResultCallback_t_64; -extern void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *l, struct winRequestPlayersForGameResultCallback_t_64 *w); - -struct RequestPlayersForGameFinalResultCallback_t; -struct winRequestPlayersForGameFinalResultCallback_t_24; -extern void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *l, struct winRequestPlayersForGameFinalResultCallback_t_24 *w); - -struct SubmitPlayerResultResultCallback_t; -struct winSubmitPlayerResultResultCallback_t_24; -extern void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *l, struct winSubmitPlayerResultResultCallback_t_24 *w); - -struct EndGameResultCallback_t; -struct winEndGameResultCallback_t_16; -extern void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *l, struct winEndGameResultCallback_t_16 *w); - -struct JoinPartyCallback_t; -struct winJoinPartyCallback_t_280; -extern void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *l, struct winJoinPartyCallback_t_280 *w); - -struct CreateBeaconCallback_t; -struct winCreateBeaconCallback_t_16; -extern void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *l, struct winCreateBeaconCallback_t_16 *w); - -struct RemoteStorageFileShareResult_t; -struct winRemoteStorageFileShareResult_t_280; -extern void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *l, struct winRemoteStorageFileShareResult_t_280 *w); - -struct RemoteStoragePublishFileResult_t; -struct winRemoteStoragePublishFileResult_t_24; -extern void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *l, struct winRemoteStoragePublishFileResult_t_24 *w); - -struct RemoteStorageDeletePublishedFileResult_t; -struct winRemoteStorageDeletePublishedFileResult_t_16; -extern void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *l, struct winRemoteStorageDeletePublishedFileResult_t_16 *w); - -struct RemoteStorageEnumerateUserPublishedFilesResult_t; -struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416; -extern void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *l, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *w); - -struct RemoteStorageSubscribePublishedFileResult_t; -struct winRemoteStorageSubscribePublishedFileResult_t_16; -extern void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *l, struct winRemoteStorageSubscribePublishedFileResult_t_16 *w); - -struct RemoteStorageEnumerateUserSubscribedFilesResult_t; -struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616; -extern void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *l, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *w); - -struct RemoteStorageUnsubscribePublishedFileResult_t; -struct winRemoteStorageUnsubscribePublishedFileResult_t_16; -extern void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *l, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *w); - -struct RemoteStorageUpdatePublishedFileResult_t; -struct winRemoteStorageUpdatePublishedFileResult_t_24; -extern void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *l, struct winRemoteStorageUpdatePublishedFileResult_t_24 *w); - -struct RemoteStorageDownloadUGCResult_t; -struct winRemoteStorageDownloadUGCResult_t_296; -extern void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *l, struct winRemoteStorageDownloadUGCResult_t_296 *w); - -struct RemoteStorageGetPublishedFileDetailsResult_t; -struct winRemoteStorageGetPublishedFileDetailsResult_t_9760; -extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *l, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *w); - -struct RemoteStorageEnumerateWorkshopFilesResult_t; -struct winRemoteStorageEnumerateWorkshopFilesResult_t_624; -extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *l, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *w); - -struct RemoteStorageGetPublishedItemVoteDetailsResult_t; -struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32; -extern void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *l, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *w); - -struct RemoteStorageUpdateUserPublishedItemVoteResult_t; -struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16; -extern void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *l, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *w); - -struct RemoteStorageUserVoteDetails_t; -struct winRemoteStorageUserVoteDetails_t_24; -extern void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *l, struct winRemoteStorageUserVoteDetails_t_24 *w); - -struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t; -struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416; -extern void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *l, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *w); - -struct RemoteStorageSetUserPublishedFileActionResult_t; -struct winRemoteStorageSetUserPublishedFileActionResult_t_24; -extern void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *l, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *w); - -struct RemoteStoragePublishedFileUpdated_t; -struct winRemoteStoragePublishedFileUpdated_t_24; -extern void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *l, struct winRemoteStoragePublishedFileUpdated_t_24 *w); - -struct LeaderboardScoreUploaded_t; -struct winLeaderboardScoreUploaded_t_32; -extern void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *l, struct winLeaderboardScoreUploaded_t_32 *w); - -struct LeaderboardUGCSet_t; -struct winLeaderboardUGCSet_t_16; -extern void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *l, struct winLeaderboardUGCSet_t_16 *w); - -struct PS3TrophiesInstalled_t; -struct winPS3TrophiesInstalled_t_24; -extern void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *l, struct winPS3TrophiesInstalled_t_24 *w); - -struct FileDetailsResult_t; -struct winFileDetailsResult_t_40; -extern void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *l, struct winFileDetailsResult_t_40 *w); - -struct HTTPRequestCompleted_t; -struct winHTTPRequestCompleted_t_32; -extern void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *l, struct winHTTPRequestCompleted_t_32 *w); - -struct HTTPRequestHeadersReceived_t; -struct winHTTPRequestHeadersReceived_t_16; -extern void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *l, struct winHTTPRequestHeadersReceived_t_16 *w); - -struct HTTPRequestDataReceived_t; -struct winHTTPRequestDataReceived_t_24; -extern void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *l, struct winHTTPRequestDataReceived_t_24 *w); - -struct SteamInputConfigurationLoaded_t; -struct winSteamInputConfigurationLoaded_t_40; -extern void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *l, struct winSteamInputConfigurationLoaded_t_40 *w); - -struct SteamInputGamepadSlotChange_t; -struct winSteamInputGamepadSlotChange_t_32; -extern void cb_SteamInputGamepadSlotChange_t_32(const struct SteamInputGamepadSlotChange_t *l, struct winSteamInputGamepadSlotChange_t_32 *w); - -struct SteamUGCRequestUGCDetailsResult_t; -struct winSteamUGCRequestUGCDetailsResult_t_9784; -extern void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *l, struct winSteamUGCRequestUGCDetailsResult_t_9784 *w); - -struct CreateItemResult_t; -struct winCreateItemResult_t_24; -extern void cb_CreateItemResult_t_24(const struct CreateItemResult_t *l, struct winCreateItemResult_t_24 *w); - -struct ItemInstalled_t; -struct winItemInstalled_t_16; -extern void cb_ItemInstalled_t_16(const struct ItemInstalled_t *l, struct winItemInstalled_t_16 *w); - -struct DownloadItemResult_t; -struct winDownloadItemResult_t_24; -extern void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *l, struct winDownloadItemResult_t_24 *w); - -struct AddUGCDependencyResult_t; -struct winAddUGCDependencyResult_t_24; -extern void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *l, struct winAddUGCDependencyResult_t_24 *w); - -struct RemoveUGCDependencyResult_t; -struct winRemoveUGCDependencyResult_t_24; -extern void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *l, struct winRemoveUGCDependencyResult_t_24 *w); - -struct AddAppDependencyResult_t; -struct winAddAppDependencyResult_t_24; -extern void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *l, struct winAddAppDependencyResult_t_24 *w); - -struct RemoveAppDependencyResult_t; -struct winRemoveAppDependencyResult_t_24; -extern void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *l, struct winRemoveAppDependencyResult_t_24 *w); - -struct GetAppDependenciesResult_t; -struct winGetAppDependenciesResult_t_152; -extern void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *l, struct winGetAppDependenciesResult_t_152 *w); - -struct DeleteItemResult_t; -struct winDeleteItemResult_t_16; -extern void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *l, struct winDeleteItemResult_t_16 *w); - -struct HTML_NeedsPaint_t; -#ifdef __i386__ -struct winHTML_NeedsPaint_t_48; -extern void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *l, struct winHTML_NeedsPaint_t_48 *w); -#endif -#ifdef __x86_64__ -struct winHTML_NeedsPaint_t_56; -extern void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *l, struct winHTML_NeedsPaint_t_56 *w); -#endif - -struct HTML_StartRequest_t; -#ifdef __i386__ -struct winHTML_StartRequest_t_20; -extern void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *l, struct winHTML_StartRequest_t_20 *w); -#endif -#ifdef __x86_64__ -struct winHTML_StartRequest_t_40; -extern void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *l, struct winHTML_StartRequest_t_40 *w); -#endif - -struct HTML_URLChanged_t; -#ifdef __i386__ -struct winHTML_URLChanged_t_24; -extern void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *l, struct winHTML_URLChanged_t_24 *w); -#endif -#ifdef __x86_64__ -struct winHTML_URLChanged_t_48; -extern void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *l, struct winHTML_URLChanged_t_48 *w); -#endif - -struct HTML_FinishedRequest_t; -#ifdef __i386__ -struct winHTML_FinishedRequest_t_12; -extern void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *l, struct winHTML_FinishedRequest_t_12 *w); -#endif -#ifdef __x86_64__ -struct winHTML_FinishedRequest_t_24; -extern void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *l, struct winHTML_FinishedRequest_t_24 *w); -#endif - -struct HTML_OpenLinkInNewTab_t; -#ifdef __i386__ -struct winHTML_OpenLinkInNewTab_t_8; -extern void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *l, struct winHTML_OpenLinkInNewTab_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_OpenLinkInNewTab_t_16; -extern void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *l, struct winHTML_OpenLinkInNewTab_t_16 *w); -#endif - -struct HTML_ChangedTitle_t; -#ifdef __i386__ -struct winHTML_ChangedTitle_t_8; -extern void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *l, struct winHTML_ChangedTitle_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_ChangedTitle_t_16; -extern void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *l, struct winHTML_ChangedTitle_t_16 *w); -#endif - -struct HTML_LinkAtPosition_t; -#ifdef __i386__ -struct winHTML_LinkAtPosition_t_20; -extern void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *l, struct winHTML_LinkAtPosition_t_20 *w); -#endif -#ifdef __x86_64__ -struct winHTML_LinkAtPosition_t_32; -extern void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *l, struct winHTML_LinkAtPosition_t_32 *w); -#endif - -struct HTML_JSAlert_t; -#ifdef __i386__ -struct winHTML_JSAlert_t_8; -extern void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *l, struct winHTML_JSAlert_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_JSAlert_t_16; -extern void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *l, struct winHTML_JSAlert_t_16 *w); -#endif - -struct HTML_JSConfirm_t; -#ifdef __i386__ -struct winHTML_JSConfirm_t_8; -extern void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *l, struct winHTML_JSConfirm_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_JSConfirm_t_16; -extern void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *l, struct winHTML_JSConfirm_t_16 *w); -#endif - -struct HTML_FileOpenDialog_t; -#ifdef __i386__ -struct winHTML_FileOpenDialog_t_12; -extern void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *l, struct winHTML_FileOpenDialog_t_12 *w); -#endif -#ifdef __x86_64__ -struct winHTML_FileOpenDialog_t_24; -extern void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *l, struct winHTML_FileOpenDialog_t_24 *w); -#endif - -struct HTML_NewWindow_t; -#ifdef __i386__ -struct winHTML_NewWindow_t_28; -extern void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *l, struct winHTML_NewWindow_t_28 *w); -#endif -#ifdef __x86_64__ -struct winHTML_NewWindow_t_40; -extern void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *l, struct winHTML_NewWindow_t_40 *w); -#endif - -struct HTML_StatusText_t; -#ifdef __i386__ -struct winHTML_StatusText_t_8; -extern void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *l, struct winHTML_StatusText_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_StatusText_t_16; -extern void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *l, struct winHTML_StatusText_t_16 *w); -#endif - -struct HTML_ShowToolTip_t; -#ifdef __i386__ -struct winHTML_ShowToolTip_t_8; -extern void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *l, struct winHTML_ShowToolTip_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_ShowToolTip_t_16; -extern void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *l, struct winHTML_ShowToolTip_t_16 *w); -#endif - -struct HTML_UpdateToolTip_t; -#ifdef __i386__ -struct winHTML_UpdateToolTip_t_8; -extern void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *l, struct winHTML_UpdateToolTip_t_8 *w); -#endif -#ifdef __x86_64__ -struct winHTML_UpdateToolTip_t_16; -extern void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *l, struct winHTML_UpdateToolTip_t_16 *w); -#endif - -struct SteamInventoryStartPurchaseResult_t; -struct winSteamInventoryStartPurchaseResult_t_24; -extern void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *l, struct winSteamInventoryStartPurchaseResult_t_24 *w); - -struct SteamNetConnectionStatusChangedCallback_t; -struct winSteamNetConnectionStatusChangedCallback_t_712; -extern void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_712 *w); - -struct GSReputation_t; -struct winGSReputation_t_40; -extern void cb_GSReputation_t_40(const struct GSReputation_t *l, struct winGSReputation_t_40 *w); - -struct RemoteStorageAppSyncProgress_t; -struct winRemoteStorageAppSyncProgress_t_288; -extern void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *l, struct winRemoteStorageAppSyncProgress_t_288 *w); - -struct SteamNetConnectionStatusChangedCallback_t; -struct winSteamNetConnectionStatusChangedCallback_t_584; -extern void cb_SteamNetConnectionStatusChangedCallback_t_584(const struct SteamNetConnectionStatusChangedCallback_t *l, struct winSteamNetConnectionStatusChangedCallback_t_584 *w); - -struct HTTPRequestCompleted_t; -struct winHTTPRequestCompleted_t_24; -extern void cb_HTTPRequestCompleted_t_24(const struct HTTPRequestCompleted_t *l, struct winHTTPRequestCompleted_t_24 *w); - -struct HTML_ComboNeedsPaint_t; -#ifdef __i386__ -struct winHTML_ComboNeedsPaint_t_16; -extern void cb_HTML_ComboNeedsPaint_t_16(const struct HTML_ComboNeedsPaint_t *l, struct winHTML_ComboNeedsPaint_t_16 *w); -#endif -#ifdef __x86_64__ -struct winHTML_ComboNeedsPaint_t_24; -extern void cb_HTML_ComboNeedsPaint_t_24(const struct HTML_ComboNeedsPaint_t *l, struct winHTML_ComboNeedsPaint_t_24 *w); -#endif - -struct HTML_NewWindow_t; -#ifdef __i386__ -struct winHTML_NewWindow_t_24; -extern void cb_HTML_NewWindow_t_24(const struct HTML_NewWindow_t *l, struct winHTML_NewWindow_t_24 *w); -#endif -#ifdef __x86_64__ -struct winHTML_NewWindow_t_32; -extern void cb_HTML_NewWindow_t_32(const struct HTML_NewWindow_t *l, struct winHTML_NewWindow_t_32 *w); -#endif - -struct SteamUGCRequestUGCDetailsResult_t; -struct winSteamUGCRequestUGCDetailsResult_t_9776; -extern void cb_SteamUGCRequestUGCDetailsResult_t_9776(const struct SteamUGCRequestUGCDetailsResult_t *l, struct winSteamUGCRequestUGCDetailsResult_t_9776 *w); - -struct RemoteStorageFileShareResult_t; -struct winRemoteStorageFileShareResult_t_16; -extern void cb_RemoteStorageFileShareResult_t_16(const struct RemoteStorageFileShareResult_t *l, struct winRemoteStorageFileShareResult_t_16 *w); - -struct SteamUGCRequestUGCDetailsResult_t; -struct winSteamUGCRequestUGCDetailsResult_t_9768; -extern void cb_SteamUGCRequestUGCDetailsResult_t_9768(const struct SteamUGCRequestUGCDetailsResult_t *l, struct winSteamUGCRequestUGCDetailsResult_t_9768 *w); - -struct RemoteStorageGetPublishedFileDetailsResult_t; -struct winRemoteStorageGetPublishedFileDetailsResult_t_9752; -extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(const struct RemoteStorageGetPublishedFileDetailsResult_t *l, struct winRemoteStorageGetPublishedFileDetailsResult_t_9752 *w); - -struct RemoteStoragePublishFileResult_t; -struct winRemoteStoragePublishFileResult_t_16; -extern void cb_RemoteStoragePublishFileResult_t_16(const struct RemoteStoragePublishFileResult_t *l, struct winRemoteStoragePublishFileResult_t_16 *w); - -struct RemoteStorageUpdatePublishedFileResult_t; -struct winRemoteStorageUpdatePublishedFileResult_t_16; -extern void cb_RemoteStorageUpdatePublishedFileResult_t_16(const struct RemoteStorageUpdatePublishedFileResult_t *l, struct winRemoteStorageUpdatePublishedFileResult_t_16 *w); - -struct RemoteStorageEnumerateWorkshopFilesResult_t; -struct winRemoteStorageEnumerateWorkshopFilesResult_t_616; -extern void cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(const struct RemoteStorageEnumerateWorkshopFilesResult_t *l, struct winRemoteStorageEnumerateWorkshopFilesResult_t_616 *w); - -struct RemoteStorageGetPublishedFileDetailsResult_t; -struct winRemoteStorageGetPublishedFileDetailsResult_t_9496; -extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(const struct RemoteStorageGetPublishedFileDetailsResult_t *l, struct winRemoteStorageGetPublishedFileDetailsResult_t_9496 *w); - -struct RemoteStorageGetPublishedFileDetailsResult_t; -struct winRemoteStorageGetPublishedFileDetailsResult_t_1744; -extern void cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(const struct RemoteStorageGetPublishedFileDetailsResult_t *l, struct winRemoteStorageGetPublishedFileDetailsResult_t_1744 *w); - -struct RemoteStorageDownloadUGCResult_t; -struct winRemoteStorageDownloadUGCResult_t_40; -extern void cb_RemoteStorageDownloadUGCResult_t_40(const struct RemoteStorageDownloadUGCResult_t *l, struct winRemoteStorageDownloadUGCResult_t_40 *w); - diff --git a/lsteamclient/cb_getapi_sizes.dat b/lsteamclient/cb_getapi_sizes.dat deleted file mode 100644 index 9085b6958..000000000 --- a/lsteamclient/cb_getapi_sizes.dat +++ /dev/null @@ -1,268 +0,0 @@ -#ifdef __i386__ -case 152: /* MicroTxnAuthorizationResponse_t_24 */ - return 16; -case 209: /* GSReputation_t_40 */ - return 32; -case 513: /* LobbyCreated_t_16 */ - return 12; -case 1023: /* FileDetailsResult_t_40 */ - return 36; -case 1106: /* LeaderboardScoreUploaded_t_32 */ - return 28; -case 1111: /* LeaderboardUGCSet_t_16 */ - return 12; -case 1112: /* PS3TrophiesInstalled_t_24 */ - return 20; -case 1221: /* SteamNetConnectionStatusChangedCallback_t_712 */ - return 704; -case 1303: /* RemoteStorageAppSyncProgress_t_288 */ - return 280; -case 1307: /* RemoteStorageFileShareResult_t_280 */ - return 272; -case 1308: /* RemoteStorageDownloadUGCResult_t_40 */ - return 32; -case 1309: /* RemoteStoragePublishFileResult_t_24 */ - return 16; -case 1310: /* RemoteStorageGetPublishedFileDetailsResult_t_1744 */ - return 1732; -case 1311: /* RemoteStorageDeletePublishedFileResult_t_16 */ - return 12; -case 1312: /* RemoteStorageEnumerateUserPublishedFilesResult_t_416 */ - return 412; -case 1313: /* RemoteStorageSubscribePublishedFileResult_t_16 */ - return 12; -case 1314: /* RemoteStorageEnumerateUserSubscribedFilesResult_t_616 */ - return 612; -case 1315: /* RemoteStorageUnsubscribePublishedFileResult_t_16 */ - return 12; -case 1316: /* RemoteStorageUpdatePublishedFileResult_t_24 */ - return 16; -case 1317: /* RemoteStorageDownloadUGCResult_t_296 */ - return 288; -case 1318: /* RemoteStorageGetPublishedFileDetailsResult_t_9760 */ - return 9748; -case 1319: /* RemoteStorageEnumerateWorkshopFilesResult_t_624 */ - return 620; -case 1320: /* RemoteStorageGetPublishedItemVoteDetailsResult_t_32 */ - return 28; -case 1324: /* RemoteStorageUpdateUserPublishedItemVoteResult_t_16 */ - return 12; -case 1325: /* RemoteStorageUserVoteDetails_t_24 */ - return 16; -case 1326: /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 */ - return 412; -case 1327: /* RemoteStorageSetUserPublishedFileActionResult_t_24 */ - return 16; -case 1330: /* RemoteStoragePublishedFileUpdated_t_24 */ - return 20; -case 2101: /* HTTPRequestCompleted_t_32 */ - return 24; -case 2102: /* HTTPRequestHeadersReceived_t_16 */ - return 12; -case 2103: /* HTTPRequestDataReceived_t_24 */ - return 20; -case 2803: /* SteamInputConfigurationLoaded_t_40 */ - return 32; -case 2804: /* SteamInputGamepadSlotChange_t_32 */ - return 24; -case 3402: /* SteamUGCRequestUGCDetailsResult_t_9784 */ - return 9768; -case 3403: /* CreateItemResult_t_24 */ - return 16; -case 3405: /* ItemInstalled_t_16 */ - return 12; -case 3406: /* DownloadItemResult_t_24 */ - return 16; -case 3412: /* AddUGCDependencyResult_t_24 */ - return 20; -case 3413: /* RemoveUGCDependencyResult_t_24 */ - return 20; -case 3414: /* AddAppDependencyResult_t_24 */ - return 16; -case 3415: /* RemoveAppDependencyResult_t_24 */ - return 16; -case 3416: /* GetAppDependenciesResult_t_152 */ - return 148; -case 3417: /* DeleteItemResult_t_16 */ - return 12; -case 4502: /* HTML_NeedsPaint_t_48 */ - return 48; -case 4503: /* HTML_StartRequest_t_20 */ - return 20; -case 4505: /* HTML_URLChanged_t_24 */ - return 24; -case 4506: /* HTML_FinishedRequest_t_12 */ - return 12; -case 4507: /* HTML_OpenLinkInNewTab_t_8 */ - return 8; -case 4508: /* HTML_ChangedTitle_t_8 */ - return 8; -case 4513: /* HTML_LinkAtPosition_t_20 */ - return 20; -case 4514: /* HTML_JSAlert_t_8 */ - return 8; -case 4515: /* HTML_JSConfirm_t_8 */ - return 8; -case 4516: /* HTML_FileOpenDialog_t_12 */ - return 12; -case 4517: /* HTML_ComboNeedsPaint_t_16 */ - return 16; -case 4521: /* HTML_NewWindow_t_28 */ - return 28; -case 4523: /* HTML_StatusText_t_8 */ - return 8; -case 4524: /* HTML_ShowToolTip_t_8 */ - return 8; -case 4525: /* HTML_UpdateToolTip_t_8 */ - return 8; -case 4704: /* SteamInventoryStartPurchaseResult_t_24 */ - return 20; -case 5211: /* RequestPlayersForGameProgressCallback_t_16 */ - return 12; -case 5212: /* RequestPlayersForGameResultCallback_t_64 */ - return 56; -case 5213: /* RequestPlayersForGameFinalResultCallback_t_24 */ - return 20; -case 5214: /* SubmitPlayerResultResultCallback_t_24 */ - return 20; -case 5215: /* EndGameResultCallback_t_16 */ - return 12; -case 5301: /* JoinPartyCallback_t_280 */ - return 276; -case 5302: /* CreateBeaconCallback_t_16 */ - return 12; -#endif -#ifdef __x86_64__ -case 152: /* MicroTxnAuthorizationResponse_t_24 */ - return 16; -case 209: /* GSReputation_t_40 */ - return 32; -case 513: /* LobbyCreated_t_16 */ - return 12; -case 1023: /* FileDetailsResult_t_40 */ - return 36; -case 1106: /* LeaderboardScoreUploaded_t_32 */ - return 28; -case 1111: /* LeaderboardUGCSet_t_16 */ - return 12; -case 1112: /* PS3TrophiesInstalled_t_24 */ - return 20; -case 1221: /* SteamNetConnectionStatusChangedCallback_t_712 */ - return 704; -case 1303: /* RemoteStorageAppSyncProgress_t_288 */ - return 280; -case 1307: /* RemoteStorageFileShareResult_t_280 */ - return 272; -case 1308: /* RemoteStorageDownloadUGCResult_t_40 */ - return 32; -case 1309: /* RemoteStoragePublishFileResult_t_24 */ - return 16; -case 1310: /* RemoteStorageGetPublishedFileDetailsResult_t_1744 */ - return 1732; -case 1311: /* RemoteStorageDeletePublishedFileResult_t_16 */ - return 12; -case 1312: /* RemoteStorageEnumerateUserPublishedFilesResult_t_416 */ - return 412; -case 1313: /* RemoteStorageSubscribePublishedFileResult_t_16 */ - return 12; -case 1314: /* RemoteStorageEnumerateUserSubscribedFilesResult_t_616 */ - return 612; -case 1315: /* RemoteStorageUnsubscribePublishedFileResult_t_16 */ - return 12; -case 1316: /* RemoteStorageUpdatePublishedFileResult_t_24 */ - return 16; -case 1317: /* RemoteStorageDownloadUGCResult_t_296 */ - return 288; -case 1318: /* RemoteStorageGetPublishedFileDetailsResult_t_9760 */ - return 9748; -case 1319: /* RemoteStorageEnumerateWorkshopFilesResult_t_624 */ - return 620; -case 1320: /* RemoteStorageGetPublishedItemVoteDetailsResult_t_32 */ - return 28; -case 1324: /* RemoteStorageUpdateUserPublishedItemVoteResult_t_16 */ - return 12; -case 1325: /* RemoteStorageUserVoteDetails_t_24 */ - return 16; -case 1326: /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 */ - return 412; -case 1327: /* RemoteStorageSetUserPublishedFileActionResult_t_24 */ - return 16; -case 1330: /* RemoteStoragePublishedFileUpdated_t_24 */ - return 20; -case 2101: /* HTTPRequestCompleted_t_32 */ - return 24; -case 2102: /* HTTPRequestHeadersReceived_t_16 */ - return 12; -case 2103: /* HTTPRequestDataReceived_t_24 */ - return 20; -case 2803: /* SteamInputConfigurationLoaded_t_40 */ - return 32; -case 2804: /* SteamInputGamepadSlotChange_t_32 */ - return 24; -case 3402: /* SteamUGCRequestUGCDetailsResult_t_9784 */ - return 9768; -case 3403: /* CreateItemResult_t_24 */ - return 16; -case 3405: /* ItemInstalled_t_16 */ - return 12; -case 3406: /* DownloadItemResult_t_24 */ - return 16; -case 3412: /* AddUGCDependencyResult_t_24 */ - return 20; -case 3413: /* RemoveUGCDependencyResult_t_24 */ - return 20; -case 3414: /* AddAppDependencyResult_t_24 */ - return 16; -case 3415: /* RemoveAppDependencyResult_t_24 */ - return 16; -case 3416: /* GetAppDependenciesResult_t_152 */ - return 148; -case 3417: /* DeleteItemResult_t_16 */ - return 12; -case 4502: /* HTML_NeedsPaint_t_56 */ - return 52; -case 4503: /* HTML_StartRequest_t_40 */ - return 32; -case 4505: /* HTML_URLChanged_t_48 */ - return 36; -case 4506: /* HTML_FinishedRequest_t_24 */ - return 20; -case 4507: /* HTML_OpenLinkInNewTab_t_16 */ - return 12; -case 4508: /* HTML_ChangedTitle_t_16 */ - return 12; -case 4513: /* HTML_LinkAtPosition_t_32 */ - return 24; -case 4514: /* HTML_JSAlert_t_16 */ - return 12; -case 4515: /* HTML_JSConfirm_t_16 */ - return 12; -case 4516: /* HTML_FileOpenDialog_t_24 */ - return 20; -case 4517: /* HTML_ComboNeedsPaint_t_24 */ - return 20; -case 4521: /* HTML_NewWindow_t_40 */ - return 32; -case 4523: /* HTML_StatusText_t_16 */ - return 12; -case 4524: /* HTML_ShowToolTip_t_16 */ - return 12; -case 4525: /* HTML_UpdateToolTip_t_16 */ - return 12; -case 4704: /* SteamInventoryStartPurchaseResult_t_24 */ - return 20; -case 5211: /* RequestPlayersForGameProgressCallback_t_16 */ - return 12; -case 5212: /* RequestPlayersForGameResultCallback_t_64 */ - return 56; -case 5213: /* RequestPlayersForGameFinalResultCallback_t_24 */ - return 20; -case 5214: /* SubmitPlayerResultResultCallback_t_24 */ - return 20; -case 5215: /* EndGameResultCallback_t_16 */ - return 12; -case 5301: /* JoinPartyCallback_t_280 */ - return 276; -case 5302: /* CreateBeaconCallback_t_16 */ - return 12; -#endif diff --git a/lsteamclient/cb_getapi_table.dat b/lsteamclient/cb_getapi_table.dat deleted file mode 100644 index b2a0089c9..000000000 --- a/lsteamclient/cb_getapi_table.dat +++ /dev/null @@ -1,818 +0,0 @@ -#ifdef __i386__ -case 152: - switch(callback_len){ - default: - case 24: cb_MicroTxnAuthorizationResponse_t_24(lin_callback, callback); break; - } - break; -case 209: - switch(callback_len){ - default: - case 40: cb_GSReputation_t_40(lin_callback, callback); break; - } - break; -case 513: - switch(callback_len){ - default: - case 16: cb_LobbyCreated_t_16(lin_callback, callback); break; - } - break; -case 1023: - switch(callback_len){ - default: - case 40: cb_FileDetailsResult_t_40(lin_callback, callback); break; - } - break; -case 1106: - switch(callback_len){ - default: - case 32: cb_LeaderboardScoreUploaded_t_32(lin_callback, callback); break; - } - break; -case 1111: - switch(callback_len){ - default: - case 16: cb_LeaderboardUGCSet_t_16(lin_callback, callback); break; - } - break; -case 1112: - switch(callback_len){ - default: - case 24: cb_PS3TrophiesInstalled_t_24(lin_callback, callback); break; - } - break; -case 1221: - switch(callback_len){ - default: - case 712: cb_SteamNetConnectionStatusChangedCallback_t_712(lin_callback, callback); break; - case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; - } - break; -case 1303: - switch(callback_len){ - default: - case 288: cb_RemoteStorageAppSyncProgress_t_288(lin_callback, callback); break; - } - break; -case 1307: - switch(callback_len){ - default: - case 280: cb_RemoteStorageFileShareResult_t_280(lin_callback, callback); break; - case 16: cb_RemoteStorageFileShareResult_t_16(lin_callback, callback); break; - } - break; -case 1308: - switch(callback_len){ - default: - case 40: cb_RemoteStorageDownloadUGCResult_t_40(lin_callback, callback); break; - } - break; -case 1309: - switch(callback_len){ - default: - case 24: cb_RemoteStoragePublishFileResult_t_24(lin_callback, callback); break; - case 16: cb_RemoteStoragePublishFileResult_t_16(lin_callback, callback); break; - } - break; -case 1310: - switch(callback_len){ - default: - case 1744: cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(lin_callback, callback); break; - } - break; -case 1311: - switch(callback_len){ - default: - case 16: cb_RemoteStorageDeletePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1312: - switch(callback_len){ - default: - case 416: cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(lin_callback, callback); break; - } - break; -case 1313: - switch(callback_len){ - default: - case 16: cb_RemoteStorageSubscribePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1314: - switch(callback_len){ - default: - case 616: cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(lin_callback, callback); break; - } - break; -case 1315: - switch(callback_len){ - default: - case 16: cb_RemoteStorageUnsubscribePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1316: - switch(callback_len){ - default: - case 24: cb_RemoteStorageUpdatePublishedFileResult_t_24(lin_callback, callback); break; - case 16: cb_RemoteStorageUpdatePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1317: - switch(callback_len){ - default: - case 296: cb_RemoteStorageDownloadUGCResult_t_296(lin_callback, callback); break; - } - break; -case 1318: - switch(callback_len){ - default: - case 9760: cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(lin_callback, callback); break; - case 9752: cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(lin_callback, callback); break; - case 9496: cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(lin_callback, callback); break; - } - break; -case 1319: - switch(callback_len){ - default: - case 624: cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(lin_callback, callback); break; - case 616: cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(lin_callback, callback); break; - } - break; -case 1320: - switch(callback_len){ - default: - case 32: cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(lin_callback, callback); break; - } - break; -case 1324: - switch(callback_len){ - default: - case 16: cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(lin_callback, callback); break; - } - break; -case 1325: - switch(callback_len){ - default: - case 24: cb_RemoteStorageUserVoteDetails_t_24(lin_callback, callback); break; - } - break; -case 1326: - switch(callback_len){ - default: - case 416: cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(lin_callback, callback); break; - } - break; -case 1327: - switch(callback_len){ - default: - case 24: cb_RemoteStorageSetUserPublishedFileActionResult_t_24(lin_callback, callback); break; - } - break; -case 1330: - switch(callback_len){ - default: - case 24: cb_RemoteStoragePublishedFileUpdated_t_24(lin_callback, callback); break; - } - break; -case 2101: - switch(callback_len){ - default: - case 32: cb_HTTPRequestCompleted_t_32(lin_callback, callback); break; - case 24: cb_HTTPRequestCompleted_t_24(lin_callback, callback); break; - } - break; -case 2102: - switch(callback_len){ - default: - case 16: cb_HTTPRequestHeadersReceived_t_16(lin_callback, callback); break; - } - break; -case 2103: - switch(callback_len){ - default: - case 24: cb_HTTPRequestDataReceived_t_24(lin_callback, callback); break; - } - break; -case 2803: - switch(callback_len){ - default: - case 40: cb_SteamInputConfigurationLoaded_t_40(lin_callback, callback); break; - } - break; -case 2804: - switch(callback_len){ - default: - case 32: cb_SteamInputGamepadSlotChange_t_32(lin_callback, callback); break; - } - break; -case 3402: - switch(callback_len){ - default: - case 9784: cb_SteamUGCRequestUGCDetailsResult_t_9784(lin_callback, callback); break; - case 9776: cb_SteamUGCRequestUGCDetailsResult_t_9776(lin_callback, callback); break; - case 9768: cb_SteamUGCRequestUGCDetailsResult_t_9768(lin_callback, callback); break; - } - break; -case 3403: - switch(callback_len){ - default: - case 24: cb_CreateItemResult_t_24(lin_callback, callback); break; - } - break; -case 3405: - switch(callback_len){ - default: - case 16: cb_ItemInstalled_t_16(lin_callback, callback); break; - } - break; -case 3406: - switch(callback_len){ - default: - case 24: cb_DownloadItemResult_t_24(lin_callback, callback); break; - } - break; -case 3412: - switch(callback_len){ - default: - case 24: cb_AddUGCDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3413: - switch(callback_len){ - default: - case 24: cb_RemoveUGCDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3414: - switch(callback_len){ - default: - case 24: cb_AddAppDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3415: - switch(callback_len){ - default: - case 24: cb_RemoveAppDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3416: - switch(callback_len){ - default: - case 152: cb_GetAppDependenciesResult_t_152(lin_callback, callback); break; - } - break; -case 3417: - switch(callback_len){ - default: - case 16: cb_DeleteItemResult_t_16(lin_callback, callback); break; - } - break; -case 4502: - switch(callback_len){ - default: - case 48: cb_HTML_NeedsPaint_t_48(lin_callback, callback); break; - } - break; -case 4503: - switch(callback_len){ - default: - case 20: cb_HTML_StartRequest_t_20(lin_callback, callback); break; - } - break; -case 4505: - switch(callback_len){ - default: - case 24: cb_HTML_URLChanged_t_24(lin_callback, callback); break; - } - break; -case 4506: - switch(callback_len){ - default: - case 12: cb_HTML_FinishedRequest_t_12(lin_callback, callback); break; - } - break; -case 4507: - switch(callback_len){ - default: - case 8: cb_HTML_OpenLinkInNewTab_t_8(lin_callback, callback); break; - } - break; -case 4508: - switch(callback_len){ - default: - case 8: cb_HTML_ChangedTitle_t_8(lin_callback, callback); break; - } - break; -case 4513: - switch(callback_len){ - default: - case 20: cb_HTML_LinkAtPosition_t_20(lin_callback, callback); break; - } - break; -case 4514: - switch(callback_len){ - default: - case 8: cb_HTML_JSAlert_t_8(lin_callback, callback); break; - } - break; -case 4515: - switch(callback_len){ - default: - case 8: cb_HTML_JSConfirm_t_8(lin_callback, callback); break; - } - break; -case 4516: - switch(callback_len){ - default: - case 12: cb_HTML_FileOpenDialog_t_12(lin_callback, callback); break; - } - break; -case 4517: - switch(callback_len){ - default: - case 16: cb_HTML_ComboNeedsPaint_t_16(lin_callback, callback); break; - } - break; -case 4521: - switch(callback_len){ - default: - case 28: cb_HTML_NewWindow_t_28(lin_callback, callback); break; - case 24: cb_HTML_NewWindow_t_24(lin_callback, callback); break; - } - break; -case 4523: - switch(callback_len){ - default: - case 8: cb_HTML_StatusText_t_8(lin_callback, callback); break; - } - break; -case 4524: - switch(callback_len){ - default: - case 8: cb_HTML_ShowToolTip_t_8(lin_callback, callback); break; - } - break; -case 4525: - switch(callback_len){ - default: - case 8: cb_HTML_UpdateToolTip_t_8(lin_callback, callback); break; - } - break; -case 4704: - switch(callback_len){ - default: - case 24: cb_SteamInventoryStartPurchaseResult_t_24(lin_callback, callback); break; - } - break; -case 5211: - switch(callback_len){ - default: - case 16: cb_RequestPlayersForGameProgressCallback_t_16(lin_callback, callback); break; - } - break; -case 5212: - switch(callback_len){ - default: - case 64: cb_RequestPlayersForGameResultCallback_t_64(lin_callback, callback); break; - } - break; -case 5213: - switch(callback_len){ - default: - case 24: cb_RequestPlayersForGameFinalResultCallback_t_24(lin_callback, callback); break; - } - break; -case 5214: - switch(callback_len){ - default: - case 24: cb_SubmitPlayerResultResultCallback_t_24(lin_callback, callback); break; - } - break; -case 5215: - switch(callback_len){ - default: - case 16: cb_EndGameResultCallback_t_16(lin_callback, callback); break; - } - break; -case 5301: - switch(callback_len){ - default: - case 280: cb_JoinPartyCallback_t_280(lin_callback, callback); break; - } - break; -case 5302: - switch(callback_len){ - default: - case 16: cb_CreateBeaconCallback_t_16(lin_callback, callback); break; - } - break; -#endif -#ifdef __x86_64__ -case 152: - switch(callback_len){ - default: - case 24: cb_MicroTxnAuthorizationResponse_t_24(lin_callback, callback); break; - } - break; -case 209: - switch(callback_len){ - default: - case 40: cb_GSReputation_t_40(lin_callback, callback); break; - } - break; -case 513: - switch(callback_len){ - default: - case 16: cb_LobbyCreated_t_16(lin_callback, callback); break; - } - break; -case 1023: - switch(callback_len){ - default: - case 40: cb_FileDetailsResult_t_40(lin_callback, callback); break; - } - break; -case 1106: - switch(callback_len){ - default: - case 32: cb_LeaderboardScoreUploaded_t_32(lin_callback, callback); break; - } - break; -case 1111: - switch(callback_len){ - default: - case 16: cb_LeaderboardUGCSet_t_16(lin_callback, callback); break; - } - break; -case 1112: - switch(callback_len){ - default: - case 24: cb_PS3TrophiesInstalled_t_24(lin_callback, callback); break; - } - break; -case 1221: - switch(callback_len){ - default: - case 712: cb_SteamNetConnectionStatusChangedCallback_t_712(lin_callback, callback); break; - case 584: cb_SteamNetConnectionStatusChangedCallback_t_584(lin_callback, callback); break; - } - break; -case 1303: - switch(callback_len){ - default: - case 288: cb_RemoteStorageAppSyncProgress_t_288(lin_callback, callback); break; - } - break; -case 1307: - switch(callback_len){ - default: - case 280: cb_RemoteStorageFileShareResult_t_280(lin_callback, callback); break; - case 16: cb_RemoteStorageFileShareResult_t_16(lin_callback, callback); break; - } - break; -case 1308: - switch(callback_len){ - default: - case 40: cb_RemoteStorageDownloadUGCResult_t_40(lin_callback, callback); break; - } - break; -case 1309: - switch(callback_len){ - default: - case 24: cb_RemoteStoragePublishFileResult_t_24(lin_callback, callback); break; - case 16: cb_RemoteStoragePublishFileResult_t_16(lin_callback, callback); break; - } - break; -case 1310: - switch(callback_len){ - default: - case 1744: cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(lin_callback, callback); break; - } - break; -case 1311: - switch(callback_len){ - default: - case 16: cb_RemoteStorageDeletePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1312: - switch(callback_len){ - default: - case 416: cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(lin_callback, callback); break; - } - break; -case 1313: - switch(callback_len){ - default: - case 16: cb_RemoteStorageSubscribePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1314: - switch(callback_len){ - default: - case 616: cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(lin_callback, callback); break; - } - break; -case 1315: - switch(callback_len){ - default: - case 16: cb_RemoteStorageUnsubscribePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1316: - switch(callback_len){ - default: - case 24: cb_RemoteStorageUpdatePublishedFileResult_t_24(lin_callback, callback); break; - case 16: cb_RemoteStorageUpdatePublishedFileResult_t_16(lin_callback, callback); break; - } - break; -case 1317: - switch(callback_len){ - default: - case 296: cb_RemoteStorageDownloadUGCResult_t_296(lin_callback, callback); break; - } - break; -case 1318: - switch(callback_len){ - default: - case 9760: cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(lin_callback, callback); break; - case 9752: cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(lin_callback, callback); break; - case 9496: cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(lin_callback, callback); break; - } - break; -case 1319: - switch(callback_len){ - default: - case 624: cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(lin_callback, callback); break; - case 616: cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(lin_callback, callback); break; - } - break; -case 1320: - switch(callback_len){ - default: - case 32: cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(lin_callback, callback); break; - } - break; -case 1324: - switch(callback_len){ - default: - case 16: cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(lin_callback, callback); break; - } - break; -case 1325: - switch(callback_len){ - default: - case 24: cb_RemoteStorageUserVoteDetails_t_24(lin_callback, callback); break; - } - break; -case 1326: - switch(callback_len){ - default: - case 416: cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(lin_callback, callback); break; - } - break; -case 1327: - switch(callback_len){ - default: - case 24: cb_RemoteStorageSetUserPublishedFileActionResult_t_24(lin_callback, callback); break; - } - break; -case 1330: - switch(callback_len){ - default: - case 24: cb_RemoteStoragePublishedFileUpdated_t_24(lin_callback, callback); break; - } - break; -case 2101: - switch(callback_len){ - default: - case 32: cb_HTTPRequestCompleted_t_32(lin_callback, callback); break; - case 24: cb_HTTPRequestCompleted_t_24(lin_callback, callback); break; - } - break; -case 2102: - switch(callback_len){ - default: - case 16: cb_HTTPRequestHeadersReceived_t_16(lin_callback, callback); break; - } - break; -case 2103: - switch(callback_len){ - default: - case 24: cb_HTTPRequestDataReceived_t_24(lin_callback, callback); break; - } - break; -case 2803: - switch(callback_len){ - default: - case 40: cb_SteamInputConfigurationLoaded_t_40(lin_callback, callback); break; - } - break; -case 2804: - switch(callback_len){ - default: - case 32: cb_SteamInputGamepadSlotChange_t_32(lin_callback, callback); break; - } - break; -case 3402: - switch(callback_len){ - default: - case 9784: cb_SteamUGCRequestUGCDetailsResult_t_9784(lin_callback, callback); break; - case 9776: cb_SteamUGCRequestUGCDetailsResult_t_9776(lin_callback, callback); break; - case 9768: cb_SteamUGCRequestUGCDetailsResult_t_9768(lin_callback, callback); break; - } - break; -case 3403: - switch(callback_len){ - default: - case 24: cb_CreateItemResult_t_24(lin_callback, callback); break; - } - break; -case 3405: - switch(callback_len){ - default: - case 16: cb_ItemInstalled_t_16(lin_callback, callback); break; - } - break; -case 3406: - switch(callback_len){ - default: - case 24: cb_DownloadItemResult_t_24(lin_callback, callback); break; - } - break; -case 3412: - switch(callback_len){ - default: - case 24: cb_AddUGCDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3413: - switch(callback_len){ - default: - case 24: cb_RemoveUGCDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3414: - switch(callback_len){ - default: - case 24: cb_AddAppDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3415: - switch(callback_len){ - default: - case 24: cb_RemoveAppDependencyResult_t_24(lin_callback, callback); break; - } - break; -case 3416: - switch(callback_len){ - default: - case 152: cb_GetAppDependenciesResult_t_152(lin_callback, callback); break; - } - break; -case 3417: - switch(callback_len){ - default: - case 16: cb_DeleteItemResult_t_16(lin_callback, callback); break; - } - break; -case 4502: - switch(callback_len){ - default: - case 56: cb_HTML_NeedsPaint_t_56(lin_callback, callback); break; - } - break; -case 4503: - switch(callback_len){ - default: - case 40: cb_HTML_StartRequest_t_40(lin_callback, callback); break; - } - break; -case 4505: - switch(callback_len){ - default: - case 48: cb_HTML_URLChanged_t_48(lin_callback, callback); break; - } - break; -case 4506: - switch(callback_len){ - default: - case 24: cb_HTML_FinishedRequest_t_24(lin_callback, callback); break; - } - break; -case 4507: - switch(callback_len){ - default: - case 16: cb_HTML_OpenLinkInNewTab_t_16(lin_callback, callback); break; - } - break; -case 4508: - switch(callback_len){ - default: - case 16: cb_HTML_ChangedTitle_t_16(lin_callback, callback); break; - } - break; -case 4513: - switch(callback_len){ - default: - case 32: cb_HTML_LinkAtPosition_t_32(lin_callback, callback); break; - } - break; -case 4514: - switch(callback_len){ - default: - case 16: cb_HTML_JSAlert_t_16(lin_callback, callback); break; - } - break; -case 4515: - switch(callback_len){ - default: - case 16: cb_HTML_JSConfirm_t_16(lin_callback, callback); break; - } - break; -case 4516: - switch(callback_len){ - default: - case 24: cb_HTML_FileOpenDialog_t_24(lin_callback, callback); break; - } - break; -case 4517: - switch(callback_len){ - default: - case 24: cb_HTML_ComboNeedsPaint_t_24(lin_callback, callback); break; - } - break; -case 4521: - switch(callback_len){ - default: - case 40: cb_HTML_NewWindow_t_40(lin_callback, callback); break; - case 32: cb_HTML_NewWindow_t_32(lin_callback, callback); break; - } - break; -case 4523: - switch(callback_len){ - default: - case 16: cb_HTML_StatusText_t_16(lin_callback, callback); break; - } - break; -case 4524: - switch(callback_len){ - default: - case 16: cb_HTML_ShowToolTip_t_16(lin_callback, callback); break; - } - break; -case 4525: - switch(callback_len){ - default: - case 16: cb_HTML_UpdateToolTip_t_16(lin_callback, callback); break; - } - break; -case 4704: - switch(callback_len){ - default: - case 24: cb_SteamInventoryStartPurchaseResult_t_24(lin_callback, callback); break; - } - break; -case 5211: - switch(callback_len){ - default: - case 16: cb_RequestPlayersForGameProgressCallback_t_16(lin_callback, callback); break; - } - break; -case 5212: - switch(callback_len){ - default: - case 64: cb_RequestPlayersForGameResultCallback_t_64(lin_callback, callback); break; - } - break; -case 5213: - switch(callback_len){ - default: - case 24: cb_RequestPlayersForGameFinalResultCallback_t_24(lin_callback, callback); break; - } - break; -case 5214: - switch(callback_len){ - default: - case 24: cb_SubmitPlayerResultResultCallback_t_24(lin_callback, callback); break; - } - break; -case 5215: - switch(callback_len){ - default: - case 16: cb_EndGameResultCallback_t_16(lin_callback, callback); break; - } - break; -case 5301: - switch(callback_len){ - default: - case 280: cb_JoinPartyCallback_t_280(lin_callback, callback); break; - } - break; -case 5302: - switch(callback_len){ - default: - case 16: cb_CreateBeaconCallback_t_16(lin_callback, callback); break; - } - break; -#endif diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp index e74462b21..9b1a7b5ee 100644 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.cpp @@ -1,42 +1,44 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" -uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( void *args ) { - return ((ISteamAppList*)linux_side)->GetNumInstalledApps(); + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params = (struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *)args; + struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetNumInstalledApps( ); + return 0; } -uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(void *linux_side, AppId_t * pvecAppID, uint32 unMaxAppIDs) +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( void *args ) { - return ((ISteamAppList*)linux_side)->GetInstalledApps((AppId_t *)pvecAppID, (uint32)unMaxAppIDs); + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params = (struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *)args; + struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetInstalledApps( params->pvecAppID, params->unMaxAppIDs ); + return 0; } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(void *linux_side, AppId_t nAppID, char * pchName, int cchNameMax) +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( void *args ) { - return ((ISteamAppList*)linux_side)->GetAppName((AppId_t)nAppID, (char *)pchName, (int)cchNameMax); + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params = (struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *)args; + struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAppName( params->nAppID, params->pchName, params->cchNameMax ); + return 0; } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(void *linux_side, AppId_t nAppID, char * pchDirectory, int cchNameMax) +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( void *args ) { - return ((ISteamAppList*)linux_side)->GetAppInstallDir((AppId_t)nAppID, (char *)pchDirectory, (int)cchNameMax); + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params = (struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *)args; + struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAppInstallDir( params->nAppID, params->pchDirectory, params->cchNameMax ); + params->_ret = steamclient_unix_path_to_dos_path( params->_ret, params->pchDirectory, params->pchDirectory, params->cchNameMax, 0 ); + return 0; } -int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( void *args ) { - return ((ISteamAppList*)linux_side)->GetAppBuildId((AppId_t)nAppID); + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params = (struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *)args; + struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAppBuildId( params->nAppID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h b/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h deleted file mode 100644 index 58e40fd94..000000000 --- a/lsteamclient/cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h +++ /dev/null @@ -1,5 +0,0 @@ -extern uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(void *); -extern uint32 cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(void *, AppId_t *, uint32); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(void *, AppId_t, char *, int); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(void *, AppId_t, char *, int); -extern int cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(void *, AppId_t); diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp index 7ffefca82..7423305c7 100644 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.cpp @@ -1,23 +1,11 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamappticket.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h" -uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *linux_side, uint32 nAppID, void * pvBuffer, uint32 cbBufferLength, uint32 * piAppId, uint32 * piSteamId, uint32 * piSignature, uint32 * pcbSignature) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData( void *args ) { - return ((ISteamAppTicket*)linux_side)->GetAppOwnershipTicketData((uint32)nAppID, (void *)pvBuffer, (uint32)cbBufferLength, (uint32 *)piAppId, (uint32 *)piSteamId, (uint32 *)piSignature, (uint32 *)pcbSignature); + struct ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params *params = (struct ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params *)args; + struct u_ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 *iface = (struct u_ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAppOwnershipTicketData( params->nAppID, params->pvBuffer, params->cbBufferLength, params->piAppId, params->piSteamId, params->piSignature, params->pcbSignature ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h b/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h deleted file mode 100644 index 2824abdc1..000000000 --- a/lsteamclient/cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h +++ /dev/null @@ -1 +0,0 @@ -extern uint32 cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(void *, uint32, void *, uint32, uint32 *, uint32 *, uint32 *, uint32 *); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp index f4edeeb9a..c61a397ef 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.cpp @@ -1,21 +1,11 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_100/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_100 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h" -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *linux_side, AppId_t nAppID, const char * pchKey, char * pchValue, int cchValueMax) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( void *args ) { - return ((ISteamApps*)linux_side)->GetAppData((AppId_t)nAppID, (const char *)pchKey, (char *)pchValue, (int)cchValueMax); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION001 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAppData( params->nAppID, params->pchKey, params->pchValue, params->cchValueMax ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h deleted file mode 100644 index 75ec1d587..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h +++ /dev/null @@ -1 +0,0 @@ -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(void *, AppId_t, const char *, char *, int); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp index fb74ac1b3..74dcbd457 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.cpp @@ -1,51 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_103/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_103 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h deleted file mode 100644 index 8aef587b0..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h +++ /dev/null @@ -1,7 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(void *, AppId_t); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp index d58ed139b..27e1f8d04 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.cpp @@ -1,56 +1,67 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h deleted file mode 100644 index d3161dc4b..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h +++ /dev/null @@ -1,8 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(void *, AppId_t); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp index 2826ff9a3..1283f451d 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.cpp @@ -1,86 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_117/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_117 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( void *args ) { - return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetEarliestPurchaseUnixTime( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFreeWeekend( ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( void *args ) { - return ((ISteamApps*)linux_side)->GetDLCCount(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetDLCCount( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( void *args ) { - return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->BGetDLCDataByIndex( params->iDLC, params->pAppID, params->pbAvailable, params->pchName, params->cchNameBufferSize ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( void *args ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + iface->InstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( void *args ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 *)params->linux_side; + iface->UninstallDLC( params->nAppID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h deleted file mode 100644 index 7150cba4a..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h +++ /dev/null @@ -1,14 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(void *, AppId_t); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp index d71011171..3312e154c 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.cpp @@ -1,116 +1,164 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_125/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_125 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime( void *args ) { - return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetEarliestPurchaseUnixTime( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFreeWeekend( ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount( void *args ) { - return ((ISteamApps*)linux_side)->GetDLCCount(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetDLCCount( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex( void *args ) { - return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BGetDLCDataByIndex( params->iDLC, params->pAppID, params->pbAvailable, params->pchName, params->cchNameBufferSize ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC( void *args ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + iface->InstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC( void *args ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + iface->UninstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey( void *args ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + iface->RequestAppProofOfPurchaseKey( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(void *linux_side, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetCurrentBetaName( params->pchName, params->cchNameBufferSize ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt( void *args ) { - return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->MarkContentCorrupt( params->bMissingFilesOnly ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(void *linux_side, DepotId_t * pvecDepots, uint32 cMaxDepots) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots( void *args ) { - return ((ISteamApps*)linux_side)->GetInstalledDepots((DepotId_t *)pvecDepots, (uint32)cMaxDepots); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetInstalledDepots( params->pvecDepots, params->cMaxDepots ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(void *linux_side, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir( void *args ) { - return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetAppInstallDir( params->appID, params->pchFolder, params->cchFolderBufferSize ); + params->_ret = steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderBufferSize, 0 ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->BIsAppInstalled( params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h deleted file mode 100644 index 71172144e..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h +++ /dev/null @@ -1,20 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(void *, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(void *, AppId_t); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp index cdd5e380d..0c94049ba 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.cpp @@ -1,126 +1,180 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_131/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_131 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime( void *args ) { - return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetEarliestPurchaseUnixTime( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFreeWeekend( ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount( void *args ) { - return ((ISteamApps*)linux_side)->GetDLCCount(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetDLCCount( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex( void *args ) { - return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BGetDLCDataByIndex( params->iDLC, params->pAppID, params->pbAvailable, params->pchName, params->cchNameBufferSize ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC( void *args ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + iface->InstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC( void *args ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + iface->UninstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey( void *args ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + iface->RequestAppProofOfPurchaseKey( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(void *linux_side, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetCurrentBetaName( params->pchName, params->cchNameBufferSize ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt( void *args ) { - return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->MarkContentCorrupt( params->bMissingFilesOnly ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots( void *args ) { - return ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetInstalledDepots( params->appID, params->pvecDepots, params->cMaxDepots ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(void *linux_side, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir( void *args ) { - return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetAppInstallDir( params->appID, params->pchFolder, params->cchFolderBufferSize ); + params->_ret = steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderBufferSize, 0 ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->BIsAppInstalled( params->appID ); + return 0; } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner( void *args ) { - return ((ISteamApps*)linux_side)->GetAppOwner(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + *params->_ret = iface->GetAppOwner( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(void *linux_side, const char * pchKey) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam( void *args ) { - return ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetLaunchQueryParam( params->pchKey ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h deleted file mode 100644 index c2538b973..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h +++ /dev/null @@ -1,22 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(void *, const char *); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp index 8fa9a9b54..ab62cd6d3 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.cpp @@ -1,136 +1,196 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_136/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_136 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime( void *args ) { - return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetEarliestPurchaseUnixTime( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFreeWeekend( ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount( void *args ) { - return ((ISteamApps*)linux_side)->GetDLCCount(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetDLCCount( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex( void *args ) { - return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BGetDLCDataByIndex( params->iDLC, params->pAppID, params->pbAvailable, params->pchName, params->cchNameBufferSize ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC( void *args ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + iface->InstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC( void *args ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + iface->UninstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey( void *args ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + iface->RequestAppProofOfPurchaseKey( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(void *linux_side, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetCurrentBetaName( params->pchName, params->cchNameBufferSize ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt( void *args ) { - return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->MarkContentCorrupt( params->bMissingFilesOnly ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots( void *args ) { - return ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetInstalledDepots( params->appID, params->pvecDepots, params->cMaxDepots ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(void *linux_side, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir( void *args ) { - return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAppInstallDir( params->appID, params->pchFolder, params->cchFolderBufferSize ); + params->_ret = steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderBufferSize, 0 ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->BIsAppInstalled( params->appID ); + return 0; } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner( void *args ) { - return ((ISteamApps*)linux_side)->GetAppOwner(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + *params->_ret = iface->GetAppOwner( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(void *linux_side, const char * pchKey) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam( void *args ) { - return ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetLaunchQueryParam( params->pchKey ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(void *linux_side, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress( void *args ) { - return ((ISteamApps*)linux_side)->GetDlcDownloadProgress((AppId_t)nAppID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetDlcDownloadProgress( params->nAppID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId( void *args ) { - return ((ISteamApps*)linux_side)->GetAppBuildId(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAppBuildId( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h deleted file mode 100644 index 64143337e..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h +++ /dev/null @@ -1,24 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(void *, const char *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(void *, AppId_t, uint64 *, uint64 *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(void *); diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp index a5816ad85..f3cc574e3 100644 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.cpp @@ -1,167 +1,246 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribed(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsSubscribed( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence( void *args ) { - return ((ISteamApps*)linux_side)->BIsLowViolence(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsLowViolence( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe( void *args ) { - return ((ISteamApps*)linux_side)->BIsCybercafe(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsCybercafe( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned( void *args ) { - return ((ISteamApps*)linux_side)->BIsVACBanned(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsVACBanned( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentGameLanguage(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetCurrentGameLanguage( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages( void *args ) { - return ((ISteamApps*)linux_side)->GetAvailableGameLanguages(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAvailableGameLanguages( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedApp((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsSubscribedApp( params->appID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsDlcInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsDlcInstalled( params->appID ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime( void *args ) { - return ((ISteamApps*)linux_side)->GetEarliestPurchaseUnixTime((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetEarliestPurchaseUnixTime( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFreeWeekend(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFreeWeekend( ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount( void *args ) { - return ((ISteamApps*)linux_side)->GetDLCCount(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetDLCCount( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(void *linux_side, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex( void *args ) { - return ((ISteamApps*)linux_side)->BGetDLCDataByIndex((int)iDLC, (AppId_t *)pAppID, (bool *)pbAvailable, (char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BGetDLCDataByIndex( params->iDLC, params->pAppID, params->pbAvailable, params->pchName, params->cchNameBufferSize ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC( void *args ) { - ((ISteamApps*)linux_side)->InstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + iface->InstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC( void *args ) { - ((ISteamApps*)linux_side)->UninstallDLC((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + iface->UninstallDLC( params->nAppID ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey( void *args ) { - ((ISteamApps*)linux_side)->RequestAppProofOfPurchaseKey((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + iface->RequestAppProofOfPurchaseKey( params->nAppID ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(void *linux_side, char * pchName, int cchNameBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName( void *args ) { - return ((ISteamApps*)linux_side)->GetCurrentBetaName((char *)pchName, (int)cchNameBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetCurrentBetaName( params->pchName, params->cchNameBufferSize ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(void *linux_side, bool bMissingFilesOnly) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt( void *args ) { - return ((ISteamApps*)linux_side)->MarkContentCorrupt((bool)bMissingFilesOnly); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->MarkContentCorrupt( params->bMissingFilesOnly ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(void *linux_side, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots( void *args ) { - return ((ISteamApps*)linux_side)->GetInstalledDepots((AppId_t)appID, (DepotId_t *)pvecDepots, (uint32)cMaxDepots); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetInstalledDepots( params->appID, params->pvecDepots, params->cMaxDepots ); + return 0; } -uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(void *linux_side, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir( void *args ) { - return ((ISteamApps*)linux_side)->GetAppInstallDir((AppId_t)appID, (char *)pchFolder, (uint32)cchFolderBufferSize); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAppInstallDir( params->appID, params->pchFolder, params->cchFolderBufferSize ); + params->_ret = steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderBufferSize, 0 ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(void *linux_side, AppId_t appID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled( void *args ) { - return ((ISteamApps*)linux_side)->BIsAppInstalled((AppId_t)appID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsAppInstalled( params->appID ); + return 0; } -CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner( void *args ) { - return ((ISteamApps*)linux_side)->GetAppOwner(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + *params->_ret = iface->GetAppOwner( ); + return 0; } -const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(void *linux_side, const char * pchKey) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam( void *args ) { - return ((ISteamApps*)linux_side)->GetLaunchQueryParam((const char *)pchKey); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLaunchQueryParam( params->pchKey ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(void *linux_side, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress( void *args ) { - return ((ISteamApps*)linux_side)->GetDlcDownloadProgress((AppId_t)nAppID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetDlcDownloadProgress( params->nAppID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId( void *args ) { - return ((ISteamApps*)linux_side)->GetAppBuildId(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAppBuildId( ); + return 0; } -void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys( void *args ) { - ((ISteamApps*)linux_side)->RequestAllProofOfPurchaseKeys(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + iface->RequestAllProofOfPurchaseKeys( ); + return 0; } -SteamAPICall_t cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(void *linux_side, const char * pszFileName) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( void *args ) { - return ((ISteamApps*)linux_side)->GetFileDetails((const char *)pszFileName); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszFileName = steamclient_dos_to_unix_path( params->pszFileName, 0 ); + params->_ret = iface->GetFileDetails( u_pszFileName ); + steamclient_free_path( u_pszFileName ); + return 0; } -int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(void *linux_side, char * pszCommandLine, int cubCommandLine) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine( void *args ) { - return ((ISteamApps*)linux_side)->GetLaunchCommandLine((char *)pszCommandLine, (int)cubCommandLine); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLaunchCommandLine( params->pszCommandLine, params->cubCommandLine ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(void *linux_side) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing( void *args ) { - return ((ISteamApps*)linux_side)->BIsSubscribedFromFamilySharing(); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsSubscribedFromFamilySharing( ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(void *linux_side, uint32 * punSecondsAllowed, uint32 * punSecondsPlayed) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial( void *args ) { - return ((ISteamApps*)linux_side)->BIsTimedTrial((uint32 *)punSecondsAllowed, (uint32 *)punSecondsPlayed); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->BIsTimedTrial( params->punSecondsAllowed, params->punSecondsPlayed ); + return 0; } -bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext( void *args ) { - return ((ISteamApps*)linux_side)->SetDlcContext((AppId_t)nAppID); + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params *params = (struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params *)args; + struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *iface = (struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetDlcContext( params->nAppID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h b/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h deleted file mode 100644 index 2c33292e6..000000000 --- a/lsteamclient/cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h +++ /dev/null @@ -1,30 +0,0 @@ -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(void *, AppId_t); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(void *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(void *, int, AppId_t *, bool *, char *, int); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(void *, AppId_t); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(void *, AppId_t); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(void *, bool); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(void *, AppId_t, DepotId_t *, uint32); -extern uint32 cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(void *, AppId_t, char *, uint32); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(void *, AppId_t); -extern CSteamID cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(void *); -extern const char * cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(void *, const char *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(void *, AppId_t, uint64 *, uint64 *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(void *); -extern void cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(void *); -extern SteamAPICall_t cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(void *, const char *); -extern int cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(void *, char *, int); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(void *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(void *, uint32 *, uint32 *); -extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(void *, AppId_t); diff --git a/lsteamclient/cppISteamClient_SteamClient006.cpp b/lsteamclient/cppISteamClient_SteamClient006.cpp index 1a3b23c72..a2b115943 100644 --- a/lsteamclient/cppISteamClient_SteamClient006.cpp +++ b/lsteamclient/cppISteamClient_SteamClient006.cpp @@ -1,121 +1,171 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamClient_SteamClient006.h" -HSteamPipe cppISteamClient_SteamClient006_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient006_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient006_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient006_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient006_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient006_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient006_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient006_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient006_CreateGlobalUser(void *linux_side, HSteamPipe * phSteamPipe) +NTSTATUS ISteamClient_SteamClient006_CreateGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateGlobalUser((HSteamPipe *)phSteamPipe); + struct ISteamClient_SteamClient006_CreateGlobalUser_params *params = (struct ISteamClient_SteamClient006_CreateGlobalUser_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->CreateGlobalUser( params->phSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient006_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient006_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient006_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient006_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient006_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe) +NTSTATUS ISteamClient_SteamClient006_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe); + struct ISteamClient_SteamClient006_CreateLocalUser_params *params = (struct ISteamClient_SteamClient006_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe ); + return 0; } -void cppISteamClient_SteamClient006_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient006_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient006_ReleaseUser_params *params = (struct ISteamClient_SteamClient006_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamUser_params *params = (struct ISteamClient_SteamClient006_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient006_GetIVAC(void *linux_side, HSteamUser hSteamUser) +NTSTATUS ISteamClient_SteamClient006_GetIVAC( void *args ) { - return ((ISteamClient*)linux_side)->GetIVAC((HSteamUser)hSteamUser); + struct ISteamClient_SteamClient006_GetIVAC_params *params = (struct ISteamClient_SteamClient006_GetIVAC_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetIVAC( params->hSteamUser ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient006_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient006_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient006_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient006_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient006_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -const char * cppISteamClient_SteamClient006_GetUniverseName(void *linux_side, EUniverse eUniverse) +NTSTATUS ISteamClient_SteamClient006_GetUniverseName( void *args ) { - return ((ISteamClient*)linux_side)->GetUniverseName((EUniverse)eUniverse); + struct ISteamClient_SteamClient006_GetUniverseName_params *params = (struct ISteamClient_SteamClient006_GetUniverseName_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetUniverseName( params->eUniverse ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamFriends_params *params = (struct ISteamClient_SteamClient006_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamUtils_params *params = (struct ISteamClient_SteamClient006_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient006_GetISteamBilling(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamBilling( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamBilling((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamBilling_params *params = (struct ISteamClient_SteamClient006_GetISteamBilling_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamBilling( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient006_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamApps_params *params = (struct ISteamClient_SteamClient006_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamContentServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamContentServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamContentServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamContentServer_params *params = (struct ISteamClient_SteamClient006_GetISteamContentServer_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamContentServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient006_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient006_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient006_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient006_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient006_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient006_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient006_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient006_RunFrame_params *params = (struct ISteamClient_SteamClient006_RunFrame_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient006_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient006_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient006_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient006_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient006 *iface = (struct u_ISteamClient_SteamClient006 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient006.h b/lsteamclient/cppISteamClient_SteamClient006.h deleted file mode 100644 index 6bdeb670e..000000000 --- a/lsteamclient/cppISteamClient_SteamClient006.h +++ /dev/null @@ -1,21 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient006_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient006_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient006_CreateGlobalUser(void *, HSteamPipe *); -extern HSteamUser cppISteamClient_SteamClient006_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient006_CreateLocalUser(void *, HSteamPipe *); -extern void cppISteamClient_SteamClient006_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient006_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient006_GetIVAC(void *, HSteamUser); -extern void *cppISteamClient_SteamClient006_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient006_SetLocalIPBinding(void *, uint32, uint16); -extern const char * cppISteamClient_SteamClient006_GetUniverseName(void *, EUniverse); -extern void *cppISteamClient_SteamClient006_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamUtils(void *, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient006_GetISteamBilling(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamContentServer(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient006_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient006_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient006_GetIPCCallCount(void *); diff --git a/lsteamclient/cppISteamClient_SteamClient007.cpp b/lsteamclient/cppISteamClient_SteamClient007.cpp index b05a23a46..c87b6a3f1 100644 --- a/lsteamclient/cppISteamClient_SteamClient007.cpp +++ b/lsteamclient/cppISteamClient_SteamClient007.cpp @@ -1,127 +1,180 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_103/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_103 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient007.h" -HSteamPipe cppISteamClient_SteamClient007_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient007_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient007_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient007_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient007_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient007_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient007_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient007_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient007_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient007_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient007_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient007_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient007_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe) +NTSTATUS ISteamClient_SteamClient007_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe); + struct ISteamClient_SteamClient007_CreateLocalUser_params *params = (struct ISteamClient_SteamClient007_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe ); + return 0; } -void cppISteamClient_SteamClient007_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient007_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient007_ReleaseUser_params *params = (struct ISteamClient_SteamClient007_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamUser_params *params = (struct ISteamClient_SteamClient007_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient007_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient007_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient007_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient007_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient007_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamFriends_params *params = (struct ISteamClient_SteamClient007_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamUtils_params *params = (struct ISteamClient_SteamClient007_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient007_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamContentServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamContentServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamContentServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamContentServer_params *params = (struct ISteamClient_SteamClient007_GetISteamContentServer_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamContentServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient007_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient007_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient007_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient007_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient007_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient007_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient007_RunFrame_params *params = (struct ISteamClient_SteamClient007_RunFrame_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient007_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient007_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient007_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient007_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient007_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamApps_params *params = (struct ISteamClient_SteamClient007_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient007_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient007_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient007_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient007_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient007_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -void *cppISteamClient_SteamClient007_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient007_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient007_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient007_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient007 *iface = (struct u_ISteamClient_SteamClient007 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient007.h b/lsteamclient/cppISteamClient_SteamClient007.h deleted file mode 100644 index f69e256fd..000000000 --- a/lsteamclient/cppISteamClient_SteamClient007.h +++ /dev/null @@ -1,22 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient007_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient007_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient007_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient007_CreateLocalUser(void *, HSteamPipe *); -extern void cppISteamClient_SteamClient007_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient007_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient007_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamContentServer(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient007_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient007_GetIPCCallCount(void *); -extern void *cppISteamClient_SteamClient007_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient007_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient007_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern void *cppISteamClient_SteamClient007_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient008.cpp b/lsteamclient/cppISteamClient_SteamClient008.cpp index c0c60e1c6..87f944a05 100644 --- a/lsteamclient/cppISteamClient_SteamClient008.cpp +++ b/lsteamclient/cppISteamClient_SteamClient008.cpp @@ -1,122 +1,172 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_107/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_107 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient008.h" -HSteamPipe cppISteamClient_SteamClient008_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient008_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient008_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient008_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient008_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient008_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient008_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient008_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient008_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient008_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient008_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient008_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient008_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient008_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient008_CreateLocalUser_params *params = (struct ISteamClient_SteamClient008_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient008_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient008_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient008_ReleaseUser_params *params = (struct ISteamClient_SteamClient008_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamUser_params *params = (struct ISteamClient_SteamClient008_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient008_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient008_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient008_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient008_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient008_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamFriends_params *params = (struct ISteamClient_SteamClient008_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamUtils_params *params = (struct ISteamClient_SteamClient008_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient008_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient008_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient008_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient008_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient008_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient008_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamApps_params *params = (struct ISteamClient_SteamClient008_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient008_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient008_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient008_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient008_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient008_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient008_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient008_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient008_RunFrame_params *params = (struct ISteamClient_SteamClient008_RunFrame_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient008_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient008_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient008_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient008_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient008_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient008_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient008_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient008_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient008 *iface = (struct u_ISteamClient_SteamClient008 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient008.h b/lsteamclient/cppISteamClient_SteamClient008.h deleted file mode 100644 index be8d22d96..000000000 --- a/lsteamclient/cppISteamClient_SteamClient008.h +++ /dev/null @@ -1,21 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient008_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient008_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient008_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient008_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient008_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient008_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient008_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient008_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient008_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient008_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient008_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient008_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient008_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); diff --git a/lsteamclient/cppISteamClient_SteamClient009.cpp b/lsteamclient/cppISteamClient_SteamClient009.cpp index 41b216a6c..a342c553d 100644 --- a/lsteamclient/cppISteamClient_SteamClient009.cpp +++ b/lsteamclient/cppISteamClient_SteamClient009.cpp @@ -1,127 +1,180 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient009.h" -HSteamPipe cppISteamClient_SteamClient009_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient009_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient009_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient009_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient009_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient009_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient009_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient009_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient009_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient009_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient009_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient009_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient009_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient009_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient009_CreateLocalUser_params *params = (struct ISteamClient_SteamClient009_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient009_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient009_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient009_ReleaseUser_params *params = (struct ISteamClient_SteamClient009_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamUser_params *params = (struct ISteamClient_SteamClient009_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient009_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient009_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient009_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient009_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient009_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamFriends_params *params = (struct ISteamClient_SteamClient009_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamUtils_params *params = (struct ISteamClient_SteamClient009_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient009_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient009_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient009_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient009_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient009_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient009_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient009_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamApps_params *params = (struct ISteamClient_SteamClient009_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient009_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient009_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient009_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient009_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient009_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient009_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient009_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient009_RunFrame_params *params = (struct ISteamClient_SteamClient009_RunFrame_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient009_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient009_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient009_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient009_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient009_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient009_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient009_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient009_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient009 *iface = (struct u_ISteamClient_SteamClient009 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient009.h b/lsteamclient/cppISteamClient_SteamClient009.h deleted file mode 100644 index a380d20c5..000000000 --- a/lsteamclient/cppISteamClient_SteamClient009.h +++ /dev/null @@ -1,22 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient009_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient009_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient009_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient009_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient009_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient009_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient009_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient009_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient009_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient009_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient009_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient009_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient009_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); diff --git a/lsteamclient/cppISteamClient_SteamClient010.cpp b/lsteamclient/cppISteamClient_SteamClient010.cpp index e101e7a8f..729c2687a 100644 --- a/lsteamclient/cppISteamClient_SteamClient010.cpp +++ b/lsteamclient/cppISteamClient_SteamClient010.cpp @@ -1,137 +1,196 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_115/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_115 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient010.h" -HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient010_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient010_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient010_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient010_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient010_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient010_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient010_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient010_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient010_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient010_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient010_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient010_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient010_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient010_CreateLocalUser_params *params = (struct ISteamClient_SteamClient010_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient010_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient010_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient010_ReleaseUser_params *params = (struct ISteamClient_SteamClient010_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamUser_params *params = (struct ISteamClient_SteamClient010_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient010_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient010_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient010_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient010_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient010_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamFriends_params *params = (struct ISteamClient_SteamClient010_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamUtils_params *params = (struct ISteamClient_SteamClient010_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient010_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient010_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient010_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient010_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient010_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient010_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient010_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamApps_params *params = (struct ISteamClient_SteamClient010_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient010_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient010_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient010_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient010_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient010_RunFrame_params *params = (struct ISteamClient_SteamClient010_RunFrame_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient010_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient010_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient010_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient010_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient010_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient010_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient010_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient010_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient010_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient010_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient010_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient010_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient010_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient010 *iface = (struct u_ISteamClient_SteamClient010 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient010.h b/lsteamclient/cppISteamClient_SteamClient010.h deleted file mode 100644 index 7061dfdef..000000000 --- a/lsteamclient/cppISteamClient_SteamClient010.h +++ /dev/null @@ -1,24 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient010_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient010_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient010_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient010_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient010_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient010_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient010_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient010_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient010_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient010_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient010_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient010_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient010_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient010_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient011.cpp b/lsteamclient/cppISteamClient_SteamClient011.cpp index 12759965a..a455b8e06 100644 --- a/lsteamclient/cppISteamClient_SteamClient011.cpp +++ b/lsteamclient/cppISteamClient_SteamClient011.cpp @@ -1,142 +1,204 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient011.h" -HSteamPipe cppISteamClient_SteamClient011_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient011_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient011_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient011_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient011_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient011_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient011_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient011_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient011_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient011_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient011_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient011_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient011_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient011_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient011_CreateLocalUser_params *params = (struct ISteamClient_SteamClient011_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient011_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient011_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient011_ReleaseUser_params *params = (struct ISteamClient_SteamClient011_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamUser_params *params = (struct ISteamClient_SteamClient011_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient011_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient011_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient011_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient011_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient011_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamFriends_params *params = (struct ISteamClient_SteamClient011_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamUtils_params *params = (struct ISteamClient_SteamClient011_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient011_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamMasterServerUpdater( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMasterServerUpdater((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamMasterServerUpdater_params *params = (struct ISteamClient_SteamClient011_GetISteamMasterServerUpdater_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamMasterServerUpdater( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient011_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient011_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient011_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient011_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient011_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamApps_params *params = (struct ISteamClient_SteamClient011_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient011_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient011_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient011_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient011_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient011_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient011_RunFrame_params *params = (struct ISteamClient_SteamClient011_RunFrame_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient011_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient011_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient011_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient011_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient011_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient011_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient011_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient011_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient011_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient011_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient011_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient011_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient011_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient011 *iface = (struct u_ISteamClient_SteamClient011 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient011.h b/lsteamclient/cppISteamClient_SteamClient011.h deleted file mode 100644 index 34f7dc32d..000000000 --- a/lsteamclient/cppISteamClient_SteamClient011.h +++ /dev/null @@ -1,25 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient011_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient011_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient011_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient011_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient011_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient011_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient011_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient011_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient011_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient011_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient011_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient011_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient011_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient011_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient012.cpp b/lsteamclient/cppISteamClient_SteamClient012.cpp index 88ff2a0a4..f9beb85b2 100644 --- a/lsteamclient/cppISteamClient_SteamClient012.cpp +++ b/lsteamclient/cppISteamClient_SteamClient012.cpp @@ -1,152 +1,220 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_128 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient012.h" -HSteamPipe cppISteamClient_SteamClient012_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient012_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient012_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient012_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient012_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient012_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient012_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient012_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient012_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient012_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient012_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient012_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient012_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient012_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient012_CreateLocalUser_params *params = (struct ISteamClient_SteamClient012_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient012_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient012_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient012_ReleaseUser_params *params = (struct ISteamClient_SteamClient012_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamUser_params *params = (struct ISteamClient_SteamClient012_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient012_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient012_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient012_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient012_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient012_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamFriends_params *params = (struct ISteamClient_SteamClient012_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamUtils_params *params = (struct ISteamClient_SteamClient012_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient012_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient012_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient012_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient012_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient012_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient012_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamApps_params *params = (struct ISteamClient_SteamClient012_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient012_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient012_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient012_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient012_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient012_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient012_RunFrame_params *params = (struct ISteamClient_SteamClient012_RunFrame_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient012_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient012_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient012_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient012_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient012_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient012_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient012_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient012_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient012_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient012_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient012_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamController_params *params = (struct ISteamClient_SteamClient012_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient012_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient012_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient012_GetISteamUGC_params *params = (struct ISteamClient_SteamClient012_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient012 *iface = (struct u_ISteamClient_SteamClient012 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient012.h b/lsteamclient/cppISteamClient_SteamClient012.h deleted file mode 100644 index b31d6f7ca..000000000 --- a/lsteamclient/cppISteamClient_SteamClient012.h +++ /dev/null @@ -1,27 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient012_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient012_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient012_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient012_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient012_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient012_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient012_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient012_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient012_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient012_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient012_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient012_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient012_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient012_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient013.cpp b/lsteamclient/cppISteamClient_SteamClient013.cpp index 88a8bd656..1ba44b5d1 100644 --- a/lsteamclient/cppISteamClient_SteamClient013.cpp +++ b/lsteamclient/cppISteamClient_SteamClient013.cpp @@ -1,167 +1,244 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_128x -#include "struct_converters.h" -#include "cppISteamClient_SteamClient013.h" -HSteamPipe cppISteamClient_SteamClient013_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient013_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient013_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient013_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient013_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient013_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient013_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient013_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient013_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient013_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient013_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient013_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient013_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient013_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient013_CreateLocalUser_params *params = (struct ISteamClient_SteamClient013_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient013_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient013_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient013_ReleaseUser_params *params = (struct ISteamClient_SteamClient013_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamUser_params *params = (struct ISteamClient_SteamClient013_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient013_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient013_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient013_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient013_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient013_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamFriends_params *params = (struct ISteamClient_SteamClient013_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamUtils_params *params = (struct ISteamClient_SteamClient013_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient013_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient013_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient013_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient013_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient013_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient013_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamApps_params *params = (struct ISteamClient_SteamClient013_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient013_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient013_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient013_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient013_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient013_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient013_RunFrame_params *params = (struct ISteamClient_SteamClient013_RunFrame_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient013_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient013_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient013_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient013_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient013_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient013_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient013_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient013_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient013_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient013_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient013_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamController_params *params = (struct ISteamClient_SteamClient013_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamUGC_params *params = (struct ISteamClient_SteamClient013_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient013_GetISteamInventory(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamInventory( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamInventory_params *params = (struct ISteamClient_SteamClient013_GetISteamInventory_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamInventory( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient013_GetISteamVideo(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamVideo( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamVideo_params *params = (struct ISteamClient_SteamClient013_GetISteamVideo_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamVideo( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient013_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient013_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient013_GetISteamAppList_params *params = (struct ISteamClient_SteamClient013_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient013 *iface = (struct u_ISteamClient_SteamClient013 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient013.h b/lsteamclient/cppISteamClient_SteamClient013.h deleted file mode 100644 index 5e4c2f7b3..000000000 --- a/lsteamclient/cppISteamClient_SteamClient013.h +++ /dev/null @@ -1,30 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient013_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient013_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient013_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient013_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient013_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient013_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient013_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient013_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient013_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient013_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient013_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient013_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient013_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient013_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient014.cpp b/lsteamclient/cppISteamClient_SteamClient014.cpp index b1d03d34c..1d04f39a1 100644 --- a/lsteamclient/cppISteamClient_SteamClient014.cpp +++ b/lsteamclient/cppISteamClient_SteamClient014.cpp @@ -1,162 +1,236 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_129a/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_129a -#include "struct_converters.h" -#include "cppISteamClient_SteamClient014.h" -HSteamPipe cppISteamClient_SteamClient014_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient014_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient014_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient014_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient014_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient014_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient014_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient014_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient014_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient014_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient014_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient014_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient014_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient014_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient014_CreateLocalUser_params *params = (struct ISteamClient_SteamClient014_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient014_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient014_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient014_ReleaseUser_params *params = (struct ISteamClient_SteamClient014_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamUser_params *params = (struct ISteamClient_SteamClient014_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient014_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient014_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient014_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient014_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient014_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamFriends_params *params = (struct ISteamClient_SteamClient014_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamUtils_params *params = (struct ISteamClient_SteamClient014_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient014_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient014_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient014_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient014_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient014_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient014_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamApps_params *params = (struct ISteamClient_SteamClient014_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient014_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient014_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient014_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient014_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient014_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient014_RunFrame_params *params = (struct ISteamClient_SteamClient014_RunFrame_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient014_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient014_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient014_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient014_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient014_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient014_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient014_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient014_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient014_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient014_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient014_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamController_params *params = (struct ISteamClient_SteamClient014_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamUGC_params *params = (struct ISteamClient_SteamClient014_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamAppList_params *params = (struct ISteamClient_SteamClient014_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient014_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient014_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient014_GetISteamMusic_params *params = (struct ISteamClient_SteamClient014_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient014 *iface = (struct u_ISteamClient_SteamClient014 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient014.h b/lsteamclient/cppISteamClient_SteamClient014.h deleted file mode 100644 index 1e85d0b81..000000000 --- a/lsteamclient/cppISteamClient_SteamClient014.h +++ /dev/null @@ -1,29 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient014_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient014_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient014_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient014_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient014_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient014_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient014_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient014_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient014_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient014_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient014_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient014_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient014_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient014_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient015.cpp b/lsteamclient/cppISteamClient_SteamClient015.cpp index d1ef808c0..943e6cd21 100644 --- a/lsteamclient/cppISteamClient_SteamClient015.cpp +++ b/lsteamclient/cppISteamClient_SteamClient015.cpp @@ -1,167 +1,244 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_130/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_130 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient015.h" -HSteamPipe cppISteamClient_SteamClient015_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient015_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient015_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient015_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient015_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient015_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient015_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient015_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient015_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient015_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient015_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient015_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient015_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient015_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient015_CreateLocalUser_params *params = (struct ISteamClient_SteamClient015_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient015_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient015_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient015_ReleaseUser_params *params = (struct ISteamClient_SteamClient015_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamUser_params *params = (struct ISteamClient_SteamClient015_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient015_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient015_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient015_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient015_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient015_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamFriends_params *params = (struct ISteamClient_SteamClient015_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamUtils_params *params = (struct ISteamClient_SteamClient015_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient015_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient015_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient015_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient015_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient015_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient015_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamApps_params *params = (struct ISteamClient_SteamClient015_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient015_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient015_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient015_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient015_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient015_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient015_RunFrame_params *params = (struct ISteamClient_SteamClient015_RunFrame_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient015_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient015_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient015_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient015_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient015_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient015_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient015_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient015_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient015_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient015_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient015_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamController_params *params = (struct ISteamClient_SteamClient015_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamUGC_params *params = (struct ISteamClient_SteamClient015_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamAppList_params *params = (struct ISteamClient_SteamClient015_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamMusic_params *params = (struct ISteamClient_SteamClient015_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient015_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient015_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient015_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient015_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient015 *iface = (struct u_ISteamClient_SteamClient015 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient015.h b/lsteamclient/cppISteamClient_SteamClient015.h deleted file mode 100644 index 7f497187d..000000000 --- a/lsteamclient/cppISteamClient_SteamClient015.h +++ /dev/null @@ -1,30 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient015_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient015_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient015_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient015_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient015_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient015_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient015_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient015_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient015_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient015_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient015_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient015_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient015_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient015_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient016.cpp b/lsteamclient/cppISteamClient_SteamClient016.cpp index 3f8baa6a7..835d9df33 100644 --- a/lsteamclient/cppISteamClient_SteamClient016.cpp +++ b/lsteamclient/cppISteamClient_SteamClient016.cpp @@ -1,188 +1,279 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_131/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_131 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient016.h" -HSteamPipe cppISteamClient_SteamClient016_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient016_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient016_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient016_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient016_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient016_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient016_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient016_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient016_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient016_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient016_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient016_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient016_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient016_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient016_CreateLocalUser_params *params = (struct ISteamClient_SteamClient016_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient016_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient016_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient016_ReleaseUser_params *params = (struct ISteamClient_SteamClient016_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamUser_params *params = (struct ISteamClient_SteamClient016_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient016_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient016_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient016_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient016_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient016_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamFriends_params *params = (struct ISteamClient_SteamClient016_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamUtils_params *params = (struct ISteamClient_SteamClient016_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient016_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient016_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient016_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient016_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient016_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient016_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamApps_params *params = (struct ISteamClient_SteamClient016_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient016_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient016_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient016_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient016_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient016_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient016_RunFrame_params *params = (struct ISteamClient_SteamClient016_RunFrame_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient016_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient016_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient016_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient016_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient016_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient016_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient016_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient016_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient016_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient016_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient016_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamController_params *params = (struct ISteamClient_SteamClient016_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamUGC_params *params = (struct ISteamClient_SteamClient016_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamAppList_params *params = (struct ISteamClient_SteamClient016_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamMusic_params *params = (struct ISteamClient_SteamClient016_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient016_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient016_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient016_GetISteamHTMLSurface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient016_GetISteamHTMLSurface_params *params = (struct ISteamClient_SteamClient016_GetISteamHTMLSurface_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, SteamAPI_PostAPIResultInProcess_t func) +NTSTATUS ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->Set_SteamAPI_CPostAPIResultInProcess((SteamAPI_PostAPIResultInProcess_t)func); + struct ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + void (*U_STDCALL u_func)(uint64_t, void *, uint32_t, int32_t) = manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( params->func ); + iface->Set_SteamAPI_CPostAPIResultInProcess( u_func ); + return 0; } -void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, SteamAPI_PostAPIResultInProcess_t func) +NTSTATUS ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->Remove_SteamAPI_CPostAPIResultInProcess((SteamAPI_PostAPIResultInProcess_t)func); + struct ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + void (*U_STDCALL u_func)(uint64_t, void *, uint32_t, int32_t) = manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( params->func ); + iface->Remove_SteamAPI_CPostAPIResultInProcess( u_func ); + return 0; } -void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +NTSTATUS ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void *args ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + struct ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params = (struct ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *)args; + struct u_ISteamClient_SteamClient016 *iface = (struct u_ISteamClient_SteamClient016 *)params->linux_side; + uint32_t (*U_STDCALL u_func)(int32_t) = manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( params->func ); + iface->Set_SteamAPI_CCheckCallbackRegisteredInProcess( u_func ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient016.h b/lsteamclient/cppISteamClient_SteamClient016.h deleted file mode 100644 index c90cdd4d4..000000000 --- a/lsteamclient/cppISteamClient_SteamClient016.h +++ /dev/null @@ -1,34 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient016_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient016_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient016_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient016_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient016_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient016_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient016_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient016_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient016_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient016_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient016_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient016_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(void *, SteamAPI_PostAPIResultInProcess_t); -extern void cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(void *, SteamAPI_PostAPIResultInProcess_t); -extern void cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); diff --git a/lsteamclient/cppISteamClient_SteamClient017.cpp b/lsteamclient/cppISteamClient_SteamClient017.cpp index 4805ff294..c133eb576 100644 --- a/lsteamclient/cppISteamClient_SteamClient017.cpp +++ b/lsteamclient/cppISteamClient_SteamClient017.cpp @@ -1,203 +1,303 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient017.h" -HSteamPipe cppISteamClient_SteamClient017_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient017_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient017_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient017_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient017_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient017_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient017_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient017_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient017_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient017_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient017_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient017_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient017_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient017_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient017_CreateLocalUser_params *params = (struct ISteamClient_SteamClient017_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient017_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient017_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient017_ReleaseUser_params *params = (struct ISteamClient_SteamClient017_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamUser_params *params = (struct ISteamClient_SteamClient017_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient017_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient017_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient017_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient017_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient017_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamFriends_params *params = (struct ISteamClient_SteamClient017_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamUtils_params *params = (struct ISteamClient_SteamClient017_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient017_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient017_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient017_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient017_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient017_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient017_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamApps_params *params = (struct ISteamClient_SteamClient017_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient017_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient017_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient017_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient017_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient017_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient017_RunFrame_params *params = (struct ISteamClient_SteamClient017_RunFrame_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient017_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient017_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient017_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient017_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient017_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient017_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient017_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient017_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient017_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient017_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->DEPRECATED_GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamController_params *params = (struct ISteamClient_SteamClient017_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamUGC_params *params = (struct ISteamClient_SteamClient017_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamAppList_params *params = (struct ISteamClient_SteamClient017_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamMusic_params *params = (struct ISteamClient_SteamClient017_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient017_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamHTMLSurface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamHTMLSurface_params *params = (struct ISteamClient_SteamClient017_GetISteamHTMLSurface_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +NTSTATUS ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void *args ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + struct ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params = (struct ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + uint32_t (*U_STDCALL u_func)(int32_t) = manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( params->func ); + iface->Set_SteamAPI_CCheckCallbackRegisteredInProcess( u_func ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamInventory( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamInventory_params *params = (struct ISteamClient_SteamClient017_GetISteamInventory_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamInventory( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamVideo( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamVideo_params *params = (struct ISteamClient_SteamClient017_GetISteamVideo_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamVideo( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient017_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient017_GetISteamParentalSettings( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient017_GetISteamParentalSettings_params *params = (struct ISteamClient_SteamClient017_GetISteamParentalSettings_params *)args; + struct u_ISteamClient_SteamClient017 *iface = (struct u_ISteamClient_SteamClient017 *)params->linux_side; + params->_ret = iface->GetISteamParentalSettings( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient017.h b/lsteamclient/cppISteamClient_SteamClient017.h deleted file mode 100644 index 37552aa4c..000000000 --- a/lsteamclient/cppISteamClient_SteamClient017.h +++ /dev/null @@ -1,37 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient017_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient017_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient017_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient017_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient017_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient017_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient017_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient017_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient017_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient017_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient017_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void *cppISteamClient_SteamClient017_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient017_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient018.cpp b/lsteamclient/cppISteamClient_SteamClient018.cpp index 468fbf3d5..cbaa823a6 100644 --- a/lsteamclient/cppISteamClient_SteamClient018.cpp +++ b/lsteamclient/cppISteamClient_SteamClient018.cpp @@ -1,219 +1,327 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_145/steam_api.h" -#include "steamworks_sdk_145/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_145 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient018.h" -HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient018_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient018_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient018_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient018_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient018_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient018_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient018_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient018_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient018_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient018_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient018_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient018_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient018_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient018_CreateLocalUser_params *params = (struct ISteamClient_SteamClient018_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient018_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient018_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient018_ReleaseUser_params *params = (struct ISteamClient_SteamClient018_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamUser_params *params = (struct ISteamClient_SteamClient018_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient018_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient018_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient018_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient018_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient018_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamFriends_params *params = (struct ISteamClient_SteamClient018_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamUtils_params *params = (struct ISteamClient_SteamClient018_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient018_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient018_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient018_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient018_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient018_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient018_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamApps_params *params = (struct ISteamClient_SteamClient018_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient018_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient018_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient018_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamGameSearch( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamGameSearch_params *params = (struct ISteamClient_SteamClient018_GetISteamGameSearch_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamGameSearch( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient018_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient018_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient018_RunFrame_params *params = (struct ISteamClient_SteamClient018_RunFrame_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient018_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient018_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient018_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient018_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient018_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient018_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient018_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient018_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient018_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient018_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->DEPRECATED_GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamController_params *params = (struct ISteamClient_SteamClient018_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamUGC_params *params = (struct ISteamClient_SteamClient018_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamAppList_params *params = (struct ISteamClient_SteamClient018_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamMusic_params *params = (struct ISteamClient_SteamClient018_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient018_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamHTMLSurface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamHTMLSurface_params *params = (struct ISteamClient_SteamClient018_GetISteamHTMLSurface_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +NTSTATUS ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void *args ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + struct ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params = (struct ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + uint32_t (*U_STDCALL u_func)(int32_t) = manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( params->func ); + iface->Set_SteamAPI_CCheckCallbackRegisteredInProcess( u_func ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamInventory( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamInventory_params *params = (struct ISteamClient_SteamClient018_GetISteamInventory_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamInventory( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamVideo( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamVideo_params *params = (struct ISteamClient_SteamClient018_GetISteamVideo_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamVideo( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamParentalSettings( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamParentalSettings_params *params = (struct ISteamClient_SteamClient018_GetISteamParentalSettings_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamParentalSettings( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamInput( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamInput_params *params = (struct ISteamClient_SteamClient018_GetISteamInput_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamInput( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient018_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient018_GetISteamParties( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient018_GetISteamParties_params *params = (struct ISteamClient_SteamClient018_GetISteamParties_params *)args; + struct u_ISteamClient_SteamClient018 *iface = (struct u_ISteamClient_SteamClient018 *)params->linux_side; + params->_ret = iface->GetISteamParties( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient018.h b/lsteamclient/cppISteamClient_SteamClient018.h deleted file mode 100644 index ba761f135..000000000 --- a/lsteamclient/cppISteamClient_SteamClient018.h +++ /dev/null @@ -1,40 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient018_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient018_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient018_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient018_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient018_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient018_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient018_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient018_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient018_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient018_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient018_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void *cppISteamClient_SteamClient018_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient018_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient019.cpp b/lsteamclient/cppISteamClient_SteamClient019.cpp index 04793cbbc..01d7de97c 100644 --- a/lsteamclient/cppISteamClient_SteamClient019.cpp +++ b/lsteamclient/cppISteamClient_SteamClient019.cpp @@ -1,224 +1,335 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient019.h" -HSteamPipe cppISteamClient_SteamClient019_CreateSteamPipe(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamClient_SteamClient019_CreateSteamPipe( void *args ) { - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); + struct ISteamClient_SteamClient019_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient019_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -bool cppISteamClient_SteamClient019_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient019_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient019_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient019_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient019_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient019_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient019_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient019_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient019_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient019_CreateLocalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient019_CreateLocalUser_params *params = (struct ISteamClient_SteamClient019_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void cppISteamClient_SteamClient019_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient019_ReleaseUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient019_ReleaseUser_params *params = (struct ISteamClient_SteamClient019_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamUser_params *params = (struct ISteamClient_SteamClient019_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamGameServer( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient019_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient019_SetLocalIPBinding(void *linux_side, uint32 unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient019_SetLocalIPBinding( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding((uint32)unIP, (uint16)usPort); + struct ISteamClient_SteamClient019_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient019_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamFriends_params *params = (struct ISteamClient_SteamClient019_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamUtils_params *params = (struct ISteamClient_SteamClient019_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient019_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient019_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient019_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient019_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient019_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient019_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamApps_params *params = (struct ISteamClient_SteamClient019_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient019_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient019_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient019_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamGameSearch( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamGameSearch_params *params = (struct ISteamClient_SteamClient019_GetISteamGameSearch_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamGameSearch( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient019_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient019_RunFrame( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient019_RunFrame_params *params = (struct ISteamClient_SteamClient019_RunFrame_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamClient_SteamClient019_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient019_GetIPCCallCount( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient019_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient019_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamClient_SteamClient019_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient019_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient019_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient019_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient019_BShutdownIfAllPipesClosed( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient019_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->DEPRECATED_GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamController_params *params = (struct ISteamClient_SteamClient019_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamUGC_params *params = (struct ISteamClient_SteamClient019_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamAppList_params *params = (struct ISteamClient_SteamClient019_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamMusic_params *params = (struct ISteamClient_SteamClient019_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient019_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamHTMLSurface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamHTMLSurface_params *params = (struct ISteamClient_SteamClient019_GetISteamHTMLSurface_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +NTSTATUS ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void *args ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + struct ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params = (struct ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + uint32_t (*U_STDCALL u_func)(int32_t) = manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( params->func ); + iface->Set_SteamAPI_CCheckCallbackRegisteredInProcess( u_func ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamInventory( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamInventory_params *params = (struct ISteamClient_SteamClient019_GetISteamInventory_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamInventory( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamVideo( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamVideo_params *params = (struct ISteamClient_SteamClient019_GetISteamVideo_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamVideo( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamParentalSettings( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamParentalSettings_params *params = (struct ISteamClient_SteamClient019_GetISteamParentalSettings_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamParentalSettings( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamInput( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamInput_params *params = (struct ISteamClient_SteamClient019_GetISteamInput_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamInput( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamParties( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamParties_params *params = (struct ISteamClient_SteamClient019_GetISteamParties_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamParties( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient019_GetISteamRemotePlay(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient019_GetISteamRemotePlay( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemotePlay((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient019_GetISteamRemotePlay_params *params = (struct ISteamClient_SteamClient019_GetISteamRemotePlay_params *)args; + struct u_ISteamClient_SteamClient019 *iface = (struct u_ISteamClient_SteamClient019 *)params->linux_side; + params->_ret = iface->GetISteamRemotePlay( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient019.h b/lsteamclient/cppISteamClient_SteamClient019.h deleted file mode 100644 index 8738f2e64..000000000 --- a/lsteamclient/cppISteamClient_SteamClient019.h +++ /dev/null @@ -1,41 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient019_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient019_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient019_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient019_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient019_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient019_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_SetLocalIPBinding(void *, uint32, uint16); -extern void *cppISteamClient_SteamClient019_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient019_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient019_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient019_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient019_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void *cppISteamClient_SteamClient019_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient019_GetISteamRemotePlay(void *, HSteamUser, HSteamPipe, const char *); diff --git a/lsteamclient/cppISteamClient_SteamClient020.cpp b/lsteamclient/cppISteamClient_SteamClient020.cpp index 8f33032a3..43cd597d9 100644 --- a/lsteamclient/cppISteamClient_SteamClient020.cpp +++ b/lsteamclient/cppISteamClient_SteamClient020.cpp @@ -1,229 +1,334 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamClient_SteamClient020.h" -HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *linux_side) -{ - return after_steam_pipe_create(((ISteamClient*)linux_side)->CreateSteamPipe()); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -bool cppISteamClient_SteamClient020_BReleaseSteamPipe(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient020_CreateSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->BReleaseSteamPipe((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient020_CreateSteamPipe_params *params = (struct ISteamClient_SteamClient020_CreateSteamPipe_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->CreateSteamPipe( ); + return 0; } -HSteamUser cppISteamClient_SteamClient020_ConnectToGlobalUser(void *linux_side, HSteamPipe hSteamPipe) +NTSTATUS ISteamClient_SteamClient020_BReleaseSteamPipe( void *args ) { - return ((ISteamClient*)linux_side)->ConnectToGlobalUser((HSteamPipe)hSteamPipe); + struct ISteamClient_SteamClient020_BReleaseSteamPipe_params *params = (struct ISteamClient_SteamClient020_BReleaseSteamPipe_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->BReleaseSteamPipe( params->hSteamPipe ); + return 0; } -HSteamUser cppISteamClient_SteamClient020_CreateLocalUser(void *linux_side, HSteamPipe * phSteamPipe, EAccountType eAccountType) +NTSTATUS ISteamClient_SteamClient020_ConnectToGlobalUser( void *args ) { - return ((ISteamClient*)linux_side)->CreateLocalUser((HSteamPipe *)phSteamPipe, (EAccountType)eAccountType); + struct ISteamClient_SteamClient020_ConnectToGlobalUser_params *params = (struct ISteamClient_SteamClient020_ConnectToGlobalUser_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->ConnectToGlobalUser( params->hSteamPipe ); + return 0; } -void cppISteamClient_SteamClient020_ReleaseUser(void *linux_side, HSteamPipe hSteamPipe, HSteamUser hUser) +NTSTATUS ISteamClient_SteamClient020_CreateLocalUser( void *args ) { - ((ISteamClient*)linux_side)->ReleaseUser((HSteamPipe)hSteamPipe, (HSteamUser)hUser); + struct ISteamClient_SteamClient020_CreateLocalUser_params *params = (struct ISteamClient_SteamClient020_CreateLocalUser_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->CreateLocalUser( params->phSteamPipe, params->eAccountType ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamUser(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_ReleaseUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUser((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_ReleaseUser_params *params = (struct ISteamClient_SteamClient020_ReleaseUser_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + iface->ReleaseUser( params->hSteamPipe, params->hUser ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamGameServer(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamUser( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServer((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamUser_params *params = (struct ISteamClient_SteamClient020_GetISteamUser_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamUser( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient020_SetLocalIPBinding(void *linux_side, const SteamIPAddress_t * unIP, uint16 usPort) +NTSTATUS ISteamClient_SteamClient020_GetISteamGameServer( void *args ) { - ((ISteamClient*)linux_side)->SetLocalIPBinding(*unIP, (uint16)usPort); + struct ISteamClient_SteamClient020_GetISteamGameServer_params *params = (struct ISteamClient_SteamClient020_GetISteamGameServer_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamGameServer( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamFriends(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_SetLocalIPBinding( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamFriends((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_SetLocalIPBinding_params *params = (struct ISteamClient_SteamClient020_SetLocalIPBinding_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + iface->SetLocalIPBinding( params->unIP, params->usPort ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamUtils(void *linux_side, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamFriends( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUtils((HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamFriends_params *params = (struct ISteamClient_SteamClient020_GetISteamFriends_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamFriends( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamMatchmaking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamUtils( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmaking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamUtils_params *params = (struct ISteamClient_SteamClient020_GetISteamUtils_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamUtils( params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamMatchmakingServers(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamMatchmaking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMatchmakingServers((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamMatchmaking_params *params = (struct ISteamClient_SteamClient020_GetISteamMatchmaking_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamMatchmaking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void * cppISteamClient_SteamClient020_GetISteamGenericInterface(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamMatchmakingServers( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGenericInterface((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamMatchmakingServers_params *params = (struct ISteamClient_SteamClient020_GetISteamMatchmakingServers_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamMatchmakingServers( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamUserStats(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamGenericInterface( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUserStats((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamGenericInterface_params *params = (struct ISteamClient_SteamClient020_GetISteamGenericInterface_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamGenericInterface( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamGameServerStats(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamUserStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameServerStats((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamUserStats_params *params = (struct ISteamClient_SteamClient020_GetISteamUserStats_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamUserStats( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamApps(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamGameServerStats( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamApps((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamGameServerStats_params *params = (struct ISteamClient_SteamClient020_GetISteamGameServerStats_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamGameServerStats( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamNetworking(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamApps( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamNetworking((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamApps_params *params = (struct ISteamClient_SteamClient020_GetISteamApps_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamApps( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamRemoteStorage(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamNetworking( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemoteStorage((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamNetworking_params *params = (struct ISteamClient_SteamClient020_GetISteamNetworking_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamNetworking( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamScreenshots(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamRemoteStorage( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamScreenshots((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamRemoteStorage_params *params = (struct ISteamClient_SteamClient020_GetISteamRemoteStorage_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamRemoteStorage( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamGameSearch(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamScreenshots( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamGameSearch((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamScreenshots_params *params = (struct ISteamClient_SteamClient020_GetISteamScreenshots_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamScreenshots( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient020_RunFrame(void *linux_side) +NTSTATUS ISteamClient_SteamClient020_GetISteamGameSearch( void *args ) { - ((ISteamClient*)linux_side)->RunFrame(); + struct ISteamClient_SteamClient020_GetISteamGameSearch_params *params = (struct ISteamClient_SteamClient020_GetISteamGameSearch_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamGameSearch( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -uint32 cppISteamClient_SteamClient020_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamClient_SteamClient020_RunFrame( void *args ) { - return ((ISteamClient*)linux_side)->GetIPCCallCount(); + struct ISteamClient_SteamClient020_RunFrame_params *params = (struct ISteamClient_SteamClient020_RunFrame_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + iface->RunFrame( ); + return 0; } -void cppISteamClient_SteamClient020_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamClient_SteamClient020_GetIPCCallCount( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamClient_SteamClient020_GetIPCCallCount_params *params = (struct ISteamClient_SteamClient020_GetIPCCallCount_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -bool cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(void *linux_side) +NTSTATUS ISteamClient_SteamClient020_SetWarningMessageHook( void *args ) { - return after_shutdown(((ISteamClient*)linux_side)->BShutdownIfAllPipesClosed()); + struct ISteamClient_SteamClient020_SetWarningMessageHook_params *params = (struct ISteamClient_SteamClient020_SetWarningMessageHook_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamHTTP(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_BShutdownIfAllPipesClosed( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTTP((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params *params = (struct ISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->BShutdownIfAllPipesClosed( ); + return 0; } -void * cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamHTTP( void *args ) { - return ((ISteamClient*)linux_side)->DEPRECATED_GetISteamUnifiedMessages((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamHTTP_params *params = (struct ISteamClient_SteamClient020_GetISteamHTTP_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamHTTP( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamController(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamController((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params *params = (struct ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->DEPRECATED_GetISteamUnifiedMessages( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamUGC(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamController( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamUGC((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamController_params *params = (struct ISteamClient_SteamClient020_GetISteamController_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamController( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamAppList(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamUGC( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamAppList((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamUGC_params *params = (struct ISteamClient_SteamClient020_GetISteamUGC_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamUGC( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamMusic(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamAppList( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusic((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamAppList_params *params = (struct ISteamClient_SteamClient020_GetISteamAppList_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamAppList( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamMusicRemote(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamMusic( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamMusicRemote((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamMusic_params *params = (struct ISteamClient_SteamClient020_GetISteamMusic_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamMusic( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamHTMLSurface(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamMusicRemote( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamHTMLSurface((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamMusicRemote_params *params = (struct ISteamClient_SteamClient020_GetISteamMusicRemote_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamMusicRemote( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient020_GetISteamHTMLSurface( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient020_GetISteamHTMLSurface_params *params = (struct ISteamClient_SteamClient020_GetISteamHTMLSurface_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamHTMLSurface( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *linux_side, void * _a) +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void *args ) { - ((ISteamClient*)linux_side)->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess((void (*)())_a); + struct ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *linux_side, SteamAPI_CheckCallbackRegistered_t func) +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void *args ) { - func = (SteamAPI_CheckCallbackRegistered_t)manual_convert_SteamAPI_CheckCallbackRegistered_t((void*)func); - ((ISteamClient*)linux_side)->Set_SteamAPI_CCheckCallbackRegisteredInProcess((SteamAPI_CheckCallbackRegistered_t)func); + struct ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *params = (struct ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + void (*U_STDCALL u__a)(void) = manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( params->_a ); + iface->DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( u__a ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamInventory(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamInventory( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInventory((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamInventory_params *params = (struct ISteamClient_SteamClient020_GetISteamInventory_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamInventory( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamVideo(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamVideo( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamVideo((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamVideo_params *params = (struct ISteamClient_SteamClient020_GetISteamVideo_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamVideo( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamParentalSettings(void *linux_side, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamParentalSettings( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParentalSettings((HSteamUser)hSteamuser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamParentalSettings_params *params = (struct ISteamClient_SteamClient020_GetISteamParentalSettings_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamParentalSettings( params->hSteamuser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamInput(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamInput( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamInput((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamInput_params *params = (struct ISteamClient_SteamClient020_GetISteamInput_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamInput( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamParties(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamParties( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamParties((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamParties_params *params = (struct ISteamClient_SteamClient020_GetISteamParties_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamParties( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void *cppISteamClient_SteamClient020_GetISteamRemotePlay(void *linux_side, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +NTSTATUS ISteamClient_SteamClient020_GetISteamRemotePlay( void *args ) { - return ((ISteamClient*)linux_side)->GetISteamRemotePlay((HSteamUser)hSteamUser, (HSteamPipe)hSteamPipe, (const char *)pchVersion); + struct ISteamClient_SteamClient020_GetISteamRemotePlay_params *params = (struct ISteamClient_SteamClient020_GetISteamRemotePlay_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + params->_ret = iface->GetISteamRemotePlay( params->hSteamUser, params->hSteamPipe, params->pchVersion ); + return 0; } -void cppISteamClient_SteamClient020_DestroyAllInterfaces(void *linux_side) +NTSTATUS ISteamClient_SteamClient020_DestroyAllInterfaces( void *args ) { - ((ISteamClient*)linux_side)->DestroyAllInterfaces(); + struct ISteamClient_SteamClient020_DestroyAllInterfaces_params *params = (struct ISteamClient_SteamClient020_DestroyAllInterfaces_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + iface->DestroyAllInterfaces( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamClient_SteamClient020.h b/lsteamclient/cppISteamClient_SteamClient020.h deleted file mode 100644 index 450a445bc..000000000 --- a/lsteamclient/cppISteamClient_SteamClient020.h +++ /dev/null @@ -1,42 +0,0 @@ -extern HSteamPipe cppISteamClient_SteamClient020_CreateSteamPipe(void *); -extern bool cppISteamClient_SteamClient020_BReleaseSteamPipe(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient020_ConnectToGlobalUser(void *, HSteamPipe); -extern HSteamUser cppISteamClient_SteamClient020_CreateLocalUser(void *, HSteamPipe *, EAccountType); -extern void cppISteamClient_SteamClient020_ReleaseUser(void *, HSteamPipe, HSteamUser); -extern void *cppISteamClient_SteamClient020_GetISteamUser(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamGameServer(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_SetLocalIPBinding(void *, const SteamIPAddress_t *, uint16); -extern void *cppISteamClient_SteamClient020_GetISteamFriends(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamUtils(void *, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamMatchmaking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamMatchmakingServers(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient020_GetISteamGenericInterface(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamUserStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamGameServerStats(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamApps(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamNetworking(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamRemoteStorage(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamScreenshots(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamGameSearch(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_RunFrame(void *); -extern uint32 cppISteamClient_SteamClient020_GetIPCCallCount(void *); -extern void cppISteamClient_SteamClient020_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(void *); -extern void *cppISteamClient_SteamClient020_GetISteamHTTP(void *, HSteamUser, HSteamPipe, const char *); -extern void * cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamController(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamUGC(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamAppList(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamMusic(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamMusicRemote(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamHTMLSurface(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(void *, void *); -extern void cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(void *, SteamAPI_CheckCallbackRegistered_t); -extern void *cppISteamClient_SteamClient020_GetISteamInventory(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamVideo(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamParentalSettings(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamInput(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamParties(void *, HSteamUser, HSteamPipe, const char *); -extern void *cppISteamClient_SteamClient020_GetISteamRemotePlay(void *, HSteamUser, HSteamPipe, const char *); -extern void cppISteamClient_SteamClient020_DestroyAllInterfaces(void *); diff --git a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp index 5e2eb17de..00dfe48f8 100644 --- a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp +++ b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.cpp @@ -1,46 +1,53 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_134/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_134 -#include "struct_converters.h" -#include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h" -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(void *linux_side, const char * pchAbsolutePathToControllerConfigVDF) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( void *args ) { - return ((ISteamController*)linux_side)->Init((const char *)pchAbsolutePathToControllerConfigVDF); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + char *u_pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( params->pchAbsolutePathToControllerConfigVDF, 0 ); + params->_ret = iface->Init( u_pchAbsolutePathToControllerConfigVDF ); + steamclient_free_path( u_pchAbsolutePathToControllerConfigVDF ); + return 0; } -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(void *linux_side) +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(void *linux_side) +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + iface->RunFrame( ); + return 0; } -bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(void *linux_side, uint32 unControllerIndex, SteamControllerState001_t * pState) +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( void *args ) { - return ((ISteamController*)linux_side)->GetControllerState((uint32)unControllerIndex, (SteamControllerState001_t *)pState); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + params->_ret = iface->GetControllerState( params->unControllerIndex, params->pState ); + return 0; } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(void *linux_side, uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((uint32)unControllerIndex, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerIndex, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(void *linux_side, const char * pchMode) +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( void *args ) { - ((ISteamController*)linux_side)->SetOverrideMode((const char *)pchMode); + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params *)args; + struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side; + iface->SetOverrideMode( params->pchMode ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h b/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h deleted file mode 100644 index 8bde17c9b..000000000 --- a/lsteamclient/cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h +++ /dev/null @@ -1,6 +0,0 @@ -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(void *, const char *); -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(void *); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(void *); -extern bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(void *, uint32, SteamControllerState001_t *); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(void *, uint32, ESteamControllerPad, unsigned short); -extern void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(void *, const char *); diff --git a/lsteamclient/cppISteamController_SteamController003.cpp b/lsteamclient/cppISteamController_SteamController003.cpp index c6ba16c87..318e0ce94 100644 --- a/lsteamclient/cppISteamController_SteamController003.cpp +++ b/lsteamclient/cppISteamController_SteamController003.cpp @@ -1,101 +1,139 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_137/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_137 -#include "struct_converters.h" -#include "cppISteamController_SteamController003.h" -bool cppISteamController_SteamController003_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController003_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController003_Init_params *params = (struct ISteamController_SteamController003_Init_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController003_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController003_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController003_Shutdown_params *params = (struct ISteamController_SteamController003_Shutdown_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController003_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController003_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController003_RunFrame_params *params = (struct ISteamController_SteamController003_RunFrame_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController003_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController003_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController003_GetConnectedControllers_params *params = (struct ISteamController_SteamController003_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -bool cppISteamController_SteamController003_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController003_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController003_ShowBindingPanel_params *params = (struct ISteamController_SteamController003_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController003_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController003_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController003_GetActionSetHandle_params *params = (struct ISteamController_SteamController003_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController003_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController003_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController003_ActivateActionSet_params *params = (struct ISteamController_SteamController003_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController003_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController003_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController003_GetCurrentActionSet_params *params = (struct ISteamController_SteamController003_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController003_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController003_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController003_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController003_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -ControllerDigitalActionData_t cppISteamController_SteamController003_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController003_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController003_GetDigitalActionData_params *params = (struct ISteamController_SteamController003_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController003_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController003_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController003_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController003_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController003_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController003_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController003_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController003_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -ControllerAnalogActionData_t cppISteamController_SteamController003_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController003_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController003_GetAnalogActionData_params *params = (struct ISteamController_SteamController003_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController003_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController003_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController003_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController003_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -void cppISteamController_SteamController003_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController003_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController003_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController003_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -void cppISteamController_SteamController003_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController003_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController003_TriggerHapticPulse_params *params = (struct ISteamController_SteamController003_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController003_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController003_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController003_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController003_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController003.h b/lsteamclient/cppISteamController_SteamController003.h deleted file mode 100644 index f01286e07..000000000 --- a/lsteamclient/cppISteamController_SteamController003.h +++ /dev/null @@ -1,17 +0,0 @@ -extern bool cppISteamController_SteamController003_Init(void *); -extern bool cppISteamController_SteamController003_Shutdown(void *); -extern void cppISteamController_SteamController003_RunFrame(void *); -extern int cppISteamController_SteamController003_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController003_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController003_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController003_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController003_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController003_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController003_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController003_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController003_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController003_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController003_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController003_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController003_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController003_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); diff --git a/lsteamclient/cppISteamController_SteamController004.cpp b/lsteamclient/cppISteamController_SteamController004.cpp index d366927a4..d6e3cfb42 100644 --- a/lsteamclient/cppISteamController_SteamController004.cpp +++ b/lsteamclient/cppISteamController_SteamController004.cpp @@ -1,126 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_138a/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_138a -#include "struct_converters.h" -#include "cppISteamController_SteamController004.h" -bool cppISteamController_SteamController004_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController004_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController004_Init_params *params = (struct ISteamController_SteamController004_Init_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController004_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController004_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController004_Shutdown_params *params = (struct ISteamController_SteamController004_Shutdown_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController004_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController004_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController004_RunFrame_params *params = (struct ISteamController_SteamController004_RunFrame_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController004_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController004_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController004_GetConnectedControllers_params *params = (struct ISteamController_SteamController004_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -bool cppISteamController_SteamController004_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController004_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController004_ShowBindingPanel_params *params = (struct ISteamController_SteamController004_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController004_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController004_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController004_GetActionSetHandle_params *params = (struct ISteamController_SteamController004_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController004_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController004_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController004_ActivateActionSet_params *params = (struct ISteamController_SteamController004_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController004_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController004_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController004_GetCurrentActionSet_params *params = (struct ISteamController_SteamController004_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController004_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController004_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController004_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController004_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -ControllerDigitalActionData_t cppISteamController_SteamController004_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController004_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController004_GetDigitalActionData_params *params = (struct ISteamController_SteamController004_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController004_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController004_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController004_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController004_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController004_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController004_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController004_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController004_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -ControllerAnalogActionData_t cppISteamController_SteamController004_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController004_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController004_GetAnalogActionData_params *params = (struct ISteamController_SteamController004_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController004_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController004_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController004_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController004_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -void cppISteamController_SteamController004_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController004_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController004_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController004_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -void cppISteamController_SteamController004_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController004_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController004_TriggerHapticPulse_params *params = (struct ISteamController_SteamController004_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController004_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController004_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -int cppISteamController_SteamController004_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +NTSTATUS ISteamController_SteamController004_GetGamepadIndexForController( void *args ) { - return ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); + struct ISteamController_SteamController004_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController004_GetGamepadIndexForController_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle ); + return 0; } -ControllerHandle_t cppISteamController_SteamController004_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamController_SteamController004_GetControllerForGamepadIndex( void *args ) { - return ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamController_SteamController004_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController004_GetControllerForGamepadIndex_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -ControllerMotionData_t cppISteamController_SteamController004_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController004_GetMotionData( void *args ) { - return ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController004_GetMotionData_params *params = (struct ISteamController_SteamController004_GetMotionData_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->controllerHandle ); + return 0; } -bool cppISteamController_SteamController004_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController004_ShowDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController004_ShowDigitalActionOrigins_params *params = (struct ISteamController_SteamController004_ShowDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->ShowDigitalActionOrigins( params->controllerHandle, params->digitalActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -bool cppISteamController_SteamController004_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController004_ShowAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController004_ShowAnalogActionOrigins_params *params = (struct ISteamController_SteamController004_ShowAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side; + params->_ret = iface->ShowAnalogActionOrigins( params->controllerHandle, params->analogActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController004.h b/lsteamclient/cppISteamController_SteamController004.h deleted file mode 100644 index 72626e114..000000000 --- a/lsteamclient/cppISteamController_SteamController004.h +++ /dev/null @@ -1,22 +0,0 @@ -extern bool cppISteamController_SteamController004_Init(void *); -extern bool cppISteamController_SteamController004_Shutdown(void *); -extern void cppISteamController_SteamController004_RunFrame(void *); -extern int cppISteamController_SteamController004_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController004_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController004_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController004_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController004_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController004_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController004_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController004_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController004_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController004_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController004_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController004_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController004_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController004_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern int cppISteamController_SteamController004_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController004_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController004_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController004_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController004_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); diff --git a/lsteamclient/cppISteamController_SteamController005.cpp b/lsteamclient/cppISteamController_SteamController005.cpp index 3a8b407ad..cf1a417b7 100644 --- a/lsteamclient/cppISteamController_SteamController005.cpp +++ b/lsteamclient/cppISteamController_SteamController005.cpp @@ -1,141 +1,203 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_141/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_141 -#include "struct_converters.h" -#include "cppISteamController_SteamController005.h" -bool cppISteamController_SteamController005_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController005_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController005_Init_params *params = (struct ISteamController_SteamController005_Init_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController005_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController005_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController005_Shutdown_params *params = (struct ISteamController_SteamController005_Shutdown_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController005_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController005_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController005_RunFrame_params *params = (struct ISteamController_SteamController005_RunFrame_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController005_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController005_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController005_GetConnectedControllers_params *params = (struct ISteamController_SteamController005_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -bool cppISteamController_SteamController005_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController005_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController005_ShowBindingPanel_params *params = (struct ISteamController_SteamController005_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController005_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController005_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController005_GetActionSetHandle_params *params = (struct ISteamController_SteamController005_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController005_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController005_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController005_ActivateActionSet_params *params = (struct ISteamController_SteamController005_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController005_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController005_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController005_GetCurrentActionSet_params *params = (struct ISteamController_SteamController005_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController005_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController005_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController005_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController005_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -ControllerDigitalActionData_t cppISteamController_SteamController005_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController005_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController005_GetDigitalActionData_params *params = (struct ISteamController_SteamController005_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController005_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController005_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController005_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController005_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController005_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController005_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController005_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController005_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -ControllerAnalogActionData_t cppISteamController_SteamController005_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController005_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController005_GetAnalogActionData_params *params = (struct ISteamController_SteamController005_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController005_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController005_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController005_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController005_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -void cppISteamController_SteamController005_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController005_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController005_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController005_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -void cppISteamController_SteamController005_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController005_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController005_TriggerHapticPulse_params *params = (struct ISteamController_SteamController005_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController005_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController005_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -void cppISteamController_SteamController005_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamController_SteamController005_TriggerVibration( void *args ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamController_SteamController005_TriggerVibration_params *params = (struct ISteamController_SteamController005_TriggerVibration_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamController_SteamController005_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamController_SteamController005_SetLEDColor( void *args ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamController_SteamController005_SetLEDColor_params *params = (struct ISteamController_SteamController005_SetLEDColor_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -int cppISteamController_SteamController005_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +NTSTATUS ISteamController_SteamController005_GetGamepadIndexForController( void *args ) { - return ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); + struct ISteamController_SteamController005_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController005_GetGamepadIndexForController_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle ); + return 0; } -ControllerHandle_t cppISteamController_SteamController005_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamController_SteamController005_GetControllerForGamepadIndex( void *args ) { - return ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamController_SteamController005_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController005_GetControllerForGamepadIndex_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -ControllerMotionData_t cppISteamController_SteamController005_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController005_GetMotionData( void *args ) { - return ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController005_GetMotionData_params *params = (struct ISteamController_SteamController005_GetMotionData_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->controllerHandle ); + return 0; } -bool cppISteamController_SteamController005_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController005_ShowDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController005_ShowDigitalActionOrigins_params *params = (struct ISteamController_SteamController005_ShowDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->ShowDigitalActionOrigins( params->controllerHandle, params->digitalActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -bool cppISteamController_SteamController005_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController005_ShowAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController005_ShowAnalogActionOrigins_params *params = (struct ISteamController_SteamController005_ShowAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->ShowAnalogActionOrigins( params->controllerHandle, params->analogActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -const char * cppISteamController_SteamController005_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +NTSTATUS ISteamController_SteamController005_GetStringForActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); + struct ISteamController_SteamController005_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController005_GetStringForActionOrigin_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController005.h b/lsteamclient/cppISteamController_SteamController005.h deleted file mode 100644 index c3d550ff0..000000000 --- a/lsteamclient/cppISteamController_SteamController005.h +++ /dev/null @@ -1,26 +0,0 @@ -extern bool cppISteamController_SteamController005_Init(void *); -extern bool cppISteamController_SteamController005_Shutdown(void *); -extern void cppISteamController_SteamController005_RunFrame(void *); -extern int cppISteamController_SteamController005_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController005_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController005_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController005_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController005_GetCurrentActionSet(void *, ControllerHandle_t); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController005_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController005_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController005_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController005_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController005_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController005_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController005_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController005_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController005_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController005_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController005_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern int cppISteamController_SteamController005_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController005_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController005_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController005_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController005_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); -extern const char * cppISteamController_SteamController005_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController005_GetGlyphForActionOrigin(void *, EControllerActionOrigin); diff --git a/lsteamclient/cppISteamController_SteamController006.cpp b/lsteamclient/cppISteamController_SteamController006.cpp index 89de52a56..62ae48e76 100644 --- a/lsteamclient/cppISteamController_SteamController006.cpp +++ b/lsteamclient/cppISteamController_SteamController006.cpp @@ -1,166 +1,243 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamController_SteamController006.h" -bool cppISteamController_SteamController006_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController006_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController006_Init_params *params = (struct ISteamController_SteamController006_Init_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController006_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController006_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController006_Shutdown_params *params = (struct ISteamController_SteamController006_Shutdown_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController006_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController006_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController006_RunFrame_params *params = (struct ISteamController_SteamController006_RunFrame_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController006_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController006_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController006_GetConnectedControllers_params *params = (struct ISteamController_SteamController006_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -bool cppISteamController_SteamController006_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController006_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController006_ShowBindingPanel_params *params = (struct ISteamController_SteamController006_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController006_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController006_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController006_GetActionSetHandle_params *params = (struct ISteamController_SteamController006_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController006_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController006_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController006_ActivateActionSet_params *params = (struct ISteamController_SteamController006_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController006_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController006_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController006_GetCurrentActionSet_params *params = (struct ISteamController_SteamController006_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -void cppISteamController_SteamController006_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController006_ActivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController006_ActivateActionSetLayer_params *params = (struct ISteamController_SteamController006_ActivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->ActivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController006_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController006_DeactivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController006_DeactivateActionSetLayer_params *params = (struct ISteamController_SteamController006_DeactivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->DeactivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController006_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController006_DeactivateAllActionSetLayers( void *args ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController006_DeactivateAllActionSetLayers_params *params = (struct ISteamController_SteamController006_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->controllerHandle ); + return 0; } -int cppISteamController_SteamController006_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController006_GetActiveActionSetLayers( void *args ) { - return ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); + struct ISteamController_SteamController006_GetActiveActionSetLayers_params *params = (struct ISteamController_SteamController006_GetActiveActionSetLayers_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->controllerHandle, params->handlesOut ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController006_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController006_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController006_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController006_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -ControllerDigitalActionData_t cppISteamController_SteamController006_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController006_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController006_GetDigitalActionData_params *params = (struct ISteamController_SteamController006_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController006_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController006_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController006_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController006_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController006_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController006_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController006_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController006_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -ControllerAnalogActionData_t cppISteamController_SteamController006_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController006_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController006_GetAnalogActionData_params *params = (struct ISteamController_SteamController006_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController006_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController006_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController006_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController006_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -void cppISteamController_SteamController006_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController006_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController006_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController006_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -void cppISteamController_SteamController006_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController006_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController006_TriggerHapticPulse_params *params = (struct ISteamController_SteamController006_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController006_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController006_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController006_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController006_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -void cppISteamController_SteamController006_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamController_SteamController006_TriggerVibration( void *args ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamController_SteamController006_TriggerVibration_params *params = (struct ISteamController_SteamController006_TriggerVibration_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamController_SteamController006_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamController_SteamController006_SetLEDColor( void *args ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamController_SteamController006_SetLEDColor_params *params = (struct ISteamController_SteamController006_SetLEDColor_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -int cppISteamController_SteamController006_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +NTSTATUS ISteamController_SteamController006_GetGamepadIndexForController( void *args ) { - return ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); + struct ISteamController_SteamController006_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController006_GetGamepadIndexForController_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle ); + return 0; } -ControllerHandle_t cppISteamController_SteamController006_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamController_SteamController006_GetControllerForGamepadIndex( void *args ) { - return ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamController_SteamController006_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController006_GetControllerForGamepadIndex_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -ControllerMotionData_t cppISteamController_SteamController006_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController006_GetMotionData( void *args ) { - return ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController006_GetMotionData_params *params = (struct ISteamController_SteamController006_GetMotionData_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->controllerHandle ); + return 0; } -bool cppISteamController_SteamController006_ShowDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController006_ShowDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController006_ShowDigitalActionOrigins_params *params = (struct ISteamController_SteamController006_ShowDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->ShowDigitalActionOrigins( params->controllerHandle, params->digitalActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -bool cppISteamController_SteamController006_ShowAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +NTSTATUS ISteamController_SteamController006_ShowAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->ShowAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (float)flScale, (float)flXPosition, (float)flYPosition); + struct ISteamController_SteamController006_ShowAnalogActionOrigins_params *params = (struct ISteamController_SteamController006_ShowAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->ShowAnalogActionOrigins( params->controllerHandle, params->analogActionHandle, params->flScale, params->flXPosition, params->flYPosition ); + return 0; } -const char * cppISteamController_SteamController006_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +NTSTATUS ISteamController_SteamController006_GetStringForActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); + struct ISteamController_SteamController006_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController006_GetStringForActionOrigin_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -ESteamInputType cppISteamController_SteamController006_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController006_GetInputTypeForHandle( void *args ) { - return ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController006_GetInputTypeForHandle_params *params = (struct ISteamController_SteamController006_GetInputTypeForHandle_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->controllerHandle ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController006.h b/lsteamclient/cppISteamController_SteamController006.h deleted file mode 100644 index 2b91c22b6..000000000 --- a/lsteamclient/cppISteamController_SteamController006.h +++ /dev/null @@ -1,31 +0,0 @@ -extern bool cppISteamController_SteamController006_Init(void *); -extern bool cppISteamController_SteamController006_Shutdown(void *); -extern void cppISteamController_SteamController006_RunFrame(void *); -extern int cppISteamController_SteamController006_GetConnectedControllers(void *, ControllerHandle_t *); -extern bool cppISteamController_SteamController006_ShowBindingPanel(void *, ControllerHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController006_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController006_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController006_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController006_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController006_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController006_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController006_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController006_GetDigitalActionHandle(void *, const char *); -extern ControllerDigitalActionData_t cppISteamController_SteamController006_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController006_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController006_GetAnalogActionHandle(void *, const char *); -extern ControllerAnalogActionData_t cppISteamController_SteamController006_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController006_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern void cppISteamController_SteamController006_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern void cppISteamController_SteamController006_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController006_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController006_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController006_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern int cppISteamController_SteamController006_GetGamepadIndexForController(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController006_GetControllerForGamepadIndex(void *, int); -extern ControllerMotionData_t cppISteamController_SteamController006_GetMotionData(void *, ControllerHandle_t); -extern bool cppISteamController_SteamController006_ShowDigitalActionOrigins(void *, ControllerHandle_t, ControllerDigitalActionHandle_t, float, float, float); -extern bool cppISteamController_SteamController006_ShowAnalogActionOrigins(void *, ControllerHandle_t, ControllerAnalogActionHandle_t, float, float, float); -extern const char * cppISteamController_SteamController006_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController006_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern ESteamInputType cppISteamController_SteamController006_GetInputTypeForHandle(void *, ControllerHandle_t); diff --git a/lsteamclient/cppISteamController_SteamController007.cpp b/lsteamclient/cppISteamController_SteamController007.cpp index 86dffd12e..57269fd8e 100644 --- a/lsteamclient/cppISteamController_SteamController007.cpp +++ b/lsteamclient/cppISteamController_SteamController007.cpp @@ -1,177 +1,259 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_150/steam_api.h" -#include "steamworks_sdk_150/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_150 -#include "struct_converters.h" -#include "cppISteamController_SteamController007.h" -bool cppISteamController_SteamController007_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController007_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController007_Init_params *params = (struct ISteamController_SteamController007_Init_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController007_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController007_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController007_Shutdown_params *params = (struct ISteamController_SteamController007_Shutdown_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController007_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController007_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController007_RunFrame_params *params = (struct ISteamController_SteamController007_RunFrame_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController007_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController007_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController007_GetConnectedControllers_params *params = (struct ISteamController_SteamController007_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController007_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController007_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController007_GetActionSetHandle_params *params = (struct ISteamController_SteamController007_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController007_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController007_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController007_ActivateActionSet_params *params = (struct ISteamController_SteamController007_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController007_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController007_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController007_GetCurrentActionSet_params *params = (struct ISteamController_SteamController007_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -void cppISteamController_SteamController007_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController007_ActivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController007_ActivateActionSetLayer_params *params = (struct ISteamController_SteamController007_ActivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->ActivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController007_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController007_DeactivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController007_DeactivateActionSetLayer_params *params = (struct ISteamController_SteamController007_DeactivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->DeactivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController007_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController007_DeactivateAllActionSetLayers( void *args ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController007_DeactivateAllActionSetLayers_params *params = (struct ISteamController_SteamController007_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->controllerHandle ); + return 0; } -int cppISteamController_SteamController007_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController007_GetActiveActionSetLayers( void *args ) { - return ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); + struct ISteamController_SteamController007_GetActiveActionSetLayers_params *params = (struct ISteamController_SteamController007_GetActiveActionSetLayers_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->controllerHandle, params->handlesOut ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController007_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController007_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController007_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController007_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamController_SteamController007_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController007_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController007_GetDigitalActionData_params *params = (struct ISteamController_SteamController007_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController007_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController007_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController007_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController007_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController007_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController007_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController007_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController007_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamController_SteamController007_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController007_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController007_GetAnalogActionData_params *params = (struct ISteamController_SteamController007_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController007_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController007_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController007_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController007_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamController_SteamController007_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +NTSTATUS ISteamController_SteamController007_GetStringForActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); + struct ISteamController_SteamController007_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController007_GetStringForActionOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -void cppISteamController_SteamController007_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController007_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController007_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController007_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamController_SteamController007_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController007_GetMotionData( void *args ) { - return ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController007_GetMotionData_params *params = (struct ISteamController_SteamController007_GetMotionData_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->controllerHandle ); + return 0; } -void cppISteamController_SteamController007_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController007_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController007_TriggerHapticPulse_params *params = (struct ISteamController_SteamController007_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController007_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController007_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController007_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController007_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -void cppISteamController_SteamController007_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamController_SteamController007_TriggerVibration( void *args ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamController_SteamController007_TriggerVibration_params *params = (struct ISteamController_SteamController007_TriggerVibration_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamController_SteamController007_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamController_SteamController007_SetLEDColor( void *args ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamController_SteamController007_SetLEDColor_params *params = (struct ISteamController_SteamController007_SetLEDColor_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -bool cppISteamController_SteamController007_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController007_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController007_ShowBindingPanel_params *params = (struct ISteamController_SteamController007_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ESteamInputType cppISteamController_SteamController007_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController007_GetInputTypeForHandle( void *args ) { - return ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController007_GetInputTypeForHandle_params *params = (struct ISteamController_SteamController007_GetInputTypeForHandle_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->controllerHandle ); + return 0; } -ControllerHandle_t cppISteamController_SteamController007_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamController_SteamController007_GetControllerForGamepadIndex( void *args ) { - return ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamController_SteamController007_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController007_GetControllerForGamepadIndex_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamController_SteamController007_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +NTSTATUS ISteamController_SteamController007_GetGamepadIndexForController( void *args ) { - return ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); + struct ISteamController_SteamController007_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController007_GetGamepadIndexForController_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle ); + return 0; } -const char * cppISteamController_SteamController007_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamController_SteamController007_GetStringForXboxOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamController_SteamController007_GetStringForXboxOrigin_params *params = (struct ISteamController_SteamController007_GetStringForXboxOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EControllerActionOrigin cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(void *linux_side, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamController_SteamController007_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetActionOriginFromXboxOrigin((ControllerHandle_t)controllerHandle, (EXboxOrigin)eOrigin); + struct ISteamController_SteamController007_GetActionOriginFromXboxOrigin_params *params = (struct ISteamController_SteamController007_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->controllerHandle, params->eOrigin ); + return 0; } -EControllerActionOrigin cppISteamController_SteamController007_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +NTSTATUS ISteamController_SteamController007_TranslateActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EControllerActionOrigin)eSourceOrigin); + struct ISteamController_SteamController007_TranslateActionOrigin_params *params = (struct ISteamController_SteamController007_TranslateActionOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamController_SteamController007_GetControllerBindingRevision(void *linux_side, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamController_SteamController007_GetControllerBindingRevision( void *args ) { - return ((ISteamController*)linux_side)->GetControllerBindingRevision((ControllerHandle_t)controllerHandle, (int *)pMajor, (int *)pMinor); + struct ISteamController_SteamController007_GetControllerBindingRevision_params *params = (struct ISteamController_SteamController007_GetControllerBindingRevision_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + params->_ret = iface->GetControllerBindingRevision( params->controllerHandle, params->pMajor, params->pMinor ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController007.h b/lsteamclient/cppISteamController_SteamController007.h deleted file mode 100644 index b1f874307..000000000 --- a/lsteamclient/cppISteamController_SteamController007.h +++ /dev/null @@ -1,34 +0,0 @@ -extern bool cppISteamController_SteamController007_Init(void *); -extern bool cppISteamController_SteamController007_Shutdown(void *); -extern void cppISteamController_SteamController007_RunFrame(void *); -extern int cppISteamController_SteamController007_GetConnectedControllers(void *, ControllerHandle_t *); -extern ControllerActionSetHandle_t cppISteamController_SteamController007_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController007_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController007_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController007_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController007_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController007_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController007_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController007_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamController_SteamController007_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController007_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController007_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamController_SteamController007_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController007_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern const char * cppISteamController_SteamController007_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController007_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern void cppISteamController_SteamController007_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern InputMotionData_t cppISteamController_SteamController007_GetMotionData(void *, ControllerHandle_t); -extern void cppISteamController_SteamController007_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController007_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController007_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController007_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern bool cppISteamController_SteamController007_ShowBindingPanel(void *, ControllerHandle_t); -extern ESteamInputType cppISteamController_SteamController007_GetInputTypeForHandle(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController007_GetControllerForGamepadIndex(void *, int); -extern int cppISteamController_SteamController007_GetGamepadIndexForController(void *, ControllerHandle_t); -extern const char * cppISteamController_SteamController007_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamController_SteamController007_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(void *, ControllerHandle_t, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController007_TranslateActionOrigin(void *, ESteamInputType, EControllerActionOrigin); -extern bool cppISteamController_SteamController007_GetControllerBindingRevision(void *, ControllerHandle_t, int *, int *); diff --git a/lsteamclient/cppISteamController_SteamController008.cpp b/lsteamclient/cppISteamController_SteamController008.cpp index ba8db8f8e..f332bbde8 100644 --- a/lsteamclient/cppISteamController_SteamController008.cpp +++ b/lsteamclient/cppISteamController_SteamController008.cpp @@ -1,177 +1,259 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamController_SteamController008.h" -bool cppISteamController_SteamController008_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamController_SteamController008_Init( void *args ) { - return ((ISteamController*)linux_side)->Init(); + struct ISteamController_SteamController008_Init_params *params = (struct ISteamController_SteamController008_Init_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamController_SteamController008_Shutdown(void *linux_side) +NTSTATUS ISteamController_SteamController008_Shutdown( void *args ) { - return ((ISteamController*)linux_side)->Shutdown(); + struct ISteamController_SteamController008_Shutdown_params *params = (struct ISteamController_SteamController008_Shutdown_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamController_SteamController008_RunFrame(void *linux_side) +NTSTATUS ISteamController_SteamController008_RunFrame( void *args ) { - ((ISteamController*)linux_side)->RunFrame(); + struct ISteamController_SteamController008_RunFrame_params *params = (struct ISteamController_SteamController008_RunFrame_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamController_SteamController008_GetConnectedControllers(void *linux_side, ControllerHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController008_GetConnectedControllers( void *args ) { - return ((ISteamController*)linux_side)->GetConnectedControllers((ControllerHandle_t *)handlesOut); + struct ISteamController_SteamController008_GetConnectedControllers_params *params = (struct ISteamController_SteamController008_GetConnectedControllers_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController008_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamController_SteamController008_GetActionSetHandle( void *args ) { - return ((ISteamController*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamController_SteamController008_GetActionSetHandle_params *params = (struct ISteamController_SteamController008_GetActionSetHandle_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamController_SteamController008_ActivateActionSet(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +NTSTATUS ISteamController_SteamController008_ActivateActionSet( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSet((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle); + struct ISteamController_SteamController008_ActivateActionSet_params *params = (struct ISteamController_SteamController008_ActivateActionSet_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle ); + return 0; } -ControllerActionSetHandle_t cppISteamController_SteamController008_GetCurrentActionSet(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController008_GetCurrentActionSet( void *args ) { - return ((ISteamController*)linux_side)->GetCurrentActionSet((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController008_GetCurrentActionSet_params *params = (struct ISteamController_SteamController008_GetCurrentActionSet_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->controllerHandle ); + return 0; } -void cppISteamController_SteamController008_ActivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController008_ActivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->ActivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController008_ActivateActionSetLayer_params *params = (struct ISteamController_SteamController008_ActivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->ActivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController008_DeactivateActionSetLayer(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamController_SteamController008_DeactivateActionSetLayer( void *args ) { - ((ISteamController*)linux_side)->DeactivateActionSetLayer((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetLayerHandle); + struct ISteamController_SteamController008_DeactivateActionSetLayer_params *params = (struct ISteamController_SteamController008_DeactivateActionSetLayer_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->DeactivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamController_SteamController008_DeactivateAllActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController008_DeactivateAllActionSetLayers( void *args ) { - ((ISteamController*)linux_side)->DeactivateAllActionSetLayers((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params *params = (struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->controllerHandle ); + return 0; } -int cppISteamController_SteamController008_GetActiveActionSetLayers(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +NTSTATUS ISteamController_SteamController008_GetActiveActionSetLayers( void *args ) { - return ((ISteamController*)linux_side)->GetActiveActionSetLayers((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t *)handlesOut); + struct ISteamController_SteamController008_GetActiveActionSetLayers_params *params = (struct ISteamController_SteamController008_GetActiveActionSetLayers_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->controllerHandle, params->handlesOut ); + return 0; } -ControllerDigitalActionHandle_t cppISteamController_SteamController008_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController008_GetDigitalActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamController_SteamController008_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController008_GetDigitalActionHandle_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamController_SteamController008_GetDigitalActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamController_SteamController008_GetDigitalActionData( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionData((ControllerHandle_t)controllerHandle, (ControllerDigitalActionHandle_t)digitalActionHandle); + struct ISteamController_SteamController008_GetDigitalActionData_params *params = (struct ISteamController_SteamController008_GetDigitalActionData_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle ); + return 0; } -int cppISteamController_SteamController008_GetDigitalActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController008_GetDigitalActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetDigitalActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerDigitalActionHandle_t)digitalActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController008_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController008_GetDigitalActionOrigins_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -ControllerAnalogActionHandle_t cppISteamController_SteamController008_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamController_SteamController008_GetAnalogActionHandle( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamController_SteamController008_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController008_GetAnalogActionHandle_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamController_SteamController008_GetAnalogActionData(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamController_SteamController008_GetAnalogActionData( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionData((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)analogActionHandle); + struct ISteamController_SteamController008_GetAnalogActionData_params *params = (struct ISteamController_SteamController008_GetAnalogActionData_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle ); + return 0; } -int cppISteamController_SteamController008_GetAnalogActionOrigins(void *linux_side, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +NTSTATUS ISteamController_SteamController008_GetAnalogActionOrigins( void *args ) { - return ((ISteamController*)linux_side)->GetAnalogActionOrigins((ControllerHandle_t)controllerHandle, (ControllerActionSetHandle_t)actionSetHandle, (ControllerAnalogActionHandle_t)analogActionHandle, (EControllerActionOrigin *)originsOut); + struct ISteamController_SteamController008_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController008_GetAnalogActionOrigins_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamController_SteamController008_GetStringForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) +NTSTATUS ISteamController_SteamController008_GetStringForActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForActionOrigin((EControllerActionOrigin)eOrigin); + struct ISteamController_SteamController008_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController008_GetStringForActionOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -void cppISteamController_SteamController008_StopAnalogActionMomentum(void *linux_side, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +NTSTATUS ISteamController_SteamController008_StopAnalogActionMomentum( void *args ) { - ((ISteamController*)linux_side)->StopAnalogActionMomentum((ControllerHandle_t)controllerHandle, (ControllerAnalogActionHandle_t)eAction); + struct ISteamController_SteamController008_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController008_StopAnalogActionMomentum_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamController_SteamController008_GetMotionData(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController008_GetMotionData( void *args ) { - return ((ISteamController*)linux_side)->GetMotionData((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController008_GetMotionData_params *params = (struct ISteamController_SteamController008_GetMotionData_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->controllerHandle ); + return 0; } -void cppISteamController_SteamController008_TriggerHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamController_SteamController008_TriggerHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamController_SteamController008_TriggerHapticPulse_params *params = (struct ISteamController_SteamController008_TriggerHapticPulse_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamController_SteamController008_TriggerRepeatedHapticPulse(void *linux_side, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamController_SteamController008_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamController*)linux_side)->TriggerRepeatedHapticPulse((ControllerHandle_t)controllerHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -void cppISteamController_SteamController008_TriggerVibration(void *linux_side, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamController_SteamController008_TriggerVibration( void *args ) { - ((ISteamController*)linux_side)->TriggerVibration((ControllerHandle_t)controllerHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamController_SteamController008_TriggerVibration_params *params = (struct ISteamController_SteamController008_TriggerVibration_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamController_SteamController008_SetLEDColor(void *linux_side, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamController_SteamController008_SetLEDColor( void *args ) { - ((ISteamController*)linux_side)->SetLEDColor((ControllerHandle_t)controllerHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamController_SteamController008_SetLEDColor_params *params = (struct ISteamController_SteamController008_SetLEDColor_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -bool cppISteamController_SteamController008_ShowBindingPanel(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController008_ShowBindingPanel( void *args ) { - return ((ISteamController*)linux_side)->ShowBindingPanel((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController008_ShowBindingPanel_params *params = (struct ISteamController_SteamController008_ShowBindingPanel_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->controllerHandle ); + return 0; } -ESteamInputType cppISteamController_SteamController008_GetInputTypeForHandle(void *linux_side, ControllerHandle_t controllerHandle) +NTSTATUS ISteamController_SteamController008_GetInputTypeForHandle( void *args ) { - return ((ISteamController*)linux_side)->GetInputTypeForHandle((ControllerHandle_t)controllerHandle); + struct ISteamController_SteamController008_GetInputTypeForHandle_params *params = (struct ISteamController_SteamController008_GetInputTypeForHandle_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->controllerHandle ); + return 0; } -ControllerHandle_t cppISteamController_SteamController008_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamController_SteamController008_GetControllerForGamepadIndex( void *args ) { - return ((ISteamController*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamController_SteamController008_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController008_GetControllerForGamepadIndex_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamController_SteamController008_GetGamepadIndexForController(void *linux_side, ControllerHandle_t ulControllerHandle) +NTSTATUS ISteamController_SteamController008_GetGamepadIndexForController( void *args ) { - return ((ISteamController*)linux_side)->GetGamepadIndexForController((ControllerHandle_t)ulControllerHandle); + struct ISteamController_SteamController008_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController008_GetGamepadIndexForController_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle ); + return 0; } -const char * cppISteamController_SteamController008_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamController_SteamController008_GetStringForXboxOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamController_SteamController008_GetStringForXboxOrigin_params *params = (struct ISteamController_SteamController008_GetStringForXboxOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EControllerActionOrigin cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(void *linux_side, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamController_SteamController008_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamController*)linux_side)->GetActionOriginFromXboxOrigin((ControllerHandle_t)controllerHandle, (EXboxOrigin)eOrigin); + struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *params = (struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->controllerHandle, params->eOrigin ); + return 0; } -EControllerActionOrigin cppISteamController_SteamController008_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +NTSTATUS ISteamController_SteamController008_TranslateActionOrigin( void *args ) { - return ((ISteamController*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EControllerActionOrigin)eSourceOrigin); + struct ISteamController_SteamController008_TranslateActionOrigin_params *params = (struct ISteamController_SteamController008_TranslateActionOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamController_SteamController008_GetControllerBindingRevision(void *linux_side, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamController_SteamController008_GetControllerBindingRevision( void *args ) { - return ((ISteamController*)linux_side)->GetControllerBindingRevision((ControllerHandle_t)controllerHandle, (int *)pMajor, (int *)pMinor); + struct ISteamController_SteamController008_GetControllerBindingRevision_params *params = (struct ISteamController_SteamController008_GetControllerBindingRevision_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + params->_ret = iface->GetControllerBindingRevision( params->controllerHandle, params->pMajor, params->pMinor ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamController_SteamController008.h b/lsteamclient/cppISteamController_SteamController008.h deleted file mode 100644 index 063d07ac6..000000000 --- a/lsteamclient/cppISteamController_SteamController008.h +++ /dev/null @@ -1,34 +0,0 @@ -extern bool cppISteamController_SteamController008_Init(void *); -extern bool cppISteamController_SteamController008_Shutdown(void *); -extern void cppISteamController_SteamController008_RunFrame(void *); -extern int cppISteamController_SteamController008_GetConnectedControllers(void *, ControllerHandle_t *); -extern ControllerActionSetHandle_t cppISteamController_SteamController008_GetActionSetHandle(void *, const char *); -extern void cppISteamController_SteamController008_ActivateActionSet(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern ControllerActionSetHandle_t cppISteamController_SteamController008_GetCurrentActionSet(void *, ControllerHandle_t); -extern void cppISteamController_SteamController008_ActivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController008_DeactivateActionSetLayer(void *, ControllerHandle_t, ControllerActionSetHandle_t); -extern void cppISteamController_SteamController008_DeactivateAllActionSetLayers(void *, ControllerHandle_t); -extern int cppISteamController_SteamController008_GetActiveActionSetLayers(void *, ControllerHandle_t, ControllerActionSetHandle_t *); -extern ControllerDigitalActionHandle_t cppISteamController_SteamController008_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamController_SteamController008_GetDigitalActionData(void *, ControllerHandle_t, ControllerDigitalActionHandle_t); -extern int cppISteamController_SteamController008_GetDigitalActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerDigitalActionHandle_t, EControllerActionOrigin *); -extern ControllerAnalogActionHandle_t cppISteamController_SteamController008_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamController_SteamController008_GetAnalogActionData(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern int cppISteamController_SteamController008_GetAnalogActionOrigins(void *, ControllerHandle_t, ControllerActionSetHandle_t, ControllerAnalogActionHandle_t, EControllerActionOrigin *); -extern const char * cppISteamController_SteamController008_GetGlyphForActionOrigin(void *, EControllerActionOrigin); -extern const char * cppISteamController_SteamController008_GetStringForActionOrigin(void *, EControllerActionOrigin); -extern void cppISteamController_SteamController008_StopAnalogActionMomentum(void *, ControllerHandle_t, ControllerAnalogActionHandle_t); -extern InputMotionData_t cppISteamController_SteamController008_GetMotionData(void *, ControllerHandle_t); -extern void cppISteamController_SteamController008_TriggerHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamController_SteamController008_TriggerRepeatedHapticPulse(void *, ControllerHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern void cppISteamController_SteamController008_TriggerVibration(void *, ControllerHandle_t, unsigned short, unsigned short); -extern void cppISteamController_SteamController008_SetLEDColor(void *, ControllerHandle_t, uint8, uint8, uint8, unsigned int); -extern bool cppISteamController_SteamController008_ShowBindingPanel(void *, ControllerHandle_t); -extern ESteamInputType cppISteamController_SteamController008_GetInputTypeForHandle(void *, ControllerHandle_t); -extern ControllerHandle_t cppISteamController_SteamController008_GetControllerForGamepadIndex(void *, int); -extern int cppISteamController_SteamController008_GetGamepadIndexForController(void *, ControllerHandle_t); -extern const char * cppISteamController_SteamController008_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamController_SteamController008_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(void *, ControllerHandle_t, EXboxOrigin); -extern EControllerActionOrigin cppISteamController_SteamController008_TranslateActionOrigin(void *, ESteamInputType, EControllerActionOrigin); -extern bool cppISteamController_SteamController008_GetControllerBindingRevision(void *, ControllerHandle_t, int *, int *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends001.cpp b/lsteamclient/cppISteamFriends_SteamFriends001.cpp index 00551a91b..96ccd754b 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends001.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends001.cpp @@ -1,151 +1,219 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099x -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends001.h" -const char * cppISteamFriends_SteamFriends001_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends001_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends001_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends001_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends001_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends001_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends001_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends001_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends001_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends001_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends001_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends001_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -void cppISteamFriends_SteamFriends001_SetPersonaState(void *linux_side, EPersonaState ePersonaState) +NTSTATUS ISteamFriends_SteamFriends001_SetPersonaState( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaState((EPersonaState)ePersonaState); + struct ISteamFriends_SteamFriends001_SetPersonaState_params *params = (struct ISteamFriends_SteamFriends001_SetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->SetPersonaState( params->ePersonaState ); + return 0; } -bool cppISteamFriends_SteamFriends001_AddFriend(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_AddFriend( void *args ) { - return ((ISteamFriends*)linux_side)->AddFriend((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_AddFriend_params *params = (struct ISteamFriends_SteamFriends001_AddFriend_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->AddFriend( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends001_RemoveFriend(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_RemoveFriend( void *args ) { - return ((ISteamFriends*)linux_side)->RemoveFriend((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_RemoveFriend_params *params = (struct ISteamFriends_SteamFriends001_RemoveFriend_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->RemoveFriend( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends001_HasFriend(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_HasFriend_params *params = (struct ISteamFriends_SteamFriends001_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends001_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends001_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends001_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends001_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, int32 * pnGameID, uint32 * punGameIP, uint16 * pusGamePort) +NTSTATUS ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->Deprecated_GetFriendGamePlayed((CSteamID)steamIDFriend, (int32 *)pnGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort); + struct ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->Deprecated_GetFriendGamePlayed( params->steamIDFriend, params->pnGameID, params->punGameIP, params->pusGamePort ); + return 0; } -const char * cppISteamFriends_SteamFriends001_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends001_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -int32 cppISteamFriends_SteamFriends001_AddFriendByName(void *linux_side, const char * pchEmailOrAccountName) +NTSTATUS ISteamFriends_SteamFriends001_AddFriendByName( void *args ) { - return ((ISteamFriends*)linux_side)->AddFriendByName((const char *)pchEmailOrAccountName); + struct ISteamFriends_SteamFriends001_AddFriendByName_params *params = (struct ISteamFriends_SteamFriends001_AddFriendByName_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->AddFriendByName( params->pchEmailOrAccountName ); + return 0; } -int cppISteamFriends_SteamFriends001_GetFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount(); + struct ISteamFriends_SteamFriends001_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends001_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends001_GetFriendByIndex(void *linux_side, int iFriend) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend); + struct ISteamFriends_SteamFriends001_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends001_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend ); + return 0; } -void cppISteamFriends_SteamFriends001_SendMsgToFriend(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const char * pchMsgBody) +NTSTATUS ISteamFriends_SteamFriends001_SendMsgToFriend( void *args ) { - ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const char *)pchMsgBody); + struct ISteamFriends_SteamFriends001_SendMsgToFriend_params *params = (struct ISteamFriends_SteamFriends001_SendMsgToFriend_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->SendMsgToFriend( params->steamIDFriend, params->eChatEntryType, params->pchMsgBody ); + return 0; } -void cppISteamFriends_SteamFriends001_SetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends001_SetFriendRegValue( void *args ) { - ((ISteamFriends*)linux_side)->SetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends001_SetFriendRegValue_params *params = (struct ISteamFriends_SteamFriends001_SetFriendRegValue_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->SetFriendRegValue( params->steamIDFriend, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamFriends_SteamFriends001_GetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendRegValue( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends001_GetFriendRegValue_params *params = (struct ISteamFriends_SteamFriends001_GetFriendRegValue_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendRegValue( params->steamIDFriend, params->pchKey ); + return 0; } -const char * cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -int cppISteamFriends_SteamFriends001_GetChatMessage(void *linux_side, CSteamID steamIDFriend, int iChatID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends001_GetChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMessage((CSteamID)steamIDFriend, (int)iChatID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends001_GetChatMessage_params *params = (struct ISteamFriends_SteamFriends001_GetChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetChatMessage( params->steamIDFriend, params->iChatID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamFriends_SteamFriends001_SendMsgToFriend_2(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamFriends_SteamFriends001_SendMsgToFriend_2( void *args ) { - return ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamFriends_SteamFriends001_SendMsgToFriend_2_params *params = (struct ISteamFriends_SteamFriends001_SendMsgToFriend_2_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->SendMsgToFriend( params->steamIDFriend, params->eChatEntryType, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatIDOfChatHistoryStart((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params *params = (struct ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetChatIDOfChatHistoryStart( params->steamIDFriend ); + return 0; } -void cppISteamFriends_SteamFriends001_SetChatHistoryStart(void *linux_side, CSteamID steamIDFriend, int iChatID) +NTSTATUS ISteamFriends_SteamFriends001_SetChatHistoryStart( void *args ) { - ((ISteamFriends*)linux_side)->SetChatHistoryStart((CSteamID)steamIDFriend, (int)iChatID); + struct ISteamFriends_SteamFriends001_SetChatHistoryStart_params *params = (struct ISteamFriends_SteamFriends001_SetChatHistoryStart_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->SetChatHistoryStart( params->steamIDFriend, params->iChatID ); + return 0; } -void cppISteamFriends_SteamFriends001_ClearChatHistory(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends001_ClearChatHistory( void *args ) { - ((ISteamFriends*)linux_side)->ClearChatHistory((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends001_ClearChatHistory_params *params = (struct ISteamFriends_SteamFriends001_ClearChatHistory_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + iface->ClearChatHistory( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends001_InviteFriendByEmail(void *linux_side, const char * pchEmailAccount) +NTSTATUS ISteamFriends_SteamFriends001_InviteFriendByEmail( void *args ) { - return ((ISteamFriends*)linux_side)->InviteFriendByEmail((const char *)pchEmailAccount); + struct ISteamFriends_SteamFriends001_InviteFriendByEmail_params *params = (struct ISteamFriends_SteamFriends001_InviteFriendByEmail_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->InviteFriendByEmail( params->pchEmailAccount ); + return 0; } -int cppISteamFriends_SteamFriends001_GetBlockedFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends001_GetBlockedFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetBlockedFriendCount(); + struct ISteamFriends_SteamFriends001_GetBlockedFriendCount_params *params = (struct ISteamFriends_SteamFriends001_GetBlockedFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetBlockedFriendCount( ); + return 0; } -bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort); + struct ISteamFriends_SteamFriends001_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends001_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort ); + return 0; } -bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +NTSTATUS ISteamFriends_SteamFriends001_GetFriendGamePlayed2( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed2((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); + struct ISteamFriends_SteamFriends001_GetFriendGamePlayed2_params *params = (struct ISteamFriends_SteamFriends001_GetFriendGamePlayed2_params *)args; + struct u_ISteamFriends_SteamFriends001 *iface = (struct u_ISteamFriends_SteamFriends001 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed2( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort, params->pusQueryPort ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends001.h b/lsteamclient/cppISteamFriends_SteamFriends001.h deleted file mode 100644 index 4b1960751..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends001.h +++ /dev/null @@ -1,27 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends001_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends001_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends001_GetPersonaState(void *); -extern void cppISteamFriends_SteamFriends001_SetPersonaState(void *, EPersonaState); -extern bool cppISteamFriends_SteamFriends001_AddFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_RemoveFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_HasFriend(void *, CSteamID); -extern EFriendRelationship cppISteamFriends_SteamFriends001_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends001_GetFriendPersonaState(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(void *, CSteamID, int32 *, uint32 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendPersonaName(void *, CSteamID); -extern int32 cppISteamFriends_SteamFriends001_AddFriendByName(void *, const char *); -extern int cppISteamFriends_SteamFriends001_GetFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends001_GetFriendByIndex(void *, int); -extern void cppISteamFriends_SteamFriends001_SendMsgToFriend(void *, CSteamID, EChatEntryType, const char *); -extern void cppISteamFriends_SteamFriends001_SetFriendRegValue(void *, CSteamID, const char *, const char *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendRegValue(void *, CSteamID, const char *); -extern const char * cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends001_GetChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern bool cppISteamFriends_SteamFriends001_SendMsgToFriend_2(void *, CSteamID, EChatEntryType, const void *, int); -extern int cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(void *, CSteamID); -extern void cppISteamFriends_SteamFriends001_SetChatHistoryStart(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends001_ClearChatHistory(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends001_InviteFriendByEmail(void *, const char *); -extern int cppISteamFriends_SteamFriends001_GetBlockedFriendCount(void *); -extern bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *); -extern bool cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends002.cpp b/lsteamclient/cppISteamFriends_SteamFriends002.cpp index bb612d801..637484feb 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends002.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends002.cpp @@ -1,166 +1,243 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends002.h" -const char * cppISteamFriends_SteamFriends002_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends002_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends002_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends002_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends002_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends002_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends002_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends002_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends002_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends002_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends002_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends002_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -void cppISteamFriends_SteamFriends002_SetPersonaState(void *linux_side, EPersonaState ePersonaState) +NTSTATUS ISteamFriends_SteamFriends002_SetPersonaState( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaState((EPersonaState)ePersonaState); + struct ISteamFriends_SteamFriends002_SetPersonaState_params *params = (struct ISteamFriends_SteamFriends002_SetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + iface->SetPersonaState( params->ePersonaState ); + return 0; } -int cppISteamFriends_SteamFriends002_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends002_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends002_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends002_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends002_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends002_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends002_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends002_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends002_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends002_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends002_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends002_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -void cppISteamFriends_SteamFriends002_SetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends002_SetFriendRegValue( void *args ) { - ((ISteamFriends*)linux_side)->SetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends002_SetFriendRegValue_params *params = (struct ISteamFriends_SteamFriends002_SetFriendRegValue_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + iface->SetFriendRegValue( params->steamIDFriend, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamFriends_SteamFriends002_GetFriendRegValue(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendRegValue( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRegValue((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends002_GetFriendRegValue_params *params = (struct ISteamFriends_SteamFriends002_GetFriendRegValue_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendRegValue( params->steamIDFriend, params->pchKey ); + return 0; } -bool cppISteamFriends_SteamFriends002_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); + struct ISteamFriends_SteamFriends002_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends002_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort, params->pusQueryPort ); + return 0; } -const char * cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends002_AddFriend(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_AddFriend( void *args ) { - return ((ISteamFriends*)linux_side)->AddFriend((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_AddFriend_params *params = (struct ISteamFriends_SteamFriends002_AddFriend_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->AddFriend( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends002_RemoveFriend(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_RemoveFriend( void *args ) { - return ((ISteamFriends*)linux_side)->RemoveFriend((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_RemoveFriend_params *params = (struct ISteamFriends_SteamFriends002_RemoveFriend_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->RemoveFriend( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends002_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends002_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends002_HasFriend_params *params = (struct ISteamFriends_SteamFriends002_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int32 cppISteamFriends_SteamFriends002_AddFriendByName(void *linux_side, const char * pchEmailOrAccountName) +NTSTATUS ISteamFriends_SteamFriends002_AddFriendByName( void *args ) { - return ((ISteamFriends*)linux_side)->AddFriendByName((const char *)pchEmailOrAccountName); + struct ISteamFriends_SteamFriends002_AddFriendByName_params *params = (struct ISteamFriends_SteamFriends002_AddFriendByName_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->AddFriendByName( params->pchEmailOrAccountName ); + return 0; } -bool cppISteamFriends_SteamFriends002_InviteFriendByEmail(void *linux_side, const char * pchEmailAccount) +NTSTATUS ISteamFriends_SteamFriends002_InviteFriendByEmail( void *args ) { - return ((ISteamFriends*)linux_side)->InviteFriendByEmail((const char *)pchEmailAccount); + struct ISteamFriends_SteamFriends002_InviteFriendByEmail_params *params = (struct ISteamFriends_SteamFriends002_InviteFriendByEmail_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->InviteFriendByEmail( params->pchEmailAccount ); + return 0; } -int cppISteamFriends_SteamFriends002_GetChatMessage(void *linux_side, CSteamID steamIDFriend, int iChatID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends002_GetChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMessage((CSteamID)steamIDFriend, (int)iChatID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends002_GetChatMessage_params *params = (struct ISteamFriends_SteamFriends002_GetChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetChatMessage( params->steamIDFriend, params->iChatID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamFriends_SteamFriends002_SendMsgToFriend(void *linux_side, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamFriends_SteamFriends002_SendMsgToFriend( void *args ) { - return ((ISteamFriends*)linux_side)->SendMsgToFriend((CSteamID)steamIDFriend, (EChatEntryType)eChatEntryType, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamFriends_SteamFriends002_SendMsgToFriend_params *params = (struct ISteamFriends_SteamFriends002_SendMsgToFriend_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->SendMsgToFriend( params->steamIDFriend, params->eChatEntryType, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatIDOfChatHistoryStart((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params *params = (struct ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetChatIDOfChatHistoryStart( params->steamIDFriend ); + return 0; } -void cppISteamFriends_SteamFriends002_SetChatHistoryStart(void *linux_side, CSteamID steamIDFriend, int iChatID) +NTSTATUS ISteamFriends_SteamFriends002_SetChatHistoryStart( void *args ) { - ((ISteamFriends*)linux_side)->SetChatHistoryStart((CSteamID)steamIDFriend, (int)iChatID); + struct ISteamFriends_SteamFriends002_SetChatHistoryStart_params *params = (struct ISteamFriends_SteamFriends002_SetChatHistoryStart_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + iface->SetChatHistoryStart( params->steamIDFriend, params->iChatID ); + return 0; } -void cppISteamFriends_SteamFriends002_ClearChatHistory(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends002_ClearChatHistory( void *args ) { - ((ISteamFriends*)linux_side)->ClearChatHistory((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends002_ClearChatHistory_params *params = (struct ISteamFriends_SteamFriends002_ClearChatHistory_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + iface->ClearChatHistory( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends002_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends002_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends002_GetClanCount_params *params = (struct ISteamFriends_SteamFriends002_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends002_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends002_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends002_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends002_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends002_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends002_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends002_GetClanName_params *params = (struct ISteamFriends_SteamFriends002_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends002_InviteFriendToClan(void *linux_side, CSteamID steamIDFriend, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends002_InviteFriendToClan( void *args ) { - return ((ISteamFriends*)linux_side)->InviteFriendToClan((CSteamID)steamIDFriend, (CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends002_InviteFriendToClan_params *params = (struct ISteamFriends_SteamFriends002_InviteFriendToClan_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->InviteFriendToClan( params->steamIDFriend, params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(void *linux_side, CSteamID steamIDClan, bool bAcceptOrDenyClanInvite) +NTSTATUS ISteamFriends_SteamFriends002_AcknowledgeInviteToClan( void *args ) { - return ((ISteamFriends*)linux_side)->AcknowledgeInviteToClan((CSteamID)steamIDClan, (bool)bAcceptOrDenyClanInvite); + struct ISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params *params = (struct ISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->AcknowledgeInviteToClan( params->steamIDClan, params->bAcceptOrDenyClanInvite ); + return 0; } -int cppISteamFriends_SteamFriends002_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends002_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends002_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends002 *iface = (struct u_ISteamFriends_SteamFriends002 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends002.h b/lsteamclient/cppISteamFriends_SteamFriends002.h deleted file mode 100644 index b46dfe3f9..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends002.h +++ /dev/null @@ -1,30 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends002_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends002_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends002_GetPersonaState(void *); -extern void cppISteamFriends_SteamFriends002_SetPersonaState(void *, EPersonaState); -extern int cppISteamFriends_SteamFriends002_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends002_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends002_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends002_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends002_GetFriendPersonaName(void *, CSteamID); -extern void cppISteamFriends_SteamFriends002_SetFriendRegValue(void *, CSteamID, const char *, const char *); -extern const char * cppISteamFriends_SteamFriends002_GetFriendRegValue(void *, CSteamID, const char *); -extern bool cppISteamFriends_SteamFriends002_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends002_AddFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_RemoveFriend(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_HasFriend(void *, CSteamID, int); -extern int32 cppISteamFriends_SteamFriends002_AddFriendByName(void *, const char *); -extern bool cppISteamFriends_SteamFriends002_InviteFriendByEmail(void *, const char *); -extern int cppISteamFriends_SteamFriends002_GetChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern bool cppISteamFriends_SteamFriends002_SendMsgToFriend(void *, CSteamID, EChatEntryType, const void *, int); -extern int cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(void *, CSteamID); -extern void cppISteamFriends_SteamFriends002_SetChatHistoryStart(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends002_ClearChatHistory(void *, CSteamID); -extern int cppISteamFriends_SteamFriends002_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends002_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends002_GetClanName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends002_InviteFriendToClan(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(void *, CSteamID, bool); -extern int cppISteamFriends_SteamFriends002_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(void *, CSteamID, int); diff --git a/lsteamclient/cppISteamFriends_SteamFriends003.cpp b/lsteamclient/cppISteamFriends_SteamFriends003.cpp index fd0fecbbb..c764b9820 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends003.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends003.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_101/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_101 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends003.h" -const char * cppISteamFriends_SteamFriends003_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends003_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends003_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends003_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends003_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends003_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends003_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends003_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends003_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends003_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends003_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends003_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends003_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends003_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends003_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends003_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends003_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends003_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends003_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends003_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends003_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends003_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends003_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends003_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends003_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends003_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends003_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends003_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends003_GetFriendAvatar_params *params = (struct ISteamFriends_SteamFriends003_GetFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends003_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); + struct ISteamFriends_SteamFriends003_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends003_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort, params->pusQueryPort ); + return 0; } -const char * cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends003_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends003_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends003_HasFriend_params *params = (struct ISteamFriends_SteamFriends003_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends003_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends003_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends003_GetClanCount_params *params = (struct ISteamFriends_SteamFriends003_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends003_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends003_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends003_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends003_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends003_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends003_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends003_GetClanName_params *params = (struct ISteamFriends_SteamFriends003_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends003_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends003_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends003_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends003_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends003_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends003_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends003_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends003_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends003_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends003_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends003_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends003 *iface = (struct u_ISteamFriends_SteamFriends003 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends003.h b/lsteamclient/cppISteamFriends_SteamFriends003.h deleted file mode 100644 index 176ef3220..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends003.h +++ /dev/null @@ -1,20 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends003_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends003_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends003_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends003_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends003_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends003_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends003_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends003_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends003_GetFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends003_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends003_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends003_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends003_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends003_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends003_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends003_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends003_ActivateGameOverlay(void *, const char *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends004.cpp b/lsteamclient/cppISteamFriends_SteamFriends004.cpp index 9d82ca5de..b65349496 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends004.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends004.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends004.h" -const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends004_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends004_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends004_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends004_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends004_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends004_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends004_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends004_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends004_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends004_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends004_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends004_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends004_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends004_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends004_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends004_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends004_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends004_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends004_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends004_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends004_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends004_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends004_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends004_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends004_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends004_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends004_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); + struct ISteamFriends_SteamFriends004_GetFriendAvatar_params *params = (struct ISteamFriends_SteamFriends004_GetFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendAvatar( params->steamIDFriend, params->eAvatarSize ); + return 0; } -bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (uint64 *)pulGameID, (uint32 *)punGameIP, (uint16 *)pusGamePort, (uint16 *)pusQueryPort); + struct ISteamFriends_SteamFriends004_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends004_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pulGameID, params->punGameIP, params->pusGamePort, params->pusQueryPort ); + return 0; } -const char * cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends004_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends004_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends004_HasFriend_params *params = (struct ISteamFriends_SteamFriends004_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends004_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends004_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends004_GetClanCount_params *params = (struct ISteamFriends_SteamFriends004_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends004_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends004_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends004_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends004_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends004_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends004_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends004_GetClanName_params *params = (struct ISteamFriends_SteamFriends004_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends004_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends004_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends004_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends004_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends004_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends004_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends004_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends004_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends004_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends004_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends004 *iface = (struct u_ISteamFriends_SteamFriends004 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends004.h b/lsteamclient/cppISteamFriends_SteamFriends004.h deleted file mode 100644 index 66c3653d5..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends004.h +++ /dev/null @@ -1,20 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends004_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends004_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends004_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends004_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends004_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends004_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends004_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends004_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends004_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_GetFriendGamePlayed(void *, CSteamID, uint64 *, uint32 *, uint16 *, uint16 *); -extern const char * cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends004_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends004_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends004_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends004_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends004_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends004_ActivateGameOverlay(void *, const char *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends005.cpp b/lsteamclient/cppISteamFriends_SteamFriends005.cpp index 24dd75646..132d52e48 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends005.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends005.cpp @@ -1,136 +1,195 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_109/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_109 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends005.h" -const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends005_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends005_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends005_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends005_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends005_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends005_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends005_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends005_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends005_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends005_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends005_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends005_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends005_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends005_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends005_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends005_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends005_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends005_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends005_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends005_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends005_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends005_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends005_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends005_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends005_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends005_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends005_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); + struct ISteamFriends_SteamFriends005_GetFriendAvatar_params *params = (struct ISteamFriends_SteamFriends005_GetFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendAvatar( params->steamIDFriend, params->eAvatarSize ); + return 0; } -bool cppISteamFriends_SteamFriends005_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends005_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends005_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends005_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends005_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends005_HasFriend_params *params = (struct ISteamFriends_SteamFriends005_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends005_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends005_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends005_GetClanCount_params *params = (struct ISteamFriends_SteamFriends005_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends005_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends005_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends005_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends005_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends005_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends005_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends005_GetClanName_params *params = (struct ISteamFriends_SteamFriends005_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends005_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends005_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends005_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends005_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends005_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends005_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends005_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends005_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends005_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends005_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends005_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends005_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends005_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends005.h b/lsteamclient/cppISteamFriends_SteamFriends005.h deleted file mode 100644 index 3e23744a1..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends005.h +++ /dev/null @@ -1,24 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends005_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends005_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends005_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends005_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends005_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends005_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends005_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends005_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends005_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends005_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends005_GetClanName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends005_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends005_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends005_SetPlayedWith(void *, CSteamID); diff --git a/lsteamclient/cppISteamFriends_SteamFriends006.cpp b/lsteamclient/cppISteamFriends_SteamFriends006.cpp index 70415b890..50451baf8 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends006.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends006.cpp @@ -1,146 +1,211 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_110/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_110 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends006.h" -const char * cppISteamFriends_SteamFriends006_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends006_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends006_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends006_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends006_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends006_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends006_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends006_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends006_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends006_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends006_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends006_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends006_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends006_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends006_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends006_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends006_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends006_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends006_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends006_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends006_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends006_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends006_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends006_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends006_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends006_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends006_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends006_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize); + struct ISteamFriends_SteamFriends006_GetFriendAvatar_params *params = (struct ISteamFriends_SteamFriends006_GetFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendAvatar( params->steamIDFriend, params->eAvatarSize ); + return 0; } -bool cppISteamFriends_SteamFriends006_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends006_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends006_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends006_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends006_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends006_HasFriend_params *params = (struct ISteamFriends_SteamFriends006_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends006_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends006_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends006_GetClanCount_params *params = (struct ISteamFriends_SteamFriends006_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends006_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends006_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends006_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends006_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends006_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends006_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends006_GetClanName_params *params = (struct ISteamFriends_SteamFriends006_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends006_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends006_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends006_GetClanTag_params *params = (struct ISteamFriends_SteamFriends006_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends006_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends006_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends006_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends006_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends006_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends006_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends006_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends006_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends006_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends006_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends006_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends006_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends006_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends006.h b/lsteamclient/cppISteamFriends_SteamFriends006.h deleted file mode 100644 index 03faf48b5..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends006.h +++ /dev/null @@ -1,26 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends006_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends006_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends006_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends006_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends006_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends006_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends006_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends006_GetFriendPersonaName(void *, CSteamID); -extern int cppISteamFriends_SteamFriends006_GetFriendAvatar(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends006_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends006_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends006_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends006_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends006_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends006_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends006_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(void *, CSteamID); diff --git a/lsteamclient/cppISteamFriends_SteamFriends007.cpp b/lsteamclient/cppISteamFriends_SteamFriends007.cpp index 839d418b9..d809c5136 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends007.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends007.cpp @@ -1,156 +1,227 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends007.h" -const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends007_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends007_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends007_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends007_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends007_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends007_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends007_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends007_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends007_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends007_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends007_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends007_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends007_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends007_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends007_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends007_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends007_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends007_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends007_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends007_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends007_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends007_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends007_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends007_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends007_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends007_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends007_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends007_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends007_HasFriend_params *params = (struct ISteamFriends_SteamFriends007_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends007_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends007_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends007_GetClanCount_params *params = (struct ISteamFriends_SteamFriends007_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends007_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends007_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends007_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends007_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends007_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends007_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends007_GetClanName_params *params = (struct ISteamFriends_SteamFriends007_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends007_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends007_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends007_GetClanTag_params *params = (struct ISteamFriends_SteamFriends007_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends007_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends007_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends007_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends007_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends007_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends007_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends007_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends007_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends007_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends007_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends007_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends007_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends007_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends007_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends007_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends007_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends007_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends007_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends007.h b/lsteamclient/cppISteamFriends_SteamFriends007.h deleted file mode 100644 index e0db8f409..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends007.h +++ /dev/null @@ -1,28 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends007_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends007_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends007_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends007_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends007_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends007_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends007_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends007_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends007_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends007_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends007_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends007_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends007_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends007_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends007_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(void *, CSteamID); diff --git a/lsteamclient/cppISteamFriends_SteamFriends008.cpp b/lsteamclient/cppISteamFriends_SteamFriends008.cpp index c323bbe46..4e0f368dc 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends008.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends008.cpp @@ -1,186 +1,275 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_112 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends008.h" -const char * cppISteamFriends_SteamFriends008_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends008_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends008_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends008_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends008_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends008_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends008_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends008_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends008_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends008_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends008_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends008_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends008_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends008_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends008_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends008_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends008_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends008_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends008_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends008_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends008_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends008_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends008_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends008_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends008_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends008_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends008_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends008_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends008_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends008_HasFriend_params *params = (struct ISteamFriends_SteamFriends008_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends008_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends008_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends008_GetClanCount_params *params = (struct ISteamFriends_SteamFriends008_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends008_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends008_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends008_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends008_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends008_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends008_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends008_GetClanName_params *params = (struct ISteamFriends_SteamFriends008_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends008_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends008_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends008_GetClanTag_params *params = (struct ISteamFriends_SteamFriends008_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends008_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends008_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends008_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends008_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends008_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends008_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends008_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends008_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends008_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends008_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends008_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends008_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends008_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends008_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends008_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends008_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends008_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends008_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends008_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends008_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends008_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends008_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends008_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends008_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends008_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends008_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends008_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends008_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends008_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends008_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends008_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends008_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends008_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends008_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends008_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends008_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends008_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends008_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends008_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends008_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends008_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends008.h b/lsteamclient/cppISteamFriends_SteamFriends008.h deleted file mode 100644 index 01d4df93d..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends008.h +++ /dev/null @@ -1,34 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends008_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends008_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends008_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends008_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends008_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends008_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends008_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends008_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends008_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends008_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends008_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends008_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends008_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends008_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends008_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends008_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends008_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends008_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends008_GetUserRestrictions(void *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends009.cpp b/lsteamclient/cppISteamFriends_SteamFriends009.cpp index a9c0370e3..11e44d708 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends009.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends009.cpp @@ -1,236 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends009.h" -const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends009_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends009_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends009_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends009_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends009_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends009_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends009_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends009_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends009_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends009_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends009_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends009_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends009_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends009_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends009_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends009_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends009_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends009_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends009_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends009_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends009_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends009_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends009_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends009_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends009_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends009_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends009_HasFriend_params *params = (struct ISteamFriends_SteamFriends009_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends009_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends009_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends009_GetClanCount_params *params = (struct ISteamFriends_SteamFriends009_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends009_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends009_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends009_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends009_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends009_GetClanName_params *params = (struct ISteamFriends_SteamFriends009_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends009_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends009_GetClanTag_params *params = (struct ISteamFriends_SteamFriends009_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends009_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends009_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends009_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends009_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends009_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends009_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends009_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends009_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends009_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends009_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends009_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends009_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends009_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends009_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends009_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends009_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends009_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends009_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends009_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends009_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends009_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends009_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends009_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends009_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends009_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends009_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends009_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends009_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends009_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends009_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends009_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends009_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends009_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends009_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends009_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends009_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends009_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends009_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends009_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends009_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends009_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends009_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends009_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends009_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends009_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends009_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends009_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends009_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -bool cppISteamFriends_SteamFriends009_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends009_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends009_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends009_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends009_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends009_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends009_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends009_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends009_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends009_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends009_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends009_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends009_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends009_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends009_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends009_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends009.h b/lsteamclient/cppISteamFriends_SteamFriends009.h deleted file mode 100644 index f476ba6ce..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends009.h +++ /dev/null @@ -1,44 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends009_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends009_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends009_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends009_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends009_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends009_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends009_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends009_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends009_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetClanTag(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends009_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends009_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends009_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends009_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends009_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends009_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends009_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends009_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends009_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends009_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends009_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends009_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends009_GetFriendCoplayGame(void *, CSteamID); diff --git a/lsteamclient/cppISteamFriends_SteamFriends010.cpp b/lsteamclient/cppISteamFriends_SteamFriends010.cpp index 5dad88315..474d75a7c 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends010.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends010.cpp @@ -1,311 +1,475 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116x -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends010.h" -const char * cppISteamFriends_SteamFriends010_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends010_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends010_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends010_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends010_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends010_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends010_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends010_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends010_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends010_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends010_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends010_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends010_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends010_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends010_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends010_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends010_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends010_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends010_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends010_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends010_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends010_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends010_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends010_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends010_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends010_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends010_HasFriend_params *params = (struct ISteamFriends_SteamFriends010_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends010_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends010_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends010_GetClanCount_params *params = (struct ISteamFriends_SteamFriends010_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends010_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_GetClanName_params *params = (struct ISteamFriends_SteamFriends010_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_GetClanTag_params *params = (struct ISteamFriends_SteamFriends010_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends010_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends010_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends010_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends010_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends010_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends010_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends010_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends010_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends010_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends010_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends010_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends010_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends010_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends010_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends010_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends010_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends010_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends010_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends010_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends010_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends010_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends010_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends010_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends010_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends010_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends010_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends010_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends010_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends010_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends010_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends010_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends010_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends010_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends010_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends010_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends010_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends010_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends010_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends010_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends010_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends010_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends010_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends010_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends010_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends010_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends010_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends010_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends010_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -bool cppISteamFriends_SteamFriends010_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends010_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends010_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends010_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends010_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends010_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends010_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends010_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends010_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends010_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends010_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends010_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends010_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends010_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends010_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends010_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends010_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends010_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends010_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends010_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends010_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends010_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends010_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends010_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends010_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends010_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends010_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends010_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends010_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends010_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends010_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends010_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +NTSTATUS ISteamFriends_SteamFriends010_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_a, (CSteamID *)_b); + struct ISteamFriends_SteamFriends010_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends010_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->_e, params->_f ); + return 0; } -bool cppISteamFriends_SteamFriends010_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends010_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends010_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends010_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends010_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends010_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends010_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends010_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends010_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends010_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends010_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends010_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends010_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends010_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends010_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends010.h b/lsteamclient/cppISteamFriends_SteamFriends010.h deleted file mode 100644 index 48d2c87ce..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends010.h +++ /dev/null @@ -1,59 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends010_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends010_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends010_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends010_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends010_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends010_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends010_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends010_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends010_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends010_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends010_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends010_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends010_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends010_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends010_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends010_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends010_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends010_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends010_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends010_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends010_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends010_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends010_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends010_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends010_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); diff --git a/lsteamclient/cppISteamFriends_SteamFriends011.cpp b/lsteamclient/cppISteamFriends_SteamFriends011.cpp index 68343d5d6..a25048644 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends011.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends011.cpp @@ -1,331 +1,507 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_119 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends011.h" -const char * cppISteamFriends_SteamFriends011_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends011_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends011_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends011_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -void cppISteamFriends_SteamFriends011_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends011_SetPersonaName( void *args ) { - ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends011_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends011_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends011_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends011_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends011_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends011_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends011_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends011_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends011_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends011_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends011_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends011_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends011_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends011_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends011_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends011_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends011_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends011_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends011_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends011_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends011_HasFriend_params *params = (struct ISteamFriends_SteamFriends011_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends011_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends011_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends011_GetClanCount_params *params = (struct ISteamFriends_SteamFriends011_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends011_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_GetClanName_params *params = (struct ISteamFriends_SteamFriends011_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_GetClanTag_params *params = (struct ISteamFriends_SteamFriends011_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends011_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends011_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends011_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends011_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends011_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends011_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends011_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends011_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends011_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends011_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends011_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends011_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends011_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends011_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends011_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends011_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends011_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends011_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends011_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends011_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends011_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends011_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends011_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends011_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends011_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends011_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends011_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends011_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends011_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends011_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends011_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends011_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends011_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends011_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends011_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends011_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends011_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends011_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends011_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends011_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends011_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends011_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends011_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends011_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends011_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends011_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends011_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends011_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends011_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends011_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends011_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends011_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends011_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends011_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends011_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends011_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends011_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends011_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends011_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends011_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends011_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends011_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends011_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends011_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends011_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends011_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends011_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends011_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends011_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends011_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends011_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends011_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends011_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends011_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends011_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends011_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends011_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends011_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends011_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends011_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +NTSTATUS ISteamFriends_SteamFriends011_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_a, (CSteamID *)_b); + struct ISteamFriends_SteamFriends011_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends011_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->_e, params->_f ); + return 0; } -bool cppISteamFriends_SteamFriends011_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends011_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends011_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends011_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends011_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends011_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends011_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends011_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends011_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends011_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends011_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends011_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends011_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends011_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends011_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends011_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends011_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends011_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends011_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends011_IsFollowing_params *params = (struct ISteamFriends_SteamFriends011_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends011_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends011_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends011_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends011_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends011.h b/lsteamclient/cppISteamFriends_SteamFriends011.h deleted file mode 100644 index 8a9901ec1..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends011.h +++ /dev/null @@ -1,63 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends011_GetPersonaName(void *); -extern void cppISteamFriends_SteamFriends011_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends011_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends011_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends011_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends011_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends011_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends011_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends011_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends011_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends011_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends011_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends011_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends011_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends011_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends011_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends011_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends011_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends011_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends011_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends011_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends011_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends011_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends011_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends011_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends011_EnumerateFollowingList(void *, uint32); diff --git a/lsteamclient/cppISteamFriends_SteamFriends012.cpp b/lsteamclient/cppISteamFriends_SteamFriends012.cpp index 989eade31..e6cc3e6fc 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends012.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends012.cpp @@ -1,331 +1,507 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_119x -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends012.h" -const char * cppISteamFriends_SteamFriends012_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends012_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends012_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends012_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends012_SetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends012_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends012_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends012_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends012_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends012_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends012_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends012_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends012_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends012_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends012_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends012_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends012_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends012_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends012_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends012_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends012_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends012_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends012_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends012_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends012_HasFriend_params *params = (struct ISteamFriends_SteamFriends012_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends012_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends012_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends012_GetClanCount_params *params = (struct ISteamFriends_SteamFriends012_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends012_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_GetClanName_params *params = (struct ISteamFriends_SteamFriends012_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_GetClanTag_params *params = (struct ISteamFriends_SteamFriends012_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends012_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends012_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends012_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends012_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends012_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends012_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends012_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends012_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends012_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends012_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends012_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends012_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends012_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends012_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID); + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID ); + return 0; } -void cppISteamFriends_SteamFriends012_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends012_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends012_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends012_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends012_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends012_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends012_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends012_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends012_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends012_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends012_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends012_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends012_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends012_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends012_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends012_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends012_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends012_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends012_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends012_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends012_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends012_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends012_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends012_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends012_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends012_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends012_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends012_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends012_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends012_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends012_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends012_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends012_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends012_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends012_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends012_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends012_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends012_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends012_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends012_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends012_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends012_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends012_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends012_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends012_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends012_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends012_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends012_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends012_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends012_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends012_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends012_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends012_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends012_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends012_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends012_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends012_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends012_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends012_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends012_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends012_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +NTSTATUS ISteamFriends_SteamFriends012_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_a, (CSteamID *)_b); + struct ISteamFriends_SteamFriends012_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends012_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->_e, params->_f ); + return 0; } -bool cppISteamFriends_SteamFriends012_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends012_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends012_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends012_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends012_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends012_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends012_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends012_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends012_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends012_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends012_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends012_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends012_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends012_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends012_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends012_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends012_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends012_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends012_IsFollowing_params *params = (struct ISteamFriends_SteamFriends012_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends012_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends012_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends012_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends012_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends012.h b/lsteamclient/cppISteamFriends_SteamFriends012.h deleted file mode 100644 index 579955f25..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends012.h +++ /dev/null @@ -1,63 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends012_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends012_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends012_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends012_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends012_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends012_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends012_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends012_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends012_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(void *, AppId_t); -extern void cppISteamFriends_SteamFriends012_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends012_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends012_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends012_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends012_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends012_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends012_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends012_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends012_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends012_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends012_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends012_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends012_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends012_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends012_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends012_EnumerateFollowingList(void *, uint32); diff --git a/lsteamclient/cppISteamFriends_SteamFriends013.cpp b/lsteamclient/cppISteamFriends_SteamFriends013.cpp index 159ed2711..ccd651f92 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends013.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends013.cpp @@ -1,331 +1,507 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_125/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_125 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends013.h" -const char * cppISteamFriends_SteamFriends013_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends013_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends013_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends013_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends013_SetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends013_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends013_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends013_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends013_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends013_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends013_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends013_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends013_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends013_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends013_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends013_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends013_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends013_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends013_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends013_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends013_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends013_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends013_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -bool cppISteamFriends_SteamFriends013_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends013_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends013_HasFriend_params *params = (struct ISteamFriends_SteamFriends013_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends013_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends013_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends013_GetClanCount_params *params = (struct ISteamFriends_SteamFriends013_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends013_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_GetClanName_params *params = (struct ISteamFriends_SteamFriends013_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_GetClanTag_params *params = (struct ISteamFriends_SteamFriends013_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends013_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends013_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends013_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends013_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends013_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends013_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends013_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends013_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends013_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends013_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends013_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends013_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends013_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends013_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends013_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends013_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID, params->eFlag ); + return 0; } -void cppISteamFriends_SteamFriends013_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends013_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends013_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends013_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends013_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends013_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends013_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends013_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends013_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends013_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends013_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends013_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends013_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends013_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends013_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends013_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends013_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends013_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends013_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends013_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends013_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends013_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends013_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends013_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends013_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends013_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends013_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends013_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends013_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends013_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends013_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends013_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends013_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends013_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends013_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends013_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends013_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends013_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends013_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends013_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends013_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends013_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends013_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends013_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends013_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends013_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends013_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends013_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends013_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends013_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends013_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends013_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends013_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends013_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends013_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends013_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends013_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends013_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends013_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends013_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends013_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends013_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends013_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends013_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +NTSTATUS ISteamFriends_SteamFriends013_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)_a, (CSteamID *)_b); + struct ISteamFriends_SteamFriends013_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends013_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->_e, params->_f ); + return 0; } -bool cppISteamFriends_SteamFriends013_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends013_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends013_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends013_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends013_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends013_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends013_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends013_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends013_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends013_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends013_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends013_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends013_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends013_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends013_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends013_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends013_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends013_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends013_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends013_IsFollowing_params *params = (struct ISteamFriends_SteamFriends013_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends013_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends013_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends013_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends013_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends013.h b/lsteamclient/cppISteamFriends_SteamFriends013.h deleted file mode 100644 index 8d060cc81..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends013.h +++ /dev/null @@ -1,63 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends013_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends013_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends013_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends013_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends013_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends013_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends013_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends013_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends013_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends013_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends013_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends013_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends013_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends013_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends013_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends013_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends013_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends013_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends013_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends013_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends013_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends013_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends013_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends013_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends013_EnumerateFollowingList(void *, uint32); diff --git a/lsteamclient/cppISteamFriends_SteamFriends014.cpp b/lsteamclient/cppISteamFriends_SteamFriends014.cpp index a08640e02..67bc7858a 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends014.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends014.cpp @@ -1,336 +1,515 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_131/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_131 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends014.h" -const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends014_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends014_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends014_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends014_SetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends014_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends014_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends014_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends014_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends014_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends014_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends014_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends014_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends014_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends014_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends014_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends014_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends014_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends014_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends014_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends014_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends014_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends014_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +NTSTATUS ISteamFriends_SteamFriends014_GetPlayerNickname( void *args ) { - return ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); + struct ISteamFriends_SteamFriends014_GetPlayerNickname_params *params = (struct ISteamFriends_SteamFriends014_GetPlayerNickname_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetPlayerNickname( params->steamIDPlayer ); + return 0; } -bool cppISteamFriends_SteamFriends014_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends014_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends014_HasFriend_params *params = (struct ISteamFriends_SteamFriends014_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends014_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends014_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends014_GetClanCount_params *params = (struct ISteamFriends_SteamFriends014_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends014_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_GetClanName_params *params = (struct ISteamFriends_SteamFriends014_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_GetClanTag_params *params = (struct ISteamFriends_SteamFriends014_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends014_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends014_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends014_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends014_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends014_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends014_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends014_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends014_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends014_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends014_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends014_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends014_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends014_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends014_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends014_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends014_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID, params->eFlag ); + return 0; } -void cppISteamFriends_SteamFriends014_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends014_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends014_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends014_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends014_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends014_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends014_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends014_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends014_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends014_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends014_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends014_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends014_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends014_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends014_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends014_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends014_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends014_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends014_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends014_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends014_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends014_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends014_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends014_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends014_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends014_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends014_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends014_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends014_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends014_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends014_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends014_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends014_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends014_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends014_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends014_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends014_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends014_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends014_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends014_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends014_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends014_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends014_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends014_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends014_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends014_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends014_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends014_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends014_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends014_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends014_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends014_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends014_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends014_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends014_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends014_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends014_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends014_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends014_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends014_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends014_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends014_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends014_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends014_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +NTSTATUS ISteamFriends_SteamFriends014_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); + struct ISteamFriends_SteamFriends014_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends014_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->peChatEntryType, params->psteamidChatter ); + return 0; } -bool cppISteamFriends_SteamFriends014_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends014_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends014_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends014_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends014_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends014_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends014_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends014_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends014_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends014_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends014_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends014_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends014_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends014_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends014_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends014_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends014_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends014_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends014_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends014_IsFollowing_params *params = (struct ISteamFriends_SteamFriends014_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends014_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends014_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends014_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends014_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends014.h b/lsteamclient/cppISteamFriends_SteamFriends014.h deleted file mode 100644 index 41c0b3388..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends014.h +++ /dev/null @@ -1,64 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends014_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends014_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends014_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends014_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends014_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern const char * cppISteamFriends_SteamFriends014_GetPlayerNickname(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends014_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends014_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends014_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends014_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends014_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends014_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends014_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends014_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends014_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends014_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends014_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends014_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends014_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends014_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends014_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends014_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends014_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends014_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends014_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends014_EnumerateFollowingList(void *, uint32); diff --git a/lsteamclient/cppISteamFriends_SteamFriends015.cpp b/lsteamclient/cppISteamFriends_SteamFriends015.cpp index b84617163..e55b038ce 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends015.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends015.cpp @@ -1,376 +1,579 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends015.h" -const char * cppISteamFriends_SteamFriends015_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends015_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends015_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends015_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends015_SetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends015_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends015_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends015_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends015_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends015_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends015_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends015_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends015_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends015_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends015_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends015_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends015_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends015_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends015_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends015_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends015_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendSteamLevel(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendSteamLevel( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendSteamLevel((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendSteamLevel_params *params = (struct ISteamFriends_SteamFriends015_GetFriendSteamLevel_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendSteamLevel( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +NTSTATUS ISteamFriends_SteamFriends015_GetPlayerNickname( void *args ) { - return ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); + struct ISteamFriends_SteamFriends015_GetPlayerNickname_params *params = (struct ISteamFriends_SteamFriends015_GetPlayerNickname_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetPlayerNickname( params->steamIDPlayer ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendsGroupCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupCount(); + struct ISteamFriends_SteamFriends015_GetFriendsGroupCount_params *params = (struct ISteamFriends_SteamFriends015_GetFriendsGroupCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendsGroupCount( ); + return 0; } -FriendsGroupID_t cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(void *linux_side, int iFG) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupIDByIndex((int)iFG); + struct ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendsGroupIDByIndex( params->iFG ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetFriendsGroupName(void *linux_side, FriendsGroupID_t friendsGroupID) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupName((FriendsGroupID_t)friendsGroupID); + struct ISteamFriends_SteamFriends015_GetFriendsGroupName_params *params = (struct ISteamFriends_SteamFriends015_GetFriendsGroupName_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendsGroupName( params->friendsGroupID ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(void *linux_side, FriendsGroupID_t friendsGroupID) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupMembersCount((FriendsGroupID_t)friendsGroupID); + struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params *params = (struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendsGroupMembersCount( params->friendsGroupID ); + return 0; } -void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(void *linux_side, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupMembersList( void *args ) { - ((ISteamFriends*)linux_side)->GetFriendsGroupMembersList((FriendsGroupID_t)friendsGroupID, (CSteamID *)pOutSteamIDMembers, (int)nMembersCount); + struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params *params = (struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->GetFriendsGroupMembersList( params->friendsGroupID, params->pOutSteamIDMembers, params->nMembersCount ); + return 0; } -bool cppISteamFriends_SteamFriends015_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends015_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends015_HasFriend_params *params = (struct ISteamFriends_SteamFriends015_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends015_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends015_GetClanCount_params *params = (struct ISteamFriends_SteamFriends015_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends015_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_GetClanName_params *params = (struct ISteamFriends_SteamFriends015_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_GetClanTag_params *params = (struct ISteamFriends_SteamFriends015_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends015_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends015_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends015_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends015_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends015_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends015_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends015_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends015_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends015_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends015_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends015_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends015_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends015_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends015_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends015_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL) +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL); + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL ); + return 0; } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID, params->eFlag ); + return 0; } -void cppISteamFriends_SteamFriends015_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends015_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends015_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends015_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends015_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends015_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends015_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends015_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends015_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends015_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends015_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends015_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends015_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends015_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends015_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends015_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends015_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends015_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends015_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends015_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends015_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends015_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends015_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends015_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends015_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends015_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends015_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends015_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends015_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends015_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends015_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends015_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends015_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends015_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends015_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends015_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends015_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends015_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends015_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends015_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends015_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends015_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends015_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends015_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends015_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends015_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends015_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends015_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends015_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends015_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends015_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends015_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends015_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends015_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends015_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends015_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends015_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends015_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends015_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +NTSTATUS ISteamFriends_SteamFriends015_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); + struct ISteamFriends_SteamFriends015_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends015_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->peChatEntryType, params->psteamidChatter ); + return 0; } -bool cppISteamFriends_SteamFriends015_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends015_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends015_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends015_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends015_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends015_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends015_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends015_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends015_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends015_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends015_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends015_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends015_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends015_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends015_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends015_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends015_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends015_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends015_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends015_IsFollowing_params *params = (struct ISteamFriends_SteamFriends015_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends015_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends015_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends015_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends015_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -bool cppISteamFriends_SteamFriends015_IsClanPublic(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_IsClanPublic( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanPublic((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_IsClanPublic_params *params = (struct ISteamFriends_SteamFriends015_IsClanPublic_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsClanPublic( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends015_IsClanOfficialGameGroup( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanOfficialGameGroup((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params *params = (struct ISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params *)args; + struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side; + params->_ret = iface->IsClanOfficialGameGroup( params->steamIDClan ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends015.h b/lsteamclient/cppISteamFriends_SteamFriends015.h deleted file mode 100644 index 5fd94c5ce..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends015.h +++ /dev/null @@ -1,72 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends015_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends015_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends015_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends015_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends015_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends015_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends015_GetFriendSteamLevel(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetPlayerNickname(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetFriendsGroupCount(void *); -extern FriendsGroupID_t cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends015_GetFriendsGroupName(void *, FriendsGroupID_t); -extern int cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(void *, FriendsGroupID_t); -extern void cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(void *, FriendsGroupID_t, CSteamID *, int); -extern bool cppISteamFriends_SteamFriends015_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends015_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends015_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends015_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends015_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(void *, const char *); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends015_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends015_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends015_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends015_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends015_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends015_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends015_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends015_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends015_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends015_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends015_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends015_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends015_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends015_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends015_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends015_EnumerateFollowingList(void *, uint32); -extern bool cppISteamFriends_SteamFriends015_IsClanPublic(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(void *, CSteamID); diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.cpp b/lsteamclient/cppISteamFriends_SteamFriends017.cpp index 20bcda91d..39d7d5252 100644 --- a/lsteamclient/cppISteamFriends_SteamFriends017.cpp +++ b/lsteamclient/cppISteamFriends_SteamFriends017.cpp @@ -1,417 +1,643 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamFriends_SteamFriends017.h" -const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamFriends_SteamFriends017_GetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaName(); + struct ISteamFriends_SteamFriends017_GetPersonaName_params *params = (struct ISteamFriends_SteamFriends017_GetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetPersonaName( ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_SetPersonaName(void *linux_side, const char * pchPersonaName) +NTSTATUS ISteamFriends_SteamFriends017_SetPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName); + struct ISteamFriends_SteamFriends017_SetPersonaName_params *params = (struct ISteamFriends_SteamFriends017_SetPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->SetPersonaName( params->pchPersonaName ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends017_GetPersonaState(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetPersonaState(); + struct ISteamFriends_SteamFriends017_GetPersonaState_params *params = (struct ISteamFriends_SteamFriends017_GetPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetPersonaState( ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendCount(void *linux_side, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags); + struct ISteamFriends_SteamFriends017_GetFriendCount_params *params = (struct ISteamFriends_SteamFriends017_GetFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendCount( params->iFriendFlags ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends017_GetFriendByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetFriendByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetFriendByIndex( params->iFriend, params->iFriendFlags ); + return 0; } -EFriendRelationship cppISteamFriends_SteamFriends017_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRelationship( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendRelationship_params *params = (struct ISteamFriends_SteamFriends017_GetFriendRelationship_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendRelationship( params->steamIDFriend ); + return 0; } -EPersonaState cppISteamFriends_SteamFriends017_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaState( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendPersonaState_params *params = (struct ISteamFriends_SteamFriends017_GetFriendPersonaState_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendPersonaState( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendPersonaName_params *params = (struct ISteamFriends_SteamFriends017_GetFriendPersonaName_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendPersonaName( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends017_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendGamePlayed( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo); + struct ISteamFriends_SteamFriends017_GetFriendGamePlayed_params *params = (struct ISteamFriends_SteamFriends017_GetFriendGamePlayed_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendGamePlayed( params->steamIDFriend, params->pFriendGameInfo ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName); + struct ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params *params = (struct ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendPersonaNameHistory( params->steamIDFriend, params->iPersonaName ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendSteamLevel(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendSteamLevel( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendSteamLevel((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendSteamLevel_params *params = (struct ISteamFriends_SteamFriends017_GetFriendSteamLevel_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendSteamLevel( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer) +NTSTATUS ISteamFriends_SteamFriends017_GetPlayerNickname( void *args ) { - return ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer); + struct ISteamFriends_SteamFriends017_GetPlayerNickname_params *params = (struct ISteamFriends_SteamFriends017_GetPlayerNickname_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetPlayerNickname( params->steamIDPlayer ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendsGroupCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupCount(); + struct ISteamFriends_SteamFriends017_GetFriendsGroupCount_params *params = (struct ISteamFriends_SteamFriends017_GetFriendsGroupCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendsGroupCount( ); + return 0; } -FriendsGroupID_t cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(void *linux_side, int iFG) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupIDByIndex((int)iFG); + struct ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendsGroupIDByIndex( params->iFG ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetFriendsGroupName(void *linux_side, FriendsGroupID_t friendsGroupID) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupName( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupName((FriendsGroupID_t)friendsGroupID); + struct ISteamFriends_SteamFriends017_GetFriendsGroupName_params *params = (struct ISteamFriends_SteamFriends017_GetFriendsGroupName_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendsGroupName( params->friendsGroupID ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(void *linux_side, FriendsGroupID_t friendsGroupID) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendsGroupMembersCount((FriendsGroupID_t)friendsGroupID); + struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params *params = (struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendsGroupMembersCount( params->friendsGroupID ); + return 0; } -void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(void *linux_side, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupMembersList( void *args ) { - ((ISteamFriends*)linux_side)->GetFriendsGroupMembersList((FriendsGroupID_t)friendsGroupID, (CSteamID *)pOutSteamIDMembers, (int)nMembersCount); + struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params *params = (struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->GetFriendsGroupMembersList( params->friendsGroupID, params->pOutSteamIDMembers, params->nMembersCount ); + return 0; } -bool cppISteamFriends_SteamFriends017_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags) +NTSTATUS ISteamFriends_SteamFriends017_HasFriend( void *args ) { - return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags); + struct ISteamFriends_SteamFriends017_HasFriend_params *params = (struct ISteamFriends_SteamFriends017_HasFriend_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->HasFriend( params->steamIDFriend, params->iFriendFlags ); + return 0; } -int cppISteamFriends_SteamFriends017_GetClanCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetClanCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanCount(); + struct ISteamFriends_SteamFriends017_GetClanCount_params *params = (struct ISteamFriends_SteamFriends017_GetClanCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetClanByIndex(void *linux_side, int iClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan); + struct ISteamFriends_SteamFriends017_GetClanByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetClanByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetClanByIndex( params->iClan ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetClanName(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanName( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_GetClanName_params *params = (struct ISteamFriends_SteamFriends017_GetClanName_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanName( params->steamIDClan ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetClanTag(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanTag( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_GetClanTag_params *params = (struct ISteamFriends_SteamFriends017_GetClanTag_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanTag( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends017_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +NTSTATUS ISteamFriends_SteamFriends017_GetClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting); + struct ISteamFriends_SteamFriends017_GetClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends017_GetClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanActivityCounts( params->steamIDClan, params->pnOnline, params->pnInGame, params->pnChatting ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(void *linux_side, CSteamID * psteamIDClans, int cClansToRequest) +NTSTATUS ISteamFriends_SteamFriends017_DownloadClanActivityCounts( void *args ) { - return ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest); + struct ISteamFriends_SteamFriends017_DownloadClanActivityCounts_params *params = (struct ISteamFriends_SteamFriends017_DownloadClanActivityCounts_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->DownloadClanActivityCounts( params->psteamIDClans, params->cClansToRequest ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCountFromSource( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends017_GetFriendCountFromSource_params *params = (struct ISteamFriends_SteamFriends017_GetFriendCountFromSource_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendCountFromSource( params->steamIDSource ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend); + struct ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetFriendFromSourceByIndex( params->steamIDSource, params->iFriend ); + return 0; } -bool cppISteamFriends_SteamFriends017_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource) +NTSTATUS ISteamFriends_SteamFriends017_IsUserInSource( void *args ) { - return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource); + struct ISteamFriends_SteamFriends017_IsUserInSource_params *params = (struct ISteamFriends_SteamFriends017_IsUserInSource_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsUserInSource( params->steamIDUser, params->steamIDSource ); + return 0; } -void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking) +NTSTATUS ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking( void *args ) { - ((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking); + struct ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params *params = (struct ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->SetInGameVoiceSpeaking( params->steamIDUser, params->bSpeaking ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlay(void *linux_side, const char * pchDialog) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlay( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog); + struct ISteamFriends_SteamFriends017_ActivateGameOverlay_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlay_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlay( params->pchDialog ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToUser( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayToUser( params->pchDialog, params->steamID ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL, EActivateGameOverlayToWebPageMode eMode) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL, (EActivateGameOverlayToWebPageMode)eMode); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayToWebPage( params->pchURL, params->eMode ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToStore( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayToStore( params->nAppID, params->eFlag ); + return 0; } -void cppISteamFriends_SteamFriends017_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith) +NTSTATUS ISteamFriends_SteamFriends017_SetPlayedWith( void *args ) { - ((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith); + struct ISteamFriends_SteamFriends017_SetPlayedWith_params *params = (struct ISteamFriends_SteamFriends017_SetPlayedWith_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->SetPlayedWith( params->steamIDUserPlayedWith ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayInviteDialog( params->steamIDLobby ); + return 0; } -int cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetSmallFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetSmallFriendAvatar_params *params = (struct ISteamFriends_SteamFriends017_GetSmallFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetSmallFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetMediumFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetMediumFriendAvatar_params *params = (struct ISteamFriends_SteamFriends017_GetMediumFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetMediumFriendAvatar( params->steamIDFriend ); + return 0; } -int cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetLargeFriendAvatar( void *args ) { - return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetLargeFriendAvatar_params *params = (struct ISteamFriends_SteamFriends017_GetLargeFriendAvatar_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetLargeFriendAvatar( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends017_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly) +NTSTATUS ISteamFriends_SteamFriends017_RequestUserInformation( void *args ) { - return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly); + struct ISteamFriends_SteamFriends017_RequestUserInformation_params *params = (struct ISteamFriends_SteamFriends017_RequestUserInformation_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->RequestUserInformation( params->steamIDUser, params->bRequireNameOnly ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_RequestClanOfficerList( void *args ) { - return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_RequestClanOfficerList_params *params = (struct ISteamFriends_SteamFriends017_RequestClanOfficerList_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->RequestClanOfficerList( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetClanOwner(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanOwner( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_GetClanOwner_params *params = (struct ISteamFriends_SteamFriends017_GetClanOwner_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetClanOwner( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends017_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanOfficerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_GetClanOfficerCount_params *params = (struct ISteamFriends_SteamFriends017_GetClanOfficerCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanOfficerCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer) +NTSTATUS ISteamFriends_SteamFriends017_GetClanOfficerByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer); + struct ISteamFriends_SteamFriends017_GetClanOfficerByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetClanOfficerByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetClanOfficerByIndex( params->steamIDClan, params->iOfficer ); + return 0; } -uint32 cppISteamFriends_SteamFriends017_GetUserRestrictions(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetUserRestrictions( void *args ) { - return ((ISteamFriends*)linux_side)->GetUserRestrictions(); + struct ISteamFriends_SteamFriends017_GetUserRestrictions_params *params = (struct ISteamFriends_SteamFriends017_GetUserRestrictions_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetUserRestrictions( ); + return 0; } -bool cppISteamFriends_SteamFriends017_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamFriends_SteamFriends017_SetRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue); + struct ISteamFriends_SteamFriends017_SetRichPresence_params *params = (struct ISteamFriends_SteamFriends017_SetRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->SetRichPresence( params->pchKey, params->pchValue ); + return 0; } -void cppISteamFriends_SteamFriends017_ClearRichPresence(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_ClearRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->ClearRichPresence(); + struct ISteamFriends_SteamFriends017_ClearRichPresence_params *params = (struct ISteamFriends_SteamFriends017_ClearRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ClearRichPresence( ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresence( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey); + struct ISteamFriends_SteamFriends017_GetFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends017_GetFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendRichPresence( params->steamIDFriend, params->pchKey ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params *params = (struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyCount( params->steamIDFriend ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey); + struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendRichPresenceKeyByIndex( params->steamIDFriend, params->iKey ); + return 0; } -void cppISteamFriends_SteamFriends017_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_RequestFriendRichPresence( void *args ) { - ((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_RequestFriendRichPresence_params *params = (struct ISteamFriends_SteamFriends017_RequestFriendRichPresence_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->RequestFriendRichPresence( params->steamIDFriend ); + return 0; } -bool cppISteamFriends_SteamFriends017_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends017_InviteUserToGame( void *args ) { - return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString); + struct ISteamFriends_SteamFriends017_InviteUserToGame_params *params = (struct ISteamFriends_SteamFriends017_InviteUserToGame_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->InviteUserToGame( params->steamIDFriend, params->pchConnectString ); + return 0; } -int cppISteamFriends_SteamFriends017_GetCoplayFriendCount(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetCoplayFriendCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriendCount(); + struct ISteamFriends_SteamFriends017_GetCoplayFriendCount_params *params = (struct ISteamFriends_SteamFriends017_GetCoplayFriendCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetCoplayFriendCount( ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetCoplayFriend(void *linux_side, int iCoplayFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetCoplayFriend( void *args ) { - return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend); + struct ISteamFriends_SteamFriends017_GetCoplayFriend_params *params = (struct ISteamFriends_SteamFriends017_GetCoplayFriend_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetCoplayFriend( params->iCoplayFriend ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCoplayTime( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendCoplayTime_params *params = (struct ISteamFriends_SteamFriends017_GetFriendCoplayTime_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendCoplayTime( params->steamIDFriend ); + return 0; } -AppId_t cppISteamFriends_SteamFriends017_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCoplayGame( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend); + struct ISteamFriends_SteamFriends017_GetFriendCoplayGame_params *params = (struct ISteamFriends_SteamFriends017_GetFriendCoplayGame_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendCoplayGame( params->steamIDFriend ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_JoinClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_JoinClanChatRoom_params *params = (struct ISteamFriends_SteamFriends017_JoinClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->JoinClanChatRoom( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends017_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_LeaveClanChatRoom( void *args ) { - return ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_LeaveClanChatRoom_params *params = (struct ISteamFriends_SteamFriends017_LeaveClanChatRoom_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->LeaveClanChatRoom( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends017_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_GetClanChatMemberCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_GetClanChatMemberCount_params *params = (struct ISteamFriends_SteamFriends017_GetClanChatMemberCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanChatMemberCount( params->steamIDClan ); + return 0; } -CSteamID cppISteamFriends_SteamFriends017_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser) +NTSTATUS ISteamFriends_SteamFriends017_GetChatMemberByIndex( void *args ) { - return ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser); + struct ISteamFriends_SteamFriends017_GetChatMemberByIndex_params *params = (struct ISteamFriends_SteamFriends017_GetChatMemberByIndex_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + *params->_ret = iface->GetChatMemberByIndex( params->steamIDClan, params->iUser ); + return 0; } -bool cppISteamFriends_SteamFriends017_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char * pchText) +NTSTATUS ISteamFriends_SteamFriends017_SendClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText); + struct ISteamFriends_SteamFriends017_SendClanChatMessage_params *params = (struct ISteamFriends_SteamFriends017_SendClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->SendClanChatMessage( params->steamIDClanChat, params->pchText ); + return 0; } -int cppISteamFriends_SteamFriends017_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +NTSTATUS ISteamFriends_SteamFriends017_GetClanChatMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter); + struct ISteamFriends_SteamFriends017_GetClanChatMessage_params *params = (struct ISteamFriends_SteamFriends017_GetClanChatMessage_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetClanChatMessage( params->steamIDClanChat, params->iMessage, params->prgchText, params->cchTextMax, params->peChatEntryType, params->psteamidChatter ); + return 0; } -bool cppISteamFriends_SteamFriends017_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser) +NTSTATUS ISteamFriends_SteamFriends017_IsClanChatAdmin( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser); + struct ISteamFriends_SteamFriends017_IsClanChatAdmin_params *params = (struct ISteamFriends_SteamFriends017_IsClanChatAdmin_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsClanChatAdmin( params->steamIDClanChat, params->steamIDUser ); + return 0; } -bool cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params *params = (struct ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsClanChatWindowOpenInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->OpenClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat) +NTSTATUS ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam( void *args ) { - return ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat); + struct ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params *params = (struct ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->CloseClanChatWindowInSteam( params->steamIDClanChat ); + return 0; } -bool cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled) +NTSTATUS ISteamFriends_SteamFriends017_SetListenForFriendsMessages( void *args ) { - return ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled); + struct ISteamFriends_SteamFriends017_SetListenForFriendsMessages_params *params = (struct ISteamFriends_SteamFriends017_SetListenForFriendsMessages_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->SetListenForFriendsMessages( params->bInterceptEnabled ); + return 0; } -bool cppISteamFriends_SteamFriends017_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char * pchMsgToSend) +NTSTATUS ISteamFriends_SteamFriends017_ReplyToFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend); + struct ISteamFriends_SteamFriends017_ReplyToFriendMessage_params *params = (struct ISteamFriends_SteamFriends017_ReplyToFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->ReplyToFriendMessage( params->steamIDFriend, params->pchMsgToSend ); + return 0; } -int cppISteamFriends_SteamFriends017_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamFriends_SteamFriends017_GetFriendMessage( void *args ) { - return ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamFriends_SteamFriends017_GetFriendMessage_params *params = (struct ISteamFriends_SteamFriends017_GetFriendMessage_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFriendMessage( params->steamIDFriend, params->iMessageID, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_GetFollowerCount(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends017_GetFollowerCount( void *args ) { - return ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID); + struct ISteamFriends_SteamFriends017_GetFollowerCount_params *params = (struct ISteamFriends_SteamFriends017_GetFollowerCount_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetFollowerCount( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_IsFollowing(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends017_IsFollowing( void *args ) { - return ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID); + struct ISteamFriends_SteamFriends017_IsFollowing_params *params = (struct ISteamFriends_SteamFriends017_IsFollowing_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsFollowing( params->steamID ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_EnumerateFollowingList(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamFriends_SteamFriends017_EnumerateFollowingList( void *args ) { - return ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex); + struct ISteamFriends_SteamFriends017_EnumerateFollowingList_params *params = (struct ISteamFriends_SteamFriends017_EnumerateFollowingList_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->EnumerateFollowingList( params->unStartIndex ); + return 0; } -bool cppISteamFriends_SteamFriends017_IsClanPublic(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_IsClanPublic( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanPublic((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_IsClanPublic_params *params = (struct ISteamFriends_SteamFriends017_IsClanPublic_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsClanPublic( params->steamIDClan ); + return 0; } -bool cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamFriends_SteamFriends017_IsClanOfficialGameGroup( void *args ) { - return ((ISteamFriends*)linux_side)->IsClanOfficialGameGroup((CSteamID)steamIDClan); + struct ISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params *params = (struct ISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->IsClanOfficialGameGroup( params->steamIDClan ); + return 0; } -int cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(void *linux_side) +NTSTATUS ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages( void *args ) { - return ((ISteamFriends*)linux_side)->GetNumChatsWithUnreadPriorityMessages(); + struct ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params *params = (struct ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetNumChatsWithUnreadPriorityMessages( ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayRemotePlayTogetherInviteDialog((CSteamID)steamIDLobby); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayRemotePlayTogetherInviteDialog( params->steamIDLobby ); + return 0; } -bool cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(void *linux_side, const char * pchProtocol) +NTSTATUS ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser( void *args ) { - return ((ISteamFriends*)linux_side)->RegisterProtocolInOverlayBrowser((const char *)pchProtocol); + struct ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params *params = (struct ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->RegisterProtocolInOverlayBrowser( params->pchProtocol ); + return 0; } -void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(void *linux_side, const char * pchConnectString) +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString( void *args ) { - ((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialogConnectString((const char *)pchConnectString); + struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + iface->ActivateGameOverlayInviteDialogConnectString( params->pchConnectString ); + return 0; } -SteamAPICall_t cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(void *linux_side, CSteamID steamID) +NTSTATUS ISteamFriends_SteamFriends017_RequestEquippedProfileItems( void *args ) { - return ((ISteamFriends*)linux_side)->RequestEquippedProfileItems((CSteamID)steamID); + struct ISteamFriends_SteamFriends017_RequestEquippedProfileItems_params *params = (struct ISteamFriends_SteamFriends017_RequestEquippedProfileItems_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->RequestEquippedProfileItems( params->steamID ); + return 0; } -bool cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType) +NTSTATUS ISteamFriends_SteamFriends017_BHasEquippedProfileItem( void *args ) { - return ((ISteamFriends*)linux_side)->BHasEquippedProfileItem((CSteamID)steamID, (ECommunityProfileItemType)itemType); + struct ISteamFriends_SteamFriends017_BHasEquippedProfileItem_params *params = (struct ISteamFriends_SteamFriends017_BHasEquippedProfileItem_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->BHasEquippedProfileItem( params->steamID, params->itemType ); + return 0; } -const char * cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +NTSTATUS ISteamFriends_SteamFriends017_GetProfileItemPropertyString( void *args ) { - return ((ISteamFriends*)linux_side)->GetProfileItemPropertyString((CSteamID)steamID, (ECommunityProfileItemType)itemType, (ECommunityProfileItemProperty)prop); + struct ISteamFriends_SteamFriends017_GetProfileItemPropertyString_params *params = (struct ISteamFriends_SteamFriends017_GetProfileItemPropertyString_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetProfileItemPropertyString( params->steamID, params->itemType, params->prop ); + return 0; } -uint32 cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(void *linux_side, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +NTSTATUS ISteamFriends_SteamFriends017_GetProfileItemPropertyUint( void *args ) { - return ((ISteamFriends*)linux_side)->GetProfileItemPropertyUint((CSteamID)steamID, (ECommunityProfileItemType)itemType, (ECommunityProfileItemProperty)prop); + struct ISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params *params = (struct ISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params *)args; + struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side; + params->_ret = iface->GetProfileItemPropertyUint( params->steamID, params->itemType, params->prop ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamFriends_SteamFriends017.h b/lsteamclient/cppISteamFriends_SteamFriends017.h deleted file mode 100644 index 40905b5c8..000000000 --- a/lsteamclient/cppISteamFriends_SteamFriends017.h +++ /dev/null @@ -1,80 +0,0 @@ -extern const char * cppISteamFriends_SteamFriends017_GetPersonaName(void *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_SetPersonaName(void *, const char *); -extern EPersonaState cppISteamFriends_SteamFriends017_GetPersonaState(void *); -extern int cppISteamFriends_SteamFriends017_GetFriendCount(void *, int); -extern CSteamID cppISteamFriends_SteamFriends017_GetFriendByIndex(void *, int, int); -extern EFriendRelationship cppISteamFriends_SteamFriends017_GetFriendRelationship(void *, CSteamID); -extern EPersonaState cppISteamFriends_SteamFriends017_GetFriendPersonaState(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetFriendPersonaName(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_GetFriendGamePlayed(void *, CSteamID, FriendGameInfo_t *); -extern const char * cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends017_GetFriendSteamLevel(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetPlayerNickname(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetFriendsGroupCount(void *); -extern FriendsGroupID_t cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends017_GetFriendsGroupName(void *, FriendsGroupID_t); -extern int cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(void *, FriendsGroupID_t); -extern void cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(void *, FriendsGroupID_t, CSteamID *, int); -extern bool cppISteamFriends_SteamFriends017_HasFriend(void *, CSteamID, int); -extern int cppISteamFriends_SteamFriends017_GetClanCount(void *); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanByIndex(void *, int); -extern const char * cppISteamFriends_SteamFriends017_GetClanName(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetClanTag(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_GetClanActivityCounts(void *, CSteamID, int *, int *, int *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(void *, CSteamID *, int); -extern int cppISteamFriends_SteamFriends017_GetFriendCountFromSource(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends017_IsUserInSource(void *, CSteamID, CSteamID); -extern void cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(void *, CSteamID, bool); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlay(void *, const char *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(void *, const char *, CSteamID); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(void *, const char *, EActivateGameOverlayToWebPageMode); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(void *, AppId_t, EOverlayToStoreFlag); -extern void cppISteamFriends_SteamFriends017_SetPlayedWith(void *, CSteamID); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_RequestUserInformation(void *, CSteamID, bool); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_RequestClanOfficerList(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanOwner(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetClanOfficerCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(void *, CSteamID, int); -extern uint32 cppISteamFriends_SteamFriends017_GetUserRestrictions(void *); -extern bool cppISteamFriends_SteamFriends017_SetRichPresence(void *, const char *, const char *); -extern void cppISteamFriends_SteamFriends017_ClearRichPresence(void *); -extern const char * cppISteamFriends_SteamFriends017_GetFriendRichPresence(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(void *, CSteamID); -extern const char * cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(void *, CSteamID, int); -extern void cppISteamFriends_SteamFriends017_RequestFriendRichPresence(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_InviteUserToGame(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetCoplayFriendCount(void *); -extern CSteamID cppISteamFriends_SteamFriends017_GetCoplayFriend(void *, int); -extern int cppISteamFriends_SteamFriends017_GetFriendCoplayTime(void *, CSteamID); -extern AppId_t cppISteamFriends_SteamFriends017_GetFriendCoplayGame(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_JoinClanChatRoom(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_LeaveClanChatRoom(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetClanChatMemberCount(void *, CSteamID); -extern CSteamID cppISteamFriends_SteamFriends017_GetChatMemberByIndex(void *, CSteamID, int); -extern bool cppISteamFriends_SteamFriends017_SendClanChatMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetClanChatMessage(void *, CSteamID, int, void *, int, EChatEntryType *, CSteamID *); -extern bool cppISteamFriends_SteamFriends017_IsClanChatAdmin(void *, CSteamID, CSteamID); -extern bool cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(void *, bool); -extern bool cppISteamFriends_SteamFriends017_ReplyToFriendMessage(void *, CSteamID, const char *); -extern int cppISteamFriends_SteamFriends017_GetFriendMessage(void *, CSteamID, int, void *, int, EChatEntryType *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_GetFollowerCount(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_IsFollowing(void *, CSteamID); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_EnumerateFollowingList(void *, uint32); -extern bool cppISteamFriends_SteamFriends017_IsClanPublic(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(void *, CSteamID); -extern int cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(void *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(void *, const char *); -extern void cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(void *, const char *); -extern SteamAPICall_t cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(void *, CSteamID); -extern bool cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(void *, CSteamID, ECommunityProfileItemType); -extern const char * cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(void *, CSteamID, ECommunityProfileItemType, ECommunityProfileItemProperty); -extern uint32 cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(void *, CSteamID, ECommunityProfileItemType, ECommunityProfileItemProperty); diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp index 146f88ff2..80e976c3e 100644 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp +++ b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.cpp @@ -1,33 +1,27 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamGameCoordinator_SteamGameCoordinator001.h" -EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *linux_side, uint32 unMsgType, const void * pubData, uint32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_SendMessage( void *args ) { - return ((ISteamGameCoordinator*)linux_side)->SendMessage((uint32)unMsgType, (const void *)pubData, (uint32)cubData); + struct ISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params *params = (struct ISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params *)args; + struct u_ISteamGameCoordinator_SteamGameCoordinator001 *iface = (struct u_ISteamGameCoordinator_SteamGameCoordinator001 *)params->linux_side; + params->_ret = iface->SendMessage( params->unMsgType, params->pubData, params->cubData ); + return 0; } -bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *linux_side, uint32 * pcubMsgSize) +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable( void *args ) { - return ((ISteamGameCoordinator*)linux_side)->IsMessageAvailable((uint32 *)pcubMsgSize); + struct ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params *params = (struct ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params *)args; + struct u_ISteamGameCoordinator_SteamGameCoordinator001 *iface = (struct u_ISteamGameCoordinator_SteamGameCoordinator001 *)params->linux_side; + params->_ret = iface->IsMessageAvailable( params->pcubMsgSize ); + return 0; } -EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *linux_side, uint32 * punMsgType, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage( void *args ) { - return ((ISteamGameCoordinator*)linux_side)->RetrieveMessage((uint32 *)punMsgType, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params *params = (struct ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params *)args; + struct u_ISteamGameCoordinator_SteamGameCoordinator001 *iface = (struct u_ISteamGameCoordinator_SteamGameCoordinator001 *)params->linux_side; + params->_ret = iface->RetrieveMessage( params->punMsgType, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h b/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h deleted file mode 100644 index c4a710841..000000000 --- a/lsteamclient/cppISteamGameCoordinator_SteamGameCoordinator001.h +++ /dev/null @@ -1,3 +0,0 @@ -extern EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(void *, uint32, const void *, uint32); -extern bool cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(void *, uint32 *); -extern EGCResults cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(void *, uint32 *, void *, uint32, uint32 *); diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp index 6004698d5..2d0261472 100644 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp +++ b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.cpp @@ -1,87 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamGameSearch_SteamMatchGameSearch001.h" -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *linux_side, const char * pchKeyToFind, const char * pchValuesToFind) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( void *args ) { - return ((ISteamGameSearch*)linux_side)->AddGameSearchParams((const char *)pchKeyToFind, (const char *)pchValuesToFind); + struct ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->AddGameSearchParams( params->pchKeyToFind, params->pchValuesToFind ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(void *linux_side, CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( void *args ) { - return ((ISteamGameSearch*)linux_side)->SearchForGameWithLobby((CSteamID)steamIDLobby, (int)nPlayerMin, (int)nPlayerMax); + struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->SearchForGameWithLobby( params->steamIDLobby, params->nPlayerMin, params->nPlayerMax ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(void *linux_side, int nPlayerMin, int nPlayerMax) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( void *args ) { - return ((ISteamGameSearch*)linux_side)->SearchForGameSolo((int)nPlayerMin, (int)nPlayerMax); + struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->SearchForGameSolo( params->nPlayerMin, params->nPlayerMax ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(void *linux_side) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_AcceptGame( void *args ) { - return ((ISteamGameSearch*)linux_side)->AcceptGame(); + struct ISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->AcceptGame( ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(void *linux_side) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_DeclineGame( void *args ) { - return ((ISteamGameSearch*)linux_side)->DeclineGame(); + struct ISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->DeclineGame( ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(void *linux_side, CSteamID steamIDHost, char * pchConnectionDetails, int cubConnectionDetails) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( void *args ) { - return ((ISteamGameSearch*)linux_side)->RetrieveConnectionDetails((CSteamID)steamIDHost, (char *)pchConnectionDetails, (int)cubConnectionDetails); + struct ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->RetrieveConnectionDetails( params->steamIDHost, params->pchConnectionDetails, params->cubConnectionDetails ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(void *linux_side) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( void *args ) { - return ((ISteamGameSearch*)linux_side)->EndGameSearch(); + struct ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->EndGameSearch( ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(void *linux_side, const char * pchKey, const char * pchValue) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( void *args ) { - return ((ISteamGameSearch*)linux_side)->SetGameHostParams((const char *)pchKey, (const char *)pchValue); + struct ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->SetGameHostParams( params->pchKey, params->pchValue ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(void *linux_side, const char * pchConnectionDetails, int cubConnectionDetails) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( void *args ) { - return ((ISteamGameSearch*)linux_side)->SetConnectionDetails((const char *)pchConnectionDetails, (int)cubConnectionDetails); + struct ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->SetConnectionDetails( params->pchConnectionDetails, params->cubConnectionDetails ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(void *linux_side, int nPlayerMin, int nPlayerMax, int nMaxTeamSize) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( void *args ) { - return ((ISteamGameSearch*)linux_side)->RequestPlayersForGame((int)nPlayerMin, (int)nPlayerMax, (int)nMaxTeamSize); + struct ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->RequestPlayersForGame( params->nPlayerMin, params->nPlayerMax, params->nMaxTeamSize ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(void *linux_side, uint64 ullUniqueGameID) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( void *args ) { - return ((ISteamGameSearch*)linux_side)->HostConfirmGameStart((uint64)ullUniqueGameID); + struct ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->HostConfirmGameStart( params->ullUniqueGameID ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(void *linux_side) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( void *args ) { - return ((ISteamGameSearch*)linux_side)->CancelRequestPlayersForGame(); + struct ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->CancelRequestPlayersForGame( ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(void *linux_side, uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( void *args ) { - return ((ISteamGameSearch*)linux_side)->SubmitPlayerResult((uint64)ullUniqueGameID, (CSteamID)steamIDPlayer, (EPlayerResult_t)EPlayerResult); + struct ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->SubmitPlayerResult( params->ullUniqueGameID, params->steamIDPlayer, params->EPlayerResult ); + return 0; } -EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGame(void *linux_side, uint64 ullUniqueGameID) +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_EndGame( void *args ) { - return ((ISteamGameSearch*)linux_side)->EndGame((uint64)ullUniqueGameID); + struct ISteamGameSearch_SteamMatchGameSearch001_EndGame_params *params = (struct ISteamGameSearch_SteamMatchGameSearch001_EndGame_params *)args; + struct u_ISteamGameSearch_SteamMatchGameSearch001 *iface = (struct u_ISteamGameSearch_SteamMatchGameSearch001 *)params->linux_side; + params->_ret = iface->EndGame( params->ullUniqueGameID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h b/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h deleted file mode 100644 index 343b72d7d..000000000 --- a/lsteamclient/cppISteamGameSearch_SteamMatchGameSearch001.h +++ /dev/null @@ -1,14 +0,0 @@ -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(void *, const char *, const char *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(void *, CSteamID, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(void *, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(void *, CSteamID, char *, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(void *, const char *, const char *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(void *, const char *, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(void *, int, int, int); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(void *, uint64); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(void *); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(void *, uint64, CSteamID, EPlayerResult_t); -extern EGameSearchErrorCode_t cppISteamGameSearch_SteamMatchGameSearch001_EndGame(void *, uint64); diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp index ab8e3f8a5..62da6692c 100644 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp +++ b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.cpp @@ -1,68 +1,83 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamgameserverstats.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamGameServerStats_SteamGameServerStats001.h" -SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *linux_side, CSteamID steamIDUser) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_RequestUserStats( void *args ) { - return ((ISteamGameServerStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserStat( void *args ) { - return ((ISteamGameServerStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2( void *args ) { - return ((ISteamGameServerStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement( void *args ) { - return ((ISteamGameServerStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 nData) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserStat( void *args ) { - return ((ISteamGameServerStats*)linux_side)->SetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32)nData); + struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->SetUserStat( params->steamIDUser, params->pchName, params->nData ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float fData) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2( void *args ) { - return ((ISteamGameServerStats*)linux_side)->SetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float)fData); + struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->SetUserStat( params->steamIDUser, params->pchName, params->fData ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(void *linux_side, CSteamID steamIDUser, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat( void *args ) { - return ((ISteamGameServerStats*)linux_side)->UpdateUserAvgRateStat((CSteamID)steamIDUser, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->UpdateUserAvgRateStat( params->steamIDUser, params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement( void *args ) { - return ((ISteamGameServerStats*)linux_side)->SetUserAchievement((CSteamID)steamIDUser, (const char *)pchName); + struct ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->SetUserAchievement( params->steamIDUser, params->pchName ); + return 0; } -bool cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement( void *args ) { - return ((ISteamGameServerStats*)linux_side)->ClearUserAchievement((CSteamID)steamIDUser, (const char *)pchName); + struct ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->ClearUserAchievement( params->steamIDUser, params->pchName ); + return 0; } -SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_StoreUserStats( void *args ) { - return ((ISteamGameServerStats*)linux_side)->StoreUserStats((CSteamID)steamIDUser); + struct ISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params *params = (struct ISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params *)args; + struct u_ISteamGameServerStats_SteamGameServerStats001 *iface = (struct u_ISteamGameServerStats_SteamGameServerStats001 *)params->linux_side; + params->_ret = iface->StoreUserStats( params->steamIDUser ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h b/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h deleted file mode 100644 index 712e95f2c..000000000 --- a/lsteamclient/cppISteamGameServerStats_SteamGameServerStats001.h +++ /dev/null @@ -1,10 +0,0 @@ -extern SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(void *, CSteamID); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(void *, CSteamID, const char *, int32); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(void *, CSteamID, const char *, float); -extern bool cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(void *, CSteamID, const char *, float, double); -extern bool cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(void *, CSteamID, const char *); -extern bool cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(void *, CSteamID, const char *); -extern SteamAPICall_t cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(void *, CSteamID); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp index 5e129f343..6e202e28d 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer002.cpp @@ -1,122 +1,171 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099x/steam_api.h" -#include "steamworks_sdk_099x/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099x -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer002.h" -void cppISteamGameServer_SteamGameServer002_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer002_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer002_LogOn_params *params = (struct ISteamGameServer_SteamGameServer002_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer002_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer002_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer002_LogOff_params *params = (struct ISteamGameServer_SteamGameServer002_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer002_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer002_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer002_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(void *linux_side, uint32 ucSpawn) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetSpawnCount( void *args ) { - ((ISteamGameServer*)linux_side)->GSSetSpawnCount((uint32)ucSpawn); + struct ISteamGameServer_SteamGameServer002_GSSetSpawnCount_params *params = (struct ISteamGameServer_SteamGameServer002_GSSetSpawnCount_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + iface->GSSetSpawnCount( params->ucSpawn ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *linux_side, void * pvEncryptionKey, uint32 * pcbEncryptionKey, uint32 cbMaxEncryptionKey) +NTSTATUS ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient( void *args ) { - return ((ISteamGameServer*)linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient((void *)pvEncryptionKey, (uint32 *)pcbEncryptionKey, (uint32)cbMaxEncryptionKey); + struct ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params = (struct ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSGetSteam2GetEncryptionKeyToSendToNewClient( params->pvEncryptionKey, params->pcbEncryptionKey, params->cbMaxEncryptionKey ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(void *linux_side, uint32 unUserID, const void * pvRawKey, uint32 unKeyLen, uint32 unIPPublic, uint16 usPort, const void * pvCookie, uint32 cubCookie) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendSteam2UserConnect((uint32)unUserID, (const void *)pvRawKey, (uint32)unKeyLen, (uint32)unIPPublic, (uint16)usPort, (const void *)pvCookie, (uint32)cubCookie); + struct ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params *params = (struct ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSendSteam2UserConnect( params->unUserID, params->pvRawKey, params->unKeyLen, params->unIPPublic, params->usPort, params->pvCookie, params->cubCookie ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(void *linux_side, CSteamID steamID, uint32 unIPPublic, const void * pvCookie, uint32 cubCookie) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendSteam3UserConnect((CSteamID)steamID, (uint32)unIPPublic, (const void *)pvCookie, (uint32)cubCookie); + struct ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params *params = (struct ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSendSteam3UserConnect( params->steamID, params->unIPPublic, params->pvCookie, params->cubCookie ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(void *linux_side, uint32 unUserID) +NTSTATUS ISteamGameServer_SteamGameServer002_GSRemoveUserConnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSRemoveUserConnect((uint32)unUserID); + struct ISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params *params = (struct ISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSRemoveUserConnect( params->unUserID ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(void *linux_side, CSteamID steamID, uint32 unUserID) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendUserDisconnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendUserDisconnect((CSteamID)steamID, (uint32)unUserID); + struct ISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSendUserDisconnect( params->steamID, params->unUserID ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(void *linux_side, CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendUserStatusResponse((CSteamID)steamID, (int)nSecondsConnected, (int)nSecondsSinceLast); + struct ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params *params = (struct ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSendUserStatusResponse( params->steamID, params->nSecondsConnected, params->nSecondsSinceLast ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(void *linux_side, int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char * pchServerName, const char * pchGameDir, const char * pchMapName, const char * pchVersion) +NTSTATUS ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->Obsolete_GSSetStatus((int32)nAppIdServed, (uint32)unServerFlags, (int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (int)unGamePort, (const char *)pchServerName, (const char *)pchGameDir, (const char *)pchMapName, (const char *)pchVersion); + struct ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params *params = (struct ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->Obsolete_GSSetStatus( params->nAppIdServed, params->unServerFlags, params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->unGamePort, params->pchServerName, params->pchGameDir, params->pchMapName, params->pchVersion ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->GSUpdateStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer002_GSUpdateStatus_params *params = (struct ISteamGameServer_SteamGameServer002_GSUpdateStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSUpdateStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pchMapName ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer002_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer002_BSecure_params *params = (struct ISteamGameServer_SteamGameServer002_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer002_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer002_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer002_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer002_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint32 unGamePort, const char * pchGameDir, const char * pchVersion) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint32)unGamePort, (const char *)pchGameDir, (const char *)pchVersion); + struct ISteamGameServer_SteamGameServer002_GSSetServerType_params *params = (struct ISteamGameServer_SteamGameServer002_GSSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSetServerType( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->pchGameDir, params->pchVersion ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSetServerType2(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetServerType2( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSetServerType2((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer002_GSSetServerType2_params *params = (struct ISteamGameServer_SteamGameServer002_GSSetServerType2_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSetServerType2( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateStatus2( void *args ) { - return ((ISteamGameServer*)linux_side)->GSUpdateStatus2((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer002_GSUpdateStatus2_params *params = (struct ISteamGameServer_SteamGameServer002_GSUpdateStatus2_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSUpdateStatus2( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(void *linux_side, CSteamID * pSteamID) +NTSTATUS ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser( void *args ) { - return ((ISteamGameServer*)linux_side)->GSCreateUnauthenticatedUser((CSteamID *)pSteamID); + struct ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params *params = (struct ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSCreateUnauthenticatedUser( params->pSteamID ); + return 0; } -bool cppISteamGameServer_SteamGameServer002_GSSetUserData(void *linux_side, CSteamID steamID, const char * pPlayerName, uint32 nFrags) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSetUserData((CSteamID)steamID, (const char *)pPlayerName, (uint32)nFrags); + struct ISteamGameServer_SteamGameServer002_GSSetUserData_params *params = (struct ISteamGameServer_SteamGameServer002_GSSetUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + params->_ret = iface->GSSetUserData( params->steamID, params->pPlayerName, params->nFrags ); + return 0; } -void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->GSUpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + iface->GSUpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer002_GSSetGameType(void *linux_side, const char * pchType) +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->GSSetGameType((const char *)pchType); + struct ISteamGameServer_SteamGameServer002_GSSetGameType_params *params = (struct ISteamGameServer_SteamGameServer002_GSSetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer002 *iface = (struct u_ISteamGameServer_SteamGameServer002 *)params->linux_side; + iface->GSSetGameType( params->pchType ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer002.h b/lsteamclient/cppISteamGameServer_SteamGameServer002.h deleted file mode 100644 index e6564eaaa..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer002.h +++ /dev/null @@ -1,21 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer002_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer002_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer002_BLoggedOn(void *); -extern void cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *, void *, uint32 *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(void *, uint32, const void *, uint32, uint32, uint16, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(void *, CSteamID, uint32, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(void *, CSteamID, uint32); -extern bool cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(void *, CSteamID, int, int); -extern bool cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(void *, int32, uint32, int, int, int, int, const char *, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus(void *, int, int, int, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer002_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetServerType(void *, int32, uint32, uint32, uint32, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetServerType2(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern bool cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(void *, int, int, int, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(void *, CSteamID *); -extern bool cppISteamGameServer_SteamGameServer002_GSSetUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer002_GSSetGameType(void *, const char *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp index f066b358e..f580d2eef 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer003.cpp @@ -1,102 +1,139 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#include "steamworks_sdk_099y/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer003.h" -void cppISteamGameServer_SteamGameServer003_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer003_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer003_LogOn_params *params = (struct ISteamGameServer_SteamGameServer003_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer003_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer003_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer003_LogOff_params *params = (struct ISteamGameServer_SteamGameServer003_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer003_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer003_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer003_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer003_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer003_BSecure_params *params = (struct ISteamGameServer_SteamGameServer003_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer003_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer003_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer003_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer003_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *linux_side, void * pvEncryptionKey, uint32 * pcbEncryptionKey, uint32 cbMaxEncryptionKey) +NTSTATUS ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient( void *args ) { - return ((ISteamGameServer*)linux_side)->GSGetSteam2GetEncryptionKeyToSendToNewClient((void *)pvEncryptionKey, (uint32 *)pcbEncryptionKey, (uint32)cbMaxEncryptionKey); + struct ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *params = (struct ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSGetSteam2GetEncryptionKeyToSendToNewClient( params->pvEncryptionKey, params->pcbEncryptionKey, params->cbMaxEncryptionKey ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSSendUserConnect(void *linux_side, uint32 unUserID, uint32 unIPPublic, uint16 usPort, const void * pvCookie, uint32 cubCookie) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSendUserConnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendUserConnect((uint32)unUserID, (uint32)unIPPublic, (uint16)usPort, (const void *)pvCookie, (uint32)cubCookie); + struct ISteamGameServer_SteamGameServer003_GSSendUserConnect_params *params = (struct ISteamGameServer_SteamGameServer003_GSSendUserConnect_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSSendUserConnect( params->unUserID, params->unIPPublic, params->usPort, params->pvCookie, params->cubCookie ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(void *linux_side, uint32 unUserID) +NTSTATUS ISteamGameServer_SteamGameServer003_GSRemoveUserConnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSRemoveUserConnect((uint32)unUserID); + struct ISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params *params = (struct ISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSRemoveUserConnect( params->unUserID ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(void *linux_side, CSteamID steamID, uint32 unUserID) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSendUserDisconnect( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSendUserDisconnect((CSteamID)steamID, (uint32)unUserID); + struct ISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSSendUserDisconnect( params->steamID, params->unUserID ); + return 0; } -void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(void *linux_side, uint32 ucSpawn) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetSpawnCount( void *args ) { - ((ISteamGameServer*)linux_side)->GSSetSpawnCount((uint32)ucSpawn); + struct ISteamGameServer_SteamGameServer003_GSSetSpawnCount_params *params = (struct ISteamGameServer_SteamGameServer003_GSSetSpawnCount_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + iface->GSSetSpawnCount( params->ucSpawn ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer003_GSSetServerType_params *params = (struct ISteamGameServer_SteamGameServer003_GSSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSSetServerType( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSUpdateStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer003_GSUpdateStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->GSUpdateStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer003_GSUpdateStatus_params *params = (struct ISteamGameServer_SteamGameServer003_GSUpdateStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSUpdateStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(void *linux_side, CSteamID * pSteamID) +NTSTATUS ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser( void *args ) { - return ((ISteamGameServer*)linux_side)->GSCreateUnauthenticatedUser((CSteamID *)pSteamID); + struct ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params *params = (struct ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSCreateUnauthenticatedUser( params->pSteamID ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSSetUserData(void *linux_side, CSteamID steamID, const char * pPlayerName, uint32 nFrags) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->GSSetUserData((CSteamID)steamID, (const char *)pPlayerName, (uint32)nFrags); + struct ISteamGameServer_SteamGameServer003_GSSetUserData_params *params = (struct ISteamGameServer_SteamGameServer003_GSSetUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSSetUserData( params->steamID, params->pPlayerName, params->nFrags ); + return 0; } -void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->GSUpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + iface->GSUpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer003_GSSetGameType(void *linux_side, const char * pchType) +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->GSSetGameType((const char *)pchType); + struct ISteamGameServer_SteamGameServer003_GSSetGameType_params *params = (struct ISteamGameServer_SteamGameServer003_GSSetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + iface->GSSetGameType( params->pchType ); + return 0; } -bool cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char * pchAchievementName) +NTSTATUS ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->GSGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); + struct ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer003 *iface = (struct u_ISteamGameServer_SteamGameServer003 *)params->linux_side; + params->_ret = iface->GSGetUserAchievementStatus( params->steamID, params->pchAchievementName ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer003.h b/lsteamclient/cppISteamGameServer_SteamGameServer003.h deleted file mode 100644 index 6922542c0..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer003.h +++ /dev/null @@ -1,17 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer003_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer003_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer003_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer003_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer003_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(void *, void *, uint32 *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSendUserConnect(void *, uint32, uint32, uint16, const void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(void *, CSteamID, uint32); -extern void cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(void *, uint32); -extern bool cppISteamGameServer_SteamGameServer003_GSSetServerType(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern bool cppISteamGameServer_SteamGameServer003_GSUpdateStatus(void *, int, int, int, const char *, const char *, const char *); -extern bool cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(void *, CSteamID *); -extern bool cppISteamGameServer_SteamGameServer003_GSSetUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer003_GSSetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(void *, CSteamID, const char *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp index a3adae643..0a7e844f2 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer004.cpp @@ -1,87 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_100/steam_api.h" -#include "steamworks_sdk_100/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_100 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer004.h" -void cppISteamGameServer_SteamGameServer004_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer004_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer004_LogOn_params *params = (struct ISteamGameServer_SteamGameServer004_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer004_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer004_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer004_LogOff_params *params = (struct ISteamGameServer_SteamGameServer004_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer004_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer004_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer004_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer004_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer004_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer004_BSecure_params *params = (struct ISteamGameServer_SteamGameServer004_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer004_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer004_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer004_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer004_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(void *linux_side, CSteamID steamIDUser, uint32 unIPClient, void * pvAuthBlob, uint32 cubAuthBlobSize) +NTSTATUS ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((CSteamID)steamIDUser, (uint32)unIPClient, (void *)pvAuthBlob, (uint32)cubAuthBlobSize); + struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->SendUserConnectAndAuthenticate( params->steamIDUser, params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer004_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer004_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer004_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer004_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -bool cppISteamGameServer_SteamGameServer004_BSetServerType(void *linux_side, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer004_BSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->BSetServerType((int32)nGameAppId, (uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer004_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer004_BSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + params->_ret = iface->BSetServerType( params->nGameAppId, params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -void cppISteamGameServer_SteamGameServer004_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer004_UpdateServerStatus( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer004_UpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->UpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer004_SetGameType(void *linux_side, const char * pchGameType) +NTSTATUS ISteamGameServer_SteamGameServer004_SetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + struct ISteamGameServer_SteamGameServer004_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer004_SetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + iface->SetGameType( params->pchGameType ); + return 0; } -bool cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char * pchAchievementName) +NTSTATUS ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); + struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer004 *iface = (struct u_ISteamGameServer_SteamGameServer004 *)params->linux_side; + params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer004.h b/lsteamclient/cppISteamGameServer_SteamGameServer004.h deleted file mode 100644 index 40a3dfa2c..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer004.h +++ /dev/null @@ -1,14 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer004_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer004_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer004_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer004_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer004_GetSteamID(void *); -extern void cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(void *, CSteamID, uint32, void *, uint32); -extern CSteamID cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer004_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer004_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer004_BSetServerType(void *, int32, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer004_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer004_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(void *, CSteamID, const char *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp index bb8802954..4ed389035 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer005.cpp @@ -1,87 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102/steam_api.h" -#include "steamworks_sdk_102/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer005.h" -void cppISteamGameServer_SteamGameServer005_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer005_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer005_LogOn_params *params = (struct ISteamGameServer_SteamGameServer005_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer005_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer005_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer005_LogOff_params *params = (struct ISteamGameServer_SteamGameServer005_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer005_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer005_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer005_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer005_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer005_BSecure_params *params = (struct ISteamGameServer_SteamGameServer005_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer005_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer005_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer005_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer005_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer005_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer005_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer005_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer005_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer005_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer005_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer005_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer005_BSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer005_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer005_BSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->BSetServerType( params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -void cppISteamGameServer_SteamGameServer005_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer005_UpdateServerStatus( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer005_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer005_UpdateServerStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer005_UpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->UpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer005_SetGameType(void *linux_side, const char * pchGameType) +NTSTATUS ISteamGameServer_SteamGameServer005_SetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + struct ISteamGameServer_SteamGameServer005_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer005_SetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + iface->SetGameType( params->pchGameType ); + return 0; } -bool cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char * pchAchievementName) +NTSTATUS ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); + struct ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer005 *iface = (struct u_ISteamGameServer_SteamGameServer005 *)params->linux_side; + params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer005.h b/lsteamclient/cppISteamGameServer_SteamGameServer005.h deleted file mode 100644 index f7529104c..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer005.h +++ /dev/null @@ -1,14 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer005_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer005_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer005_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer005_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer005_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer005_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer005_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer005_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer005_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer005_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(void *, CSteamID, const char *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp index 57c1fccc6..a96b94a1c 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer008.cpp @@ -1,102 +1,139 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_104/steam_api.h" -#include "steamworks_sdk_104/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_104 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer008.h" -void cppISteamGameServer_SteamGameServer008_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer008_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer008_LogOn_params *params = (struct ISteamGameServer_SteamGameServer008_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer008_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer008_LogOff_params *params = (struct ISteamGameServer_SteamGameServer008_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer008_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer008_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer008_BSecure_params *params = (struct ISteamGameServer_SteamGameServer008_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer008_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer008_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer008_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer008_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer008_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer008_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer008_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer008_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer008_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer008_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer008_BSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer008_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer008_BSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->BSetServerType( params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -void cppISteamGameServer_SteamGameServer008_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer008_UpdateServerStatus( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer008_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer008_UpdateServerStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer008_UpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->UpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer008_SetGameType(void *linux_side, const char * pchGameType) +NTSTATUS ISteamGameServer_SteamGameServer008_SetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + struct ISteamGameServer_SteamGameServer008_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer008_SetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->SetGameType( params->pchGameType ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char * pchAchievementName) +NTSTATUS ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); + struct ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName ); + return 0; } -void cppISteamGameServer_SteamGameServer008_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer008_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer008_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -bool cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer008_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -uint32 cppISteamGameServer_SteamGameServer008_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer008_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer008_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer008_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer008 *iface = (struct u_ISteamGameServer_SteamGameServer008 *)params->linux_side; + params->_ret = iface->GetPublicIP( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer008.h b/lsteamclient/cppISteamGameServer_SteamGameServer008.h deleted file mode 100644 index 6489c6656..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer008.h +++ /dev/null @@ -1,17 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer008_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer008_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer008_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer008_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer008_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer008_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer008_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer008_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer008_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer008_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(void *, CSteamID, const char *); -extern void cppISteamGameServer_SteamGameServer008_GetGameplayStats(void *); -extern bool cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer008_GetPublicIP(void *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp index 4630765e3..814d0fc09 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer009.cpp @@ -1,112 +1,155 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_107/steam_api.h" -#include "steamworks_sdk_107/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_107 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer009.h" -void cppISteamGameServer_SteamGameServer009_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer009_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer009_LogOn_params *params = (struct ISteamGameServer_SteamGameServer009_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer009_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer009_LogOff_params *params = (struct ISteamGameServer_SteamGameServer009_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer009_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer009_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer009_BSecure_params *params = (struct ISteamGameServer_SteamGameServer009_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer009_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer009_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer009_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer009_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer009_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer009_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer009_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer009_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer009_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer009_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer009_BSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer009_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer009_BSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->BSetServerType( params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -void cppISteamGameServer_SteamGameServer009_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer009_UpdateServerStatus( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer009_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer009_UpdateServerStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer009_UpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->UpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer009_SetGameType(void *linux_side, const char * pchGameType) +NTSTATUS ISteamGameServer_SteamGameServer009_SetGameType( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameType((const char *)pchGameType); + struct ISteamGameServer_SteamGameServer009_SetGameType_params *params = (struct ISteamGameServer_SteamGameServer009_SetGameType_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->SetGameType( params->pchGameType ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(void *linux_side, CSteamID steamID, const char * pchAchievementName) +NTSTATUS ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->BGetUserAchievementStatus((CSteamID)steamID, (const char *)pchAchievementName); + struct ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params *params = (struct ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->BGetUserAchievementStatus( params->steamID, params->pchAchievementName ); + return 0; } -void cppISteamGameServer_SteamGameServer009_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer009_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer009_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -bool cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer009_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -uint32 cppISteamGameServer_SteamGameServer009_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer009_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer009_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer009_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->GetPublicIP( ); + return 0; } -void cppISteamGameServer_SteamGameServer009_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer009_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer009_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer009_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer009_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer009 *iface = (struct u_ISteamGameServer_SteamGameServer009 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer009.h b/lsteamclient/cppISteamGameServer_SteamGameServer009.h deleted file mode 100644 index e6375af60..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer009.h +++ /dev/null @@ -1,19 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer009_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer009_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer009_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer009_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer009_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer009_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer009_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer009_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer009_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer009_SetGameType(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(void *, CSteamID, const char *); -extern void cppISteamGameServer_SteamGameServer009_GetGameplayStats(void *); -extern bool cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer009_GetPublicIP(void *); -extern void cppISteamGameServer_SteamGameServer009_SetGameData(void *, const char *); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(void *, CSteamID, AppId_t); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp index f43f2ac69..11bd305fe 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer010.cpp @@ -1,132 +1,187 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#include "steamworks_sdk_116/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer010.h" -void cppISteamGameServer_SteamGameServer010_LogOn(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer010_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn(); + struct ISteamGameServer_SteamGameServer010_LogOn_params *params = (struct ISteamGameServer_SteamGameServer010_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->LogOn( ); + return 0; } -void cppISteamGameServer_SteamGameServer010_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer010_LogOff_params *params = (struct ISteamGameServer_SteamGameServer010_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer010_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer010_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer010_BSecure_params *params = (struct ISteamGameServer_SteamGameServer010_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer010_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer010_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer010_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer010_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer010_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer010_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer010_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer010_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer010_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer010_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *linux_side, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +NTSTATUS ISteamGameServer_SteamGameServer010_BSetServerType( void *args ) { - return ((ISteamGameServer*)linux_side)->BSetServerType((uint32)unServerFlags, (uint32)unGameIP, (uint16)unGamePort, (uint16)unSpectatorPort, (uint16)usQueryPort, (const char *)pchGameDir, (const char *)pchVersion, (bool)bLANMode); + struct ISteamGameServer_SteamGameServer010_BSetServerType_params *params = (struct ISteamGameServer_SteamGameServer010_BSetServerType_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->BSetServerType( params->unServerFlags, params->unGameIP, params->unGamePort, params->unSpectatorPort, params->usQueryPort, params->pchGameDir, params->pchVersion, params->bLANMode ); + return 0; } -void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *linux_side, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +NTSTATUS ISteamGameServer_SteamGameServer010_UpdateServerStatus( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateServerStatus((int)cPlayers, (int)cPlayersMax, (int)cBotPlayers, (const char *)pchServerName, (const char *)pSpectatorServerName, (const char *)pchMapName); + struct ISteamGameServer_SteamGameServer010_UpdateServerStatus_params *params = (struct ISteamGameServer_SteamGameServer010_UpdateServerStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->UpdateServerStatus( params->cPlayers, params->cPlayersMax, params->cBotPlayers, params->pchServerName, params->pSpectatorServerName, params->pchMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer010_UpdateSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->UpdateSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->UpdateSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer010_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer010_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer010_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer010_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer010_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer010_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer010_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer010_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer010_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer010_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -bool cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer010_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -uint32 cppISteamGameServer_SteamGameServer010_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer010_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer010_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer010_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->GetPublicIP( ); + return 0; } -void cppISteamGameServer_SteamGameServer010_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer010_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer010_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer010_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer010_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamGameServer_SteamGameServer010_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer010_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer010_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer010_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer010_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer010_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer010_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer010_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer010_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer010_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer010_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer010_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer010 *iface = (struct u_ISteamGameServer_SteamGameServer010 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer010.h b/lsteamclient/cppISteamGameServer_SteamGameServer010.h deleted file mode 100644 index f58b7dd4e..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer010.h +++ /dev/null @@ -1,23 +0,0 @@ -extern void cppISteamGameServer_SteamGameServer010_LogOn(void *); -extern void cppISteamGameServer_SteamGameServer010_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer010_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer010_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer010_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer010_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer010_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern bool cppISteamGameServer_SteamGameServer010_BSetServerType(void *, uint32, uint32, uint16, uint16, uint16, const char *, const char *, bool); -extern void cppISteamGameServer_SteamGameServer010_UpdateServerStatus(void *, int, int, int, const char *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer010_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer010_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer010_GetServerReputation(void *); -extern bool cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern uint32 cppISteamGameServer_SteamGameServer010_GetPublicIP(void *); -extern void cppISteamGameServer_SteamGameServer010_SetGameData(void *, const char *); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern HAuthTicket cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer010_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer010_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer010_CancelAuthTicket(void *, HAuthTicket); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp index 5c4f875d0..309d29dd5 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer011.cpp @@ -1,237 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128/steam_api.h" -#include "steamworks_sdk_128/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_128 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer011.h" -bool cppISteamGameServer_SteamGameServer011_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer011_InitGameServer( void *args ) { - return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); + struct ISteamGameServer_SteamGameServer011_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer011_InitGameServer_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetProduct(void *linux_side, const char * pszProduct) +NTSTATUS ISteamGameServer_SteamGameServer011_SetProduct( void *args ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + struct ISteamGameServer_SteamGameServer011_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer011_SetProduct_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetProduct( params->pszProduct ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetGameDescription(void *linux_side, const char * pszGameDescription) +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameDescription( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + struct ISteamGameServer_SteamGameServer011_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameDescription_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetGameDescription( params->pszGameDescription ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetModDir(void *linux_side, const char * pszModDir) +NTSTATUS ISteamGameServer_SteamGameServer011_SetModDir( void *args ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + struct ISteamGameServer_SteamGameServer011_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer011_SetModDir_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetModDir( params->pszModDir ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetDedicatedServer(void *linux_side, bool bDedicated) +NTSTATUS ISteamGameServer_SteamGameServer011_SetDedicatedServer( void *args ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetDedicatedServer( params->bDedicated ); + return 0; } -void cppISteamGameServer_SteamGameServer011_LogOn(void *linux_side, const char * pszAccountName, const char * pszPassword) +NTSTATUS ISteamGameServer_SteamGameServer011_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszAccountName, (const char *)pszPassword); + struct ISteamGameServer_SteamGameServer011_LogOn_params *params = (struct ISteamGameServer_SteamGameServer011_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->LogOn( params->pszAccountName, params->pszPassword ); + return 0; } -void cppISteamGameServer_SteamGameServer011_LogOnAnonymous(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_LogOnAnonymous( void *args ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->LogOnAnonymous( ); + return 0; } -void cppISteamGameServer_SteamGameServer011_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer011_LogOff_params *params = (struct ISteamGameServer_SteamGameServer011_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer011_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer011_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer011_BSecure_params *params = (struct ISteamGameServer_SteamGameServer011_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer011_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer011_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer011_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_WasRestartRequested(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_WasRestartRequested( void *args ) { - return ((ISteamGameServer*)linux_side)->WasRestartRequested(); + struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +NTSTATUS ISteamGameServer_SteamGameServer011_SetMaxPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetMaxPlayerCount( params->cPlayersMax ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(void *linux_side, int cBotplayers) +NTSTATUS ISteamGameServer_SteamGameServer011_SetBotPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetBotPlayerCount( params->cBotplayers ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetServerName(void *linux_side, const char * pszServerName) +NTSTATUS ISteamGameServer_SteamGameServer011_SetServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + struct ISteamGameServer_SteamGameServer011_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer011_SetServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetServerName( params->pszServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetMapName(void *linux_side, const char * pszMapName) +NTSTATUS ISteamGameServer_SteamGameServer011_SetMapName( void *args ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + struct ISteamGameServer_SteamGameServer011_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer011_SetMapName_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetMapName( params->pszMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +NTSTATUS ISteamGameServer_SteamGameServer011_SetPasswordProtected( void *args ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetPasswordProtected( params->bPasswordProtected ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetSpectatorServerName( params->pszSpectatorServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_ClearAllKeyValues( void *args ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamGameServer_SteamGameServer011_SetKeyValue( void *args ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamGameServer_SteamGameServer011_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer011_SetKeyValue_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer011_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer011_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer011_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetRegion(void *linux_side, const char * pszRegion) +NTSTATUS ISteamGameServer_SteamGameServer011_SetRegion( void *args ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + struct ISteamGameServer_SteamGameServer011_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer011_SetRegion_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetRegion( params->pszRegion ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer011_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer011_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamGameServer_SteamGameServer011_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer011_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer011_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer011_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer011_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer011_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer011_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer011_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer011_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer011_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer011_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -void cppISteamGameServer_SteamGameServer011_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer011_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer011_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -uint32 cppISteamGameServer_SteamGameServer011_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer011_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer011_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->GetPublicIP( ); + return 0; } -bool cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamGameServer_SteamGameServer011_HandleIncomingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -void cppISteamGameServer_SteamGameServer011_EnableHeartbeats(void *linux_side, bool bActive) +NTSTATUS ISteamGameServer_SteamGameServer011_EnableHeartbeats( void *args ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params *params = (struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->EnableHeartbeats( params->bActive ); + return 0; } -void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamGameServer_SteamGameServer011_SetHeartbeatInterval( void *args ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *params = (struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->SetHeartbeatInterval( params->iHeartbeatInterval ); + return 0; } -void cppISteamGameServer_SteamGameServer011_ForceHeartbeat(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer011_ForceHeartbeat( void *args ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params *params = (struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + iface->ForceHeartbeat( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamGameServer_SteamGameServer011_AssociateWithClan( void *args ) { - return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); + struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->AssociateWithClan( params->steamIDClan ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +NTSTATUS ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( void *args ) { - return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); + struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params *)args; + struct u_ISteamGameServer_SteamGameServer011 *iface = (struct u_ISteamGameServer_SteamGameServer011 *)params->linux_side; + params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer011.h b/lsteamclient/cppISteamGameServer_SteamGameServer011.h deleted file mode 100644 index 97acd0310..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer011.h +++ /dev/null @@ -1,44 +0,0 @@ -extern bool cppISteamGameServer_SteamGameServer011_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_LogOn(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer011_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer011_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer011_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer011_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer011_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer011_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer011_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer011_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer011_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer011_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer011_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer011_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer011_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_GetServerReputation(void *); -extern uint32 cppISteamGameServer_SteamGameServer011_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer011_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer011_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(void *, CSteamID); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp index 9cdda996c..5afc01ae0 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer012.cpp @@ -1,238 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#include "steamworks_sdk_146/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer012.h" -bool cppISteamGameServer_SteamGameServer012_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer012_InitGameServer( void *args ) { - return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); + struct ISteamGameServer_SteamGameServer012_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer012_InitGameServer_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetProduct(void *linux_side, const char * pszProduct) +NTSTATUS ISteamGameServer_SteamGameServer012_SetProduct( void *args ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + struct ISteamGameServer_SteamGameServer012_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer012_SetProduct_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetProduct( params->pszProduct ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetGameDescription(void *linux_side, const char * pszGameDescription) +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameDescription( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + struct ISteamGameServer_SteamGameServer012_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameDescription_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetGameDescription( params->pszGameDescription ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetModDir(void *linux_side, const char * pszModDir) +NTSTATUS ISteamGameServer_SteamGameServer012_SetModDir( void *args ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + struct ISteamGameServer_SteamGameServer012_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer012_SetModDir_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetModDir( params->pszModDir ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetDedicatedServer(void *linux_side, bool bDedicated) +NTSTATUS ISteamGameServer_SteamGameServer012_SetDedicatedServer( void *args ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetDedicatedServer( params->bDedicated ); + return 0; } -void cppISteamGameServer_SteamGameServer012_LogOn(void *linux_side, const char * pszToken) +NTSTATUS ISteamGameServer_SteamGameServer012_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + struct ISteamGameServer_SteamGameServer012_LogOn_params *params = (struct ISteamGameServer_SteamGameServer012_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->LogOn( params->pszToken ); + return 0; } -void cppISteamGameServer_SteamGameServer012_LogOnAnonymous(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_LogOnAnonymous( void *args ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->LogOnAnonymous( ); + return 0; } -void cppISteamGameServer_SteamGameServer012_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer012_LogOff_params *params = (struct ISteamGameServer_SteamGameServer012_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer012_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer012_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer012_BSecure_params *params = (struct ISteamGameServer_SteamGameServer012_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer012_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer012_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer012_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_WasRestartRequested(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_WasRestartRequested( void *args ) { - return ((ISteamGameServer*)linux_side)->WasRestartRequested(); + struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +NTSTATUS ISteamGameServer_SteamGameServer012_SetMaxPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetMaxPlayerCount( params->cPlayersMax ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(void *linux_side, int cBotplayers) +NTSTATUS ISteamGameServer_SteamGameServer012_SetBotPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetBotPlayerCount( params->cBotplayers ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetServerName(void *linux_side, const char * pszServerName) +NTSTATUS ISteamGameServer_SteamGameServer012_SetServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + struct ISteamGameServer_SteamGameServer012_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer012_SetServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetServerName( params->pszServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetMapName(void *linux_side, const char * pszMapName) +NTSTATUS ISteamGameServer_SteamGameServer012_SetMapName( void *args ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + struct ISteamGameServer_SteamGameServer012_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer012_SetMapName_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetMapName( params->pszMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +NTSTATUS ISteamGameServer_SteamGameServer012_SetPasswordProtected( void *args ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetPasswordProtected( params->bPasswordProtected ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetSpectatorServerName( params->pszSpectatorServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_ClearAllKeyValues( void *args ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamGameServer_SteamGameServer012_SetKeyValue( void *args ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamGameServer_SteamGameServer012_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer012_SetKeyValue_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer012_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer012_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer012_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetRegion(void *linux_side, const char * pszRegion) +NTSTATUS ISteamGameServer_SteamGameServer012_SetRegion( void *args ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + struct ISteamGameServer_SteamGameServer012_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer012_SetRegion_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetRegion( params->pszRegion ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer012_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer012_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamGameServer_SteamGameServer012_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer012_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer012_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer012_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer012_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer012_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer012_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer012_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer012_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer012_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer012_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -void cppISteamGameServer_SteamGameServer012_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer012_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer012_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -uint32 cppISteamGameServer_SteamGameServer012_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer012_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer012_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->GetPublicIP( ); + return 0; } -bool cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamGameServer_SteamGameServer012_HandleIncomingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -void cppISteamGameServer_SteamGameServer012_EnableHeartbeats(void *linux_side, bool bActive) +NTSTATUS ISteamGameServer_SteamGameServer012_EnableHeartbeats( void *args ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params *params = (struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->EnableHeartbeats( params->bActive ); + return 0; } -void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamGameServer_SteamGameServer012_SetHeartbeatInterval( void *args ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *params = (struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->SetHeartbeatInterval( params->iHeartbeatInterval ); + return 0; } -void cppISteamGameServer_SteamGameServer012_ForceHeartbeat(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer012_ForceHeartbeat( void *args ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params *params = (struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + iface->ForceHeartbeat( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamGameServer_SteamGameServer012_AssociateWithClan( void *args ) { - return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); + struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->AssociateWithClan( params->steamIDClan ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +NTSTATUS ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( void *args ) { - return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); + struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params *)args; + struct u_ISteamGameServer_SteamGameServer012 *iface = (struct u_ISteamGameServer_SteamGameServer012 *)params->linux_side; + params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer012.h b/lsteamclient/cppISteamGameServer_SteamGameServer012.h deleted file mode 100644 index 91e7323e2..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer012.h +++ /dev/null @@ -1,44 +0,0 @@ -extern bool cppISteamGameServer_SteamGameServer012_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer012_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer012_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer012_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer012_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer012_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer012_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer012_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer012_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer012_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer012_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer012_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer012_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_GetServerReputation(void *); -extern uint32 cppISteamGameServer_SteamGameServer012_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer012_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer012_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(void *, CSteamID); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp index fb6cf5b1a..f06e47e37 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer013.cpp @@ -1,238 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#include "steamworks_sdk_151/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_151 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer013.h" -bool cppISteamGameServer_SteamGameServer013_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer013_InitGameServer( void *args ) { - return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); + struct ISteamGameServer_SteamGameServer013_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer013_InitGameServer_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetProduct(void *linux_side, const char * pszProduct) +NTSTATUS ISteamGameServer_SteamGameServer013_SetProduct( void *args ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + struct ISteamGameServer_SteamGameServer013_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer013_SetProduct_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetProduct( params->pszProduct ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetGameDescription(void *linux_side, const char * pszGameDescription) +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameDescription( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + struct ISteamGameServer_SteamGameServer013_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer013_SetGameDescription_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetGameDescription( params->pszGameDescription ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetModDir(void *linux_side, const char * pszModDir) +NTSTATUS ISteamGameServer_SteamGameServer013_SetModDir( void *args ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + struct ISteamGameServer_SteamGameServer013_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer013_SetModDir_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetModDir( params->pszModDir ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetDedicatedServer(void *linux_side, bool bDedicated) +NTSTATUS ISteamGameServer_SteamGameServer013_SetDedicatedServer( void *args ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + struct ISteamGameServer_SteamGameServer013_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer013_SetDedicatedServer_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetDedicatedServer( params->bDedicated ); + return 0; } -void cppISteamGameServer_SteamGameServer013_LogOn(void *linux_side, const char * pszToken) +NTSTATUS ISteamGameServer_SteamGameServer013_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + struct ISteamGameServer_SteamGameServer013_LogOn_params *params = (struct ISteamGameServer_SteamGameServer013_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->LogOn( params->pszToken ); + return 0; } -void cppISteamGameServer_SteamGameServer013_LogOnAnonymous(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_LogOnAnonymous( void *args ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + struct ISteamGameServer_SteamGameServer013_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer013_LogOnAnonymous_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->LogOnAnonymous( ); + return 0; } -void cppISteamGameServer_SteamGameServer013_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer013_LogOff_params *params = (struct ISteamGameServer_SteamGameServer013_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer013_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer013_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer013_BSecure_params *params = (struct ISteamGameServer_SteamGameServer013_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer013_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer013_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer013_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_WasRestartRequested(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_WasRestartRequested( void *args ) { - return ((ISteamGameServer*)linux_side)->WasRestartRequested(); + struct ISteamGameServer_SteamGameServer013_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer013_WasRestartRequested_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +NTSTATUS ISteamGameServer_SteamGameServer013_SetMaxPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + struct ISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetMaxPlayerCount( params->cPlayersMax ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(void *linux_side, int cBotplayers) +NTSTATUS ISteamGameServer_SteamGameServer013_SetBotPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + struct ISteamGameServer_SteamGameServer013_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer013_SetBotPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetBotPlayerCount( params->cBotplayers ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetServerName(void *linux_side, const char * pszServerName) +NTSTATUS ISteamGameServer_SteamGameServer013_SetServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + struct ISteamGameServer_SteamGameServer013_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer013_SetServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetServerName( params->pszServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetMapName(void *linux_side, const char * pszMapName) +NTSTATUS ISteamGameServer_SteamGameServer013_SetMapName( void *args ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + struct ISteamGameServer_SteamGameServer013_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer013_SetMapName_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetMapName( params->pszMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +NTSTATUS ISteamGameServer_SteamGameServer013_SetPasswordProtected( void *args ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + struct ISteamGameServer_SteamGameServer013_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer013_SetPasswordProtected_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetPasswordProtected( params->bPasswordProtected ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer013_SetSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer013_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer013_SetSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +NTSTATUS ISteamGameServer_SteamGameServer013_SetSpectatorServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + struct ISteamGameServer_SteamGameServer013_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer013_SetSpectatorServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetSpectatorServerName( params->pszSpectatorServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_ClearAllKeyValues( void *args ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + struct ISteamGameServer_SteamGameServer013_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer013_ClearAllKeyValues_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamGameServer_SteamGameServer013_SetKeyValue( void *args ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamGameServer_SteamGameServer013_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer013_SetKeyValue_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer013_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer013_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer013_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer013_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetRegion(void *linux_side, const char * pszRegion) +NTSTATUS ISteamGameServer_SteamGameServer013_SetRegion( void *args ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + struct ISteamGameServer_SteamGameServer013_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer013_SetRegion_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetRegion( params->pszRegion ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params *params = (struct ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SendUserDisconnect(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer013_SendUserDisconnect( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer013_SendUserDisconnect_params *params = (struct ISteamGameServer_SteamGameServer013_SendUserDisconnect_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SendUserDisconnect( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer013_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer013_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer013_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamGameServer_SteamGameServer013_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer013_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer013_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer013_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer013_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer013_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer013_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer013_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer013_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer013_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer013_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer013_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer013_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer013_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer013_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -void cppISteamGameServer_SteamGameServer013_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer013_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer013_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer013_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer013_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -SteamIPAddress_t cppISteamGameServer_SteamGameServer013_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer013_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer013_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + *params->_ret = iface->GetPublicIP( ); + return 0; } -bool cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamGameServer_SteamGameServer013_HandleIncomingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamGameServer_SteamGameServer013_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer013_HandleIncomingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -void cppISteamGameServer_SteamGameServer013_EnableHeartbeats(void *linux_side, bool bActive) +NTSTATUS ISteamGameServer_SteamGameServer013_EnableHeartbeats( void *args ) { - ((ISteamGameServer*)linux_side)->EnableHeartbeats((bool)bActive); + struct ISteamGameServer_SteamGameServer013_EnableHeartbeats_params *params = (struct ISteamGameServer_SteamGameServer013_EnableHeartbeats_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->EnableHeartbeats( params->bActive ); + return 0; } -void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamGameServer_SteamGameServer013_SetHeartbeatInterval( void *args ) { - ((ISteamGameServer*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + struct ISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params *params = (struct ISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->SetHeartbeatInterval( params->iHeartbeatInterval ); + return 0; } -void cppISteamGameServer_SteamGameServer013_ForceHeartbeat(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer013_ForceHeartbeat( void *args ) { - ((ISteamGameServer*)linux_side)->ForceHeartbeat(); + struct ISteamGameServer_SteamGameServer013_ForceHeartbeat_params *params = (struct ISteamGameServer_SteamGameServer013_ForceHeartbeat_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + iface->ForceHeartbeat( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamGameServer_SteamGameServer013_AssociateWithClan( void *args ) { - return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); + struct ISteamGameServer_SteamGameServer013_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer013_AssociateWithClan_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->AssociateWithClan( params->steamIDClan ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +NTSTATUS ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility( void *args ) { - return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); + struct ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params *)args; + struct u_ISteamGameServer_SteamGameServer013 *iface = (struct u_ISteamGameServer_SteamGameServer013 *)params->linux_side; + params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer013.h b/lsteamclient/cppISteamGameServer_SteamGameServer013.h deleted file mode 100644 index 0bd056b7d..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer013.h +++ /dev/null @@ -1,44 +0,0 @@ -extern bool cppISteamGameServer_SteamGameServer013_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer013_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer013_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer013_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer013_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer013_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer013_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer013_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer013_SetRegion(void *, const char *); -extern bool cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer013_SendUserDisconnect(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer013_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern HAuthTicket cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer013_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer013_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer013_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamGameServer_SteamGameServer013_EnableHeartbeats(void *, bool); -extern void cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(void *, int); -extern void cppISteamGameServer_SteamGameServer013_ForceHeartbeat(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(void *, CSteamID); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp index 7f6b4e075..3e026a5b0 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer014.cpp @@ -1,238 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#include "steamworks_sdk_155/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_155 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer014.h" -bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer014_InitGameServer( void *args ) { - return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); + struct ISteamGameServer_SteamGameServer014_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer014_InitGameServer_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetProduct(void *linux_side, const char * pszProduct) +NTSTATUS ISteamGameServer_SteamGameServer014_SetProduct( void *args ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + struct ISteamGameServer_SteamGameServer014_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer014_SetProduct_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetProduct( params->pszProduct ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *linux_side, const char * pszGameDescription) +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameDescription( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + struct ISteamGameServer_SteamGameServer014_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer014_SetGameDescription_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetGameDescription( params->pszGameDescription ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetModDir(void *linux_side, const char * pszModDir) +NTSTATUS ISteamGameServer_SteamGameServer014_SetModDir( void *args ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + struct ISteamGameServer_SteamGameServer014_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer014_SetModDir_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetModDir( params->pszModDir ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *linux_side, bool bDedicated) +NTSTATUS ISteamGameServer_SteamGameServer014_SetDedicatedServer( void *args ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + struct ISteamGameServer_SteamGameServer014_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer014_SetDedicatedServer_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetDedicatedServer( params->bDedicated ); + return 0; } -void cppISteamGameServer_SteamGameServer014_LogOn(void *linux_side, const char * pszToken) +NTSTATUS ISteamGameServer_SteamGameServer014_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + struct ISteamGameServer_SteamGameServer014_LogOn_params *params = (struct ISteamGameServer_SteamGameServer014_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->LogOn( params->pszToken ); + return 0; } -void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_LogOnAnonymous( void *args ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + struct ISteamGameServer_SteamGameServer014_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer014_LogOnAnonymous_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->LogOnAnonymous( ); + return 0; } -void cppISteamGameServer_SteamGameServer014_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer014_LogOff_params *params = (struct ISteamGameServer_SteamGameServer014_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer014_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer014_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer014_BSecure_params *params = (struct ISteamGameServer_SteamGameServer014_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer014_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer014_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_WasRestartRequested( void *args ) { - return ((ISteamGameServer*)linux_side)->WasRestartRequested(); + struct ISteamGameServer_SteamGameServer014_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer014_WasRestartRequested_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +NTSTATUS ISteamGameServer_SteamGameServer014_SetMaxPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + struct ISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetMaxPlayerCount( params->cPlayersMax ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *linux_side, int cBotplayers) +NTSTATUS ISteamGameServer_SteamGameServer014_SetBotPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + struct ISteamGameServer_SteamGameServer014_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer014_SetBotPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetBotPlayerCount( params->cBotplayers ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetServerName(void *linux_side, const char * pszServerName) +NTSTATUS ISteamGameServer_SteamGameServer014_SetServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + struct ISteamGameServer_SteamGameServer014_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer014_SetServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetServerName( params->pszServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetMapName(void *linux_side, const char * pszMapName) +NTSTATUS ISteamGameServer_SteamGameServer014_SetMapName( void *args ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + struct ISteamGameServer_SteamGameServer014_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer014_SetMapName_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetMapName( params->pszMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +NTSTATUS ISteamGameServer_SteamGameServer014_SetPasswordProtected( void *args ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + struct ISteamGameServer_SteamGameServer014_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer014_SetPasswordProtected_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetPasswordProtected( params->bPasswordProtected ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer014_SetSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer014_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer014_SetSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +NTSTATUS ISteamGameServer_SteamGameServer014_SetSpectatorServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + struct ISteamGameServer_SteamGameServer014_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer014_SetSpectatorServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetSpectatorServerName( params->pszSpectatorServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_ClearAllKeyValues( void *args ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + struct ISteamGameServer_SteamGameServer014_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer014_ClearAllKeyValues_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamGameServer_SteamGameServer014_SetKeyValue( void *args ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamGameServer_SteamGameServer014_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer014_SetKeyValue_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer014_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer014_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer014_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer014_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetRegion(void *linux_side, const char * pszRegion) +NTSTATUS ISteamGameServer_SteamGameServer014_SetRegion( void *args ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + struct ISteamGameServer_SteamGameServer014_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer014_SetRegion_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetRegion( params->pszRegion ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *linux_side, bool bActive) +NTSTATUS ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive( void *args ) { - ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); + struct ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params *params = (struct ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetAdvertiseServerActive( params->bActive ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamGameServer_SteamGameServer014_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer014_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer014_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer014_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer014_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer014_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer014_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer014_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer014_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer014_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer014_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer014_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer014_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer014_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer014_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer014_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer014_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer014_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + *params->_ret = iface->GetPublicIP( ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamGameServer_SteamGameServer014_HandleIncomingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamGameServer_SteamGameServer014_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer014_HandleIncomingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamGameServer_SteamGameServer014_AssociateWithClan( void *args ) { - return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); + struct ISteamGameServer_SteamGameServer014_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer014_AssociateWithClan_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->AssociateWithClan( params->steamIDClan ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +NTSTATUS ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility( void *args ) { - return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); + struct ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate_DEPRECATED( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SendUserDisconnect_DEPRECATED( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer014_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer014_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer014_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); + struct ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->SetMasterServerHeartbeatInterval_DEPRECATED( params->iHeartbeatInterval ); + return 0; } -void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); + struct ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer014 *iface = (struct u_ISteamGameServer_SteamGameServer014 *)params->linux_side; + iface->ForceMasterServerHeartbeat_DEPRECATED( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer014.h b/lsteamclient/cppISteamGameServer_SteamGameServer014.h deleted file mode 100644 index a6479e554..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer014.h +++ /dev/null @@ -1,44 +0,0 @@ -extern bool cppISteamGameServer_SteamGameServer014_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer014_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer014_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer014_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer014_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer014_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer014_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer014_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer014_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer014_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetRegion(void *, const char *); -extern void cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(void *, bool); -extern HAuthTicket cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer014_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer014_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer014_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer014_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); -extern void cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(void *); diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp index 0e6232a74..64fe05207 100644 --- a/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp +++ b/lsteamclient/cppISteamGameServer_SteamGameServer015.cpp @@ -1,238 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamgameserver.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamGameServer_SteamGameServer015.h" -bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *linux_side, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameServer_SteamGameServer015_InitGameServer( void *args ) { - return ((ISteamGameServer*)linux_side)->InitGameServer((uint32)unIP, (uint16)usGamePort, (uint16)usQueryPort, (uint32)unFlags, (AppId_t)nGameAppId, (const char *)pchVersionString); + struct ISteamGameServer_SteamGameServer015_InitGameServer_params *params = (struct ISteamGameServer_SteamGameServer015_InitGameServer_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->InitGameServer( params->unIP, params->usGamePort, params->usQueryPort, params->unFlags, params->nGameAppId, params->pchVersionString ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetProduct(void *linux_side, const char * pszProduct) +NTSTATUS ISteamGameServer_SteamGameServer015_SetProduct( void *args ) { - ((ISteamGameServer*)linux_side)->SetProduct((const char *)pszProduct); + struct ISteamGameServer_SteamGameServer015_SetProduct_params *params = (struct ISteamGameServer_SteamGameServer015_SetProduct_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetProduct( params->pszProduct ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *linux_side, const char * pszGameDescription) +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameDescription( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameDescription((const char *)pszGameDescription); + struct ISteamGameServer_SteamGameServer015_SetGameDescription_params *params = (struct ISteamGameServer_SteamGameServer015_SetGameDescription_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetGameDescription( params->pszGameDescription ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetModDir(void *linux_side, const char * pszModDir) +NTSTATUS ISteamGameServer_SteamGameServer015_SetModDir( void *args ) { - ((ISteamGameServer*)linux_side)->SetModDir((const char *)pszModDir); + struct ISteamGameServer_SteamGameServer015_SetModDir_params *params = (struct ISteamGameServer_SteamGameServer015_SetModDir_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetModDir( params->pszModDir ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *linux_side, bool bDedicated) +NTSTATUS ISteamGameServer_SteamGameServer015_SetDedicatedServer( void *args ) { - ((ISteamGameServer*)linux_side)->SetDedicatedServer((bool)bDedicated); + struct ISteamGameServer_SteamGameServer015_SetDedicatedServer_params *params = (struct ISteamGameServer_SteamGameServer015_SetDedicatedServer_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetDedicatedServer( params->bDedicated ); + return 0; } -void cppISteamGameServer_SteamGameServer015_LogOn(void *linux_side, const char * pszToken) +NTSTATUS ISteamGameServer_SteamGameServer015_LogOn( void *args ) { - ((ISteamGameServer*)linux_side)->LogOn((const char *)pszToken); + struct ISteamGameServer_SteamGameServer015_LogOn_params *params = (struct ISteamGameServer_SteamGameServer015_LogOn_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->LogOn( params->pszToken ); + return 0; } -void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_LogOnAnonymous( void *args ) { - ((ISteamGameServer*)linux_side)->LogOnAnonymous(); + struct ISteamGameServer_SteamGameServer015_LogOnAnonymous_params *params = (struct ISteamGameServer_SteamGameServer015_LogOnAnonymous_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->LogOnAnonymous( ); + return 0; } -void cppISteamGameServer_SteamGameServer015_LogOff(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_LogOff( void *args ) { - ((ISteamGameServer*)linux_side)->LogOff(); + struct ISteamGameServer_SteamGameServer015_LogOff_params *params = (struct ISteamGameServer_SteamGameServer015_LogOff_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_BLoggedOn( void *args ) { - return ((ISteamGameServer*)linux_side)->BLoggedOn(); + struct ISteamGameServer_SteamGameServer015_BLoggedOn_params *params = (struct ISteamGameServer_SteamGameServer015_BLoggedOn_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_BSecure(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_BSecure( void *args ) { - return ((ISteamGameServer*)linux_side)->BSecure(); + struct ISteamGameServer_SteamGameServer015_BSecure_params *params = (struct ISteamGameServer_SteamGameServer015_BSecure_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->BSecure( ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_GetSteamID( void *args ) { - return ((ISteamGameServer*)linux_side)->GetSteamID(); + struct ISteamGameServer_SteamGameServer015_GetSteamID_params *params = (struct ISteamGameServer_SteamGameServer015_GetSteamID_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_WasRestartRequested( void *args ) { - return ((ISteamGameServer*)linux_side)->WasRestartRequested(); + struct ISteamGameServer_SteamGameServer015_WasRestartRequested_params *params = (struct ISteamGameServer_SteamGameServer015_WasRestartRequested_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *linux_side, int cPlayersMax) +NTSTATUS ISteamGameServer_SteamGameServer015_SetMaxPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetMaxPlayerCount((int)cPlayersMax); + struct ISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetMaxPlayerCount( params->cPlayersMax ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *linux_side, int cBotplayers) +NTSTATUS ISteamGameServer_SteamGameServer015_SetBotPlayerCount( void *args ) { - ((ISteamGameServer*)linux_side)->SetBotPlayerCount((int)cBotplayers); + struct ISteamGameServer_SteamGameServer015_SetBotPlayerCount_params *params = (struct ISteamGameServer_SteamGameServer015_SetBotPlayerCount_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetBotPlayerCount( params->cBotplayers ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetServerName(void *linux_side, const char * pszServerName) +NTSTATUS ISteamGameServer_SteamGameServer015_SetServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetServerName((const char *)pszServerName); + struct ISteamGameServer_SteamGameServer015_SetServerName_params *params = (struct ISteamGameServer_SteamGameServer015_SetServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetServerName( params->pszServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetMapName(void *linux_side, const char * pszMapName) +NTSTATUS ISteamGameServer_SteamGameServer015_SetMapName( void *args ) { - ((ISteamGameServer*)linux_side)->SetMapName((const char *)pszMapName); + struct ISteamGameServer_SteamGameServer015_SetMapName_params *params = (struct ISteamGameServer_SteamGameServer015_SetMapName_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetMapName( params->pszMapName ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *linux_side, bool bPasswordProtected) +NTSTATUS ISteamGameServer_SteamGameServer015_SetPasswordProtected( void *args ) { - ((ISteamGameServer*)linux_side)->SetPasswordProtected((bool)bPasswordProtected); + struct ISteamGameServer_SteamGameServer015_SetPasswordProtected_params *params = (struct ISteamGameServer_SteamGameServer015_SetPasswordProtected_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetPasswordProtected( params->bPasswordProtected ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *linux_side, uint16 unSpectatorPort) +NTSTATUS ISteamGameServer_SteamGameServer015_SetSpectatorPort( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorPort((uint16)unSpectatorPort); + struct ISteamGameServer_SteamGameServer015_SetSpectatorPort_params *params = (struct ISteamGameServer_SteamGameServer015_SetSpectatorPort_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetSpectatorPort( params->unSpectatorPort ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *linux_side, const char * pszSpectatorServerName) +NTSTATUS ISteamGameServer_SteamGameServer015_SetSpectatorServerName( void *args ) { - ((ISteamGameServer*)linux_side)->SetSpectatorServerName((const char *)pszSpectatorServerName); + struct ISteamGameServer_SteamGameServer015_SetSpectatorServerName_params *params = (struct ISteamGameServer_SteamGameServer015_SetSpectatorServerName_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetSpectatorServerName( params->pszSpectatorServerName ); + return 0; } -void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_ClearAllKeyValues( void *args ) { - ((ISteamGameServer*)linux_side)->ClearAllKeyValues(); + struct ISteamGameServer_SteamGameServer015_ClearAllKeyValues_params *params = (struct ISteamGameServer_SteamGameServer015_ClearAllKeyValues_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamGameServer_SteamGameServer015_SetKeyValue( void *args ) { - ((ISteamGameServer*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamGameServer_SteamGameServer015_SetKeyValue_params *params = (struct ISteamGameServer_SteamGameServer015_SetKeyValue_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetGameTags(void *linux_side, const char * pchGameTags) +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameTags( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameTags((const char *)pchGameTags); + struct ISteamGameServer_SteamGameServer015_SetGameTags_params *params = (struct ISteamGameServer_SteamGameServer015_SetGameTags_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetGameTags( params->pchGameTags ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetGameData(void *linux_side, const char * pchGameData) +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameData( void *args ) { - ((ISteamGameServer*)linux_side)->SetGameData((const char *)pchGameData); + struct ISteamGameServer_SteamGameServer015_SetGameData_params *params = (struct ISteamGameServer_SteamGameServer015_SetGameData_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetGameData( params->pchGameData ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetRegion(void *linux_side, const char * pszRegion) +NTSTATUS ISteamGameServer_SteamGameServer015_SetRegion( void *args ) { - ((ISteamGameServer*)linux_side)->SetRegion((const char *)pszRegion); + struct ISteamGameServer_SteamGameServer015_SetRegion_params *params = (struct ISteamGameServer_SteamGameServer015_SetRegion_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetRegion( params->pszRegion ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *linux_side, bool bActive) +NTSTATUS ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive( void *args ) { - ((ISteamGameServer*)linux_side)->SetAdvertiseServerActive((bool)bActive); + struct ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params *params = (struct ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetAdvertiseServerActive( params->bActive ); + return 0; } -HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSnid) +NTSTATUS ISteamGameServer_SteamGameServer015_GetAuthSessionTicket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSnid); + struct ISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params *params = (struct ISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket, params->pSnid ); + return 0; } -EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer015_BeginAuthSession( void *args ) { - return ((ISteamGameServer*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamGameServer_SteamGameServer015_BeginAuthSession_params *params = (struct ISteamGameServer_SteamGameServer015_BeginAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamGameServer_SteamGameServer015_EndAuthSession( void *args ) { - ((ISteamGameServer*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamGameServer_SteamGameServer015_EndAuthSession_params *params = (struct ISteamGameServer_SteamGameServer015_EndAuthSession_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamGameServer_SteamGameServer015_CancelAuthTicket( void *args ) { - ((ISteamGameServer*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamGameServer_SteamGameServer015_CancelAuthTicket_params *params = (struct ISteamGameServer_SteamGameServer015_CancelAuthTicket_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamGameServer_SteamGameServer015_UserHasLicenseForApp( void *args ) { - return ((ISteamGameServer*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params *params = (struct ISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *linux_side, CSteamID steamIDUser, CSteamID steamIDGroup) +NTSTATUS ISteamGameServer_SteamGameServer015_RequestUserGroupStatus( void *args ) { - return ((ISteamGameServer*)linux_side)->RequestUserGroupStatus((CSteamID)steamIDUser, (CSteamID)steamIDGroup); + struct ISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params *params = (struct ISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->RequestUserGroupStatus( params->steamIDUser, params->steamIDGroup ); + return 0; } -void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_GetGameplayStats( void *args ) { - ((ISteamGameServer*)linux_side)->GetGameplayStats(); + struct ISteamGameServer_SteamGameServer015_GetGameplayStats_params *params = (struct ISteamGameServer_SteamGameServer015_GetGameplayStats_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->GetGameplayStats( ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_GetServerReputation( void *args ) { - return ((ISteamGameServer*)linux_side)->GetServerReputation(); + struct ISteamGameServer_SteamGameServer015_GetServerReputation_params *params = (struct ISteamGameServer_SteamGameServer015_GetServerReputation_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->GetServerReputation( ); + return 0; } -SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_GetPublicIP( void *args ) { - return ((ISteamGameServer*)linux_side)->GetPublicIP(); + struct ISteamGameServer_SteamGameServer015_GetPublicIP_params *params = (struct ISteamGameServer_SteamGameServer015_GetPublicIP_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + *params->_ret = iface->GetPublicIP( ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamGameServer_SteamGameServer015_HandleIncomingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamGameServer_SteamGameServer015_HandleIncomingPacket_params *params = (struct ISteamGameServer_SteamGameServer015_HandleIncomingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket( void *args ) { - return ((ISteamGameServer*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params *params = (struct ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *linux_side, CSteamID steamIDClan) +NTSTATUS ISteamGameServer_SteamGameServer015_AssociateWithClan( void *args ) { - return ((ISteamGameServer*)linux_side)->AssociateWithClan((CSteamID)steamIDClan); + struct ISteamGameServer_SteamGameServer015_AssociateWithClan_params *params = (struct ISteamGameServer_SteamGameServer015_AssociateWithClan_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->AssociateWithClan( params->steamIDClan ); + return 0; } -SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *linux_side, CSteamID steamIDNewPlayer) +NTSTATUS ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility( void *args ) { - return ((ISteamGameServer*)linux_side)->ComputeNewPlayerCompatibility((CSteamID)steamIDNewPlayer); + struct ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params *params = (struct ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->ComputeNewPlayerCompatibility( params->steamIDNewPlayer ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *linux_side, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED( void *args ) { - return ((ISteamGameServer*)linux_side)->SendUserConnectAndAuthenticate_DEPRECATED((uint32)unIPClient, (const void *)pvAuthBlob, (uint32)cubAuthBlobSize, (CSteamID *)pSteamIDUser); + struct ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->SendUserConnectAndAuthenticate_DEPRECATED( params->unIPClient, params->pvAuthBlob, params->cubAuthBlobSize, params->pSteamIDUser ); + return 0; } -CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection( void *args ) { - return ((ISteamGameServer*)linux_side)->CreateUnauthenticatedUserConnection(); + struct ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params *params = (struct ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + *params->_ret = iface->CreateUnauthenticatedUserConnection( ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->SendUserDisconnect_DEPRECATED((CSteamID)steamIDUser); + struct ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SendUserDisconnect_DEPRECATED( params->steamIDUser ); + return 0; } -bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *linux_side, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +NTSTATUS ISteamGameServer_SteamGameServer015_BUpdateUserData( void *args ) { - return ((ISteamGameServer*)linux_side)->BUpdateUserData((CSteamID)steamIDUser, (const char *)pchPlayerName, (uint32)uScore); + struct ISteamGameServer_SteamGameServer015_BUpdateUserData_params *params = (struct ISteamGameServer_SteamGameServer015_BUpdateUserData_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + params->_ret = iface->BUpdateUserData( params->steamIDUser, params->pchPlayerName, params->uScore ); + return 0; } -void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->SetMasterServerHeartbeatInterval_DEPRECATED((int)iHeartbeatInterval); + struct ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->SetMasterServerHeartbeatInterval_DEPRECATED( params->iHeartbeatInterval ); + return 0; } -void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *linux_side) +NTSTATUS ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED( void *args ) { - ((ISteamGameServer*)linux_side)->ForceMasterServerHeartbeat_DEPRECATED(); + struct ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params *params = (struct ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params *)args; + struct u_ISteamGameServer_SteamGameServer015 *iface = (struct u_ISteamGameServer_SteamGameServer015 *)params->linux_side; + iface->ForceMasterServerHeartbeat_DEPRECATED( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameServer_SteamGameServer015.h b/lsteamclient/cppISteamGameServer_SteamGameServer015.h deleted file mode 100644 index 766d7b61f..000000000 --- a/lsteamclient/cppISteamGameServer_SteamGameServer015.h +++ /dev/null @@ -1,44 +0,0 @@ -extern bool cppISteamGameServer_SteamGameServer015_InitGameServer(void *, uint32, uint16, uint16, uint32, AppId_t, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetProduct(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameDescription(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetModDir(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetDedicatedServer(void *, bool); -extern void cppISteamGameServer_SteamGameServer015_LogOn(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_LogOnAnonymous(void *); -extern void cppISteamGameServer_SteamGameServer015_LogOff(void *); -extern bool cppISteamGameServer_SteamGameServer015_BLoggedOn(void *); -extern bool cppISteamGameServer_SteamGameServer015_BSecure(void *); -extern CSteamID cppISteamGameServer_SteamGameServer015_GetSteamID(void *); -extern bool cppISteamGameServer_SteamGameServer015_WasRestartRequested(void *); -extern void cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(void *, int); -extern void cppISteamGameServer_SteamGameServer015_SetServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetMapName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetPasswordProtected(void *, bool); -extern void cppISteamGameServer_SteamGameServer015_SetSpectatorPort(void *, uint16); -extern void cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(void *); -extern void cppISteamGameServer_SteamGameServer015_SetKeyValue(void *, const char *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameTags(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetGameData(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetRegion(void *, const char *); -extern void cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(void *, bool); -extern HAuthTicket cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern EBeginAuthSessionResult cppISteamGameServer_SteamGameServer015_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_EndAuthSession(void *, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(void *, CSteamID, CSteamID); -extern void cppISteamGameServer_SteamGameServer015_GetGameplayStats(void *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_GetServerReputation(void *); -extern SteamIPAddress_t cppISteamGameServer_SteamGameServer015_GetPublicIP(void *); -extern bool cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_AssociateWithClan(void *, CSteamID); -extern SteamAPICall_t cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(void *, uint32, const void *, uint32, CSteamID *); -extern CSteamID cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(void *); -extern void cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(void *, CSteamID); -extern bool cppISteamGameServer_SteamGameServer015_BUpdateUserData(void *, CSteamID, const char *, uint32); -extern void cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(void *, int); -extern void cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(void *); diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp index 1f37709a0..48fb6f4fd 100644 --- a/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp +++ b/lsteamclient/cppISteamGameStats_SteamGameStats001.cpp @@ -1,82 +1,107 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_117/steam_api.h" -#include "steamworks_sdk_117/isteamgamestats.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_117 -#include "struct_converters.h" -#include "cppISteamGameStats_SteamGameStats001.h" -SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *linux_side, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamGameStats_SteamGameStats001_GetNewSession( void *args ) { - return ((ISteamGameStats*)linux_side)->GetNewSession((int8)nAccountType, (uint64)ulAccountID, (int32)nAppID, (RTime32)rtTimeStarted); + struct ISteamGameStats_SteamGameStats001_GetNewSession_params *params = (struct ISteamGameStats_SteamGameStats001_GetNewSession_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->GetNewSession( params->nAccountType, params->ulAccountID, params->nAppID, params->rtTimeStarted ); + return 0; } -SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *linux_side, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) +NTSTATUS ISteamGameStats_SteamGameStats001_EndSession( void *args ) { - return ((ISteamGameStats*)linux_side)->EndSession((uint64)ulSessionID, (RTime32)rtTimeEnded, (int)nReasonCode); + struct ISteamGameStats_SteamGameStats001_EndSession_params *params = (struct ISteamGameStats_SteamGameStats001_EndSession_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->EndSession( params->ulSessionID, params->rtTimeEnded, params->nReasonCode ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *linux_side, uint64 ulSessionID, const char * pstrName, int32 nData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeInt( void *args ) { - return ((ISteamGameStats*)linux_side)->AddSessionAttributeInt((uint64)ulSessionID, (const char *)pstrName, (int32)nData); + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params *params = (struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddSessionAttributeInt( params->ulSessionID, params->pstrName, params->nData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *linux_side, uint64 ulSessionID, const char * pstrName, const char * pstrData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeString( void *args ) { - return ((ISteamGameStats*)linux_side)->AddSessionAttributeString((uint64)ulSessionID, (const char *)pstrName, (const char *)pstrData); + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeString_params *params = (struct ISteamGameStats_SteamGameStats001_AddSessionAttributeString_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddSessionAttributeString( params->ulSessionID, params->pstrName, params->pstrData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *linux_side, uint64 ulSessionID, const char * pstrName, float fData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat( void *args ) { - return ((ISteamGameStats*)linux_side)->AddSessionAttributeFloat((uint64)ulSessionID, (const char *)pstrName, (float)fData); + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params *params = (struct ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddSessionAttributeFloat( params->ulSessionID, params->pstrName, params->fData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *linux_side, uint64 * pulRowID, uint64 ulSessionID, const char * pstrTableName) +NTSTATUS ISteamGameStats_SteamGameStats001_AddNewRow( void *args ) { - return ((ISteamGameStats*)linux_side)->AddNewRow((uint64 *)pulRowID, (uint64)ulSessionID, (const char *)pstrTableName); + struct ISteamGameStats_SteamGameStats001_AddNewRow_params *params = (struct ISteamGameStats_SteamGameStats001_AddNewRow_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddNewRow( params->pulRowID, params->ulSessionID, params->pstrTableName ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *linux_side, uint64 ulRowID) +NTSTATUS ISteamGameStats_SteamGameStats001_CommitRow( void *args ) { - return ((ISteamGameStats*)linux_side)->CommitRow((uint64)ulRowID); + struct ISteamGameStats_SteamGameStats001_CommitRow_params *params = (struct ISteamGameStats_SteamGameStats001_CommitRow_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->CommitRow( params->ulRowID ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *linux_side, uint64 ulSessionID) +NTSTATUS ISteamGameStats_SteamGameStats001_CommitOutstandingRows( void *args ) { - return ((ISteamGameStats*)linux_side)->CommitOutstandingRows((uint64)ulSessionID); + struct ISteamGameStats_SteamGameStats001_CommitOutstandingRows_params *params = (struct ISteamGameStats_SteamGameStats001_CommitOutstandingRows_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->CommitOutstandingRows( params->ulSessionID ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *linux_side, uint64 ulRowID, const char * pstrName, int32 nData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeInt( void *args ) { - return ((ISteamGameStats*)linux_side)->AddRowAttributeInt((uint64)ulRowID, (const char *)pstrName, (int32)nData); + struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt_params *params = (struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddRowAttributeInt( params->ulRowID, params->pstrName, params->nData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *linux_side, uint64 ulRowID, const char * pstrName, const char * pstrData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAtributeString( void *args ) { - return ((ISteamGameStats*)linux_side)->AddRowAtributeString((uint64)ulRowID, (const char *)pstrName, (const char *)pstrData); + struct ISteamGameStats_SteamGameStats001_AddRowAtributeString_params *params = (struct ISteamGameStats_SteamGameStats001_AddRowAtributeString_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddRowAtributeString( params->ulRowID, params->pstrName, params->pstrData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *linux_side, uint64 ulRowID, const char * pstrName, float fData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeFloat( void *args ) { - return ((ISteamGameStats*)linux_side)->AddRowAttributeFloat((uint64)ulRowID, (const char *)pstrName, (float)fData); + struct ISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params *params = (struct ISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddRowAttributeFloat( params->ulRowID, params->pstrName, params->fData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *linux_side, uint64 ulSessionID, const char * pstrName, int64 llData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64( void *args ) { - return ((ISteamGameStats*)linux_side)->AddSessionAttributeInt64((uint64)ulSessionID, (const char *)pstrName, (int64)llData); + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params *params = (struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddSessionAttributeInt64( params->ulSessionID, params->pstrName, params->llData ); + return 0; } -EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *linux_side, uint64 ulRowID, const char * pstrName, int64 llData) +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeInt64( void *args ) { - return ((ISteamGameStats*)linux_side)->AddRowAttributeInt64((uint64)ulRowID, (const char *)pstrName, (int64)llData); + struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params *params = (struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params *)args; + struct u_ISteamGameStats_SteamGameStats001 *iface = (struct u_ISteamGameStats_SteamGameStats001 *)params->linux_side; + params->_ret = iface->AddRowAttributeInt64( params->ulRowID, params->pstrName, params->llData ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamGameStats_SteamGameStats001.h b/lsteamclient/cppISteamGameStats_SteamGameStats001.h deleted file mode 100644 index 21839be4f..000000000 --- a/lsteamclient/cppISteamGameStats_SteamGameStats001.h +++ /dev/null @@ -1,13 +0,0 @@ -extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_GetNewSession(void *, int8, uint64, int32, RTime32); -extern SteamAPICall_t cppISteamGameStats_SteamGameStats001_EndSession(void *, uint64, RTime32, int); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(void *, uint64, const char *, int32); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(void *, uint64, const char *, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(void *, uint64, const char *, float); -extern EResult cppISteamGameStats_SteamGameStats001_AddNewRow(void *, uint64 *, uint64, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_CommitRow(void *, uint64); -extern EResult cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(void *, uint64); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(void *, uint64, const char *, int32); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAtributeString(void *, uint64, const char *, const char *); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(void *, uint64, const char *, float); -extern EResult cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(void *, uint64, const char *, int64); -extern EResult cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(void *, uint64, const char *, int64); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp index 4e3df41bb..6d57e3cd2 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.cpp @@ -1,178 +1,265 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_130x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_130x -#include "struct_converters.h" -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Init(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(void *linux_side) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Shutdown(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(void *linux_side, const char * pchUserAgent, const char * pchUserCSS) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser( void *args ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->RemoveBrowser( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( void *args ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 ); + iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData ); + steamclient_free_path( u_pchURL ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->StopLoad( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->Reload( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->GoBack( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->GoForward( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchScript) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->MouseUp( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->MouseDown( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->MouseMove( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->MouseWheel( params->unBrowserHandle, params->nDelta ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyDown( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyUp( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar( void *args ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->ViewSource( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->CopyToClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->PasteFromClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->StopFind( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + iface->JSDialogResponse( params->unBrowserHandle, params->bResult ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *)params->linux_side; + const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles ); + iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles ); + steamclient_free_path_array( u_pchSelectedFiles ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h deleted file mode 100644 index 14aea7080..000000000 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h +++ /dev/null @@ -1,32 +0,0 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp index ab849c7d3..5476d5b44 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.cpp @@ -1,188 +1,281 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133a/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_133a -#include "struct_converters.h" -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Init(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(void *linux_side) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Shutdown(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(void *linux_side, const char * pchUserAgent, const char * pchUserCSS) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser( void *args ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->RemoveBrowser( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( void *args ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 ); + iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData ); + steamclient_free_path( u_pchURL ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->StopLoad( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->Reload( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->GoBack( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->GoForward( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchScript) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->MouseUp( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->MouseDown( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->MouseMove( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->MouseWheel( params->unBrowserHandle, params->nDelta ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyDown( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyUp( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar( void *args ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->ViewSource( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->CopyToClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->PasteFromClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->StopFind( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(void *linux_side, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetCookie( params->pchHostname, params->pchKey, params->pchValue, params->pchPath, params->nExpires, params->bSecure, params->bHTTPOnly ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->SetPageScaleFactor( params->unBrowserHandle, params->flZoom, params->nPointX, params->nPointY ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + iface->JSDialogResponse( params->unBrowserHandle, params->bResult ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *)params->linux_side; + const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles ); + iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles ); + steamclient_free_path_array( u_pchSelectedFiles ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h deleted file mode 100644 index a47d1ef72..000000000 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h +++ /dev/null @@ -1,34 +0,0 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp index bcc263d77..49259db9e 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.cpp @@ -1,193 +1,289 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_140/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_140 -#include "struct_converters.h" -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Init(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(void *linux_side) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Shutdown(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(void *linux_side, const char * pchUserAgent, const char * pchUserCSS) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser( void *args ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->RemoveBrowser( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( void *args ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 ); + iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData ); + steamclient_free_path( u_pchURL ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->StopLoad( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->Reload( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->GoBack( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->GoForward( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchScript) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->MouseUp( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->MouseDown( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->MouseMove( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->MouseWheel( params->unBrowserHandle, params->nDelta ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyDown( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyUp( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar( void *args ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->ViewSource( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->CopyToClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->PasteFromClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->StopFind( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(void *linux_side, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetCookie( params->pchHostname, params->pchKey, params->pchValue, params->pchPath, params->nExpires, params->bSecure, params->bHTTPOnly ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetPageScaleFactor( params->unBrowserHandle, params->flZoom, params->nPointX, params->nPointY ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->SetBackgroundMode( params->unBrowserHandle, params->bBackgroundMode ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + iface->JSDialogResponse( params->unBrowserHandle, params->bResult ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *)params->linux_side; + const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles ); + iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles ); + steamclient_free_path_array( u_pchSelectedFiles ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h deleted file mode 100644 index 4913ed763..000000000 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h +++ /dev/null @@ -1,35 +0,0 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp index 48ed7c4fb..46bac6501 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.cpp @@ -1,198 +1,297 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Init(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(void *linux_side) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Shutdown(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(void *linux_side, const char * pchUserAgent, const char * pchUserCSS) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( void *args ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->RemoveBrowser( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( void *args ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 ); + iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData ); + steamclient_free_path( u_pchURL ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->StopLoad( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->Reload( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->GoBack( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->GoForward( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchScript) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->MouseUp( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->MouseDown( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->MouseMove( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->MouseWheel( params->unBrowserHandle, params->nDelta ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyDown( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyUp( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( void *args ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->ViewSource( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->CopyToClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->PasteFromClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->StopFind( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(void *linux_side, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetCookie( params->pchHostname, params->pchKey, params->pchValue, params->pchPath, params->nExpires, params->bSecure, params->bHTTPOnly ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetPageScaleFactor( params->unBrowserHandle, params->flZoom, params->nPointX, params->nPointY ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetBackgroundMode( params->unBrowserHandle, params->bBackgroundMode ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flDPIScaling) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetDPIScalingFactor((HHTMLBrowser)unBrowserHandle, (float)flDPIScaling); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->SetDPIScalingFactor( params->unBrowserHandle, params->flDPIScaling ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + iface->JSDialogResponse( params->unBrowserHandle, params->bResult ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *)params->linux_side; + const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles ); + iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles ); + steamclient_free_path_array( u_pchSelectedFiles ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h deleted file mode 100644 index 4f365964a..000000000 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h +++ /dev/null @@ -1,36 +0,0 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(void *, HHTMLBrowser, float); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp index b6154d30a..be6613571 100644 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp +++ b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.cpp @@ -1,204 +1,305 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h" -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Init(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(void *linux_side) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->Shutdown(); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(void *linux_side, const char * pchUserAgent, const char * pchUserCSS) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser( void *args ) { - return ((ISteamHTMLSurface*)linux_side)->CreateBrowser((const char *)pchUserAgent, (const char *)pchUserCSS); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + params->_ret = iface->CreateBrowser( params->pchUserAgent, params->pchUserCSS ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser( void *args ) { - ((ISteamHTMLSurface*)linux_side)->RemoveBrowser((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->RemoveBrowser( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( void *args ) { - ((ISteamHTMLSurface*)linux_side)->LoadURL((HHTMLBrowser)unBrowserHandle, (const char *)pchURL, (const char *)pchPostData); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 ); + iface->LoadURL( params->unBrowserHandle, u_pchURL, params->pchPostData ); + steamclient_free_path( u_pchURL ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetSize((HHTMLBrowser)unBrowserHandle, (uint32)unWidth, (uint32)unHeight); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetSize( params->unBrowserHandle, params->unWidth, params->unHeight ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopLoad((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->StopLoad( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Reload((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->Reload( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoBack((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->GoBack( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GoForward((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->GoForward( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AddHeader((HHTMLBrowser)unBrowserHandle, (const char *)pchKey, (const char *)pchValue); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->AddHeader( params->unBrowserHandle, params->pchKey, params->pchValue ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchScript) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ExecuteJavascript((HHTMLBrowser)unBrowserHandle, (const char *)pchScript); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->ExecuteJavascript( params->unBrowserHandle, params->pchScript ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseUp((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->MouseUp( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDown((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->MouseDown( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(void *linux_side, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseDoubleClick((HHTMLBrowser)unBrowserHandle, (ISteamHTMLSurface::EHTMLMouseButton)eMouseButton); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->MouseDoubleClick( params->unBrowserHandle, params->eMouseButton ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseMove((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->MouseMove( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(void *linux_side, HHTMLBrowser unBrowserHandle, int32 nDelta) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel( void *args ) { - ((ISteamHTMLSurface*)linux_side)->MouseWheel((HHTMLBrowser)unBrowserHandle, (int32)nDelta); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->MouseWheel( params->unBrowserHandle, params->nDelta ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyDown((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers, (bool)bIsSystemKey); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyDown( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers, params->bIsSystemKey ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp( void *args ) { - nNativeKeyCode = manual_convert_nNativeKeyCode(nNativeKeyCode); - ((ISteamHTMLSurface*)linux_side)->KeyUp((HHTMLBrowser)unBrowserHandle, (uint32)nNativeKeyCode, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + uint32_t u_nNativeKeyCode = manual_convert_nNativeKeyCode( params->nNativeKeyCode ); + iface->KeyUp( params->unBrowserHandle, u_nNativeKeyCode, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar( void *args ) { - ((ISteamHTMLSurface*)linux_side)->KeyChar((HHTMLBrowser)unBrowserHandle, (uint32)cUnicodeChar, (ISteamHTMLSurface::EHTMLKeyModifiers)eHTMLKeyModifiers); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->KeyChar( params->unBrowserHandle, params->cUnicodeChar, params->eHTMLKeyModifiers ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetHorizontalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetHorizontalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(void *linux_side, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetVerticalScroll((HHTMLBrowser)unBrowserHandle, (uint32)nAbsolutePixelScroll); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetVerticalScroll( params->unBrowserHandle, params->nAbsolutePixelScroll ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(void *linux_side, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetKeyFocus((HHTMLBrowser)unBrowserHandle, (bool)bHasKeyFocus); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetKeyFocus( params->unBrowserHandle, params->bHasKeyFocus ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource( void *args ) { - ((ISteamHTMLSurface*)linux_side)->ViewSource((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->ViewSource( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->CopyToClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->CopyToClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard( void *args ) { - ((ISteamHTMLSurface*)linux_side)->PasteFromClipboard((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->PasteFromClipboard( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(void *linux_side, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find( void *args ) { - ((ISteamHTMLSurface*)linux_side)->Find((HHTMLBrowser)unBrowserHandle, (const char *)pchSearchStr, (bool)bCurrentlyInFind, (bool)bReverse); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->Find( params->unBrowserHandle, params->pchSearchStr, params->bCurrentlyInFind, params->bReverse ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind( void *args ) { - ((ISteamHTMLSurface*)linux_side)->StopFind((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->StopFind( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(void *linux_side, HHTMLBrowser unBrowserHandle, int x, int y) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition( void *args ) { - ((ISteamHTMLSurface*)linux_side)->GetLinkAtPosition((HHTMLBrowser)unBrowserHandle, (int)x, (int)y); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->GetLinkAtPosition( params->unBrowserHandle, params->x, params->y ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(void *linux_side, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetCookie((const char *)pchHostname, (const char *)pchKey, (const char *)pchValue, (const char *)pchPath, (RTime32)nExpires, (bool)bSecure, (bool)bHTTPOnly); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetCookie( params->pchHostname, params->pchKey, params->pchValue, params->pchPath, params->nExpires, params->bSecure, params->bHTTPOnly ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetPageScaleFactor((HHTMLBrowser)unBrowserHandle, (float)flZoom, (int)nPointX, (int)nPointY); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetPageScaleFactor( params->unBrowserHandle, params->flZoom, params->nPointX, params->nPointY ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(void *linux_side, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetBackgroundMode((HHTMLBrowser)unBrowserHandle, (bool)bBackgroundMode); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetBackgroundMode( params->unBrowserHandle, params->bBackgroundMode ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(void *linux_side, HHTMLBrowser unBrowserHandle, float flDPIScaling) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor( void *args ) { - ((ISteamHTMLSurface*)linux_side)->SetDPIScalingFactor((HHTMLBrowser)unBrowserHandle, (float)flDPIScaling); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->SetDPIScalingFactor( params->unBrowserHandle, params->flDPIScaling ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(void *linux_side, HHTMLBrowser unBrowserHandle) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools( void *args ) { - ((ISteamHTMLSurface*)linux_side)->OpenDeveloperTools((HHTMLBrowser)unBrowserHandle); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->OpenDeveloperTools( params->unBrowserHandle ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(void *linux_side, HHTMLBrowser unBrowserHandle, bool bAllowed) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest( void *args ) { - ((ISteamHTMLSurface*)linux_side)->AllowStartRequest((HHTMLBrowser)unBrowserHandle, (bool)bAllowed); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->AllowStartRequest( params->unBrowserHandle, params->bAllowed ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, bool bResult) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->JSDialogResponse((HHTMLBrowser)unBrowserHandle, (bool)bResult); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + iface->JSDialogResponse( params->unBrowserHandle, params->bResult ); + return 0; } -void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(void *linux_side, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse( void *args ) { - ((ISteamHTMLSurface*)linux_side)->FileLoadDialogResponse((HHTMLBrowser)unBrowserHandle, (const char **)pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *params = (struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params *)args; + struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *iface = (struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *)params->linux_side; + const char **u_pchSelectedFiles = steamclient_dos_to_unix_path_array( params->pchSelectedFiles ); + iface->FileLoadDialogResponse( params->unBrowserHandle, u_pchSelectedFiles ); + steamclient_free_path_array( u_pchSelectedFiles ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h b/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h deleted file mode 100644 index a1f424b47..000000000 --- a/lsteamclient/cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h +++ /dev/null @@ -1,37 +0,0 @@ -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(void *); -extern bool cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(void *); -extern SteamAPICall_t cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(void *, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(void *, HHTMLBrowser, uint32, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(void *, HHTMLBrowser, const char *, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(void *, HHTMLBrowser, const char *); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(void *, HHTMLBrowser, EHTMLMouseButton); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(void *, HHTMLBrowser, int32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(void *, HHTMLBrowser, uint32, EHTMLKeyModifiers); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(void *, HHTMLBrowser, uint32); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(void *, HHTMLBrowser, const char *, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(void *, HHTMLBrowser, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(void *, const char *, const char *, const char *, const char *, RTime32, bool, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(void *, HHTMLBrowser, float, int, int); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(void *, HHTMLBrowser, float); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(void *, HHTMLBrowser); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(void *, HHTMLBrowser, bool); -extern void cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(void *, HHTMLBrowser, const char **); diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp index 2c1d55468..ae9b08858 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.cpp @@ -1,91 +1,123 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_121/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_121 -#include "struct_converters.h" -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CreateHTTPRequest( params->eHTTPRequestMethod, params->pchAbsoluteURL ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetHTTPRequestContextValue( params->hRequest, params->ulContextValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetHTTPRequestNetworkActivityTimeout( params->hRequest, params->unTimeoutSeconds ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetHTTPRequestHeaderValue( params->hRequest, params->pchHeaderName, params->pchHeaderValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetHTTPRequestGetOrPostParameter( params->hRequest, params->pchParamName, params->pchParamValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SendHTTPRequest( params->hRequest, params->pCallHandle ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->DeferHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->PrioritizeHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderSize( params->hRequest, params->pchHeaderName, params->unResponseHeaderSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderValue( params->hRequest, params->pchHeaderName, params->pHeaderValueBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 * unBodySize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodySize( params->hRequest, params->unBodySize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodyData( params->hRequest, params->pBodyDataBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ReleaseHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float * pflPercentOut) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetHTTPDownloadProgressPct( params->hRequest, params->pflPercentOut ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetHTTPRequestRawPostBody( params->hRequest, params->pchContentType, params->pubBody, params->unBodyLen ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h deleted file mode 100644 index 1a4769370..000000000 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h +++ /dev/null @@ -1,15 +0,0 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp index d46a1b54f..952020782 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.cpp @@ -1,141 +1,203 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->CreateHTTPRequest( params->eHTTPRequestMethod, params->pchAbsoluteURL ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestContextValue( params->hRequest, params->ulContextValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestNetworkActivityTimeout( params->hRequest, params->unTimeoutSeconds ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestHeaderValue( params->hRequest, params->pchHeaderName, params->pchHeaderValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestGetOrPostParameter( params->hRequest, params->pchParamName, params->pchParamValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SendHTTPRequest( params->hRequest, params->pCallHandle ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse( void *args ) { - return ((ISteamHTTP*)linux_side)->SendHTTPRequestAndStreamResponse((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SendHTTPRequestAndStreamResponse( params->hRequest, params->pCallHandle ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->DeferHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->PrioritizeHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderSize( params->hRequest, params->pchHeaderName, params->unResponseHeaderSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderValue( params->hRequest, params->pchHeaderName, params->pHeaderValueBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 * unBodySize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodySize( params->hRequest, params->unBodySize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodyData( params->hRequest, params->pBodyDataBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPStreamingResponseBodyData((HTTPRequestHandle)hRequest, (uint32)cOffset, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPStreamingResponseBodyData( params->hRequest, params->cOffset, params->pBodyDataBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->ReleaseHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float * pflPercentOut) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPDownloadProgressPct( params->hRequest, params->pflPercentOut ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestRawPostBody( params->hRequest, params->pchContentType, params->pubBody, params->unBodyLen ); + return 0; } -HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(void *linux_side, bool bAllowResponsesToModify) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->CreateCookieContainer((bool)bAllowResponsesToModify); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->CreateCookieContainer( params->bAllowResponsesToModify ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(void *linux_side, HTTPCookieContainerHandle hCookieContainer) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->ReleaseCookieContainer((HTTPCookieContainerHandle)hCookieContainer); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->ReleaseCookieContainer( params->hCookieContainer ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(void *linux_side, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie( void *args ) { - return ((ISteamHTTP*)linux_side)->SetCookie((HTTPCookieContainerHandle)hCookieContainer, (const char *)pchHost, (const char *)pchUrl, (const char *)pchCookie); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetCookie( params->hCookieContainer, params->pchHost, params->pchUrl, params->pchCookie ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(void *linux_side, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestCookieContainer((HTTPRequestHandle)hRequest, (HTTPCookieContainerHandle)hCookieContainer); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestCookieContainer( params->hRequest, params->hCookieContainer ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(void *linux_side, HTTPRequestHandle hRequest, const char * pchUserAgentInfo) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestUserAgentInfo((HTTPRequestHandle)hRequest, (const char *)pchUserAgentInfo); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestUserAgentInfo( params->hRequest, params->pchUserAgentInfo ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(void *linux_side, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestRequiresVerifiedCertificate((HTTPRequestHandle)hRequest, (bool)bRequireVerifiedCertificate); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestRequiresVerifiedCertificate( params->hRequest, params->bRequireVerifiedCertificate ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(void *linux_side, HTTPRequestHandle hRequest, uint32 unMilliseconds) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestAbsoluteTimeoutMS((HTTPRequestHandle)hRequest, (uint32)unMilliseconds); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetHTTPRequestAbsoluteTimeoutMS( params->hRequest, params->unMilliseconds ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(void *linux_side, HTTPRequestHandle hRequest, bool * pbWasTimedOut) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPRequestWasTimedOut((HTTPRequestHandle)hRequest, (bool *)pbWasTimedOut); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetHTTPRequestWasTimedOut( params->hRequest, params->pbWasTimedOut ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h deleted file mode 100644 index 14b63a1e7..000000000 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h +++ /dev/null @@ -1,25 +0,0 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(void *, HTTPRequestHandle, uint32, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(void *, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(void *, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(void *, HTTPCookieContainerHandle, const char *, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(void *, HTTPRequestHandle, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(void *, HTTPRequestHandle, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(void *, HTTPRequestHandle, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(void *, HTTPRequestHandle, bool *); diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp index 92d65f779..80e9daa47 100644 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.cpp @@ -1,142 +1,203 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h" -HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *linux_side, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->CreateHTTPRequest((EHTTPMethod)eHTTPRequestMethod, (const char *)pchAbsoluteURL); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->CreateHTTPRequest( params->eHTTPRequestMethod, params->pchAbsoluteURL ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(void *linux_side, HTTPRequestHandle hRequest, uint64 ulContextValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestContextValue((HTTPRequestHandle)hRequest, (uint64)ulContextValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestContextValue( params->hRequest, params->ulContextValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(void *linux_side, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestNetworkActivityTimeout((HTTPRequestHandle)hRequest, (uint32)unTimeoutSeconds); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestNetworkActivityTimeout( params->hRequest, params->unTimeoutSeconds ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (const char *)pchHeaderValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestHeaderValue( params->hRequest, params->pchHeaderName, params->pchHeaderValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(void *linux_side, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestGetOrPostParameter((HTTPRequestHandle)hRequest, (const char *)pchParamName, (const char *)pchParamValue); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestGetOrPostParameter( params->hRequest, params->pchParamName, params->pchParamValue ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->SendHTTPRequest((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SendHTTPRequest( params->hRequest, params->pCallHandle ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(void *linux_side, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse( void *args ) { - return ((ISteamHTTP*)linux_side)->SendHTTPRequestAndStreamResponse((HTTPRequestHandle)hRequest, (SteamAPICall_t *)pCallHandle); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SendHTTPRequestAndStreamResponse( params->hRequest, params->pCallHandle ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->DeferHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->DeferHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->PrioritizeHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->PrioritizeHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderSize((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint32 *)unResponseHeaderSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderSize( params->hRequest, params->pchHeaderName, params->unResponseHeaderSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(void *linux_side, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseHeaderValue((HTTPRequestHandle)hRequest, (const char *)pchHeaderName, (uint8 *)pHeaderValueBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPResponseHeaderValue( params->hRequest, params->pchHeaderName, params->pHeaderValueBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(void *linux_side, HTTPRequestHandle hRequest, uint32 * unBodySize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodySize((HTTPRequestHandle)hRequest, (uint32 *)unBodySize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodySize( params->hRequest, params->unBodySize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPResponseBodyData((HTTPRequestHandle)hRequest, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPResponseBodyData( params->hRequest, params->pBodyDataBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(void *linux_side, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPStreamingResponseBodyData((HTTPRequestHandle)hRequest, (uint32)cOffset, (uint8 *)pBodyDataBuffer, (uint32)unBufferSize); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPStreamingResponseBodyData( params->hRequest, params->cOffset, params->pBodyDataBuffer, params->unBufferSize ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(void *linux_side, HTTPRequestHandle hRequest) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest( void *args ) { - return ((ISteamHTTP*)linux_side)->ReleaseHTTPRequest((HTTPRequestHandle)hRequest); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->ReleaseHTTPRequest( params->hRequest ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(void *linux_side, HTTPRequestHandle hRequest, float * pflPercentOut) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPDownloadProgressPct((HTTPRequestHandle)hRequest, (float *)pflPercentOut); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPDownloadProgressPct( params->hRequest, params->pflPercentOut ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(void *linux_side, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestRawPostBody((HTTPRequestHandle)hRequest, (const char *)pchContentType, (uint8 *)pubBody, (uint32)unBodyLen); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestRawPostBody( params->hRequest, params->pchContentType, params->pubBody, params->unBodyLen ); + return 0; } -HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(void *linux_side, bool bAllowResponsesToModify) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->CreateCookieContainer((bool)bAllowResponsesToModify); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->CreateCookieContainer( params->bAllowResponsesToModify ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(void *linux_side, HTTPCookieContainerHandle hCookieContainer) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->ReleaseCookieContainer((HTTPCookieContainerHandle)hCookieContainer); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->ReleaseCookieContainer( params->hCookieContainer ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(void *linux_side, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie( void *args ) { - return ((ISteamHTTP*)linux_side)->SetCookie((HTTPCookieContainerHandle)hCookieContainer, (const char *)pchHost, (const char *)pchUrl, (const char *)pchCookie); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetCookie( params->hCookieContainer, params->pchHost, params->pchUrl, params->pchCookie ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(void *linux_side, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestCookieContainer((HTTPRequestHandle)hRequest, (HTTPCookieContainerHandle)hCookieContainer); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestCookieContainer( params->hRequest, params->hCookieContainer ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(void *linux_side, HTTPRequestHandle hRequest, const char * pchUserAgentInfo) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestUserAgentInfo((HTTPRequestHandle)hRequest, (const char *)pchUserAgentInfo); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestUserAgentInfo( params->hRequest, params->pchUserAgentInfo ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(void *linux_side, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestRequiresVerifiedCertificate((HTTPRequestHandle)hRequest, (bool)bRequireVerifiedCertificate); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestRequiresVerifiedCertificate( params->hRequest, params->bRequireVerifiedCertificate ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(void *linux_side, HTTPRequestHandle hRequest, uint32 unMilliseconds) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS( void *args ) { - return ((ISteamHTTP*)linux_side)->SetHTTPRequestAbsoluteTimeoutMS((HTTPRequestHandle)hRequest, (uint32)unMilliseconds); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetHTTPRequestAbsoluteTimeoutMS( params->hRequest, params->unMilliseconds ); + return 0; } -bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(void *linux_side, HTTPRequestHandle hRequest, bool * pbWasTimedOut) +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut( void *args ) { - return ((ISteamHTTP*)linux_side)->GetHTTPRequestWasTimedOut((HTTPRequestHandle)hRequest, (bool *)pbWasTimedOut); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params *params = (struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params *)args; + struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *iface = (struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetHTTPRequestWasTimedOut( params->hRequest, params->pbWasTimedOut ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h b/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h deleted file mode 100644 index 129785530..000000000 --- a/lsteamclient/cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h +++ /dev/null @@ -1,25 +0,0 @@ -extern HTTPRequestHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(void *, EHTTPMethod, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(void *, HTTPRequestHandle, uint64); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(void *, HTTPRequestHandle, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(void *, HTTPRequestHandle, SteamAPICall_t *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(void *, HTTPRequestHandle, const char *, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(void *, HTTPRequestHandle, uint32 *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(void *, HTTPRequestHandle, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(void *, HTTPRequestHandle, uint32, uint8 *, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(void *, HTTPRequestHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(void *, HTTPRequestHandle, float *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(void *, HTTPRequestHandle, const char *, uint8 *, uint32); -extern HTTPCookieContainerHandle cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(void *, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(void *, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(void *, HTTPCookieContainerHandle, const char *, const char *, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(void *, HTTPRequestHandle, HTTPCookieContainerHandle); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(void *, HTTPRequestHandle, const char *); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(void *, HTTPRequestHandle, bool); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(void *, HTTPRequestHandle, uint32); -extern bool cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(void *, HTTPRequestHandle, bool *); diff --git a/lsteamclient/cppISteamInput_SteamInput001.cpp b/lsteamclient/cppISteamInput_SteamInput001.cpp index 389e5eb92..e3e227e29 100644 --- a/lsteamclient/cppISteamInput_SteamInput001.cpp +++ b/lsteamclient/cppISteamInput_SteamInput001.cpp @@ -1,182 +1,267 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_150/steam_api.h" -#include "steamworks_sdk_150/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_150 -#include "struct_converters.h" -#include "cppISteamInput_SteamInput001.h" -bool cppISteamInput_SteamInput001_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInput_SteamInput001_Init( void *args ) { - return ((ISteamInput*)linux_side)->Init(); + struct ISteamInput_SteamInput001_Init_params *params = (struct ISteamInput_SteamInput001_Init_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamInput_SteamInput001_Shutdown(void *linux_side) +NTSTATUS ISteamInput_SteamInput001_Shutdown( void *args ) { - return ((ISteamInput*)linux_side)->Shutdown(); + struct ISteamInput_SteamInput001_Shutdown_params *params = (struct ISteamInput_SteamInput001_Shutdown_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamInput_SteamInput001_RunFrame(void *linux_side) +NTSTATUS ISteamInput_SteamInput001_RunFrame( void *args ) { - ((ISteamInput*)linux_side)->RunFrame(); + struct ISteamInput_SteamInput001_RunFrame_params *params = (struct ISteamInput_SteamInput001_RunFrame_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamInput_SteamInput001_GetConnectedControllers(void *linux_side, InputHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput001_GetConnectedControllers( void *args ) { - return ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); + struct ISteamInput_SteamInput001_GetConnectedControllers_params *params = (struct ISteamInput_SteamInput001_GetConnectedControllers_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput001_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamInput_SteamInput001_GetActionSetHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamInput_SteamInput001_GetActionSetHandle_params *params = (struct ISteamInput_SteamInput001_GetActionSetHandle_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamInput_SteamInput001_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +NTSTATUS ISteamInput_SteamInput001_ActivateActionSet( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + struct ISteamInput_SteamInput001_ActivateActionSet_params *params = (struct ISteamInput_SteamInput001_ActivateActionSet_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->ActivateActionSet( params->inputHandle, params->actionSetHandle ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput001_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_GetCurrentActionSet( void *args ) { - return ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_GetCurrentActionSet_params *params = (struct ISteamInput_SteamInput001_GetCurrentActionSet_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput001_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput001_ActivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput001_ActivateActionSetLayer_params *params = (struct ISteamInput_SteamInput001_ActivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput001_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput001_DeactivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput001_DeactivateActionSetLayer_params *params = (struct ISteamInput_SteamInput001_DeactivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_DeactivateAllActionSetLayers( void *args ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_DeactivateAllActionSetLayers_params *params = (struct ISteamInput_SteamInput001_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->inputHandle ); + return 0; } -int cppISteamInput_SteamInput001_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput001_GetActiveActionSetLayers( void *args ) { - return ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); + struct ISteamInput_SteamInput001_GetActiveActionSetLayers_params *params = (struct ISteamInput_SteamInput001_GetActiveActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut ); + return 0; } -InputDigitalActionHandle_t cppISteamInput_SteamInput001_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput001_GetDigitalActionHandle_params *params = (struct ISteamInput_SteamInput001_GetDigitalActionHandle_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamInput_SteamInput001_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); + struct ISteamInput_SteamInput001_GetDigitalActionData_params *params = (struct ISteamInput_SteamInput001_GetDigitalActionData_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle ); + return 0; } -int cppISteamInput_SteamInput001_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput001_GetDigitalActionOrigins_params *params = (struct ISteamInput_SteamInput001_GetDigitalActionOrigins_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -InputAnalogActionHandle_t cppISteamInput_SteamInput001_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput001_GetAnalogActionHandle_params *params = (struct ISteamInput_SteamInput001_GetAnalogActionHandle_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamInput_SteamInput001_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); + struct ISteamInput_SteamInput001_GetAnalogActionData_params *params = (struct ISteamInput_SteamInput001_GetAnalogActionData_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle ); + return 0; } -int cppISteamInput_SteamInput001_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput001_GetAnalogActionOrigins_params *params = (struct ISteamInput_SteamInput001_GetAnalogActionOrigins_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput001_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput001_GetStringForActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); + struct ISteamInput_SteamInput001_GetStringForActionOrigin_params *params = (struct ISteamInput_SteamInput001_GetStringForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -void cppISteamInput_SteamInput001_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +NTSTATUS ISteamInput_SteamInput001_StopAnalogActionMomentum( void *args ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + struct ISteamInput_SteamInput001_StopAnalogActionMomentum_params *params = (struct ISteamInput_SteamInput001_StopAnalogActionMomentum_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->StopAnalogActionMomentum( params->inputHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamInput_SteamInput001_GetMotionData(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_GetMotionData( void *args ) { - return ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_GetMotionData_params *params = (struct ISteamInput_SteamInput001_GetMotionData_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput001_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamInput_SteamInput001_TriggerVibration( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamInput_SteamInput001_TriggerVibration_params *params = (struct ISteamInput_SteamInput001_TriggerVibration_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamInput_SteamInput001_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput001_SetLEDColor( void *args ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamInput_SteamInput001_SetLEDColor_params *params = (struct ISteamInput_SteamInput001_SetLEDColor_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -void cppISteamInput_SteamInput001_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamInput_SteamInput001_TriggerHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamInput_SteamInput001_TriggerHapticPulse_params *params = (struct ISteamInput_SteamInput001_TriggerHapticPulse_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput001_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params *params = (struct ISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -bool cppISteamInput_SteamInput001_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_ShowBindingPanel( void *args ) { - return ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_ShowBindingPanel_params *params = (struct ISteamInput_SteamInput001_ShowBindingPanel_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->inputHandle ); + return 0; } -ESteamInputType cppISteamInput_SteamInput001_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_GetInputTypeForHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_GetInputTypeForHandle_params *params = (struct ISteamInput_SteamInput001_GetInputTypeForHandle_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->inputHandle ); + return 0; } -InputHandle_t cppISteamInput_SteamInput001_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamInput_SteamInput001_GetControllerForGamepadIndex( void *args ) { - return ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamInput_SteamInput001_GetControllerForGamepadIndex_params *params = (struct ISteamInput_SteamInput001_GetControllerForGamepadIndex_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamInput_SteamInput001_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +NTSTATUS ISteamInput_SteamInput001_GetGamepadIndexForController( void *args ) { - return ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); + struct ISteamInput_SteamInput001_GetGamepadIndexForController_params *params = (struct ISteamInput_SteamInput001_GetGamepadIndexForController_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle ); + return 0; } -const char * cppISteamInput_SteamInput001_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput001_GetStringForXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput001_GetStringForXboxOrigin_params *params = (struct ISteamInput_SteamInput001_GetStringForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params *params = (struct ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput001_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +NTSTATUS ISteamInput_SteamInput001_TranslateActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); + struct ISteamInput_SteamInput001_TranslateActionOrigin_params *params = (struct ISteamInput_SteamInput001_TranslateActionOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamInput_SteamInput001_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamInput_SteamInput001_GetDeviceBindingRevision( void *args ) { - return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); + struct ISteamInput_SteamInput001_GetDeviceBindingRevision_params *params = (struct ISteamInput_SteamInput001_GetDeviceBindingRevision_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor ); + return 0; } -uint32 cppISteamInput_SteamInput001_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput001_GetRemotePlaySessionID( void *args ) { - return ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput001_GetRemotePlaySessionID_params *params = (struct ISteamInput_SteamInput001_GetRemotePlaySessionID_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + params->_ret = iface->GetRemotePlaySessionID( params->inputHandle ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInput_SteamInput001.h b/lsteamclient/cppISteamInput_SteamInput001.h deleted file mode 100644 index b97273c53..000000000 --- a/lsteamclient/cppISteamInput_SteamInput001.h +++ /dev/null @@ -1,35 +0,0 @@ -extern bool cppISteamInput_SteamInput001_Init(void *); -extern bool cppISteamInput_SteamInput001_Shutdown(void *); -extern void cppISteamInput_SteamInput001_RunFrame(void *); -extern int cppISteamInput_SteamInput001_GetConnectedControllers(void *, InputHandle_t *); -extern InputActionSetHandle_t cppISteamInput_SteamInput001_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput001_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput001_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput001_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput001_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput001_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput001_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput001_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput001_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput001_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput001_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput001_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput001_GetGlyphForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput001_GetStringForActionOrigin(void *, EInputActionOrigin); -extern void cppISteamInput_SteamInput001_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput001_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput001_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput001_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput001_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput001_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput001_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput001_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput001_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput001_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput001_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput001_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput001_GetRemotePlaySessionID(void *, InputHandle_t); diff --git a/lsteamclient/cppISteamInput_SteamInput002.cpp b/lsteamclient/cppISteamInput_SteamInput002.cpp index 218acc0b4..c0082d9b2 100644 --- a/lsteamclient/cppISteamInput_SteamInput002.cpp +++ b/lsteamclient/cppISteamInput_SteamInput002.cpp @@ -1,182 +1,267 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_151 -#include "struct_converters.h" -#include "cppISteamInput_SteamInput002.h" -bool cppISteamInput_SteamInput002_Init(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInput_SteamInput002_Init( void *args ) { - return ((ISteamInput*)linux_side)->Init(); + struct ISteamInput_SteamInput002_Init_params *params = (struct ISteamInput_SteamInput002_Init_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->Init( ); + return 0; } -bool cppISteamInput_SteamInput002_Shutdown(void *linux_side) +NTSTATUS ISteamInput_SteamInput002_Shutdown( void *args ) { - return ((ISteamInput*)linux_side)->Shutdown(); + struct ISteamInput_SteamInput002_Shutdown_params *params = (struct ISteamInput_SteamInput002_Shutdown_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -void cppISteamInput_SteamInput002_RunFrame(void *linux_side) +NTSTATUS ISteamInput_SteamInput002_RunFrame( void *args ) { - ((ISteamInput*)linux_side)->RunFrame(); + struct ISteamInput_SteamInput002_RunFrame_params *params = (struct ISteamInput_SteamInput002_RunFrame_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->RunFrame( ); + return 0; } -int cppISteamInput_SteamInput002_GetConnectedControllers(void *linux_side, InputHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput002_GetConnectedControllers( void *args ) { - return ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); + struct ISteamInput_SteamInput002_GetConnectedControllers_params *params = (struct ISteamInput_SteamInput002_GetConnectedControllers_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput002_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamInput_SteamInput002_GetActionSetHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamInput_SteamInput002_GetActionSetHandle_params *params = (struct ISteamInput_SteamInput002_GetActionSetHandle_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamInput_SteamInput002_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +NTSTATUS ISteamInput_SteamInput002_ActivateActionSet( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + struct ISteamInput_SteamInput002_ActivateActionSet_params *params = (struct ISteamInput_SteamInput002_ActivateActionSet_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->ActivateActionSet( params->inputHandle, params->actionSetHandle ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput002_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_GetCurrentActionSet( void *args ) { - return ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_GetCurrentActionSet_params *params = (struct ISteamInput_SteamInput002_GetCurrentActionSet_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput002_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput002_ActivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput002_ActivateActionSetLayer_params *params = (struct ISteamInput_SteamInput002_ActivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput002_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput002_DeactivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput002_DeactivateActionSetLayer_params *params = (struct ISteamInput_SteamInput002_DeactivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_DeactivateAllActionSetLayers( void *args ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_DeactivateAllActionSetLayers_params *params = (struct ISteamInput_SteamInput002_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->inputHandle ); + return 0; } -int cppISteamInput_SteamInput002_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput002_GetActiveActionSetLayers( void *args ) { - return ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); + struct ISteamInput_SteamInput002_GetActiveActionSetLayers_params *params = (struct ISteamInput_SteamInput002_GetActiveActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut ); + return 0; } -InputDigitalActionHandle_t cppISteamInput_SteamInput002_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput002_GetDigitalActionHandle_params *params = (struct ISteamInput_SteamInput002_GetDigitalActionHandle_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamInput_SteamInput002_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); + struct ISteamInput_SteamInput002_GetDigitalActionData_params *params = (struct ISteamInput_SteamInput002_GetDigitalActionData_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle ); + return 0; } -int cppISteamInput_SteamInput002_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput002_GetDigitalActionOrigins_params *params = (struct ISteamInput_SteamInput002_GetDigitalActionOrigins_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -InputAnalogActionHandle_t cppISteamInput_SteamInput002_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput002_GetAnalogActionHandle_params *params = (struct ISteamInput_SteamInput002_GetAnalogActionHandle_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamInput_SteamInput002_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); + struct ISteamInput_SteamInput002_GetAnalogActionData_params *params = (struct ISteamInput_SteamInput002_GetAnalogActionData_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle ); + return 0; } -int cppISteamInput_SteamInput002_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput002_GetAnalogActionOrigins_params *params = (struct ISteamInput_SteamInput002_GetAnalogActionOrigins_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput002_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput002_GetStringForActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); + struct ISteamInput_SteamInput002_GetStringForActionOrigin_params *params = (struct ISteamInput_SteamInput002_GetStringForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -void cppISteamInput_SteamInput002_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +NTSTATUS ISteamInput_SteamInput002_StopAnalogActionMomentum( void *args ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + struct ISteamInput_SteamInput002_StopAnalogActionMomentum_params *params = (struct ISteamInput_SteamInput002_StopAnalogActionMomentum_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->StopAnalogActionMomentum( params->inputHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamInput_SteamInput002_GetMotionData(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_GetMotionData( void *args ) { - return ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_GetMotionData_params *params = (struct ISteamInput_SteamInput002_GetMotionData_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput002_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamInput_SteamInput002_TriggerVibration( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamInput_SteamInput002_TriggerVibration_params *params = (struct ISteamInput_SteamInput002_TriggerVibration_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamInput_SteamInput002_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput002_SetLEDColor( void *args ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamInput_SteamInput002_SetLEDColor_params *params = (struct ISteamInput_SteamInput002_SetLEDColor_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -void cppISteamInput_SteamInput002_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamInput_SteamInput002_TriggerHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamInput_SteamInput002_TriggerHapticPulse_params *params = (struct ISteamInput_SteamInput002_TriggerHapticPulse_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput002_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params *params = (struct ISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + iface->TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -bool cppISteamInput_SteamInput002_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_ShowBindingPanel( void *args ) { - return ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_ShowBindingPanel_params *params = (struct ISteamInput_SteamInput002_ShowBindingPanel_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->inputHandle ); + return 0; } -ESteamInputType cppISteamInput_SteamInput002_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_GetInputTypeForHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_GetInputTypeForHandle_params *params = (struct ISteamInput_SteamInput002_GetInputTypeForHandle_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->inputHandle ); + return 0; } -InputHandle_t cppISteamInput_SteamInput002_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamInput_SteamInput002_GetControllerForGamepadIndex( void *args ) { - return ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamInput_SteamInput002_GetControllerForGamepadIndex_params *params = (struct ISteamInput_SteamInput002_GetControllerForGamepadIndex_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamInput_SteamInput002_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +NTSTATUS ISteamInput_SteamInput002_GetGamepadIndexForController( void *args ) { - return ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); + struct ISteamInput_SteamInput002_GetGamepadIndexForController_params *params = (struct ISteamInput_SteamInput002_GetGamepadIndexForController_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle ); + return 0; } -const char * cppISteamInput_SteamInput002_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput002_GetStringForXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput002_GetStringForXboxOrigin_params *params = (struct ISteamInput_SteamInput002_GetStringForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params *params = (struct ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput002_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +NTSTATUS ISteamInput_SteamInput002_TranslateActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); + struct ISteamInput_SteamInput002_TranslateActionOrigin_params *params = (struct ISteamInput_SteamInput002_TranslateActionOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamInput_SteamInput002_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamInput_SteamInput002_GetDeviceBindingRevision( void *args ) { - return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); + struct ISteamInput_SteamInput002_GetDeviceBindingRevision_params *params = (struct ISteamInput_SteamInput002_GetDeviceBindingRevision_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor ); + return 0; } -uint32 cppISteamInput_SteamInput002_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput002_GetRemotePlaySessionID( void *args ) { - return ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput002_GetRemotePlaySessionID_params *params = (struct ISteamInput_SteamInput002_GetRemotePlaySessionID_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + params->_ret = iface->GetRemotePlaySessionID( params->inputHandle ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInput_SteamInput002.h b/lsteamclient/cppISteamInput_SteamInput002.h deleted file mode 100644 index f4284f8b9..000000000 --- a/lsteamclient/cppISteamInput_SteamInput002.h +++ /dev/null @@ -1,35 +0,0 @@ -extern bool cppISteamInput_SteamInput002_Init(void *); -extern bool cppISteamInput_SteamInput002_Shutdown(void *); -extern void cppISteamInput_SteamInput002_RunFrame(void *); -extern int cppISteamInput_SteamInput002_GetConnectedControllers(void *, InputHandle_t *); -extern InputActionSetHandle_t cppISteamInput_SteamInput002_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput002_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput002_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput002_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput002_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput002_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput002_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput002_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput002_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput002_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput002_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput002_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput002_GetGlyphForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput002_GetStringForActionOrigin(void *, EInputActionOrigin); -extern void cppISteamInput_SteamInput002_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput002_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput002_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput002_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput002_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput002_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput002_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput002_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput002_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput002_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput002_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput002_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput002_GetRemotePlaySessionID(void *, InputHandle_t); diff --git a/lsteamclient/cppISteamInput_SteamInput005.cpp b/lsteamclient/cppISteamInput_SteamInput005.cpp index d497f981a..d736fa91c 100644 --- a/lsteamclient/cppISteamInput_SteamInput005.cpp +++ b/lsteamclient/cppISteamInput_SteamInput005.cpp @@ -1,227 +1,341 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_152 -#include "struct_converters.h" -#include "cppISteamInput_SteamInput005.h" -bool cppISteamInput_SteamInput005_Init(void *linux_side, bool bExplicitlyCallRunFrame) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInput_SteamInput005_Init( void *args ) { - return ((ISteamInput*)linux_side)->Init((bool)bExplicitlyCallRunFrame); + struct ISteamInput_SteamInput005_Init_params *params = (struct ISteamInput_SteamInput005_Init_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->Init( params->bExplicitlyCallRunFrame ); + return 0; } -bool cppISteamInput_SteamInput005_Shutdown(void *linux_side) +NTSTATUS ISteamInput_SteamInput005_Shutdown( void *args ) { - return ((ISteamInput*)linux_side)->Shutdown(); + struct ISteamInput_SteamInput005_Shutdown_params *params = (struct ISteamInput_SteamInput005_Shutdown_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *linux_side, const char * pchInputActionManifestAbsolutePath) +NTSTATUS ISteamInput_SteamInput005_SetInputActionManifestFilePath( void *args ) { - return ((ISteamInput*)linux_side)->SetInputActionManifestFilePath((const char *)pchInputActionManifestAbsolutePath); + struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( params->pchInputActionManifestAbsolutePath, 0 ); + params->_ret = iface->SetInputActionManifestFilePath( u_pchInputActionManifestAbsolutePath ); + steamclient_free_path( u_pchInputActionManifestAbsolutePath ); + return 0; } -void cppISteamInput_SteamInput005_RunFrame(void *linux_side, bool bReservedValue) +NTSTATUS ISteamInput_SteamInput005_RunFrame( void *args ) { - ((ISteamInput*)linux_side)->RunFrame((bool)bReservedValue); + struct ISteamInput_SteamInput005_RunFrame_params *params = (struct ISteamInput_SteamInput005_RunFrame_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->RunFrame( params->bReservedValue ); + return 0; } -bool cppISteamInput_SteamInput005_BWaitForData(void *linux_side, bool bWaitForever, uint32 unTimeout) +NTSTATUS ISteamInput_SteamInput005_BWaitForData( void *args ) { - return ((ISteamInput*)linux_side)->BWaitForData((bool)bWaitForever, (uint32)unTimeout); + struct ISteamInput_SteamInput005_BWaitForData_params *params = (struct ISteamInput_SteamInput005_BWaitForData_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->BWaitForData( params->bWaitForever, params->unTimeout ); + return 0; } -bool cppISteamInput_SteamInput005_BNewDataAvailable(void *linux_side) +NTSTATUS ISteamInput_SteamInput005_BNewDataAvailable( void *args ) { - return ((ISteamInput*)linux_side)->BNewDataAvailable(); + struct ISteamInput_SteamInput005_BNewDataAvailable_params *params = (struct ISteamInput_SteamInput005_BNewDataAvailable_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->BNewDataAvailable( ); + return 0; } -int cppISteamInput_SteamInput005_GetConnectedControllers(void *linux_side, InputHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput005_GetConnectedControllers( void *args ) { - return ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); + struct ISteamInput_SteamInput005_GetConnectedControllers_params *params = (struct ISteamInput_SteamInput005_GetConnectedControllers_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *linux_side) +NTSTATUS ISteamInput_SteamInput005_EnableDeviceCallbacks( void *args ) { - ((ISteamInput*)linux_side)->EnableDeviceCallbacks(); + struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params *params = (struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->EnableDeviceCallbacks( ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamInput_SteamInput005_GetActionSetHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamInput_SteamInput005_GetActionSetHandle_params *params = (struct ISteamInput_SteamInput005_GetActionSetHandle_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamInput_SteamInput005_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +NTSTATUS ISteamInput_SteamInput005_ActivateActionSet( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + struct ISteamInput_SteamInput005_ActivateActionSet_params *params = (struct ISteamInput_SteamInput005_ActivateActionSet_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->ActivateActionSet( params->inputHandle, params->actionSetHandle ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_GetCurrentActionSet( void *args ) { - return ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_GetCurrentActionSet_params *params = (struct ISteamInput_SteamInput005_GetCurrentActionSet_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput005_ActivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput005_ActivateActionSetLayer_params *params = (struct ISteamInput_SteamInput005_ActivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput005_DeactivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params *params = (struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_DeactivateAllActionSetLayers( void *args ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *params = (struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->inputHandle ); + return 0; } -int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput005_GetActiveActionSetLayers( void *args ) { - return ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); + struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params *params = (struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut ); + return 0; } -InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput005_GetDigitalActionHandle_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionHandle_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); + struct ISteamInput_SteamInput005_GetDigitalActionData_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionData_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle ); + return 0; } -int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *linux_side, InputDigitalActionHandle_t eActionHandle) +NTSTATUS ISteamInput_SteamInput005_GetStringForDigitalActionName( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForDigitalActionName((InputDigitalActionHandle_t)eActionHandle); + struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params *params = (struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetStringForDigitalActionName( params->eActionHandle ); + return 0; } -InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput005_GetAnalogActionHandle_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionHandle_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); + struct ISteamInput_SteamInput005_GetAnalogActionData_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionData_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle ); + return 0; } -int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput005_GetStringForActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); + struct ISteamInput_SteamInput005_GetStringForActionOrigin_params *params = (struct ISteamInput_SteamInput005_GetStringForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *linux_side, InputAnalogActionHandle_t eActionHandle) +NTSTATUS ISteamInput_SteamInput005_GetStringForAnalogActionName( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForAnalogActionName((InputAnalogActionHandle_t)eActionHandle); + struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params *params = (struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetStringForAnalogActionName( params->eActionHandle ); + return 0; } -void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +NTSTATUS ISteamInput_SteamInput005_StopAnalogActionMomentum( void *args ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params *params = (struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->StopAnalogActionMomentum( params->inputHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_GetMotionData( void *args ) { - return ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_GetMotionData_params *params = (struct ISteamInput_SteamInput005_GetMotionData_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput005_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamInput_SteamInput005_TriggerVibration( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamInput_SteamInput005_TriggerVibration_params *params = (struct ISteamInput_SteamInput005_TriggerVibration_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +NTSTATUS ISteamInput_SteamInput005_TriggerVibrationExtended( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibrationExtended((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed, (unsigned short)usLeftTriggerSpeed, (unsigned short)usRightTriggerSpeed); + struct ISteamInput_SteamInput005_TriggerVibrationExtended_params *params = (struct ISteamInput_SteamInput005_TriggerVibrationExtended_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->TriggerVibrationExtended( params->inputHandle, params->usLeftSpeed, params->usRightSpeed, params->usLeftTriggerSpeed, params->usRightTriggerSpeed ); + return 0; } -void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *linux_side, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +NTSTATUS ISteamInput_SteamInput005_TriggerSimpleHapticEvent( void *args ) { - ((ISteamInput*)linux_side)->TriggerSimpleHapticEvent((InputHandle_t)inputHandle, (EControllerHapticLocation)eHapticLocation, (uint8)nIntensity, (char)nGainDB, (uint8)nOtherIntensity, (char)nOtherGainDB); + struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *params = (struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->TriggerSimpleHapticEvent( params->inputHandle, params->eHapticLocation, params->nIntensity, params->nGainDB, params->nOtherIntensity, params->nOtherGainDB ); + return 0; } -void cppISteamInput_SteamInput005_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput005_SetLEDColor( void *args ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamInput_SteamInput005_SetLEDColor_params *params = (struct ISteamInput_SteamInput005_SetLEDColor_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->Legacy_TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *params = (struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->Legacy_TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->Legacy_TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *params = (struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + iface->Legacy_TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -bool cppISteamInput_SteamInput005_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_ShowBindingPanel( void *args ) { - return ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_ShowBindingPanel_params *params = (struct ISteamInput_SteamInput005_ShowBindingPanel_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->inputHandle ); + return 0; } -ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_GetInputTypeForHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_GetInputTypeForHandle_params *params = (struct ISteamInput_SteamInput005_GetInputTypeForHandle_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->inputHandle ); + return 0; } -InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamInput_SteamInput005_GetControllerForGamepadIndex( void *args ) { - return ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params *params = (struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +NTSTATUS ISteamInput_SteamInput005_GetGamepadIndexForController( void *args ) { - return ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); + struct ISteamInput_SteamInput005_GetGamepadIndexForController_params *params = (struct ISteamInput_SteamInput005_GetGamepadIndexForController_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle ); + return 0; } -const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput005_GetStringForXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params *params = (struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *params = (struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +NTSTATUS ISteamInput_SteamInput005_TranslateActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); + struct ISteamInput_SteamInput005_TranslateActionOrigin_params *params = (struct ISteamInput_SteamInput005_TranslateActionOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamInput_SteamInput005_GetDeviceBindingRevision( void *args ) { - return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); + struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params *params = (struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor ); + return 0; } -uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput005_GetRemotePlaySessionID( void *args ) { - return ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params *params = (struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetRemotePlaySessionID( params->inputHandle ); + return 0; } -uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *linux_side) +NTSTATUS ISteamInput_SteamInput005_GetSessionInputConfigurationSettings( void *args ) { - return ((ISteamInput*)linux_side)->GetSessionInputConfigurationSettings(); + struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *params = (struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + params->_ret = iface->GetSessionInputConfigurationSettings( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInput_SteamInput005.h b/lsteamclient/cppISteamInput_SteamInput005.h deleted file mode 100644 index 903dc7995..000000000 --- a/lsteamclient/cppISteamInput_SteamInput005.h +++ /dev/null @@ -1,47 +0,0 @@ -extern bool cppISteamInput_SteamInput005_Init(void *, bool); -extern bool cppISteamInput_SteamInput005_Shutdown(void *); -extern bool cppISteamInput_SteamInput005_SetInputActionManifestFilePath(void *, const char *); -extern void cppISteamInput_SteamInput005_RunFrame(void *, bool); -extern bool cppISteamInput_SteamInput005_BWaitForData(void *, bool, uint32); -extern bool cppISteamInput_SteamInput005_BNewDataAvailable(void *); -extern int cppISteamInput_SteamInput005_GetConnectedControllers(void *, InputHandle_t *); -extern void cppISteamInput_SteamInput005_EnableDeviceCallbacks(void *); -extern void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *, SteamInputActionEventCallbackPointer); -extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput005_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput005_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput005_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput005_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput005_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput005_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput005_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput005_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput005_GetStringForDigitalActionName(void *, InputDigitalActionHandle_t); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput005_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput005_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput005_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *, EInputActionOrigin, ESteamInputGlyphSize, uint32); -extern const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *, EInputActionOrigin, uint32); -extern const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput005_GetStringForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput005_GetStringForAnalogActionName(void *, InputAnalogActionHandle_t); -extern void cppISteamInput_SteamInput005_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput005_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput005_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput005_TriggerVibrationExtended(void *, InputHandle_t, unsigned short, unsigned short, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(void *, InputHandle_t, EControllerHapticLocation, uint8, char, uint8, char); -extern void cppISteamInput_SteamInput005_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput005_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput005_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput005_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput005_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput005_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput005_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput005_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput005_GetRemotePlaySessionID(void *, InputHandle_t); -extern uint16 cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(void *); diff --git a/lsteamclient/cppISteamInput_SteamInput006.cpp b/lsteamclient/cppISteamInput_SteamInput006.cpp index 6f76989f3..4aacc2ffb 100644 --- a/lsteamclient/cppISteamInput_SteamInput006.cpp +++ b/lsteamclient/cppISteamInput_SteamInput006.cpp @@ -1,232 +1,349 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamInput_SteamInput006.h" -bool cppISteamInput_SteamInput006_Init(void *linux_side, bool bExplicitlyCallRunFrame) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInput_SteamInput006_Init( void *args ) { - return ((ISteamInput*)linux_side)->Init((bool)bExplicitlyCallRunFrame); + struct ISteamInput_SteamInput006_Init_params *params = (struct ISteamInput_SteamInput006_Init_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->Init( params->bExplicitlyCallRunFrame ); + return 0; } -bool cppISteamInput_SteamInput006_Shutdown(void *linux_side) +NTSTATUS ISteamInput_SteamInput006_Shutdown( void *args ) { - return ((ISteamInput*)linux_side)->Shutdown(); + struct ISteamInput_SteamInput006_Shutdown_params *params = (struct ISteamInput_SteamInput006_Shutdown_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->Shutdown( ); + return 0; } -bool cppISteamInput_SteamInput006_SetInputActionManifestFilePath(void *linux_side, const char * pchInputActionManifestAbsolutePath) +NTSTATUS ISteamInput_SteamInput006_SetInputActionManifestFilePath( void *args ) { - return ((ISteamInput*)linux_side)->SetInputActionManifestFilePath((const char *)pchInputActionManifestAbsolutePath); + struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( params->pchInputActionManifestAbsolutePath, 0 ); + params->_ret = iface->SetInputActionManifestFilePath( u_pchInputActionManifestAbsolutePath ); + steamclient_free_path( u_pchInputActionManifestAbsolutePath ); + return 0; } -void cppISteamInput_SteamInput006_RunFrame(void *linux_side, bool bReservedValue) +NTSTATUS ISteamInput_SteamInput006_RunFrame( void *args ) { - ((ISteamInput*)linux_side)->RunFrame((bool)bReservedValue); + struct ISteamInput_SteamInput006_RunFrame_params *params = (struct ISteamInput_SteamInput006_RunFrame_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->RunFrame( params->bReservedValue ); + return 0; } -bool cppISteamInput_SteamInput006_BWaitForData(void *linux_side, bool bWaitForever, uint32 unTimeout) +NTSTATUS ISteamInput_SteamInput006_BWaitForData( void *args ) { - return ((ISteamInput*)linux_side)->BWaitForData((bool)bWaitForever, (uint32)unTimeout); + struct ISteamInput_SteamInput006_BWaitForData_params *params = (struct ISteamInput_SteamInput006_BWaitForData_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->BWaitForData( params->bWaitForever, params->unTimeout ); + return 0; } -bool cppISteamInput_SteamInput006_BNewDataAvailable(void *linux_side) +NTSTATUS ISteamInput_SteamInput006_BNewDataAvailable( void *args ) { - return ((ISteamInput*)linux_side)->BNewDataAvailable(); + struct ISteamInput_SteamInput006_BNewDataAvailable_params *params = (struct ISteamInput_SteamInput006_BNewDataAvailable_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->BNewDataAvailable( ); + return 0; } -int cppISteamInput_SteamInput006_GetConnectedControllers(void *linux_side, InputHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput006_GetConnectedControllers( void *args ) { - return ((ISteamInput*)linux_side)->GetConnectedControllers((InputHandle_t *)handlesOut); + struct ISteamInput_SteamInput006_GetConnectedControllers_params *params = (struct ISteamInput_SteamInput006_GetConnectedControllers_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetConnectedControllers( params->handlesOut ); + return 0; } -void cppISteamInput_SteamInput006_EnableDeviceCallbacks(void *linux_side) +NTSTATUS ISteamInput_SteamInput006_EnableDeviceCallbacks( void *args ) { - ((ISteamInput*)linux_side)->EnableDeviceCallbacks(); + struct ISteamInput_SteamInput006_EnableDeviceCallbacks_params *params = (struct ISteamInput_SteamInput006_EnableDeviceCallbacks_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->EnableDeviceCallbacks( ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput006_GetActionSetHandle(void *linux_side, const char * pszActionSetName) +NTSTATUS ISteamInput_SteamInput006_GetActionSetHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetActionSetHandle((const char *)pszActionSetName); + struct ISteamInput_SteamInput006_GetActionSetHandle_params *params = (struct ISteamInput_SteamInput006_GetActionSetHandle_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pszActionSetName ); + return 0; } -void cppISteamInput_SteamInput006_ActivateActionSet(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +NTSTATUS ISteamInput_SteamInput006_ActivateActionSet( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSet((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle); + struct ISteamInput_SteamInput006_ActivateActionSet_params *params = (struct ISteamInput_SteamInput006_ActivateActionSet_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->ActivateActionSet( params->inputHandle, params->actionSetHandle ); + return 0; } -InputActionSetHandle_t cppISteamInput_SteamInput006_GetCurrentActionSet(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_GetCurrentActionSet( void *args ) { - return ((ISteamInput*)linux_side)->GetCurrentActionSet((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_GetCurrentActionSet_params *params = (struct ISteamInput_SteamInput006_GetCurrentActionSet_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetCurrentActionSet( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput006_ActivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput006_ActivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->ActivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput006_ActivateActionSetLayer_params *params = (struct ISteamInput_SteamInput006_ActivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput006_DeactivateActionSetLayer(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +NTSTATUS ISteamInput_SteamInput006_DeactivateActionSetLayer( void *args ) { - ((ISteamInput*)linux_side)->DeactivateActionSetLayer((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetLayerHandle); + struct ISteamInput_SteamInput006_DeactivateActionSetLayer_params *params = (struct ISteamInput_SteamInput006_DeactivateActionSetLayer_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle ); + return 0; } -void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_DeactivateAllActionSetLayers( void *args ) { - ((ISteamInput*)linux_side)->DeactivateAllActionSetLayers((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_DeactivateAllActionSetLayers_params *params = (struct ISteamInput_SteamInput006_DeactivateAllActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->DeactivateAllActionSetLayers( params->inputHandle ); + return 0; } -int cppISteamInput_SteamInput006_GetActiveActionSetLayers(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +NTSTATUS ISteamInput_SteamInput006_GetActiveActionSetLayers( void *args ) { - return ((ISteamInput*)linux_side)->GetActiveActionSetLayers((InputHandle_t)inputHandle, (InputActionSetHandle_t *)handlesOut); + struct ISteamInput_SteamInput006_GetActiveActionSetLayers_params *params = (struct ISteamInput_SteamInput006_GetActiveActionSetLayers_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut ); + return 0; } -InputDigitalActionHandle_t cppISteamInput_SteamInput006_GetDigitalActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput006_GetDigitalActionHandle_params *params = (struct ISteamInput_SteamInput006_GetDigitalActionHandle_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetDigitalActionHandle( params->pszActionName ); + return 0; } -InputDigitalActionData_t cppISteamInput_SteamInput006_GetDigitalActionData(void *linux_side, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionData((InputHandle_t)inputHandle, (InputDigitalActionHandle_t)digitalActionHandle); + struct ISteamInput_SteamInput006_GetDigitalActionData_params *params = (struct ISteamInput_SteamInput006_GetDigitalActionData_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + *params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle ); + return 0; } -int cppISteamInput_SteamInput006_GetDigitalActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetDigitalActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputDigitalActionHandle_t)digitalActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput006_GetDigitalActionOrigins_params *params = (struct ISteamInput_SteamInput006_GetDigitalActionOrigins_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput006_GetStringForDigitalActionName(void *linux_side, InputDigitalActionHandle_t eActionHandle) +NTSTATUS ISteamInput_SteamInput006_GetStringForDigitalActionName( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForDigitalActionName((InputDigitalActionHandle_t)eActionHandle); + struct ISteamInput_SteamInput006_GetStringForDigitalActionName_params *params = (struct ISteamInput_SteamInput006_GetStringForDigitalActionName_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetStringForDigitalActionName( params->eActionHandle ); + return 0; } -InputAnalogActionHandle_t cppISteamInput_SteamInput006_GetAnalogActionHandle(void *linux_side, const char * pszActionName) +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionHandle((const char *)pszActionName); + struct ISteamInput_SteamInput006_GetAnalogActionHandle_params *params = (struct ISteamInput_SteamInput006_GetAnalogActionHandle_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetAnalogActionHandle( params->pszActionName ); + return 0; } -InputAnalogActionData_t cppISteamInput_SteamInput006_GetAnalogActionData(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionData( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionData((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)analogActionHandle); + struct ISteamInput_SteamInput006_GetAnalogActionData_params *params = (struct ISteamInput_SteamInput006_GetAnalogActionData_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + *params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle ); + return 0; } -int cppISteamInput_SteamInput006_GetAnalogActionOrigins(void *linux_side, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionOrigins( void *args ) { - return ((ISteamInput*)linux_side)->GetAnalogActionOrigins((InputHandle_t)inputHandle, (InputActionSetHandle_t)actionSetHandle, (InputAnalogActionHandle_t)analogActionHandle, (EInputActionOrigin *)originsOut); + struct ISteamInput_SteamInput006_GetAnalogActionOrigins_params *params = (struct ISteamInput_SteamInput006_GetAnalogActionOrigins_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut ); + return 0; } -const char * cppISteamInput_SteamInput006_GetStringForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput006_GetStringForActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForActionOrigin((EInputActionOrigin)eOrigin); + struct ISteamInput_SteamInput006_GetStringForActionOrigin_params *params = (struct ISteamInput_SteamInput006_GetStringForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetStringForActionOrigin( params->eOrigin ); + return 0; } -const char * cppISteamInput_SteamInput006_GetStringForAnalogActionName(void *linux_side, InputAnalogActionHandle_t eActionHandle) +NTSTATUS ISteamInput_SteamInput006_GetStringForAnalogActionName( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForAnalogActionName((InputAnalogActionHandle_t)eActionHandle); + struct ISteamInput_SteamInput006_GetStringForAnalogActionName_params *params = (struct ISteamInput_SteamInput006_GetStringForAnalogActionName_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetStringForAnalogActionName( params->eActionHandle ); + return 0; } -void cppISteamInput_SteamInput006_StopAnalogActionMomentum(void *linux_side, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +NTSTATUS ISteamInput_SteamInput006_StopAnalogActionMomentum( void *args ) { - ((ISteamInput*)linux_side)->StopAnalogActionMomentum((InputHandle_t)inputHandle, (InputAnalogActionHandle_t)eAction); + struct ISteamInput_SteamInput006_StopAnalogActionMomentum_params *params = (struct ISteamInput_SteamInput006_StopAnalogActionMomentum_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->StopAnalogActionMomentum( params->inputHandle, params->eAction ); + return 0; } -InputMotionData_t cppISteamInput_SteamInput006_GetMotionData(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_GetMotionData( void *args ) { - return ((ISteamInput*)linux_side)->GetMotionData((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_GetMotionData_params *params = (struct ISteamInput_SteamInput006_GetMotionData_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + *params->_ret = iface->GetMotionData( params->inputHandle ); + return 0; } -void cppISteamInput_SteamInput006_TriggerVibration(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +NTSTATUS ISteamInput_SteamInput006_TriggerVibration( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibration((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed); + struct ISteamInput_SteamInput006_TriggerVibration_params *params = (struct ISteamInput_SteamInput006_TriggerVibration_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed ); + return 0; } -void cppISteamInput_SteamInput006_TriggerVibrationExtended(void *linux_side, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +NTSTATUS ISteamInput_SteamInput006_TriggerVibrationExtended( void *args ) { - ((ISteamInput*)linux_side)->TriggerVibrationExtended((InputHandle_t)inputHandle, (unsigned short)usLeftSpeed, (unsigned short)usRightSpeed, (unsigned short)usLeftTriggerSpeed, (unsigned short)usRightTriggerSpeed); + struct ISteamInput_SteamInput006_TriggerVibrationExtended_params *params = (struct ISteamInput_SteamInput006_TriggerVibrationExtended_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->TriggerVibrationExtended( params->inputHandle, params->usLeftSpeed, params->usRightSpeed, params->usLeftTriggerSpeed, params->usRightTriggerSpeed ); + return 0; } -void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(void *linux_side, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +NTSTATUS ISteamInput_SteamInput006_TriggerSimpleHapticEvent( void *args ) { - ((ISteamInput*)linux_side)->TriggerSimpleHapticEvent((InputHandle_t)inputHandle, (EControllerHapticLocation)eHapticLocation, (uint8)nIntensity, (char)nGainDB, (uint8)nOtherIntensity, (char)nOtherGainDB); + struct ISteamInput_SteamInput006_TriggerSimpleHapticEvent_params *params = (struct ISteamInput_SteamInput006_TriggerSimpleHapticEvent_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->TriggerSimpleHapticEvent( params->inputHandle, params->eHapticLocation, params->nIntensity, params->nGainDB, params->nOtherIntensity, params->nOtherGainDB ); + return 0; } -void cppISteamInput_SteamInput006_SetLEDColor(void *linux_side, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput006_SetLEDColor( void *args ) { - ((ISteamInput*)linux_side)->SetLEDColor((InputHandle_t)inputHandle, (uint8)nColorR, (uint8)nColorG, (uint8)nColorB, (unsigned int)nFlags); + struct ISteamInput_SteamInput006_SetLEDColor_params *params = (struct ISteamInput_SteamInput006_SetLEDColor_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags ); + return 0; } -void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +NTSTATUS ISteamInput_SteamInput006_Legacy_TriggerHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->Legacy_TriggerHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec); + struct ISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params *params = (struct ISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->Legacy_TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec ); + return 0; } -void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(void *linux_side, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +NTSTATUS ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse( void *args ) { - ((ISteamInput*)linux_side)->Legacy_TriggerRepeatedHapticPulse((InputHandle_t)inputHandle, (ESteamControllerPad)eTargetPad, (unsigned short)usDurationMicroSec, (unsigned short)usOffMicroSec, (unsigned short)unRepeat, (unsigned int)nFlags); + struct ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params *params = (struct ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->Legacy_TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags ); + return 0; } -bool cppISteamInput_SteamInput006_ShowBindingPanel(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_ShowBindingPanel( void *args ) { - return ((ISteamInput*)linux_side)->ShowBindingPanel((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_ShowBindingPanel_params *params = (struct ISteamInput_SteamInput006_ShowBindingPanel_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->ShowBindingPanel( params->inputHandle ); + return 0; } -ESteamInputType cppISteamInput_SteamInput006_GetInputTypeForHandle(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_GetInputTypeForHandle( void *args ) { - return ((ISteamInput*)linux_side)->GetInputTypeForHandle((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_GetInputTypeForHandle_params *params = (struct ISteamInput_SteamInput006_GetInputTypeForHandle_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetInputTypeForHandle( params->inputHandle ); + return 0; } -InputHandle_t cppISteamInput_SteamInput006_GetControllerForGamepadIndex(void *linux_side, int nIndex) +NTSTATUS ISteamInput_SteamInput006_GetControllerForGamepadIndex( void *args ) { - return ((ISteamInput*)linux_side)->GetControllerForGamepadIndex((int)nIndex); + struct ISteamInput_SteamInput006_GetControllerForGamepadIndex_params *params = (struct ISteamInput_SteamInput006_GetControllerForGamepadIndex_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetControllerForGamepadIndex( params->nIndex ); + return 0; } -int cppISteamInput_SteamInput006_GetGamepadIndexForController(void *linux_side, InputHandle_t ulinputHandle) +NTSTATUS ISteamInput_SteamInput006_GetGamepadIndexForController( void *args ) { - return ((ISteamInput*)linux_side)->GetGamepadIndexForController((InputHandle_t)ulinputHandle); + struct ISteamInput_SteamInput006_GetGamepadIndexForController_params *params = (struct ISteamInput_SteamInput006_GetGamepadIndexForController_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle ); + return 0; } -const char * cppISteamInput_SteamInput006_GetStringForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput006_GetStringForXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetStringForXboxOrigin((EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput006_GetStringForXboxOrigin_params *params = (struct ISteamInput_SteamInput006_GetStringForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetStringForXboxOrigin( params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(void *linux_side, InputHandle_t inputHandle, EXboxOrigin eOrigin) +NTSTATUS ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin( void *args ) { - return ((ISteamInput*)linux_side)->GetActionOriginFromXboxOrigin((InputHandle_t)inputHandle, (EXboxOrigin)eOrigin); + struct ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params *params = (struct ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin ); + return 0; } -EInputActionOrigin cppISteamInput_SteamInput006_TranslateActionOrigin(void *linux_side, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +NTSTATUS ISteamInput_SteamInput006_TranslateActionOrigin( void *args ) { - return ((ISteamInput*)linux_side)->TranslateActionOrigin((ESteamInputType)eDestinationInputType, (EInputActionOrigin)eSourceOrigin); + struct ISteamInput_SteamInput006_TranslateActionOrigin_params *params = (struct ISteamInput_SteamInput006_TranslateActionOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin ); + return 0; } -bool cppISteamInput_SteamInput006_GetDeviceBindingRevision(void *linux_side, InputHandle_t inputHandle, int * pMajor, int * pMinor) +NTSTATUS ISteamInput_SteamInput006_GetDeviceBindingRevision( void *args ) { - return ((ISteamInput*)linux_side)->GetDeviceBindingRevision((InputHandle_t)inputHandle, (int *)pMajor, (int *)pMinor); + struct ISteamInput_SteamInput006_GetDeviceBindingRevision_params *params = (struct ISteamInput_SteamInput006_GetDeviceBindingRevision_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor ); + return 0; } -uint32 cppISteamInput_SteamInput006_GetRemotePlaySessionID(void *linux_side, InputHandle_t inputHandle) +NTSTATUS ISteamInput_SteamInput006_GetRemotePlaySessionID( void *args ) { - return ((ISteamInput*)linux_side)->GetRemotePlaySessionID((InputHandle_t)inputHandle); + struct ISteamInput_SteamInput006_GetRemotePlaySessionID_params *params = (struct ISteamInput_SteamInput006_GetRemotePlaySessionID_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetRemotePlaySessionID( params->inputHandle ); + return 0; } -uint16 cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(void *linux_side) +NTSTATUS ISteamInput_SteamInput006_GetSessionInputConfigurationSettings( void *args ) { - return ((ISteamInput*)linux_side)->GetSessionInputConfigurationSettings(); + struct ISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params *params = (struct ISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + params->_ret = iface->GetSessionInputConfigurationSettings( ); + return 0; } -void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(void *linux_side, InputHandle_t inputHandle, const ScePadTriggerEffectParam * pParam) +NTSTATUS ISteamInput_SteamInput006_SetDualSenseTriggerEffect( void *args ) { - ((ISteamInput*)linux_side)->SetDualSenseTriggerEffect((InputHandle_t)inputHandle, (const ScePadTriggerEffectParam *)pParam); + struct ISteamInput_SteamInput006_SetDualSenseTriggerEffect_params *params = (struct ISteamInput_SteamInput006_SetDualSenseTriggerEffect_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + iface->SetDualSenseTriggerEffect( params->inputHandle, params->pParam ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInput_SteamInput006.h b/lsteamclient/cppISteamInput_SteamInput006.h deleted file mode 100644 index 2be5e65e1..000000000 --- a/lsteamclient/cppISteamInput_SteamInput006.h +++ /dev/null @@ -1,48 +0,0 @@ -extern bool cppISteamInput_SteamInput006_Init(void *, bool); -extern bool cppISteamInput_SteamInput006_Shutdown(void *); -extern bool cppISteamInput_SteamInput006_SetInputActionManifestFilePath(void *, const char *); -extern void cppISteamInput_SteamInput006_RunFrame(void *, bool); -extern bool cppISteamInput_SteamInput006_BWaitForData(void *, bool, uint32); -extern bool cppISteamInput_SteamInput006_BNewDataAvailable(void *); -extern int cppISteamInput_SteamInput006_GetConnectedControllers(void *, InputHandle_t *); -extern void cppISteamInput_SteamInput006_EnableDeviceCallbacks(void *); -extern void cppISteamInput_SteamInput006_EnableActionEventCallbacks(void *, SteamInputActionEventCallbackPointer); -extern InputActionSetHandle_t cppISteamInput_SteamInput006_GetActionSetHandle(void *, const char *); -extern void cppISteamInput_SteamInput006_ActivateActionSet(void *, InputHandle_t, InputActionSetHandle_t); -extern InputActionSetHandle_t cppISteamInput_SteamInput006_GetCurrentActionSet(void *, InputHandle_t); -extern void cppISteamInput_SteamInput006_ActivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput006_DeactivateActionSetLayer(void *, InputHandle_t, InputActionSetHandle_t); -extern void cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(void *, InputHandle_t); -extern int cppISteamInput_SteamInput006_GetActiveActionSetLayers(void *, InputHandle_t, InputActionSetHandle_t *); -extern InputDigitalActionHandle_t cppISteamInput_SteamInput006_GetDigitalActionHandle(void *, const char *); -extern InputDigitalActionData_t cppISteamInput_SteamInput006_GetDigitalActionData(void *, InputHandle_t, InputDigitalActionHandle_t); -extern int cppISteamInput_SteamInput006_GetDigitalActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputDigitalActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput006_GetStringForDigitalActionName(void *, InputDigitalActionHandle_t); -extern InputAnalogActionHandle_t cppISteamInput_SteamInput006_GetAnalogActionHandle(void *, const char *); -extern InputAnalogActionData_t cppISteamInput_SteamInput006_GetAnalogActionData(void *, InputHandle_t, InputAnalogActionHandle_t); -extern int cppISteamInput_SteamInput006_GetAnalogActionOrigins(void *, InputHandle_t, InputActionSetHandle_t, InputAnalogActionHandle_t, EInputActionOrigin *); -extern const char * cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(void *, EInputActionOrigin, ESteamInputGlyphSize, uint32); -extern const char * cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(void *, EInputActionOrigin, uint32); -extern const char * cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput006_GetStringForActionOrigin(void *, EInputActionOrigin); -extern const char * cppISteamInput_SteamInput006_GetStringForAnalogActionName(void *, InputAnalogActionHandle_t); -extern void cppISteamInput_SteamInput006_StopAnalogActionMomentum(void *, InputHandle_t, InputAnalogActionHandle_t); -extern InputMotionData_t cppISteamInput_SteamInput006_GetMotionData(void *, InputHandle_t); -extern void cppISteamInput_SteamInput006_TriggerVibration(void *, InputHandle_t, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput006_TriggerVibrationExtended(void *, InputHandle_t, unsigned short, unsigned short, unsigned short, unsigned short); -extern void cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(void *, InputHandle_t, EControllerHapticLocation, uint8, char, uint8, char); -extern void cppISteamInput_SteamInput006_SetLEDColor(void *, InputHandle_t, uint8, uint8, uint8, unsigned int); -extern void cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short); -extern void cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(void *, InputHandle_t, ESteamControllerPad, unsigned short, unsigned short, unsigned short, unsigned int); -extern bool cppISteamInput_SteamInput006_ShowBindingPanel(void *, InputHandle_t); -extern ESteamInputType cppISteamInput_SteamInput006_GetInputTypeForHandle(void *, InputHandle_t); -extern InputHandle_t cppISteamInput_SteamInput006_GetControllerForGamepadIndex(void *, int); -extern int cppISteamInput_SteamInput006_GetGamepadIndexForController(void *, InputHandle_t); -extern const char * cppISteamInput_SteamInput006_GetStringForXboxOrigin(void *, EXboxOrigin); -extern const char * cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(void *, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(void *, InputHandle_t, EXboxOrigin); -extern EInputActionOrigin cppISteamInput_SteamInput006_TranslateActionOrigin(void *, ESteamInputType, EInputActionOrigin); -extern bool cppISteamInput_SteamInput006_GetDeviceBindingRevision(void *, InputHandle_t, int *, int *); -extern uint32 cppISteamInput_SteamInput006_GetRemotePlaySessionID(void *, InputHandle_t); -extern uint16 cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(void *); -extern void cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(void *, InputHandle_t, const ScePadTriggerEffectParam *); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp index b2f23f8e8..04a20ed6a 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.cpp @@ -1,136 +1,195 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_139/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_139 -#include "struct_converters.h" -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetResultStatus( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetResultItems( params->resultHandle, params->pOutItemsArray, params->punOutItemsArraySize ); + return 0; } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetResultTimestamp( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID( void *args ) { - return ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->CheckResultSteamID( params->resultHandle, params->steamIDExpected ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult( void *args ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + iface->DestroyResult( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetAllItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetItemsByID( params->pResultHandle, params->pInstanceIDs, params->unCountInstanceIDs ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->SerializeResult( params->resultHandle, params->pOutBuffer, params->punOutBufferSize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(void *linux_side, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->DeserializeResult( params->pOutResultHandle, params->pBuffer, params->unBufferSize, params->bRESERVED_MUST_BE_FALSE ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems( void *args ) { - return ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GenerateItems( params->pResultHandle, params->pArrayItemDefs, params->punArrayQuantity, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GrantPromoItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->AddPromoItem( params->pResultHandle, params->itemDef ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->AddPromoItems( params->pResultHandle, params->pArrayItemDefs, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem( void *args ) { - return ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->ConsumeItem( params->pResultHandle, params->itemConsume, params->unQuantity ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems( void *args ) { - return ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->ExchangeItems( params->pResultHandle, params->pArrayGenerate, params->punArrayGenerateQuantity, params->unArrayGenerateLength, params->pArrayDestroy, params->punArrayDestroyQuantity, params->unArrayDestroyLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity( void *args ) { - return ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->TransferItemQuantity( params->pResultHandle, params->itemIdSource, params->unQuantity, params->itemIdDest ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat( void *args ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + iface->SendItemDropHeartbeat( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop( void *args ) { - return ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->TriggerItemDrop( params->pResultHandle, params->dropListDefinition ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems( void *args ) { - return ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->TradeItems( params->pResultHandle, params->steamIDTradePartner, params->pArrayGive, params->pArrayGiveQuantity, params->nArrayGiveLength, params->pArrayGet, params->pArrayGetQuantity, params->nArrayGetLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions( void *args ) { - return ((ISteamInventory*)linux_side)->LoadItemDefinitions(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->LoadItemDefinitions( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetItemDefinitionIDs( params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetItemDefinitionProperty( params->iDefinition, params->pchPropertyName, params->pchValueBuffer, params->punValueBufferSizeOut ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs( void *args ) { - return ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->RequestEligiblePromoItemDefinitionsIDs( params->steamID ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->GetEligiblePromoItemDefinitionIDs( params->steamID, params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h deleted file mode 100644 index ed189fd2a..000000000 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h +++ /dev/null @@ -1,24 +0,0 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp index 0efa149ed..8b0afaa25 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.cpp @@ -1,201 +1,299 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetResultStatus( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetResultItems( params->resultHandle, params->pOutItemsArray, params->punOutItemsArraySize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(void *linux_side, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultItemProperty((SteamInventoryResult_t)resultHandle, (uint32)unItemIndex, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetResultItemProperty( params->resultHandle, params->unItemIndex, params->pchPropertyName, params->pchValueBuffer, params->punValueBufferSizeOut ); + return 0; } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetResultTimestamp( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID( void *args ) { - return ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->CheckResultSteamID( params->resultHandle, params->steamIDExpected ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult( void *args ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + iface->DestroyResult( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetAllItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetItemsByID( params->pResultHandle, params->pInstanceIDs, params->unCountInstanceIDs ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SerializeResult( params->resultHandle, params->pOutBuffer, params->punOutBufferSize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(void *linux_side, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->DeserializeResult( params->pOutResultHandle, params->pBuffer, params->unBufferSize, params->bRESERVED_MUST_BE_FALSE ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems( void *args ) { - return ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GenerateItems( params->pResultHandle, params->pArrayItemDefs, params->punArrayQuantity, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GrantPromoItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->AddPromoItem( params->pResultHandle, params->itemDef ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->AddPromoItems( params->pResultHandle, params->pArrayItemDefs, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem( void *args ) { - return ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->ConsumeItem( params->pResultHandle, params->itemConsume, params->unQuantity ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems( void *args ) { - return ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->ExchangeItems( params->pResultHandle, params->pArrayGenerate, params->punArrayGenerateQuantity, params->unArrayGenerateLength, params->pArrayDestroy, params->punArrayDestroyQuantity, params->unArrayDestroyLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity( void *args ) { - return ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->TransferItemQuantity( params->pResultHandle, params->itemIdSource, params->unQuantity, params->itemIdDest ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat( void *args ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + iface->SendItemDropHeartbeat( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop( void *args ) { - return ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->TriggerItemDrop( params->pResultHandle, params->dropListDefinition ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems( void *args ) { - return ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->TradeItems( params->pResultHandle, params->steamIDTradePartner, params->pArrayGive, params->pArrayGiveQuantity, params->nArrayGiveLength, params->pArrayGet, params->pArrayGetQuantity, params->nArrayGetLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions( void *args ) { - return ((ISteamInventory*)linux_side)->LoadItemDefinitions(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->LoadItemDefinitions( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetItemDefinitionIDs( params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetItemDefinitionProperty( params->iDefinition, params->pchPropertyName, params->pchValueBuffer, params->punValueBufferSizeOut ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs( void *args ) { - return ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->RequestEligiblePromoItemDefinitionsIDs( params->steamID ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetEligiblePromoItemDefinitionIDs( params->steamID, params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(void *linux_side, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase( void *args ) { - return ((ISteamInventory*)linux_side)->StartPurchase((const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->StartPurchase( params->pArrayItemDefs, params->punArrayQuantity, params->unArrayLength ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices( void *args ) { - return ((ISteamInventory*)linux_side)->RequestPrices(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->RequestPrices( ); + return 0; } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices( void *args ) { - return ((ISteamInventory*)linux_side)->GetNumItemsWithPrices(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetNumItemsWithPrices( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(void *linux_side, SteamItemDef_t * pArrayItemDefs, uint64 * pPrices, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemsWithPrices((SteamItemDef_t *)pArrayItemDefs, (uint64 *)pPrices, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetItemsWithPrices( params->pArrayItemDefs, params->pPrices, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(void *linux_side, SteamItemDef_t iDefinition, uint64 * pPrice) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemPrice((SteamItemDef_t)iDefinition, (uint64 *)pPrice); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetItemPrice( params->iDefinition, params->pPrice ); + return 0; } -SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties( void *args ) { - return ((ISteamInventory*)linux_side)->StartUpdateProperties(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->StartUpdateProperties( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty( void *args ) { - return ((ISteamInventory*)linux_side)->RemoveProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->RemoveProperty( params->handle, params->nItemID, params->pchPropertyName ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (const char *)pchPropertyValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->pchPropertyValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (bool)bValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->bValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (int64)nValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->nValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (float)flValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->flValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties( void *args ) { - return ((ISteamInventory*)linux_side)->SubmitUpdateProperties((SteamInventoryUpdateHandle_t)handle, (SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->SubmitUpdateProperties( params->handle, params->pResultHandle ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h deleted file mode 100644 index a5e05eecf..000000000 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h +++ /dev/null @@ -1,37 +0,0 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(void *, SteamInventoryResult_t, uint32, const char *, char *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(void *, const SteamItemDef_t *, const uint32 *, uint32); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(void *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(void *, SteamItemDef_t *, uint64 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(void *, SteamItemDef_t, uint64 *); -extern SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, int64); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, float); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(void *, SteamInventoryUpdateHandle_t, SteamInventoryResult_t *); diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp index be3d930fe..1540bbfd7 100644 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp +++ b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.cpp @@ -1,207 +1,307 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h" -EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *linux_side, SteamInventoryResult_t resultHandle) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultStatus((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetResultStatus( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(void *linux_side, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultItems((SteamInventoryResult_t)resultHandle, (SteamItemDetails_t *)pOutItemsArray, (uint32 *)punOutItemsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetResultItems( params->resultHandle, params->pOutItemsArray, params->punOutItemsArraySize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(void *linux_side, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultItemProperty((SteamInventoryResult_t)resultHandle, (uint32)unItemIndex, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetResultItemProperty( params->resultHandle, params->unItemIndex, params->pchPropertyName, params->pchValueBuffer, params->punValueBufferSizeOut ); + return 0; } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp( void *args ) { - return ((ISteamInventory*)linux_side)->GetResultTimestamp((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetResultTimestamp( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(void *linux_side, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID( void *args ) { - return ((ISteamInventory*)linux_side)->CheckResultSteamID((SteamInventoryResult_t)resultHandle, (CSteamID)steamIDExpected); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->CheckResultSteamID( params->resultHandle, params->steamIDExpected ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(void *linux_side, SteamInventoryResult_t resultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult( void *args ) { - ((ISteamInventory*)linux_side)->DestroyResult((SteamInventoryResult_t)resultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + iface->DestroyResult( params->resultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems( void *args ) { - return ((ISteamInventory*)linux_side)->GetAllItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetAllItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemsByID((SteamInventoryResult_t *)pResultHandle, (const SteamItemInstanceID_t *)pInstanceIDs, (uint32)unCountInstanceIDs); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetItemsByID( params->pResultHandle, params->pInstanceIDs, params->unCountInstanceIDs ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(void *linux_side, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->SerializeResult((SteamInventoryResult_t)resultHandle, (void *)pOutBuffer, (uint32 *)punOutBufferSize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SerializeResult( params->resultHandle, params->pOutBuffer, params->punOutBufferSize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(void *linux_side, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult( void *args ) { - return ((ISteamInventory*)linux_side)->DeserializeResult((SteamInventoryResult_t *)pOutResultHandle, (const void *)pBuffer, (uint32)unBufferSize, (bool)bRESERVED_MUST_BE_FALSE); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->DeserializeResult( params->pOutResultHandle, params->pBuffer, params->unBufferSize, params->bRESERVED_MUST_BE_FALSE ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems( void *args ) { - return ((ISteamInventory*)linux_side)->GenerateItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GenerateItems( params->pResultHandle, params->pArrayItemDefs, params->punArrayQuantity, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->GrantPromoItems((SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GrantPromoItems( params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItem((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)itemDef); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->AddPromoItem( params->pResultHandle, params->itemDef ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems( void *args ) { - return ((ISteamInventory*)linux_side)->AddPromoItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayItemDefs, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->AddPromoItems( params->pResultHandle, params->pArrayItemDefs, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem( void *args ) { - return ((ISteamInventory*)linux_side)->ConsumeItem((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemConsume, (uint32)unQuantity); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->ConsumeItem( params->pResultHandle, params->itemConsume, params->unQuantity ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems( void *args ) { - return ((ISteamInventory*)linux_side)->ExchangeItems((SteamInventoryResult_t *)pResultHandle, (const SteamItemDef_t *)pArrayGenerate, (const uint32 *)punArrayGenerateQuantity, (uint32)unArrayGenerateLength, (const SteamItemInstanceID_t *)pArrayDestroy, (const uint32 *)punArrayDestroyQuantity, (uint32)unArrayDestroyLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->ExchangeItems( params->pResultHandle, params->pArrayGenerate, params->punArrayGenerateQuantity, params->unArrayGenerateLength, params->pArrayDestroy, params->punArrayDestroyQuantity, params->unArrayDestroyLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity( void *args ) { - return ((ISteamInventory*)linux_side)->TransferItemQuantity((SteamInventoryResult_t *)pResultHandle, (SteamItemInstanceID_t)itemIdSource, (uint32)unQuantity, (SteamItemInstanceID_t)itemIdDest); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->TransferItemQuantity( params->pResultHandle, params->itemIdSource, params->unQuantity, params->itemIdDest ); + return 0; } -void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat( void *args ) { - ((ISteamInventory*)linux_side)->SendItemDropHeartbeat(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + iface->SendItemDropHeartbeat( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(void *linux_side, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop( void *args ) { - return ((ISteamInventory*)linux_side)->TriggerItemDrop((SteamInventoryResult_t *)pResultHandle, (SteamItemDef_t)dropListDefinition); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->TriggerItemDrop( params->pResultHandle, params->dropListDefinition ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(void *linux_side, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems( void *args ) { - return ((ISteamInventory*)linux_side)->TradeItems((SteamInventoryResult_t *)pResultHandle, (CSteamID)steamIDTradePartner, (const SteamItemInstanceID_t *)pArrayGive, (const uint32 *)pArrayGiveQuantity, (uint32)nArrayGiveLength, (const SteamItemInstanceID_t *)pArrayGet, (const uint32 *)pArrayGetQuantity, (uint32)nArrayGetLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->TradeItems( params->pResultHandle, params->steamIDTradePartner, params->pArrayGive, params->pArrayGiveQuantity, params->nArrayGiveLength, params->pArrayGet, params->pArrayGetQuantity, params->nArrayGetLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions( void *args ) { - return ((ISteamInventory*)linux_side)->LoadItemDefinitions(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->LoadItemDefinitions( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(void *linux_side, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionIDs((SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetItemDefinitionIDs( params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(void *linux_side, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemDefinitionProperty((SteamItemDef_t)iDefinition, (const char *)pchPropertyName, (char *)pchValueBuffer, (uint32 *)punValueBufferSizeOut); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetItemDefinitionProperty( params->iDefinition, params->pchPropertyName, params->pchValueBuffer, params->punValueBufferSizeOut ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(void *linux_side, CSteamID steamID) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs( void *args ) { - return ((ISteamInventory*)linux_side)->RequestEligiblePromoItemDefinitionsIDs((CSteamID)steamID); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->RequestEligiblePromoItemDefinitionsIDs( params->steamID ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(void *linux_side, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs( void *args ) { - return ((ISteamInventory*)linux_side)->GetEligiblePromoItemDefinitionIDs((CSteamID)steamID, (SteamItemDef_t *)pItemDefIDs, (uint32 *)punItemDefIDsArraySize); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetEligiblePromoItemDefinitionIDs( params->steamID, params->pItemDefIDs, params->punItemDefIDsArraySize ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(void *linux_side, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase( void *args ) { - return ((ISteamInventory*)linux_side)->StartPurchase((const SteamItemDef_t *)pArrayItemDefs, (const uint32 *)punArrayQuantity, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->StartPurchase( params->pArrayItemDefs, params->punArrayQuantity, params->unArrayLength ); + return 0; } -SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices( void *args ) { - return ((ISteamInventory*)linux_side)->RequestPrices(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->RequestPrices( ); + return 0; } -uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices( void *args ) { - return ((ISteamInventory*)linux_side)->GetNumItemsWithPrices(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetNumItemsWithPrices( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(void *linux_side, SteamItemDef_t * pArrayItemDefs, uint64 * pCurrentPrices, uint64 * pBasePrices, uint32 unArrayLength) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemsWithPrices((SteamItemDef_t *)pArrayItemDefs, (uint64 *)pCurrentPrices, (uint64 *)pBasePrices, (uint32)unArrayLength); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetItemsWithPrices( params->pArrayItemDefs, params->pCurrentPrices, params->pBasePrices, params->unArrayLength ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(void *linux_side, SteamItemDef_t iDefinition, uint64 * pCurrentPrice, uint64 * pBasePrice) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice( void *args ) { - return ((ISteamInventory*)linux_side)->GetItemPrice((SteamItemDef_t)iDefinition, (uint64 *)pCurrentPrice, (uint64 *)pBasePrice); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->GetItemPrice( params->iDefinition, params->pCurrentPrice, params->pBasePrice ); + return 0; } -SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(void *linux_side) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties( void *args ) { - return ((ISteamInventory*)linux_side)->StartUpdateProperties(); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->StartUpdateProperties( ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty( void *args ) { - return ((ISteamInventory*)linux_side)->RemoveProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->RemoveProperty( params->handle, params->nItemID, params->pchPropertyName ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (const char *)pchPropertyValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->pchPropertyValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (bool)bValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->bValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (int64)nValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->nValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4( void *args ) { - return ((ISteamInventory*)linux_side)->SetProperty((SteamInventoryUpdateHandle_t)handle, (SteamItemInstanceID_t)nItemID, (const char *)pchPropertyName, (float)flValue); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SetProperty( params->handle, params->nItemID, params->pchPropertyName, params->flValue ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(void *linux_side, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties( void *args ) { - return ((ISteamInventory*)linux_side)->SubmitUpdateProperties((SteamInventoryUpdateHandle_t)handle, (SteamInventoryResult_t *)pResultHandle); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->SubmitUpdateProperties( params->handle, params->pResultHandle ); + return 0; } -bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(void *linux_side, SteamInventoryResult_t * pResultHandle, const char * pchItemToken) +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem( void *args ) { - return ((ISteamInventory*)linux_side)->InspectItem((SteamInventoryResult_t *)pResultHandle, (const char *)pchItemToken); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params *params = (struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params *)args; + struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *iface = (struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 *)params->linux_side; + params->_ret = iface->InspectItem( params->pResultHandle, params->pchItemToken ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h b/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h deleted file mode 100644 index 674383592..000000000 --- a/lsteamclient/cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h +++ /dev/null @@ -1,38 +0,0 @@ -extern EResult cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(void *, SteamInventoryResult_t, SteamItemDetails_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(void *, SteamInventoryResult_t, uint32, const char *, char *, uint32 *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(void *, SteamInventoryResult_t, CSteamID); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(void *, SteamInventoryResult_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(void *, SteamInventoryResult_t *, const SteamItemInstanceID_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(void *, SteamInventoryResult_t, void *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(void *, SteamInventoryResult_t *, const void *, uint32, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(void *, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(void *, SteamInventoryResult_t *, const SteamItemDef_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(void *, SteamInventoryResult_t *, SteamItemInstanceID_t, uint32, SteamItemInstanceID_t); -extern void cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(void *, SteamInventoryResult_t *, SteamItemDef_t); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(void *, SteamInventoryResult_t *, CSteamID, const SteamItemInstanceID_t *, const uint32 *, uint32, const SteamItemInstanceID_t *, const uint32 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(void *, SteamItemDef_t *, uint32 *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(void *, SteamItemDef_t, const char *, char *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(void *, CSteamID); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(void *, CSteamID, SteamItemDef_t *, uint32 *); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(void *, const SteamItemDef_t *, const uint32 *, uint32); -extern SteamAPICall_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(void *); -extern uint32 cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(void *, SteamItemDef_t *, uint64 *, uint64 *, uint32); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(void *, SteamItemDef_t, uint64 *, uint64 *); -extern SteamInventoryUpdateHandle_t cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(void *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, const char *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, bool); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, int64); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(void *, SteamInventoryUpdateHandle_t, SteamItemInstanceID_t, const char *, float); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(void *, SteamInventoryUpdateHandle_t, SteamInventoryResult_t *); -extern bool cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(void *, SteamInventoryResult_t *, const char *); diff --git a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp index f53c3995c..68788f629 100644 --- a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp +++ b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.cpp @@ -1,87 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#include "steamworks_sdk_116/isteammasterserverupdater.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h" -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(void *linux_side, bool bActive) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->SetActive((bool)bActive); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->SetActive( params->bActive ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(void *linux_side, int iHeartbeatInterval) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->SetHeartbeatInterval((int)iHeartbeatInterval); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->SetHeartbeatInterval( params->iHeartbeatInterval ); + return 0; } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *linux_side, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->HandleIncomingPacket((const void *)pData, (int)cbData, (uint32)srcIP, (uint16)srcPort); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->HandleIncomingPacket( params->pData, params->cbData, params->srcIP, params->srcPort ); + return 0; } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *linux_side, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->GetNextOutgoingPacket((void *)pOut, (int)cbMaxOut, (uint32 *)pNetAdr, (uint16 *)pPort); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->GetNextOutgoingPacket( params->pOut, params->cbMaxOut, params->pNetAdr, params->pPort ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *linux_side, unsigned short nProtocolVersion, bool bDedicatedServer, const char * pRegionName, const char * pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char * pGameDescription) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->SetBasicServerData((unsigned short)nProtocolVersion, (bool)bDedicatedServer, (const char *)pRegionName, (const char *)pProductName, (unsigned short)nMaxReportedClients, (bool)bPasswordProtected, (const char *)pGameDescription); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->SetBasicServerData( params->nProtocolVersion, params->bDedicatedServer, params->pRegionName, params->pProductName, params->nMaxReportedClients, params->bPasswordProtected, params->pGameDescription ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(void *linux_side) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->ClearAllKeyValues(); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->ClearAllKeyValues( ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *linux_side, const char * pKey, const char * pValue) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->SetKeyValue((const char *)pKey, (const char *)pValue); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->SetKeyValue( params->pKey, params->pValue ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(void *linux_side) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->NotifyShutdown(); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->NotifyShutdown( ); + return 0; } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(void *linux_side) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->WasRestartRequested(); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->WasRestartRequested( ); + return 0; } -void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(void *linux_side) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( void *args ) { - ((ISteamMasterServerUpdater*)linux_side)->ForceHeartbeat(); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + iface->ForceHeartbeat( ); + return 0; } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *linux_side, const char * pServerAddress) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->AddMasterServer((const char *)pServerAddress); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->AddMasterServer( params->pServerAddress ); + return 0; } -bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *linux_side, const char * pServerAddress) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->RemoveMasterServer((const char *)pServerAddress); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->RemoveMasterServer( params->pServerAddress ); + return 0; } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(void *linux_side) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->GetNumMasterServers(); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->GetNumMasterServers( ); + return 0; } -int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *linux_side, int iServer, char * pOut, int outBufferSize) +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( void *args ) { - return ((ISteamMasterServerUpdater*)linux_side)->GetMasterServerAddress((int)iServer, (char *)pOut, (int)outBufferSize); + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params *params = (struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params *)args; + struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *iface = (struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 *)params->linux_side; + params->_ret = iface->GetMasterServerAddress( params->iServer, params->pOut, params->outBufferSize ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h b/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h deleted file mode 100644 index bdfd759bd..000000000 --- a/lsteamclient/cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h +++ /dev/null @@ -1,14 +0,0 @@ -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(void *, bool); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(void *, int); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(void *, const void *, int, uint32, uint16); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(void *, void *, int, uint32 *, uint16 *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(void *, unsigned short, bool, const char *, const char *, unsigned short, bool, const char *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(void *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(void *, const char *, const char *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(void *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(void *); -extern void cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(void *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(void *, const char *); -extern bool cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(void *, const char *); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(void *); -extern int cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(void *, int, char *, int); diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp index 4067e051d..8c61644c2 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.cpp @@ -1,96 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_105/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_105 -#include "struct_converters.h" -#include "cppISteamMatchmakingServers_SteamMatchMakingServers001.h" -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(void *linux_side, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + params->_ret = iface->GetServerDetails( params->eType, params->iServer ); + return 0; } -gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(void *linux_side, EMatchMakingType eType, int iServer) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->GetServerDetails((EMatchMakingType)eType, (int)iServer); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + iface->CancelQuery( params->eType ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(void *linux_side, EMatchMakingType eType) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->CancelQuery((EMatchMakingType)eType); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + iface->RefreshQuery( params->eType ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(void *linux_side, EMatchMakingType eType) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshQuery((EMatchMakingType)eType); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + params->_ret = iface->IsRefreshing( params->eType ); + return 0; } -bool cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(void *linux_side, EMatchMakingType eType) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->IsRefreshing((EMatchMakingType)eType); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + params->_ret = iface->GetServerCount( params->eType ); + return 0; } -int cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(void *linux_side, EMatchMakingType eType) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->GetServerCount((EMatchMakingType)eType); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + iface->RefreshServer( params->eType, params->iServer ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(void *linux_side, EMatchMakingType eType, int iServer) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshServer((EMatchMakingType)eType, (int)iServer); + struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + iface->CancelServerQuery( params->hServerQuery ); + return 0; } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPingResponse *)pRequestServersResponse); -} - -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPlayersResponse *)pRequestServersResponse); -} - -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, (ISteamMatchmakingRulesResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(void *linux_side, HServerQuery hServerQuery) -{ - ((ISteamMatchmakingServers*)linux_side)->CancelServerQuery((HServerQuery)hServerQuery); -} - -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h deleted file mode 100644 index c2736c77f..000000000 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers001.h +++ /dev/null @@ -1,16 +0,0 @@ -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(void *, AppId_t, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(void *, EMatchMakingType, int); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(void *, EMatchMakingType); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(void *, EMatchMakingType); -extern bool cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(void *, EMatchMakingType); -extern int cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(void *, EMatchMakingType); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(void *, EMatchMakingType, int); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(void *, uint32, uint16, ISteamMatchmakingPingResponse *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(void *, uint32, uint16, ISteamMatchmakingPlayersResponse *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(void *, uint32, uint16, ISteamMatchmakingRulesResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(void *, HServerQuery); diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index da97361a7..bbd08d880 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -1,102 +1,67 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->RequestInternetServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(void *linux_side, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->RequestLANServerList((AppId_t)iApp, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->RequestFriendsServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->RequestFavoritesServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} - -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->RequestHistoryServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(void *linux_side, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->RequestSpectatorServerList((AppId_t)iApp, (MatchMakingKeyValuePair_t **)ppchFilters, (uint32)nFilters, (ISteamMatchmakingServerListResponse *)pRequestServersResponse); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->ReleaseRequest( params->hServerListRequest ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(void *linux_side, HServerListRequest hServerListRequest) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->ReleaseRequest((HServerListRequest)hServerListRequest); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + params->_ret = iface->GetServerDetails( params->hRequest, params->iServer ); + return 0; } -gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(void *linux_side, HServerListRequest hRequest, int iServer) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->GetServerDetails((HServerListRequest)hRequest, (int)iServer); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->CancelQuery( params->hRequest ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(void *linux_side, HServerListRequest hRequest) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->CancelQuery((HServerListRequest)hRequest); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->RefreshQuery( params->hRequest ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(void *linux_side, HServerListRequest hRequest) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshQuery((HServerListRequest)hRequest); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + params->_ret = iface->IsRefreshing( params->hRequest ); + return 0; } -bool cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(void *linux_side, HServerListRequest hRequest) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->IsRefreshing((HServerListRequest)hRequest); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + params->_ret = iface->GetServerCount( params->hRequest ); + return 0; } -int cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(void *linux_side, HServerListRequest hRequest) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer( void *args ) { - return ((ISteamMatchmakingServers*)linux_side)->GetServerCount((HServerListRequest)hRequest); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->RefreshServer( params->hRequest, params->iServer ); + return 0; } -void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(void *linux_side, HServerListRequest hRequest, int iServer) +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery( void *args ) { - ((ISteamMatchmakingServers*)linux_side)->RefreshServer((HServerListRequest)hRequest, (int)iServer); + struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->CancelServerQuery( params->hServerQuery ); + return 0; } -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->PingServer((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPingResponse *)pRequestServersResponse); -} - -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->PlayerDetails((uint32)unIP, (uint16)usPort, (ISteamMatchmakingPlayersResponse *)pRequestServersResponse); -} - -HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(void *linux_side, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse) -{ - return ((ISteamMatchmakingServers*)linux_side)->ServerRules((uint32)unIP, (uint16)usPort, (ISteamMatchmakingRulesResponse *)pRequestServersResponse); -} - -void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(void *linux_side, HServerQuery hServerQuery) -{ - ((ISteamMatchmakingServers*)linux_side)->CancelServerQuery((HServerQuery)hServerQuery); -} - -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h deleted file mode 100644 index 8ae885990..000000000 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.h +++ /dev/null @@ -1,17 +0,0 @@ -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(void *, AppId_t, ISteamMatchmakingServerListResponse *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern HServerListRequest cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(void *, AppId_t, MatchMakingKeyValuePair_t **, uint32, ISteamMatchmakingServerListResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(void *, HServerListRequest); -extern gameserveritem_t * cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(void *, HServerListRequest, int); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(void *, HServerListRequest); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(void *, HServerListRequest); -extern bool cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(void *, HServerListRequest); -extern int cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(void *, HServerListRequest); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(void *, HServerListRequest, int); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(void *, uint32, uint16, ISteamMatchmakingPingResponse *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(void *, uint32, uint16, ISteamMatchmakingPlayersResponse *); -extern HServerQuery cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(void *, uint32, uint16, ISteamMatchmakingRulesResponse *); -extern void cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(void *, HServerQuery); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp index ab0ce37ff..3ace300ee 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.cpp @@ -1,126 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking001.h" -int cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(void *linux_side, int iGame, uint32 * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (uint32 *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->unFlags ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(void *linux_side, int iGame, uint32 * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame2((int)iGame, (uint32 *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetFavoriteGame2( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame2((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->AddFavoriteGame2( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(void *linux_side, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame2((uint32)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame2( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(void *linux_side, uint64 ulGameID, MatchMakingKeyValuePair_t * pFilters, uint32 nFilters) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList( void *args ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList((uint64)ulGameID, (MatchMakingKeyValuePair_t *)pFilters, (uint32)nFilters); + struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + iface->RequestLobbyList( params->ulGameID, params->pFilters, params->nFilters ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(void *linux_side, uint64 ulGameID, bool bPrivate) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_CreateLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((uint64)ulGameID, (bool)bPrivate); + struct ISteamMatchmaking_SteamMatchMaking001_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + iface->CreateLobby( params->ulGameID, params->bPrivate ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_JoinLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking001_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(void *linux_side, CSteamID SteamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)SteamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->SteamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking001 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking001 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h deleted file mode 100644 index 77e3b3693..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking001.h +++ /dev/null @@ -1,22 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(void *, int, uint32 *, uint32 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(void *, uint32, uint32, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(void *, uint32, uint32, uint16, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(void *, int, uint32 *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(void *, uint32, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(void *, uint32, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(void *, uint64, MatchMakingKeyValuePair_t *, uint32); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(void *, uint64, bool); -extern void cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(void *, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp index 575eedfac..6797a1d52 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_101/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_101 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking002.h" -int cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList( void *args ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->RequestLobbyList( ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(void *linux_side, bool bPrivate) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_CreateLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + struct ISteamMatchmaking_SteamMatchMaking002_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->CreateLobby( params->bPrivate ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_JoinLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking002_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking002 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking002 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h deleted file mode 100644 index e9279a2d8..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking002.h +++ /dev/null @@ -1,20 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp index e426ee7d2..59f85590a 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.cpp @@ -1,156 +1,227 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_101x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_101x -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking003.h" -int cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList( void *args ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->AddRequestLobbyListFilter( params->pchKeyToMatch, params->pchValueToMatch ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->nComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->AddRequestLobbyListSlotsAvailableFilter( ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(void *linux_side, bool bPrivate) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_CreateLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + struct ISteamMatchmaking_SteamMatchMaking003_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->CreateLobby( params->bPrivate ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_JoinLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking003_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(void *linux_side, CSteamID steamIDLobby, bool bVoiceEnabled) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyVoiceEnabled((CSteamID)steamIDLobby, (bool)bVoiceEnabled); + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + iface->SetLobbyVoiceEnabled( params->steamIDLobby, params->bVoiceEnabled ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); + struct ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params *params = (struct ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking003 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking003 *)params->linux_side; + params->_ret = iface->RequestFriendsLobbies( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h deleted file mode 100644 index 132f5e01a..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking003.h +++ /dev/null @@ -1,28 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(void *, CSteamID, bool); -extern bool cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(void *); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp index acaf4d376..8d6f40d7e 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.cpp @@ -1,151 +1,219 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking004.h" -int cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList( void *args ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->AddRequestLobbyListFilter( params->pchKeyToMatch, params->pchValueToMatch ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->nComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->AddRequestLobbyListSlotsAvailableFilter( ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(void *linux_side, bool bPrivate) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_CreateLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((bool)bPrivate); + struct ISteamMatchmaking_SteamMatchMaking004_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->CreateLobby( params->bPrivate ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_JoinLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking004_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); + struct ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params *params = (struct ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking004 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking004 *)params->linux_side; + params->_ret = iface->RequestFriendsLobbies( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h deleted file mode 100644 index fe02d6296..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking004.h +++ /dev/null @@ -1,27 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(void *); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(void *, bool); -extern void cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(void *); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp index c108a2a30..bfcf5f6c1 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.cpp @@ -1,171 +1,251 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102x -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking005.h" -int cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList( void *args ) { - ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->AddRequestLobbyListFilter( params->pchKeyToMatch, params->pchValueToMatch ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->nComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListSlotsAvailableFilter(); + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->AddRequestLobbyListSlotsAvailableFilter( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(void *linux_side, const char * pchKeyToMatch, int nValueToBeCloseTo) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->AddRequestLobbyListNearValueFilter( params->pchKeyToMatch, params->nValueToBeCloseTo ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(void *linux_side, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_CreateLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking005_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->CreateLobby( params->eLobbyType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_JoinLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestFriendsLobbies(); + struct ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->RequestFriendsLobbies( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyType( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->SetLobbyType( params->steamIDLobby, params->eLobbyType ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + *params->_ret = iface->GetLobbyOwner( params->steamIDLobby ); + return 0; } -float cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDistance((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params *params = (struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking005 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking005 *)params->linux_side; + params->_ret = iface->GetLobbyDistance( params->steamIDLobby ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h deleted file mode 100644 index 897f68f2e..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking005.h +++ /dev/null @@ -1,31 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern void cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(void *); -extern void cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(void *, ELobbyType); -extern void cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(void *, CSteamID, ELobbyType); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(void *, CSteamID); -extern float cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(void *, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp index db37b7299..1ddeb9c46 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.cpp @@ -1,156 +1,227 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_104/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_104 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking006.h" -int cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch); + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->AddRequestLobbyListFilter( params->pchKeyToMatch, params->pchValueToMatch ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (int)nComparisonType); + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->nComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(void *linux_side, const char * pchKeyToMatch, int nValueToBeCloseTo) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->AddRequestLobbyListNearValueFilter( params->pchKeyToMatch, params->nValueToBeCloseTo ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(void *linux_side, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_CreateLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking006_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->CreateLobby( params->eLobbyType ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_JoinLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyType( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + params->_ret = iface->SetLobbyType( params->steamIDLobby, params->eLobbyType ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking006 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking006 *)params->linux_side; + *params->_ret = iface->GetLobbyOwner( params->steamIDLobby ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h deleted file mode 100644 index a2535e60d..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking006.h +++ /dev/null @@ -1,28 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(void *, const char *, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(void *, const char *, int, int); -extern void cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(void *, ELobbyType); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(void *, CSteamID, const char *, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(void *, CSteamID, ELobbyType); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(void *, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp index 8c86ec309..5208d03da 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.cpp @@ -1,186 +1,275 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_107/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_107 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking007.h" -int cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->AddRequestLobbyListStringFilter( params->pchKeyToMatch, params->pchValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(void *linux_side, const char * pchKeyToMatch, int nValueToBeCloseTo) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->AddRequestLobbyListNearValueFilter( params->pchKeyToMatch, params->nValueToBeCloseTo ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->AddRequestLobbyListFilterSlotsAvailable( params->nSlotsAvailable ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_CreateLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking007_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->CreateLobby( params->eLobbyType, params->cMaxMembers ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_JoinLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyDataCount( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyDataByIndex( params->steamIDLobby, params->iLobbyData, params->pchKey, params->cchKeyBufferSize, params->pchValue, params->cchValueBufferSize ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->DeleteLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyType( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SetLobbyType( params->steamIDLobby, params->eLobbyType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SetLobbyJoinable( params->steamIDLobby, params->bLobbyJoinable ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + *params->_ret = iface->GetLobbyOwner( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking007 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking007 *)params->linux_side; + params->_ret = iface->SetLobbyOwner( params->steamIDLobby, params->steamIDNewOwner ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h deleted file mode 100644 index 112ef5a7c..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking007.h +++ /dev/null @@ -1,34 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(void *, CSteamID, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp index efd36dc5d..a56cab1f7 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.cpp @@ -1,196 +1,291 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking008.h" -int cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListStringFilter( params->pchKeyToMatch, params->pchValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(void *linux_side, const char * pchKeyToMatch, int nValueToBeCloseTo) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListNearValueFilter( params->pchKeyToMatch, params->nValueToBeCloseTo ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListFilterSlotsAvailable( params->nSlotsAvailable ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(void *linux_side, ELobbyDistanceFilter eLobbyDistanceFilter) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListDistanceFilter((ELobbyDistanceFilter)eLobbyDistanceFilter); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListDistanceFilter( params->eLobbyDistanceFilter ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(void *linux_side, int cMaxResults) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListResultCountFilter((int)cMaxResults); + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->AddRequestLobbyListResultCountFilter( params->cMaxResults ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_CreateLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking008_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->CreateLobby( params->eLobbyType, params->cMaxMembers ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_JoinLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyDataCount( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyDataByIndex( params->steamIDLobby, params->iLobbyData, params->pchKey, params->cchKeyBufferSize, params->pchValue, params->cchValueBufferSize ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->DeleteLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyType( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SetLobbyType( params->steamIDLobby, params->eLobbyType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SetLobbyJoinable( params->steamIDLobby, params->bLobbyJoinable ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + *params->_ret = iface->GetLobbyOwner( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking008 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking008 *)params->linux_side; + params->_ret = iface->SetLobbyOwner( params->steamIDLobby, params->steamIDNewOwner ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h deleted file mode 100644 index d437f71b9..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking008.h +++ /dev/null @@ -1,36 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(void *, ELobbyDistanceFilter); -extern void cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(void *, int); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(void *, CSteamID, CSteamID); diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp index d996a28d4..08f470106 100644 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp +++ b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.cpp @@ -1,207 +1,307 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamMatchmaking_SteamMatchMaking009.h" -int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGameCount(); + struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetFavoriteGameCount( ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(void *linux_side, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetFavoriteGame((int)iGame, (AppId_t *)pnAppID, (uint32 *)pnIP, (uint16 *)pnConnPort, (uint16 *)pnQueryPort, (uint32 *)punFlags, (uint32 *)pRTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetFavoriteGame( params->iGame, params->pnAppID, params->pnIP, params->pnConnPort, params->pnQueryPort, params->punFlags, params->pRTime32LastPlayedOnServer ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->AddFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags, (uint32)rTime32LastPlayedOnServer); + struct ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->AddFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags, params->rTime32LastPlayedOnServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(void *linux_side, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RemoveFavoriteGame((AppId_t)nAppID, (uint32)nIP, (uint16)nConnPort, (uint16)nQueryPort, (uint32)unFlags); + struct ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->RemoveFavoriteGame( params->nAppID, params->nIP, params->nConnPort, params->nQueryPort, params->unFlags ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(void *linux_side) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyList(); + struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->RequestLobbyList( ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(void *linux_side, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListStringFilter((const char *)pchKeyToMatch, (const char *)pchValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListStringFilter( params->pchKeyToMatch, params->pchValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(void *linux_side, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNumericalFilter((const char *)pchKeyToMatch, (int)nValueToMatch, (ELobbyComparison)eComparisonType); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListNumericalFilter( params->pchKeyToMatch, params->nValueToMatch, params->eComparisonType ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(void *linux_side, const char * pchKeyToMatch, int nValueToBeCloseTo) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListNearValueFilter((const char *)pchKeyToMatch, (int)nValueToBeCloseTo); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListNearValueFilter( params->pchKeyToMatch, params->nValueToBeCloseTo ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(void *linux_side, int nSlotsAvailable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListFilterSlotsAvailable((int)nSlotsAvailable); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListFilterSlotsAvailable( params->nSlotsAvailable ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(void *linux_side, ELobbyDistanceFilter eLobbyDistanceFilter) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListDistanceFilter((ELobbyDistanceFilter)eLobbyDistanceFilter); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListDistanceFilter( params->eLobbyDistanceFilter ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(void *linux_side, int cMaxResults) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListResultCountFilter((int)cMaxResults); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListResultCountFilter( params->cMaxResults ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter( void *args ) { - ((ISteamMatchmaking*)linux_side)->AddRequestLobbyListCompatibleMembersFilter((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->AddRequestLobbyListCompatibleMembersFilter( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(void *linux_side, int iLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyByIndex((int)iLobby); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + *params->_ret = iface->GetLobbyByIndex( params->iLobby ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(void *linux_side, ELobbyType eLobbyType, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_CreateLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->CreateLobby((ELobbyType)eLobbyType, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking009_CreateLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_CreateLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->CreateLobby( params->eLobbyType, params->cMaxMembers ); + return 0; } -SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_JoinLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->JoinLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_JoinLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_JoinLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->JoinLobby( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_LeaveLobby( void *args ) { - ((ISteamMatchmaking*)linux_side)->LeaveLobby((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->LeaveLobby( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDInvitee) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->InviteUserToLobby((CSteamID)steamIDLobby, (CSteamID)steamIDInvitee); + struct ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->InviteUserToLobby( params->steamIDLobby, params->steamIDInvitee ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetNumLobbyMembers((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetNumLobbyMembers( params->steamIDLobby ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(void *linux_side, CSteamID steamIDLobby, int iMember) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberByIndex((CSteamID)steamIDLobby, (int)iMember); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + *params->_ret = iface->GetLobbyMemberByIndex( params->steamIDLobby, params->iMember ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLobbyData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataCount((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyDataCount( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(void *linux_side, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyDataByIndex((CSteamID)steamIDLobby, (int)iLobbyData, (char *)pchKey, (int)cchKeyBufferSize, (char *)pchValue, (int)cchValueBufferSize); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyDataByIndex( params->steamIDLobby, params->iLobbyData, params->pchKey, params->cchKeyBufferSize, params->pchValue, params->cchValueBufferSize ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(void *linux_side, CSteamID steamIDLobby, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->DeleteLobbyData((CSteamID)steamIDLobby, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->DeleteLobbyData( params->steamIDLobby, params->pchKey ); + return 0; } -const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberData((CSteamID)steamIDLobby, (CSteamID)steamIDUser, (const char *)pchKey); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyMemberData( params->steamIDLobby, params->steamIDUser, params->pchKey ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(void *linux_side, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyMemberData((CSteamID)steamIDLobby, (const char *)pchKey, (const char *)pchValue); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->SetLobbyMemberData( params->steamIDLobby, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(void *linux_side, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SendLobbyChatMsg((CSteamID)steamIDLobby, (const void *)pvMsgBody, (int)cubMsgBody); + struct ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SendLobbyChatMsg( params->steamIDLobby, params->pvMsgBody, params->cubMsgBody ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(void *linux_side, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyChatEntry((CSteamID)steamIDLobby, (int)iChatID, (CSteamID *)pSteamIDUser, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyChatEntry( params->steamIDLobby, params->iChatID, params->pSteamIDUser, params->pvData, params->cubData, params->peChatEntryType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData( void *args ) { - return ((ISteamMatchmaking*)linux_side)->RequestLobbyData((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->RequestLobbyData( params->steamIDLobby ); + return 0; } -void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer( void *args ) { - ((ISteamMatchmaking*)linux_side)->SetLobbyGameServer((CSteamID)steamIDLobby, (uint32)unGameServerIP, (uint16)unGameServerPort, (CSteamID)steamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + iface->SetLobbyGameServer( params->steamIDLobby, params->unGameServerIP, params->unGameServerPort, params->steamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(void *linux_side, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyGameServer((CSteamID)steamIDLobby, (uint32 *)punGameServerIP, (uint16 *)punGameServerPort, (CSteamID *)psteamIDGameServer); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyGameServer( params->steamIDLobby, params->punGameServerIP, params->punGameServerPort, params->psteamIDGameServer ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby, int cMaxMembers) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyMemberLimit((CSteamID)steamIDLobby, (int)cMaxMembers); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLobbyMemberLimit( params->steamIDLobby, params->cMaxMembers ); + return 0; } -int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyMemberLimit((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->GetLobbyMemberLimit( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(void *linux_side, CSteamID steamIDLobby, ELobbyType eLobbyType) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyType( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyType((CSteamID)steamIDLobby, (ELobbyType)eLobbyType); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLobbyType( params->steamIDLobby, params->eLobbyType ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(void *linux_side, CSteamID steamIDLobby, bool bLobbyJoinable) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyJoinable((CSteamID)steamIDLobby, (bool)bLobbyJoinable); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLobbyJoinable( params->steamIDLobby, params->bLobbyJoinable ); + return 0; } -CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(void *linux_side, CSteamID steamIDLobby) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->GetLobbyOwner((CSteamID)steamIDLobby); + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + *params->_ret = iface->GetLobbyOwner( params->steamIDLobby ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLobbyOwner((CSteamID)steamIDLobby, (CSteamID)steamIDNewOwner); + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLobbyOwner( params->steamIDLobby, params->steamIDNewOwner ); + return 0; } -bool cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(void *linux_side, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby( void *args ) { - return ((ISteamMatchmaking*)linux_side)->SetLinkedLobby((CSteamID)steamIDLobby, (CSteamID)steamIDLobbyDependent); + struct ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params *params = (struct ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params *)args; + struct u_ISteamMatchmaking_SteamMatchMaking009 *iface = (struct u_ISteamMatchmaking_SteamMatchMaking009 *)params->linux_side; + params->_ret = iface->SetLinkedLobby( params->steamIDLobby, params->steamIDLobbyDependent ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h b/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h deleted file mode 100644 index eda029aa7..000000000 --- a/lsteamclient/cppISteamMatchmaking_SteamMatchMaking009.h +++ /dev/null @@ -1,38 +0,0 @@ -extern int cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(void *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(void *, int, AppId_t *, uint32 *, uint16 *, uint16 *, uint32 *, uint32 *); -extern int cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32, uint32); -extern bool cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(void *, AppId_t, uint32, uint16, uint16, uint32); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(void *); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(void *, const char *, const char *, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(void *, const char *, int, ELobbyComparison); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(void *, const char *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(void *, ELobbyDistanceFilter); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(void *, int); -extern void cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(void *, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(void *, ELobbyType, int); -extern SteamAPICall_t cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(void *, CSteamID, CSteamID); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(void *, CSteamID); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(void *, CSteamID, int); -extern const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(void *, CSteamID, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(void *, CSteamID, const char *, const char *); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(void *, CSteamID, int, char *, int, char *, int); -extern bool cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(void *, CSteamID, const char *); -extern const char * cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(void *, CSteamID, CSteamID, const char *); -extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(void *, CSteamID, const char *, const char *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(void *, CSteamID, const void *, int); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(void *, CSteamID, int, CSteamID *, void *, int, EChatEntryType *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(void *, CSteamID); -extern void cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(void *, CSteamID, uint32, uint16, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(void *, CSteamID, uint32 *, uint16 *, CSteamID *); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(void *, CSteamID, int); -extern int cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(void *, CSteamID, ELobbyType); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(void *, CSteamID, bool); -extern CSteamID cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(void *, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(void *, CSteamID, CSteamID); -extern bool cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(void *, CSteamID, CSteamID); diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp index 3abd8ad99..d3a9fb63c 100644 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.cpp @@ -1,177 +1,259 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *linux_side, const char * pchName) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote( void *args ) { - return ((ISteamMusicRemote*)linux_side)->RegisterSteamMusicRemote((const char *)pchName); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->RegisterSteamMusicRemote( params->pchName ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote( void *args ) { - return ((ISteamMusicRemote*)linux_side)->DeregisterSteamMusicRemote(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->DeregisterSteamMusicRemote( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote( void *args ) { - return ((ISteamMusicRemote*)linux_side)->BIsCurrentMusicRemote(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsCurrentMusicRemote( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess( void *args ) { - return ((ISteamMusicRemote*)linux_side)->BActivationSuccess((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BActivationSuccess( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(void *linux_side, const char * pchDisplayName) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetDisplayName((const char *)pchDisplayName); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetDisplayName( params->pchDisplayName ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(void *linux_side, void * pvBuffer, uint32 cbBufferLength) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetPNGIcon_64x64((void *)pvBuffer, (uint32)cbBufferLength); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetPNGIcon_64x64( params->pvBuffer, params->cbBufferLength ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnablePlayPrevious((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnablePlayPrevious( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnablePlayNext((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnablePlayNext( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnableShuffled((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnableShuffled( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnableLooped((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnableLooped( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnableQueue((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnableQueue( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists( void *args ) { - return ((ISteamMusicRemote*)linux_side)->EnablePlaylists((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->EnablePlaylists( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(void *linux_side, AudioPlayback_Status nStatus) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdatePlaybackStatus((AudioPlayback_Status)nStatus); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdatePlaybackStatus( params->nStatus ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateShuffled((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateShuffled( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(void *linux_side, bool bValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateLooped((bool)bValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateLooped( params->bValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(void *linux_side, float flValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateVolume((float)flValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateVolume( params->flValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->CurrentEntryWillChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CurrentEntryWillChange( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(void *linux_side, bool bAvailable) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable( void *args ) { - return ((ISteamMusicRemote*)linux_side)->CurrentEntryIsAvailable((bool)bAvailable); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CurrentEntryIsAvailable( params->bAvailable ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(void *linux_side, const char * pchText) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryText((const char *)pchText); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateCurrentEntryText( params->pchText ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(void *linux_side, int nValue) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryElapsedSeconds((int)nValue); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateCurrentEntryElapsedSeconds( params->nValue ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(void *linux_side, void * pvBuffer, uint32 cbBufferLength) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt( void *args ) { - return ((ISteamMusicRemote*)linux_side)->UpdateCurrentEntryCoverArt((void *)pvBuffer, (uint32)cbBufferLength); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateCurrentEntryCoverArt( params->pvBuffer, params->cbBufferLength ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->CurrentEntryDidChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CurrentEntryDidChange( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->QueueWillChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->QueueWillChange( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries( void *args ) { - return ((ISteamMusicRemote*)linux_side)->ResetQueueEntries(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ResetQueueEntries( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(void *linux_side, int nID, int nPosition, const char * pchEntryText) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetQueueEntry((int)nID, (int)nPosition, (const char *)pchEntryText); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetQueueEntry( params->nID, params->nPosition, params->pchEntryText ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(void *linux_side, int nID) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetCurrentQueueEntry((int)nID); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetCurrentQueueEntry( params->nID ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->QueueDidChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->QueueDidChange( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->PlaylistWillChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->PlaylistWillChange( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries( void *args ) { - return ((ISteamMusicRemote*)linux_side)->ResetPlaylistEntries(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ResetPlaylistEntries( ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(void *linux_side, int nID, int nPosition, const char * pchEntryText) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetPlaylistEntry((int)nID, (int)nPosition, (const char *)pchEntryText); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetPlaylistEntry( params->nID, params->nPosition, params->pchEntryText ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(void *linux_side, int nID) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry( void *args ) { - return ((ISteamMusicRemote*)linux_side)->SetCurrentPlaylistEntry((int)nID); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetCurrentPlaylistEntry( params->nID ); + return 0; } -bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(void *linux_side) +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange( void *args ) { - return ((ISteamMusicRemote*)linux_side)->PlaylistDidChange(); + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params *params = (struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params *)args; + struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *iface = (struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->PlaylistDidChange( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h b/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h deleted file mode 100644 index e4c7dd486..000000000 --- a/lsteamclient/cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h +++ /dev/null @@ -1,32 +0,0 @@ -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(void *, void *, uint32); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(void *, AudioPlayback_Status); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(void *, float); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(void *, bool); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(void *, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(void *, void *, uint32); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(void *, int, int, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(void *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(void *, int, int, const char *); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(void *, int); -extern bool cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(void *); diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp index 261389510..b376241e7 100644 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.cpp @@ -1,62 +1,75 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" -bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled( void *args ) { - return ((ISteamMusic*)linux_side)->BIsEnabled(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsEnabled( ); + return 0; } -bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying( void *args ) { - return ((ISteamMusic*)linux_side)->BIsPlaying(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsPlaying( ); + return 0; } -AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus( void *args ) { - return ((ISteamMusic*)linux_side)->GetPlaybackStatus(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetPlaybackStatus( ); + return 0; } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play( void *args ) { - ((ISteamMusic*)linux_side)->Play(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + iface->Play( ); + return 0; } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause( void *args ) { - ((ISteamMusic*)linux_side)->Pause(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + iface->Pause( ); + return 0; } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious( void *args ) { - ((ISteamMusic*)linux_side)->PlayPrevious(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + iface->PlayPrevious( ); + return 0; } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext( void *args ) { - ((ISteamMusic*)linux_side)->PlayNext(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + iface->PlayNext( ); + return 0; } -void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *linux_side, float flVolume) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume( void *args ) { - ((ISteamMusic*)linux_side)->SetVolume((float)flVolume); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + iface->SetVolume( params->flVolume ); + return 0; } -float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *linux_side) +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume( void *args ) { - return ((ISteamMusic*)linux_side)->GetVolume(); + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params *params = (struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params *)args; + struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *iface = (struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetVolume( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h b/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h deleted file mode 100644 index 4b6f82f35..000000000 --- a/lsteamclient/cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h +++ /dev/null @@ -1,9 +0,0 @@ -extern bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *); -extern bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *); -extern AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *); -extern void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *, float); -extern float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *); diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp index e4030a1a0..3fc90ce20 100644 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp +++ b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.cpp @@ -1,28 +1,27 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/steamnetworkingfakeip.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h" -EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *linux_side, const SteamNetworkingIPAddr * remoteAddress, const void * pData, uint32 cbData, int nSendFlags) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( void *args ) { - return ((ISteamNetworkingFakeUDPPort*)linux_side)->SendMessageToFakeIP(*remoteAddress, (const void *)pData, (uint32)cbData, (int)nSendFlags); + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params *params = (struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params *)args; + struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *iface = (struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *)params->linux_side; + iface->DestroyFakeUDPPort( ); + return 0; } -void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *linux_side, const SteamNetworkingIPAddr * remoteAddress) +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP( void *args ) { - ((ISteamNetworkingFakeUDPPort*)linux_side)->ScheduleCleanup(*remoteAddress); + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params *params = (struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params *)args; + struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *iface = (struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *)params->linux_side; + params->_ret = iface->SendMessageToFakeIP( params->remoteAddress, params->pData, params->cbData, params->nSendFlags ); + return 0; } -#ifdef __cplusplus +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup( void *args ) +{ + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params *params = (struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params *)args; + struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *iface = (struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *)params->linux_side; + iface->ScheduleCleanup( params->remoteAddress ); + return 0; } -#endif + diff --git a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h b/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h deleted file mode 100644 index 7ae0bd0a9..000000000 --- a/lsteamclient/cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h +++ /dev/null @@ -1,4 +0,0 @@ -extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(void *); -extern EResult cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(void *, const SteamNetworkingIPAddr *, const void *, uint32, int); -extern int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *, winSteamNetworkingMessage_t_157 **, int); -extern void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(void *, const SteamNetworkingIPAddr *); diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp index 1402467c8..48c53cfa7 100644 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp +++ b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.cpp @@ -1,43 +1,43 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamnetworkingmessages.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" -EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *linux_side, const SteamNetworkingIdentity * identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser( void *args ) { - return ((ISteamNetworkingMessages*)linux_side)->SendMessageToUser(*identityRemote, (const void *)pubData, (uint32)cubData, (int)nSendFlags, (int)nRemoteChannel); + struct ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + params->_ret = iface->SendMessageToUser( params->identityRemote, params->pubData, params->cubData, params->nSendFlags, params->nRemoteChannel ); + return 0; } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *linux_side, const SteamNetworkingIdentity * identityRemote) +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser( void *args ) { - return ((ISteamNetworkingMessages*)linux_side)->AcceptSessionWithUser(*identityRemote); + struct ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + params->_ret = iface->AcceptSessionWithUser( params->identityRemote ); + return 0; } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *linux_side, const SteamNetworkingIdentity * identityRemote) +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser( void *args ) { - return ((ISteamNetworkingMessages*)linux_side)->CloseSessionWithUser(*identityRemote); + struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + params->_ret = iface->CloseSessionWithUser( params->identityRemote ); + return 0; } -bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nLocalChannel) +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser( void *args ) { - return ((ISteamNetworkingMessages*)linux_side)->CloseChannelWithUser(*identityRemote, (int)nLocalChannel); + struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + params->_ret = iface->CloseChannelWithUser( params->identityRemote, params->nLocalChannel ); + return 0; } -ESteamNetworkingConnectionState cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(void *linux_side, const SteamNetworkingIdentity * identityRemote, SteamNetConnectionInfo_t * pConnectionInfo, SteamNetConnectionRealTimeStatus_t * pQuickStatus) +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo( void *args ) { - return ((ISteamNetworkingMessages*)linux_side)->GetSessionConnectionInfo(*identityRemote, (SteamNetConnectionInfo_t *)pConnectionInfo, (SteamNetConnectionRealTimeStatus_t *)pQuickStatus); + struct ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + params->_ret = iface->GetSessionConnectionInfo( params->identityRemote, params->pConnectionInfo, params->pQuickStatus ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h b/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h deleted file mode 100644 index 80eb1e348..000000000 --- a/lsteamclient/cppISteamNetworkingMessages_SteamNetworkingMessages002.h +++ /dev/null @@ -1,6 +0,0 @@ -extern EResult cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(void *, const SteamNetworkingIdentity *, const void *, uint32, int, int); -extern int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(void *, int, winSteamNetworkingMessage_t_157 **, int); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(void *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(void *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(void *, const SteamNetworkingIdentity *, int); -extern ESteamNetworkingConnectionState cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(void *, const SteamNetworkingIdentity *, SteamNetConnectionInfo_t *, SteamNetConnectionRealTimeStatus_t *); diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp index 5cc04ae45..43ba4cf03 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.cpp @@ -1,57 +1,67 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_143x/steam_api.h" -#include "steamworks_sdk_143x/isteamnetworkingsocketsserialized.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_143x -#include "struct_converters.h" -#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h" -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PRendezvous((CSteamID)steamIDRemote, (uint32)unConnectionIDSrc, (const void *)pMsgRendezvous, (uint32)cbRendezvous); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + iface->SendP2PRendezvous( params->steamIDRemote, params->unConnectionIDSrc, params->pMsgRendezvous, params->cbRendezvous ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char * pszReason) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PConnectionFailure((CSteamID)steamIDRemote, (uint32)unConnectionIDDest, (uint32)nReason, (const char *)pszReason); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + iface->SendP2PConnectionFailure( params->steamIDRemote, params->unConnectionIDDest, params->nReason, params->pszReason ); + return 0; } -SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(void *linux_side) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCertAsync(); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + params->_ret = iface->GetCertAsync( ); + return 0; } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(void *linux_side, void * buf, uint32 cbBuf) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetNetworkConfigJSON((void *)buf, (uint32)cbBuf); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + params->_ret = iface->GetNetworkConfigJSON( params->buf, params->cbBuf ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(void *linux_side, const void * pTicket, uint32 cbTicket) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->CacheRelayTicket((const void *)pTicket, (uint32)cbTicket); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + iface->CacheRelayTicket( params->pTicket, params->cbTicket ); + return 0; } -uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(void *linux_side) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicketCount(); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + params->_ret = iface->GetCachedRelayTicketCount( ); + return 0; } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(void *linux_side, uint32 idxTicket, void * buf, uint32 cbBuf) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicket((uint32)idxTicket, (void *)buf, (uint32)cbBuf); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + params->_ret = iface->GetCachedRelayTicket( params->idxTicket, params->buf, params->cbBuf ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(void *linux_side, const void * pMsg, uint32 cbMsg) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->PostConnectionStateMsg((const void *)pMsg, (uint32)cbMsg); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *)params->linux_side; + iface->PostConnectionStateMsg( params->pMsg, params->cbMsg ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h deleted file mode 100644 index 9c6d9ce18..000000000 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h +++ /dev/null @@ -1,8 +0,0 @@ -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(void *, CSteamID, uint32, const void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(void *, CSteamID, uint32, uint32, const char *); -extern SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(void *, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(void *, const void *, uint32); -extern uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(void *, uint32, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(void *, const void *, uint32); diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp index 98fce267d..0149faecd 100644 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp +++ b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.cpp @@ -1,57 +1,67 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_143y/steam_api.h" -#include "steamworks_sdk_143y/isteamnetworkingsocketsserialized.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_143y -#include "struct_converters.h" -#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h" -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PRendezvous((CSteamID)steamIDRemote, (uint32)unConnectionIDSrc, (const void *)pMsgRendezvous, (uint32)cbRendezvous); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + iface->SendP2PRendezvous( params->steamIDRemote, params->unConnectionIDSrc, params->pMsgRendezvous, params->cbRendezvous ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(void *linux_side, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char * pszReason) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->SendP2PConnectionFailure((CSteamID)steamIDRemote, (uint32)unConnectionIDDest, (uint32)nReason, (const char *)pszReason); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + iface->SendP2PConnectionFailure( params->steamIDRemote, params->unConnectionIDDest, params->nReason, params->pszReason ); + return 0; } -SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(void *linux_side) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCertAsync(); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + params->_ret = iface->GetCertAsync( ); + return 0; } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(void *linux_side, void * buf, uint32 cbBuf, const char * pszLauncherPartner) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetNetworkConfigJSON((void *)buf, (uint32)cbBuf, (const char *)pszLauncherPartner); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + params->_ret = iface->GetNetworkConfigJSON( params->buf, params->cbBuf, params->pszLauncherPartner ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(void *linux_side, const void * pTicket, uint32 cbTicket) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->CacheRelayTicket((const void *)pTicket, (uint32)cbTicket); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + iface->CacheRelayTicket( params->pTicket, params->cbTicket ); + return 0; } -uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(void *linux_side) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicketCount(); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + params->_ret = iface->GetCachedRelayTicketCount( ); + return 0; } -int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(void *linux_side, uint32 idxTicket, void * buf, uint32 cbBuf) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( void *args ) { - return ((ISteamNetworkingSocketsSerialized*)linux_side)->GetCachedRelayTicket((uint32)idxTicket, (void *)buf, (uint32)cbBuf); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + params->_ret = iface->GetCachedRelayTicket( params->idxTicket, params->buf, params->cbBuf ); + return 0; } -void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(void *linux_side, const void * pMsg, uint32 cbMsg) +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( void *args ) { - ((ISteamNetworkingSocketsSerialized*)linux_side)->PostConnectionStateMsg((const void *)pMsg, (uint32)cbMsg); + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params *params = (struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params *)args; + struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *iface = (struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *)params->linux_side; + iface->PostConnectionStateMsg( params->pMsg, params->cbMsg ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h b/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h deleted file mode 100644 index 2dd5aae91..000000000 --- a/lsteamclient/cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h +++ /dev/null @@ -1,8 +0,0 @@ -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(void *, CSteamID, uint32, const void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(void *, CSteamID, uint32, uint32, const char *); -extern SteamAPICall_t cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(void *, void *, uint32, const char *); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(void *, const void *, uint32); -extern uint32 cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(void *); -extern int cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(void *, uint32, void *, uint32); -extern void cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(void *, const void *, uint32); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp index 27d3aa6a6..eb1bb1ab7 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.cpp @@ -1,148 +1,211 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_144 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(void *linux_side, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nVirtualPort ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nVirtualPort ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nVirtualPort, params->pOutParsedTicket ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nVirtualPort ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nVirtualPort ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h deleted file mode 100644 index 7538bf175..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets002.h +++ /dev/null @@ -1,28 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(void *, int); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(void *, const SteamNetworkingIdentity *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_144 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_144 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(void *, SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(void *, int); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp index 973d05996..5a1fb9ae5 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.cpp @@ -1,163 +1,235 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#include "steamworks_sdk_146/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets004.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(void *linux_side, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nVirtualPort ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nVirtualPort ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->InitAuthentication( ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetAuthenticationStatus( params->pDetails ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nVirtualPort, params->pOutParsedTicket ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nVirtualPort ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nVirtualPort ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + params->_ret = iface->GetGameCoordinatorServerLogin( params->pLoginInfo, params->pcbSignedBlob, params->pBlob ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h deleted file mode 100644 index 6e7670809..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets004.h +++ /dev/null @@ -1,31 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(void *, int); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(void *, const SteamNetworkingIdentity *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_146 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_146 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(void *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp index be4c6bc2e..f30ac4e88 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.cpp @@ -1,173 +1,235 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_147/steam_api.h" -#include "steamworks_sdk_147/steamnetworkingtypes.h" -#include "steamworks_sdk_147/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_147 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets006.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) -{ - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); -} - -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) -{ - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags, params->pOutMessageNumber ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->InitAuthentication( ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetAuthenticationStatus( params->pDetails ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nVirtualPort, params->pOutParsedTicket ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(void *linux_side, ISteamNetworkingConnectionCustomSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionCustomSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(void *linux_side, const void * pMsg, int cbMsg, ISteamNetworkingCustomSignalingRecvContext * pContext) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)pContext); + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + params->_ret = iface->GetGameCoordinatorServerLogin( params->pLoginInfo, params->pcbSignedBlob, params->pBlob ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h deleted file mode 100644 index 774596a21..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets006.h +++ /dev/null @@ -1,34 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(void *, int, winSteamNetworkingMessage_t_147 **, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_147 **, int); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(void *, HSteamListenSocket, winSteamNetworkingMessage_t_147 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(void *, ISteamNetworkingConnectionCustomSignaling *, const SteamNetworkingIdentity *, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(void *, const void *, int, ISteamNetworkingCustomSignalingRecvContext *); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp index 5e595bacb..ce6289d54 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.cpp @@ -1,198 +1,275 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_149/steam_api.h" -#include "steamworks_sdk_149/steamnetworkingtypes.h" -#include "steamworks_sdk_149/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_149 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets008.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) -{ - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP((const SteamNetworkingIPAddr *)localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); -} - -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) -{ - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress((const SteamNetworkingIPAddr *)address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P((const SteamNetworkingIdentity *)identityRemote, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags, params->pOutMessageNumber ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->InitAuthentication( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetAuthenticationStatus( params->pDetails ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CreatePollGroup( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->DestroyPollGroup( params->hPollGroup ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer((const SteamNetworkingIdentity *)identityGameServer, (int)nVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->SetConnectionPollGroup( params->hConn, params->hPollGroup ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer((const SteamNetworkingIdentity *)identityTarget, (int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nVirtualPort, params->pOutParsedTicket ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(void *linux_side, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(void *linux_side, ISteamNetworkingConnectionCustomSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionCustomSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(void *linux_side, const void * pMsg, int cbMsg, ISteamNetworkingCustomSignalingRecvContext * pContext) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingCustomSignalingRecvContext *)pContext); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetGameCoordinatorServerLogin( params->pLoginInfo, params->pcbSignedBlob, params->pBlob ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(void *linux_side, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, (SteamNetworkingErrMsg *)errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->GetCertificateRequest( params->pcbBlob, params->pBlob, params->errMsg ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(void *linux_side, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, (SteamNetworkingErrMsg *)errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + params->_ret = iface->SetCertificate( params->pCertificate, params->cbCertificate, params->errMsg ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h deleted file mode 100644 index 352136c8d..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets008.h +++ /dev/null @@ -1,39 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(void *, int, winSteamNetworkingMessage_t_149 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_149 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_149 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(void *, ISteamNetworkingConnectionCustomSignaling *, const SteamNetworkingIdentity *, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(void *, const void *, int, ISteamNetworkingCustomSignalingRecvContext *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp index eb05d5f1d..cbfedd293 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.cpp @@ -1,203 +1,299 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/steamnetworkingtypes.h" -#include "steamworks_sdk_152/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_152 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets009.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP(*localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress(*address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address, params->nOptions, params->pOptions ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nLocalVirtualPort, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P(*identityRemote, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags, params->pOutMessageNumber ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(void *linux_side, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetQuickConnectionStatus((HSteamNetConnection)hConn, (SteamNetworkingQuickConnectionStatus *)pStats); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->InitAuthentication( ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetAuthenticationStatus( params->pDetails ); + return 0; } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CreatePollGroup( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->DestroyPollGroup( params->hPollGroup ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->SetConnectionPollGroup( params->hConn, params->hPollGroup ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer(*identityGameServer, (int)nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nRemoteVirtualPort, params->pOutParsedTicket ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer(*identityTarget, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nLocalVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetGameCoordinatorServerLogin( params->pLoginInfo, params->pcbSignedBlob, params->pBlob ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(void *linux_side, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ConnectP2PCustomSignaling( params->pSignaling, params->pPeerIdentity, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(void *linux_side, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingSignalingRecvContext *)pContext); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->ReceivedP2PCustomSignal( params->pMsg, params->cbMsg, params->pContext ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(void *linux_side, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, *errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->GetCertificateRequest( params->pcbBlob, params->pBlob, params->errMsg ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(void *linux_side, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, *errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + params->_ret = iface->SetCertificate( params->pCertificate, params->cbCertificate, params->errMsg ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->RunCallbacks(); + struct ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + iface->RunCallbacks( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h deleted file mode 100644 index 77eef4fa0..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets009.h +++ /dev/null @@ -1,40 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(void *, int, winSteamNetworkingMessage_t_152 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_152 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(void *, HSteamNetConnection, SteamNetworkingQuickConnectionStatus *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_152 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(void *, ISteamNetworkingConnectionSignaling *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(void *, const void *, int, ISteamNetworkingSignalingRecvContext *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(void *); diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp index 2bc3cd2a8..a53e6901b 100644 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp +++ b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.cpp @@ -1,233 +1,355 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamnetworkingsockets.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamNetworkingSockets_SteamNetworkingSockets012.h" -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(void *linux_side, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketIP(*localAddress, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateListenSocketIP( params->localAddress, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(void *linux_side, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectByIPAddress(*address, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ConnectByIPAddress( params->address, params->nOptions, params->pOptions ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2P((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2P( params->nLocalVirtualPort, params->nOptions, params->pOptions ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(void *linux_side, const SteamNetworkingIdentity * identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2P(*identityRemote, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ConnectP2P( params->identityRemote, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->AcceptConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->AcceptConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(void *linux_side, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseConnection((HSteamNetConnection)hPeer, (int)nReason, (const char *)pszDebug, (bool)bEnableLinger); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(void *linux_side, HSteamListenSocket hSocket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CloseListenSocket((HSteamListenSocket)hSocket); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CloseListenSocket( params->hSocket ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(void *linux_side, HSteamNetConnection hPeer, int64 nUserData) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionUserData((HSteamNetConnection)hPeer, (int64)nUserData); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData ); + return 0; } -int64 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(void *linux_side, HSteamNetConnection hPeer) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionUserData((HSteamNetConnection)hPeer); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetConnectionUserData( params->hPeer ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(void *linux_side, HSteamNetConnection hPeer, const char * pszName) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->SetConnectionName((HSteamNetConnection)hPeer, (const char *)pszName); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + iface->SetConnectionName( params->hPeer, params->pszName ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(void *linux_side, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionName((HSteamNetConnection)hPeer, (char *)pszName, (int)nMaxLen); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(void *linux_side, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SendMessageToConnection((HSteamNetConnection)hConn, (const void *)pData, (uint32)cbData, (int)nSendFlags, (int64 *)pOutMessageNumber); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags, params->pOutMessageNumber ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(void *linux_side, HSteamNetConnection hConn) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FlushMessagesOnConnection((HSteamNetConnection)hConn); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->FlushMessagesOnConnection( params->hConn ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionInfo((HSteamNetConnection)hConn, (SteamNetConnectionInfo_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(void *linux_side, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t * pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t * pLanes) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetConnectionRealTimeStatus((HSteamNetConnection)hConn, (SteamNetConnectionRealTimeStatus_t *)pStatus, (int)nLanes, (SteamNetConnectionRealTimeLaneStatus_t *)pLanes); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetConnectionRealTimeStatus( params->hConn, params->pStatus, params->nLanes, params->pLanes ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(void *linux_side, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetDetailedConnectionStatus((HSteamNetConnection)hConn, (char *)pszBuf, (int)cbBuf); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(void *linux_side, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetListenSocketAddress((HSteamListenSocket)hSocket, (SteamNetworkingIPAddr *)address); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(void *linux_side, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateSocketPair((HSteamNetConnection *)pOutConnection1, (HSteamNetConnection *)pOutConnection2, (bool)bUseNetworkLoopback, (const SteamNetworkingIdentity *)pIdentity1, (const SteamNetworkingIdentity *)pIdentity2); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(void *linux_side, HSteamNetConnection hConn, int nNumLanes, const int * pLanePriorities, const uint16 * pLaneWeights) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConfigureConnectionLanes((HSteamNetConnection)hConn, (int)nNumLanes, (const int *)pLanePriorities, (const uint16 *)pLaneWeights); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ConfigureConnectionLanes( params->hConn, params->nNumLanes, params->pLanePriorities, params->pLaneWeights ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(void *linux_side, SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetIdentity((SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetIdentity( params->pIdentity ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->InitAuthentication(); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->InitAuthentication( ); + return 0; } -ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(void *linux_side, SteamNetAuthenticationStatus_t * pDetails) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetAuthenticationStatus((SteamNetAuthenticationStatus_t *)pDetails); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetAuthenticationStatus( params->pDetails ); + return 0; } -HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreatePollGroup(); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreatePollGroup( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(void *linux_side, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->DestroyPollGroup((HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->DestroyPollGroup( params->hPollGroup ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(void *linux_side, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetConnectionPollGroup((HSteamNetConnection)hConn, (HSteamNetPollGroup)hPollGroup); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->SetConnectionPollGroup( params->hConn, params->hPollGroup ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(void *linux_side, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedRelayAuthTicket((const void *)pvTicket, (int)cbTicket, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket ); + return 0; } -int cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(void *linux_side, const SteamNetworkingIdentity * identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->FindRelayAuthTicketForServer(*identityGameServer, (int)nRemoteVirtualPort, (SteamDatagramRelayAuthTicket *)pOutParsedTicket); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nRemoteVirtualPort, params->pOutParsedTicket ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(void *linux_side, const SteamNetworkingIdentity * identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectToHostedDedicatedServer(*identityTarget, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -uint16 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPort(); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPort( ); + return 0; } -SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerPOPID(); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerPOPID( ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(void *linux_side, SteamDatagramHostedAddress * pRouting) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetHostedDedicatedServerAddress((SteamDatagramHostedAddress *)pRouting); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(void *linux_side, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateHostedDedicatedServerListenSocket((int)nLocalVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nLocalVirtualPort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(void *linux_side, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetGameCoordinatorServerLogin((SteamDatagramGameCoordinatorServerLogin *)pLoginInfo, (int *)pcbSignedBlob, (void *)pBlob); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetGameCoordinatorServerLogin( params->pLoginInfo, params->pcbSignedBlob, params->pBlob ); + return 0; } -HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(void *linux_side, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ConnectP2PCustomSignaling((ISteamNetworkingConnectionSignaling *)pSignaling, (const SteamNetworkingIdentity *)pPeerIdentity, (int)nRemoteVirtualPort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ConnectP2PCustomSignaling( params->pSignaling, params->pPeerIdentity, params->nRemoteVirtualPort, params->nOptions, params->pOptions ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(void *linux_side, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->ReceivedP2PCustomSignal((const void *)pMsg, (int)cbMsg, (ISteamNetworkingSignalingRecvContext *)pContext); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->ReceivedP2PCustomSignal( params->pMsg, params->cbMsg, params->pContext ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(void *linux_side, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetCertificateRequest((int *)pcbBlob, (void *)pBlob, *errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetCertificateRequest( params->pcbBlob, params->pBlob, params->errMsg ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(void *linux_side, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->SetCertificate((const void *)pCertificate, (int)cbCertificate, *errMsg); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->SetCertificate( params->pCertificate, params->cbCertificate, params->errMsg ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(void *linux_side, const SteamNetworkingIdentity * pIdentity) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->ResetIdentity((const SteamNetworkingIdentity *)pIdentity); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + iface->ResetIdentity( params->pIdentity ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(void *linux_side) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->RunCallbacks(); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + iface->RunCallbacks( ); + return 0; } -bool cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(void *linux_side, int nNumPorts) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->BeginAsyncRequestFakeIP((int)nNumPorts); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->BeginAsyncRequestFakeIP( params->nNumPorts ); + return 0; } -void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(void *linux_side, int idxFirstPort, SteamNetworkingFakeIPResult_t * pInfo) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( void *args ) { - ((ISteamNetworkingSockets*)linux_side)->GetFakeIP((int)idxFirstPort, (SteamNetworkingFakeIPResult_t *)pInfo); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + iface->GetFakeIP( params->idxFirstPort, params->pInfo ); + return 0; } -HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(void *linux_side, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->CreateListenSocketP2PFakeIP((int)idxFakePort, (int)nOptions, (const SteamNetworkingConfigValue_t *)pOptions); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateListenSocketP2PFakeIP( params->idxFakePort, params->nOptions, params->pOptions ); + return 0; } -EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(void *linux_side, HSteamNetConnection hConn, SteamNetworkingIPAddr * pOutAddr) +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( void *args ) { - return ((ISteamNetworkingSockets*)linux_side)->GetRemoteFakeIPForConnection((HSteamNetConnection)hConn, (SteamNetworkingIPAddr *)pOutAddr); + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->GetRemoteFakeIPForConnection( params->hConn, params->pOutAddr ); + return 0; } -#ifdef __cplusplus +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + params->_ret = iface->CreateFakeUDPPort( params->idxFakeServerPort ); + return 0; } -#endif + diff --git a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h b/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h deleted file mode 100644 index cba095ab5..000000000 --- a/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h +++ /dev/null @@ -1,47 +0,0 @@ -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(void *, const SteamNetworkingIPAddr *, int, const SteamNetworkingConfigValue_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(void *, int, int, const SteamNetworkingConfigValue_t *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(void *, HSteamNetConnection); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(void *, HSteamNetConnection, int, const char *, bool); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(void *, HSteamListenSocket); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(void *, HSteamNetConnection, int64); -extern int64 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(void *, HSteamNetConnection); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(void *, HSteamNetConnection, const char *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(void *, HSteamNetConnection, char *, int); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(void *, HSteamNetConnection, const void *, uint32, int, int64 *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(void *, int, winSteamNetworkingMessage_t_157 *const *, int64 *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(void *, HSteamNetConnection); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(void *, HSteamNetConnection, winSteamNetworkingMessage_t_157 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(void *, HSteamNetConnection, SteamNetConnectionInfo_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(void *, HSteamNetConnection, SteamNetConnectionRealTimeStatus_t *, int, SteamNetConnectionRealTimeLaneStatus_t *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(void *, HSteamNetConnection, char *, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(void *, HSteamListenSocket, SteamNetworkingIPAddr *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(void *, HSteamNetConnection *, HSteamNetConnection *, bool, const SteamNetworkingIdentity *, const SteamNetworkingIdentity *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(void *, HSteamNetConnection, int, const int *, const uint16 *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(void *, SteamNetworkingIdentity *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(void *); -extern ESteamNetworkingAvailability cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(void *, SteamNetAuthenticationStatus_t *); -extern HSteamNetPollGroup cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(void *, HSteamNetPollGroup); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(void *, HSteamNetConnection, HSteamNetPollGroup); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(void *, HSteamNetPollGroup, winSteamNetworkingMessage_t_157 **, int); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(void *, const void *, int, SteamDatagramRelayAuthTicket *); -extern int cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(void *, const SteamNetworkingIdentity *, int, SteamDatagramRelayAuthTicket *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(void *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern uint16 cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(void *); -extern SteamNetworkingPOPID cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(void *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(void *, SteamDatagramHostedAddress *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(void *, SteamDatagramGameCoordinatorServerLogin *, int *, void *); -extern HSteamNetConnection cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(void *, ISteamNetworkingConnectionSignaling *, const SteamNetworkingIdentity *, int, int, const SteamNetworkingConfigValue_t *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(void *, const void *, int, ISteamNetworkingSignalingRecvContext *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(void *, int *, void *, SteamNetworkingErrMsg *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(void *, const void *, int, SteamNetworkingErrMsg *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(void *, const SteamNetworkingIdentity *); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(void *); -extern bool cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(void *, int); -extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(void *, int, SteamNetworkingFakeIPResult_t *); -extern HSteamListenSocket cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(void *, int, int, const SteamNetworkingConfigValue_t *); -extern EResult cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(void *, HSteamNetConnection, SteamNetworkingIPAddr *); -extern void *cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(void *, int); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp index f6fcf45ea..f2fb0960e 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.cpp @@ -1,124 +1,172 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#include "steamworks_sdk_144/isteamnetworkingutils.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_144 -#include "struct_converters.h" -#include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h" -float cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t * result) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetLocalPingLocation( params->result ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->EstimatePingTimeBetweenTwoLocations( params->location1, params->location2 ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t * remoteLocation) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->EstimatePingTimeFromLocalHost( params->remoteLocation ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString((const SteamNetworkPingLocation_t *)location, (char *)pszBuf, (int)cchBufSize); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + iface->ConvertPingLocationToString( params->location, params->pszBuf, params->cchBufSize ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(void *linux_side, const char * pszString, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->ParsePingLocationString( params->pszString, params->result ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->CheckPingDataUpToDate( params->flMaxAgeSeconds ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->IsPingMeasurementInProgress(); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->IsPingMeasurementInProgress( ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetPingToDataCenter( params->popID, params->pViaRelayPoP ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetDirectPingToPOP( params->popID ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetPOPCount( ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(void *linux_side, SteamNetworkingPOPID * list, int nListSz) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetPOPList( params->list, params->nListSz ); + return 0; } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetLocalTimestamp( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( void *args ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc ); + iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->eDataType, params->pArg ); + return 0; } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->pOutDataType, params->pResult, params->cbResult ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetConfigValueInfo( params->eValue, params->pOutName, params->pOutDataType, params->pOutScope, params->pOutNextValue ); + return 0; } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->GetFirstConfigValue( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString((const SteamNetworkingIPAddr *)addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + iface->SteamNetworkingIPAddr_ToString( params->addr, params->buf, params->cbBuf, params->bWithPort ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr * pAddr, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->SteamNetworkingIPAddr_ParseString( params->pAddr, params->pszStr ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString((const SteamNetworkingIdentity *)identity, (char *)buf, (size_t)cbBuf); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + iface->SteamNetworkingIdentity_ToString( params->identity, params->buf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity * pIdentity, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side; + params->_ret = iface->SteamNetworkingIdentity_ParseString( params->pIdentity, params->pszStr ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h deleted file mode 100644 index 2b3179353..000000000 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils001.h +++ /dev/null @@ -1,21 +0,0 @@ -extern float cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(void *, float); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp index 16e0b8911..3b19e3766 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.cpp @@ -1,124 +1,172 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#include "steamworks_sdk_146/isteamnetworkingutils.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetRelayNetworkStatus( params->pDetails ); + return 0; } -float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation((SteamNetworkPingLocation_t *)result); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetLocalPingLocation( params->result ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations((const SteamNetworkPingLocation_t *)location1, (const SteamNetworkPingLocation_t *)location2); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->EstimatePingTimeBetweenTwoLocations( params->location1, params->location2 ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t * remoteLocation) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost((const SteamNetworkPingLocation_t *)remoteLocation); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->EstimatePingTimeFromLocalHost( params->remoteLocation ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString((const SteamNetworkPingLocation_t *)location, (char *)pszBuf, (int)cchBufSize); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + iface->ConvertPingLocationToString( params->location, params->pszBuf, params->cchBufSize ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *linux_side, const char * pszString, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, (SteamNetworkPingLocation_t *)result); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->ParsePingLocationString( params->pszString, params->result ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->CheckPingDataUpToDate( params->flMaxAgeSeconds ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetPingToDataCenter( params->popID, params->pViaRelayPoP ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetDirectPingToPOP( params->popID ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetPOPCount( ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *linux_side, SteamNetworkingPOPID * list, int nListSz) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetPOPList( params->list, params->nListSz ); + return 0; } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetLocalTimestamp( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( void *args ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc ); + iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->eDataType, params->pArg ); + return 0; } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->pOutDataType, params->pResult, params->cbResult ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetConfigValueInfo( params->eValue, params->pOutName, params->pOutDataType, params->pOutScope, params->pOutNextValue ); + return 0; } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->GetFirstConfigValue( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString((const SteamNetworkingIPAddr *)addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + iface->SteamNetworkingIPAddr_ToString( params->addr, params->buf, params->cbBuf, params->bWithPort ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr * pAddr, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->SteamNetworkingIPAddr_ParseString( params->pAddr, params->pszStr ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString((const SteamNetworkingIdentity *)identity, (char *)buf, (size_t)cbBuf); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + iface->SteamNetworkingIdentity_ToString( params->identity, params->buf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity * pIdentity, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 *)params->linux_side; + params->_ret = iface->SteamNetworkingIdentity_ParseString( params->pIdentity, params->pszStr ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h deleted file mode 100644 index 2bcb5b79f..000000000 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils002.h +++ /dev/null @@ -1,21 +0,0 @@ -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp index 684b04d6c..f9ba8ce12 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.cpp @@ -1,119 +1,164 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/steamnetworkingtypes.h" -#include "steamworks_sdk_152/isteamnetworkingutils.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_152 -#include "struct_converters.h" -#include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetRelayNetworkStatus( params->pDetails ); + return 0; } -float cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation(*result); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetLocalPingLocation( params->result ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations(*location1, *location2); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->EstimatePingTimeBetweenTwoLocations( params->location1, params->location2 ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t * remoteLocation) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost(*remoteLocation); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->EstimatePingTimeFromLocalHost( params->remoteLocation ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString(*location, (char *)pszBuf, (int)cchBufSize); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + iface->ConvertPingLocationToString( params->location, params->pszBuf, params->cchBufSize ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(void *linux_side, const char * pszString, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, *result); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->ParsePingLocationString( params->pszString, params->result ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->CheckPingDataUpToDate( params->flMaxAgeSeconds ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetPingToDataCenter( params->popID, params->pViaRelayPoP ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetDirectPingToPOP( params->popID ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetPOPCount( ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(void *linux_side, SteamNetworkingPOPID * list, int nListSz) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetPOPList( params->list, params->nListSz ); + return 0; } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetLocalTimestamp( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( void *args ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc ); + iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc ); + return 0; } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->pOutDataType, params->pResult, params->cbResult ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (const char **)pOutName, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope, (ESteamNetworkingConfigValue *)pOutNextValue); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetConfigValueInfo( params->eValue, params->pOutName, params->pOutDataType, params->pOutScope, params->pOutNextValue ); + return 0; } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetFirstConfigValue(); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->GetFirstConfigValue( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString(*addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + iface->SteamNetworkingIPAddr_ToString( params->addr, params->buf, params->cbBuf, params->bWithPort ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr * pAddr, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->SteamNetworkingIPAddr_ParseString( params->pAddr, params->pszStr ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString(*identity, (char *)buf, (size_t)cbBuf); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + iface->SteamNetworkingIdentity_ToString( params->identity, params->buf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity * pIdentity, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + params->_ret = iface->SteamNetworkingIdentity_ParseString( params->pIdentity, params->pszStr ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h deleted file mode 100644 index 430af1221..000000000 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils003.h +++ /dev/null @@ -1,22 +0,0 @@ -extern SteamNetworkingMessage_t * cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(void *, int); -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, const char **, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *, ESteamNetworkingConfigValue *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp index 0224a5f63..b8a502f7a 100644 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp +++ b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.cpp @@ -1,134 +1,188 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamnetworkingutils.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h" -ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(void *linux_side, SteamRelayNetworkStatus_t * pDetails) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetRelayNetworkStatus((SteamRelayNetworkStatus_t *)pDetails); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetRelayNetworkStatus( params->pDetails ); + return 0; } -float cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(void *linux_side, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalPingLocation(*result); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetLocalPingLocation( params->result ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(void *linux_side, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeBetweenTwoLocations(*location1, *location2); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->EstimatePingTimeBetweenTwoLocations( params->location1, params->location2 ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(void *linux_side, const SteamNetworkPingLocation_t * remoteLocation) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->EstimatePingTimeFromLocalHost(*remoteLocation); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->EstimatePingTimeFromLocalHost( params->remoteLocation ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(void *linux_side, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->ConvertPingLocationToString(*location, (char *)pszBuf, (int)cchBufSize); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + iface->ConvertPingLocationToString( params->location, params->pszBuf, params->cchBufSize ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(void *linux_side, const char * pszString, SteamNetworkPingLocation_t * result) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->ParsePingLocationString((const char *)pszString, *result); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->ParsePingLocationString( params->pszString, params->result ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(void *linux_side, float flMaxAgeSeconds) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->CheckPingDataUpToDate((float)flMaxAgeSeconds); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->CheckPingDataUpToDate( params->flMaxAgeSeconds ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(void *linux_side, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPingToDataCenter((SteamNetworkingPOPID)popID, (SteamNetworkingPOPID *)pViaRelayPoP); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetPingToDataCenter( params->popID, params->pViaRelayPoP ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(void *linux_side, SteamNetworkingPOPID popID) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetDirectPingToPOP((SteamNetworkingPOPID)popID); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetDirectPingToPOP( params->popID ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPCount(); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetPOPCount( ); + return 0; } -int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(void *linux_side, SteamNetworkingPOPID * list, int nListSz) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetPOPList((SteamNetworkingPOPID *)list, (int)nListSz); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetPOPList( params->list, params->nListSz ); + return 0; } -SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(void *linux_side) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetLocalTimestamp(); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetLocalTimestamp( ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(void *linux_side, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( void *args ) { - pfnFunc = (FSteamNetworkingSocketsDebugOutput)manual_convert_FSteamNetworkingSocketsDebugOutput((void*)pfnFunc); - ((ISteamNetworkingUtils*)linux_side)->SetDebugOutputFunction((ESteamNetworkingSocketsDebugOutputType)eDetailLevel, (FSteamNetworkingSocketsDebugOutput)pfnFunc); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + void (*U_STDCALL u_pfnFunc)(uint32_t, const char *) = manual_convert_SetDebugOutputFunction_pfnFunc( params->pfnFunc ); + iface->SetDebugOutputFunction( params->eDetailLevel, u_pfnFunc ); + return 0; } -ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(void *linux_side, uint32 nIPv4) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetIPv4FakeIPType((uint32)nIPv4); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetIPv4FakeIPType( params->nIPv4 ); + return 0; } -EResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(void *linux_side, const SteamNetworkingIPAddr * fakeIP, SteamNetworkingIdentity * pOutRealIdentity) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetRealIdentityForFakeIP(*fakeIP, (SteamNetworkingIdentity *)pOutRealIdentity); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetRealIdentityForFakeIP( params->fakeIP, params->pOutRealIdentity ); + return 0; } -ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType *)pOutDataType, (void *)pResult, (size_t *)cbResult); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetConfigValue( params->eValue, params->eScopeType, params->scopeObj, params->pOutDataType, params->pResult, params->cbResult ); + return 0; } -const char * cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(void *linux_side, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->GetConfigValueInfo((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigDataType *)pOutDataType, (ESteamNetworkingConfigScope *)pOutScope); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->GetConfigValueInfo( params->eValue, params->pOutDataType, params->pOutScope ); + return 0; } -ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(void *linux_side, ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->IterateGenericEditableConfigValues((ESteamNetworkingConfigValue)eCurrent, (bool)bEnumerateDevVars); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->IterateGenericEditableConfigValues( params->eCurrent, params->bEnumerateDevVars ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(void *linux_side, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ToString(*addr, (char *)buf, (size_t)cbBuf, (bool)bWithPort); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + iface->SteamNetworkingIPAddr_ToString( params->addr, params->buf, params->cbBuf, params->bWithPort ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(void *linux_side, SteamNetworkingIPAddr * pAddr, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_ParseString((SteamNetworkingIPAddr *)pAddr, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->SteamNetworkingIPAddr_ParseString( params->pAddr, params->pszStr ); + return 0; } -ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(void *linux_side, const SteamNetworkingIPAddr * addr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIPAddr_GetFakeIPType(*addr); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->SteamNetworkingIPAddr_GetFakeIPType( params->addr ); + return 0; } -void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(void *linux_side, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( void *args ) { - ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ToString(*identity, (char *)buf, (size_t)cbBuf); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + iface->SteamNetworkingIdentity_ToString( params->identity, params->buf, params->cbBuf ); + return 0; } -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(void *linux_side, SteamNetworkingIdentity * pIdentity, const char * pszStr) +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( void *args ) { - return ((ISteamNetworkingUtils*)linux_side)->SteamNetworkingIdentity_ParseString((SteamNetworkingIdentity *)pIdentity, (const char *)pszStr); + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + params->_ret = iface->SteamNetworkingIdentity_ParseString( params->pIdentity, params->pszStr ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h b/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h deleted file mode 100644 index 47ab864dc..000000000 --- a/lsteamclient/cppISteamNetworkingUtils_SteamNetworkingUtils004.h +++ /dev/null @@ -1,25 +0,0 @@ -extern SteamNetworkingMessage_t * cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(void *, int); -extern ESteamNetworkingAvailability cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(void *, SteamRelayNetworkStatus_t *); -extern float cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(void *, SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(void *, const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(void *, const SteamNetworkPingLocation_t *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(void *, const SteamNetworkPingLocation_t *, char *, int); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(void *, const char *, SteamNetworkPingLocation_t *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(void *, float); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(void *, SteamNetworkingPOPID, SteamNetworkingPOPID *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(void *, SteamNetworkingPOPID); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(void *); -extern int cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(void *, SteamNetworkingPOPID *, int); -extern SteamNetworkingMicroseconds cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(void *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(void *, ESteamNetworkingSocketsDebugOutputType, FSteamNetworkingSocketsDebugOutput); -extern ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(void *, uint32); -extern EResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(void *, const SteamNetworkingIPAddr *, SteamNetworkingIdentity *); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType, const void *); -extern ESteamNetworkingGetConfigValueResult cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigScope, intptr_t, ESteamNetworkingConfigDataType *, void *, size_t *); -extern const char * cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(void *, ESteamNetworkingConfigValue, ESteamNetworkingConfigDataType *, ESteamNetworkingConfigScope *); -extern ESteamNetworkingConfigValue cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(void *, ESteamNetworkingConfigValue, bool); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(void *, const SteamNetworkingIPAddr *, char *, size_t, bool); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(void *, SteamNetworkingIPAddr *, const char *); -extern ESteamNetworkingFakeIPType cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(void *, const SteamNetworkingIPAddr *); -extern void cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(void *, const SteamNetworkingIdentity *, char *, size_t); -extern bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(void *, SteamNetworkingIdentity *, const char *); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp index ab4ff97b7..32183737f 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking001.cpp @@ -1,76 +1,99 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking001.h" -SNetListenSocket_t cppISteamNetworking_SteamNetworking001_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking001_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort); + struct ISteamNetworking_SteamNetworking001_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking001_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking001_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking001_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking001_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking001_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking001_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking001_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking001_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking001_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking001_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking001_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking001_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking001_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking001_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking001_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking001_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking001_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking001_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking001_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking001_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking001_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking001_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking001_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking001_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking001_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking001 *iface = (struct u_ISteamNetworking_SteamNetworking001 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking001.h b/lsteamclient/cppISteamNetworking_SteamNetworking001.h deleted file mode 100644 index 007567e48..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking001.h +++ /dev/null @@ -1,12 +0,0 @@ -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking001_CreateListenSocket(void *, int, uint32, uint16); -extern SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(void *, CSteamID, int, int); -extern SNetSocket_t cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking001_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking001_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking001_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking001_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking001_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking001_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp index f33b75c9f..ad990b620 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking002.cpp @@ -1,86 +1,115 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_104/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_104 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking002.h" -SNetListenSocket_t cppISteamNetworking_SteamNetworking002_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking002_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking002_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking002_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking002_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking002_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking002_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking002_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking002_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking002_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking002_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking002_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking002_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking002_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking002_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking002_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking002_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking002_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking002_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking002_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking002_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking002_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking002_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking002_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking002_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking002_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking002_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking002_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking002_GetSocketConnectionType( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking002_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking002_GetSocketConnectionType_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->GetSocketConnectionType( params->hSocket ); + return 0; } -int cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking002_GetMaxPacketSize( void *args ) { - return ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking002_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking002_GetMaxPacketSize_params *)args; + struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side; + params->_ret = iface->GetMaxPacketSize( params->hSocket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking002.h b/lsteamclient/cppISteamNetworking_SteamNetworking002.h deleted file mode 100644 index e040ee540..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking002.h +++ /dev/null @@ -1,14 +0,0 @@ -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking002_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking002_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking002_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking002_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking002_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking002_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking002_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(void *, SNetSocket_t); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp index f49e20e00..c89c006c4 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking003.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_110/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_110 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking003.h" -bool cppISteamNetworking_SteamNetworking003_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking003_SendP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType); + struct ISteamNetworking_SteamNetworking003_SendP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking003_SendP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(void *linux_side, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params *params = (struct ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_ReadP2PPacket(void *linux_side, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking003_ReadP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote); + struct ISteamNetworking_SteamNetworking003_ReadP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking003_ReadP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +NTSTATUS ISteamNetworking_SteamNetworking003_GetP2PSessionState( void *args ) { - return ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); + struct ISteamNetworking_SteamNetworking003_GetP2PSessionState_params *params = (struct ISteamNetworking_SteamNetworking003_GetP2PSessionState_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState ); + return 0; } -SNetListenSocket_t cppISteamNetworking_SteamNetworking003_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking003_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking003_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking003_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking003_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking003_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking003_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking003_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking003_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking003_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking003_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking003_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking003_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking003_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking003_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking003_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking003_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking003_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking003_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking003_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking003_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking003_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking003_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking003_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking003_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking003_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking003_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking003_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking003_GetSocketConnectionType( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking003_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking003_GetSocketConnectionType_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->GetSocketConnectionType( params->hSocket ); + return 0; } -int cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking003_GetMaxPacketSize( void *args ) { - return ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking003_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking003_GetMaxPacketSize_params *)args; + struct u_ISteamNetworking_SteamNetworking003 *iface = (struct u_ISteamNetworking_SteamNetworking003 *)params->linux_side; + params->_ret = iface->GetMaxPacketSize( params->hSocket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking003.h b/lsteamclient/cppISteamNetworking_SteamNetworking003.h deleted file mode 100644 index 4938e32c1..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking003.h +++ /dev/null @@ -1,20 +0,0 @@ -extern bool cppISteamNetworking_SteamNetworking003_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend); -extern bool cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(void *, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *); -extern bool cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking003_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking003_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking003_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking003_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking003_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking003_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking003_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking003_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(void *, SNetSocket_t); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp index 3b8cc3ad2..275d92c06 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking004.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_112 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking004.h" -bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking004_SendP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nVirtualPort); + struct ISteamNetworking_SteamNetworking004_SendP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking004_SendP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType, params->nVirtualPort ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(void *linux_side, uint32 * pcubMsgSize, int nVirtualPort) +NTSTATUS ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nVirtualPort); + struct ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params *params = (struct ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize, params->nVirtualPort ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_ReadP2PPacket(void *linux_side, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nVirtualPort) +NTSTATUS ISteamNetworking_SteamNetworking004_ReadP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nVirtualPort); + struct ISteamNetworking_SteamNetworking004_ReadP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking004_ReadP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote, params->nVirtualPort ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +NTSTATUS ISteamNetworking_SteamNetworking004_GetP2PSessionState( void *args ) { - return ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); + struct ISteamNetworking_SteamNetworking004_GetP2PSessionState_params *params = (struct ISteamNetworking_SteamNetworking004_GetP2PSessionState_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState ); + return 0; } -SNetListenSocket_t cppISteamNetworking_SteamNetworking004_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking004_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking004_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking004_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking004_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking004_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking004_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking004_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking004_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking004_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking004_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking004_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking004_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking004_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking004_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking004_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking004_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking004_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking004_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking004_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking004_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking004_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking004_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking004_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking004_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking004_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking004_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking004_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking004_GetSocketConnectionType( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking004_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking004_GetSocketConnectionType_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->GetSocketConnectionType( params->hSocket ); + return 0; } -int cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking004_GetMaxPacketSize( void *args ) { - return ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking004_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking004_GetMaxPacketSize_params *)args; + struct u_ISteamNetworking_SteamNetworking004 *iface = (struct u_ISteamNetworking_SteamNetworking004 *)params->linux_side; + params->_ret = iface->GetMaxPacketSize( params->hSocket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking004.h b/lsteamclient/cppISteamNetworking_SteamNetworking004.h deleted file mode 100644 index faeaf2c00..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking004.h +++ /dev/null @@ -1,20 +0,0 @@ -extern bool cppISteamNetworking_SteamNetworking004_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking004_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking004_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking004_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking004_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking004_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking004_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking004_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking004_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking004_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(void *, SNetSocket_t); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp index fa5e9b779..7f419c586 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking005.cpp @@ -1,127 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking005.h" -bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking005_SendP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nChannel); + struct ISteamNetworking_SteamNetworking005_SendP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking005_SendP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(void *linux_side, uint32 * pcubMsgSize, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nChannel); + struct ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params *params = (struct ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_ReadP2PPacket(void *linux_side, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking005_ReadP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nChannel); + struct ISteamNetworking_SteamNetworking005_ReadP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking005_ReadP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(void *linux_side, CSteamID steamIDRemote, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PChannelWithUser((CSteamID)steamIDRemote, (int)nChannel); + struct ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params *params = (struct ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->CloseP2PChannelWithUser( params->steamIDRemote, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +NTSTATUS ISteamNetworking_SteamNetworking005_GetP2PSessionState( void *args ) { - return ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); + struct ISteamNetworking_SteamNetworking005_GetP2PSessionState_params *params = (struct ISteamNetworking_SteamNetworking005_GetP2PSessionState_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(void *linux_side, bool bAllow) +NTSTATUS ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( void *args ) { - return ((ISteamNetworking*)linux_side)->AllowP2PPacketRelay((bool)bAllow); + struct ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params *params = (struct ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->AllowP2PPacketRelay( params->bAllow ); + return 0; } -SNetListenSocket_t cppISteamNetworking_SteamNetworking005_CreateListenSocket(void *linux_side, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking005_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (uint32)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking005_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking005_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(void *linux_side, uint32 nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking005_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((uint32)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking005_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking005_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking005_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking005_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking005_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking005_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking005_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking005_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking005_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking005_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking005_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking005_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking005_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking005_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking005_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking005_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking005_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking005_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (uint32 *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking005_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking005_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking005_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (uint32 *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking005_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking005_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking005_GetSocketConnectionType( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking005_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking005_GetSocketConnectionType_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->GetSocketConnectionType( params->hSocket ); + return 0; } -int cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking005_GetMaxPacketSize( void *args ) { - return ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking005_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking005_GetMaxPacketSize_params *)args; + struct u_ISteamNetworking_SteamNetworking005 *iface = (struct u_ISteamNetworking_SteamNetworking005 *)params->linux_side; + params->_ret = iface->GetMaxPacketSize( params->hSocket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking005.h b/lsteamclient/cppISteamNetworking_SteamNetworking005.h deleted file mode 100644 index d19e0c214..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking005.h +++ /dev/null @@ -1,22 +0,0 @@ -extern bool cppISteamNetworking_SteamNetworking005_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking005_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(void *, CSteamID, int); -extern bool cppISteamNetworking_SteamNetworking005_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern bool cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(void *, bool); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking005_CreateListenSocket(void *, int, uint32, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(void *, uint32, uint16, int); -extern bool cppISteamNetworking_SteamNetworking005_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking005_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking005_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking005_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking005_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking005_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, uint32 *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(void *, SNetListenSocket_t, uint32 *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(void *, SNetSocket_t); diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp index f186c7c92..ee44eb85f 100644 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp +++ b/lsteamclient/cppISteamNetworking_SteamNetworking006.cpp @@ -1,127 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamNetworking_SteamNetworking006.h" -bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *linux_side, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamNetworking_SteamNetworking006_SendP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendP2PPacket((CSteamID)steamIDRemote, (const void *)pubData, (uint32)cubData, (EP2PSend)eP2PSendType, (int)nChannel); + struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->SendP2PPacket( params->steamIDRemote, params->pubData, params->cubData, params->eP2PSendType, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(void *linux_side, uint32 * pcubMsgSize, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsP2PPacketAvailable((uint32 *)pcubMsgSize, (int)nChannel); + struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *params = (struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->IsP2PPacketAvailable( params->pcubMsgSize, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_ReadP2PPacket(void *linux_side, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking006_ReadP2PPacket( void *args ) { - return ((ISteamNetworking*)linux_side)->ReadP2PPacket((void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (CSteamID *)psteamIDRemote, (int)nChannel); + struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params *params = (struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->ReadP2PPacket( params->pubDest, params->cubDest, params->pcubMsgSize, params->psteamIDRemote, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->AcceptP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->AcceptP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(void *linux_side, CSteamID steamIDRemote) +NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PSessionWithUser((CSteamID)steamIDRemote); + struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->CloseP2PSessionWithUser( params->steamIDRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(void *linux_side, CSteamID steamIDRemote, int nChannel) +NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( void *args ) { - return ((ISteamNetworking*)linux_side)->CloseP2PChannelWithUser((CSteamID)steamIDRemote, (int)nChannel); + struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *params = (struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->CloseP2PChannelWithUser( params->steamIDRemote, params->nChannel ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_GetP2PSessionState(void *linux_side, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +NTSTATUS ISteamNetworking_SteamNetworking006_GetP2PSessionState( void *args ) { - return ((ISteamNetworking*)linux_side)->GetP2PSessionState((CSteamID)steamIDRemote, (P2PSessionState_t *)pConnectionState); + struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params *params = (struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->GetP2PSessionState( params->steamIDRemote, params->pConnectionState ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(void *linux_side, bool bAllow) +NTSTATUS ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( void *args ) { - return ((ISteamNetworking*)linux_side)->AllowP2PPacketRelay((bool)bAllow); + struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *params = (struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->AllowP2PPacketRelay( params->bAllow ); + return 0; } -SNetListenSocket_t cppISteamNetworking_SteamNetworking006_CreateListenSocket(void *linux_side, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking006_CreateListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateListenSocket((int)nVirtualP2PPort, (SteamIPAddress_t)nIP, (uint16)nPort, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->CreateListenSocket( params->nVirtualP2PPort, params->nIP, params->nPort, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(void *linux_side, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +NTSTATUS ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateP2PConnectionSocket((CSteamID)steamIDTarget, (int)nVirtualPort, (int)nTimeoutSec, (bool)bAllowUseOfPacketRelay); + struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->CreateP2PConnectionSocket( params->steamIDTarget, params->nVirtualPort, params->nTimeoutSec, params->bAllowUseOfPacketRelay ); + return 0; } -SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(void *linux_side, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec) +NTSTATUS ISteamNetworking_SteamNetworking006_CreateConnectionSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->CreateConnectionSocket((SteamIPAddress_t)nIP, (uint16)nPort, (int)nTimeoutSec); + struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *params = (struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->CreateConnectionSocket( params->nIP, params->nPort, params->nTimeoutSec ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_DestroySocket(void *linux_side, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking006_DestroySocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroySocket((SNetSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking006_DestroySocket_params *params = (struct ISteamNetworking_SteamNetworking006_DestroySocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->DestroySocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_DestroyListenSocket(void *linux_side, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +NTSTATUS ISteamNetworking_SteamNetworking006_DestroyListenSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->DestroyListenSocket((SNetListenSocket_t)hSocket, (bool)bNotifyRemoteEnd); + struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params *params = (struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->DestroyListenSocket( params->hSocket, params->bNotifyRemoteEnd ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_SendDataOnSocket(void *linux_side, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +NTSTATUS ISteamNetworking_SteamNetworking006_SendDataOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->SendDataOnSocket((SNetSocket_t)hSocket, (void *)pubData, (uint32)cubData, (bool)bReliable); + struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params *params = (struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->SendDataOnSocket( params->hSocket, params->pubData, params->cubData, params->bReliable ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(void *linux_side, SNetSocket_t hSocket, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailableOnSocket((SNetSocket_t)hSocket, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *params = (struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->IsDataAvailableOnSocket( params->hSocket, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(void *linux_side, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveDataFromSocket((SNetSocket_t)hSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize); + struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *params = (struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->RetrieveDataFromSocket( params->hSocket, params->pubDest, params->cubDest, params->pcubMsgSize ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_IsDataAvailable(void *linux_side, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailable( void *args ) { - return ((ISteamNetworking*)linux_side)->IsDataAvailable((SNetListenSocket_t)hListenSocket, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params *params = (struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->IsDataAvailable( params->hListenSocket, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_RetrieveData(void *linux_side, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveData( void *args ) { - return ((ISteamNetworking*)linux_side)->RetrieveData((SNetListenSocket_t)hListenSocket, (void *)pubDest, (uint32)cubDest, (uint32 *)pcubMsgSize, (SNetSocket_t *)phSocket); + struct ISteamNetworking_SteamNetworking006_RetrieveData_params *params = (struct ISteamNetworking_SteamNetworking006_RetrieveData_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->RetrieveData( params->hListenSocket, params->pubDest, params->cubDest, params->pcubMsgSize, params->phSocket ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_GetSocketInfo(void *linux_side, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, SteamIPAddress_t * punIPRemote, uint16 * punPortRemote) +NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketInfo((SNetSocket_t)hSocket, (CSteamID *)pSteamIDRemote, (int *)peSocketStatus, (SteamIPAddress_t *)punIPRemote, (uint16 *)punPortRemote); + struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->GetSocketInfo( params->hSocket, params->pSteamIDRemote, params->peSocketStatus, params->punIPRemote, params->punPortRemote ); + return 0; } -bool cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(void *linux_side, SNetListenSocket_t hListenSocket, SteamIPAddress_t * pnIP, uint16 * pnPort) +NTSTATUS ISteamNetworking_SteamNetworking006_GetListenSocketInfo( void *args ) { - return ((ISteamNetworking*)linux_side)->GetListenSocketInfo((SNetListenSocket_t)hListenSocket, (SteamIPAddress_t *)pnIP, (uint16 *)pnPort); + struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *params = (struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->GetListenSocketInfo( params->hListenSocket, params->pnIP, params->pnPort ); + return 0; } -ESNetSocketConnectionType cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketConnectionType( void *args ) { - return ((ISteamNetworking*)linux_side)->GetSocketConnectionType((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *params = (struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->GetSocketConnectionType( params->hSocket ); + return 0; } -int cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(void *linux_side, SNetSocket_t hSocket) +NTSTATUS ISteamNetworking_SteamNetworking006_GetMaxPacketSize( void *args ) { - return ((ISteamNetworking*)linux_side)->GetMaxPacketSize((SNetSocket_t)hSocket); + struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *params = (struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params *)args; + struct u_ISteamNetworking_SteamNetworking006 *iface = (struct u_ISteamNetworking_SteamNetworking006 *)params->linux_side; + params->_ret = iface->GetMaxPacketSize( params->hSocket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamNetworking_SteamNetworking006.h b/lsteamclient/cppISteamNetworking_SteamNetworking006.h deleted file mode 100644 index 8c488d960..000000000 --- a/lsteamclient/cppISteamNetworking_SteamNetworking006.h +++ /dev/null @@ -1,22 +0,0 @@ -extern bool cppISteamNetworking_SteamNetworking006_SendP2PPacket(void *, CSteamID, const void *, uint32, EP2PSend, int); -extern bool cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(void *, uint32 *, int); -extern bool cppISteamNetworking_SteamNetworking006_ReadP2PPacket(void *, void *, uint32, uint32 *, CSteamID *, int); -extern bool cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(void *, CSteamID); -extern bool cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(void *, CSteamID, int); -extern bool cppISteamNetworking_SteamNetworking006_GetP2PSessionState(void *, CSteamID, P2PSessionState_t *); -extern bool cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(void *, bool); -extern SNetListenSocket_t cppISteamNetworking_SteamNetworking006_CreateListenSocket(void *, int, SteamIPAddress_t, uint16, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(void *, CSteamID, int, int, bool); -extern SNetSocket_t cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(void *, SteamIPAddress_t, uint16, int); -extern bool cppISteamNetworking_SteamNetworking006_DestroySocket(void *, SNetSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking006_DestroyListenSocket(void *, SNetListenSocket_t, bool); -extern bool cppISteamNetworking_SteamNetworking006_SendDataOnSocket(void *, SNetSocket_t, void *, uint32, bool); -extern bool cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(void *, SNetSocket_t, uint32 *); -extern bool cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(void *, SNetSocket_t, void *, uint32, uint32 *); -extern bool cppISteamNetworking_SteamNetworking006_IsDataAvailable(void *, SNetListenSocket_t, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking006_RetrieveData(void *, SNetListenSocket_t, void *, uint32, uint32 *, SNetSocket_t *); -extern bool cppISteamNetworking_SteamNetworking006_GetSocketInfo(void *, SNetSocket_t, CSteamID *, int *, SteamIPAddress_t *, uint16 *); -extern bool cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(void *, SNetListenSocket_t, SteamIPAddress_t *, uint16 *); -extern ESNetSocketConnectionType cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(void *, SNetSocket_t); -extern int cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(void *, SNetSocket_t); diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp index f815348e9..5a5291d75 100644 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.cpp @@ -1,48 +1,51 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#include "steamworks_sdk_157/isteamparentalsettings.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsParentalLockEnabled(); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsParentalLockEnabled( ); + return 0; } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(void *linux_side) +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsParentalLockLocked(); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsParentalLockLocked( ); + return 0; } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsAppBlocked((AppId_t)nAppID); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsAppBlocked( params->nAppID ); + return 0; } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(void *linux_side, AppId_t nAppID) +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsAppInBlockList((AppId_t)nAppID); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsAppInBlockList( params->nAppID ); + return 0; } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(void *linux_side, EParentalFeature eFeature) +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsFeatureBlocked((EParentalFeature)eFeature); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsFeatureBlocked( params->eFeature ); + return 0; } -bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(void *linux_side, EParentalFeature eFeature) +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList( void *args ) { - return ((ISteamParentalSettings*)linux_side)->BIsFeatureInBlockList((EParentalFeature)eFeature); + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params *params = (struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params *)args; + struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *iface = (struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BIsFeatureInBlockList( params->eFeature ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h deleted file mode 100644 index 9eaba40f1..000000000 --- a/lsteamclient/cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h +++ /dev/null @@ -1,6 +0,0 @@ -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(void *); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(void *); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(void *, AppId_t); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(void *, AppId_t); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(void *, EParentalFeature); -extern bool cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(void *, EParentalFeature); diff --git a/lsteamclient/cppISteamParties_SteamParties002.cpp b/lsteamclient/cppISteamParties_SteamParties002.cpp index d467344ca..cade610b9 100644 --- a/lsteamclient/cppISteamParties_SteamParties002.cpp +++ b/lsteamclient/cppISteamParties_SteamParties002.cpp @@ -1,93 +1,106 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamParties_SteamParties002.h" -uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamParties_SteamParties002_GetNumActiveBeacons( void *args ) { - return ((ISteamParties*)linux_side)->GetNumActiveBeacons(); + struct ISteamParties_SteamParties002_GetNumActiveBeacons_params *params = (struct ISteamParties_SteamParties002_GetNumActiveBeacons_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->GetNumActiveBeacons( ); + return 0; } -PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *linux_side, uint32 unIndex) +NTSTATUS ISteamParties_SteamParties002_GetBeaconByIndex( void *args ) { - return ((ISteamParties*)linux_side)->GetBeaconByIndex((uint32)unIndex); + struct ISteamParties_SteamParties002_GetBeaconByIndex_params *params = (struct ISteamParties_SteamParties002_GetBeaconByIndex_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->GetBeaconByIndex( params->unIndex ); + return 0; } -bool cppISteamParties_SteamParties002_GetBeaconDetails(void *linux_side, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_157 * pLocation, char * pchMetadata, int cchMetadata) +NTSTATUS ISteamParties_SteamParties002_GetBeaconDetails( void *args ) { - SteamPartyBeaconLocation_t lin_pLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_157(pLocation, &lin_pLocation); - bool retval = ((ISteamParties*)linux_side)->GetBeaconDetails((PartyBeaconID_t)ulBeaconID, (CSteamID *)pSteamIDBeaconOwner, &lin_pLocation, (char *)pchMetadata, (int)cchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_157(&lin_pLocation, pLocation); - return retval; + struct ISteamParties_SteamParties002_GetBeaconDetails_params *params = (struct ISteamParties_SteamParties002_GetBeaconDetails_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + u_SteamPartyBeaconLocation_t u_pLocation = *params->pLocation; + params->_ret = iface->GetBeaconDetails( params->ulBeaconID, params->pSteamIDBeaconOwner, &u_pLocation, params->pchMetadata, params->cchMetadata ); + *params->pLocation = u_pLocation; + return 0; } -SteamAPICall_t cppISteamParties_SteamParties002_JoinParty(void *linux_side, PartyBeaconID_t ulBeaconID) +NTSTATUS ISteamParties_SteamParties002_JoinParty( void *args ) { - return ((ISteamParties*)linux_side)->JoinParty((PartyBeaconID_t)ulBeaconID); + struct ISteamParties_SteamParties002_JoinParty_params *params = (struct ISteamParties_SteamParties002_JoinParty_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->JoinParty( params->ulBeaconID ); + return 0; } -bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *linux_side, uint32 * puNumLocations) +NTSTATUS ISteamParties_SteamParties002_GetNumAvailableBeaconLocations( void *args ) { - return ((ISteamParties*)linux_side)->GetNumAvailableBeaconLocations((uint32 *)puNumLocations); + struct ISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *params = (struct ISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->GetNumAvailableBeaconLocations( params->puNumLocations ); + return 0; } -bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *linux_side, winSteamPartyBeaconLocation_t_157 * pLocationList, uint32 uMaxNumLocations) +NTSTATUS ISteamParties_SteamParties002_GetAvailableBeaconLocations( void *args ) { - SteamPartyBeaconLocation_t lin_pLocationList; - win_to_lin_struct_SteamPartyBeaconLocation_t_157(pLocationList, &lin_pLocationList); - bool retval = ((ISteamParties*)linux_side)->GetAvailableBeaconLocations(&lin_pLocationList, (uint32)uMaxNumLocations); - lin_to_win_struct_SteamPartyBeaconLocation_t_157(&lin_pLocationList, pLocationList); - return retval; + struct ISteamParties_SteamParties002_GetAvailableBeaconLocations_params *params = (struct ISteamParties_SteamParties002_GetAvailableBeaconLocations_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + u_SteamPartyBeaconLocation_t u_pLocationList = *params->pLocationList; + params->_ret = iface->GetAvailableBeaconLocations( &u_pLocationList, params->uMaxNumLocations ); + *params->pLocationList = u_pLocationList; + return 0; } -SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *linux_side, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_157 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +NTSTATUS ISteamParties_SteamParties002_CreateBeacon( void *args ) { - SteamPartyBeaconLocation_t lin_pBeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_157(pBeaconLocation, &lin_pBeaconLocation); - SteamAPICall_t retval = ((ISteamParties*)linux_side)->CreateBeacon((uint32)unOpenSlots, &lin_pBeaconLocation, (const char *)pchConnectString, (const char *)pchMetadata); - lin_to_win_struct_SteamPartyBeaconLocation_t_157(&lin_pBeaconLocation, pBeaconLocation); - return retval; + struct ISteamParties_SteamParties002_CreateBeacon_params *params = (struct ISteamParties_SteamParties002_CreateBeacon_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + u_SteamPartyBeaconLocation_t u_pBeaconLocation = *params->pBeaconLocation; + params->_ret = iface->CreateBeacon( params->unOpenSlots, &u_pBeaconLocation, params->pchConnectString, params->pchMetadata ); + *params->pBeaconLocation = u_pBeaconLocation; + return 0; } -void cppISteamParties_SteamParties002_OnReservationCompleted(void *linux_side, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +NTSTATUS ISteamParties_SteamParties002_OnReservationCompleted( void *args ) { - ((ISteamParties*)linux_side)->OnReservationCompleted((PartyBeaconID_t)ulBeacon, (CSteamID)steamIDUser); + struct ISteamParties_SteamParties002_OnReservationCompleted_params *params = (struct ISteamParties_SteamParties002_OnReservationCompleted_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + iface->OnReservationCompleted( params->ulBeacon, params->steamIDUser ); + return 0; } -void cppISteamParties_SteamParties002_CancelReservation(void *linux_side, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +NTSTATUS ISteamParties_SteamParties002_CancelReservation( void *args ) { - ((ISteamParties*)linux_side)->CancelReservation((PartyBeaconID_t)ulBeacon, (CSteamID)steamIDUser); + struct ISteamParties_SteamParties002_CancelReservation_params *params = (struct ISteamParties_SteamParties002_CancelReservation_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + iface->CancelReservation( params->ulBeacon, params->steamIDUser ); + return 0; } -SteamAPICall_t cppISteamParties_SteamParties002_ChangeNumOpenSlots(void *linux_side, PartyBeaconID_t ulBeacon, uint32 unOpenSlots) +NTSTATUS ISteamParties_SteamParties002_ChangeNumOpenSlots( void *args ) { - return ((ISteamParties*)linux_side)->ChangeNumOpenSlots((PartyBeaconID_t)ulBeacon, (uint32)unOpenSlots); + struct ISteamParties_SteamParties002_ChangeNumOpenSlots_params *params = (struct ISteamParties_SteamParties002_ChangeNumOpenSlots_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->ChangeNumOpenSlots( params->ulBeacon, params->unOpenSlots ); + return 0; } -bool cppISteamParties_SteamParties002_DestroyBeacon(void *linux_side, PartyBeaconID_t ulBeacon) +NTSTATUS ISteamParties_SteamParties002_DestroyBeacon( void *args ) { - return ((ISteamParties*)linux_side)->DestroyBeacon((PartyBeaconID_t)ulBeacon); + struct ISteamParties_SteamParties002_DestroyBeacon_params *params = (struct ISteamParties_SteamParties002_DestroyBeacon_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + params->_ret = iface->DestroyBeacon( params->ulBeacon ); + return 0; } -bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *linux_side, winSteamPartyBeaconLocation_t_157 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +NTSTATUS ISteamParties_SteamParties002_GetBeaconLocationData( void *args ) { - SteamPartyBeaconLocation_t lin_BeaconLocation; - win_to_lin_struct_SteamPartyBeaconLocation_t_157(&BeaconLocation, &lin_BeaconLocation); - bool retval = ((ISteamParties*)linux_side)->GetBeaconLocationData(lin_BeaconLocation, (ESteamPartyBeaconLocationData)eData, (char *)pchDataStringOut, (int)cchDataStringOut); - lin_to_win_struct_SteamPartyBeaconLocation_t_157(&lin_BeaconLocation, &BeaconLocation); - return retval; + struct ISteamParties_SteamParties002_GetBeaconLocationData_params *params = (struct ISteamParties_SteamParties002_GetBeaconLocationData_params *)args; + struct u_ISteamParties_SteamParties002 *iface = (struct u_ISteamParties_SteamParties002 *)params->linux_side; + u_SteamPartyBeaconLocation_t u_BeaconLocation = params->BeaconLocation; + params->_ret = iface->GetBeaconLocationData( u_BeaconLocation, params->eData, params->pchDataStringOut, params->cchDataStringOut ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamParties_SteamParties002.h b/lsteamclient/cppISteamParties_SteamParties002.h deleted file mode 100644 index b29015e27..000000000 --- a/lsteamclient/cppISteamParties_SteamParties002.h +++ /dev/null @@ -1,12 +0,0 @@ -extern uint32 cppISteamParties_SteamParties002_GetNumActiveBeacons(void *); -extern PartyBeaconID_t cppISteamParties_SteamParties002_GetBeaconByIndex(void *, uint32); -extern bool cppISteamParties_SteamParties002_GetBeaconDetails(void *, PartyBeaconID_t, CSteamID *, winSteamPartyBeaconLocation_t_157 *, char *, int); -extern SteamAPICall_t cppISteamParties_SteamParties002_JoinParty(void *, PartyBeaconID_t); -extern bool cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(void *, uint32 *); -extern bool cppISteamParties_SteamParties002_GetAvailableBeaconLocations(void *, winSteamPartyBeaconLocation_t_157 *, uint32); -extern SteamAPICall_t cppISteamParties_SteamParties002_CreateBeacon(void *, uint32, winSteamPartyBeaconLocation_t_157 *, const char *, const char *); -extern void cppISteamParties_SteamParties002_OnReservationCompleted(void *, PartyBeaconID_t, CSteamID); -extern void cppISteamParties_SteamParties002_CancelReservation(void *, PartyBeaconID_t, CSteamID); -extern SteamAPICall_t cppISteamParties_SteamParties002_ChangeNumOpenSlots(void *, PartyBeaconID_t, uint32); -extern bool cppISteamParties_SteamParties002_DestroyBeacon(void *, PartyBeaconID_t); -extern bool cppISteamParties_SteamParties002_GetBeaconLocationData(void *, winSteamPartyBeaconLocation_t_157, ESteamPartyBeaconLocationData, char *, int); diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp index bc61e6765..2c4ce729b 100644 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.cpp @@ -1,52 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h" -uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( void *args ) { - return ((ISteamRemotePlay*)linux_side)->GetSessionCount(); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetSessionCount( ); + return 0; } -RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(void *linux_side, int iSessionIndex) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( void *args ) { - return ((ISteamRemotePlay*)linux_side)->GetSessionID((int)iSessionIndex); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetSessionID( params->iSessionIndex ); + return 0; } -CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(void *linux_side, RemotePlaySessionID_t unSessionID) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( void *args ) { - return ((ISteamRemotePlay*)linux_side)->GetSessionSteamID((RemotePlaySessionID_t)unSessionID); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + *params->_ret = iface->GetSessionSteamID( params->unSessionID ); + return 0; } -const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(void *linux_side, RemotePlaySessionID_t unSessionID) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( void *args ) { - return ((ISteamRemotePlay*)linux_side)->GetSessionClientName((RemotePlaySessionID_t)unSessionID); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetSessionClientName( params->unSessionID ); + return 0; } -ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(void *linux_side, RemotePlaySessionID_t unSessionID) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( void *args ) { - return ((ISteamRemotePlay*)linux_side)->GetSessionClientFormFactor((RemotePlaySessionID_t)unSessionID); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetSessionClientFormFactor( params->unSessionID ); + return 0; } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(void *linux_side, RemotePlaySessionID_t unSessionID, int * pnResolutionX, int * pnResolutionY) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( void *args ) { - return ((ISteamRemotePlay*)linux_side)->BGetSessionClientResolution((RemotePlaySessionID_t)unSessionID, (int *)pnResolutionX, (int *)pnResolutionY); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BGetSessionClientResolution( params->unSessionID, params->pnResolutionX, params->pnResolutionY ); + return 0; } -bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(void *linux_side, CSteamID steamIDFriend) +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( void *args ) { - return ((ISteamRemotePlay*)linux_side)->BSendRemotePlayTogetherInvite((CSteamID)steamIDFriend); + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->BSendRemotePlayTogetherInvite( params->steamIDFriend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h deleted file mode 100644 index b4ab37ae4..000000000 --- a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h +++ /dev/null @@ -1,7 +0,0 @@ -extern uint32 cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(void *); -extern RemotePlaySessionID_t cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(void *, int); -extern CSteamID cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(void *, RemotePlaySessionID_t); -extern const char * cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(void *, RemotePlaySessionID_t); -extern ESteamDeviceFormFactor cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(void *, RemotePlaySessionID_t); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(void *, RemotePlaySessionID_t, int *, int *); -extern bool cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(void *, CSteamID); diff --git a/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp new file mode 100644 index 000000000..b7900deed --- /dev/null +++ b/lsteamclient/cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002.cpp @@ -0,0 +1,67 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetSessionCount( ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetSessionID( params->iSessionIndex ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + *params->_ret = iface->GetSessionSteamID( params->unSessionID ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetSessionClientName( params->unSessionID ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetSessionClientFormFactor( params->unSessionID ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BGetSessionClientResolution( params->unSessionID, params->pnResolutionX, params->pnResolutionY ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BStartRemotePlayTogether( params->bShowOverlay ); + return 0; +} + +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( void *args ) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *params = (struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params *)args; + struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *iface = (struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->BSendRemotePlayTogetherInvite( params->steamIDFriend ); + return 0; +} + diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp index 79492d8f4..5e7c2e539 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.cpp @@ -1,56 +1,67 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102x -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h deleted file mode 100644 index 9fdcccb5e..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h +++ /dev/null @@ -1,8 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(void *, int32 *, int32 *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp index da69e6e06..4669cc9fa 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp @@ -1,51 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h deleted file mode 100644 index fb30ea713..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h +++ /dev/null @@ -1,7 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(void *, int32 *, int32 *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp index c92fa5caf..6d14486e3 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.cpp @@ -1,116 +1,163 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111x -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h deleted file mode 100644 index aa27fcb3b..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h +++ /dev/null @@ -1,20 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(void *, int32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp index 9852515be..466c42374 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.cpp @@ -1,126 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_116 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h deleted file mode 100644 index fe6ba3f4f..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h +++ /dev/null @@ -1,22 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(void *, int32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp index d388e84ed..dbad5e612 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.cpp @@ -1,171 +1,255 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_117/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_117 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->PublishFile( params->pchFile, params->pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->pTags ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(void *linux_side, RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFile((RemoteStorageUpdatePublishedFileRequest_t)updatePublishedFileRequest); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UpdatePublishedFile( params->updatePublishedFileRequest ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h deleted file mode 100644 index f2e148f80..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h +++ /dev/null @@ -1,31 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(void *, RemoteStorageUpdatePublishedFileRequest_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp index 3e358f2a3..14a302772 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.cpp @@ -1,251 +1,389 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_119 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(void *linux_side, const char * pchVideoURL, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((const char *)pchVideoURL, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->pchVideoURL, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h deleted file mode 100644 index 13b4399f9..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h +++ /dev/null @@ -1,47 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp index 065ecc221..83f38ee4d 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.cpp @@ -1,251 +1,389 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_119x -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h deleted file mode 100644 index fcc7599c2..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h +++ /dev/null @@ -1,47 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp index 6537b59b1..f8cbc2e44 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.cpp @@ -1,271 +1,421 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_121/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_121 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h deleted file mode 100644 index 4c71334f5..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h +++ /dev/null @@ -1,51 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(void *, UGCHandle_t, void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp index 499436e76..471bd6a62 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.cpp @@ -1,271 +1,421 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_121x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_121x -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(void *linux_side, UGCHandle_t hContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h deleted file mode 100644 index 668046f65..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h +++ /dev/null @@ -1,51 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(void *, UGCHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp index 2556042c4..87fc4fe00 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.cpp @@ -1,276 +1,431 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_124/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_124 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h deleted file mode 100644 index ec9a01bfd..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h +++ /dev/null @@ -1,52 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp index cb2e6d030..b3da93284 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.cpp @@ -1,276 +1,431 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_125/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_125 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId, params->unMaxSecondsOld ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h deleted file mode 100644 index 99315e020..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h +++ /dev/null @@ -1,52 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(void *, UGCHandle_t, void *, int32, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp index bb606a623..f865103e3 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.cpp @@ -1,276 +1,431 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_134/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_134 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset, params->eAction ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId, params->unMaxSecondsOld ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h deleted file mode 100644 index f9973440e..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h +++ /dev/null @@ -1,52 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(void *, const char *, void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp index d32ee5156..ae5eecff0 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.cpp @@ -1,291 +1,455 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_137/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_137 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(void *linux_side, const char * pchFile, const void * pvData, uint32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWriteAsync( params->pchFile, params->pvData, params->cubData ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(void *linux_side, const char * pchFile, uint32 nOffset, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileReadAsync( params->pchFile, params->nOffset, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileReadAsyncComplete( params->hReadCall, params->pvBuffer, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(void *linux_side, int32 * pnTotalBytes, int32 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((int32 *)pnTotalBytes, (int32 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset, params->eAction ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId, params->unMaxSecondsOld ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h deleted file mode 100644 index 03633a756..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h +++ /dev/null @@ -1,55 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(void *, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp index f1afcfaf9..61c96e162 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.cpp @@ -1,292 +1,455 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_151 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(void *linux_side, const char * pchFile, const void * pvData, uint32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWriteAsync( params->pchFile, params->pvData, params->cubData ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(void *linux_side, const char * pchFile, uint32 nOffset, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileReadAsync( params->pchFile, params->nOffset, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileReadAsyncComplete( params->hReadCall, params->pvBuffer, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(void *linux_side, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((uint64 *)pnTotalBytes, (uint64 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset, params->eAction ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId, params->unMaxSecondsOld ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h deleted file mode 100644 index c6b887113..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h +++ /dev/null @@ -1,55 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(void *, uint64 *, uint64 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp index 4f1cbadb9..8f9cec676 100644 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp +++ b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.cpp @@ -1,312 +1,487 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *linux_side, const char * pchFile, const void * pvData, int32 cubData) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWrite((const char *)pchFile, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *linux_side, const char * pchFile, void * pvData, int32 cubDataToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileRead((const char *)pchFile, (void *)pvData, (int32)cubDataToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *linux_side, const char * pchFile, const void * pvData, uint32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteAsync((const char *)pchFile, (const void *)pvData, (uint32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWriteAsync( params->pchFile, params->pvData, params->cubData ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *linux_side, const char * pchFile, uint32 nOffset, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsync((const char *)pchFile, (uint32)nOffset, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileReadAsync( params->pchFile, params->nOffset, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *linux_side, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileReadAsyncComplete((SteamAPICall_t)hReadCall, (void *)pvBuffer, (uint32)cubToRead); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileReadAsyncComplete( params->hReadCall, params->pvBuffer, params->cubToRead ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileForget((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileForget( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileDelete((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileDelete( params->pchFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileShare((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileShare( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *linux_side, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetSyncPlatforms((const char *)pchFile, (ERemoteStoragePlatform)eRemoteStoragePlatform); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetSyncPlatforms( params->pchFile, params->eRemoteStoragePlatform ); + return 0; } -UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamOpen((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWriteStreamOpen( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *linux_side, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamWriteChunk((UGCFileWriteStreamHandle_t)writeHandle, (const void *)pvData, (int32)cubData); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWriteStreamWriteChunk( params->writeHandle, params->pvData, params->cubData ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamClose((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWriteStreamClose( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *linux_side, UGCFileWriteStreamHandle_t writeHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileWriteStreamCancel((UGCFileWriteStreamHandle_t)writeHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileWriteStreamCancel( params->writeHandle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FileExists((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FileExists( params->pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->FilePersisted((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->FilePersisted( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileSize((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetFileSize( params->pchFile ); + return 0; } -int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileTimestamp((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetFileTimestamp( params->pchFile ); + return 0; } -ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *linux_side, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetSyncPlatforms((const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetSyncPlatforms( params->pchFile ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetFileCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *linux_side, int iFile, int32 * pnFileSizeInBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetFileNameAndSize((int)iFile, (int32 *)pnFileSizeInBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *linux_side, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetQuota((uint64 *)pnTotalBytes, (uint64 *)puAvailableBytes); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForAccount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForAccount( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->IsCloudEnabledForApp(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->IsCloudEnabledForApp( ); + return 0; } -void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *linux_side, bool bEnabled) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp( void *args ) { - ((ISteamRemoteStorage*)linux_side)->SetCloudEnabledForApp((bool)bEnabled); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + iface->SetCloudEnabledForApp( params->bEnabled ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *linux_side, UGCHandle_t hContent, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownload((UGCHandle_t)hContent, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UGCDownload( params->hContent, params->unPriority ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *linux_side, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDownloadProgress((UGCHandle_t)hContent, (int32 *)pnBytesDownloaded, (int32 *)pnBytesExpected); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetUGCDownloadProgress( params->hContent, params->pnBytesDownloaded, params->pnBytesExpected ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *linux_side, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUGCDetails((UGCHandle_t)hContent, (AppId_t *)pnAppID, (char **)ppchName, (int32 *)pnFileSizeInBytes, (CSteamID *)pSteamIDOwner); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetUGCDetails( params->hContent, params->pnAppID, params->ppchName, params->pnFileSizeInBytes, params->pSteamIDOwner ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *linux_side, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCRead((UGCHandle_t)hContent, (void *)pvData, (int32)cubDataToRead, (uint32)cOffset, (EUGCReadAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UGCRead( params->hContent, params->pvData, params->cubDataToRead, params->cOffset, params->eAction ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetCachedUGCCount( ); + return 0; } -UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *linux_side, int32 iCachedContent) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetCachedUGCHandle((int32)iCachedContent); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetCachedUGCHandle( params->iCachedContent ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *linux_side, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishWorkshopFile((const char *)pchFile, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags, (EWorkshopFileType)eWorkshopFileType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishWorkshopFile( u_pchFile, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags, params->eWorkshopFileType ); + steamclient_free_path( u_pchFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CreatePublishedFileUpdateRequest((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreatePublishedFileUpdateRequest( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + char *u_pchFile = steamclient_dos_to_unix_path( params->pchFile, 0 ); + params->_ret = iface->UpdatePublishedFileFile( params->updateHandle, u_pchFile ); + steamclient_free_path( u_pchFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFilePreviewFile((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchPreviewFile); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->UpdatePublishedFilePreviewFile( params->updateHandle, u_pchPreviewFile ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTitle((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchTitle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTitle( params->updateHandle, params->pchTitle ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileDescription( params->updateHandle, params->pchDescription ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *linux_side, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileVisibility((PublishedFileUpdateHandle_t)updateHandle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileVisibility( params->updateHandle, params->eVisibility ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *linux_side, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileTags((PublishedFileUpdateHandle_t)updateHandle, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileTags( params->updateHandle, params->pTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *linux_side, PublishedFileUpdateHandle_t updateHandle) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->CommitPublishedFileUpdate((PublishedFileUpdateHandle_t)updateHandle); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CommitPublishedFileUpdate( params->updateHandle ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *linux_side, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedFileDetails((PublishedFileId_t)unPublishedFileId, (uint32)unMaxSecondsOld); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetPublishedFileDetails( params->unPublishedFileId, params->unMaxSecondsOld ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->DeletePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->DeletePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserPublishedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EnumerateUserPublishedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SubscribePublishedFile( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *linux_side, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSubscribedFiles((uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EnumerateUserSubscribedFiles( params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UnsubscribePublishedFile((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UnsubscribePublishedFile( params->unPublishedFileId ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *linux_side, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdatePublishedFileSetChangeDescription((PublishedFileUpdateHandle_t)updateHandle, (const char *)pchChangeDescription); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdatePublishedFileSetChangeDescription( params->updateHandle, params->pchChangeDescription ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *linux_side, PublishedFileId_t unPublishedFileId, bool bVoteUp) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UpdateUserPublishedItemVote((PublishedFileId_t)unPublishedFileId, (bool)bVoteUp); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdateUserPublishedItemVote( params->unPublishedFileId, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *linux_side, PublishedFileId_t unPublishedFileId) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetUserPublishedItemVoteDetails((PublishedFileId_t)unPublishedFileId); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetUserPublishedItemVoteDetails( params->unPublishedFileId ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *linux_side, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumerateUserSharedWorkshopFiles((CSteamID)steamId, (uint32)unStartIndex, (SteamParamStringArray_t *)pRequiredTags, (SteamParamStringArray_t *)pExcludedTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EnumerateUserSharedWorkshopFiles( params->steamId, params->unStartIndex, params->pRequiredTags, params->pExcludedTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *linux_side, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->PublishVideo((EWorkshopVideoProvider)eVideoProvider, (const char *)pchVideoAccount, (const char *)pchVideoIdentifier, (const char *)pchPreviewFile, (AppId_t)nConsumerAppId, (const char *)pchTitle, (const char *)pchDescription, (ERemoteStoragePublishedFileVisibility)eVisibility, (SteamParamStringArray_t *)pTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + char *u_pchPreviewFile = steamclient_dos_to_unix_path( params->pchPreviewFile, 0 ); + params->_ret = iface->PublishVideo( params->eVideoProvider, params->pchVideoAccount, params->pchVideoIdentifier, u_pchPreviewFile, params->nConsumerAppId, params->pchTitle, params->pchDescription, params->eVisibility, params->pTags ); + steamclient_free_path( u_pchPreviewFile ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *linux_side, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->SetUserPublishedFileAction((PublishedFileId_t)unPublishedFileId, (EWorkshopFileAction)eAction); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetUserPublishedFileAction( params->unPublishedFileId, params->eAction ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *linux_side, EWorkshopFileAction eAction, uint32 unStartIndex) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedFilesByUserAction((EWorkshopFileAction)eAction, (uint32)unStartIndex); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EnumeratePublishedFilesByUserAction( params->eAction, params->unStartIndex ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *linux_side, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EnumeratePublishedWorkshopFiles((EWorkshopEnumerationType)eEnumerationType, (uint32)unStartIndex, (uint32)unCount, (uint32)unDays, (SteamParamStringArray_t *)pTags, (SteamParamStringArray_t *)pUserTags); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EnumeratePublishedWorkshopFiles( params->eEnumerationType, params->unStartIndex, params->unCount, params->unDays, params->pTags, params->pUserTags ); + return 0; } -SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *linux_side, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->UGCDownloadToLocation((UGCHandle_t)hContent, (const char *)pchLocation, (uint32)unPriority); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + char *u_pchLocation = steamclient_dos_to_unix_path( params->pchLocation, 0 ); + params->_ret = iface->UGCDownloadToLocation( params->hContent, u_pchLocation, params->unPriority ); + steamclient_free_path( u_pchLocation ); + return 0; } -int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetLocalFileChangeCount(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetLocalFileChangeCount( ); + return 0; } -const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *linux_side, int iFile, ERemoteStorageLocalFileChange * pEChangeType, ERemoteStorageFilePathType * pEFilePathType) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->GetLocalFileChange((int)iFile, (ERemoteStorageLocalFileChange *)pEChangeType, (ERemoteStorageFilePathType *)pEFilePathType); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetLocalFileChange( params->iFile, params->pEChangeType, params->pEFilePathType ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->BeginFileWriteBatch(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->BeginFileWriteBatch( ); + return 0; } -bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *linux_side) +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch( void *args ) { - return ((ISteamRemoteStorage*)linux_side)->EndFileWriteBatch(); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params *params = (struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params *)args; + struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->EndFileWriteBatch( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h b/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h deleted file mode 100644 index 64569c23e..000000000 --- a/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h +++ /dev/null @@ -1,59 +0,0 @@ -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(void *, const char *, const void *, int32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(void *, const char *, void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(void *, const char *, const void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(void *, const char *, uint32, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(void *, SteamAPICall_t, void *, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(void *, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(void *, const char *, ERemoteStoragePlatform); -extern UGCFileWriteStreamHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(void *, UGCFileWriteStreamHandle_t, const void *, int32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(void *, UGCFileWriteStreamHandle_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(void *, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(void *, const char *); -extern int64 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(void *, const char *); -extern ERemoteStoragePlatform cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(void *, const char *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(void *, int, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(void *, uint64 *, uint64 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(void *); -extern void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(void *, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(void *, UGCHandle_t, uint32); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(void *, UGCHandle_t, int32 *, int32 *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(void *, UGCHandle_t, AppId_t *, char **, int32 *, CSteamID *); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(void *, UGCHandle_t, void *, int32, uint32, EUGCReadAction); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(void *); -extern UGCHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(void *, int32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(void *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *, EWorkshopFileType); -extern PublishedFileUpdateHandle_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(void *, PublishedFileUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(void *, PublishedFileUpdateHandle_t, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(void *, PublishedFileUpdateHandle_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(void *, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(void *, PublishedFileId_t); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(void *, PublishedFileUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(void *, CSteamID, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(void *, EWorkshopVideoProvider, const char *, const char *, const char *, AppId_t, const char *, const char *, ERemoteStoragePublishedFileVisibility, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(void *, PublishedFileId_t, EWorkshopFileAction); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(void *, EWorkshopFileAction, uint32); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(void *, EWorkshopEnumerationType, uint32, uint32, uint32, SteamParamStringArray_t *, SteamParamStringArray_t *); -extern SteamAPICall_t cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(void *, UGCHandle_t, const char *, uint32); -extern int32 cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(void *); -extern const char * cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(void *, int, ERemoteStorageLocalFileChange *, ERemoteStorageFilePathType *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(void *); -extern bool cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(void *); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp index 3b3e3f325..7298df774 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.cpp @@ -1,46 +1,55 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_122/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_122 -#include "struct_converters.h" -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( void *args ) { - return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->WriteScreenshot( params->pubRGB, params->cubRGB, params->nWidth, params->nHeight ); + return 0; } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(void *linux_side, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( void *args ) { - return ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 ); + char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 ); + params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight ); + steamclient_free_path( u_pchFilename ); + steamclient_free_path( u_pchThumbnailFilename ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(void *linux_side) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( void *args ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + iface->TriggerScreenshot( ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(void *linux_side, bool bHook) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( void *args ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + iface->HookScreenshots( params->bHook ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char * pchLocation) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( void *args ) { - return ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetLocation( params->hScreenshot, params->pchLocation ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( void *args ) { - return ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->TagUser( params->hScreenshot, params->steamID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h deleted file mode 100644 index 99e67ea40..000000000 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h +++ /dev/null @@ -1,6 +0,0 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(void *, ScreenshotHandle, CSteamID); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp index ca116e49a..43fa053dd 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.cpp @@ -1,51 +1,63 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_137/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_137 -#include "struct_converters.h" -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( void *args ) { - return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->WriteScreenshot( params->pubRGB, params->cubRGB, params->nWidth, params->nHeight ); + return 0; } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(void *linux_side, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( void *args ) { - return ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 ); + char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 ); + params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight ); + steamclient_free_path( u_pchFilename ); + steamclient_free_path( u_pchThumbnailFilename ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(void *linux_side) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( void *args ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + iface->TriggerScreenshot( ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(void *linux_side, bool bHook) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( void *args ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + iface->HookScreenshots( params->bHook ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char * pchLocation) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( void *args ) { - return ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetLocation( params->hScreenshot, params->pchLocation ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( void *args ) { - return ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->TagUser( params->hScreenshot, params->steamID ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(void *linux_side, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( void *args ) { - return ((ISteamScreenshots*)linux_side)->TagPublishedFile((ScreenshotHandle)hScreenshot, (PublishedFileId_t)unPublishedFileID); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->TagPublishedFile( params->hScreenshot, params->unPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h deleted file mode 100644 index a0ed4f81b..000000000 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h +++ /dev/null @@ -1,7 +0,0 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(void *, ScreenshotHandle, CSteamID); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(void *, ScreenshotHandle, PublishedFileId_t); diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp index b4cf0a0ce..980132171 100644 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.cpp @@ -1,62 +1,83 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h" -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( void *args ) { - return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->WriteScreenshot( params->pubRGB, params->cubRGB, params->nWidth, params->nHeight ); + return 0; } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(void *linux_side, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( void *args ) { - return ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 ); + char *u_pchThumbnailFilename = steamclient_dos_to_unix_path( params->pchThumbnailFilename, 0 ); + params->_ret = iface->AddScreenshotToLibrary( u_pchFilename, u_pchThumbnailFilename, params->nWidth, params->nHeight ); + steamclient_free_path( u_pchFilename ); + steamclient_free_path( u_pchThumbnailFilename ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(void *linux_side) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( void *args ) { - ((ISteamScreenshots*)linux_side)->TriggerScreenshot(); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + iface->TriggerScreenshot( ); + return 0; } -void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(void *linux_side, bool bHook) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( void *args ) { - ((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + iface->HookScreenshots( params->bHook ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char * pchLocation) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( void *args ) { - return ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetLocation( params->hScreenshot, params->pchLocation ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( void *args ) { - return ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->TagUser( params->hScreenshot, params->steamID ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(void *linux_side, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( void *args ) { - return ((ISteamScreenshots*)linux_side)->TagPublishedFile((ScreenshotHandle)hScreenshot, (PublishedFileId_t)unPublishedFileID); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->TagPublishedFile( params->hScreenshot, params->unPublishedFileID ); + return 0; } -bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(void *linux_side) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( void *args ) { - return ((ISteamScreenshots*)linux_side)->IsScreenshotsHooked(); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->IsScreenshotsHooked( ); + return 0; } -ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(void *linux_side, EVRScreenshotType eType, const char * pchFilename, const char * pchVRFilename) +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( void *args ) { - return ((ISteamScreenshots*)linux_side)->AddVRScreenshotToLibrary((EVRScreenshotType)eType, (const char *)pchFilename, (const char *)pchVRFilename); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *params = (struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params *)args; + struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *iface = (struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *)params->linux_side; + char *u_pchFilename = steamclient_dos_to_unix_path( params->pchFilename, 0 ); + char *u_pchVRFilename = steamclient_dos_to_unix_path( params->pchVRFilename, 0 ); + params->_ret = iface->AddVRScreenshotToLibrary( params->eType, u_pchFilename, u_pchVRFilename ); + steamclient_free_path( u_pchFilename ); + steamclient_free_path( u_pchVRFilename ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h deleted file mode 100644 index 3f07c17c7..000000000 --- a/lsteamclient/cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h +++ /dev/null @@ -1,9 +0,0 @@ -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(void *, void *, uint32, int, int); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(void *, const char *, const char *, int, int); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(void *); -extern void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(void *, bool); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(void *, ScreenshotHandle, const char *); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(void *, ScreenshotHandle, CSteamID); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(void *, ScreenshotHandle, PublishedFileId_t); -extern bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(void *); -extern ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(void *, EVRScreenshotType, const char *, const char *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp index de6c260a2..dbe6abf99 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.cpp @@ -1,90 +1,117 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_128 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_128 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_128(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_128(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + u_SteamUGCDetails_t_126 u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h deleted file mode 100644 index ab09801ec..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h +++ /dev/null @@ -1,14 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_128 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp index f0ae2e325..fa547e395 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.cpp @@ -1,175 +1,258 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_130/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_130 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_130 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_130(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_130(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(void *linux_side, PublishedFileId_t nPublishedFileID, bool * pbNeedsUpdate, bool * pbIsDownloading, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateInfo((PublishedFileId_t)nPublishedFileID, (bool *)pbNeedsUpdate, (bool *)pbIsDownloading, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetItemUpdateInfo( params->nPublishedFileID, params->pbNeedsUpdate, params->pbIsDownloading, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h deleted file mode 100644 index 2d35cb9ff..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h +++ /dev/null @@ -1,31 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_130 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(void *, PublishedFileId_t, bool *, bool *, uint64 *, uint64 *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp index 09a48877e..78eac2460 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.cpp @@ -1,175 +1,258 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_132/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_132 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_132(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_132(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, bool * pbLegacyItem) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (bool *)pbLegacyItem); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->pbLegacyItem ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(void *linux_side, PublishedFileId_t nPublishedFileID, bool * pbNeedsUpdate, bool * pbIsDownloading, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateInfo((PublishedFileId_t)nPublishedFileID, (bool *)pbNeedsUpdate, (bool *)pbIsDownloading, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetItemUpdateInfo( params->nPublishedFileID, params->pbNeedsUpdate, params->pbIsDownloading, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h deleted file mode 100644 index 8c2ea536d..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h +++ /dev/null @@ -1,31 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_132 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(void *, PublishedFileId_t, bool *, bool *, uint64 *, uint64 *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp index 76fccfdbf..b18d043e9 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.cpp @@ -1,185 +1,274 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_132x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_132x -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132x * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_132x(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_132x(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h deleted file mode 100644 index 2a88e47ae..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h +++ /dev/null @@ -1,33 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_132x *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(void *, PublishedFileId_t, bool); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp index ec5196e2c..4f58f4f52 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.cpp @@ -1,250 +1,379 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133b/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_133b -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133b * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_133b(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_133b(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pbIsImage ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h deleted file mode 100644 index 9dc3d40c6..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h +++ /dev/null @@ -1,46 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_133b *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(void *, PublishedFileId_t, bool); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp index 8693b9823..5fd955a69 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.cpp @@ -1,270 +1,411 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_133x -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_133x(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_133x(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pbIsImage ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h deleted file mode 100644 index 6072cc9c3..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h +++ /dev/null @@ -1,50 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_133x *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(void *, PublishedFileId_t, bool); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp index 735a555c0..1c0a0c41c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.cpp @@ -1,310 +1,477 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_136/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_136 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_136 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_136(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_136(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (bool *)pbIsImage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pbIsImage ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h deleted file mode 100644 index c60de286d..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h +++ /dev/null @@ -1,58 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_136 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, bool *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(void *, bool); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp index 671a71855..a26a25aa9 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.cpp @@ -1,335 +1,521 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_137/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_137 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_137 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_137(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_137(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint32 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h deleted file mode 100644 index 94c0b5a35..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h +++ /dev/null @@ -1,63 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_137 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint32 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(void *, bool); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp index dd7e0f414..bdf41c96b 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.cpp @@ -1,355 +1,553 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_139/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_139 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_139 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_139(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_139(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h deleted file mode 100644 index b9a2c78d0..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h +++ /dev/null @@ -1,67 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_139 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(void *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp index 82841c607..0ec0e4ac5 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.cpp @@ -1,390 +1,609 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_142 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_142(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_142(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h deleted file mode 100644 index 3ebfc66b7..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h +++ /dev/null @@ -1,74 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_142 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp index 929dc6191..02a80282a 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.cpp @@ -1,401 +1,625 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_144 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_144(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_144(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h deleted file mode 100644 index 11c4d8ee0..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h +++ /dev/null @@ -1,76 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_144 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp index 0694b0172..10b9a937c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.cpp @@ -1,411 +1,641 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_146 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_146 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_146(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_146(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h deleted file mode 100644 index f88a55bd7..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h +++ /dev/null @@ -1,78 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_146 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp index b6f8356a6..201a95eeb 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.cpp @@ -1,416 +1,649 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_150/steam_api.h" -#include "steamworks_sdk_150/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_150 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_150 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_150(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_150(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddRequiredTagGroup( params->handle, params->pTagGroups ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h deleted file mode 100644 index cfa259356..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h +++ /dev/null @@ -1,79 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_150 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(void *, PublishedFileId_t); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp index 9e2a2e195..f7564931c 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.cpp @@ -1,441 +1,689 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_152 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_152(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_152(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCTag( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCTagDisplayName( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddRequiredTagGroup( params->handle, params->pTagGroups ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA( void *args ) { - return ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->ShowWorkshopEULA( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus( void *args ) { - return ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 *)params->linux_side; + params->_ret = iface->GetWorkshopEULAStatus( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h deleted file mode 100644 index 11871fc17..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h +++ /dev/null @@ -1,84 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_152 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(void *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp index fae2a83ff..189bbb2a2 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.cpp @@ -1,451 +1,705 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_155 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_155 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_155(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_155(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCTag( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCTagDisplayName( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddRequiredTagGroup( params->handle, params->pTagGroups ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange( void *args ) { - return ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetTimeCreatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange( void *args ) { - return ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetTimeUpdatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA( void *args ) { - return ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->ShowWorkshopEULA( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus( void *args ) { - return ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 *)params->linux_side; + params->_ret = iface->GetWorkshopEULAStatus( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h deleted file mode 100644 index a5de9e016..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h +++ /dev/null @@ -1,86 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_155 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(void *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp index 426321ff5..a9f433bd0 100644 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.cpp @@ -1,466 +1,729 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h" -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *linux_side, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUserUGCRequest((AccountID_t)unAccountID, (EUserUGCList)eListType, (EUGCMatchingUGCType)eMatchingUGCType, (EUserUGCListSortOrder)eSortOrder, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (uint32)unPage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *linux_side, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryAllUGCRequest((EUGCQuery)eQueryType, (EUGCMatchingUGCType)eMatchingeMatchingUGCTypeFileType, (AppId_t)nCreatorAppID, (AppId_t)nConsumerAppID, (const char *)pchCursor); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; } -UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest( void *args ) { - return ((ISteamUGC*)linux_side)->CreateQueryUGCDetailsRequest((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->SendQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *linux_side, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_157 * pDetails) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult( void *args ) { - SteamUGCDetails_t lin_pDetails; - win_to_lin_struct_SteamUGCDetails_t_157(pDetails, &lin_pDetails); - bool retval = ((ISteamUGC*)linux_side)->GetQueryUGCResult((UGCQueryHandle_t)handle, (uint32)index, &lin_pDetails); - lin_to_win_struct_SteamUGCDetails_t_157(&lin_pDetails, pDetails); - return retval; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCTag( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCTagDisplayName((UGCQueryHandle_t)handle, (uint32)index, (uint32)indexTag, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCTagDisplayName( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCPreviewURL((UGCQueryHandle_t)handle, (uint32)index, (char *)pchURL, (uint32)cchURLSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *linux_side, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCMetadata((UGCQueryHandle_t)handle, (uint32)index, (char *)pchMetadata, (uint32)cchMetadatasize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *linux_side, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCChildren((UGCQueryHandle_t)handle, (uint32)index, (PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *linux_side, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCStatistic((UGCQueryHandle_t)handle, (uint32)index, (EItemStatistic)eStatType, (uint64 *)pStatValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumAdditionalPreviews((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCAdditionalPreview((UGCQueryHandle_t)handle, (uint32)index, (uint32)previewIndex, (char *)pchURLOrVideoID, (uint32)cchURLSize, (char *)pchOriginalFileName, (uint32)cchOriginalFileNameSize, (EItemPreviewType *)pPreviewType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *linux_side, UGCQueryHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCNumKeyValueTags((UGCQueryHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *linux_side, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (uint32)keyValueTagIndex, (char *)pchKey, (uint32)cchKeySize, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *linux_side, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCKeyValueTag((UGCQueryHandle_t)handle, (uint32)index, (const char *)pchKey, (char *)pchValue, (uint32)cchValueSize); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *linux_side, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors( void *args ) { - return ((ISteamUGC*)linux_side)->GetQueryUGCContentDescriptors((UGCQueryHandle_t)handle, (uint32)index, (EUGCContentDescriptorID *)pvecDescriptors, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetQueryUGCContentDescriptors( params->handle, params->index, params->pvecDescriptors, params->cMaxEntries ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *linux_side, UGCQueryHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest( void *args ) { - return ((ISteamUGC*)linux_side)->ReleaseQueryUGCRequest((UGCQueryHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *linux_side, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredTagGroup((UGCQueryHandle_t)handle, (const SteamParamStringArray_t *)pTagGroups); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddRequiredTagGroup( params->handle, params->pTagGroups ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *linux_side, UGCQueryHandle_t handle, const char * pTagName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddExcludedTag((UGCQueryHandle_t)handle, (const char *)pTagName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *linux_side, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnOnlyIDs((UGCQueryHandle_t)handle, (bool)bReturnOnlyIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *linux_side, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnKeyValueTags((UGCQueryHandle_t)handle, (bool)bReturnKeyValueTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *linux_side, UGCQueryHandle_t handle, bool bReturnLongDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnLongDescription((UGCQueryHandle_t)handle, (bool)bReturnLongDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *linux_side, UGCQueryHandle_t handle, bool bReturnMetadata) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnMetadata((UGCQueryHandle_t)handle, (bool)bReturnMetadata); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *linux_side, UGCQueryHandle_t handle, bool bReturnChildren) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnChildren((UGCQueryHandle_t)handle, (bool)bReturnChildren); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *linux_side, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnAdditionalPreviews((UGCQueryHandle_t)handle, (bool)bReturnAdditionalPreviews); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *linux_side, UGCQueryHandle_t handle, bool bReturnTotalOnly) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnTotalOnly((UGCQueryHandle_t)handle, (bool)bReturnTotalOnly); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats( void *args ) { - return ((ISteamUGC*)linux_side)->SetReturnPlaytimeStats((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *linux_side, UGCQueryHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetLanguage((UGCQueryHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *linux_side, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowCachedResponse((UGCQueryHandle_t)handle, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *linux_side, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter( void *args ) { - return ((ISteamUGC*)linux_side)->SetCloudFileNameFilter((UGCQueryHandle_t)handle, (const char *)pMatchCloudFileName); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *linux_side, UGCQueryHandle_t handle, bool bMatchAnyTag) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag( void *args ) { - return ((ISteamUGC*)linux_side)->SetMatchAnyTag((UGCQueryHandle_t)handle, (bool)bMatchAnyTag); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *linux_side, UGCQueryHandle_t handle, const char * pSearchText) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText( void *args ) { - return ((ISteamUGC*)linux_side)->SetSearchText((UGCQueryHandle_t)handle, (const char *)pSearchText); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *linux_side, UGCQueryHandle_t handle, uint32 unDays) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays( void *args ) { - return ((ISteamUGC*)linux_side)->SetRankedByTrendDays((UGCQueryHandle_t)handle, (uint32)unDays); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange( void *args ) { - return ((ISteamUGC*)linux_side)->SetTimeCreatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetTimeCreatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *linux_side, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange( void *args ) { - return ((ISteamUGC*)linux_side)->SetTimeUpdatedDateRange((UGCQueryHandle_t)handle, (RTime32)rtStart, (RTime32)rtEnd); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetTimeUpdatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *linux_side, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddRequiredKeyValueTag((UGCQueryHandle_t)handle, (const char *)pKey, (const char *)pValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *linux_side, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails( void *args ) { - return ((ISteamUGC*)linux_side)->RequestUGCDetails((PublishedFileId_t)nPublishedFileID, (uint32)unMaxAgeSeconds); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *linux_side, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem( void *args ) { - return ((ISteamUGC*)linux_side)->CreateItem((AppId_t)nConsumerAppId, (EWorkshopFileType)eFileType); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; } -UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *linux_side, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->StartItemUpdate((AppId_t)nConsumerAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *linux_side, UGCUpdateHandle_t handle, const char * pchTitle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTitle((UGCUpdateHandle_t)handle, (const char *)pchTitle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *linux_side, UGCUpdateHandle_t handle, const char * pchDescription) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemDescription((UGCUpdateHandle_t)handle, (const char *)pchDescription); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *linux_side, UGCUpdateHandle_t handle, const char * pchLanguage) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemUpdateLanguage((UGCUpdateHandle_t)handle, (const char *)pchLanguage); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *linux_side, UGCUpdateHandle_t handle, const char * pchMetaData) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemMetadata((UGCUpdateHandle_t)handle, (const char *)pchMetaData); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *linux_side, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemVisibility((UGCUpdateHandle_t)handle, (ERemoteStoragePublishedFileVisibility)eVisibility); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *linux_side, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemTags((UGCUpdateHandle_t)updateHandle, (const SteamParamStringArray_t *)pTags); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *linux_side, UGCUpdateHandle_t handle, const char * pszContentFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemContent((UGCUpdateHandle_t)handle, (const char *)pszContentFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->SetItemPreview((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *linux_side, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload( void *args ) { - return ((ISteamUGC*)linux_side)->SetAllowLegacyUpload((UGCUpdateHandle_t)handle, (bool)bAllowLegacyUpload); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAllItemKeyValueTags((UGCUpdateHandle_t)handle); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemKeyValueTags((UGCUpdateHandle_t)handle, (const char *)pchKey); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *linux_side, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemKeyValueTag((UGCUpdateHandle_t)handle, (const char *)pchKey, (const char *)pchValue); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewFile((UGCUpdateHandle_t)handle, (const char *)pszPreviewFile, (EItemPreviewType)type); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemPreviewVideo((UGCUpdateHandle_t)handle, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewFile((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszPreviewFile); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *linux_side, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo( void *args ) { - return ((ISteamUGC*)linux_side)->UpdateItemPreviewVideo((UGCUpdateHandle_t)handle, (uint32)index, (const char *)pszVideoID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *linux_side, UGCUpdateHandle_t handle, uint32 index) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemPreview((UGCUpdateHandle_t)handle, (uint32)index); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor( void *args ) { - return ((ISteamUGC*)linux_side)->AddContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddContentDescriptor( params->handle, params->descid ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *linux_side, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveContentDescriptor((UGCUpdateHandle_t)handle, (EUGCContentDescriptorID)descid); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveContentDescriptor( params->handle, params->descid ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *linux_side, UGCUpdateHandle_t handle, const char * pchChangeNote) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate( void *args ) { - return ((ISteamUGC*)linux_side)->SubmitItemUpdate((UGCUpdateHandle_t)handle, (const char *)pchChangeNote); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; } -EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *linux_side, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemUpdateProgress((UGCUpdateHandle_t)handle, (uint64 *)punBytesProcessed, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID, bool bVoteUp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->SetUserItemVote((PublishedFileId_t)nPublishedFileID, (bool)bVoteUp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote( void *args ) { - return ((ISteamUGC*)linux_side)->GetUserItemVote((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->AddItemToFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *linux_side, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveItemFromFavorites((AppId_t)nAppId, (PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->SubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem( void *args ) { - return ((ISteamUGC*)linux_side)->UnsubscribeItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetNumSubscribedItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems( void *args ) { - return ((ISteamUGC*)linux_side)->GetSubscribedItems((PublishedFileId_t *)pvecPublishedFileID, (uint32)cMaxEntries); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; } -uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemState((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemInstallInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punSizeOnDisk, (char *)pchFolder, (uint32)cchFolderSize, (uint32 *)punTimeStamp); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *linux_side, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo( void *args ) { - return ((ISteamUGC*)linux_side)->GetItemDownloadInfo((PublishedFileId_t)nPublishedFileID, (uint64 *)punBytesDownloaded, (uint64 *)punBytesTotal); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *linux_side, PublishedFileId_t nPublishedFileID, bool bHighPriority) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem( void *args ) { - return ((ISteamUGC*)linux_side)->DownloadItem((PublishedFileId_t)nPublishedFileID, (bool)bHighPriority); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *linux_side, DepotId_t unWorkshopDepotID, const char * pszFolder) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( void *args ) { - return ((ISteamUGC*)linux_side)->BInitWorkshopForGameServer((DepotId_t)unWorkshopDepotID, (const char *)pszFolder); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; } -void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *linux_side, bool bSuspend) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads( void *args ) { - ((ISteamUGC*)linux_side)->SuspendDownloads((bool)bSuspend); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StartPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *linux_side, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTracking((PublishedFileId_t *)pvecPublishedFileID, (uint32)unNumPublishedFileIDs); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems( void *args ) { - return ((ISteamUGC*)linux_side)->StopPlaytimeTrackingForAllItems(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *linux_side, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveDependency((PublishedFileId_t)nParentPublishedFileID, (PublishedFileId_t)nChildPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->AddAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *linux_side, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency( void *args ) { - return ((ISteamUGC*)linux_side)->RemoveAppDependency((PublishedFileId_t)nPublishedFileID, (AppId_t)nAppID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies( void *args ) { - return ((ISteamUGC*)linux_side)->GetAppDependencies((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *linux_side, PublishedFileId_t nPublishedFileID) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem( void *args ) { - return ((ISteamUGC*)linux_side)->DeleteItem((PublishedFileId_t)nPublishedFileID); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; } -bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA( void *args ) { - return ((ISteamUGC*)linux_side)->ShowWorkshopEULA(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->ShowWorkshopEULA( ); + return 0; } -SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *linux_side) +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus( void *args ) { - return ((ISteamUGC*)linux_side)->GetWorkshopEULAStatus(); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 *)params->linux_side; + params->_ret = iface->GetWorkshopEULAStatus( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h deleted file mode 100644 index c885bac90..000000000 --- a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h +++ /dev/null @@ -1,89 +0,0 @@ -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(void *, AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint32); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(void *, EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, const char *); -extern UGCQueryHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(void *, UGCQueryHandle_t, uint32, winSteamUGCDetails_t_157 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(void *, UGCQueryHandle_t, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(void *, UGCQueryHandle_t, uint32, PublishedFileId_t *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(void *, UGCQueryHandle_t, uint32, EItemStatistic, uint64 *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32, EItemPreviewType *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(void *, UGCQueryHandle_t, uint32, uint32, char *, uint32, char *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(void *, UGCQueryHandle_t, uint32, const char *, char *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(void *, UGCQueryHandle_t, uint32, EUGCContentDescriptorID *, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(void *, UGCQueryHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(void *, UGCQueryHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(void *, UGCQueryHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(void *, UGCQueryHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(void *, UGCQueryHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(void *, UGCQueryHandle_t, RTime32, RTime32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(void *, UGCQueryHandle_t, const char *, const char *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(void *, PublishedFileId_t, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(void *, AppId_t, EWorkshopFileType); -extern UGCUpdateHandle_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(void *, AppId_t, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(void *, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(void *, UGCUpdateHandle_t, const SteamParamStringArray_t *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(void *, UGCUpdateHandle_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(void *, UGCUpdateHandle_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(void *, UGCUpdateHandle_t, const char *, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(void *, UGCUpdateHandle_t, const char *, EItemPreviewType); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(void *, UGCUpdateHandle_t, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(void *, UGCUpdateHandle_t, uint32, const char *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(void *, UGCUpdateHandle_t, uint32); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(void *, UGCUpdateHandle_t, EUGCContentDescriptorID); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(void *, UGCUpdateHandle_t, const char *); -extern EItemUpdateStatus cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(void *, UGCUpdateHandle_t, uint64 *, uint64 *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(void *, PublishedFileId_t, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(void *, AppId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(void *, PublishedFileId_t); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(void *); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(void *, PublishedFileId_t *, uint32); -extern uint32 cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(void *, PublishedFileId_t, uint64 *, char *, uint32, uint32 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(void *, PublishedFileId_t, uint64 *, uint64 *); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(void *, PublishedFileId_t, bool); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(void *, DepotId_t, const char *); -extern void cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(void *, bool); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(void *, PublishedFileId_t *, uint32); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(void *, PublishedFileId_t, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(void *, PublishedFileId_t, AppId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(void *, PublishedFileId_t); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(void *, PublishedFileId_t); -extern bool cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(void *); -extern SteamAPICall_t cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(void *); diff --git a/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp new file mode 100644 index 000000000..ce5deb6b1 --- /dev/null +++ b/lsteamclient/cppISteamUGC_STEAMUGC_INTERFACE_VERSION018.cpp @@ -0,0 +1,737 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->CreateQueryUserUGCRequest( params->unAccountID, params->eListType, params->eMatchingUGCType, params->eSortOrder, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->unPage ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->CreateQueryAllUGCRequest( params->eQueryType, params->eMatchingeMatchingUGCTypeFileType, params->nCreatorAppID, params->nConsumerAppID, params->pchCursor ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->CreateQueryUGCDetailsRequest( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SendQueryUGCRequest( params->handle ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + u_SteamUGCDetails_t_128x u_pDetails = *params->pDetails; + params->_ret = iface->GetQueryUGCResult( params->handle, params->index, &u_pDetails ); + *params->pDetails = u_pDetails; + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumTags( params->handle, params->index ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCTag( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCTagDisplayName( params->handle, params->index, params->indexTag, params->pchValue, params->cchValueSize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCPreviewURL( params->handle, params->index, params->pchURL, params->cchURLSize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCMetadata( params->handle, params->index, params->pchMetadata, params->cchMetadatasize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCChildren( params->handle, params->index, params->pvecPublishedFileID, params->cMaxEntries ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCStatistic( params->handle, params->index, params->eStatType, params->pStatValue ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumAdditionalPreviews( params->handle, params->index ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pchOriginalFileName, params->cchOriginalFileNameSize, params->pPreviewType ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCNumKeyValueTags( params->handle, params->index ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->keyValueTagIndex, params->pchKey, params->cchKeySize, params->pchValue, params->cchValueSize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCKeyValueTag( params->handle, params->index, params->pchKey, params->pchValue, params->cchValueSize ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetQueryUGCContentDescriptors( params->handle, params->index, params->pvecDescriptors, params->cMaxEntries ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->ReleaseQueryUGCRequest( params->handle ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddRequiredTag( params->handle, params->pTagName ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddRequiredTagGroup( params->handle, params->pTagGroups ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddExcludedTag( params->handle, params->pTagName ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnOnlyIDs( params->handle, params->bReturnOnlyIDs ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnKeyValueTags( params->handle, params->bReturnKeyValueTags ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnLongDescription( params->handle, params->bReturnLongDescription ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnMetadata( params->handle, params->bReturnMetadata ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnChildren( params->handle, params->bReturnChildren ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnAdditionalPreviews( params->handle, params->bReturnAdditionalPreviews ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnTotalOnly( params->handle, params->bReturnTotalOnly ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetReturnPlaytimeStats( params->handle, params->unDays ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetLanguage( params->handle, params->pchLanguage ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetAllowCachedResponse( params->handle, params->unMaxAgeSeconds ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetCloudFileNameFilter( params->handle, params->pMatchCloudFileName ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetMatchAnyTag( params->handle, params->bMatchAnyTag ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetSearchText( params->handle, params->pSearchText ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetRankedByTrendDays( params->handle, params->unDays ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetTimeCreatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetTimeUpdatedDateRange( params->handle, params->rtStart, params->rtEnd ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddRequiredKeyValueTag( params->handle, params->pKey, params->pValue ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RequestUGCDetails( params->nPublishedFileID, params->unMaxAgeSeconds ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->CreateItem( params->nConsumerAppId, params->eFileType ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->StartItemUpdate( params->nConsumerAppId, params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemTitle( params->handle, params->pchTitle ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemDescription( params->handle, params->pchDescription ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemUpdateLanguage( params->handle, params->pchLanguage ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemMetadata( params->handle, params->pchMetaData ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemVisibility( params->handle, params->eVisibility ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetItemTags( params->updateHandle, params->pTags, params->bAllowAdminTags ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + char *u_pszContentFolder = steamclient_dos_to_unix_path( params->pszContentFolder, 0 ); + params->_ret = iface->SetItemContent( params->handle, u_pszContentFolder ); + steamclient_free_path( u_pszContentFolder ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->SetItemPreview( params->handle, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetAllowLegacyUpload( params->handle, params->bAllowLegacyUpload ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveAllItemKeyValueTags( params->handle ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveItemKeyValueTags( params->handle, params->pchKey ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddItemKeyValueTag( params->handle, params->pchKey, params->pchValue ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->AddItemPreviewFile( params->handle, u_pszPreviewFile, params->type ); + steamclient_free_path( u_pszPreviewFile ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddItemPreviewVideo( params->handle, params->pszVideoID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + char *u_pszPreviewFile = steamclient_dos_to_unix_path( params->pszPreviewFile, 0 ); + params->_ret = iface->UpdateItemPreviewFile( params->handle, params->index, u_pszPreviewFile ); + steamclient_free_path( u_pszPreviewFile ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->UpdateItemPreviewVideo( params->handle, params->index, params->pszVideoID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveItemPreview( params->handle, params->index ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddContentDescriptor( params->handle, params->descid ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveContentDescriptor( params->handle, params->descid ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SubmitItemUpdate( params->handle, params->pchChangeNote ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetItemUpdateProgress( params->handle, params->punBytesProcessed, params->punBytesTotal ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SetUserItemVote( params->nPublishedFileID, params->bVoteUp ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetUserItemVote( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddItemToFavorites( params->nAppId, params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveItemFromFavorites( params->nAppId, params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->SubscribeItem( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->UnsubscribeItem( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetNumSubscribedItems( ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetSubscribedItems( params->pvecPublishedFileID, params->cMaxEntries ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetItemState( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetItemDownloadInfo( params->nPublishedFileID, params->punBytesDownloaded, params->punBytesTotal ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->DownloadItem( params->nPublishedFileID, params->bHighPriority ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + char *u_pszFolder = steamclient_dos_to_unix_path( params->pszFolder, 0 ); + params->_ret = iface->BInitWorkshopForGameServer( params->unWorkshopDepotID, u_pszFolder ); + steamclient_free_path( u_pszFolder ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + iface->SuspendDownloads( params->bSuspend ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->StartPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->StopPlaytimeTracking( params->pvecPublishedFileID, params->unNumPublishedFileIDs ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->StopPlaytimeTrackingForAllItems( ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveDependency( params->nParentPublishedFileID, params->nChildPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->AddAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->RemoveAppDependency( params->nPublishedFileID, params->nAppID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetAppDependencies( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->DeleteItem( params->nPublishedFileID ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->ShowWorkshopEULA( ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetWorkshopEULAStatus( ); + return 0; +} + +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences( void *args ) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params *)args; + struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 *)params->linux_side; + params->_ret = iface->GetUserContentDescriptorPreferences( params->pvecDescriptors, params->cMaxEntries ); + return 0; +} + diff --git a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp index 9a84237bf..63419465e 100644 --- a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.cpp @@ -1,41 +1,43 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_141/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_141 -#include "struct_converters.h" -#include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h" -ClientUnifiedMessageHandle cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(void *linux_side, const char * pchServiceMethod, const void * pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( void *args ) { - return ((ISteamUnifiedMessages*)linux_side)->SendMethod((const char *)pchServiceMethod, (const void *)pRequestBuffer, (uint32)unRequestBufferSize, (uint64)unContext); + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *params = (struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params *)args; + struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SendMethod( params->pchServiceMethod, params->pRequestBuffer, params->unRequestBufferSize, params->unContext ); + return 0; } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(void *linux_side, ClientUnifiedMessageHandle hHandle, uint32 * punResponseSize, EResult * peResult) +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( void *args ) { - return ((ISteamUnifiedMessages*)linux_side)->GetMethodResponseInfo((ClientUnifiedMessageHandle)hHandle, (uint32 *)punResponseSize, (EResult *)peResult); + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *params = (struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params *)args; + struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetMethodResponseInfo( params->hHandle, params->punResponseSize, params->peResult ); + return 0; } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(void *linux_side, ClientUnifiedMessageHandle hHandle, void * pResponseBuffer, uint32 unResponseBufferSize, bool bAutoRelease) +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( void *args ) { - return ((ISteamUnifiedMessages*)linux_side)->GetMethodResponseData((ClientUnifiedMessageHandle)hHandle, (void *)pResponseBuffer, (uint32)unResponseBufferSize, (bool)bAutoRelease); + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *params = (struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params *)args; + struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetMethodResponseData( params->hHandle, params->pResponseBuffer, params->unResponseBufferSize, params->bAutoRelease ); + return 0; } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(void *linux_side, ClientUnifiedMessageHandle hHandle) +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( void *args ) { - return ((ISteamUnifiedMessages*)linux_side)->ReleaseMethod((ClientUnifiedMessageHandle)hHandle); + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *params = (struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params *)args; + struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ReleaseMethod( params->hHandle ); + return 0; } -bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(void *linux_side, const char * pchServiceNotification, const void * pNotificationBuffer, uint32 unNotificationBufferSize) +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( void *args ) { - return ((ISteamUnifiedMessages*)linux_side)->SendNotification((const char *)pchServiceNotification, (const void *)pNotificationBuffer, (uint32)unNotificationBufferSize); + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *params = (struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params *)args; + struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *iface = (struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SendNotification( params->pchServiceNotification, params->pNotificationBuffer, params->unNotificationBufferSize ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h deleted file mode 100644 index 6d3a38760..000000000 --- a/lsteamclient/cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h +++ /dev/null @@ -1,5 +0,0 @@ -extern ClientUnifiedMessageHandle cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(void *, const char *, const void *, uint32, uint64); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(void *, ClientUnifiedMessageHandle, uint32 *, EResult *); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(void *, ClientUnifiedMessageHandle, void *, uint32, bool); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(void *, ClientUnifiedMessageHandle); -extern bool cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(void *, const char *, const void *, uint32); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp index d3440c99f..133c038fd 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.cpp @@ -1,126 +1,179 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099x -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h" -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(void *linux_side, CGameID nGameID) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetNumStats( params->nGameID ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(void *linux_side, CGameID nGameID, uint32 iStat) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStatName((CGameID)nGameID, (uint32)iStat); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetStatName( params->nGameID, params->iStat ); + return 0; } -ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStatType((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetStatType( params->nGameID, params->pchName ); + return 0; } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumAchievements((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetNumAchievements( params->nGameID ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementName((CGameID)nGameID, (uint32)iAchievement); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAchievementName( params->nGameID, params->iAchievement ); + return 0; } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumGroupAchievements((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetNumGroupAchievements( params->nGameID ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGroupAchievementName((CGameID)nGameID, (uint32)iAchievement); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetGroupAchievementName( params->nGameID, params->iAchievement ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( params->nGameID ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetStat( params->nGameID, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetStat( params->nGameID, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetStat( params->nGameID, params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetStat( params->nGameID, params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((CGameID)nGameID, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->nGameID, params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(void *linux_side, CGameID nGameID, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAchievement( params->nGameID, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(void *linux_side, CGameID nGameID, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGroupAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetGroupAchievement( params->nGameID, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetAchievement( params->nGameID, params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetGroupAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->SetGroupAchievement( params->nGameID, params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->StoreStats( params->nGameID ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->nGameID, params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearGroupAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->ClearGroupAchievement( params->nGameID, params->pchName ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->nGameID, params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((CGameID)nGameID, (const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->nGameID, params->pchName, params->pchKey ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h deleted file mode 100644 index a6242f1e5..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h +++ /dev/null @@ -1,22 +0,0 @@ -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(void *, CGameID, uint32); -extern ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(void *, CGameID, const char *); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(void *, CGameID, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(void *, CGameID, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(void *, CGameID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(void *, CGameID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(void *, CGameID, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(void *, CGameID, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(void *, CGameID, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(void *, CGameID, const char *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(void *, CGameID, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(void *, CGameID, const char *, const char *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp index d3db890f2..7bc6d5edc 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.cpp @@ -1,106 +1,147 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h" -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(void *linux_side, CGameID nGameID) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetNumStats( params->nGameID ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(void *linux_side, CGameID nGameID, uint32 iStat) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStatName((CGameID)nGameID, (uint32)iStat); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetStatName( params->nGameID, params->iStat ); + return 0; } -ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStatType((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetStatType( params->nGameID, params->pchName ); + return 0; } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumAchievements((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetNumAchievements( params->nGameID ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(void *linux_side, CGameID nGameID, uint32 iAchievement) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementName((CGameID)nGameID, (uint32)iAchievement); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetAchievementName( params->nGameID, params->iAchievement ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( params->nGameID ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetStat( params->nGameID, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((CGameID)nGameID, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetStat( params->nGameID, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *linux_side, CGameID nGameID, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetStat( params->nGameID, params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *linux_side, CGameID nGameID, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((CGameID)nGameID, (const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetStat( params->nGameID, params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *linux_side, CGameID nGameID, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((CGameID)nGameID, (const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->nGameID, params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *linux_side, CGameID nGameID, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((CGameID)nGameID, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetAchievement( params->nGameID, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->SetAchievement( params->nGameID, params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->nGameID, params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(void *linux_side, CGameID nGameID) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats((CGameID)nGameID); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->StoreStats( params->nGameID ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *linux_side, CGameID nGameID, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((CGameID)nGameID, (const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->nGameID, params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *linux_side, CGameID nGameID, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((CGameID)nGameID, (const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->nGameID, params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *linux_side, CGameID nGameID, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((CGameID)nGameID, (const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->nGameID, params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h deleted file mode 100644 index e777010a6..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h +++ /dev/null @@ -1,18 +0,0 @@ -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(void *, CGameID, uint32); -extern ESteamUserStatType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(void *, CGameID, const char *); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(void *, CGameID); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(void *, CGameID, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(void *, CGameID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(void *, CGameID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(void *, CGameID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(void *, CGameID, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(void *, CGameID, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(void *, CGameID, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(void *, CGameID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(void *, CGameID, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(void *, CGameID); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(void *, CGameID, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(void *, CGameID, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(void *, CGameID, const char *, uint32, uint32); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp index 4325d21d3..056144b02 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.cpp @@ -1,81 +1,107 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_102/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_102 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h deleted file mode 100644 index c8aa884a2..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h +++ /dev/null @@ -1,13 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(void *, const char *, uint32, uint32); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp index d41f45fcf..9c763ac98 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.cpp @@ -1,101 +1,139 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_103/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_103 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h deleted file mode 100644 index ad196e59f..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h +++ /dev/null @@ -1,17 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(void *, CSteamID, const char *, bool *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp index 9de1a8bb0..8108c2a73 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.cpp @@ -1,151 +1,219 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_104/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_104 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry( void *args ) { - return ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, params->pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, int32 nScore, int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (int32)nScore, (int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h deleted file mode 100644 index b44958bfb..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h +++ /dev/null @@ -1,27 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(void *, SteamLeaderboard_t, int32, int32 *, int); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp index bcd62830d..e29949e96 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.cpp @@ -1,156 +1,227 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_107/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_107 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry( void *args ) { - return ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, params->pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h deleted file mode 100644 index 78b5b9dfc..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h +++ /dev/null @@ -1,28 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp index fc2ded672..528f63443 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.cpp @@ -1,166 +1,243 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry( void *args ) { - return ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, (LeaderboardEntry_t *)pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, params->pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h deleted file mode 100644 index da226835d..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h +++ /dev/null @@ -1,30 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, LeaderboardEntry_t *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp index ad98c770a..14bf8f0dc 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.cpp @@ -1,175 +1,253 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_111x -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_111x * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( void *args ) { - LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_111x(pLeaderboardEntry, &lin_pLeaderboardEntry); - bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_111x(&lin_pLeaderboardEntry, pLeaderboardEntry); - return retval; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + u_LeaderboardEntry_t_111x u_pLeaderboardEntry = *params->pLeaderboardEntry; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &u_pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + *params->pLeaderboardEntry = u_pLeaderboardEntry; + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( void *args ) { - return ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h deleted file mode 100644 index 6ee45a516..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h +++ /dev/null @@ -1,31 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_111x *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp index d8d1d8ce5..023a3c58d 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.cpp @@ -1,180 +1,261 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_113/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_113 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_113 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry( void *args ) { - LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_113(pLeaderboardEntry, &lin_pLeaderboardEntry); - bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_113(&lin_pLeaderboardEntry, pLeaderboardEntry); - return retval; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + u_LeaderboardEntry_t_111x u_pLeaderboardEntry = *params->pLeaderboardEntry; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &u_pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + *params->pLeaderboardEntry = u_pLeaderboardEntry; + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC( void *args ) { - return ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h deleted file mode 100644 index 6da525ec3..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h +++ /dev/null @@ -1,32 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_113 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(void *); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp index 96483963d..1a2e2f01f 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.cpp @@ -1,225 +1,333 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_119 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_119 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry( void *args ) { - LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_119(pLeaderboardEntry, &lin_pLeaderboardEntry); - bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_119(&lin_pLeaderboardEntry, pLeaderboardEntry); - return retval; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + u_LeaderboardEntry_t_111x u_pLeaderboardEntry = *params->pLeaderboardEntry; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &u_pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + *params->pLeaderboardEntry = u_pLeaderboardEntry; + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC( void *args ) { - return ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RequestGlobalAchievementPercentages( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(void *linux_side, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetMostAchievedAchievementInfo( params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetNextMostAchievedAchievementInfo( params->iIteratorPrevious, params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(void *linux_side, const char * pchName, float * pflPercent) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetAchievementAchievedPercent( params->pchName, params->pflPercent ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(void *linux_side, int nHistoryDays) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->RequestGlobalStats( params->nHistoryDays ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(void *linux_side, const char * pchStatName, int64 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(void *linux_side, const char * pchStatName, double * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(void *linux_side, const char * pchStatName, int64 * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(void *linux_side, const char * pchStatName, double * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h deleted file mode 100644 index 4a2d6b15f..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h +++ /dev/null @@ -1,41 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_119 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(void *, const char *, double *, uint32); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp index d17a5e262..3a4bc8894 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.cpp @@ -1,236 +1,349 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_148a/steam_api.h" -#include "steamworks_sdk_148a/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_148a -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumAchievements(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetNumAchievements( ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(void *linux_side, uint32 iAchievement) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementName((uint32)iAchievement); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievementName( params->iAchievement ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_148a * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( void *args ) { - LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_148a(pLeaderboardEntry, &lin_pLeaderboardEntry); - bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_148a(&lin_pLeaderboardEntry, pLeaderboardEntry); - return retval; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + u_LeaderboardEntry_t_123 u_pLeaderboardEntry = *params->pLeaderboardEntry; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &u_pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + *params->pLeaderboardEntry = u_pLeaderboardEntry; + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( void *args ) { - return ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->RequestGlobalAchievementPercentages( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(void *linux_side, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetMostAchievedAchievementInfo( params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetNextMostAchievedAchievementInfo( params->iIteratorPrevious, params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(void *linux_side, const char * pchName, float * pflPercent) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetAchievementAchievedPercent( params->pchName, params->pflPercent ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(void *linux_side, int nHistoryDays) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->RequestGlobalStats( params->nHistoryDays ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(void *linux_side, const char * pchStatName, int64 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(void *linux_side, const char * pchStatName, double * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(void *linux_side, const char * pchStatName, int64 * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(void *linux_side, const char * pchStatName, double * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h deleted file mode 100644 index d71f931a0..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h +++ /dev/null @@ -1,43 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(void *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(void *, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_148a *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(void *, const char *, double *, uint32); diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp index 05fe6206f..08d636c01 100644 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp +++ b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.cpp @@ -1,246 +1,365 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h" -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestCurrentStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RequestCurrentStats( ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(void *linux_side, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(void *linux_side, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetStat((const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetStat( params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(void *linux_side, const char * pchName, int32 nData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (int32)nData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->nData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(void *linux_side, const char * pchName, float fData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->SetStat((const char *)pchName, (float)fData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetStat( params->pchName, params->fData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(void *linux_side, const char * pchName, float flCountThisSession, double dSessionLength) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( void *args ) { - return ((ISteamUserStats*)linux_side)->UpdateAvgRateStat((const char *)pchName, (float)flCountThisSession, (double)dSessionLength); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UpdateAvgRateStat( params->pchName, params->flCountThisSession, params->dSessionLength ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(void *linux_side, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievement((const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievement( params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->SetAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->SetAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->ClearAchievement((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->ClearAchievement( params->pchName ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(void *linux_side, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAndUnlockTime((const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementAndUnlockTime( params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( void *args ) { - return ((ISteamUserStats*)linux_side)->StoreStats(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->StoreStats( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(void *linux_side, const char * pchName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementIcon((const char *)pchName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementIcon( params->pchName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(void *linux_side, const char * pchName, const char * pchKey) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementDisplayAttribute((const char *)pchName, (const char *)pchKey); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementDisplayAttribute( params->pchName, params->pchKey ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(void *linux_side, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( void *args ) { - return ((ISteamUserStats*)linux_side)->IndicateAchievementProgress((const char *)pchName, (uint32)nCurProgress, (uint32)nMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->IndicateAchievementProgress( params->pchName, params->nCurProgress, params->nMaxProgress ); + return 0; } -uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumAchievements(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetNumAchievements( ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(void *linux_side, uint32 iAchievement) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementName((uint32)iAchievement); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementName( params->iAchievement ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(void *linux_side, CSteamID steamIDUser) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestUserStats((CSteamID)steamIDUser); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RequestUserStats( params->steamIDUser ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(void *linux_side, CSteamID steamIDUser, const char * pchName, int32 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (int32 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(void *linux_side, CSteamID steamIDUser, const char * pchName, float * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserStat((CSteamID)steamIDUser, (const char *)pchName, (float *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserStat( params->steamIDUser, params->pchName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievement((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserAchievement( params->steamIDUser, params->pchName, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(void *linux_side, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( void *args ) { - return ((ISteamUserStats*)linux_side)->GetUserAchievementAndUnlockTime((CSteamID)steamIDUser, (const char *)pchName, (bool *)pbAchieved, (uint32 *)punUnlockTime); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetUserAchievementAndUnlockTime( params->steamIDUser, params->pchName, params->pbAchieved, params->punUnlockTime ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(void *linux_side, bool bAchievementsToo) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( void *args ) { - return ((ISteamUserStats*)linux_side)->ResetAllStats((bool)bAchievementsToo); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->ResetAllStats( params->bAchievementsToo ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(void *linux_side, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindOrCreateLeaderboard((const char *)pchLeaderboardName, (ELeaderboardSortMethod)eLeaderboardSortMethod, (ELeaderboardDisplayType)eLeaderboardDisplayType); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FindOrCreateLeaderboard( params->pchLeaderboardName, params->eLeaderboardSortMethod, params->eLeaderboardDisplayType ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(void *linux_side, const char * pchLeaderboardName) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( void *args ) { - return ((ISteamUserStats*)linux_side)->FindLeaderboard((const char *)pchLeaderboardName); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->FindLeaderboard( params->pchLeaderboardName ); + return 0; } -const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardName((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetLeaderboardName( params->hSteamLeaderboard ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardEntryCount((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetLeaderboardEntryCount( params->hSteamLeaderboard ); + return 0; } -ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardSortMethod((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetLeaderboardSortMethod( params->hSteamLeaderboard ); + return 0; } -ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *linux_side, SteamLeaderboard_t hSteamLeaderboard) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( void *args ) { - return ((ISteamUserStats*)linux_side)->GetLeaderboardDisplayType((SteamLeaderboard_t)hSteamLeaderboard); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetLeaderboardDisplayType( params->hSteamLeaderboard ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntries((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardDataRequest)eLeaderboardDataRequest, (int)nRangeStart, (int)nRangeEnd); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntries( params->hSteamLeaderboard, params->eLeaderboardDataRequest, params->nRangeStart, params->nRangeEnd ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( void *args ) { - return ((ISteamUserStats*)linux_side)->DownloadLeaderboardEntriesForUsers((SteamLeaderboard_t)hSteamLeaderboard, (CSteamID *)prgUsers, (int)cUsers); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->DownloadLeaderboardEntriesForUsers( params->hSteamLeaderboard, params->prgUsers, params->cUsers ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *linux_side, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_157 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( void *args ) { - LeaderboardEntry_t lin_pLeaderboardEntry; - win_to_lin_struct_LeaderboardEntry_t_157(pLeaderboardEntry, &lin_pLeaderboardEntry); - bool retval = ((ISteamUserStats*)linux_side)->GetDownloadedLeaderboardEntry((SteamLeaderboardEntries_t)hSteamLeaderboardEntries, (int)index, &lin_pLeaderboardEntry, (int32 *)pDetails, (int)cDetailsMax); - lin_to_win_struct_LeaderboardEntry_t_157(&lin_pLeaderboardEntry, pLeaderboardEntry); - return retval; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + u_LeaderboardEntry_t_123 u_pLeaderboardEntry = *params->pLeaderboardEntry; + params->_ret = iface->GetDownloadedLeaderboardEntry( params->hSteamLeaderboardEntries, params->index, &u_pLeaderboardEntry, params->pDetails, params->cDetailsMax ); + *params->pLeaderboardEntry = u_pLeaderboardEntry; + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( void *args ) { - return ((ISteamUserStats*)linux_side)->UploadLeaderboardScore((SteamLeaderboard_t)hSteamLeaderboard, (ELeaderboardUploadScoreMethod)eLeaderboardUploadScoreMethod, (int32)nScore, (const int32 *)pScoreDetails, (int)cScoreDetailsCount); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->UploadLeaderboardScore( params->hSteamLeaderboard, params->eLeaderboardUploadScoreMethod, params->nScore, params->pScoreDetails, params->cScoreDetailsCount ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *linux_side, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( void *args ) { - return ((ISteamUserStats*)linux_side)->AttachLeaderboardUGC((SteamLeaderboard_t)hSteamLeaderboard, (UGCHandle_t)hUGC); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->AttachLeaderboardUGC( params->hSteamLeaderboard, params->hUGC ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNumberOfCurrentPlayers(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetNumberOfCurrentPlayers( ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(void *linux_side) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalAchievementPercentages(); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RequestGlobalAchievementPercentages( ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(void *linux_side, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetMostAchievedAchievementInfo((char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetMostAchievedAchievementInfo( params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(void *linux_side, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( void *args ) { - return ((ISteamUserStats*)linux_side)->GetNextMostAchievedAchievementInfo((int)iIteratorPrevious, (char *)pchName, (uint32)unNameBufLen, (float *)pflPercent, (bool *)pbAchieved); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetNextMostAchievedAchievementInfo( params->iIteratorPrevious, params->pchName, params->unNameBufLen, params->pflPercent, params->pbAchieved ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(void *linux_side, const char * pchName, float * pflPercent) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementAchievedPercent((const char *)pchName, (float *)pflPercent); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementAchievedPercent( params->pchName, params->pflPercent ); + return 0; } -SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(void *linux_side, int nHistoryDays) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( void *args ) { - return ((ISteamUserStats*)linux_side)->RequestGlobalStats((int)nHistoryDays); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->RequestGlobalStats( params->nHistoryDays ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(void *linux_side, const char * pchStatName, int64 * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (int64 *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(void *linux_side, const char * pchStatName, double * pData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStat((const char *)pchStatName, (double *)pData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetGlobalStat( params->pchStatName, params->pData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(void *linux_side, const char * pchStatName, int64 * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (int64 *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(void *linux_side, const char * pchStatName, double * pData, uint32 cubData) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetGlobalStatHistory((const char *)pchStatName, (double *)pData, (uint32)cubData); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetGlobalStatHistory( params->pchStatName, params->pData, params->cubData ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(void *linux_side, const char * pchName, int32 * pnMinProgress, int32 * pnMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementProgressLimits((const char *)pchName, (int32 *)pnMinProgress, (int32 *)pnMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementProgressLimits( params->pchName, params->pnMinProgress, params->pnMaxProgress ); + return 0; } -bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(void *linux_side, const char * pchName, float * pfMinProgress, float * pfMaxProgress) +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( void *args ) { - return ((ISteamUserStats*)linux_side)->GetAchievementProgressLimits((const char *)pchName, (float *)pfMinProgress, (float *)pfMaxProgress); + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params *params = (struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params *)args; + struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *iface = (struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *)params->linux_side; + params->_ret = iface->GetAchievementProgressLimits( params->pchName, params->pfMinProgress, params->pfMaxProgress ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h b/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h deleted file mode 100644 index c89c75448..000000000 --- a/lsteamclient/cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h +++ /dev/null @@ -1,45 +0,0 @@ -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(void *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(void *, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(void *, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(void *, const char *, int32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(void *, const char *, float); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(void *, const char *, float, double); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(void *, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(void *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(void *, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(void *, const char *, const char *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(void *, const char *, uint32, uint32); -extern uint32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(void *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(void *, uint32); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(void *, CSteamID); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(void *, CSteamID, const char *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(void *, CSteamID, const char *, float *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(void *, CSteamID, const char *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(void *, CSteamID, const char *, bool *, uint32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(void *, bool); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(void *, const char *, ELeaderboardSortMethod, ELeaderboardDisplayType); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(void *, const char *); -extern const char * cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(void *, SteamLeaderboard_t); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(void *, SteamLeaderboard_t); -extern ELeaderboardSortMethod cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(void *, SteamLeaderboard_t); -extern ELeaderboardDisplayType cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(void *, SteamLeaderboard_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(void *, SteamLeaderboard_t, ELeaderboardDataRequest, int, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(void *, SteamLeaderboard_t, CSteamID *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(void *, SteamLeaderboardEntries_t, int, winLeaderboardEntry_t_157 *, int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(void *, SteamLeaderboard_t, ELeaderboardUploadScoreMethod, int32, const int32 *, int); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(void *, SteamLeaderboard_t, UGCHandle_t); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(void *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(void *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(void *, char *, uint32, float *, bool *); -extern int cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(void *, int, char *, uint32, float *, bool *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(void *, const char *, float *); -extern SteamAPICall_t cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(void *, int); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(void *, const char *, int64 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(void *, const char *, double *); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(void *, const char *, int64 *, uint32); -extern int32 cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(void *, const char *, double *, uint32); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(void *, const char *, int32 *, int32 *); -extern bool cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(void *, const char *, float *, float *); diff --git a/lsteamclient/cppISteamUser_SteamUser004.cpp b/lsteamclient/cppISteamUser_SteamUser004.cpp index 154c3d19e..274c0bce7 100644 --- a/lsteamclient/cppISteamUser_SteamUser004.cpp +++ b/lsteamclient/cppISteamUser_SteamUser004.cpp @@ -1,146 +1,211 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099u/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099u -#include "struct_converters.h" -#include "cppISteamUser_SteamUser004.h" -HSteamUser cppISteamUser_SteamUser004_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser004_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser004_GetHSteamUser_params *params = (struct ISteamUser_SteamUser004_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -void cppISteamUser_SteamUser004_LogOn(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser004_LogOn( void *args ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + struct ISteamUser_SteamUser004_LogOn_params *params = (struct ISteamUser_SteamUser004_LogOn_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->LogOn( params->steamID ); + return 0; } -void cppISteamUser_SteamUser004_LogOff(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_LogOff( void *args ) { - ((ISteamUser*)linux_side)->LogOff(); + struct ISteamUser_SteamUser004_LogOff_params *params = (struct ISteamUser_SteamUser004_LogOff_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamUser_SteamUser004_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser004_BLoggedOn_params *params = (struct ISteamUser_SteamUser004_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -ELogonState cppISteamUser_SteamUser004_GetLogonState(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_GetLogonState( void *args ) { - return ((ISteamUser*)linux_side)->GetLogonState(); + struct ISteamUser_SteamUser004_GetLogonState_params *params = (struct ISteamUser_SteamUser004_GetLogonState_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->GetLogonState( ); + return 0; } -bool cppISteamUser_SteamUser004_BConnected(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_BConnected( void *args ) { - return ((ISteamUser*)linux_side)->BConnected(); + struct ISteamUser_SteamUser004_BConnected_params *params = (struct ISteamUser_SteamUser004_BConnected_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->BConnected( ); + return 0; } -CSteamID cppISteamUser_SteamUser004_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser004_GetSteamID_params *params = (struct ISteamUser_SteamUser004_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamUser_SteamUser004_IsVACBanned(void *linux_side, int nGameID) +NTSTATUS ISteamUser_SteamUser004_IsVACBanned( void *args ) { - return ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID); + struct ISteamUser_SteamUser004_IsVACBanned_params *params = (struct ISteamUser_SteamUser004_IsVACBanned_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->IsVACBanned( params->nGameID ); + return 0; } -bool cppISteamUser_SteamUser004_RequireShowVACBannedMessage(void *linux_side, int nGameID) +NTSTATUS ISteamUser_SteamUser004_RequireShowVACBannedMessage( void *args ) { - return ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nGameID); + struct ISteamUser_SteamUser004_RequireShowVACBannedMessage_params *params = (struct ISteamUser_SteamUser004_RequireShowVACBannedMessage_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->RequireShowVACBannedMessage( params->nGameID ); + return 0; } -void cppISteamUser_SteamUser004_AcknowledgeVACBanning(void *linux_side, int nGameID) +NTSTATUS ISteamUser_SteamUser004_AcknowledgeVACBanning( void *args ) { - ((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nGameID); + struct ISteamUser_SteamUser004_AcknowledgeVACBanning_params *params = (struct ISteamUser_SteamUser004_AcknowledgeVACBanning_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->AcknowledgeVACBanning( params->nGameID ); + return 0; } -int cppISteamUser_SteamUser004_NClientGameIDAdd(void *linux_side, int nGameID) +NTSTATUS ISteamUser_SteamUser004_NClientGameIDAdd( void *args ) { - return ((ISteamUser*)linux_side)->NClientGameIDAdd((int)nGameID); + struct ISteamUser_SteamUser004_NClientGameIDAdd_params *params = (struct ISteamUser_SteamUser004_NClientGameIDAdd_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->NClientGameIDAdd( params->nGameID ); + return 0; } -void cppISteamUser_SteamUser004_RemoveClientGame(void *linux_side, int nClientGameID) +NTSTATUS ISteamUser_SteamUser004_RemoveClientGame( void *args ) { - ((ISteamUser*)linux_side)->RemoveClientGame((int)nClientGameID); + struct ISteamUser_SteamUser004_RemoveClientGame_params *params = (struct ISteamUser_SteamUser004_RemoveClientGame_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->RemoveClientGame( params->nClientGameID ); + return 0; } -void cppISteamUser_SteamUser004_SetClientGameServer(void *linux_side, int nClientGameID, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser004_SetClientGameServer( void *args ) { - ((ISteamUser*)linux_side)->SetClientGameServer((int)nClientGameID, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser004_SetClientGameServer_params *params = (struct ISteamUser_SteamUser004_SetClientGameServer_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->SetClientGameServer( params->nClientGameID, params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser004_SetSteam2Ticket(void *linux_side, uint8 * pubTicket, int cubTicket) +NTSTATUS ISteamUser_SteamUser004_SetSteam2Ticket( void *args ) { - ((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket); + struct ISteamUser_SteamUser004_SetSteam2Ticket_params *params = (struct ISteamUser_SteamUser004_SetSteam2Ticket_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->SetSteam2Ticket( params->pubTicket, params->cubTicket ); + return 0; } -void cppISteamUser_SteamUser004_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort) +NTSTATUS ISteamUser_SteamUser004_AddServerNetAddress( void *args ) { - ((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort); + struct ISteamUser_SteamUser004_AddServerNetAddress_params *params = (struct ISteamUser_SteamUser004_AddServerNetAddress_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->AddServerNetAddress( params->unIP, params->unPort ); + return 0; } -bool cppISteamUser_SteamUser004_SetEmail(void *linux_side, const char * pchEmail) +NTSTATUS ISteamUser_SteamUser004_SetEmail( void *args ) { - return ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail); + struct ISteamUser_SteamUser004_SetEmail_params *params = (struct ISteamUser_SteamUser004_SetEmail_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->SetEmail( params->pchEmail ); + return 0; } -int cppISteamUser_SteamUser004_GetSteamGameConnectToken(void *linux_side, void * pBlob, int cbMaxBlob) +NTSTATUS ISteamUser_SteamUser004_GetSteamGameConnectToken( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamGameConnectToken((void *)pBlob, (int)cbMaxBlob); + struct ISteamUser_SteamUser004_GetSteamGameConnectToken_params *params = (struct ISteamUser_SteamUser004_GetSteamGameConnectToken_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->GetSteamGameConnectToken( params->pBlob, params->cbMaxBlob ); + return 0; } -bool cppISteamUser_SteamUser004_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUser_SteamUser004_SetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); + struct ISteamUser_SteamUser004_SetRegistryString_params *params = (struct ISteamUser_SteamUser004_SetRegistryString_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->SetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUser_SteamUser004_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +NTSTATUS ISteamUser_SteamUser004_GetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); + struct ISteamUser_SteamUser004_GetRegistryString_params *params = (struct ISteamUser_SteamUser004_GetRegistryString_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->GetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue, params->cbValue ); + return 0; } -bool cppISteamUser_SteamUser004_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +NTSTATUS ISteamUser_SteamUser004_SetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); + struct ISteamUser_SteamUser004_SetRegistryInt_params *params = (struct ISteamUser_SteamUser004_SetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->SetRegistryInt( params->eRegistrySubTree, params->pchKey, params->iValue ); + return 0; } -bool cppISteamUser_SteamUser004_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +NTSTATUS ISteamUser_SteamUser004_GetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); + struct ISteamUser_SteamUser004_GetRegistryInt_params *params = (struct ISteamUser_SteamUser004_GetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->GetRegistryInt( params->eRegistrySubTree, params->pchKey, params->piValue ); + return 0; } -int cppISteamUser_SteamUser004_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, int nGameAppID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser004_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (int)nGameAppID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser004_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser004_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, params->nGameAppID, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser004_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser004_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser004_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser004_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination( void *args ) { - ((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination(); + struct ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params *params = (struct ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->SetSelfAsPrimaryChatDestination( ); + return 0; } -bool cppISteamUser_SteamUser004_IsPrimaryChatDestination(void *linux_side) +NTSTATUS ISteamUser_SteamUser004_IsPrimaryChatDestination( void *args ) { - return ((ISteamUser*)linux_side)->IsPrimaryChatDestination(); + struct ISteamUser_SteamUser004_IsPrimaryChatDestination_params *params = (struct ISteamUser_SteamUser004_IsPrimaryChatDestination_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + params->_ret = iface->IsPrimaryChatDestination( ); + return 0; } -void cppISteamUser_SteamUser004_RequestLegacyCDKey(void *linux_side, uint32 iAppID) +NTSTATUS ISteamUser_SteamUser004_RequestLegacyCDKey( void *args ) { - ((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)iAppID); + struct ISteamUser_SteamUser004_RequestLegacyCDKey_params *params = (struct ISteamUser_SteamUser004_RequestLegacyCDKey_params *)args; + struct u_ISteamUser_SteamUser004 *iface = (struct u_ISteamUser_SteamUser004 *)params->linux_side; + iface->RequestLegacyCDKey( params->iAppID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser004.h b/lsteamclient/cppISteamUser_SteamUser004.h deleted file mode 100644 index bb78c655b..000000000 --- a/lsteamclient/cppISteamUser_SteamUser004.h +++ /dev/null @@ -1,26 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser004_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser004_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser004_LogOff(void *); -extern bool cppISteamUser_SteamUser004_BLoggedOn(void *); -extern ELogonState cppISteamUser_SteamUser004_GetLogonState(void *); -extern bool cppISteamUser_SteamUser004_BConnected(void *); -extern CSteamID cppISteamUser_SteamUser004_GetSteamID(void *); -extern bool cppISteamUser_SteamUser004_IsVACBanned(void *, int); -extern bool cppISteamUser_SteamUser004_RequireShowVACBannedMessage(void *, int); -extern void cppISteamUser_SteamUser004_AcknowledgeVACBanning(void *, int); -extern int cppISteamUser_SteamUser004_NClientGameIDAdd(void *, int); -extern void cppISteamUser_SteamUser004_RemoveClientGame(void *, int); -extern void cppISteamUser_SteamUser004_SetClientGameServer(void *, int, uint32, uint16); -extern void cppISteamUser_SteamUser004_SetSteam2Ticket(void *, uint8 *, int); -extern void cppISteamUser_SteamUser004_AddServerNetAddress(void *, uint32, uint16); -extern bool cppISteamUser_SteamUser004_SetEmail(void *, const char *); -extern int cppISteamUser_SteamUser004_GetSteamGameConnectToken(void *, void *, int); -extern bool cppISteamUser_SteamUser004_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser004_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser004_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser004_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser004_InitiateGameConnection(void *, void *, int, CSteamID, int, uint32, uint16, bool); -extern void cppISteamUser_SteamUser004_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(void *); -extern bool cppISteamUser_SteamUser004_IsPrimaryChatDestination(void *); -extern void cppISteamUser_SteamUser004_RequestLegacyCDKey(void *, uint32); diff --git a/lsteamclient/cppISteamUser_SteamUser005.cpp b/lsteamclient/cppISteamUser_SteamUser005.cpp index 38bbb47c7..34a738835 100644 --- a/lsteamclient/cppISteamUser_SteamUser005.cpp +++ b/lsteamclient/cppISteamUser_SteamUser005.cpp @@ -1,211 +1,315 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099v/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099v -#include "struct_converters.h" -#include "cppISteamUser_SteamUser005.h" -HSteamUser cppISteamUser_SteamUser005_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser005_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser005_GetHSteamUser_params *params = (struct ISteamUser_SteamUser005_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -void cppISteamUser_SteamUser005_LogOn(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser005_LogOn( void *args ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + struct ISteamUser_SteamUser005_LogOn_params *params = (struct ISteamUser_SteamUser005_LogOn_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->LogOn( params->steamID ); + return 0; } -void cppISteamUser_SteamUser005_LogOff(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_LogOff( void *args ) { - ((ISteamUser*)linux_side)->LogOff(); + struct ISteamUser_SteamUser005_LogOff_params *params = (struct ISteamUser_SteamUser005_LogOff_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamUser_SteamUser005_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser005_BLoggedOn_params *params = (struct ISteamUser_SteamUser005_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -ELogonState cppISteamUser_SteamUser005_GetLogonState(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_GetLogonState( void *args ) { - return ((ISteamUser*)linux_side)->GetLogonState(); + struct ISteamUser_SteamUser005_GetLogonState_params *params = (struct ISteamUser_SteamUser005_GetLogonState_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetLogonState( ); + return 0; } -bool cppISteamUser_SteamUser005_BConnected(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_BConnected( void *args ) { - return ((ISteamUser*)linux_side)->BConnected(); + struct ISteamUser_SteamUser005_BConnected_params *params = (struct ISteamUser_SteamUser005_BConnected_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->BConnected( ); + return 0; } -CSteamID cppISteamUser_SteamUser005_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser005_GetSteamID_params *params = (struct ISteamUser_SteamUser005_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamUser_SteamUser005_IsVACBanned(void *linux_side, int nGameID) +NTSTATUS ISteamUser_SteamUser005_IsVACBanned( void *args ) { - return ((ISteamUser*)linux_side)->IsVACBanned((int)nGameID); + struct ISteamUser_SteamUser005_IsVACBanned_params *params = (struct ISteamUser_SteamUser005_IsVACBanned_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->IsVACBanned( params->nGameID ); + return 0; } -bool cppISteamUser_SteamUser005_RequireShowVACBannedMessage(void *linux_side, int nAppID) +NTSTATUS ISteamUser_SteamUser005_RequireShowVACBannedMessage( void *args ) { - return ((ISteamUser*)linux_side)->RequireShowVACBannedMessage((int)nAppID); + struct ISteamUser_SteamUser005_RequireShowVACBannedMessage_params *params = (struct ISteamUser_SteamUser005_RequireShowVACBannedMessage_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->RequireShowVACBannedMessage( params->nAppID ); + return 0; } -void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *linux_side, int nAppID) +NTSTATUS ISteamUser_SteamUser005_AcknowledgeVACBanning( void *args ) { - ((ISteamUser*)linux_side)->AcknowledgeVACBanning((int)nAppID); + struct ISteamUser_SteamUser005_AcknowledgeVACBanning_params *params = (struct ISteamUser_SteamUser005_AcknowledgeVACBanning_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->AcknowledgeVACBanning( params->nAppID ); + return 0; } -void cppISteamUser_SteamUser005_SetSteam2Ticket(void *linux_side, uint8 * pubTicket, int cubTicket) +NTSTATUS ISteamUser_SteamUser005_SetSteam2Ticket( void *args ) { - ((ISteamUser*)linux_side)->SetSteam2Ticket((uint8 *)pubTicket, (int)cubTicket); + struct ISteamUser_SteamUser005_SetSteam2Ticket_params *params = (struct ISteamUser_SteamUser005_SetSteam2Ticket_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->SetSteam2Ticket( params->pubTicket, params->cubTicket ); + return 0; } -void cppISteamUser_SteamUser005_AddServerNetAddress(void *linux_side, uint32 unIP, uint16 unPort) +NTSTATUS ISteamUser_SteamUser005_AddServerNetAddress( void *args ) { - ((ISteamUser*)linux_side)->AddServerNetAddress((uint32)unIP, (uint16)unPort); + struct ISteamUser_SteamUser005_AddServerNetAddress_params *params = (struct ISteamUser_SteamUser005_AddServerNetAddress_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->AddServerNetAddress( params->unIP, params->unPort ); + return 0; } -bool cppISteamUser_SteamUser005_SetEmail(void *linux_side, const char * pchEmail) +NTSTATUS ISteamUser_SteamUser005_SetEmail( void *args ) { - return ((ISteamUser*)linux_side)->SetEmail((const char *)pchEmail); + struct ISteamUser_SteamUser005_SetEmail_params *params = (struct ISteamUser_SteamUser005_SetEmail_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SetEmail( params->pchEmail ); + return 0; } -bool cppISteamUser_SteamUser005_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUser_SteamUser005_SetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); + struct ISteamUser_SteamUser005_SetRegistryString_params *params = (struct ISteamUser_SteamUser005_SetRegistryString_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUser_SteamUser005_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +NTSTATUS ISteamUser_SteamUser005_GetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); + struct ISteamUser_SteamUser005_GetRegistryString_params *params = (struct ISteamUser_SteamUser005_GetRegistryString_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue, params->cbValue ); + return 0; } -bool cppISteamUser_SteamUser005_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +NTSTATUS ISteamUser_SteamUser005_SetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); + struct ISteamUser_SteamUser005_SetRegistryInt_params *params = (struct ISteamUser_SteamUser005_SetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SetRegistryInt( params->eRegistrySubTree, params->pchKey, params->iValue ); + return 0; } -bool cppISteamUser_SteamUser005_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +NTSTATUS ISteamUser_SteamUser005_GetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); + struct ISteamUser_SteamUser005_GetRegistryInt_params *params = (struct ISteamUser_SteamUser005_GetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetRegistryInt( params->eRegistrySubTree, params->pchKey, params->piValue ); + return 0; } -int cppISteamUser_SteamUser005_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser005_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser005_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser005_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, params->gameID, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser005_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser005_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser005_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser005_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( void *args ) { - ((ISteamUser*)linux_side)->SetSelfAsPrimaryChatDestination(); + struct ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params *params = (struct ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->SetSelfAsPrimaryChatDestination( ); + return 0; } -bool cppISteamUser_SteamUser005_IsPrimaryChatDestination(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_IsPrimaryChatDestination( void *args ) { - return ((ISteamUser*)linux_side)->IsPrimaryChatDestination(); + struct ISteamUser_SteamUser005_IsPrimaryChatDestination_params *params = (struct ISteamUser_SteamUser005_IsPrimaryChatDestination_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->IsPrimaryChatDestination( ); + return 0; } -void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *linux_side, uint32 nAppID) +NTSTATUS ISteamUser_SteamUser005_RequestLegacyCDKey( void *args ) { - ((ISteamUser*)linux_side)->RequestLegacyCDKey((uint32)nAppID); + struct ISteamUser_SteamUser005_RequestLegacyCDKey_params *params = (struct ISteamUser_SteamUser005_RequestLegacyCDKey_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->RequestLegacyCDKey( params->nAppID ); + return 0; } -bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *linux_side, const char * pchEmailAccount, GID_t gidGuestPassID, bool bResending) +NTSTATUS ISteamUser_SteamUser005_SendGuestPassByEmail( void *args ) { - return ((ISteamUser*)linux_side)->SendGuestPassByEmail((const char *)pchEmailAccount, (GID_t)gidGuestPassID, (bool)bResending); + struct ISteamUser_SteamUser005_SendGuestPassByEmail_params *params = (struct ISteamUser_SteamUser005_SendGuestPassByEmail_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SendGuestPassByEmail( params->pchEmailAccount, params->gidGuestPassID, params->bResending ); + return 0; } -bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *linux_side, uint32 uAccountID, GID_t gidGuestPassID, bool bResending) +NTSTATUS ISteamUser_SteamUser005_SendGuestPassByAccountID( void *args ) { - return ((ISteamUser*)linux_side)->SendGuestPassByAccountID((uint32)uAccountID, (GID_t)gidGuestPassID, (bool)bResending); + struct ISteamUser_SteamUser005_SendGuestPassByAccountID_params *params = (struct ISteamUser_SteamUser005_SendGuestPassByAccountID_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SendGuestPassByAccountID( params->uAccountID, params->gidGuestPassID, params->bResending ); + return 0; } -bool cppISteamUser_SteamUser005_AckGuestPass(void *linux_side, const char * pchGuestPassCode) +NTSTATUS ISteamUser_SteamUser005_AckGuestPass( void *args ) { - return ((ISteamUser*)linux_side)->AckGuestPass((const char *)pchGuestPassCode); + struct ISteamUser_SteamUser005_AckGuestPass_params *params = (struct ISteamUser_SteamUser005_AckGuestPass_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->AckGuestPass( params->pchGuestPassCode ); + return 0; } -bool cppISteamUser_SteamUser005_RedeemGuestPass(void *linux_side, const char * pchGuestPassCode) +NTSTATUS ISteamUser_SteamUser005_RedeemGuestPass( void *args ) { - return ((ISteamUser*)linux_side)->RedeemGuestPass((const char *)pchGuestPassCode); + struct ISteamUser_SteamUser005_RedeemGuestPass_params *params = (struct ISteamUser_SteamUser005_RedeemGuestPass_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->RedeemGuestPass( params->pchGuestPassCode ); + return 0; } -uint32 cppISteamUser_SteamUser005_GetGuestPassToGiveCount(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToGiveCount( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToGiveCount(); + struct ISteamUser_SteamUser005_GetGuestPassToGiveCount_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToGiveCount_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToGiveCount( ); + return 0; } -uint32 cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemCount( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToRedeemCount(); + struct ISteamUser_SteamUser005_GetGuestPassToRedeemCount_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToRedeemCount_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToRedeemCount( ); + return 0; } -RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *linux_side) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassLastUpdateTime( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassLastUpdateTime(); + struct ISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params *params = (struct ISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassLastUpdateTime( ); + return 0; } -bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *linux_side, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed, char * pchRecipientAddress, int cRecipientAddressSize) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToGiveInfo( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToGiveInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed, (char *)pchRecipientAddress, (int)cRecipientAddressSize); + struct ISteamUser_SteamUser005_GetGuestPassToGiveInfo_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToGiveInfo_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToGiveInfo( params->nPassIndex, params->pgidGuestPassID, params->pnPackageID, params->pRTime32Created, params->pRTime32Expiration, params->pRTime32Sent, params->pRTime32Redeemed, params->pchRecipientAddress, params->cRecipientAddressSize ); + return 0; } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *linux_side, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemInfo( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToRedeemInfo((uint32)nPassIndex, (GID_t *)pgidGuestPassID, (PackageId_t *)pnPackageID, (RTime32 *)pRTime32Created, (RTime32 *)pRTime32Expiration, (RTime32 *)pRTime32Sent, (RTime32 *)pRTime32Redeemed); + struct ISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToRedeemInfo( params->nPassIndex, params->pgidGuestPassID, params->pnPackageID, params->pRTime32Created, params->pRTime32Expiration, params->pRTime32Sent, params->pRTime32Redeemed ); + return 0; } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *linux_side, uint32 nPassIndex, char * pchSenderAddress, int cSenderAddressSize) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderAddress((uint32)nPassIndex, (char *)pchSenderAddress, (int)cSenderAddressSize); + struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToRedeemSenderAddress( params->nPassIndex, params->pchSenderAddress, params->cSenderAddressSize ); + return 0; } -bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *linux_side, uint32 nPassIndex, char * pchSenderName, int cSenderNameSize) +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( void *args ) { - return ((ISteamUser*)linux_side)->GetGuestPassToRedeemSenderName((uint32)nPassIndex, (char *)pchSenderName, (int)cSenderNameSize); + struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params *params = (struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->GetGuestPassToRedeemSenderName( params->nPassIndex, params->pchSenderName, params->cSenderNameSize ); + return 0; } -void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *linux_side, const char * pchMessageGID) +NTSTATUS ISteamUser_SteamUser005_AcknowledgeMessageByGID( void *args ) { - ((ISteamUser*)linux_side)->AcknowledgeMessageByGID((const char *)pchMessageGID); + struct ISteamUser_SteamUser005_AcknowledgeMessageByGID_params *params = (struct ISteamUser_SteamUser005_AcknowledgeMessageByGID_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->AcknowledgeMessageByGID( params->pchMessageGID ); + return 0; } -bool cppISteamUser_SteamUser005_SetLanguage(void *linux_side, const char * pchLanguage) +NTSTATUS ISteamUser_SteamUser005_SetLanguage( void *args ) { - return ((ISteamUser*)linux_side)->SetLanguage((const char *)pchLanguage); + struct ISteamUser_SteamUser005_SetLanguage_params *params = (struct ISteamUser_SteamUser005_SetLanguage_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + params->_ret = iface->SetLanguage( params->pchLanguage ); + return 0; } -void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser005_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser005_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser005_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -void cppISteamUser_SteamUser005_SetAccountName(void *linux_side, const char * pchAccountName) +NTSTATUS ISteamUser_SteamUser005_SetAccountName( void *args ) { - ((ISteamUser*)linux_side)->SetAccountName((const char *)pchAccountName); + struct ISteamUser_SteamUser005_SetAccountName_params *params = (struct ISteamUser_SteamUser005_SetAccountName_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->SetAccountName( params->pchAccountName ); + return 0; } -void cppISteamUser_SteamUser005_SetPassword(void *linux_side, const char * pchPassword) +NTSTATUS ISteamUser_SteamUser005_SetPassword( void *args ) { - ((ISteamUser*)linux_side)->SetPassword((const char *)pchPassword); + struct ISteamUser_SteamUser005_SetPassword_params *params = (struct ISteamUser_SteamUser005_SetPassword_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->SetPassword( params->pchPassword ); + return 0; } -void cppISteamUser_SteamUser005_SetAccountCreationTime(void *linux_side, RTime32 rt) +NTSTATUS ISteamUser_SteamUser005_SetAccountCreationTime( void *args ) { - ((ISteamUser*)linux_side)->SetAccountCreationTime((RTime32)rt); + struct ISteamUser_SteamUser005_SetAccountCreationTime_params *params = (struct ISteamUser_SteamUser005_SetAccountCreationTime_params *)args; + struct u_ISteamUser_SteamUser005 *iface = (struct u_ISteamUser_SteamUser005 *)params->linux_side; + iface->SetAccountCreationTime( params->rt ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser005.h b/lsteamclient/cppISteamUser_SteamUser005.h deleted file mode 100644 index 7eded8d67..000000000 --- a/lsteamclient/cppISteamUser_SteamUser005.h +++ /dev/null @@ -1,39 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser005_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser005_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser005_LogOff(void *); -extern bool cppISteamUser_SteamUser005_BLoggedOn(void *); -extern ELogonState cppISteamUser_SteamUser005_GetLogonState(void *); -extern bool cppISteamUser_SteamUser005_BConnected(void *); -extern CSteamID cppISteamUser_SteamUser005_GetSteamID(void *); -extern bool cppISteamUser_SteamUser005_IsVACBanned(void *, int); -extern bool cppISteamUser_SteamUser005_RequireShowVACBannedMessage(void *, int); -extern void cppISteamUser_SteamUser005_AcknowledgeVACBanning(void *, int); -extern void cppISteamUser_SteamUser005_SetSteam2Ticket(void *, uint8 *, int); -extern void cppISteamUser_SteamUser005_AddServerNetAddress(void *, uint32, uint16); -extern bool cppISteamUser_SteamUser005_SetEmail(void *, const char *); -extern bool cppISteamUser_SteamUser005_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser005_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser005_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser005_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser005_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser005_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(void *); -extern bool cppISteamUser_SteamUser005_IsPrimaryChatDestination(void *); -extern void cppISteamUser_SteamUser005_RequestLegacyCDKey(void *, uint32); -extern bool cppISteamUser_SteamUser005_SendGuestPassByEmail(void *, const char *, GID_t, bool); -extern bool cppISteamUser_SteamUser005_SendGuestPassByAccountID(void *, uint32, GID_t, bool); -extern bool cppISteamUser_SteamUser005_AckGuestPass(void *, const char *); -extern bool cppISteamUser_SteamUser005_RedeemGuestPass(void *, const char *); -extern uint32 cppISteamUser_SteamUser005_GetGuestPassToGiveCount(void *); -extern uint32 cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(void *); -extern RTime32 cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(void *); -extern bool cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(void *, uint32, GID_t *, PackageId_t *, RTime32 *, RTime32 *, RTime32 *, RTime32 *, char *, int); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(void *, uint32, GID_t *, PackageId_t *, RTime32 *, RTime32 *, RTime32 *, RTime32 *); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(void *, uint32, char *, int); -extern bool cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(void *, uint32, char *, int); -extern void cppISteamUser_SteamUser005_AcknowledgeMessageByGID(void *, const char *); -extern bool cppISteamUser_SteamUser005_SetLanguage(void *, const char *); -extern void cppISteamUser_SteamUser005_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser005_SetAccountName(void *, const char *); -extern void cppISteamUser_SteamUser005_SetPassword(void *, const char *); -extern void cppISteamUser_SteamUser005_SetAccountCreationTime(void *, RTime32); diff --git a/lsteamclient/cppISteamUser_SteamUser006.cpp b/lsteamclient/cppISteamUser_SteamUser006.cpp index 63a81a809..45c38534e 100644 --- a/lsteamclient/cppISteamUser_SteamUser006.cpp +++ b/lsteamclient/cppISteamUser_SteamUser006.cpp @@ -1,76 +1,99 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099w/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099w -#include "struct_converters.h" -#include "cppISteamUser_SteamUser006.h" -HSteamUser cppISteamUser_SteamUser006_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser006_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser006_GetHSteamUser_params *params = (struct ISteamUser_SteamUser006_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -void cppISteamUser_SteamUser006_LogOn(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser006_LogOn( void *args ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + struct ISteamUser_SteamUser006_LogOn_params *params = (struct ISteamUser_SteamUser006_LogOn_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + iface->LogOn( params->steamID ); + return 0; } -void cppISteamUser_SteamUser006_LogOff(void *linux_side) +NTSTATUS ISteamUser_SteamUser006_LogOff( void *args ) { - ((ISteamUser*)linux_side)->LogOff(); + struct ISteamUser_SteamUser006_LogOff_params *params = (struct ISteamUser_SteamUser006_LogOff_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamUser_SteamUser006_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser006_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser006_BLoggedOn_params *params = (struct ISteamUser_SteamUser006_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser006_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser006_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser006_GetSteamID_params *params = (struct ISteamUser_SteamUser006_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamUser_SteamUser006_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUser_SteamUser006_SetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); + struct ISteamUser_SteamUser006_SetRegistryString_params *params = (struct ISteamUser_SteamUser006_SetRegistryString_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->SetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUser_SteamUser006_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +NTSTATUS ISteamUser_SteamUser006_GetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); + struct ISteamUser_SteamUser006_GetRegistryString_params *params = (struct ISteamUser_SteamUser006_GetRegistryString_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->GetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue, params->cbValue ); + return 0; } -bool cppISteamUser_SteamUser006_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +NTSTATUS ISteamUser_SteamUser006_SetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); + struct ISteamUser_SteamUser006_SetRegistryInt_params *params = (struct ISteamUser_SteamUser006_SetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->SetRegistryInt( params->eRegistrySubTree, params->pchKey, params->iValue ); + return 0; } -bool cppISteamUser_SteamUser006_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +NTSTATUS ISteamUser_SteamUser006_GetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); + struct ISteamUser_SteamUser006_GetRegistryInt_params *params = (struct ISteamUser_SteamUser006_GetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->GetRegistryInt( params->eRegistrySubTree, params->pchKey, params->piValue ); + return 0; } -int cppISteamUser_SteamUser006_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser006_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser006_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser006_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, params->gameID, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser006_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser006_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser006_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser006_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser006_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser006_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser006_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser006_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser006 *iface = (struct u_ISteamUser_SteamUser006 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser006.h b/lsteamclient/cppISteamUser_SteamUser006.h deleted file mode 100644 index a45bdf2de..000000000 --- a/lsteamclient/cppISteamUser_SteamUser006.h +++ /dev/null @@ -1,12 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser006_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser006_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser006_LogOff(void *); -extern bool cppISteamUser_SteamUser006_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser006_GetSteamID(void *); -extern bool cppISteamUser_SteamUser006_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser006_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser006_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser006_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser006_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser006_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser006_TrackAppUsageEvent(void *, CGameID, int, const char *); diff --git a/lsteamclient/cppISteamUser_SteamUser007.cpp b/lsteamclient/cppISteamUser_SteamUser007.cpp index 34164154a..52e13f17b 100644 --- a/lsteamclient/cppISteamUser_SteamUser007.cpp +++ b/lsteamclient/cppISteamUser_SteamUser007.cpp @@ -1,81 +1,107 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099x -#include "struct_converters.h" -#include "cppISteamUser_SteamUser007.h" -HSteamUser cppISteamUser_SteamUser007_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser007_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser007_GetHSteamUser_params *params = (struct ISteamUser_SteamUser007_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -void cppISteamUser_SteamUser007_LogOn(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser007_LogOn( void *args ) { - ((ISteamUser*)linux_side)->LogOn((CSteamID)steamID); + struct ISteamUser_SteamUser007_LogOn_params *params = (struct ISteamUser_SteamUser007_LogOn_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + iface->LogOn( params->steamID ); + return 0; } -void cppISteamUser_SteamUser007_LogOff(void *linux_side) +NTSTATUS ISteamUser_SteamUser007_LogOff( void *args ) { - ((ISteamUser*)linux_side)->LogOff(); + struct ISteamUser_SteamUser007_LogOff_params *params = (struct ISteamUser_SteamUser007_LogOff_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + iface->LogOff( ); + return 0; } -bool cppISteamUser_SteamUser007_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser007_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser007_BLoggedOn_params *params = (struct ISteamUser_SteamUser007_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser007_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser007_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser007_GetSteamID_params *params = (struct ISteamUser_SteamUser007_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -bool cppISteamUser_SteamUser007_SetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +NTSTATUS ISteamUser_SteamUser007_SetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (const char *)pchValue); + struct ISteamUser_SteamUser007_SetRegistryString_params *params = (struct ISteamUser_SteamUser007_SetRegistryString_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->SetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue ); + return 0; } -bool cppISteamUser_SteamUser007_GetRegistryString(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +NTSTATUS ISteamUser_SteamUser007_GetRegistryString( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryString((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (char *)pchValue, (int)cbValue); + struct ISteamUser_SteamUser007_GetRegistryString_params *params = (struct ISteamUser_SteamUser007_GetRegistryString_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->GetRegistryString( params->eRegistrySubTree, params->pchKey, params->pchValue, params->cbValue ); + return 0; } -bool cppISteamUser_SteamUser007_SetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +NTSTATUS ISteamUser_SteamUser007_SetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->SetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int)iValue); + struct ISteamUser_SteamUser007_SetRegistryInt_params *params = (struct ISteamUser_SteamUser007_SetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->SetRegistryInt( params->eRegistrySubTree, params->pchKey, params->iValue ); + return 0; } -bool cppISteamUser_SteamUser007_GetRegistryInt(void *linux_side, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +NTSTATUS ISteamUser_SteamUser007_GetRegistryInt( void *args ) { - return ((ISteamUser*)linux_side)->GetRegistryInt((EConfigSubTree)eRegistrySubTree, (const char *)pchKey, (int *)piValue); + struct ISteamUser_SteamUser007_GetRegistryInt_params *params = (struct ISteamUser_SteamUser007_GetRegistryInt_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->GetRegistryInt( params->eRegistrySubTree, params->pchKey, params->piValue ); + return 0; } -int cppISteamUser_SteamUser007_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void * pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) +NTSTATUS ISteamUser_SteamUser007_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pBlob, (int)cbMaxBlob, (CSteamID)steamID, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure, (void *)pvSteam2GetEncryptionKey, (int)cbSteam2GetEncryptionKey); + struct ISteamUser_SteamUser007_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser007_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, params->gameID, params->unIPServer, params->usPortServer, params->bSecure, params->pvSteam2GetEncryptionKey, params->cbSteam2GetEncryptionKey ); + return 0; } -void cppISteamUser_SteamUser007_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser007_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser007_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser007_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser007_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser007_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser007_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser007_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -void cppISteamUser_SteamUser007_RefreshSteam2Login(void *linux_side) +NTSTATUS ISteamUser_SteamUser007_RefreshSteam2Login( void *args ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + struct ISteamUser_SteamUser007_RefreshSteam2Login_params *params = (struct ISteamUser_SteamUser007_RefreshSteam2Login_params *)args; + struct u_ISteamUser_SteamUser007 *iface = (struct u_ISteamUser_SteamUser007 *)params->linux_side; + iface->RefreshSteam2Login( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser007.h b/lsteamclient/cppISteamUser_SteamUser007.h deleted file mode 100644 index 645d89eda..000000000 --- a/lsteamclient/cppISteamUser_SteamUser007.h +++ /dev/null @@ -1,13 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser007_GetHSteamUser(void *); -extern void cppISteamUser_SteamUser007_LogOn(void *, CSteamID); -extern void cppISteamUser_SteamUser007_LogOff(void *); -extern bool cppISteamUser_SteamUser007_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser007_GetSteamID(void *); -extern bool cppISteamUser_SteamUser007_SetRegistryString(void *, EConfigSubTree, const char *, const char *); -extern bool cppISteamUser_SteamUser007_GetRegistryString(void *, EConfigSubTree, const char *, char *, int); -extern bool cppISteamUser_SteamUser007_SetRegistryInt(void *, EConfigSubTree, const char *, int); -extern bool cppISteamUser_SteamUser007_GetRegistryInt(void *, EConfigSubTree, const char *, int *); -extern int cppISteamUser_SteamUser007_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool, void *, int); -extern void cppISteamUser_SteamUser007_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser007_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser007_RefreshSteam2Login(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser008.cpp b/lsteamclient/cppISteamUser_SteamUser008.cpp index 22800cdfd..8777379c2 100644 --- a/lsteamclient/cppISteamUser_SteamUser008.cpp +++ b/lsteamclient/cppISteamUser_SteamUser008.cpp @@ -1,46 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_099y -#include "struct_converters.h" -#include "cppISteamUser_SteamUser008.h" -HSteamUser cppISteamUser_SteamUser008_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser008_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser008_GetHSteamUser_params *params = (struct ISteamUser_SteamUser008_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser008_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser008_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser008_BLoggedOn_params *params = (struct ISteamUser_SteamUser008_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser008_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser008_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser008_GetSteamID_params *params = (struct ISteamUser_SteamUser008_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -void cppISteamUser_SteamUser008_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser008_InitiateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser008_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser008_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pBlob, params->cbMaxBlob, params->steamID, ¶ms->gameID, params->unIPServer, params->usPortServer, params->bSecure, params->pvSteam2GetEncryptionKey, params->cbSteam2GetEncryptionKey ); + return 0; } -void cppISteamUser_SteamUser008_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser008_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser008_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser008_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser008_RefreshSteam2Login(void *linux_side) +NTSTATUS ISteamUser_SteamUser008_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + struct ISteamUser_SteamUser008_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser008_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -#ifdef __cplusplus +NTSTATUS ISteamUser_SteamUser008_RefreshSteam2Login( void *args ) +{ + struct ISteamUser_SteamUser008_RefreshSteam2Login_params *params = (struct ISteamUser_SteamUser008_RefreshSteam2Login_params *)args; + struct u_ISteamUser_SteamUser008 *iface = (struct u_ISteamUser_SteamUser008 *)params->linux_side; + iface->RefreshSteam2Login( ); + return 0; } -#endif + diff --git a/lsteamclient/cppISteamUser_SteamUser008.h b/lsteamclient/cppISteamUser_SteamUser008.h deleted file mode 100644 index 7ce2d042b..000000000 --- a/lsteamclient/cppISteamUser_SteamUser008.h +++ /dev/null @@ -1,7 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser008_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser008_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser008_GetSteamID(void *); -extern int cppISteamUser_SteamUser008_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool, void *, int); -extern void cppISteamUser_SteamUser008_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser008_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser008_RefreshSteam2Login(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser009.cpp b/lsteamclient/cppISteamUser_SteamUser009.cpp index 713bd34b1..849f1d976 100644 --- a/lsteamclient/cppISteamUser_SteamUser009.cpp +++ b/lsteamclient/cppISteamUser_SteamUser009.cpp @@ -1,51 +1,59 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_100/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_100 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser009.h" -HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser009_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser009_GetHSteamUser_params *params = (struct ISteamUser_SteamUser009_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser009_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser009_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser009_BLoggedOn_params *params = (struct ISteamUser_SteamUser009_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser009_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser009_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser009_GetSteamID_params *params = (struct ISteamUser_SteamUser009_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser009_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser009_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (CGameID)gameID, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser009_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser009_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->gameID, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser009_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser009_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser009_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser009_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser009_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser009_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser009_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser009_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -void cppISteamUser_SteamUser009_RefreshSteam2Login(void *linux_side) +NTSTATUS ISteamUser_SteamUser009_RefreshSteam2Login( void *args ) { - ((ISteamUser*)linux_side)->RefreshSteam2Login(); + struct ISteamUser_SteamUser009_RefreshSteam2Login_params *params = (struct ISteamUser_SteamUser009_RefreshSteam2Login_params *)args; + struct u_ISteamUser_SteamUser009 *iface = (struct u_ISteamUser_SteamUser009 *)params->linux_side; + iface->RefreshSteam2Login( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser009.h b/lsteamclient/cppISteamUser_SteamUser009.h deleted file mode 100644 index f81417327..000000000 --- a/lsteamclient/cppISteamUser_SteamUser009.h +++ /dev/null @@ -1,7 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser009_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser009_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser009_GetSteamID(void *); -extern int cppISteamUser_SteamUser009_InitiateGameConnection(void *, void *, int, CSteamID, CGameID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser009_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser009_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern void cppISteamUser_SteamUser009_RefreshSteam2Login(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser010.cpp b/lsteamclient/cppISteamUser_SteamUser010.cpp index c72935448..01d29a5a9 100644 --- a/lsteamclient/cppISteamUser_SteamUser010.cpp +++ b/lsteamclient/cppISteamUser_SteamUser010.cpp @@ -1,46 +1,51 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_101/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_101 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser010.h" -HSteamUser cppISteamUser_SteamUser010_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser010_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser010_GetHSteamUser_params *params = (struct ISteamUser_SteamUser010_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser010_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser010_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser010_BLoggedOn_params *params = (struct ISteamUser_SteamUser010_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser010_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser010_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser010_GetSteamID_params *params = (struct ISteamUser_SteamUser010_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser010_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser010_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser010_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser010_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser010_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser010_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser010_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser010_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser010_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser010_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser010_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser010_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser010 *iface = (struct u_ISteamUser_SteamUser010 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser010.h b/lsteamclient/cppISteamUser_SteamUser010.h deleted file mode 100644 index 5a641f5b3..000000000 --- a/lsteamclient/cppISteamUser_SteamUser010.h +++ /dev/null @@ -1,6 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser010_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser010_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser010_GetSteamID(void *); -extern int cppISteamUser_SteamUser010_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser010_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser010_TrackAppUsageEvent(void *, CGameID, int, const char *); diff --git a/lsteamclient/cppISteamUser_SteamUser011.cpp b/lsteamclient/cppISteamUser_SteamUser011.cpp index 245392621..2a926e13a 100644 --- a/lsteamclient/cppISteamUser_SteamUser011.cpp +++ b/lsteamclient/cppISteamUser_SteamUser011.cpp @@ -1,71 +1,92 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_103/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_103 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser011.h" -HSteamUser cppISteamUser_SteamUser011_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser011_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser011_GetHSteamUser_params *params = (struct ISteamUser_SteamUser011_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser011_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser011_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser011_BLoggedOn_params *params = (struct ISteamUser_SteamUser011_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser011_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser011_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser011_GetSteamID_params *params = (struct ISteamUser_SteamUser011_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser011_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser011_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser011_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser011_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser011_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser011_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser011_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser011_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser011_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser011_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser011_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser011_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser011_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser011_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser011_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser011_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser011_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser011_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser011_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser011_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser011_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser011_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser011_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser011_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser011_GetCompressedVoice(void *linux_side, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser011_GetCompressedVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetCompressedVoice((void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser011_GetCompressedVoice_params *params = (struct ISteamUser_SteamUser011_GetCompressedVoice_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->GetCompressedVoice( params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -EVoiceResult cppISteamUser_SteamUser011_DecompressVoice(void *linux_side, void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser011_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser011_DecompressVoice_params *params = (struct ISteamUser_SteamUser011_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser011 *iface = (struct u_ISteamUser_SteamUser011 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser011.h b/lsteamclient/cppISteamUser_SteamUser011.h deleted file mode 100644 index a7706164d..000000000 --- a/lsteamclient/cppISteamUser_SteamUser011.h +++ /dev/null @@ -1,11 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser011_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser011_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser011_GetSteamID(void *); -extern int cppISteamUser_SteamUser011_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser011_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser011_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser011_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser011_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser011_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser011_GetCompressedVoice(void *, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser011_DecompressVoice(void *, void *, uint32, void *, uint32, uint32 *); diff --git a/lsteamclient/cppISteamUser_SteamUser012.cpp b/lsteamclient/cppISteamUser_SteamUser012.cpp index 03e174225..43bb468ad 100644 --- a/lsteamclient/cppISteamUser_SteamUser012.cpp +++ b/lsteamclient/cppISteamUser_SteamUser012.cpp @@ -1,96 +1,132 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_105/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_105 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser012.h" -HSteamUser cppISteamUser_SteamUser012_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser012_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser012_GetHSteamUser_params *params = (struct ISteamUser_SteamUser012_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser012_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser012_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser012_BLoggedOn_params *params = (struct ISteamUser_SteamUser012_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser012_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser012_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser012_GetSteamID_params *params = (struct ISteamUser_SteamUser012_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser012_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser012_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser012_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser012_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser012_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser012_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser012_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser012_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser012_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser012_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser012_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser012_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser012_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser012_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser012_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser012_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser012_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser012_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser012_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser012_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser012_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser012_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser012_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser012_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser012_GetCompressedVoice(void *linux_side, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser012_GetCompressedVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetCompressedVoice((void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser012_GetCompressedVoice_params *params = (struct ISteamUser_SteamUser012_GetCompressedVoice_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->GetCompressedVoice( params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -EVoiceResult cppISteamUser_SteamUser012_DecompressVoice(void *linux_side, void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser012_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser012_DecompressVoice_params *params = (struct ISteamUser_SteamUser012_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -HAuthTicket cppISteamUser_SteamUser012_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser012_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser012_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser012_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser012_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser012_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser012_BeginAuthSession_params *params = (struct ISteamUser_SteamUser012_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser012_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser012_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser012_EndAuthSession_params *params = (struct ISteamUser_SteamUser012_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser012_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser012_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser012_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser012_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser012_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser012_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser012_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser012_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser012 *iface = (struct u_ISteamUser_SteamUser012 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser012.h b/lsteamclient/cppISteamUser_SteamUser012.h deleted file mode 100644 index c604abc3a..000000000 --- a/lsteamclient/cppISteamUser_SteamUser012.h +++ /dev/null @@ -1,16 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser012_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser012_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser012_GetSteamID(void *); -extern int cppISteamUser_SteamUser012_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser012_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser012_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser012_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser012_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser012_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser012_GetCompressedVoice(void *, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser012_DecompressVoice(void *, void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser012_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser012_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser012_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser012_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser012_UserHasLicenseForApp(void *, CSteamID, AppId_t); diff --git a/lsteamclient/cppISteamUser_SteamUser013.cpp b/lsteamclient/cppISteamUser_SteamUser013.cpp index aa7ddb1d4..2c6a66ccf 100644 --- a/lsteamclient/cppISteamUser_SteamUser013.cpp +++ b/lsteamclient/cppISteamUser_SteamUser013.cpp @@ -1,101 +1,140 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_110/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_110 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser013.h" -HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser013_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser013_GetHSteamUser_params *params = (struct ISteamUser_SteamUser013_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser013_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser013_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser013_BLoggedOn_params *params = (struct ISteamUser_SteamUser013_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser013_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser013_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser013_GetSteamID_params *params = (struct ISteamUser_SteamUser013_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser013_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser013_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser013_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser013_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser013_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser013_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser013_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser013_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser013_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser013_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser013_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser013_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser013_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser013_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser013_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser013_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser013_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser013_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser013_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser013_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser013_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser013_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser013_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser013_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser013_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed) +NTSTATUS ISteamUser_SteamUser013_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); + struct ISteamUser_SteamUser013_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser013_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed ); + return 0; } -EVoiceResult cppISteamUser_SteamUser013_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +NTSTATUS ISteamUser_SteamUser013_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); + struct ISteamUser_SteamUser013_GetVoice_params *params = (struct ISteamUser_SteamUser013_GetVoice_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten ); + return 0; } -EVoiceResult cppISteamUser_SteamUser013_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser013_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser013_DecompressVoice_params *params = (struct ISteamUser_SteamUser013_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -HAuthTicket cppISteamUser_SteamUser013_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser013_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser013_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser013_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser013_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser013_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser013_BeginAuthSession_params *params = (struct ISteamUser_SteamUser013_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser013_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser013_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser013_EndAuthSession_params *params = (struct ISteamUser_SteamUser013_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser013_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser013_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser013_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser013_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser013_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser013_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser013_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser013_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser013 *iface = (struct u_ISteamUser_SteamUser013 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser013.h b/lsteamclient/cppISteamUser_SteamUser013.h deleted file mode 100644 index 1c925a1c2..000000000 --- a/lsteamclient/cppISteamUser_SteamUser013.h +++ /dev/null @@ -1,17 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser013_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser013_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser013_GetSteamID(void *); -extern int cppISteamUser_SteamUser013_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser013_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser013_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser013_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser013_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser013_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser013_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser013_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser013_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser013_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser013_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser013_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser013_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser013_UserHasLicenseForApp(void *, CSteamID, AppId_t); diff --git a/lsteamclient/cppISteamUser_SteamUser014.cpp b/lsteamclient/cppISteamUser_SteamUser014.cpp index 3f8eb34df..c461c2cc8 100644 --- a/lsteamclient/cppISteamUser_SteamUser014.cpp +++ b/lsteamclient/cppISteamUser_SteamUser014.cpp @@ -1,121 +1,172 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_112 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser014.h" -HSteamUser cppISteamUser_SteamUser014_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser014_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser014_GetHSteamUser_params *params = (struct ISteamUser_SteamUser014_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser014_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser014_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser014_BLoggedOn_params *params = (struct ISteamUser_SteamUser014_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser014_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser014_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser014_GetSteamID_params *params = (struct ISteamUser_SteamUser014_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser014_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser014_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser014_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser014_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser014_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser014_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser014_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser014_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser014_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser014_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser014_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser014_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser014_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser014_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser014_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser014_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser014_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser014_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser014_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser014_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser014_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser014_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser014_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser014_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser014_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed) +NTSTATUS ISteamUser_SteamUser014_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); + struct ISteamUser_SteamUser014_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser014_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed ); + return 0; } -EVoiceResult cppISteamUser_SteamUser014_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +NTSTATUS ISteamUser_SteamUser014_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); + struct ISteamUser_SteamUser014_GetVoice_params *params = (struct ISteamUser_SteamUser014_GetVoice_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten ); + return 0; } -EVoiceResult cppISteamUser_SteamUser014_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +NTSTATUS ISteamUser_SteamUser014_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten); + struct ISteamUser_SteamUser014_DecompressVoice_params *params = (struct ISteamUser_SteamUser014_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten ); + return 0; } -HAuthTicket cppISteamUser_SteamUser014_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser014_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser014_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser014_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser014_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser014_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser014_BeginAuthSession_params *params = (struct ISteamUser_SteamUser014_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser014_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser014_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser014_EndAuthSession_params *params = (struct ISteamUser_SteamUser014_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser014_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser014_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser014_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser014_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser014_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser014_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser014_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser014_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser014_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser014_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser014_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser014_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser014_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser014_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser014_AdvertiseGame_params *params = (struct ISteamUser_SteamUser014_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser014_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser014_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser014_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser014_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser014_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser014_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser014_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser014_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser014 *iface = (struct u_ISteamUser_SteamUser014 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser014.h b/lsteamclient/cppISteamUser_SteamUser014.h deleted file mode 100644 index 0045f3a16..000000000 --- a/lsteamclient/cppISteamUser_SteamUser014.h +++ /dev/null @@ -1,21 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser014_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser014_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser014_GetSteamID(void *); -extern int cppISteamUser_SteamUser014_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser014_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser014_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser014_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser014_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser014_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser014_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser014_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser014_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *); -extern HAuthTicket cppISteamUser_SteamUser014_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser014_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser014_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser014_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser014_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser014_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser014_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser014_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser014_GetEncryptedAppTicket(void *, void *, int, uint32 *); diff --git a/lsteamclient/cppISteamUser_SteamUser015.cpp b/lsteamclient/cppISteamUser_SteamUser015.cpp index 317434909..244d33061 100644 --- a/lsteamclient/cppISteamUser_SteamUser015.cpp +++ b/lsteamclient/cppISteamUser_SteamUser015.cpp @@ -1,126 +1,180 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112x/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_112x -#include "struct_converters.h" -#include "cppISteamUser_SteamUser015.h" -HSteamUser cppISteamUser_SteamUser015_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser015_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser015_GetHSteamUser_params *params = (struct ISteamUser_SteamUser015_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser015_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser015_BLoggedOn_params *params = (struct ISteamUser_SteamUser015_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser015_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser015_GetSteamID_params *params = (struct ISteamUser_SteamUser015_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser015_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser015_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser015_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser015_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser015_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser015_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser015_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser015_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser015_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser015_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser015_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser015_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser015_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser015_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser015_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser015_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser015_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser015_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser015_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser015_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser015_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser015_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser015_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed) +NTSTATUS ISteamUser_SteamUser015_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed); + struct ISteamUser_SteamUser015_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser015_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed ); + return 0; } -EVoiceResult cppISteamUser_SteamUser015_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +NTSTATUS ISteamUser_SteamUser015_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten); + struct ISteamUser_SteamUser015_GetVoice_params *params = (struct ISteamUser_SteamUser015_GetVoice_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten ); + return 0; } -EVoiceResult cppISteamUser_SteamUser015_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser015_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser015_DecompressVoice_params *params = (struct ISteamUser_SteamUser015_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser015_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser015_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser015_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser015_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser015_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser015_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser015_BeginAuthSession_params *params = (struct ISteamUser_SteamUser015_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser015_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser015_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser015_EndAuthSession_params *params = (struct ISteamUser_SteamUser015_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser015_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser015_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser015_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser015_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser015_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser015_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser015_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser015_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser015_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser015_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser015_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser015_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser015_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser015_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser015_AdvertiseGame_params *params = (struct ISteamUser_SteamUser015_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser015_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser015_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser015_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser015_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser015 *iface = (struct u_ISteamUser_SteamUser015 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser015.h b/lsteamclient/cppISteamUser_SteamUser015.h deleted file mode 100644 index 758f3e5d6..000000000 --- a/lsteamclient/cppISteamUser_SteamUser015.h +++ /dev/null @@ -1,22 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser015_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser015_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser015_GetSteamID(void *); -extern int cppISteamUser_SteamUser015_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser015_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser015_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser015_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser015_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser015_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser015_GetAvailableVoice(void *, uint32 *, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser015_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *); -extern EVoiceResult cppISteamUser_SteamUser015_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser015_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser015_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser015_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser015_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser015_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser015_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser015_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser015_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser015_GetEncryptedAppTicket(void *, void *, int, uint32 *); diff --git a/lsteamclient/cppISteamUser_SteamUser016.cpp b/lsteamclient/cppISteamUser_SteamUser016.cpp index 824493478..e66b70322 100644 --- a/lsteamclient/cppISteamUser_SteamUser016.cpp +++ b/lsteamclient/cppISteamUser_SteamUser016.cpp @@ -1,126 +1,180 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_123a/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_123a -#include "struct_converters.h" -#include "cppISteamUser_SteamUser016.h" -HSteamUser cppISteamUser_SteamUser016_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser016_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser016_GetHSteamUser_params *params = (struct ISteamUser_SteamUser016_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser016_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser016_BLoggedOn_params *params = (struct ISteamUser_SteamUser016_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser016_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser016_GetSteamID_params *params = (struct ISteamUser_SteamUser016_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser016_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser016_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser016_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser016_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser016_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser016_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser016_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser016_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser016_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser016_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser016_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser016_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser016_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser016_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser016_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser016_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser016_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser016_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser016_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser016_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser016_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser016_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser016_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser016_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser016_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser016_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser016_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser016_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser016_GetVoice_params *params = (struct ISteamUser_SteamUser016_GetVoice_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser016_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser016_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser016_DecompressVoice_params *params = (struct ISteamUser_SteamUser016_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser016_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser016_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser016_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser016_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser016_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser016_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser016_BeginAuthSession_params *params = (struct ISteamUser_SteamUser016_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser016_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser016_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser016_EndAuthSession_params *params = (struct ISteamUser_SteamUser016_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser016_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser016_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser016_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser016_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser016_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser016_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser016_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser016_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser016_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser016_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser016_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser016_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser016_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser016_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser016_AdvertiseGame_params *params = (struct ISteamUser_SteamUser016_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser016_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser016_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser016_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser016_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser016_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser016_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser016_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser016_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser016 *iface = (struct u_ISteamUser_SteamUser016 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser016.h b/lsteamclient/cppISteamUser_SteamUser016.h deleted file mode 100644 index 6e2003d9c..000000000 --- a/lsteamclient/cppISteamUser_SteamUser016.h +++ /dev/null @@ -1,22 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser016_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser016_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser016_GetSteamID(void *); -extern int cppISteamUser_SteamUser016_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser016_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser016_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser016_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser016_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser016_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser016_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser016_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser016_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser016_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser016_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser016_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser016_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser016_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser016_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser016_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser016_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser016_GetEncryptedAppTicket(void *, void *, int, uint32 *); diff --git a/lsteamclient/cppISteamUser_SteamUser017.cpp b/lsteamclient/cppISteamUser_SteamUser017.cpp index 39b15610c..58b03bc20 100644 --- a/lsteamclient/cppISteamUser_SteamUser017.cpp +++ b/lsteamclient/cppISteamUser_SteamUser017.cpp @@ -1,136 +1,196 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_131/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_131 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser017.h" -HSteamUser cppISteamUser_SteamUser017_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser017_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser017_GetHSteamUser_params *params = (struct ISteamUser_SteamUser017_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser017_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser017_BLoggedOn_params *params = (struct ISteamUser_SteamUser017_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser017_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser017_GetSteamID_params *params = (struct ISteamUser_SteamUser017_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser017_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser017_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser017_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser017_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser017_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser017_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser017_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser017_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser017_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser017_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser017_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser017_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser017_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser017_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser017_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser017_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser017_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser017_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser017_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser017_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser017_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser017_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser017_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser017_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser017_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser017_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser017_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser017_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser017_GetVoice_params *params = (struct ISteamUser_SteamUser017_GetVoice_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser017_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser017_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser017_DecompressVoice_params *params = (struct ISteamUser_SteamUser017_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser017_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser017_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser017_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser017_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser017_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser017_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser017_BeginAuthSession_params *params = (struct ISteamUser_SteamUser017_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser017_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser017_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser017_EndAuthSession_params *params = (struct ISteamUser_SteamUser017_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser017_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser017_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser017_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser017_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser017_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser017_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser017_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser017_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser017_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser017_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser017_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser017_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser017_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser017_AdvertiseGame_params *params = (struct ISteamUser_SteamUser017_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser017_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser017_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser017_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser017_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser017_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser017_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser017_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser017_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser017_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser017_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser017_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser017_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser017_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser017_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser017_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser017_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser017 *iface = (struct u_ISteamUser_SteamUser017 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser017.h b/lsteamclient/cppISteamUser_SteamUser017.h deleted file mode 100644 index 83e6fd32c..000000000 --- a/lsteamclient/cppISteamUser_SteamUser017.h +++ /dev/null @@ -1,24 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser017_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser017_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser017_GetSteamID(void *); -extern int cppISteamUser_SteamUser017_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser017_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser017_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser017_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser017_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser017_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser017_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser017_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser017_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser017_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser017_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser017_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser017_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser017_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser017_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser017_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser017_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser017_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser017_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser017_GetPlayerSteamLevel(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser018.cpp b/lsteamclient/cppISteamUser_SteamUser018.cpp index 8ed0dd0fc..257a35e07 100644 --- a/lsteamclient/cppISteamUser_SteamUser018.cpp +++ b/lsteamclient/cppISteamUser_SteamUser018.cpp @@ -1,141 +1,204 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_136/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_136 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser018.h" -HSteamUser cppISteamUser_SteamUser018_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser018_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser018_GetHSteamUser_params *params = (struct ISteamUser_SteamUser018_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser018_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser018_BLoggedOn_params *params = (struct ISteamUser_SteamUser018_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser018_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser018_GetSteamID_params *params = (struct ISteamUser_SteamUser018_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser018_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser018_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser018_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser018_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser018_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser018_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser018_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser018_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser018_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser018_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser018_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser018_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser018_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser018_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser018_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser018_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser018_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser018_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser018_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser018_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser018_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser018_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser018_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser018_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser018_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser018_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser018_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser018_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed, (void *)pUncompressedDestBuffer, (uint32)cbUncompressedDestBufferSize, (uint32 *)nUncompressBytesWritten, (uint32)nUncompressedVoiceDesiredSampleRate); + struct ISteamUser_SteamUser018_GetVoice_params *params = (struct ISteamUser_SteamUser018_GetVoice_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed, params->pUncompressedDestBuffer, params->cbUncompressedDestBufferSize, params->nUncompressBytesWritten, params->nUncompressedVoiceDesiredSampleRate ); + return 0; } -EVoiceResult cppISteamUser_SteamUser018_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser018_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser018_DecompressVoice_params *params = (struct ISteamUser_SteamUser018_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser018_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser018_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser018_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser018_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser018_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser018_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser018_BeginAuthSession_params *params = (struct ISteamUser_SteamUser018_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser018_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser018_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser018_EndAuthSession_params *params = (struct ISteamUser_SteamUser018_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser018_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser018_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser018_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser018_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser018_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser018_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser018_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser018_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser018_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser018_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser018_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser018_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser018_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser018_AdvertiseGame_params *params = (struct ISteamUser_SteamUser018_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser018_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser018_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser018_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser018_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser018_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser018_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser018_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser018_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser018_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser018_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser018_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser018_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser018_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser018_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser018_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser018_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser018_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser018_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser018_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser018_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser018 *iface = (struct u_ISteamUser_SteamUser018 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser018.h b/lsteamclient/cppISteamUser_SteamUser018.h deleted file mode 100644 index fa3f3bfbd..000000000 --- a/lsteamclient/cppISteamUser_SteamUser018.h +++ /dev/null @@ -1,25 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser018_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser018_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser018_GetSteamID(void *); -extern int cppISteamUser_SteamUser018_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser018_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser018_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser018_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser018_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser018_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser018_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser018_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser018_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser018_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser018_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser018_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser018_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser018_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser018_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser018_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser018_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser018_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser018_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser018_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser018_RequestStoreAuthURL(void *, const char *); diff --git a/lsteamclient/cppISteamUser_SteamUser019.cpp b/lsteamclient/cppISteamUser_SteamUser019.cpp index 6b5b2a8dc..c78c593cb 100644 --- a/lsteamclient/cppISteamUser_SteamUser019.cpp +++ b/lsteamclient/cppISteamUser_SteamUser019.cpp @@ -1,161 +1,236 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_142 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser019.h" -HSteamUser cppISteamUser_SteamUser019_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser019_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser019_GetHSteamUser_params *params = (struct ISteamUser_SteamUser019_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser019_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser019_BLoggedOn_params *params = (struct ISteamUser_SteamUser019_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser019_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser019_GetSteamID_params *params = (struct ISteamUser_SteamUser019_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser019_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser019_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser019_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser019_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser019_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser019_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser019_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser019_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser019_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser019_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser019_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser019_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser019_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser019_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser019_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser019_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser019_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser019_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser019_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser019_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser019_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser019_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser019_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser019_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser019_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser019_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser019_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser019_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser019_GetVoice_params *params = (struct ISteamUser_SteamUser019_GetVoice_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed_Deprecated, params->pUncompressedDestBuffer_Deprecated, params->cbUncompressedDestBufferSize_Deprecated, params->nUncompressBytesWritten_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser019_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser019_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser019_DecompressVoice_params *params = (struct ISteamUser_SteamUser019_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser019_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser019_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser019_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser019_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser019_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser019_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser019_BeginAuthSession_params *params = (struct ISteamUser_SteamUser019_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser019_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser019_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser019_EndAuthSession_params *params = (struct ISteamUser_SteamUser019_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser019_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser019_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser019_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser019_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser019_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser019_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser019_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser019_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser019_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser019_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser019_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser019_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser019_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser019_AdvertiseGame_params *params = (struct ISteamUser_SteamUser019_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser019_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser019_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser019_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser019_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser019_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser019_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser019_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser019_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser019_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser019_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser019_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser019_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser019_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser019_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser019_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser019_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser019_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser019_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser019_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -bool cppISteamUser_SteamUser019_BIsPhoneVerified(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BIsPhoneVerified( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneVerified(); + struct ISteamUser_SteamUser019_BIsPhoneVerified_params *params = (struct ISteamUser_SteamUser019_BIsPhoneVerified_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BIsPhoneVerified( ); + return 0; } -bool cppISteamUser_SteamUser019_BIsTwoFactorEnabled(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BIsTwoFactorEnabled( void *args ) { - return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); + struct ISteamUser_SteamUser019_BIsTwoFactorEnabled_params *params = (struct ISteamUser_SteamUser019_BIsTwoFactorEnabled_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BIsTwoFactorEnabled( ); + return 0; } -bool cppISteamUser_SteamUser019_BIsPhoneIdentifying(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BIsPhoneIdentifying( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); + struct ISteamUser_SteamUser019_BIsPhoneIdentifying_params *params = (struct ISteamUser_SteamUser019_BIsPhoneIdentifying_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BIsPhoneIdentifying( ); + return 0; } -bool cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(void *linux_side) +NTSTATUS ISteamUser_SteamUser019_BIsPhoneRequiringVerification( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); + struct ISteamUser_SteamUser019_BIsPhoneRequiringVerification_params *params = (struct ISteamUser_SteamUser019_BIsPhoneRequiringVerification_params *)args; + struct u_ISteamUser_SteamUser019 *iface = (struct u_ISteamUser_SteamUser019 *)params->linux_side; + params->_ret = iface->BIsPhoneRequiringVerification( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser019.h b/lsteamclient/cppISteamUser_SteamUser019.h deleted file mode 100644 index 73377e75a..000000000 --- a/lsteamclient/cppISteamUser_SteamUser019.h +++ /dev/null @@ -1,29 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser019_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser019_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser019_GetSteamID(void *); -extern int cppISteamUser_SteamUser019_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser019_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser019_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser019_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser019_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser019_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser019_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser019_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser019_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser019_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser019_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser019_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser019_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser019_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser019_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser019_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser019_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser019_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser019_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser019_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser019_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser019_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser019_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser019_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser020.cpp b/lsteamclient/cppISteamUser_SteamUser020.cpp index 0d370de44..48e15b0bd 100644 --- a/lsteamclient/cppISteamUser_SteamUser020.cpp +++ b/lsteamclient/cppISteamUser_SteamUser020.cpp @@ -1,172 +1,252 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_148a/steam_api.h" -#include "steamworks_sdk_148a/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_148a -#include "struct_converters.h" -#include "cppISteamUser_SteamUser020.h" -HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser020_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser020_GetHSteamUser_params *params = (struct ISteamUser_SteamUser020_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser020_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser020_BLoggedOn_params *params = (struct ISteamUser_SteamUser020_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser020_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser020_GetSteamID_params *params = (struct ISteamUser_SteamUser020_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser020_InitiateGameConnection(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser020_InitiateGameConnection( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser020_InitiateGameConnection_params *params = (struct ISteamUser_SteamUser020_InitiateGameConnection_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->InitiateGameConnection( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser020_TerminateGameConnection(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser020_TerminateGameConnection( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser020_TerminateGameConnection_params *params = (struct ISteamUser_SteamUser020_TerminateGameConnection_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->TerminateGameConnection( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser020_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser020_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser020_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser020_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser020_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser020_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser020_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser020_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser020_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser020_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser020_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser020_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser020_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser020_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser020_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser020_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser020_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser020_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser020_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser020_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser020_GetVoice_params *params = (struct ISteamUser_SteamUser020_GetVoice_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed_Deprecated, params->pUncompressedDestBuffer_Deprecated, params->cbUncompressedDestBufferSize_Deprecated, params->nUncompressBytesWritten_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser020_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser020_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser020_DecompressVoice_params *params = (struct ISteamUser_SteamUser020_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser020_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser020_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser020_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser020_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser020_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser020_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser020_BeginAuthSession_params *params = (struct ISteamUser_SteamUser020_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser020_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser020_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser020_EndAuthSession_params *params = (struct ISteamUser_SteamUser020_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser020_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser020_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser020_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser020_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser020_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser020_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser020_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser020_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser020_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser020_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser020_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser020_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser020_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser020_AdvertiseGame_params *params = (struct ISteamUser_SteamUser020_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser020_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser020_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser020_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser020_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser020_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser020_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser020_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser020_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser020_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser020_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser020_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser020_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser020_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser020_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser020_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser020_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser020_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser020_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser020_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -bool cppISteamUser_SteamUser020_BIsPhoneVerified(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BIsPhoneVerified( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneVerified(); + struct ISteamUser_SteamUser020_BIsPhoneVerified_params *params = (struct ISteamUser_SteamUser020_BIsPhoneVerified_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BIsPhoneVerified( ); + return 0; } -bool cppISteamUser_SteamUser020_BIsTwoFactorEnabled(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BIsTwoFactorEnabled( void *args ) { - return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); + struct ISteamUser_SteamUser020_BIsTwoFactorEnabled_params *params = (struct ISteamUser_SteamUser020_BIsTwoFactorEnabled_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BIsTwoFactorEnabled( ); + return 0; } -bool cppISteamUser_SteamUser020_BIsPhoneIdentifying(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BIsPhoneIdentifying( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); + struct ISteamUser_SteamUser020_BIsPhoneIdentifying_params *params = (struct ISteamUser_SteamUser020_BIsPhoneIdentifying_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BIsPhoneIdentifying( ); + return 0; } -bool cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_BIsPhoneRequiringVerification( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); + struct ISteamUser_SteamUser020_BIsPhoneRequiringVerification_params *params = (struct ISteamUser_SteamUser020_BIsPhoneRequiringVerification_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->BIsPhoneRequiringVerification( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser020_GetMarketEligibility(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_GetMarketEligibility( void *args ) { - return ((ISteamUser*)linux_side)->GetMarketEligibility(); + struct ISteamUser_SteamUser020_GetMarketEligibility_params *params = (struct ISteamUser_SteamUser020_GetMarketEligibility_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetMarketEligibility( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser020_GetDurationControl(void *linux_side) +NTSTATUS ISteamUser_SteamUser020_GetDurationControl( void *args ) { - return ((ISteamUser*)linux_side)->GetDurationControl(); + struct ISteamUser_SteamUser020_GetDurationControl_params *params = (struct ISteamUser_SteamUser020_GetDurationControl_params *)args; + struct u_ISteamUser_SteamUser020 *iface = (struct u_ISteamUser_SteamUser020 *)params->linux_side; + params->_ret = iface->GetDurationControl( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser020.h b/lsteamclient/cppISteamUser_SteamUser020.h deleted file mode 100644 index 22f141a3a..000000000 --- a/lsteamclient/cppISteamUser_SteamUser020.h +++ /dev/null @@ -1,31 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser020_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser020_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser020_GetSteamID(void *); -extern int cppISteamUser_SteamUser020_InitiateGameConnection(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser020_TerminateGameConnection(void *, uint32, uint16); -extern void cppISteamUser_SteamUser020_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser020_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser020_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser020_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser020_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser020_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser020_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser020_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser020_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser020_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser020_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser020_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser020_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser020_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser020_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser020_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser020_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser020_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser020_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser020_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser020_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser020_GetDurationControl(void *); diff --git a/lsteamclient/cppISteamUser_SteamUser021.cpp b/lsteamclient/cppISteamUser_SteamUser021.cpp index 64526f421..2026d4bfe 100644 --- a/lsteamclient/cppISteamUser_SteamUser021.cpp +++ b/lsteamclient/cppISteamUser_SteamUser021.cpp @@ -1,177 +1,260 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_155 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser021.h" -HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser021_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser021_GetHSteamUser_params *params = (struct ISteamUser_SteamUser021_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser021_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser021_BLoggedOn_params *params = (struct ISteamUser_SteamUser021_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser021_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser021_GetSteamID_params *params = (struct ISteamUser_SteamUser021_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->InitiateGameConnection_DEPRECATED( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->TerminateGameConnection_DEPRECATED( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser021_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser021_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser021_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser021_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser021_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser021_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser021_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser021_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser021_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser021_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser021_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser021_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser021_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser021_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser021_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser021_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser021_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser021_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser021_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser021_GetVoice_params *params = (struct ISteamUser_SteamUser021_GetVoice_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed_Deprecated, params->pUncompressedDestBuffer_Deprecated, params->cbUncompressedDestBufferSize_Deprecated, params->nUncompressBytesWritten_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser021_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser021_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser021_DecompressVoice_params *params = (struct ISteamUser_SteamUser021_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser021_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser021_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser021_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser021_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser021_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser021_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser021_BeginAuthSession_params *params = (struct ISteamUser_SteamUser021_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser021_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser021_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser021_EndAuthSession_params *params = (struct ISteamUser_SteamUser021_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser021_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser021_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser021_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser021_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser021_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser021_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser021_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser021_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser021_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser021_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser021_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser021_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser021_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser021_AdvertiseGame_params *params = (struct ISteamUser_SteamUser021_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser021_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser021_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser021_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser021_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser021_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser021_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser021_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser021_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser021_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser021_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser021_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser021_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser021_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser021_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser021_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser021_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser021_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser021_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser021_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -bool cppISteamUser_SteamUser021_BIsPhoneVerified(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BIsPhoneVerified( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneVerified(); + struct ISteamUser_SteamUser021_BIsPhoneVerified_params *params = (struct ISteamUser_SteamUser021_BIsPhoneVerified_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BIsPhoneVerified( ); + return 0; } -bool cppISteamUser_SteamUser021_BIsTwoFactorEnabled(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BIsTwoFactorEnabled( void *args ) { - return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); + struct ISteamUser_SteamUser021_BIsTwoFactorEnabled_params *params = (struct ISteamUser_SteamUser021_BIsTwoFactorEnabled_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BIsTwoFactorEnabled( ); + return 0; } -bool cppISteamUser_SteamUser021_BIsPhoneIdentifying(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BIsPhoneIdentifying( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); + struct ISteamUser_SteamUser021_BIsPhoneIdentifying_params *params = (struct ISteamUser_SteamUser021_BIsPhoneIdentifying_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BIsPhoneIdentifying( ); + return 0; } -bool cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_BIsPhoneRequiringVerification( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); + struct ISteamUser_SteamUser021_BIsPhoneRequiringVerification_params *params = (struct ISteamUser_SteamUser021_BIsPhoneRequiringVerification_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BIsPhoneRequiringVerification( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser021_GetMarketEligibility(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_GetMarketEligibility( void *args ) { - return ((ISteamUser*)linux_side)->GetMarketEligibility(); + struct ISteamUser_SteamUser021_GetMarketEligibility_params *params = (struct ISteamUser_SteamUser021_GetMarketEligibility_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetMarketEligibility( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser021_GetDurationControl(void *linux_side) +NTSTATUS ISteamUser_SteamUser021_GetDurationControl( void *args ) { - return ((ISteamUser*)linux_side)->GetDurationControl(); + struct ISteamUser_SteamUser021_GetDurationControl_params *params = (struct ISteamUser_SteamUser021_GetDurationControl_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->GetDurationControl( ); + return 0; } -bool cppISteamUser_SteamUser021_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +NTSTATUS ISteamUser_SteamUser021_BSetDurationControlOnlineState( void *args ) { - return ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); + struct ISteamUser_SteamUser021_BSetDurationControlOnlineState_params *params = (struct ISteamUser_SteamUser021_BSetDurationControlOnlineState_params *)args; + struct u_ISteamUser_SteamUser021 *iface = (struct u_ISteamUser_SteamUser021 *)params->linux_side; + params->_ret = iface->BSetDurationControlOnlineState( params->eNewState ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser021.h b/lsteamclient/cppISteamUser_SteamUser021.h deleted file mode 100644 index b203a75c2..000000000 --- a/lsteamclient/cppISteamUser_SteamUser021.h +++ /dev/null @@ -1,32 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser021_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser021_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser021_GetSteamID(void *); -extern int cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser021_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser021_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser021_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser021_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser021_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser021_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser021_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser021_GetAuthSessionTicket(void *, void *, int, uint32 *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser021_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser021_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser021_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser021_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser021_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser021_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser021_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser021_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser021_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser021_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser021_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser021_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser021_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser021_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser021_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); diff --git a/lsteamclient/cppISteamUser_SteamUser022.cpp b/lsteamclient/cppISteamUser_SteamUser022.cpp index 18cc5cae5..fdebf739f 100644 --- a/lsteamclient/cppISteamUser_SteamUser022.cpp +++ b/lsteamclient/cppISteamUser_SteamUser022.cpp @@ -1,177 +1,260 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_156/steam_api.h" -#include "steamworks_sdk_156/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_156 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser022.h" -HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser022_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser022_GetHSteamUser_params *params = (struct ISteamUser_SteamUser022_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser022_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser022_BLoggedOn_params *params = (struct ISteamUser_SteamUser022_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser022_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser022_GetSteamID_params *params = (struct ISteamUser_SteamUser022_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->InitiateGameConnection_DEPRECATED( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->TerminateGameConnection_DEPRECATED( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser022_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser022_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser022_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser022_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser022_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser022_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser022_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser022_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser022_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser022_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser022_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser022_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser022_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser022_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser022_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser022_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser022_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser022_GetVoice_params *params = (struct ISteamUser_SteamUser022_GetVoice_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed_Deprecated, params->pUncompressedDestBuffer_Deprecated, params->cbUncompressedDestBufferSize_Deprecated, params->nUncompressBytesWritten_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser022_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser022_DecompressVoice_params *params = (struct ISteamUser_SteamUser022_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +NTSTATUS ISteamUser_SteamUser022_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSteamNetworkingIdentity); + struct ISteamUser_SteamUser022_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser022_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket, params->pSteamNetworkingIdentity ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser022_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser022_BeginAuthSession_params *params = (struct ISteamUser_SteamUser022_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser022_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser022_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser022_EndAuthSession_params *params = (struct ISteamUser_SteamUser022_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser022_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser022_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser022_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser022_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser022_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser022_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser022_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser022_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser022_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser022_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser022_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser022_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser022_AdvertiseGame_params *params = (struct ISteamUser_SteamUser022_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser022_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser022_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser022_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser022_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser022_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser022_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser022_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser022_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser022_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser022_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser022_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser022_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser022_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser022_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BIsPhoneVerified( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneVerified(); + struct ISteamUser_SteamUser022_BIsPhoneVerified_params *params = (struct ISteamUser_SteamUser022_BIsPhoneVerified_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BIsPhoneVerified( ); + return 0; } -bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BIsTwoFactorEnabled( void *args ) { - return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); + struct ISteamUser_SteamUser022_BIsTwoFactorEnabled_params *params = (struct ISteamUser_SteamUser022_BIsTwoFactorEnabled_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BIsTwoFactorEnabled( ); + return 0; } -bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BIsPhoneIdentifying( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); + struct ISteamUser_SteamUser022_BIsPhoneIdentifying_params *params = (struct ISteamUser_SteamUser022_BIsPhoneIdentifying_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BIsPhoneIdentifying( ); + return 0; } -bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_BIsPhoneRequiringVerification( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); + struct ISteamUser_SteamUser022_BIsPhoneRequiringVerification_params *params = (struct ISteamUser_SteamUser022_BIsPhoneRequiringVerification_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BIsPhoneRequiringVerification( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_GetMarketEligibility( void *args ) { - return ((ISteamUser*)linux_side)->GetMarketEligibility(); + struct ISteamUser_SteamUser022_GetMarketEligibility_params *params = (struct ISteamUser_SteamUser022_GetMarketEligibility_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetMarketEligibility( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *linux_side) +NTSTATUS ISteamUser_SteamUser022_GetDurationControl( void *args ) { - return ((ISteamUser*)linux_side)->GetDurationControl(); + struct ISteamUser_SteamUser022_GetDurationControl_params *params = (struct ISteamUser_SteamUser022_GetDurationControl_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->GetDurationControl( ); + return 0; } -bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +NTSTATUS ISteamUser_SteamUser022_BSetDurationControlOnlineState( void *args ) { - return ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); + struct ISteamUser_SteamUser022_BSetDurationControlOnlineState_params *params = (struct ISteamUser_SteamUser022_BSetDurationControlOnlineState_params *)args; + struct u_ISteamUser_SteamUser022 *iface = (struct u_ISteamUser_SteamUser022 *)params->linux_side; + params->_ret = iface->BSetDurationControlOnlineState( params->eNewState ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser022.h b/lsteamclient/cppISteamUser_SteamUser022.h deleted file mode 100644 index c11324cd5..000000000 --- a/lsteamclient/cppISteamUser_SteamUser022.h +++ /dev/null @@ -1,32 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser022_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser022_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser022_GetSteamID(void *); -extern int cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser022_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser022_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser022_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser022_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser022_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser022_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser022_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser022_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser022_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser022_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser022_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser022_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser022_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser022_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser022_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser022_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser022_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser022_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser022_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser022_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser022_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser022_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser022_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); diff --git a/lsteamclient/cppISteamUser_SteamUser023.cpp b/lsteamclient/cppISteamUser_SteamUser023.cpp index e0d269c61..f0a26ab08 100644 --- a/lsteamclient/cppISteamUser_SteamUser023.cpp +++ b/lsteamclient/cppISteamUser_SteamUser023.cpp @@ -1,182 +1,268 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamUser_SteamUser023.h" -HSteamUser cppISteamUser_SteamUser023_GetHSteamUser(void *linux_side) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamUser_SteamUser023_GetHSteamUser( void *args ) { - return ((ISteamUser*)linux_side)->GetHSteamUser(); + struct ISteamUser_SteamUser023_GetHSteamUser_params *params = (struct ISteamUser_SteamUser023_GetHSteamUser_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetHSteamUser( ); + return 0; } -bool cppISteamUser_SteamUser023_BLoggedOn(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BLoggedOn( void *args ) { - return ((ISteamUser*)linux_side)->BLoggedOn(); + struct ISteamUser_SteamUser023_BLoggedOn_params *params = (struct ISteamUser_SteamUser023_BLoggedOn_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BLoggedOn( ); + return 0; } -CSteamID cppISteamUser_SteamUser023_GetSteamID(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_GetSteamID( void *args ) { - return ((ISteamUser*)linux_side)->GetSteamID(); + struct ISteamUser_SteamUser023_GetSteamID_params *params = (struct ISteamUser_SteamUser023_GetSteamID_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + *params->_ret = iface->GetSteamID( ); + return 0; } -int cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(void *linux_side, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +NTSTATUS ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED( void *args ) { - return ((ISteamUser*)linux_side)->InitiateGameConnection_DEPRECATED((void *)pAuthBlob, (int)cbMaxAuthBlob, (CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer, (bool)bSecure); + struct ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->InitiateGameConnection_DEPRECATED( params->pAuthBlob, params->cbMaxAuthBlob, params->steamIDGameServer, params->unIPServer, params->usPortServer, params->bSecure ); + return 0; } -void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(void *linux_side, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED( void *args ) { - ((ISteamUser*)linux_side)->TerminateGameConnection_DEPRECATED((uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params *params = (struct ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->TerminateGameConnection_DEPRECATED( params->unIPServer, params->usPortServer ); + return 0; } -void cppISteamUser_SteamUser023_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +NTSTATUS ISteamUser_SteamUser023_TrackAppUsageEvent( void *args ) { - ((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo); + struct ISteamUser_SteamUser023_TrackAppUsageEvent_params *params = (struct ISteamUser_SteamUser023_TrackAppUsageEvent_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->TrackAppUsageEvent( params->gameID, params->eAppUsageEvent, params->pchExtraInfo ); + return 0; } -bool cppISteamUser_SteamUser023_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer) +NTSTATUS ISteamUser_SteamUser023_GetUserDataFolder( void *args ) { - return ((ISteamUser*)linux_side)->GetUserDataFolder((char *)pchBuffer, (int)cubBuffer); + struct ISteamUser_SteamUser023_GetUserDataFolder_params *params = (struct ISteamUser_SteamUser023_GetUserDataFolder_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetUserDataFolder( params->pchBuffer, params->cubBuffer ); + steamclient_unix_path_to_dos_path( params->_ret, params->pchBuffer, params->pchBuffer, params->cubBuffer, 0 ); + return 0; } -void cppISteamUser_SteamUser023_StartVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_StartVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StartVoiceRecording(); + struct ISteamUser_SteamUser023_StartVoiceRecording_params *params = (struct ISteamUser_SteamUser023_StartVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->StartVoiceRecording( ); + return 0; } -void cppISteamUser_SteamUser023_StopVoiceRecording(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_StopVoiceRecording( void *args ) { - ((ISteamUser*)linux_side)->StopVoiceRecording(); + struct ISteamUser_SteamUser023_StopVoiceRecording_params *params = (struct ISteamUser_SteamUser023_StopVoiceRecording_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->StopVoiceRecording( ); + return 0; } -EVoiceResult cppISteamUser_SteamUser023_GetAvailableVoice(void *linux_side, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser023_GetAvailableVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetAvailableVoice((uint32 *)pcbCompressed, (uint32 *)pcbUncompressed_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser023_GetAvailableVoice_params *params = (struct ISteamUser_SteamUser023_GetAvailableVoice_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetAvailableVoice( params->pcbCompressed, params->pcbUncompressed_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser023_GetVoice(void *linux_side, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +NTSTATUS ISteamUser_SteamUser023_GetVoice( void *args ) { - return ((ISteamUser*)linux_side)->GetVoice((bool)bWantCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (bool)bWantUncompressed_Deprecated, (void *)pUncompressedDestBuffer_Deprecated, (uint32)cbUncompressedDestBufferSize_Deprecated, (uint32 *)nUncompressBytesWritten_Deprecated, (uint32)nUncompressedVoiceDesiredSampleRate_Deprecated); + struct ISteamUser_SteamUser023_GetVoice_params *params = (struct ISteamUser_SteamUser023_GetVoice_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetVoice( params->bWantCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->bWantUncompressed_Deprecated, params->pUncompressedDestBuffer_Deprecated, params->cbUncompressedDestBufferSize_Deprecated, params->nUncompressBytesWritten_Deprecated, params->nUncompressedVoiceDesiredSampleRate_Deprecated ); + return 0; } -EVoiceResult cppISteamUser_SteamUser023_DecompressVoice(void *linux_side, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +NTSTATUS ISteamUser_SteamUser023_DecompressVoice( void *args ) { - return ((ISteamUser*)linux_side)->DecompressVoice((const void *)pCompressed, (uint32)cbCompressed, (void *)pDestBuffer, (uint32)cbDestBufferSize, (uint32 *)nBytesWritten, (uint32)nDesiredSampleRate); + struct ISteamUser_SteamUser023_DecompressVoice_params *params = (struct ISteamUser_SteamUser023_DecompressVoice_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->DecompressVoice( params->pCompressed, params->cbCompressed, params->pDestBuffer, params->cbDestBufferSize, params->nBytesWritten, params->nDesiredSampleRate ); + return 0; } -uint32 cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_GetVoiceOptimalSampleRate( void *args ) { - return ((ISteamUser*)linux_side)->GetVoiceOptimalSampleRate(); + struct ISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params *params = (struct ISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetVoiceOptimalSampleRate( ); + return 0; } -HAuthTicket cppISteamUser_SteamUser023_GetAuthSessionTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +NTSTATUS ISteamUser_SteamUser023_GetAuthSessionTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthSessionTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket, (const SteamNetworkingIdentity *)pSteamNetworkingIdentity); + struct ISteamUser_SteamUser023_GetAuthSessionTicket_params *params = (struct ISteamUser_SteamUser023_GetAuthSessionTicket_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetAuthSessionTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket, params->pSteamNetworkingIdentity ); + return 0; } -HAuthTicket cppISteamUser_SteamUser023_GetAuthTicketForWebApi(void *linux_side, const char * pchIdentity) +NTSTATUS ISteamUser_SteamUser023_GetAuthTicketForWebApi( void *args ) { - return ((ISteamUser*)linux_side)->GetAuthTicketForWebApi((const char *)pchIdentity); + struct ISteamUser_SteamUser023_GetAuthTicketForWebApi_params *params = (struct ISteamUser_SteamUser023_GetAuthTicketForWebApi_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetAuthTicketForWebApi( params->pchIdentity ); + return 0; } -EBeginAuthSessionResult cppISteamUser_SteamUser023_BeginAuthSession(void *linux_side, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser023_BeginAuthSession( void *args ) { - return ((ISteamUser*)linux_side)->BeginAuthSession((const void *)pAuthTicket, (int)cbAuthTicket, (CSteamID)steamID); + struct ISteamUser_SteamUser023_BeginAuthSession_params *params = (struct ISteamUser_SteamUser023_BeginAuthSession_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BeginAuthSession( params->pAuthTicket, params->cbAuthTicket, params->steamID ); + return 0; } -void cppISteamUser_SteamUser023_EndAuthSession(void *linux_side, CSteamID steamID) +NTSTATUS ISteamUser_SteamUser023_EndAuthSession( void *args ) { - ((ISteamUser*)linux_side)->EndAuthSession((CSteamID)steamID); + struct ISteamUser_SteamUser023_EndAuthSession_params *params = (struct ISteamUser_SteamUser023_EndAuthSession_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->EndAuthSession( params->steamID ); + return 0; } -void cppISteamUser_SteamUser023_CancelAuthTicket(void *linux_side, HAuthTicket hAuthTicket) +NTSTATUS ISteamUser_SteamUser023_CancelAuthTicket( void *args ) { - ((ISteamUser*)linux_side)->CancelAuthTicket((HAuthTicket)hAuthTicket); + struct ISteamUser_SteamUser023_CancelAuthTicket_params *params = (struct ISteamUser_SteamUser023_CancelAuthTicket_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->CancelAuthTicket( params->hAuthTicket ); + return 0; } -EUserHasLicenseForAppResult cppISteamUser_SteamUser023_UserHasLicenseForApp(void *linux_side, CSteamID steamID, AppId_t appID) +NTSTATUS ISteamUser_SteamUser023_UserHasLicenseForApp( void *args ) { - return ((ISteamUser*)linux_side)->UserHasLicenseForApp((CSteamID)steamID, (AppId_t)appID); + struct ISteamUser_SteamUser023_UserHasLicenseForApp_params *params = (struct ISteamUser_SteamUser023_UserHasLicenseForApp_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->UserHasLicenseForApp( params->steamID, params->appID ); + return 0; } -bool cppISteamUser_SteamUser023_BIsBehindNAT(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BIsBehindNAT( void *args ) { - return ((ISteamUser*)linux_side)->BIsBehindNAT(); + struct ISteamUser_SteamUser023_BIsBehindNAT_params *params = (struct ISteamUser_SteamUser023_BIsBehindNAT_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BIsBehindNAT( ); + return 0; } -void cppISteamUser_SteamUser023_AdvertiseGame(void *linux_side, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +NTSTATUS ISteamUser_SteamUser023_AdvertiseGame( void *args ) { - ((ISteamUser*)linux_side)->AdvertiseGame((CSteamID)steamIDGameServer, (uint32)unIPServer, (uint16)usPortServer); + struct ISteamUser_SteamUser023_AdvertiseGame_params *params = (struct ISteamUser_SteamUser023_AdvertiseGame_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + iface->AdvertiseGame( params->steamIDGameServer, params->unIPServer, params->usPortServer ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser023_RequestEncryptedAppTicket(void *linux_side, void * pDataToInclude, int cbDataToInclude) +NTSTATUS ISteamUser_SteamUser023_RequestEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->RequestEncryptedAppTicket((void *)pDataToInclude, (int)cbDataToInclude); + struct ISteamUser_SteamUser023_RequestEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser023_RequestEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->RequestEncryptedAppTicket( params->pDataToInclude, params->cbDataToInclude ); + return 0; } -bool cppISteamUser_SteamUser023_GetEncryptedAppTicket(void *linux_side, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +NTSTATUS ISteamUser_SteamUser023_GetEncryptedAppTicket( void *args ) { - return ((ISteamUser*)linux_side)->GetEncryptedAppTicket((void *)pTicket, (int)cbMaxTicket, (uint32 *)pcbTicket); + struct ISteamUser_SteamUser023_GetEncryptedAppTicket_params *params = (struct ISteamUser_SteamUser023_GetEncryptedAppTicket_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetEncryptedAppTicket( params->pTicket, params->cbMaxTicket, params->pcbTicket ); + return 0; } -int cppISteamUser_SteamUser023_GetGameBadgeLevel(void *linux_side, int nSeries, bool bFoil) +NTSTATUS ISteamUser_SteamUser023_GetGameBadgeLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetGameBadgeLevel((int)nSeries, (bool)bFoil); + struct ISteamUser_SteamUser023_GetGameBadgeLevel_params *params = (struct ISteamUser_SteamUser023_GetGameBadgeLevel_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetGameBadgeLevel( params->nSeries, params->bFoil ); + return 0; } -int cppISteamUser_SteamUser023_GetPlayerSteamLevel(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_GetPlayerSteamLevel( void *args ) { - return ((ISteamUser*)linux_side)->GetPlayerSteamLevel(); + struct ISteamUser_SteamUser023_GetPlayerSteamLevel_params *params = (struct ISteamUser_SteamUser023_GetPlayerSteamLevel_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetPlayerSteamLevel( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser023_RequestStoreAuthURL(void *linux_side, const char * pchRedirectURL) +NTSTATUS ISteamUser_SteamUser023_RequestStoreAuthURL( void *args ) { - return ((ISteamUser*)linux_side)->RequestStoreAuthURL((const char *)pchRedirectURL); + struct ISteamUser_SteamUser023_RequestStoreAuthURL_params *params = (struct ISteamUser_SteamUser023_RequestStoreAuthURL_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->RequestStoreAuthURL( params->pchRedirectURL ); + return 0; } -bool cppISteamUser_SteamUser023_BIsPhoneVerified(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BIsPhoneVerified( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneVerified(); + struct ISteamUser_SteamUser023_BIsPhoneVerified_params *params = (struct ISteamUser_SteamUser023_BIsPhoneVerified_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BIsPhoneVerified( ); + return 0; } -bool cppISteamUser_SteamUser023_BIsTwoFactorEnabled(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BIsTwoFactorEnabled( void *args ) { - return ((ISteamUser*)linux_side)->BIsTwoFactorEnabled(); + struct ISteamUser_SteamUser023_BIsTwoFactorEnabled_params *params = (struct ISteamUser_SteamUser023_BIsTwoFactorEnabled_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BIsTwoFactorEnabled( ); + return 0; } -bool cppISteamUser_SteamUser023_BIsPhoneIdentifying(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BIsPhoneIdentifying( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneIdentifying(); + struct ISteamUser_SteamUser023_BIsPhoneIdentifying_params *params = (struct ISteamUser_SteamUser023_BIsPhoneIdentifying_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BIsPhoneIdentifying( ); + return 0; } -bool cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_BIsPhoneRequiringVerification( void *args ) { - return ((ISteamUser*)linux_side)->BIsPhoneRequiringVerification(); + struct ISteamUser_SteamUser023_BIsPhoneRequiringVerification_params *params = (struct ISteamUser_SteamUser023_BIsPhoneRequiringVerification_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BIsPhoneRequiringVerification( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser023_GetMarketEligibility(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_GetMarketEligibility( void *args ) { - return ((ISteamUser*)linux_side)->GetMarketEligibility(); + struct ISteamUser_SteamUser023_GetMarketEligibility_params *params = (struct ISteamUser_SteamUser023_GetMarketEligibility_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetMarketEligibility( ); + return 0; } -SteamAPICall_t cppISteamUser_SteamUser023_GetDurationControl(void *linux_side) +NTSTATUS ISteamUser_SteamUser023_GetDurationControl( void *args ) { - return ((ISteamUser*)linux_side)->GetDurationControl(); + struct ISteamUser_SteamUser023_GetDurationControl_params *params = (struct ISteamUser_SteamUser023_GetDurationControl_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->GetDurationControl( ); + return 0; } -bool cppISteamUser_SteamUser023_BSetDurationControlOnlineState(void *linux_side, EDurationControlOnlineState eNewState) +NTSTATUS ISteamUser_SteamUser023_BSetDurationControlOnlineState( void *args ) { - return ((ISteamUser*)linux_side)->BSetDurationControlOnlineState((EDurationControlOnlineState)eNewState); + struct ISteamUser_SteamUser023_BSetDurationControlOnlineState_params *params = (struct ISteamUser_SteamUser023_BSetDurationControlOnlineState_params *)args; + struct u_ISteamUser_SteamUser023 *iface = (struct u_ISteamUser_SteamUser023 *)params->linux_side; + params->_ret = iface->BSetDurationControlOnlineState( params->eNewState ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUser_SteamUser023.h b/lsteamclient/cppISteamUser_SteamUser023.h deleted file mode 100644 index 32ba34cf1..000000000 --- a/lsteamclient/cppISteamUser_SteamUser023.h +++ /dev/null @@ -1,33 +0,0 @@ -extern HSteamUser cppISteamUser_SteamUser023_GetHSteamUser(void *); -extern bool cppISteamUser_SteamUser023_BLoggedOn(void *); -extern CSteamID cppISteamUser_SteamUser023_GetSteamID(void *); -extern int cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(void *, void *, int, CSteamID, uint32, uint16, bool); -extern void cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(void *, uint32, uint16); -extern void cppISteamUser_SteamUser023_TrackAppUsageEvent(void *, CGameID, int, const char *); -extern bool cppISteamUser_SteamUser023_GetUserDataFolder(void *, char *, int); -extern void cppISteamUser_SteamUser023_StartVoiceRecording(void *); -extern void cppISteamUser_SteamUser023_StopVoiceRecording(void *); -extern EVoiceResult cppISteamUser_SteamUser023_GetAvailableVoice(void *, uint32 *, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser023_GetVoice(void *, bool, void *, uint32, uint32 *, bool, void *, uint32, uint32 *, uint32); -extern EVoiceResult cppISteamUser_SteamUser023_DecompressVoice(void *, const void *, uint32, void *, uint32, uint32 *, uint32); -extern uint32 cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(void *); -extern HAuthTicket cppISteamUser_SteamUser023_GetAuthSessionTicket(void *, void *, int, uint32 *, const SteamNetworkingIdentity *); -extern HAuthTicket cppISteamUser_SteamUser023_GetAuthTicketForWebApi(void *, const char *); -extern EBeginAuthSessionResult cppISteamUser_SteamUser023_BeginAuthSession(void *, const void *, int, CSteamID); -extern void cppISteamUser_SteamUser023_EndAuthSession(void *, CSteamID); -extern void cppISteamUser_SteamUser023_CancelAuthTicket(void *, HAuthTicket); -extern EUserHasLicenseForAppResult cppISteamUser_SteamUser023_UserHasLicenseForApp(void *, CSteamID, AppId_t); -extern bool cppISteamUser_SteamUser023_BIsBehindNAT(void *); -extern void cppISteamUser_SteamUser023_AdvertiseGame(void *, CSteamID, uint32, uint16); -extern SteamAPICall_t cppISteamUser_SteamUser023_RequestEncryptedAppTicket(void *, void *, int); -extern bool cppISteamUser_SteamUser023_GetEncryptedAppTicket(void *, void *, int, uint32 *); -extern int cppISteamUser_SteamUser023_GetGameBadgeLevel(void *, int, bool); -extern int cppISteamUser_SteamUser023_GetPlayerSteamLevel(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_RequestStoreAuthURL(void *, const char *); -extern bool cppISteamUser_SteamUser023_BIsPhoneVerified(void *); -extern bool cppISteamUser_SteamUser023_BIsTwoFactorEnabled(void *); -extern bool cppISteamUser_SteamUser023_BIsPhoneIdentifying(void *); -extern bool cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_GetMarketEligibility(void *); -extern SteamAPICall_t cppISteamUser_SteamUser023_GetDurationControl(void *); -extern bool cppISteamUser_SteamUser023_BSetDurationControlOnlineState(void *, EDurationControlOnlineState); diff --git a/lsteamclient/cppISteamUtils_SteamUtils002.cpp b/lsteamclient/cppISteamUtils_SteamUtils002.cpp index 68a397e47..32c232e96 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils002.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils002.cpp @@ -1,86 +1,107 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_103/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_103 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils002.h" -uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils002_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils002_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils002_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils002_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils002_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils002_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils002_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils002_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils002_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils002_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils002_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils002_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils002_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils002_GetImageSize_params *params = (struct ISteamUtils_SteamUtils002_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils002_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils002_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils002_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils002_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils002_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils002_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils002_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils002_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils002_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils002_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils002_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils002_GetAppID_params *params = (struct ISteamUtils_SteamUtils002_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils002_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils002_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils002_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils002_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils002_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils002_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils002_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils002_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils002_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils002_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils002.h b/lsteamclient/cppISteamUtils_SteamUtils002.h deleted file mode 100644 index 41a839d6e..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils002.h +++ /dev/null @@ -1,14 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils002_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils002_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils002_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils002_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils002_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils002_GetAppID(void *); -extern void cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils002_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils002_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils002_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils004.cpp b/lsteamclient/cppISteamUtils_SteamUtils004.cpp index bf496b9c4..43b8efcf4 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils004.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils004.cpp @@ -1,107 +1,140 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_106/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_106 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils004.h" -uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils004_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils004_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils004_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils004_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils004_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils004_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils004_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils004_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils004_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils004_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils004_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils004_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils004_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils004_GetImageSize_params *params = (struct ISteamUtils_SteamUtils004_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils004_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils004_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils004_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils004_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils004_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils004_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils004_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils004_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils004_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils004_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils004_GetAppID_params *params = (struct ISteamUtils_SteamUtils004_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils004_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils004_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils004_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils004_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils004_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils004_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils004_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils004_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils004_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils004_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils004_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils004_RunFrame_params *params = (struct ISteamUtils_SteamUtils004_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils004_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils004_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils004_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils004_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils004_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils004_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils004_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils004_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils004_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils004_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils004_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils004.h b/lsteamclient/cppISteamUtils_SteamUtils004.h deleted file mode 100644 index 95a912ae7..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils004.h +++ /dev/null @@ -1,18 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils004_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils004_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils004_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils004_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils004_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetAppID(void *); -extern void cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils004_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils004_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils004_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils004_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils004_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils004_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils004_IsOverlayEnabled(void *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils005.cpp b/lsteamclient/cppISteamUtils_SteamUtils005.cpp index cad7b38dd..d5a2f3349 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils005.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils005.cpp @@ -1,132 +1,182 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_123a/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_123a -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils005.h" -uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils005_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils005_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils005_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils005_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils005_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils005_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils005_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils005_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils005_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils005_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils005_GetImageSize_params *params = (struct ISteamUtils_SteamUtils005_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils005_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils005_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils005_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils005_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils005_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils005_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils005_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils005_GetAppID_params *params = (struct ISteamUtils_SteamUtils005_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils005_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils005_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils005_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils005_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils005_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils005_RunFrame_params *params = (struct ISteamUtils_SteamUtils005_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils005_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils005_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils005_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils005_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils005_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils005_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils005_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils005_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils005_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax) +NTSTATUS ISteamUtils_SteamUtils005_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax); + struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax ); + return 0; } -uint32 cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils005.h b/lsteamclient/cppISteamUtils_SteamUtils005.h deleted file mode 100644 index 2c0ac2472..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils005.h +++ /dev/null @@ -1,23 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils005_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils005_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils005_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils005_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils005_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetAppID(void *); -extern void cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils005_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils005_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils005_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils005_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils005_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils005_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils005_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils005_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils005_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32); -extern uint32 cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(void *, char *, uint32); diff --git a/lsteamclient/cppISteamUtils_SteamUtils006.cpp b/lsteamclient/cppISteamUtils_SteamUtils006.cpp index b4363bd3f..de2dee940 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils006.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils006.cpp @@ -1,142 +1,198 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_128 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils006.h" -uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils006_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils006_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils006_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils006_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils006_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils006_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils006_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils006_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils006_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils006_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils006_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils006_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils006_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils006_GetImageSize_params *params = (struct ISteamUtils_SteamUtils006_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils006_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils006_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils006_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils006_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils006_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils006_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils006_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils006_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils006_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils006_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils006_GetAppID_params *params = (struct ISteamUtils_SteamUtils006_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils006_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils006_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils006_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils006_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils006_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils006_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils006_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils006_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils006_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils006_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils006_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils006_RunFrame_params *params = (struct ISteamUtils_SteamUtils006_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils006_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils006_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils006_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils006_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils006_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils006_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils006_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils006_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils006_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils006_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils006_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils006_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils006_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils006_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils006_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils006_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils006_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax) +NTSTATUS ISteamUtils_SteamUtils006_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax); + struct ISteamUtils_SteamUtils006_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils006_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax ); + return 0; } -uint32 cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -const char * cppISteamUtils_SteamUtils006_GetSteamUILanguage(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_GetSteamUILanguage( void *args ) { - return ((ISteamUtils*)linux_side)->GetSteamUILanguage(); + struct ISteamUtils_SteamUtils006_GetSteamUILanguage_params *params = (struct ISteamUtils_SteamUtils006_GetSteamUILanguage_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->GetSteamUILanguage( ); + return 0; } -bool cppISteamUtils_SteamUtils006_IsSteamRunningInVR(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils006_IsSteamRunningInVR( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); + struct ISteamUtils_SteamUtils006_IsSteamRunningInVR_params *params = (struct ISteamUtils_SteamUtils006_IsSteamRunningInVR_params *)args; + struct u_ISteamUtils_SteamUtils006 *iface = (struct u_ISteamUtils_SteamUtils006 *)params->linux_side; + params->_ret = iface->IsSteamRunningInVR( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils006.h b/lsteamclient/cppISteamUtils_SteamUtils006.h deleted file mode 100644 index a67eafa56..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils006.h +++ /dev/null @@ -1,25 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils006_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils006_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils006_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils006_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils006_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetAppID(void *); -extern void cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils006_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils006_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils006_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils006_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils006_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils006_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils006_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils006_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils006_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32); -extern uint32 cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils006_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils006_IsSteamRunningInVR(void *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils007.cpp b/lsteamclient/cppISteamUtils_SteamUtils007.cpp index 850aa0f73..26632851a 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils007.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils007.cpp @@ -1,147 +1,206 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_136/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_136 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils007.h" -uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils007_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils007_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils007_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils007_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils007_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils007_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils007_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils007_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils007_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils007_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils007_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils007_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils007_GetImageSize_params *params = (struct ISteamUtils_SteamUtils007_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils007_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils007_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils007_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils007_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils007_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils007_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils007_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils007_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils007_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils007_GetAppID_params *params = (struct ISteamUtils_SteamUtils007_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils007_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils007_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils007_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils007_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils007_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils007_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils007_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils007_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils007_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils007_RunFrame_params *params = (struct ISteamUtils_SteamUtils007_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils007_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils007_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils007_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils007_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils007_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils007_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils007_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils007_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils007_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils007_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils007_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils007_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils007_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils007_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils007_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +NTSTATUS ISteamUtils_SteamUtils007_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); + struct ISteamUtils_SteamUtils007_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils007_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText ); + return 0; } -uint32 cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -const char * cppISteamUtils_SteamUtils007_GetSteamUILanguage(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_GetSteamUILanguage( void *args ) { - return ((ISteamUtils*)linux_side)->GetSteamUILanguage(); + struct ISteamUtils_SteamUtils007_GetSteamUILanguage_params *params = (struct ISteamUtils_SteamUtils007_GetSteamUILanguage_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->GetSteamUILanguage( ); + return 0; } -bool cppISteamUtils_SteamUtils007_IsSteamRunningInVR(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils007_IsSteamRunningInVR( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); + struct ISteamUtils_SteamUtils007_IsSteamRunningInVR_params *params = (struct ISteamUtils_SteamUtils007_IsSteamRunningInVR_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + params->_ret = iface->IsSteamRunningInVR( ); + return 0; } -void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +NTSTATUS ISteamUtils_SteamUtils007_SetOverlayNotificationInset( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + struct ISteamUtils_SteamUtils007_SetOverlayNotificationInset_params *params = (struct ISteamUtils_SteamUtils007_SetOverlayNotificationInset_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils007.h b/lsteamclient/cppISteamUtils_SteamUtils007.h deleted file mode 100644 index 067487766..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils007.h +++ /dev/null @@ -1,26 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils007_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils007_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils007_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils007_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils007_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetAppID(void *); -extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils007_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils007_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils007_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils007_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils007_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils007_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils007_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils007_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils007_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils007_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils007_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(void *, int, int); diff --git a/lsteamclient/cppISteamUtils_SteamUtils008.cpp b/lsteamclient/cppISteamUtils_SteamUtils008.cpp index f7d9d1b26..47ef7814c 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils008.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils008.cpp @@ -1,157 +1,222 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_139/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_139 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils008.h" -uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils008_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils008_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils008_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils008_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils008_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils008_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils008_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils008_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils008_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils008_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils008_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils008_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils008_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils008_GetImageSize_params *params = (struct ISteamUtils_SteamUtils008_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils008_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils008_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils008_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils008_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils008_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils008_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils008_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils008_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils008_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils008_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils008_GetAppID_params *params = (struct ISteamUtils_SteamUtils008_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils008_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils008_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils008_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils008_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils008_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils008_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils008_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils008_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils008_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils008_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils008_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils008_RunFrame_params *params = (struct ISteamUtils_SteamUtils008_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils008_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils008_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils008_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils008_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils008_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils008_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils008_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils008_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils008_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils008_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils008_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils008_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils008_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils008_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils008_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils008_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils008_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +NTSTATUS ISteamUtils_SteamUtils008_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); + struct ISteamUtils_SteamUtils008_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils008_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText ); + return 0; } -uint32 cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -const char * cppISteamUtils_SteamUtils008_GetSteamUILanguage(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_GetSteamUILanguage( void *args ) { - return ((ISteamUtils*)linux_side)->GetSteamUILanguage(); + struct ISteamUtils_SteamUtils008_GetSteamUILanguage_params *params = (struct ISteamUtils_SteamUtils008_GetSteamUILanguage_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->GetSteamUILanguage( ); + return 0; } -bool cppISteamUtils_SteamUtils008_IsSteamRunningInVR(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_IsSteamRunningInVR( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); + struct ISteamUtils_SteamUtils008_IsSteamRunningInVR_params *params = (struct ISteamUtils_SteamUtils008_IsSteamRunningInVR_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->IsSteamRunningInVR( ); + return 0; } -void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +NTSTATUS ISteamUtils_SteamUtils008_SetOverlayNotificationInset( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + struct ISteamUtils_SteamUtils008_SetOverlayNotificationInset_params *params = (struct ISteamUtils_SteamUtils008_SetOverlayNotificationInset_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset ); + return 0; } -bool cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_IsSteamInBigPictureMode( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); + struct ISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params *params = (struct ISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + params->_ret = iface->IsSteamInBigPictureMode( ); + return 0; } -void cppISteamUtils_SteamUtils008_StartVRDashboard(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils008_StartVRDashboard( void *args ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + struct ISteamUtils_SteamUtils008_StartVRDashboard_params *params = (struct ISteamUtils_SteamUtils008_StartVRDashboard_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + iface->StartVRDashboard( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils008.h b/lsteamclient/cppISteamUtils_SteamUtils008.h deleted file mode 100644 index a62ad09cc..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils008.h +++ /dev/null @@ -1,28 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils008_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils008_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils008_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils008_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils008_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetAppID(void *); -extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils008_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils008_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils008_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils008_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils008_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils008_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils008_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils008_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils008_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils008_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils008_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils008_StartVRDashboard(void *); diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.cpp b/lsteamclient/cppISteamUtils_SteamUtils009.cpp index d608df38c..81fa9e7dd 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils009.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils009.cpp @@ -1,188 +1,270 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_149/steam_api.h" -#include "steamworks_sdk_149/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_149 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils009.h" -uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils009_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils009_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils009_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils009_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils009_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils009_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils009_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils009_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils009_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils009_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils009_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils009_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils009_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils009_GetImageSize_params *params = (struct ISteamUtils_SteamUtils009_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils009_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils009_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils009_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils009_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils009_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils009_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils009_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils009_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils009_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils009_GetAppID_params *params = (struct ISteamUtils_SteamUtils009_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils009_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils009_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils009_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils009_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils009_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils009_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils009_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils009_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils009_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils009_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils009_RunFrame_params *params = (struct ISteamUtils_SteamUtils009_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils009_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils009_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils009_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils009_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils009_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils009_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils009_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils009_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils009_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils009_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils009_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils009_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils009_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils009_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils009_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +NTSTATUS ISteamUtils_SteamUtils009_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); + struct ISteamUtils_SteamUtils009_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils009_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText ); + return 0; } -uint32 cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -const char * cppISteamUtils_SteamUtils009_GetSteamUILanguage(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_GetSteamUILanguage( void *args ) { - return ((ISteamUtils*)linux_side)->GetSteamUILanguage(); + struct ISteamUtils_SteamUtils009_GetSteamUILanguage_params *params = (struct ISteamUtils_SteamUtils009_GetSteamUILanguage_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetSteamUILanguage( ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsSteamRunningInVR(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_IsSteamRunningInVR( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); + struct ISteamUtils_SteamUtils009_IsSteamRunningInVR_params *params = (struct ISteamUtils_SteamUtils009_IsSteamRunningInVR_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsSteamRunningInVR( ); + return 0; } -void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +NTSTATUS ISteamUtils_SteamUtils009_SetOverlayNotificationInset( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + struct ISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *params = (struct ISteamUtils_SteamUtils009_SetOverlayNotificationInset_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_IsSteamInBigPictureMode( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); + struct ISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *params = (struct ISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsSteamInBigPictureMode( ); + return 0; } -void cppISteamUtils_SteamUtils009_StartVRDashboard(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_StartVRDashboard( void *args ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + struct ISteamUtils_SteamUtils009_StartVRDashboard_params *params = (struct ISteamUtils_SteamUtils009_StartVRDashboard_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + iface->StartVRDashboard( ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsVRHeadsetStreamingEnabled(); + struct ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *params = (struct ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsVRHeadsetStreamingEnabled( ); + return 0; } -void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(void *linux_side, bool bEnabled) +NTSTATUS ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( void *args ) { - ((ISteamUtils*)linux_side)->SetVRHeadsetStreamingEnabled((bool)bEnabled); + struct ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *params = (struct ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + iface->SetVRHeadsetStreamingEnabled( params->bEnabled ); + return 0; } -bool cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_IsSteamChinaLauncher( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamChinaLauncher(); + struct ISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *params = (struct ISteamUtils_SteamUtils009_IsSteamChinaLauncher_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->IsSteamChinaLauncher( ); + return 0; } -bool cppISteamUtils_SteamUtils009_InitFilterText(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils009_InitFilterText( void *args ) { - return ((ISteamUtils*)linux_side)->InitFilterText(); + struct ISteamUtils_SteamUtils009_InitFilterText_params *params = (struct ISteamUtils_SteamUtils009_InitFilterText_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->InitFilterText( ); + return 0; } -int cppISteamUtils_SteamUtils009_FilterText(void *linux_side, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char * pchInputMessage, bool bLegalOnly) +NTSTATUS ISteamUtils_SteamUtils009_FilterText( void *args ) { - return ((ISteamUtils*)linux_side)->FilterText((char *)pchOutFilteredText, (uint32)nByteSizeOutFilteredText, (const char *)pchInputMessage, (bool)bLegalOnly); + struct ISteamUtils_SteamUtils009_FilterText_params *params = (struct ISteamUtils_SteamUtils009_FilterText_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->FilterText( params->pchOutFilteredText, params->nByteSizeOutFilteredText, params->pchInputMessage, params->bLegalOnly ); + return 0; } -ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(void *linux_side, ESteamIPv6ConnectivityProtocol eProtocol) +NTSTATUS ISteamUtils_SteamUtils009_GetIPv6ConnectivityState( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol); + struct ISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *params = (struct ISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + params->_ret = iface->GetIPv6ConnectivityState( params->eProtocol ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils009.h b/lsteamclient/cppISteamUtils_SteamUtils009.h deleted file mode 100644 index b86789d74..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils009.h +++ /dev/null @@ -1,34 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils009_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils009_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils009_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils009_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils009_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetAppID(void *); -extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils009_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils009_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils009_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils009_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils009_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils009_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils009_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils009_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils009_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils009_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils009_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils009_StartVRDashboard(void *); -extern bool cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(void *); -extern void cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(void *, bool); -extern bool cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(void *); -extern bool cppISteamUtils_SteamUtils009_InitFilterText(void *); -extern int cppISteamUtils_SteamUtils009_FilterText(void *, char *, uint32, const char *, bool); -extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol); diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.cpp b/lsteamclient/cppISteamUtils_SteamUtils010.cpp index 915daf35f..82889df17 100644 --- a/lsteamclient/cppISteamUtils_SteamUtils010.cpp +++ b/lsteamclient/cppISteamUtils_SteamUtils010.cpp @@ -1,208 +1,302 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamUtils_SteamUtils010.h" -uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *linux_side) -{ - return ((ISteamUtils*)linux_side)->GetSecondsSinceAppActive(); -} +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" -uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetSecondsSinceAppActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetSecondsSinceComputerActive(); + struct ISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params *params = (struct ISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetSecondsSinceAppActive( ); + return 0; } -EUniverse cppISteamUtils_SteamUtils010_GetConnectedUniverse(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( void *args ) { - return ((ISteamUtils*)linux_side)->GetConnectedUniverse(); + struct ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params *params = (struct ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetSecondsSinceComputerActive( ); + return 0; } -uint32 cppISteamUtils_SteamUtils010_GetServerRealTime(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetConnectedUniverse( void *args ) { - return ((ISteamUtils*)linux_side)->GetServerRealTime(); + struct ISteamUtils_SteamUtils010_GetConnectedUniverse_params *params = (struct ISteamUtils_SteamUtils010_GetConnectedUniverse_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetConnectedUniverse( ); + return 0; } -const char * cppISteamUtils_SteamUtils010_GetIPCountry(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetServerRealTime( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCountry(); + struct ISteamUtils_SteamUtils010_GetServerRealTime_params *params = (struct ISteamUtils_SteamUtils010_GetServerRealTime_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetServerRealTime( ); + return 0; } -bool cppISteamUtils_SteamUtils010_GetImageSize(void *linux_side, int iImage, uint32 * pnWidth, uint32 * pnHeight) +NTSTATUS ISteamUtils_SteamUtils010_GetIPCountry( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageSize((int)iImage, (uint32 *)pnWidth, (uint32 *)pnHeight); + struct ISteamUtils_SteamUtils010_GetIPCountry_params *params = (struct ISteamUtils_SteamUtils010_GetIPCountry_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetIPCountry( ); + return 0; } -bool cppISteamUtils_SteamUtils010_GetImageRGBA(void *linux_side, int iImage, uint8 * pubDest, int nDestBufferSize) +NTSTATUS ISteamUtils_SteamUtils010_GetImageSize( void *args ) { - return ((ISteamUtils*)linux_side)->GetImageRGBA((int)iImage, (uint8 *)pubDest, (int)nDestBufferSize); + struct ISteamUtils_SteamUtils010_GetImageSize_params *params = (struct ISteamUtils_SteamUtils010_GetImageSize_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetImageSize( params->iImage, params->pnWidth, params->pnHeight ); + return 0; } -bool cppISteamUtils_SteamUtils010_GetCSERIPPort(void *linux_side, uint32 * unIP, uint16 * usPort) +NTSTATUS ISteamUtils_SteamUtils010_GetImageRGBA( void *args ) { - return ((ISteamUtils*)linux_side)->GetCSERIPPort((uint32 *)unIP, (uint16 *)usPort); + struct ISteamUtils_SteamUtils010_GetImageRGBA_params *params = (struct ISteamUtils_SteamUtils010_GetImageRGBA_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetImageRGBA( params->iImage, params->pubDest, params->nDestBufferSize ); + return 0; } -uint8 cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetCSERIPPort( void *args ) { - return ((ISteamUtils*)linux_side)->GetCurrentBatteryPower(); + struct ISteamUtils_SteamUtils010_GetCSERIPPort_params *params = (struct ISteamUtils_SteamUtils010_GetCSERIPPort_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetCSERIPPort( params->unIP, params->usPort ); + return 0; } -uint32 cppISteamUtils_SteamUtils010_GetAppID(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetCurrentBatteryPower( void *args ) { - return ((ISteamUtils*)linux_side)->GetAppID(); + struct ISteamUtils_SteamUtils010_GetCurrentBatteryPower_params *params = (struct ISteamUtils_SteamUtils010_GetCurrentBatteryPower_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetCurrentBatteryPower( ); + return 0; } -void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(void *linux_side, ENotificationPosition eNotificationPosition) +NTSTATUS ISteamUtils_SteamUtils010_GetAppID( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationPosition((ENotificationPosition)eNotificationPosition); + struct ISteamUtils_SteamUtils010_GetAppID_params *params = (struct ISteamUtils_SteamUtils010_GetAppID_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetAppID( ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsAPICallCompleted(void *linux_side, SteamAPICall_t hSteamAPICall, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils010_SetOverlayNotificationPosition( void *args ) { - return ((ISteamUtils*)linux_side)->IsAPICallCompleted((SteamAPICall_t)hSteamAPICall, (bool *)pbFailed); + struct ISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params *params = (struct ISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->SetOverlayNotificationPosition( params->eNotificationPosition ); + return 0; } -ESteamAPICallFailure cppISteamUtils_SteamUtils010_GetAPICallFailureReason(void *linux_side, SteamAPICall_t hSteamAPICall) +NTSTATUS ISteamUtils_SteamUtils010_IsAPICallCompleted( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallFailureReason((SteamAPICall_t)hSteamAPICall); + struct ISteamUtils_SteamUtils010_IsAPICallCompleted_params *params = (struct ISteamUtils_SteamUtils010_IsAPICallCompleted_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsAPICallCompleted( params->hSteamAPICall, params->pbFailed ); + return 0; } -bool cppISteamUtils_SteamUtils010_GetAPICallResult(void *linux_side, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +NTSTATUS ISteamUtils_SteamUtils010_GetAPICallFailureReason( void *args ) { - return ((ISteamUtils*)linux_side)->GetAPICallResult((SteamAPICall_t)hSteamAPICall, (void *)pCallback, (int)cubCallback, (int)iCallbackExpected, (bool *)pbFailed); + struct ISteamUtils_SteamUtils010_GetAPICallFailureReason_params *params = (struct ISteamUtils_SteamUtils010_GetAPICallFailureReason_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetAPICallFailureReason( params->hSteamAPICall ); + return 0; } -void cppISteamUtils_SteamUtils010_RunFrame(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_RunFrame( void *args ) { - ((ISteamUtils*)linux_side)->RunFrame(); + struct ISteamUtils_SteamUtils010_RunFrame_params *params = (struct ISteamUtils_SteamUtils010_RunFrame_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->RunFrame( ); + return 0; } -uint32 cppISteamUtils_SteamUtils010_GetIPCCallCount(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetIPCCallCount( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPCCallCount(); + struct ISteamUtils_SteamUtils010_GetIPCCallCount_params *params = (struct ISteamUtils_SteamUtils010_GetIPCCallCount_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetIPCCallCount( ); + return 0; } -void cppISteamUtils_SteamUtils010_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction) +NTSTATUS ISteamUtils_SteamUtils010_SetWarningMessageHook( void *args ) { - pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction); - ((ISteamUtils*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction); + struct ISteamUtils_SteamUtils010_SetWarningMessageHook_params *params = (struct ISteamUtils_SteamUtils010_SetWarningMessageHook_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + void (*U_CDECL u_pFunction)(int32_t, const char *) = manual_convert_SetWarningMessageHook_pFunction( params->pFunction ); + iface->SetWarningMessageHook( u_pFunction ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsOverlayEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsOverlayEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsOverlayEnabled(); + struct ISteamUtils_SteamUtils010_IsOverlayEnabled_params *params = (struct ISteamUtils_SteamUtils010_IsOverlayEnabled_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsOverlayEnabled( ); + return 0; } -bool cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_BOverlayNeedsPresent( void *args ) { - return ((ISteamUtils*)linux_side)->BOverlayNeedsPresent(); + struct ISteamUtils_SteamUtils010_BOverlayNeedsPresent_params *params = (struct ISteamUtils_SteamUtils010_BOverlayNeedsPresent_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->BOverlayNeedsPresent( ); + return 0; } -SteamAPICall_t cppISteamUtils_SteamUtils010_CheckFileSignature(void *linux_side, const char * szFileName) +NTSTATUS ISteamUtils_SteamUtils010_CheckFileSignature( void *args ) { - return ((ISteamUtils*)linux_side)->CheckFileSignature((const char *)szFileName); + struct ISteamUtils_SteamUtils010_CheckFileSignature_params *params = (struct ISteamUtils_SteamUtils010_CheckFileSignature_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + char *u_szFileName = steamclient_dos_to_unix_path( params->szFileName, 0 ); + params->_ret = iface->CheckFileSignature( u_szFileName ); + steamclient_free_path( u_szFileName ); + return 0; } -bool cppISteamUtils_SteamUtils010_ShowGamepadTextInput(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +NTSTATUS ISteamUtils_SteamUtils010_ShowGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowGamepadTextInput((EGamepadTextInputMode)eInputMode, (EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32)unCharMax, (const char *)pchExistingText); + struct ISteamUtils_SteamUtils010_ShowGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils010_ShowGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->ShowGamepadTextInput( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText ); + return 0; } -uint32 cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextLength(); + struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params *params = (struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextLength( ); + return 0; } -bool cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(void *linux_side, char * pchText, uint32 cchText) +NTSTATUS ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->GetEnteredGamepadTextInput((char *)pchText, (uint32)cchText); + struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetEnteredGamepadTextInput( params->pchText, params->cchText ); + return 0; } -const char * cppISteamUtils_SteamUtils010_GetSteamUILanguage(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_GetSteamUILanguage( void *args ) { - return ((ISteamUtils*)linux_side)->GetSteamUILanguage(); + struct ISteamUtils_SteamUtils010_GetSteamUILanguage_params *params = (struct ISteamUtils_SteamUtils010_GetSteamUILanguage_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetSteamUILanguage( ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsSteamRunningInVR(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsSteamRunningInVR( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningInVR(); + struct ISteamUtils_SteamUtils010_IsSteamRunningInVR_params *params = (struct ISteamUtils_SteamUtils010_IsSteamRunningInVR_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsSteamRunningInVR( ); + return 0; } -void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(void *linux_side, int nHorizontalInset, int nVerticalInset) +NTSTATUS ISteamUtils_SteamUtils010_SetOverlayNotificationInset( void *args ) { - ((ISteamUtils*)linux_side)->SetOverlayNotificationInset((int)nHorizontalInset, (int)nVerticalInset); + struct ISteamUtils_SteamUtils010_SetOverlayNotificationInset_params *params = (struct ISteamUtils_SteamUtils010_SetOverlayNotificationInset_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->SetOverlayNotificationInset( params->nHorizontalInset, params->nVerticalInset ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsSteamInBigPictureMode( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamInBigPictureMode(); + struct ISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params *params = (struct ISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsSteamInBigPictureMode( ); + return 0; } -void cppISteamUtils_SteamUtils010_StartVRDashboard(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_StartVRDashboard( void *args ) { - ((ISteamUtils*)linux_side)->StartVRDashboard(); + struct ISteamUtils_SteamUtils010_StartVRDashboard_params *params = (struct ISteamUtils_SteamUtils010_StartVRDashboard_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->StartVRDashboard( ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( void *args ) { - return ((ISteamUtils*)linux_side)->IsVRHeadsetStreamingEnabled(); + struct ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params *params = (struct ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsVRHeadsetStreamingEnabled( ); + return 0; } -void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(void *linux_side, bool bEnabled) +NTSTATUS ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( void *args ) { - ((ISteamUtils*)linux_side)->SetVRHeadsetStreamingEnabled((bool)bEnabled); + struct ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params *params = (struct ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->SetVRHeadsetStreamingEnabled( params->bEnabled ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsSteamChinaLauncher( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamChinaLauncher(); + struct ISteamUtils_SteamUtils010_IsSteamChinaLauncher_params *params = (struct ISteamUtils_SteamUtils010_IsSteamChinaLauncher_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsSteamChinaLauncher( ); + return 0; } -bool cppISteamUtils_SteamUtils010_InitFilterText(void *linux_side, uint32 unFilterOptions) +NTSTATUS ISteamUtils_SteamUtils010_InitFilterText( void *args ) { - return ((ISteamUtils*)linux_side)->InitFilterText((uint32)unFilterOptions); + struct ISteamUtils_SteamUtils010_InitFilterText_params *params = (struct ISteamUtils_SteamUtils010_InitFilterText_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->InitFilterText( params->unFilterOptions ); + return 0; } -int cppISteamUtils_SteamUtils010_FilterText(void *linux_side, ETextFilteringContext eContext, CSteamID sourceSteamID, const char * pchInputMessage, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText) +NTSTATUS ISteamUtils_SteamUtils010_FilterText( void *args ) { - return ((ISteamUtils*)linux_side)->FilterText((ETextFilteringContext)eContext, (CSteamID)sourceSteamID, (const char *)pchInputMessage, (char *)pchOutFilteredText, (uint32)nByteSizeOutFilteredText); + struct ISteamUtils_SteamUtils010_FilterText_params *params = (struct ISteamUtils_SteamUtils010_FilterText_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->FilterText( params->eContext, params->sourceSteamID, params->pchInputMessage, params->pchOutFilteredText, params->nByteSizeOutFilteredText ); + return 0; } -ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *linux_side, ESteamIPv6ConnectivityProtocol eProtocol) +NTSTATUS ISteamUtils_SteamUtils010_GetIPv6ConnectivityState( void *args ) { - return ((ISteamUtils*)linux_side)->GetIPv6ConnectivityState((ESteamIPv6ConnectivityProtocol)eProtocol); + struct ISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params *params = (struct ISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->GetIPv6ConnectivityState( params->eProtocol ); + return 0; } -bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( void *args ) { - return ((ISteamUtils*)linux_side)->IsSteamRunningOnSteamDeck(); + struct ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params *params = (struct ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->IsSteamRunningOnSteamDeck( ); + return 0; } -bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *linux_side, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) +NTSTATUS ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->ShowFloatingGamepadTextInput((EFloatingGamepadTextInputMode)eKeyboardMode, (int)nTextFieldXPosition, (int)nTextFieldYPosition, (int)nTextFieldWidth, (int)nTextFieldHeight); + struct ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->ShowFloatingGamepadTextInput( params->eKeyboardMode, params->nTextFieldXPosition, params->nTextFieldYPosition, params->nTextFieldWidth, params->nTextFieldHeight ); + return 0; } -void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *linux_side, bool bLauncherMode) +NTSTATUS ISteamUtils_SteamUtils010_SetGameLauncherMode( void *args ) { - ((ISteamUtils*)linux_side)->SetGameLauncherMode((bool)bLauncherMode); + struct ISteamUtils_SteamUtils010_SetGameLauncherMode_params *params = (struct ISteamUtils_SteamUtils010_SetGameLauncherMode_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + iface->SetGameLauncherMode( params->bLauncherMode ); + return 0; } -bool cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(void *linux_side) +NTSTATUS ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( void *args ) { - return ((ISteamUtils*)linux_side)->DismissFloatingGamepadTextInput(); + struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params *params = (struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + params->_ret = iface->DismissFloatingGamepadTextInput( ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamUtils_SteamUtils010.h b/lsteamclient/cppISteamUtils_SteamUtils010.h deleted file mode 100644 index db9e2d252..000000000 --- a/lsteamclient/cppISteamUtils_SteamUtils010.h +++ /dev/null @@ -1,38 +0,0 @@ -extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(void *); -extern EUniverse cppISteamUtils_SteamUtils010_GetConnectedUniverse(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetServerRealTime(void *); -extern const char * cppISteamUtils_SteamUtils010_GetIPCountry(void *); -extern bool cppISteamUtils_SteamUtils010_GetImageSize(void *, int, uint32 *, uint32 *); -extern bool cppISteamUtils_SteamUtils010_GetImageRGBA(void *, int, uint8 *, int); -extern bool cppISteamUtils_SteamUtils010_GetCSERIPPort(void *, uint32 *, uint16 *); -extern uint8 cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetAppID(void *); -extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(void *, ENotificationPosition); -extern bool cppISteamUtils_SteamUtils010_IsAPICallCompleted(void *, SteamAPICall_t, bool *); -extern ESteamAPICallFailure cppISteamUtils_SteamUtils010_GetAPICallFailureReason(void *, SteamAPICall_t); -extern bool cppISteamUtils_SteamUtils010_GetAPICallResult(void *, SteamAPICall_t, void *, int, int, bool *); -extern void cppISteamUtils_SteamUtils010_RunFrame(void *); -extern uint32 cppISteamUtils_SteamUtils010_GetIPCCallCount(void *); -extern void cppISteamUtils_SteamUtils010_SetWarningMessageHook(void *, SteamAPIWarningMessageHook_t); -extern bool cppISteamUtils_SteamUtils010_IsOverlayEnabled(void *); -extern bool cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(void *); -extern SteamAPICall_t cppISteamUtils_SteamUtils010_CheckFileSignature(void *, const char *); -extern bool cppISteamUtils_SteamUtils010_ShowGamepadTextInput(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32, const char *); -extern uint32 cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(void *); -extern bool cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(void *, char *, uint32); -extern const char * cppISteamUtils_SteamUtils010_GetSteamUILanguage(void *); -extern bool cppISteamUtils_SteamUtils010_IsSteamRunningInVR(void *); -extern void cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(void *, int, int); -extern bool cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(void *); -extern void cppISteamUtils_SteamUtils010_StartVRDashboard(void *); -extern bool cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(void *); -extern void cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(void *, bool); -extern bool cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(void *); -extern bool cppISteamUtils_SteamUtils010_InitFilterText(void *, uint32); -extern int cppISteamUtils_SteamUtils010_FilterText(void *, ETextFilteringContext, CSteamID, const char *, char *, uint32); -extern ESteamIPv6ConnectivityState cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(void *, ESteamIPv6ConnectivityProtocol); -extern bool cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(void *); -extern bool cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(void *, EFloatingGamepadTextInputMode, int, int, int, int); -extern void cppISteamUtils_SteamUtils010_SetGameLauncherMode(void *, bool); -extern bool cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(void *); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp index 550477b33..43a36080c 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.cpp @@ -1,26 +1,19 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_139/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_139 -#include "struct_converters.h" -#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h" -void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(void *linux_side, AppId_t unVideoAppID) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL( void *args ) { - ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V001 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V001 *)params->linux_side; + iface->GetVideoURL( params->unVideoAppID ); + return 0; } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(void *linux_side, int * pnNumViewers) +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting( void *args ) { - return ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V001 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V001 *)params->linux_side; + params->_ret = iface->IsBroadcasting( params->pnNumViewers ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h deleted file mode 100644 index 1a49fa671..000000000 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h +++ /dev/null @@ -1,2 +0,0 @@ -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(void *, int *); diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp index 3082b8b2a..218ca20bf 100644 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp +++ b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp @@ -1,37 +1,35 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -#ifdef __cplusplus -extern "C" { -#endif -#define SDKVER_157 -#include "struct_converters.h" -#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" -void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID) +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( void *args ) { - ((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side; + iface->GetVideoURL( params->unVideoAppID ); + return 0; } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *linux_side, int * pnNumViewers) +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( void *args ) { - return ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->IsBroadcasting( params->pnNumViewers ); + return 0; } -void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *linux_side, AppId_t unVideoAppID) +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( void *args ) { - ((ISteamVideo*)linux_side)->GetOPFSettings((AppId_t)unVideoAppID); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side; + iface->GetOPFSettings( params->unVideoAppID ); + return 0; } -bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *linux_side, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize) +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( void *args ) { - return ((ISteamVideo*)linux_side)->GetOPFStringForApp((AppId_t)unVideoAppID, (char *)pchBuffer, (int32 *)pnBufferSize); + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params *params = (struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params *)args; + struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *iface = (struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 *)params->linux_side; + params->_ret = iface->GetOPFStringForApp( params->unVideoAppID, params->pchBuffer, params->pnBufferSize ); + return 0; } -#ifdef __cplusplus -} -#endif diff --git a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h b/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h deleted file mode 100644 index bae688fd3..000000000 --- a/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h +++ /dev/null @@ -1,4 +0,0 @@ -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *, int *); -extern void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *, AppId_t); -extern bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *, AppId_t, char *, int32 *); diff --git a/lsteamclient/cxx.h b/lsteamclient/cxx.h index 67bc2c5b5..701ab02fc 100644 --- a/lsteamclient/cxx.h +++ b/lsteamclient/cxx.h @@ -16,43 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* Copied from dlls/msvcrt/cxx.h */ -#undef __thiscall - -#ifdef __APPLE__ -# define __ASM_NAME(name) "_" name -#else -# define __ASM_NAME(name) name -#endif - -#ifdef __i386__ /* thiscall functions are i386-specific */ - -#ifdef __APPLE__ -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl _" #name suffix "\n\t\n_" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#else -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.type " #name suffix ",@function\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#endif -#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,"",code) -#define __ASM_STDCALL(args) "" - -#define THISCALL(func) __thiscall_ ## func -#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func) -#define __thiscall __stdcall -#define DEFINE_THISCALL_WRAPPER(func,args) \ - extern void THISCALL(func)(void); \ - __ASM_GLOBAL_FUNC(__thiscall_ ## func, \ - "popl %eax\n\t" \ - "pushl %ecx\n\t" \ - "pushl %eax\n\t" \ - "jmp " __ASM_NAME(#func) __ASM_STDCALL(args) ) -#else /* __i386__ */ - -#define THISCALL(func) func -#define THISCALL_NAME(func) __ASM_NAME(#func) -#define __thiscall __cdecl -#define DEFINE_THISCALL_WRAPPER(func,args) /* nothing */ - -#endif /* __i386__ */ +#include "wine/asm.h" #ifdef _WIN64 @@ -60,8 +24,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 8\n" \ - "\t.quad 0\n" \ + "\t.balign 8\n" \ + "\t.quad " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -72,8 +36,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 4\n" \ - "\t.long 0\n" \ + "\t.balign 4\n" \ + "\t.long " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -82,9 +46,9 @@ #ifndef __x86_64__ -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -94,7 +58,10 @@ static const rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static const rtti_base_array name ## _rtti_base_array = { \ { \ @@ -126,22 +93,26 @@ const rtti_object_locator name ## _rtti = { \ &name ## _hierarchy \ }; -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static const cxx_type_info type ## _cxx_type_info = { \ 0, \ & type ##_type_info, \ { 0, -1, 0 }, \ sizeof(type), \ - (cxx_copy_ctor)THISCALL(MSVCP_ ## type ##_copy_ctor) \ -}; \ + (cxx_copy_ctor)THISCALL(type ##_copy_ctor) \ +}; + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +DEFINE_CXX_TYPE_INFO(type) \ \ static const cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ & type ## _cxx_type_info, \ cl1, \ - cl2 \ + cl2, \ + cl3, \ + cl4 \ } \ }; \ \ @@ -154,9 +125,9 @@ static const cxx_exception_type type ## _cxx_type = { \ #else -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -166,7 +137,18 @@ static rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + \ + static void init_ ## name ## _rtti(char *base) \ + { \ + name ## _rtti_base_descriptor.type_descriptor = (char*)&name ## _type_info - base; \ + } + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static rtti_base_array name ## _rtti_base_array = { \ { \ @@ -218,8 +200,7 @@ static void init_ ## name ## _rtti(char *base) \ name ## _rtti.object_locator = (char*)&name ## _rtti - base; \ } -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static cxx_type_info type ## _cxx_type_info = { \ 0, \ 0xdeadbeef, \ @@ -228,9 +209,21 @@ static cxx_type_info type ## _cxx_type_info = { \ 0xdeadbeef \ }; \ \ +static void init_ ## type ## _cxx_type_info(char *base) \ +{ \ + type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ + type ## _cxx_type_info.copy_ctor = (char *)type ## _copy_ctor - base; \ +} + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +\ +DEFINE_CXX_TYPE_INFO(type) \ +\ static cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ + 0xdeadbeef, \ + 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef \ @@ -246,11 +239,12 @@ static cxx_exception_type type ##_cxx_type = { \ \ static void init_ ## type ## _cxx(char *base) \ { \ - type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ - type ## _cxx_type_info.copy_ctor = (char *)MSVCP_ ## type ## _copy_ctor - base; \ + init_ ## type ## _cxx_type_info(base); \ type ## _cxx_type_table.info[0] = (char *)&type ## _cxx_type_info - base; \ type ## _cxx_type_table.info[1] = (char *)cl1 - base; \ type ## _cxx_type_table.info[2] = (char *)cl2 - base; \ + type ## _cxx_type_table.info[3] = (char *)cl3 - base; \ + type ## _cxx_type_table.info[4] = (char *)cl4 - base; \ type ## _cxx_type.destructor = (char *)dtor - base; \ type ## _cxx_type.type_info_table = (char *)&type ## _cxx_type_table - base; \ } @@ -267,19 +261,25 @@ static void init_ ## type ## _cxx(char *base) \ DEFINE_RTTI_DATA(name, off, 3, cl1, cl2, cl3, NULL, NULL, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA4(name, off, cl1, cl2, cl3, cl4, mangled_name) \ DEFINE_RTTI_DATA(name, off, 4, cl1, cl2, cl3, cl4, NULL, NULL, NULL, NULL, NULL, mangled_name) +#define DEFINE_RTTI_DATA5(name, off, cl1, cl2, cl3, cl4, cl5, mangled_name) \ + DEFINE_RTTI_DATA(name, off, 5, cl1, cl2, cl3, cl4, cl5, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA8(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, mangled_name) \ DEFINE_RTTI_DATA(name, off, 8, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, NULL, mangled_name) #define DEFINE_RTTI_DATA9(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ DEFINE_RTTI_DATA(name, off, 9, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) #define DEFINE_CXX_DATA0(name, dtor) \ - DEFINE_CXX_DATA(name, 0, NULL, NULL, dtor) + DEFINE_CXX_DATA(name, 0, NULL, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA1(name, cl1, dtor) \ - DEFINE_CXX_DATA(name, 1, cl1, NULL, dtor) + DEFINE_CXX_DATA(name, 1, cl1, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA2(name, cl1, cl2, dtor) \ - DEFINE_CXX_DATA(name, 2, cl1, cl2, dtor) + DEFINE_CXX_DATA(name, 2, cl1, cl2, NULL, NULL, dtor) +#define DEFINE_CXX_DATA3(name, cl1, cl2, cl3, dtor) \ + DEFINE_CXX_DATA(name, 3, cl1, cl2, cl3, NULL, dtor) +#define DEFINE_CXX_DATA4(name, cl1, cl2, cl3, cl4, dtor) \ + DEFINE_CXX_DATA(name, 4, cl1, cl2, cl3, cl4, dtor) -#ifdef __i386__ +#ifdef __ASM_USE_THISCALL_WRAPPER #define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (WINAPI*)type)&vtbl_wrapper_##off)args @@ -301,7 +301,7 @@ extern void *vtbl_wrapper_56; #else -#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__cdecl***)type)this)[0][off/4]args +#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__thiscall***)type)this)[0][off/4]args #endif @@ -314,21 +314,6 @@ typedef struct __exception int do_free; /* Whether to free 'name' in our dtor */ } exception; -/* Internal: throws selected exception */ -typedef enum __exception_type { - EXCEPTION_RERAISE, - EXCEPTION, - EXCEPTION_BAD_ALLOC, - EXCEPTION_BAD_CAST, - EXCEPTION_LOGIC_ERROR, - EXCEPTION_LENGTH_ERROR, - EXCEPTION_OUT_OF_RANGE, - EXCEPTION_INVALID_ARGUMENT, - EXCEPTION_RUNTIME_ERROR, - EXCEPTION_FAILURE, -} exception_type; -void throw_exception(exception_type, const char *); - /* rtti */ typedef struct __type_info { @@ -337,7 +322,7 @@ typedef struct __type_info char mangled[128]; /* Variable length, but we declare it large enough for static RTTI */ } type_info; -extern const vtable_ptr MSVCP_type_info_vtable; +extern const vtable_ptr type_info_vtable; /* offsets for computing the this pointer */ typedef struct @@ -394,7 +379,7 @@ typedef struct typedef struct { UINT count; - const cxx_type_info *info[3]; + const cxx_type_info *info[5]; } cxx_type_info_table; typedef struct @@ -450,7 +435,7 @@ typedef struct typedef struct { UINT count; - unsigned int info[3]; + unsigned int info[5]; } cxx_type_info_table; typedef struct @@ -462,3 +447,30 @@ typedef struct } cxx_exception_type; #endif + +#define CREATE_TYPE_INFO_VTABLE \ +DEFINE_THISCALL_WRAPPER(type_info_vector_dtor,8) \ +void * __thiscall type_info_vector_dtor(type_info * _this, unsigned int flags) \ +{ \ + if (flags & 2) \ + { \ + /* we have an array, with the number of elements stored before the first object */ \ + INT_PTR i, *ptr = (INT_PTR *)_this - 1; \ +\ + for (i = *ptr - 1; i >= 0; i--) free(_this[i].name); \ + free(ptr); \ + } \ + else \ + { \ + free(_this->name); \ + if (flags & 1) free(_this); \ + } \ + return _this; \ +} \ +\ +DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" ) \ +\ +__ASM_BLOCK_BEGIN(type_info_vtables) \ + __ASM_VTABLE(type_info, \ + VTABLE_ADD_FUNC(type_info_vector_dtor)); \ +__ASM_BLOCK_END diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index 8a5e65d3f..3c9564e5e 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -3,19 +3,15 @@ #NOTE: If you make modifications here, consider whether they should #be duplicated in ../vrclient/gen_wrapper.py -from __future__ import print_function +CLANG_PATH='/usr/lib/clang/15' -CLANG_PATH='/usr/lib/clang/16' - -from clang.cindex import CursorKind, Index, Type, TypeKind -from collections import namedtuple -import pprint -import sys +from clang.cindex import Cursor, CursorKind, Index, TypeKind +import concurrent.futures import os import re -import math -sdk_versions = [ +SDK_VERSIONS = [ + "158", "157", "156", "155", @@ -101,8 +97,10 @@ "099u", ] -files = [ - ("steam_api.h", [ +ABIS = ['u32', 'u64', 'w32', 'w64'] + +SDK_SOURCES = { + "steam_api.h": [ "ISteamApps", "ISteamAppList", "ISteamClient", @@ -128,46 +126,49 @@ "ISteamUserStats", "ISteamUtils", "ISteamVideo" - ]), - ("isteamappticket.h", [ + ], + "isteamappticket.h": [ "ISteamAppTicket" - ]), - ("isteamgameserver.h", [ + ], + "isteamgameserver.h": [ "ISteamGameServer" - ]), - ("isteamgameserverstats.h", [ + ], + "isteamgameserverstats.h": [ "ISteamGameServerStats" - ]), - ("isteamgamestats.h", [ + ], + "isteamgamestats.h": [ "ISteamGameStats" - ]), - ("isteammasterserverupdater.h", [ + ], + "isteammasterserverupdater.h": [ "ISteamMasterServerUpdater" - ]), - ("isteamgamecoordinator.h", [ + ], + "isteamgamecoordinator.h": [ "ISteamGameCoordinator" - ]), - ("isteamparentalsettings.h", [ + ], + "isteamparentalsettings.h": [ "ISteamParentalSettings" - ]), - ("isteamnetworkingmessages.h", [ + ], + "isteamnetworkingmessages.h": [ "ISteamNetworkingMessages" - ]), - ("isteamnetworkingsockets.h", [ + ], + "isteamnetworkingsockets.h": [ "ISteamNetworkingSockets" - ]), - ("isteamnetworkingsocketsserialized.h", [ + ], + "isteamnetworkingsocketsserialized.h": [ "ISteamNetworkingSocketsSerialized" - ]), - ("isteamnetworkingutils.h", [ + ], + "isteamnetworkingutils.h": [ "ISteamNetworkingUtils" - ]), - ("steamnetworkingfakeip.h", [ + ], + "steamnetworkingfakeip.h": [ "ISteamNetworkingFakeUDPPort" - ]), -] + ], +} -aliases = { +SDK_CLASSES = {klass: source for source, klasses in SDK_SOURCES.items() + for klass in klasses} + +VERSION_ALIASES = { #these interfaces are undocumented and binary compatible #"target interface": ["alias 1", "alias 2"], "SteamUtils004":["SteamUtils003"], @@ -175,1197 +176,1559 @@ "SteamGameServer008":["SteamGameServer007","SteamGameServer006"], "SteamNetworkingSocketsSerialized002":["SteamNetworkingSocketsSerialized001"], "STEAMAPPS_INTERFACE_VERSION001":["SteamApps001"], - "STEAMAPPS_INTERFACE_VERSION001":["SteamApps001"], "SteamNetworkingSockets002":["SteamNetworkingSockets003"], } # these structs are manually confirmed to be equivalent -exempt_structs = [ - "CSteamID", - "CGameID", - "CCallbackBase", - "SteamPS3Params_t", - "ValvePackingSentinel_t" -] +EXEMPT_STRUCTS = { + "CSteamID", + "CGameID", + "CCallbackBase", + "SteamIPAddress_t", + "SteamPS3Params_t", + "ValvePackingSentinel_t" +} + +# structs for which the size is important, either because of arrays or size parameters +SIZED_STRUCTS = { + "SteamPartyBeaconLocation_t", + "SteamItemDetails_t", +} # we have converters for these written by hand because they're too complicated to generate -manually_handled_structs = [ - "SteamNetworkingMessage_t" +MANUAL_STRUCTS = [ + "SteamNetworkingMessage_t" ] -Method = namedtuple('Method', ['name', 'version_func'], defaults=[lambda _: True]) - -manually_handled_methods = { - #TODO: 001 005 007 - #NOTE: 003 never appeared in a public SDK, but is an alias for 002 (the version in SDK 1.45 is actually 004 but incorrectly versioned as 003) - "cppISteamNetworkingSockets_SteamNetworkingSockets": [ - Method("ReceiveMessagesOnConnection"), - Method("ReceiveMessagesOnListenSocket"), - Method("ReceiveMessagesOnPollGroup"), - Method("SendMessages"), - Method("CreateFakeUDPPort"), - ], - "cppISteamNetworkingUtils_SteamNetworkingUtils": [ - Method("AllocateMessage"), - Method("SetConfigValue", lambda version: version >= 3) - ], - "cppISteamNetworkingMessages_SteamNetworkingMessages": [ - Method("ReceiveMessagesOnChannel"), - ], - "cppISteamInput_SteamInput": [ - Method("EnableActionEventCallbacks"), - Method("GetGlyphForActionOrigin"), - Method("GetGlyphPNGForActionOrigin"), - Method("GetGlyphSVGForActionOrigin"), - Method("GetGlyphForActionOrigin_Legacy"), - Method("GetGlyphForXboxOrigin"), - ], - "cppISteamController_SteamController": [ - Method("GetGlyphForActionOrigin"), - Method("GetGlyphForXboxOrigin"), - ], - "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort": [ - Method("DestroyFakeUDPPort"), - Method("ReceiveMessages"), - ], - "cppISteamUser_SteamUser": [ - #TODO: Do we need the the value -> pointer conversion for other versions of the interface? - Method("InitiateGameConnection", lambda version: version == 8), - ], - #"cppISteamClient_SteamClient": [ - # Method("BShutdownIfAllPipesClosed"), - #], -} +UNIX_FUNCS = [ + 'steamclient_init', + 'steamclient_next_callback', + 'steamclient_CreateInterface', + 'steamclient_Steam_GetAPICallResult', + 'steamclient_Steam_BGetCallback', + 'steamclient_callback_message_receive', + 'steamclient_Steam_FreeLastCallback', + 'steamclient_Steam_ReleaseThreadLocalMemory', + 'steamclient_Steam_IsKnownInterface', + 'steamclient_Steam_NotifyMissingInterface', + 'steamclient_networking_messages_receive_144', + 'steamclient_networking_messages_receive_147', + 'steamclient_networking_messages_receive_153a', + 'steamclient_networking_message_release_147', + 'steamclient_networking_message_release_153a', +] +MANUAL_METHODS = { + #TODO: 001 005 007 + #NOTE: 003 never appeared in a public SDK, but is an alias for 002 (the version in SDK 1.45 is actually 004 but incorrectly versioned as 003) + "ISteamNetworkingSockets_ReceiveMessagesOnConnection": True, + "ISteamNetworkingSockets_ReceiveMessagesOnListenSocket": True, + "ISteamNetworkingSockets_ReceiveMessagesOnPollGroup": True, + "ISteamNetworkingSockets_SendMessages": True, + "ISteamNetworkingSockets_ConnectP2PCustomSignaling": lambda ver, abi: abi == 'u' and ver <= 8, + "ISteamNetworkingSockets_ReceivedP2PCustomSignal": lambda ver, abi: abi == 'u' and ver <= 8, + + "ISteamMatchmakingServers_PingServer": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_PlayerDetails": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestFavoritesServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestFriendsServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestHistoryServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestInternetServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestLANServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_RequestSpectatorServerList": lambda ver, abi: abi == 'u', + "ISteamMatchmakingServers_ServerRules": lambda ver, abi: abi == 'u', + + "ISteamNetworkingUtils_AllocateMessage": True, + "ISteamNetworkingUtils_SetConfigValue": lambda ver, abi: abi == 'u' and ver >= 3, + + "ISteamNetworkingMessages_ReceiveMessagesOnChannel": True, + + "ISteamInput_EnableActionEventCallbacks": lambda ver, abi: abi == 'u', + "ISteamInput_GetGlyphForActionOrigin": True, + "ISteamInput_GetGlyphPNGForActionOrigin": True, + "ISteamInput_GetGlyphSVGForActionOrigin": True, + "ISteamInput_GetGlyphForActionOrigin_Legacy": True, + "ISteamInput_GetGlyphForXboxOrigin": True, + + "ISteamController_GetGlyphForActionOrigin": True, + "ISteamController_GetGlyphForXboxOrigin": True, + + "ISteamNetworkingFakeUDPPort_DestroyFakeUDPPort": lambda ver, abi: abi == 'w', + "ISteamNetworkingFakeUDPPort_ReceiveMessages": True, + + "ISteamClient_Set_SteamAPI_CCheckCallbackRegisteredInProcess": lambda ver, abi: abi == 'u' and ver >= 20, + + "ISteamUtils_GetAPICallResult": lambda ver, abi: abi == 'u', +} -post_execution_functions = { - "ISteamClient_BShutdownIfAllPipesClosed" : "after_shutdown", - "ISteamClient_CreateSteamPipe" : "after_steam_pipe_create", -} +DEFINE_INTERFACE_VERSION = re.compile(r'^#define\s*(?PSTEAM(?:\w*)_VERSION(?:\w*))\s*"(?P.*)"') -INTERFACE_NAME_VERSION = re.compile(r'^(?P.+?)(?P\d*)$') -def method_needs_manual_handling(interface_with_version, method_name): - match_dict = INTERFACE_NAME_VERSION.match(interface_with_version).groupdict() - interface = match_dict['name'] - version = int(match_dict['version']) if match_dict['version'] else None +def is_manual_method(klass, method, abi): + version = re.search(r'(\d+)$', klass.version) - method_list = manually_handled_methods.get(interface, []) - method = next(filter(lambda m: m.name == method_name, method_list), None) + key = f'{klass.name}_{method.name}' + needs_manual = MANUAL_METHODS.get(key, False) - return method and method.version_func(version) + if callable(needs_manual) and version: + return needs_manual(int(version[0]), abi) + return needs_manual -def post_execution_function(classname, method_name): - return post_execution_functions.get(classname + "_" + method_name) # manual converters for simple types (function pointers) -manual_type_converters = [ - "FSteamNetworkingSocketsDebugOutput", - "SteamAPIWarningMessageHook_t", - "SteamAPI_CheckCallbackRegistered_t" +MANUAL_TYPES = [ + "FSteamNetworkingSocketsDebugOutput", + "SteamAPIWarningMessageHook_t", + "SteamAPI_CheckCallbackRegistered_t", + "SteamAPI_PostAPIResultInProcess_t", + "void ()", ] # manual converters for specific parameters -manual_param_converters = [ - "nNativeKeyCode" +MANUAL_PARAMS = [ + "nNativeKeyCode" ] -#struct_conversion_cache = { -# '142': { -# 'SteamUGCDetails_t': True, -# 'SteamUGCQueryCompleted_t': False -# } -#} -struct_conversion_cache = {} - converted_structs = [] -# callback classes for which we have a linux wrapper -wrapped_classes = [ - "ISteamMatchmakingServerListResponse", - "ISteamMatchmakingPingResponse", - "ISteamMatchmakingPlayersResponse", - "ISteamMatchmakingRulesResponse", - "ISteamNetworkingFakeUDPPort", -] +all_classes = {} +all_records = {} +all_sources = {} +all_structs = {} +all_versions = {} +unique_structs = [] + + +PATH_CONV_METHODS_UTOW = { + "ISteamAppList_GetAppInstallDir": { + "pchDirectory": {"len": "cchNameMax", "url": False}, + "ret_size": True, + }, + "ISteamApps_GetAppInstallDir": { + "pchFolder": {"len": "cchFolderBufferSize", "url": False}, + "ret_size": True, + }, + "ISteamUGC_GetQueryUGCAdditionalPreview": { + "pchURLOrVideoID": {"len": "cchURLSize", "url": True}, + }, + "ISteamUGC_GetItemInstallInfo": { + "pchFolder": {"len": "cchFolderSize", "url": False}, + }, + "ISteamUser_GetUserDataFolder": { + "pchBuffer": {"len": "cubBuffer", "url": False}, + }, +} + +PATH_CONV_METHODS_WTOU = { + "ISteamApps_GetFileDetails": { + "pszFileName": {"array": False, "url": False}, + }, + ### ISteamGameServer::SetModDir - "Just the folder name, not the whole path. I.e. "Spacewar"." + "ISteamHTMLSurface_LoadURL": { + "pchURL": {"array": False, "url": True}, + }, + "ISteamHTMLSurface_FileLoadDialogResponse": { + "pchSelectedFiles": {"array": True, "url": False}, + }, + "ISteamRemoteStorage_PublishWorkshopFile": { + "pchFile": {"array": False, "url": False}, + "pchPreviewFile": {"array": False, "url": False}, + }, + "ISteamRemoteStorage_UpdatePublishedFileFile": { + "pchFile": {"array": False, "url": False}, + }, + "ISteamRemoteStorage_UpdatePublishedFilePreviewFile": { + "pchPreviewFile": {"array": False, "url": False}, + }, + "ISteamRemoteStorage_PublishVideo": { + "pchPreviewFile": {"array": False, "url": False}, + }, + "ISteamScreenshots_AddScreenshotToLibrary": { + "pchFilename": {"array": False, "url": False}, + "pchThumbnailFilename": {"array": False, "url": False}, + }, + "ISteamScreenshots_AddVRScreenshotToLibrary": { + "pchFilename": {"array": False, "url": False}, + "pchVRFilename": {"array": False, "url": False}, + }, + "ISteamRemoteStorage_UGCDownloadToLocation": { + "pchLocation": {"array": False, "url": False}, + }, + "ISteamUGC_SetItemContent": { + "pszContentFolder": {"array": False, "url": False}, + }, + "ISteamUGC_SetItemPreview": { + "pszPreviewFile": {"array": False, "url": False}, + }, + "ISteamUGC_AddItemPreviewFile": { + "pszPreviewFile": {"array": False, "url": False}, + }, + "ISteamUGC_UpdateItemPreviewFile": { + "pszPreviewFile": {"array": False, "url": False}, + }, + "ISteamUGC_BInitWorkshopForGameServer": { + "pszFolder": {"array": False, "url": False}, + }, + "ISteamUtils_CheckFileSignature": { + "szFileName": {"array": False, "url": False}, + }, + "ISteamController_Init": { + "pchAbsolutePathToControllerConfigVDF": {"array": False, "url": False}, + }, + "ISteamInput_SetInputActionManifestFilePath": { + "pchInputActionManifestAbsolutePath": {"array": False, "url": False}, + }, +} + +PATH_CONV_STRUCTS = { + "HTML_StartRequest_t": { + "pchURL": True, + }, + "HTML_URLChanged_t": { + "pchURL": True, + }, + "HTML_FinishedRequest_t": { + "pchURL": True, + }, + "HTML_OpenLinkInNewTab_t": { + "pchURL": True, + }, + "HTML_LinkAtPosition_t": { + "pchURL": True, + }, + "HTML_FileOpenDialog_t": { + "pchInitialFile": True, + }, + "HTML_NewWindow_t": { + "pchURL": True, + }, +} + + +class Padding: + def __init__(self, offset, size): + self.offset = offset + self.size = size -print_sizes = [] - -class_versions = {} - -path_conversions = [ - { - "parent_name": "GetAppInstallDir", - "l2w_names": ["pchDirectory"], - "l2w_lens": ["cchNameMax"], - "l2w_urls": [False], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": True - }, - { - "parent_name": "GetAppInstallDir", - "l2w_names": ["pchFolder"], - "l2w_lens": ["cchFolderBufferSize"], - "l2w_urls": [False], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": True - }, - { - "parent_name": "GetFileDetails", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszFileName"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": True - }, - ### ISteamGameServer::SetModDir - "Just the folder name, not the whole path. I.e. "Spacewar"." - { - "parent_name": "LoadURL", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchURL"], - "w2l_arrays": [False], - "w2l_urls": [True], - "return_is_size": False - }, - { - "parent_name": "FileLoadDialogResponse", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchSelectedFiles"], - "w2l_arrays": [True], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "HTML_StartRequest_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_URLChanged_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_FinishedRequest_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_OpenLinkInNewTab_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_LinkAtPosition_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_FileOpenDialog_t", - "l2w_names": ["pchInitialFile"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "HTML_NewWindow_t", - "l2w_names": ["pchURL"], - "l2w_lens": [None], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "PublishWorkshopFile", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchFile", "pchPreviewFile"], - "w2l_arrays": [False, False], - "w2l_urls": [False, False], - "return_is_size": False - }, - { - "parent_name": "UpdatePublishedFileFile", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "UpdatePublishedFilePreviewFile", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchPreviewFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "PublishVideo", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchPreviewFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "AddScreenshotToLibrary", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchFilename", "pchThumbnailFilename"], - "w2l_arrays": [False, False], - "w2l_urls": [False, False], - "return_is_size": False - }, - { - "parent_name": "AddVRScreenshotToLibrary", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchFilename", "pchVRFilename"], - "w2l_arrays": [False, False], - "w2l_urls": [False, False], - "return_is_size": False - }, - { - "parent_name": "UGCDownloadToLocation", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchLocation"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "GetQueryUGCAdditionalPreview", - "l2w_names": ["pchURLOrVideoID"], - "l2w_lens": ["cchURLSize"], - "l2w_urls": [True], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "SetItemContent", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszContentFolder"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "SetItemPreview", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszPreviewFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "AddItemPreviewFile", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszPreviewFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "UpdateItemPreviewFile", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszPreviewFile"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "GetItemInstallInfo", - "l2w_names": ["pchFolder"], - "l2w_lens": ["cchFolderSize"], - "l2w_urls": [False], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "BInitWorkshopForGameServer", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pszFolder"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "GetUserDataFolder", - "l2w_names": ["pchBuffer"], - "l2w_lens": ["cubBuffer"], - "l2w_urls": [False], - "w2l_names": [], - "w2l_arrays": [], - "w2l_urls": [], - "return_is_size": False - }, - { - "parent_name": "CheckFileSignature", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["szFileName"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "Init", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchAbsolutePathToControllerConfigVDF"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, - { - "parent_name": "SetInputActionManifestFilePath", - "l2w_names": [], - "l2w_lens": [], - "l2w_urls": [], - "w2l_names": ["pchInputActionManifestAbsolutePath"], - "w2l_arrays": [False], - "w2l_urls": [False], - "return_is_size": False - }, -] -def strip_const(typename): - return typename.replace("const ", "", 1) +class Field: + def __init__(self, cursor, struct, type, offset, name=None): + self._cursor = cursor + self._type = type -windows_structs32 = {} -def find_windows_struct(struct): - return windows_structs32.get(strip_const(struct.spelling), None) + self.name = cursor.spelling if not name else name + self.type = cursor.type + self.size = self.type.get_size() + self.offset = offset -windows_structs64 = {} -def find_windows64_struct(struct): - return windows_structs64.get(strip_const(struct.spelling), None) + def needs_conversion(self, other): + return self._type.needs_conversion(other._type) -linux_structs64 = {} -def find_linux64_struct(struct): - return linux_structs64.get(strip_const(struct.spelling), None) -def struct_needs_conversion_nocache(struct): - if strip_const(struct.spelling) in exempt_structs: +class BasicType: + def __init__(self, type, abi): + self._type = type.get_canonical() + self._abi = abi + self._decl_order = 0 + self._conv_cache = {} + + self.size = self._type.get_size() + self.id = self._type.spelling + + @property + def order(self): + return self._decl_order + + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order + + def needs_conversion(self, other): + if self._type.kind == TypeKind.POINTER and self._type.get_pointee().kind == TypeKind.FUNCTIONPROTO: + return self._abi != other._abi return False - if strip_const(struct.spelling) in manually_handled_structs: - return True - #check 32-bit compat - windows_struct = find_windows_struct(struct) - if windows_struct is None: - print("Couldn't find windows struct for " + struct.spelling) - assert(not windows_struct is None) #must find windows_struct - for field in struct.get_fields(): - if struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): + +class Struct: + def __init__(self, sdkver, abi, cursor): + self._cursor = cursor + self._sdkver = sdkver + self._abi = abi + self._fields = None + self._decl_order = 0 + self._conv_cache = {} + + self.name = canonical_typename(self._cursor) + self.type = self._cursor.type.get_canonical() + self.size = self.type.get_size() + self.align = self.type.get_align() + self.id = f'{abi}_{self.name}_{sdkver}' + + if self.name in EXEMPT_STRUCTS: + self._fields = [Padding(0, self.size)] + + @property + def order(self): + return self._decl_order + + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order + [f._type.set_used(order - 1) for f in self.fields] + + @property + def callback_id(self): + is_enum = lambda c: c.kind == CursorKind.ENUM_DECL + enums = filter(is_enum, self._cursor.get_children()) + is_callback = lambda c: c.displayname == "k_iCallback" + callbacks = [k for c in enums for k in filter(is_callback, c.get_children())] + if len(callbacks): return int(callbacks[0].enum_value) + return None + + @property + def padded_fields(self): + if self._fields: return self._fields + + size, self._fields = 0, [] + for cursor in self._cursor.get_children(): + if cursor.kind == CursorKind.CXX_BASE_SPECIFIER \ + and len(list(cursor.type.get_fields())) > 0: + base_type = Type(cursor.type, self._sdkver, self._abi) + self._fields += base_type.padded_fields + size = cursor.type.get_size() + break + + for cursor in self.type.get_fields(): + assert not cursor.is_bitfield() + offset = self.type.get_offset(cursor.spelling) + assert offset % 8 == 0 + offset = offset // 8 + # assert offset >= size or type(self) is Union + + if size < offset: self._fields.append(Padding(size, offset - size)) + field_type = Type(cursor.type, self._sdkver, self._abi) + self._fields.append(Field(cursor, self, field_type, offset)) + size = max(size, offset + cursor.type.get_size()) + + if size < self.size: self._fields.append(Padding(size, self.size - size)) + return self._fields + + @property + def fields(self): + return [f for f in self.padded_fields if type(f) is not Padding] + + def write_definition(self, out, prefix, converters): + version = all_versions[sdkver][self.name] + kind = 'union' if type(self) is Union else 'struct' + wrapped = len(prefix) > 0 + + out(f'#pragma pack( push, {self.align} )\n') + out(f'{kind} {prefix}{version}\n') + out(u'{\n') + for f in self.padded_fields: + if type(f) is Field: + out(f' {declspec(f._cursor, f.name, prefix, wrapped)};\n') + else: + out(f' uint8_t __pad_{f.offset}[{f.size}];\n') + for conv in converters: + out(u'#ifdef __cplusplus\n') + out(f' operator {conv}{version}() const;\n') + out(u'#endif /* __cplusplus */\n') + out(u'};\n') + out(u'#pragma pack( pop )\n\n') + + def write_checks(self, out, prefix): + version = all_versions[sdkver][self.name] + + out(f'C_ASSERT( sizeof({prefix}{version}) >= {self.size} );\n') + for f in self.fields: + out(f'C_ASSERT( offsetof({prefix}{version}, {f.name}) == {f.offset} );\n') + out(f'C_ASSERT( sizeof({prefix}{version}().{f.name}) >= {f.size} );\n') + out(u'\n') + + def write_converter(self, prefix, path_conv_fields): + version = all_versions[sdkver][self.name] + out(f'{self._abi}_{version}::operator {prefix}{version}() const\n') + out(u'{\n') + out(f' {prefix}{version} ret;\n') + for field in self.fields: + if field.name not in path_conv_fields: + out(f' ret.{field.name} = this->{field.name};\n') + else: + out(f' steamclient_unix_path_to_dos_path(1, this->{field.name}, g_tmppath, sizeof(g_tmppath), 1);\n') + out(f' ret.{field.name} = g_tmppath;\n') + out(u' return ret;\n') + out(u'}\n') + + def needs_conversion(self, other): + if other.id in self._conv_cache: + return self._conv_cache[other.id] + self._conv_cache[other.id] = other._conv_cache[self.id] = True + + if self.name in PATH_CONV_STRUCTS and self._abi[0] != other._abi[0]: return True - if field.type.kind == TypeKind.RECORD and \ - struct_needs_conversion(field.type): + if self.name in SIZED_STRUCTS and self.size != other.size: return True - - #check 64-bit compat - windows_struct = find_windows64_struct(struct) - assert(not windows_struct is None) #must find windows_struct - lin64_struct = find_linux64_struct(struct) - assert(not lin64_struct is None) #must find lin64_struct - for field in lin64_struct.get_fields(): - if lin64_struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): + if len(self.fields) != len(other.fields): return True - if field.type.kind == TypeKind.RECORD and \ - struct_needs_conversion(field.type): + if any([a.offset != b.offset or a.needs_conversion(b) + for a, b in zip(self.fields, other.fields)]): return True - #check if any members need path conversion - path_conv = get_path_converter(struct) - if path_conv: + self._conv_cache[other.id] = other._conv_cache[self.id] = False + return False + + def get_children(self): + return self._cursor.get_children() + + +class Union(Struct): + def __init__(self, sdkver, abi, cursor): + super().__init__(sdkver, abi, cursor) + + def needs_conversion(self, other): return True - return False -def struct_needs_conversion(struct): - if not sdkver in struct_conversion_cache: - struct_conversion_cache[sdkver] = {} - if not strip_const(struct.spelling) in struct_conversion_cache[sdkver]: - struct_conversion_cache[sdkver][strip_const(struct.spelling)] = struct_needs_conversion_nocache(struct) - return struct_conversion_cache[sdkver][strip_const(struct.spelling)] - -def handle_destructor(cfile, classname, winclassname, method): - cfile.write(f"DEFINE_THISCALL_WRAPPER({winclassname}_destructor, 4)\n") - cfile.write(f"void __thiscall {winclassname}_destructor({winclassname} *_this)\n{{/* never called */}}\n\n") - return "destructor" - -def get_path_converter(parent): - for conv in path_conversions: - if conv["parent_name"] in parent.spelling: - if None in conv["l2w_names"]: - return conv - if type(parent) == Type: - children = list(parent.get_fields()) - else: - children = list(parent.get_children()) - for child in children: - if child.spelling in conv["w2l_names"] or \ - child.spelling in conv["l2w_names"]: - return conv - return None - -class DummyWriter(object): - def write(self, s): - #noop + +class Method: + def __init__(self, sdkver, abi, cursor, klass, index, override): + self._sdkver = sdkver + self._abi = abi + + self._cursor = cursor + self._klass = klass + self._index = index + self._override = override + + self.result_type = cursor.result_type + self.spelling = cursor.spelling + + @property + def name(self): + if self._override > 1: return f'{self.spelling}_{self._override}' + return self.spelling + + @property + def full_name(self): + return f'{self._klass.full_name}_{self.name}' + + def get_arguments(self): + return self._cursor.get_arguments() + + def needs_conversion(self, other): + if len(list(self.get_arguments())) != len(list(other.get_arguments())): + return True + return False # FIXME + + def write_params(self, out): + returns_record = self.result_type.get_canonical().kind == TypeKind.RECORD + + ret = "*_ret" if returns_record else "_ret" + ret = f'{declspec(self.result_type, ret, "w_")}' + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(self.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(self.get_arguments())] + + if self.result_type.kind != TypeKind.VOID: + params = [ret] + params + names = ['_ret'] + names + + params = ['struct u_steam_iface *linux_side'] + params + names = ['linux_side'] + names + + out(f'struct {self.full_name}_params\n') + out(u'{\n') + for param in params: + out(f' {param};\n') + out(u'};\n\n') + + def get_children(self): + return self._cursor.get_children() + + +class Destructor(Method): + def __init__(self, sdkver, abi, cursor, klass, index, override): + super().__init__(sdkver, abi, cursor, klass, index, override) + + @property + def name(self): + if self._override > 1: return f'destructor_{self._override}' + return 'destructor' + + def write_params(self, out): pass -def to_c_bool(b): - if b: - return "1" - return "0" - -dummy_writer = DummyWriter() - -def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, existing_methods): - used_name = method.spelling - if used_name in existing_methods: - number = '2' - while used_name in existing_methods: - idx = existing_methods.index(used_name) - used_name = f"{method.spelling}_{number}" - number = chr(ord(number) + 1) - existing_methods.insert(idx, used_name) - else: - existing_methods.append(used_name) - returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - if returns_record: - parambytes = 8 #_this + return pointer - else: - parambytes = 4 #_this - for param in list(method.get_children()): - if param.kind == CursorKind.PARM_DECL: - if param.type.kind == TypeKind.LVALUEREFERENCE: - parambytes += 4 - else: - parambytes += int(math.ceil(param.type.get_size()/4.0) * 4) - if method_needs_manual_handling(cppname, used_name): - cpp = dummy_writer #just don't write the cpp function - cfile.write(f"DEFINE_THISCALL_WRAPPER({winclassname}_{used_name}, {parambytes})\n") - cpp_h.write("extern ") - if method.result_type.spelling.startswith("ISteam"): - cfile.write(f"win{method.result_type.spelling} ") - cpp.write("void *") - cpp_h.write("void *") - elif returns_record: - cfile.write(f"{method.result_type.spelling} *") - cpp.write(f"{method.result_type.spelling} ") - cpp_h.write(f"{method.result_type.spelling} ") - else: - cfile.write(f"{method.result_type.spelling} ") - cpp.write(f"{method.result_type.spelling} ") - cpp_h.write(f"{method.result_type.spelling} ") - cfile.write(f'__thiscall {winclassname}_{used_name}({winclassname} *_this') - cpp.write(f"{cppname}_{used_name}(void *linux_side") - cpp_h.write(f"{cppname}_{used_name}(void *") - if returns_record: - cfile.write(f", {method.result_type.spelling} *_r") - unnamed = 'a' - need_convert = [] - manual_convert = [] - for param in list(method.get_children()): - if param.kind == CursorKind.PARM_DECL: - if param.type.kind == TypeKind.POINTER and \ - (param.type.get_pointee().kind == TypeKind.UNEXPOSED or param.type.get_pointee().kind == TypeKind.FUNCTIONPROTO): - #unspecified function pointer - typename = "void *" - else: - typename = param.type.spelling.split("::")[-1] - - real_type = param.type - while real_type.kind == TypeKind.POINTER: - real_type = real_type.get_pointee() - win_name = typename - if real_type.kind == TypeKind.RECORD and \ - not real_type.spelling in wrapped_classes and \ - struct_needs_conversion(real_type): - need_convert.append(param) - #preserve pointers - win_name = typename.replace(real_type.spelling, f"win{real_type.spelling}_{sdkver}") - elif real_type.spelling in manual_type_converters: - manual_convert.append(param) - elif param.spelling in manual_param_converters: - manual_convert.append(param) - - win_name = win_name.replace('&', '*') - - if param.spelling == "": - cfile.write(f", {win_name} _{unnamed}") - cpp.write(f", {win_name} _{unnamed}") - cpp_h.write(f", {win_name}") - unnamed = chr(ord(unnamed) + 1) - else: - cfile.write(f", {win_name} {param.spelling}") - cpp.write(f", {win_name} {param.spelling}") - cpp_h.write(f", {win_name}") - cfile.write(")\n{\n") - cpp.write(")\n{\n") - cpp_h.write(");\n") - - path_conv = get_path_converter(method) - - if path_conv: - for i in range(len(path_conv["w2l_names"])): - if path_conv["w2l_arrays"][i]: - cfile.write(f" const char **lin_{path_conv['w2l_names'][i]} = steamclient_dos_to_unix_stringlist({path_conv['w2l_names'][i]});\n") - # TODO - pass + +class Class: + def __init__(self, sdkver, abi, cursor): + self._cursor = cursor + self._sdkver = sdkver + self._abi = abi + self._methods = None + self._decl_order = 0 + + self.name = cursor.spelling + self.filename = SDK_CLASSES.get(self.name, None) + versions = all_versions[sdkver] + self.version = self.name[1:].upper() + self.version = versions.get(self.version, "") + + self.type = self._cursor.type.get_canonical() + self.id = f'{abi}_{self.name}_{sdkver}' + + @property + def methods(self): + if self._methods: + return self._methods + + overrides = {} + is_method = lambda c: c.kind == CursorKind.CXX_METHOD and c.is_virtual_method() + in_vtable = lambda c: is_method(c) or c.kind == CursorKind.DESTRUCTOR + + self._methods = [] + for i, method in enumerate(filter(in_vtable, self._cursor.get_children())): + index, override = overrides.get(method.spelling, (i, 1)) + overrides[method.spelling] = (index, override + 1) + if method.kind == CursorKind.DESTRUCTOR: + self._methods.append(Destructor(self._sdkver, self._abi, method, self, index, override)) else: - cfile.write(f" char lin_{path_conv['w2l_names'][i]}[PATH_MAX];\n") - cfile.write(f" steamclient_dos_path_to_unix_path({path_conv['w2l_names'][i]}, lin_{path_conv['w2l_names'][i]}, {to_c_bool(path_conv['w2l_urls'][i])});\n") - if None in path_conv["l2w_names"]: - cfile.write(" const char *path_result;\n") - elif path_conv["return_is_size"]: - cfile.write(" uint32 path_result;\n") - elif len(path_conv["l2w_names"]) > 0: - cfile.write(f" {method.result_type.spelling} path_result;\n") - - for param in need_convert: - if param.type.kind == TypeKind.POINTER: - #handle single pointers, but not double pointers - real_type = param.type - while real_type.kind == TypeKind.POINTER: - real_type = real_type.get_pointee() - assert(param.type.get_pointee().kind == TypeKind.RECORD or \ - strip_const(real_type.spelling) in manually_handled_structs) - cpp.write(f" {strip_const(param.type.get_pointee().spelling)} lin_{param.spelling};\n") - cpp.write(f" win_to_lin_struct_{strip_const(real_type.spelling)}_{sdkver}({param.spelling}, &lin_{param.spelling});\n") - else: - #raw structs - cpp.write(f" {param.type.spelling} lin_{param.spelling};\n") - cpp.write(f" win_to_lin_struct_{param.type.spelling}_{sdkver}(&{param.spelling}, &lin_{param.spelling});\n") - for param in manual_convert: - if param.spelling in manual_param_converters: - cpp.write(f" {param.spelling} = manual_convert_{param.spelling}({param.spelling});\n") - else: - cpp.write(f" {param.spelling} = ({param.type.spelling})manual_convert_{param.type.spelling}((void*){param.spelling});\n") + self._methods.append(Method(self._sdkver, self._abi, method, self, index, override)) - cfile.write(" TRACE(\"%p\\n\", _this);\n") + return self._methods - if method.result_type.kind == TypeKind.VOID: - cfile.write(" ") - elif path_conv and (len(path_conv["l2w_names"]) > 0 or path_conv["return_is_size"]): - cfile.write(" path_result = ") - elif returns_record: - cfile.write(" *_r = ") - else: - cfile.write(" return ") + @property + def full_name(self): + if len(self.version) == 0: + return self.name + return f'{self.name}_{self.version}' - if method.result_type.kind == TypeKind.VOID: - cpp.write(" ") - elif len(need_convert) > 0: - cpp.write(f" {method.result_type.spelling} retval = ") - else: - cpp.write(" return ") + @property + def order(self): + return self._decl_order - post_exec = post_execution_function(classname, method.spelling) - if post_exec != None: - cpp.write(post_exec + '('); + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order - should_do_cb_wrap = "GetAPICallResult" in used_name - should_gen_wrapper = cpp != dummy_writer and \ - (method.result_type.spelling.startswith("ISteam") or \ - used_name.startswith("GetISteamGenericInterface")) + def needs_conversion(self, other): + if self._abi[0] != other._abi[0]: + return True + if len(self.methods) != len(other.methods): + return True + if any(m.needs_conversion(n) for m, n in zip(self.methods, other.methods)): + return True + return False - if should_do_cb_wrap: - cfile.write(f"do_cb_wrap(0, _this->linux_side, &{cppname}_{used_name}") - else: - if should_gen_wrapper: - cfile.write("create_win_interface(pchVersion,\n ") - cfile.write(f"{cppname}_{used_name}(_this->linux_side") - cpp.write(f"(({classname}*)linux_side)->{method.spelling}(") - unnamed = 'a' - first = True - for param in list(method.get_children()): - if param.kind == CursorKind.PARM_DECL: - if not first: - cpp.write(", ") + def write_definition(self, out, prefix): + out(f'struct {prefix}{self.full_name}\n') + out(u'{\n') + out(u'#ifdef __cplusplus\n') + for method in self.methods: + types = [declspec(p, "", prefix) for p in method.get_arguments()] + + # CGameID -> CGameID & + # Windows side follows the prototype in the header while Linux + # steamclient treats gameID parameter as pointer + if self.full_name == 'ISteamUser_SteamUser008' \ + and method.name == 'InitiateGameConnection': + types[3] = 'CGameID *' + + if type(method) is Destructor: + out(f' virtual ~{prefix}{self.full_name}( {", ".join(types)} ) = 0;\n') else: - first = False - if param.spelling == "": - cfile.write(f", _{unnamed}") - cpp.write(f"({param.type.spelling})_{unnamed}") - unnamed = chr(ord(unnamed) + 1) - elif param.type.kind == TypeKind.POINTER and \ - param.type.get_pointee().spelling in wrapped_classes: - cfile.write(f", create_Linux{param.type.get_pointee().spelling}({param.spelling}, \"{winclassname}\")") - cpp.write(f"({param.type.spelling}){param.spelling}") - elif path_conv and param.spelling in path_conv["w2l_names"]: - cfile.write(f", {param.spelling} ? lin_{param.spelling} : NULL") - cpp.write(f"({param.type.spelling}){param.spelling}") - elif param in need_convert: - cfile.write(f", {param.spelling}") - if param.type.kind != TypeKind.POINTER: - cpp.write(f"lin_{param.spelling}") - else: - cpp.write(f"&lin_{param.spelling}") - elif param.type.kind == TypeKind.LVALUEREFERENCE: - cfile.write(f", {param.spelling}") - cpp.write(f"*{param.spelling}") - else: - cfile.write(f", {param.spelling}") - cpp.write(f"({param.type.spelling}){param.spelling}") - if should_gen_wrapper: - cfile.write(")") - - cfile.write(");\n") - if post_exec != None: - cpp.write(")") - cpp.write(");\n") - if returns_record: - cfile.write(" return _r;\n") - if path_conv and len(path_conv["l2w_names"]) > 0: - for i in range(len(path_conv["l2w_names"])): - cfile.write(" ") - if path_conv["return_is_size"]: - cfile.write("path_result = ") - cfile.write(f"steamclient_unix_path_to_dos_path(path_result, {path_conv['l2w_names'][i]}, {path_conv['l2w_names'][i]}, {path_conv['l2w_lens'][i]}, {to_c_bool(path_conv['l2w_urls'][i])});\n") - cfile.write(" return path_result;\n") - if path_conv: - for i in range(len(path_conv["w2l_names"])): - if path_conv["w2l_arrays"][i]: - cfile.write(f" steamclient_free_stringlist(lin_{path_conv['w2l_names'][i]});\n") - cfile.write("}\n\n") - for param in need_convert: - if param.type.kind == TypeKind.POINTER: - if not "const " in param.type.spelling: #don't modify const arguments - real_type = param.type - while real_type.kind == TypeKind.POINTER: - real_type = real_type.get_pointee() - cpp.write(f" lin_to_win_struct_{real_type.spelling}_{sdkver}(&lin_{param.spelling}, {param.spelling});\n") + method_name = f'{declspec(method.result_type, "", prefix)} {method.spelling}' + out(f' virtual {method_name}( {", ".join(types)} ) = 0;\n') + out(u'#endif /* __cplusplus */\n') + out(u'};\n\n') + + def get_children(self): + return self._cursor.get_children() + + +def Record(sdkver, abi, cursor): + if cursor.type.get_declaration().kind == CursorKind.UNION_DECL: + return Union(sdkver, abi, cursor) + + method_kinds = (CursorKind.CXX_METHOD, CursorKind.DESTRUCTOR) + is_method = lambda c: c.kind in method_kinds and c.is_virtual_method() + for _ in filter(is_method, cursor.get_children()): + return Class(sdkver, abi, cursor) + + return Struct(sdkver, abi, cursor) + + +def Type(decl, sdkver, abi): + name = canonical_typename(decl) + if name not in all_structs: + return BasicType(decl, abi) + return all_structs[name][sdkver][abi] + + +def canonical_typename(cursor): + if type(cursor) in (Struct, Class, Cursor): + return canonical_typename(cursor.type) + + name = cursor.get_canonical().spelling + return name.removeprefix("const ") + + +def underlying_typename(decl): + return canonical_typename(underlying_type(decl)) + + +def find_struct_abis(name): + if not name in all_structs: + return None + structs = all_structs[name] + if not sdkver in structs: + return None + return structs[sdkver] + + +def struct_needs_conversion(struct): + name = canonical_typename(struct) + if name in EXEMPT_STRUCTS: + return False + if name in MANUAL_STRUCTS: + return True + if name in PATH_CONV_STRUCTS: + return True + + abis = find_struct_abis(name) + if abis is None: return False + if abis['w32'].needs_conversion(abis['u32']): + return True + if abis['w64'].needs_conversion(abis['u64']): + return True + return False + + +def underlying_type(decl): + if type(decl) is Cursor: + decl = decl.type + if decl.kind == TypeKind.LVALUEREFERENCE: return underlying_type(decl.get_pointee()) + if decl.kind == TypeKind.CONSTANTARRAY: return underlying_type(decl.element_type) + if decl.kind == TypeKind.POINTER: return underlying_type(decl.get_pointee()) + return decl + + +def param_needs_conversion(decl): + decl = underlying_type(decl) + return decl.kind == TypeKind.RECORD and \ + struct_needs_conversion(decl) + + +def callconv(cursor, prefix): + if type(cursor) is not Cursor: + return '' + canon = cursor.type.get_canonical() + if canon.kind != TypeKind.POINTER: + return '' + canon = canon.get_pointee() + if canon.kind != TypeKind.FUNCTIONPROTO: + return '' + if cursor.type.kind == TypeKind.TYPEDEF: + cursor = cursor.type.get_declaration() + + tokens = cursor.get_tokens() + while next(tokens).spelling != '(': pass + token = next(tokens).spelling.strip('_') + token = token.replace('*', 'stdcall') + token = token.replace('S_CALLTYPE', 'cdecl') + return f'{prefix[0].upper()}_{token.upper()} ' + + +def declspec_func(decl, name, prefix): + ret = declspec(decl.get_result(), "", prefix, False) + params = [declspec(a, "", prefix, False) for a in decl.argument_types()] + params = ", ".join(params) if len(params) else "void" + return f'{ret} ({name})({params})' + + +def declspec(decl, name, prefix, wrapped=False): + call = callconv(decl, prefix) + if type(decl) is Cursor: + decl = decl.type + decl = decl.get_canonical() + + const = 'const ' if decl.is_const_qualified() else '' + if decl.kind == TypeKind.FUNCTIONPROTO: + return declspec_func(decl, name, prefix) + if decl.kind in (TypeKind.POINTER, TypeKind.LVALUEREFERENCE): + decl = decl.get_pointee() + spec = declspec(decl, f"*{call}{const}{name}", prefix, False) + if wrapped: + return f'{prefix.upper()}PTR({spec}, {name})' + return spec + if decl.kind == TypeKind.CONSTANTARRAY: + decl, count = decl.element_type, decl.element_count + if wrapped: + spec = declspec(decl, const, prefix, False) + return f'{prefix.upper()}ARRAY({spec}, {count}, {name})' + return declspec(decl, f"({const}{name})[{count}]", prefix, False) + + if len(name): + name = f' {name}' + + if decl.kind in (TypeKind.UNEXPOSED, TypeKind.FUNCTIONPROTO): + return f'void{name}' + if decl.kind == TypeKind.ENUM: + return f'uint{decl.get_size() * 8}_t{name}' + + type_name = decl.spelling.removeprefix("const ") + if decl.kind == TypeKind.RECORD \ + and type_name in all_versions[sdkver] \ + and type_name not in EXEMPT_STRUCTS: + if type_name in unique_structs: + return f'{const}{all_versions[sdkver][type_name]}{name}' + return f'{const}{prefix}{all_versions[sdkver][type_name]}{name}' + + if type_name.startswith('ISteam'): + return f'{const}void /*{type_name}*/{name}' + if type_name in ('void', 'char', 'float', 'double'): + return f'{const}{type_name}{name}' + if type_name.startswith(('bool', 'int', 'long', 'short', 'signed')): + return f'{const}int{decl.get_size() * 8}_t{name}' + if type_name.startswith(('uint', 'unsigned')): + return f'{const}uint{decl.get_size() * 8}_t{name}' + + if 'unnamed union' in decl.spelling: + return f'{const}struct {{ uint8_t _[{decl.get_size()}]; }}{name}' + return f'{decl.spelling}{name}' + + +def handle_method_cpp(method, classname, out): + returns_void = method.result_type.kind == TypeKind.VOID + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + + need_convert = {n: p for n, p in zip(names, method.get_arguments()) + if param_needs_conversion(p)} + manual_convert = {n: p for n, p in zip(names, method.get_arguments()) + if underlying_type(p).spelling in MANUAL_TYPES + or p.spelling in MANUAL_PARAMS} + + names = ['linux_side'] + names + + out(f'NTSTATUS {method.full_name}( void *args )\n') + out(u'{\n') + out(f' struct {method.full_name}_params *params = (struct {method.full_name}_params *)args;\n') + out(f' struct u_{klass.full_name} *iface = (struct u_{klass.full_name} *)params->linux_side;\n') + + params = list(zip(names[1:], method.get_arguments())) + for i, (name, param) in enumerate(params[:-1]): + if underlying_type(param).kind != TypeKind.RECORD: + continue + next_name, next_param = params[i + 1] + if not any(w in next_name.lower() for w in ('count', 'len', 'size', 'num')): + continue + assert underlying_typename(param) in SIZED_STRUCTS | EXEMPT_STRUCTS + + for i, (name, param) in enumerate(params[1:]): + if underlying_type(param).kind != TypeKind.RECORD: + continue + prev_name, prev_param = params[i - 1] + if not any(w in prev_name.lower() for w in ('count', 'len', 'size', 'num')): + continue + if underlying_typename(param) not in SIZED_STRUCTS | EXEMPT_STRUCTS: + print('Warning:', underlying_typename(param), name, 'following', prev_name) + + path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.name}_{method.spelling}', {}) + + for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()): + if conv['array']: + out(f' const char **u_{name} = steamclient_dos_to_unix_path_array( params->{name} );\n') else: - cpp.write(f" lin_to_win_struct_{param.type.spelling}_{sdkver}(&lin_{param.spelling}, &{param.spelling});\n") - if method.result_type.kind != TypeKind.VOID and \ - len(need_convert) > 0: - cpp.write(" return retval;\n") - cpp.write("}\n\n") - -def get_iface_version(classname): - # ISteamClient -> STEAMCLIENT_INTERFACE_VERSION - defname = f"{classname[1:].upper()}_INTERFACE_VERSION" - if defname in iface_versions.keys(): - ver = iface_versions[defname] - else: - defname = f"{classname[1:].upper()}_VERSION" - if defname in iface_versions.keys(): - ver = iface_versions[defname] + out(f' char *u_{name} = steamclient_dos_to_unix_path( params->{name}, {int(conv["url"])} );\n') + + need_output = {} + + for name, param in sorted(need_convert.items()): + if param.type.kind != TypeKind.POINTER: + out(f' {declspec(param.type, f"u_{name}", "u_")} = params->{name};\n') + continue + + pointee = param.type.get_pointee() + if pointee.kind == TypeKind.POINTER: + need_output[name] = param + out(f' {declspec(pointee, f"lin_{name}", "u_")};\n') + continue + + if not pointee.is_const_qualified(): + need_output[name] = param + + out(f' {declspec(pointee, f"u_{name}", "u_")} = *params->{name};\n') + + for name, param in sorted(manual_convert.items()): + if name in MANUAL_PARAMS: + out(f' {declspec(param, f"u_{name}", "u_")} = manual_convert_{name}( params->{name} );\n') else: - ver = "UNVERSIONED" - if classname in class_versions.keys() and ver in class_versions[classname]: - return (ver, True) - if not classname in class_versions.keys(): - class_versions[classname] = [] - class_versions[classname].append(ver) - return (ver, False) - -def handle_class(sdkver, classnode, file): - children = list(classnode.get_children()) - if len(children) == 0: - return - (iface_version, already_generated) = get_iface_version(classnode.spelling) - if already_generated: - return - winname = f"win{classnode.spelling}" - cppname = f"cpp{classnode.spelling}_{iface_version}" - - file_exists = os.path.isfile(f"{winname}.c") - cfile = open(f"{winname}.c", "a") - if not file_exists: - cfile.write("""/* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - -#include "steamclient_private.h" - -#include "struct_converters.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); - -""") - - cpp = open(f"{cppname}.cpp", "w") - cpp.write("#include \"steam_defs.h\"\n") - cpp.write("#pragma push_macro(\"__cdecl\")\n") - cpp.write("#undef __cdecl\n") - cpp.write("#define __cdecl\n") - cpp.write(f"#include \"steamworks_sdk_{sdkver}/steam_api.h\"\n") - if os.path.isfile(f"steamworks_sdk_{sdkver}/steamnetworkingtypes.h"): - cpp.write(f"#include \"steamworks_sdk_{sdkver}/steamnetworkingtypes.h\"\n") - if not file == "steam_api.h": - cpp.write(f"#include \"steamworks_sdk_{sdkver}/{file}\"\n") - cpp.write("#pragma pop_macro(\"__cdecl\")\n") - cpp.write("#include \"steamclient_private.h\"\n") - cpp.write("#ifdef __cplusplus\nextern \"C\" {\n#endif\n") - cpp.write(f"#define SDKVER_{sdkver}\n") - cpp.write("#include \"struct_converters.h\"\n") - cpp.write(f"#include \"{cppname}.h\"\n") - - cpp_h = open(f"{cppname}.h", "w") - - winclassname = f"win{classnode.spelling}_{iface_version}" - cfile.write(f"#include \"{cppname}.h\"\n\n") - cfile.write(f"typedef struct __{winclassname} {{\n") - cfile.write(" vtable_ptr *vtable;\n") - cfile.write(" void *linux_side;\n") - cfile.write(f"}} {winclassname};\n\n") - methods = [] - for child in children: - if child.kind == CursorKind.CXX_METHOD and \ - child.is_virtual_method(): - handle_method(cfile, classnode.spelling, winclassname, cppname, child, cpp, cpp_h, methods) - elif child.kind == CursorKind.DESTRUCTOR: - methods.append(handle_destructor(cfile, classnode.spelling, winclassname, child)) - - cfile.write(f"extern vtable_ptr {winclassname}_vtable;\n\n") - cfile.write("#ifndef __GNUC__\n") - cfile.write("void __asm_dummy_vtables(void) {\n") - cfile.write("#endif\n") - cfile.write(f" __ASM_VTABLE({winclassname},\n") - for method in methods: - cfile.write(f" VTABLE_ADD_FUNC({winclassname}_{method})\n") - cfile.write(" );\n") - cfile.write("#ifndef __GNUC__\n") - cfile.write("}\n") - cfile.write("#endif\n\n") - cfile.write(f"{winclassname} *create_{winclassname}(void *linux_side)\n{{\n") - if classnode.spelling in wrapped_classes: - cfile.write(f" {winclassname} *r = HeapAlloc(GetProcessHeap(), 0, sizeof({winclassname}));\n") - else: - cfile.write(f" {winclassname} *r = alloc_mem_for_iface(sizeof({winclassname}), \"{iface_version}\");\n") - cfile.write(" TRACE(\"-> %p\\n\", r);\n") - cfile.write(f" r->vtable = alloc_vtable(&{winclassname}_vtable, {len(methods)}, \"{iface_version}\");\n") - cfile.write(" r->linux_side = linux_side;\n") - cfile.write(" return r;\n}\n\n") - - cpp.write("#ifdef __cplusplus\n}\n#endif\n") - - constructors = open("win_constructors.h", "a") - constructors.write(f"extern void *create_{winclassname}(void *);\n") - - constructors = open("win_constructors_table.dat", "a") - constructors.write(f" {{\"{iface_version}\", &create_{winclassname}}},\n") - if iface_version in aliases.keys(): - for alias in aliases[iface_version]: - constructors.write(f" {{\"{alias}\", &create_{winclassname}}}, /* alias */\n") - - -generated_cb_handlers = [] -generated_cb_ids = [] -cpp_files_need_close_brace = [] -cb_table = {} -cb_table64 = {} - -def get_field_attribute_str(field): - if field.type.kind != TypeKind.RECORD: - return "" - win_struct = find_windows_struct(field.type) - if win_struct is None: - align = field.type.get_align() + out(f' {declspec(param, f"u_{name}", "u_")} = manual_convert_{method.name}_{name}( params->{name} );\n') + + if returns_void: + out(u' ') + elif returns_record: + out(u' *params->_ret = ') else: - align = win_struct.get_align() - return " __attribute__((aligned(" + str(align) + ")))" - -#because of struct packing differences between win32 and linux, we -#need to convert these structs from their linux layout to the win32 -#layout. -def handle_struct(sdkver, struct): - members = struct.get_children() - cb_num = None - has_fields = False - for c in members: - if c.kind == CursorKind.ENUM_DECL: - enums = c.get_children() - for e in enums: - if e.displayname == "k_iCallback": - cb_num = e.enum_value - if c.kind == CursorKind.FIELD_DECL: - has_fields = True - - w2l_handler_name = None - l2w_handler_name = None - - def dump_win_struct(to_file, name): - to_file.write("#pragma pack( push, 8 )\n") - to_file.write(f"struct win{name} {{\n") - for m in struct.get_children(): - if m.kind == CursorKind.FIELD_DECL: - if m.type.kind == TypeKind.CONSTANTARRAY: - to_file.write(f" {m.type.element_type.spelling} {m.displayname}[{m.type.element_count}];\n") - elif m.type.kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type): - to_file.write(f" win{m.type.spelling}_{sdkver} {m.displayname};\n") - else: - if m.type.kind == TypeKind.POINTER and \ - (m.type.get_pointee().kind == TypeKind.UNEXPOSED or m.type.get_pointee().kind == TypeKind.FUNCTIONPROTO): - to_file.write(f" void *{m.displayname}; /*fn pointer*/\n") - else: - to_file.write(f" {m.type.spelling} {m.displayname}{get_field_attribute_str(m)};\n") - to_file.write("} __attribute__ ((ms_struct));\n") - to_file.write("#pragma pack( pop )\n") - - if cb_num is None: - hfile = open("struct_converters.h", "a") - - if not has_fields: - return - if struct.spelling == "": - return - if not struct_needs_conversion(struct.type): - return + out(u' params->_ret = ') - struct_name = f"{struct.displayname}_{sdkver}" + def param_call(name, param): + pfx = '&' if param.type.kind == TypeKind.POINTER else '' + if name in need_convert: return f"{pfx}u_{name}" + if name in manual_convert: return f"u_{name}" + if name in path_conv_wtou: return f"u_{name}" + return f'params->{name}' - if struct_name in converted_structs: - return - converted_structs.append(struct_name) + params = [param_call(n, p) for n, p in zip(names[1:], method.get_arguments())] - w2l_handler_name = f"win_to_lin_struct_{struct_name}" - l2w_handler_name = f"lin_to_win_struct_{struct_name}" - l2w_handler_name64 = None + # CGameID -> CGameID & + # Windows side follows the prototype in the header while Linux + # steamclient treats gameID parameter as pointer + if klass.full_name == 'ISteamUser_SteamUser008' \ + and method.name == 'InitiateGameConnection': + params[3] = f'&{params[3]}' - hfile.write(f"#if defined(SDKVER_{sdkver}) || !defined(__cplusplus)\n") - dump_win_struct(hfile, struct_name) - hfile.write(f"typedef struct win{struct_name} win{struct_name};\n") - hfile.write(f"struct {struct.displayname};\n") + out(f'iface->{method.spelling}( {", ".join(params)} );\n') - if strip_const(struct.spelling) in manually_handled_structs: - hfile.write("#endif\n\n") - return + for name, param in sorted(need_output.items()): + out(f' *params->{name} = u_{name};\n') - hfile.write(f"extern void {w2l_handler_name}(const struct win{struct_name} *w, struct {struct.displayname} *l);\n") - hfile.write(f"extern void {l2w_handler_name}(const struct {struct.displayname} *l, struct win{struct_name} *w);\n") - hfile.write("#endif\n\n") - else: - #for callbacks, we use the windows struct size in the cb dispatch switch - windows_struct = find_windows_struct(struct.type) - windows_struct64 = find_windows64_struct(struct.type) - struct64 = find_linux64_struct(struct.type) - struct_name = f"{struct.displayname}_{windows_struct.get_size()}" - l2w_handler_name = f"cb_{struct_name}" - if windows_struct64.get_size() != windows_struct.get_size(): - struct_name64 = f"{struct.displayname}_{windows_struct64.get_size()}" - l2w_handler_name64 = f"cb_{struct_name64}" + path_conv_utow = PATH_CONV_METHODS_UTOW.get(f'{klass.name}_{method.spelling}', {}) + + for name, conv in filter(lambda x: x[0] in names, path_conv_utow.items()): + out(u' ') + if "ret_size" in path_conv_utow: + out(u'params->_ret = ') + out(f'steamclient_unix_path_to_dos_path( params->_ret, params->{name}, params->{name}, params->{conv["len"]}, {int(conv["url"])} );\n') + + for name, conv in filter(lambda x: x[0] in names, path_conv_wtou.items()): + if conv["array"]: + out(f' steamclient_free_path_array( u_{name} );\n') else: - l2w_handler_name64 = None - if l2w_handler_name in generated_cb_handlers: - # we already have a handler for the callback struct of this size - return - if not struct_needs_conversion(struct.type): - return + out(f' steamclient_free_path( u_{name} );\n') - cb_id = cb_num | (struct.type.get_size() << 16) - cb_id64 = cb_num | (struct64.get_size() << 16) - if cb_id in generated_cb_ids: - # either this cb changed name, or steam used the same ID for different structs - return + out(u' return 0;\n') + out(u'}\n\n') - generated_cb_ids.append(cb_id) - datfile = open("cb_converters.dat", "a") - if l2w_handler_name64: - datfile.write("#ifdef __i386__\n") - datfile.write(f"case 0x{cb_id:08x}: win_msg->m_cubParam = {windows_struct.get_size()}; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); {l2w_handler_name}((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break;\n") - datfile.write("#endif\n") +def handle_thiscall_wrapper(klass, method, out): + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - datfile.write("#ifdef __x86_64__\n") - datfile.write(f"case 0x{cb_id64:08x}: win_msg->m_cubParam = {windows_struct64.get_size()}; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); {l2w_handler_name64}((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break;\n") - datfile.write("#endif\n") - else: - datfile.write(f"case 0x{cb_id:08x}: win_msg->m_cubParam = {windows_struct.get_size()}; win_msg->m_pubParam = HeapAlloc(GetProcessHeap(), 0, win_msg->m_cubParam); {l2w_handler_name}((void*)lin_msg.m_pubParam, (void*)win_msg->m_pubParam); break;\n") + def param_stack_size(param): + if param.type.kind == TypeKind.LVALUEREFERENCE: return 4 + return ((param.type.get_size() + 3) // 4) * 4 - generated_cb_handlers.append(l2w_handler_name) + size = 4 + sum(param_stack_size(p) for p in method.get_arguments()) + if returns_record: size += 4 - if not cb_num in cb_table.keys(): - # latest SDK linux size, list of windows struct sizes and names - cb_table[cb_num] = (struct.type.get_size(), []) - if l2w_handler_name64: - cb_table64[cb_num] = (struct64.get_size(), []) - else: - cb_table64[cb_num] = (struct.type.get_size(), []) - cb_table[cb_num][1].append((windows_struct.get_size(), struct_name)) - if l2w_handler_name64: - cb_table64[cb_num][1].append((windows_struct64.get_size(), struct_name64)) - else: - cb_table64[cb_num][1].append((windows_struct.get_size(), struct_name)) - - hfile = open("cb_converters.h", "a") - hfile.write(f"struct {struct.displayname};\n") - if l2w_handler_name64: - hfile.write("#ifdef __i386__\n") - hfile.write(f"struct win{struct_name};\n") - hfile.write(f"extern void {l2w_handler_name}(const struct {struct.displayname} *l, struct win{struct_name} *w);\n") - hfile.write("#endif\n") - hfile.write("#ifdef __x86_64__\n") - hfile.write(f"struct win{struct_name64};\n") - hfile.write(f"extern void {l2w_handler_name64}(const struct {struct.displayname} *l, struct win{struct_name64} *w);\n") - hfile.write("#endif\n\n") - else: - hfile.write(f"struct win{struct_name};\n") - hfile.write(f"extern void {l2w_handler_name}(const struct {struct.displayname} *l, struct win{struct_name} *w);\n\n") - - cppname = f"struct_converters_{sdkver}.cpp" - file_exists = os.path.isfile(cppname) - cppfile = open(cppname, "a") - if not file_exists: - cppfile.write("#include \"steam_defs.h\"\n") - cppfile.write("#pragma push_macro(\"__cdecl\")\n") - cppfile.write("#undef __cdecl\n") - cppfile.write("#define __cdecl\n") - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/steam_api.h\"\n") - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/isteamgameserver.h\"\n") - if os.path.isfile(f"steamworks_sdk_{sdkver}/isteamnetworkingsockets.h"): - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/isteamnetworkingsockets.h\"\n") - if os.path.isfile(f"steamworks_sdk_{sdkver}/isteamgameserverstats.h"): - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/isteamgameserverstats.h\"\n") - if os.path.isfile(f"steamworks_sdk_{sdkver}/isteamgamecoordinator.h"): - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/isteamgamecoordinator.h\"\n") - if os.path.isfile(f"steamworks_sdk_{sdkver}/steamnetworkingtypes.h"): - cppfile.write(f"#include \"steamworks_sdk_{sdkver}/steamnetworkingtypes.h\"\n") - cppfile.write("#pragma pop_macro(\"__cdecl\")\n") - cppfile.write("#include \"steamclient_private.h\"\n") - cppfile.write("extern \"C\" {\n") - cppfile.write(f"#define SDKVER_{sdkver}\n") - cppfile.write("#include \"struct_converters.h\"\n") - cpp_files_need_close_brace.append(cppname) - - path_conv = get_path_converter(struct.type) - - def handle_field(m, src, dst): - if m.kind == CursorKind.FIELD_DECL: - if m.type.kind == TypeKind.CONSTANTARRAY: - assert(m.type.element_type.kind != TypeKind.RECORD or \ - not struct_needs_conversion(m.type.element_type)) - cppfile.write(f" memcpy({dst}->{m.displayname}, {src}->{m.displayname}, sizeof({dst}->{m.displayname}));\n") - elif m.type.kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type): - cppfile.write(f" {src}_to_{dst}_struct_{m.type.spelling}_{sdkver}(&{src}->{m.displayname}, &{dst}->{m.displayname});\n") - elif path_conv and m.displayname in path_conv["l2w_names"]: - for i in range(len(path_conv["l2w_names"])): - if path_conv["l2w_names"][i] == m.displayname: - url = path_conv["l2w_urls"][i] - break - cppfile.write(f" steamclient_unix_path_to_dos_path(1, {src}->{m.displayname}, g_tmppath, sizeof(g_tmppath), {to_c_bool(url)});\n") - cppfile.write(f" {dst}->{m.displayname} = g_tmppath;\n") + name = f'win{klass.full_name}_{method.name}' + out(f'DEFINE_THISCALL_WRAPPER({name}, {size})\n') + + +def handle_method_c(klass, method, winclassname, out): + returns_void = method.result_type.kind == TypeKind.VOID + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD + + ret = "*" if returns_record else "" + ret = f'{declspec(method.result_type, ret, "w_")} ' + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(method.get_arguments())] + + if returns_record: + params = [f'{declspec(method.result_type, "*_ret", "w_")}'] + params + names = ['_ret'] + names + + params = ['struct w_steam_iface *_this'] + params + names = ['_this'] + names + + out(f'{ret}__thiscall {winclassname}_{method.name}({", ".join(params)})\n') + out(u'{\n') + + out(f' struct {method.full_name}_params params =\n') + out(u' {\n') + out(u' .linux_side = _this->u_iface,\n') + for name in names[1:]: out(f' .{name} = {name},\n') + out(u' };\n') + + out(u' TRACE("%p\\n", _this);\n') + + out(f' STEAMCLIENT_CALL( {method.full_name}, ¶ms );\n') + + if method.name.startswith('CreateFakeUDPPort'): + out(u' params._ret = create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( params._ret );\n') + elif method.name.startswith("GetISteamGenericInterface"): + out(u' params._ret = create_win_interface( pchVersion, params._ret );\n') + elif method.result_type.spelling.startswith("ISteam"): + out(u' params._ret = create_win_interface( pchVersion, params._ret );\n') + + if not returns_void: + out(u' return params._ret;\n') + out(u'}\n\n') + + +def handle_class(klass): + cppname = f"cpp{klass.full_name}" + + with open(f"{cppname}.cpp", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include "unix_private.h"\n\n') + + for method in klass.methods: + if type(method) is Destructor: + continue + if is_manual_method(klass, method, "u"): + continue + handle_method_cpp(method, klass.name, out) + + + winclassname = f"win{klass.full_name}" + with open(f"win{klass.name}.c", "a") as file: + out = file.write + + for method in klass.methods: + handle_thiscall_wrapper(klass, method, out) + out('\n') + + for method in klass.methods: + if is_manual_method(klass, method, "w"): + continue + if type(method) is Destructor: + out(f'void __thiscall {winclassname}_{method.name}(struct w_steam_iface *_this)\n{{/* never called */}}\n\n') else: - cppfile.write(f" {dst}->{m.displayname} = {src}->{m.displayname};\n") - - if not cb_num is None: - if l2w_handler_name64: - cppfile.write("#ifdef __i386__\n") - dump_win_struct(cppfile, struct_name) - cppfile.write("#endif\n") - cppfile.write("#ifdef __x86_64__\n") - dump_win_struct(cppfile, struct_name64) - cppfile.write("#endif\n") - else: - dump_win_struct(cppfile, struct_name) - - if w2l_handler_name: - cppfile.write(f"void {w2l_handler_name}(const struct win{struct_name} *win, struct {struct.displayname} *lin)\n{{\n") - for m in struct.get_children(): - handle_field(m, "win", "lin") - cppfile.write("}\n\n") - - if l2w_handler_name64: - cppfile.write("#ifdef __x86_64__\n") - cppfile.write(f"void {l2w_handler_name64}(const struct {struct.displayname} *lin, struct win{struct_name64} *win)\n{{\n") - for m in struct.get_children(): - handle_field(m, "lin", "win") - cppfile.write("}\n") - cppfile.write("#endif\n\n") - - if l2w_handler_name: - if l2w_handler_name64: - cppfile.write("#ifdef __i386__\n") - cppfile.write(f"void {l2w_handler_name}(const struct {struct.displayname} *lin, struct win{struct_name} *win)\n{{\n") - for m in struct.get_children(): - handle_field(m, "lin", "win") - cppfile.write("}\n") - if l2w_handler_name64: - cppfile.write("#endif\n\n") - else: - cppfile.write("\n") + handle_method_c(klass, method, winclassname, out) + + out(f'extern vtable_ptr {winclassname}_vtable;\n') + out(u'\n') + out(f'DEFINE_RTTI_DATA0({winclassname}, 0, \".?AV{klass.name}@@\")\n') + out(u'\n') + out(f'__ASM_BLOCK_BEGIN({winclassname}_vtables)\n') + out(f' __ASM_VTABLE({winclassname},\n') + for method in sorted(klass.methods, key=lambda x: (x._index, -x._override)): + out(f' VTABLE_ADD_FUNC({winclassname}_{method.name})\n') + out(u' );\n') + out(u'__ASM_BLOCK_END\n') + out(u'\n') + out(f'struct w_steam_iface *create_{winclassname}(void *u_iface)\n') + out(u'{\n') + out(f' struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "{klass.version}");\n') + out(u' TRACE("-> %p\\n", r);\n') + out(f' r->vtable = alloc_vtable(&{winclassname}_vtable, {len(klass.methods)}, "{klass.version}");\n') + out(u' r->u_iface = u_iface;\n') + out(u' return r;\n') + out(u'}\n\n') + + +def parse(sources, sdkver, abi): + args = [f'-m{abi[1:]}', '-I' + CLANG_PATH + '/include/'] + if abi[0] == 'w': + args += ["-D_WIN32", "-U__linux__"] + args += ["-fms-extensions", "-mms-bitfields"] + args += ["-Wno-ignored-attributes", "-Wno-incompatible-ms-struct"] + if abi[0] == 'u': + args += ["-DGNUC"] -prog = re.compile("^#define\s*(\w*)\s*\"(.*)\"") -for sdkver in sdk_versions: - print(f"parsing SDK version {sdkver}...") + index = Index.create() + build = index.parse("source.cpp", args=args, unsaved_files=sources.items()) + diagnostics = list(build.diagnostics) + for diag in diagnostics: print(diag) + assert len(diagnostics) == 0 + + return sdkver, abi, build + + +def load(sdkver): sdkdir = f"steamworks_sdk_{sdkver}" sources = {} - iface_versions = {} + versions = {} for file in os.listdir(sdkdir): # Some files from Valve have non-UTF-8 stuff in the comments # (typically the copyright symbol); therefore we ignore UTF-8 # encoding errors lines = open(f"{sdkdir}/{file}", "r", errors="replace").readlines() - if file == "isteammasterserverupdater.h": - if """#error "This file isn't used any more"\n""" in lines: - sources[f"{sdkdir}/isteammasterserverupdater.h"] = "" - - for line in lines: - if "define STEAM" in line and "_VERSION" in line: - result = prog.match(line) - if result: - iface, version = result.group(1, 2) - iface_versions[iface] = version - - source = [f"""#if __has_include("{sdkdir}/{file}") - #include "{sdkdir}/{file}" - #endif""" for file, _ in files] + if """#error "This file isn't used any more"\n""" in lines: + sources[f"{sdkdir}/{file}"] = "" + + results = (DEFINE_INTERFACE_VERSION.match(l) for l in lines) + for result in (r.groupdict() for r in results if r): + name, version = result['name'], result['version'] + name = name.replace('_INTERFACE_VERSION', '') + name = name.replace('_VERSION', '') + versions[name] = version + + source = [f'#if __has_include("{sdkdir}/{file}")\n' + f'#include "{sdkdir}/{file}"\n' + f'#endif\n' + for file in SDK_SOURCES.keys()] sources["source.cpp"] = "\n".join(source) - windows_args = ["-D_WIN32", "-fms-extensions", "-Wno-ignored-attributes", - "-mms-bitfields", "-U__linux__", "-Wno-incompatible-ms-struct"] - windows_args += ['-I' + CLANG_PATH + '/include/'] - linux_args = ["-DGNUC"] - linux_args += ['-I' + CLANG_PATH + '/include/'] - index = Index.create() + return versions, sources - linux_build32 = index.parse("source.cpp", args=linux_args + ["-m32"], unsaved_files=sources.items()) - diagnostics = list(linux_build32.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 - linux_build64 = index.parse("source.cpp", args=linux_args + ["-m64"], unsaved_files=sources.items()) - diagnostics = list(linux_build64.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 +def classify_struct(name): + if name in EXEMPT_STRUCTS: + return None + structs = all_structs[name] - windows_build32 = index.parse("source.cpp", args=windows_args + ["-m32"], unsaved_files=sources.items()) - diagnostics = list(windows_build32.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 + prev = [] + versions = {} + unique = True - windows_build64 = index.parse("source.cpp", args=windows_args + ["-m64"], unsaved_files=sources.items()) - diagnostics = list(windows_build64.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 + def set_class_version(abis, version): + for abi in filter(lambda x: type(x) is Class, abis): + abi.version = version - linux_structs64 = dict(reversed([(child.spelling, child.type) for child - in linux_build64.cursor.get_children()])) - windows_structs32 = dict(reversed([(child.spelling, child.type) for child - in windows_build32.cursor.get_children()])) - windows_structs64 = dict(reversed([(child.spelling, child.type) for child - in windows_build64.cursor.get_children()])) - - classes = dict([(klass, file) for file, classes in files for klass in classes]) - for child in linux_build32.cursor.get_children(): - if child.kind == CursorKind.CLASS_DECL and child.displayname in classes: - handle_class(sdkver, child, classes[child.displayname]) - if child.kind in [CursorKind.STRUCT_DECL, CursorKind.CLASS_DECL]: - handle_struct(sdkver, child) - if child.displayname in print_sizes: - print("size of %s is %u" % (child.displayname, child.type.get_size())) - -for f in cpp_files_need_close_brace: - m = open(f, "a") - m.write("\n}\n") - -getapifile = open("cb_getapi_table.dat", "w") -cbsizefile = open("cb_getapi_sizes.dat", "w") - -cbsizefile.write("#ifdef __i386__\n") -getapifile.write("#ifdef __i386__\n") -for cb in sorted(cb_table.keys()): - cbsizefile.write(f"case {cb}: /* {cb_table[cb][1][0][1]} */\n") - cbsizefile.write(f" return {cb_table[cb][0]};\n") - getapifile.write(f"case {cb}:\n") - getapifile.write(" switch(callback_len){\n") - getapifile.write(" default:\n") # the first one should be the latest, should best support future SDK versions - for (size, name) in cb_table[cb][1]: - getapifile.write(f" case {size}: cb_{name}(lin_callback, callback); break;\n") - getapifile.write(" }\n break;\n") -cbsizefile.write("#endif\n") -getapifile.write("#endif\n") - -cbsizefile.write("#ifdef __x86_64__\n") -getapifile.write("#ifdef __x86_64__\n") -for cb in sorted(cb_table64.keys()): - cbsizefile.write(f"case {cb}: /* {cb_table64[cb][1][0][1]} */\n") - cbsizefile.write(f" return {cb_table64[cb][0]};\n") - getapifile.write(f"case {cb}:\n") - getapifile.write(" switch(callback_len){\n") - getapifile.write(" default:\n") # the first one should be the latest, should best support future SDK versions - for (size, name) in cb_table64[cb][1]: - getapifile.write(f" case {size}: cb_{name}(lin_callback, callback); break;\n") - getapifile.write(" }\n break;\n") -cbsizefile.write("#endif\n") -getapifile.write("#endif\n") + for sdkver in filter(lambda v: v in structs, reversed(SDK_VERSIONS)): + abis = [structs[sdkver][a] for a in ABIS] + + if any(abis[0].needs_conversion(a) for a in abis[1:]): + unique = False + + def is_always_compatible(other): + for a, b in zip(abis, other): + if a.needs_conversion(b): + return False + return True + + compat = next((k for k, v in prev if is_always_compatible(v)), None) + if compat: + versions[sdkver] = versions[compat] + set_class_version(abis, compat) + else: + [abi.set_used() for abi in abis] # make sure order is computed + versions[sdkver] = f"{name}_{sdkver}" + prev += [(sdkver, abis)] + set_class_version(abis, sdkver) + + if unique: + unique_structs.append(name) + + if len(set(versions.values())) == 1: + versions = {sdkver: name for sdkver in versions.keys()} + for sdkver in filter(lambda v: v in structs, reversed(SDK_VERSIONS)): + abis = [structs[sdkver][a] for a in ABIS] + set_class_version(abis, "") + + return versions + + +for i, sdkver in enumerate(SDK_VERSIONS): + print(f'loading SDKs... {i * 100 // len(SDK_VERSIONS)}%', end='\r') + all_versions[sdkver], all_sources[sdkver] = load(sdkver) +print('loading SDKs... 100%') + + +tmp_classes = {} + +with concurrent.futures.ThreadPoolExecutor() as executor: + arg0 = [sdkver for sdkver in SDK_VERSIONS for abi in ABIS] + arg1 = [abi for sdkver in SDK_VERSIONS for abi in ABIS] + def parse_map(sdkver, abi): + return parse(all_sources[sdkver], sdkver, abi) + + results = executor.map(parse_map, arg0, arg1) + for i, result in enumerate(results): + print(f'parsing SDKs... {i * 100 // len(arg0)}%', end='\r') + sdkver, abi, build = result + if sdkver not in all_records: all_records[sdkver] = {} + if sdkver not in tmp_classes: tmp_classes[sdkver] = {} + + versions = all_versions[sdkver] + + structs = build.cursor.get_children() + structs = filter(lambda c: c.is_definition(), structs) + structs = filter(lambda c: c.type.get_canonical().kind == TypeKind.RECORD, structs) + structs = filter(lambda c: c.kind != CursorKind.TYPEDEF_DECL, structs) + structs = filter(lambda c: c.spelling not in SDK_CLASSES, structs) + structs = [Record(sdkver, abi, c) for c in structs] + structs = {c.name: c for c in structs} + + classes = build.cursor.get_children() + classes = filter(lambda c: c.is_definition(), classes) + classes = filter(lambda c: c.kind == CursorKind.CLASS_DECL, classes) + classes = filter(lambda c: c.spelling in SDK_CLASSES, classes) + classes = filter(lambda c: c.spelling[1:].upper() in versions, classes) + classes = [Class(sdkver, abi, c) for c in classes] + classes = {c.version: c for c in classes} + + all_records[sdkver][abi] = structs + tmp_classes[sdkver][abi] = classes + + for name, struct in structs.items(): + if name not in all_structs: + all_structs[name] = {} + if sdkver not in all_structs[name]: + all_structs[name][sdkver] = {} + all_structs[name][sdkver][abi] = struct + +for i, sdkver in enumerate(reversed(SDK_VERSIONS)): + all_classes.update(tmp_classes[sdkver]['u32']) + +print('parsing SDKs... 100%') + + +tmp_structs = {} + +for i, name in enumerate(all_structs.keys()): + print(f'classifying structs... {i * 100 // len(all_structs.keys())}%', end='\r') + versions = classify_struct(name) + for sdkver in SDK_VERSIONS: + if not versions or sdkver not in versions: continue + all_versions[sdkver][name] = versions[sdkver] + +def struct_order(x): + name, structs = x if type(x) is tuple else (x, all_structs[x]) + order = (struct.order for abis in structs.values() + for struct in abis.values()) + return (min(order), name) + +for name, structs in sorted(all_structs.items(), key=struct_order): + tmp_structs[name] = {} + for sdkver in filter(lambda v: v in structs, SDK_VERSIONS): + tmp_structs[name][sdkver] = {a: structs[sdkver][a] for a in ABIS} + +all_structs = tmp_structs + +print('classifying structs... 100%') + + +for klass in all_classes.values(): + with open(f"win{klass.name}.c", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include "steamclient_private.h"\n') + out(u'\n') + out(u'WINE_DEFAULT_DEBUG_CHANNEL(steamclient);\n') + out(u'\n') + + +for _, klass in sorted(all_classes.items()): + sdkver = klass._sdkver + handle_class(klass) + + +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(f'void init_win{name}_rtti( char *base )\n') + out(u'{\n') + out(u'#ifdef __x86_64__\n') + +for _, klass in sorted(all_classes.items()): + with open(f"win{klass.name}.c", "a") as file: + out = file.write + out(f' init_win{klass.full_name}_rtti( base );\n') + +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(u'#endif /* __x86_64__ */\n') + out(u'}\n') + + +with open("steamclient_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + + for _, klass in sorted(all_classes.items()): + out(f"extern struct w_steam_iface *create_win{klass.full_name}(void *) DECLSPEC_HIDDEN;\n") + + +with open("steamclient_generated.c", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#include "steamclient_private.h"\n\n') + + out(u'static const struct { const char *iface_version; iface_constructor ctor; } constructors[] =\n') + out(u'{\n') + for _, klass in sorted(all_classes.items()): + out(f' {{"{klass.version}", &create_win{klass.full_name}}},\n') + for alias in VERSION_ALIASES.get(klass.version, []): + out(f' {{"{alias}", &create_win{klass.full_name}}}, /* alias */\n') + out(u'};\n') + out(u'\n') + out(u'iface_constructor find_iface_constructor( const char *iface_version )\n') + out(u'{\n') + out(u' int i;\n') + out(u' for (i = 0; i < ARRAYSIZE(constructors); ++i)\n') + out(u' if (!strcmp( iface_version, constructors[i].iface_version ))\n') + out(u' return constructors[i].ctor;\n') + out(u' return NULL;\n') + out(u'}\n\n') + + for name in sorted(set(k.name for k in all_classes.values())): + out(f'extern void init_win{name}_rtti( char * );\n') + out(u'\n') + out(u'void init_rtti( char *base )\n') + out(u'{\n') + for name in sorted(set(k.name for k in all_classes.values())): + out(f' init_win{name}_rtti( base );\n') + out(u'}\n') + + +for name, klasses in all_classes.items(): + if name not in SDK_CLASSES: continue + for sdkver, klass in klasses.items(): + version = all_versions[sdkver][name[1:].upper()] + handle_class(sdkver, klass, version, SDK_CLASSES[name]) + + +declared = {} + +with open('steamclient_structs_generated.h', 'w') as file: + out = file.write + + for name in sorted(unique_structs, key=struct_order): + if name in EXEMPT_STRUCTS: continue + for sdkver, abis in all_structs[name].items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version}' in declared: continue + declared[f'struct {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + out(f'typedef {kind} {version} {version};\n') + abis['w64'].write_definition(out, "", []) + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'typedef {version}' in declared: continue + declared[f'typedef {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + if type(abis['w64']) is Class: + out(f'typedef {kind} u_{version} u_{version};\n') + out(f'typedef {kind} u_{version} u64_{version};\n') + out(f'typedef {kind} u_{version} u32_{version};\n') + out(f'typedef {kind} w_{version} w_{version};\n') + out(f'typedef {kind} w_{version} w64_{version};\n') + out(f'typedef {kind} w_{version} w32_{version};\n') + continue + + if abis["w64"].needs_conversion(abis["u64"]): + out(f'typedef {kind} u64_{version} u64_{version};\n') + else: + out(f'typedef {kind} w64_{version} u64_{version};\n') + out(f'typedef {kind} w64_{version} w64_{version};\n') + + if abis["w32"].needs_conversion(abis["u32"]): + out(f'typedef {kind} u32_{version} u32_{version};\n') + else: + out(f'typedef {kind} w32_{version} u32_{version};\n') + out(f'typedef {kind} w32_{version} w32_{version};\n') + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version}' in declared: continue + declared[f'struct {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + if type(abis['w64']) is Class: + abis['w64'].write_definition(out, "w_") + abis['u64'].write_definition(out, "u_") + continue + + if not abis["w64"].needs_conversion(abis["u64"]): + abis['w64'].write_definition(out, "w64_", []) + else: + abis['w64'].write_definition(out, "w64_", ["u64_"]) + abis['u64'].write_definition(out, "u64_", ["w64_"]) + + if not abis["w32"].needs_conversion(abis["u32"]): + abis['w32'].write_definition(out, "w32_", []) + else: + abis['w32'].write_definition(out, "w32_", ["u32_"]) + abis['u32'].write_definition(out, "u32_", ["w32_"]) + + out(u'#ifdef __i386__\n') + out(f'typedef w32_{version} w_{version};\n') + out(f'typedef u32_{version} u_{version};\n') + out(u'#endif\n') + out(u'#ifdef __x86_64__\n') + out(f'typedef w64_{version} w_{version};\n') + out(f'typedef u64_{version} u_{version};\n') + out(u'#endif\n') + out(u'\n') + + +all_methods = [(k, m) for _, k in sorted(all_classes.items()) + for m in k.methods] + +with open("unix_private_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#ifdef __cplusplus\n') + out(u'extern "C" {\n') + out(u'#endif /* __cplusplus */\n') + out(u'\n') + + for klass in all_classes.values(): + sdkver = klass._sdkver + klass.write_definition(out, "u_") + out(u'\n') + + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f'NTSTATUS {method.full_name}( void * );\n') + out(u'\n') + + out(u'#ifdef __cplusplus\n') + out(u'} /* extern "C" */\n') + out(u'#endif /* __cplusplus */\n') + + +with open(u"unixlib_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include \n') + out(u'#include \n') + out(u'#include \n') + out(u'\n') + out(u'#ifdef __cplusplus\n') + out(u'extern "C" {\n') + out(u'#endif /* __cplusplus */\n') + out(u'\n') + + out(u'#include \n\n') + for klass, method in all_methods: + sdkver = klass._sdkver + method.write_params(out) + out(u'#include \n\n') + + out(u'enum unix_funcs\n') + out(u'{\n') + for func in UNIX_FUNCS: + out(f' unix_{func},\n') + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f' unix_{method.full_name},\n') + out(u'};\n') + out(u'\n') + + out(u'#ifdef __cplusplus\n') + out(u'} /* extern "C" */\n') + out(u'#endif /* __cplusplus */\n') + + +with open('unixlib_generated.cpp', 'w') as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#include "unix_private.h"\n\n') + + out(u'extern "C" const unixlib_entry_t __wine_unix_call_funcs[] =\n') + out(u'{\n') + for func in UNIX_FUNCS: + out(f' {func},\n') + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f' {method.full_name},\n') + out(u'};\n') + out(u'\n') + + callbacks = [] + + for name in sorted(unique_structs, key=struct_order): + for sdkver, abis in all_structs[name].items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'checks {version}' in declared: continue + declared[f'checks {version}'] = True + + abis['w64'].write_checks(out, "") + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'checks {version}' in declared: continue + declared[f'checks {version}'] = True + + if type(abis['w64']) is Class: + continue + + cbid = abis["w64"].callback_id + if cbid is not None and (abis["w64"] != abis["u64"] or abis["w32"] != abis["u32"]): + callbacks += [(cbid, sdkver, abis)] + + abis['w64'].write_checks(out, "w64_") + abis['u64'].write_checks(out, "u64_") + abis['w32'].write_checks(out, "w32_") + abis['u32'].write_checks(out, "u32_") + + if name in MANUAL_STRUCTS: continue + + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version} convert' in declared: continue + declared[f'struct {version} convert'] = True + + if type(abis['w64']) in (Class, Union): + continue + + path_conv_fields = PATH_CONV_STRUCTS.get(name, {}) + + if abis["w64"].needs_conversion(abis["u64"]): + out(u'#ifdef __x86_64__\n') + abis['w64'].write_converter('u64_', {}) + out(u'\n') + abis['u64'].write_converter('w64_', path_conv_fields) + out(u'#endif\n\n') + + if abis["w32"].needs_conversion(abis["u32"]): + out(u'#ifdef __i386__\n') + abis['w32'].write_converter('u32_', {}) + out(u'\n') + abis['u32'].write_converter('w32_', path_conv_fields) + out(u'#endif\n\n') + + out(u'void callback_message_utow( const u_CallbackMsg_t *u_msg, w_CallbackMsg_t *w_msg )\n') + out(u'{\n') + out(u' int len;\n') + out(u'\n') + out(u'#define MAKE_CASE(id, wlen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24)\n') + out(u' switch (MAKE_CASE(u_msg->m_iCallback, u_msg->m_cubParam))\n') + out(u' {\n') + out(u'#ifdef __i386__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["w32"].name, (cbid, abis["u32"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["u32"].size}): len = {abis["w32"].size}; break; /* {name} */\n') + else: + out(f' /* Conflict: case MAKE_CASE({cbid}, {abis["u32"].size}): len = {abis["w32"].size}; break; */ /* {name} */\n') + values.add(value) + out(u'#endif\n') + out(u'#ifdef __x86_64__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["w64"].name, (cbid, abis["u64"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["u64"].size}): len = {abis["w64"].size}; break; /* {name} */\n') + else: + out(f' /* Conflict: case MAKE_CASE({cbid}, {abis["u64"].size}): len = {abis["w64"].size}; break; */ /* {name} */\n') + values.add(value) + out(u'#endif\n') + out(u' default: len = u_msg->m_cubParam; break;\n') + out(u' }\n') + out(u'#undef MAKE_CASE\n') + out(u'\n') + out(u' w_msg->m_iCallback = u_msg->m_iCallback;\n') + out(u' w_msg->m_cubParam = len;\n') + out(u'}\n') + out(u'\n') + + out(u'void *alloc_callback_wtou(int id, void *callback, int *callback_len)\n') + out(u'{\n') + out(u' int len;\n') + out(u'\n') + out(u'#define MAKE_CASE(id, wlen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24)\n') + out(u' switch (MAKE_CASE(id, *callback_len))\n') + out(u' {\n') + out(u'#ifdef __i386__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["u32"].name, (cbid, abis["w32"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["w32"].size}): len = {abis["u32"].size}; break; /* {name} */\n') + else: + out(f' /* case MAKE_CASE({cbid}, {abis["w32"].size}): len = {abis["u32"].size}; break; {name} */\n') + values.add(value) + out(u'#endif\n') + out(u'#ifdef __x86_64__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["u64"].name, (cbid, abis["w64"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["w64"].size}): len = {abis["u64"].size}; break; /* {name} */\n') + else: + out(f' /* case MAKE_CASE({cbid}, {abis["w64"].size}): len = {abis["u64"].size}; break; {name} */\n') + values.add(value) + out(u'#endif\n') + out(u' default: return callback;\n') + out(u' }\n') + out(u'#undef MAKE_CASE\n') + out(u'\n') + out(u' callback = HeapAlloc( GetProcessHeap(), 0, len );\n') + out(u' *callback_len = len;\n') + out(u' return callback;\n') + out(u'}\n') + out(u'\n') + + out(u'void convert_callback_utow(int id, void *u_callback, int u_callback_len, void *w_callback, int w_callback_len)\n') + out(u'{\n') + out(u'#define MAKE_CASE(id, wlen, ulen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24) | (uint64_t)(ulen)\n') + out(u' switch (MAKE_CASE(id, w_callback_len, u_callback_len))\n') + out(u' {\n') + out(u'#ifdef __i386__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["u32"].name, (cbid, abis["w32"].size, abis["u32"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["w32"].size}, {abis["u32"].size}): *(w_{name} *)w_callback = *(u_{name} *)u_callback; break;\n') + else: + out(f' /* case MAKE_CASE({cbid}, {abis["w32"].size}, {abis["u32"].size}): *(w_{name} *)w_callback = *(u_{name} *)u_callback; break; */\n') + values.add(value) + out(u'#endif\n') + out(u'#ifdef __x86_64__\n') + values = set() + for cbid, sdkver, abis in sorted(callbacks, key=lambda x: x[0]): + name, value = abis["u64"].name, (cbid, abis["w64"].size, abis["u64"].size) + if name in all_versions[sdkver]: name = all_versions[sdkver][name] + if value not in values: + out(f' case MAKE_CASE({cbid}, {abis["w64"].size}, {abis["u64"].size}): *(w_{name} *)w_callback = *(u_{name} *)u_callback; break;\n') + else: + out(f' /* case MAKE_CASE({cbid}, {abis["w64"].size}, {abis["u64"].size}): *(w_{name} *)w_callback = *(u_{name} *)u_callback; break; */\n') + values.add(value) + out(u'#endif\n') + out(u' default: memcpy( w_callback, u_callback, u_callback_len ); break;\n') + out(u' }\n') + out(u'#undef MAKE_CASE\n') + out(u'}\n') diff --git a/lsteamclient/lsteamclient.spec b/lsteamclient/lsteamclient.spec index 4bb738151..f5ad77f88 100644 --- a/lsteamclient/lsteamclient.spec +++ b/lsteamclient/lsteamclient.spec @@ -56,6 +56,9 @@ 56 stub hid_write 57 stub hid_write_output_report +@ cdecl Steam_IsKnownInterface(ptr) +@ cdecl Steam_NotifyMissingInterface(long ptr) + # GameOverlayRenderer entry points @ stub BOverlayNeedsPresent @ stub IsOverlayEnabled diff --git a/lsteamclient/steam_defs.h b/lsteamclient/steam_defs.h deleted file mode 100644 index 8a443677b..000000000 --- a/lsteamclient/steam_defs.h +++ /dev/null @@ -1,316 +0,0 @@ -#include -#include -typedef uint32_t EHTMLMouseButton, EHTMLKeyModifiers; - -#ifndef __cplusplus -#ifndef bool -typedef char bool; /* 1 byte on modern visual studio c++ */ -#endif - -typedef uint8_t uint8; -typedef int8_t int8; -typedef int16_t int16; -typedef uint16_t uint16; -typedef int32_t int32; -typedef uint32_t uint32; -typedef int64_t int64; -typedef uint64_t uint64; -typedef int64 lint64; -typedef uint64 ulint64; - -typedef uint32_t EUserUGCList, - EUGCContentDescriptorID, - EUGCMatchingUGCType, - EUserUGCListSortOrder, - EUGCQuery, - EUGCMatchingUGCType, - EItemUpdateStatus, - EItemStatistic, - EItemPreviewType, - EAuthSessionResponse, - EHTTPStatusCode, - EDenyReason, - ERegisterActivationCodeResult, - EWorkshopVote, - EChatRoomEnterResponse, - ECheckFileSignature, - EBroadcastUploadResult, - EGCResults, - ESteamInputType, - EParentalFeature, - EAccountType, - EUniverse, - ENotificationPosition, - ESteamAPICallFailure, - EGamepadTextInputMode, - EGamepadTextInputLineMode, - EVoiceResult, - EBeginAuthSessionResult, - EUserHasLicenseForAppResult, - EPersonaState, - EFriendRelationship, - EPersonaState, - EOverlayToStoreFlag, - EChatEntryType, - ELobbyType, - ELobbyDistanceFilter, - ELobbyComparison, - EMatchMakingServerResponse, - ELeaderboardSortMethod, - ELeaderboardDisplayType, - ELeaderboardDataRequest, - ELeaderboardUploadScoreMethod, - EP2PSend, - ESNetSocketConnectionType, - ERemoteStoragePublishedFileVisibility, - EWorkshopFileAction, - EWorkshopEnumerationType, - ERemoteStoragePlatform, - EUGCReadAction, - EWorkshopFileType, - EWorkshopVideoProvider, - EVRScreenshotType, - EHTTPMethod, - EResult, - ESteamControllerPad, - EControllerActionOrigin, - EMatchMakingType, - AudioPlayback_Status, - ESteamUserStatType, - EConfigSubTree, - ELogonState, - EXboxOrigin, - EInputSourceMode, - EActivateGameOverlayToWebPageMode, - ESteamPartyBeaconLocationData, - ESteamPartyBeaconLocationType, - EInputActionOrigin, - ESteamNetworkingIdentityType, - ESteamNetworkingConfigScope, - ESteamNetworkingConfigValue, - ESteamNetworkingConfigDataType, - ESteamNetworkingSocketsDebugOutputType, - ESteamNetworkingGetConfigValueResult, - EGameSearchErrorCode_t, - EPlayerResult_t, - ESteamNetworkingAvailability, - ESteamDeviceFormFactor, - ESteamIPv6ConnectivityState, - ESteamIPv6ConnectivityProtocol, - EDurationControlOnlineState, - ETextFilteringContext, - ESteamNetworkingConnectionState, - EFloatingGamepadTextInputMode, - ERemoteStorageLocalFileChange, - ERemoteStorageFilePathType, - ESteamInputGlyphSize, - EControllerHapticLocation, - ESteamNetworkingFakeIPType, - ECommunityProfileItemProperty, - ECommunityProfileItemType -; - -/* XXX NO */ -typedef struct ISteamNetworkingCustomSignalingRecvContext ISteamNetworkingCustomSignalingRecvContext; -typedef struct ISteamNetworkingConnectionCustomSignaling ISteamNetworkingConnectionCustomSignaling; -typedef struct ISteamNetworkingSignalingRecvContext ISteamNetworkingSignalingRecvContext; -typedef struct ISteamNetworkingConnectionSignaling ISteamNetworkingConnectionSignaling; - -/* structs below are PODs with identical size & layout across platforms */ - -typedef struct CSteamID { unsigned char a[8]; } CSteamID; -typedef struct CGameID { unsigned char a[8]; } CGameID; -typedef struct RemoteStorageUpdatePublishedFileRequest_t { unsigned char a[40]; } RemoteStorageUpdatePublishedFileRequest_t; -typedef struct ControllerAnalogActionData_t { unsigned char a[13]; } ControllerAnalogActionData_t; -typedef struct ControllerDigitalActionData_t { unsigned char a[2]; } ControllerDigitalActionData_t; -typedef struct ControllerMotionData_t { unsigned char a[40]; } ControllerMotionData_t; -typedef struct SteamNetworkPingLocation_t { uint8 m_data[ 512 ]; } SteamNetworkPingLocation_t; -typedef struct SteamIPAddress_t { uint8 m_data[20]; } SteamIPAddress_t; -typedef struct ScePadTriggerEffectParam { uint8 m_data[120]; } ScePadTriggerEffectParam; - -#pragma pack( push, 1 ) - -typedef struct InputAnalogActionData_t -{ - // Type of data coming from this action, this will match what got specified in the action set - EInputSourceMode eMode; - - // The current state of this action; will be delta updates for mouse actions - float x, y; - - // Whether or not this action is currently available to be bound in the active action set - bool bActive; -} InputAnalogActionData_t; - -typedef struct InputDigitalActionData_t -{ - // The current state of this action; will be true if currently pressed - bool bState; - - // Whether or not this action is currently available to be bound in the active action set - bool bActive; -} InputDigitalActionData_t; - -typedef struct InputMotionData_t -{ - // Sensor-fused absolute rotation; will drift in heading - float rotQuatX; - float rotQuatY; - float rotQuatZ; - float rotQuatW; - - // Positional acceleration - float posAccelX; - float posAccelY; - float posAccelZ; - - // Angular velocity - float rotVelX; - float rotVelY; - float rotVelZ; -} InputMotionData_t; - -typedef struct SteamNetworkingIPAddr -{ - union - { - uint8 m_ipv6[ 16 ]; - struct - { - uint64 m_8zeros; - uint16 m_0000; - uint16 m_ffff; - uint8 m_ip[ 4 ]; - } m_ipv4; - } ip; - uint16 m_port; -} SteamNetworkingIPAddr; - -#define k_cchMaxGenericString 32 -#define k_cchMaxXboxPairwiseID 32 -#define k_cbMaxGenericBytes 32 - -typedef struct SteamNetworkingIdentity -{ - ESteamNetworkingIdentityType m_eType; - - int m_cbSize; - - union { - uint64 m_steamID64; - char m_szGenericString[ k_cchMaxGenericString ]; - char m_szXboxPairwiseID[ k_cchMaxXboxPairwiseID ]; - uint8 m_genericBytes[ k_cbMaxGenericBytes ]; - SteamNetworkingIPAddr m_ip; - uint32 m_reserved[ 32 ]; - } data; -} SteamNetworkingIdentity; - -#pragma pack( pop ) - -/* never dereferenced and needs no conversion */ -typedef struct FriendGameInfo_t FriendGameInfo_t; -typedef struct P2PSessionState_t P2PSessionState_t; -typedef struct SteamParamStringArray_t SteamParamStringArray_t; -typedef struct ISteamMatchmakingServerListResponse ISteamMatchmakingServerListResponse; -typedef struct ISteamMatchmakingPingResponse ISteamMatchmakingPingResponse; -typedef struct ISteamMatchmakingPlayersResponse ISteamMatchmakingPlayersResponse; -typedef struct ISteamMatchmakingRulesResponse ISteamMatchmakingRulesResponse; -typedef struct SteamControllerState001_t SteamControllerState001_t; -typedef struct SteamItemDetails_t SteamItemDetails_t; -typedef struct LeaderboardEntry_t LeaderboardEntry_t; -typedef struct SteamUGCDetails_t SteamUGCDetails_t; -typedef struct gameserveritem_t gameserveritem_t; -typedef struct MatchMakingKeyValuePair_t MatchMakingKeyValuePair_t; -typedef struct SteamPartyBeaconLocation_t SteamPartyBeaconLocation_t; -typedef struct SteamNetConnectionInfo_t SteamNetConnectionInfo_t; -typedef struct SteamNetworkingQuickConnectionStatus SteamNetworkingQuickConnectionStatus; -typedef struct SteamNetConnectionRealTimeStatus_t SteamNetConnectionRealTimeStatus_t; -typedef struct SteamDatagramRelayAuthTicket SteamDatagramRelayAuthTicket; -typedef struct SteamDatagramHostedAddress SteamDatagramHostedAddress; -typedef struct SteamNetAuthenticationStatus_t SteamNetAuthenticationStatus_t; -typedef struct SteamDatagramGameCoordinatorServerLogin SteamDatagramGameCoordinatorServerLogin; -typedef struct SteamRelayNetworkStatus_t SteamRelayNetworkStatus_t; -typedef struct SteamIPAddress_t SteamIPAddress_t; -typedef struct SteamNetworkingConfigValue_t SteamNetworkingConfigValue_t; -typedef struct SteamNetworkingMessage_t SteamNetworkingMessage_t; -typedef struct SteamInputActionEvent_t SteamInputActionEvent_t; -typedef struct SteamNetConnectionRealTimeLaneStatus_t SteamNetConnectionRealTimeLaneStatus_t; -typedef struct SteamNetworkingFakeIPResult_t SteamNetworkingFakeIPResult_t; - -typedef uint32 (*SteamAPI_CheckCallbackRegistered_t)(int cb); -typedef void *SteamAPIWarningMessageHook_t; -typedef void *SteamAPI_PostAPIResultInProcess_t; //unused -typedef void (*FSteamNetworkingSocketsDebugOutput)(ESteamNetworkingSocketsDebugOutputType nType, const char *pszMsg); - -typedef uint8 Salt_t[8]; -typedef uint64 GID_t; -typedef uint64 JobID_t; -typedef GID_t TxnID_t; -typedef uint32 PackageId_t; -typedef uint32 BundleId_t; -typedef uint32 AppId_t; -typedef uint64 AssetClassId_t; -typedef uint32 PhysicalItemId_t; -typedef uint32 DepotId_t; -typedef uint32 RTime32; -typedef uint32 CellID_t; -typedef uint64 SteamAPICall_t; -typedef uint32 AccountID_t; -typedef uint32 PartnerId_t; -typedef uint64 ManifestId_t; -typedef uint32 HAuthTicket; -typedef uint64 SteamLeaderboard_t; -typedef uint64 SteamLeaderboardEntries_t; -typedef void * BREAKPAD_HANDLE; -typedef char compile_time_assert_type[1]; -typedef int32 HSteamPipe; -typedef int32 HSteamUser; -typedef int16 FriendsGroupID_t; -typedef void * HServerListRequest; -typedef int HServerQuery; -typedef uint64 UGCHandle_t; -typedef uint64 PublishedFileUpdateHandle_t; -typedef uint32 SNetListenSocket_t; -typedef uint32 SNetSocket_t; -typedef uint64 PublishedFileId_t; -typedef uint64 UGCFileWriteStreamHandle_t; -typedef uint32 ScreenshotHandle; -typedef uint32 HTTPRequestHandle; -typedef uint32 HTTPCookieContainerHandle; -typedef uint64 ClientUnifiedMessageHandle; -typedef uint64 ControllerHandle_t; -typedef uint64 ControllerActionSetHandle_t; -typedef uint64 ControllerAnalogActionHandle_t; -typedef uint64 ControllerDigitalActionHandle_t; -typedef uint64 UGCQueryHandle_t; -typedef uint64 UGCUpdateHandle_t; -typedef uint32 HHTMLBrowser; -typedef int32 SteamInventoryResult_t, SteamItemDef_t; -typedef uint64 SteamItemInstanceID_t; -typedef uint64 SteamInventoryUpdateHandle_t; -typedef uint64 PartyBeaconID_t; -typedef uint64 InputHandle_t; -typedef uint64 InputActionSetHandle_t; -typedef uint64 InputDigitalActionHandle_t; -typedef uint64 InputAnalogActionHandle_t; -typedef uint32 HSteamNetConnection; -typedef int64 SteamNetworkingMicroseconds; -typedef uint32 HSteamListenSocket; -typedef uint32 HSteamNetPollGroup; -typedef uint32 SteamNetworkingPOPID; -typedef uint32 RemotePlaySessionID_t; -typedef char* SteamNetworkingErrMsg; - -typedef void (*SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); - -#pragma pack( push, 4 ) -typedef struct CallbackMsg_t -{ - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 *m_pubParam; - int m_cubParam; -} CallbackMsg_t; -#pragma pack( pop ) -#endif diff --git a/lsteamclient/steam_input_manual.c b/lsteamclient/steam_input_manual.c new file mode 100644 index 000000000..f27670b57 --- /dev/null +++ b/lsteamclient/steam_input_manual.c @@ -0,0 +1,281 @@ +#include "steamclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +/* ISteamController_SteamController005 */ + +const char *__thiscall winISteamController_SteamController005_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController005_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController005_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +/* ISteamController_SteamController006 */ + +const char *__thiscall winISteamController_SteamController006_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController006_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController006_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +/* ISteamController_SteamController007 */ + +const char *__thiscall winISteamController_SteamController007_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController007_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController007_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController007_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController007_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} + +/* ISteamController_SteamController008 */ + +const char *__thiscall winISteamController_SteamController008_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController008_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController008_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamController_SteamController008_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamController_SteamController008_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} + +/* ISteamInput_SteamInput001 */ + +const char *__thiscall winISteamInput_SteamInput001_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput001_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput001_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput001_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} + +/* ISteamInput_SteamInput002 */ + +const char *__thiscall winISteamInput_SteamInput002_GetGlyphForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput002_GetGlyphForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetGlyphForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput002_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} + +/* ISteamInput_SteamInput005 */ + +const char *__thiscall winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin, + uint32_t eSize, uint32_t unFlags ) +{ + struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .eSize = eSize, + .unFlags = unFlags, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( struct w_steam_iface *_this, + uint32_t eOrigin, uint32_t unFlags ) +{ + struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unFlags = unFlags, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput005_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} + +/* ISteamInput_SteamInput006 */ + +const char *__thiscall winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( struct w_steam_iface *_this, uint32_t eOrigin, + uint32_t eSize, uint32_t unFlags ) +{ + struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .eSize = eSize, + .unFlags = unFlags, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( struct w_steam_iface *_this, + uint32_t eOrigin, uint32_t unFlags ) +{ + struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unFlags = unFlags, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, ¶ms ); + return params._ret; +} + +const char *__thiscall winISteamInput_SteamInput006_GetGlyphForXboxOrigin( struct w_steam_iface *_this, uint32_t eOrigin ) +{ + struct ISteamInput_SteamInput006_GetGlyphForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + + TRACE( "%p\n", _this ); + + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGlyphForXboxOrigin, ¶ms ); + return params._ret; +} diff --git a/lsteamclient/steam_networking_manual.c b/lsteamclient/steam_networking_manual.c new file mode 100644 index 000000000..85af5f017 --- /dev/null +++ b/lsteamclient/steam_networking_manual.c @@ -0,0 +1,676 @@ +#include "steamclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +struct networking_message_pool +{ + LONG ref; + void *message_data; + struct networking_message messages[]; +}; + +C_ASSERT( sizeof(struct networking_message_pool) == offsetof( struct networking_message_pool, messages[0] ) ); + +static void networking_message_pool_release( struct networking_message_pool *pool ) +{ + if (!InterlockedDecrement( &pool->ref )) + { + HeapFree( GetProcessHeap(), 0, pool->message_data ); + HeapFree( GetProcessHeap(), 0, pool ); + } +} + +static BOOL networking_message_pool_alloc_data( uint32_t count, struct networking_message_pool *pool ) +{ + uint32_t i, size; + char *ptr; + + for (i = 0, size = 0; i < count; i++) size += *pool->messages[i].p_size; + if (!(pool->message_data = HeapAlloc( GetProcessHeap(), 0, size ))) + { + ERR( "Failed to allocate memory for networking messages\n" ); + return FALSE; + } + + for (i = 0, ptr = pool->message_data; i < count; i++) + { + *pool->messages[i].p_data = ptr; + ptr += *pool->messages[i].p_size; + } + + return TRUE; +} + +static void W_STDCALL w_SteamNetworkingMessage_t_144_FreeData( w_SteamNetworkingMessage_t_144 *msg ) +{ + if (msg->m_pData) SecureZeroMemory( msg->m_pData, msg->m_cbSize ); +} + +static void W_STDCALL w_SteamNetworkingMessage_t_144_Release( w_SteamNetworkingMessage_t_144 *msg ) +{ + struct networking_message *message = CONTAINING_RECORD( msg, struct networking_message, w_msg_144 ); + + if (msg->m_pfnFreeData) msg->m_pfnFreeData( msg ); + SecureZeroMemory( msg, sizeof(*msg) ); + + networking_message_pool_release( message->pool ); +} + +static w_SteamNetworkingMessage_t_144 *networking_message_init_144( struct networking_message *message, + struct networking_message_pool *pool ) +{ + message->pool = pool; + message->p_data = &message->w_msg_144.m_pData; + message->p_size = &message->w_msg_144.m_cbSize; + message->w_msg_144.m_pfnFreeData = w_SteamNetworkingMessage_t_144_FreeData; + message->w_msg_144.m_pfnRelease = w_SteamNetworkingMessage_t_144_Release; + return &message->w_msg_144; +} + +static BOOL networking_message_pool_create_144( uint32_t count, w_SteamNetworkingMessage_t_144 **messages ) +{ + uint32_t size = offsetof( struct networking_message_pool, messages[count] ); + struct networking_message_pool *pool; + + if (!(pool = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, size ))) + { + ERR( "Failed to allocate memory for networking messages\n" ); + return FALSE; + } + pool->ref = count; + + while (count--) messages[count] = networking_message_init_144( &pool->messages[count], pool ); + return TRUE; +} + +static BOOL networking_message_pool_receive_144( int32_t capacity, int32_t count, w_SteamNetworkingMessage_t_144 **messages ) +{ + struct networking_message_pool *pool = CONTAINING_RECORD( messages[0], struct networking_message, w_msg_144 )->pool; + int32_t i; + + for (i = count; i < capacity; i++) messages[i]->m_pfnRelease( messages[i] ); + + if (count > 0) + { + struct steamclient_networking_messages_receive_144_params params = {.count = count, .w_msgs = messages}; + if (!networking_message_pool_alloc_data( count, pool )) return FALSE; + STEAMCLIENT_CALL( steamclient_networking_messages_receive_144, ¶ms ); + } + + return TRUE; +} + +static void W_STDCALL w_SteamNetworkingMessage_t_147_FreeData( w_SteamNetworkingMessage_t_147 *msg ) +{ + struct networking_message *message = CONTAINING_RECORD( msg, struct networking_message, w_msg_147 ); + + if (msg->m_pData) SecureZeroMemory( msg->m_pData, msg->m_cbSize ); + if (!message->pool) HeapFree( GetProcessHeap(), 0, msg->m_pData ); +} + +static void W_STDCALL w_SteamNetworkingMessage_t_147_Release( w_SteamNetworkingMessage_t_147 *msg ) +{ + struct networking_message *message = CONTAINING_RECORD( msg, struct networking_message, w_msg_147 ); + + if (msg->m_pfnFreeData) msg->m_pfnFreeData( msg ); + SecureZeroMemory( msg, sizeof(*msg) ); + + if (message->pool) networking_message_pool_release( message->pool ); + else + { + struct steamclient_networking_message_release_147_params params = {.w_msg = msg}; + STEAMCLIENT_CALL( steamclient_networking_message_release_147, ¶ms ); + HeapFree( GetProcessHeap(), 0, message ); + } +} + +static w_SteamNetworkingMessage_t_147 *networking_message_init_147( struct networking_message *message, + struct networking_message_pool *pool ) +{ + message->pool = pool; + message->p_data = &message->w_msg_147.m_pData; + message->p_size = (uint32_t *)&message->w_msg_147.m_cbSize; + message->w_msg_147.m_pfnFreeData = w_SteamNetworkingMessage_t_147_FreeData; + message->w_msg_147.m_pfnRelease = w_SteamNetworkingMessage_t_147_Release; + return &message->w_msg_147; +} + +static BOOL networking_message_pool_create_147( uint32_t count, w_SteamNetworkingMessage_t_147 **messages ) +{ + uint32_t size = offsetof( struct networking_message_pool, messages[count] ); + struct networking_message_pool *pool; + + if (!(pool = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, size ))) + { + ERR( "Failed to allocate memory for networking messages\n" ); + return FALSE; + } + pool->ref = count; + + while (count--) messages[count] = networking_message_init_147( &pool->messages[count], pool ); + return TRUE; +} + +static BOOL networking_message_pool_receive_147( uint32_t capacity, uint32_t count, w_SteamNetworkingMessage_t_147 **messages ) +{ + struct networking_message_pool *pool = CONTAINING_RECORD( messages[0], struct networking_message, w_msg_147 )->pool; + uint32_t i; + + for (i = count; i < capacity; i++) messages[i]->m_pfnRelease( messages[i] ); + + if (count) + { + struct steamclient_networking_messages_receive_147_params params = {.count = count, .w_msgs = messages}; + if (!networking_message_pool_alloc_data( count, pool )) return FALSE; + STEAMCLIENT_CALL( steamclient_networking_messages_receive_147, ¶ms ); + } + + return TRUE; +} + +static void W_STDCALL w_SteamNetworkingMessage_t_153a_FreeData( w_SteamNetworkingMessage_t_153a *msg ) +{ + struct networking_message *message = CONTAINING_RECORD( msg, struct networking_message, w_msg_153a ); + + if (msg->m_pData) SecureZeroMemory( msg->m_pData, msg->m_cbSize ); + if (!message->pool) HeapFree( GetProcessHeap(), 0, msg->m_pData ); +} + +static void W_STDCALL w_SteamNetworkingMessage_t_153a_Release( w_SteamNetworkingMessage_t_153a *msg ) +{ + struct networking_message *message = CONTAINING_RECORD( msg, struct networking_message, w_msg_153a ); + + if (msg->m_pfnFreeData) msg->m_pfnFreeData( msg ); + SecureZeroMemory( msg, sizeof(*msg) ); + + if (message->pool) networking_message_pool_release( message->pool ); + else + { + struct steamclient_networking_message_release_153a_params params = {.w_msg = msg}; + STEAMCLIENT_CALL( steamclient_networking_message_release_153a, ¶ms ); + HeapFree( GetProcessHeap(), 0, message ); + } +} + +static w_SteamNetworkingMessage_t_153a *networking_message_init_153a( struct networking_message *message, + struct networking_message_pool *pool ) +{ + message->pool = pool; + message->p_data = &message->w_msg_153a.m_pData; + message->p_size = (uint32_t *)&message->w_msg_153a.m_cbSize; + message->w_msg_153a.m_pfnFreeData = w_SteamNetworkingMessage_t_153a_FreeData; + message->w_msg_153a.m_pfnRelease = w_SteamNetworkingMessage_t_153a_Release; + return &message->w_msg_153a; +} + +static BOOL networking_message_pool_create_153a( uint32_t count, w_SteamNetworkingMessage_t_153a **messages ) +{ + uint32_t size = offsetof( struct networking_message_pool, messages[count] ); + struct networking_message_pool *pool; + + if (!(pool = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, size ))) + { + ERR( "Failed to allocate memory for networking messages\n" ); + return FALSE; + } + pool->ref = count; + + while (count--) messages[count] = networking_message_init_153a( &pool->messages[count], pool ); + return TRUE; +} + +static BOOL networking_message_pool_receive_153a( uint32_t capacity, uint32_t count, w_SteamNetworkingMessage_t_153a **messages ) +{ + struct networking_message_pool *pool = CONTAINING_RECORD( messages[0], struct networking_message, w_msg_153a )->pool; + uint32_t i; + + for (i = count; i < capacity; i++) messages[i]->m_pfnRelease( messages[i] ); + + if (count) + { + struct steamclient_networking_messages_receive_153a_params params = {.count = count, .w_msgs = messages}; + if (!networking_message_pool_alloc_data( count, pool )) return FALSE; + STEAMCLIENT_CALL( steamclient_networking_messages_receive_153a, ¶ms ); + } + + return TRUE; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets002 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_144 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_144( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_144( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( struct w_steam_iface *_this, uint32_t hSocket, + w_SteamNetworkingMessage_t_144 **ppOutMessages, int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_144( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket, ¶ms ); + if (!networking_message_pool_receive_144( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets004 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_144 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_144( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_144( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( struct w_steam_iface *_this, uint32_t hSocket, + w_SteamNetworkingMessage_t_144 **ppOutMessages, int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_144( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket, ¶ms ); + if (!networking_message_pool_receive_144( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets006 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_147 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( struct w_steam_iface *_this, uint32_t hSocket, + w_SteamNetworkingMessage_t_147 **ppOutMessages, int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(struct w_steam_iface *_this, int32_t nMessages, w_SteamNetworkingMessage_t_147 **pMessages, int64_t *pOutMessageNumberOrResult) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; + int64_t i; + + TRACE("%p\n", _this); + + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages, ¶ms ); + for (i = 0; i < nMessages; i++) pMessages[i]->m_pfnRelease( pMessages[i] ); +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets008 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_147 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( struct w_steam_iface *_this, uint32_t hPollGroup, + w_SteamNetworkingMessage_t_147 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(struct w_steam_iface *_this, int32_t nMessages, w_SteamNetworkingMessage_t_147 *const *pMessages, int64_t *pOutMessageNumberOrResult) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; + int64_t i; + + TRACE("%p\n", _this); + + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages, ¶ms ); + for (i = 0; i < nMessages; i++) pMessages[i]->m_pfnRelease( pMessages[i] ); +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets009 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_147 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( struct w_steam_iface *_this, uint32_t hPollGroup, + w_SteamNetworkingMessage_t_147 **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_147( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, ¶ms ); + if (!networking_message_pool_receive_147( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(struct w_steam_iface *_this, int32_t nMessages, w_SteamNetworkingMessage_t_147 *const *pMessages, int64_t *pOutMessageNumberOrResult) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; + int64_t i; + + TRACE("%p\n", _this); + + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, ¶ms ); + for (i = 0; i < nMessages; i++) pMessages[i]->m_pfnRelease( pMessages[i] ); +} + +/* ISteamNetworkingUtils_SteamNetworkingUtils003 */ + +w_SteamNetworkingMessage_t_147 *__thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( struct w_steam_iface *_this, int32_t cbAllocateBuffer ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params params = + { + .linux_side = _this->u_iface, + .cbAllocateBuffer = cbAllocateBuffer, + }; + struct networking_message *message; + + TRACE( "%p\n", _this ); + + if (!(message = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*message) ))) return NULL; + if ((message->w_msg_147.m_cbSize = cbAllocateBuffer) && + !(message->w_msg_147.m_pData = HeapAlloc( GetProcessHeap(), 0, cbAllocateBuffer ))) + { + HeapFree( GetProcessHeap(), 0, message ); + return NULL; + } + message->w_msg_147.m_pfnFreeData = w_SteamNetworkingMessage_t_147_FreeData; + message->w_msg_147.m_pfnRelease = w_SteamNetworkingMessage_t_147_Release; + params._ret = &message->w_msg_147; + + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, ¶ms ); + + return params._ret; +} + +/* ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 */ + +void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( struct w_steam_iface *_this ) +{ + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + STEAMCLIENT_CALL( ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort, ¶ms ); + HeapFree( GetProcessHeap(), 0, _this ); +} + +int32_t __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( struct w_steam_iface *_this, + w_SteamNetworkingMessage_t_153a **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params params = + { + .linux_side = _this->u_iface, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_153a( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages, ¶ms ); + if (!networking_message_pool_receive_153a( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +/* ISteamNetworkingMessages_SteamNetworkingMessages002 */ + +int32_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( struct w_steam_iface *_this, int32_t nLocalChannel, + w_SteamNetworkingMessage_t_153a **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params params = + { + .linux_side = _this->u_iface, + .nLocalChannel = nLocalChannel, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_153a( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, ¶ms ); + if (!networking_message_pool_receive_153a( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets012 */ + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( struct w_steam_iface *_this, + uint32_t hConn, w_SteamNetworkingMessage_t_153a **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_153a( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, ¶ms ); + if (!networking_message_pool_receive_153a( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( struct w_steam_iface *_this, uint32_t hPollGroup, + w_SteamNetworkingMessage_t_153a **ppOutMessages, + int32_t nMaxMessages ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + .ppOutMessages = ppOutMessages, + .nMaxMessages = nMaxMessages, + }; + + TRACE( "%p\n", _this ); + + if (!networking_message_pool_create_153a( nMaxMessages, params.ppOutMessages )) return 0; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, ¶ms ); + if (!networking_message_pool_receive_153a( nMaxMessages, params._ret, params.ppOutMessages )) return 0; + + return params._ret; +} + +/* ISteamNetworkingUtils_SteamNetworkingUtils004 */ + +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(struct w_steam_iface *_this, int32_t nMessages, w_SteamNetworkingMessage_t_153a *const *pMessages, int64_t *pOutMessageNumberOrResult) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params params = + { + .linux_side = _this->u_iface, + .nMessages = nMessages, + .pMessages = pMessages, + .pOutMessageNumberOrResult = pOutMessageNumberOrResult, + }; + int64_t i; + + TRACE("%p\n", _this); + + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, ¶ms ); + for (i = 0; i < nMessages; i++) pMessages[i]->m_pfnRelease( pMessages[i] ); +} + +w_SteamNetworkingMessage_t_153a *__thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( struct w_steam_iface *_this, int32_t cbAllocateBuffer ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params params = + { + .linux_side = _this->u_iface, + .cbAllocateBuffer = cbAllocateBuffer, + }; + struct networking_message *message; + + TRACE( "%p\n", _this ); + + if (!(message = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*message) ))) return NULL; + if ((message->w_msg_153a.m_cbSize = cbAllocateBuffer) && + !(message->w_msg_153a.m_pData = HeapAlloc( GetProcessHeap(), 0, cbAllocateBuffer ))) + { + HeapFree( GetProcessHeap(), 0, message ); + return NULL; + } + message->w_msg_153a.m_pfnFreeData = w_SteamNetworkingMessage_t_153a_FreeData; + message->w_msg_153a.m_pfnRelease = w_SteamNetworkingMessage_t_153a_Release; + params._ret = &message->w_msg_153a; + + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, ¶ms ); + return params._ret; +} diff --git a/lsteamclient/win_constructors_table.dat b/lsteamclient/steamclient_generated.c similarity index 79% rename from lsteamclient/win_constructors_table.dat rename to lsteamclient/steamclient_generated.c index ea7515c95..c3f8ade74 100644 --- a/lsteamclient/win_constructors_table.dat +++ b/lsteamclient/steamclient_generated.c @@ -1,200 +1,297 @@ - {"SteamClient020", &create_winISteamClient_SteamClient020}, - {"SteamUser023", &create_winISteamUser_SteamUser023}, - {"SteamFriends017", &create_winISteamFriends_SteamFriends017}, - {"SteamUtils010", &create_winISteamUtils_SteamUtils010}, - {"SteamMatchMaking009", &create_winISteamMatchmaking_SteamMatchMaking009}, - {"SteamMatchMakingServers002", &create_winISteamMatchmakingServers_SteamMatchMakingServers002}, - {"SteamMatchGameSearch001", &create_winISteamGameSearch_SteamMatchGameSearch001}, - {"SteamParties002", &create_winISteamParties_SteamParties002}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION016", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016}, - {"STEAMUSERSTATS_INTERFACE_VERSION012", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012}, - {"STEAMAPPS_INTERFACE_VERSION008", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008}, - {"SteamNetworking006", &create_winISteamNetworking_SteamNetworking006}, - {"STEAMSCREENSHOTS_INTERFACE_VERSION003", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003}, - {"STEAMMUSIC_INTERFACE_VERSION001", &create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001}, - {"STEAMMUSICREMOTE_INTERFACE_VERSION001", &create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001}, - {"STEAMHTTP_INTERFACE_VERSION003", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003}, - {"SteamInput006", &create_winISteamInput_SteamInput006}, - {"SteamController008", &create_winISteamController_SteamController008}, - {"STEAMUGC_INTERFACE_VERSION017", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017}, +/* This file is auto-generated, do not edit. */ + +#include "steamclient_private.h" + +static const struct { const char *iface_version; iface_constructor ctor; } constructors[] = +{ {"STEAMAPPLIST_INTERFACE_VERSION001", &create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001}, + {"STEAMAPPS_INTERFACE_VERSION001", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001}, + {"SteamApps001", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001}, /* alias */ + {"STEAMAPPS_INTERFACE_VERSION002", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002}, + {"STEAMAPPS_INTERFACE_VERSION003", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003}, + {"STEAMAPPS_INTERFACE_VERSION004", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004}, + {"STEAMAPPS_INTERFACE_VERSION005", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005}, + {"STEAMAPPS_INTERFACE_VERSION006", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006}, + {"STEAMAPPS_INTERFACE_VERSION007", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007}, + {"STEAMAPPS_INTERFACE_VERSION008", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008}, + {"STEAMAPPTICKET_INTERFACE_VERSION001", &create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001}, + {"STEAMCONTROLLER_INTERFACE_VERSION", &create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION}, + {"STEAMHTMLSURFACE_INTERFACE_VERSION_001", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001}, + {"STEAMHTMLSURFACE_INTERFACE_VERSION_002", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002}, + {"STEAMHTMLSURFACE_INTERFACE_VERSION_003", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003}, + {"STEAMHTMLSURFACE_INTERFACE_VERSION_004", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004}, {"STEAMHTMLSURFACE_INTERFACE_VERSION_005", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005}, + {"STEAMHTTP_INTERFACE_VERSION001", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001}, + {"STEAMHTTP_INTERFACE_VERSION002", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002}, + {"STEAMHTTP_INTERFACE_VERSION003", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003}, + {"STEAMINVENTORY_INTERFACE_V001", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001}, + {"STEAMINVENTORY_INTERFACE_V002", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002}, {"STEAMINVENTORY_INTERFACE_V003", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003}, - {"STEAMVIDEO_INTERFACE_V002", &create_winISteamVideo_STEAMVIDEO_INTERFACE_V002}, + {"STEAMMUSICREMOTE_INTERFACE_VERSION001", &create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001}, + {"STEAMMUSIC_INTERFACE_VERSION001", &create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001}, {"STEAMPARENTALSETTINGS_INTERFACE_VERSION001", &create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001}, {"STEAMREMOTEPLAY_INTERFACE_VERSION001", &create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001}, - {"SteamNetworkingMessages002", &create_winISteamNetworkingMessages_SteamNetworkingMessages002}, - {"SteamNetworkingSockets012", &create_winISteamNetworkingSockets_SteamNetworkingSockets012}, - {"SteamNetworkingUtils004", &create_winISteamNetworkingUtils_SteamNetworkingUtils004}, - {"STEAMAPPTICKET_INTERFACE_VERSION001", &create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001}, - {"SteamGameServer015", &create_winISteamGameServer_SteamGameServer015}, - {"SteamGameServerStats001", &create_winISteamGameServerStats_SteamGameServerStats001}, - {"SteamGameCoordinator001", &create_winISteamGameCoordinator_SteamGameCoordinator001}, - {"SteamNetworkingFakeUDPPort001", &create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001}, - {"SteamUser022", &create_winISteamUser_SteamUser022}, - {"SteamUser021", &create_winISteamUser_SteamUser021}, - {"STEAMUGC_INTERFACE_VERSION016", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016}, - {"SteamGameServer014", &create_winISteamGameServer_SteamGameServer014}, - {"SteamInput005", &create_winISteamInput_SteamInput005}, - {"STEAMUGC_INTERFACE_VERSION015", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015}, - {"SteamNetworkingSockets009", &create_winISteamNetworkingSockets_SteamNetworkingSockets009}, - {"SteamNetworkingUtils003", &create_winISteamNetworkingUtils_SteamNetworkingUtils003}, + {"STEAMREMOTEPLAY_INTERFACE_VERSION002", &create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION001", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION002", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION003", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION004", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION005", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION006", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION007", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION008", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION009", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION010", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION011", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION012", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION013", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013}, {"STEAMREMOTESTORAGE_INTERFACE_VERSION014", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014}, - {"SteamInput002", &create_winISteamInput_SteamInput002}, - {"SteamGameServer013", &create_winISteamGameServer_SteamGameServer013}, - {"SteamInput001", &create_winISteamInput_SteamInput001}, - {"SteamController007", &create_winISteamController_SteamController007}, - {"STEAMUGC_INTERFACE_VERSION014", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014}, - {"SteamUtils009", &create_winISteamUtils_SteamUtils009}, - {"SteamNetworkingSockets008", &create_winISteamNetworkingSockets_SteamNetworkingSockets008}, - {"SteamUser020", &create_winISteamUser_SteamUser020}, - {"STEAMUSERSTATS_INTERFACE_VERSION011", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011}, - {"SteamNetworkingSockets006", &create_winISteamNetworkingSockets_SteamNetworkingSockets006}, - {"SteamClient019", &create_winISteamClient_SteamClient019}, - {"SteamNetworking005", &create_winISteamNetworking_SteamNetworking005}, - {"STEAMUGC_INTERFACE_VERSION013", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013}, - {"SteamGameServer012", &create_winISteamGameServer_SteamGameServer012}, - {"SteamNetworkingSockets004", &create_winISteamNetworkingSockets_SteamNetworkingSockets004}, - {"SteamNetworkingUtils002", &create_winISteamNetworkingUtils_SteamNetworkingUtils002}, - {"SteamClient018", &create_winISteamClient_SteamClient018}, - {"STEAMUGC_INTERFACE_VERSION012", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012}, - {"SteamNetworkingSockets002", &create_winISteamNetworkingSockets_SteamNetworkingSockets002}, - {"SteamNetworkingSockets003", &create_winISteamNetworkingSockets_SteamNetworkingSockets002}, /* alias */ - {"SteamNetworkingUtils001", &create_winISteamNetworkingUtils_SteamNetworkingUtils001}, - {"SteamNetworkingSocketsSerialized003", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003}, - {"SteamNetworkingSocketsSerialized002", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002}, - {"SteamNetworkingSocketsSerialized001", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002}, /* alias */ - {"SteamClient017", &create_winISteamClient_SteamClient017}, - {"SteamUser019", &create_winISteamUser_SteamUser019}, - {"SteamFriends015", &create_winISteamFriends_SteamFriends015}, - {"STEAMHTTP_INTERFACE_VERSION002", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002}, - {"SteamController006", &create_winISteamController_SteamController006}, + {"STEAMREMOTESTORAGE_INTERFACE_VERSION016", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016}, + {"STEAMSCREENSHOTS_INTERFACE_VERSION001", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001}, + {"STEAMSCREENSHOTS_INTERFACE_VERSION002", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002}, + {"STEAMSCREENSHOTS_INTERFACE_VERSION003", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003}, + {"STEAMUGC_INTERFACE_VERSION001", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001}, + {"STEAMUGC_INTERFACE_VERSION002", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002}, + {"STEAMUGC_INTERFACE_VERSION003", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003}, + {"STEAMUGC_INTERFACE_VERSION004", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004}, + {"STEAMUGC_INTERFACE_VERSION005", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005}, + {"STEAMUGC_INTERFACE_VERSION006", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006}, + {"STEAMUGC_INTERFACE_VERSION007", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007}, + {"STEAMUGC_INTERFACE_VERSION008", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008}, + {"STEAMUGC_INTERFACE_VERSION009", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009}, {"STEAMUGC_INTERFACE_VERSION010", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010}, - {"STEAMHTMLSURFACE_INTERFACE_VERSION_004", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004}, - {"STEAMINVENTORY_INTERFACE_V002", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002}, + {"STEAMUGC_INTERFACE_VERSION012", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012}, + {"STEAMUGC_INTERFACE_VERSION013", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013}, + {"STEAMUGC_INTERFACE_VERSION014", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014}, + {"STEAMUGC_INTERFACE_VERSION015", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015}, + {"STEAMUGC_INTERFACE_VERSION016", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016}, + {"STEAMUGC_INTERFACE_VERSION017", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017}, + {"STEAMUGC_INTERFACE_VERSION018", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION018}, {"STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001", &create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001}, - {"SteamController005", &create_winISteamController_SteamController005}, - {"STEAMHTMLSURFACE_INTERFACE_VERSION_003", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003}, - {"SteamUtils008", &create_winISteamUtils_SteamUtils008}, - {"STEAMUGC_INTERFACE_VERSION009", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009}, - {"STEAMINVENTORY_INTERFACE_V001", &create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001}, + {"STEAMUSERSTATS_INTERFACE_VERSION001", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001}, + {"STEAMUSERSTATS_INTERFACE_VERSION002", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002}, + {"STEAMUSERSTATS_INTERFACE_VERSION003", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003}, + {"STEAMUSERSTATS_INTERFACE_VERSION004", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004}, + {"STEAMUSERSTATS_INTERFACE_VERSION005", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005}, + {"STEAMUSERSTATS_INTERFACE_VERSION006", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006}, + {"STEAMUSERSTATS_INTERFACE_VERSION007", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007}, + {"STEAMUSERSTATS_INTERFACE_VERSION008", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008}, + {"STEAMUSERSTATS_INTERFACE_VERSION009", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009}, + {"STEAMUSERSTATS_INTERFACE_VERSION010", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010}, + {"STEAMUSERSTATS_INTERFACE_VERSION011", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011}, + {"STEAMUSERSTATS_INTERFACE_VERSION012", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012}, {"STEAMVIDEO_INTERFACE_V001", &create_winISteamVideo_STEAMVIDEO_INTERFACE_V001}, - {"SteamController004", &create_winISteamController_SteamController004}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION013", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013}, - {"STEAMSCREENSHOTS_INTERFACE_VERSION002", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002}, - {"SteamController003", &create_winISteamController_SteamController003}, - {"STEAMUGC_INTERFACE_VERSION008", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008}, - {"SteamUser018", &create_winISteamUser_SteamUser018}, - {"SteamUtils007", &create_winISteamUtils_SteamUtils007}, - {"STEAMAPPS_INTERFACE_VERSION007", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007}, - {"STEAMUGC_INTERFACE_VERSION007", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION012", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012}, - {"STEAMCONTROLLER_INTERFACE_VERSION", &create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION}, - {"STEAMUGC_INTERFACE_VERSION006", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006}, - {"STEAMUGC_INTERFACE_VERSION005", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005}, - {"STEAMHTMLSURFACE_INTERFACE_VERSION_002", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002}, - {"STEAMUGC_INTERFACE_VERSION004", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004}, - {"STEAMUGC_INTERFACE_VERSION003", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003}, + {"STEAMVIDEO_INTERFACE_V002", &create_winISteamVideo_STEAMVIDEO_INTERFACE_V002}, + {"SteamClient006", &create_winISteamClient_SteamClient006}, + {"SteamClient007", &create_winISteamClient_SteamClient007}, + {"SteamClient008", &create_winISteamClient_SteamClient008}, + {"SteamClient009", &create_winISteamClient_SteamClient009}, + {"SteamClient010", &create_winISteamClient_SteamClient010}, + {"SteamClient011", &create_winISteamClient_SteamClient011}, + {"SteamClient012", &create_winISteamClient_SteamClient012}, + {"SteamClient013", &create_winISteamClient_SteamClient013}, + {"SteamClient014", &create_winISteamClient_SteamClient014}, + {"SteamClient015", &create_winISteamClient_SteamClient015}, {"SteamClient016", &create_winISteamClient_SteamClient016}, - {"SteamUser017", &create_winISteamUser_SteamUser017}, + {"SteamClient017", &create_winISteamClient_SteamClient017}, + {"SteamClient018", &create_winISteamClient_SteamClient018}, + {"SteamClient019", &create_winISteamClient_SteamClient019}, + {"SteamClient020", &create_winISteamClient_SteamClient020}, + {"SteamController003", &create_winISteamController_SteamController003}, + {"SteamController004", &create_winISteamController_SteamController004}, + {"SteamController005", &create_winISteamController_SteamController005}, + {"SteamController006", &create_winISteamController_SteamController006}, + {"SteamController007", &create_winISteamController_SteamController007}, + {"SteamController008", &create_winISteamController_SteamController008}, + {"SteamFriends001", &create_winISteamFriends_SteamFriends001}, + {"SteamFriends002", &create_winISteamFriends_SteamFriends002}, + {"SteamFriends003", &create_winISteamFriends_SteamFriends003}, + {"SteamFriends004", &create_winISteamFriends_SteamFriends004}, + {"SteamFriends005", &create_winISteamFriends_SteamFriends005}, + {"SteamFriends006", &create_winISteamFriends_SteamFriends006}, + {"SteamFriends007", &create_winISteamFriends_SteamFriends007}, + {"SteamFriends008", &create_winISteamFriends_SteamFriends008}, + {"SteamFriends009", &create_winISteamFriends_SteamFriends009}, + {"SteamFriends010", &create_winISteamFriends_SteamFriends010}, + {"SteamFriends011", &create_winISteamFriends_SteamFriends011}, + {"SteamFriends012", &create_winISteamFriends_SteamFriends012}, + {"SteamFriends013", &create_winISteamFriends_SteamFriends013}, {"SteamFriends014", &create_winISteamFriends_SteamFriends014}, - {"STEAMAPPS_INTERFACE_VERSION006", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006}, - {"STEAMHTMLSURFACE_INTERFACE_VERSION_001", &create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001}, - {"SteamClient015", &create_winISteamClient_SteamClient015}, - {"STEAMUGC_INTERFACE_VERSION002", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002}, - {"SteamClient014", &create_winISteamClient_SteamClient014}, - {"SteamClient013", &create_winISteamClient_SteamClient013}, - {"SteamClient012", &create_winISteamClient_SteamClient012}, - {"SteamUtils006", &create_winISteamUtils_SteamUtils006}, - {"STEAMUGC_INTERFACE_VERSION001", &create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001}, + {"SteamFriends015", &create_winISteamFriends_SteamFriends015}, + {"SteamFriends017", &create_winISteamFriends_SteamFriends017}, + {"SteamGameCoordinator001", &create_winISteamGameCoordinator_SteamGameCoordinator001}, + {"SteamGameServer002", &create_winISteamGameServer_SteamGameServer002}, + {"SteamGameServer003", &create_winISteamGameServer_SteamGameServer003}, + {"SteamGameServer004", &create_winISteamGameServer_SteamGameServer004}, + {"SteamGameServer005", &create_winISteamGameServer_SteamGameServer005}, + {"SteamGameServer008", &create_winISteamGameServer_SteamGameServer008}, + {"SteamGameServer007", &create_winISteamGameServer_SteamGameServer008}, /* alias */ + {"SteamGameServer006", &create_winISteamGameServer_SteamGameServer008}, /* alias */ + {"SteamGameServer009", &create_winISteamGameServer_SteamGameServer009}, + {"SteamGameServer010", &create_winISteamGameServer_SteamGameServer010}, {"SteamGameServer011", &create_winISteamGameServer_SteamGameServer011}, - {"SteamFriends013", &create_winISteamFriends_SteamFriends013}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION011", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011}, - {"STEAMAPPS_INTERFACE_VERSION005", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION010", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010}, - {"SteamUser016", &create_winISteamUser_SteamUser016}, - {"SteamUtils005", &create_winISteamUtils_SteamUtils005}, - {"STEAMSCREENSHOTS_INTERFACE_VERSION001", &create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION009", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION008", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008}, - {"STEAMHTTP_INTERFACE_VERSION001", &create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001}, - {"SteamFriends012", &create_winISteamFriends_SteamFriends012}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION007", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007}, - {"SteamFriends011", &create_winISteamFriends_SteamFriends011}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION006", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006}, - {"STEAMUSERSTATS_INTERFACE_VERSION010", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION005", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005}, - {"STEAMAPPS_INTERFACE_VERSION004", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004}, + {"SteamGameServer012", &create_winISteamGameServer_SteamGameServer012}, + {"SteamGameServer013", &create_winISteamGameServer_SteamGameServer013}, + {"SteamGameServer014", &create_winISteamGameServer_SteamGameServer014}, + {"SteamGameServer015", &create_winISteamGameServer_SteamGameServer015}, + {"SteamGameServerStats001", &create_winISteamGameServerStats_SteamGameServerStats001}, {"SteamGameStats001", &create_winISteamGameStats_SteamGameStats001}, - {"SteamFriends010", &create_winISteamFriends_SteamFriends010}, - {"SteamClient011", &create_winISteamClient_SteamClient011}, - {"SteamFriends009", &create_winISteamFriends_SteamFriends009}, - {"SteamMatchMaking008", &create_winISteamMatchmaking_SteamMatchMaking008}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION004", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004}, - {"SteamGameServer010", &create_winISteamGameServer_SteamGameServer010}, + {"SteamInput001", &create_winISteamInput_SteamInput001}, + {"SteamInput002", &create_winISteamInput_SteamInput002}, + {"SteamInput005", &create_winISteamInput_SteamInput005}, + {"SteamInput006", &create_winISteamInput_SteamInput006}, {"SteamMasterServerUpdater001", &create_winISteamMasterServerUpdater_SteamMasterServerUpdater001}, - {"SteamClient010", &create_winISteamClient_SteamClient010}, - {"STEAMUSERSTATS_INTERFACE_VERSION009", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009}, - {"SteamUser015", &create_winISteamUser_SteamUser015}, - {"SteamUser014", &create_winISteamUser_SteamUser014}, - {"SteamFriends008", &create_winISteamFriends_SteamFriends008}, - {"SteamNetworking004", &create_winISteamNetworking_SteamNetworking004}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION003", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003}, - {"STEAMUSERSTATS_INTERFACE_VERSION008", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008}, - {"SteamClient009", &create_winISteamClient_SteamClient009}, - {"SteamFriends007", &create_winISteamFriends_SteamFriends007}, - {"STEAMUSERSTATS_INTERFACE_VERSION007", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007}, - {"STEAMAPPS_INTERFACE_VERSION003", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION002", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002}, - {"SteamUser013", &create_winISteamUser_SteamUser013}, - {"SteamFriends006", &create_winISteamFriends_SteamFriends006}, - {"SteamNetworking003", &create_winISteamNetworking_SteamNetworking003}, - {"SteamFriends005", &create_winISteamFriends_SteamFriends005}, - {"SteamClient008", &create_winISteamClient_SteamClient008}, + {"SteamMatchGameSearch001", &create_winISteamGameSearch_SteamMatchGameSearch001}, + {"SteamMatchMaking001", &create_winISteamMatchmaking_SteamMatchMaking001}, + {"SteamMatchMaking002", &create_winISteamMatchmaking_SteamMatchMaking002}, + {"SteamMatchMaking003", &create_winISteamMatchmaking_SteamMatchMaking003}, + {"SteamMatchMaking004", &create_winISteamMatchmaking_SteamMatchMaking004}, + {"SteamMatchMaking005", &create_winISteamMatchmaking_SteamMatchMaking005}, + {"SteamMatchMaking006", &create_winISteamMatchmaking_SteamMatchMaking006}, {"SteamMatchMaking007", &create_winISteamMatchmaking_SteamMatchMaking007}, - {"STEAMUSERSTATS_INTERFACE_VERSION006", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006}, - {"SteamGameServer009", &create_winISteamGameServer_SteamGameServer009}, - {"SteamUtils004", &create_winISteamUtils_SteamUtils004}, - {"SteamUtils003", &create_winISteamUtils_SteamUtils004}, /* alias */ - {"SteamUser012", &create_winISteamUser_SteamUser012}, + {"SteamMatchMaking008", &create_winISteamMatchmaking_SteamMatchMaking008}, + {"SteamMatchMaking009", &create_winISteamMatchmaking_SteamMatchMaking009}, {"SteamMatchMakingServers001", &create_winISteamMatchmakingServers_SteamMatchMakingServers001}, - {"SteamMatchMaking006", &create_winISteamMatchmaking_SteamMatchMaking006}, - {"STEAMUSERSTATS_INTERFACE_VERSION005", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005}, + {"SteamMatchMakingServers002", &create_winISteamMatchmakingServers_SteamMatchMakingServers002}, + {"SteamNetworking001", &create_winISteamNetworking_SteamNetworking001}, {"SteamNetworking002", &create_winISteamNetworking_SteamNetworking002}, - {"SteamGameServer008", &create_winISteamGameServer_SteamGameServer008}, - {"SteamGameServer007", &create_winISteamGameServer_SteamGameServer008}, /* alias */ - {"SteamGameServer006", &create_winISteamGameServer_SteamGameServer008}, /* alias */ - {"SteamClient007", &create_winISteamClient_SteamClient007}, + {"SteamNetworking003", &create_winISteamNetworking_SteamNetworking003}, + {"SteamNetworking004", &create_winISteamNetworking_SteamNetworking004}, + {"SteamNetworking005", &create_winISteamNetworking_SteamNetworking005}, + {"SteamNetworking006", &create_winISteamNetworking_SteamNetworking006}, + {"SteamNetworkingFakeUDPPort001", &create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001}, + {"SteamNetworkingMessages002", &create_winISteamNetworkingMessages_SteamNetworkingMessages002}, + {"SteamNetworkingSockets002", &create_winISteamNetworkingSockets_SteamNetworkingSockets002}, + {"SteamNetworkingSockets003", &create_winISteamNetworkingSockets_SteamNetworkingSockets002}, /* alias */ + {"SteamNetworkingSockets004", &create_winISteamNetworkingSockets_SteamNetworkingSockets004}, + {"SteamNetworkingSockets006", &create_winISteamNetworkingSockets_SteamNetworkingSockets006}, + {"SteamNetworkingSockets008", &create_winISteamNetworkingSockets_SteamNetworkingSockets008}, + {"SteamNetworkingSockets009", &create_winISteamNetworkingSockets_SteamNetworkingSockets009}, + {"SteamNetworkingSockets012", &create_winISteamNetworkingSockets_SteamNetworkingSockets012}, + {"SteamNetworkingSocketsSerialized002", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002}, + {"SteamNetworkingSocketsSerialized001", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002}, /* alias */ + {"SteamNetworkingSocketsSerialized003", &create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003}, + {"SteamNetworkingUtils001", &create_winISteamNetworkingUtils_SteamNetworkingUtils001}, + {"SteamNetworkingUtils002", &create_winISteamNetworkingUtils_SteamNetworkingUtils002}, + {"SteamNetworkingUtils003", &create_winISteamNetworkingUtils_SteamNetworkingUtils003}, + {"SteamNetworkingUtils004", &create_winISteamNetworkingUtils_SteamNetworkingUtils004}, + {"SteamParties002", &create_winISteamParties_SteamParties002}, + {"SteamUser004", &create_winISteamUser_SteamUser004}, + {"SteamUser005", &create_winISteamUser_SteamUser005}, + {"SteamUser006", &create_winISteamUser_SteamUser006}, + {"SteamUser007", &create_winISteamUser_SteamUser007}, + {"SteamUser008", &create_winISteamUser_SteamUser008}, + {"SteamUser009", &create_winISteamUser_SteamUser009}, + {"SteamUser010", &create_winISteamUser_SteamUser010}, {"SteamUser011", &create_winISteamUser_SteamUser011}, + {"SteamUser012", &create_winISteamUser_SteamUser012}, + {"SteamUser013", &create_winISteamUser_SteamUser013}, + {"SteamUser014", &create_winISteamUser_SteamUser014}, + {"SteamUser015", &create_winISteamUser_SteamUser015}, + {"SteamUser016", &create_winISteamUser_SteamUser016}, + {"SteamUser017", &create_winISteamUser_SteamUser017}, + {"SteamUser018", &create_winISteamUser_SteamUser018}, + {"SteamUser019", &create_winISteamUser_SteamUser019}, + {"SteamUser020", &create_winISteamUser_SteamUser020}, + {"SteamUser021", &create_winISteamUser_SteamUser021}, + {"SteamUser022", &create_winISteamUser_SteamUser022}, + {"SteamUser023", &create_winISteamUser_SteamUser023}, {"SteamUtils002", &create_winISteamUtils_SteamUtils002}, {"SteamUtils001", &create_winISteamUtils_SteamUtils002}, /* alias */ - {"STEAMUSERSTATS_INTERFACE_VERSION004", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004}, - {"STEAMAPPS_INTERFACE_VERSION002", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002}, - {"SteamMatchMaking005", &create_winISteamMatchmaking_SteamMatchMaking005}, - {"STEAMREMOTESTORAGE_INTERFACE_VERSION001", &create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001}, - {"SteamFriends004", &create_winISteamFriends_SteamFriends004}, - {"SteamMatchMaking004", &create_winISteamMatchmaking_SteamMatchMaking004}, - {"STEAMUSERSTATS_INTERFACE_VERSION003", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003}, - {"SteamNetworking001", &create_winISteamNetworking_SteamNetworking001}, - {"SteamGameServer005", &create_winISteamGameServer_SteamGameServer005}, - {"SteamMatchMaking003", &create_winISteamMatchmaking_SteamMatchMaking003}, - {"SteamUser010", &create_winISteamUser_SteamUser010}, - {"SteamFriends003", &create_winISteamFriends_SteamFriends003}, - {"SteamMatchMaking002", &create_winISteamMatchmaking_SteamMatchMaking002}, - {"SteamUser009", &create_winISteamUser_SteamUser009}, - {"STEAMAPPS_INTERFACE_VERSION001", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001}, - {"SteamApps001", &create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001}, /* alias */ - {"SteamGameServer004", &create_winISteamGameServer_SteamGameServer004}, - {"SteamClient006", &create_winISteamClient_SteamClient006}, - {"SteamUser008", &create_winISteamUser_SteamUser008}, - {"SteamFriends002", &create_winISteamFriends_SteamFriends002}, - {"SteamMatchMaking001", &create_winISteamMatchmaking_SteamMatchMaking001}, - {"STEAMUSERSTATS_INTERFACE_VERSION002", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002}, - {"SteamGameServer003", &create_winISteamGameServer_SteamGameServer003}, - {"SteamUser007", &create_winISteamUser_SteamUser007}, - {"SteamFriends001", &create_winISteamFriends_SteamFriends001}, - {"STEAMUSERSTATS_INTERFACE_VERSION001", &create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001}, - {"SteamGameServer002", &create_winISteamGameServer_SteamGameServer002}, - {"SteamUser006", &create_winISteamUser_SteamUser006}, - {"SteamUser005", &create_winISteamUser_SteamUser005}, - {"SteamUser004", &create_winISteamUser_SteamUser004}, + {"SteamUtils004", &create_winISteamUtils_SteamUtils004}, + {"SteamUtils003", &create_winISteamUtils_SteamUtils004}, /* alias */ + {"SteamUtils005", &create_winISteamUtils_SteamUtils005}, + {"SteamUtils006", &create_winISteamUtils_SteamUtils006}, + {"SteamUtils007", &create_winISteamUtils_SteamUtils007}, + {"SteamUtils008", &create_winISteamUtils_SteamUtils008}, + {"SteamUtils009", &create_winISteamUtils_SteamUtils009}, + {"SteamUtils010", &create_winISteamUtils_SteamUtils010}, +}; + +iface_constructor find_iface_constructor( const char *iface_version ) +{ + int i; + for (i = 0; i < ARRAYSIZE(constructors); ++i) + if (!strcmp( iface_version, constructors[i].iface_version )) + return constructors[i].ctor; + return NULL; +} + +extern void init_winISteamAppList_rtti( char * ); +extern void init_winISteamAppTicket_rtti( char * ); +extern void init_winISteamApps_rtti( char * ); +extern void init_winISteamClient_rtti( char * ); +extern void init_winISteamController_rtti( char * ); +extern void init_winISteamFriends_rtti( char * ); +extern void init_winISteamGameCoordinator_rtti( char * ); +extern void init_winISteamGameSearch_rtti( char * ); +extern void init_winISteamGameServer_rtti( char * ); +extern void init_winISteamGameServerStats_rtti( char * ); +extern void init_winISteamGameStats_rtti( char * ); +extern void init_winISteamHTMLSurface_rtti( char * ); +extern void init_winISteamHTTP_rtti( char * ); +extern void init_winISteamInput_rtti( char * ); +extern void init_winISteamInventory_rtti( char * ); +extern void init_winISteamMasterServerUpdater_rtti( char * ); +extern void init_winISteamMatchmaking_rtti( char * ); +extern void init_winISteamMatchmakingServers_rtti( char * ); +extern void init_winISteamMusic_rtti( char * ); +extern void init_winISteamMusicRemote_rtti( char * ); +extern void init_winISteamNetworking_rtti( char * ); +extern void init_winISteamNetworkingFakeUDPPort_rtti( char * ); +extern void init_winISteamNetworkingMessages_rtti( char * ); +extern void init_winISteamNetworkingSockets_rtti( char * ); +extern void init_winISteamNetworkingSocketsSerialized_rtti( char * ); +extern void init_winISteamNetworkingUtils_rtti( char * ); +extern void init_winISteamParentalSettings_rtti( char * ); +extern void init_winISteamParties_rtti( char * ); +extern void init_winISteamRemotePlay_rtti( char * ); +extern void init_winISteamRemoteStorage_rtti( char * ); +extern void init_winISteamScreenshots_rtti( char * ); +extern void init_winISteamUGC_rtti( char * ); +extern void init_winISteamUnifiedMessages_rtti( char * ); +extern void init_winISteamUser_rtti( char * ); +extern void init_winISteamUserStats_rtti( char * ); +extern void init_winISteamUtils_rtti( char * ); +extern void init_winISteamVideo_rtti( char * ); + +void init_rtti( char *base ) +{ + init_winISteamAppList_rtti( base ); + init_winISteamAppTicket_rtti( base ); + init_winISteamApps_rtti( base ); + init_winISteamClient_rtti( base ); + init_winISteamController_rtti( base ); + init_winISteamFriends_rtti( base ); + init_winISteamGameCoordinator_rtti( base ); + init_winISteamGameSearch_rtti( base ); + init_winISteamGameServer_rtti( base ); + init_winISteamGameServerStats_rtti( base ); + init_winISteamGameStats_rtti( base ); + init_winISteamHTMLSurface_rtti( base ); + init_winISteamHTTP_rtti( base ); + init_winISteamInput_rtti( base ); + init_winISteamInventory_rtti( base ); + init_winISteamMasterServerUpdater_rtti( base ); + init_winISteamMatchmaking_rtti( base ); + init_winISteamMatchmakingServers_rtti( base ); + init_winISteamMusic_rtti( base ); + init_winISteamMusicRemote_rtti( base ); + init_winISteamNetworking_rtti( base ); + init_winISteamNetworkingFakeUDPPort_rtti( base ); + init_winISteamNetworkingMessages_rtti( base ); + init_winISteamNetworkingSockets_rtti( base ); + init_winISteamNetworkingSocketsSerialized_rtti( base ); + init_winISteamNetworkingUtils_rtti( base ); + init_winISteamParentalSettings_rtti( base ); + init_winISteamParties_rtti( base ); + init_winISteamRemotePlay_rtti( base ); + init_winISteamRemoteStorage_rtti( base ); + init_winISteamScreenshots_rtti( base ); + init_winISteamUGC_rtti( base ); + init_winISteamUnifiedMessages_rtti( base ); + init_winISteamUser_rtti( base ); + init_winISteamUserStats_rtti( base ); + init_winISteamUtils_rtti( base ); + init_winISteamVideo_rtti( base ); +} diff --git a/lsteamclient/steamclient_generated.h b/lsteamclient/steamclient_generated.h new file mode 100644 index 000000000..4c138b8d3 --- /dev/null +++ b/lsteamclient/steamclient_generated.h @@ -0,0 +1,197 @@ +/* This file is auto-generated, do not edit. */ + +extern struct w_steam_iface *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION018(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient015(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient016(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient017(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient018(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient019(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamClient_SteamClient020(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamController_SteamController008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends015(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamFriends_SteamFriends017(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameCoordinator_SteamGameCoordinator001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServer_SteamGameServer015(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameServerStats_SteamGameServerStats001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameStats_SteamGameStats001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInput_SteamInput001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInput_SteamInput002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInput_SteamInput005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamInput_SteamInput006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamGameSearch_SteamMatchGameSearch001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworking_SteamNetworking006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamParties_SteamParties002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser010(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser011(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser012(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser013(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser014(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser015(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser016(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser017(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser018(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser019(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser020(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser021(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser022(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUser_SteamUser023(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils002(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils004(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils005(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils006(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils007(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils008(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils009(void *) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamUtils_SteamUtils010(void *) DECLSPEC_HIDDEN; diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index f216345af..883c6e91f 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -3,77 +3,52 @@ #include #include #include -#include #include -#define __USE_GNU -#include - #include "windef.h" #include "winbase.h" #include "winnls.h" #include "winuser.h" #include "winternl.h" -#include "wine/debug.h" -#include "wine/list.h" -#include "steam_defs.h" - -#ifdef __linux__ -#include -#endif #include "steamclient_private.h" -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +CREATE_TYPE_INFO_VTABLE; + +#ifdef __ASM_USE_THISCALL_WRAPPER + +#define DEFINE_VTBL_WRAPPER(off) \ + __ASM_GLOBAL_FUNC(vtbl_wrapper_ ## off, \ + "popl %eax\n\t" \ + "popl %ecx\n\t" \ + "pushl %eax\n\t" \ + "movl 0(%ecx), %eax\n\t" \ + "jmp *" #off "(%eax)\n\t") + +DEFINE_VTBL_WRAPPER(0); +DEFINE_VTBL_WRAPPER(4); +DEFINE_VTBL_WRAPPER(8); +DEFINE_VTBL_WRAPPER(12); +DEFINE_VTBL_WRAPPER(16); +DEFINE_VTBL_WRAPPER(20); +DEFINE_VTBL_WRAPPER(24); +DEFINE_VTBL_WRAPPER(28); +DEFINE_VTBL_WRAPPER(32); +DEFINE_VTBL_WRAPPER(36); +DEFINE_VTBL_WRAPPER(40); +DEFINE_VTBL_WRAPPER(44); +DEFINE_VTBL_WRAPPER(48); +DEFINE_VTBL_WRAPPER(52); +DEFINE_VTBL_WRAPPER(56); + +#endif + char g_tmppath[PATH_MAX]; static CRITICAL_SECTION steamclient_cs = { NULL, -1, 0, 0, 0, 0 }; static HANDLE steam_overlay_event; -static HANDLE callback_thread_handle; - -#define MAX_CALLBACK_QUEUE_SIZE 4 -struct callback_data *callback_queue[MAX_CALLBACK_QUEUE_SIZE]; -static unsigned int callback_queue_size; -static BOOL callback_queue_done; -static UINT64 callback_queue_current_seq_number; -static pthread_mutex_t callback_queue_mutex; -static pthread_cond_t callback_queue_callback_event; -static pthread_cond_t callback_queue_ready_event; -static pthread_cond_t callback_queue_complete_event; - -static void * (WINAPI *p_NtCurrentTeb)(void); - -static void init_ntdll_so_funcs(void) -{ - Dl_info info; - UINT64 unix_funcs; - unsigned int status; - void *ntdll; - - status = NtQueryVirtualMemory(GetCurrentProcess(), GetModuleHandleW(L"ntdll.dll"), (MEMORY_INFORMATION_CLASS)1000 /*MemoryWineUnixFuncs*/, - &unix_funcs, sizeof(unix_funcs), NULL); - if (status) - { - fprintf(stderr, "err:lsteamclient:init_ntdll_so_funcs NtQueryVirtualMemory status %#x.\n", status); - return; - } - if (!dladdr((void *)(ULONG_PTR)unix_funcs, &info)) - { - fprintf(stderr, "err:lsteamclient:init_ntdll_so_funcs dladdr failed.\n"); - return; - } - ntdll = dlopen(info.dli_fname, RTLD_NOW); - if (!ntdll) - { - fprintf(stderr, "err:lsteamclient:init_ntdll_so_funcs could not find ntdll.so.\n"); - return; - } - p_NtCurrentTeb = dlsym(ntdll, "NtCurrentTeb"); - dlclose(ntdll); -} BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) { @@ -84,25 +59,12 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(instance); steam_overlay_event = CreateEventA(NULL, TRUE, FALSE, "__wine_steamclient_GameOverlayActivated"); - init_ntdll_so_funcs(); +#ifdef __x86_64__ + init_type_info_rtti( (char *)instance ); + init_rtti( (char *)instance ); +#endif /* __x86_64__ */ break; case DLL_PROCESS_DETACH: - if (callback_thread_handle) - { - /* Unfortunately we don't have a clear place to shutdown the thread so just kill it. */ - /* An explicit sync events and handle cleanup is to protect from unloading and loading - * .so again which may end up not actually reloading anyting and leaving the values of our static - * variables. */ - TerminateThread(callback_thread_handle, -1); - WaitForSingleObject(callback_thread_handle, INFINITE); - pthread_mutex_destroy(&callback_queue_mutex); - pthread_cond_destroy(&callback_queue_callback_event); - pthread_cond_destroy(&callback_queue_ready_event); - pthread_cond_destroy(&callback_queue_complete_event); - CloseHandle(callback_thread_handle); - callback_thread_handle = NULL; - TRACE("Terminated callback thread.\n"); - } CloseHandle(steam_overlay_event); break; } @@ -110,222 +72,9 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) return TRUE; } -BOOL is_native_thread(void) -{ - if (!p_NtCurrentTeb) - return TRUE; - return !p_NtCurrentTeb(); -} - -void sync_environment(void) -{ - static const char *steamapi_envs[] = - { - "SteamAppId", - "IgnoreChildProcesses", - }; - - char value[32767]; - - for (unsigned int i = 0; i < ARRAY_SIZE(steamapi_envs); i++) - { - if (!GetEnvironmentVariableA(steamapi_envs[i], value, ARRAY_SIZE(value))) - { - if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) - { - TRACE("unsetenv(\"%s\")\n", steamapi_envs[i]); - unsetenv(steamapi_envs[i]); - } - continue; - } - - TRACE("setenv(\"%s\", \"%s\", 1)\n", steamapi_envs[i], value); - setenv(steamapi_envs[i], value, 1); - } -} - -/* Returns: - * - if successful, the number of bytes written to dst, including the NULL terminator; - * - 0 if failed; - * - PATH_MAX if insufficient output buffer (TODO: should be actual required length including NULL terminator). */ -unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32 dst_bytes, int is_url) -{ - static const char file_prot[] = "file://"; - WCHAR *dosW; - uint32 r; - - if (!api_result) - { - if (dst && dst_bytes) - *dst = 0; - return 0; - } - - if (!dst || !dst_bytes) - return PATH_MAX; - - if (!src || !*src) - { - *dst = 0; - return PATH_MAX; - } - - if (is_url) - { - /* convert only file: URLs */ - if (strncmp(src, file_prot, 7)) - { - r = strlen(src) + 1; - if (r > dst_bytes) - *dst = 0; - else - memmove(dst, src, r); - return r; - } - if (dst_bytes < sizeof(file_prot)) - { - *dst = 0; - return PATH_MAX; - } - memmove(dst, src, 7); - src += 7; - dst += 7; - dst_bytes -= 7; - } - - dosW = wine_get_dos_file_name(src); - - if (!dosW) - { - WARN("Unable to convert unix filename to DOS: %s.\n", src); - *dst = 0; - return 0; - } - - r = WideCharToMultiByte(CP_ACP, 0, dosW, -1, dst, dst_bytes, - NULL, NULL); - if (!r) - { - *dst = 0; - if (GetLastError() == ERROR_INSUFFICIENT_BUFFER) - r = PATH_MAX; - } - HeapFree(GetProcessHeap(), 0, dosW); - return r; -} - -#define IS_ABSOLUTE(x) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':')) - -/* returns non-zero on success, zero on failure */ -bool steamclient_dos_path_to_unix_path(const char *src, char *dst, int is_url) -{ - static const char file_prot[] = "file://"; - - *dst = 0; - - if(!src || !*src) - return 0; - - if(is_url){ - if(strncmp(src, file_prot, 7) != 0){ - strcpy(dst, src); - return 1; - } - - src += 7; - memcpy(dst, file_prot, sizeof(file_prot)); - dst += 7; - } - - if(IS_ABSOLUTE(src)){ - /* absolute path, use wine conversion */ - WCHAR srcW[PATH_MAX]; - char *unix_path; - uint32 r; - - r = MultiByteToWideChar(CP_UNIXCP, 0, src, -1, srcW, PATH_MAX); - if(r == 0) - return 0; - - unix_path = wine_get_unix_file_name(srcW); - if(!unix_path){ - WARN("Unable to convert DOS filename to unix: %s\n", src); - return 0; - } - - strncpy(dst, unix_path, PATH_MAX); - - HeapFree(GetProcessHeap(), 0, unix_path); - }else{ - /* relative path, just fix up backslashes */ - const char *s; - char *d; - - for(s = src, d = dst; *s; ++s, ++d){ - if(*s == '\\') - *d = '/'; - else - *d = *s; - } - - *d = 0; - } - - return 1; -} - -const char **steamclient_dos_to_unix_stringlist(const char **src) -{ - size_t len; - const char **s; - char **out, **o; - WCHAR scratch[PATH_MAX]; - - if(!src) - return NULL; - - len = sizeof(char*); /* NUL */ - for(s = src; *s; ++s) - len += sizeof(char*); - - out = HeapAlloc(GetProcessHeap(), 0, len); - - for(s = src, o = out; *s; ++s, ++o){ - if(IS_ABSOLUTE(*s)){ - MultiByteToWideChar(CP_UNIXCP, 0, *s, -1, scratch, sizeof(scratch)/sizeof(*scratch)); - *o = wine_get_unix_file_name(scratch); - }else{ - const char *r; - char *l; - *o = HeapAlloc(GetProcessHeap(), 0, strlen(*s) + 1); - for(r = *s, l = *o; *r; ++l, ++r){ - if(*r == '\\') - *l = '/'; - else - *l = *r; - } - *l = 0; - } - } - - *o = NULL; - - return (const char **)out; -} - -void steamclient_free_stringlist(const char **out) -{ - if(out){ - const char **o; - for(o = out; *o; o++) - HeapFree(GetProcessHeap(), 0, (char *)*o); - HeapFree(GetProcessHeap(), 0, out); - } -} - static BYTE *alloc_start, *alloc_end; -static BOOL allocated_from_steamclient_dll( void *ptr ) +static int8_t allocated_from_steamclient_dll( void *ptr ) { return (BYTE *)ptr >= alloc_start && (BYTE *)ptr < alloc_end; } @@ -380,11 +129,12 @@ static void *get_mem_from_steamclient_dll(size_t size, unsigned int version, voi if (!alloc_base) { + static const WCHAR steamclientW[] = {'s','t','e','a','m','c','l','i','e','n','t','.','d','l','l',0}; const IMAGE_SECTION_HEADER *sec; const IMAGE_NT_HEADERS *nt; HMODULE mod; - if (!(mod = GetModuleHandleW(L"steamclient.dll"))) + if (!(mod = GetModuleHandleW(steamclientW))) { /* That is steamclient64.dll for x64 but no known use cases on x64.*/ WARN("Module not found, err %u.\n", GetLastError()); @@ -494,209 +244,57 @@ void *alloc_vtable(void *vtable, unsigned int method_count, const char *iface_ve return ret; } -#ifdef __linux__ -static const uint32 vk_to_xkeysym[0xFF] = { - 0, /* 0x0 Undefined */ - 0, /* VK_LBUTTON */ - 0, /* VK_RBUTTON */ - XK_Cancel, /* VK_CANCEL */ - 0, /* VK_MBUTTON */ - 0, /* VK_XBUTTON1 */ - 0, /* VK_XBUTTON2 */ - 0, /* 0x07 Undefined */ - XK_BackSpace, /* VK_BACK */ - XK_Tab, /* VK_TAB */ - 0, /* 0x0A-0x0B Undefined */ - 0, - XK_Clear, /* VK_CLEAR */ - XK_Return, /* VK_RETURN */ - 0, /* 0x0E-0x0F Undefined */ - 0, - XK_Shift_L, /* VK_SHIFT */ - XK_Control_L, /* VK_CONTROL */ - XK_Alt_L, /* VK_MENU */ - XK_Pause, /* VK_PAUSE */ - XK_Caps_Lock, /* VK_CAPITAL */ - 0, /* VK_KANA */ - 0, /* 0x16 Undefined */ - 0, /* VK_JUNJA */ - 0, /* VK_FINAL */ - 0, /* VK_HANJA */ - 0, /* 0x1A Undefined */ - XK_Escape, /* VK_ESCAPE */ - XK_Henkan_Mode, /* VK_CONVERT */ - XK_Muhenkan, /* VK_NONCONVERT */ - 0, /* VK_ACCEPT */ - 0, /* VK_MODECHANGE */ - ' ', /* VK_SPACE */ - XK_Prior, /* VK_PRIOR */ - XK_Next, /* VK_NEXT */ - XK_End, /* VK_END */ - XK_Home, /* VK_HOME */ - XK_Left, /* VK_LEFT */ - XK_Up, /* VK_UP */ - XK_Right, /* VK_RIGHT */ - XK_Down, /* VK_DOWN */ - XK_Select, /* VK_SELECT */ - XK_Print, /* VK_PRINT */ - XK_Execute, /* VK_EXECUTE */ - XK_Print, /* VK_SNAPSHOT */ - XK_Insert, /* VK_INSERT */ - XK_Delete, /* VK_DELETE */ - XK_Help, /* VK_HELP */ - - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - 0, 0, 0, 0, 0, 0, 0, /* 0x3A-0x40 Undefined */ - 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', - 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', - 'U', 'V', 'W', 'X', 'Y', 'Z', - - XK_Super_L, /* VK_LWIN */ - XK_Super_R, /* VK_RWIN */ - XK_Menu, /* VK_APPS */ - 0, /* 0x5E Unassigned */ - 0, /* VK_SLEEP */ - XK_KP_0, /* VK_NUMPAD0 */ - XK_KP_1, /* VK_NUMPAD1 */ - XK_KP_2, /* VK_NUMPAD2 */ - XK_KP_3, /* VK_NUMPAD3 */ - XK_KP_4, /* VK_NUMPAD4 */ - XK_KP_5, /* VK_NUMPAD5 */ - XK_KP_6, /* VK_NUMPAD6 */ - XK_KP_7, /* VK_NUMPAD7 */ - XK_KP_8, /* VK_NUMPAD8 */ - XK_KP_9, /* VK_NUMPAD9 */ - XK_KP_Multiply, /* VK_MULTIPLY */ - XK_KP_Add, /* VK_ADD */ - XK_KP_Separator, /* VK_SEPARATOR */ - XK_KP_Subtract, /* VK_SUBTRACT */ - XK_KP_Decimal, /* VK_DECIMAL */ - XK_KP_Divide, /* VK_DIVIDE */ - XK_F1, /* VK_F1 */ - XK_F2, /* VK_F2 */ - XK_F3, /* VK_F3 */ - XK_F4, /* VK_F4 */ - XK_F5, /* VK_F5 */ - XK_F6, /* VK_F6 */ - XK_F7, /* VK_F7 */ - XK_F8, /* VK_F8 */ - XK_F9, /* VK_F9 */ - XK_F10, /* VK_F10 */ - XK_F11, /* VK_F11 */ - XK_F12, /* VK_F12 */ - XK_F13, /* VK_F13 */ - XK_F14, /* VK_F14 */ - XK_F15, /* VK_F15 */ - XK_F16, /* VK_F16 */ - XK_F17, /* VK_F17 */ - XK_F18, /* VK_F18 */ - XK_F19, /* VK_F19 */ - XK_F20, /* VK_F20 */ - XK_F21, /* VK_F21 */ - XK_F22, /* VK_F22 */ - XK_F23, /* VK_F23 */ - XK_F24, /* VK_F24 */ - 0, /* VK_NAVIGATION_VIEW */ - 0, /* VK_NAVIGATION_MENU */ - 0, /* VK_NAVIGATION_UP */ - 0, /* VK_NAVIGATION_DOWN */ - 0, /* VK_NAVIGATION_LEFT */ - 0, /* VK_NAVIGATION_RIGHT */ - 0, /* VK_NAVIGATION_ACCEPT */ - 0, /* VK_NAVIGATION_CANCEL */ - XK_Num_Lock, /* VK_NUMLOCK */ - XK_Scroll_Lock, /* VK_SCROLL */ - XK_KP_Equal, /* VK_OEM_NEC_EQUAL */ - 0, /* VK_OEM_FJ_JISHO */ - 0, /* VK_OEM_FJ_MASSHOU */ - 0, /* VK_OEM_FJ_TOUROKU */ - 0, /* VK_OEM_FJ_LOYA */ - 0, /* VK_OEM_FJ_ROYA */ - 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0x97-0x9F Unassigned */ - XK_Shift_L, /* VK_LSHIFT */ - XK_Shift_R, /* VK_RSHIFT */ - XK_Control_L, /* VK_LCONTROL */ - XK_Control_R, /* VK_RCONTROL */ - XK_Alt_L, /* VK_LMENU */ - XK_Alt_R, /* VK_RMENU */ - - /* below are OEM, browser keys, etc */ -}; - -uint32 manual_convert_nNativeKeyCode(uint32 win_vk) -{ - if(win_vk < sizeof(vk_to_xkeysym) / sizeof(*vk_to_xkeysym)) - return vk_to_xkeysym[win_vk]; - return 0; -} -#else -#error You must implement VK<->Native keysym conversion for this platform. -#endif - -#include "win_constructors.h" - -static const struct { - const char *iface_version; - void *(*ctor)(void *); -} constructors[] = { -#include "win_constructors_table.dat" -}; - struct steamclient_interface { struct list entry; const char *name; - void *linux_side; - void *interface; + void *u_iface; + struct w_steam_iface *w_iface; }; static struct list steamclient_interfaces = LIST_INIT(steamclient_interfaces); -void *create_win_interface(const char *name, void *linux_side) +struct w_steam_iface *create_win_interface(const char *name, void *u_iface) { struct steamclient_interface *e; - void *ret = NULL; - int i; + struct w_steam_iface *ret = NULL; + iface_constructor constructor; TRACE("trying to create %s\n", name); - if (!linux_side) + if (!u_iface) return NULL; EnterCriticalSection(&steamclient_cs); LIST_FOR_EACH_ENTRY(e, &steamclient_interfaces, struct steamclient_interface, entry) { - if (e->linux_side == linux_side && !strcmp(e->name, name)) + if (e->u_iface == u_iface && !strcmp(e->name, name)) { - ret = e->interface; + ret = e->w_iface; TRACE("-> %p\n", ret); goto done; } } - for (i = 0; i < sizeof(constructors) / sizeof(*constructors); ++i) + if ((constructor = find_iface_constructor( name ))) { - if (!strcmp(name, constructors[i].iface_version)) + ret = constructor( u_iface ); + if (allocated_from_steamclient_dll( ret ) || allocated_from_steamclient_dll( ret->vtable )) { - ret = constructors[i].ctor(linux_side); - if (allocated_from_steamclient_dll(ret) - || allocated_from_steamclient_dll(*(void **)ret) /* vtable */) - { - /* Don't cache interfaces allocated from steamclient.dll space. - * steamclient may get reloaded by the app, miss the previous - * data and potentially have different load address. */ - break; - } + /* Don't cache interfaces allocated from steamclient.dll space. + * steamclient may get reloaded by the app, miss the previous + * data and potentially have different load address. */ + goto done; + } - e = HeapAlloc(GetProcessHeap(), 0, sizeof(*e)); - e->name = constructors[i].iface_version; - e->linux_side = linux_side; - e->interface = ret; - list_add_tail(&steamclient_interfaces, &e->entry); + e = HeapAlloc( GetProcessHeap(), 0, sizeof(*e) ); + e->name = strdup( name ); + e->u_iface = u_iface; + e->w_iface = ret; + list_add_tail( &steamclient_interfaces, &e->entry ); - break; - } + goto done; } done: @@ -705,367 +303,218 @@ void *create_win_interface(const char *name, void *linux_side) return ret; } -void execute_callback(struct callback_data *cb_data) +static int load_steamclient(void) { - /* No TRACEs or other Wine calls here, this is executed from Unix native thread - * which is not initialized by Wine. */ - cb_data->complete = FALSE; - pthread_mutex_lock(&callback_queue_mutex); - while (!callback_queue_done && callback_queue_size == MAX_CALLBACK_QUEUE_SIZE) - pthread_cond_wait(&callback_queue_ready_event, &callback_queue_mutex); - if (callback_queue_done) - { - pthread_mutex_unlock(&callback_queue_mutex); - return; - } - callback_queue[callback_queue_size++] = cb_data; - pthread_cond_broadcast(&callback_queue_callback_event); - while (!callback_queue_done && !cb_data->complete) - pthread_cond_wait(&callback_queue_complete_event, &callback_queue_mutex); - pthread_mutex_unlock(&callback_queue_mutex); -} + char steam_app_id[4096], ignore_child_processes[4096]; + struct steamclient_init_params params = {0}; -static BOOL get_next_callback(struct callback_data *cb_data, UINT64 *cookie) -{ - BOOL ret; + if (!GetEnvironmentVariableA("SteamAppId", steam_app_id, ARRAY_SIZE(steam_app_id))) + params.steam_app_id_unset = GetLastError() == ERROR_ENVVAR_NOT_FOUND; + else + params.steam_app_id = steam_app_id; - pthread_mutex_lock(&callback_queue_mutex); - while (!callback_queue_done && !callback_queue_size) - pthread_cond_wait(&callback_queue_callback_event, &callback_queue_mutex); + if (!GetEnvironmentVariableA("IgnoreChildProcesses", ignore_child_processes, ARRAY_SIZE(ignore_child_processes))) + params.ignore_child_processes_unset = GetLastError() == ERROR_ENVVAR_NOT_FOUND; + else + params.ignore_child_processes = ignore_child_processes; - if ((ret = !callback_queue_done)) - { - assert(callback_queue_size); - --callback_queue_size; - *cookie = (UINT64)(ULONG_PTR)callback_queue[callback_queue_size]; - *cb_data = *callback_queue[callback_queue_size]; - } - pthread_cond_broadcast(&callback_queue_ready_event); - pthread_mutex_unlock(&callback_queue_mutex); - return ret; + if (STEAMCLIENT_CALL( steamclient_init, ¶ms )) return 0; + return 1; } -static void callback_complete(UINT64 cookie) +void *CDECL CreateInterface(const char *name, int *return_code) { - struct callback_data *cb_data = (struct callback_data *)(ULONG_PTR)cookie; - - pthread_mutex_lock(&callback_queue_mutex); - cb_data->complete = TRUE; - pthread_cond_broadcast(&callback_queue_complete_event); - pthread_mutex_unlock(&callback_queue_mutex); -} + struct steamclient_CreateInterface_params params = {.name = name, .return_code = return_code}; -static void finish_callback_thread(void) -{ - if (!callback_thread_handle) - return; - pthread_mutex_lock(&callback_queue_mutex); - callback_queue_done = TRUE; - pthread_cond_broadcast(&callback_queue_callback_event); - pthread_cond_broadcast(&callback_queue_complete_event); - pthread_mutex_unlock(&callback_queue_mutex); - - WaitForSingleObject(callback_thread_handle, INFINITE); - CloseHandle(callback_thread_handle); - callback_thread_handle = NULL; + TRACE("name: %s, return_code: %p\n", name, return_code); + if (!load_steamclient()) return NULL; + if (STEAMCLIENT_CALL( steamclient_CreateInterface, ¶ms )) return NULL; + return create_win_interface( name, params._ret ); } -typedef void (WINAPI *win_FSteamNetworkingSocketsDebugOutput)(ESteamNetworkingSocketsDebugOutputType nType, - const char *pszMsg); -typedef void (CDECL *win_SteamAPIWarningMessageHook_t)(int, const char *pszMsg); - -static DWORD WINAPI callback_thread(void *dummy) +static void execute_pending_callbacks(void) { - struct callback_data cb_data; - UINT64 cookie; + struct steamclient_next_callback_params params = {0}; - while (get_next_callback( &cb_data, &cookie)) + while (!STEAMCLIENT_CALL( steamclient_next_callback, ¶ms ) && params._ret) { - switch (cb_data.type) + if (!params.callback || params.size > params.callback->size) + params.callback = realloc( params.callback, params.size ); + else switch (params.callback->type) { - case SOCKET_DEBUG_OUTPUT: - TRACE("SOCKET_DEBUG_OUTPUT func %p, type %u, msg %s.\n", - cb_data.func, cb_data.sockets_debug_output.type, - wine_dbgstr_a(cb_data.sockets_debug_output.msg)); - ((win_FSteamNetworkingSocketsDebugOutput)cb_data.func)(cb_data.sockets_debug_output.type, - cb_data.sockets_debug_output.msg); - callback_complete(cookie); - break; - case STEAM_API_WARNING_HOOK: - TRACE("STEAM_API_WARNING_HOOK func %p, type %u, msg %s.\n", - cb_data.func, cb_data.steam_api_warning_hook.severity, - wine_dbgstr_a(cb_data.steam_api_warning_hook.msg)); - ((win_SteamAPIWarningMessageHook_t)cb_data.func)(cb_data.steam_api_warning_hook.severity, - cb_data.steam_api_warning_hook.msg); - callback_complete(cookie); - break; - case STEAM_API_CALLBACK_ONE_PARAM: - TRACE("STEAM_API_CALLBACK_ONE_PARAM func %p, param %p.\n", - cb_data.func, cb_data.steam_api_callback_one_param.param); - ((void (WINAPI *)(void *))cb_data.func)(cb_data.steam_api_callback_one_param.param); - callback_complete(cookie); - break; - default: - ERR("Unexpected callback type %u.\n", cb_data.type); - break; + case SOCKETS_DEBUG_OUTPUT: + TRACE( "SOCKETS_DEBUG_OUTPUT func %p, type %u, msg %s.\n", params.callback->sockets_debug_output.pfnFunc, + params.callback->sockets_debug_output.type, wine_dbgstr_a( params.callback->sockets_debug_output.msg ) ); + params.callback->sockets_debug_output.pfnFunc( params.callback->sockets_debug_output.type, params.callback->sockets_debug_output.msg ); + break; + case WARNING_MESSAGE_HOOK: + TRACE( "WARNING_MESSAGE_HOOK func %p, severity %d, msg %s.\n", params.callback->warning_message_hook.pFunction, + params.callback->warning_message_hook.severity, wine_dbgstr_a( params.callback->warning_message_hook.msg ) ); + params.callback->warning_message_hook.pFunction( params.callback->warning_message_hook.severity, params.callback->warning_message_hook.msg ); + break; + case CALL_CDECL_FUNC_DATA: + TRACE( "CALL_CDECL_FUNC_DATA func %p, data %p.\n", params.callback->call_cdecl_func_data.pFunc, params.callback->call_cdecl_func_data.data ); + params.callback->call_cdecl_func_data.pFunc( params.callback->call_cdecl_func_data.data ); + break; + case CALL_STDCALL_FUNC_DATA: + TRACE( "CALL_STDCALL_FUNC_DATA func %p, data %p.\n", params.callback->call_stdcall_func_data.pFunc, params.callback->call_stdcall_func_data.data ); + params.callback->call_stdcall_func_data.pFunc( params.callback->call_stdcall_func_data.data ); + break; + case CALL_IFACE_VTABLE_0: + TRACE( "CALL_IFACE_VTABLE_0 iface %p, arg0 %#jx, arg1 %#jx, arg2 %#jx.\n", params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2 ); + CALL_VTBL_FUNC( params.callback->call_iface_vtable.iface, 0, void, (void *, intptr_t, intptr_t, intptr_t), (params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2) ); + break; + case CALL_IFACE_VTABLE_1: + TRACE( "CALL_IFACE_VTABLE_1 iface %p, arg0 %#jx, arg1 %#jx, arg2 %#jx.\n", params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2 ); + CALL_VTBL_FUNC( params.callback->call_iface_vtable.iface, 4, void, (void *, intptr_t, intptr_t, intptr_t), (params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2) ); + break; + case CALL_IFACE_VTABLE_2: + TRACE( "CALL_IFACE_VTABLE_2 iface %p, arg0 %#jx, arg1 %#jx, arg2 %#jx.\n", params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2 ); + CALL_VTBL_FUNC( params.callback->call_iface_vtable.iface, 8, void, (void *, intptr_t, intptr_t, intptr_t), (params.callback->call_iface_vtable.iface, + params.callback->call_iface_vtable.arg0, params.callback->call_iface_vtable.arg1, params.callback->call_iface_vtable.arg2) ); + break; + + case CALL_IFACE_VTABLE_0_ADD_PLAYER_TO_LIST: + TRACE( "CALL_IFACE_VTABLE_0_ADD_PLAYER_TO_LIST iface %p, name %s, score %u, time_played %f.\n", params.callback->add_player_to_list.iface, + params.callback->add_player_to_list.name, params.callback->add_player_to_list.score, params.callback->add_player_to_list.time_played ); + CALL_VTBL_FUNC( params.callback->add_player_to_list.iface, 0, void, (void *, const char *, int32_t, float), (params.callback->add_player_to_list.iface, + params.callback->add_player_to_list.name, params.callback->add_player_to_list.score, params.callback->add_player_to_list.time_played) ); + break; + case CALL_IFACE_VTABLE_0_RULES_RESPONDED: + { + const char *value = params.callback->rules_responded.rule_and_value + strlen( params.callback->rules_responded.rule_and_value ) + 1; + TRACE( "CALL_IFACE_VTABLE_0_RULES_RESPONDED iface %p, rule %s, value %s.\n", params.callback->rules_responded.iface, + params.callback->rules_responded.rule_and_value, value ); + CALL_VTBL_FUNC( params.callback->rules_responded.iface, 0, void, (void *, const char *, const char *), (params.callback->rules_responded.iface, + params.callback->rules_responded.rule_and_value, value) ); + break; + } } } - TRACE("exiting.\n"); - return 0; + + free( params.callback ); } -static void *steamclient_lib; -static void *(*steamclient_CreateInterface)(const char *name, int *return_code); -static bool (*steamclient_BGetCallback)(HSteamPipe a, CallbackMsg_t *b, int32 *c); -static bool (*steamclient_GetAPICallResult)(HSteamPipe, SteamAPICall_t, void *, int, int, bool *); -static bool (*steamclient_FreeLastCallback)(HSteamPipe); -static void (*steamclient_ReleaseThreadLocalMemory)(int); +static void *last_callback_data; -static int load_steamclient(void) +int8_t CDECL Steam_FreeLastCallback( int32_t pipe ) { - char path[PATH_MAX], resolved_path[PATH_MAX]; - DWORD callback_thread_id; - - if(steamclient_lib) - return 1; - - sync_environment(); - -#ifdef __APPLE__ - if(getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH")){ - snprintf(path, PATH_MAX, "%s/steamclient.dylib", getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH")); - }else{ - WARN("Old Steam client, falling back to DYLD environment to locate native steamclient library\n"); - strcpy(path, "steamclient.dylib"); - } -#else -#ifdef _WIN64 - snprintf(path, PATH_MAX, "%s/.steam/sdk64/steamclient.so", getenv("HOME")); -#else - snprintf(path, PATH_MAX, "%s/.steam/sdk32/steamclient.so", getenv("HOME")); -#endif - if (realpath(path, resolved_path)){ - strncpy(path, resolved_path, PATH_MAX); - path[PATH_MAX - 1] = 0; - } -#endif - steamclient_lib = dlopen(path, RTLD_NOW); - if(!steamclient_lib){ - ERR("unable to load native steamclient library\n"); - return 0; - } - - steamclient_CreateInterface = dlsym(steamclient_lib, "CreateInterface"); - if(!steamclient_CreateInterface){ - ERR("unable to load CreateInterface method\n"); - return 0; - } - - steamclient_BGetCallback = dlsym(steamclient_lib, "Steam_BGetCallback"); - if(!steamclient_BGetCallback){ - ERR("unable to load BGetCallback method\n"); - return 0; - } - - steamclient_GetAPICallResult = dlsym(steamclient_lib, "Steam_GetAPICallResult"); - if(!steamclient_GetAPICallResult){ - ERR("unable to load GetAPICallResult method\n"); - return 0; - } - - steamclient_FreeLastCallback = dlsym(steamclient_lib, "Steam_FreeLastCallback"); - if(!steamclient_FreeLastCallback){ - ERR("unable to load FreeLastCallback method\n"); - return 0; - } - - steamclient_ReleaseThreadLocalMemory = dlsym(steamclient_lib, "Steam_ReleaseThreadLocalMemory"); - if(!steamclient_ReleaseThreadLocalMemory){ - ERR("unable to load ReleaseThreadLocalMemory method\n"); - return 0; - } - - pthread_mutex_init(&callback_queue_mutex, NULL); - pthread_cond_init(&callback_queue_callback_event, NULL); - pthread_cond_init(&callback_queue_ready_event, NULL); - pthread_cond_init(&callback_queue_complete_event, NULL); - - callback_thread_handle = CreateThread(NULL, 0, callback_thread, NULL, 0, &callback_thread_id); - TRACE("Created callback thread 0x%04x.\n", callback_thread_id); - - return 1; -} + struct steamclient_Steam_FreeLastCallback_params params = {.pipe = pipe}; + TRACE( "%u\n", pipe ); -void *CDECL CreateInterface(const char *name, int *return_code) -{ - TRACE("name: %s, return_code: %p\n", name, return_code); + if (!load_steamclient()) return 0; - if(!load_steamclient()) - return NULL; + HeapFree( GetProcessHeap(), 0, last_callback_data ); + last_callback_data = NULL; - return create_win_interface(name, steamclient_CreateInterface(name, return_code)); + STEAMCLIENT_CALL( steamclient_Steam_FreeLastCallback, ¶ms ); + return params._ret; } -#include "cb_converters.h" - -#pragma pack( push, 8 ) -struct winCallbackMsg_t +int8_t CDECL Steam_BGetCallback( int32_t pipe, w_CallbackMsg_t *win_msg, int32_t *ignored ) { - HSteamUser m_hSteamUser; - int m_iCallback; - uint8 *m_pubParam; - int m_cubParam; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) - -static void *last_cb = NULL; - -bool CDECL Steam_BGetCallback(HSteamPipe pipe, struct winCallbackMsg_t *win_msg, int32 *ignored) -{ - bool ret; - CallbackMsg_t lin_msg; + u_CallbackMsg_t u_msg; + struct steamclient_Steam_BGetCallback_params params = + { + .pipe = pipe, + .w_msg = win_msg, + .ignored = ignored, + .u_msg = &u_msg, + }; + struct steamclient_callback_message_receive_params receive_params = + { + .u_msg = &u_msg, + .w_msg = win_msg, + }; TRACE("%u, %p, %p\n", pipe, win_msg, ignored); - if(!load_steamclient()) - return 0; + if (!load_steamclient()) return 0; + + execute_pending_callbacks(); next_event: - ret = steamclient_BGetCallback(pipe, &lin_msg, ignored); + STEAMCLIENT_CALL( steamclient_Steam_BGetCallback, ¶ms ); + if (!params._ret) return FALSE; - if(ret){ - BOOL need_free = TRUE; - win_msg->m_hSteamUser = lin_msg.m_hSteamUser; - win_msg->m_iCallback = lin_msg.m_iCallback; + if (!(win_msg->m_pubParam = HeapAlloc( GetProcessHeap(), 0, win_msg->m_cubParam ))) return FALSE; + last_callback_data = win_msg->m_pubParam; + STEAMCLIENT_CALL( steamclient_callback_message_receive, &receive_params ); - if (win_msg->m_iCallback == 0x14b) /* GameOverlayActivated_t::k_iCallback */ + if (win_msg->m_iCallback == 0x14b) /* GameOverlayActivated_t::k_iCallback */ + { + uint8_t activated = *(uint8_t *)win_msg->m_pubParam; + FIXME( "HACK: Steam overlay %sactivated, %sabling all input events.\n", + activated ? "" : "de", activated ? "dis" : "en" ); + if (activated) { - uint8 activated = *(uint8 *)lin_msg.m_pubParam; - FIXME("HACK: Steam overlay %sactivated, %sabling all input events.\n", activated ? "" : "de", activated ? "dis" : "en"); - if (activated) - { - SetEvent(steam_overlay_event); - keybd_event(VK_LSHIFT, 0x2a /* lshift scancode */, KEYEVENTF_KEYUP, 0); - keybd_event(VK_RSHIFT, 0x36 /* rshift scancode */, KEYEVENTF_KEYUP, 0); - keybd_event(VK_TAB, 0x0f /* tab scancode */, KEYEVENTF_KEYUP, 0); - } - else + SetEvent( steam_overlay_event ); + keybd_event( VK_LSHIFT, 0x2a /* lshift scancode */, KEYEVENTF_KEYUP, 0 ); + keybd_event( VK_RSHIFT, 0x36 /* rshift scancode */, KEYEVENTF_KEYUP, 0 ); + keybd_event( VK_TAB, 0x0f /* tab scancode */, KEYEVENTF_KEYUP, 0 ); + } + else + { + if (WaitForSingleObject( steam_overlay_event, 0 ) == WAIT_TIMEOUT) { - if (WaitForSingleObject(steam_overlay_event, 0) == WAIT_TIMEOUT) - { - FIXME("Spurious steam overlay deactivate event, skipping.\n"); - steamclient_FreeLastCallback(pipe); - goto next_event; - } - ResetEvent(steam_overlay_event); + FIXME( "Spurious steam overlay deactivate event, skipping.\n" ); + Steam_FreeLastCallback( pipe ); + goto next_event; } + ResetEvent( steam_overlay_event ); } - - switch(win_msg->m_iCallback | (lin_msg.m_cubParam << 16)){ -#include "cb_converters.dat" - default: - /* structs are compatible */ - need_free = FALSE; - win_msg->m_cubParam = lin_msg.m_cubParam; - win_msg->m_pubParam = lin_msg.m_pubParam; - break; - } - if(need_free) - last_cb = win_msg->m_pubParam; - } - - return ret; -} - -static int get_callback_len(int cb) -{ - switch(cb){ -#include "cb_getapi_sizes.dat" - } - return 0; -} - -bool do_cb_wrap(HSteamPipe pipe, void *linux_side, - bool (*cpp_func)(void *, SteamAPICall_t, void *, int, int, bool *), - SteamAPICall_t call, void *callback, int callback_len, int cb_expected, bool *failed) -{ - void *lin_callback = NULL; - int lin_callback_len; - bool ret; - - lin_callback_len = get_callback_len(cb_expected); - if(!lin_callback_len){ - /* structs are compatible, pass on through */ - if(!cpp_func){ - if(!load_steamclient()) - return 0; - return steamclient_GetAPICallResult(pipe, call, callback, callback_len, cb_expected, failed); - } - return cpp_func(linux_side, call, callback, callback_len, cb_expected, failed); } - /* structs require conversion */ - lin_callback = HeapAlloc(GetProcessHeap(), 0, lin_callback_len); - - if(!cpp_func){ - if(!load_steamclient()) - return 0; - ret = steamclient_GetAPICallResult(pipe, call, lin_callback, lin_callback_len, cb_expected, failed); - }else - ret = cpp_func(linux_side, call, lin_callback, lin_callback_len, cb_expected, failed); - - if(ret){ - switch(cb_expected){ -#include "cb_getapi_table.dat" - } - } - - HeapFree(GetProcessHeap(), 0, lin_callback); - - return ret; -} - -bool CDECL Steam_GetAPICallResult(HSteamPipe pipe, SteamAPICall_t call, - void *callback, int callback_len, int cb_expected, bool *failed) -{ - TRACE("%u, x, %p, %u, %u, %p\n", pipe, callback, callback_len, cb_expected, failed); - return do_cb_wrap(pipe, NULL, NULL, call, callback, callback_len, cb_expected, failed); + execute_pending_callbacks(); + return params._ret; } -bool CDECL Steam_FreeLastCallback(HSteamPipe pipe) +int8_t CDECL Steam_GetAPICallResult( int32_t pipe, uint64_t call, void *w_callback, + int w_callback_len, int id, int8_t *failed ) { - TRACE("%u\n", pipe); - - if(!load_steamclient()) - return 0; + struct steamclient_Steam_GetAPICallResult_params params = + { + .pipe = pipe, + .call = call, + .w_callback = w_callback, + .w_callback_len = w_callback_len, + .id = id, + .failed = failed, + }; - HeapFree(GetProcessHeap(), 0, last_cb); - last_cb = NULL; + TRACE( "%u, x, %p, %u, %u, %p\n", pipe, w_callback, w_callback_len, id, failed ); - return steamclient_FreeLastCallback(pipe); + if (!load_steamclient()) return FALSE; + STEAMCLIENT_CALL( steamclient_Steam_GetAPICallResult, ¶ms ); + return params._ret; } void CDECL Steam_ReleaseThreadLocalMemory(int bThreadExit) { + struct steamclient_Steam_ReleaseThreadLocalMemory_params params = {.thread_exit = bThreadExit}; TRACE("%d\n", bThreadExit); - if(!load_steamclient()) - return; + if (!load_steamclient()) return; - steamclient_ReleaseThreadLocalMemory(bThreadExit); + STEAMCLIENT_CALL( steamclient_Steam_ReleaseThreadLocalMemory, ¶ms ); } -void CDECL Breakpad_SteamMiniDumpInit(uint32_t a, const char *b, const char *c) +void CDECL Breakpad_SteamMiniDumpInit( uint32_t a, const char *b, const char *c ) { TRACE("\n"); } -void CDECL Breakpad_SteamSetAppID(uint32_t appid) +void CDECL Breakpad_SteamSetAppID( uint32_t appid ) { TRACE("\n"); } -int CDECL Breakpad_SteamSetSteamID(uint64_t steamid) +int CDECL Breakpad_SteamSetSteamID( uint64_t steamid ) { TRACE("\n"); return 1; @@ -1082,31 +531,19 @@ void CDECL Breakpad_SteamWriteMiniDumpUsingExceptionInfoWithBuildId(int a, int b TRACE("\n"); } -bool after_shutdown(bool ret) +int8_t CDECL Steam_IsKnownInterface( const char *pchVersion ) { - TRACE("ret %d.\n", ret); - - if (!ret) - return 0; - finish_callback_thread(); - return ret; + struct steamclient_Steam_IsKnownInterface_params params = {.version = pchVersion}; + TRACE("%s\n", pchVersion); + load_steamclient(); + STEAMCLIENT_CALL( steamclient_Steam_IsKnownInterface, ¶ms ); + return params._ret; } -HSteamPipe after_steam_pipe_create(HSteamPipe pipe) +void CDECL Steam_NotifyMissingInterface( int32_t hSteamPipe, const char *pchVersion ) { - DWORD callback_thread_id; - - TRACE("pipe %#x.\n", pipe); - - if (!pipe) - return 0; - - if (callback_thread_handle) - return pipe; - - callback_queue_done = FALSE; - callback_thread_handle = CreateThread(NULL, 0, callback_thread, NULL, 0, &callback_thread_id); - TRACE("Created callback thread 0x%04x.\n", callback_thread_id); - - return pipe; + struct steamclient_Steam_NotifyMissingInterface_params params = {.pipe = hSteamPipe, .version = pchVersion}; + TRACE("%u %s\n", hSteamPipe, pchVersion); + load_steamclient(); + STEAMCLIENT_CALL( steamclient_Steam_NotifyMissingInterface, ¶ms ); } diff --git a/lsteamclient/steamclient_manual_099y.cpp b/lsteamclient/steamclient_manual_099y.cpp deleted file mode 100644 index 153e3b2bb..000000000 --- a/lsteamclient/steamclient_manual_099y.cpp +++ /dev/null @@ -1,46 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_099y/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -#define SDK_VERSION 992 -#include "steamclient_manual_common.h" - -class ISteamUser_linux -{ -public: - virtual HSteamUser GetHSteamUser() = 0; - virtual bool BLoggedOn() = 0; - virtual CSteamID GetSteamID() = 0; - - /* CGameID -> CGameID &. - * Windows side follows the prototype in the header while Linux - * steamclient treats gameID parameter as pointer. */ - virtual int InitiateGameConnection( void *pBlob, int cbMaxBlob, CSteamID steamID, CGameID &gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void *pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey ) = 0; - - virtual void TerminateGameConnection( uint32 unIPServer, uint16 usPortServer ) = 0; - virtual void TrackAppUsageEvent( CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo = "" ) = 0; - virtual void RefreshSteam2Login() = 0; -}; - -extern "C" { - int cppISteamUser_SteamUser008_InitiateGameConnection(void *linux_side, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, - bool bSecure, void * pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) - { - WARN("Manual call fixup.\n"); - return ((ISteamUser_linux *)linux_side)->InitiateGameConnection(pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, - bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); - } -} diff --git a/lsteamclient/steamclient_manual_141.cpp b/lsteamclient/steamclient_manual_141.cpp deleted file mode 100644 index 91fbe8d1a..000000000 --- a/lsteamclient/steamclient_manual_141.cpp +++ /dev/null @@ -1,30 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_141/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -#define SDK_VERSION 1410 -#include "steamclient_manual_common.h" - -extern "C" { - -const char * cppISteamController_SteamController005_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_142.cpp b/lsteamclient/steamclient_manual_142.cpp deleted file mode 100644 index 0488f2c53..000000000 --- a/lsteamclient/steamclient_manual_142.cpp +++ /dev/null @@ -1,30 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_142/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -#define SDK_VERSION 1420 -#include "steamclient_manual_common.h" - -extern "C" { - -const char * cppISteamController_SteamController006_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_144.cpp b/lsteamclient/steamclient_manual_144.cpp deleted file mode 100644 index b06cc2faa..000000000 --- a/lsteamclient/steamclient_manual_144.cpp +++ /dev/null @@ -1,47 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/isteamnetworkingsockets.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_144 -#include "struct_converters.h" - -#define SDK_VERSION 1440 -#include "steamclient_manual_common.h" - -int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_144 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -} diff --git a/lsteamclient/steamclient_manual_146.cpp b/lsteamclient/steamclient_manual_146.cpp deleted file mode 100644 index 466498d74..000000000 --- a/lsteamclient/steamclient_manual_146.cpp +++ /dev/null @@ -1,48 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/isteamnetworkingsockets.h" -#include "steamworks_sdk_146/isteamnetworkingutils.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_146 -#include "struct_converters.h" - -#define SDK_VERSION 1460 -#include "steamclient_manual_common.h" - -int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_146 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -} diff --git a/lsteamclient/steamclient_manual_147.cpp b/lsteamclient/steamclient_manual_147.cpp deleted file mode 100644 index 91c3dd002..000000000 --- a/lsteamclient/steamclient_manual_147.cpp +++ /dev/null @@ -1,77 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_147/steam_api.h" -#include "steamworks_sdk_147/isteamnetworkingsockets.h" -#include "steamworks_sdk_147/isteamnetworkingutils.h" -#include "steamworks_sdk_147/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_147 -#include "struct_converters.h" - -#define SDK_VERSION 1470 -#include "steamclient_manual_common.h" - -int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( - void *linux_side, HSteamListenSocket hSocket, - winSteamNetworkingMessage_t_147 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnListenSocket(hSocket, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -void cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_147 **pMessages, - int64 *pOutMessageNumberOrResult) -{ -#define MAX_SEND_MESSAGES 64 - /* use the stack to avoid heap allocation */ - struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; - int i; - - if (nMessages > MAX_SEND_MESSAGES) - { - /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); - } - - while(nMessages) - { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); - - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); - - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; - } -} - -} diff --git a/lsteamclient/steamclient_manual_148a.cpp b/lsteamclient/steamclient_manual_148a.cpp deleted file mode 100644 index fca410a5d..000000000 --- a/lsteamclient/steamclient_manual_148a.cpp +++ /dev/null @@ -1,85 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_148a/steam_api.h" -#include "steamworks_sdk_148a/isteamnetworkingsockets.h" -#include "steamworks_sdk_148a/isteamnetworkingutils.h" -#include "steamworks_sdk_148a/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_148a -#include "struct_converters.h" - -#define SDK_VERSION 1481 -#include "steamclient_manual_common.h" - -int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_148a **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_148a **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -void cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_148a **pMessages, - int64 *pOutMessageNumberOrResult) -{ -#define MAX_SEND_MESSAGES 64 - /* use the stack to avoid heap allocation */ - struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; - int i; - - if (nMessages > MAX_SEND_MESSAGES) - { - /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); - } - - while(nMessages) - { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); - - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); - - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; - } -} - -SteamNetworkingMessage_t *cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( - void *linux_side, int cbAllocateBuffer) -{ - SteamNetworkingMessage_t *retval = ((ISteamNetworkingUtils*)linux_side)->AllocateMessage(cbAllocateBuffer); - - return (SteamNetworkingMessage_t *)network_message_lin_to_win(retval); -} - -} diff --git a/lsteamclient/steamclient_manual_150.cpp b/lsteamclient/steamclient_manual_150.cpp deleted file mode 100644 index f3b834774..000000000 --- a/lsteamclient/steamclient_manual_150.cpp +++ /dev/null @@ -1,214 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_150/steam_api.h" -#include "steamworks_sdk_150/isteamnetworkingsockets.h" -#include "steamworks_sdk_150/isteamnetworkingutils.h" -#include "steamworks_sdk_150/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_150 -#include "struct_converters.h" -#include "cb_converters.h" - -#define SDK_VERSION 1500 -#include "steamclient_manual_common.h" - -int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_150 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_150 **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -void cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_150 **pMessages, - int64 *pOutMessageNumberOrResult) -{ -#define MAX_SEND_MESSAGES 64 - /* use the stack to avoid heap allocation */ - struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; - int i; - - if (nMessages > MAX_SEND_MESSAGES) - { - /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); - } - - while(nMessages) - { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); - - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); - - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; - } -} - -int cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( - void *linux_side, int nLocalChannel, - winSteamNetworkingMessage_t_150 ** ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingMessages*)linux_side)->ReceiveMessagesOnChannel(nLocalChannel, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_584 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) - -typedef void (*CDECL win_FnSteamNetConnectionStatusChanged)(winSteamNetConnectionStatusChangedCallback_t_584 *); -static win_FnSteamNetConnectionStatusChanged win_SteamNetConnectionStatusChanged; - -static void lin_SteamNetConnectionStatusChanged(SteamNetConnectionStatusChangedCallback_t *l_dat) -{ - win_FnSteamNetConnectionStatusChanged fn = win_SteamNetConnectionStatusChanged; - if(fn){ - struct winSteamNetConnectionStatusChangedCallback_t_584 w_dat; - cb_SteamNetConnectionStatusChangedCallback_t_584(l_dat, &w_dat); - fn(&w_dat); - } -} - -typedef void (*CDECL win_FnSteamNetAuthenticationStatusChanged)(SteamNetAuthenticationStatus_t *); -win_FnSteamNetAuthenticationStatusChanged win_SteamNetAuthenticationStatusChanged; - -void lin_SteamNetAuthenticationStatusChanged(SteamNetAuthenticationStatus_t *dat) -{ - win_FnSteamNetAuthenticationStatusChanged fn = win_SteamNetAuthenticationStatusChanged; - if(fn) - fn(dat); -} - -typedef void (*CDECL win_FnSteamRelayNetworkStatusChanged)(SteamRelayNetworkStatus_t *); -win_FnSteamRelayNetworkStatusChanged win_SteamRelayNetworkStatusChanged; - -void lin_SteamRelayNetworkStatusChanged(SteamRelayNetworkStatus_t *dat) -{ - win_FnSteamRelayNetworkStatusChanged fn = win_SteamRelayNetworkStatusChanged; - if(fn) - fn(dat); -} - -typedef void (*CDECL win_FnSteamNetworkingMessagesSessionRequest)(SteamNetworkingMessagesSessionRequest_t *); -win_FnSteamNetworkingMessagesSessionRequest win_SteamNetworkingMessagesSessionRequest; - -void lin_SteamNetworkingMessagesSessionRequest(SteamNetworkingMessagesSessionRequest_t *dat) -{ - win_FnSteamNetworkingMessagesSessionRequest fn = win_SteamNetworkingMessagesSessionRequest; - if(fn) - fn(dat); -} - -typedef void (*CDECL win_FnSteamNetworkingMessagesSessionFailed)(SteamNetworkingMessagesSessionFailed_t *); -win_FnSteamNetworkingMessagesSessionFailed win_SteamNetworkingMessagesSessionFailed; - -void lin_SteamNetworkingMessagesSessionFailed(SteamNetworkingMessagesSessionFailed_t *dat) -{ - win_FnSteamNetworkingMessagesSessionFailed fn = win_SteamNetworkingMessagesSessionFailed; - if(fn) - fn(dat); -} - -bool cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(void *linux_side, - ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, - intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) -{ - bool ret; - void *lin_fn; /* api requires passing pointer-to-pointer */ - - switch(eValue){ - -#define CASE(x, y) \ - case k_ESteamNetworkingConfig_Callback_##x: \ - if(!pArg){ \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, NULL); \ - }else{ \ - if(*(void **)pArg == NULL) \ - lin_fn = NULL; \ - else \ - lin_fn = (void *)&lin_##y; \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, &lin_fn); \ - if(ret) \ - win_##y = *(win_Fn##y*)pArg; \ - } \ - return ret; - - CASE(ConnectionStatusChanged, SteamNetConnectionStatusChanged) - CASE(AuthStatusChanged, SteamNetAuthenticationStatusChanged) - CASE(RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged) - CASE(MessagesSessionRequest, SteamNetworkingMessagesSessionRequest) - CASE(MessagesSessionFailed, SteamNetworkingMessagesSessionFailed) - -#undef CASE - - default: - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); - } -} - -const char * cppISteamInput_SteamInput001_GetGlyphForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); -} - -const char * cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -const char * cppISteamController_SteamController007_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - -const char * cppISteamController_SteamController007_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_151.cpp b/lsteamclient/steamclient_manual_151.cpp deleted file mode 100644 index ccdb82f6f..000000000 --- a/lsteamclient/steamclient_manual_151.cpp +++ /dev/null @@ -1,40 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_151/steam_api.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_151 -#include "struct_converters.h" -#include "cb_converters.h" - -#define SDK_VERSION 1510 -#include "steamclient_manual_common.h" - -const char * cppISteamInput_SteamInput002_GetGlyphForActionOrigin(void *linux_side, EInputActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); -} - -const char * cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_152.cpp b/lsteamclient/steamclient_manual_152.cpp deleted file mode 100644 index 7e4751129..000000000 --- a/lsteamclient/steamclient_manual_152.cpp +++ /dev/null @@ -1,182 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/isteaminput.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -#include - -extern "C" { -#define SDKVER_152 -#include "struct_converters.h" -#include "cb_converters.h" - -#define SDK_VERSION 1520 -#include "steamclient_manual_common.h" - -/***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ -win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; - -void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat) -{ - win_SteamInputActionEventCallbackPointer fn = win_EnableActionEventCallbacks; - if(fn) - fn(dat); -} - -void cppISteamInput_SteamInput005_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback) -{ - win_EnableActionEventCallbacks = pCallback; - ((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL); -} - -/***** convert and cache ISteamInput glyph paths *****/ -static const size_t ESteamInputGlyphSize_count = 3; -static std::unordered_map cached_input_glyphs; -static std::unordered_map cached_input_glyphs_xbox; -static std::unordered_map > cached_input_glyphs_svg; -static std::unordered_map > cached_input_glyphs_png[ESteamInputGlyphSize_count]; - -const char *steamclient_isteaminput_getglyph_png(int origin, int size, int flags, const char *lin_path) -{ - if(!lin_path) - return NULL; - - if(size >= ESteamInputGlyphSize_count){ - ERR("invalid glyph size: %u\n", size); - return NULL; - } - - if(cached_input_glyphs_png[size][flags].find(origin) == cached_input_glyphs_png[size][flags].end()){ - char *dos_path = (char *)HeapAlloc(GetProcessHeap(), 0, PATH_MAX); - - steamclient_unix_path_to_dos_path(1, lin_path, dos_path, PATH_MAX, 0); - - cached_input_glyphs_png[size][flags][origin] = dos_path; - } - - return cached_input_glyphs_png[size][flags][origin]; -} - -const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path) -{ - if(!lin_path) - return NULL; - - if(cached_input_glyphs_svg[flags].find(origin) == cached_input_glyphs_svg[flags].end()){ - char *dos_path = (char *)HeapAlloc(GetProcessHeap(), 0, PATH_MAX); - - steamclient_unix_path_to_dos_path(1, lin_path, dos_path, PATH_MAX, 0); - - cached_input_glyphs_svg[flags][origin] = dos_path; - } - - return cached_input_glyphs_svg[flags][origin]; -} - -const char *steamclient_isteaminput_getglyph(int origin, const char *lin_path) -{ - if(!lin_path) - return NULL; - - if(cached_input_glyphs.find(origin) == cached_input_glyphs.end()){ - char *dos_path = (char *)HeapAlloc(GetProcessHeap(), 0, PATH_MAX); - - steamclient_unix_path_to_dos_path(1, lin_path, dos_path, PATH_MAX, 0); - - cached_input_glyphs[origin] = dos_path; - } - - return cached_input_glyphs[origin]; -} - -const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_path) -{ - if(!lin_path) - return NULL; - - if(cached_input_glyphs_xbox.find(origin) == cached_input_glyphs_xbox.end()){ - char *dos_path = (char *)HeapAlloc(GetProcessHeap(), 0, PATH_MAX); - - steamclient_unix_path_to_dos_path(1, lin_path, dos_path, PATH_MAX, 0); - - cached_input_glyphs_xbox[origin] = dos_path; - } - - return cached_input_glyphs_xbox[origin]; -} - -const char * cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphPNGForActionOrigin((EInputActionOrigin)eOrigin, eSize, unFlags); - return steamclient_isteaminput_getglyph_png(eOrigin, eSize, unFlags, path_result); -} - -const char * cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, uint32 unFlags) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphSVGForActionOrigin((EInputActionOrigin)eOrigin, unFlags); - return steamclient_isteaminput_getglyph_svg(eOrigin, unFlags, path_result); -} - -const char * cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(void *linux_side, EInputActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin_Legacy((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); -} - -const char * cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -/***** convert and cache ISteamController glyph paths *****/ -static std::unordered_map cached_controller_glyphs; - -const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_path) -{ - if(!lin_path) - return NULL; - - if(cached_controller_glyphs.find(origin) == cached_controller_glyphs.end()){ - char *dos_path = (char *)HeapAlloc(GetProcessHeap(), 0, PATH_MAX); - - steamclient_unix_path_to_dos_path(1, lin_path, dos_path, PATH_MAX, 0); - - cached_controller_glyphs[origin] = dos_path; - } - - return cached_controller_glyphs[origin]; -} - -const char * cppISteamController_SteamController008_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin); - return steamclient_isteamcontroller_getglyph(eOrigin, path_result); -} - -const char * cppISteamController_SteamController008_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamController*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_153a.cpp b/lsteamclient/steamclient_manual_153a.cpp deleted file mode 100644 index de8aa5e32..000000000 --- a/lsteamclient/steamclient_manual_153a.cpp +++ /dev/null @@ -1,231 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_153a/steam_api.h" -#include "steamworks_sdk_153a/isteamnetworkingsockets.h" -#include "steamworks_sdk_153a/isteamnetworkingutils.h" -#include "steamworks_sdk_153a/steamnetworkingtypes.h" -#include "steamworks_sdk_153a/steamnetworkingfakeip.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_153a -#include "struct_converters.h" -#include "cb_converters.h" -#include "win_constructors.h" - -#define SDK_VERSION 1531 -#include "steamclient_manual_common.h" - -/***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ -extern win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; - -void cppISteamInput_SteamInput006_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback) -{ - win_EnableActionEventCallbacks = pCallback; - ((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL); -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( - void *linux_side, HSteamNetConnection hConn, - winSteamNetworkingMessage_t_153a **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnConnection(hConn, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -int cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( - void *linux_side, HSteamNetPollGroup hPollGroup, - winSteamNetworkingMessage_t_153a **ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingSockets*)linux_side)->ReceiveMessagesOnPollGroup(hPollGroup, lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( - void *linux_side, int nMessages, winSteamNetworkingMessage_t_153a **pMessages, - int64 *pOutMessageNumberOrResult) -{ -#define MAX_SEND_MESSAGES 64 - /* use the stack to avoid heap allocation */ - struct SteamNetworkingMessage_t *lin_msgs[MAX_SEND_MESSAGES]; - int i; - - if (nMessages > MAX_SEND_MESSAGES) - { - /* if we ever hit this, increase MAX_SEND_MESSAGES appropriately */ - FIXME("Trying to send %u messages, which is more than %u! Will break up into pieces.\n", nMessages, MAX_SEND_MESSAGES); - } - - while(nMessages) - { - for(i = 0; i < nMessages && i < MAX_SEND_MESSAGES; ++i) - lin_msgs[i] = (SteamNetworkingMessage_t *)network_message_win_to_lin(pMessages[i]); - - ((ISteamNetworkingSockets*)linux_side)->SendMessages(i, lin_msgs, pOutMessageNumberOrResult); - - nMessages -= i; - pMessages += i; - if(pOutMessageNumberOrResult) - pOutMessageNumberOrResult += i; - } -} - -/* from winISteamNetworkingFakeUDPPort.c */ -typedef struct __winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 { - void *vtable; - void *linux_side; -} winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001; - -void *cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(void *linux_side, int idxFakeServerPort) -{ - ISteamNetworkingFakeUDPPort *lin_iface = ((ISteamNetworkingSockets*)linux_side)->CreateFakeUDPPort(idxFakeServerPort); - if(!lin_iface) - return NULL; - return create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(lin_iface); -} - -int cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(void *linux_side, winSteamNetworkingMessage_t_153a ** ppOutMessages, int nMaxMessages) -{ - SteamNetworkingMessage_t *lin_ppOutMessages[nMaxMessages]; - int retval = ((ISteamNetworkingFakeUDPPort*)linux_side)->ReceiveMessages(lin_ppOutMessages, nMaxMessages); - lin_to_win_struct_SteamNetworkingMessage_t(retval, lin_ppOutMessages, ppOutMessages, nMaxMessages); - return retval; -} - -void cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(void *linux_side) -{ - winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *win_side = - (winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *) - (char *)linux_side - offsetof(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, linux_side); - ((ISteamNetworkingFakeUDPPort*)linux_side)->DestroyFakeUDPPort(); - HeapFree(GetProcessHeap(), 0, win_side); -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_712 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) - -typedef void (*CDECL win_FnSteamNetConnectionStatusChanged)(winSteamNetConnectionStatusChangedCallback_t_712 *); -static win_FnSteamNetConnectionStatusChanged win_SteamNetConnectionStatusChanged; - -static void lin_SteamNetConnectionStatusChanged(SteamNetConnectionStatusChangedCallback_t *l_dat) -{ - win_FnSteamNetConnectionStatusChanged fn = win_SteamNetConnectionStatusChanged; - if(fn){ - struct winSteamNetConnectionStatusChangedCallback_t_712 w_dat; - cb_SteamNetConnectionStatusChangedCallback_t_712(l_dat, &w_dat); - fn(&w_dat); - } -} - -typedef void (*CDECL win_FnSteamNetAuthenticationStatusChanged)(SteamNetAuthenticationStatus_t *); -extern win_FnSteamNetAuthenticationStatusChanged win_SteamNetAuthenticationStatusChanged; - -typedef void (*CDECL win_FnSteamRelayNetworkStatusChanged)(SteamRelayNetworkStatus_t *); -extern win_FnSteamRelayNetworkStatusChanged win_SteamRelayNetworkStatusChanged; - -typedef void (*CDECL win_FnSteamNetworkingMessagesSessionRequest)(SteamNetworkingMessagesSessionRequest_t *); -extern win_FnSteamNetworkingMessagesSessionRequest win_SteamNetworkingMessagesSessionRequest; - -typedef void (*CDECL win_FnSteamNetworkingMessagesSessionFailed)(SteamNetworkingMessagesSessionFailed_t *); -extern win_FnSteamNetworkingMessagesSessionFailed win_SteamNetworkingMessagesSessionFailed; - -extern void lin_SteamNetworkingMessagesSessionRequest(SteamNetworkingMessagesSessionRequest_t *dat); -extern void lin_SteamNetworkingMessagesSessionFailed(SteamNetworkingMessagesSessionFailed_t *dat); -extern void lin_SteamRelayNetworkStatusChanged(SteamRelayNetworkStatus_t *dat); -extern void lin_SteamNetAuthenticationStatusChanged(SteamNetAuthenticationStatus_t *dat); - -bool cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(void *linux_side, - ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, - intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void *pArg) -{ - bool ret; - void *lin_fn; /* api requires passing pointer-to-pointer */ - - switch(eValue){ - -#define CASE(x, y) \ - case k_ESteamNetworkingConfig_Callback_##x: \ - if(!pArg){ \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, NULL); \ - }else{ \ - if(*(void **)pArg == NULL) \ - lin_fn = NULL; \ - else \ - lin_fn = (void *)&lin_##y; \ - ret = ((ISteamNetworkingUtils*)linux_side)->SetConfigValue(eValue, eScopeType, scopeObj, eDataType, &lin_fn); \ - if(ret) \ - win_##y = *(win_Fn##y*)pArg; \ - } \ - return ret; - - CASE(ConnectionStatusChanged, SteamNetConnectionStatusChanged) - CASE(AuthStatusChanged, SteamNetAuthenticationStatusChanged) - CASE(RelayNetworkStatusChanged, SteamRelayNetworkStatusChanged) - CASE(MessagesSessionRequest, SteamNetworkingMessagesSessionRequest) - CASE(MessagesSessionFailed, SteamNetworkingMessagesSessionFailed) - -#undef CASE - - default: - return ((ISteamNetworkingUtils*)linux_side)->SetConfigValue((ESteamNetworkingConfigValue)eValue, (ESteamNetworkingConfigScope)eScopeType, (intptr_t)scopeObj, (ESteamNetworkingConfigDataType)eDataType, (const void *)pArg); - } -} - -SteamNetworkingMessage_t *cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( - void *linux_side, int cbAllocateBuffer) -{ - SteamNetworkingMessage_t *retval = ((ISteamNetworkingUtils*)linux_side)->AllocateMessage(cbAllocateBuffer); - - return (SteamNetworkingMessage_t *)network_message_lin_to_win(retval); -} - -const char * cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphPNGForActionOrigin((EInputActionOrigin)eOrigin, eSize, unFlags); - return steamclient_isteaminput_getglyph_png(eOrigin, eSize, unFlags, path_result); -} - -const char * cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(void *linux_side, EInputActionOrigin eOrigin, uint32 unFlags) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphSVGForActionOrigin((EInputActionOrigin)eOrigin, unFlags); - return steamclient_isteaminput_getglyph_svg(eOrigin, unFlags, path_result); -} - -const char * cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(void *linux_side, EInputActionOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForActionOrigin_Legacy((EInputActionOrigin)eOrigin); - return steamclient_isteaminput_getglyph(eOrigin, path_result); -} - -const char * cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(void *linux_side, EXboxOrigin eOrigin) -{ - const char *path_result; - path_result = ((ISteamInput*)linux_side)->GetGlyphForXboxOrigin((EXboxOrigin)eOrigin); - return steamclient_isteaminput_getglyph_xbox(eOrigin, path_result); -} - -} diff --git a/lsteamclient/steamclient_manual_common.cpp b/lsteamclient/steamclient_manual_common.cpp deleted file mode 100644 index fddcb09db..000000000 --- a/lsteamclient/steamclient_manual_common.cpp +++ /dev/null @@ -1,219 +0,0 @@ -extern "C" { -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/list.h" -#include "wine/debug.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -} - -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#include "steamworks_sdk_153a/steam_api.h" -#include "steamworks_sdk_153a/steamnetworkingtypes.h" - -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" - -extern "C" { -#define SDKVER_153a -#include "struct_converters.h" -#include "cb_converters.h" -#include "win_constructors.h" - -#define SDK_VERSION 1531 -#include "steamclient_manual_common.h" - -#include - -struct msg_wrapper { - struct winSteamNetworkingMessage_t_153a win_msg; - struct SteamNetworkingMessage_t *lin_msg; - - struct list mapping_entry; - void (*orig_FreeData)(SteamNetworkingMessage_t *); - void (*orig_Release)(SteamNetworkingMessage_t *); -}; - -/***** manual struct converter for SteamNetworkingMessage_t *****/ - -static struct list msg_lin_to_win_mapping = LIST_INIT(msg_lin_to_win_mapping); -static pthread_mutex_t msg_lin_to_win_mapping_mutex = PTHREAD_MUTEX_INITIALIZER; - -static struct msg_wrapper *msg_wrapper_from_lin(struct SteamNetworkingMessage_t *lin_msg) -{ - struct msg_wrapper *msg = NULL, *m; - - pthread_mutex_lock(&msg_lin_to_win_mapping_mutex); - LIST_FOR_EACH_ENTRY(m, &msg_lin_to_win_mapping, struct msg_wrapper, mapping_entry) - { - if (m->lin_msg == lin_msg) - { - msg = m; - break; - } - } - pthread_mutex_unlock(&msg_lin_to_win_mapping_mutex); - if (!msg) - fprintf(stderr, "err:lsteamclient:msg_wrapper_from_lin Mapping for %p not found.\n", lin_msg); - return msg; -} - -static void __attribute__((ms_abi)) win_FreeData(struct winSteamNetworkingMessage_t_153a *win_msg) -{ - struct msg_wrapper *msg = CONTAINING_RECORD(win_msg, struct msg_wrapper, win_msg); - TRACE("%p\n", msg); - if(msg->orig_FreeData) - { - msg->lin_msg->m_pData = msg->win_msg.m_pData; - msg->orig_FreeData(msg->lin_msg); - } -} - -static void __attribute__((ms_abi)) win_Release(struct winSteamNetworkingMessage_t_153a *win_msg) -{ - struct msg_wrapper *msg = CONTAINING_RECORD(win_msg, struct msg_wrapper, win_msg); - - TRACE("%p\n", msg); - if (msg->orig_Release) - msg->orig_Release(msg->lin_msg); - pthread_mutex_lock(&msg_lin_to_win_mapping_mutex); - list_remove(&msg->mapping_entry); - pthread_mutex_unlock(&msg_lin_to_win_mapping_mutex); - SecureZeroMemory(msg, sizeof(*msg)); - HeapFree(GetProcessHeap(), 0, msg); -} - -static void lin_FreeData(struct SteamNetworkingMessage_t *lin_msg) -{ - struct msg_wrapper *msg = msg_wrapper_from_lin(lin_msg); - struct callback_data cb_data; - - if (!msg) - return; - - if (!msg->win_msg.m_pfnFreeData) - return; - - if (!is_native_thread()) - { - TRACE("msg %p, callback %p.\n", msg, msg->win_msg.m_pfnFreeData); - ((void (__attribute__((ms_abi))*)(struct winSteamNetworkingMessage_t_153a *))msg->win_msg.m_pfnFreeData)(&msg->win_msg); - return; - } - - cb_data.type = STEAM_API_CALLBACK_ONE_PARAM; - cb_data.func = (void *)msg->win_msg.m_pfnFreeData; - cb_data.steam_api_callback_one_param.param = (void *)&msg->win_msg; - execute_callback(&cb_data); -} - -static void lin_Release(struct SteamNetworkingMessage_t *lin_msg) -{ - struct msg_wrapper *msg = msg_wrapper_from_lin(lin_msg); - struct callback_data cb_data; - - if (!msg) - return; - - if (!msg->win_msg.m_pfnRelease) - return; - - if (!is_native_thread()) - { - TRACE("msg %p, callback %p.\n", msg, msg->win_msg.m_pfnFreeData); - ((void (__attribute__((ms_abi))*)(struct winSteamNetworkingMessage_t_153a *))msg->win_msg.m_pfnRelease)(&msg->win_msg); - return; - } - - cb_data.type = STEAM_API_CALLBACK_ONE_PARAM; - cb_data.func = (void *)msg->win_msg.m_pfnRelease; - cb_data.steam_api_callback_one_param.param = (void *)&msg->win_msg; - execute_callback(&cb_data); -} - -void *network_message_lin_to_win_(void *msg_, unsigned int version) -{ - struct SteamNetworkingMessage_t *lin_msg = (struct SteamNetworkingMessage_t *)msg_; - struct msg_wrapper *msg; - - msg = (struct msg_wrapper *)HeapAlloc(GetProcessHeap(), 0, sizeof(*msg)); - - TRACE("lin_msg %p, msg %p, m_cbSize %d.\n", lin_msg, msg, lin_msg->m_cbSize); - - msg->lin_msg = lin_msg; - - msg->win_msg.m_pData = msg->lin_msg->m_pData; - msg->win_msg.m_cbSize = msg->lin_msg->m_cbSize; - msg->win_msg.m_conn = msg->lin_msg->m_conn; - msg->win_msg.m_identityPeer = msg->lin_msg->m_identityPeer; - msg->win_msg.m_nConnUserData = msg->lin_msg->m_nConnUserData; - msg->win_msg.m_usecTimeReceived= msg->lin_msg->m_usecTimeReceived; - msg->win_msg.m_nMessageNumber = msg->lin_msg->m_nMessageNumber; - msg->win_msg.m_pfnFreeData = (void*)win_FreeData; - msg->win_msg.m_pfnRelease = (void*)win_Release; - msg->win_msg.m_nChannel = msg->lin_msg->m_nChannel; - if (version >= 1470) - { - msg->win_msg.m_nFlags = msg->lin_msg->m_nFlags; - msg->win_msg.m_nUserData = msg->lin_msg->m_nUserData; - } - if (version >= 1530) - msg->win_msg.m_idxLane = msg->lin_msg->m_idxLane; - - msg->orig_FreeData = msg->lin_msg->m_pfnFreeData; - msg->lin_msg->m_pfnFreeData = lin_FreeData; - msg->orig_Release = msg->lin_msg->m_pfnRelease; - msg->lin_msg->m_pfnRelease = lin_Release; - - pthread_mutex_lock(&msg_lin_to_win_mapping_mutex); - list_add_head(&msg_lin_to_win_mapping, &msg->mapping_entry); - pthread_mutex_unlock(&msg_lin_to_win_mapping_mutex); - - return &msg->win_msg; -} - -void lin_to_win_struct_SteamNetworkingMessage_t_(int n_messages, void **l, void **w, int max_messages, int version) -{ - int i; - - if(n_messages > 0) - TRACE("%u %p %p\n", n_messages, l, w); - - for(i = 0; i < n_messages; ++i) - w[i] = network_message_lin_to_win_(l[i], version); - - for(; i < max_messages; ++i) - w[i] = NULL; -} - -void *network_message_win_to_lin_(void *win_msg, unsigned int version) -{ - struct msg_wrapper *msg = CONTAINING_RECORD(win_msg, struct msg_wrapper, win_msg); - SteamNetworkingMessage_t *lin_msg = msg->lin_msg; - - TRACE("msg %p, lin_msg %p.\n", msg, lin_msg); - - lin_msg->m_pData = msg->win_msg.m_pData; - lin_msg->m_cbSize = msg->win_msg.m_cbSize; - lin_msg->m_conn = msg->win_msg.m_conn; - lin_msg->m_identityPeer = msg->win_msg.m_identityPeer; - lin_msg->m_nConnUserData = msg->win_msg.m_nConnUserData; - lin_msg->m_usecTimeReceived= msg->win_msg.m_usecTimeReceived; - lin_msg->m_nMessageNumber = msg->win_msg.m_nMessageNumber; - lin_msg->m_nChannel = msg->win_msg.m_nChannel; - if (version >= 1470) - { - lin_msg->m_nFlags = msg->win_msg.m_nFlags; - lin_msg->m_nUserData = msg->win_msg.m_nUserData; - } - if (version >= 1530) - lin_msg->m_idxLane = msg->win_msg.m_idxLane; - - return lin_msg; -} - -} /* extern "C" { */ diff --git a/lsteamclient/steamclient_manual_common.h b/lsteamclient/steamclient_manual_common.h deleted file mode 100644 index 7305163e5..000000000 --- a/lsteamclient/steamclient_manual_common.h +++ /dev/null @@ -1,19 +0,0 @@ - -#ifndef SDK_VERSION -#error "SDK_VERSION is not defined" -#endif - -/* Once new steamclient_manual_...cpp is added structures in steamclient_manual_common.cpp - * (currently SteamNetworkingMessage_t) must be checked for the compatibility with the new version. */ -C_ASSERT(SDK_VERSION <= 1531); - -/* Returns Windows version of SteamNetworkingMessage_t */ -#define network_message_lin_to_win(m) network_message_lin_to_win_(m, SDK_VERSION) -void *network_message_lin_to_win_(void *lin_msg, unsigned int version); - -/* Returns Linux version of SteamNetworkingMessage_t */ -#define network_message_win_to_lin(m) network_message_win_to_lin_(m, SDK_VERSION) -void *network_message_win_to_lin_(void *win_msg, unsigned int version); - -#define lin_to_win_struct_SteamNetworkingMessage_t(a, b, c, d) lin_to_win_struct_SteamNetworkingMessage_t_(a, (void **)(b), (void **)(c), d, SDK_VERSION) -void lin_to_win_struct_SteamNetworkingMessage_t_(int n_messages, void **l, void **w, int max_messages, int version); diff --git a/lsteamclient/steamclient_private.h b/lsteamclient/steamclient_private.h index 20de77302..ec2bda722 100644 --- a/lsteamclient/steamclient_private.h +++ b/lsteamclient/steamclient_private.h @@ -1,120 +1,62 @@ /* TODO these should be generated */ +#ifndef __STEAMCLIENT_PRIVATE_H +#define __STEAMCLIENT_PRIVATE_H + +#include +#include +#include + +#include +#include + +#include "steamclient_structs.h" +#include "unixlib.h" + +#include "wine/debug.h" +#include "wine/list.h" + +#ifndef __cplusplus +#include "cxx.h" +#else +typedef void (*vtable_ptr)(void); +#endif #ifdef __cplusplus extern "C" { #endif -#include "windef.h" - -typedef struct __winISteamClient winISteamClient; -typedef struct __winISteamUser winISteamUser; -typedef struct __winISteamGameServer winISteamGameServer; -typedef struct __winISteamFriends winISteamFriends; -typedef struct __winISteamUtils winISteamUtils; -typedef struct __winISteamMatchmaking winISteamMatchmaking; -typedef struct __winISteamMatchmakingServers winISteamMatchmakingServers; -typedef struct __winISteamUserStats winISteamUserStats; -typedef struct __winISteamGameServerStats winISteamGameServerStats; -typedef struct __winISteamApps winISteamApps; -typedef struct __winISteamNetworking winISteamNetworking; -typedef struct __winISteamRemoteStorage winISteamRemoteStorage; -typedef struct __winISteamRemoteScreenshots winISteamRemoteScreenshots; -typedef struct __winISteamScreenshots winISteamScreenshots; -typedef struct __winISteamHTTP winISteamHTTP; -typedef struct __winISteamUnifiedMessages winISteamUnifiedMessages; -typedef struct __winISteamController winISteamController; -typedef struct __winISteamUGC winISteamUGC; -typedef struct __winISteamAppList winISteamAppList; -typedef struct __winISteamMusic winISteamMusic; -typedef struct __winISteamMusicRemote winISteamMusicRemote; -typedef struct __winISteamHTMLSurface winISteamHTMLSurface; -typedef struct __winISteamInventory winISteamInventory; -typedef struct __winISteamVideo winISteamVideo; -typedef struct __winISteamMasterServerUpdater winISteamMasterServerUpdater; -typedef struct __winISteamContentServer winISteamContentServer; -typedef struct __winISteamParentalSettings winISteamParentalSettings; -typedef struct __winISteamGameSearch winISteamGameSearch; -typedef struct __winISteamInput winISteamInput; -typedef struct __winISteamParties winISteamParties; -typedef struct __winISteamRemotePlay winISteamRemotePlay; -typedef struct __winISteamNetworkingFakeUDPPort winISteamNetworkingFakeUDPPort; -typedef struct __winX winX; +#define W_CDECL __cdecl +#define W_STDCALL __stdcall +#define U_CDECL __attribute__((sysv_abi)) +#define U_STDCALL __attribute__((sysv_abi)) + +struct w_steam_iface +{ + vtable_ptr *vtable; + void *u_iface; +}; + +typedef struct w_steam_iface *(*iface_constructor)( void * ); +extern iface_constructor find_iface_constructor( const char *iface_version ) DECLSPEC_HIDDEN; +extern struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( void * ) DECLSPEC_HIDDEN; struct SteamInputActionEvent_t; -typedef void (*CDECL win_SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); -void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat); - -void *create_win_interface(const char *name, void *linux_side); -unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32 dst_bytes, int is_url); -bool steamclient_dos_path_to_unix_path(const char *src, char *dst, int is_url); -const char **steamclient_dos_to_unix_stringlist(const char **src); -void steamclient_free_stringlist(const char **out); -const char *steamclient_isteamcontroller_getglyph(int origin, const char *lin_path); -const char *steamclient_isteaminput_getglyph(int origin, const char *lin_path); -const char *steamclient_isteaminput_getglyph_xbox(int origin, const char *lin_path); -const char *steamclient_isteaminput_getglyph_png(int origin, int size, int flags, const char *lin_path); -const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path); -uint32 manual_convert_nNativeKeyCode(uint32 win_vk); -void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version); -void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version); -void *create_LinuxISteamMatchmakingPlayersResponse(void *win, const char *version); -void *create_LinuxISteamMatchmakingRulesResponse(void *win, const char *version); -void *manual_convert_SteamAPIWarningMessageHook_t(void *win_func); -void *manual_convert_FSteamNetworkingSocketsDebugOutput(void *win_func); -void *manual_convert_SteamAPI_CheckCallbackRegistered_t(void *win_func); - -extern char g_tmppath[PATH_MAX]; - -typedef uint64 SteamAPICall_t; //for ancient SDKs -bool do_cb_wrap(HSteamPipe pipe, void *linux_side, bool (*cpp_func)(void *, SteamAPICall_t, void *, int, int, bool *), SteamAPICall_t call, void *callback, int callback_len, int cb_expected, bool *failed); +typedef void (*CDECL win_SteamInputActionEventCallbackPointer)( struct SteamInputActionEvent_t * ); +void lin_SteamInputActionEventCallbackPointer( struct SteamInputActionEvent_t *dat ); +struct w_steam_iface *create_win_interface(const char *name, void *linux_side); void *alloc_mem_for_iface(size_t size, const char *iface_version); void *alloc_vtable(void *vtable, unsigned int method_count, const char *iface_version); -enum callback_type -{ - SOCKET_DEBUG_OUTPUT = 1, - STEAM_API_WARNING_HOOK, - STEAM_API_CALLBACK_ONE_PARAM, -}; +extern void start_callback_thread(void) DECLSPEC_HIDDEN; +extern void stop_callback_thread(void) DECLSPEC_HIDDEN; -struct callback_data -{ - enum callback_type type; - void *func; - int complete; - union - { - struct - { - unsigned int type; - const char *msg; - } - sockets_debug_output; - struct - { - int severity; - const char *msg; - } - steam_api_warning_hook; - struct - { - void *param; - } - steam_api_callback_one_param; - }; -}; +void init_rtti( char *base ); -void execute_callback(struct callback_data *cb_data); -BOOL is_native_thread(void); -bool after_shutdown(bool); -HSteamPipe after_steam_pipe_create(HSteamPipe pipe); +#include "steamclient_generated.h" #ifdef __cplusplus } #endif -#define TRACE WINE_TRACE -#define ERR WINE_ERR -#define WARN WINE_WARN -#define FIXME WINE_FIXME +#endif /* __STEAMCLIENT_PRIVATE_H */ diff --git a/lsteamclient/steamclient_structs.h b/lsteamclient/steamclient_structs.h new file mode 100644 index 000000000..0e57b6688 --- /dev/null +++ b/lsteamclient/steamclient_structs.h @@ -0,0 +1,71 @@ +#ifndef __STEAMCLIENT_STRUCTS_H +#define __STEAMCLIENT_STRUCTS_H + +#include +#include +#include + +#include +#include + +#ifdef __cplusplus +#include +extern "C" +{ +#endif /* __cplusplus */ + +#ifdef __cplusplus +#define U64_ARRAY( type, count, name ) std::array name +#define U32_ARRAY( type, count, name ) std::array name +#define W64_ARRAY( type, count, name ) std::array name +#define W32_ARRAY( type, count, name ) std::array name +#else +#define U64_ARRAY( type, count, name ) type name[count] +#define U32_ARRAY( type, count, name ) type name[count] +#define W64_ARRAY( type, count, name ) type name[count] +#define W32_ARRAY( type, count, name ) type name[count] +#endif + +#define W_CDECL __cdecl +#define W_STDCALL __stdcall +#define U_CDECL __attribute__((sysv_abi)) +#define U_STDCALL __attribute__((sysv_abi)) + +#ifdef __i386__ +#define U64_PTR( decl, name ) uint64_t name +#define U32_PTR( decl, name ) decl +#define W64_PTR( decl, name ) uint64_t name +#define W32_PTR( decl, name ) decl +#define U_PTR U32_PTR +#define W_PTR W32_PTR +#endif + +#ifdef __x86_64__ +#define U64_PTR( decl, name ) decl +#define U32_PTR( decl, name ) uint32_t name +#define W64_PTR( decl, name ) decl +#define W32_PTR( decl, name ) uint32_t name +#define U_PTR U64_PTR +#define W_PTR W64_PTR +#endif + +typedef struct { uint8_t _[8]; } CSteamID; +typedef struct { uint8_t _[8]; } CGameID; +typedef struct { uint8_t _[20]; } SteamIPAddress_t; +typedef struct { uint8_t _[120]; } ScePadTriggerEffectParam; +typedef char *SteamNetworkingErrMsg; + +typedef struct SteamDatagramRelayAuthTicket SteamDatagramRelayAuthTicket; +typedef struct SteamDatagramHostedAddress SteamDatagramHostedAddress; +typedef struct SteamDatagramGameCoordinatorServerLogin SteamDatagramGameCoordinatorServerLogin; + +#include "steamclient_structs_generated.h" + +#define PATH_MAX 4096 +extern char g_tmppath[PATH_MAX]; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#endif /* __STEAMCLIENT_STRUCTS_H */ diff --git a/lsteamclient/steamclient_structs_generated.h b/lsteamclient/steamclient_structs_generated.h new file mode 100644 index 000000000..07fec1f3a --- /dev/null +++ b/lsteamclient/steamclient_structs_generated.h @@ -0,0 +1,10656 @@ +typedef struct SteamNetworkingIPAddr SteamNetworkingIPAddr; +#pragma pack( push, 1 ) +struct SteamNetworkingIPAddr +{ + struct { uint8_t _[16]; } data; + uint16_t m_port; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingIdentity_144 SteamNetworkingIdentity_144; +#pragma pack( push, 1 ) +struct SteamNetworkingIdentity_144 +{ + uint32_t m_eType; + int32_t m_cbSize; + struct { uint8_t _[128]; } data; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingIdentity_151 SteamNetworkingIdentity_151; +#pragma pack( push, 1 ) +struct SteamNetworkingIdentity_151 +{ + uint32_t m_eType; + int32_t m_cbSize; +}; +#pragma pack( pop ) + +typedef struct SteamNetConnectionInfo_t_153a SteamNetConnectionInfo_t_153a; +#pragma pack( push, 8 ) +struct SteamNetConnectionInfo_t_153a +{ + SteamNetworkingIdentity_144 m_identityRemote; + int64_t m_nUserData; + uint32_t m_hListenSocket; + SteamNetworkingIPAddr m_addrRemote; + uint16_t m__pad1; + uint32_t m_idPOPRemote; + uint32_t m_idPOPRelay; + uint32_t m_eState; + int32_t m_eEndReason; + char (m_szEndDebug)[128]; + char (m_szConnectionDescription)[128]; + int32_t m_nFlags; + uint32_t (reserved)[63]; +}; +#pragma pack( pop ) + +typedef struct SteamNetConnectionInfo_t_144 SteamNetConnectionInfo_t_144; +#pragma pack( push, 8 ) +struct SteamNetConnectionInfo_t_144 +{ + SteamNetworkingIdentity_144 m_identityRemote; + int64_t m_nUserData; + uint32_t m_hListenSocket; + SteamNetworkingIPAddr m_addrRemote; + uint16_t m__pad1; + uint32_t m_idPOPRemote; + uint32_t m_idPOPRelay; + uint32_t m_eState; + int32_t m_eEndReason; + char (m_szEndDebug)[128]; + char (m_szConnectionDescription)[128]; + uint32_t (reserved)[64]; +}; +#pragma pack( pop ) + +typedef struct SteamNetConnectionInfo_t_151 SteamNetConnectionInfo_t_151; +#pragma pack( push, 8 ) +struct SteamNetConnectionInfo_t_151 +{ + SteamNetworkingIdentity_151 m_identityRemote; + int64_t m_nUserData; + uint32_t m_hListenSocket; + SteamNetworkingIPAddr m_addrRemote; + uint16_t m__pad1; + uint32_t m_idPOPRemote; + uint32_t m_idPOPRelay; + uint32_t m_eState; + int32_t m_eEndReason; + char (m_szEndDebug)[128]; + char (m_szConnectionDescription)[128]; + uint32_t (reserved)[64]; +}; +#pragma pack( pop ) + +typedef struct servernetadr_t servernetadr_t; +#pragma pack( push, 4 ) +struct servernetadr_t +{ + uint16_t m_usConnectionPort; + uint16_t m_usQueryPort; + uint32_t m_unIP; +}; +#pragma pack( pop ) + +typedef struct ActiveBeaconsUpdated_t ActiveBeaconsUpdated_t; +#pragma pack( push, 1 ) +struct ActiveBeaconsUpdated_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct AppDataChanged_t AppDataChanged_t; +#pragma pack( push, 4 ) +struct AppDataChanged_t +{ + uint32_t m_nAppID; + int8_t m_bBySteamUI; + int8_t m_bCDDBUpdate; + uint8_t __pad_6[2]; +}; +#pragma pack( pop ) + +typedef struct AppProofOfPurchaseKeyResponse_t_137 AppProofOfPurchaseKeyResponse_t_137; +#pragma pack( push, 4 ) +struct AppProofOfPurchaseKeyResponse_t_137 +{ + uint32_t m_eResult; + uint32_t m_nAppID; + uint32_t m_cchKeyLength; + char (m_rgchKey)[240]; +}; +#pragma pack( pop ) + +typedef struct AppProofOfPurchaseKeyResponse_t_118 AppProofOfPurchaseKeyResponse_t_118; +#pragma pack( push, 4 ) +struct AppProofOfPurchaseKeyResponse_t_118 +{ + uint32_t m_eResult; + uint32_t m_nAppID; + char (m_rgchKey)[64]; +}; +#pragma pack( pop ) + +typedef struct AppResumingFromSuspend_t AppResumingFromSuspend_t; +#pragma pack( push, 1 ) +struct AppResumingFromSuspend_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct AssociateWithClanResult_t AssociateWithClanResult_t; +#pragma pack( push, 4 ) +struct AssociateWithClanResult_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct AvailableBeaconLocationsUpdated_t AvailableBeaconLocationsUpdated_t; +#pragma pack( push, 1 ) +struct AvailableBeaconLocationsUpdated_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct AvatarImageLoaded_t AvatarImageLoaded_t; +#pragma pack( push, 4 ) +struct AvatarImageLoaded_t +{ + CSteamID m_steamID; + int32_t m_iImage; + int32_t m_iWide; + int32_t m_iTall; +}; +#pragma pack( pop ) + +typedef struct BroadcastUploadStart_t BroadcastUploadStart_t; +#pragma pack( push, 1 ) +struct BroadcastUploadStart_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct BroadcastUploadStop_t BroadcastUploadStop_t; +#pragma pack( push, 4 ) +struct BroadcastUploadStop_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct CallbackPipeFailure_t CallbackPipeFailure_t; +#pragma pack( push, 1 ) +struct CallbackPipeFailure_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct ChangeNumOpenSlotsCallback_t ChangeNumOpenSlotsCallback_t; +#pragma pack( push, 4 ) +struct ChangeNumOpenSlotsCallback_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct CheckFileSignature_t CheckFileSignature_t; +#pragma pack( push, 4 ) +struct CheckFileSignature_t +{ + uint32_t m_eCheckFileSignature; +}; +#pragma pack( pop ) + +typedef struct ClanOfficerListResponse_t ClanOfficerListResponse_t; +#pragma pack( push, 4 ) +struct ClanOfficerListResponse_t +{ + CSteamID m_steamIDClan; + int32_t m_cOfficers; + uint8_t m_bSuccess; + uint8_t __pad_13[3]; +}; +#pragma pack( pop ) + +typedef struct ClientGameServerDeny_t ClientGameServerDeny_t; +#pragma pack( push, 4 ) +struct ClientGameServerDeny_t +{ + uint32_t m_uAppID; + uint32_t m_unGameServerIP; + uint16_t m_usGameServerPort; + uint16_t m_bSecure; + uint32_t m_uReason; +}; +#pragma pack( pop ) + +typedef struct ComputeNewPlayerCompatibilityResult_t_119 ComputeNewPlayerCompatibilityResult_t_119; +#pragma pack( push, 4 ) +struct ComputeNewPlayerCompatibilityResult_t_119 +{ + uint32_t m_eResult; + int32_t m_cPlayersThatDontLikeCandidate; + int32_t m_cPlayersThatCandidateDoesntLike; + int32_t m_cClanPlayersThatDontLikeCandidate; + CSteamID m_SteamIDCandidate; +}; +#pragma pack( pop ) + +typedef struct ComputeNewPlayerCompatibilityResult_t_116x ComputeNewPlayerCompatibilityResult_t_116x; +#pragma pack( push, 4 ) +struct ComputeNewPlayerCompatibilityResult_t_116x +{ + uint32_t m_eResult; + int32_t m_cPlayersThatDontLikeCandidate; + int32_t m_cPlayersThatCandidateDoesntLike; + int32_t m_cClanPlayersThatDontLikeCandidate; +}; +#pragma pack( pop ) + +typedef struct ControllerAnalogActionData_t ControllerAnalogActionData_t; +#pragma pack( push, 1 ) +struct ControllerAnalogActionData_t +{ + uint32_t eMode; + float x; + float y; + int8_t bActive; +}; +#pragma pack( pop ) + +typedef struct ControllerDigitalActionData_t ControllerDigitalActionData_t; +#pragma pack( push, 1 ) +struct ControllerDigitalActionData_t +{ + int8_t bState; + int8_t bActive; +}; +#pragma pack( pop ) + +typedef struct ControllerMotionData_t ControllerMotionData_t; +#pragma pack( push, 1 ) +struct ControllerMotionData_t +{ + float rotQuatX; + float rotQuatY; + float rotQuatZ; + float rotQuatW; + float posAccelX; + float posAccelY; + float posAccelZ; + float rotVelX; + float rotVelY; + float rotVelZ; +}; +#pragma pack( pop ) + +typedef struct DlcInstalled_t DlcInstalled_t; +#pragma pack( push, 4 ) +struct DlcInstalled_t +{ + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct DownloadClanActivityCountsResult_t DownloadClanActivityCountsResult_t; +#pragma pack( push, 1 ) +struct DownloadClanActivityCountsResult_t +{ + int8_t m_bSuccess; +}; +#pragma pack( pop ) + +typedef struct DurationControl_t_147 DurationControl_t_147; +#pragma pack( push, 4 ) +struct DurationControl_t_147 +{ + uint32_t m_eResult; + uint32_t m_appid; + int8_t m_bApplicable; + uint8_t __pad_9[3]; + int32_t m_csecsLast5h; + uint32_t m_progress; + uint32_t m_notification; + int32_t m_csecsToday; + int32_t m_csecsRemaining; +}; +#pragma pack( pop ) + +typedef struct DurationControl_t_145 DurationControl_t_145; +#pragma pack( push, 4 ) +struct DurationControl_t_145 +{ + uint32_t m_eResult; + uint32_t m_appid; + int8_t m_bApplicable; + uint8_t __pad_9[3]; + int32_t m_csecsLast5h; + uint32_t m_progress; + uint32_t m_notification; +}; +#pragma pack( pop ) + +typedef struct EncryptedAppTicketResponse_t EncryptedAppTicketResponse_t; +#pragma pack( push, 4 ) +struct EncryptedAppTicketResponse_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct EquippedProfileItemsChanged_t EquippedProfileItemsChanged_t; +#pragma pack( push, 1 ) +struct EquippedProfileItemsChanged_t +{ + CSteamID m_steamID; +}; +#pragma pack( pop ) + +typedef struct EquippedProfileItems_t EquippedProfileItems_t; +#pragma pack( push, 4 ) +struct EquippedProfileItems_t +{ + uint32_t m_eResult; + CSteamID m_steamID; + int8_t m_bHasAnimatedAvatar; + int8_t m_bHasAvatarFrame; + int8_t m_bHasProfileModifier; + int8_t m_bHasProfileBackground; + int8_t m_bHasMiniProfileBackground; + uint8_t __pad_17[3]; +}; +#pragma pack( pop ) + +typedef struct FavoritesListAccountsUpdated_t FavoritesListAccountsUpdated_t; +#pragma pack( push, 4 ) +struct FavoritesListAccountsUpdated_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct FavoritesListChanged_t_128x FavoritesListChanged_t_128x; +#pragma pack( push, 4 ) +struct FavoritesListChanged_t_128x +{ + uint32_t m_nIP; + uint32_t m_nQueryPort; + uint32_t m_nConnPort; + uint32_t m_nAppID; + uint32_t m_nFlags; + int8_t m_bAdd; + uint8_t __pad_21[3]; + uint32_t m_unAccountId; +}; +#pragma pack( pop ) + +typedef struct FavoritesListChanged_t_099u FavoritesListChanged_t_099u; +#pragma pack( push, 4 ) +struct FavoritesListChanged_t_099u +{ + uint32_t m_nIP; + uint32_t m_nQueryPort; + uint32_t m_nConnPort; + uint32_t m_nAppID; + uint32_t m_nFlags; + int8_t m_bAdd; + uint8_t __pad_21[3]; +}; +#pragma pack( pop ) + +typedef struct FilterTextDictionaryChanged_t FilterTextDictionaryChanged_t; +#pragma pack( push, 4 ) +struct FilterTextDictionaryChanged_t +{ + int32_t m_eLanguage; +}; +#pragma pack( pop ) + +typedef struct FloatingGamepadTextInputDismissed_t FloatingGamepadTextInputDismissed_t; +#pragma pack( push, 1 ) +struct FloatingGamepadTextInputDismissed_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct FriendGameInfo_t FriendGameInfo_t; +#pragma pack( push, 4 ) +struct FriendGameInfo_t +{ + CGameID m_gameID; + uint32_t m_unGameIP; + uint16_t m_usGamePort; + uint16_t m_usQueryPort; + CSteamID m_steamIDLobby; +}; +#pragma pack( pop ) + +typedef struct FriendRichPresenceUpdate_t FriendRichPresenceUpdate_t; +#pragma pack( push, 4 ) +struct FriendRichPresenceUpdate_t +{ + CSteamID m_steamIDFriend; + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct FriendSessionStateInfo_t FriendSessionStateInfo_t; +#pragma pack( push, 4 ) +struct FriendSessionStateInfo_t +{ + uint32_t m_uiOnlineSessionInstances; + uint8_t m_uiPublishedToFriendsSessionInstance; + uint8_t __pad_5[3]; +}; +#pragma pack( pop ) + +typedef struct FriendsEnumerateFollowingList_t FriendsEnumerateFollowingList_t; +#pragma pack( push, 4 ) +struct FriendsEnumerateFollowingList_t +{ + uint32_t m_eResult; + CSteamID (m_rgSteamID)[50]; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; +}; +#pragma pack( pop ) + +typedef struct FriendsGetFollowerCount_t FriendsGetFollowerCount_t; +#pragma pack( push, 4 ) +struct FriendsGetFollowerCount_t +{ + uint32_t m_eResult; + CSteamID m_steamID; + int32_t m_nCount; +}; +#pragma pack( pop ) + +typedef struct FriendsIsFollowing_t FriendsIsFollowing_t; +#pragma pack( push, 4 ) +struct FriendsIsFollowing_t +{ + uint32_t m_eResult; + CSteamID m_steamID; + int8_t m_bIsFollowing; + uint8_t __pad_13[3]; +}; +#pragma pack( pop ) + +typedef struct GCMessageAvailable_t GCMessageAvailable_t; +#pragma pack( push, 4 ) +struct GCMessageAvailable_t +{ + uint32_t m_nMessageSize; +}; +#pragma pack( pop ) + +typedef struct GCMessageFailed_t GCMessageFailed_t; +#pragma pack( push, 1 ) +struct GCMessageFailed_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct GSClientAchievementStatus_t GSClientAchievementStatus_t; +#pragma pack( push, 8 ) +struct GSClientAchievementStatus_t +{ + uint64_t m_SteamID; + char (m_pchAchievement)[128]; + int8_t m_bUnlocked; + uint8_t __pad_137[7]; +}; +#pragma pack( pop ) + +typedef struct GSClientApprove_t_126 GSClientApprove_t_126; +#pragma pack( push, 1 ) +struct GSClientApprove_t_126 +{ + CSteamID m_SteamID; + CSteamID m_OwnerSteamID; +}; +#pragma pack( pop ) + +typedef struct GSClientApprove_t_099u GSClientApprove_t_099u; +#pragma pack( push, 1 ) +struct GSClientApprove_t_099u +{ + CSteamID m_SteamID; +}; +#pragma pack( pop ) + +typedef struct GSClientDeny_t GSClientDeny_t; +#pragma pack( push, 4 ) +struct GSClientDeny_t +{ + CSteamID m_SteamID; + uint32_t m_eDenyReason; + char (m_rgchOptionalText)[128]; +}; +#pragma pack( pop ) + +typedef struct GSClientGroupStatus_t GSClientGroupStatus_t; +#pragma pack( push, 1 ) +struct GSClientGroupStatus_t +{ + CSteamID m_SteamIDUser; + CSteamID m_SteamIDGroup; + int8_t m_bMember; + int8_t m_bOfficer; +}; +#pragma pack( pop ) + +typedef struct GSClientKick_t GSClientKick_t; +#pragma pack( push, 4 ) +struct GSClientKick_t +{ + CSteamID m_SteamID; + uint32_t m_eDenyReason; +}; +#pragma pack( pop ) + +typedef struct GSGameplayStats_t GSGameplayStats_t; +#pragma pack( push, 4 ) +struct GSGameplayStats_t +{ + uint32_t m_eResult; + int32_t m_nRank; + uint32_t m_unTotalConnects; + uint32_t m_unTotalMinutesPlayed; +}; +#pragma pack( pop ) + +typedef struct GSPolicyResponse_t GSPolicyResponse_t; +#pragma pack( push, 1 ) +struct GSPolicyResponse_t +{ + uint8_t m_bSecure; +}; +#pragma pack( pop ) + +typedef struct GSStatsReceived_t GSStatsReceived_t; +#pragma pack( push, 4 ) +struct GSStatsReceived_t +{ + uint32_t m_eResult; + CSteamID m_steamIDUser; +}; +#pragma pack( pop ) + +typedef struct GSStatsStored_t GSStatsStored_t; +#pragma pack( push, 4 ) +struct GSStatsStored_t +{ + uint32_t m_eResult; + CSteamID m_steamIDUser; +}; +#pragma pack( pop ) + +typedef struct GSStatsUnloaded_t GSStatsUnloaded_t; +#pragma pack( push, 1 ) +struct GSStatsUnloaded_t +{ + CSteamID m_steamIDUser; +}; +#pragma pack( pop ) + +typedef struct GameConnectedChatJoin_t GameConnectedChatJoin_t; +#pragma pack( push, 1 ) +struct GameConnectedChatJoin_t +{ + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; +}; +#pragma pack( pop ) + +typedef struct GameConnectedChatLeave_t GameConnectedChatLeave_t; +#pragma pack( push, 1 ) +struct GameConnectedChatLeave_t +{ + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + int8_t m_bKicked; + int8_t m_bDropped; +}; +#pragma pack( pop ) + +typedef struct GameConnectedClanChatMsg_t GameConnectedClanChatMsg_t; +#pragma pack( push, 4 ) +struct GameConnectedClanChatMsg_t +{ + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + int32_t m_iMessageID; +}; +#pragma pack( pop ) + +typedef struct GameConnectedFriendChatMsg_t GameConnectedFriendChatMsg_t; +#pragma pack( push, 4 ) +struct GameConnectedFriendChatMsg_t +{ + CSteamID m_steamIDUser; + int32_t m_iMessageID; +}; +#pragma pack( pop ) + +typedef struct GameLobbyJoinRequested_t GameLobbyJoinRequested_t; +#pragma pack( push, 1 ) +struct GameLobbyJoinRequested_t +{ + CSteamID m_steamIDLobby; + CSteamID m_steamIDFriend; +}; +#pragma pack( pop ) + +typedef struct GameOverlayActivated_t_158 GameOverlayActivated_t_158; +#pragma pack( push, 4 ) +struct GameOverlayActivated_t_158 +{ + uint8_t m_bActive; + int8_t m_bUserInitiated; + uint8_t __pad_2[2]; + uint32_t m_nAppID; + uint32_t m_dwOverlayPID; +}; +#pragma pack( pop ) + +typedef struct GameOverlayActivated_t_156 GameOverlayActivated_t_156; +#pragma pack( push, 4 ) +struct GameOverlayActivated_t_156 +{ + uint8_t m_bActive; + int8_t m_bUserInitiated; + uint8_t __pad_2[2]; + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct GameOverlayActivated_t_099u GameOverlayActivated_t_099u; +#pragma pack( push, 1 ) +struct GameOverlayActivated_t_099u +{ + uint8_t m_bActive; +}; +#pragma pack( pop ) + +typedef struct GameRichPresenceJoinRequested_t GameRichPresenceJoinRequested_t; +#pragma pack( push, 1 ) +struct GameRichPresenceJoinRequested_t +{ + CSteamID m_steamIDFriend; + char (m_rgchConnect)[256]; +}; +#pragma pack( pop ) + +typedef struct GameServerChangeRequested_t GameServerChangeRequested_t; +#pragma pack( push, 1 ) +struct GameServerChangeRequested_t +{ + char (m_rgchServer)[64]; + char (m_rgchPassword)[64]; +}; +#pragma pack( pop ) + +typedef struct GameStatsSessionClosed_t GameStatsSessionClosed_t; +#pragma pack( push, 8 ) +struct GameStatsSessionClosed_t +{ + uint64_t m_ulSessionID; + uint32_t m_eResult; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct GameStatsSessionIssued_t GameStatsSessionIssued_t; +#pragma pack( push, 8 ) +struct GameStatsSessionIssued_t +{ + uint64_t m_ulSessionID; + uint32_t m_eResult; + int8_t m_bCollectingAny; + int8_t m_bCollectingDetails; + uint8_t __pad_14[2]; +}; +#pragma pack( pop ) + +typedef struct GameWebCallback_t GameWebCallback_t; +#pragma pack( push, 1 ) +struct GameWebCallback_t +{ + char (m_szURL)[256]; +}; +#pragma pack( pop ) + +typedef struct GamepadTextInputDismissed_t_156 GamepadTextInputDismissed_t_156; +#pragma pack( push, 4 ) +struct GamepadTextInputDismissed_t_156 +{ + int8_t m_bSubmitted; + uint8_t __pad_1[3]; + uint32_t m_unSubmittedText; + uint32_t m_unAppID; +}; +#pragma pack( pop ) + +typedef struct GamepadTextInputDismissed_t_121 GamepadTextInputDismissed_t_121; +#pragma pack( push, 4 ) +struct GamepadTextInputDismissed_t_121 +{ + int8_t m_bSubmitted; + uint8_t __pad_1[3]; + uint32_t m_unSubmittedText; +}; +#pragma pack( pop ) + +typedef struct GetAuthSessionTicketResponse_t GetAuthSessionTicketResponse_t; +#pragma pack( push, 4 ) +struct GetAuthSessionTicketResponse_t +{ + uint32_t m_hAuthTicket; + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct GetOPFSettingsResult_t GetOPFSettingsResult_t; +#pragma pack( push, 4 ) +struct GetOPFSettingsResult_t +{ + uint32_t m_eResult; + uint32_t m_unVideoAppID; +}; +#pragma pack( pop ) + +typedef struct GetTicketForWebApiResponse_t GetTicketForWebApiResponse_t; +#pragma pack( push, 4 ) +struct GetTicketForWebApiResponse_t +{ + uint32_t m_hAuthTicket; + uint32_t m_eResult; + int32_t m_cubTicket; + uint8_t (m_rgubTicket)[2560]; +}; +#pragma pack( pop ) + +typedef struct GetUserItemVoteResult_t GetUserItemVoteResult_t; +#pragma pack( push, 8 ) +struct GetUserItemVoteResult_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + int8_t m_bVotedUp; + int8_t m_bVotedDown; + int8_t m_bVoteSkipped; + uint8_t __pad_15[1]; +}; +#pragma pack( pop ) + +typedef struct GetVideoURLResult_t GetVideoURLResult_t; +#pragma pack( push, 4 ) +struct GetVideoURLResult_t +{ + uint32_t m_eResult; + uint32_t m_unVideoAppID; + char (m_rgchURL)[256]; +}; +#pragma pack( pop ) + +typedef struct GlobalAchievementPercentagesReady_t GlobalAchievementPercentagesReady_t; +#pragma pack( push, 8 ) +struct GlobalAchievementPercentagesReady_t +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct GlobalStatsReceived_t GlobalStatsReceived_t; +#pragma pack( push, 8 ) +struct GlobalStatsReceived_t +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct HTML_BrowserReady_t HTML_BrowserReady_t; +#pragma pack( push, 4 ) +struct HTML_BrowserReady_t +{ + uint32_t unBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_BrowserRestarted_t HTML_BrowserRestarted_t; +#pragma pack( push, 4 ) +struct HTML_BrowserRestarted_t +{ + uint32_t unBrowserHandle; + uint32_t unOldBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_CanGoBackAndForward_t HTML_CanGoBackAndForward_t; +#pragma pack( push, 4 ) +struct HTML_CanGoBackAndForward_t +{ + uint32_t unBrowserHandle; + int8_t bCanGoBack; + int8_t bCanGoForward; + uint8_t __pad_6[2]; +}; +#pragma pack( pop ) + +typedef struct HTML_CloseBrowser_t HTML_CloseBrowser_t; +#pragma pack( push, 4 ) +struct HTML_CloseBrowser_t +{ + uint32_t unBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_HidePopup_t HTML_HidePopup_t; +#pragma pack( push, 4 ) +struct HTML_HidePopup_t +{ + uint32_t unBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_HideToolTip_t HTML_HideToolTip_t; +#pragma pack( push, 4 ) +struct HTML_HideToolTip_t +{ + uint32_t unBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_HorizontalScroll_t HTML_HorizontalScroll_t; +#pragma pack( push, 4 ) +struct HTML_HorizontalScroll_t +{ + uint32_t unBrowserHandle; + uint32_t unScrollMax; + uint32_t unScrollCurrent; + float flPageScale; + int8_t bVisible; + uint8_t __pad_17[3]; + uint32_t unPageSize; +}; +#pragma pack( pop ) + +typedef struct HTML_SearchResults_t HTML_SearchResults_t; +#pragma pack( push, 4 ) +struct HTML_SearchResults_t +{ + uint32_t unBrowserHandle; + uint32_t unResults; + uint32_t unCurrentMatch; +}; +#pragma pack( pop ) + +typedef struct HTML_SetCursor_t HTML_SetCursor_t; +#pragma pack( push, 4 ) +struct HTML_SetCursor_t +{ + uint32_t unBrowserHandle; + uint32_t eMouseCursor; +}; +#pragma pack( pop ) + +typedef struct HTML_ShowPopup_t HTML_ShowPopup_t; +#pragma pack( push, 4 ) +struct HTML_ShowPopup_t +{ + uint32_t unBrowserHandle; +}; +#pragma pack( pop ) + +typedef struct HTML_SizePopup_t HTML_SizePopup_t; +#pragma pack( push, 4 ) +struct HTML_SizePopup_t +{ + uint32_t unBrowserHandle; + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; +}; +#pragma pack( pop ) + +typedef struct HTML_VerticalScroll_t HTML_VerticalScroll_t; +#pragma pack( push, 4 ) +struct HTML_VerticalScroll_t +{ + uint32_t unBrowserHandle; + uint32_t unScrollMax; + uint32_t unScrollCurrent; + float flPageScale; + int8_t bVisible; + uint8_t __pad_17[3]; + uint32_t unPageSize; +}; +#pragma pack( pop ) + +typedef struct IPCFailure_t IPCFailure_t; +#pragma pack( push, 1 ) +struct IPCFailure_t +{ + uint8_t m_eFailureType; +}; +#pragma pack( pop ) + +typedef struct IPCountry_t IPCountry_t; +#pragma pack( push, 1 ) +struct IPCountry_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct InputAnalogActionData_t InputAnalogActionData_t; +#pragma pack( push, 1 ) +struct InputAnalogActionData_t +{ + uint32_t eMode; + float x; + float y; + int8_t bActive; +}; +#pragma pack( pop ) + +typedef struct InputDigitalActionData_t InputDigitalActionData_t; +#pragma pack( push, 1 ) +struct InputDigitalActionData_t +{ + int8_t bState; + int8_t bActive; +}; +#pragma pack( pop ) + +typedef struct InputMotionDataV2_t InputMotionDataV2_t; +#pragma pack( push, 1 ) +struct InputMotionDataV2_t +{ + float driftCorrectedQuatX; + float driftCorrectedQuatY; + float driftCorrectedQuatZ; + float driftCorrectedQuatW; + float sensorFusionQuatX; + float sensorFusionQuatY; + float sensorFusionQuatZ; + float sensorFusionQuatW; + float deferredSensorFusionQuatX; + float deferredSensorFusionQuatY; + float deferredSensorFusionQuatZ; + float deferredSensorFusionQuatW; + float gravityX; + float gravityY; + float gravityZ; + float degreesPerSecondX; + float degreesPerSecondY; + float degreesPerSecondZ; +}; +#pragma pack( pop ) + +typedef struct InputMotionData_t InputMotionData_t; +#pragma pack( push, 1 ) +struct InputMotionData_t +{ + float rotQuatX; + float rotQuatY; + float rotQuatZ; + float rotQuatW; + float posAccelX; + float posAccelY; + float posAccelZ; + float rotVelX; + float rotVelY; + float rotVelZ; +}; +#pragma pack( pop ) + +typedef struct JoinClanChatRoomCompletionResult_t JoinClanChatRoomCompletionResult_t; +#pragma pack( push, 4 ) +struct JoinClanChatRoomCompletionResult_t +{ + CSteamID m_steamIDClanChat; + uint32_t m_eChatRoomEnterResponse; +}; +#pragma pack( pop ) + +typedef struct LeaderboardFindResult_t LeaderboardFindResult_t; +#pragma pack( push, 8 ) +struct LeaderboardFindResult_t +{ + uint64_t m_hSteamLeaderboard; + uint8_t m_bLeaderboardFound; + uint8_t __pad_9[7]; +}; +#pragma pack( pop ) + +typedef struct LeaderboardScoresDownloaded_t LeaderboardScoresDownloaded_t; +#pragma pack( push, 8 ) +struct LeaderboardScoresDownloaded_t +{ + uint64_t m_hSteamLeaderboard; + uint64_t m_hSteamLeaderboardEntries; + int32_t m_cEntryCount; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +typedef struct LicensesUpdated_t LicensesUpdated_t; +#pragma pack( push, 1 ) +struct LicensesUpdated_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct LobbyChatMsg_t LobbyChatMsg_t; +#pragma pack( push, 8 ) +struct LobbyChatMsg_t +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDUser; + uint8_t m_eChatEntryType; + uint8_t __pad_17[3]; + uint32_t m_iChatID; +}; +#pragma pack( pop ) + +typedef struct LobbyChatUpdate_t LobbyChatUpdate_t; +#pragma pack( push, 8 ) +struct LobbyChatUpdate_t +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDUserChanged; + uint64_t m_ulSteamIDMakingChange; + uint32_t m_rgfChatMemberStateChange; + uint8_t __pad_28[4]; +}; +#pragma pack( pop ) + +typedef struct LobbyClosing_t LobbyClosing_t; +#pragma pack( push, 8 ) +struct LobbyClosing_t +{ + uint64_t m_ulSteamIDLobby; +}; +#pragma pack( pop ) + +typedef struct LobbyDataUpdate_t_111x LobbyDataUpdate_t_111x; +#pragma pack( push, 8 ) +struct LobbyDataUpdate_t_111x +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDMember; + uint8_t m_bSuccess; + uint8_t __pad_17[7]; +}; +#pragma pack( pop ) + +typedef struct LobbyDataUpdate_t_099u LobbyDataUpdate_t_099u; +#pragma pack( push, 8 ) +struct LobbyDataUpdate_t_099u +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDMember; +}; +#pragma pack( pop ) + +typedef struct LobbyEnter_t LobbyEnter_t; +#pragma pack( push, 8 ) +struct LobbyEnter_t +{ + uint64_t m_ulSteamIDLobby; + uint32_t m_rgfChatPermissions; + int8_t m_bLocked; + uint8_t __pad_13[3]; + uint32_t m_EChatRoomEnterResponse; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +typedef struct LobbyGameCreated_t LobbyGameCreated_t; +#pragma pack( push, 8 ) +struct LobbyGameCreated_t +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDGameServer; + uint32_t m_unIP; + uint16_t m_usPort; + uint8_t __pad_22[2]; +}; +#pragma pack( pop ) + +typedef struct LobbyInvite_t_112x LobbyInvite_t_112x; +#pragma pack( push, 8 ) +struct LobbyInvite_t_112x +{ + uint64_t m_ulSteamIDUser; + uint64_t m_ulSteamIDLobby; + uint64_t m_ulGameID; +}; +#pragma pack( pop ) + +typedef struct LobbyInvite_t_099u LobbyInvite_t_099u; +#pragma pack( push, 8 ) +struct LobbyInvite_t_099u +{ + uint64_t m_ulSteamIDUser; + uint64_t m_ulSteamIDLobby; +}; +#pragma pack( pop ) + +typedef struct LobbyKicked_t_106 LobbyKicked_t_106; +#pragma pack( push, 8 ) +struct LobbyKicked_t_106 +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDAdmin; + uint8_t m_bKickedDueToDisconnect; + uint8_t __pad_17[7]; +}; +#pragma pack( pop ) + +typedef struct LobbyKicked_t_099u LobbyKicked_t_099u; +#pragma pack( push, 8 ) +struct LobbyKicked_t_099u +{ + uint64_t m_ulSteamIDLobby; + uint64_t m_ulSteamIDAdmin; +}; +#pragma pack( pop ) + +typedef struct LobbyMatchList_t LobbyMatchList_t; +#pragma pack( push, 4 ) +struct LobbyMatchList_t +{ + uint32_t m_nLobbiesMatching; +}; +#pragma pack( pop ) + +typedef struct LowBatteryPower_t LowBatteryPower_t; +#pragma pack( push, 1 ) +struct LowBatteryPower_t +{ + uint8_t m_nMinutesBatteryLeft; +}; +#pragma pack( pop ) + +typedef struct MarketEligibilityResponse_t MarketEligibilityResponse_t; +#pragma pack( push, 4 ) +struct MarketEligibilityResponse_t +{ + int8_t m_bAllowed; + uint8_t __pad_1[3]; + uint32_t m_eNotAllowedReason; + uint32_t m_rtAllowedAtTime; + int32_t m_cdaySteamGuardRequiredDays; + int32_t m_cdayNewDeviceCooldown; +}; +#pragma pack( pop ) + +typedef struct MatchMakingKeyValuePair_t MatchMakingKeyValuePair_t; +#pragma pack( push, 1 ) +struct MatchMakingKeyValuePair_t +{ + char (m_szKey)[256]; + char (m_szValue)[256]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerRemoteToFront_t MusicPlayerRemoteToFront_t; +#pragma pack( push, 1 ) +struct MusicPlayerRemoteToFront_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerRemoteWillActivate_t MusicPlayerRemoteWillActivate_t; +#pragma pack( push, 1 ) +struct MusicPlayerRemoteWillActivate_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerRemoteWillDeactivate_t MusicPlayerRemoteWillDeactivate_t; +#pragma pack( push, 1 ) +struct MusicPlayerRemoteWillDeactivate_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerSelectsPlaylistEntry_t MusicPlayerSelectsPlaylistEntry_t; +#pragma pack( push, 4 ) +struct MusicPlayerSelectsPlaylistEntry_t +{ + int32_t nID; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerSelectsQueueEntry_t MusicPlayerSelectsQueueEntry_t; +#pragma pack( push, 4 ) +struct MusicPlayerSelectsQueueEntry_t +{ + int32_t nID; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsLooped_t MusicPlayerWantsLooped_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsLooped_t +{ + int8_t m_bLooped; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsPause_t MusicPlayerWantsPause_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsPause_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsPlayNext_t MusicPlayerWantsPlayNext_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsPlayNext_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsPlayPrevious_t MusicPlayerWantsPlayPrevious_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsPlayPrevious_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsPlay_t MusicPlayerWantsPlay_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsPlay_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsPlayingRepeatStatus_t MusicPlayerWantsPlayingRepeatStatus_t; +#pragma pack( push, 4 ) +struct MusicPlayerWantsPlayingRepeatStatus_t +{ + int32_t m_nPlayingRepeatStatus; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsShuffled_t MusicPlayerWantsShuffled_t; +#pragma pack( push, 1 ) +struct MusicPlayerWantsShuffled_t +{ + int8_t m_bShuffled; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWantsVolume_t MusicPlayerWantsVolume_t; +#pragma pack( push, 4 ) +struct MusicPlayerWantsVolume_t +{ + float m_flNewVolume; +}; +#pragma pack( pop ) + +typedef struct MusicPlayerWillQuit_t MusicPlayerWillQuit_t; +#pragma pack( push, 1 ) +struct MusicPlayerWillQuit_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct NameHistoryResponse_t NameHistoryResponse_t; +#pragma pack( push, 4 ) +struct NameHistoryResponse_t +{ + int32_t m_cSuccessfulLookups; + int32_t m_cFailedLookups; +}; +#pragma pack( pop ) + +typedef struct NewLaunchQueryParameters_t NewLaunchQueryParameters_t; +#pragma pack( push, 1 ) +struct NewLaunchQueryParameters_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct NewUrlLaunchParameters_t NewUrlLaunchParameters_t; +#pragma pack( push, 1 ) +struct NewUrlLaunchParameters_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct NumberOfCurrentPlayers_t NumberOfCurrentPlayers_t; +#pragma pack( push, 4 ) +struct NumberOfCurrentPlayers_t +{ + uint8_t m_bSuccess; + uint8_t __pad_1[3]; + int32_t m_cPlayers; +}; +#pragma pack( pop ) + +typedef struct OverlayBrowserProtocolNavigation_t OverlayBrowserProtocolNavigation_t; +#pragma pack( push, 1 ) +struct OverlayBrowserProtocolNavigation_t +{ + char (rgchURI)[1024]; +}; +#pragma pack( pop ) + +typedef struct P2PSessionConnectFail_t P2PSessionConnectFail_t; +#pragma pack( push, 1 ) +struct P2PSessionConnectFail_t +{ + CSteamID m_steamIDRemote; + uint8_t m_eP2PSessionError; +}; +#pragma pack( pop ) + +typedef struct P2PSessionRequest_t P2PSessionRequest_t; +#pragma pack( push, 1 ) +struct P2PSessionRequest_t +{ + CSteamID m_steamIDRemote; +}; +#pragma pack( pop ) + +typedef struct P2PSessionState_t P2PSessionState_t; +#pragma pack( push, 4 ) +struct P2PSessionState_t +{ + uint8_t m_bConnectionActive; + uint8_t m_bConnecting; + uint8_t m_eP2PSessionError; + uint8_t m_bUsingRelay; + int32_t m_nBytesQueuedForSend; + int32_t m_nPacketsQueuedForSend; + uint32_t m_nRemoteIP; + uint16_t m_nRemotePort; + uint8_t __pad_18[2]; +}; +#pragma pack( pop ) + +typedef struct PSNGameBootInviteResult_t PSNGameBootInviteResult_t; +#pragma pack( push, 1 ) +struct PSNGameBootInviteResult_t +{ + int8_t m_bGameBootInviteExists; + CSteamID m_steamIDLobby; +}; +#pragma pack( pop ) + +typedef struct PersonaStateChange_t PersonaStateChange_t; +#pragma pack( push, 8 ) +struct PersonaStateChange_t +{ + uint64_t m_ulSteamID; + int32_t m_nChangeFlags; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct PlaybackStatusHasChanged_t PlaybackStatusHasChanged_t; +#pragma pack( push, 1 ) +struct PlaybackStatusHasChanged_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct RegisterActivationCodeResponse_t RegisterActivationCodeResponse_t; +#pragma pack( push, 4 ) +struct RegisterActivationCodeResponse_t +{ + uint32_t m_eResult; + uint32_t m_unPackageRegistered; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageAppSyncStatusCheck_t RemoteStorageAppSyncStatusCheck_t; +#pragma pack( push, 4 ) +struct RemoteStorageAppSyncStatusCheck_t +{ + uint32_t m_nAppID; + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageAppSyncedClient_t RemoteStorageAppSyncedClient_t; +#pragma pack( push, 4 ) +struct RemoteStorageAppSyncedClient_t +{ + uint32_t m_nAppID; + uint32_t m_eResult; + int32_t m_unNumDownloads; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageAppSyncedServer_t RemoteStorageAppSyncedServer_t; +#pragma pack( push, 4 ) +struct RemoteStorageAppSyncedServer_t +{ + uint32_t m_nAppID; + uint32_t m_eResult; + int32_t m_unNumUploads; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageConflictResolution_t RemoteStorageConflictResolution_t; +#pragma pack( push, 4 ) +struct RemoteStorageConflictResolution_t +{ + uint32_t m_nAppID; + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageEnumeratePublishedFilesByUserActionResult_t RemoteStorageEnumeratePublishedFilesByUserActionResult_t; +#pragma pack( push, 8 ) +struct RemoteStorageEnumeratePublishedFilesByUserActionResult_t +{ + uint32_t m_eResult; + uint32_t m_eAction; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint64_t (m_rgPublishedFileId)[50]; + uint32_t (m_rgRTimeUpdated)[50]; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageFileReadAsyncComplete_t RemoteStorageFileReadAsyncComplete_t; +#pragma pack( push, 8 ) +struct RemoteStorageFileReadAsyncComplete_t +{ + uint64_t m_hFileReadAsync; + uint32_t m_eResult; + uint32_t m_nOffset; + uint32_t m_cubRead; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageFileWriteAsyncComplete_t RemoteStorageFileWriteAsyncComplete_t; +#pragma pack( push, 4 ) +struct RemoteStorageFileWriteAsyncComplete_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct RemoteStorageLocalFileChange_t RemoteStorageLocalFileChange_t; +#pragma pack( push, 1 ) +struct RemoteStorageLocalFileChange_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct RemoteStoragePublishFileProgress_t RemoteStoragePublishFileProgress_t; +#pragma pack( push, 8 ) +struct RemoteStoragePublishFileProgress_t +{ + double m_dPercentFile; + int8_t m_bPreview; + uint8_t __pad_9[7]; +}; +#pragma pack( pop ) + +typedef struct RemoteStoragePublishedFileDeleted_t RemoteStoragePublishedFileDeleted_t; +#pragma pack( push, 8 ) +struct RemoteStoragePublishedFileDeleted_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct RemoteStoragePublishedFileSubscribed_t RemoteStoragePublishedFileSubscribed_t; +#pragma pack( push, 8 ) +struct RemoteStoragePublishedFileSubscribed_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct RemoteStoragePublishedFileUnsubscribed_t RemoteStoragePublishedFileUnsubscribed_t; +#pragma pack( push, 8 ) +struct RemoteStoragePublishedFileUnsubscribed_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct RequestFriendsLobbiesResponse_t RequestFriendsLobbiesResponse_t; +#pragma pack( push, 8 ) +struct RequestFriendsLobbiesResponse_t +{ + uint64_t m_ulSteamIDFriend; + uint64_t m_ulSteamIDLobby; + int32_t m_cResultIndex; + int32_t m_cResultsTotal; +}; +#pragma pack( pop ) + +typedef struct ReservationNotificationCallback_t ReservationNotificationCallback_t; +#pragma pack( push, 8 ) +struct ReservationNotificationCallback_t +{ + uint64_t m_ulBeaconID; + CSteamID m_steamIDJoiner; +}; +#pragma pack( pop ) + +typedef struct ScreenshotReady_t ScreenshotReady_t; +#pragma pack( push, 4 ) +struct ScreenshotReady_t +{ + uint32_t m_hLocal; + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct ScreenshotRequested_t ScreenshotRequested_t; +#pragma pack( push, 1 ) +struct ScreenshotRequested_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SearchForGameProgressCallback_t SearchForGameProgressCallback_t; +#pragma pack( push, 8 ) +struct SearchForGameProgressCallback_t +{ + uint64_t m_ullSearchID; + uint32_t m_eResult; + CSteamID m_lobbyID; + CSteamID m_steamIDEndedSearch; + int32_t m_nSecondsRemainingEstimate; + int32_t m_cPlayersSearching; + uint8_t __pad_36[4]; +}; +#pragma pack( pop ) + +typedef struct SearchForGameResultCallback_t SearchForGameResultCallback_t; +#pragma pack( push, 8 ) +struct SearchForGameResultCallback_t +{ + uint64_t m_ullSearchID; + uint32_t m_eResult; + int32_t m_nCountPlayersInGame; + int32_t m_nCountAcceptedGame; + CSteamID m_steamIDHost; + int8_t m_bFinalCallback; + uint8_t __pad_29[3]; +}; +#pragma pack( pop ) + +typedef struct SetPersonaNameResponse_t SetPersonaNameResponse_t; +#pragma pack( push, 4 ) +struct SetPersonaNameResponse_t +{ + int8_t m_bSuccess; + int8_t m_bLocalSuccess; + uint8_t __pad_2[2]; + uint32_t m_result; +}; +#pragma pack( pop ) + +typedef struct SetUserItemVoteResult_t SetUserItemVoteResult_t; +#pragma pack( push, 8 ) +struct SetUserItemVoteResult_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + int8_t m_bVoteUp; + uint8_t __pad_13[3]; +}; +#pragma pack( pop ) + +typedef struct SocketStatusCallback_t SocketStatusCallback_t; +#pragma pack( push, 4 ) +struct SocketStatusCallback_t +{ + uint32_t m_hSocket; + uint32_t m_hListenSocket; + CSteamID m_steamIDRemote; + int32_t m_eSNetSocketState; +}; +#pragma pack( pop ) + +typedef struct StartPlaytimeTrackingResult_t StartPlaytimeTrackingResult_t; +#pragma pack( push, 4 ) +struct StartPlaytimeTrackingResult_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct SteamAPICallCompleted_t_137 SteamAPICallCompleted_t_137; +#pragma pack( push, 8 ) +struct SteamAPICallCompleted_t_137 +{ + uint64_t m_hAsyncCall; + int32_t m_iCallback; + uint32_t m_cubParam; +}; +#pragma pack( pop ) + +typedef struct SteamAPICallCompleted_t_102x SteamAPICallCompleted_t_102x; +#pragma pack( push, 8 ) +struct SteamAPICallCompleted_t_102x +{ + uint64_t m_hAsyncCall; +}; +#pragma pack( pop ) + +typedef struct SteamAppInstalled_t_152 SteamAppInstalled_t_152; +#pragma pack( push, 4 ) +struct SteamAppInstalled_t_152 +{ + uint32_t m_nAppID; + int32_t m_iInstallFolderIndex; +}; +#pragma pack( pop ) + +typedef struct SteamAppInstalled_t_128x SteamAppInstalled_t_128x; +#pragma pack( push, 4 ) +struct SteamAppInstalled_t_128x +{ + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct SteamAppUninstalled_t_152 SteamAppUninstalled_t_152; +#pragma pack( push, 4 ) +struct SteamAppUninstalled_t_152 +{ + uint32_t m_nAppID; + int32_t m_iInstallFolderIndex; +}; +#pragma pack( pop ) + +typedef struct SteamAppUninstalled_t_128x SteamAppUninstalled_t_128x; +#pragma pack( push, 4 ) +struct SteamAppUninstalled_t_128x +{ + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct SteamCallback_t SteamCallback_t; +#pragma pack( push, 1 ) +struct SteamCallback_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SteamControllerState001_t SteamControllerState001_t; +#pragma pack( push, 1 ) +struct SteamControllerState001_t +{ + uint32_t unPacketNum; + uint64_t ulButtons; + int16_t sLeftPadX; + int16_t sLeftPadY; + int16_t sRightPadX; + int16_t sRightPadY; +}; +#pragma pack( pop ) + +typedef struct SteamControllerState_t SteamControllerState_t; +#pragma pack( push, 1 ) +struct SteamControllerState_t +{ + uint32_t unPacketNum; + uint64_t ulButtons; + int16_t sLeftPadX; + int16_t sLeftPadY; + int16_t sRightPadX; + int16_t sRightPadY; +}; +#pragma pack( pop ) + +typedef struct SteamInputActionEvent_t SteamInputActionEvent_t; +#pragma pack( push, 1 ) +struct SteamInputActionEvent_t +{ + uint64_t controllerHandle; + uint32_t eEventType; + struct { uint8_t _[21]; } x; +}; +#pragma pack( pop ) + +typedef struct SteamInputDeviceConnected_t SteamInputDeviceConnected_t; +#pragma pack( push, 8 ) +struct SteamInputDeviceConnected_t +{ + uint64_t m_ulConnectedDeviceHandle; +}; +#pragma pack( pop ) + +typedef struct SteamInputDeviceDisconnected_t SteamInputDeviceDisconnected_t; +#pragma pack( push, 8 ) +struct SteamInputDeviceDisconnected_t +{ + uint64_t m_ulDisconnectedDeviceHandle; +}; +#pragma pack( pop ) + +typedef struct SteamInventoryDefinitionUpdate_t SteamInventoryDefinitionUpdate_t; +#pragma pack( push, 1 ) +struct SteamInventoryDefinitionUpdate_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SteamInventoryEligiblePromoItemDefIDs_t SteamInventoryEligiblePromoItemDefIDs_t; +#pragma pack( push, 4 ) +struct SteamInventoryEligiblePromoItemDefIDs_t +{ + uint32_t m_result; + CSteamID m_steamID; + int32_t m_numEligiblePromoItemDefs; + int8_t m_bCachedData; + uint8_t __pad_17[3]; +}; +#pragma pack( pop ) + +typedef struct SteamInventoryFullUpdate_t SteamInventoryFullUpdate_t; +#pragma pack( push, 4 ) +struct SteamInventoryFullUpdate_t +{ + int32_t m_handle; +}; +#pragma pack( pop ) + +typedef struct SteamInventoryRequestPricesResult_t SteamInventoryRequestPricesResult_t; +#pragma pack( push, 4 ) +struct SteamInventoryRequestPricesResult_t +{ + uint32_t m_result; + char (m_rgchCurrency)[4]; +}; +#pragma pack( pop ) + +typedef struct SteamInventoryResultReady_t SteamInventoryResultReady_t; +#pragma pack( push, 4 ) +struct SteamInventoryResultReady_t +{ + int32_t m_handle; + uint32_t m_result; +}; +#pragma pack( pop ) + +typedef struct SteamItemDetails_t SteamItemDetails_t; +#pragma pack( push, 8 ) +struct SteamItemDetails_t +{ + uint64_t m_itemId; + int32_t m_iDefinition; + uint16_t m_unQuantity; + uint16_t m_unFlags; +}; +#pragma pack( pop ) + +typedef struct SteamNetAuthenticationStatus_t SteamNetAuthenticationStatus_t; +#pragma pack( push, 4 ) +struct SteamNetAuthenticationStatus_t +{ + uint32_t m_eAvail; + char (m_debugMsg)[256]; +}; +#pragma pack( pop ) + +typedef struct SteamNetConnectionRealTimeLaneStatus_t SteamNetConnectionRealTimeLaneStatus_t; +#pragma pack( push, 8 ) +struct SteamNetConnectionRealTimeLaneStatus_t +{ + int32_t m_cbPendingUnreliable; + int32_t m_cbPendingReliable; + int32_t m_cbSentUnackedReliable; + int32_t _reservePad1; + int64_t m_usecQueueTime; + uint32_t (reserved)[10]; +}; +#pragma pack( pop ) + +typedef struct SteamNetConnectionRealTimeStatus_t SteamNetConnectionRealTimeStatus_t; +#pragma pack( push, 8 ) +struct SteamNetConnectionRealTimeStatus_t +{ + uint32_t m_eState; + int32_t m_nPing; + float m_flConnectionQualityLocal; + float m_flConnectionQualityRemote; + float m_flOutPacketsPerSec; + float m_flOutBytesPerSec; + float m_flInPacketsPerSec; + float m_flInBytesPerSec; + int32_t m_nSendRateBytesPerSecond; + int32_t m_cbPendingUnreliable; + int32_t m_cbPendingReliable; + int32_t m_cbSentUnackedReliable; + int64_t m_usecQueueTime; + uint32_t (reserved)[16]; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkPingLocation_t SteamNetworkPingLocation_t; +#pragma pack( push, 1 ) +struct SteamNetworkPingLocation_t +{ + uint8_t (m_data)[512]; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingConfigValue_t SteamNetworkingConfigValue_t; +#pragma pack( push, 8 ) +struct SteamNetworkingConfigValue_t +{ + uint32_t m_eValue; + uint32_t m_eDataType; + struct { uint8_t _[8]; } m_val; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingFakeIPResult_t SteamNetworkingFakeIPResult_t; +#pragma pack( push, 4 ) +struct SteamNetworkingFakeIPResult_t +{ + uint32_t m_eResult; + SteamNetworkingIdentity_144 m_identity; + uint32_t m_unIP; + uint16_t (m_unPorts)[8]; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingMessagesSessionFailed_t_153a SteamNetworkingMessagesSessionFailed_t_153a; +#pragma pack( push, 1 ) +struct SteamNetworkingMessagesSessionFailed_t_153a +{ + SteamNetConnectionInfo_t_153a m_info; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingMessagesSessionFailed_t_150 SteamNetworkingMessagesSessionFailed_t_150; +#pragma pack( push, 1 ) +struct SteamNetworkingMessagesSessionFailed_t_150 +{ + SteamNetConnectionInfo_t_144 m_info; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingMessagesSessionFailed_t_151 SteamNetworkingMessagesSessionFailed_t_151; +#pragma pack( push, 1 ) +struct SteamNetworkingMessagesSessionFailed_t_151 +{ + SteamNetConnectionInfo_t_151 m_info; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingMessagesSessionRequest_t_150 SteamNetworkingMessagesSessionRequest_t_150; +#pragma pack( push, 1 ) +struct SteamNetworkingMessagesSessionRequest_t_150 +{ + SteamNetworkingIdentity_144 m_identityRemote; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingMessagesSessionRequest_t_151 SteamNetworkingMessagesSessionRequest_t_151; +#pragma pack( push, 1 ) +struct SteamNetworkingMessagesSessionRequest_t_151 +{ + SteamNetworkingIdentity_151 m_identityRemote; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingPOPIDRender SteamNetworkingPOPIDRender; +#pragma pack( push, 1 ) +struct SteamNetworkingPOPIDRender +{ + char (buf)[8]; +}; +#pragma pack( pop ) + +typedef struct SteamNetworkingQuickConnectionStatus SteamNetworkingQuickConnectionStatus; +#pragma pack( push, 8 ) +struct SteamNetworkingQuickConnectionStatus +{ + uint32_t m_eState; + int32_t m_nPing; + float m_flConnectionQualityLocal; + float m_flConnectionQualityRemote; + float m_flOutPacketsPerSec; + float m_flOutBytesPerSec; + float m_flInPacketsPerSec; + float m_flInBytesPerSec; + int32_t m_nSendRateBytesPerSecond; + int32_t m_cbPendingUnreliable; + int32_t m_cbPendingReliable; + int32_t m_cbSentUnackedReliable; + int64_t m_usecQueueTime; + uint32_t (reserved)[16]; +}; +#pragma pack( pop ) + +typedef struct SteamParentalSettingsChanged_t SteamParentalSettingsChanged_t; +#pragma pack( push, 1 ) +struct SteamParentalSettingsChanged_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SteamRelayNetworkStatus_t SteamRelayNetworkStatus_t; +#pragma pack( push, 4 ) +struct SteamRelayNetworkStatus_t +{ + uint32_t m_eAvail; + int32_t m_bPingMeasurementInProgress; + uint32_t m_eAvailNetworkConfig; + uint32_t m_eAvailAnyRelay; + char (m_debugMsg)[256]; +}; +#pragma pack( pop ) + +typedef struct SteamRemotePlaySessionConnected_t SteamRemotePlaySessionConnected_t; +#pragma pack( push, 4 ) +struct SteamRemotePlaySessionConnected_t +{ + uint32_t m_unSessionID; +}; +#pragma pack( pop ) + +typedef struct SteamRemotePlaySessionDisconnected_t SteamRemotePlaySessionDisconnected_t; +#pragma pack( push, 4 ) +struct SteamRemotePlaySessionDisconnected_t +{ + uint32_t m_unSessionID; +}; +#pragma pack( pop ) + +typedef struct SteamRemotePlayTogetherGuestInvite_t SteamRemotePlayTogetherGuestInvite_t; +#pragma pack( push, 1 ) +struct SteamRemotePlayTogetherGuestInvite_t +{ + char (m_szConnectURL)[1024]; +}; +#pragma pack( pop ) + +typedef struct SteamServerConnectFailure_t_135 SteamServerConnectFailure_t_135; +#pragma pack( push, 4 ) +struct SteamServerConnectFailure_t_135 +{ + uint32_t m_eResult; + int8_t m_bStillRetrying; + uint8_t __pad_5[3]; +}; +#pragma pack( pop ) + +typedef struct SteamServerConnectFailure_t_099u SteamServerConnectFailure_t_099u; +#pragma pack( push, 4 ) +struct SteamServerConnectFailure_t_099u +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct SteamServersConnected_t SteamServersConnected_t; +#pragma pack( push, 1 ) +struct SteamServersConnected_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SteamServersDisconnected_t SteamServersDisconnected_t; +#pragma pack( push, 4 ) +struct SteamServersDisconnected_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct SteamShutdown_t SteamShutdown_t; +#pragma pack( push, 1 ) +struct SteamShutdown_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct SteamUGCQueryCompleted_t_143 SteamUGCQueryCompleted_t_143; +#pragma pack( push, 8 ) +struct SteamUGCQueryCompleted_t_143 +{ + uint64_t m_handle; + uint32_t m_eResult; + uint32_t m_unNumResultsReturned; + uint32_t m_unTotalMatchingResults; + int8_t m_bCachedData; + char (m_rgchNextCursor)[256]; + uint8_t __pad_277[3]; +}; +#pragma pack( pop ) + +typedef struct SteamUGCQueryCompleted_t_128x SteamUGCQueryCompleted_t_128x; +#pragma pack( push, 8 ) +struct SteamUGCQueryCompleted_t_128x +{ + uint64_t m_handle; + uint32_t m_eResult; + uint32_t m_unNumResultsReturned; + uint32_t m_unTotalMatchingResults; + int8_t m_bCachedData; + uint8_t __pad_21[3]; +}; +#pragma pack( pop ) + +typedef struct SteamUGCQueryCompleted_t_126 SteamUGCQueryCompleted_t_126; +#pragma pack( push, 8 ) +struct SteamUGCQueryCompleted_t_126 +{ + uint64_t m_handle; + uint32_t m_eResult; + uint32_t m_unNumResultsReturned; + uint32_t m_unTotalMatchingResults; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +typedef struct SteamUnifiedMessagesSendMethodResult_t SteamUnifiedMessagesSendMethodResult_t; +#pragma pack( push, 8 ) +struct SteamUnifiedMessagesSendMethodResult_t +{ + uint64_t m_hHandle; + uint64_t m_unContext; + uint32_t m_eResult; + uint32_t m_unResponseSize; +}; +#pragma pack( pop ) + +typedef struct StopPlaytimeTrackingResult_t StopPlaytimeTrackingResult_t; +#pragma pack( push, 4 ) +struct StopPlaytimeTrackingResult_t +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +typedef struct StoreAuthURLResponse_t StoreAuthURLResponse_t; +#pragma pack( push, 1 ) +struct StoreAuthURLResponse_t +{ + char (m_szURL)[512]; +}; +#pragma pack( pop ) + +typedef struct SubmitItemUpdateResult_t_141 SubmitItemUpdateResult_t_141; +#pragma pack( push, 8 ) +struct SubmitItemUpdateResult_t_141 +{ + uint32_t m_eResult; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_5[3]; + uint64_t m_nPublishedFileId; +}; +#pragma pack( pop ) + +typedef struct SubmitItemUpdateResult_t_130 SubmitItemUpdateResult_t_130; +#pragma pack( push, 4 ) +struct SubmitItemUpdateResult_t_130 +{ + uint32_t m_eResult; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_5[3]; +}; +#pragma pack( pop ) + +typedef struct TimedTrialStatus_t TimedTrialStatus_t; +#pragma pack( push, 4 ) +struct TimedTrialStatus_t +{ + uint32_t m_unAppID; + int8_t m_bIsOffline; + uint8_t __pad_5[3]; + uint32_t m_unSecondsAllowed; + uint32_t m_unSecondsPlayed; +}; +#pragma pack( pop ) + +typedef struct UnreadChatMessagesChanged_t UnreadChatMessagesChanged_t; +#pragma pack( push, 1 ) +struct UnreadChatMessagesChanged_t +{ + uint8_t __pad_0[1]; +}; +#pragma pack( pop ) + +typedef struct UserAchievementIconFetched_t UserAchievementIconFetched_t; +#pragma pack( push, 4 ) +struct UserAchievementIconFetched_t +{ + CGameID m_nGameID; + char (m_rgchAchievementName)[128]; + int8_t m_bAchieved; + uint8_t __pad_137[3]; + int32_t m_nIconHandle; +}; +#pragma pack( pop ) + +typedef struct UserAchievementStored_t UserAchievementStored_t; +#pragma pack( push, 8 ) +struct UserAchievementStored_t +{ + uint64_t m_nGameID; + int8_t m_bGroupAchievement; + char (m_rgchAchievementName)[128]; + uint8_t __pad_137[3]; + uint32_t m_nCurProgress; + uint32_t m_nMaxProgress; + uint8_t __pad_148[4]; +}; +#pragma pack( pop ) + +typedef struct UserFavoriteItemsListChanged_t UserFavoriteItemsListChanged_t; +#pragma pack( push, 8 ) +struct UserFavoriteItemsListChanged_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + int8_t m_bWasAddRequest; + uint8_t __pad_13[3]; +}; +#pragma pack( pop ) + +typedef struct UserStatsReceived_t_102x UserStatsReceived_t_102x; +#pragma pack( push, 8 ) +struct UserStatsReceived_t_102x +{ + uint64_t m_nGameID; + uint32_t m_eResult; + CSteamID m_steamIDUser; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +typedef struct UserStatsReceived_t_099u UserStatsReceived_t_099u; +#pragma pack( push, 8 ) +struct UserStatsReceived_t_099u +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct UserStatsStored_t UserStatsStored_t; +#pragma pack( push, 8 ) +struct UserStatsStored_t +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct UserStatsUnloaded_t UserStatsUnloaded_t; +#pragma pack( push, 1 ) +struct UserStatsUnloaded_t +{ + CSteamID m_steamIDUser; +}; +#pragma pack( pop ) + +typedef struct UserSubscribedItemsListChanged_t UserSubscribedItemsListChanged_t; +#pragma pack( push, 4 ) +struct UserSubscribedItemsListChanged_t +{ + uint32_t m_nAppID; +}; +#pragma pack( pop ) + +typedef struct ValidateAuthTicketResponse_t_126 ValidateAuthTicketResponse_t_126; +#pragma pack( push, 4 ) +struct ValidateAuthTicketResponse_t_126 +{ + CSteamID m_SteamID; + uint32_t m_eAuthSessionResponse; + CSteamID m_OwnerSteamID; +}; +#pragma pack( pop ) + +typedef struct ValidateAuthTicketResponse_t_104 ValidateAuthTicketResponse_t_104; +#pragma pack( push, 4 ) +struct ValidateAuthTicketResponse_t_104 +{ + CSteamID m_SteamID; + uint32_t m_eAuthSessionResponse; +}; +#pragma pack( pop ) + +typedef struct VolumeHasChanged_t VolumeHasChanged_t; +#pragma pack( push, 4 ) +struct VolumeHasChanged_t +{ + float m_flNewVolume; +}; +#pragma pack( pop ) + +typedef struct WorkshopEULAStatus_t WorkshopEULAStatus_t; +#pragma pack( push, 4 ) +struct WorkshopEULAStatus_t +{ + uint32_t m_eResult; + uint32_t m_nAppID; + uint32_t m_unVersion; + uint32_t m_rtAction; + int8_t m_bAccepted; + int8_t m_bNeedsAction; + uint8_t __pad_18[2]; +}; +#pragma pack( pop ) + +typedef struct gameserveritem_t_105 gameserveritem_t_105; +#pragma pack( push, 4 ) +struct gameserveritem_t_105 +{ + servernetadr_t m_NetAdr; + int32_t m_nPing; + int8_t m_bHadSuccessfulResponse; + int8_t m_bDoNotRefresh; + char (m_szGameDir)[32]; + char (m_szMap)[32]; + char (m_szGameDescription)[64]; + uint8_t __pad_142[2]; + uint32_t m_nAppID; + int32_t m_nPlayers; + int32_t m_nMaxPlayers; + int32_t m_nBotPlayers; + int8_t m_bPassword; + int8_t m_bSecure; + uint8_t __pad_162[2]; + uint32_t m_ulTimeLastPlayed; + int32_t m_nServerVersion; + char (m_szServerName)[64]; + char (m_szGameTags)[128]; + CSteamID m_steamID; +}; +#pragma pack( pop ) + +typedef struct gameserveritem_t_099u gameserveritem_t_099u; +#pragma pack( push, 4 ) +struct gameserveritem_t_099u +{ + servernetadr_t m_NetAdr; + int32_t m_nPing; + int8_t m_bHadSuccessfulResponse; + int8_t m_bDoNotRefresh; + char (m_szGameDir)[32]; + char (m_szMap)[32]; + char (m_szGameDescription)[64]; + uint8_t __pad_142[2]; + int32_t m_nAppID; + int32_t m_nPlayers; + int32_t m_nMaxPlayers; + int32_t m_nBotPlayers; + int8_t m_bPassword; + int8_t m_bSecure; + uint8_t __pad_162[2]; + uint32_t m_ulTimeLastPlayed; + int32_t m_nServerVersion; + char (m_szServerName)[64]; + char (m_szGameTags)[128]; +}; +#pragma pack( pop ) + +typedef struct u64_SteamUGCDetails_t_128x u64_SteamUGCDetails_t_128x; +typedef struct w64_SteamUGCDetails_t_128x w64_SteamUGCDetails_t_128x; +typedef struct u32_SteamUGCDetails_t_128x u32_SteamUGCDetails_t_128x; +typedef struct w32_SteamUGCDetails_t_128x w32_SteamUGCDetails_t_128x; +typedef struct u64_SteamUGCDetails_t_126 u64_SteamUGCDetails_t_126; +typedef struct w64_SteamUGCDetails_t_126 w64_SteamUGCDetails_t_126; +typedef struct u32_SteamUGCDetails_t_126 u32_SteamUGCDetails_t_126; +typedef struct w32_SteamUGCDetails_t_126 w32_SteamUGCDetails_t_126; +typedef struct u64_AddAppDependencyResult_t u64_AddAppDependencyResult_t; +typedef struct w64_AddAppDependencyResult_t w64_AddAppDependencyResult_t; +typedef struct u32_AddAppDependencyResult_t u32_AddAppDependencyResult_t; +typedef struct w32_AddAppDependencyResult_t w32_AddAppDependencyResult_t; +typedef struct u64_AddUGCDependencyResult_t u64_AddUGCDependencyResult_t; +typedef struct w64_AddUGCDependencyResult_t w64_AddUGCDependencyResult_t; +typedef struct u32_AddUGCDependencyResult_t u32_AddUGCDependencyResult_t; +typedef struct w32_AddUGCDependencyResult_t w32_AddUGCDependencyResult_t; +typedef struct w64_CSteamAPIContext_143 u64_CSteamAPIContext_143; +typedef struct w64_CSteamAPIContext_143 w64_CSteamAPIContext_143; +typedef struct w32_CSteamAPIContext_143 u32_CSteamAPIContext_143; +typedef struct w32_CSteamAPIContext_143 w32_CSteamAPIContext_143; +typedef struct w64_CSteamAPIContext_145 u64_CSteamAPIContext_145; +typedef struct w64_CSteamAPIContext_145 w64_CSteamAPIContext_145; +typedef struct w32_CSteamAPIContext_145 u32_CSteamAPIContext_145; +typedef struct w32_CSteamAPIContext_145 w32_CSteamAPIContext_145; +typedef struct w64_CSteamAPIContext_137 u64_CSteamAPIContext_137; +typedef struct w64_CSteamAPIContext_137 w64_CSteamAPIContext_137; +typedef struct w32_CSteamAPIContext_137 u32_CSteamAPIContext_137; +typedef struct w32_CSteamAPIContext_137 w32_CSteamAPIContext_137; +typedef struct w64_CSteamAPIContext_141 u64_CSteamAPIContext_141; +typedef struct w64_CSteamAPIContext_141 w64_CSteamAPIContext_141; +typedef struct w32_CSteamAPIContext_141 u32_CSteamAPIContext_141; +typedef struct w32_CSteamAPIContext_141 w32_CSteamAPIContext_141; +typedef struct u_CSteamCallback u_CSteamCallback; +typedef struct u_CSteamCallback u64_CSteamCallback; +typedef struct u_CSteamCallback u32_CSteamCallback; +typedef struct w_CSteamCallback w_CSteamCallback; +typedef struct w_CSteamCallback w64_CSteamCallback; +typedef struct w_CSteamCallback w32_CSteamCallback; +typedef struct w64_CSteamGameServerAPIContext_152 u64_CSteamGameServerAPIContext_152; +typedef struct w64_CSteamGameServerAPIContext_152 w64_CSteamGameServerAPIContext_152; +typedef struct w32_CSteamGameServerAPIContext_152 u32_CSteamGameServerAPIContext_152; +typedef struct w32_CSteamGameServerAPIContext_152 w32_CSteamGameServerAPIContext_152; +typedef struct w64_CSteamGameServerAPIContext_143 u64_CSteamGameServerAPIContext_143; +typedef struct w64_CSteamGameServerAPIContext_143 w64_CSteamGameServerAPIContext_143; +typedef struct w32_CSteamGameServerAPIContext_143 u32_CSteamGameServerAPIContext_143; +typedef struct w32_CSteamGameServerAPIContext_143 w32_CSteamGameServerAPIContext_143; +typedef struct w64_CallbackMsg_t u64_CallbackMsg_t; +typedef struct w64_CallbackMsg_t w64_CallbackMsg_t; +typedef struct w32_CallbackMsg_t u32_CallbackMsg_t; +typedef struct w32_CallbackMsg_t w32_CallbackMsg_t; +typedef struct u64_CreateBeaconCallback_t u64_CreateBeaconCallback_t; +typedef struct w64_CreateBeaconCallback_t w64_CreateBeaconCallback_t; +typedef struct u32_CreateBeaconCallback_t u32_CreateBeaconCallback_t; +typedef struct w32_CreateBeaconCallback_t w32_CreateBeaconCallback_t; +typedef struct u64_CreateItemResult_t u64_CreateItemResult_t; +typedef struct w64_CreateItemResult_t w64_CreateItemResult_t; +typedef struct u32_CreateItemResult_t u32_CreateItemResult_t; +typedef struct w32_CreateItemResult_t w32_CreateItemResult_t; +typedef struct u64_DeleteItemResult_t u64_DeleteItemResult_t; +typedef struct w64_DeleteItemResult_t w64_DeleteItemResult_t; +typedef struct u32_DeleteItemResult_t u32_DeleteItemResult_t; +typedef struct w32_DeleteItemResult_t w32_DeleteItemResult_t; +typedef struct u64_DownloadItemResult_t u64_DownloadItemResult_t; +typedef struct w64_DownloadItemResult_t w64_DownloadItemResult_t; +typedef struct u32_DownloadItemResult_t u32_DownloadItemResult_t; +typedef struct w32_DownloadItemResult_t w32_DownloadItemResult_t; +typedef struct u64_EndGameResultCallback_t u64_EndGameResultCallback_t; +typedef struct w64_EndGameResultCallback_t w64_EndGameResultCallback_t; +typedef struct u32_EndGameResultCallback_t u32_EndGameResultCallback_t; +typedef struct w32_EndGameResultCallback_t w32_EndGameResultCallback_t; +typedef struct u64_FileDetailsResult_t u64_FileDetailsResult_t; +typedef struct w64_FileDetailsResult_t w64_FileDetailsResult_t; +typedef struct u32_FileDetailsResult_t u32_FileDetailsResult_t; +typedef struct w32_FileDetailsResult_t w32_FileDetailsResult_t; +typedef struct u64_GSReputation_t_123 u64_GSReputation_t_123; +typedef struct w64_GSReputation_t_123 w64_GSReputation_t_123; +typedef struct u32_GSReputation_t_123 u32_GSReputation_t_123; +typedef struct w32_GSReputation_t_123 w32_GSReputation_t_123; +typedef struct w64_GSReputation_t_108 u64_GSReputation_t_108; +typedef struct w64_GSReputation_t_108 w64_GSReputation_t_108; +typedef struct u32_GSReputation_t_108 u32_GSReputation_t_108; +typedef struct w32_GSReputation_t_108 w32_GSReputation_t_108; +typedef struct u64_GetAppDependenciesResult_t u64_GetAppDependenciesResult_t; +typedef struct w64_GetAppDependenciesResult_t w64_GetAppDependenciesResult_t; +typedef struct u32_GetAppDependenciesResult_t u32_GetAppDependenciesResult_t; +typedef struct w32_GetAppDependenciesResult_t w32_GetAppDependenciesResult_t; +typedef struct u64_HTML_ChangedTitle_t u64_HTML_ChangedTitle_t; +typedef struct w64_HTML_ChangedTitle_t w64_HTML_ChangedTitle_t; +typedef struct w32_HTML_ChangedTitle_t u32_HTML_ChangedTitle_t; +typedef struct w32_HTML_ChangedTitle_t w32_HTML_ChangedTitle_t; +typedef struct u64_HTML_ComboNeedsPaint_t u64_HTML_ComboNeedsPaint_t; +typedef struct w64_HTML_ComboNeedsPaint_t w64_HTML_ComboNeedsPaint_t; +typedef struct w32_HTML_ComboNeedsPaint_t u32_HTML_ComboNeedsPaint_t; +typedef struct w32_HTML_ComboNeedsPaint_t w32_HTML_ComboNeedsPaint_t; +typedef struct u64_HTML_FileOpenDialog_t u64_HTML_FileOpenDialog_t; +typedef struct w64_HTML_FileOpenDialog_t w64_HTML_FileOpenDialog_t; +typedef struct u32_HTML_FileOpenDialog_t u32_HTML_FileOpenDialog_t; +typedef struct w32_HTML_FileOpenDialog_t w32_HTML_FileOpenDialog_t; +typedef struct u64_HTML_FinishedRequest_t u64_HTML_FinishedRequest_t; +typedef struct w64_HTML_FinishedRequest_t w64_HTML_FinishedRequest_t; +typedef struct u32_HTML_FinishedRequest_t u32_HTML_FinishedRequest_t; +typedef struct w32_HTML_FinishedRequest_t w32_HTML_FinishedRequest_t; +typedef struct u64_HTML_JSAlert_t u64_HTML_JSAlert_t; +typedef struct w64_HTML_JSAlert_t w64_HTML_JSAlert_t; +typedef struct w32_HTML_JSAlert_t u32_HTML_JSAlert_t; +typedef struct w32_HTML_JSAlert_t w32_HTML_JSAlert_t; +typedef struct u64_HTML_JSConfirm_t u64_HTML_JSConfirm_t; +typedef struct w64_HTML_JSConfirm_t w64_HTML_JSConfirm_t; +typedef struct w32_HTML_JSConfirm_t u32_HTML_JSConfirm_t; +typedef struct w32_HTML_JSConfirm_t w32_HTML_JSConfirm_t; +typedef struct u64_HTML_LinkAtPosition_t u64_HTML_LinkAtPosition_t; +typedef struct w64_HTML_LinkAtPosition_t w64_HTML_LinkAtPosition_t; +typedef struct u32_HTML_LinkAtPosition_t u32_HTML_LinkAtPosition_t; +typedef struct w32_HTML_LinkAtPosition_t w32_HTML_LinkAtPosition_t; +typedef struct u64_HTML_NeedsPaint_t u64_HTML_NeedsPaint_t; +typedef struct w64_HTML_NeedsPaint_t w64_HTML_NeedsPaint_t; +typedef struct w32_HTML_NeedsPaint_t u32_HTML_NeedsPaint_t; +typedef struct w32_HTML_NeedsPaint_t w32_HTML_NeedsPaint_t; +typedef struct u64_HTML_NewWindow_t_132x u64_HTML_NewWindow_t_132x; +typedef struct w64_HTML_NewWindow_t_132x w64_HTML_NewWindow_t_132x; +typedef struct u32_HTML_NewWindow_t_132x u32_HTML_NewWindow_t_132x; +typedef struct w32_HTML_NewWindow_t_132x w32_HTML_NewWindow_t_132x; +typedef struct u64_HTML_NewWindow_t_130x u64_HTML_NewWindow_t_130x; +typedef struct w64_HTML_NewWindow_t_130x w64_HTML_NewWindow_t_130x; +typedef struct u32_HTML_NewWindow_t_130x u32_HTML_NewWindow_t_130x; +typedef struct w32_HTML_NewWindow_t_130x w32_HTML_NewWindow_t_130x; +typedef struct u64_HTML_OpenLinkInNewTab_t u64_HTML_OpenLinkInNewTab_t; +typedef struct w64_HTML_OpenLinkInNewTab_t w64_HTML_OpenLinkInNewTab_t; +typedef struct u32_HTML_OpenLinkInNewTab_t u32_HTML_OpenLinkInNewTab_t; +typedef struct w32_HTML_OpenLinkInNewTab_t w32_HTML_OpenLinkInNewTab_t; +typedef struct u64_HTML_ShowToolTip_t u64_HTML_ShowToolTip_t; +typedef struct w64_HTML_ShowToolTip_t w64_HTML_ShowToolTip_t; +typedef struct w32_HTML_ShowToolTip_t u32_HTML_ShowToolTip_t; +typedef struct w32_HTML_ShowToolTip_t w32_HTML_ShowToolTip_t; +typedef struct u64_HTML_StartRequest_t u64_HTML_StartRequest_t; +typedef struct w64_HTML_StartRequest_t w64_HTML_StartRequest_t; +typedef struct u32_HTML_StartRequest_t u32_HTML_StartRequest_t; +typedef struct w32_HTML_StartRequest_t w32_HTML_StartRequest_t; +typedef struct u64_HTML_StatusText_t u64_HTML_StatusText_t; +typedef struct w64_HTML_StatusText_t w64_HTML_StatusText_t; +typedef struct w32_HTML_StatusText_t u32_HTML_StatusText_t; +typedef struct w32_HTML_StatusText_t w32_HTML_StatusText_t; +typedef struct u64_HTML_URLChanged_t u64_HTML_URLChanged_t; +typedef struct w64_HTML_URLChanged_t w64_HTML_URLChanged_t; +typedef struct u32_HTML_URLChanged_t u32_HTML_URLChanged_t; +typedef struct w32_HTML_URLChanged_t w32_HTML_URLChanged_t; +typedef struct u64_HTML_UpdateToolTip_t u64_HTML_UpdateToolTip_t; +typedef struct w64_HTML_UpdateToolTip_t w64_HTML_UpdateToolTip_t; +typedef struct w32_HTML_UpdateToolTip_t u32_HTML_UpdateToolTip_t; +typedef struct w32_HTML_UpdateToolTip_t w32_HTML_UpdateToolTip_t; +typedef struct u64_HTTPRequestCompleted_t_132x u64_HTTPRequestCompleted_t_132x; +typedef struct w64_HTTPRequestCompleted_t_132x w64_HTTPRequestCompleted_t_132x; +typedef struct u32_HTTPRequestCompleted_t_132x u32_HTTPRequestCompleted_t_132x; +typedef struct w32_HTTPRequestCompleted_t_132x w32_HTTPRequestCompleted_t_132x; +typedef struct u64_HTTPRequestCompleted_t_123 u64_HTTPRequestCompleted_t_123; +typedef struct w64_HTTPRequestCompleted_t_123 w64_HTTPRequestCompleted_t_123; +typedef struct u32_HTTPRequestCompleted_t_123 u32_HTTPRequestCompleted_t_123; +typedef struct w32_HTTPRequestCompleted_t_123 w32_HTTPRequestCompleted_t_123; +typedef struct w64_HTTPRequestCompleted_t_115 u64_HTTPRequestCompleted_t_115; +typedef struct w64_HTTPRequestCompleted_t_115 w64_HTTPRequestCompleted_t_115; +typedef struct u32_HTTPRequestCompleted_t_115 u32_HTTPRequestCompleted_t_115; +typedef struct w32_HTTPRequestCompleted_t_115 w32_HTTPRequestCompleted_t_115; +typedef struct u64_HTTPRequestDataReceived_t_123 u64_HTTPRequestDataReceived_t_123; +typedef struct w64_HTTPRequestDataReceived_t_123 w64_HTTPRequestDataReceived_t_123; +typedef struct u32_HTTPRequestDataReceived_t_123 u32_HTTPRequestDataReceived_t_123; +typedef struct w32_HTTPRequestDataReceived_t_123 w32_HTTPRequestDataReceived_t_123; +typedef struct w64_HTTPRequestDataReceived_t_121x u64_HTTPRequestDataReceived_t_121x; +typedef struct w64_HTTPRequestDataReceived_t_121x w64_HTTPRequestDataReceived_t_121x; +typedef struct u32_HTTPRequestDataReceived_t_121x u32_HTTPRequestDataReceived_t_121x; +typedef struct w32_HTTPRequestDataReceived_t_121x w32_HTTPRequestDataReceived_t_121x; +typedef struct u64_HTTPRequestHeadersReceived_t_123 u64_HTTPRequestHeadersReceived_t_123; +typedef struct w64_HTTPRequestHeadersReceived_t_123 w64_HTTPRequestHeadersReceived_t_123; +typedef struct u32_HTTPRequestHeadersReceived_t_123 u32_HTTPRequestHeadersReceived_t_123; +typedef struct w32_HTTPRequestHeadersReceived_t_123 w32_HTTPRequestHeadersReceived_t_123; +typedef struct w64_HTTPRequestHeadersReceived_t_121x u64_HTTPRequestHeadersReceived_t_121x; +typedef struct w64_HTTPRequestHeadersReceived_t_121x w64_HTTPRequestHeadersReceived_t_121x; +typedef struct u32_HTTPRequestHeadersReceived_t_121x u32_HTTPRequestHeadersReceived_t_121x; +typedef struct w32_HTTPRequestHeadersReceived_t_121x w32_HTTPRequestHeadersReceived_t_121x; +typedef struct u_ISteamMatchmakingPingResponse u_ISteamMatchmakingPingResponse; +typedef struct u_ISteamMatchmakingPingResponse u64_ISteamMatchmakingPingResponse; +typedef struct u_ISteamMatchmakingPingResponse u32_ISteamMatchmakingPingResponse; +typedef struct w_ISteamMatchmakingPingResponse w_ISteamMatchmakingPingResponse; +typedef struct w_ISteamMatchmakingPingResponse w64_ISteamMatchmakingPingResponse; +typedef struct w_ISteamMatchmakingPingResponse w32_ISteamMatchmakingPingResponse; +typedef struct u_ISteamMatchmakingPlayersResponse u_ISteamMatchmakingPlayersResponse; +typedef struct u_ISteamMatchmakingPlayersResponse u64_ISteamMatchmakingPlayersResponse; +typedef struct u_ISteamMatchmakingPlayersResponse u32_ISteamMatchmakingPlayersResponse; +typedef struct w_ISteamMatchmakingPlayersResponse w_ISteamMatchmakingPlayersResponse; +typedef struct w_ISteamMatchmakingPlayersResponse w64_ISteamMatchmakingPlayersResponse; +typedef struct w_ISteamMatchmakingPlayersResponse w32_ISteamMatchmakingPlayersResponse; +typedef struct u_ISteamMatchmakingRulesResponse u_ISteamMatchmakingRulesResponse; +typedef struct u_ISteamMatchmakingRulesResponse u64_ISteamMatchmakingRulesResponse; +typedef struct u_ISteamMatchmakingRulesResponse u32_ISteamMatchmakingRulesResponse; +typedef struct w_ISteamMatchmakingRulesResponse w_ISteamMatchmakingRulesResponse; +typedef struct w_ISteamMatchmakingRulesResponse w64_ISteamMatchmakingRulesResponse; +typedef struct w_ISteamMatchmakingRulesResponse w32_ISteamMatchmakingRulesResponse; +typedef struct u_ISteamMatchmakingServerListResponse_106 u_ISteamMatchmakingServerListResponse_106; +typedef struct u_ISteamMatchmakingServerListResponse_106 u64_ISteamMatchmakingServerListResponse_106; +typedef struct u_ISteamMatchmakingServerListResponse_106 u32_ISteamMatchmakingServerListResponse_106; +typedef struct w_ISteamMatchmakingServerListResponse_106 w_ISteamMatchmakingServerListResponse_106; +typedef struct w_ISteamMatchmakingServerListResponse_106 w64_ISteamMatchmakingServerListResponse_106; +typedef struct w_ISteamMatchmakingServerListResponse_106 w32_ISteamMatchmakingServerListResponse_106; +typedef struct u_ISteamMatchmakingServerListResponse_099u u_ISteamMatchmakingServerListResponse_099u; +typedef struct u_ISteamMatchmakingServerListResponse_099u u64_ISteamMatchmakingServerListResponse_099u; +typedef struct u_ISteamMatchmakingServerListResponse_099u u32_ISteamMatchmakingServerListResponse_099u; +typedef struct w_ISteamMatchmakingServerListResponse_099u w_ISteamMatchmakingServerListResponse_099u; +typedef struct w_ISteamMatchmakingServerListResponse_099u w64_ISteamMatchmakingServerListResponse_099u; +typedef struct w_ISteamMatchmakingServerListResponse_099u w32_ISteamMatchmakingServerListResponse_099u; +typedef struct u_ISteamNetworkingConnectionCustomSignaling u_ISteamNetworkingConnectionCustomSignaling; +typedef struct u_ISteamNetworkingConnectionCustomSignaling u64_ISteamNetworkingConnectionCustomSignaling; +typedef struct u_ISteamNetworkingConnectionCustomSignaling u32_ISteamNetworkingConnectionCustomSignaling; +typedef struct w_ISteamNetworkingConnectionCustomSignaling w_ISteamNetworkingConnectionCustomSignaling; +typedef struct w_ISteamNetworkingConnectionCustomSignaling w64_ISteamNetworkingConnectionCustomSignaling; +typedef struct w_ISteamNetworkingConnectionCustomSignaling w32_ISteamNetworkingConnectionCustomSignaling; +typedef struct u_ISteamNetworkingCustomSignalingRecvContext u_ISteamNetworkingCustomSignalingRecvContext; +typedef struct u_ISteamNetworkingCustomSignalingRecvContext u64_ISteamNetworkingCustomSignalingRecvContext; +typedef struct u_ISteamNetworkingCustomSignalingRecvContext u32_ISteamNetworkingCustomSignalingRecvContext; +typedef struct w_ISteamNetworkingCustomSignalingRecvContext w_ISteamNetworkingCustomSignalingRecvContext; +typedef struct w_ISteamNetworkingCustomSignalingRecvContext w64_ISteamNetworkingCustomSignalingRecvContext; +typedef struct w_ISteamNetworkingCustomSignalingRecvContext w32_ISteamNetworkingCustomSignalingRecvContext; +typedef struct u64_ItemInstalled_t u64_ItemInstalled_t; +typedef struct w64_ItemInstalled_t w64_ItemInstalled_t; +typedef struct u32_ItemInstalled_t u32_ItemInstalled_t; +typedef struct w32_ItemInstalled_t w32_ItemInstalled_t; +typedef struct u64_JoinPartyCallback_t u64_JoinPartyCallback_t; +typedef struct w64_JoinPartyCallback_t w64_JoinPartyCallback_t; +typedef struct u32_JoinPartyCallback_t u32_JoinPartyCallback_t; +typedef struct w32_JoinPartyCallback_t w32_JoinPartyCallback_t; +typedef struct u64_LeaderboardEntry_t_123 u64_LeaderboardEntry_t_123; +typedef struct w64_LeaderboardEntry_t_123 w64_LeaderboardEntry_t_123; +typedef struct u32_LeaderboardEntry_t_123 u32_LeaderboardEntry_t_123; +typedef struct w32_LeaderboardEntry_t_123 w32_LeaderboardEntry_t_123; +typedef struct w64_LeaderboardEntry_t_111x u64_LeaderboardEntry_t_111x; +typedef struct w64_LeaderboardEntry_t_111x w64_LeaderboardEntry_t_111x; +typedef struct u32_LeaderboardEntry_t_111x u32_LeaderboardEntry_t_111x; +typedef struct w32_LeaderboardEntry_t_111x w32_LeaderboardEntry_t_111x; +typedef struct w64_LeaderboardEntry_t_104 u64_LeaderboardEntry_t_104; +typedef struct w64_LeaderboardEntry_t_104 w64_LeaderboardEntry_t_104; +typedef struct w32_LeaderboardEntry_t_104 u32_LeaderboardEntry_t_104; +typedef struct w32_LeaderboardEntry_t_104 w32_LeaderboardEntry_t_104; +typedef struct u64_LeaderboardScoreUploaded_t_123 u64_LeaderboardScoreUploaded_t_123; +typedef struct w64_LeaderboardScoreUploaded_t_123 w64_LeaderboardScoreUploaded_t_123; +typedef struct u32_LeaderboardScoreUploaded_t_123 u32_LeaderboardScoreUploaded_t_123; +typedef struct w32_LeaderboardScoreUploaded_t_123 w32_LeaderboardScoreUploaded_t_123; +typedef struct w64_LeaderboardScoreUploaded_t_104 u64_LeaderboardScoreUploaded_t_104; +typedef struct w64_LeaderboardScoreUploaded_t_104 w64_LeaderboardScoreUploaded_t_104; +typedef struct u32_LeaderboardScoreUploaded_t_104 u32_LeaderboardScoreUploaded_t_104; +typedef struct w32_LeaderboardScoreUploaded_t_104 w32_LeaderboardScoreUploaded_t_104; +typedef struct u64_LeaderboardUGCSet_t_123 u64_LeaderboardUGCSet_t_123; +typedef struct w64_LeaderboardUGCSet_t_123 w64_LeaderboardUGCSet_t_123; +typedef struct u32_LeaderboardUGCSet_t_123 u32_LeaderboardUGCSet_t_123; +typedef struct w32_LeaderboardUGCSet_t_123 w32_LeaderboardUGCSet_t_123; +typedef struct w64_LeaderboardUGCSet_t_111x u64_LeaderboardUGCSet_t_111x; +typedef struct w64_LeaderboardUGCSet_t_111x w64_LeaderboardUGCSet_t_111x; +typedef struct u32_LeaderboardUGCSet_t_111x u32_LeaderboardUGCSet_t_111x; +typedef struct w32_LeaderboardUGCSet_t_111x w32_LeaderboardUGCSet_t_111x; +typedef struct u64_LobbyCreated_t_123 u64_LobbyCreated_t_123; +typedef struct w64_LobbyCreated_t_123 w64_LobbyCreated_t_123; +typedef struct u32_LobbyCreated_t_123 u32_LobbyCreated_t_123; +typedef struct w32_LobbyCreated_t_123 w32_LobbyCreated_t_123; +typedef struct w64_LobbyCreated_t_099u u64_LobbyCreated_t_099u; +typedef struct w64_LobbyCreated_t_099u w64_LobbyCreated_t_099u; +typedef struct u32_LobbyCreated_t_099u u32_LobbyCreated_t_099u; +typedef struct w32_LobbyCreated_t_099u w32_LobbyCreated_t_099u; +typedef struct u64_MicroTxnAuthorizationResponse_t_123 u64_MicroTxnAuthorizationResponse_t_123; +typedef struct w64_MicroTxnAuthorizationResponse_t_123 w64_MicroTxnAuthorizationResponse_t_123; +typedef struct u32_MicroTxnAuthorizationResponse_t_123 u32_MicroTxnAuthorizationResponse_t_123; +typedef struct w32_MicroTxnAuthorizationResponse_t_123 w32_MicroTxnAuthorizationResponse_t_123; +typedef struct w64_MicroTxnAuthorizationResponse_t_109 u64_MicroTxnAuthorizationResponse_t_109; +typedef struct w64_MicroTxnAuthorizationResponse_t_109 w64_MicroTxnAuthorizationResponse_t_109; +typedef struct u32_MicroTxnAuthorizationResponse_t_109 u32_MicroTxnAuthorizationResponse_t_109; +typedef struct w32_MicroTxnAuthorizationResponse_t_109 w32_MicroTxnAuthorizationResponse_t_109; +typedef struct u64_PS3TrophiesInstalled_t_123 u64_PS3TrophiesInstalled_t_123; +typedef struct w64_PS3TrophiesInstalled_t_123 w64_PS3TrophiesInstalled_t_123; +typedef struct u32_PS3TrophiesInstalled_t_123 u32_PS3TrophiesInstalled_t_123; +typedef struct w32_PS3TrophiesInstalled_t_123 w32_PS3TrophiesInstalled_t_123; +typedef struct w64_PS3TrophiesInstalled_t_112x u64_PS3TrophiesInstalled_t_112x; +typedef struct w64_PS3TrophiesInstalled_t_112x w64_PS3TrophiesInstalled_t_112x; +typedef struct u32_PS3TrophiesInstalled_t_112x u32_PS3TrophiesInstalled_t_112x; +typedef struct w32_PS3TrophiesInstalled_t_112x w32_PS3TrophiesInstalled_t_112x; +typedef struct u64_RemoteStorageAppSyncProgress_t_123 u64_RemoteStorageAppSyncProgress_t_123; +typedef struct w64_RemoteStorageAppSyncProgress_t_123 w64_RemoteStorageAppSyncProgress_t_123; +typedef struct u32_RemoteStorageAppSyncProgress_t_123 u32_RemoteStorageAppSyncProgress_t_123; +typedef struct w32_RemoteStorageAppSyncProgress_t_123 w32_RemoteStorageAppSyncProgress_t_123; +typedef struct w64_RemoteStorageAppSyncProgress_t_111x u64_RemoteStorageAppSyncProgress_t_111x; +typedef struct w64_RemoteStorageAppSyncProgress_t_111x w64_RemoteStorageAppSyncProgress_t_111x; +typedef struct u32_RemoteStorageAppSyncProgress_t_111x u32_RemoteStorageAppSyncProgress_t_111x; +typedef struct w32_RemoteStorageAppSyncProgress_t_111x w32_RemoteStorageAppSyncProgress_t_111x; +typedef struct u64_RemoteStorageDeletePublishedFileResult_t_123 u64_RemoteStorageDeletePublishedFileResult_t_123; +typedef struct w64_RemoteStorageDeletePublishedFileResult_t_123 w64_RemoteStorageDeletePublishedFileResult_t_123; +typedef struct u32_RemoteStorageDeletePublishedFileResult_t_123 u32_RemoteStorageDeletePublishedFileResult_t_123; +typedef struct w32_RemoteStorageDeletePublishedFileResult_t_123 w32_RemoteStorageDeletePublishedFileResult_t_123; +typedef struct w64_RemoteStorageDeletePublishedFileResult_t_116x u64_RemoteStorageDeletePublishedFileResult_t_116x; +typedef struct w64_RemoteStorageDeletePublishedFileResult_t_116x w64_RemoteStorageDeletePublishedFileResult_t_116x; +typedef struct u32_RemoteStorageDeletePublishedFileResult_t_116x u32_RemoteStorageDeletePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageDeletePublishedFileResult_t_116x w32_RemoteStorageDeletePublishedFileResult_t_116x; +typedef struct u64_RemoteStorageDownloadUGCResult_t_123 u64_RemoteStorageDownloadUGCResult_t_123; +typedef struct w64_RemoteStorageDownloadUGCResult_t_123 w64_RemoteStorageDownloadUGCResult_t_123; +typedef struct u32_RemoteStorageDownloadUGCResult_t_123 u32_RemoteStorageDownloadUGCResult_t_123; +typedef struct w32_RemoteStorageDownloadUGCResult_t_123 w32_RemoteStorageDownloadUGCResult_t_123; +typedef struct w64_RemoteStorageDownloadUGCResult_t_116x u64_RemoteStorageDownloadUGCResult_t_116x; +typedef struct w64_RemoteStorageDownloadUGCResult_t_116x w64_RemoteStorageDownloadUGCResult_t_116x; +typedef struct u32_RemoteStorageDownloadUGCResult_t_116x u32_RemoteStorageDownloadUGCResult_t_116x; +typedef struct w32_RemoteStorageDownloadUGCResult_t_116x w32_RemoteStorageDownloadUGCResult_t_116x; +typedef struct w64_RemoteStorageDownloadUGCResult_t_111x u64_RemoteStorageDownloadUGCResult_t_111x; +typedef struct w64_RemoteStorageDownloadUGCResult_t_111x w64_RemoteStorageDownloadUGCResult_t_111x; +typedef struct u32_RemoteStorageDownloadUGCResult_t_111x u32_RemoteStorageDownloadUGCResult_t_111x; +typedef struct w32_RemoteStorageDownloadUGCResult_t_111x w32_RemoteStorageDownloadUGCResult_t_111x; +typedef struct u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef struct u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef struct w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef struct w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef struct u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef struct w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef struct u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef struct u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef struct w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef struct w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef struct u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef struct w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef struct u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef struct u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef struct w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef struct w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef struct u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef struct w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef struct u64_RemoteStorageEnumerateWorkshopFilesResult_t_125 u64_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_125 w64_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_125 u32_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_125 w32_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef struct u64_RemoteStorageEnumerateWorkshopFilesResult_t_123 u64_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_123 w64_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_123 u32_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_123 w32_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_119 u64_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_119 w64_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_119 u32_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_119 w32_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef struct u64_RemoteStorageFileShareResult_t_128x u64_RemoteStorageFileShareResult_t_128x; +typedef struct w64_RemoteStorageFileShareResult_t_128x w64_RemoteStorageFileShareResult_t_128x; +typedef struct u32_RemoteStorageFileShareResult_t_128x u32_RemoteStorageFileShareResult_t_128x; +typedef struct w32_RemoteStorageFileShareResult_t_128x w32_RemoteStorageFileShareResult_t_128x; +typedef struct u64_RemoteStorageFileShareResult_t_123 u64_RemoteStorageFileShareResult_t_123; +typedef struct w64_RemoteStorageFileShareResult_t_123 w64_RemoteStorageFileShareResult_t_123; +typedef struct u32_RemoteStorageFileShareResult_t_123 u32_RemoteStorageFileShareResult_t_123; +typedef struct w32_RemoteStorageFileShareResult_t_123 w32_RemoteStorageFileShareResult_t_123; +typedef struct w64_RemoteStorageFileShareResult_t_111x u64_RemoteStorageFileShareResult_t_111x; +typedef struct w64_RemoteStorageFileShareResult_t_111x w64_RemoteStorageFileShareResult_t_111x; +typedef struct u32_RemoteStorageFileShareResult_t_111x u32_RemoteStorageFileShareResult_t_111x; +typedef struct w32_RemoteStorageFileShareResult_t_111x w32_RemoteStorageFileShareResult_t_111x; +typedef struct u64_RemoteStorageGetPublishedFileDetailsResult_t_126 u64_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_126 w64_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_126 u32_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_126 w32_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef struct u64_RemoteStorageGetPublishedFileDetailsResult_t_123 u64_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_123 w64_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_123 u32_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_123 w32_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119x u64_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119x w64_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_119x u32_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_119x w32_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119 u64_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119 w64_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_119 u32_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_119 w32_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_118 u64_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_118 w64_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_118 u32_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_118 w32_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_116x u64_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef struct w64_RemoteStorageGetPublishedFileDetailsResult_t_116x w64_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef struct u32_RemoteStorageGetPublishedFileDetailsResult_t_116x u32_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef struct w32_RemoteStorageGetPublishedFileDetailsResult_t_116x w32_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef struct u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef struct w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef struct u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef struct w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef struct w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef struct w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef struct u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef struct w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef struct u64_RemoteStoragePublishFileResult_t_125 u64_RemoteStoragePublishFileResult_t_125; +typedef struct w64_RemoteStoragePublishFileResult_t_125 w64_RemoteStoragePublishFileResult_t_125; +typedef struct u32_RemoteStoragePublishFileResult_t_125 u32_RemoteStoragePublishFileResult_t_125; +typedef struct w32_RemoteStoragePublishFileResult_t_125 w32_RemoteStoragePublishFileResult_t_125; +typedef struct u64_RemoteStoragePublishFileResult_t_123 u64_RemoteStoragePublishFileResult_t_123; +typedef struct w64_RemoteStoragePublishFileResult_t_123 w64_RemoteStoragePublishFileResult_t_123; +typedef struct u32_RemoteStoragePublishFileResult_t_123 u32_RemoteStoragePublishFileResult_t_123; +typedef struct w32_RemoteStoragePublishFileResult_t_123 w32_RemoteStoragePublishFileResult_t_123; +typedef struct w64_RemoteStoragePublishFileResult_t_116x u64_RemoteStoragePublishFileResult_t_116x; +typedef struct w64_RemoteStoragePublishFileResult_t_116x w64_RemoteStoragePublishFileResult_t_116x; +typedef struct u32_RemoteStoragePublishFileResult_t_116x u32_RemoteStoragePublishFileResult_t_116x; +typedef struct w32_RemoteStoragePublishFileResult_t_116x w32_RemoteStoragePublishFileResult_t_116x; +typedef struct u64_RemoteStoragePublishedFileUpdated_t u64_RemoteStoragePublishedFileUpdated_t; +typedef struct w64_RemoteStoragePublishedFileUpdated_t w64_RemoteStoragePublishedFileUpdated_t; +typedef struct u32_RemoteStoragePublishedFileUpdated_t u32_RemoteStoragePublishedFileUpdated_t; +typedef struct w32_RemoteStoragePublishedFileUpdated_t w32_RemoteStoragePublishedFileUpdated_t; +typedef struct u64_RemoteStorageSetUserPublishedFileActionResult_t_123 u64_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef struct w64_RemoteStorageSetUserPublishedFileActionResult_t_123 w64_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef struct u32_RemoteStorageSetUserPublishedFileActionResult_t_123 u32_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef struct w32_RemoteStorageSetUserPublishedFileActionResult_t_123 w32_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef struct w64_RemoteStorageSetUserPublishedFileActionResult_t_119 u64_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef struct w64_RemoteStorageSetUserPublishedFileActionResult_t_119 w64_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef struct u32_RemoteStorageSetUserPublishedFileActionResult_t_119 u32_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef struct w32_RemoteStorageSetUserPublishedFileActionResult_t_119 w32_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef struct u64_RemoteStorageSubscribePublishedFileResult_t_123 u64_RemoteStorageSubscribePublishedFileResult_t_123; +typedef struct w64_RemoteStorageSubscribePublishedFileResult_t_123 w64_RemoteStorageSubscribePublishedFileResult_t_123; +typedef struct u32_RemoteStorageSubscribePublishedFileResult_t_123 u32_RemoteStorageSubscribePublishedFileResult_t_123; +typedef struct w32_RemoteStorageSubscribePublishedFileResult_t_123 w32_RemoteStorageSubscribePublishedFileResult_t_123; +typedef struct w64_RemoteStorageSubscribePublishedFileResult_t_116x u64_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef struct w64_RemoteStorageSubscribePublishedFileResult_t_116x w64_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageSubscribePublishedFileResult_t_116x u32_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageSubscribePublishedFileResult_t_116x w32_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef struct u64_RemoteStorageUnsubscribePublishedFileResult_t_123 u64_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef struct w64_RemoteStorageUnsubscribePublishedFileResult_t_123 w64_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef struct u32_RemoteStorageUnsubscribePublishedFileResult_t_123 u32_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef struct w32_RemoteStorageUnsubscribePublishedFileResult_t_123 w32_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef struct w64_RemoteStorageUnsubscribePublishedFileResult_t_116x u64_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef struct w64_RemoteStorageUnsubscribePublishedFileResult_t_116x w64_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageUnsubscribePublishedFileResult_t_116x u32_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageUnsubscribePublishedFileResult_t_116x w32_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef struct w64_RemoteStorageUpdatePublishedFileRequest_t u64_RemoteStorageUpdatePublishedFileRequest_t; +typedef struct w64_RemoteStorageUpdatePublishedFileRequest_t w64_RemoteStorageUpdatePublishedFileRequest_t; +typedef struct w32_RemoteStorageUpdatePublishedFileRequest_t u32_RemoteStorageUpdatePublishedFileRequest_t; +typedef struct w32_RemoteStorageUpdatePublishedFileRequest_t w32_RemoteStorageUpdatePublishedFileRequest_t; +typedef struct u64_RemoteStorageUpdatePublishedFileResult_t_125 u64_RemoteStorageUpdatePublishedFileResult_t_125; +typedef struct w64_RemoteStorageUpdatePublishedFileResult_t_125 w64_RemoteStorageUpdatePublishedFileResult_t_125; +typedef struct u32_RemoteStorageUpdatePublishedFileResult_t_125 u32_RemoteStorageUpdatePublishedFileResult_t_125; +typedef struct w32_RemoteStorageUpdatePublishedFileResult_t_125 w32_RemoteStorageUpdatePublishedFileResult_t_125; +typedef struct u64_RemoteStorageUpdatePublishedFileResult_t_123 u64_RemoteStorageUpdatePublishedFileResult_t_123; +typedef struct w64_RemoteStorageUpdatePublishedFileResult_t_123 w64_RemoteStorageUpdatePublishedFileResult_t_123; +typedef struct u32_RemoteStorageUpdatePublishedFileResult_t_123 u32_RemoteStorageUpdatePublishedFileResult_t_123; +typedef struct w32_RemoteStorageUpdatePublishedFileResult_t_123 w32_RemoteStorageUpdatePublishedFileResult_t_123; +typedef struct w64_RemoteStorageUpdatePublishedFileResult_t_116x u64_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef struct w64_RemoteStorageUpdatePublishedFileResult_t_116x w64_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef struct u32_RemoteStorageUpdatePublishedFileResult_t_116x u32_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef struct w32_RemoteStorageUpdatePublishedFileResult_t_116x w32_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef struct u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef struct w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef struct u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef struct w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef struct w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef struct w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef struct u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef struct w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef struct u64_RemoteStorageUserVoteDetails_t_123 u64_RemoteStorageUserVoteDetails_t_123; +typedef struct w64_RemoteStorageUserVoteDetails_t_123 w64_RemoteStorageUserVoteDetails_t_123; +typedef struct u32_RemoteStorageUserVoteDetails_t_123 u32_RemoteStorageUserVoteDetails_t_123; +typedef struct w32_RemoteStorageUserVoteDetails_t_123 w32_RemoteStorageUserVoteDetails_t_123; +typedef struct w64_RemoteStorageUserVoteDetails_t_119 u64_RemoteStorageUserVoteDetails_t_119; +typedef struct w64_RemoteStorageUserVoteDetails_t_119 w64_RemoteStorageUserVoteDetails_t_119; +typedef struct u32_RemoteStorageUserVoteDetails_t_119 u32_RemoteStorageUserVoteDetails_t_119; +typedef struct w32_RemoteStorageUserVoteDetails_t_119 w32_RemoteStorageUserVoteDetails_t_119; +typedef struct u64_RemoveAppDependencyResult_t u64_RemoveAppDependencyResult_t; +typedef struct w64_RemoveAppDependencyResult_t w64_RemoveAppDependencyResult_t; +typedef struct u32_RemoveAppDependencyResult_t u32_RemoveAppDependencyResult_t; +typedef struct w32_RemoveAppDependencyResult_t w32_RemoveAppDependencyResult_t; +typedef struct u64_RemoveUGCDependencyResult_t u64_RemoveUGCDependencyResult_t; +typedef struct w64_RemoveUGCDependencyResult_t w64_RemoveUGCDependencyResult_t; +typedef struct u32_RemoveUGCDependencyResult_t u32_RemoveUGCDependencyResult_t; +typedef struct w32_RemoveUGCDependencyResult_t w32_RemoveUGCDependencyResult_t; +typedef struct u64_RequestPlayersForGameFinalResultCallback_t u64_RequestPlayersForGameFinalResultCallback_t; +typedef struct w64_RequestPlayersForGameFinalResultCallback_t w64_RequestPlayersForGameFinalResultCallback_t; +typedef struct u32_RequestPlayersForGameFinalResultCallback_t u32_RequestPlayersForGameFinalResultCallback_t; +typedef struct w32_RequestPlayersForGameFinalResultCallback_t w32_RequestPlayersForGameFinalResultCallback_t; +typedef struct u64_RequestPlayersForGameProgressCallback_t u64_RequestPlayersForGameProgressCallback_t; +typedef struct w64_RequestPlayersForGameProgressCallback_t w64_RequestPlayersForGameProgressCallback_t; +typedef struct u32_RequestPlayersForGameProgressCallback_t u32_RequestPlayersForGameProgressCallback_t; +typedef struct w32_RequestPlayersForGameProgressCallback_t w32_RequestPlayersForGameProgressCallback_t; +typedef struct u64_RequestPlayersForGameResultCallback_t u64_RequestPlayersForGameResultCallback_t; +typedef struct w64_RequestPlayersForGameResultCallback_t w64_RequestPlayersForGameResultCallback_t; +typedef struct u32_RequestPlayersForGameResultCallback_t u32_RequestPlayersForGameResultCallback_t; +typedef struct w32_RequestPlayersForGameResultCallback_t w32_RequestPlayersForGameResultCallback_t; +typedef struct u64_SteamInputConfigurationLoaded_t u64_SteamInputConfigurationLoaded_t; +typedef struct w64_SteamInputConfigurationLoaded_t w64_SteamInputConfigurationLoaded_t; +typedef struct u32_SteamInputConfigurationLoaded_t u32_SteamInputConfigurationLoaded_t; +typedef struct w32_SteamInputConfigurationLoaded_t w32_SteamInputConfigurationLoaded_t; +typedef struct u64_SteamInputGamepadSlotChange_t u64_SteamInputGamepadSlotChange_t; +typedef struct w64_SteamInputGamepadSlotChange_t w64_SteamInputGamepadSlotChange_t; +typedef struct u32_SteamInputGamepadSlotChange_t u32_SteamInputGamepadSlotChange_t; +typedef struct w32_SteamInputGamepadSlotChange_t w32_SteamInputGamepadSlotChange_t; +typedef struct u64_SteamInventoryStartPurchaseResult_t u64_SteamInventoryStartPurchaseResult_t; +typedef struct w64_SteamInventoryStartPurchaseResult_t w64_SteamInventoryStartPurchaseResult_t; +typedef struct u32_SteamInventoryStartPurchaseResult_t u32_SteamInventoryStartPurchaseResult_t; +typedef struct w32_SteamInventoryStartPurchaseResult_t w32_SteamInventoryStartPurchaseResult_t; +typedef struct u64_SteamNetConnectionStatusChangedCallback_t_153a u64_SteamNetConnectionStatusChangedCallback_t_153a; +typedef struct w64_SteamNetConnectionStatusChangedCallback_t_153a w64_SteamNetConnectionStatusChangedCallback_t_153a; +typedef struct u32_SteamNetConnectionStatusChangedCallback_t_153a u32_SteamNetConnectionStatusChangedCallback_t_153a; +typedef struct w32_SteamNetConnectionStatusChangedCallback_t_153a w32_SteamNetConnectionStatusChangedCallback_t_153a; +typedef struct u64_SteamNetConnectionStatusChangedCallback_t_144 u64_SteamNetConnectionStatusChangedCallback_t_144; +typedef struct w64_SteamNetConnectionStatusChangedCallback_t_144 w64_SteamNetConnectionStatusChangedCallback_t_144; +typedef struct u32_SteamNetConnectionStatusChangedCallback_t_144 u32_SteamNetConnectionStatusChangedCallback_t_144; +typedef struct w32_SteamNetConnectionStatusChangedCallback_t_144 w32_SteamNetConnectionStatusChangedCallback_t_144; +typedef struct u64_SteamNetConnectionStatusChangedCallback_t_151 u64_SteamNetConnectionStatusChangedCallback_t_151; +typedef struct w64_SteamNetConnectionStatusChangedCallback_t_151 w64_SteamNetConnectionStatusChangedCallback_t_151; +typedef struct u32_SteamNetConnectionStatusChangedCallback_t_151 u32_SteamNetConnectionStatusChangedCallback_t_151; +typedef struct w32_SteamNetConnectionStatusChangedCallback_t_151 w32_SteamNetConnectionStatusChangedCallback_t_151; +typedef struct u64_SteamNetworkingMessage_t_153a u64_SteamNetworkingMessage_t_153a; +typedef struct w64_SteamNetworkingMessage_t_153a w64_SteamNetworkingMessage_t_153a; +typedef struct u32_SteamNetworkingMessage_t_153a u32_SteamNetworkingMessage_t_153a; +typedef struct w32_SteamNetworkingMessage_t_153a w32_SteamNetworkingMessage_t_153a; +typedef struct u64_SteamNetworkingMessage_t_147 u64_SteamNetworkingMessage_t_147; +typedef struct w64_SteamNetworkingMessage_t_147 w64_SteamNetworkingMessage_t_147; +typedef struct u32_SteamNetworkingMessage_t_147 u32_SteamNetworkingMessage_t_147; +typedef struct w32_SteamNetworkingMessage_t_147 w32_SteamNetworkingMessage_t_147; +typedef struct u64_SteamNetworkingMessage_t_151 u64_SteamNetworkingMessage_t_151; +typedef struct w64_SteamNetworkingMessage_t_151 w64_SteamNetworkingMessage_t_151; +typedef struct u32_SteamNetworkingMessage_t_151 u32_SteamNetworkingMessage_t_151; +typedef struct w32_SteamNetworkingMessage_t_151 w32_SteamNetworkingMessage_t_151; +typedef struct u64_SteamNetworkingMessage_t_144 u64_SteamNetworkingMessage_t_144; +typedef struct w64_SteamNetworkingMessage_t_144 w64_SteamNetworkingMessage_t_144; +typedef struct u32_SteamNetworkingMessage_t_144 u32_SteamNetworkingMessage_t_144; +typedef struct w32_SteamNetworkingMessage_t_144 w32_SteamNetworkingMessage_t_144; +typedef struct w64_SteamParamStringArray_t u64_SteamParamStringArray_t; +typedef struct w64_SteamParamStringArray_t w64_SteamParamStringArray_t; +typedef struct w32_SteamParamStringArray_t u32_SteamParamStringArray_t; +typedef struct w32_SteamParamStringArray_t w32_SteamParamStringArray_t; +typedef struct u64_SteamPartyBeaconLocation_t u64_SteamPartyBeaconLocation_t; +typedef struct w64_SteamPartyBeaconLocation_t w64_SteamPartyBeaconLocation_t; +typedef struct u32_SteamPartyBeaconLocation_t u32_SteamPartyBeaconLocation_t; +typedef struct w32_SteamPartyBeaconLocation_t w32_SteamPartyBeaconLocation_t; +typedef struct u64_SteamUGCRequestUGCDetailsResult_t_128x u64_SteamUGCRequestUGCDetailsResult_t_128x; +typedef struct w64_SteamUGCRequestUGCDetailsResult_t_128x w64_SteamUGCRequestUGCDetailsResult_t_128x; +typedef struct u32_SteamUGCRequestUGCDetailsResult_t_128x u32_SteamUGCRequestUGCDetailsResult_t_128x; +typedef struct w32_SteamUGCRequestUGCDetailsResult_t_128x w32_SteamUGCRequestUGCDetailsResult_t_128x; +typedef struct u64_SteamUGCRequestUGCDetailsResult_t_129 u64_SteamUGCRequestUGCDetailsResult_t_129; +typedef struct w64_SteamUGCRequestUGCDetailsResult_t_129 w64_SteamUGCRequestUGCDetailsResult_t_129; +typedef struct u32_SteamUGCRequestUGCDetailsResult_t_129 u32_SteamUGCRequestUGCDetailsResult_t_129; +typedef struct w32_SteamUGCRequestUGCDetailsResult_t_129 w32_SteamUGCRequestUGCDetailsResult_t_129; +typedef struct u64_SteamUGCRequestUGCDetailsResult_t_126 u64_SteamUGCRequestUGCDetailsResult_t_126; +typedef struct w64_SteamUGCRequestUGCDetailsResult_t_126 w64_SteamUGCRequestUGCDetailsResult_t_126; +typedef struct u32_SteamUGCRequestUGCDetailsResult_t_126 u32_SteamUGCRequestUGCDetailsResult_t_126; +typedef struct w32_SteamUGCRequestUGCDetailsResult_t_126 w32_SteamUGCRequestUGCDetailsResult_t_126; +typedef struct u64_SubmitPlayerResultResultCallback_t u64_SubmitPlayerResultResultCallback_t; +typedef struct w64_SubmitPlayerResultResultCallback_t w64_SubmitPlayerResultResultCallback_t; +typedef struct u32_SubmitPlayerResultResultCallback_t u32_SubmitPlayerResultResultCallback_t; +typedef struct w32_SubmitPlayerResultResultCallback_t w32_SubmitPlayerResultResultCallback_t; +#pragma pack( push, 8 ) +struct w64_SteamUGCDetails_t_128x +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + W64_ARRAY(char, 1025, m_rgchTags); + uint8_t __pad_9212[4]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + W64_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; + uint32_t m_unNumChildren; + uint8_t __pad_9772[4]; +#ifdef __cplusplus + operator u64_SteamUGCDetails_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamUGCDetails_t_128x +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U64_ARRAY(char, 129, m_rgchTitle); + U64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[3]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + U64_ARRAY(char, 1025, m_rgchTags); + uint64_t m_hFile; + uint64_t m_hPreviewFile; + U64_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U64_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; + uint32_t m_unNumChildren; +#ifdef __cplusplus + operator w64_SteamUGCDetails_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamUGCDetails_t_128x +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + W32_ARRAY(char, 1025, m_rgchTags); + uint8_t __pad_9212[4]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + W32_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; + uint32_t m_unNumChildren; + uint8_t __pad_9772[4]; +#ifdef __cplusplus + operator u32_SteamUGCDetails_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamUGCDetails_t_128x +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[3]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + U32_ARRAY(char, 1025, m_rgchTags); + uint64_t m_hFile; + uint64_t m_hPreviewFile; + U32_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; + uint32_t m_unNumChildren; +#ifdef __cplusplus + operator w32_SteamUGCDetails_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamUGCDetails_t_128x w_SteamUGCDetails_t_128x; +typedef u32_SteamUGCDetails_t_128x u_SteamUGCDetails_t_128x; +#endif +#ifdef __x86_64__ +typedef w64_SteamUGCDetails_t_128x w_SteamUGCDetails_t_128x; +typedef u64_SteamUGCDetails_t_128x u_SteamUGCDetails_t_128x; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamUGCDetails_t_126 +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + W64_ARRAY(char, 1025, m_rgchTags); + uint8_t __pad_9212[4]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + W64_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; +#ifdef __cplusplus + operator u64_SteamUGCDetails_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamUGCDetails_t_126 +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U64_ARRAY(char, 129, m_rgchTitle); + U64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[3]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + U64_ARRAY(char, 1025, m_rgchTags); + uint64_t m_hFile; + uint64_t m_hPreviewFile; + U64_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U64_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; +#ifdef __cplusplus + operator w64_SteamUGCDetails_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamUGCDetails_t_126 +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + W32_ARRAY(char, 1025, m_rgchTags); + uint8_t __pad_9212[4]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + W32_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; +#ifdef __cplusplus + operator u32_SteamUGCDetails_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamUGCDetails_t_126 +{ + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint32_t m_eFileType; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[3]; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_rtimeAddedToUserList; + uint32_t m_eVisibility; + int8_t m_bBanned; + int8_t m_bAcceptedForUse; + int8_t m_bTagsTruncated; + U32_ARRAY(char, 1025, m_rgchTags); + uint64_t m_hFile; + uint64_t m_hPreviewFile; + U32_ARRAY(char, 260, m_pchFileName); + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); + uint32_t m_unVotesUp; + uint32_t m_unVotesDown; + float m_flScore; +#ifdef __cplusplus + operator w32_SteamUGCDetails_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamUGCDetails_t_126 w_SteamUGCDetails_t_126; +typedef u32_SteamUGCDetails_t_126 u_SteamUGCDetails_t_126; +#endif +#ifdef __x86_64__ +typedef w64_SteamUGCDetails_t_126 w_SteamUGCDetails_t_126; +typedef u64_SteamUGCDetails_t_126 u_SteamUGCDetails_t_126; +#endif + +#pragma pack( push, 8 ) +struct w64_AddAppDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_AddAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_AddAppDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; +#ifdef __cplusplus + operator w64_AddAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_AddAppDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_AddAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_AddAppDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; +#ifdef __cplusplus + operator w32_AddAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_AddAppDependencyResult_t w_AddAppDependencyResult_t; +typedef u32_AddAppDependencyResult_t u_AddAppDependencyResult_t; +#endif +#ifdef __x86_64__ +typedef w64_AddAppDependencyResult_t w_AddAppDependencyResult_t; +typedef u64_AddAppDependencyResult_t u_AddAppDependencyResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_AddUGCDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator u64_AddUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_AddUGCDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator w64_AddUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_AddUGCDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator u32_AddUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_AddUGCDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator w32_AddUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_AddUGCDependencyResult_t w_AddUGCDependencyResult_t; +typedef u32_AddUGCDependencyResult_t u_AddUGCDependencyResult_t; +#endif +#ifdef __x86_64__ +typedef w64_AddUGCDependencyResult_t w_AddUGCDependencyResult_t; +typedef u64_AddUGCDependencyResult_t u_AddUGCDependencyResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_CSteamAPIContext_143 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W64_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W64_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W64_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W64_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch); + W64_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W64_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W64_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W64_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamController*/ *m_pController, m_pController); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W64_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W64_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); + W64_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamAPIContext_143 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W32_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W32_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W32_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W32_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch); + W32_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W32_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W32_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W32_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamController*/ *m_pController, m_pController); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W32_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W32_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); + W32_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamAPIContext_143 w_CSteamAPIContext_143; +typedef u32_CSteamAPIContext_143 u_CSteamAPIContext_143; +#endif +#ifdef __x86_64__ +typedef w64_CSteamAPIContext_143 w_CSteamAPIContext_143; +typedef u64_CSteamAPIContext_143 u_CSteamAPIContext_143; +#endif + +#pragma pack( push, 8 ) +struct w64_CSteamAPIContext_145 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W64_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W64_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W64_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W64_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch); + W64_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W64_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W64_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W64_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamController*/ *m_pController, m_pController); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W64_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W64_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W64_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV); + W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); + W64_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamAPIContext_145 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W32_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W32_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W32_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W32_PTR(void /*ISteamGameSearch*/ *m_pSteamGameSearch, m_pSteamGameSearch); + W32_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W32_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W32_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W32_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamController*/ *m_pController, m_pController); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W32_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W32_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W32_PTR(void /*ISteamTV*/ *m_pSteamTV, m_pSteamTV); + W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); + W32_PTR(void /*ISteamInput*/ *m_pSteamInput, m_pSteamInput); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamAPIContext_145 w_CSteamAPIContext_145; +typedef u32_CSteamAPIContext_145 u_CSteamAPIContext_145; +#endif +#ifdef __x86_64__ +typedef w64_CSteamAPIContext_145 w_CSteamAPIContext_145; +typedef u64_CSteamAPIContext_145 u_CSteamAPIContext_145; +#endif + +#pragma pack( push, 8 ) +struct w64_CSteamAPIContext_137 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W64_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W64_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W64_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W64_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W64_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W64_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W64_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamController*/ *m_pController, m_pController); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W64_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W64_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamAPIContext_137 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W32_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W32_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W32_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W32_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W32_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W32_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W32_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamController*/ *m_pController, m_pController); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W32_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W32_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamAPIContext_137 w_CSteamAPIContext_137; +typedef u32_CSteamAPIContext_137 u_CSteamAPIContext_137; +#endif +#ifdef __x86_64__ +typedef w64_CSteamAPIContext_137 w_CSteamAPIContext_137; +typedef u64_CSteamAPIContext_137 u_CSteamAPIContext_137; +#endif + +#pragma pack( push, 8 ) +struct w64_CSteamAPIContext_141 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W64_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W64_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W64_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W64_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W64_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W64_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W64_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamUnifiedMessages*/ *m_pSteamUnifiedMessages, m_pSteamUnifiedMessages); + W64_PTR(void /*ISteamController*/ *m_pController, m_pController); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W64_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W64_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W64_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W64_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W64_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamAPIContext_141 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamUser*/ *m_pSteamUser, m_pSteamUser); + W32_PTR(void /*ISteamFriends*/ *m_pSteamFriends, m_pSteamFriends); + W32_PTR(void /*ISteamUtils*/ *m_pSteamUtils, m_pSteamUtils); + W32_PTR(void /*ISteamMatchmaking*/ *m_pSteamMatchmaking, m_pSteamMatchmaking); + W32_PTR(void /*ISteamUserStats*/ *m_pSteamUserStats, m_pSteamUserStats); + W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); + W32_PTR(void /*ISteamMatchmakingServers*/ *m_pSteamMatchmakingServers, m_pSteamMatchmakingServers); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamNetworking, m_pSteamNetworking); + W32_PTR(void /*ISteamRemoteStorage*/ *m_pSteamRemoteStorage, m_pSteamRemoteStorage); + W32_PTR(void /*ISteamScreenshots*/ *m_pSteamScreenshots, m_pSteamScreenshots); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamUnifiedMessages*/ *m_pSteamUnifiedMessages, m_pSteamUnifiedMessages); + W32_PTR(void /*ISteamController*/ *m_pController, m_pController); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W32_PTR(void /*ISteamAppList*/ *m_pSteamAppList, m_pSteamAppList); + W32_PTR(void /*ISteamMusic*/ *m_pSteamMusic, m_pSteamMusic); + W32_PTR(void /*ISteamMusicRemote*/ *m_pSteamMusicRemote, m_pSteamMusicRemote); + W32_PTR(void /*ISteamHTMLSurface*/ *m_pSteamHTMLSurface, m_pSteamHTMLSurface); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamVideo*/ *m_pSteamVideo, m_pSteamVideo); + W32_PTR(void /*ISteamParentalSettings*/ *m_pSteamParentalSettings, m_pSteamParentalSettings); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamAPIContext_141 w_CSteamAPIContext_141; +typedef u32_CSteamAPIContext_141 u_CSteamAPIContext_141; +#endif +#ifdef __x86_64__ +typedef w64_CSteamAPIContext_141 w_CSteamAPIContext_141; +typedef u64_CSteamAPIContext_141 u_CSteamAPIContext_141; +#endif + +struct w_CSteamCallback +{ +#ifdef __cplusplus + virtual const char * GetCallbackName( ) = 0; + virtual uint32_t GetCallbackID( ) = 0; + virtual uint8_t * GetFixedData( ) = 0; + virtual uint32_t GetFixedSize( ) = 0; + virtual uint32_t GetNumMemberVariables( ) = 0; + virtual int8_t GetMemberVariable( uint32_t, uint32_t *, uint32_t *, uint32_t *, const char **, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_CSteamCallback +{ +#ifdef __cplusplus + virtual const char * GetCallbackName( ) = 0; + virtual uint32_t GetCallbackID( ) = 0; + virtual uint8_t * GetFixedData( ) = 0; + virtual uint32_t GetFixedSize( ) = 0; + virtual uint32_t GetNumMemberVariables( ) = 0; + virtual int8_t GetMemberVariable( uint32_t, uint32_t *, uint32_t *, uint32_t *, const char **, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +#pragma pack( push, 8 ) +struct w64_CSteamGameServerAPIContext_152 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamGameServer*/ *m_pSteamGameServer, m_pSteamGameServer); + W64_PTR(void /*ISteamUtils*/ *m_pSteamGameServerUtils, m_pSteamGameServerUtils); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamGameServerNetworking, m_pSteamGameServerNetworking); + W64_PTR(void /*ISteamGameServerStats*/ *m_pSteamGameServerStats, m_pSteamGameServerStats); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamGameServerAPIContext_152 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamGameServer*/ *m_pSteamGameServer, m_pSteamGameServer); + W32_PTR(void /*ISteamUtils*/ *m_pSteamGameServerUtils, m_pSteamGameServerUtils); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamGameServerNetworking, m_pSteamGameServerNetworking); + W32_PTR(void /*ISteamGameServerStats*/ *m_pSteamGameServerStats, m_pSteamGameServerStats); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamGameServerAPIContext_152 w_CSteamGameServerAPIContext_152; +typedef u32_CSteamGameServerAPIContext_152 u_CSteamGameServerAPIContext_152; +#endif +#ifdef __x86_64__ +typedef w64_CSteamGameServerAPIContext_152 w_CSteamGameServerAPIContext_152; +typedef u64_CSteamGameServerAPIContext_152 u_CSteamGameServerAPIContext_152; +#endif + +#pragma pack( push, 8 ) +struct w64_CSteamGameServerAPIContext_143 +{ + W64_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W64_PTR(void /*ISteamGameServer*/ *m_pSteamGameServer, m_pSteamGameServer); + W64_PTR(void /*ISteamUtils*/ *m_pSteamGameServerUtils, m_pSteamGameServerUtils); + W64_PTR(void /*ISteamNetworking*/ *m_pSteamGameServerNetworking, m_pSteamGameServerNetworking); + W64_PTR(void /*ISteamGameServerStats*/ *m_pSteamGameServerStats, m_pSteamGameServerStats); + W64_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W64_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W64_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W64_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CSteamGameServerAPIContext_143 +{ + W32_PTR(void /*ISteamClient*/ *m_pSteamClient, m_pSteamClient); + W32_PTR(void /*ISteamGameServer*/ *m_pSteamGameServer, m_pSteamGameServer); + W32_PTR(void /*ISteamUtils*/ *m_pSteamGameServerUtils, m_pSteamGameServerUtils); + W32_PTR(void /*ISteamNetworking*/ *m_pSteamGameServerNetworking, m_pSteamGameServerNetworking); + W32_PTR(void /*ISteamGameServerStats*/ *m_pSteamGameServerStats, m_pSteamGameServerStats); + W32_PTR(void /*ISteamHTTP*/ *m_pSteamHTTP, m_pSteamHTTP); + W32_PTR(void /*ISteamInventory*/ *m_pSteamInventory, m_pSteamInventory); + W32_PTR(void /*ISteamUGC*/ *m_pSteamUGC, m_pSteamUGC); + W32_PTR(void /*ISteamApps*/ *m_pSteamApps, m_pSteamApps); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CSteamGameServerAPIContext_143 w_CSteamGameServerAPIContext_143; +typedef u32_CSteamGameServerAPIContext_143 u_CSteamGameServerAPIContext_143; +#endif +#ifdef __x86_64__ +typedef w64_CSteamGameServerAPIContext_143 w_CSteamGameServerAPIContext_143; +typedef u64_CSteamGameServerAPIContext_143 u_CSteamGameServerAPIContext_143; +#endif + +#pragma pack( push, 8 ) +struct w64_CallbackMsg_t +{ + int32_t m_hSteamUser; + int32_t m_iCallback; + W64_PTR(uint8_t *m_pubParam, m_pubParam); + int32_t m_cubParam; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CallbackMsg_t +{ + int32_t m_hSteamUser; + int32_t m_iCallback; + W32_PTR(uint8_t *m_pubParam, m_pubParam); + int32_t m_cubParam; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CallbackMsg_t w_CallbackMsg_t; +typedef u32_CallbackMsg_t u_CallbackMsg_t; +#endif +#ifdef __x86_64__ +typedef w64_CallbackMsg_t w_CallbackMsg_t; +typedef u64_CallbackMsg_t u_CallbackMsg_t; +#endif + +#pragma pack( push, 8 ) +struct w64_CreateBeaconCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulBeaconID; +#ifdef __cplusplus + operator u64_CreateBeaconCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_CreateBeaconCallback_t +{ + uint32_t m_eResult; + uint64_t m_ulBeaconID; +#ifdef __cplusplus + operator w64_CreateBeaconCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_CreateBeaconCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulBeaconID; +#ifdef __cplusplus + operator u32_CreateBeaconCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_CreateBeaconCallback_t +{ + uint32_t m_eResult; + uint64_t m_ulBeaconID; +#ifdef __cplusplus + operator w32_CreateBeaconCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CreateBeaconCallback_t w_CreateBeaconCallback_t; +typedef u32_CreateBeaconCallback_t u_CreateBeaconCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_CreateBeaconCallback_t w_CreateBeaconCallback_t; +typedef u64_CreateBeaconCallback_t u_CreateBeaconCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_CreateItemResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u64_CreateItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_CreateItemResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w64_CreateItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_CreateItemResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u32_CreateItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_CreateItemResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w32_CreateItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CreateItemResult_t w_CreateItemResult_t; +typedef u32_CreateItemResult_t u_CreateItemResult_t; +#endif +#ifdef __x86_64__ +typedef w64_CreateItemResult_t w_CreateItemResult_t; +typedef u64_CreateItemResult_t u_CreateItemResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_DeleteItemResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_DeleteItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_DeleteItemResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_DeleteItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_DeleteItemResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_DeleteItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_DeleteItemResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_DeleteItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_DeleteItemResult_t w_DeleteItemResult_t; +typedef u32_DeleteItemResult_t u_DeleteItemResult_t; +#endif +#ifdef __x86_64__ +typedef w64_DeleteItemResult_t w_DeleteItemResult_t; +typedef u64_DeleteItemResult_t u_DeleteItemResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_DownloadItemResult_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_DownloadItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_DownloadItemResult_t +{ + uint32_t m_unAppID; + uint64_t m_nPublishedFileId; + uint32_t m_eResult; +#ifdef __cplusplus + operator w64_DownloadItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_DownloadItemResult_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eResult; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_DownloadItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_DownloadItemResult_t +{ + uint32_t m_unAppID; + uint64_t m_nPublishedFileId; + uint32_t m_eResult; +#ifdef __cplusplus + operator w32_DownloadItemResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_DownloadItemResult_t w_DownloadItemResult_t; +typedef u32_DownloadItemResult_t u_DownloadItemResult_t; +#endif +#ifdef __x86_64__ +typedef w64_DownloadItemResult_t w_DownloadItemResult_t; +typedef u64_DownloadItemResult_t u_DownloadItemResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_EndGameResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t ullUniqueGameID; +#ifdef __cplusplus + operator u64_EndGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_EndGameResultCallback_t +{ + uint32_t m_eResult; + uint64_t ullUniqueGameID; +#ifdef __cplusplus + operator w64_EndGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_EndGameResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t ullUniqueGameID; +#ifdef __cplusplus + operator u32_EndGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_EndGameResultCallback_t +{ + uint32_t m_eResult; + uint64_t ullUniqueGameID; +#ifdef __cplusplus + operator w32_EndGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_EndGameResultCallback_t w_EndGameResultCallback_t; +typedef u32_EndGameResultCallback_t u_EndGameResultCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_EndGameResultCallback_t w_EndGameResultCallback_t; +typedef u64_EndGameResultCallback_t u_EndGameResultCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_FileDetailsResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulFileSize; + W64_ARRAY(uint8_t, 20, m_FileSHA); + uint32_t m_unFlags; +#ifdef __cplusplus + operator u64_FileDetailsResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_FileDetailsResult_t +{ + uint32_t m_eResult; + uint64_t m_ulFileSize; + U64_ARRAY(uint8_t, 20, m_FileSHA); + uint32_t m_unFlags; +#ifdef __cplusplus + operator w64_FileDetailsResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_FileDetailsResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulFileSize; + W32_ARRAY(uint8_t, 20, m_FileSHA); + uint32_t m_unFlags; +#ifdef __cplusplus + operator u32_FileDetailsResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_FileDetailsResult_t +{ + uint32_t m_eResult; + uint64_t m_ulFileSize; + U32_ARRAY(uint8_t, 20, m_FileSHA); + uint32_t m_unFlags; +#ifdef __cplusplus + operator w32_FileDetailsResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_FileDetailsResult_t w_FileDetailsResult_t; +typedef u32_FileDetailsResult_t u_FileDetailsResult_t; +#endif +#ifdef __x86_64__ +typedef w64_FileDetailsResult_t w_FileDetailsResult_t; +typedef u64_FileDetailsResult_t u_FileDetailsResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_GSReputation_t_123 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[6]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; + uint8_t __pad_36[4]; +#ifdef __cplusplus + operator u64_GSReputation_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_GSReputation_t_123 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[2]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; +#ifdef __cplusplus + operator w64_GSReputation_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_GSReputation_t_123 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[6]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; + uint8_t __pad_36[4]; +#ifdef __cplusplus + operator u32_GSReputation_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_GSReputation_t_123 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[2]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; +#ifdef __cplusplus + operator w32_GSReputation_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_GSReputation_t_123 w_GSReputation_t_123; +typedef u32_GSReputation_t_123 u_GSReputation_t_123; +#endif +#ifdef __x86_64__ +typedef w64_GSReputation_t_123 w_GSReputation_t_123; +typedef u64_GSReputation_t_123 u_GSReputation_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_GSReputation_t_108 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[6]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; + uint8_t __pad_36[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_GSReputation_t_108 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[6]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; + uint8_t __pad_36[4]; +#ifdef __cplusplus + operator u32_GSReputation_t_108() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_GSReputation_t_108 +{ + uint32_t m_eResult; + uint32_t m_unReputationScore; + int8_t m_bBanned; + uint8_t __pad_9[3]; + uint32_t m_unBannedIP; + uint16_t m_usBannedPort; + uint8_t __pad_18[2]; + uint64_t m_ulBannedGameID; + uint32_t m_unBanExpires; +#ifdef __cplusplus + operator w32_GSReputation_t_108() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_GSReputation_t_108 w_GSReputation_t_108; +typedef u32_GSReputation_t_108 u_GSReputation_t_108; +#endif +#ifdef __x86_64__ +typedef w64_GSReputation_t_108 w_GSReputation_t_108; +typedef u64_GSReputation_t_108 u_GSReputation_t_108; +#endif + +#pragma pack( push, 8 ) +struct w64_GetAppDependenciesResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + W64_ARRAY(uint32_t, 32, m_rgAppIDs); + uint32_t m_nNumAppDependencies; + uint32_t m_nTotalNumAppDependencies; +#ifdef __cplusplus + operator u64_GetAppDependenciesResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_GetAppDependenciesResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + U64_ARRAY(uint32_t, 32, m_rgAppIDs); + uint32_t m_nNumAppDependencies; + uint32_t m_nTotalNumAppDependencies; +#ifdef __cplusplus + operator w64_GetAppDependenciesResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_GetAppDependenciesResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + W32_ARRAY(uint32_t, 32, m_rgAppIDs); + uint32_t m_nNumAppDependencies; + uint32_t m_nTotalNumAppDependencies; +#ifdef __cplusplus + operator u32_GetAppDependenciesResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_GetAppDependenciesResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + U32_ARRAY(uint32_t, 32, m_rgAppIDs); + uint32_t m_nNumAppDependencies; + uint32_t m_nTotalNumAppDependencies; +#ifdef __cplusplus + operator w32_GetAppDependenciesResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_GetAppDependenciesResult_t w_GetAppDependenciesResult_t; +typedef u32_GetAppDependenciesResult_t u_GetAppDependenciesResult_t; +#endif +#ifdef __x86_64__ +typedef w64_GetAppDependenciesResult_t w_GetAppDependenciesResult_t; +typedef u64_GetAppDependenciesResult_t u_GetAppDependenciesResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_ChangedTitle_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchTitle, pchTitle); +#ifdef __cplusplus + operator u64_HTML_ChangedTitle_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_ChangedTitle_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchTitle, pchTitle); +#ifdef __cplusplus + operator w64_HTML_ChangedTitle_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_ChangedTitle_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchTitle, pchTitle); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_ChangedTitle_t w_HTML_ChangedTitle_t; +typedef u32_HTML_ChangedTitle_t u_HTML_ChangedTitle_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_ChangedTitle_t w_HTML_ChangedTitle_t; +typedef u64_HTML_ChangedTitle_t u_HTML_ChangedTitle_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_ComboNeedsPaint_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator u64_HTML_ComboNeedsPaint_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_ComboNeedsPaint_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator w64_HTML_ComboNeedsPaint_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_ComboNeedsPaint_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_ComboNeedsPaint_t w_HTML_ComboNeedsPaint_t; +typedef u32_HTML_ComboNeedsPaint_t u_HTML_ComboNeedsPaint_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_ComboNeedsPaint_t w_HTML_ComboNeedsPaint_t; +typedef u64_HTML_ComboNeedsPaint_t u_HTML_ComboNeedsPaint_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_FileOpenDialog_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchTitle, pchTitle); + W64_PTR(const char *pchInitialFile, pchInitialFile); +#ifdef __cplusplus + operator u64_HTML_FileOpenDialog_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_FileOpenDialog_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchTitle, pchTitle); + U64_PTR(const char *pchInitialFile, pchInitialFile); +#ifdef __cplusplus + operator w64_HTML_FileOpenDialog_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_FileOpenDialog_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchTitle, pchTitle); + W32_PTR(const char *pchInitialFile, pchInitialFile); +#ifdef __cplusplus + operator u32_HTML_FileOpenDialog_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_FileOpenDialog_t +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchTitle, pchTitle); + U32_PTR(const char *pchInitialFile, pchInitialFile); +#ifdef __cplusplus + operator w32_HTML_FileOpenDialog_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_FileOpenDialog_t w_HTML_FileOpenDialog_t; +typedef u32_HTML_FileOpenDialog_t u_HTML_FileOpenDialog_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_FileOpenDialog_t w_HTML_FileOpenDialog_t; +typedef u64_HTML_FileOpenDialog_t u_HTML_FileOpenDialog_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_FinishedRequest_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); + W64_PTR(const char *pchPageTitle, pchPageTitle); +#ifdef __cplusplus + operator u64_HTML_FinishedRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_FinishedRequest_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); + U64_PTR(const char *pchPageTitle, pchPageTitle); +#ifdef __cplusplus + operator w64_HTML_FinishedRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_FinishedRequest_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); + W32_PTR(const char *pchPageTitle, pchPageTitle); +#ifdef __cplusplus + operator u32_HTML_FinishedRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_FinishedRequest_t +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); + U32_PTR(const char *pchPageTitle, pchPageTitle); +#ifdef __cplusplus + operator w32_HTML_FinishedRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_FinishedRequest_t w_HTML_FinishedRequest_t; +typedef u32_HTML_FinishedRequest_t u_HTML_FinishedRequest_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_FinishedRequest_t w_HTML_FinishedRequest_t; +typedef u64_HTML_FinishedRequest_t u_HTML_FinishedRequest_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_JSAlert_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchMessage, pchMessage); +#ifdef __cplusplus + operator u64_HTML_JSAlert_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_JSAlert_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchMessage, pchMessage); +#ifdef __cplusplus + operator w64_HTML_JSAlert_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_JSAlert_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchMessage, pchMessage); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_JSAlert_t w_HTML_JSAlert_t; +typedef u32_HTML_JSAlert_t u_HTML_JSAlert_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_JSAlert_t w_HTML_JSAlert_t; +typedef u64_HTML_JSAlert_t u_HTML_JSAlert_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_JSConfirm_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchMessage, pchMessage); +#ifdef __cplusplus + operator u64_HTML_JSConfirm_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_JSConfirm_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchMessage, pchMessage); +#ifdef __cplusplus + operator w64_HTML_JSConfirm_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_JSConfirm_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchMessage, pchMessage); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_JSConfirm_t w_HTML_JSConfirm_t; +typedef u32_HTML_JSConfirm_t u_HTML_JSConfirm_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_JSConfirm_t w_HTML_JSConfirm_t; +typedef u64_HTML_JSConfirm_t u_HTML_JSConfirm_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_LinkAtPosition_t +{ + uint32_t unBrowserHandle; + uint32_t x; + uint32_t y; + uint8_t __pad_12[4]; + W64_PTR(const char *pchURL, pchURL); + int8_t bInput; + int8_t bLiveLink; + uint8_t __pad_26[6]; +#ifdef __cplusplus + operator u64_HTML_LinkAtPosition_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_LinkAtPosition_t +{ + uint32_t unBrowserHandle; + uint32_t x; + uint32_t y; + U64_PTR(const char *pchURL, pchURL); + int8_t bInput; + int8_t bLiveLink; + uint8_t __pad_22[2]; +#ifdef __cplusplus + operator w64_HTML_LinkAtPosition_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_LinkAtPosition_t +{ + uint32_t unBrowserHandle; + uint32_t x; + uint32_t y; + W32_PTR(const char *pchURL, pchURL); + int8_t bInput; + int8_t bLiveLink; + uint8_t __pad_18[2]; +#ifdef __cplusplus + operator u32_HTML_LinkAtPosition_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_LinkAtPosition_t +{ + uint32_t unBrowserHandle; + uint32_t x; + uint32_t y; + U32_PTR(const char *pchURL, pchURL); + int8_t bInput; + int8_t bLiveLink; + uint8_t __pad_18[2]; +#ifdef __cplusplus + operator w32_HTML_LinkAtPosition_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_LinkAtPosition_t w_HTML_LinkAtPosition_t; +typedef u32_HTML_LinkAtPosition_t u_HTML_LinkAtPosition_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_LinkAtPosition_t w_HTML_LinkAtPosition_t; +typedef u64_HTML_LinkAtPosition_t u_HTML_LinkAtPosition_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_NeedsPaint_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; + uint32_t unUpdateX; + uint32_t unUpdateY; + uint32_t unUpdateWide; + uint32_t unUpdateTall; + uint32_t unScrollX; + uint32_t unScrollY; + float flPageScale; + uint32_t unPageSerial; +#ifdef __cplusplus + operator u64_HTML_NeedsPaint_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_NeedsPaint_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; + uint32_t unUpdateX; + uint32_t unUpdateY; + uint32_t unUpdateWide; + uint32_t unUpdateTall; + uint32_t unScrollX; + uint32_t unScrollY; + float flPageScale; + uint32_t unPageSerial; +#ifdef __cplusplus + operator w64_HTML_NeedsPaint_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_NeedsPaint_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pBGRA, pBGRA); + uint32_t unWide; + uint32_t unTall; + uint32_t unUpdateX; + uint32_t unUpdateY; + uint32_t unUpdateWide; + uint32_t unUpdateTall; + uint32_t unScrollX; + uint32_t unScrollY; + float flPageScale; + uint32_t unPageSerial; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_NeedsPaint_t w_HTML_NeedsPaint_t; +typedef u32_HTML_NeedsPaint_t u_HTML_NeedsPaint_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_NeedsPaint_t w_HTML_NeedsPaint_t; +typedef u64_HTML_NeedsPaint_t u_HTML_NeedsPaint_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_NewWindow_t_132x +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; + uint32_t unNewWindow_BrowserHandle_IGNORE; + uint8_t __pad_36[4]; +#ifdef __cplusplus + operator u64_HTML_NewWindow_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_NewWindow_t_132x +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; + uint32_t unNewWindow_BrowserHandle_IGNORE; +#ifdef __cplusplus + operator w64_HTML_NewWindow_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_NewWindow_t_132x +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; + uint32_t unNewWindow_BrowserHandle_IGNORE; +#ifdef __cplusplus + operator u32_HTML_NewWindow_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_NewWindow_t_132x +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; + uint32_t unNewWindow_BrowserHandle_IGNORE; +#ifdef __cplusplus + operator w32_HTML_NewWindow_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_NewWindow_t_132x w_HTML_NewWindow_t_132x; +typedef u32_HTML_NewWindow_t_132x u_HTML_NewWindow_t_132x; +#endif +#ifdef __x86_64__ +typedef w64_HTML_NewWindow_t_132x w_HTML_NewWindow_t_132x; +typedef u64_HTML_NewWindow_t_132x u_HTML_NewWindow_t_132x; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_NewWindow_t_130x +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator u64_HTML_NewWindow_t_130x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_NewWindow_t_130x +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator w64_HTML_NewWindow_t_130x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_NewWindow_t_130x +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator u32_HTML_NewWindow_t_130x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_NewWindow_t_130x +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); + uint32_t unX; + uint32_t unY; + uint32_t unWide; + uint32_t unTall; +#ifdef __cplusplus + operator w32_HTML_NewWindow_t_130x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_NewWindow_t_130x w_HTML_NewWindow_t_130x; +typedef u32_HTML_NewWindow_t_130x u_HTML_NewWindow_t_130x; +#endif +#ifdef __x86_64__ +typedef w64_HTML_NewWindow_t_130x w_HTML_NewWindow_t_130x; +typedef u64_HTML_NewWindow_t_130x u_HTML_NewWindow_t_130x; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_OpenLinkInNewTab_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); +#ifdef __cplusplus + operator u64_HTML_OpenLinkInNewTab_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_OpenLinkInNewTab_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); +#ifdef __cplusplus + operator w64_HTML_OpenLinkInNewTab_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_OpenLinkInNewTab_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); +#ifdef __cplusplus + operator u32_HTML_OpenLinkInNewTab_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_OpenLinkInNewTab_t +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); +#ifdef __cplusplus + operator w32_HTML_OpenLinkInNewTab_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_OpenLinkInNewTab_t w_HTML_OpenLinkInNewTab_t; +typedef u32_HTML_OpenLinkInNewTab_t u_HTML_OpenLinkInNewTab_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_OpenLinkInNewTab_t w_HTML_OpenLinkInNewTab_t; +typedef u64_HTML_OpenLinkInNewTab_t u_HTML_OpenLinkInNewTab_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_ShowToolTip_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator u64_HTML_ShowToolTip_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_ShowToolTip_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator w64_HTML_ShowToolTip_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_ShowToolTip_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchMsg, pchMsg); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_ShowToolTip_t w_HTML_ShowToolTip_t; +typedef u32_HTML_ShowToolTip_t u_HTML_ShowToolTip_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_ShowToolTip_t w_HTML_ShowToolTip_t; +typedef u64_HTML_ShowToolTip_t u_HTML_ShowToolTip_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_StartRequest_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); + W64_PTR(const char *pchTarget, pchTarget); + W64_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_33[7]; +#ifdef __cplusplus + operator u64_HTML_StartRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_StartRequest_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); + U64_PTR(const char *pchTarget, pchTarget); + U64_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_29[3]; +#ifdef __cplusplus + operator w64_HTML_StartRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_StartRequest_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); + W32_PTR(const char *pchTarget, pchTarget); + W32_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_17[3]; +#ifdef __cplusplus + operator u32_HTML_StartRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_StartRequest_t +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); + U32_PTR(const char *pchTarget, pchTarget); + U32_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_17[3]; +#ifdef __cplusplus + operator w32_HTML_StartRequest_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_StartRequest_t w_HTML_StartRequest_t; +typedef u32_HTML_StartRequest_t u_HTML_StartRequest_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_StartRequest_t w_HTML_StartRequest_t; +typedef u64_HTML_StartRequest_t u_HTML_StartRequest_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_StatusText_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator u64_HTML_StatusText_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_StatusText_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator w64_HTML_StatusText_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_StatusText_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchMsg, pchMsg); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_StatusText_t w_HTML_StatusText_t; +typedef u32_HTML_StatusText_t u_HTML_StatusText_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_StatusText_t w_HTML_StatusText_t; +typedef u64_HTML_StatusText_t u_HTML_StatusText_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_URLChanged_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchURL, pchURL); + W64_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_25[7]; + W64_PTR(const char *pchPageTitle, pchPageTitle); + int8_t bNewNavigation; + uint8_t __pad_41[7]; +#ifdef __cplusplus + operator u64_HTML_URLChanged_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_URLChanged_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchURL, pchURL); + U64_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_21[3]; + U64_PTR(const char *pchPageTitle, pchPageTitle); + int8_t bNewNavigation; + uint8_t __pad_33[3]; +#ifdef __cplusplus + operator w64_HTML_URLChanged_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_URLChanged_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchURL, pchURL); + W32_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_13[3]; + W32_PTR(const char *pchPageTitle, pchPageTitle); + int8_t bNewNavigation; + uint8_t __pad_21[3]; +#ifdef __cplusplus + operator u32_HTML_URLChanged_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTML_URLChanged_t +{ + uint32_t unBrowserHandle; + U32_PTR(const char *pchURL, pchURL); + U32_PTR(const char *pchPostData, pchPostData); + int8_t bIsRedirect; + uint8_t __pad_13[3]; + U32_PTR(const char *pchPageTitle, pchPageTitle); + int8_t bNewNavigation; + uint8_t __pad_21[3]; +#ifdef __cplusplus + operator w32_HTML_URLChanged_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_URLChanged_t w_HTML_URLChanged_t; +typedef u32_HTML_URLChanged_t u_HTML_URLChanged_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_URLChanged_t w_HTML_URLChanged_t; +typedef u64_HTML_URLChanged_t u_HTML_URLChanged_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTML_UpdateToolTip_t +{ + uint32_t unBrowserHandle; + uint8_t __pad_4[4]; + W64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator u64_HTML_UpdateToolTip_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTML_UpdateToolTip_t +{ + uint32_t unBrowserHandle; + U64_PTR(const char *pchMsg, pchMsg); +#ifdef __cplusplus + operator w64_HTML_UpdateToolTip_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HTML_UpdateToolTip_t +{ + uint32_t unBrowserHandle; + W32_PTR(const char *pchMsg, pchMsg); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTML_UpdateToolTip_t w_HTML_UpdateToolTip_t; +typedef u32_HTML_UpdateToolTip_t u_HTML_UpdateToolTip_t; +#endif +#ifdef __x86_64__ +typedef w64_HTML_UpdateToolTip_t w_HTML_UpdateToolTip_t; +typedef u64_HTML_UpdateToolTip_t u_HTML_UpdateToolTip_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestCompleted_t_132x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; + uint32_t m_unBodySize; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_HTTPRequestCompleted_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTTPRequestCompleted_t_132x +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_13[3]; + uint32_t m_eStatusCode; + uint32_t m_unBodySize; +#ifdef __cplusplus + operator w64_HTTPRequestCompleted_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestCompleted_t_132x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; + uint32_t m_unBodySize; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_HTTPRequestCompleted_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestCompleted_t_132x +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_13[3]; + uint32_t m_eStatusCode; + uint32_t m_unBodySize; +#ifdef __cplusplus + operator w32_HTTPRequestCompleted_t_132x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestCompleted_t_132x w_HTTPRequestCompleted_t_132x; +typedef u32_HTTPRequestCompleted_t_132x u_HTTPRequestCompleted_t_132x; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestCompleted_t_132x w_HTTPRequestCompleted_t_132x; +typedef u64_HTTPRequestCompleted_t_132x u_HTTPRequestCompleted_t_132x; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestCompleted_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator u64_HTTPRequestCompleted_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTTPRequestCompleted_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_13[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator w64_HTTPRequestCompleted_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestCompleted_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator u32_HTTPRequestCompleted_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestCompleted_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_13[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator w32_HTTPRequestCompleted_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestCompleted_t_123 w_HTTPRequestCompleted_t_123; +typedef u32_HTTPRequestCompleted_t_123 u_HTTPRequestCompleted_t_123; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestCompleted_t_123 w_HTTPRequestCompleted_t_123; +typedef u64_HTTPRequestCompleted_t_123 u_HTTPRequestCompleted_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestCompleted_t_115 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestCompleted_t_115 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_17[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator u32_HTTPRequestCompleted_t_115() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestCompleted_t_115 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + int8_t m_bRequestSuccessful; + uint8_t __pad_13[3]; + uint32_t m_eStatusCode; +#ifdef __cplusplus + operator w32_HTTPRequestCompleted_t_115() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestCompleted_t_115 w_HTTPRequestCompleted_t_115; +typedef u32_HTTPRequestCompleted_t_115 u_HTTPRequestCompleted_t_115; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestCompleted_t_115 w_HTTPRequestCompleted_t_115; +typedef u64_HTTPRequestCompleted_t_115 u_HTTPRequestCompleted_t_115; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestDataReceived_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator u64_HTTPRequestDataReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTTPRequestDataReceived_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator w64_HTTPRequestDataReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestDataReceived_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator u32_HTTPRequestDataReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestDataReceived_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator w32_HTTPRequestDataReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestDataReceived_t_123 w_HTTPRequestDataReceived_t_123; +typedef u32_HTTPRequestDataReceived_t_123 u_HTTPRequestDataReceived_t_123; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestDataReceived_t_123 w_HTTPRequestDataReceived_t_123; +typedef u64_HTTPRequestDataReceived_t_123 u_HTTPRequestDataReceived_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestDataReceived_t_121x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestDataReceived_t_121x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator u32_HTTPRequestDataReceived_t_121x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestDataReceived_t_121x +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; + uint32_t m_cOffset; + uint32_t m_cBytesReceived; +#ifdef __cplusplus + operator w32_HTTPRequestDataReceived_t_121x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestDataReceived_t_121x w_HTTPRequestDataReceived_t_121x; +typedef u32_HTTPRequestDataReceived_t_121x u_HTTPRequestDataReceived_t_121x; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestDataReceived_t_121x w_HTTPRequestDataReceived_t_121x; +typedef u64_HTTPRequestDataReceived_t_121x u_HTTPRequestDataReceived_t_121x; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestHeadersReceived_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator u64_HTTPRequestHeadersReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_HTTPRequestHeadersReceived_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator w64_HTTPRequestHeadersReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestHeadersReceived_t_123 +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator u32_HTTPRequestHeadersReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestHeadersReceived_t_123 +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator w32_HTTPRequestHeadersReceived_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestHeadersReceived_t_123 w_HTTPRequestHeadersReceived_t_123; +typedef u32_HTTPRequestHeadersReceived_t_123 u_HTTPRequestHeadersReceived_t_123; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestHeadersReceived_t_123 w_HTTPRequestHeadersReceived_t_123; +typedef u64_HTTPRequestHeadersReceived_t_123 u_HTTPRequestHeadersReceived_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_HTTPRequestHeadersReceived_t_121x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_HTTPRequestHeadersReceived_t_121x +{ + uint32_t m_hRequest; + uint8_t __pad_4[4]; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator u32_HTTPRequestHeadersReceived_t_121x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_HTTPRequestHeadersReceived_t_121x +{ + uint32_t m_hRequest; + uint64_t m_ulContextValue; +#ifdef __cplusplus + operator w32_HTTPRequestHeadersReceived_t_121x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HTTPRequestHeadersReceived_t_121x w_HTTPRequestHeadersReceived_t_121x; +typedef u32_HTTPRequestHeadersReceived_t_121x u_HTTPRequestHeadersReceived_t_121x; +#endif +#ifdef __x86_64__ +typedef w64_HTTPRequestHeadersReceived_t_121x w_HTTPRequestHeadersReceived_t_121x; +typedef u64_HTTPRequestHeadersReceived_t_121x u_HTTPRequestHeadersReceived_t_121x; +#endif + +struct w_ISteamMatchmakingPingResponse +{ +#ifdef __cplusplus + virtual void ServerResponded( gameserveritem_t_105 * ) = 0; + virtual void ServerFailedToRespond( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingPingResponse +{ +#ifdef __cplusplus + virtual void ServerResponded( gameserveritem_t_105 * ) = 0; + virtual void ServerFailedToRespond( ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamMatchmakingPlayersResponse +{ +#ifdef __cplusplus + virtual void AddPlayerToList( const char *, int32_t, float ) = 0; + virtual void PlayersFailedToRespond( ) = 0; + virtual void PlayersRefreshComplete( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingPlayersResponse +{ +#ifdef __cplusplus + virtual void AddPlayerToList( const char *, int32_t, float ) = 0; + virtual void PlayersFailedToRespond( ) = 0; + virtual void PlayersRefreshComplete( ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamMatchmakingRulesResponse +{ +#ifdef __cplusplus + virtual void RulesResponded( const char *, const char * ) = 0; + virtual void RulesFailedToRespond( ) = 0; + virtual void RulesRefreshComplete( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingRulesResponse +{ +#ifdef __cplusplus + virtual void RulesResponded( const char *, const char * ) = 0; + virtual void RulesFailedToRespond( ) = 0; + virtual void RulesRefreshComplete( ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamMatchmakingServerListResponse_106 +{ +#ifdef __cplusplus + virtual void ServerResponded( void *, int32_t ) = 0; + virtual void ServerFailedToRespond( void *, int32_t ) = 0; + virtual void RefreshComplete( void *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingServerListResponse_106 +{ +#ifdef __cplusplus + virtual void ServerResponded( void *, int32_t ) = 0; + virtual void ServerFailedToRespond( void *, int32_t ) = 0; + virtual void RefreshComplete( void *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamMatchmakingServerListResponse_099u +{ +#ifdef __cplusplus + virtual void ServerResponded( int32_t ) = 0; + virtual void ServerFailedToRespond( int32_t ) = 0; + virtual void RefreshComplete( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingServerListResponse_099u +{ +#ifdef __cplusplus + virtual void ServerResponded( int32_t ) = 0; + virtual void ServerFailedToRespond( int32_t ) = 0; + virtual void RefreshComplete( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamNetworkingConnectionCustomSignaling +{ +#ifdef __cplusplus + virtual int8_t SendSignal( uint32_t, const SteamNetConnectionInfo_t_144 *, const void *, int32_t ) = 0; + virtual void Release( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingConnectionCustomSignaling +{ +#ifdef __cplusplus + virtual int8_t SendSignal( uint32_t, const SteamNetConnectionInfo_t_144 *, const void *, int32_t ) = 0; + virtual void Release( ) = 0; +#endif /* __cplusplus */ +}; + +struct w_ISteamNetworkingCustomSignalingRecvContext +{ +#ifdef __cplusplus + virtual w_ISteamNetworkingConnectionCustomSignaling * OnConnectRequest( uint32_t, const SteamNetworkingIdentity_144 * ) = 0; + virtual void SendRejectionSignal( const SteamNetworkingIdentity_144 *, const void *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingCustomSignalingRecvContext +{ +#ifdef __cplusplus + virtual u_ISteamNetworkingConnectionCustomSignaling * OnConnectRequest( uint32_t, const SteamNetworkingIdentity_144 * ) = 0; + virtual void SendRejectionSignal( const SteamNetworkingIdentity_144 *, const void *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +#pragma pack( push, 8 ) +struct w64_ItemInstalled_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_ItemInstalled_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_ItemInstalled_t +{ + uint32_t m_unAppID; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_ItemInstalled_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_ItemInstalled_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_ItemInstalled_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_ItemInstalled_t +{ + uint32_t m_unAppID; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_ItemInstalled_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_ItemInstalled_t w_ItemInstalled_t; +typedef u32_ItemInstalled_t u_ItemInstalled_t; +#endif +#ifdef __x86_64__ +typedef w64_ItemInstalled_t w_ItemInstalled_t; +typedef u64_ItemInstalled_t u_ItemInstalled_t; +#endif + +#pragma pack( push, 8 ) +struct w64_JoinPartyCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner; + W64_ARRAY(char, 256, m_rgchConnectString); +#ifdef __cplusplus + operator u64_JoinPartyCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_JoinPartyCallback_t +{ + uint32_t m_eResult; + uint64_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner; + U64_ARRAY(char, 256, m_rgchConnectString); +#ifdef __cplusplus + operator w64_JoinPartyCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_JoinPartyCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner; + W32_ARRAY(char, 256, m_rgchConnectString); +#ifdef __cplusplus + operator u32_JoinPartyCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_JoinPartyCallback_t +{ + uint32_t m_eResult; + uint64_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner; + U32_ARRAY(char, 256, m_rgchConnectString); +#ifdef __cplusplus + operator w32_JoinPartyCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_JoinPartyCallback_t w_JoinPartyCallback_t; +typedef u32_JoinPartyCallback_t u_JoinPartyCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_JoinPartyCallback_t w_JoinPartyCallback_t; +typedef u64_JoinPartyCallback_t u_JoinPartyCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardEntry_t_123 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint8_t __pad_20[4]; + uint64_t m_hUGC; +#ifdef __cplusplus + operator u64_LeaderboardEntry_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_LeaderboardEntry_t_123 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint64_t m_hUGC; +#ifdef __cplusplus + operator w64_LeaderboardEntry_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardEntry_t_123 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint8_t __pad_20[4]; + uint64_t m_hUGC; +#ifdef __cplusplus + operator u32_LeaderboardEntry_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardEntry_t_123 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint64_t m_hUGC; +#ifdef __cplusplus + operator w32_LeaderboardEntry_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardEntry_t_123 w_LeaderboardEntry_t_123; +typedef u32_LeaderboardEntry_t_123 u_LeaderboardEntry_t_123; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardEntry_t_123 w_LeaderboardEntry_t_123; +typedef u64_LeaderboardEntry_t_123 u_LeaderboardEntry_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardEntry_t_111x +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint8_t __pad_20[4]; + uint64_t m_hUGC; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardEntry_t_111x +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint8_t __pad_20[4]; + uint64_t m_hUGC; +#ifdef __cplusplus + operator u32_LeaderboardEntry_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardEntry_t_111x +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; + uint64_t m_hUGC; +#ifdef __cplusplus + operator w32_LeaderboardEntry_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardEntry_t_111x w_LeaderboardEntry_t_111x; +typedef u32_LeaderboardEntry_t_111x u_LeaderboardEntry_t_111x; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardEntry_t_111x w_LeaderboardEntry_t_111x; +typedef u64_LeaderboardEntry_t_111x u_LeaderboardEntry_t_111x; +#endif + +#pragma pack( push, 4 ) +struct w64_LeaderboardEntry_t_104 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_LeaderboardEntry_t_104 +{ + CSteamID m_steamIDUser; + int32_t m_nGlobalRank; + int32_t m_nScore; + int32_t m_cDetails; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardEntry_t_104 w_LeaderboardEntry_t_104; +typedef u32_LeaderboardEntry_t_104 u_LeaderboardEntry_t_104; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardEntry_t_104 w_LeaderboardEntry_t_104; +typedef u64_LeaderboardEntry_t_104 u_LeaderboardEntry_t_104; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardScoreUploaded_t_123 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[7]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_21[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator u64_LeaderboardScoreUploaded_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_LeaderboardScoreUploaded_t_123 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[3]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_17[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator w64_LeaderboardScoreUploaded_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardScoreUploaded_t_123 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[7]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_21[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator u32_LeaderboardScoreUploaded_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardScoreUploaded_t_123 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[3]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_17[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator w32_LeaderboardScoreUploaded_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardScoreUploaded_t_123 w_LeaderboardScoreUploaded_t_123; +typedef u32_LeaderboardScoreUploaded_t_123 u_LeaderboardScoreUploaded_t_123; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardScoreUploaded_t_123 w_LeaderboardScoreUploaded_t_123; +typedef u64_LeaderboardScoreUploaded_t_123 u_LeaderboardScoreUploaded_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardScoreUploaded_t_104 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[7]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_21[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardScoreUploaded_t_104 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[7]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_21[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator u32_LeaderboardScoreUploaded_t_104() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardScoreUploaded_t_104 +{ + uint8_t m_bSuccess; + uint8_t __pad_1[3]; + uint64_t m_hSteamLeaderboard; + int32_t m_nScore; + uint8_t m_bScoreChanged; + uint8_t __pad_17[3]; + int32_t m_nGlobalRankNew; + int32_t m_nGlobalRankPrevious; +#ifdef __cplusplus + operator w32_LeaderboardScoreUploaded_t_104() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardScoreUploaded_t_104 w_LeaderboardScoreUploaded_t_104; +typedef u32_LeaderboardScoreUploaded_t_104 u_LeaderboardScoreUploaded_t_104; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardScoreUploaded_t_104 w_LeaderboardScoreUploaded_t_104; +typedef u64_LeaderboardScoreUploaded_t_104 u_LeaderboardScoreUploaded_t_104; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardUGCSet_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator u64_LeaderboardUGCSet_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_LeaderboardUGCSet_t_123 +{ + uint32_t m_eResult; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator w64_LeaderboardUGCSet_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardUGCSet_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator u32_LeaderboardUGCSet_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardUGCSet_t_123 +{ + uint32_t m_eResult; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator w32_LeaderboardUGCSet_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardUGCSet_t_123 w_LeaderboardUGCSet_t_123; +typedef u32_LeaderboardUGCSet_t_123 u_LeaderboardUGCSet_t_123; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardUGCSet_t_123 w_LeaderboardUGCSet_t_123; +typedef u64_LeaderboardUGCSet_t_123 u_LeaderboardUGCSet_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_LeaderboardUGCSet_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hSteamLeaderboard; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LeaderboardUGCSet_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator u32_LeaderboardUGCSet_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LeaderboardUGCSet_t_111x +{ + uint32_t m_eResult; + uint64_t m_hSteamLeaderboard; +#ifdef __cplusplus + operator w32_LeaderboardUGCSet_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LeaderboardUGCSet_t_111x w_LeaderboardUGCSet_t_111x; +typedef u32_LeaderboardUGCSet_t_111x u_LeaderboardUGCSet_t_111x; +#endif +#ifdef __x86_64__ +typedef w64_LeaderboardUGCSet_t_111x w_LeaderboardUGCSet_t_111x; +typedef u64_LeaderboardUGCSet_t_111x u_LeaderboardUGCSet_t_111x; +#endif + +#pragma pack( push, 8 ) +struct w64_LobbyCreated_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator u64_LobbyCreated_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_LobbyCreated_t_123 +{ + uint32_t m_eResult; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator w64_LobbyCreated_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LobbyCreated_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator u32_LobbyCreated_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LobbyCreated_t_123 +{ + uint32_t m_eResult; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator w32_LobbyCreated_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LobbyCreated_t_123 w_LobbyCreated_t_123; +typedef u32_LobbyCreated_t_123 u_LobbyCreated_t_123; +#endif +#ifdef __x86_64__ +typedef w64_LobbyCreated_t_123 w_LobbyCreated_t_123; +typedef u64_LobbyCreated_t_123 u_LobbyCreated_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_LobbyCreated_t_099u +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulSteamIDLobby; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_LobbyCreated_t_099u +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator u32_LobbyCreated_t_099u() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_LobbyCreated_t_099u +{ + uint32_t m_eResult; + uint64_t m_ulSteamIDLobby; +#ifdef __cplusplus + operator w32_LobbyCreated_t_099u() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_LobbyCreated_t_099u w_LobbyCreated_t_099u; +typedef u32_LobbyCreated_t_099u u_LobbyCreated_t_099u; +#endif +#ifdef __x86_64__ +typedef w64_LobbyCreated_t_099u w_LobbyCreated_t_099u; +typedef u64_LobbyCreated_t_099u u_LobbyCreated_t_099u; +#endif + +#pragma pack( push, 8 ) +struct w64_MicroTxnAuthorizationResponse_t_123 +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u64_MicroTxnAuthorizationResponse_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_MicroTxnAuthorizationResponse_t_123 +{ + uint32_t m_unAppID; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w64_MicroTxnAuthorizationResponse_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_MicroTxnAuthorizationResponse_t_123 +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u32_MicroTxnAuthorizationResponse_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_MicroTxnAuthorizationResponse_t_123 +{ + uint32_t m_unAppID; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w32_MicroTxnAuthorizationResponse_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_MicroTxnAuthorizationResponse_t_123 w_MicroTxnAuthorizationResponse_t_123; +typedef u32_MicroTxnAuthorizationResponse_t_123 u_MicroTxnAuthorizationResponse_t_123; +#endif +#ifdef __x86_64__ +typedef w64_MicroTxnAuthorizationResponse_t_123 w_MicroTxnAuthorizationResponse_t_123; +typedef u64_MicroTxnAuthorizationResponse_t_123 u_MicroTxnAuthorizationResponse_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_MicroTxnAuthorizationResponse_t_109 +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_17[7]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_MicroTxnAuthorizationResponse_t_109 +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u32_MicroTxnAuthorizationResponse_t_109() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_MicroTxnAuthorizationResponse_t_109 +{ + uint32_t m_unAppID; + uint64_t m_ulOrderID; + uint8_t m_bAuthorized; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w32_MicroTxnAuthorizationResponse_t_109() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_MicroTxnAuthorizationResponse_t_109 w_MicroTxnAuthorizationResponse_t_109; +typedef u32_MicroTxnAuthorizationResponse_t_109 u_MicroTxnAuthorizationResponse_t_109; +#endif +#ifdef __x86_64__ +typedef w64_MicroTxnAuthorizationResponse_t_109 w_MicroTxnAuthorizationResponse_t_109; +typedef u64_MicroTxnAuthorizationResponse_t_109 u_MicroTxnAuthorizationResponse_t_109; +#endif + +#pragma pack( push, 8 ) +struct w64_PS3TrophiesInstalled_t_123 +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator u64_PS3TrophiesInstalled_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_PS3TrophiesInstalled_t_123 +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator w64_PS3TrophiesInstalled_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_PS3TrophiesInstalled_t_123 +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator u32_PS3TrophiesInstalled_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_PS3TrophiesInstalled_t_123 +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator w32_PS3TrophiesInstalled_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_PS3TrophiesInstalled_t_123 w_PS3TrophiesInstalled_t_123; +typedef u32_PS3TrophiesInstalled_t_123 u_PS3TrophiesInstalled_t_123; +#endif +#ifdef __x86_64__ +typedef w64_PS3TrophiesInstalled_t_123 w_PS3TrophiesInstalled_t_123; +typedef u64_PS3TrophiesInstalled_t_123 u_PS3TrophiesInstalled_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_PS3TrophiesInstalled_t_112x +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; + uint64_t m_ulRequiredDiskSpace; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_PS3TrophiesInstalled_t_112x +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint8_t __pad_12[4]; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator u32_PS3TrophiesInstalled_t_112x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_PS3TrophiesInstalled_t_112x +{ + uint64_t m_nGameID; + uint32_t m_eResult; + uint64_t m_ulRequiredDiskSpace; +#ifdef __cplusplus + operator w32_PS3TrophiesInstalled_t_112x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_PS3TrophiesInstalled_t_112x w_PS3TrophiesInstalled_t_112x; +typedef u32_PS3TrophiesInstalled_t_112x u_PS3TrophiesInstalled_t_112x; +#endif +#ifdef __x86_64__ +typedef w64_PS3TrophiesInstalled_t_112x w_PS3TrophiesInstalled_t_112x; +typedef u64_PS3TrophiesInstalled_t_112x u_PS3TrophiesInstalled_t_112x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageAppSyncProgress_t_123 +{ + W64_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + uint8_t __pad_268[4]; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_281[7]; +#ifdef __cplusplus + operator u64_RemoteStorageAppSyncProgress_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageAppSyncProgress_t_123 +{ + U64_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_277[3]; +#ifdef __cplusplus + operator w64_RemoteStorageAppSyncProgress_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageAppSyncProgress_t_123 +{ + W32_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + uint8_t __pad_268[4]; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_281[7]; +#ifdef __cplusplus + operator u32_RemoteStorageAppSyncProgress_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageAppSyncProgress_t_123 +{ + U32_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_277[3]; +#ifdef __cplusplus + operator w32_RemoteStorageAppSyncProgress_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageAppSyncProgress_t_123 w_RemoteStorageAppSyncProgress_t_123; +typedef u32_RemoteStorageAppSyncProgress_t_123 u_RemoteStorageAppSyncProgress_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageAppSyncProgress_t_123 w_RemoteStorageAppSyncProgress_t_123; +typedef u64_RemoteStorageAppSyncProgress_t_123 u_RemoteStorageAppSyncProgress_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageAppSyncProgress_t_111x +{ + W64_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + uint8_t __pad_268[4]; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_281[7]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageAppSyncProgress_t_111x +{ + W32_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + uint8_t __pad_268[4]; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_281[7]; +#ifdef __cplusplus + operator u32_RemoteStorageAppSyncProgress_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageAppSyncProgress_t_111x +{ + U32_ARRAY(char, 260, m_rgchCurrentFile); + uint32_t m_nAppID; + uint32_t m_uBytesTransferredThisChunk; + double m_dAppPercentComplete; + int8_t m_bUploading; + uint8_t __pad_277[3]; +#ifdef __cplusplus + operator w32_RemoteStorageAppSyncProgress_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageAppSyncProgress_t_111x w_RemoteStorageAppSyncProgress_t_111x; +typedef u32_RemoteStorageAppSyncProgress_t_111x u_RemoteStorageAppSyncProgress_t_111x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageAppSyncProgress_t_111x w_RemoteStorageAppSyncProgress_t_111x; +typedef u64_RemoteStorageAppSyncProgress_t_111x u_RemoteStorageAppSyncProgress_t_111x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageDeletePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStorageDeletePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageDeletePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStorageDeletePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageDeletePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageDeletePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageDeletePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageDeletePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageDeletePublishedFileResult_t_123 w_RemoteStorageDeletePublishedFileResult_t_123; +typedef u32_RemoteStorageDeletePublishedFileResult_t_123 u_RemoteStorageDeletePublishedFileResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageDeletePublishedFileResult_t_123 w_RemoteStorageDeletePublishedFileResult_t_123; +typedef u64_RemoteStorageDeletePublishedFileResult_t_123 u_RemoteStorageDeletePublishedFileResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageDeletePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageDeletePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageDeletePublishedFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageDeletePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageDeletePublishedFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageDeletePublishedFileResult_t_116x w_RemoteStorageDeletePublishedFileResult_t_116x; +typedef u32_RemoteStorageDeletePublishedFileResult_t_116x u_RemoteStorageDeletePublishedFileResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageDeletePublishedFileResult_t_116x w_RemoteStorageDeletePublishedFileResult_t_116x; +typedef u64_RemoteStorageDeletePublishedFileResult_t_116x u_RemoteStorageDeletePublishedFileResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageDownloadUGCResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_284[4]; + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator u64_RemoteStorageDownloadUGCResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageDownloadUGCResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + U64_ARRAY(char, 260, m_pchFileName); + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator w64_RemoteStorageDownloadUGCResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageDownloadUGCResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_284[4]; + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator u32_RemoteStorageDownloadUGCResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageDownloadUGCResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + U32_ARRAY(char, 260, m_pchFileName); + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator w32_RemoteStorageDownloadUGCResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageDownloadUGCResult_t_123 w_RemoteStorageDownloadUGCResult_t_123; +typedef u32_RemoteStorageDownloadUGCResult_t_123 u_RemoteStorageDownloadUGCResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageDownloadUGCResult_t_123 w_RemoteStorageDownloadUGCResult_t_123; +typedef u64_RemoteStorageDownloadUGCResult_t_123 u_RemoteStorageDownloadUGCResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageDownloadUGCResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_284[4]; + uint64_t m_ulSteamIDOwner; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageDownloadUGCResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_284[4]; + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator u32_RemoteStorageDownloadUGCResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageDownloadUGCResult_t_116x +{ + uint32_t m_eResult; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + U32_ARRAY(char, 260, m_pchFileName); + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator w32_RemoteStorageDownloadUGCResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageDownloadUGCResult_t_116x w_RemoteStorageDownloadUGCResult_t_116x; +typedef u32_RemoteStorageDownloadUGCResult_t_116x u_RemoteStorageDownloadUGCResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageDownloadUGCResult_t_116x w_RemoteStorageDownloadUGCResult_t_116x; +typedef u64_RemoteStorageDownloadUGCResult_t_116x u_RemoteStorageDownloadUGCResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageDownloadUGCResult_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W64_PTR(char *m_pchFileName, m_pchFileName); + uint64_t m_ulSteamIDOwner; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageDownloadUGCResult_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + W32_PTR(char *m_pchFileName, m_pchFileName); + uint8_t __pad_28[4]; + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator u32_RemoteStorageDownloadUGCResult_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageDownloadUGCResult_t_111x +{ + uint32_t m_eResult; + uint64_t m_hFile; + uint32_t m_nAppID; + int32_t m_nSizeInBytes; + U32_PTR(char *m_pchFileName, m_pchFileName); + uint64_t m_ulSteamIDOwner; +#ifdef __cplusplus + operator w32_RemoteStorageDownloadUGCResult_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageDownloadUGCResult_t_111x w_RemoteStorageDownloadUGCResult_t_111x; +typedef u32_RemoteStorageDownloadUGCResult_t_111x u_RemoteStorageDownloadUGCResult_t_111x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageDownloadUGCResult_t_111x w_RemoteStorageDownloadUGCResult_t_111x; +typedef u64_RemoteStorageDownloadUGCResult_t_111x u_RemoteStorageDownloadUGCResult_t_111x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 w_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 u_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 w_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +typedef u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 u_RemoteStorageEnumerateUserPublishedFilesResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x w_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x u_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x w_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +typedef u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x u_RemoteStorageEnumerateUserPublishedFilesResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +typedef u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +typedef u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W64_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U64_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W32_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U32_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 w_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 u_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 w_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +typedef u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 u_RemoteStorageEnumerateUserSubscribedFilesResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W64_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W32_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U32_ARRAY(uint32_t, 50, m_rgRTimeSubscribed); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x w_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x u_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x w_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +typedef u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x u_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_125 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W64_ARRAY(float, 50, m_rgScore); + uint32_t m_nAppId; + uint32_t m_unStartIndex; +#ifdef __cplusplus + operator u64_RemoteStorageEnumerateWorkshopFilesResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageEnumerateWorkshopFilesResult_t_125 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U64_ARRAY(float, 50, m_rgScore); + uint32_t m_nAppId; + uint32_t m_unStartIndex; +#ifdef __cplusplus + operator w64_RemoteStorageEnumerateWorkshopFilesResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_125 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W32_ARRAY(float, 50, m_rgScore); + uint32_t m_nAppId; + uint32_t m_unStartIndex; +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_125 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U32_ARRAY(float, 50, m_rgScore); + uint32_t m_nAppId; + uint32_t m_unStartIndex; +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateWorkshopFilesResult_t_125 w_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef u32_RemoteStorageEnumerateWorkshopFilesResult_t_125 u_RemoteStorageEnumerateWorkshopFilesResult_t_125; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateWorkshopFilesResult_t_125 w_RemoteStorageEnumerateWorkshopFilesResult_t_125; +typedef u64_RemoteStorageEnumerateWorkshopFilesResult_t_125 u_RemoteStorageEnumerateWorkshopFilesResult_t_125; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W64_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator u64_RemoteStorageEnumerateWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageEnumerateWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U64_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator w64_RemoteStorageEnumerateWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W32_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_123 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U32_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateWorkshopFilesResult_t_123 w_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef u32_RemoteStorageEnumerateWorkshopFilesResult_t_123 u_RemoteStorageEnumerateWorkshopFilesResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateWorkshopFilesResult_t_123 w_RemoteStorageEnumerateWorkshopFilesResult_t_123; +typedef u64_RemoteStorageEnumerateWorkshopFilesResult_t_123 u_RemoteStorageEnumerateWorkshopFilesResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageEnumerateWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W64_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W64_ARRAY(float, 50, m_rgScore); +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageEnumerateWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + uint8_t __pad_12[4]; + W32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + W32_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageEnumerateWorkshopFilesResult_t_119 +{ + uint32_t m_eResult; + int32_t m_nResultsReturned; + int32_t m_nTotalResultCount; + U32_ARRAY(uint64_t, 50, m_rgPublishedFileId); + U32_ARRAY(float, 50, m_rgScore); +#ifdef __cplusplus + operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageEnumerateWorkshopFilesResult_t_119 w_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef u32_RemoteStorageEnumerateWorkshopFilesResult_t_119 u_RemoteStorageEnumerateWorkshopFilesResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageEnumerateWorkshopFilesResult_t_119 w_RemoteStorageEnumerateWorkshopFilesResult_t_119; +typedef u64_RemoteStorageEnumerateWorkshopFilesResult_t_119 u_RemoteStorageEnumerateWorkshopFilesResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageFileShareResult_t_128x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + W64_ARRAY(char, 260, m_rgchFilename); + uint8_t __pad_276[4]; +#ifdef __cplusplus + operator u64_RemoteStorageFileShareResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageFileShareResult_t_128x +{ + uint32_t m_eResult; + uint64_t m_hFile; + U64_ARRAY(char, 260, m_rgchFilename); +#ifdef __cplusplus + operator w64_RemoteStorageFileShareResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageFileShareResult_t_128x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; + W32_ARRAY(char, 260, m_rgchFilename); + uint8_t __pad_276[4]; +#ifdef __cplusplus + operator u32_RemoteStorageFileShareResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageFileShareResult_t_128x +{ + uint32_t m_eResult; + uint64_t m_hFile; + U32_ARRAY(char, 260, m_rgchFilename); +#ifdef __cplusplus + operator w32_RemoteStorageFileShareResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageFileShareResult_t_128x w_RemoteStorageFileShareResult_t_128x; +typedef u32_RemoteStorageFileShareResult_t_128x u_RemoteStorageFileShareResult_t_128x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageFileShareResult_t_128x w_RemoteStorageFileShareResult_t_128x; +typedef u64_RemoteStorageFileShareResult_t_128x u_RemoteStorageFileShareResult_t_128x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageFileShareResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; +#ifdef __cplusplus + operator u64_RemoteStorageFileShareResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageFileShareResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_hFile; +#ifdef __cplusplus + operator w64_RemoteStorageFileShareResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageFileShareResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; +#ifdef __cplusplus + operator u32_RemoteStorageFileShareResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageFileShareResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_hFile; +#ifdef __cplusplus + operator w32_RemoteStorageFileShareResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageFileShareResult_t_123 w_RemoteStorageFileShareResult_t_123; +typedef u32_RemoteStorageFileShareResult_t_123 u_RemoteStorageFileShareResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageFileShareResult_t_123 w_RemoteStorageFileShareResult_t_123; +typedef u64_RemoteStorageFileShareResult_t_123 u_RemoteStorageFileShareResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageFileShareResult_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageFileShareResult_t_111x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_hFile; +#ifdef __cplusplus + operator u32_RemoteStorageFileShareResult_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageFileShareResult_t_111x +{ + uint32_t m_eResult; + uint64_t m_hFile; +#ifdef __cplusplus + operator w32_RemoteStorageFileShareResult_t_111x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageFileShareResult_t_111x w_RemoteStorageFileShareResult_t_111x; +typedef u32_RemoteStorageFileShareResult_t_111x u_RemoteStorageFileShareResult_t_111x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageFileShareResult_t_111x w_RemoteStorageFileShareResult_t_111x; +typedef u64_RemoteStorageFileShareResult_t_111x u_RemoteStorageFileShareResult_t_111x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_126 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; + int8_t m_bAcceptedForUse; + uint8_t __pad_9753[7]; +#ifdef __cplusplus + operator u64_RemoteStorageGetPublishedFileDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageGetPublishedFileDetailsResult_t_126 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U64_ARRAY(char, 129, m_rgchTitle); + U64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U64_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; + int8_t m_bAcceptedForUse; + uint8_t __pad_9745[3]; +#ifdef __cplusplus + operator w64_RemoteStorageGetPublishedFileDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_126 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; + int8_t m_bAcceptedForUse; + uint8_t __pad_9753[7]; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_126 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; + int8_t m_bAcceptedForUse; + uint8_t __pad_9745[3]; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_126 w_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_126 u_RemoteStorageGetPublishedFileDetailsResult_t_126; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_126 w_RemoteStorageGetPublishedFileDetailsResult_t_126; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_126 u_RemoteStorageGetPublishedFileDetailsResult_t_126; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator u64_RemoteStorageGetPublishedFileDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageGetPublishedFileDetailsResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U64_ARRAY(char, 129, m_rgchTitle); + U64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U64_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator w64_RemoteStorageGetPublishedFileDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_123 w_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_123 u_RemoteStorageGetPublishedFileDetailsResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_123 w_RemoteStorageGetPublishedFileDetailsResult_t_123; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_123 u_RemoteStorageGetPublishedFileDetailsResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_119x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_119x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_119x +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); + uint32_t m_eFileType; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_119x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_119x w_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_119x u_RemoteStorageGetPublishedFileDetailsResult_t_119x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_119x w_RemoteStorageGetPublishedFileDetailsResult_t_119x; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_119x u_RemoteStorageGetPublishedFileDetailsResult_t_119x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W64_ARRAY(char, 256, m_rgchURL); + uint8_t __pad_9748[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + W32_ARRAY(char, 256, m_rgchURL); + uint8_t __pad_9748[4]; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_119 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + U32_ARRAY(char, 256, m_rgchURL); +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_119 w_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_119 u_RemoteStorageGetPublishedFileDetailsResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_119 w_RemoteStorageGetPublishedFileDetailsResult_t_119; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_119 u_RemoteStorageGetPublishedFileDetailsResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_118 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + uint8_t __pad_9492[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_118 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8153[7]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9483[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; + uint8_t __pad_9492[4]; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_118() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_118 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 8000, m_rgchDescription); + uint8_t __pad_8149[3]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_9475[1]; + int32_t m_nFileSize; + int32_t m_nPreviewFileSize; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_118() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_118 w_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_118 u_RemoteStorageGetPublishedFileDetailsResult_t_118; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_118 w_RemoteStorageGetPublishedFileDetailsResult_t_118; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_118 u_RemoteStorageGetPublishedFileDetailsResult_t_118; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedFileDetailsResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W64_ARRAY(char, 129, m_rgchTitle); + W64_ARRAY(char, 257, m_rgchDescription); + uint8_t __pad_410[6]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W64_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W64_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_1739[5]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedFileDetailsResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + W32_ARRAY(char, 129, m_rgchTitle); + W32_ARRAY(char, 257, m_rgchDescription); + uint8_t __pad_410[6]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + W32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + W32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_1739[5]; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedFileDetailsResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedFileDetailsResult_t_116x +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nCreatorAppID; + uint32_t m_nConsumerAppID; + U32_ARRAY(char, 129, m_rgchTitle); + U32_ARRAY(char, 257, m_rgchDescription); + uint8_t __pad_406[2]; + uint64_t m_hFile; + uint64_t m_hPreviewFile; + uint64_t m_ulSteamIDOwner; + uint32_t m_rtimeCreated; + uint32_t m_rtimeUpdated; + uint32_t m_eVisibility; + int8_t m_bBanned; + U32_ARRAY(char, 1025, m_rgchTags); + int8_t m_bTagsTruncated; + U32_ARRAY(char, 260, m_pchFileName); + uint8_t __pad_1731[1]; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedFileDetailsResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedFileDetailsResult_t_116x w_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef u32_RemoteStorageGetPublishedFileDetailsResult_t_116x u_RemoteStorageGetPublishedFileDetailsResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedFileDetailsResult_t_116x w_RemoteStorageGetPublishedFileDetailsResult_t_116x; +typedef u64_RemoteStorageGetPublishedFileDetailsResult_t_116x u_RemoteStorageGetPublishedFileDetailsResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 w_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 u_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 w_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +typedef u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 u_RemoteStorageGetPublishedItemVoteDetailsResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 +{ + uint32_t m_eResult; + uint64_t m_unPublishedFileId; + int32_t m_nVotesFor; + int32_t m_nVotesAgainst; + int32_t m_nReports; + float m_fScore; +#ifdef __cplusplus + operator w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 w_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 u_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 w_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +typedef u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 u_RemoteStorageGetPublishedItemVoteDetailsResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStoragePublishFileResult_t_125 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u64_RemoteStoragePublishFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStoragePublishFileResult_t_125 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w64_RemoteStoragePublishFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStoragePublishFileResult_t_125 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u32_RemoteStoragePublishFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStoragePublishFileResult_t_125 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w32_RemoteStoragePublishFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStoragePublishFileResult_t_125 w_RemoteStoragePublishFileResult_t_125; +typedef u32_RemoteStoragePublishFileResult_t_125 u_RemoteStoragePublishFileResult_t_125; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStoragePublishFileResult_t_125 w_RemoteStoragePublishFileResult_t_125; +typedef u64_RemoteStoragePublishFileResult_t_125 u_RemoteStoragePublishFileResult_t_125; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStoragePublishFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStoragePublishFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStoragePublishFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStoragePublishFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStoragePublishFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStoragePublishFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStoragePublishFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStoragePublishFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStoragePublishFileResult_t_123 w_RemoteStoragePublishFileResult_t_123; +typedef u32_RemoteStoragePublishFileResult_t_123 u_RemoteStoragePublishFileResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStoragePublishFileResult_t_123 w_RemoteStoragePublishFileResult_t_123; +typedef u64_RemoteStoragePublishFileResult_t_123 u_RemoteStoragePublishFileResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStoragePublishFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStoragePublishFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStoragePublishFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStoragePublishFileResult_t_116x +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStoragePublishFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStoragePublishFileResult_t_116x w_RemoteStoragePublishFileResult_t_116x; +typedef u32_RemoteStoragePublishFileResult_t_116x u_RemoteStoragePublishFileResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStoragePublishFileResult_t_116x w_RemoteStoragePublishFileResult_t_116x; +typedef u64_RemoteStoragePublishFileResult_t_116x u_RemoteStoragePublishFileResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStoragePublishedFileUpdated_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_12[4]; + uint64_t m_ulUnused; +#ifdef __cplusplus + operator u64_RemoteStoragePublishedFileUpdated_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStoragePublishedFileUpdated_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint64_t m_ulUnused; +#ifdef __cplusplus + operator w64_RemoteStoragePublishedFileUpdated_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStoragePublishedFileUpdated_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_12[4]; + uint64_t m_ulUnused; +#ifdef __cplusplus + operator u32_RemoteStoragePublishedFileUpdated_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStoragePublishedFileUpdated_t +{ + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint64_t m_ulUnused; +#ifdef __cplusplus + operator w32_RemoteStoragePublishedFileUpdated_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStoragePublishedFileUpdated_t w_RemoteStoragePublishedFileUpdated_t; +typedef u32_RemoteStoragePublishedFileUpdated_t u_RemoteStoragePublishedFileUpdated_t; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStoragePublishedFileUpdated_t w_RemoteStoragePublishedFileUpdated_t; +typedef u64_RemoteStoragePublishedFileUpdated_t u_RemoteStoragePublishedFileUpdated_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageSetUserPublishedFileActionResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_RemoteStorageSetUserPublishedFileActionResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageSetUserPublishedFileActionResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; +#ifdef __cplusplus + operator w64_RemoteStorageSetUserPublishedFileActionResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageSetUserPublishedFileActionResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_RemoteStorageSetUserPublishedFileActionResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageSetUserPublishedFileActionResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; +#ifdef __cplusplus + operator w32_RemoteStorageSetUserPublishedFileActionResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageSetUserPublishedFileActionResult_t_123 w_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef u32_RemoteStorageSetUserPublishedFileActionResult_t_123 u_RemoteStorageSetUserPublishedFileActionResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageSetUserPublishedFileActionResult_t_123 w_RemoteStorageSetUserPublishedFileActionResult_t_123; +typedef u64_RemoteStorageSetUserPublishedFileActionResult_t_123 u_RemoteStorageSetUserPublishedFileActionResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageSetUserPublishedFileActionResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageSetUserPublishedFileActionResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_RemoteStorageSetUserPublishedFileActionResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageSetUserPublishedFileActionResult_t_119 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eAction; +#ifdef __cplusplus + operator w32_RemoteStorageSetUserPublishedFileActionResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageSetUserPublishedFileActionResult_t_119 w_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef u32_RemoteStorageSetUserPublishedFileActionResult_t_119 u_RemoteStorageSetUserPublishedFileActionResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageSetUserPublishedFileActionResult_t_119 w_RemoteStorageSetUserPublishedFileActionResult_t_119; +typedef u64_RemoteStorageSetUserPublishedFileActionResult_t_119 u_RemoteStorageSetUserPublishedFileActionResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageSubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStorageSubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageSubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStorageSubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageSubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageSubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageSubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageSubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageSubscribePublishedFileResult_t_123 w_RemoteStorageSubscribePublishedFileResult_t_123; +typedef u32_RemoteStorageSubscribePublishedFileResult_t_123 u_RemoteStorageSubscribePublishedFileResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageSubscribePublishedFileResult_t_123 w_RemoteStorageSubscribePublishedFileResult_t_123; +typedef u64_RemoteStorageSubscribePublishedFileResult_t_123 u_RemoteStorageSubscribePublishedFileResult_t_123; +#endif + +#pragma pack( push, 4 ) +struct w64_RemoteStorageSubscribePublishedFileResult_t_116x +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RemoteStorageSubscribePublishedFileResult_t_116x +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageSubscribePublishedFileResult_t_116x w_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef u32_RemoteStorageSubscribePublishedFileResult_t_116x u_RemoteStorageSubscribePublishedFileResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageSubscribePublishedFileResult_t_116x w_RemoteStorageSubscribePublishedFileResult_t_116x; +typedef u64_RemoteStorageSubscribePublishedFileResult_t_116x u_RemoteStorageSubscribePublishedFileResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUnsubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStorageUnsubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageUnsubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStorageUnsubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUnsubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageUnsubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUnsubscribePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageUnsubscribePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUnsubscribePublishedFileResult_t_123 w_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef u32_RemoteStorageUnsubscribePublishedFileResult_t_123 u_RemoteStorageUnsubscribePublishedFileResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUnsubscribePublishedFileResult_t_123 w_RemoteStorageUnsubscribePublishedFileResult_t_123; +typedef u64_RemoteStorageUnsubscribePublishedFileResult_t_123 u_RemoteStorageUnsubscribePublishedFileResult_t_123; +#endif + +#pragma pack( push, 4 ) +struct w64_RemoteStorageUnsubscribePublishedFileResult_t_116x +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RemoteStorageUnsubscribePublishedFileResult_t_116x +{ + uint32_t m_eResult; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUnsubscribePublishedFileResult_t_116x w_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef u32_RemoteStorageUnsubscribePublishedFileResult_t_116x u_RemoteStorageUnsubscribePublishedFileResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUnsubscribePublishedFileResult_t_116x w_RemoteStorageUnsubscribePublishedFileResult_t_116x; +typedef u64_RemoteStorageUnsubscribePublishedFileResult_t_116x u_RemoteStorageUnsubscribePublishedFileResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdatePublishedFileRequest_t +{ + uint64_t m_unPublishedFileId; + W64_PTR(const char *m_pchFile, m_pchFile); + W64_PTR(const char *m_pchPreviewFile, m_pchPreviewFile); + W64_PTR(const char *m_pchTitle, m_pchTitle); + W64_PTR(const char *m_pchDescription, m_pchDescription); + uint32_t m_eVisibility; + uint8_t __pad_44[4]; + W64_PTR(w64_SteamParamStringArray_t *m_pTags, m_pTags); + int8_t m_bUpdateFile; + int8_t m_bUpdatePreviewFile; + int8_t m_bUpdateTitle; + int8_t m_bUpdateDescription; + int8_t m_bUpdateVisibility; + int8_t m_bUpdateTags; + uint8_t __pad_62[2]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdatePublishedFileRequest_t +{ + uint64_t m_unPublishedFileId; + W32_PTR(const char *m_pchFile, m_pchFile); + W32_PTR(const char *m_pchPreviewFile, m_pchPreviewFile); + W32_PTR(const char *m_pchTitle, m_pchTitle); + W32_PTR(const char *m_pchDescription, m_pchDescription); + uint32_t m_eVisibility; + W32_PTR(w32_SteamParamStringArray_t *m_pTags, m_pTags); + int8_t m_bUpdateFile; + int8_t m_bUpdatePreviewFile; + int8_t m_bUpdateTitle; + int8_t m_bUpdateDescription; + int8_t m_bUpdateVisibility; + int8_t m_bUpdateTags; + uint8_t __pad_38[2]; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdatePublishedFileRequest_t w_RemoteStorageUpdatePublishedFileRequest_t; +typedef u32_RemoteStorageUpdatePublishedFileRequest_t u_RemoteStorageUpdatePublishedFileRequest_t; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdatePublishedFileRequest_t w_RemoteStorageUpdatePublishedFileRequest_t; +typedef u64_RemoteStorageUpdatePublishedFileRequest_t u_RemoteStorageUpdatePublishedFileRequest_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdatePublishedFileResult_t_125 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u64_RemoteStorageUpdatePublishedFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageUpdatePublishedFileResult_t_125 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w64_RemoteStorageUpdatePublishedFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdatePublishedFileResult_t_125 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_17[7]; +#ifdef __cplusplus + operator u32_RemoteStorageUpdatePublishedFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUpdatePublishedFileResult_t_125 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + int8_t m_bUserNeedsToAcceptWorkshopLegalAgreement; + uint8_t __pad_13[3]; +#ifdef __cplusplus + operator w32_RemoteStorageUpdatePublishedFileResult_t_125() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdatePublishedFileResult_t_125 w_RemoteStorageUpdatePublishedFileResult_t_125; +typedef u32_RemoteStorageUpdatePublishedFileResult_t_125 u_RemoteStorageUpdatePublishedFileResult_t_125; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdatePublishedFileResult_t_125 w_RemoteStorageUpdatePublishedFileResult_t_125; +typedef u64_RemoteStorageUpdatePublishedFileResult_t_125 u_RemoteStorageUpdatePublishedFileResult_t_125; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdatePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStorageUpdatePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageUpdatePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStorageUpdatePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdatePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageUpdatePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUpdatePublishedFileResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageUpdatePublishedFileResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdatePublishedFileResult_t_123 w_RemoteStorageUpdatePublishedFileResult_t_123; +typedef u32_RemoteStorageUpdatePublishedFileResult_t_123 u_RemoteStorageUpdatePublishedFileResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdatePublishedFileResult_t_123 w_RemoteStorageUpdatePublishedFileResult_t_123; +typedef u64_RemoteStorageUpdatePublishedFileResult_t_123 u_RemoteStorageUpdatePublishedFileResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdatePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdatePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageUpdatePublishedFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUpdatePublishedFileResult_t_116x +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageUpdatePublishedFileResult_t_116x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdatePublishedFileResult_t_116x w_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef u32_RemoteStorageUpdatePublishedFileResult_t_116x u_RemoteStorageUpdatePublishedFileResult_t_116x; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdatePublishedFileResult_t_116x w_RemoteStorageUpdatePublishedFileResult_t_116x; +typedef u64_RemoteStorageUpdatePublishedFileResult_t_116x u_RemoteStorageUpdatePublishedFileResult_t_116x; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 w_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 u_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 w_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +typedef u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 u_RemoteStorageUpdateUserPublishedItemVoteResult_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; +#ifdef __cplusplus + operator w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 w_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 u_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 w_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +typedef u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 u_RemoteStorageUpdateUserPublishedItemVoteResult_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUserVoteDetails_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_RemoteStorageUserVoteDetails_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoteStorageUserVoteDetails_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; +#ifdef __cplusplus + operator w64_RemoteStorageUserVoteDetails_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUserVoteDetails_t_123 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_RemoteStorageUserVoteDetails_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUserVoteDetails_t_123 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; +#ifdef __cplusplus + operator w32_RemoteStorageUserVoteDetails_t_123() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUserVoteDetails_t_123 w_RemoteStorageUserVoteDetails_t_123; +typedef u32_RemoteStorageUserVoteDetails_t_123 u_RemoteStorageUserVoteDetails_t_123; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUserVoteDetails_t_123 w_RemoteStorageUserVoteDetails_t_123; +typedef u64_RemoteStorageUserVoteDetails_t_123 u_RemoteStorageUserVoteDetails_t_123; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoteStorageUserVoteDetails_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoteStorageUserVoteDetails_t_119 +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_RemoteStorageUserVoteDetails_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoteStorageUserVoteDetails_t_119 +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_eVote; +#ifdef __cplusplus + operator w32_RemoteStorageUserVoteDetails_t_119() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoteStorageUserVoteDetails_t_119 w_RemoteStorageUserVoteDetails_t_119; +typedef u32_RemoteStorageUserVoteDetails_t_119 u_RemoteStorageUserVoteDetails_t_119; +#endif +#ifdef __x86_64__ +typedef w64_RemoteStorageUserVoteDetails_t_119 w_RemoteStorageUserVoteDetails_t_119; +typedef u64_RemoteStorageUserVoteDetails_t_119 u_RemoteStorageUserVoteDetails_t_119; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoveAppDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_RemoveAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoveAppDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; +#ifdef __cplusplus + operator w64_RemoveAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoveAppDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_RemoveAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoveAppDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint32_t m_nAppID; +#ifdef __cplusplus + operator w32_RemoveAppDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoveAppDependencyResult_t w_RemoveAppDependencyResult_t; +typedef u32_RemoveAppDependencyResult_t u_RemoveAppDependencyResult_t; +#endif +#ifdef __x86_64__ +typedef w64_RemoveAppDependencyResult_t w_RemoveAppDependencyResult_t; +typedef u64_RemoveAppDependencyResult_t u_RemoveAppDependencyResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RemoveUGCDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator u64_RemoveUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RemoveUGCDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator w64_RemoveUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RemoveUGCDependencyResult_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator u32_RemoveUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RemoveUGCDependencyResult_t +{ + uint32_t m_eResult; + uint64_t m_nPublishedFileId; + uint64_t m_nChildPublishedFileId; +#ifdef __cplusplus + operator w32_RemoveUGCDependencyResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RemoveUGCDependencyResult_t w_RemoveUGCDependencyResult_t; +typedef u32_RemoveUGCDependencyResult_t u_RemoveUGCDependencyResult_t; +#endif +#ifdef __x86_64__ +typedef w64_RemoveUGCDependencyResult_t w_RemoveUGCDependencyResult_t; +typedef u64_RemoveUGCDependencyResult_t u_RemoveUGCDependencyResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RequestPlayersForGameFinalResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator u64_RequestPlayersForGameFinalResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RequestPlayersForGameFinalResultCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator w64_RequestPlayersForGameFinalResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RequestPlayersForGameFinalResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator u32_RequestPlayersForGameFinalResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RequestPlayersForGameFinalResultCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator w32_RequestPlayersForGameFinalResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RequestPlayersForGameFinalResultCallback_t w_RequestPlayersForGameFinalResultCallback_t; +typedef u32_RequestPlayersForGameFinalResultCallback_t u_RequestPlayersForGameFinalResultCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_RequestPlayersForGameFinalResultCallback_t w_RequestPlayersForGameFinalResultCallback_t; +typedef u64_RequestPlayersForGameFinalResultCallback_t u_RequestPlayersForGameFinalResultCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RequestPlayersForGameProgressCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; +#ifdef __cplusplus + operator u64_RequestPlayersForGameProgressCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RequestPlayersForGameProgressCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; +#ifdef __cplusplus + operator w64_RequestPlayersForGameProgressCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RequestPlayersForGameProgressCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; +#ifdef __cplusplus + operator u32_RequestPlayersForGameProgressCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RequestPlayersForGameProgressCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; +#ifdef __cplusplus + operator w32_RequestPlayersForGameProgressCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RequestPlayersForGameProgressCallback_t w_RequestPlayersForGameProgressCallback_t; +typedef u32_RequestPlayersForGameProgressCallback_t u_RequestPlayersForGameProgressCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_RequestPlayersForGameProgressCallback_t w_RequestPlayersForGameProgressCallback_t; +typedef u64_RequestPlayersForGameProgressCallback_t u_RequestPlayersForGameProgressCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RequestPlayersForGameResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; + CSteamID m_SteamIDPlayerFound; + CSteamID m_SteamIDLobby; + uint32_t m_ePlayerAcceptState; + int32_t m_nPlayerIndex; + int32_t m_nTotalPlayersFound; + int32_t m_nTotalPlayersAcceptedGame; + int32_t m_nSuggestedTeamIndex; + uint8_t __pad_52[4]; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator u64_RequestPlayersForGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RequestPlayersForGameResultCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; + CSteamID m_SteamIDPlayerFound; + CSteamID m_SteamIDLobby; + uint32_t m_ePlayerAcceptState; + int32_t m_nPlayerIndex; + int32_t m_nTotalPlayersFound; + int32_t m_nTotalPlayersAcceptedGame; + int32_t m_nSuggestedTeamIndex; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator w64_RequestPlayersForGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RequestPlayersForGameResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t m_ullSearchID; + CSteamID m_SteamIDPlayerFound; + CSteamID m_SteamIDLobby; + uint32_t m_ePlayerAcceptState; + int32_t m_nPlayerIndex; + int32_t m_nTotalPlayersFound; + int32_t m_nTotalPlayersAcceptedGame; + int32_t m_nSuggestedTeamIndex; + uint8_t __pad_52[4]; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator u32_RequestPlayersForGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_RequestPlayersForGameResultCallback_t +{ + uint32_t m_eResult; + uint64_t m_ullSearchID; + CSteamID m_SteamIDPlayerFound; + CSteamID m_SteamIDLobby; + uint32_t m_ePlayerAcceptState; + int32_t m_nPlayerIndex; + int32_t m_nTotalPlayersFound; + int32_t m_nTotalPlayersAcceptedGame; + int32_t m_nSuggestedTeamIndex; + uint64_t m_ullUniqueGameID; +#ifdef __cplusplus + operator w32_RequestPlayersForGameResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RequestPlayersForGameResultCallback_t w_RequestPlayersForGameResultCallback_t; +typedef u32_RequestPlayersForGameResultCallback_t u_RequestPlayersForGameResultCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_RequestPlayersForGameResultCallback_t w_RequestPlayersForGameResultCallback_t; +typedef u64_RequestPlayersForGameResultCallback_t u_RequestPlayersForGameResultCallback_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamInputConfigurationLoaded_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator; + uint32_t m_unMajorRevision; + uint32_t m_unMinorRevision; + int8_t m_bUsesSteamInputAPI; + int8_t m_bUsesGamepadAPI; + uint8_t __pad_34[6]; +#ifdef __cplusplus + operator u64_SteamInputConfigurationLoaded_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamInputConfigurationLoaded_t +{ + uint32_t m_unAppID; + uint64_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator; + uint32_t m_unMajorRevision; + uint32_t m_unMinorRevision; + int8_t m_bUsesSteamInputAPI; + int8_t m_bUsesGamepadAPI; + uint8_t __pad_30[2]; +#ifdef __cplusplus + operator w64_SteamInputConfigurationLoaded_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamInputConfigurationLoaded_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator; + uint32_t m_unMajorRevision; + uint32_t m_unMinorRevision; + int8_t m_bUsesSteamInputAPI; + int8_t m_bUsesGamepadAPI; + uint8_t __pad_34[6]; +#ifdef __cplusplus + operator u32_SteamInputConfigurationLoaded_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamInputConfigurationLoaded_t +{ + uint32_t m_unAppID; + uint64_t m_ulDeviceHandle; + CSteamID m_ulMappingCreator; + uint32_t m_unMajorRevision; + uint32_t m_unMinorRevision; + int8_t m_bUsesSteamInputAPI; + int8_t m_bUsesGamepadAPI; + uint8_t __pad_30[2]; +#ifdef __cplusplus + operator w32_SteamInputConfigurationLoaded_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamInputConfigurationLoaded_t w_SteamInputConfigurationLoaded_t; +typedef u32_SteamInputConfigurationLoaded_t u_SteamInputConfigurationLoaded_t; +#endif +#ifdef __x86_64__ +typedef w64_SteamInputConfigurationLoaded_t w_SteamInputConfigurationLoaded_t; +typedef u64_SteamInputConfigurationLoaded_t u_SteamInputConfigurationLoaded_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamInputGamepadSlotChange_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulDeviceHandle; + uint32_t m_eDeviceType; + int32_t m_nOldGamepadSlot; + int32_t m_nNewGamepadSlot; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_SteamInputGamepadSlotChange_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamInputGamepadSlotChange_t +{ + uint32_t m_unAppID; + uint64_t m_ulDeviceHandle; + uint32_t m_eDeviceType; + int32_t m_nOldGamepadSlot; + int32_t m_nNewGamepadSlot; +#ifdef __cplusplus + operator w64_SteamInputGamepadSlotChange_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamInputGamepadSlotChange_t +{ + uint32_t m_unAppID; + uint8_t __pad_4[4]; + uint64_t m_ulDeviceHandle; + uint32_t m_eDeviceType; + int32_t m_nOldGamepadSlot; + int32_t m_nNewGamepadSlot; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_SteamInputGamepadSlotChange_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamInputGamepadSlotChange_t +{ + uint32_t m_unAppID; + uint64_t m_ulDeviceHandle; + uint32_t m_eDeviceType; + int32_t m_nOldGamepadSlot; + int32_t m_nNewGamepadSlot; +#ifdef __cplusplus + operator w32_SteamInputGamepadSlotChange_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamInputGamepadSlotChange_t w_SteamInputGamepadSlotChange_t; +typedef u32_SteamInputGamepadSlotChange_t u_SteamInputGamepadSlotChange_t; +#endif +#ifdef __x86_64__ +typedef w64_SteamInputGamepadSlotChange_t w_SteamInputGamepadSlotChange_t; +typedef u64_SteamInputGamepadSlotChange_t u_SteamInputGamepadSlotChange_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamInventoryStartPurchaseResult_t +{ + uint32_t m_result; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint64_t m_ulTransID; +#ifdef __cplusplus + operator u64_SteamInventoryStartPurchaseResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamInventoryStartPurchaseResult_t +{ + uint32_t m_result; + uint64_t m_ulOrderID; + uint64_t m_ulTransID; +#ifdef __cplusplus + operator w64_SteamInventoryStartPurchaseResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamInventoryStartPurchaseResult_t +{ + uint32_t m_result; + uint8_t __pad_4[4]; + uint64_t m_ulOrderID; + uint64_t m_ulTransID; +#ifdef __cplusplus + operator u32_SteamInventoryStartPurchaseResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamInventoryStartPurchaseResult_t +{ + uint32_t m_result; + uint64_t m_ulOrderID; + uint64_t m_ulTransID; +#ifdef __cplusplus + operator w32_SteamInventoryStartPurchaseResult_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamInventoryStartPurchaseResult_t w_SteamInventoryStartPurchaseResult_t; +typedef u32_SteamInventoryStartPurchaseResult_t u_SteamInventoryStartPurchaseResult_t; +#endif +#ifdef __x86_64__ +typedef w64_SteamInventoryStartPurchaseResult_t w_SteamInventoryStartPurchaseResult_t; +typedef u64_SteamInventoryStartPurchaseResult_t u_SteamInventoryStartPurchaseResult_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetConnectionStatusChangedCallback_t_153a +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_153a m_info; + uint32_t m_eOldState; + uint8_t __pad_708[4]; +#ifdef __cplusplus + operator u64_SteamNetConnectionStatusChangedCallback_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamNetConnectionStatusChangedCallback_t_153a +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_153a m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w64_SteamNetConnectionStatusChangedCallback_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetConnectionStatusChangedCallback_t_153a +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_153a m_info; + uint32_t m_eOldState; + uint8_t __pad_708[4]; +#ifdef __cplusplus + operator u32_SteamNetConnectionStatusChangedCallback_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetConnectionStatusChangedCallback_t_153a +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_153a m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w32_SteamNetConnectionStatusChangedCallback_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetConnectionStatusChangedCallback_t_153a w_SteamNetConnectionStatusChangedCallback_t_153a; +typedef u32_SteamNetConnectionStatusChangedCallback_t_153a u_SteamNetConnectionStatusChangedCallback_t_153a; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetConnectionStatusChangedCallback_t_153a w_SteamNetConnectionStatusChangedCallback_t_153a; +typedef u64_SteamNetConnectionStatusChangedCallback_t_153a u_SteamNetConnectionStatusChangedCallback_t_153a; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetConnectionStatusChangedCallback_t_144 +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_144 m_info; + uint32_t m_eOldState; + uint8_t __pad_708[4]; +#ifdef __cplusplus + operator u64_SteamNetConnectionStatusChangedCallback_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamNetConnectionStatusChangedCallback_t_144 +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_144 m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w64_SteamNetConnectionStatusChangedCallback_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetConnectionStatusChangedCallback_t_144 +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_144 m_info; + uint32_t m_eOldState; + uint8_t __pad_708[4]; +#ifdef __cplusplus + operator u32_SteamNetConnectionStatusChangedCallback_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetConnectionStatusChangedCallback_t_144 +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_144 m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w32_SteamNetConnectionStatusChangedCallback_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetConnectionStatusChangedCallback_t_144 w_SteamNetConnectionStatusChangedCallback_t_144; +typedef u32_SteamNetConnectionStatusChangedCallback_t_144 u_SteamNetConnectionStatusChangedCallback_t_144; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetConnectionStatusChangedCallback_t_144 w_SteamNetConnectionStatusChangedCallback_t_144; +typedef u64_SteamNetConnectionStatusChangedCallback_t_144 u_SteamNetConnectionStatusChangedCallback_t_144; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetConnectionStatusChangedCallback_t_151 +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_151 m_info; + uint32_t m_eOldState; + uint8_t __pad_580[4]; +#ifdef __cplusplus + operator u64_SteamNetConnectionStatusChangedCallback_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamNetConnectionStatusChangedCallback_t_151 +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_151 m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w64_SteamNetConnectionStatusChangedCallback_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetConnectionStatusChangedCallback_t_151 +{ + uint32_t m_hConn; + uint8_t __pad_4[4]; + SteamNetConnectionInfo_t_151 m_info; + uint32_t m_eOldState; + uint8_t __pad_580[4]; +#ifdef __cplusplus + operator u32_SteamNetConnectionStatusChangedCallback_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetConnectionStatusChangedCallback_t_151 +{ + uint32_t m_hConn; + SteamNetConnectionInfo_t_151 m_info; + uint32_t m_eOldState; +#ifdef __cplusplus + operator w32_SteamNetConnectionStatusChangedCallback_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetConnectionStatusChangedCallback_t_151 w_SteamNetConnectionStatusChangedCallback_t_151; +typedef u32_SteamNetConnectionStatusChangedCallback_t_151 u_SteamNetConnectionStatusChangedCallback_t_151; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetConnectionStatusChangedCallback_t_151 w_SteamNetConnectionStatusChangedCallback_t_151; +typedef u64_SteamNetConnectionStatusChangedCallback_t_151 u_SteamNetConnectionStatusChangedCallback_t_151; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetworkingMessage_t_153a +{ + W64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W64_PTR(void (*W_STDCALL m_pfnFreeData)(w64_SteamNetworkingMessage_t_153a *), m_pfnFreeData); + W64_PTR(void (*W_STDCALL m_pfnRelease)(w64_SteamNetworkingMessage_t_153a *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; + uint16_t m_idxLane; + uint16_t _pad1__; + uint8_t __pad_212[4]; +#ifdef __cplusplus + operator u64_SteamNetworkingMessage_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct u64_SteamNetworkingMessage_t_153a +{ + U64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U64_PTR(void (*U_STDCALL m_pfnFreeData)(u64_SteamNetworkingMessage_t_153a *), m_pfnFreeData); + U64_PTR(void (*U_STDCALL m_pfnRelease)(u64_SteamNetworkingMessage_t_153a *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; + uint16_t m_idxLane; + uint16_t _pad1__; + uint8_t __pad_212[4]; +#ifdef __cplusplus + operator w64_SteamNetworkingMessage_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetworkingMessage_t_153a +{ + W32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + uint8_t __pad_148[4]; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W32_PTR(void (*W_STDCALL m_pfnFreeData)(w32_SteamNetworkingMessage_t_153a *), m_pfnFreeData); + W32_PTR(void (*W_STDCALL m_pfnRelease)(w32_SteamNetworkingMessage_t_153a *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; + uint16_t m_idxLane; + uint16_t _pad1__; + uint8_t __pad_204[4]; +#ifdef __cplusplus + operator u32_SteamNetworkingMessage_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetworkingMessage_t_153a +{ + U32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U32_PTR(void (*U_STDCALL m_pfnFreeData)(u32_SteamNetworkingMessage_t_153a *), m_pfnFreeData); + U32_PTR(void (*U_STDCALL m_pfnRelease)(u32_SteamNetworkingMessage_t_153a *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; + uint16_t m_idxLane; + uint16_t _pad1__; +#ifdef __cplusplus + operator w32_SteamNetworkingMessage_t_153a() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetworkingMessage_t_153a w_SteamNetworkingMessage_t_153a; +typedef u32_SteamNetworkingMessage_t_153a u_SteamNetworkingMessage_t_153a; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetworkingMessage_t_153a w_SteamNetworkingMessage_t_153a; +typedef u64_SteamNetworkingMessage_t_153a u_SteamNetworkingMessage_t_153a; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetworkingMessage_t_147 +{ + W64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W64_PTR(void (*W_STDCALL m_pfnFreeData)(w64_SteamNetworkingMessage_t_147 *), m_pfnFreeData); + W64_PTR(void (*W_STDCALL m_pfnRelease)(w64_SteamNetworkingMessage_t_147 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator u64_SteamNetworkingMessage_t_147() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct u64_SteamNetworkingMessage_t_147 +{ + U64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U64_PTR(void (*U_STDCALL m_pfnFreeData)(u64_SteamNetworkingMessage_t_147 *), m_pfnFreeData); + U64_PTR(void (*U_STDCALL m_pfnRelease)(u64_SteamNetworkingMessage_t_147 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator w64_SteamNetworkingMessage_t_147() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetworkingMessage_t_147 +{ + W32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + uint8_t __pad_148[4]; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W32_PTR(void (*W_STDCALL m_pfnFreeData)(w32_SteamNetworkingMessage_t_147 *), m_pfnFreeData); + W32_PTR(void (*W_STDCALL m_pfnRelease)(w32_SteamNetworkingMessage_t_147 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator u32_SteamNetworkingMessage_t_147() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetworkingMessage_t_147 +{ + U32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U32_PTR(void (*U_STDCALL m_pfnFreeData)(u32_SteamNetworkingMessage_t_147 *), m_pfnFreeData); + U32_PTR(void (*U_STDCALL m_pfnRelease)(u32_SteamNetworkingMessage_t_147 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator w32_SteamNetworkingMessage_t_147() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetworkingMessage_t_147 w_SteamNetworkingMessage_t_147; +typedef u32_SteamNetworkingMessage_t_147 u_SteamNetworkingMessage_t_147; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetworkingMessage_t_147 w_SteamNetworkingMessage_t_147; +typedef u64_SteamNetworkingMessage_t_147 u_SteamNetworkingMessage_t_147; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetworkingMessage_t_151 +{ + W64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_151 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W64_PTR(void (*W_STDCALL m_pfnFreeData)(w64_SteamNetworkingMessage_t_151 *), m_pfnFreeData); + W64_PTR(void (*W_STDCALL m_pfnRelease)(w64_SteamNetworkingMessage_t_151 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator u64_SteamNetworkingMessage_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct u64_SteamNetworkingMessage_t_151 +{ + U64_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_151 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U64_PTR(void (*U_STDCALL m_pfnFreeData)(u64_SteamNetworkingMessage_t_151 *), m_pfnFreeData); + U64_PTR(void (*U_STDCALL m_pfnRelease)(u64_SteamNetworkingMessage_t_151 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator w64_SteamNetworkingMessage_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetworkingMessage_t_151 +{ + W32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_151 m_identityPeer; + uint8_t __pad_20[4]; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W32_PTR(void (*W_STDCALL m_pfnFreeData)(w32_SteamNetworkingMessage_t_151 *), m_pfnFreeData); + W32_PTR(void (*W_STDCALL m_pfnRelease)(w32_SteamNetworkingMessage_t_151 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator u32_SteamNetworkingMessage_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetworkingMessage_t_151 +{ + U32_PTR(void *m_pData, m_pData); + int32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_151 m_identityPeer; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U32_PTR(void (*U_STDCALL m_pfnFreeData)(u32_SteamNetworkingMessage_t_151 *), m_pfnFreeData); + U32_PTR(void (*U_STDCALL m_pfnRelease)(u32_SteamNetworkingMessage_t_151 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m_nFlags; + int64_t m_nUserData; +#ifdef __cplusplus + operator w32_SteamNetworkingMessage_t_151() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetworkingMessage_t_151 w_SteamNetworkingMessage_t_151; +typedef u32_SteamNetworkingMessage_t_151 u_SteamNetworkingMessage_t_151; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetworkingMessage_t_151 w_SteamNetworkingMessage_t_151; +typedef u64_SteamNetworkingMessage_t_151 u_SteamNetworkingMessage_t_151; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamNetworkingMessage_t_144 +{ + W64_PTR(void *m_pData, m_pData); + uint32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_sender; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W64_PTR(void (*W_STDCALL m_pfnFreeData)(w64_SteamNetworkingMessage_t_144 *), m_pfnFreeData); + W64_PTR(void (*W_STDCALL m_pfnRelease)(w64_SteamNetworkingMessage_t_144 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m___nPadDummy; +#ifdef __cplusplus + operator u64_SteamNetworkingMessage_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct u64_SteamNetworkingMessage_t_144 +{ + U64_PTR(void *m_pData, m_pData); + uint32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_sender; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U64_PTR(void (*U_STDCALL m_pfnFreeData)(u64_SteamNetworkingMessage_t_144 *), m_pfnFreeData); + U64_PTR(void (*U_STDCALL m_pfnRelease)(u64_SteamNetworkingMessage_t_144 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m___nPadDummy; +#ifdef __cplusplus + operator w64_SteamNetworkingMessage_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamNetworkingMessage_t_144 +{ + W32_PTR(void *m_pData, m_pData); + uint32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_sender; + uint8_t __pad_148[4]; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + W32_PTR(void (*W_STDCALL m_pfnFreeData)(w32_SteamNetworkingMessage_t_144 *), m_pfnFreeData); + W32_PTR(void (*W_STDCALL m_pfnRelease)(w32_SteamNetworkingMessage_t_144 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m___nPadDummy; +#ifdef __cplusplus + operator u32_SteamNetworkingMessage_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamNetworkingMessage_t_144 +{ + U32_PTR(void *m_pData, m_pData); + uint32_t m_cbSize; + uint32_t m_conn; + SteamNetworkingIdentity_144 m_sender; + int64_t m_nConnUserData; + int64_t m_usecTimeReceived; + int64_t m_nMessageNumber; + U32_PTR(void (*U_STDCALL m_pfnFreeData)(u32_SteamNetworkingMessage_t_144 *), m_pfnFreeData); + U32_PTR(void (*U_STDCALL m_pfnRelease)(u32_SteamNetworkingMessage_t_144 *), m_pfnRelease); + int32_t m_nChannel; + int32_t m___nPadDummy; +#ifdef __cplusplus + operator w32_SteamNetworkingMessage_t_144() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamNetworkingMessage_t_144 w_SteamNetworkingMessage_t_144; +typedef u32_SteamNetworkingMessage_t_144 u_SteamNetworkingMessage_t_144; +#endif +#ifdef __x86_64__ +typedef w64_SteamNetworkingMessage_t_144 w_SteamNetworkingMessage_t_144; +typedef u64_SteamNetworkingMessage_t_144 u_SteamNetworkingMessage_t_144; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamParamStringArray_t +{ + W64_PTR(const char **m_ppStrings, m_ppStrings); + int32_t m_nNumStrings; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_SteamParamStringArray_t +{ + W32_PTR(const char **m_ppStrings, m_ppStrings); + int32_t m_nNumStrings; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamParamStringArray_t w_SteamParamStringArray_t; +typedef u32_SteamParamStringArray_t u_SteamParamStringArray_t; +#endif +#ifdef __x86_64__ +typedef w64_SteamParamStringArray_t w_SteamParamStringArray_t; +typedef u64_SteamParamStringArray_t u_SteamParamStringArray_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamPartyBeaconLocation_t +{ + uint32_t m_eType; + uint8_t __pad_4[4]; + uint64_t m_ulLocationID; +#ifdef __cplusplus + operator u64_SteamPartyBeaconLocation_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamPartyBeaconLocation_t +{ + uint32_t m_eType; + uint64_t m_ulLocationID; +#ifdef __cplusplus + operator w64_SteamPartyBeaconLocation_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamPartyBeaconLocation_t +{ + uint32_t m_eType; + uint8_t __pad_4[4]; + uint64_t m_ulLocationID; +#ifdef __cplusplus + operator u32_SteamPartyBeaconLocation_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamPartyBeaconLocation_t +{ + uint32_t m_eType; + uint64_t m_ulLocationID; +#ifdef __cplusplus + operator w32_SteamPartyBeaconLocation_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamPartyBeaconLocation_t w_SteamPartyBeaconLocation_t; +typedef u32_SteamPartyBeaconLocation_t u_SteamPartyBeaconLocation_t; +#endif +#ifdef __x86_64__ +typedef w64_SteamPartyBeaconLocation_t w_SteamPartyBeaconLocation_t; +typedef u64_SteamPartyBeaconLocation_t u_SteamPartyBeaconLocation_t; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamUGCRequestUGCDetailsResult_t_128x +{ + w64_SteamUGCDetails_t_128x m_details; + int8_t m_bCachedData; + uint8_t __pad_9777[7]; +#ifdef __cplusplus + operator u64_SteamUGCRequestUGCDetailsResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamUGCRequestUGCDetailsResult_t_128x +{ + u64_SteamUGCDetails_t_128x m_details; + int8_t m_bCachedData; + uint8_t __pad_9765[3]; +#ifdef __cplusplus + operator w64_SteamUGCRequestUGCDetailsResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamUGCRequestUGCDetailsResult_t_128x +{ + w32_SteamUGCDetails_t_128x m_details; + int8_t m_bCachedData; + uint8_t __pad_9777[7]; +#ifdef __cplusplus + operator u32_SteamUGCRequestUGCDetailsResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamUGCRequestUGCDetailsResult_t_128x +{ + u32_SteamUGCDetails_t_128x m_details; + int8_t m_bCachedData; + uint8_t __pad_9765[3]; +#ifdef __cplusplus + operator w32_SteamUGCRequestUGCDetailsResult_t_128x() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamUGCRequestUGCDetailsResult_t_128x w_SteamUGCRequestUGCDetailsResult_t_128x; +typedef u32_SteamUGCRequestUGCDetailsResult_t_128x u_SteamUGCRequestUGCDetailsResult_t_128x; +#endif +#ifdef __x86_64__ +typedef w64_SteamUGCRequestUGCDetailsResult_t_128x w_SteamUGCRequestUGCDetailsResult_t_128x; +typedef u64_SteamUGCRequestUGCDetailsResult_t_128x u_SteamUGCRequestUGCDetailsResult_t_128x; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamUGCRequestUGCDetailsResult_t_129 +{ + w64_SteamUGCDetails_t_126 m_details; + int8_t m_bCachedData; + uint8_t __pad_9769[7]; +#ifdef __cplusplus + operator u64_SteamUGCRequestUGCDetailsResult_t_129() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamUGCRequestUGCDetailsResult_t_129 +{ + u64_SteamUGCDetails_t_126 m_details; + int8_t m_bCachedData; + uint8_t __pad_9761[3]; +#ifdef __cplusplus + operator w64_SteamUGCRequestUGCDetailsResult_t_129() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamUGCRequestUGCDetailsResult_t_129 +{ + w32_SteamUGCDetails_t_126 m_details; + int8_t m_bCachedData; + uint8_t __pad_9769[7]; +#ifdef __cplusplus + operator u32_SteamUGCRequestUGCDetailsResult_t_129() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamUGCRequestUGCDetailsResult_t_129 +{ + u32_SteamUGCDetails_t_126 m_details; + int8_t m_bCachedData; + uint8_t __pad_9761[3]; +#ifdef __cplusplus + operator w32_SteamUGCRequestUGCDetailsResult_t_129() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamUGCRequestUGCDetailsResult_t_129 w_SteamUGCRequestUGCDetailsResult_t_129; +typedef u32_SteamUGCRequestUGCDetailsResult_t_129 u_SteamUGCRequestUGCDetailsResult_t_129; +#endif +#ifdef __x86_64__ +typedef w64_SteamUGCRequestUGCDetailsResult_t_129 w_SteamUGCRequestUGCDetailsResult_t_129; +typedef u64_SteamUGCRequestUGCDetailsResult_t_129 u_SteamUGCRequestUGCDetailsResult_t_129; +#endif + +#pragma pack( push, 8 ) +struct w64_SteamUGCRequestUGCDetailsResult_t_126 +{ + w64_SteamUGCDetails_t_126 m_details; +#ifdef __cplusplus + operator u64_SteamUGCRequestUGCDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SteamUGCRequestUGCDetailsResult_t_126 +{ + u64_SteamUGCDetails_t_126 m_details; +#ifdef __cplusplus + operator w64_SteamUGCRequestUGCDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SteamUGCRequestUGCDetailsResult_t_126 +{ + w32_SteamUGCDetails_t_126 m_details; +#ifdef __cplusplus + operator u32_SteamUGCRequestUGCDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SteamUGCRequestUGCDetailsResult_t_126 +{ + u32_SteamUGCDetails_t_126 m_details; +#ifdef __cplusplus + operator w32_SteamUGCRequestUGCDetailsResult_t_126() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SteamUGCRequestUGCDetailsResult_t_126 w_SteamUGCRequestUGCDetailsResult_t_126; +typedef u32_SteamUGCRequestUGCDetailsResult_t_126 u_SteamUGCRequestUGCDetailsResult_t_126; +#endif +#ifdef __x86_64__ +typedef w64_SteamUGCRequestUGCDetailsResult_t_126 w_SteamUGCRequestUGCDetailsResult_t_126; +typedef u64_SteamUGCRequestUGCDetailsResult_t_126 u_SteamUGCRequestUGCDetailsResult_t_126; +#endif + +#pragma pack( push, 8 ) +struct w64_SubmitPlayerResultResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t ullUniqueGameID; + CSteamID steamIDPlayer; +#ifdef __cplusplus + operator u64_SubmitPlayerResultResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_SubmitPlayerResultResultCallback_t +{ + uint32_t m_eResult; + uint64_t ullUniqueGameID; + CSteamID steamIDPlayer; +#ifdef __cplusplus + operator w64_SubmitPlayerResultResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_SubmitPlayerResultResultCallback_t +{ + uint32_t m_eResult; + uint8_t __pad_4[4]; + uint64_t ullUniqueGameID; + CSteamID steamIDPlayer; +#ifdef __cplusplus + operator u32_SubmitPlayerResultResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_SubmitPlayerResultResultCallback_t +{ + uint32_t m_eResult; + uint64_t ullUniqueGameID; + CSteamID steamIDPlayer; +#ifdef __cplusplus + operator w32_SubmitPlayerResultResultCallback_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_SubmitPlayerResultResultCallback_t w_SubmitPlayerResultResultCallback_t; +typedef u32_SubmitPlayerResultResultCallback_t u_SubmitPlayerResultResultCallback_t; +#endif +#ifdef __x86_64__ +typedef w64_SubmitPlayerResultResultCallback_t w_SubmitPlayerResultResultCallback_t; +typedef u64_SubmitPlayerResultResultCallback_t u_SubmitPlayerResultResultCallback_t; +#endif + diff --git a/lsteamclient/steamclient_wrappers.c b/lsteamclient/steamclient_wrappers.c deleted file mode 100644 index 94e60ed80..000000000 --- a/lsteamclient/steamclient_wrappers.c +++ /dev/null @@ -1,355 +0,0 @@ -/* Linux-to-Windows conversions (i.e. callbacks) here. */ - -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" -#include "steamclient_private.h" - -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); - -#ifdef __i386__ - -#define DEFINE_VTBL_WRAPPER(off) \ - __ASM_GLOBAL_FUNC(vtbl_wrapper_ ## off, \ - "popl %eax\n\t" \ - "popl %ecx\n\t" \ - "pushl %eax\n\t" \ - "movl 0(%ecx), %eax\n\t" \ - "jmp *" #off "(%eax)\n\t") - -DEFINE_VTBL_WRAPPER(0); -DEFINE_VTBL_WRAPPER(4); -DEFINE_VTBL_WRAPPER(8); -DEFINE_VTBL_WRAPPER(12); -DEFINE_VTBL_WRAPPER(16); -DEFINE_VTBL_WRAPPER(20); -DEFINE_VTBL_WRAPPER(24); -DEFINE_VTBL_WRAPPER(28); -DEFINE_VTBL_WRAPPER(32); -DEFINE_VTBL_WRAPPER(36); -DEFINE_VTBL_WRAPPER(40); -DEFINE_VTBL_WRAPPER(44); -DEFINE_VTBL_WRAPPER(48); - -#endif - -/***** ISteamMatchmakingServerListResponse *****/ -typedef struct winServerListResponse { - const vtable_ptr *vtable; -} winServerListResponse; - -struct gccServerListResponse { - void *vtable; - struct winServerListResponse *win_side; -}; - -void gccServerListResponse_ServerResponded(struct gccServerListResponse *_this, HServerListRequest hRequest, int iServer) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 0, void, (winServerListResponse *, HServerListRequest, int), (_this->win_side, hRequest, iServer)); -} - -void gccServerListResponse_ServerFailedToRespond(struct gccServerListResponse *_this, HServerListRequest hRequest, int iServer) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 4, void, (winServerListResponse *, HServerListRequest, int), (_this->win_side, hRequest, iServer)); -} - -void gccServerListResponse_RefreshComplete(struct gccServerListResponse *_this, HServerListRequest hRequest, EMatchMakingServerResponse response) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 8, void, (winServerListResponse *, HServerListRequest, EMatchMakingServerResponse), (_this->win_side, hRequest, response)); -} - -struct gccServerListResponseVtbl { - void (*ServerResponded)(struct gccServerListResponse *, HServerListRequest, int); - - void (*ServerFailedToRespond)(struct gccServerListResponse *, HServerListRequest, int); - - void (*RefreshComplete)(struct gccServerListResponse *, HServerListRequest, EMatchMakingServerResponse); -} gccServerListResponse_vtbl = { - gccServerListResponse_ServerResponded, - gccServerListResponse_ServerFailedToRespond, - gccServerListResponse_RefreshComplete -}; - -void gccServerListResponse001_ServerResponded(struct gccServerListResponse *_this, int iServer) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 0, void, (winServerListResponse *, int), (_this->win_side, iServer)); -} - -void gccServerListResponse001_ServerFailedToRespond(struct gccServerListResponse *_this, int iServer) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 4, void, (winServerListResponse *, int), (_this->win_side, iServer)); -} - -void gccServerListResponse001_RefreshComplete(struct gccServerListResponse *_this, EMatchMakingServerResponse response) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 8, void, (winServerListResponse *, EMatchMakingServerResponse), (_this->win_side, response)); -} - -struct gccServerListResponse001Vtbl { - void (*ServerResponded)(struct gccServerListResponse *, int); - - void (*ServerFailedToRespond)(struct gccServerListResponse *, int); - - void (*RefreshComplete)(struct gccServerListResponse *, EMatchMakingServerResponse); -} gccServerListResponse001_vtbl = { - gccServerListResponse001_ServerResponded, - gccServerListResponse001_ServerFailedToRespond, - gccServerListResponse001_RefreshComplete -}; - -void *create_LinuxISteamMatchmakingServerListResponse(void *win, const char *version) -{ - struct gccServerListResponse *ret; - - if (!win) - return NULL; - - /* FIXME: When is it save to free this? CancelServerQuery? */ - ret = (struct gccServerListResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret)); - if(!ret) - return NULL; - - if(strcmp(version, "winISteamMatchmakingServers_SteamMatchMakingServers001") == 0){ - ret->vtable = &gccServerListResponse001_vtbl; - }else{ - ret->vtable = &gccServerListResponse_vtbl; - } - ret->win_side = (struct winServerListResponse*)win; - - return ret; -} - -/***** ISteamMatchmakingPingResponse *****/ -typedef struct winPingResponse { - const vtable_ptr *vtable; -} winPingResponse; - -struct gccPingResponse { - void *vtable; - struct winPingResponse *win_side; -}; - -void gccPingResponse_ServerResponded(struct gccPingResponse *_this, gameserveritem_t *server) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 0, void, (winPingResponse *, gameserveritem_t *), (_this->win_side, server)); -} - -void gccPingResponse_ServerFailedToRespond(struct gccPingResponse *_this) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 4, void, (winPingResponse *), (_this->win_side)); -} - -struct gccPingResponseVtbl { - void (*ServerResponded)(struct gccPingResponse *, gameserveritem_t *); - - void (*ServerFailedToRespond)(struct gccPingResponse *); -} gccPingResponse_vtbl = { - gccPingResponse_ServerResponded, - gccPingResponse_ServerFailedToRespond -}; - -void *create_LinuxISteamMatchmakingPingResponse(void *win, const char *version) -{ - struct gccPingResponse *ret; - - if (!win) - return NULL; - - ret = (struct gccPingResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret)); - if(!ret) - return NULL; - - ret->vtable = &gccPingResponse_vtbl; - ret->win_side = (struct winPingResponse*)win; - - return ret; -} - -/***** ISteamMatchmakingPlayersResponse *****/ -typedef struct winPlayersResponse { - const vtable_ptr *vtable; -} winPlayersResponse; - -struct gccPlayersResponse { - void *vtable; - struct winPlayersResponse *win_side; -}; - -void gccPlayersResponse_AddPlayerToList(struct gccPlayersResponse *_this, const char *pchName, int nScore, float flTimePlayed) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 0, void, (winPlayersResponse *, const char *, int, float), (_this->win_side, pchName, nScore, flTimePlayed)); -} - -void gccPlayersResponse_PlayersFailedToRespond(struct gccPlayersResponse *_this) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 4, void, (winPlayersResponse *), (_this->win_side)); -} - -void gccPlayersResponse_PlayersRefreshComplete(struct gccPlayersResponse *_this) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 8, void, (winPlayersResponse *), (_this->win_side)); -} - -struct gccPlayersResponseVtbl { - void (*AddPlayerToList)(struct gccPlayersResponse *, const char *, int, float); - - void (*PlayersFailedToRespond)(struct gccPlayersResponse *); - - void (*PlayersRefreshComplete)(struct gccPlayersResponse *); -} gccPlayersResponse_vtbl = { - gccPlayersResponse_AddPlayerToList, - gccPlayersResponse_PlayersFailedToRespond, - gccPlayersResponse_PlayersRefreshComplete -}; - -void *create_LinuxISteamMatchmakingPlayersResponse(void *win, const char *version) -{ - struct gccPlayersResponse *ret; - - if (!win) - return NULL; - - ret = (struct gccPlayersResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret)); - if(!ret) - return NULL; - - ret->vtable = &gccPlayersResponse_vtbl; - ret->win_side = (struct winPlayersResponse*)win; - - return ret; -} - -/***** ISteamMatchmakingRulesResponse *****/ -typedef struct winRulesResponse { - const vtable_ptr *vtable; -} winRulesResponse; - -struct gccRulesResponse { - void *vtable; - struct winRulesResponse *win_side; -}; - -void gccRulesResponse_RulesResponded(struct gccRulesResponse *_this, const char *pchRule, const char *pchValue) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 0, void, (winRulesResponse *, const char *, const char *), (_this->win_side, pchRule, pchValue)); -} - -void gccRulesResponse_RulesFailedToRespond(struct gccRulesResponse *_this) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 4, void, (winRulesResponse *), (_this->win_side)); -} - -void gccRulesResponse_RulesRefreshComplete(struct gccRulesResponse *_this) -{ - TRACE("%p/%p\n", _this, _this->win_side); - CALL_VTBL_FUNC(_this->win_side, 8, void, (winRulesResponse *), (_this->win_side)); -} - -struct gccRulesResponseVtbl { - void (*RulesResponded)(struct gccRulesResponse *, const char *, const char*); - - void (*RulesFailedToRespond)(struct gccRulesResponse *); - - void (*RulesRefreshComplete)(struct gccRulesResponse *); -} gccRulesResponse_vtbl = { - gccRulesResponse_RulesResponded, - gccRulesResponse_RulesFailedToRespond, - gccRulesResponse_RulesRefreshComplete -}; - -void *create_LinuxISteamMatchmakingRulesResponse(void *win, const char *version) -{ - struct gccRulesResponse *ret; - - if (!win) - return NULL; - - ret = (struct gccRulesResponse *)HeapAlloc(GetProcessHeap(), 0, sizeof(*ret)); - if(!ret) - return NULL; - - ret->vtable = &gccRulesResponse_vtbl; - ret->win_side = (struct winRulesResponse*)win; - - return ret; -} - -/***** FSteamNetworkingSocketsDebugOutput *****/ -static void (__attribute__((ms_abi)) *stored_FSteamNetworkingSocketsDebugOutput)(ESteamNetworkingSocketsDebugOutputType nType, const char *pszMsg); - -static void lin_FSteamNetworkingSocketsDebugOutput(ESteamNetworkingSocketsDebugOutputType nType, const char *pszMsg) -{ - struct callback_data cb_data = { 0 }; - /* Only Unix native calls from here (not even TRACE): - * this is native Unix thread which is not initialized by Wine. */ - cb_data.type = SOCKET_DEBUG_OUTPUT; - cb_data.func = stored_FSteamNetworkingSocketsDebugOutput; - cb_data.sockets_debug_output.type = nType; - cb_data.sockets_debug_output.msg = pszMsg; - execute_callback(&cb_data); -} - -void *manual_convert_FSteamNetworkingSocketsDebugOutput(void *win_func) -{ - stored_FSteamNetworkingSocketsDebugOutput = (void*)win_func; - return &lin_FSteamNetworkingSocketsDebugOutput; -} - - -static void *stored_SteamAPIWarningMessageHook_t; - -static void lin_SteamAPIWarningMessageHook_t(int severity, const char *msg) -{ - struct callback_data cb_data = { 0 }; - /* Only Unix native calls from here (not even TRACE): - * this is native Unix thread which is not initialized by Wine. */ - cb_data.type = STEAM_API_WARNING_HOOK; - cb_data.func = stored_SteamAPIWarningMessageHook_t; - cb_data.steam_api_warning_hook.severity = severity; - cb_data.steam_api_warning_hook.msg = msg; - execute_callback(&cb_data); -} - -void *manual_convert_SteamAPIWarningMessageHook_t(void *win_func) -{ - TRACE("win_func %p, returning %p.\n", win_func, lin_SteamAPIWarningMessageHook_t); - - stored_SteamAPIWarningMessageHook_t = win_func; - - return &lin_SteamAPIWarningMessageHook_t; -} - -/***** SteamAPI_CheckCallbackRegistered_t *****/ -static uint32 (__attribute__((ms_abi)) *stored_SteamAPI_CheckCallbackRegistered_t)(int cb); - -static uint32 lin_SteamAPI_CheckCallbackRegistered_t(int cb) -{ - return stored_SteamAPI_CheckCallbackRegistered_t(cb); -} - -void *manual_convert_SteamAPI_CheckCallbackRegistered_t(void *win_func) -{ - if (!(stored_SteamAPI_CheckCallbackRegistered_t = (void*)win_func)) - return NULL; - - return &lin_SteamAPI_CheckCallbackRegistered_t; -} diff --git a/lsteamclient/steamworks_sdk_158/isteamapplist.h b/lsteamclient/steamworks_sdk_158/isteamapplist.h new file mode 100644 index 000000000..d0fe2c8d8 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamapplist.h @@ -0,0 +1,68 @@ +//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to app data in Steam +// +//============================================================================= + +#ifndef ISTEAMAPPLIST_H +#define ISTEAMAPPLIST_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: This is a restricted interface that can only be used by previously approved apps, +// contact your Steam Account Manager if you believe you need access to this API. +// This interface lets you detect installed apps for the local Steam client, useful for debugging tools +// to offer lists of apps to debug via Steam. +//----------------------------------------------------------------------------- +class ISteamAppList +{ +public: + virtual uint32 GetNumInstalledApps() = 0; + virtual uint32 GetInstalledApps( AppId_t *pvecAppID, uint32 unMaxAppIDs ) = 0; + + virtual int GetAppName( AppId_t nAppID, STEAM_OUT_STRING() char *pchName, int cchNameMax ) = 0; // returns -1 if no name was found + virtual int GetAppInstallDir( AppId_t nAppID, char *pchDirectory, int cchNameMax ) = 0; // returns -1 if no dir was found + + virtual int GetAppBuildId( AppId_t nAppID ) = 0; // return the buildid of this app, may change at any time based on backend updates to the game +}; + +#define STEAMAPPLIST_INTERFACE_VERSION "STEAMAPPLIST_INTERFACE_VERSION001" + +// Global interface accessor +inline ISteamAppList *SteamAppList(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamAppList *, SteamAppList, STEAMAPPLIST_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +//--------------------------------------------------------------------------------- +// Purpose: Sent when a new app is installed (not downloaded yet) +//--------------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( SteamAppInstalled_t, k_iSteamAppListCallbacks + 1 ) +STEAM_CALLBACK_MEMBER( 0, AppId_t, m_nAppID ) // ID of the app that installs +STEAM_CALLBACK_MEMBER( 1, int, m_iInstallFolderIndex ) // library folder the app is installed +STEAM_CALLBACK_END( 2 ) + + +//--------------------------------------------------------------------------------- +// Purpose: Sent when an app is uninstalled +//--------------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( SteamAppUninstalled_t, k_iSteamAppListCallbacks + 2 ) +STEAM_CALLBACK_MEMBER( 0, AppId_t, m_nAppID ) // ID of the app that installs +STEAM_CALLBACK_MEMBER( 1, int, m_iInstallFolderIndex ) // library folder the app was installed +STEAM_CALLBACK_END(2) + + +#pragma pack( pop ) +#endif // ISTEAMAPPLIST_H diff --git a/lsteamclient/steamworks_sdk_158/isteamapps.h b/lsteamclient/steamworks_sdk_158/isteamapps.h new file mode 100644 index 000000000..8a2197edd --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamapps.h @@ -0,0 +1,192 @@ +//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to app data in Steam +// +//============================================================================= + +#ifndef ISTEAMAPPS_H +#define ISTEAMAPPS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +const int k_cubAppProofOfPurchaseKeyMax = 240; // max supported length of a legacy cd key + + +//----------------------------------------------------------------------------- +// Purpose: interface to app data +//----------------------------------------------------------------------------- +class ISteamApps +{ +public: + virtual bool BIsSubscribed() = 0; + virtual bool BIsLowViolence() = 0; + virtual bool BIsCybercafe() = 0; + virtual bool BIsVACBanned() = 0; + virtual const char *GetCurrentGameLanguage() = 0; + virtual const char *GetAvailableGameLanguages() = 0; + + // only use this member if you need to check ownership of another game related to yours, a demo for example + virtual bool BIsSubscribedApp( AppId_t appID ) = 0; + + // Takes AppID of DLC and checks if the user owns the DLC & if the DLC is installed + virtual bool BIsDlcInstalled( AppId_t appID ) = 0; + + // returns the Unix time of the purchase of the app + virtual uint32 GetEarliestPurchaseUnixTime( AppId_t nAppID ) = 0; + + // Checks if the user is subscribed to the current app through a free weekend + // This function will return false for users who have a retail or other type of license + // Before using, please ask your Valve technical contact how to package and secure your free weekened + virtual bool BIsSubscribedFromFreeWeekend() = 0; + + // Returns the number of DLC pieces for the running app + virtual int GetDLCCount() = 0; + + // Returns metadata for DLC by index, of range [0, GetDLCCount()] + virtual bool BGetDLCDataByIndex( int iDLC, AppId_t *pAppID, bool *pbAvailable, char *pchName, int cchNameBufferSize ) = 0; + + // Install/Uninstall control for optional DLC + virtual void InstallDLC( AppId_t nAppID ) = 0; + virtual void UninstallDLC( AppId_t nAppID ) = 0; + + // Request legacy cd-key for yourself or owned DLC. If you are interested in this + // data then make sure you provide us with a list of valid keys to be distributed + // to users when they purchase the game, before the game ships. + // You'll receive an AppProofOfPurchaseKeyResponse_t callback when + // the key is available (which may be immediately). + virtual void RequestAppProofOfPurchaseKey( AppId_t nAppID ) = 0; + + virtual bool GetCurrentBetaName( char *pchName, int cchNameBufferSize ) = 0; // returns current beta branch name, 'public' is the default branch + virtual bool MarkContentCorrupt( bool bMissingFilesOnly ) = 0; // signal Steam that game files seems corrupt or missing + virtual uint32 GetInstalledDepots( AppId_t appID, DepotId_t *pvecDepots, uint32 cMaxDepots ) = 0; // return installed depots in mount order + + // returns current app install folder for AppID, returns folder name length + virtual uint32 GetAppInstallDir( AppId_t appID, char *pchFolder, uint32 cchFolderBufferSize ) = 0; + virtual bool BIsAppInstalled( AppId_t appID ) = 0; // returns true if that app is installed (not necessarily owned) + + // returns the SteamID of the original owner. If this CSteamID is different from ISteamUser::GetSteamID(), + // the user has a temporary license borrowed via Family Sharing + virtual CSteamID GetAppOwner() = 0; + + // Returns the associated launch param if the game is run via steam://run///?param1=value1¶m2=value2¶m3=value3 etc. + // Parameter names starting with the character '@' are reserved for internal use and will always return and empty string. + // Parameter names starting with an underscore '_' are reserved for steam features -- they can be queried by the game, + // but it is advised that you not param names beginning with an underscore for your own features. + // Check for new launch parameters on callback NewUrlLaunchParameters_t + virtual const char *GetLaunchQueryParam( const char *pchKey ) = 0; + + // get download progress for optional DLC + virtual bool GetDlcDownloadProgress( AppId_t nAppID, uint64 *punBytesDownloaded, uint64 *punBytesTotal ) = 0; + + // return the buildid of this app, may change at any time based on backend updates to the game + virtual int GetAppBuildId() = 0; + + // Request all proof of purchase keys for the calling appid and asociated DLC. + // A series of AppProofOfPurchaseKeyResponse_t callbacks will be sent with + // appropriate appid values, ending with a final callback where the m_nAppId + // member is k_uAppIdInvalid (zero). + virtual void RequestAllProofOfPurchaseKeys() = 0; + + STEAM_CALL_RESULT( FileDetailsResult_t ) + virtual SteamAPICall_t GetFileDetails( const char* pszFileName ) = 0; + + // Get command line if game was launched via Steam URL, e.g. steam://run////. + // This method of passing a connect string (used when joining via rich presence, accepting an + // invite, etc) is preferable to passing the connect string on the operating system command + // line, which is a security risk. In order for rich presence joins to go through this + // path and not be placed on the OS command line, you must set a value in your app's + // configuration on Steam. Ask Valve for help with this. + // + // If game was already running and launched again, the NewUrlLaunchParameters_t will be fired. + virtual int GetLaunchCommandLine( char *pszCommandLine, int cubCommandLine ) = 0; + + // Check if user borrowed this game via Family Sharing, If true, call GetAppOwner() to get the lender SteamID + virtual bool BIsSubscribedFromFamilySharing() = 0; + + // check if game is a timed trial with limited playtime + virtual bool BIsTimedTrial( uint32* punSecondsAllowed, uint32* punSecondsPlayed ) = 0; + + // set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions + virtual bool SetDlcContext( AppId_t nAppID ) = 0; +}; + +#define STEAMAPPS_INTERFACE_VERSION "STEAMAPPS_INTERFACE_VERSION008" + +// Global interface accessor +inline ISteamApps *SteamApps(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamApps *, SteamApps, STEAMAPPS_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif +//----------------------------------------------------------------------------- +// Purpose: posted after the user gains ownership of DLC & that DLC is installed +//----------------------------------------------------------------------------- +struct DlcInstalled_t +{ + enum { k_iCallback = k_iSteamAppsCallbacks + 5 }; + AppId_t m_nAppID; // AppID of the DLC +}; + + +//--------------------------------------------------------------------------------- +// Purpose: posted after the user gains executes a Steam URL with command line or query parameters +// such as steam://run///-commandline/?param1=value1¶m2=value2¶m3=value3 etc +// while the game is already running. The new params can be queried +// with GetLaunchQueryParam and GetLaunchCommandLine +//--------------------------------------------------------------------------------- +struct NewUrlLaunchParameters_t +{ + enum { k_iCallback = k_iSteamAppsCallbacks + 14 }; +}; + + +//----------------------------------------------------------------------------- +// Purpose: response to RequestAppProofOfPurchaseKey/RequestAllProofOfPurchaseKeys +// for supporting third-party CD keys, or other proof-of-purchase systems. +//----------------------------------------------------------------------------- +struct AppProofOfPurchaseKeyResponse_t +{ + enum { k_iCallback = k_iSteamAppsCallbacks + 21 }; + EResult m_eResult; + uint32 m_nAppID; + uint32 m_cchKeyLength; + char m_rgchKey[k_cubAppProofOfPurchaseKeyMax]; +}; + + +//----------------------------------------------------------------------------- +// Purpose: response to GetFileDetails +//----------------------------------------------------------------------------- +struct FileDetailsResult_t +{ + enum { k_iCallback = k_iSteamAppsCallbacks + 23 }; + EResult m_eResult; + uint64 m_ulFileSize; // original file size in bytes + uint8 m_FileSHA[20]; // original file SHA1 hash + uint32 m_unFlags; // +}; + + +//----------------------------------------------------------------------------- +// Purpose: called for games in Timed Trial mode +//----------------------------------------------------------------------------- +struct TimedTrialStatus_t +{ + enum { k_iCallback = k_iSteamAppsCallbacks + 30 }; + AppId_t m_unAppID; // appID + bool m_bIsOffline; // if true, time allowed / played refers to offline time, not total time + uint32 m_unSecondsAllowed; // how many seconds the app can be played in total + uint32 m_unSecondsPlayed; // how many seconds the app was already played +}; + +#pragma pack( pop ) +#endif // ISTEAMAPPS_H diff --git a/lsteamclient/steamworks_sdk_158/isteamappticket.h b/lsteamclient/steamworks_sdk_158/isteamappticket.h new file mode 100644 index 000000000..77e04ece5 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamappticket.h @@ -0,0 +1,28 @@ +//====== Copyright 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: a private, but well versioned, interface to get at critical bits +// of a steam3 appticket - consumed by the simple drm wrapper to let it +// ask about ownership with greater confidence. +// +//============================================================================= + +#ifndef ISTEAMAPPTICKET_H +#define ISTEAMAPPTICKET_H +#include "steamtypes.h" + +//----------------------------------------------------------------------------- +// Purpose: hand out a reasonable "future proof" view of an app ownership ticket +// the raw (signed) buffer, and indices into that buffer where the appid and +// steamid are located. the sizes of the appid and steamid are implicit in +// (each version of) the interface - currently uin32 appid and uint64 steamid +//----------------------------------------------------------------------------- +class ISteamAppTicket +{ +public: + virtual uint32 GetAppOwnershipTicketData( uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature ) = 0; +}; + +#define STEAMAPPTICKET_INTERFACE_VERSION "STEAMAPPTICKET_INTERFACE_VERSION001" + + +#endif // ISTEAMAPPTICKET_H diff --git a/lsteamclient/steamworks_sdk_158/isteamclient.h b/lsteamclient/steamworks_sdk_158/isteamclient.h new file mode 100644 index 000000000..3278780fa --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamclient.h @@ -0,0 +1,179 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Internal low-level access to Steamworks interfaces. +// +// Most users of the Steamworks SDK do not need to include this file. +// You should only include this if you are doing something special. +//============================================================================= + +#ifndef ISTEAMCLIENT_H +#define ISTEAMCLIENT_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: Interface to creating a new steam instance, or to +// connect to an existing steam instance, whether it's in a +// different process or is local. +// +// For most scenarios this is all handled automatically via SteamAPI_Init(). +// You'll only need these APIs if you have a more complex versioning scheme, +// or if you want to implement a multiplexed gameserver where a single process +// is handling multiple games at once with independent gameserver SteamIDs. +//----------------------------------------------------------------------------- +class ISteamClient +{ +public: + // Creates a communication pipe to the Steam client. + // NOT THREADSAFE - ensure that no other threads are accessing Steamworks API when calling + virtual HSteamPipe CreateSteamPipe() = 0; + + // Releases a previously created communications pipe + // NOT THREADSAFE - ensure that no other threads are accessing Steamworks API when calling + virtual bool BReleaseSteamPipe( HSteamPipe hSteamPipe ) = 0; + + // connects to an existing global user, failing if none exists + // used by the game to coordinate with the steamUI + // NOT THREADSAFE - ensure that no other threads are accessing Steamworks API when calling + virtual HSteamUser ConnectToGlobalUser( HSteamPipe hSteamPipe ) = 0; + + // used by game servers, create a steam user that won't be shared with anyone else + // NOT THREADSAFE - ensure that no other threads are accessing Steamworks API when calling + virtual HSteamUser CreateLocalUser( HSteamPipe *phSteamPipe, EAccountType eAccountType ) = 0; + + // removes an allocated user + // NOT THREADSAFE - ensure that no other threads are accessing Steamworks API when calling + virtual void ReleaseUser( HSteamPipe hSteamPipe, HSteamUser hUser ) = 0; + + // retrieves the ISteamUser interface associated with the handle + virtual ISteamUser *GetISteamUser( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // retrieves the ISteamGameServer interface associated with the handle + virtual ISteamGameServer *GetISteamGameServer( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // set the local IP and Port to bind to + // this must be set before CreateLocalUser() + virtual void SetLocalIPBinding( const SteamIPAddress_t &unIP, uint16 usPort ) = 0; + + // returns the ISteamFriends interface + virtual ISteamFriends *GetISteamFriends( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the ISteamUtils interface + virtual ISteamUtils *GetISteamUtils( HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the ISteamMatchmaking interface + virtual ISteamMatchmaking *GetISteamMatchmaking( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the ISteamMatchmakingServers interface + virtual ISteamMatchmakingServers *GetISteamMatchmakingServers( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the a generic interface + virtual void *GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the ISteamUserStats interface + virtual ISteamUserStats *GetISteamUserStats( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns the ISteamGameServerStats interface + virtual ISteamGameServerStats *GetISteamGameServerStats( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns apps interface + virtual ISteamApps *GetISteamApps( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // networking + virtual ISteamNetworking *GetISteamNetworking( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // remote storage + virtual ISteamRemoteStorage *GetISteamRemoteStorage( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // user screenshots + virtual ISteamScreenshots *GetISteamScreenshots( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // game search + virtual ISteamGameSearch *GetISteamGameSearch( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Deprecated. Applications should use SteamAPI_RunCallbacks() or SteamGameServer_RunCallbacks() instead. + STEAM_PRIVATE_API( virtual void RunFrame() = 0; ) + + // returns the number of IPC calls made since the last time this function was called + // Used for perf debugging so you can understand how many IPC calls your game makes per frame + // Every IPC call is at minimum a thread context switch if not a process one so you want to rate + // control how often you do them. + virtual uint32 GetIPCCallCount() = 0; + + // API warning handling + // 'int' is the severity; 0 for msg, 1 for warning + // 'const char *' is the text of the message + // callbacks will occur directly after the API function is called that generated the warning or message. + virtual void SetWarningMessageHook( SteamAPIWarningMessageHook_t pFunction ) = 0; + + // Trigger global shutdown for the DLL + virtual bool BShutdownIfAllPipesClosed() = 0; + + // Expose HTTP interface + virtual ISteamHTTP *GetISteamHTTP( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Deprecated - the ISteamUnifiedMessages interface is no longer intended for public consumption. + STEAM_PRIVATE_API( virtual void *DEPRECATED_GetISteamUnifiedMessages( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0 ; ) + + // Exposes the ISteamController interface - deprecated in favor of Steam Input + virtual ISteamController *GetISteamController( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Exposes the ISteamUGC interface + virtual ISteamUGC *GetISteamUGC( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // returns app list interface, only available on specially registered apps + virtual ISteamAppList *GetISteamAppList( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Music Player + virtual ISteamMusic *GetISteamMusic( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Music Player Remote + virtual ISteamMusicRemote *GetISteamMusicRemote(HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) = 0; + + // html page display + virtual ISteamHTMLSurface *GetISteamHTMLSurface(HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion) = 0; + + // Helper functions for internal Steam usage + STEAM_PRIVATE_API( virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*)() ) = 0; ) + STEAM_PRIVATE_API( virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*)() ) = 0; ) + STEAM_PRIVATE_API( virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( SteamAPI_CheckCallbackRegistered_t func ) = 0; ) + + // inventory + virtual ISteamInventory *GetISteamInventory( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Video + virtual ISteamVideo *GetISteamVideo( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Parental controls + virtual ISteamParentalSettings *GetISteamParentalSettings( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Exposes the Steam Input interface for controller support + virtual ISteamInput *GetISteamInput( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Steam Parties interface + virtual ISteamParties *GetISteamParties( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + // Steam Remote Play interface + virtual ISteamRemotePlay *GetISteamRemotePlay( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0; + + STEAM_PRIVATE_API( virtual void DestroyAllInterfaces() = 0; ) + +}; +#define STEAMCLIENT_INTERFACE_VERSION "SteamClient020" + +#ifndef STEAM_API_EXPORTS + +// Global ISteamClient interface accessor +inline ISteamClient *SteamClient(); +STEAM_DEFINE_INTERFACE_ACCESSOR( ISteamClient *, SteamClient, SteamInternal_CreateInterface( STEAMCLIENT_INTERFACE_VERSION ), "global", STEAMCLIENT_INTERFACE_VERSION ); + +// The internal ISteamClient used for the gameserver interface. +// (This is actually the same thing. You really shouldn't need to access any of this stuff directly.) +inline ISteamClient *SteamGameServerClient() { return SteamClient(); } + +#endif + +#endif // ISTEAMCLIENT_H diff --git a/lsteamclient/steamworks_sdk_158/isteamcontroller.h b/lsteamclient/steamworks_sdk_158/isteamcontroller.h new file mode 100644 index 000000000..d80745505 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamcontroller.h @@ -0,0 +1,727 @@ +//====== Copyright 1996-2018, Valve Corporation, All rights reserved. ======= +// Note: The older ISteamController interface has been deprecated in favor of ISteamInput - this interface +// was updated in this SDK but will be removed from future SDK's. The Steam Client will retain +// compatibility with the older interfaces so your any existing integrations should be unaffected. +// +// Purpose: Steam Input is a flexible input API that supports over three hundred devices including all +// common variants of Xbox, Playstation, Nintendo Switch Pro, and Steam Controllers. +// For more info including a getting started guide for developers +// please visit: https://partner.steamgames.com/doc/features/steam_controller +// +//============================================================================= + +#ifndef ISTEAMCONTROLLER_H +#define ISTEAMCONTROLLER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "isteaminput.h" + +#define STEAM_CONTROLLER_MAX_COUNT 16 + +#define STEAM_CONTROLLER_MAX_ANALOG_ACTIONS 24 + +#define STEAM_CONTROLLER_MAX_DIGITAL_ACTIONS 256 + +#define STEAM_CONTROLLER_MAX_ORIGINS 8 + +#define STEAM_CONTROLLER_MAX_ACTIVE_LAYERS 16 + +// When sending an option to a specific controller handle, you can send to all controllers via this command +#define STEAM_CONTROLLER_HANDLE_ALL_CONTROLLERS UINT64_MAX + +#define STEAM_CONTROLLER_MIN_ANALOG_ACTION_DATA -1.0f +#define STEAM_CONTROLLER_MAX_ANALOG_ACTION_DATA 1.0f + +#ifndef ISTEAMINPUT_H +enum ESteamControllerPad +{ + k_ESteamControllerPad_Left, + k_ESteamControllerPad_Right +}; +#endif + +// Note: Please do not use action origins as a way to identify controller types. There is no +// guarantee that they will be added in a contiguous manner - use GetInputTypeForHandle instead +// Versions of Steam that add new controller types in the future will extend this enum if you're +// using a lookup table please check the bounds of any origins returned by Steam. +enum EControllerActionOrigin +{ + // Steam Controller + k_EControllerActionOrigin_None, + k_EControllerActionOrigin_A, + k_EControllerActionOrigin_B, + k_EControllerActionOrigin_X, + k_EControllerActionOrigin_Y, + k_EControllerActionOrigin_LeftBumper, + k_EControllerActionOrigin_RightBumper, + k_EControllerActionOrigin_LeftGrip, + k_EControllerActionOrigin_RightGrip, + k_EControllerActionOrigin_Start, + k_EControllerActionOrigin_Back, + k_EControllerActionOrigin_LeftPad_Touch, + k_EControllerActionOrigin_LeftPad_Swipe, + k_EControllerActionOrigin_LeftPad_Click, + k_EControllerActionOrigin_LeftPad_DPadNorth, + k_EControllerActionOrigin_LeftPad_DPadSouth, + k_EControllerActionOrigin_LeftPad_DPadWest, + k_EControllerActionOrigin_LeftPad_DPadEast, + k_EControllerActionOrigin_RightPad_Touch, + k_EControllerActionOrigin_RightPad_Swipe, + k_EControllerActionOrigin_RightPad_Click, + k_EControllerActionOrigin_RightPad_DPadNorth, + k_EControllerActionOrigin_RightPad_DPadSouth, + k_EControllerActionOrigin_RightPad_DPadWest, + k_EControllerActionOrigin_RightPad_DPadEast, + k_EControllerActionOrigin_LeftTrigger_Pull, + k_EControllerActionOrigin_LeftTrigger_Click, + k_EControllerActionOrigin_RightTrigger_Pull, + k_EControllerActionOrigin_RightTrigger_Click, + k_EControllerActionOrigin_LeftStick_Move, + k_EControllerActionOrigin_LeftStick_Click, + k_EControllerActionOrigin_LeftStick_DPadNorth, + k_EControllerActionOrigin_LeftStick_DPadSouth, + k_EControllerActionOrigin_LeftStick_DPadWest, + k_EControllerActionOrigin_LeftStick_DPadEast, + k_EControllerActionOrigin_Gyro_Move, + k_EControllerActionOrigin_Gyro_Pitch, + k_EControllerActionOrigin_Gyro_Yaw, + k_EControllerActionOrigin_Gyro_Roll, + + // PS4 Dual Shock + k_EControllerActionOrigin_PS4_X, + k_EControllerActionOrigin_PS4_Circle, + k_EControllerActionOrigin_PS4_Triangle, + k_EControllerActionOrigin_PS4_Square, + k_EControllerActionOrigin_PS4_LeftBumper, + k_EControllerActionOrigin_PS4_RightBumper, + k_EControllerActionOrigin_PS4_Options, //Start + k_EControllerActionOrigin_PS4_Share, //Back + k_EControllerActionOrigin_PS4_LeftPad_Touch, + k_EControllerActionOrigin_PS4_LeftPad_Swipe, + k_EControllerActionOrigin_PS4_LeftPad_Click, + k_EControllerActionOrigin_PS4_LeftPad_DPadNorth, + k_EControllerActionOrigin_PS4_LeftPad_DPadSouth, + k_EControllerActionOrigin_PS4_LeftPad_DPadWest, + k_EControllerActionOrigin_PS4_LeftPad_DPadEast, + k_EControllerActionOrigin_PS4_RightPad_Touch, + k_EControllerActionOrigin_PS4_RightPad_Swipe, + k_EControllerActionOrigin_PS4_RightPad_Click, + k_EControllerActionOrigin_PS4_RightPad_DPadNorth, + k_EControllerActionOrigin_PS4_RightPad_DPadSouth, + k_EControllerActionOrigin_PS4_RightPad_DPadWest, + k_EControllerActionOrigin_PS4_RightPad_DPadEast, + k_EControllerActionOrigin_PS4_CenterPad_Touch, + k_EControllerActionOrigin_PS4_CenterPad_Swipe, + k_EControllerActionOrigin_PS4_CenterPad_Click, + k_EControllerActionOrigin_PS4_CenterPad_DPadNorth, + k_EControllerActionOrigin_PS4_CenterPad_DPadSouth, + k_EControllerActionOrigin_PS4_CenterPad_DPadWest, + k_EControllerActionOrigin_PS4_CenterPad_DPadEast, + k_EControllerActionOrigin_PS4_LeftTrigger_Pull, + k_EControllerActionOrigin_PS4_LeftTrigger_Click, + k_EControllerActionOrigin_PS4_RightTrigger_Pull, + k_EControllerActionOrigin_PS4_RightTrigger_Click, + k_EControllerActionOrigin_PS4_LeftStick_Move, + k_EControllerActionOrigin_PS4_LeftStick_Click, + k_EControllerActionOrigin_PS4_LeftStick_DPadNorth, + k_EControllerActionOrigin_PS4_LeftStick_DPadSouth, + k_EControllerActionOrigin_PS4_LeftStick_DPadWest, + k_EControllerActionOrigin_PS4_LeftStick_DPadEast, + k_EControllerActionOrigin_PS4_RightStick_Move, + k_EControllerActionOrigin_PS4_RightStick_Click, + k_EControllerActionOrigin_PS4_RightStick_DPadNorth, + k_EControllerActionOrigin_PS4_RightStick_DPadSouth, + k_EControllerActionOrigin_PS4_RightStick_DPadWest, + k_EControllerActionOrigin_PS4_RightStick_DPadEast, + k_EControllerActionOrigin_PS4_DPad_North, + k_EControllerActionOrigin_PS4_DPad_South, + k_EControllerActionOrigin_PS4_DPad_West, + k_EControllerActionOrigin_PS4_DPad_East, + k_EControllerActionOrigin_PS4_Gyro_Move, + k_EControllerActionOrigin_PS4_Gyro_Pitch, + k_EControllerActionOrigin_PS4_Gyro_Yaw, + k_EControllerActionOrigin_PS4_Gyro_Roll, + + // XBox One + k_EControllerActionOrigin_XBoxOne_A, + k_EControllerActionOrigin_XBoxOne_B, + k_EControllerActionOrigin_XBoxOne_X, + k_EControllerActionOrigin_XBoxOne_Y, + k_EControllerActionOrigin_XBoxOne_LeftBumper, + k_EControllerActionOrigin_XBoxOne_RightBumper, + k_EControllerActionOrigin_XBoxOne_Menu, //Start + k_EControllerActionOrigin_XBoxOne_View, //Back + k_EControllerActionOrigin_XBoxOne_LeftTrigger_Pull, + k_EControllerActionOrigin_XBoxOne_LeftTrigger_Click, + k_EControllerActionOrigin_XBoxOne_RightTrigger_Pull, + k_EControllerActionOrigin_XBoxOne_RightTrigger_Click, + k_EControllerActionOrigin_XBoxOne_LeftStick_Move, + k_EControllerActionOrigin_XBoxOne_LeftStick_Click, + k_EControllerActionOrigin_XBoxOne_LeftStick_DPadNorth, + k_EControllerActionOrigin_XBoxOne_LeftStick_DPadSouth, + k_EControllerActionOrigin_XBoxOne_LeftStick_DPadWest, + k_EControllerActionOrigin_XBoxOne_LeftStick_DPadEast, + k_EControllerActionOrigin_XBoxOne_RightStick_Move, + k_EControllerActionOrigin_XBoxOne_RightStick_Click, + k_EControllerActionOrigin_XBoxOne_RightStick_DPadNorth, + k_EControllerActionOrigin_XBoxOne_RightStick_DPadSouth, + k_EControllerActionOrigin_XBoxOne_RightStick_DPadWest, + k_EControllerActionOrigin_XBoxOne_RightStick_DPadEast, + k_EControllerActionOrigin_XBoxOne_DPad_North, + k_EControllerActionOrigin_XBoxOne_DPad_South, + k_EControllerActionOrigin_XBoxOne_DPad_West, + k_EControllerActionOrigin_XBoxOne_DPad_East, + + // XBox 360 + k_EControllerActionOrigin_XBox360_A, + k_EControllerActionOrigin_XBox360_B, + k_EControllerActionOrigin_XBox360_X, + k_EControllerActionOrigin_XBox360_Y, + k_EControllerActionOrigin_XBox360_LeftBumper, + k_EControllerActionOrigin_XBox360_RightBumper, + k_EControllerActionOrigin_XBox360_Start, //Start + k_EControllerActionOrigin_XBox360_Back, //Back + k_EControllerActionOrigin_XBox360_LeftTrigger_Pull, + k_EControllerActionOrigin_XBox360_LeftTrigger_Click, + k_EControllerActionOrigin_XBox360_RightTrigger_Pull, + k_EControllerActionOrigin_XBox360_RightTrigger_Click, + k_EControllerActionOrigin_XBox360_LeftStick_Move, + k_EControllerActionOrigin_XBox360_LeftStick_Click, + k_EControllerActionOrigin_XBox360_LeftStick_DPadNorth, + k_EControllerActionOrigin_XBox360_LeftStick_DPadSouth, + k_EControllerActionOrigin_XBox360_LeftStick_DPadWest, + k_EControllerActionOrigin_XBox360_LeftStick_DPadEast, + k_EControllerActionOrigin_XBox360_RightStick_Move, + k_EControllerActionOrigin_XBox360_RightStick_Click, + k_EControllerActionOrigin_XBox360_RightStick_DPadNorth, + k_EControllerActionOrigin_XBox360_RightStick_DPadSouth, + k_EControllerActionOrigin_XBox360_RightStick_DPadWest, + k_EControllerActionOrigin_XBox360_RightStick_DPadEast, + k_EControllerActionOrigin_XBox360_DPad_North, + k_EControllerActionOrigin_XBox360_DPad_South, + k_EControllerActionOrigin_XBox360_DPad_West, + k_EControllerActionOrigin_XBox360_DPad_East, + + // SteamController V2 + k_EControllerActionOrigin_SteamV2_A, + k_EControllerActionOrigin_SteamV2_B, + k_EControllerActionOrigin_SteamV2_X, + k_EControllerActionOrigin_SteamV2_Y, + k_EControllerActionOrigin_SteamV2_LeftBumper, + k_EControllerActionOrigin_SteamV2_RightBumper, + k_EControllerActionOrigin_SteamV2_LeftGrip_Lower, + k_EControllerActionOrigin_SteamV2_LeftGrip_Upper, + k_EControllerActionOrigin_SteamV2_RightGrip_Lower, + k_EControllerActionOrigin_SteamV2_RightGrip_Upper, + k_EControllerActionOrigin_SteamV2_LeftBumper_Pressure, + k_EControllerActionOrigin_SteamV2_RightBumper_Pressure, + k_EControllerActionOrigin_SteamV2_LeftGrip_Pressure, + k_EControllerActionOrigin_SteamV2_RightGrip_Pressure, + k_EControllerActionOrigin_SteamV2_LeftGrip_Upper_Pressure, + k_EControllerActionOrigin_SteamV2_RightGrip_Upper_Pressure, + k_EControllerActionOrigin_SteamV2_Start, + k_EControllerActionOrigin_SteamV2_Back, + k_EControllerActionOrigin_SteamV2_LeftPad_Touch, + k_EControllerActionOrigin_SteamV2_LeftPad_Swipe, + k_EControllerActionOrigin_SteamV2_LeftPad_Click, + k_EControllerActionOrigin_SteamV2_LeftPad_Pressure, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadNorth, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadSouth, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadWest, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadEast, + k_EControllerActionOrigin_SteamV2_RightPad_Touch, + k_EControllerActionOrigin_SteamV2_RightPad_Swipe, + k_EControllerActionOrigin_SteamV2_RightPad_Click, + k_EControllerActionOrigin_SteamV2_RightPad_Pressure, + k_EControllerActionOrigin_SteamV2_RightPad_DPadNorth, + k_EControllerActionOrigin_SteamV2_RightPad_DPadSouth, + k_EControllerActionOrigin_SteamV2_RightPad_DPadWest, + k_EControllerActionOrigin_SteamV2_RightPad_DPadEast, + k_EControllerActionOrigin_SteamV2_LeftTrigger_Pull, + k_EControllerActionOrigin_SteamV2_LeftTrigger_Click, + k_EControllerActionOrigin_SteamV2_RightTrigger_Pull, + k_EControllerActionOrigin_SteamV2_RightTrigger_Click, + k_EControllerActionOrigin_SteamV2_LeftStick_Move, + k_EControllerActionOrigin_SteamV2_LeftStick_Click, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadNorth, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadSouth, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadWest, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadEast, + k_EControllerActionOrigin_SteamV2_Gyro_Move, + k_EControllerActionOrigin_SteamV2_Gyro_Pitch, + k_EControllerActionOrigin_SteamV2_Gyro_Yaw, + k_EControllerActionOrigin_SteamV2_Gyro_Roll, + + // Switch - Pro or Joycons used as a single input device. + // This does not apply to a single joycon + k_EControllerActionOrigin_Switch_A, + k_EControllerActionOrigin_Switch_B, + k_EControllerActionOrigin_Switch_X, + k_EControllerActionOrigin_Switch_Y, + k_EControllerActionOrigin_Switch_LeftBumper, + k_EControllerActionOrigin_Switch_RightBumper, + k_EControllerActionOrigin_Switch_Plus, //Start + k_EControllerActionOrigin_Switch_Minus, //Back + k_EControllerActionOrigin_Switch_Capture, + k_EControllerActionOrigin_Switch_LeftTrigger_Pull, + k_EControllerActionOrigin_Switch_LeftTrigger_Click, + k_EControllerActionOrigin_Switch_RightTrigger_Pull, + k_EControllerActionOrigin_Switch_RightTrigger_Click, + k_EControllerActionOrigin_Switch_LeftStick_Move, + k_EControllerActionOrigin_Switch_LeftStick_Click, + k_EControllerActionOrigin_Switch_LeftStick_DPadNorth, + k_EControllerActionOrigin_Switch_LeftStick_DPadSouth, + k_EControllerActionOrigin_Switch_LeftStick_DPadWest, + k_EControllerActionOrigin_Switch_LeftStick_DPadEast, + k_EControllerActionOrigin_Switch_RightStick_Move, + k_EControllerActionOrigin_Switch_RightStick_Click, + k_EControllerActionOrigin_Switch_RightStick_DPadNorth, + k_EControllerActionOrigin_Switch_RightStick_DPadSouth, + k_EControllerActionOrigin_Switch_RightStick_DPadWest, + k_EControllerActionOrigin_Switch_RightStick_DPadEast, + k_EControllerActionOrigin_Switch_DPad_North, + k_EControllerActionOrigin_Switch_DPad_South, + k_EControllerActionOrigin_Switch_DPad_West, + k_EControllerActionOrigin_Switch_DPad_East, + k_EControllerActionOrigin_Switch_ProGyro_Move, // Primary Gyro in Pro Controller, or Right JoyCon + k_EControllerActionOrigin_Switch_ProGyro_Pitch, // Primary Gyro in Pro Controller, or Right JoyCon + k_EControllerActionOrigin_Switch_ProGyro_Yaw, // Primary Gyro in Pro Controller, or Right JoyCon + k_EControllerActionOrigin_Switch_ProGyro_Roll, // Primary Gyro in Pro Controller, or Right JoyCon + // Switch JoyCon Specific + k_EControllerActionOrigin_Switch_RightGyro_Move, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EControllerActionOrigin_Switch_RightGyro_Pitch, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EControllerActionOrigin_Switch_RightGyro_Yaw, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EControllerActionOrigin_Switch_RightGyro_Roll, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EControllerActionOrigin_Switch_LeftGyro_Move, + k_EControllerActionOrigin_Switch_LeftGyro_Pitch, + k_EControllerActionOrigin_Switch_LeftGyro_Yaw, + k_EControllerActionOrigin_Switch_LeftGyro_Roll, + k_EControllerActionOrigin_Switch_LeftGrip_Lower, // Left JoyCon SR Button + k_EControllerActionOrigin_Switch_LeftGrip_Upper, // Left JoyCon SL Button + k_EControllerActionOrigin_Switch_RightGrip_Lower, // Right JoyCon SL Button + k_EControllerActionOrigin_Switch_RightGrip_Upper, // Right JoyCon SR Button + + // Added in SDK 1.45 + k_EControllerActionOrigin_PS4_DPad_Move, + k_EControllerActionOrigin_XBoxOne_DPad_Move, + k_EControllerActionOrigin_XBox360_DPad_Move, + k_EControllerActionOrigin_Switch_DPad_Move, + + // Added in SDK 1.51 + k_EControllerActionOrigin_PS5_X, + k_EControllerActionOrigin_PS5_Circle, + k_EControllerActionOrigin_PS5_Triangle, + k_EControllerActionOrigin_PS5_Square, + k_EControllerActionOrigin_PS5_LeftBumper, + k_EControllerActionOrigin_PS5_RightBumper, + k_EControllerActionOrigin_PS5_Option, //Start + k_EControllerActionOrigin_PS5_Create, //Back + k_EControllerActionOrigin_PS5_Mute, + k_EControllerActionOrigin_PS5_LeftPad_Touch, + k_EControllerActionOrigin_PS5_LeftPad_Swipe, + k_EControllerActionOrigin_PS5_LeftPad_Click, + k_EControllerActionOrigin_PS5_LeftPad_DPadNorth, + k_EControllerActionOrigin_PS5_LeftPad_DPadSouth, + k_EControllerActionOrigin_PS5_LeftPad_DPadWest, + k_EControllerActionOrigin_PS5_LeftPad_DPadEast, + k_EControllerActionOrigin_PS5_RightPad_Touch, + k_EControllerActionOrigin_PS5_RightPad_Swipe, + k_EControllerActionOrigin_PS5_RightPad_Click, + k_EControllerActionOrigin_PS5_RightPad_DPadNorth, + k_EControllerActionOrigin_PS5_RightPad_DPadSouth, + k_EControllerActionOrigin_PS5_RightPad_DPadWest, + k_EControllerActionOrigin_PS5_RightPad_DPadEast, + k_EControllerActionOrigin_PS5_CenterPad_Touch, + k_EControllerActionOrigin_PS5_CenterPad_Swipe, + k_EControllerActionOrigin_PS5_CenterPad_Click, + k_EControllerActionOrigin_PS5_CenterPad_DPadNorth, + k_EControllerActionOrigin_PS5_CenterPad_DPadSouth, + k_EControllerActionOrigin_PS5_CenterPad_DPadWest, + k_EControllerActionOrigin_PS5_CenterPad_DPadEast, + k_EControllerActionOrigin_PS5_LeftTrigger_Pull, + k_EControllerActionOrigin_PS5_LeftTrigger_Click, + k_EControllerActionOrigin_PS5_RightTrigger_Pull, + k_EControllerActionOrigin_PS5_RightTrigger_Click, + k_EControllerActionOrigin_PS5_LeftStick_Move, + k_EControllerActionOrigin_PS5_LeftStick_Click, + k_EControllerActionOrigin_PS5_LeftStick_DPadNorth, + k_EControllerActionOrigin_PS5_LeftStick_DPadSouth, + k_EControllerActionOrigin_PS5_LeftStick_DPadWest, + k_EControllerActionOrigin_PS5_LeftStick_DPadEast, + k_EControllerActionOrigin_PS5_RightStick_Move, + k_EControllerActionOrigin_PS5_RightStick_Click, + k_EControllerActionOrigin_PS5_RightStick_DPadNorth, + k_EControllerActionOrigin_PS5_RightStick_DPadSouth, + k_EControllerActionOrigin_PS5_RightStick_DPadWest, + k_EControllerActionOrigin_PS5_RightStick_DPadEast, + k_EControllerActionOrigin_PS5_DPad_Move, + k_EControllerActionOrigin_PS5_DPad_North, + k_EControllerActionOrigin_PS5_DPad_South, + k_EControllerActionOrigin_PS5_DPad_West, + k_EControllerActionOrigin_PS5_DPad_East, + k_EControllerActionOrigin_PS5_Gyro_Move, + k_EControllerActionOrigin_PS5_Gyro_Pitch, + k_EControllerActionOrigin_PS5_Gyro_Yaw, + k_EControllerActionOrigin_PS5_Gyro_Roll, + + k_EControllerActionOrigin_XBoxOne_LeftGrip_Lower, + k_EControllerActionOrigin_XBoxOne_LeftGrip_Upper, + k_EControllerActionOrigin_XBoxOne_RightGrip_Lower, + k_EControllerActionOrigin_XBoxOne_RightGrip_Upper, + k_EControllerActionOrigin_XBoxOne_Share, + + // Added in SDK 1.53 + k_EControllerActionOrigin_SteamDeck_A, + k_EControllerActionOrigin_SteamDeck_B, + k_EControllerActionOrigin_SteamDeck_X, + k_EControllerActionOrigin_SteamDeck_Y, + k_EControllerActionOrigin_SteamDeck_L1, + k_EControllerActionOrigin_SteamDeck_R1, + k_EControllerActionOrigin_SteamDeck_Menu, + k_EControllerActionOrigin_SteamDeck_View, + k_EControllerActionOrigin_SteamDeck_LeftPad_Touch, + k_EControllerActionOrigin_SteamDeck_LeftPad_Swipe, + k_EControllerActionOrigin_SteamDeck_LeftPad_Click, + k_EControllerActionOrigin_SteamDeck_LeftPad_DPadNorth, + k_EControllerActionOrigin_SteamDeck_LeftPad_DPadSouth, + k_EControllerActionOrigin_SteamDeck_LeftPad_DPadWest, + k_EControllerActionOrigin_SteamDeck_LeftPad_DPadEast, + k_EControllerActionOrigin_SteamDeck_RightPad_Touch, + k_EControllerActionOrigin_SteamDeck_RightPad_Swipe, + k_EControllerActionOrigin_SteamDeck_RightPad_Click, + k_EControllerActionOrigin_SteamDeck_RightPad_DPadNorth, + k_EControllerActionOrigin_SteamDeck_RightPad_DPadSouth, + k_EControllerActionOrigin_SteamDeck_RightPad_DPadWest, + k_EControllerActionOrigin_SteamDeck_RightPad_DPadEast, + k_EControllerActionOrigin_SteamDeck_L2_SoftPull, + k_EControllerActionOrigin_SteamDeck_L2, + k_EControllerActionOrigin_SteamDeck_R2_SoftPull, + k_EControllerActionOrigin_SteamDeck_R2, + k_EControllerActionOrigin_SteamDeck_LeftStick_Move, + k_EControllerActionOrigin_SteamDeck_L3, + k_EControllerActionOrigin_SteamDeck_LeftStick_DPadNorth, + k_EControllerActionOrigin_SteamDeck_LeftStick_DPadSouth, + k_EControllerActionOrigin_SteamDeck_LeftStick_DPadWest, + k_EControllerActionOrigin_SteamDeck_LeftStick_DPadEast, + k_EControllerActionOrigin_SteamDeck_LeftStick_Touch, + k_EControllerActionOrigin_SteamDeck_RightStick_Move, + k_EControllerActionOrigin_SteamDeck_R3, + k_EControllerActionOrigin_SteamDeck_RightStick_DPadNorth, + k_EControllerActionOrigin_SteamDeck_RightStick_DPadSouth, + k_EControllerActionOrigin_SteamDeck_RightStick_DPadWest, + k_EControllerActionOrigin_SteamDeck_RightStick_DPadEast, + k_EControllerActionOrigin_SteamDeck_RightStick_Touch, + k_EControllerActionOrigin_SteamDeck_L4, + k_EControllerActionOrigin_SteamDeck_R4, + k_EControllerActionOrigin_SteamDeck_L5, + k_EControllerActionOrigin_SteamDeck_R5, + k_EControllerActionOrigin_SteamDeck_DPad_Move, + k_EControllerActionOrigin_SteamDeck_DPad_North, + k_EControllerActionOrigin_SteamDeck_DPad_South, + k_EControllerActionOrigin_SteamDeck_DPad_West, + k_EControllerActionOrigin_SteamDeck_DPad_East, + k_EControllerActionOrigin_SteamDeck_Gyro_Move, + k_EControllerActionOrigin_SteamDeck_Gyro_Pitch, + k_EControllerActionOrigin_SteamDeck_Gyro_Yaw, + k_EControllerActionOrigin_SteamDeck_Gyro_Roll, + k_EControllerActionOrigin_SteamDeck_Reserved1, + k_EControllerActionOrigin_SteamDeck_Reserved2, + k_EControllerActionOrigin_SteamDeck_Reserved3, + k_EControllerActionOrigin_SteamDeck_Reserved4, + k_EControllerActionOrigin_SteamDeck_Reserved5, + k_EControllerActionOrigin_SteamDeck_Reserved6, + k_EControllerActionOrigin_SteamDeck_Reserved7, + k_EControllerActionOrigin_SteamDeck_Reserved8, + k_EControllerActionOrigin_SteamDeck_Reserved9, + k_EControllerActionOrigin_SteamDeck_Reserved10, + k_EControllerActionOrigin_SteamDeck_Reserved11, + k_EControllerActionOrigin_SteamDeck_Reserved12, + k_EControllerActionOrigin_SteamDeck_Reserved13, + k_EControllerActionOrigin_SteamDeck_Reserved14, + k_EControllerActionOrigin_SteamDeck_Reserved15, + k_EControllerActionOrigin_SteamDeck_Reserved16, + k_EControllerActionOrigin_SteamDeck_Reserved17, + k_EControllerActionOrigin_SteamDeck_Reserved18, + k_EControllerActionOrigin_SteamDeck_Reserved19, + k_EControllerActionOrigin_SteamDeck_Reserved20, + + k_EControllerActionOrigin_Switch_JoyConButton_N, // With a Horizontal JoyCon this will be Y or what would be Dpad Right when vertical + k_EControllerActionOrigin_Switch_JoyConButton_E, // X + k_EControllerActionOrigin_Switch_JoyConButton_S, // A + k_EControllerActionOrigin_Switch_JoyConButton_W, // B + + k_EControllerActionOrigin_PS5_LeftGrip, + k_EControllerActionOrigin_PS5_RightGrip, + k_EControllerActionOrigin_PS5_LeftFn, + k_EControllerActionOrigin_PS5_RightFn, + + k_EControllerActionOrigin_Count, // If Steam has added support for new controllers origins will go here. + k_EControllerActionOrigin_MaximumPossibleValue = 32767, // Origins are currently a maximum of 16 bits. +}; + +#ifndef ISTEAMINPUT_H +enum EXboxOrigin +{ + k_EXboxOrigin_A, + k_EXboxOrigin_B, + k_EXboxOrigin_X, + k_EXboxOrigin_Y, + k_EXboxOrigin_LeftBumper, + k_EXboxOrigin_RightBumper, + k_EXboxOrigin_Menu, //Start + k_EXboxOrigin_View, //Back + k_EXboxOrigin_LeftTrigger_Pull, + k_EXboxOrigin_LeftTrigger_Click, + k_EXboxOrigin_RightTrigger_Pull, + k_EXboxOrigin_RightTrigger_Click, + k_EXboxOrigin_LeftStick_Move, + k_EXboxOrigin_LeftStick_Click, + k_EXboxOrigin_LeftStick_DPadNorth, + k_EXboxOrigin_LeftStick_DPadSouth, + k_EXboxOrigin_LeftStick_DPadWest, + k_EXboxOrigin_LeftStick_DPadEast, + k_EXboxOrigin_RightStick_Move, + k_EXboxOrigin_RightStick_Click, + k_EXboxOrigin_RightStick_DPadNorth, + k_EXboxOrigin_RightStick_DPadSouth, + k_EXboxOrigin_RightStick_DPadWest, + k_EXboxOrigin_RightStick_DPadEast, + k_EXboxOrigin_DPad_North, + k_EXboxOrigin_DPad_South, + k_EXboxOrigin_DPad_West, + k_EXboxOrigin_DPad_East, +}; + +enum ESteamInputType +{ + k_ESteamInputType_Unknown, + k_ESteamInputType_SteamController, + k_ESteamInputType_XBox360Controller, + k_ESteamInputType_XBoxOneController, + k_ESteamInputType_GenericGamepad, // DirectInput controllers + k_ESteamInputType_PS4Controller, + k_ESteamInputType_AppleMFiController, // Unused + k_ESteamInputType_AndroidController, // Unused + k_ESteamInputType_SwitchJoyConPair, // Unused + k_ESteamInputType_SwitchJoyConSingle, // Unused + k_ESteamInputType_SwitchProController, + k_ESteamInputType_MobileTouch, // Steam Link App On-screen Virtual Controller + k_ESteamInputType_PS3Controller, // Currently uses PS4 Origins + k_ESteamInputType_PS5Controller, // Added in SDK 151 + k_ESteamInputType_Count, + k_ESteamInputType_MaximumPossibleValue = 255, +}; +#endif + +enum ESteamControllerLEDFlag +{ + k_ESteamControllerLEDFlag_SetColor, + k_ESteamControllerLEDFlag_RestoreUserDefault +}; + +// ControllerHandle_t is used to refer to a specific controller. +// This handle will consistently identify a controller, even if it is disconnected and re-connected +typedef uint64 ControllerHandle_t; + + +// These handles are used to refer to a specific in-game action or action set +// All action handles should be queried during initialization for performance reasons +typedef uint64 ControllerActionSetHandle_t; +typedef uint64 ControllerDigitalActionHandle_t; +typedef uint64 ControllerAnalogActionHandle_t; + +#pragma pack( push, 1 ) + +#ifdef ISTEAMINPUT_H +#define ControllerAnalogActionData_t InputAnalogActionData_t +#define ControllerDigitalActionData_t InputDigitalActionData_t +#define ControllerMotionData_t InputMotionData_t +#define ControllerMotionDataV2_t InputMotionDataV2_t +#else +struct ControllerAnalogActionData_t +{ + // Type of data coming from this action, this will match what got specified in the action set + EControllerSourceMode eMode; + + // The current state of this action; will be delta updates for mouse actions + float x, y; + + // Whether or not this action is currently available to be bound in the active action set + bool bActive; +}; + +struct ControllerDigitalActionData_t +{ + // The current state of this action; will be true if currently pressed + bool bState; + + // Whether or not this action is currently available to be bound in the active action set + bool bActive; +}; + +struct ControllerMotionData_t +{ + // Sensor-fused absolute rotation; will drift in heading + float rotQuatX; + float rotQuatY; + float rotQuatZ; + float rotQuatW; + + // Positional acceleration + float posAccelX; + float posAccelY; + float posAccelZ; + + // Angular velocity + float rotVelX; + float rotVelY; + float rotVelZ; +}; +#endif +#pragma pack( pop ) + + +//----------------------------------------------------------------------------- +// Purpose: Steam Input API +//----------------------------------------------------------------------------- +class ISteamController +{ +public: + + // Init and Shutdown must be called when starting/ending use of this interface + virtual bool Init() = 0; + virtual bool Shutdown() = 0; + + // Synchronize API state with the latest Steam Controller inputs available. This + // is performed automatically by SteamAPI_RunCallbacks, but for the absolute lowest + // possible latency, you call this directly before reading controller state. This must + // be called from somewhere before GetConnectedControllers will return any handles + virtual void RunFrame() = 0; + + // Enumerate currently connected controllers + // handlesOut should point to a STEAM_CONTROLLER_MAX_COUNT sized array of ControllerHandle_t handles + // Returns the number of handles written to handlesOut + virtual int GetConnectedControllers( STEAM_OUT_ARRAY_COUNT( STEAM_CONTROLLER_MAX_COUNT, Receives list of connected controllers ) ControllerHandle_t *handlesOut ) = 0; + + //----------------------------------------------------------------------------- + // ACTION SETS + //----------------------------------------------------------------------------- + + // Lookup the handle for an Action Set. Best to do this once on startup, and store the handles for all future API calls. + virtual ControllerActionSetHandle_t GetActionSetHandle( const char *pszActionSetName ) = 0; + + // Reconfigure the controller to use the specified action set (ie 'Menu', 'Walk' or 'Drive') + // This is cheap, and can be safely called repeatedly. It's often easier to repeatedly call it in + // your state loops, instead of trying to place it in all of your state transitions. + virtual void ActivateActionSet( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle ) = 0; + virtual ControllerActionSetHandle_t GetCurrentActionSet( ControllerHandle_t controllerHandle ) = 0; + + // ACTION SET LAYERS + virtual void ActivateActionSetLayer( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ) = 0; + virtual void DeactivateActionSetLayer( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ) = 0; + virtual void DeactivateAllActionSetLayers( ControllerHandle_t controllerHandle ) = 0; + // Enumerate currently active layers + // handlesOut should point to a STEAM_CONTROLLER_MAX_ACTIVE_LAYERS sized array of ControllerActionSetHandle_t handles. + // Returns the number of handles written to handlesOut + virtual int GetActiveActionSetLayers( ControllerHandle_t controllerHandle, STEAM_OUT_ARRAY_COUNT( STEAM_CONTROLLER_MAX_ACTIVE_LAYERS, Receives list of active layers ) ControllerActionSetHandle_t *handlesOut ) = 0; + + //----------------------------------------------------------------------------- + // ACTIONS + //----------------------------------------------------------------------------- + + // Lookup the handle for a digital action. Best to do this once on startup, and store the handles for all future API calls. + virtual ControllerDigitalActionHandle_t GetDigitalActionHandle( const char *pszActionName ) = 0; + + // Returns the current state of the supplied digital game action + virtual ControllerDigitalActionData_t GetDigitalActionData( ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle ) = 0; + + // Get the origin(s) for a digital action within an action set. Returns the number of origins supplied in originsOut. Use this to display the appropriate on-screen prompt for the action. + // originsOut should point to a STEAM_CONTROLLER_MAX_ORIGINS sized array of EControllerActionOrigin handles. The EControllerActionOrigin enum will get extended as support for new controller controllers gets added to + // the Steam client and will exceed the values from this header, please check bounds if you are using a look up table. + virtual int GetDigitalActionOrigins( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, STEAM_OUT_ARRAY_COUNT( STEAM_CONTROLLER_MAX_ORIGINS, Receives list of aciton origins ) EControllerActionOrigin *originsOut ) = 0; + + // Lookup the handle for an analog action. Best to do this once on startup, and store the handles for all future API calls. + virtual ControllerAnalogActionHandle_t GetAnalogActionHandle( const char *pszActionName ) = 0; + + // Returns the current state of these supplied analog game action + virtual ControllerAnalogActionData_t GetAnalogActionData( ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle ) = 0; + + // Get the origin(s) for an analog action within an action set. Returns the number of origins supplied in originsOut. Use this to display the appropriate on-screen prompt for the action. + // originsOut should point to a STEAM_CONTROLLER_MAX_ORIGINS sized array of EControllerActionOrigin handles. The EControllerActionOrigin enum will get extended as support for new controller controllers gets added to + // the Steam client and will exceed the values from this header, please check bounds if you are using a look up table. + virtual int GetAnalogActionOrigins( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, STEAM_OUT_ARRAY_COUNT( STEAM_CONTROLLER_MAX_ORIGINS, Receives list of action origins ) EControllerActionOrigin *originsOut ) = 0; + + // Get a local path to art for on-screen glyph for a particular origin - this call is cheap + virtual const char *GetGlyphForActionOrigin( EControllerActionOrigin eOrigin ) = 0; + + // Returns a localized string (from Steam's language setting) for the specified origin - this call is serialized + virtual const char *GetStringForActionOrigin( EControllerActionOrigin eOrigin ) = 0; + + virtual void StopAnalogActionMomentum( ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction ) = 0; + + // Returns raw motion data from the specified controller + virtual ControllerMotionData_t GetMotionData( ControllerHandle_t controllerHandle ) = 0; + + //----------------------------------------------------------------------------- + // OUTPUTS + //----------------------------------------------------------------------------- + + // Trigger a haptic pulse on a controller + virtual void TriggerHapticPulse( ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec ) = 0; + + // Trigger a pulse with a duty cycle of usDurationMicroSec / usOffMicroSec, unRepeat times. + // nFlags is currently unused and reserved for future use. + virtual void TriggerRepeatedHapticPulse( ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags ) = 0; + + // Trigger a vibration event on supported controllers. + virtual void TriggerVibration( ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed ) = 0; + + // Set the controller LED color on supported controllers. + virtual void SetLEDColor( ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags ) = 0; + + //----------------------------------------------------------------------------- + // Utility functions available without using the rest of Steam Input API + //----------------------------------------------------------------------------- + + // Invokes the Steam overlay and brings up the binding screen if the user is using Big Picture Mode + // If the user is not in Big Picture Mode it will open up the binding in a new window + virtual bool ShowBindingPanel( ControllerHandle_t controllerHandle ) = 0; + + // Returns the input type for a particular handle - unlike EControllerActionOrigin which update with Steam and may return unrecognized values + // ESteamInputType will remain static and only return valid values from your SDK version + virtual ESteamInputType GetInputTypeForHandle( ControllerHandle_t controllerHandle ) = 0; + + // Returns the associated controller handle for the specified emulated gamepad - can be used with the above 2 functions + // to identify controllers presented to your game over Xinput. Returns 0 if the Xinput index isn't associated with Steam Input + virtual ControllerHandle_t GetControllerForGamepadIndex( int nIndex ) = 0; + + // Returns the associated gamepad index for the specified controller, if emulating a gamepad or -1 if not associated with an Xinput index + virtual int GetGamepadIndexForController( ControllerHandle_t ulControllerHandle ) = 0; + + // Returns a localized string (from Steam's language setting) for the specified Xbox controller origin. + virtual const char *GetStringForXboxOrigin( EXboxOrigin eOrigin ) = 0; + + // Get a local path to art for on-screen glyph for a particular Xbox controller origin. + virtual const char *GetGlyphForXboxOrigin( EXboxOrigin eOrigin ) = 0; + + // Get the equivalent ActionOrigin for a given Xbox controller origin this can be chained with GetGlyphForActionOrigin to provide future proof glyphs for + // non-Steam Input API action games. Note - this only translates the buttons directly and doesn't take into account any remapping a user has made in their configuration + virtual EControllerActionOrigin GetActionOriginFromXboxOrigin( ControllerHandle_t controllerHandle, EXboxOrigin eOrigin ) = 0; + + // Convert an origin to another controller type - for inputs not present on the other controller type this will return k_EControllerActionOrigin_None + virtual EControllerActionOrigin TranslateActionOrigin( ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin ) = 0; + + // Get the binding revision for a given device. Returns false if the handle was not valid or if a mapping is not yet loaded for the device + virtual bool GetControllerBindingRevision( ControllerHandle_t controllerHandle, int *pMajor, int *pMinor ) = 0; +}; + +#define STEAMCONTROLLER_INTERFACE_VERSION "SteamController008" + +// Global interface accessor +inline ISteamController *SteamController(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamController *, SteamController, STEAMCONTROLLER_INTERFACE_VERSION ); + +#endif // ISTEAMCONTROLLER_H diff --git a/lsteamclient/steamworks_sdk_158/isteamdualsense.h b/lsteamclient/steamworks_sdk_158/isteamdualsense.h new file mode 100644 index 000000000..5acc85743 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamdualsense.h @@ -0,0 +1,169 @@ +/* SIE CONFIDENTIAL + * $PSLibId$ + * Copyright (C) 2019 Sony Interactive Entertainment Inc. + * All Rights Reserved. + */ + + +#ifndef _SCE_PAD_TRIGGER_EFFECT_H +#define _SCE_PAD_TRIGGER_EFFECT_H + + +#define SCE_PAD_TRIGGER_EFFECT_TRIGGER_MASK_L2 0x01 +#define SCE_PAD_TRIGGER_EFFECT_TRIGGER_MASK_R2 0x02 + +#define SCE_PAD_TRIGGER_EFFECT_PARAM_INDEX_FOR_L2 0 +#define SCE_PAD_TRIGGER_EFFECT_PARAM_INDEX_FOR_R2 1 + +#define SCE_PAD_TRIGGER_EFFECT_TRIGGER_NUM 2 + +/* Definition of control point num */ +#define SCE_PAD_TRIGGER_EFFECT_CONTROL_POINT_NUM 10 + +typedef enum ScePadTriggerEffectMode{ + SCE_PAD_TRIGGER_EFFECT_MODE_OFF, + SCE_PAD_TRIGGER_EFFECT_MODE_FEEDBACK, + SCE_PAD_TRIGGER_EFFECT_MODE_WEAPON, + SCE_PAD_TRIGGER_EFFECT_MODE_VIBRATION, + SCE_PAD_TRIGGER_EFFECT_MODE_MULTIPLE_POSITION_FEEDBACK, + SCE_PAD_TRIGGER_EFFECT_MODE_SLOPE_FEEDBACK, + SCE_PAD_TRIGGER_EFFECT_MODE_MULTIPLE_POSITION_VIBRATION, +} ScePadTriggerEffectMode; + +/** + *E + * @brief parameter for setting the trigger effect to off mode. + * Off Mode: Stop trigger effect. + **/ +typedef struct ScePadTriggerEffectOffParam{ + uint8_t padding[48]; +} ScePadTriggerEffectOffParam; + +/** + *E + * @brief parameter for setting the trigger effect to Feedback mode. + * Feedback Mode: The motor arm pushes back trigger. + * Trigger obtains stiffness at specified position. + **/ +typedef struct ScePadTriggerEffectFeedbackParam{ + uint8_t position; /*E position where the strength of target trigger start changing(0~9). */ + uint8_t strength; /*E strength that the motor arm pushes back target trigger(0~8 (0: Same as Off mode)). */ + uint8_t padding[46]; +} ScePadTriggerEffectFeedbackParam; + +/** + *E + * @brief parameter for setting the trigger effect to Weapon mode. + * Weapon Mode: Emulate weapon like gun trigger. + **/ +typedef struct ScePadTriggerEffectWeaponParam{ + uint8_t startPosition; /*E position where the stiffness of trigger start changing(2~7). */ + uint8_t endPosition; /*E position where the stiffness of trigger finish changing(startPosition+1~8). */ + uint8_t strength; /*E strength of gun trigger(0~8 (0: Same as Off mode)). */ + uint8_t padding[45]; +} ScePadTriggerEffectWeaponParam; + +/** + *E + * @brief parameter for setting the trigger effect to Vibration mode. + * Vibration Mode: Vibrates motor arm around specified position. + **/ +typedef struct ScePadTriggerEffectVibrationParam{ + uint8_t position; /*E position where the motor arm start vibrating(0~9). */ + uint8_t amplitude; /*E vibration amplitude(0~8 (0: Same as Off mode)). */ + uint8_t frequency; /*E vibration frequency(0~255[Hz] (0: Same as Off mode)). */ + uint8_t padding[45]; +} ScePadTriggerEffectVibrationParam; + +/** + *E + * @brief parameter for setting the trigger effect to ScePadTriggerEffectMultiplePositionFeedbackParam mode. + * Multi Position Feedback Mode: The motor arm pushes back trigger. + * Trigger obtains specified stiffness at each control point. + **/ +typedef struct ScePadTriggerEffectMultiplePositionFeedbackParam{ + uint8_t strength[SCE_PAD_TRIGGER_EFFECT_CONTROL_POINT_NUM]; /*E strength that the motor arm pushes back target trigger at position(0~8 (0: Same as Off mode)). + * strength[0] means strength of motor arm at position0. + * strength[1] means strength of motor arm at position1. + * ... + * */ + uint8_t padding[38]; +} ScePadTriggerEffectMultiplePositionFeedbackParam; + +/** + *E + * @brief parameter for setting the trigger effect to Feedback3 mode. + * Slope Feedback Mode: The motor arm pushes back trigger between two spedified control points. + * Stiffness of the trigger is changing depending on the set place. + **/ +typedef struct ScePadTriggerEffectSlopeFeedbackParam{ + + uint8_t startPosition; /*E position where the strength of target trigger start changing(0~endPosition). */ + uint8_t endPosition; /*E position where the strength of target trigger finish changing(startPosition+1~9). */ + uint8_t startStrength; /*E strength when trigger's position is startPosition(1~8) */ + uint8_t endStrength; /*E strength when trigger's position is endPosition(1~8) */ + uint8_t padding[44]; +} ScePadTriggerEffectSlopeFeedbackParam; + +/** + *E + * @brief parameter for setting the trigger effect to Vibration2 mode. + * Multi Position Vibration Mode: Vibrates motor arm around specified control point. + * Trigger vibrates specified amplitude at each control point. + **/ +typedef struct ScePadTriggerEffectMultiplePositionVibrationParam{ + uint8_t frequency; /*E vibration frequency(0~255 (0: Same as Off mode)) */ + uint8_t amplitude[SCE_PAD_TRIGGER_EFFECT_CONTROL_POINT_NUM]; /*E vibration amplitude at position(0~8 (0: Same as Off mode)). + * amplitude[0] means amplitude of vibration at position0. + * amplitude[1] means amplitude of vibration at position1. + * ... + * */ + uint8_t padding[37]; +} ScePadTriggerEffectMultiplePositionVibrationParam; + +/** + *E + * @brief parameter for setting the trigger effect mode. + **/ +typedef union ScePadTriggerEffectCommandData{ + ScePadTriggerEffectOffParam offParam; + ScePadTriggerEffectFeedbackParam feedbackParam; + ScePadTriggerEffectWeaponParam weaponParam; + ScePadTriggerEffectVibrationParam vibrationParam; + ScePadTriggerEffectMultiplePositionFeedbackParam multiplePositionFeedbackParam; + ScePadTriggerEffectSlopeFeedbackParam slopeFeedbackParam; + ScePadTriggerEffectMultiplePositionVibrationParam multiplePositionVibrationParam; +} ScePadTriggerEffectCommandData; + +/** + *E + * @brief parameter for setting the trigger effect. + **/ +typedef struct ScePadTriggerEffectCommand{ + ScePadTriggerEffectMode mode; + uint8_t padding[4]; + ScePadTriggerEffectCommandData commandData; +} ScePadTriggerEffectCommand; + +/** + *E + * @brief parameter for the scePadSetTriggerEffect function. + **/ +typedef struct ScePadTriggerEffectParam{ + + uint8_t triggerMask; /*E Set trigger mask to activate trigger effect commands. + * SCE_PAD_TRIGGER_EFFECT_TRIGGER_MASK_L2 : 0x01 + * SCE_PAD_TRIGGER_EFFECT_TRIGGER_MASK_R2 : 0x02 + * */ + uint8_t padding[7]; + + ScePadTriggerEffectCommand command[SCE_PAD_TRIGGER_EFFECT_TRIGGER_NUM]; /*E command[SCE_PAD_TRIGGER_EFFECT_PARAM_INDEX_FOR_L2] is for L2 trigger setting + * and param[SCE_PAD_TRIGGER_EFFECT_PARAM_INDEX_FOR_R2] is for R2 trgger setting. + * */ +} ScePadTriggerEffectParam; + +#if defined(__cplusplus) && __cplusplus >= 201103L +static_assert( sizeof( ScePadTriggerEffectParam ) == 120, "ScePadTriggerEffectParam has incorrect size" ); +#endif + +#endif /* _SCE_PAD_TRIGGER_EFFECT_H */ diff --git a/lsteamclient/steamworks_sdk_158/isteamfriends.h b/lsteamclient/steamworks_sdk_158/isteamfriends.h new file mode 100644 index 000000000..50f370e57 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamfriends.h @@ -0,0 +1,753 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Purpose: interface to both friends list data and general information about users +// +//============================================================================= + +#ifndef ISTEAMFRIENDS_H +#define ISTEAMFRIENDS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: set of relationships to other users +//----------------------------------------------------------------------------- +enum EFriendRelationship +{ + k_EFriendRelationshipNone = 0, + k_EFriendRelationshipBlocked = 1, // this doesn't get stored; the user has just done an Ignore on an friendship invite + k_EFriendRelationshipRequestRecipient = 2, + k_EFriendRelationshipFriend = 3, + k_EFriendRelationshipRequestInitiator = 4, + k_EFriendRelationshipIgnored = 5, // this is stored; the user has explicit blocked this other user from comments/chat/etc + k_EFriendRelationshipIgnoredFriend = 6, + k_EFriendRelationshipSuggested_DEPRECATED = 7, // was used by the original implementation of the facebook linking feature, but now unused. + + // keep this updated + k_EFriendRelationshipMax = 8, +}; + +// maximum length of friend group name (not including terminating nul!) +const int k_cchMaxFriendsGroupName = 64; + +// maximum number of groups a single user is allowed +const int k_cFriendsGroupLimit = 100; + +// friends group identifier type +typedef int16 FriendsGroupID_t; + +// invalid friends group identifier constant +const FriendsGroupID_t k_FriendsGroupID_Invalid = -1; + +const int k_cEnumerateFollowersMax = 50; + + +//----------------------------------------------------------------------------- +// Purpose: list of states a friend can be in +//----------------------------------------------------------------------------- +enum EPersonaState +{ + k_EPersonaStateOffline = 0, // friend is not currently logged on + k_EPersonaStateOnline = 1, // friend is logged on + k_EPersonaStateBusy = 2, // user is on, but busy + k_EPersonaStateAway = 3, // auto-away feature + k_EPersonaStateSnooze = 4, // auto-away for a long time + k_EPersonaStateLookingToTrade = 5, // Online, trading + k_EPersonaStateLookingToPlay = 6, // Online, wanting to play + k_EPersonaStateInvisible = 7, // Online, but appears offline to friends. This status is never published to clients. + k_EPersonaStateMax, +}; + + +//----------------------------------------------------------------------------- +// Purpose: flags for enumerating friends list, or quickly checking a the relationship between users +//----------------------------------------------------------------------------- +enum EFriendFlags +{ + k_EFriendFlagNone = 0x00, + k_EFriendFlagBlocked = 0x01, + k_EFriendFlagFriendshipRequested = 0x02, + k_EFriendFlagImmediate = 0x04, // "regular" friend + k_EFriendFlagClanMember = 0x08, + k_EFriendFlagOnGameServer = 0x10, + // k_EFriendFlagHasPlayedWith = 0x20, // not currently used + // k_EFriendFlagFriendOfFriend = 0x40, // not currently used + k_EFriendFlagRequestingFriendship = 0x80, + k_EFriendFlagRequestingInfo = 0x100, + k_EFriendFlagIgnored = 0x200, + k_EFriendFlagIgnoredFriend = 0x400, + // k_EFriendFlagSuggested = 0x800, // not used + k_EFriendFlagChatMember = 0x1000, + k_EFriendFlagAll = 0xFFFF, +}; + + +// friend game played information +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif +struct FriendGameInfo_t +{ + CGameID m_gameID; + uint32 m_unGameIP; + uint16 m_usGamePort; + uint16 m_usQueryPort; + CSteamID m_steamIDLobby; +}; +#pragma pack( pop ) + +// maximum number of characters in a user's name. Two flavors; one for UTF-8 and one for UTF-16. +// The UTF-8 version has to be very generous to accomodate characters that get large when encoded +// in UTF-8. +enum +{ + k_cchPersonaNameMax = 128, + k_cwchPersonaNameMax = 32, +}; + +//----------------------------------------------------------------------------- +// Purpose: user restriction flags +//----------------------------------------------------------------------------- +enum EUserRestriction +{ + k_nUserRestrictionNone = 0, // no known chat/content restriction + k_nUserRestrictionUnknown = 1, // we don't know yet (user offline) + k_nUserRestrictionAnyChat = 2, // user is not allowed to (or can't) send/recv any chat + k_nUserRestrictionVoiceChat = 4, // user is not allowed to (or can't) send/recv voice chat + k_nUserRestrictionGroupChat = 8, // user is not allowed to (or can't) send/recv group chat + k_nUserRestrictionRating = 16, // user is too young according to rating in current region + k_nUserRestrictionGameInvites = 32, // user cannot send or recv game invites (e.g. mobile) + k_nUserRestrictionTrading = 64, // user cannot participate in trading (console, mobile) +}; + +// size limit on chat room or member metadata +const uint32 k_cubChatMetadataMax = 8192; + +// size limits on Rich Presence data +enum { k_cchMaxRichPresenceKeys = 30 }; +enum { k_cchMaxRichPresenceKeyLength = 64 }; +enum { k_cchMaxRichPresenceValueLength = 256 }; + +// These values are passed as parameters to the store +enum EOverlayToStoreFlag +{ + k_EOverlayToStoreFlag_None = 0, + k_EOverlayToStoreFlag_AddToCart = 1, + k_EOverlayToStoreFlag_AddToCartAndShow = 2, +}; + + +//----------------------------------------------------------------------------- +// Purpose: Tells Steam where to place the browser window inside the overlay +//----------------------------------------------------------------------------- +enum EActivateGameOverlayToWebPageMode +{ + k_EActivateGameOverlayToWebPageMode_Default = 0, // Browser will open next to all other windows that the user has open in the overlay. + // The window will remain open, even if the user closes then re-opens the overlay. + + k_EActivateGameOverlayToWebPageMode_Modal = 1 // Browser will be opened in a special overlay configuration which hides all other windows + // that the user has open in the overlay. When the user closes the overlay, the browser window + // will also close. When the user closes the browser window, the overlay will automatically close. +}; + +//----------------------------------------------------------------------------- +// Purpose: See GetProfileItemPropertyString and GetProfileItemPropertyUint +//----------------------------------------------------------------------------- +enum ECommunityProfileItemType +{ + k_ECommunityProfileItemType_AnimatedAvatar = 0, + k_ECommunityProfileItemType_AvatarFrame = 1, + k_ECommunityProfileItemType_ProfileModifier = 2, + k_ECommunityProfileItemType_ProfileBackground = 3, + k_ECommunityProfileItemType_MiniProfileBackground = 4, +}; +enum ECommunityProfileItemProperty +{ + k_ECommunityProfileItemProperty_ImageSmall = 0, // string + k_ECommunityProfileItemProperty_ImageLarge = 1, // string + k_ECommunityProfileItemProperty_InternalName = 2, // string + k_ECommunityProfileItemProperty_Title = 3, // string + k_ECommunityProfileItemProperty_Description = 4, // string + k_ECommunityProfileItemProperty_AppID = 5, // uint32 + k_ECommunityProfileItemProperty_TypeID = 6, // uint32 + k_ECommunityProfileItemProperty_Class = 7, // uint32 + k_ECommunityProfileItemProperty_MovieWebM = 8, // string + k_ECommunityProfileItemProperty_MovieMP4 = 9, // string + k_ECommunityProfileItemProperty_MovieWebMSmall = 10, // string + k_ECommunityProfileItemProperty_MovieMP4Small = 11, // string +}; + +//----------------------------------------------------------------------------- +// Purpose: interface to accessing information about individual users, +// that can be a friend, in a group, on a game server or in a lobby with the local user +//----------------------------------------------------------------------------- +class ISteamFriends +{ +public: + // returns the local players name - guaranteed to not be NULL. + // this is the same name as on the users community profile page + // this is stored in UTF-8 format + // like all the other interface functions that return a char *, it's important that this pointer is not saved + // off; it will eventually be free'd or re-allocated + virtual const char *GetPersonaName() = 0; + + // Sets the player name, stores it on the server and publishes the changes to all friends who are online. + // Changes take place locally immediately, and a PersonaStateChange_t is posted, presuming success. + // + // The final results are available through the return value SteamAPICall_t, using SetPersonaNameResponse_t. + // + // If the name change fails to happen on the server, then an additional global PersonaStateChange_t will be posted + // to change the name back, in addition to the SetPersonaNameResponse_t callback. + STEAM_CALL_RESULT( SetPersonaNameResponse_t ) + virtual SteamAPICall_t SetPersonaName( const char *pchPersonaName ) = 0; + + // gets the status of the current user + virtual EPersonaState GetPersonaState() = 0; + + // friend iteration + // takes a set of k_EFriendFlags, and returns the number of users the client knows about who meet that criteria + // then GetFriendByIndex() can then be used to return the id's of each of those users + virtual int GetFriendCount( int iFriendFlags ) = 0; + + // returns the steamID of a user + // iFriend is a index of range [0, GetFriendCount()) + // iFriendsFlags must be the same value as used in GetFriendCount() + // the returned CSteamID can then be used by all the functions below to access details about the user + virtual CSteamID GetFriendByIndex( int iFriend, int iFriendFlags ) = 0; + + // returns a relationship to a user + virtual EFriendRelationship GetFriendRelationship( CSteamID steamIDFriend ) = 0; + + // returns the current status of the specified user + // this will only be known by the local user if steamIDFriend is in their friends list; on the same game server; in a chat room or lobby; or in a small group with the local user + virtual EPersonaState GetFriendPersonaState( CSteamID steamIDFriend ) = 0; + + // returns the name another user - guaranteed to not be NULL. + // same rules as GetFriendPersonaState() apply as to whether or not the user knowns the name of the other user + // note that on first joining a lobby, chat room or game server the local user will not known the name of the other users automatically; that information will arrive asyncronously + // + virtual const char *GetFriendPersonaName( CSteamID steamIDFriend ) = 0; + + // returns true if the friend is actually in a game, and fills in pFriendGameInfo with an extra details + virtual bool GetFriendGamePlayed( CSteamID steamIDFriend, STEAM_OUT_STRUCT() FriendGameInfo_t *pFriendGameInfo ) = 0; + // accesses old friends names - returns an empty string when their are no more items in the history + virtual const char *GetFriendPersonaNameHistory( CSteamID steamIDFriend, int iPersonaName ) = 0; + // friends steam level + virtual int GetFriendSteamLevel( CSteamID steamIDFriend ) = 0; + + // Returns nickname the current user has set for the specified player. Returns NULL if the no nickname has been set for that player. + // DEPRECATED: GetPersonaName follows the Steam nickname preferences, so apps shouldn't need to care about nicknames explicitly. + virtual const char *GetPlayerNickname( CSteamID steamIDPlayer ) = 0; + + // friend grouping (tag) apis + // returns the number of friends groups + virtual int GetFriendsGroupCount() = 0; + // returns the friends group ID for the given index (invalid indices return k_FriendsGroupID_Invalid) + virtual FriendsGroupID_t GetFriendsGroupIDByIndex( int iFG ) = 0; + // returns the name for the given friends group (NULL in the case of invalid friends group IDs) + virtual const char *GetFriendsGroupName( FriendsGroupID_t friendsGroupID ) = 0; + // returns the number of members in a given friends group + virtual int GetFriendsGroupMembersCount( FriendsGroupID_t friendsGroupID ) = 0; + // gets up to nMembersCount members of the given friends group, if fewer exist than requested those positions' SteamIDs will be invalid + virtual void GetFriendsGroupMembersList( FriendsGroupID_t friendsGroupID, STEAM_OUT_ARRAY_CALL(nMembersCount, GetFriendsGroupMembersCount, friendsGroupID ) CSteamID *pOutSteamIDMembers, int nMembersCount ) = 0; + + // returns true if the specified user meets any of the criteria specified in iFriendFlags + // iFriendFlags can be the union (binary or, |) of one or more k_EFriendFlags values + virtual bool HasFriend( CSteamID steamIDFriend, int iFriendFlags ) = 0; + + // clan (group) iteration and access functions + virtual int GetClanCount() = 0; + virtual CSteamID GetClanByIndex( int iClan ) = 0; + virtual const char *GetClanName( CSteamID steamIDClan ) = 0; + virtual const char *GetClanTag( CSteamID steamIDClan ) = 0; + // returns the most recent information we have about what's happening in a clan + virtual bool GetClanActivityCounts( CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting ) = 0; + + // for clans a user is a member of, they will have reasonably up-to-date information, but for others you'll have to download the info to have the latest + STEAM_CALL_RESULT( DownloadClanActivityCountsResult_t ) + virtual SteamAPICall_t DownloadClanActivityCounts( STEAM_ARRAY_COUNT(cClansToRequest) CSteamID *psteamIDClans, int cClansToRequest ) = 0; + + // iterators for getting users in a chat room, lobby, game server or clan + // note that large clans that cannot be iterated by the local user + // note that the current user must be in a lobby to retrieve CSteamIDs of other users in that lobby + // steamIDSource can be the steamID of a group, game server, lobby or chat room + virtual int GetFriendCountFromSource( CSteamID steamIDSource ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID steamIDSource, int iFriend ) = 0; + + // returns true if the local user can see that steamIDUser is a member or in steamIDSource + virtual bool IsUserInSource( CSteamID steamIDUser, CSteamID steamIDSource ) = 0; + + // User is in a game pressing the talk button (will suppress the microphone for all voice comms from the Steam friends UI) + virtual void SetInGameVoiceSpeaking( CSteamID steamIDUser, bool bSpeaking ) = 0; + + // activates the game overlay, with an optional dialog to open + // valid options include "Friends", "Community", "Players", "Settings", "OfficialGameGroup", "Stats", "Achievements", + // "chatroomgroup/nnnn" + virtual void ActivateGameOverlay( const char *pchDialog ) = 0; + + // activates game overlay to a specific place + // valid options are + // "steamid" - opens the overlay web browser to the specified user or groups profile + // "chat" - opens a chat window to the specified user, or joins the group chat + // "jointrade" - opens a window to a Steam Trading session that was started with the ISteamEconomy/StartTrade Web API + // "stats" - opens the overlay web browser to the specified user's stats + // "achievements" - opens the overlay web browser to the specified user's achievements + // "friendadd" - opens the overlay in minimal mode prompting the user to add the target user as a friend + // "friendremove" - opens the overlay in minimal mode prompting the user to remove the target friend + // "friendrequestaccept" - opens the overlay in minimal mode prompting the user to accept an incoming friend invite + // "friendrequestignore" - opens the overlay in minimal mode prompting the user to ignore an incoming friend invite + virtual void ActivateGameOverlayToUser( const char *pchDialog, CSteamID steamID ) = 0; + + // activates game overlay web browser directly to the specified URL + // full address with protocol type is required, e.g. http://www.steamgames.com/ + virtual void ActivateGameOverlayToWebPage( const char *pchURL, EActivateGameOverlayToWebPageMode eMode = k_EActivateGameOverlayToWebPageMode_Default ) = 0; + + // activates game overlay to store page for app + virtual void ActivateGameOverlayToStore( AppId_t nAppID, EOverlayToStoreFlag eFlag ) = 0; + + // Mark a target user as 'played with'. This is a client-side only feature that requires that the calling user is + // in game + virtual void SetPlayedWith( CSteamID steamIDUserPlayedWith ) = 0; + + // activates game overlay to open the invite dialog. Invitations will be sent for the provided lobby. + virtual void ActivateGameOverlayInviteDialog( CSteamID steamIDLobby ) = 0; + + // gets the small (32x32) avatar of the current user, which is a handle to be used in IClientUtils::GetImageRGBA(), or 0 if none set + virtual int GetSmallFriendAvatar( CSteamID steamIDFriend ) = 0; + + // gets the medium (64x64) avatar of the current user, which is a handle to be used in IClientUtils::GetImageRGBA(), or 0 if none set + virtual int GetMediumFriendAvatar( CSteamID steamIDFriend ) = 0; + + // gets the large (184x184) avatar of the current user, which is a handle to be used in IClientUtils::GetImageRGBA(), or 0 if none set + // returns -1 if this image has yet to be loaded, in this case wait for a AvatarImageLoaded_t callback and then call this again + virtual int GetLargeFriendAvatar( CSteamID steamIDFriend ) = 0; + + // requests information about a user - persona name & avatar + // if bRequireNameOnly is set, then the avatar of a user isn't downloaded + // - it's a lot slower to download avatars and churns the local cache, so if you don't need avatars, don't request them + // if returns true, it means that data is being requested, and a PersonaStateChanged_t callback will be posted when it's retrieved + // if returns false, it means that we already have all the details about that user, and functions can be called immediately + virtual bool RequestUserInformation( CSteamID steamIDUser, bool bRequireNameOnly ) = 0; + + // requests information about a clan officer list + // when complete, data is returned in ClanOfficerListResponse_t call result + // this makes available the calls below + // you can only ask about clans that a user is a member of + // note that this won't download avatars automatically; if you get an officer, + // and no avatar image is available, call RequestUserInformation( steamID, false ) to download the avatar + STEAM_CALL_RESULT( ClanOfficerListResponse_t ) + virtual SteamAPICall_t RequestClanOfficerList( CSteamID steamIDClan ) = 0; + + // iteration of clan officers - can only be done when a RequestClanOfficerList() call has completed + + // returns the steamID of the clan owner + virtual CSteamID GetClanOwner( CSteamID steamIDClan ) = 0; + // returns the number of officers in a clan (including the owner) + virtual int GetClanOfficerCount( CSteamID steamIDClan ) = 0; + // returns the steamID of a clan officer, by index, of range [0,GetClanOfficerCount) + virtual CSteamID GetClanOfficerByIndex( CSteamID steamIDClan, int iOfficer ) = 0; + // if current user is chat restricted, he can't send or receive any text/voice chat messages. + // the user can't see custom avatars. But the user can be online and send/recv game invites. + // a chat restricted user can't add friends or join any groups. + virtual uint32 GetUserRestrictions() = 0; + + // Rich Presence data is automatically shared between friends who are in the same game + // Each user has a set of Key/Value pairs + // Note the following limits: k_cchMaxRichPresenceKeys, k_cchMaxRichPresenceKeyLength, k_cchMaxRichPresenceValueLength + // There are five magic keys: + // "status" - a UTF-8 string that will show up in the 'view game info' dialog in the Steam friends list + // "connect" - a UTF-8 string that contains the command-line for how a friend can connect to a game + // "steam_display" - Names a rich presence localization token that will be displayed in the viewing user's selected language + // in the Steam client UI. For more info: https://partner.steamgames.com/doc/api/ISteamFriends#richpresencelocalization + // "steam_player_group" - When set, indicates to the Steam client that the player is a member of a particular group. Players in the same group + // may be organized together in various places in the Steam UI. + // "steam_player_group_size" - When set, indicates the total number of players in the steam_player_group. The Steam client may use this number to + // display additional information about a group when all of the members are not part of a user's friends list. + // GetFriendRichPresence() returns an empty string "" if no value is set + // SetRichPresence() to a NULL or an empty string deletes the key + // You can iterate the current set of keys for a friend with GetFriendRichPresenceKeyCount() + // and GetFriendRichPresenceKeyByIndex() (typically only used for debugging) + virtual bool SetRichPresence( const char *pchKey, const char *pchValue ) = 0; + virtual void ClearRichPresence() = 0; + virtual const char *GetFriendRichPresence( CSteamID steamIDFriend, const char *pchKey ) = 0; + virtual int GetFriendRichPresenceKeyCount( CSteamID steamIDFriend ) = 0; + virtual const char *GetFriendRichPresenceKeyByIndex( CSteamID steamIDFriend, int iKey ) = 0; + // Requests rich presence for a specific user. + virtual void RequestFriendRichPresence( CSteamID steamIDFriend ) = 0; + + // Rich invite support. + // If the target accepts the invite, a GameRichPresenceJoinRequested_t callback is posted containing the connect string. + // (Or you can configure your game so that it is passed on the command line instead. This is a deprecated path; ask us if you really need this.) + virtual bool InviteUserToGame( CSteamID steamIDFriend, const char *pchConnectString ) = 0; + + // recently-played-with friends iteration + // this iterates the entire list of users recently played with, across games + // GetFriendCoplayTime() returns as a unix time + virtual int GetCoplayFriendCount() = 0; + virtual CSteamID GetCoplayFriend( int iCoplayFriend ) = 0; + virtual int GetFriendCoplayTime( CSteamID steamIDFriend ) = 0; + virtual AppId_t GetFriendCoplayGame( CSteamID steamIDFriend ) = 0; + + // chat interface for games + // this allows in-game access to group (clan) chats from in the game + // the behavior is somewhat sophisticated, because the user may or may not be already in the group chat from outside the game or in the overlay + // use ActivateGameOverlayToUser( "chat", steamIDClan ) to open the in-game overlay version of the chat + STEAM_CALL_RESULT( JoinClanChatRoomCompletionResult_t ) + virtual SteamAPICall_t JoinClanChatRoom( CSteamID steamIDClan ) = 0; + virtual bool LeaveClanChatRoom( CSteamID steamIDClan ) = 0; + virtual int GetClanChatMemberCount( CSteamID steamIDClan ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID steamIDClan, int iUser ) = 0; + virtual bool SendClanChatMessage( CSteamID steamIDClanChat, const char *pchText ) = 0; + virtual int GetClanChatMessage( CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, STEAM_OUT_STRUCT() CSteamID *psteamidChatter ) = 0; + virtual bool IsClanChatAdmin( CSteamID steamIDClanChat, CSteamID steamIDUser ) = 0; + + // interact with the Steam (game overlay / desktop) + virtual bool IsClanChatWindowOpenInSteam( CSteamID steamIDClanChat ) = 0; + virtual bool OpenClanChatWindowInSteam( CSteamID steamIDClanChat ) = 0; + virtual bool CloseClanChatWindowInSteam( CSteamID steamIDClanChat ) = 0; + + // peer-to-peer chat interception + // this is so you can show P2P chats inline in the game + virtual bool SetListenForFriendsMessages( bool bInterceptEnabled ) = 0; + virtual bool ReplyToFriendMessage( CSteamID steamIDFriend, const char *pchMsgToSend ) = 0; + virtual int GetFriendMessage( CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType ) = 0; + + // following apis + STEAM_CALL_RESULT( FriendsGetFollowerCount_t ) + virtual SteamAPICall_t GetFollowerCount( CSteamID steamID ) = 0; + STEAM_CALL_RESULT( FriendsIsFollowing_t ) + virtual SteamAPICall_t IsFollowing( CSteamID steamID ) = 0; + STEAM_CALL_RESULT( FriendsEnumerateFollowingList_t ) + virtual SteamAPICall_t EnumerateFollowingList( uint32 unStartIndex ) = 0; + + virtual bool IsClanPublic( CSteamID steamIDClan ) = 0; + virtual bool IsClanOfficialGameGroup( CSteamID steamIDClan ) = 0; + + /// Return the number of chats (friends or chat rooms) with unread messages. + /// A "priority" message is one that would generate some sort of toast or + /// notification, and depends on user settings. + /// + /// You can register for UnreadChatMessagesChanged_t callbacks to know when this + /// has potentially changed. + virtual int GetNumChatsWithUnreadPriorityMessages() = 0; + + // activates game overlay to open the remote play together invite dialog. Invitations will be sent for remote play together + virtual void ActivateGameOverlayRemotePlayTogetherInviteDialog( CSteamID steamIDLobby ) = 0; + + // Call this before calling ActivateGameOverlayToWebPage() to have the Steam Overlay Browser block navigations + // to your specified protocol (scheme) uris and instead dispatch a OverlayBrowserProtocolNavigation_t callback to your game. + // ActivateGameOverlayToWebPage() must have been called with k_EActivateGameOverlayToWebPageMode_Modal + virtual bool RegisterProtocolInOverlayBrowser( const char *pchProtocol ) = 0; + + // Activates the game overlay to open an invite dialog that will send the provided Rich Presence connect string to selected friends + virtual void ActivateGameOverlayInviteDialogConnectString( const char *pchConnectString ) = 0; + + // Steam Community items equipped by a user on their profile + // You can register for EquippedProfileItemsChanged_t to know when a friend has changed their equipped profile items + STEAM_CALL_RESULT( EquippedProfileItems_t ) + virtual SteamAPICall_t RequestEquippedProfileItems( CSteamID steamID ) = 0; + virtual bool BHasEquippedProfileItem( CSteamID steamID, ECommunityProfileItemType itemType ) = 0; + virtual const char *GetProfileItemPropertyString( CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop ) = 0; + virtual uint32 GetProfileItemPropertyUint( CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop ) = 0; +}; + +#define STEAMFRIENDS_INTERFACE_VERSION "SteamFriends017" + +// Global interface accessor +inline ISteamFriends *SteamFriends(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamFriends *, SteamFriends, STEAMFRIENDS_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +//----------------------------------------------------------------------------- +// Purpose: called when a friends' status changes +//----------------------------------------------------------------------------- +struct PersonaStateChange_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 4 }; + + uint64 m_ulSteamID; // steamID of the friend who changed + int m_nChangeFlags; // what's changed +}; + + +// used in PersonaStateChange_t::m_nChangeFlags to describe what's changed about a user +// these flags describe what the client has learned has changed recently, so on startup you'll see a name, avatar & relationship change for every friend +enum EPersonaChange +{ + k_EPersonaChangeName = 0x0001, + k_EPersonaChangeStatus = 0x0002, + k_EPersonaChangeComeOnline = 0x0004, + k_EPersonaChangeGoneOffline = 0x0008, + k_EPersonaChangeGamePlayed = 0x0010, + k_EPersonaChangeGameServer = 0x0020, + k_EPersonaChangeAvatar = 0x0040, + k_EPersonaChangeJoinedSource= 0x0080, + k_EPersonaChangeLeftSource = 0x0100, + k_EPersonaChangeRelationshipChanged = 0x0200, + k_EPersonaChangeNameFirstSet = 0x0400, + k_EPersonaChangeBroadcast = 0x0800, + k_EPersonaChangeNickname = 0x1000, + k_EPersonaChangeSteamLevel = 0x2000, + k_EPersonaChangeRichPresence = 0x4000, +}; + + +//----------------------------------------------------------------------------- +// Purpose: posted when game overlay activates or deactivates +// the game can use this to be pause or resume single player games +//----------------------------------------------------------------------------- +struct GameOverlayActivated_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 31 }; + uint8 m_bActive; // true if it's just been activated, false otherwise + bool m_bUserInitiated; // true if the user asked for the overlay to be activated/deactivated + AppId_t m_nAppID; // the appID of the game (should always be the current game) + uint32 m_dwOverlayPID; // used internally +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when the user tries to join a different game server from their friends list +// game client should attempt to connect to specified server when this is received +//----------------------------------------------------------------------------- +struct GameServerChangeRequested_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 32 }; + char m_rgchServer[64]; // server address ("127.0.0.1:27015", "tf2.valvesoftware.com") + char m_rgchPassword[64]; // server password, if any +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when the user tries to join a lobby from their friends list +// game client should attempt to connect to specified lobby when this is received +//----------------------------------------------------------------------------- +struct GameLobbyJoinRequested_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 33 }; + CSteamID m_steamIDLobby; + + // The friend they did the join via (will be invalid if not directly via a friend) + // + // On PS3, the friend will be invalid if this was triggered by a PSN invite via the XMB, but + // the account type will be console user so you can tell at least that this was from a PSN friend + // rather than a Steam friend. + CSteamID m_steamIDFriend; +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when an avatar is loaded in from a previous GetLargeFriendAvatar() call +// if the image wasn't already available +//----------------------------------------------------------------------------- +struct AvatarImageLoaded_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 34 }; + CSteamID m_steamID; // steamid the avatar has been loaded for + int m_iImage; // the image index of the now loaded image + int m_iWide; // width of the loaded image + int m_iTall; // height of the loaded image +}; + + +//----------------------------------------------------------------------------- +// Purpose: marks the return of a request officer list call +//----------------------------------------------------------------------------- +struct ClanOfficerListResponse_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 35 }; + CSteamID m_steamIDClan; + int m_cOfficers; + uint8 m_bSuccess; +}; + + +//----------------------------------------------------------------------------- +// Purpose: callback indicating updated data about friends rich presence information +//----------------------------------------------------------------------------- +struct FriendRichPresenceUpdate_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 36 }; + CSteamID m_steamIDFriend; // friend who's rich presence has changed + AppId_t m_nAppID; // the appID of the game (should always be the current game) +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when the user tries to join a game from their friends list +// rich presence will have been set with the "connect" key which is set here +//----------------------------------------------------------------------------- +struct GameRichPresenceJoinRequested_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 37 }; + CSteamID m_steamIDFriend; // the friend they did the join via (will be invalid if not directly via a friend) + char m_rgchConnect[k_cchMaxRichPresenceValueLength]; +}; + + +//----------------------------------------------------------------------------- +// Purpose: a chat message has been received for a clan chat the game has joined +//----------------------------------------------------------------------------- +struct GameConnectedClanChatMsg_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 38 }; + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + int m_iMessageID; +}; + + +//----------------------------------------------------------------------------- +// Purpose: a user has joined a clan chat +//----------------------------------------------------------------------------- +struct GameConnectedChatJoin_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 39 }; + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; +}; + + +//----------------------------------------------------------------------------- +// Purpose: a user has left the chat we're in +//----------------------------------------------------------------------------- +struct GameConnectedChatLeave_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 40 }; + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + bool m_bKicked; // true if admin kicked + bool m_bDropped; // true if Steam connection dropped +}; + + +//----------------------------------------------------------------------------- +// Purpose: a DownloadClanActivityCounts() call has finished +//----------------------------------------------------------------------------- +struct DownloadClanActivityCountsResult_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 41 }; + bool m_bSuccess; +}; + + +//----------------------------------------------------------------------------- +// Purpose: a JoinClanChatRoom() call has finished +//----------------------------------------------------------------------------- +struct JoinClanChatRoomCompletionResult_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 42 }; + CSteamID m_steamIDClanChat; + EChatRoomEnterResponse m_eChatRoomEnterResponse; +}; + +//----------------------------------------------------------------------------- +// Purpose: a chat message has been received from a user +//----------------------------------------------------------------------------- +struct GameConnectedFriendChatMsg_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 43 }; + CSteamID m_steamIDUser; + int m_iMessageID; +}; + + +struct FriendsGetFollowerCount_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 44 }; + EResult m_eResult; + CSteamID m_steamID; + int m_nCount; +}; + + +struct FriendsIsFollowing_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 45 }; + EResult m_eResult; + CSteamID m_steamID; + bool m_bIsFollowing; +}; + + +struct FriendsEnumerateFollowingList_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 46 }; + EResult m_eResult; + CSteamID m_rgSteamID[ k_cEnumerateFollowersMax ]; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; +}; + +//----------------------------------------------------------------------------- +// Purpose: reports the result of an attempt to change the user's persona name +//----------------------------------------------------------------------------- +struct SetPersonaNameResponse_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 47 }; + + bool m_bSuccess; // true if name change succeeded completely. + bool m_bLocalSuccess; // true if name change was retained locally. (We might not have been able to communicate with Steam) + EResult m_result; // detailed result code +}; + +//----------------------------------------------------------------------------- +// Purpose: Invoked when the status of unread messages changes +//----------------------------------------------------------------------------- +struct UnreadChatMessagesChanged_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 48 }; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Dispatched when an overlay browser instance is navigated to a protocol/scheme registered by RegisterProtocolInOverlayBrowser() +//----------------------------------------------------------------------------- +struct OverlayBrowserProtocolNavigation_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 49 }; + char rgchURI[ 1024 ]; +}; + +//----------------------------------------------------------------------------- +// Purpose: A user's equipped profile items have changed +//----------------------------------------------------------------------------- +struct EquippedProfileItemsChanged_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 50 }; + CSteamID m_steamID; +}; + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +struct EquippedProfileItems_t +{ + enum { k_iCallback = k_iSteamFriendsCallbacks + 51 }; + EResult m_eResult; + CSteamID m_steamID; + bool m_bHasAnimatedAvatar; + bool m_bHasAvatarFrame; + bool m_bHasProfileModifier; + bool m_bHasProfileBackground; + bool m_bHasMiniProfileBackground; +}; + +#pragma pack( pop ) + +#endif // ISTEAMFRIENDS_H diff --git a/lsteamclient/steamworks_sdk_158/isteamgamecoordinator.h b/lsteamclient/steamworks_sdk_158/isteamgamecoordinator.h new file mode 100644 index 000000000..89b740d7c --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamgamecoordinator.h @@ -0,0 +1,74 @@ +//====== Copyright ©, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to the game coordinator for this application +// +//============================================================================= + +#ifndef ISTEAMGAMECOORDINATOR +#define ISTEAMGAMECOORDINATOR +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + + +// list of possible return values from the ISteamGameCoordinator API +enum EGCResults +{ + k_EGCResultOK = 0, + k_EGCResultNoMessage = 1, // There is no message in the queue + k_EGCResultBufferTooSmall = 2, // The buffer is too small for the requested message + k_EGCResultNotLoggedOn = 3, // The client is not logged onto Steam + k_EGCResultInvalidMessage = 4, // Something was wrong with the message being sent with SendMessage +}; + + +//----------------------------------------------------------------------------- +// Purpose: Functions for sending and receiving messages from the Game Coordinator +// for this application +//----------------------------------------------------------------------------- +class ISteamGameCoordinator +{ +public: + + // sends a message to the Game Coordinator + virtual EGCResults SendMessage( uint32 unMsgType, const void *pubData, uint32 cubData ) = 0; + + // returns true if there is a message waiting from the game coordinator + virtual bool IsMessageAvailable( uint32 *pcubMsgSize ) = 0; + + // fills the provided buffer with the first message in the queue and returns k_EGCResultOK or + // returns k_EGCResultNoMessage if there is no message waiting. pcubMsgSize is filled with the message size. + // If the provided buffer is not large enough to fit the entire message, k_EGCResultBufferTooSmall is returned + // and the message remains at the head of the queue. + virtual EGCResults RetrieveMessage( uint32 *punMsgType, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize ) = 0; + +}; +#define STEAMGAMECOORDINATOR_INTERFACE_VERSION "SteamGameCoordinator001" + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +// callback notification - A new message is available for reading from the message queue +struct GCMessageAvailable_t +{ + enum { k_iCallback = k_iSteamGameCoordinatorCallbacks + 1 }; + uint32 m_nMessageSize; +}; + +// callback notification - A message failed to make it to the GC. It may be down temporarily +struct GCMessageFailed_t +{ + enum { k_iCallback = k_iSteamGameCoordinatorCallbacks + 2 }; +}; + +#pragma pack( pop ) + +#endif // ISTEAMGAMECOORDINATOR diff --git a/lsteamclient/steamworks_sdk_158/isteamgameserver.h b/lsteamclient/steamworks_sdk_158/isteamgameserver.h new file mode 100644 index 000000000..ba4d12517 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamgameserver.h @@ -0,0 +1,394 @@ +//====== Copyright (c) 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to steam for game servers +// +//============================================================================= + +#ifndef ISTEAMGAMESERVER_H +#define ISTEAMGAMESERVER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: Functions for authenticating users via Steam to play on a game server +//----------------------------------------------------------------------------- +class ISteamGameServer +{ +public: + +// +// Basic server data. These properties, if set, must be set before before calling LogOn. They +// may not be changed after logged in. +// + + /// This is called by SteamGameServer_Init, and you will usually not need to call it directly + STEAM_PRIVATE_API( virtual bool InitGameServer( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char *pchVersionString ) = 0; ) + + /// Game product identifier. This is currently used by the master server for version checking purposes. + /// It's a required field, but will eventually will go away, and the AppID will be used for this purpose. + virtual void SetProduct( const char *pszProduct ) = 0; + + /// Description of the game. This is a required field and is displayed in the steam server browser....for now. + /// This is a required field, but it will go away eventually, as the data should be determined from the AppID. + virtual void SetGameDescription( const char *pszGameDescription ) = 0; + + /// If your game is a "mod," pass the string that identifies it. The default is an empty string, meaning + /// this application is the original game, not a mod. + /// + /// @see k_cbMaxGameServerGameDir + virtual void SetModDir( const char *pszModDir ) = 0; + + /// Is this is a dedicated server? The default value is false. + virtual void SetDedicatedServer( bool bDedicated ) = 0; + +// +// Login +// + + /// Begin process to login to a persistent game server account + /// + /// You need to register for callbacks to determine the result of this operation. + /// @see SteamServersConnected_t + /// @see SteamServerConnectFailure_t + /// @see SteamServersDisconnected_t + virtual void LogOn( const char *pszToken ) = 0; + + /// Login to a generic, anonymous account. + /// + /// Note: in previous versions of the SDK, this was automatically called within SteamGameServer_Init, + /// but this is no longer the case. + virtual void LogOnAnonymous() = 0; + + /// Begin process of logging game server out of steam + virtual void LogOff() = 0; + + // status functions + virtual bool BLoggedOn() = 0; + virtual bool BSecure() = 0; + virtual CSteamID GetSteamID() = 0; + + /// Returns true if the master server has requested a restart. + /// Only returns true once per request. + virtual bool WasRestartRequested() = 0; + +// +// Server state. These properties may be changed at any time. +// + + /// Max player count that will be reported to server browser and client queries + virtual void SetMaxPlayerCount( int cPlayersMax ) = 0; + + /// Number of bots. Default value is zero + virtual void SetBotPlayerCount( int cBotplayers ) = 0; + + /// Set the name of server as it will appear in the server browser + /// + /// @see k_cbMaxGameServerName + virtual void SetServerName( const char *pszServerName ) = 0; + + /// Set name of map to report in the server browser + /// + /// @see k_cbMaxGameServerMapName + virtual void SetMapName( const char *pszMapName ) = 0; + + /// Let people know if your server will require a password + virtual void SetPasswordProtected( bool bPasswordProtected ) = 0; + + /// Spectator server port to advertise. The default value is zero, meaning the + /// service is not used. If your server receives any info requests on the LAN, + /// this is the value that will be placed into the reply for such local queries. + /// + /// This is also the value that will be advertised by the master server. + /// The only exception is if your server is using a FakeIP. Then then the second + /// fake port number (index 1) assigned to your server will be listed on the master + /// server as the spectator port, if you set this value to any nonzero value. + /// + /// This function merely controls the values that are advertised -- it's up to you to + /// configure the server to actually listen on this port and handle any spectator traffic + virtual void SetSpectatorPort( uint16 unSpectatorPort ) = 0; + + /// Name of the spectator server. (Only used if spectator port is nonzero.) + /// + /// @see k_cbMaxGameServerMapName + virtual void SetSpectatorServerName( const char *pszSpectatorServerName ) = 0; + + /// Call this to clear the whole list of key/values that are sent in rules queries. + virtual void ClearAllKeyValues() = 0; + + /// Call this to add/update a key/value pair. + virtual void SetKeyValue( const char *pKey, const char *pValue ) = 0; + + /// Sets a string defining the "gametags" for this server, this is optional, but if it is set + /// it allows users to filter in the matchmaking/server-browser interfaces based on the value + /// + /// @see k_cbMaxGameServerTags + virtual void SetGameTags( const char *pchGameTags ) = 0; + + /// Sets a string defining the "gamedata" for this server, this is optional, but if it is set + /// it allows users to filter in the matchmaking/server-browser interfaces based on the value + /// + /// @see k_cbMaxGameServerGameData + virtual void SetGameData( const char *pchGameData ) = 0; + + /// Region identifier. This is an optional field, the default value is empty, meaning the "world" region + virtual void SetRegion( const char *pszRegion ) = 0; + + /// Indicate whether you wish to be listed on the master server list + /// and/or respond to server browser / LAN discovery packets. + /// The server starts with this value set to false. You should set all + /// relevant server parameters before enabling advertisement on the server. + /// + /// (This function used to be named EnableHeartbeats, so if you are wondering + /// where that function went, it's right here. It does the same thing as before, + /// the old name was just confusing.) + virtual void SetAdvertiseServerActive( bool bActive ) = 0; + +// +// Player list management / authentication. +// + + // Retrieve ticket to be sent to the entity who wishes to authenticate you ( using BeginAuthSession API ). + // pcbTicket retrieves the length of the actual ticket. + // SteamNetworkingIdentity is an optional parameter to hold the public IP address of the entity you are connecting to + // if an IP address is passed Steam will only allow the ticket to be used by an entity with that IP address + virtual HAuthTicket GetAuthSessionTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSnid ) = 0; + + // Authenticate ticket ( from GetAuthSessionTicket ) from entity steamID to be sure it is valid and isnt reused + // Registers for callbacks if the entity goes offline or cancels the ticket ( see ValidateAuthTicketResponse_t callback and EAuthSessionResponse ) + virtual EBeginAuthSessionResult BeginAuthSession( const void *pAuthTicket, int cbAuthTicket, CSteamID steamID ) = 0; + + // Stop tracking started by BeginAuthSession - called when no longer playing game with this entity + virtual void EndAuthSession( CSteamID steamID ) = 0; + + // Cancel auth ticket from GetAuthSessionTicket, called when no longer playing game with the entity you gave the ticket to + virtual void CancelAuthTicket( HAuthTicket hAuthTicket ) = 0; + + // After receiving a user's authentication data, and passing it to SendUserConnectAndAuthenticate, use this function + // to determine if the user owns downloadable content specified by the provided AppID. + virtual EUserHasLicenseForAppResult UserHasLicenseForApp( CSteamID steamID, AppId_t appID ) = 0; + + // Ask if a user in in the specified group, results returns async by GSUserGroupStatus_t + // returns false if we're not connected to the steam servers and thus cannot ask + virtual bool RequestUserGroupStatus( CSteamID steamIDUser, CSteamID steamIDGroup ) = 0; + + + // these two functions s are deprecated, and will not return results + // they will be removed in a future version of the SDK + virtual void GetGameplayStats( ) = 0; + STEAM_CALL_RESULT( GSReputation_t ) + virtual SteamAPICall_t GetServerReputation() = 0; + + // Returns the public IP of the server according to Steam, useful when the server is + // behind NAT and you want to advertise its IP in a lobby for other clients to directly + // connect to + virtual SteamIPAddress_t GetPublicIP() = 0; + +// Server browser related query packet processing for shared socket mode. These are used +// when you pass STEAMGAMESERVER_QUERY_PORT_SHARED as the query port to SteamGameServer_Init. +// IP address and port are in host order, i.e 127.0.0.1 == 0x7f000001 + + // These are used when you've elected to multiplex the game server's UDP socket + // rather than having the master server updater use its own sockets. + // + // Source games use this to simplify the job of the server admins, so they + // don't have to open up more ports on their firewalls. + + // Call this when a packet that starts with 0xFFFFFFFF comes in. That means + // it's for us. + virtual bool HandleIncomingPacket( const void *pData, int cbData, uint32 srcIP, uint16 srcPort ) = 0; + + // AFTER calling HandleIncomingPacket for any packets that came in that frame, call this. + // This gets a packet that the master server updater needs to send out on UDP. + // It returns the length of the packet it wants to send, or 0 if there are no more packets to send. + // Call this each frame until it returns 0. + virtual int GetNextOutgoingPacket( void *pOut, int cbMaxOut, uint32 *pNetAdr, uint16 *pPort ) = 0; + +// +// Server clan association +// + + // associate this game server with this clan for the purposes of computing player compat + STEAM_CALL_RESULT( AssociateWithClanResult_t ) + virtual SteamAPICall_t AssociateWithClan( CSteamID steamIDClan ) = 0; + + // ask if any of the current players dont want to play with this new player - or vice versa + STEAM_CALL_RESULT( ComputeNewPlayerCompatibilityResult_t ) + virtual SteamAPICall_t ComputeNewPlayerCompatibility( CSteamID steamIDNewPlayer ) = 0; + + + + + // Handles receiving a new connection from a Steam user. This call will ask the Steam + // servers to validate the users identity, app ownership, and VAC status. If the Steam servers + // are off-line, then it will validate the cached ticket itself which will validate app ownership + // and identity. The AuthBlob here should be acquired on the game client using SteamUser()->InitiateGameConnection() + // and must then be sent up to the game server for authentication. + // + // Return Value: returns true if the users ticket passes basic checks. pSteamIDUser will contain the Steam ID of this user. pSteamIDUser must NOT be NULL + // If the call succeeds then you should expect a GSClientApprove_t or GSClientDeny_t callback which will tell you whether authentication + // for the user has succeeded or failed (the steamid in the callback will match the one returned by this call) + // + // DEPRECATED! This function will be removed from the SDK in an upcoming version. + // Please migrate to BeginAuthSession and related functions. + virtual bool SendUserConnectAndAuthenticate_DEPRECATED( uint32 unIPClient, const void *pvAuthBlob, uint32 cubAuthBlobSize, CSteamID *pSteamIDUser ) = 0; + + // Creates a fake user (ie, a bot) which will be listed as playing on the server, but skips validation. + // + // Return Value: Returns a SteamID for the user to be tracked with, you should call EndAuthSession() + // when this user leaves the server just like you would for a real user. + virtual CSteamID CreateUnauthenticatedUserConnection() = 0; + + // Should be called whenever a user leaves our game server, this lets Steam internally + // track which users are currently on which servers for the purposes of preventing a single + // account being logged into multiple servers, showing who is currently on a server, etc. + // + // DEPRECATED! This function will be removed from the SDK in an upcoming version. + // Please migrate to BeginAuthSession and related functions. + virtual void SendUserDisconnect_DEPRECATED( CSteamID steamIDUser ) = 0; + + // Update the data to be displayed in the server browser and matchmaking interfaces for a user + // currently connected to the server. For regular users you must call this after you receive a + // GSUserValidationSuccess callback. + // + // Return Value: true if successful, false if failure (ie, steamIDUser wasn't for an active player) + virtual bool BUpdateUserData( CSteamID steamIDUser, const char *pchPlayerName, uint32 uScore ) = 0; + +// Deprecated functions. These will be removed in a future version of the SDK. +// If you really need these, please contact us and help us understand what you are +// using them for. + + STEAM_PRIVATE_API( + virtual void SetMasterServerHeartbeatInterval_DEPRECATED( int iHeartbeatInterval ) = 0; + virtual void ForceMasterServerHeartbeat_DEPRECATED() = 0; + ) +}; + +#define STEAMGAMESERVER_INTERFACE_VERSION "SteamGameServer015" + +// Global accessor +inline ISteamGameServer *SteamGameServer(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamGameServer *, SteamGameServer, STEAMGAMESERVER_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +// client has been approved to connect to this game server +struct GSClientApprove_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 1 }; + CSteamID m_SteamID; // SteamID of approved player + CSteamID m_OwnerSteamID; // SteamID of original owner for game license +}; + + +// client has been denied to connection to this game server +struct GSClientDeny_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 2 }; + CSteamID m_SteamID; + EDenyReason m_eDenyReason; + char m_rgchOptionalText[128]; +}; + + +// request the game server should kick the user +struct GSClientKick_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 3 }; + CSteamID m_SteamID; + EDenyReason m_eDenyReason; +}; + +// NOTE: callback values 4 and 5 are skipped because they are used for old deprecated callbacks, +// do not reuse them here. + + +// client achievement info +struct GSClientAchievementStatus_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 6 }; + uint64 m_SteamID; + char m_pchAchievement[128]; + bool m_bUnlocked; +}; + +// received when the game server requests to be displayed as secure (VAC protected) +// m_bSecure is true if the game server should display itself as secure to users, false otherwise +struct GSPolicyResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 15 }; + uint8 m_bSecure; +}; + +// GS gameplay stats info +struct GSGameplayStats_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 7 }; + EResult m_eResult; // Result of the call + int32 m_nRank; // Overall rank of the server (0-based) + uint32 m_unTotalConnects; // Total number of clients who have ever connected to the server + uint32 m_unTotalMinutesPlayed; // Total number of minutes ever played on the server +}; + +// send as a reply to RequestUserGroupStatus() +struct GSClientGroupStatus_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 8 }; + CSteamID m_SteamIDUser; + CSteamID m_SteamIDGroup; + bool m_bMember; + bool m_bOfficer; +}; + +// Sent as a reply to GetServerReputation() +struct GSReputation_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 9 }; + EResult m_eResult; // Result of the call; + uint32 m_unReputationScore; // The reputation score for the game server + bool m_bBanned; // True if the server is banned from the Steam + // master servers + + // The following members are only filled out if m_bBanned is true. They will all + // be set to zero otherwise. Master server bans are by IP so it is possible to be + // banned even when the score is good high if there is a bad server on another port. + // This information can be used to determine which server is bad. + + uint32 m_unBannedIP; // The IP of the banned server + uint16 m_usBannedPort; // The port of the banned server + uint64 m_ulBannedGameID; // The game ID the banned server is serving + uint32 m_unBanExpires; // Time the ban expires, expressed in the Unix epoch (seconds since 1/1/1970) +}; + +// Sent as a reply to AssociateWithClan() +struct AssociateWithClanResult_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 10 }; + EResult m_eResult; // Result of the call; +}; + +// Sent as a reply to ComputeNewPlayerCompatibility() +struct ComputeNewPlayerCompatibilityResult_t +{ + enum { k_iCallback = k_iSteamGameServerCallbacks + 11 }; + EResult m_eResult; // Result of the call; + int m_cPlayersThatDontLikeCandidate; + int m_cPlayersThatCandidateDoesntLike; + int m_cClanPlayersThatDontLikeCandidate; + CSteamID m_SteamIDCandidate; +}; + + +#pragma pack( pop ) + +#endif // ISTEAMGAMESERVER_H diff --git a/lsteamclient/steamworks_sdk_158/isteamgameserverstats.h b/lsteamclient/steamworks_sdk_158/isteamgameserverstats.h new file mode 100644 index 000000000..50192794e --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamgameserverstats.h @@ -0,0 +1,114 @@ +//====== Copyright © Valve Corporation, All rights reserved. ======= +// +// Purpose: interface for game servers to steam stats and achievements +// +//============================================================================= + +#ifndef ISTEAMGAMESERVERSTATS_H +#define ISTEAMGAMESERVERSTATS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: Functions for authenticating users via Steam to play on a game server +//----------------------------------------------------------------------------- +class ISteamGameServerStats +{ +public: + // downloads stats for the user + // returns a GSStatsReceived_t callback when completed + // if the user has no stats, GSStatsReceived_t.m_eResult will be set to k_EResultFail + // these stats will only be auto-updated for clients playing on the server. For other + // users you'll need to call RequestUserStats() again to refresh any data + STEAM_CALL_RESULT( GSStatsReceived_t ) + virtual SteamAPICall_t RequestUserStats( CSteamID steamIDUser ) = 0; + + // requests stat information for a user, usable after a successful call to RequestUserStats() + STEAM_FLAT_NAME( GetUserStatInt32 ) + virtual bool GetUserStat( CSteamID steamIDUser, const char *pchName, int32 *pData ) = 0; + + STEAM_FLAT_NAME( GetUserStatFloat ) + virtual bool GetUserStat( CSteamID steamIDUser, const char *pchName, float *pData ) = 0; + + virtual bool GetUserAchievement( CSteamID steamIDUser, const char *pchName, bool *pbAchieved ) = 0; + + // Set / update stats and achievements. + // Note: These updates will work only on stats game servers are allowed to edit and only for + // game servers that have been declared as officially controlled by the game creators. + // Set the IP range of your official servers on the Steamworks page + + STEAM_FLAT_NAME( SetUserStatInt32 ) + virtual bool SetUserStat( CSteamID steamIDUser, const char *pchName, int32 nData ) = 0; + + STEAM_FLAT_NAME( SetUserStatFloat ) + virtual bool SetUserStat( CSteamID steamIDUser, const char *pchName, float fData ) = 0; + + virtual bool UpdateUserAvgRateStat( CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength ) = 0; + + virtual bool SetUserAchievement( CSteamID steamIDUser, const char *pchName ) = 0; + virtual bool ClearUserAchievement( CSteamID steamIDUser, const char *pchName ) = 0; + + // Store the current data on the server, will get a GSStatsStored_t callback when set. + // + // If the callback has a result of k_EResultInvalidParam, one or more stats + // uploaded has been rejected, either because they broke constraints + // or were out of date. In this case the server sends back updated values. + // The stats should be re-iterated to keep in sync. + STEAM_CALL_RESULT( GSStatsStored_t ) + virtual SteamAPICall_t StoreUserStats( CSteamID steamIDUser ) = 0; +}; +#define STEAMGAMESERVERSTATS_INTERFACE_VERSION "SteamGameServerStats001" + +// Global accessor +inline ISteamGameServerStats *SteamGameServerStats(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamGameServerStats *, SteamGameServerStats, STEAMGAMESERVERSTATS_INTERFACE_VERSION ); + + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +//----------------------------------------------------------------------------- +// Purpose: called when the latests stats and achievements have been received +// from the server +//----------------------------------------------------------------------------- +struct GSStatsReceived_t +{ + enum { k_iCallback = k_iSteamGameServerStatsCallbacks }; + EResult m_eResult; // Success / error fetching the stats + CSteamID m_steamIDUser; // The user for whom the stats are retrieved for +}; + + +//----------------------------------------------------------------------------- +// Purpose: result of a request to store the user stats for a game +//----------------------------------------------------------------------------- +struct GSStatsStored_t +{ + enum { k_iCallback = k_iSteamGameServerStatsCallbacks + 1 }; + EResult m_eResult; // success / error + CSteamID m_steamIDUser; // The user for whom the stats were stored +}; + +//----------------------------------------------------------------------------- +// Purpose: Callback indicating that a user's stats have been unloaded. +// Call RequestUserStats again to access stats for this user +//----------------------------------------------------------------------------- +struct GSStatsUnloaded_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 8 }; + CSteamID m_steamIDUser; // User whose stats have been unloaded +}; + +#pragma pack( pop ) + + +#endif // ISTEAMGAMESERVERSTATS_H diff --git a/lsteamclient/steamworks_sdk_158/isteamhtmlsurface.h b/lsteamclient/steamworks_sdk_158/isteamhtmlsurface.h new file mode 100644 index 000000000..dd30fe249 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamhtmlsurface.h @@ -0,0 +1,479 @@ +//====== Copyright 1996-2013, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to display html pages in a texture +// +//============================================================================= + +#ifndef ISTEAMHTMLSURFACE_H +#define ISTEAMHTMLSURFACE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +typedef uint32 HHTMLBrowser; +const uint32 INVALID_HTMLBROWSER = 0; + +//----------------------------------------------------------------------------- +// Purpose: Functions for displaying HTML pages and interacting with them +//----------------------------------------------------------------------------- +class ISteamHTMLSurface +{ +public: + virtual ~ISteamHTMLSurface() {} + + // Must call init and shutdown when starting/ending use of the interface + virtual bool Init() = 0; + virtual bool Shutdown() = 0; + + // Create a browser object for display of a html page, when creation is complete the call handle + // will return a HTML_BrowserReady_t callback for the HHTMLBrowser of your new browser. + // The user agent string is a substring to be added to the general user agent string so you can + // identify your client on web servers. + // The userCSS string lets you apply a CSS style sheet to every displayed page, leave null if + // you do not require this functionality. + // + // YOU MUST HAVE IMPLEMENTED HANDLERS FOR HTML_BrowserReady_t, HTML_StartRequest_t, + // HTML_JSAlert_t, HTML_JSConfirm_t, and HTML_FileOpenDialog_t! See the CALLBACKS + // section of this interface (AllowStartRequest, etc) for more details. If you do + // not implement these callback handlers, the browser may appear to hang instead of + // navigating to new pages or triggering javascript popups. + // + STEAM_CALL_RESULT( HTML_BrowserReady_t ) + virtual SteamAPICall_t CreateBrowser( const char *pchUserAgent, const char *pchUserCSS ) = 0; + + // Call this when you are done with a html surface, this lets us free the resources being used by it + virtual void RemoveBrowser( HHTMLBrowser unBrowserHandle ) = 0; + + // Navigate to this URL, results in a HTML_StartRequest_t as the request commences + virtual void LoadURL( HHTMLBrowser unBrowserHandle, const char *pchURL, const char *pchPostData ) = 0; + + // Tells the surface the size in pixels to display the surface + virtual void SetSize( HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight ) = 0; + + // Stop the load of the current html page + virtual void StopLoad( HHTMLBrowser unBrowserHandle ) = 0; + // Reload (most likely from local cache) the current page + virtual void Reload( HHTMLBrowser unBrowserHandle ) = 0; + // navigate back in the page history + virtual void GoBack( HHTMLBrowser unBrowserHandle ) = 0; + // navigate forward in the page history + virtual void GoForward( HHTMLBrowser unBrowserHandle ) = 0; + + // add this header to any url requests from this browser + virtual void AddHeader( HHTMLBrowser unBrowserHandle, const char *pchKey, const char *pchValue ) = 0; + // run this javascript script in the currently loaded page + virtual void ExecuteJavascript( HHTMLBrowser unBrowserHandle, const char *pchScript ) = 0; + + enum EHTMLMouseButton + { + eHTMLMouseButton_Left = 0, + eHTMLMouseButton_Right = 1, + eHTMLMouseButton_Middle = 2, + }; + + // Mouse click and mouse movement commands + virtual void MouseUp( HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton ) = 0; + virtual void MouseDown( HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton ) = 0; + virtual void MouseDoubleClick( HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton ) = 0; + // x and y are relative to the HTML bounds + virtual void MouseMove( HHTMLBrowser unBrowserHandle, int x, int y ) = 0; + // nDelta is pixels of scroll + virtual void MouseWheel( HHTMLBrowser unBrowserHandle, int32 nDelta ) = 0; + + enum EMouseCursor + { + dc_user = 0, + dc_none, + dc_arrow, + dc_ibeam, + dc_hourglass, + dc_waitarrow, + dc_crosshair, + dc_up, + dc_sizenw, + dc_sizese, + dc_sizene, + dc_sizesw, + dc_sizew, + dc_sizee, + dc_sizen, + dc_sizes, + dc_sizewe, + dc_sizens, + dc_sizeall, + dc_no, + dc_hand, + dc_blank, // don't show any custom cursor, just use your default + dc_middle_pan, + dc_north_pan, + dc_north_east_pan, + dc_east_pan, + dc_south_east_pan, + dc_south_pan, + dc_south_west_pan, + dc_west_pan, + dc_north_west_pan, + dc_alias, + dc_cell, + dc_colresize, + dc_copycur, + dc_verticaltext, + dc_rowresize, + dc_zoomin, + dc_zoomout, + dc_help, + dc_custom, + + dc_last, // custom cursors start from this value and up + }; + + enum EHTMLKeyModifiers + { + k_eHTMLKeyModifier_None = 0, + k_eHTMLKeyModifier_AltDown = 1 << 0, + k_eHTMLKeyModifier_CtrlDown = 1 << 1, + k_eHTMLKeyModifier_ShiftDown = 1 << 2, + }; + + // keyboard interactions, native keycode is the virtual key code value from your OS, system key flags the key to not + // be sent as a typed character as well as a key down + virtual void KeyDown( HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey = false ) = 0; + virtual void KeyUp( HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers ) = 0; + // cUnicodeChar is the unicode character point for this keypress (and potentially multiple chars per press) + virtual void KeyChar( HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers ) = 0; + + // programmatically scroll this many pixels on the page + virtual void SetHorizontalScroll( HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll ) = 0; + virtual void SetVerticalScroll( HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll ) = 0; + + // tell the html control if it has key focus currently, controls showing the I-beam cursor in text controls amongst other things + virtual void SetKeyFocus( HHTMLBrowser unBrowserHandle, bool bHasKeyFocus ) = 0; + + // open the current pages html code in the local editor of choice, used for debugging + virtual void ViewSource( HHTMLBrowser unBrowserHandle ) = 0; + // copy the currently selected text on the html page to the local clipboard + virtual void CopyToClipboard( HHTMLBrowser unBrowserHandle ) = 0; + // paste from the local clipboard to the current html page + virtual void PasteFromClipboard( HHTMLBrowser unBrowserHandle ) = 0; + + // find this string in the browser, if bCurrentlyInFind is true then instead cycle to the next matching element + virtual void Find( HHTMLBrowser unBrowserHandle, const char *pchSearchStr, bool bCurrentlyInFind, bool bReverse ) = 0; + // cancel a currently running find + virtual void StopFind( HHTMLBrowser unBrowserHandle ) = 0; + + // return details about the link at position x,y on the current page + virtual void GetLinkAtPosition( HHTMLBrowser unBrowserHandle, int x, int y ) = 0; + + // set a webcookie for the hostname in question + virtual void SetCookie( const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath = "/", RTime32 nExpires = 0, bool bSecure = false, bool bHTTPOnly = false ) = 0; + + // Zoom the current page by flZoom ( from 0.0 to 2.0, so to zoom to 120% use 1.2 ), zooming around point X,Y in the page (use 0,0 if you don't care) + virtual void SetPageScaleFactor( HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY ) = 0; + + // Enable/disable low-resource background mode, where javascript and repaint timers are throttled, resources are + // more aggressively purged from memory, and audio/video elements are paused. When background mode is enabled, + // all HTML5 video and audio objects will execute ".pause()" and gain the property "._steam_background_paused = 1". + // When background mode is disabled, any video or audio objects with that property will resume with ".play()". + virtual void SetBackgroundMode( HHTMLBrowser unBrowserHandle, bool bBackgroundMode ) = 0; + + // Scale the output display space by this factor, this is useful when displaying content on high dpi devices. + // Specifies the ratio between physical and logical pixels. + virtual void SetDPIScalingFactor( HHTMLBrowser unBrowserHandle, float flDPIScaling ) = 0; + + // Open HTML/JS developer tools + virtual void OpenDeveloperTools( HHTMLBrowser unBrowserHandle ) = 0; + + // CALLBACKS + // + // These set of functions are used as responses to callback requests + // + + // You MUST call this in response to a HTML_StartRequest_t callback + // Set bAllowed to true to allow this navigation, false to cancel it and stay + // on the current page. You can use this feature to limit the valid pages + // allowed in your HTML surface. + virtual void AllowStartRequest( HHTMLBrowser unBrowserHandle, bool bAllowed ) = 0; + + // You MUST call this in response to a HTML_JSAlert_t or HTML_JSConfirm_t callback + // Set bResult to true for the OK option of a confirm, use false otherwise + virtual void JSDialogResponse( HHTMLBrowser unBrowserHandle, bool bResult ) = 0; + + // You MUST call this in response to a HTML_FileOpenDialog_t callback + virtual void FileLoadDialogResponse( HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles ) = 0; +}; + +#define STEAMHTMLSURFACE_INTERFACE_VERSION "STEAMHTMLSURFACE_INTERFACE_VERSION_005" + +// Global interface accessor +inline ISteamHTMLSurface *SteamHTMLSurface(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamHTMLSurface *, SteamHTMLSurface, STEAMHTMLSURFACE_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +//----------------------------------------------------------------------------- +// Purpose: The browser is ready for use +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_BrowserReady_t, k_iSteamHTMLSurfaceCallbacks + 1 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // this browser is now fully created and ready to navigate to pages +STEAM_CALLBACK_END(1) + + +//----------------------------------------------------------------------------- +// Purpose: the browser has a pending paint +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN(HTML_NeedsPaint_t, k_iSteamHTMLSurfaceCallbacks + 2) +STEAM_CALLBACK_MEMBER(0, HHTMLBrowser, unBrowserHandle) // the browser that needs the paint +STEAM_CALLBACK_MEMBER(1, const char *, pBGRA ) // a pointer to the B8G8R8A8 data for this surface, valid until SteamAPI_RunCallbacks is next called +STEAM_CALLBACK_MEMBER(2, uint32, unWide) // the total width of the pBGRA texture +STEAM_CALLBACK_MEMBER(3, uint32, unTall) // the total height of the pBGRA texture +STEAM_CALLBACK_MEMBER(4, uint32, unUpdateX) // the offset in X for the damage rect for this update +STEAM_CALLBACK_MEMBER(5, uint32, unUpdateY) // the offset in Y for the damage rect for this update +STEAM_CALLBACK_MEMBER(6, uint32, unUpdateWide) // the width of the damage rect for this update +STEAM_CALLBACK_MEMBER(7, uint32, unUpdateTall) // the height of the damage rect for this update +STEAM_CALLBACK_MEMBER(8, uint32, unScrollX) // the page scroll the browser was at when this texture was rendered +STEAM_CALLBACK_MEMBER(9, uint32, unScrollY) // the page scroll the browser was at when this texture was rendered +STEAM_CALLBACK_MEMBER(10, float, flPageScale) // the page scale factor on this page when rendered +STEAM_CALLBACK_MEMBER(11, uint32, unPageSerial) // incremented on each new page load, you can use this to reject draws while navigating to new pages +STEAM_CALLBACK_END(12) + + +//----------------------------------------------------------------------------- +// Purpose: The browser wanted to navigate to a new page +// NOTE - you MUST call AllowStartRequest in response to this callback +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN(HTML_StartRequest_t, k_iSteamHTMLSurfaceCallbacks + 3) +STEAM_CALLBACK_MEMBER(0, HHTMLBrowser, unBrowserHandle) // the handle of the surface navigating +STEAM_CALLBACK_MEMBER(1, const char *, pchURL) // the url they wish to navigate to +STEAM_CALLBACK_MEMBER(2, const char *, pchTarget) // the html link target type (i.e _blank, _self, _parent, _top ) +STEAM_CALLBACK_MEMBER(3, const char *, pchPostData ) // any posted data for the request +STEAM_CALLBACK_MEMBER(4, bool, bIsRedirect) // true if this was a http/html redirect from the last load request +STEAM_CALLBACK_END(5) + + +//----------------------------------------------------------------------------- +// Purpose: The browser has been requested to close due to user interaction (usually from a javascript window.close() call) +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN(HTML_CloseBrowser_t, k_iSteamHTMLSurfaceCallbacks + 4) +STEAM_CALLBACK_MEMBER(0, HHTMLBrowser, unBrowserHandle) // the handle of the surface +STEAM_CALLBACK_END(1) + + +//----------------------------------------------------------------------------- +// Purpose: the browser is navigating to a new url +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_URLChanged_t, k_iSteamHTMLSurfaceCallbacks + 5 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface navigating +STEAM_CALLBACK_MEMBER( 1, const char *, pchURL ) // the url they wish to navigate to +STEAM_CALLBACK_MEMBER( 2, const char *, pchPostData ) // any posted data for the request +STEAM_CALLBACK_MEMBER( 3, bool, bIsRedirect ) // true if this was a http/html redirect from the last load request +STEAM_CALLBACK_MEMBER( 4, const char *, pchPageTitle ) // the title of the page +STEAM_CALLBACK_MEMBER( 5, bool, bNewNavigation ) // true if this was from a fresh tab and not a click on an existing page +STEAM_CALLBACK_END(6) + + +//----------------------------------------------------------------------------- +// Purpose: A page is finished loading +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_FinishedRequest_t, k_iSteamHTMLSurfaceCallbacks + 6 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchURL ) // +STEAM_CALLBACK_MEMBER( 2, const char *, pchPageTitle ) // +STEAM_CALLBACK_END(3) + + +//----------------------------------------------------------------------------- +// Purpose: a request to load this url in a new tab +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_OpenLinkInNewTab_t, k_iSteamHTMLSurfaceCallbacks + 7 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchURL ) // +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: the page has a new title now +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_ChangedTitle_t, k_iSteamHTMLSurfaceCallbacks + 8 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchTitle ) // +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: results from a search +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_SearchResults_t, k_iSteamHTMLSurfaceCallbacks + 9 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, uint32, unResults ) // +STEAM_CALLBACK_MEMBER( 2, uint32, unCurrentMatch ) // +STEAM_CALLBACK_END(3) + + +//----------------------------------------------------------------------------- +// Purpose: page history status changed on the ability to go backwards and forward +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_CanGoBackAndForward_t, k_iSteamHTMLSurfaceCallbacks + 10 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, bool, bCanGoBack ) // +STEAM_CALLBACK_MEMBER( 2, bool, bCanGoForward ) // +STEAM_CALLBACK_END(3) + + +//----------------------------------------------------------------------------- +// Purpose: details on the visibility and size of the horizontal scrollbar +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_HorizontalScroll_t, k_iSteamHTMLSurfaceCallbacks + 11 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, uint32, unScrollMax ) // +STEAM_CALLBACK_MEMBER( 2, uint32, unScrollCurrent ) // +STEAM_CALLBACK_MEMBER( 3, float, flPageScale ) // +STEAM_CALLBACK_MEMBER( 4, bool , bVisible ) // +STEAM_CALLBACK_MEMBER( 5, uint32, unPageSize ) // +STEAM_CALLBACK_END(6) + + +//----------------------------------------------------------------------------- +// Purpose: details on the visibility and size of the vertical scrollbar +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_VerticalScroll_t, k_iSteamHTMLSurfaceCallbacks + 12 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, uint32, unScrollMax ) // +STEAM_CALLBACK_MEMBER( 2, uint32, unScrollCurrent ) // +STEAM_CALLBACK_MEMBER( 3, float, flPageScale ) // +STEAM_CALLBACK_MEMBER( 4, bool, bVisible ) // +STEAM_CALLBACK_MEMBER( 5, uint32, unPageSize ) // +STEAM_CALLBACK_END(6) + + +//----------------------------------------------------------------------------- +// Purpose: response to GetLinkAtPosition call +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_LinkAtPosition_t, k_iSteamHTMLSurfaceCallbacks + 13 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, uint32, x ) // NOTE - Not currently set +STEAM_CALLBACK_MEMBER( 2, uint32, y ) // NOTE - Not currently set +STEAM_CALLBACK_MEMBER( 3, const char *, pchURL ) // +STEAM_CALLBACK_MEMBER( 4, bool, bInput ) // +STEAM_CALLBACK_MEMBER( 5, bool, bLiveLink ) // +STEAM_CALLBACK_END(6) + + + +//----------------------------------------------------------------------------- +// Purpose: show a Javascript alert dialog, call JSDialogResponse +// when the user dismisses this dialog (or right away to ignore it) +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_JSAlert_t, k_iSteamHTMLSurfaceCallbacks + 14 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchMessage ) // +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: show a Javascript confirmation dialog, call JSDialogResponse +// when the user dismisses this dialog (or right away to ignore it) +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_JSConfirm_t, k_iSteamHTMLSurfaceCallbacks + 15 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchMessage ) // +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: when received show a file open dialog +// then call FileLoadDialogResponse with the file(s) the user selected. +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_FileOpenDialog_t, k_iSteamHTMLSurfaceCallbacks + 16 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchTitle ) // +STEAM_CALLBACK_MEMBER( 2, const char *, pchInitialFile ) // +STEAM_CALLBACK_END(3) + + +//----------------------------------------------------------------------------- +// Purpose: a new html window is being created. +// +// IMPORTANT NOTE: at this time, the API does not allow you to acknowledge or +// render the contents of this new window, so the new window is always destroyed +// immediately. The URL and other parameters of the new window are passed here +// to give your application the opportunity to call CreateBrowser and set up +// a new browser in response to the attempted popup, if you wish to do so. +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_NewWindow_t, k_iSteamHTMLSurfaceCallbacks + 21 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the current surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchURL ) // the page to load +STEAM_CALLBACK_MEMBER( 2, uint32, unX ) // the x pos into the page to display the popup +STEAM_CALLBACK_MEMBER( 3, uint32, unY ) // the y pos into the page to display the popup +STEAM_CALLBACK_MEMBER( 4, uint32, unWide ) // the total width of the pBGRA texture +STEAM_CALLBACK_MEMBER( 5, uint32, unTall ) // the total height of the pBGRA texture +STEAM_CALLBACK_MEMBER( 6, HHTMLBrowser, unNewWindow_BrowserHandle_IGNORE ) +STEAM_CALLBACK_END(7) + + +//----------------------------------------------------------------------------- +// Purpose: change the cursor to display +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_SetCursor_t, k_iSteamHTMLSurfaceCallbacks + 22 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, uint32, eMouseCursor ) // the EMouseCursor to display +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: informational message from the browser +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_StatusText_t, k_iSteamHTMLSurfaceCallbacks + 23 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchMsg ) // the EMouseCursor to display +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: show a tooltip +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_ShowToolTip_t, k_iSteamHTMLSurfaceCallbacks + 24 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchMsg ) // the EMouseCursor to display +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: update the text of an existing tooltip +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_UpdateToolTip_t, k_iSteamHTMLSurfaceCallbacks + 25 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_MEMBER( 1, const char *, pchMsg ) // the EMouseCursor to display +STEAM_CALLBACK_END(2) + + +//----------------------------------------------------------------------------- +// Purpose: hide the tooltip you are showing +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_HideToolTip_t, k_iSteamHTMLSurfaceCallbacks + 26 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface +STEAM_CALLBACK_END(1) + + +//----------------------------------------------------------------------------- +// Purpose: The browser has restarted due to an internal failure, use this new handle value +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( HTML_BrowserRestarted_t, k_iSteamHTMLSurfaceCallbacks + 27 ) +STEAM_CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // this is the new browser handle after the restart +STEAM_CALLBACK_MEMBER( 1, HHTMLBrowser, unOldBrowserHandle ) // the handle for the browser before the restart, if your handle was this then switch to using unBrowserHandle for API calls +STEAM_CALLBACK_END(2) + + +#pragma pack( pop ) + + +#endif // ISTEAMHTMLSURFACE_H diff --git a/lsteamclient/steamworks_sdk_158/isteamhttp.h b/lsteamclient/steamworks_sdk_158/isteamhttp.h new file mode 100644 index 000000000..fb034ca1d --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamhttp.h @@ -0,0 +1,219 @@ +//====== Copyright © 1996-2009, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to http client +// +//============================================================================= + +#ifndef ISTEAMHTTP_H +#define ISTEAMHTTP_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "steamhttpenums.h" + +// Handle to a HTTP Request handle +typedef uint32 HTTPRequestHandle; +#define INVALID_HTTPREQUEST_HANDLE 0 + +typedef uint32 HTTPCookieContainerHandle; +#define INVALID_HTTPCOOKIE_HANDLE 0 + +//----------------------------------------------------------------------------- +// Purpose: interface to http client +//----------------------------------------------------------------------------- +class ISteamHTTP +{ +public: + + // Initializes a new HTTP request, returning a handle to use in further operations on it. Requires + // the method (GET or POST) and the absolute URL for the request. Both http and https are supported, + // so this string must start with http:// or https:// and should look like http://store.steampowered.com/app/250/ + // or such. + virtual HTTPRequestHandle CreateHTTPRequest( EHTTPMethod eHTTPRequestMethod, const char *pchAbsoluteURL ) = 0; + + // Set a context value for the request, which will be returned in the HTTPRequestCompleted_t callback after + // sending the request. This is just so the caller can easily keep track of which callbacks go with which request data. + virtual bool SetHTTPRequestContextValue( HTTPRequestHandle hRequest, uint64 ulContextValue ) = 0; + + // Set a timeout in seconds for the HTTP request, must be called prior to sending the request. Default + // timeout is 60 seconds if you don't call this. Returns false if the handle is invalid, or the request + // has already been sent. + virtual bool SetHTTPRequestNetworkActivityTimeout( HTTPRequestHandle hRequest, uint32 unTimeoutSeconds ) = 0; + + // Set a request header value for the request, must be called prior to sending the request. Will + // return false if the handle is invalid or the request is already sent. + virtual bool SetHTTPRequestHeaderValue( HTTPRequestHandle hRequest, const char *pchHeaderName, const char *pchHeaderValue ) = 0; + + // Set a GET or POST parameter value on the request, which is set will depend on the EHTTPMethod specified + // when creating the request. Must be called prior to sending the request. Will return false if the + // handle is invalid or the request is already sent. + virtual bool SetHTTPRequestGetOrPostParameter( HTTPRequestHandle hRequest, const char *pchParamName, const char *pchParamValue ) = 0; + + // Sends the HTTP request, will return false on a bad handle, otherwise use SteamCallHandle to wait on + // asynchronous response via callback. + // + // Note: If the user is in offline mode in Steam, then this will add a only-if-cached cache-control + // header and only do a local cache lookup rather than sending any actual remote request. + virtual bool SendHTTPRequest( HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle ) = 0; + + // Sends the HTTP request, will return false on a bad handle, otherwise use SteamCallHandle to wait on + // asynchronous response via callback for completion, and listen for HTTPRequestHeadersReceived_t and + // HTTPRequestDataReceived_t callbacks while streaming. + virtual bool SendHTTPRequestAndStreamResponse( HTTPRequestHandle hRequest, SteamAPICall_t *pCallHandle ) = 0; + + // Defers a request you have sent, the actual HTTP client code may have many requests queued, and this will move + // the specified request to the tail of the queue. Returns false on invalid handle, or if the request is not yet sent. + virtual bool DeferHTTPRequest( HTTPRequestHandle hRequest ) = 0; + + // Prioritizes a request you have sent, the actual HTTP client code may have many requests queued, and this will move + // the specified request to the head of the queue. Returns false on invalid handle, or if the request is not yet sent. + virtual bool PrioritizeHTTPRequest( HTTPRequestHandle hRequest ) = 0; + + // Checks if a response header is present in a HTTP response given a handle from HTTPRequestCompleted_t, also + // returns the size of the header value if present so the caller and allocate a correctly sized buffer for + // GetHTTPResponseHeaderValue. + virtual bool GetHTTPResponseHeaderSize( HTTPRequestHandle hRequest, const char *pchHeaderName, uint32 *unResponseHeaderSize ) = 0; + + // Gets header values from a HTTP response given a handle from HTTPRequestCompleted_t, will return false if the + // header is not present or if your buffer is too small to contain it's value. You should first call + // BGetHTTPResponseHeaderSize to check for the presence of the header and to find out the size buffer needed. + virtual bool GetHTTPResponseHeaderValue( HTTPRequestHandle hRequest, const char *pchHeaderName, uint8 *pHeaderValueBuffer, uint32 unBufferSize ) = 0; + + // Gets the size of the body data from a HTTP response given a handle from HTTPRequestCompleted_t, will return false if the + // handle is invalid. + virtual bool GetHTTPResponseBodySize( HTTPRequestHandle hRequest, uint32 *unBodySize ) = 0; + + // Gets the body data from a HTTP response given a handle from HTTPRequestCompleted_t, will return false if the + // handle is invalid or is to a streaming response, or if the provided buffer is not the correct size. Use BGetHTTPResponseBodySize first to find out + // the correct buffer size to use. + virtual bool GetHTTPResponseBodyData( HTTPRequestHandle hRequest, uint8 *pBodyDataBuffer, uint32 unBufferSize ) = 0; + + // Gets the body data from a streaming HTTP response given a handle from HTTPRequestDataReceived_t. Will return false if the + // handle is invalid or is to a non-streaming response (meaning it wasn't sent with SendHTTPRequestAndStreamResponse), or if the buffer size and offset + // do not match the size and offset sent in HTTPRequestDataReceived_t. + virtual bool GetHTTPStreamingResponseBodyData( HTTPRequestHandle hRequest, uint32 cOffset, uint8 *pBodyDataBuffer, uint32 unBufferSize ) = 0; + + // Releases an HTTP response handle, should always be called to free resources after receiving a HTTPRequestCompleted_t + // callback and finishing using the response. + virtual bool ReleaseHTTPRequest( HTTPRequestHandle hRequest ) = 0; + + // Gets progress on downloading the body for the request. This will be zero unless a response header has already been + // received which included a content-length field. For responses that contain no content-length it will report + // zero for the duration of the request as the size is unknown until the connection closes. + virtual bool GetHTTPDownloadProgressPct( HTTPRequestHandle hRequest, float *pflPercentOut ) = 0; + + // Sets the body for an HTTP Post request. Will fail and return false on a GET request, and will fail if POST params + // have already been set for the request. Setting this raw body makes it the only contents for the post, the pchContentType + // parameter will set the content-type header for the request so the server may know how to interpret the body. + virtual bool SetHTTPRequestRawPostBody( HTTPRequestHandle hRequest, const char *pchContentType, uint8 *pubBody, uint32 unBodyLen ) = 0; + + // Creates a cookie container handle which you must later free with ReleaseCookieContainer(). If bAllowResponsesToModify=true + // than any response to your requests using this cookie container may add new cookies which may be transmitted with + // future requests. If bAllowResponsesToModify=false than only cookies you explicitly set will be sent. This API is just for + // during process lifetime, after steam restarts no cookies are persisted and you have no way to access the cookie container across + // repeat executions of your process. + virtual HTTPCookieContainerHandle CreateCookieContainer( bool bAllowResponsesToModify ) = 0; + + // Release a cookie container you are finished using, freeing it's memory + virtual bool ReleaseCookieContainer( HTTPCookieContainerHandle hCookieContainer ) = 0; + + // Adds a cookie to the specified cookie container that will be used with future requests. + virtual bool SetCookie( HTTPCookieContainerHandle hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie ) = 0; + + // Set the cookie container to use for a HTTP request + virtual bool SetHTTPRequestCookieContainer( HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer ) = 0; + + // Set the extra user agent info for a request, this doesn't clobber the normal user agent, it just adds the extra info on the end + virtual bool SetHTTPRequestUserAgentInfo( HTTPRequestHandle hRequest, const char *pchUserAgentInfo ) = 0; + + // Disable or re-enable verification of SSL/TLS certificates. + // By default, certificates are checked for all HTTPS requests. + virtual bool SetHTTPRequestRequiresVerifiedCertificate( HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate ) = 0; + + // Set an absolute timeout on the HTTP request, this is just a total time timeout different than the network activity timeout + // which can bump everytime we get more data + virtual bool SetHTTPRequestAbsoluteTimeoutMS( HTTPRequestHandle hRequest, uint32 unMilliseconds ) = 0; + + // Check if the reason the request failed was because we timed it out (rather than some harder failure) + virtual bool GetHTTPRequestWasTimedOut( HTTPRequestHandle hRequest, bool *pbWasTimedOut ) = 0; +}; + +#define STEAMHTTP_INTERFACE_VERSION "STEAMHTTP_INTERFACE_VERSION003" + +// Global interface accessor +inline ISteamHTTP *SteamHTTP(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamHTTP *, SteamHTTP, STEAMHTTP_INTERFACE_VERSION ); + +// Global accessor for the gameserver client +inline ISteamHTTP *SteamGameServerHTTP(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamHTTP *, SteamGameServerHTTP, STEAMHTTP_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +struct HTTPRequestCompleted_t +{ + enum { k_iCallback = k_iSteamHTTPCallbacks + 1 }; + + // Handle value for the request that has completed. + HTTPRequestHandle m_hRequest; + + // Context value that the user defined on the request that this callback is associated with, 0 if + // no context value was set. + uint64 m_ulContextValue; + + // This will be true if we actually got any sort of response from the server (even an error). + // It will be false if we failed due to an internal error or client side network failure. + bool m_bRequestSuccessful; + + // Will be the HTTP status code value returned by the server, k_EHTTPStatusCode200OK is the normal + // OK response, if you get something else you probably need to treat it as a failure. + EHTTPStatusCode m_eStatusCode; + + uint32 m_unBodySize; // Same as GetHTTPResponseBodySize() +}; + + +struct HTTPRequestHeadersReceived_t +{ + enum { k_iCallback = k_iSteamHTTPCallbacks + 2 }; + + // Handle value for the request that has received headers. + HTTPRequestHandle m_hRequest; + + // Context value that the user defined on the request that this callback is associated with, 0 if + // no context value was set. + uint64 m_ulContextValue; +}; + +struct HTTPRequestDataReceived_t +{ + enum { k_iCallback = k_iSteamHTTPCallbacks + 3 }; + + // Handle value for the request that has received data. + HTTPRequestHandle m_hRequest; + + // Context value that the user defined on the request that this callback is associated with, 0 if + // no context value was set. + uint64 m_ulContextValue; + + + // Offset to provide to GetHTTPStreamingResponseBodyData to get this chunk of data + uint32 m_cOffset; + + // Size to provide to GetHTTPStreamingResponseBodyData to get this chunk of data + uint32 m_cBytesReceived; +}; + + +#pragma pack( pop ) + +#endif // ISTEAMHTTP_H \ No newline at end of file diff --git a/lsteamclient/steamworks_sdk_158/isteaminput.h b/lsteamclient/steamworks_sdk_158/isteaminput.h new file mode 100644 index 000000000..1e0e92bda --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteaminput.h @@ -0,0 +1,1034 @@ +//====== Copyright 1996-2018, Valve Corporation, All rights reserved. ======= +// +// Purpose: Steam Input is a flexible input API that supports over three hundred devices including all +// common variants of Xbox, Playstation, Nintendo Switch Pro, and Steam Controllers. +// For more info including a getting started guide for developers +// please visit: https://partner.steamgames.com/doc/features/steam_controller +// +//============================================================================= + +#ifndef ISTEAMINPUT_H +#define ISTEAMINPUT_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +#define STEAM_INPUT_MAX_COUNT 16 + +#define STEAM_INPUT_MAX_ANALOG_ACTIONS 24 + +#define STEAM_INPUT_MAX_DIGITAL_ACTIONS 256 + +#define STEAM_INPUT_MAX_ORIGINS 8 + +#define STEAM_INPUT_MAX_ACTIVE_LAYERS 16 + +// When sending an option to a specific controller handle, you can send to all devices via this command +#define STEAM_INPUT_HANDLE_ALL_CONTROLLERS UINT64_MAX + +#define STEAM_INPUT_MIN_ANALOG_ACTION_DATA -1.0f +#define STEAM_INPUT_MAX_ANALOG_ACTION_DATA 1.0f + +enum EInputSourceMode +{ + k_EInputSourceMode_None, + k_EInputSourceMode_Dpad, + k_EInputSourceMode_Buttons, + k_EInputSourceMode_FourButtons, + k_EInputSourceMode_AbsoluteMouse, + k_EInputSourceMode_RelativeMouse, + k_EInputSourceMode_JoystickMove, + k_EInputSourceMode_JoystickMouse, + k_EInputSourceMode_JoystickCamera, + k_EInputSourceMode_ScrollWheel, + k_EInputSourceMode_Trigger, + k_EInputSourceMode_TouchMenu, + k_EInputSourceMode_MouseJoystick, + k_EInputSourceMode_MouseRegion, + k_EInputSourceMode_RadialMenu, + k_EInputSourceMode_SingleButton, + k_EInputSourceMode_Switches +}; + +// Note: Please do not use action origins as a way to identify controller types. There is no +// guarantee that they will be added in a contiguous manner - use GetInputTypeForHandle instead. +// Versions of Steam that add new controller types in the future will extend this enum so if you're +// using a lookup table please check the bounds of any origins returned by Steam. +enum EInputActionOrigin +{ + // Steam Controller + k_EInputActionOrigin_None, + k_EInputActionOrigin_SteamController_A, + k_EInputActionOrigin_SteamController_B, + k_EInputActionOrigin_SteamController_X, + k_EInputActionOrigin_SteamController_Y, + k_EInputActionOrigin_SteamController_LeftBumper, + k_EInputActionOrigin_SteamController_RightBumper, + k_EInputActionOrigin_SteamController_LeftGrip, + k_EInputActionOrigin_SteamController_RightGrip, + k_EInputActionOrigin_SteamController_Start, + k_EInputActionOrigin_SteamController_Back, + k_EInputActionOrigin_SteamController_LeftPad_Touch, + k_EInputActionOrigin_SteamController_LeftPad_Swipe, + k_EInputActionOrigin_SteamController_LeftPad_Click, + k_EInputActionOrigin_SteamController_LeftPad_DPadNorth, + k_EInputActionOrigin_SteamController_LeftPad_DPadSouth, + k_EInputActionOrigin_SteamController_LeftPad_DPadWest, + k_EInputActionOrigin_SteamController_LeftPad_DPadEast, + k_EInputActionOrigin_SteamController_RightPad_Touch, + k_EInputActionOrigin_SteamController_RightPad_Swipe, + k_EInputActionOrigin_SteamController_RightPad_Click, + k_EInputActionOrigin_SteamController_RightPad_DPadNorth, + k_EInputActionOrigin_SteamController_RightPad_DPadSouth, + k_EInputActionOrigin_SteamController_RightPad_DPadWest, + k_EInputActionOrigin_SteamController_RightPad_DPadEast, + k_EInputActionOrigin_SteamController_LeftTrigger_Pull, + k_EInputActionOrigin_SteamController_LeftTrigger_Click, + k_EInputActionOrigin_SteamController_RightTrigger_Pull, + k_EInputActionOrigin_SteamController_RightTrigger_Click, + k_EInputActionOrigin_SteamController_LeftStick_Move, + k_EInputActionOrigin_SteamController_LeftStick_Click, + k_EInputActionOrigin_SteamController_LeftStick_DPadNorth, + k_EInputActionOrigin_SteamController_LeftStick_DPadSouth, + k_EInputActionOrigin_SteamController_LeftStick_DPadWest, + k_EInputActionOrigin_SteamController_LeftStick_DPadEast, + k_EInputActionOrigin_SteamController_Gyro_Move, + k_EInputActionOrigin_SteamController_Gyro_Pitch, + k_EInputActionOrigin_SteamController_Gyro_Yaw, + k_EInputActionOrigin_SteamController_Gyro_Roll, + k_EInputActionOrigin_SteamController_Reserved0, + k_EInputActionOrigin_SteamController_Reserved1, + k_EInputActionOrigin_SteamController_Reserved2, + k_EInputActionOrigin_SteamController_Reserved3, + k_EInputActionOrigin_SteamController_Reserved4, + k_EInputActionOrigin_SteamController_Reserved5, + k_EInputActionOrigin_SteamController_Reserved6, + k_EInputActionOrigin_SteamController_Reserved7, + k_EInputActionOrigin_SteamController_Reserved8, + k_EInputActionOrigin_SteamController_Reserved9, + k_EInputActionOrigin_SteamController_Reserved10, + + // PS4 Dual Shock + k_EInputActionOrigin_PS4_X, + k_EInputActionOrigin_PS4_Circle, + k_EInputActionOrigin_PS4_Triangle, + k_EInputActionOrigin_PS4_Square, + k_EInputActionOrigin_PS4_LeftBumper, + k_EInputActionOrigin_PS4_RightBumper, + k_EInputActionOrigin_PS4_Options, //Start + k_EInputActionOrigin_PS4_Share, //Back + k_EInputActionOrigin_PS4_LeftPad_Touch, + k_EInputActionOrigin_PS4_LeftPad_Swipe, + k_EInputActionOrigin_PS4_LeftPad_Click, + k_EInputActionOrigin_PS4_LeftPad_DPadNorth, + k_EInputActionOrigin_PS4_LeftPad_DPadSouth, + k_EInputActionOrigin_PS4_LeftPad_DPadWest, + k_EInputActionOrigin_PS4_LeftPad_DPadEast, + k_EInputActionOrigin_PS4_RightPad_Touch, + k_EInputActionOrigin_PS4_RightPad_Swipe, + k_EInputActionOrigin_PS4_RightPad_Click, + k_EInputActionOrigin_PS4_RightPad_DPadNorth, + k_EInputActionOrigin_PS4_RightPad_DPadSouth, + k_EInputActionOrigin_PS4_RightPad_DPadWest, + k_EInputActionOrigin_PS4_RightPad_DPadEast, + k_EInputActionOrigin_PS4_CenterPad_Touch, + k_EInputActionOrigin_PS4_CenterPad_Swipe, + k_EInputActionOrigin_PS4_CenterPad_Click, + k_EInputActionOrigin_PS4_CenterPad_DPadNorth, + k_EInputActionOrigin_PS4_CenterPad_DPadSouth, + k_EInputActionOrigin_PS4_CenterPad_DPadWest, + k_EInputActionOrigin_PS4_CenterPad_DPadEast, + k_EInputActionOrigin_PS4_LeftTrigger_Pull, + k_EInputActionOrigin_PS4_LeftTrigger_Click, + k_EInputActionOrigin_PS4_RightTrigger_Pull, + k_EInputActionOrigin_PS4_RightTrigger_Click, + k_EInputActionOrigin_PS4_LeftStick_Move, + k_EInputActionOrigin_PS4_LeftStick_Click, + k_EInputActionOrigin_PS4_LeftStick_DPadNorth, + k_EInputActionOrigin_PS4_LeftStick_DPadSouth, + k_EInputActionOrigin_PS4_LeftStick_DPadWest, + k_EInputActionOrigin_PS4_LeftStick_DPadEast, + k_EInputActionOrigin_PS4_RightStick_Move, + k_EInputActionOrigin_PS4_RightStick_Click, + k_EInputActionOrigin_PS4_RightStick_DPadNorth, + k_EInputActionOrigin_PS4_RightStick_DPadSouth, + k_EInputActionOrigin_PS4_RightStick_DPadWest, + k_EInputActionOrigin_PS4_RightStick_DPadEast, + k_EInputActionOrigin_PS4_DPad_North, + k_EInputActionOrigin_PS4_DPad_South, + k_EInputActionOrigin_PS4_DPad_West, + k_EInputActionOrigin_PS4_DPad_East, + k_EInputActionOrigin_PS4_Gyro_Move, + k_EInputActionOrigin_PS4_Gyro_Pitch, + k_EInputActionOrigin_PS4_Gyro_Yaw, + k_EInputActionOrigin_PS4_Gyro_Roll, + k_EInputActionOrigin_PS4_DPad_Move, + k_EInputActionOrigin_PS4_Reserved1, + k_EInputActionOrigin_PS4_Reserved2, + k_EInputActionOrigin_PS4_Reserved3, + k_EInputActionOrigin_PS4_Reserved4, + k_EInputActionOrigin_PS4_Reserved5, + k_EInputActionOrigin_PS4_Reserved6, + k_EInputActionOrigin_PS4_Reserved7, + k_EInputActionOrigin_PS4_Reserved8, + k_EInputActionOrigin_PS4_Reserved9, + k_EInputActionOrigin_PS4_Reserved10, + + // XBox One + k_EInputActionOrigin_XBoxOne_A, + k_EInputActionOrigin_XBoxOne_B, + k_EInputActionOrigin_XBoxOne_X, + k_EInputActionOrigin_XBoxOne_Y, + k_EInputActionOrigin_XBoxOne_LeftBumper, + k_EInputActionOrigin_XBoxOne_RightBumper, + k_EInputActionOrigin_XBoxOne_Menu, //Start + k_EInputActionOrigin_XBoxOne_View, //Back + k_EInputActionOrigin_XBoxOne_LeftTrigger_Pull, + k_EInputActionOrigin_XBoxOne_LeftTrigger_Click, + k_EInputActionOrigin_XBoxOne_RightTrigger_Pull, + k_EInputActionOrigin_XBoxOne_RightTrigger_Click, + k_EInputActionOrigin_XBoxOne_LeftStick_Move, + k_EInputActionOrigin_XBoxOne_LeftStick_Click, + k_EInputActionOrigin_XBoxOne_LeftStick_DPadNorth, + k_EInputActionOrigin_XBoxOne_LeftStick_DPadSouth, + k_EInputActionOrigin_XBoxOne_LeftStick_DPadWest, + k_EInputActionOrigin_XBoxOne_LeftStick_DPadEast, + k_EInputActionOrigin_XBoxOne_RightStick_Move, + k_EInputActionOrigin_XBoxOne_RightStick_Click, + k_EInputActionOrigin_XBoxOne_RightStick_DPadNorth, + k_EInputActionOrigin_XBoxOne_RightStick_DPadSouth, + k_EInputActionOrigin_XBoxOne_RightStick_DPadWest, + k_EInputActionOrigin_XBoxOne_RightStick_DPadEast, + k_EInputActionOrigin_XBoxOne_DPad_North, + k_EInputActionOrigin_XBoxOne_DPad_South, + k_EInputActionOrigin_XBoxOne_DPad_West, + k_EInputActionOrigin_XBoxOne_DPad_East, + k_EInputActionOrigin_XBoxOne_DPad_Move, + k_EInputActionOrigin_XBoxOne_LeftGrip_Lower, + k_EInputActionOrigin_XBoxOne_LeftGrip_Upper, + k_EInputActionOrigin_XBoxOne_RightGrip_Lower, + k_EInputActionOrigin_XBoxOne_RightGrip_Upper, + k_EInputActionOrigin_XBoxOne_Share, // Xbox Series X controllers only + k_EInputActionOrigin_XBoxOne_Reserved6, + k_EInputActionOrigin_XBoxOne_Reserved7, + k_EInputActionOrigin_XBoxOne_Reserved8, + k_EInputActionOrigin_XBoxOne_Reserved9, + k_EInputActionOrigin_XBoxOne_Reserved10, + + // XBox 360 + k_EInputActionOrigin_XBox360_A, + k_EInputActionOrigin_XBox360_B, + k_EInputActionOrigin_XBox360_X, + k_EInputActionOrigin_XBox360_Y, + k_EInputActionOrigin_XBox360_LeftBumper, + k_EInputActionOrigin_XBox360_RightBumper, + k_EInputActionOrigin_XBox360_Start, //Start + k_EInputActionOrigin_XBox360_Back, //Back + k_EInputActionOrigin_XBox360_LeftTrigger_Pull, + k_EInputActionOrigin_XBox360_LeftTrigger_Click, + k_EInputActionOrigin_XBox360_RightTrigger_Pull, + k_EInputActionOrigin_XBox360_RightTrigger_Click, + k_EInputActionOrigin_XBox360_LeftStick_Move, + k_EInputActionOrigin_XBox360_LeftStick_Click, + k_EInputActionOrigin_XBox360_LeftStick_DPadNorth, + k_EInputActionOrigin_XBox360_LeftStick_DPadSouth, + k_EInputActionOrigin_XBox360_LeftStick_DPadWest, + k_EInputActionOrigin_XBox360_LeftStick_DPadEast, + k_EInputActionOrigin_XBox360_RightStick_Move, + k_EInputActionOrigin_XBox360_RightStick_Click, + k_EInputActionOrigin_XBox360_RightStick_DPadNorth, + k_EInputActionOrigin_XBox360_RightStick_DPadSouth, + k_EInputActionOrigin_XBox360_RightStick_DPadWest, + k_EInputActionOrigin_XBox360_RightStick_DPadEast, + k_EInputActionOrigin_XBox360_DPad_North, + k_EInputActionOrigin_XBox360_DPad_South, + k_EInputActionOrigin_XBox360_DPad_West, + k_EInputActionOrigin_XBox360_DPad_East, + k_EInputActionOrigin_XBox360_DPad_Move, + k_EInputActionOrigin_XBox360_Reserved1, + k_EInputActionOrigin_XBox360_Reserved2, + k_EInputActionOrigin_XBox360_Reserved3, + k_EInputActionOrigin_XBox360_Reserved4, + k_EInputActionOrigin_XBox360_Reserved5, + k_EInputActionOrigin_XBox360_Reserved6, + k_EInputActionOrigin_XBox360_Reserved7, + k_EInputActionOrigin_XBox360_Reserved8, + k_EInputActionOrigin_XBox360_Reserved9, + k_EInputActionOrigin_XBox360_Reserved10, + + + // Switch - Pro or Joycons used as a single input device. + // This does not apply to a single joycon + k_EInputActionOrigin_Switch_A, + k_EInputActionOrigin_Switch_B, + k_EInputActionOrigin_Switch_X, + k_EInputActionOrigin_Switch_Y, + k_EInputActionOrigin_Switch_LeftBumper, + k_EInputActionOrigin_Switch_RightBumper, + k_EInputActionOrigin_Switch_Plus, //Start + k_EInputActionOrigin_Switch_Minus, //Back + k_EInputActionOrigin_Switch_Capture, + k_EInputActionOrigin_Switch_LeftTrigger_Pull, + k_EInputActionOrigin_Switch_LeftTrigger_Click, + k_EInputActionOrigin_Switch_RightTrigger_Pull, + k_EInputActionOrigin_Switch_RightTrigger_Click, + k_EInputActionOrigin_Switch_LeftStick_Move, + k_EInputActionOrigin_Switch_LeftStick_Click, + k_EInputActionOrigin_Switch_LeftStick_DPadNorth, + k_EInputActionOrigin_Switch_LeftStick_DPadSouth, + k_EInputActionOrigin_Switch_LeftStick_DPadWest, + k_EInputActionOrigin_Switch_LeftStick_DPadEast, + k_EInputActionOrigin_Switch_RightStick_Move, + k_EInputActionOrigin_Switch_RightStick_Click, + k_EInputActionOrigin_Switch_RightStick_DPadNorth, + k_EInputActionOrigin_Switch_RightStick_DPadSouth, + k_EInputActionOrigin_Switch_RightStick_DPadWest, + k_EInputActionOrigin_Switch_RightStick_DPadEast, + k_EInputActionOrigin_Switch_DPad_North, + k_EInputActionOrigin_Switch_DPad_South, + k_EInputActionOrigin_Switch_DPad_West, + k_EInputActionOrigin_Switch_DPad_East, + k_EInputActionOrigin_Switch_ProGyro_Move, // Primary Gyro in Pro Controller, or Right JoyCon + k_EInputActionOrigin_Switch_ProGyro_Pitch, // Primary Gyro in Pro Controller, or Right JoyCon + k_EInputActionOrigin_Switch_ProGyro_Yaw, // Primary Gyro in Pro Controller, or Right JoyCon + k_EInputActionOrigin_Switch_ProGyro_Roll, // Primary Gyro in Pro Controller, or Right JoyCon + k_EInputActionOrigin_Switch_DPad_Move, + k_EInputActionOrigin_Switch_Reserved1, + k_EInputActionOrigin_Switch_Reserved2, + k_EInputActionOrigin_Switch_Reserved3, + k_EInputActionOrigin_Switch_Reserved4, + k_EInputActionOrigin_Switch_Reserved5, + k_EInputActionOrigin_Switch_Reserved6, + k_EInputActionOrigin_Switch_Reserved7, + k_EInputActionOrigin_Switch_Reserved8, + k_EInputActionOrigin_Switch_Reserved9, + k_EInputActionOrigin_Switch_Reserved10, + + // Switch JoyCon Specific + k_EInputActionOrigin_Switch_RightGyro_Move, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EInputActionOrigin_Switch_RightGyro_Pitch, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EInputActionOrigin_Switch_RightGyro_Yaw, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EInputActionOrigin_Switch_RightGyro_Roll, // Right JoyCon Gyro generally should correspond to Pro's single gyro + k_EInputActionOrigin_Switch_LeftGyro_Move, + k_EInputActionOrigin_Switch_LeftGyro_Pitch, + k_EInputActionOrigin_Switch_LeftGyro_Yaw, + k_EInputActionOrigin_Switch_LeftGyro_Roll, + k_EInputActionOrigin_Switch_LeftGrip_Lower, // Left JoyCon SR Button + k_EInputActionOrigin_Switch_LeftGrip_Upper, // Left JoyCon SL Button + k_EInputActionOrigin_Switch_RightGrip_Lower, // Right JoyCon SL Button + k_EInputActionOrigin_Switch_RightGrip_Upper, // Right JoyCon SR Button + k_EInputActionOrigin_Switch_JoyConButton_N, // With a Horizontal JoyCon this will be Y or what would be Dpad Right when vertical + k_EInputActionOrigin_Switch_JoyConButton_E, // X + k_EInputActionOrigin_Switch_JoyConButton_S, // A + k_EInputActionOrigin_Switch_JoyConButton_W, // B + k_EInputActionOrigin_Switch_Reserved15, + k_EInputActionOrigin_Switch_Reserved16, + k_EInputActionOrigin_Switch_Reserved17, + k_EInputActionOrigin_Switch_Reserved18, + k_EInputActionOrigin_Switch_Reserved19, + k_EInputActionOrigin_Switch_Reserved20, + + // Added in SDK 1.51 + k_EInputActionOrigin_PS5_X, + k_EInputActionOrigin_PS5_Circle, + k_EInputActionOrigin_PS5_Triangle, + k_EInputActionOrigin_PS5_Square, + k_EInputActionOrigin_PS5_LeftBumper, + k_EInputActionOrigin_PS5_RightBumper, + k_EInputActionOrigin_PS5_Option, //Start + k_EInputActionOrigin_PS5_Create, //Back + k_EInputActionOrigin_PS5_Mute, + k_EInputActionOrigin_PS5_LeftPad_Touch, + k_EInputActionOrigin_PS5_LeftPad_Swipe, + k_EInputActionOrigin_PS5_LeftPad_Click, + k_EInputActionOrigin_PS5_LeftPad_DPadNorth, + k_EInputActionOrigin_PS5_LeftPad_DPadSouth, + k_EInputActionOrigin_PS5_LeftPad_DPadWest, + k_EInputActionOrigin_PS5_LeftPad_DPadEast, + k_EInputActionOrigin_PS5_RightPad_Touch, + k_EInputActionOrigin_PS5_RightPad_Swipe, + k_EInputActionOrigin_PS5_RightPad_Click, + k_EInputActionOrigin_PS5_RightPad_DPadNorth, + k_EInputActionOrigin_PS5_RightPad_DPadSouth, + k_EInputActionOrigin_PS5_RightPad_DPadWest, + k_EInputActionOrigin_PS5_RightPad_DPadEast, + k_EInputActionOrigin_PS5_CenterPad_Touch, + k_EInputActionOrigin_PS5_CenterPad_Swipe, + k_EInputActionOrigin_PS5_CenterPad_Click, + k_EInputActionOrigin_PS5_CenterPad_DPadNorth, + k_EInputActionOrigin_PS5_CenterPad_DPadSouth, + k_EInputActionOrigin_PS5_CenterPad_DPadWest, + k_EInputActionOrigin_PS5_CenterPad_DPadEast, + k_EInputActionOrigin_PS5_LeftTrigger_Pull, + k_EInputActionOrigin_PS5_LeftTrigger_Click, + k_EInputActionOrigin_PS5_RightTrigger_Pull, + k_EInputActionOrigin_PS5_RightTrigger_Click, + k_EInputActionOrigin_PS5_LeftStick_Move, + k_EInputActionOrigin_PS5_LeftStick_Click, + k_EInputActionOrigin_PS5_LeftStick_DPadNorth, + k_EInputActionOrigin_PS5_LeftStick_DPadSouth, + k_EInputActionOrigin_PS5_LeftStick_DPadWest, + k_EInputActionOrigin_PS5_LeftStick_DPadEast, + k_EInputActionOrigin_PS5_RightStick_Move, + k_EInputActionOrigin_PS5_RightStick_Click, + k_EInputActionOrigin_PS5_RightStick_DPadNorth, + k_EInputActionOrigin_PS5_RightStick_DPadSouth, + k_EInputActionOrigin_PS5_RightStick_DPadWest, + k_EInputActionOrigin_PS5_RightStick_DPadEast, + k_EInputActionOrigin_PS5_DPad_North, + k_EInputActionOrigin_PS5_DPad_South, + k_EInputActionOrigin_PS5_DPad_West, + k_EInputActionOrigin_PS5_DPad_East, + k_EInputActionOrigin_PS5_Gyro_Move, + k_EInputActionOrigin_PS5_Gyro_Pitch, + k_EInputActionOrigin_PS5_Gyro_Yaw, + k_EInputActionOrigin_PS5_Gyro_Roll, + k_EInputActionOrigin_PS5_DPad_Move, + k_EInputActionOrigin_PS5_LeftGrip, + k_EInputActionOrigin_PS5_RightGrip, + k_EInputActionOrigin_PS5_LeftFn, + k_EInputActionOrigin_PS5_RightFn, + k_EInputActionOrigin_PS5_Reserved5, + k_EInputActionOrigin_PS5_Reserved6, + k_EInputActionOrigin_PS5_Reserved7, + k_EInputActionOrigin_PS5_Reserved8, + k_EInputActionOrigin_PS5_Reserved9, + k_EInputActionOrigin_PS5_Reserved10, + k_EInputActionOrigin_PS5_Reserved11, + k_EInputActionOrigin_PS5_Reserved12, + k_EInputActionOrigin_PS5_Reserved13, + k_EInputActionOrigin_PS5_Reserved14, + k_EInputActionOrigin_PS5_Reserved15, + k_EInputActionOrigin_PS5_Reserved16, + k_EInputActionOrigin_PS5_Reserved17, + k_EInputActionOrigin_PS5_Reserved18, + k_EInputActionOrigin_PS5_Reserved19, + k_EInputActionOrigin_PS5_Reserved20, + + // Added in SDK 1.53 + k_EInputActionOrigin_SteamDeck_A, + k_EInputActionOrigin_SteamDeck_B, + k_EInputActionOrigin_SteamDeck_X, + k_EInputActionOrigin_SteamDeck_Y, + k_EInputActionOrigin_SteamDeck_L1, + k_EInputActionOrigin_SteamDeck_R1, + k_EInputActionOrigin_SteamDeck_Menu, + k_EInputActionOrigin_SteamDeck_View, + k_EInputActionOrigin_SteamDeck_LeftPad_Touch, + k_EInputActionOrigin_SteamDeck_LeftPad_Swipe, + k_EInputActionOrigin_SteamDeck_LeftPad_Click, + k_EInputActionOrigin_SteamDeck_LeftPad_DPadNorth, + k_EInputActionOrigin_SteamDeck_LeftPad_DPadSouth, + k_EInputActionOrigin_SteamDeck_LeftPad_DPadWest, + k_EInputActionOrigin_SteamDeck_LeftPad_DPadEast, + k_EInputActionOrigin_SteamDeck_RightPad_Touch, + k_EInputActionOrigin_SteamDeck_RightPad_Swipe, + k_EInputActionOrigin_SteamDeck_RightPad_Click, + k_EInputActionOrigin_SteamDeck_RightPad_DPadNorth, + k_EInputActionOrigin_SteamDeck_RightPad_DPadSouth, + k_EInputActionOrigin_SteamDeck_RightPad_DPadWest, + k_EInputActionOrigin_SteamDeck_RightPad_DPadEast, + k_EInputActionOrigin_SteamDeck_L2_SoftPull, + k_EInputActionOrigin_SteamDeck_L2, + k_EInputActionOrigin_SteamDeck_R2_SoftPull, + k_EInputActionOrigin_SteamDeck_R2, + k_EInputActionOrigin_SteamDeck_LeftStick_Move, + k_EInputActionOrigin_SteamDeck_L3, + k_EInputActionOrigin_SteamDeck_LeftStick_DPadNorth, + k_EInputActionOrigin_SteamDeck_LeftStick_DPadSouth, + k_EInputActionOrigin_SteamDeck_LeftStick_DPadWest, + k_EInputActionOrigin_SteamDeck_LeftStick_DPadEast, + k_EInputActionOrigin_SteamDeck_LeftStick_Touch, + k_EInputActionOrigin_SteamDeck_RightStick_Move, + k_EInputActionOrigin_SteamDeck_R3, + k_EInputActionOrigin_SteamDeck_RightStick_DPadNorth, + k_EInputActionOrigin_SteamDeck_RightStick_DPadSouth, + k_EInputActionOrigin_SteamDeck_RightStick_DPadWest, + k_EInputActionOrigin_SteamDeck_RightStick_DPadEast, + k_EInputActionOrigin_SteamDeck_RightStick_Touch, + k_EInputActionOrigin_SteamDeck_L4, + k_EInputActionOrigin_SteamDeck_R4, + k_EInputActionOrigin_SteamDeck_L5, + k_EInputActionOrigin_SteamDeck_R5, + k_EInputActionOrigin_SteamDeck_DPad_Move, + k_EInputActionOrigin_SteamDeck_DPad_North, + k_EInputActionOrigin_SteamDeck_DPad_South, + k_EInputActionOrigin_SteamDeck_DPad_West, + k_EInputActionOrigin_SteamDeck_DPad_East, + k_EInputActionOrigin_SteamDeck_Gyro_Move, + k_EInputActionOrigin_SteamDeck_Gyro_Pitch, + k_EInputActionOrigin_SteamDeck_Gyro_Yaw, + k_EInputActionOrigin_SteamDeck_Gyro_Roll, + k_EInputActionOrigin_SteamDeck_Reserved1, + k_EInputActionOrigin_SteamDeck_Reserved2, + k_EInputActionOrigin_SteamDeck_Reserved3, + k_EInputActionOrigin_SteamDeck_Reserved4, + k_EInputActionOrigin_SteamDeck_Reserved5, + k_EInputActionOrigin_SteamDeck_Reserved6, + k_EInputActionOrigin_SteamDeck_Reserved7, + k_EInputActionOrigin_SteamDeck_Reserved8, + k_EInputActionOrigin_SteamDeck_Reserved9, + k_EInputActionOrigin_SteamDeck_Reserved10, + k_EInputActionOrigin_SteamDeck_Reserved11, + k_EInputActionOrigin_SteamDeck_Reserved12, + k_EInputActionOrigin_SteamDeck_Reserved13, + k_EInputActionOrigin_SteamDeck_Reserved14, + k_EInputActionOrigin_SteamDeck_Reserved15, + k_EInputActionOrigin_SteamDeck_Reserved16, + k_EInputActionOrigin_SteamDeck_Reserved17, + k_EInputActionOrigin_SteamDeck_Reserved18, + k_EInputActionOrigin_SteamDeck_Reserved19, + k_EInputActionOrigin_SteamDeck_Reserved20, + + k_EInputActionOrigin_Count, // If Steam has added support for new controllers origins will go here. + k_EInputActionOrigin_MaximumPossibleValue = 32767, // Origins are currently a maximum of 16 bits. +}; + +enum EXboxOrigin +{ + k_EXboxOrigin_A, + k_EXboxOrigin_B, + k_EXboxOrigin_X, + k_EXboxOrigin_Y, + k_EXboxOrigin_LeftBumper, + k_EXboxOrigin_RightBumper, + k_EXboxOrigin_Menu, //Start + k_EXboxOrigin_View, //Back + k_EXboxOrigin_LeftTrigger_Pull, + k_EXboxOrigin_LeftTrigger_Click, + k_EXboxOrigin_RightTrigger_Pull, + k_EXboxOrigin_RightTrigger_Click, + k_EXboxOrigin_LeftStick_Move, + k_EXboxOrigin_LeftStick_Click, + k_EXboxOrigin_LeftStick_DPadNorth, + k_EXboxOrigin_LeftStick_DPadSouth, + k_EXboxOrigin_LeftStick_DPadWest, + k_EXboxOrigin_LeftStick_DPadEast, + k_EXboxOrigin_RightStick_Move, + k_EXboxOrigin_RightStick_Click, + k_EXboxOrigin_RightStick_DPadNorth, + k_EXboxOrigin_RightStick_DPadSouth, + k_EXboxOrigin_RightStick_DPadWest, + k_EXboxOrigin_RightStick_DPadEast, + k_EXboxOrigin_DPad_North, + k_EXboxOrigin_DPad_South, + k_EXboxOrigin_DPad_West, + k_EXboxOrigin_DPad_East, + k_EXboxOrigin_Count, +}; + +enum ESteamControllerPad +{ + k_ESteamControllerPad_Left, + k_ESteamControllerPad_Right +}; + +enum EControllerHapticLocation +{ + k_EControllerHapticLocation_Left = ( 1 << k_ESteamControllerPad_Left ), + k_EControllerHapticLocation_Right = ( 1 << k_ESteamControllerPad_Right ), + k_EControllerHapticLocation_Both = ( 1 << k_ESteamControllerPad_Left | 1 << k_ESteamControllerPad_Right ), +}; + +enum EControllerHapticType +{ + k_EControllerHapticType_Off, + k_EControllerHapticType_Tick, + k_EControllerHapticType_Click, +}; + +enum ESteamInputType +{ + k_ESteamInputType_Unknown, + k_ESteamInputType_SteamController, + k_ESteamInputType_XBox360Controller, + k_ESteamInputType_XBoxOneController, + k_ESteamInputType_GenericGamepad, // DirectInput controllers + k_ESteamInputType_PS4Controller, + k_ESteamInputType_AppleMFiController, // Unused + k_ESteamInputType_AndroidController, // Unused + k_ESteamInputType_SwitchJoyConPair, // Unused + k_ESteamInputType_SwitchJoyConSingle, // Unused + k_ESteamInputType_SwitchProController, + k_ESteamInputType_MobileTouch, // Steam Link App On-screen Virtual Controller + k_ESteamInputType_PS3Controller, // Currently uses PS4 Origins + k_ESteamInputType_PS5Controller, // Added in SDK 151 + k_ESteamInputType_SteamDeckController, // Added in SDK 153 + k_ESteamInputType_Count, + k_ESteamInputType_MaximumPossibleValue = 255, +}; + +// Individual values are used by the GetSessionInputConfigurationSettings bitmask +enum ESteamInputConfigurationEnableType +{ + k_ESteamInputConfigurationEnableType_None = 0x0000, + k_ESteamInputConfigurationEnableType_Playstation = 0x0001, + k_ESteamInputConfigurationEnableType_Xbox = 0x0002, + k_ESteamInputConfigurationEnableType_Generic = 0x0004, + k_ESteamInputConfigurationEnableType_Switch = 0x0008, +}; + +// These values are passed into SetLEDColor +enum ESteamInputLEDFlag +{ + k_ESteamInputLEDFlag_SetColor, + // Restore the LED color to the user's preference setting as set in the controller personalization menu. + // This also happens automatically on exit of your game. + k_ESteamInputLEDFlag_RestoreUserDefault +}; + +// These values are passed into GetGlyphPNGForActionOrigin +enum ESteamInputGlyphSize +{ + k_ESteamInputGlyphSize_Small, // 32x32 pixels + k_ESteamInputGlyphSize_Medium, // 128x128 pixels + k_ESteamInputGlyphSize_Large, // 256x256 pixels + k_ESteamInputGlyphSize_Count, +}; + +enum ESteamInputGlyphStyle +{ + // Base-styles - cannot mix + ESteamInputGlyphStyle_Knockout = 0x0, // Face buttons will have colored labels/outlines on a knocked out background + // Rest of inputs will have white detail/borders on a knocked out background + ESteamInputGlyphStyle_Light = 0x1, // Black detail/borders on a white background + ESteamInputGlyphStyle_Dark = 0x2, // White detail/borders on a black background + + // Modifiers + // Default ABXY/PS equivalent glyphs have a solid fill w/ color matching the physical buttons on the device + ESteamInputGlyphStyle_NeutralColorABXY = 0x10, // ABXY Buttons will match the base style color instead of their normal associated color + ESteamInputGlyphStyle_SolidABXY = 0x20, // ABXY Buttons will have a solid fill +}; + +enum ESteamInputActionEventType +{ + ESteamInputActionEventType_DigitalAction, + ESteamInputActionEventType_AnalogAction, +}; + +// InputHandle_t is used to refer to a specific controller. +// This handle will consistently identify a controller, even if it is disconnected and re-connected +typedef uint64 InputHandle_t; + +// These handles are used to refer to a specific in-game action or action set +// All action handles should be queried during initialization for performance reasons +typedef uint64 InputActionSetHandle_t; +typedef uint64 InputDigitalActionHandle_t; +typedef uint64 InputAnalogActionHandle_t; + +#pragma pack( push, 1 ) + +struct InputAnalogActionData_t +{ + // Type of data coming from this action, this will match what got specified in the action set + EInputSourceMode eMode; + + // The current state of this action; will be delta updates for mouse actions + float x, y; + + // Whether or not this action is currently available to be bound in the active action set + bool bActive; +}; + +struct InputDigitalActionData_t +{ + // The current state of this action; will be true if currently pressed + bool bState; + + // Whether or not this action is currently available to be bound in the active action set + bool bActive; +}; + +struct InputMotionData_t +{ + // Sensor-fused absolute rotation; will drift in heading toward average + float rotQuatX; + float rotQuatY; + float rotQuatZ; + float rotQuatW; + + // Positional acceleration + float posAccelX; + float posAccelY; + float posAccelZ; + + // Angular velocity + float rotVelX; + float rotVelY; + float rotVelZ; +}; + + +struct InputMotionDataV2_t +{ + // + // Gyro post processing: + // + + // Drift Corrected Quaternion is calculated after steam input controller calibration values have been applied. + // Rawest _useful_ version of a quaternion. + // Most camera implementations should use this by comparing last rotation against current rotation, and applying the difference to the in game camera (plus your own sensitivity tweaks) + // It is worth viewing + float driftCorrectedQuatX; + float driftCorrectedQuatY; + float driftCorrectedQuatZ; + float driftCorrectedQuatW; + + // Sensor fusion corrects using accelerometer, and "average forward over time" for "forward". + // This can "ouija" your aim, so it's not so appropriate for camera controls (sensor fusion was originally made for racing game steering ) + // Same result as from old InputMotionData_t::rotQuatX/Y/Z/W + float sensorFusionQuatX; + float sensorFusionQuatY; + float sensorFusionQuatZ; + float sensorFusionQuatW; + + // Deferred Sensor fusion quaternion with deferred correction + // Reduces perception of "ouija" effect by only applying correction when the controller is below "low noise" thresholds, + // while the controller rotates fast - never when the user is attempting precision aim. + float deferredSensorFusionQuatX; + float deferredSensorFusionQuatY; + float deferredSensorFusionQuatZ; + float deferredSensorFusionQuatW; + + // Same as accel but values are calibrated such that 1 unit = 1G. + // X = Right + // Y = Forward out through the joystick USB port. + // Z = Up through the joystick axis. + float gravityX; + float gravityY; + float gravityZ; + + // + // Same as rotVel values in GetMotionData but values are calibrated to degrees per second. + // Local Space (controller relative) + // X = Pitch = left to right axis + // Y = Roll = axis through charging port + // Z = Yaw = axis through sticks + float degreesPerSecondX; + float degreesPerSecondY; + float degreesPerSecondZ; + +}; + +//----------------------------------------------------------------------------- +// Purpose: when callbacks are enabled this fires each time a controller action +// state changes +//----------------------------------------------------------------------------- +struct SteamInputActionEvent_t +{ + InputHandle_t controllerHandle; + ESteamInputActionEventType eEventType; + struct AnalogAction_t { + InputAnalogActionHandle_t actionHandle; + InputAnalogActionData_t analogActionData; + }; + struct DigitalAction_t { + InputDigitalActionHandle_t actionHandle; + InputDigitalActionData_t digitalActionData; + }; + union { + AnalogAction_t analogAction; + DigitalAction_t digitalAction; + } x; +}; + +//----------------------------------------------------------------------------- +// Forward declaration for ScePadTriggerEffectParam, defined in isteamdualsense.h +//----------------------------------------------------------------------------- +struct ScePadTriggerEffectParam; + +#pragma pack( pop ) + +typedef void ( *SteamInputActionEventCallbackPointer )( SteamInputActionEvent_t * ); + +//----------------------------------------------------------------------------- +// Purpose: Steam Input API +//----------------------------------------------------------------------------- +class ISteamInput +{ +public: + + // Init and Shutdown must be called when starting/ending use of this interface. + // if bExplicitlyCallRunFrame is called then you will need to manually call RunFrame + // each frame, otherwise Steam Input will updated when SteamAPI_RunCallbacks() is called + virtual bool Init( bool bExplicitlyCallRunFrame ) = 0; + virtual bool Shutdown() = 0; + + // Set the absolute path to the Input Action Manifest file containing the in-game actions + // and file paths to the official configurations. Used in games that bundle Steam Input + // configurations inside of the game depot instead of using the Steam Workshop + virtual bool SetInputActionManifestFilePath( const char *pchInputActionManifestAbsolutePath ) = 0; + + // Synchronize API state with the latest Steam Input action data available. This + // is performed automatically by SteamAPI_RunCallbacks, but for the absolute lowest + // possible latency, you call this directly before reading controller state. + // Note: This must be called from somewhere before GetConnectedControllers will + // return any handles + virtual void RunFrame( bool bReservedValue = true ) = 0; + + // Waits on an IPC event from Steam sent when there is new data to be fetched from + // the data drop. Returns true when data was recievied before the timeout expires. + // Useful for games with a dedicated input thread + virtual bool BWaitForData( bool bWaitForever, uint32 unTimeout ) = 0; + + // Returns true if new data has been received since the last time action data was accessed + // via GetDigitalActionData or GetAnalogActionData. The game will still need to call + // SteamInput()->RunFrame() or SteamAPI_RunCallbacks() before this to update the data stream + virtual bool BNewDataAvailable() = 0; + + // Enumerate currently connected Steam Input enabled devices - developers can opt in controller by type (ex: Xbox/Playstation/etc) via + // the Steam Input settings in the Steamworks site or users can opt-in in their controller settings in Steam. + // handlesOut should point to a STEAM_INPUT_MAX_COUNT sized array of InputHandle_t handles + // Returns the number of handles written to handlesOut + virtual int GetConnectedControllers( STEAM_OUT_ARRAY_COUNT( STEAM_INPUT_MAX_COUNT, Receives list of connected controllers ) InputHandle_t *handlesOut ) = 0; + + //----------------------------------------------------------------------------- + // CALLBACKS + //----------------------------------------------------------------------------- + + // Controller configuration loaded - these callbacks will always fire if you have + // a handler. Note: this is called within either SteamInput()->RunFrame or by SteamAPI_RunCallbacks + STEAM_CALL_BACK( SteamInputConfigurationLoaded_t ) + + // Enable SteamInputDeviceConnected_t and SteamInputDeviceDisconnected_t callbacks. + // Each controller that is already connected will generate a device connected + // callback when you enable them + virtual void EnableDeviceCallbacks() = 0; + + // Controller Connected - provides info about a single newly connected controller + // Note: this is called within either SteamInput()->RunFrame or by SteamAPI_RunCallbacks + STEAM_CALL_BACK( SteamInputDeviceConnected_t ) + + // Controller Disconnected - provides info about a single disconnected controller + // Note: this is called within either SteamInput()->RunFrame or by SteamAPI_RunCallbacks + STEAM_CALL_BACK( SteamInputDeviceDisconnected_t ) + + // Controllers using Gamepad emulation (XInput, DirectInput, etc) will be seated in the order that + // input is sent by the device. This callback will fire on first input for each device and when the + // a user has manually changed the order via the Steam overlay. This also has the device type info + // so that you can change out glyph sets without making additional API calls + STEAM_CALL_BACK( SteamInputGamepadSlotChange_t ) + + // Enable SteamInputActionEvent_t callbacks. Directly calls your callback function + // for lower latency than standard Steam callbacks. Supports one callback at a time. + // Note: this is called within either SteamInput()->RunFrame or by SteamAPI_RunCallbacks + virtual void EnableActionEventCallbacks( SteamInputActionEventCallbackPointer pCallback ) = 0; + + //----------------------------------------------------------------------------- + // ACTION SETS + //----------------------------------------------------------------------------- + + // Lookup the handle for an Action Set. Best to do this once on startup, and store the handles for all future API calls. + virtual InputActionSetHandle_t GetActionSetHandle( const char *pszActionSetName ) = 0; + + // Reconfigure the controller to use the specified action set (ie 'Menu', 'Walk' or 'Drive') + // This is cheap, and can be safely called repeatedly. It's often easier to repeatedly call it in + // your state loops, instead of trying to place it in all of your state transitions. + virtual void ActivateActionSet( InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle ) = 0; + virtual InputActionSetHandle_t GetCurrentActionSet( InputHandle_t inputHandle ) = 0; + + // ACTION SET LAYERS + virtual void ActivateActionSetLayer( InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle ) = 0; + virtual void DeactivateActionSetLayer( InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle ) = 0; + virtual void DeactivateAllActionSetLayers( InputHandle_t inputHandle ) = 0; + + // Enumerate currently active layers. + // handlesOut should point to a STEAM_INPUT_MAX_ACTIVE_LAYERS sized array of InputActionSetHandle_t handles + // Returns the number of handles written to handlesOut + virtual int GetActiveActionSetLayers( InputHandle_t inputHandle, STEAM_OUT_ARRAY_COUNT( STEAM_INPUT_MAX_ACTIVE_LAYERS, Receives list of active layers ) InputActionSetHandle_t *handlesOut ) = 0; + + //----------------------------------------------------------------------------- + // ACTIONS + //----------------------------------------------------------------------------- + + // Lookup the handle for a digital action. Best to do this once on startup, and store the handles for all future API calls. + virtual InputDigitalActionHandle_t GetDigitalActionHandle( const char *pszActionName ) = 0; + + // Returns the current state of the supplied digital game action + virtual InputDigitalActionData_t GetDigitalActionData( InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle ) = 0; + + // Get the origin(s) for a digital action within an action set. Returns the number of origins supplied in originsOut. Use this to display the appropriate on-screen prompt for the action. + // originsOut should point to a STEAM_INPUT_MAX_ORIGINS sized array of EInputActionOrigin handles. The EInputActionOrigin enum will get extended as support for new controller controllers gets added to + // the Steam client and will exceed the values from this header, please check bounds if you are using a look up table. + virtual int GetDigitalActionOrigins( InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, STEAM_OUT_ARRAY_COUNT( STEAM_INPUT_MAX_ORIGINS, Receives list of action origins ) EInputActionOrigin *originsOut ) = 0; + + // Returns a localized string (from Steam's language setting) for the user-facing action name corresponding to the specified handle + virtual const char *GetStringForDigitalActionName( InputDigitalActionHandle_t eActionHandle ) = 0; + + // Lookup the handle for an analog action. Best to do this once on startup, and store the handles for all future API calls. + virtual InputAnalogActionHandle_t GetAnalogActionHandle( const char *pszActionName ) = 0; + + // Returns the current state of these supplied analog game action + virtual InputAnalogActionData_t GetAnalogActionData( InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle ) = 0; + + // Get the origin(s) for an analog action within an action set. Returns the number of origins supplied in originsOut. Use this to display the appropriate on-screen prompt for the action. + // originsOut should point to a STEAM_INPUT_MAX_ORIGINS sized array of EInputActionOrigin handles. The EInputActionOrigin enum will get extended as support for new controller controllers gets added to + // the Steam client and will exceed the values from this header, please check bounds if you are using a look up table. + virtual int GetAnalogActionOrigins( InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, STEAM_OUT_ARRAY_COUNT( STEAM_INPUT_MAX_ORIGINS, Receives list of action origins ) EInputActionOrigin *originsOut ) = 0; + + // Get a local path to a PNG file for the provided origin's glyph. + virtual const char *GetGlyphPNGForActionOrigin( EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags ) = 0; + + // Get a local path to a SVG file for the provided origin's glyph. + virtual const char *GetGlyphSVGForActionOrigin( EInputActionOrigin eOrigin, uint32 unFlags ) = 0; + + // Get a local path to an older, Big Picture Mode-style PNG file for a particular origin + virtual const char *GetGlyphForActionOrigin_Legacy( EInputActionOrigin eOrigin ) = 0; + + // Returns a localized string (from Steam's language setting) for the specified origin. + virtual const char *GetStringForActionOrigin( EInputActionOrigin eOrigin ) = 0; + + // Returns a localized string (from Steam's language setting) for the user-facing action name corresponding to the specified handle + virtual const char *GetStringForAnalogActionName( InputAnalogActionHandle_t eActionHandle ) = 0; + + // Stop analog momentum for the action if it is a mouse action in trackball mode + virtual void StopAnalogActionMomentum( InputHandle_t inputHandle, InputAnalogActionHandle_t eAction ) = 0; + + // Returns raw motion data from the specified device + virtual InputMotionData_t GetMotionData( InputHandle_t inputHandle ) = 0; + + //----------------------------------------------------------------------------- + // OUTPUTS + //----------------------------------------------------------------------------- + + // Trigger a vibration event on supported controllers - Steam will translate these commands into haptic pulses for Steam Controllers + virtual void TriggerVibration( InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed ) = 0; + + // Trigger a vibration event on supported controllers including Xbox trigger impulse rumble - Steam will translate these commands into haptic pulses for Steam Controllers + virtual void TriggerVibrationExtended( InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed ) = 0; + + // Send a haptic pulse, works on Steam Deck and Steam Controller devices + virtual void TriggerSimpleHapticEvent( InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB ) = 0; + + // Set the controller LED color on supported controllers. nFlags is a bitmask of values from ESteamInputLEDFlag - 0 will default to setting a color. Steam will handle + // the behavior on exit of your program so you don't need to try restore the default as you are shutting down + virtual void SetLEDColor( InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags ) = 0; + + // Trigger a haptic pulse on a Steam Controller - if you are approximating rumble you may want to use TriggerVibration instead. + // Good uses for Haptic pulses include chimes, noises, or directional gameplay feedback (taking damage, footstep locations, etc). + virtual void Legacy_TriggerHapticPulse( InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec ) = 0; + + // Trigger a haptic pulse with a duty cycle of usDurationMicroSec / usOffMicroSec, unRepeat times. If you are approximating rumble you may want to use TriggerVibration instead. + // nFlags is currently unused and reserved for future use. + virtual void Legacy_TriggerRepeatedHapticPulse( InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags ) = 0; + + //----------------------------------------------------------------------------- + // Utility functions available without using the rest of Steam Input API + //----------------------------------------------------------------------------- + + // Invokes the Steam overlay and brings up the binding screen if the user is using Big Picture Mode + // If the user is not in Big Picture Mode it will open up the binding in a new window + virtual bool ShowBindingPanel( InputHandle_t inputHandle ) = 0; + + // Returns the input type for a particular handle - unlike EInputActionOrigin which update with Steam and may return unrecognized values + // ESteamInputType will remain static and only return valid values from your SDK version + virtual ESteamInputType GetInputTypeForHandle( InputHandle_t inputHandle ) = 0; + + // Returns the associated controller handle for the specified emulated gamepad - can be used with the above 2 functions + // to identify controllers presented to your game over Xinput. Returns 0 if the Xinput index isn't associated with Steam Input + virtual InputHandle_t GetControllerForGamepadIndex( int nIndex ) = 0; + + // Returns the associated gamepad index for the specified controller, if emulating a gamepad or -1 if not associated with an Xinput index + virtual int GetGamepadIndexForController( InputHandle_t ulinputHandle ) = 0; + + // Returns a localized string (from Steam's language setting) for the specified Xbox controller origin. + virtual const char *GetStringForXboxOrigin( EXboxOrigin eOrigin ) = 0; + + // Get a local path to art for on-screen glyph for a particular Xbox controller origin + virtual const char *GetGlyphForXboxOrigin( EXboxOrigin eOrigin ) = 0; + + // Get the equivalent ActionOrigin for a given Xbox controller origin this can be chained with GetGlyphForActionOrigin to provide future proof glyphs for + // non-Steam Input API action games. Note - this only translates the buttons directly and doesn't take into account any remapping a user has made in their configuration + virtual EInputActionOrigin GetActionOriginFromXboxOrigin( InputHandle_t inputHandle, EXboxOrigin eOrigin ) = 0; + + // Convert an origin to another controller type - for inputs not present on the other controller type this will return k_EInputActionOrigin_None + // When a new input type is added you will be able to pass in k_ESteamInputType_Unknown and the closest origin that your version of the SDK recognized will be returned + // ex: if a Playstation 5 controller was released this function would return Playstation 4 origins. + virtual EInputActionOrigin TranslateActionOrigin( ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin ) = 0; + + // Get the binding revision for a given device. Returns false if the handle was not valid or if a mapping is not yet loaded for the device + virtual bool GetDeviceBindingRevision( InputHandle_t inputHandle, int *pMajor, int *pMinor ) = 0; + + // Get the Steam Remote Play session ID associated with a device, or 0 if there is no session associated with it + // See isteamremoteplay.h for more information on Steam Remote Play sessions + virtual uint32 GetRemotePlaySessionID( InputHandle_t inputHandle ) = 0; + + // Get a bitmask of the Steam Input Configuration types opted in for the current session. Returns ESteamInputConfigurationEnableType values. + // Note: user can override the settings from the Steamworks Partner site so the returned values may not exactly match your default configuration + virtual uint16 GetSessionInputConfigurationSettings() = 0; + + // Set the trigger effect for a DualSense controller + virtual void SetDualSenseTriggerEffect( InputHandle_t inputHandle, const ScePadTriggerEffectParam *pParam ) = 0; +}; + +#define STEAMINPUT_INTERFACE_VERSION "SteamInput006" + +// Global interface accessor +inline ISteamInput *SteamInput(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamInput *, SteamInput, STEAMINPUT_INTERFACE_VERSION ); + +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +//----------------------------------------------------------------------------- +// Purpose: called when a new controller has been connected, will fire once +// per controller if multiple new controllers connect in the same frame +//----------------------------------------------------------------------------- +struct SteamInputDeviceConnected_t +{ + enum { k_iCallback = k_iSteamControllerCallbacks + 1 }; + InputHandle_t m_ulConnectedDeviceHandle; // Handle for device +}; + +//----------------------------------------------------------------------------- +// Purpose: called when a new controller has been connected, will fire once +// per controller if multiple new controllers connect in the same frame +//----------------------------------------------------------------------------- +struct SteamInputDeviceDisconnected_t +{ + enum { k_iCallback = k_iSteamControllerCallbacks + 2 }; + InputHandle_t m_ulDisconnectedDeviceHandle; // Handle for device +}; + +//----------------------------------------------------------------------------- +// Purpose: called when a controller configuration has been loaded, will fire once +// per controller per focus change for Steam Input enabled controllers +//----------------------------------------------------------------------------- +struct SteamInputConfigurationLoaded_t +{ + enum { k_iCallback = k_iSteamControllerCallbacks + 3 }; + AppId_t m_unAppID; + InputHandle_t m_ulDeviceHandle; // Handle for device + CSteamID m_ulMappingCreator; // May differ from local user when using + // an unmodified community or official config + uint32 m_unMajorRevision; // Binding revision from In-game Action File. + // Same value as queried by GetDeviceBindingRevision + uint32 m_unMinorRevision; + bool m_bUsesSteamInputAPI; // Does the configuration contain any Analog/Digital actions? + bool m_bUsesGamepadAPI; // Does the configuration contain any Xinput bindings? +}; + +//----------------------------------------------------------------------------- +// Purpose: called when controller gamepad slots change - on Linux/macOS these +// slots are shared for all running apps. +//----------------------------------------------------------------------------- +struct SteamInputGamepadSlotChange_t +{ + enum { k_iCallback = k_iSteamControllerCallbacks + 4 }; + AppId_t m_unAppID; + InputHandle_t m_ulDeviceHandle; // Handle for device + ESteamInputType m_eDeviceType; // Type of device + int m_nOldGamepadSlot; // Previous GamepadSlot - can be -1 controller doesn't uses gamepad bindings + int m_nNewGamepadSlot; // New Gamepad Slot - can be -1 controller doesn't uses gamepad bindings +}; + +#pragma pack( pop ) + +#endif // ISTEAMINPUT_H diff --git a/lsteamclient/steamworks_sdk_158/isteaminventory.h b/lsteamclient/steamworks_sdk_158/isteaminventory.h new file mode 100644 index 000000000..706659207 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteaminventory.h @@ -0,0 +1,435 @@ +//====== Copyright © 1996-2014 Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to Steam Inventory +// +//============================================================================= + +#ifndef ISTEAMINVENTORY_H +#define ISTEAMINVENTORY_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +// Every individual instance of an item has a globally-unique ItemInstanceID. +// This ID is unique to the combination of (player, specific item instance) +// and will not be transferred to another player or re-used for another item. +typedef uint64 SteamItemInstanceID_t; + +static const SteamItemInstanceID_t k_SteamItemInstanceIDInvalid = (SteamItemInstanceID_t)~0; + +// Types of items in your game are identified by a 32-bit "item definition number". +// Valid definition numbers are between 1 and 999999999; numbers less than or equal to +// zero are invalid, and numbers greater than or equal to one billion (1x10^9) are +// reserved for internal Steam use. +typedef int32 SteamItemDef_t; + + +enum ESteamItemFlags +{ + // Item status flags - these flags are permanently attached to specific item instances + k_ESteamItemNoTrade = 1 << 0, // This item is account-locked and cannot be traded or given away. + + // Action confirmation flags - these flags are set one time only, as part of a result set + k_ESteamItemRemoved = 1 << 8, // The item has been destroyed, traded away, expired, or otherwise invalidated + k_ESteamItemConsumed = 1 << 9, // The item quantity has been decreased by 1 via ConsumeItem API. + + // All other flag bits are currently reserved for internal Steam use at this time. + // Do not assume anything about the state of other flags which are not defined here. +}; + +struct SteamItemDetails_t +{ + SteamItemInstanceID_t m_itemId; + SteamItemDef_t m_iDefinition; + uint16 m_unQuantity; + uint16 m_unFlags; // see ESteamItemFlags +}; + +typedef int32 SteamInventoryResult_t; + +static const SteamInventoryResult_t k_SteamInventoryResultInvalid = -1; + +typedef uint64 SteamInventoryUpdateHandle_t; +const SteamInventoryUpdateHandle_t k_SteamInventoryUpdateHandleInvalid = 0xffffffffffffffffull; + +//----------------------------------------------------------------------------- +// Purpose: Steam Inventory query and manipulation API +//----------------------------------------------------------------------------- +class ISteamInventory +{ +public: + + // INVENTORY ASYNC RESULT MANAGEMENT + // + // Asynchronous inventory queries always output a result handle which can be used with + // GetResultStatus, GetResultItems, etc. A SteamInventoryResultReady_t callback will + // be triggered when the asynchronous result becomes ready (or fails). + // + + // Find out the status of an asynchronous inventory result handle. Possible values: + // k_EResultPending - still in progress + // k_EResultOK - done, result ready + // k_EResultExpired - done, result ready, maybe out of date (see DeserializeResult) + // k_EResultInvalidParam - ERROR: invalid API call parameters + // k_EResultServiceUnavailable - ERROR: service temporarily down, you may retry later + // k_EResultLimitExceeded - ERROR: operation would exceed per-user inventory limits + // k_EResultFail - ERROR: unknown / generic error + virtual EResult GetResultStatus( SteamInventoryResult_t resultHandle ) = 0; + + // Copies the contents of a result set into a flat array. The specific + // contents of the result set depend on which query which was used. + virtual bool GetResultItems( SteamInventoryResult_t resultHandle, + STEAM_OUT_ARRAY_COUNT( punOutItemsArraySize,Output array) SteamItemDetails_t *pOutItemsArray, + uint32 *punOutItemsArraySize ) = 0; + + // In combination with GetResultItems, you can use GetResultItemProperty to retrieve + // dynamic string properties for a given item returned in the result set. + // + // Property names are always composed of ASCII letters, numbers, and/or underscores. + // + // Pass a NULL pointer for pchPropertyName to get a comma - separated list of available + // property names. + // + // If pchValueBuffer is NULL, *punValueBufferSize will contain the + // suggested buffer size. Otherwise it will be the number of bytes actually copied + // to pchValueBuffer. If the results do not fit in the given buffer, partial + // results may be copied. + virtual bool GetResultItemProperty( SteamInventoryResult_t resultHandle, + uint32 unItemIndex, + const char *pchPropertyName, + STEAM_OUT_STRING_COUNT( punValueBufferSizeOut ) char *pchValueBuffer, uint32 *punValueBufferSizeOut ) = 0; + + // Returns the server time at which the result was generated. Compare against + // the value of IClientUtils::GetServerRealTime() to determine age. + virtual uint32 GetResultTimestamp( SteamInventoryResult_t resultHandle ) = 0; + + // Returns true if the result belongs to the target steam ID, false if the + // result does not. This is important when using DeserializeResult, to verify + // that a remote player is not pretending to have a different user's inventory. + virtual bool CheckResultSteamID( SteamInventoryResult_t resultHandle, CSteamID steamIDExpected ) = 0; + + // Destroys a result handle and frees all associated memory. + virtual void DestroyResult( SteamInventoryResult_t resultHandle ) = 0; + + + // INVENTORY ASYNC QUERY + // + + // Captures the entire state of the current user's Steam inventory. + // You must call DestroyResult on this handle when you are done with it. + // Returns false and sets *pResultHandle to zero if inventory is unavailable. + // Note: calls to this function are subject to rate limits and may return + // cached results if called too frequently. It is suggested that you call + // this function only when you are about to display the user's full inventory, + // or if you expect that the inventory may have changed. + virtual bool GetAllItems( SteamInventoryResult_t *pResultHandle ) = 0; + + + // Captures the state of a subset of the current user's Steam inventory, + // identified by an array of item instance IDs. The results from this call + // can be serialized and passed to other players to "prove" that the current + // user owns specific items, without exposing the user's entire inventory. + // For example, you could call GetItemsByID with the IDs of the user's + // currently equipped cosmetic items and serialize this to a buffer, and + // then transmit this buffer to other players upon joining a game. + virtual bool GetItemsByID( SteamInventoryResult_t *pResultHandle, STEAM_ARRAY_COUNT( unCountInstanceIDs ) const SteamItemInstanceID_t *pInstanceIDs, uint32 unCountInstanceIDs ) = 0; + + + // RESULT SERIALIZATION AND AUTHENTICATION + // + // Serialized result sets contain a short signature which can't be forged + // or replayed across different game sessions. A result set can be serialized + // on the local client, transmitted to other players via your game networking, + // and deserialized by the remote players. This is a secure way of preventing + // hackers from lying about posessing rare/high-value items. + + // Serializes a result set with signature bytes to an output buffer. Pass + // NULL as an output buffer to get the required size via punOutBufferSize. + // The size of a serialized result depends on the number items which are being + // serialized. When securely transmitting items to other players, it is + // recommended to use "GetItemsByID" first to create a minimal result set. + // Results have a built-in timestamp which will be considered "expired" after + // an hour has elapsed. See DeserializeResult for expiration handling. + virtual bool SerializeResult( SteamInventoryResult_t resultHandle, STEAM_OUT_BUFFER_COUNT(punOutBufferSize) void *pOutBuffer, uint32 *punOutBufferSize ) = 0; + + // Deserializes a result set and verifies the signature bytes. Returns false + // if bRequireFullOnlineVerify is set but Steam is running in Offline mode. + // Otherwise returns true and then delivers error codes via GetResultStatus. + // + // The bRESERVED_MUST_BE_FALSE flag is reserved for future use and should not + // be set to true by your game at this time. + // + // DeserializeResult has a potential soft-failure mode where the handle status + // is set to k_EResultExpired. GetResultItems() still succeeds in this mode. + // The "expired" result could indicate that the data may be out of date - not + // just due to timed expiration (one hour), but also because one of the items + // in the result set may have been traded or consumed since the result set was + // generated. You could compare the timestamp from GetResultTimestamp() to + // ISteamUtils::GetServerRealTime() to determine how old the data is. You could + // simply ignore the "expired" result code and continue as normal, or you + // could challenge the player with expired data to send an updated result set. + virtual bool DeserializeResult( SteamInventoryResult_t *pOutResultHandle, STEAM_BUFFER_COUNT(punOutBufferSize) const void *pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE = false ) = 0; + + + // INVENTORY ASYNC MODIFICATION + // + + // GenerateItems() creates one or more items and then generates a SteamInventoryCallback_t + // notification with a matching nCallbackContext parameter. This API is only intended + // for prototyping - it is only usable by Steam accounts that belong to the publisher group + // for your game. + // If punArrayQuantity is not NULL, it should be the same length as pArrayItems and should + // describe the quantity of each item to generate. + virtual bool GenerateItems( SteamInventoryResult_t *pResultHandle, STEAM_ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, STEAM_ARRAY_COUNT(unArrayLength) const uint32 *punArrayQuantity, uint32 unArrayLength ) = 0; + + // GrantPromoItems() checks the list of promotional items for which the user may be eligible + // and grants the items (one time only). On success, the result set will include items which + // were granted, if any. If no items were granted because the user isn't eligible for any + // promotions, this is still considered a success. + virtual bool GrantPromoItems( SteamInventoryResult_t *pResultHandle ) = 0; + + // AddPromoItem() / AddPromoItems() are restricted versions of GrantPromoItems(). Instead of + // scanning for all eligible promotional items, the check is restricted to a single item + // definition or set of item definitions. This can be useful if your game has custom UI for + // showing a specific promo item to the user. + virtual bool AddPromoItem( SteamInventoryResult_t *pResultHandle, SteamItemDef_t itemDef ) = 0; + virtual bool AddPromoItems( SteamInventoryResult_t *pResultHandle, STEAM_ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, uint32 unArrayLength ) = 0; + + // ConsumeItem() removes items from the inventory, permanently. They cannot be recovered. + // Not for the faint of heart - if your game implements item removal at all, a high-friction + // UI confirmation process is highly recommended. + virtual bool ConsumeItem( SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity ) = 0; + + // ExchangeItems() is an atomic combination of item generation and consumption. + // It can be used to implement crafting recipes or transmutations, or items which unpack + // themselves into other items (e.g., a chest). + // Exchange recipes are defined in the ItemDef, and explicitly list the required item + // types and resulting generated type. + // Exchange recipes are evaluated atomically by the Inventory Service; if the supplied + // components do not match the recipe, or do not contain sufficient quantity, the + // exchange will fail. + virtual bool ExchangeItems( SteamInventoryResult_t *pResultHandle, + STEAM_ARRAY_COUNT(unArrayGenerateLength) const SteamItemDef_t *pArrayGenerate, STEAM_ARRAY_COUNT(unArrayGenerateLength) const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength, + STEAM_ARRAY_COUNT(unArrayDestroyLength) const SteamItemInstanceID_t *pArrayDestroy, STEAM_ARRAY_COUNT(unArrayDestroyLength) const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength ) = 0; + + + // TransferItemQuantity() is intended for use with items which are "stackable" (can have + // quantity greater than one). It can be used to split a stack into two, or to transfer + // quantity from one stack into another stack of identical items. To split one stack into + // two, pass k_SteamItemInstanceIDInvalid for itemIdDest and a new item will be generated. + virtual bool TransferItemQuantity( SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest ) = 0; + + + // TIMED DROPS AND PLAYTIME CREDIT + // + + // Deprecated. Calling this method is not required for proper playtime accounting. + virtual void SendItemDropHeartbeat() = 0; + + // Playtime credit must be consumed and turned into item drops by your game. Only item + // definitions which are marked as "playtime item generators" can be spawned. The call + // will return an empty result set if there is not enough playtime credit for a drop. + // Your game should call TriggerItemDrop at an appropriate time for the user to receive + // new items, such as between rounds or while the player is dead. Note that players who + // hack their clients could modify the value of "dropListDefinition", so do not use it + // to directly control rarity. + // See your Steamworks configuration to set playtime drop rates for individual itemdefs. + // The client library will suppress too-frequent calls to this method. + virtual bool TriggerItemDrop( SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition ) = 0; + + + // Deprecated. This method is not supported. + virtual bool TradeItems( SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner, + STEAM_ARRAY_COUNT(nArrayGiveLength) const SteamItemInstanceID_t *pArrayGive, STEAM_ARRAY_COUNT(nArrayGiveLength) const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength, + STEAM_ARRAY_COUNT(nArrayGetLength) const SteamItemInstanceID_t *pArrayGet, STEAM_ARRAY_COUNT(nArrayGetLength) const uint32 *pArrayGetQuantity, uint32 nArrayGetLength ) = 0; + + + // ITEM DEFINITIONS + // + // Item definitions are a mapping of "definition IDs" (integers between 1 and 1000000) + // to a set of string properties. Some of these properties are required to display items + // on the Steam community web site. Other properties can be defined by applications. + // Use of these functions is optional; there is no reason to call LoadItemDefinitions + // if your game hardcodes the numeric definition IDs (eg, purple face mask = 20, blue + // weapon mod = 55) and does not allow for adding new item types without a client patch. + // + + // LoadItemDefinitions triggers the automatic load and refresh of item definitions. + // Every time new item definitions are available (eg, from the dynamic addition of new + // item types while players are still in-game), a SteamInventoryDefinitionUpdate_t + // callback will be fired. + virtual bool LoadItemDefinitions() = 0; + + // GetItemDefinitionIDs returns the set of all defined item definition IDs (which are + // defined via Steamworks configuration, and not necessarily contiguous integers). + // If pItemDefIDs is null, the call will return true and *punItemDefIDsArraySize will + // contain the total size necessary for a subsequent call. Otherwise, the call will + // return false if and only if there is not enough space in the output array. + virtual bool GetItemDefinitionIDs( + STEAM_OUT_ARRAY_COUNT(punItemDefIDsArraySize,List of item definition IDs) SteamItemDef_t *pItemDefIDs, + STEAM_DESC(Size of array is passed in and actual size used is returned in this param) uint32 *punItemDefIDsArraySize ) = 0; + + // GetItemDefinitionProperty returns a string property from a given item definition. + // Note that some properties (for example, "name") may be localized and will depend + // on the current Steam language settings (see ISteamApps::GetCurrentGameLanguage). + // Property names are always composed of ASCII letters, numbers, and/or underscores. + // Pass a NULL pointer for pchPropertyName to get a comma - separated list of available + // property names. If pchValueBuffer is NULL, *punValueBufferSize will contain the + // suggested buffer size. Otherwise it will be the number of bytes actually copied + // to pchValueBuffer. If the results do not fit in the given buffer, partial + // results may be copied. + virtual bool GetItemDefinitionProperty( SteamItemDef_t iDefinition, const char *pchPropertyName, + STEAM_OUT_STRING_COUNT(punValueBufferSizeOut) char *pchValueBuffer, uint32 *punValueBufferSizeOut ) = 0; + + // Request the list of "eligible" promo items that can be manually granted to the given + // user. These are promo items of type "manual" that won't be granted automatically. + // An example usage of this is an item that becomes available every week. + STEAM_CALL_RESULT( SteamInventoryEligiblePromoItemDefIDs_t ) + virtual SteamAPICall_t RequestEligiblePromoItemDefinitionsIDs( CSteamID steamID ) = 0; + + // After handling a SteamInventoryEligiblePromoItemDefIDs_t call result, use this + // function to pull out the list of item definition ids that the user can be + // manually granted via the AddPromoItems() call. + virtual bool GetEligiblePromoItemDefinitionIDs( + CSteamID steamID, + STEAM_OUT_ARRAY_COUNT(punItemDefIDsArraySize,List of item definition IDs) SteamItemDef_t *pItemDefIDs, + STEAM_DESC(Size of array is passed in and actual size used is returned in this param) uint32 *punItemDefIDsArraySize ) = 0; + + // Starts the purchase process for the given item definitions. The callback SteamInventoryStartPurchaseResult_t + // will be posted if Steam was able to initialize the transaction. + // + // Once the purchase has been authorized and completed by the user, the callback SteamInventoryResultReady_t + // will be posted. + STEAM_CALL_RESULT( SteamInventoryStartPurchaseResult_t ) + virtual SteamAPICall_t StartPurchase( STEAM_ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, STEAM_ARRAY_COUNT(unArrayLength) const uint32 *punArrayQuantity, uint32 unArrayLength ) = 0; + + // Request current prices for all applicable item definitions + STEAM_CALL_RESULT( SteamInventoryRequestPricesResult_t ) + virtual SteamAPICall_t RequestPrices() = 0; + + // Returns the number of items with prices. Need to call RequestPrices() first. + virtual uint32 GetNumItemsWithPrices() = 0; + + // Returns item definition ids and their prices in the user's local currency. + // Need to call RequestPrices() first. + virtual bool GetItemsWithPrices( STEAM_ARRAY_COUNT(unArrayLength) STEAM_OUT_ARRAY_COUNT(pArrayItemDefs, Items with prices) SteamItemDef_t *pArrayItemDefs, + STEAM_ARRAY_COUNT(unArrayLength) STEAM_OUT_ARRAY_COUNT(pPrices, List of prices for the given item defs) uint64 *pCurrentPrices, + STEAM_ARRAY_COUNT(unArrayLength) STEAM_OUT_ARRAY_COUNT(pPrices, List of prices for the given item defs) uint64 *pBasePrices, + uint32 unArrayLength ) = 0; + + // Retrieves the price for the item definition id + // Returns false if there is no price stored for the item definition. + virtual bool GetItemPrice( SteamItemDef_t iDefinition, uint64 *pCurrentPrice, uint64 *pBasePrice ) = 0; + + // Create a request to update properties on items + virtual SteamInventoryUpdateHandle_t StartUpdateProperties() = 0; + // Remove the property on the item + virtual bool RemoveProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName ) = 0; + // Accessor methods to set properties on items + + STEAM_FLAT_NAME( SetPropertyString ) + virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue ) = 0; + + STEAM_FLAT_NAME( SetPropertyBool ) + virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue ) = 0; + + STEAM_FLAT_NAME( SetPropertyInt64 ) + virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue ) = 0; + + STEAM_FLAT_NAME( SetPropertyFloat ) + virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue ) = 0; + + // Submit the update request by handle + virtual bool SubmitUpdateProperties( SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle ) = 0; + + virtual bool InspectItem( SteamInventoryResult_t *pResultHandle, const char *pchItemToken ) = 0; +}; + +#define STEAMINVENTORY_INTERFACE_VERSION "STEAMINVENTORY_INTERFACE_V003" + +// Global interface accessor +inline ISteamInventory *SteamInventory(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamInventory *, SteamInventory, STEAMINVENTORY_INTERFACE_VERSION ); + +// Global accessor for the gameserver client +inline ISteamInventory *SteamGameServerInventory(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamInventory *, SteamGameServerInventory, STEAMINVENTORY_INTERFACE_VERSION ); + +// SteamInventoryResultReady_t callbacks are fired whenever asynchronous +// results transition from "Pending" to "OK" or an error state. There will +// always be exactly one callback per handle. +struct SteamInventoryResultReady_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 0 }; + SteamInventoryResult_t m_handle; + EResult m_result; +}; + + +// SteamInventoryFullUpdate_t callbacks are triggered when GetAllItems +// successfully returns a result which is newer / fresher than the last +// known result. (It will not trigger if the inventory hasn't changed, +// or if results from two overlapping calls are reversed in flight and +// the earlier result is already known to be stale/out-of-date.) +// The normal ResultReady callback will still be triggered immediately +// afterwards; this is an additional notification for your convenience. +struct SteamInventoryFullUpdate_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 1 }; + SteamInventoryResult_t m_handle; +}; + + +// A SteamInventoryDefinitionUpdate_t callback is triggered whenever +// item definitions have been updated, which could be in response to +// LoadItemDefinitions() or any other async request which required +// a definition update in order to process results from the server. +struct SteamInventoryDefinitionUpdate_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 2 }; +}; + +// Returned +struct SteamInventoryEligiblePromoItemDefIDs_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 3 }; + EResult m_result; + CSteamID m_steamID; + int m_numEligiblePromoItemDefs; + bool m_bCachedData; // indicates that the data was retrieved from the cache and not the server +}; + +// Triggered from StartPurchase call +struct SteamInventoryStartPurchaseResult_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 4 }; + EResult m_result; + uint64 m_ulOrderID; + uint64 m_ulTransID; +}; + + +// Triggered from RequestPrices +struct SteamInventoryRequestPricesResult_t +{ + enum { k_iCallback = k_iSteamInventoryCallbacks + 5 }; + EResult m_result; + char m_rgchCurrency[4]; +}; + +#pragma pack( pop ) + + +#endif // ISTEAMCONTROLLER_H diff --git a/lsteamclient/steamworks_sdk_158/isteammatchmaking.h b/lsteamclient/steamworks_sdk_158/isteammatchmaking.h new file mode 100644 index 000000000..12189c72b --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteammatchmaking.h @@ -0,0 +1,1087 @@ +//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to steam managing game server/client match making +// +//============================================================================= + +#ifndef ISTEAMMATCHMAKING +#define ISTEAMMATCHMAKING +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "matchmakingtypes.h" +#include "isteamfriends.h" + +// lobby type description +enum ELobbyType +{ + k_ELobbyTypePrivate = 0, // only way to join the lobby is to invite to someone else + k_ELobbyTypeFriendsOnly = 1, // shows for friends or invitees, but not in lobby list + k_ELobbyTypePublic = 2, // visible for friends and in lobby list + k_ELobbyTypeInvisible = 3, // returned by search, but not visible to other friends + // useful if you want a user in two lobbies, for example matching groups together + // a user can be in only one regular lobby, and up to two invisible lobbies + k_ELobbyTypePrivateUnique = 4, // private, unique and does not delete when empty - only one of these may exist per unique keypair set + // can only create from webapi +}; + +// lobby search filter tools +enum ELobbyComparison +{ + k_ELobbyComparisonEqualToOrLessThan = -2, + k_ELobbyComparisonLessThan = -1, + k_ELobbyComparisonEqual = 0, + k_ELobbyComparisonGreaterThan = 1, + k_ELobbyComparisonEqualToOrGreaterThan = 2, + k_ELobbyComparisonNotEqual = 3, +}; + +// lobby search distance. Lobby results are sorted from closest to farthest. +enum ELobbyDistanceFilter +{ + k_ELobbyDistanceFilterClose, // only lobbies in the same immediate region will be returned + k_ELobbyDistanceFilterDefault, // only lobbies in the same region or near by regions + k_ELobbyDistanceFilterFar, // for games that don't have many latency requirements, will return lobbies about half-way around the globe + k_ELobbyDistanceFilterWorldwide, // no filtering, will match lobbies as far as India to NY (not recommended, expect multiple seconds of latency between the clients) +}; + +// maximum number of characters a lobby metadata key can be +#define k_nMaxLobbyKeyLength 255 + +//----------------------------------------------------------------------------- +// Purpose: Functions for match making services for clients to get to favorites +// and to operate on game lobbies. +//----------------------------------------------------------------------------- +class ISteamMatchmaking +{ +public: + // game server favorites storage + // saves basic details about a multiplayer game server locally + + // returns the number of favorites servers the user has stored + virtual int GetFavoriteGameCount() = 0; + + // returns the details of the game server + // iGame is of range [0,GetFavoriteGameCount()) + // *pnIP, *pnConnPort are filled in the with IP:port of the game server + // *punFlags specify whether the game server was stored as an explicit favorite or in the history of connections + // *pRTime32LastPlayedOnServer is filled in the with the Unix time the favorite was added + virtual bool GetFavoriteGame( int iGame, AppId_t *pnAppID, uint32 *pnIP, uint16 *pnConnPort, uint16 *pnQueryPort, uint32 *punFlags, uint32 *pRTime32LastPlayedOnServer ) = 0; + + // adds the game server to the local list; updates the time played of the server if it already exists in the list + virtual int AddFavoriteGame( AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer ) = 0; + + // removes the game server from the local storage; returns true if one was removed + virtual bool RemoveFavoriteGame( AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags ) = 0; + + /////// + // Game lobby functions + + // Get a list of relevant lobbies + // this is an asynchronous request + // results will be returned by LobbyMatchList_t callback & call result, with the number of lobbies found + // this will never return lobbies that are full + // to add more filter, the filter calls below need to be call before each and every RequestLobbyList() call + // use the CCallResult<> object in steam_api.h to match the SteamAPICall_t call result to a function in an object, e.g. + /* + class CMyLobbyListManager + { + CCallResult m_CallResultLobbyMatchList; + void FindLobbies() + { + // SteamMatchmaking()->AddRequestLobbyListFilter*() functions would be called here, before RequestLobbyList() + SteamAPICall_t hSteamAPICall = SteamMatchmaking()->RequestLobbyList(); + m_CallResultLobbyMatchList.Set( hSteamAPICall, this, &CMyLobbyListManager::OnLobbyMatchList ); + } + + void OnLobbyMatchList( LobbyMatchList_t *pLobbyMatchList, bool bIOFailure ) + { + // lobby list has be retrieved from Steam back-end, use results + } + } + */ + // + STEAM_CALL_RESULT( LobbyMatchList_t ) + virtual SteamAPICall_t RequestLobbyList() = 0; + // filters for lobbies + // this needs to be called before RequestLobbyList() to take effect + // these are cleared on each call to RequestLobbyList() + virtual void AddRequestLobbyListStringFilter( const char *pchKeyToMatch, const char *pchValueToMatch, ELobbyComparison eComparisonType ) = 0; + // numerical comparison + virtual void AddRequestLobbyListNumericalFilter( const char *pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType ) = 0; + // returns results closest to the specified value. Multiple near filters can be added, with early filters taking precedence + virtual void AddRequestLobbyListNearValueFilter( const char *pchKeyToMatch, int nValueToBeCloseTo ) = 0; + // returns only lobbies with the specified number of slots available + virtual void AddRequestLobbyListFilterSlotsAvailable( int nSlotsAvailable ) = 0; + // sets the distance for which we should search for lobbies (based on users IP address to location map on the Steam backed) + virtual void AddRequestLobbyListDistanceFilter( ELobbyDistanceFilter eLobbyDistanceFilter ) = 0; + // sets how many results to return, the lower the count the faster it is to download the lobby results & details to the client + virtual void AddRequestLobbyListResultCountFilter( int cMaxResults ) = 0; + + virtual void AddRequestLobbyListCompatibleMembersFilter( CSteamID steamIDLobby ) = 0; + + // returns the CSteamID of a lobby, as retrieved by a RequestLobbyList call + // should only be called after a LobbyMatchList_t callback is received + // iLobby is of the range [0, LobbyMatchList_t::m_nLobbiesMatching) + // the returned CSteamID::IsValid() will be false if iLobby is out of range + virtual CSteamID GetLobbyByIndex( int iLobby ) = 0; + + // Create a lobby on the Steam servers. + // If private, then the lobby will not be returned by any RequestLobbyList() call; the CSteamID + // of the lobby will need to be communicated via game channels or via InviteUserToLobby() + // this is an asynchronous request + // results will be returned by LobbyCreated_t callback and call result; lobby is joined & ready to use at this point + // a LobbyEnter_t callback will also be received (since the local user is joining their own lobby) + STEAM_CALL_RESULT( LobbyCreated_t ) + virtual SteamAPICall_t CreateLobby( ELobbyType eLobbyType, int cMaxMembers ) = 0; + + // Joins an existing lobby + // this is an asynchronous request + // results will be returned by LobbyEnter_t callback & call result, check m_EChatRoomEnterResponse to see if was successful + // lobby metadata is available to use immediately on this call completing + STEAM_CALL_RESULT( LobbyEnter_t ) + virtual SteamAPICall_t JoinLobby( CSteamID steamIDLobby ) = 0; + + // Leave a lobby; this will take effect immediately on the client side + // other users in the lobby will be notified by a LobbyChatUpdate_t callback + virtual void LeaveLobby( CSteamID steamIDLobby ) = 0; + + // Invite another user to the lobby + // the target user will receive a LobbyInvite_t callback + // will return true if the invite is successfully sent, whether or not the target responds + // returns false if the local user is not connected to the Steam servers + // if the other user clicks the join link, a GameLobbyJoinRequested_t will be posted if the user is in-game, + // or if the game isn't running yet the game will be launched with the parameter +connect_lobby <64-bit lobby id> + virtual bool InviteUserToLobby( CSteamID steamIDLobby, CSteamID steamIDInvitee ) = 0; + + // Lobby iteration, for viewing details of users in a lobby + // only accessible if the lobby user is a member of the specified lobby + // persona information for other lobby members (name, avatar, etc.) will be asynchronously received + // and accessible via ISteamFriends interface + + // returns the number of users in the specified lobby + virtual int GetNumLobbyMembers( CSteamID steamIDLobby ) = 0; + // returns the CSteamID of a user in the lobby + // iMember is of range [0,GetNumLobbyMembers()) + // note that the current user must be in a lobby to retrieve CSteamIDs of other users in that lobby + virtual CSteamID GetLobbyMemberByIndex( CSteamID steamIDLobby, int iMember ) = 0; + + // Get data associated with this lobby + // takes a simple key, and returns the string associated with it + // "" will be returned if no value is set, or if steamIDLobby is invalid + virtual const char *GetLobbyData( CSteamID steamIDLobby, const char *pchKey ) = 0; + // Sets a key/value pair in the lobby metadata + // each user in the lobby will be broadcast this new value, and any new users joining will receive any existing data + // this can be used to set lobby names, map, etc. + // to reset a key, just set it to "" + // other users in the lobby will receive notification of the lobby data change via a LobbyDataUpdate_t callback + virtual bool SetLobbyData( CSteamID steamIDLobby, const char *pchKey, const char *pchValue ) = 0; + + // returns the number of metadata keys set on the specified lobby + virtual int GetLobbyDataCount( CSteamID steamIDLobby ) = 0; + + // returns a lobby metadata key/values pair by index, of range [0, GetLobbyDataCount()) + virtual bool GetLobbyDataByIndex( CSteamID steamIDLobby, int iLobbyData, char *pchKey, int cchKeyBufferSize, char *pchValue, int cchValueBufferSize ) = 0; + + // removes a metadata key from the lobby + virtual bool DeleteLobbyData( CSteamID steamIDLobby, const char *pchKey ) = 0; + + // Gets per-user metadata for someone in this lobby + virtual const char *GetLobbyMemberData( CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey ) = 0; + // Sets per-user metadata (for the local user implicitly) + virtual void SetLobbyMemberData( CSteamID steamIDLobby, const char *pchKey, const char *pchValue ) = 0; + + // Broadcasts a chat message to the all the users in the lobby + // users in the lobby (including the local user) will receive a LobbyChatMsg_t callback + // returns true if the message is successfully sent + // pvMsgBody can be binary or text data, up to 4k + // if pvMsgBody is text, cubMsgBody should be strlen( text ) + 1, to include the null terminator + virtual bool SendLobbyChatMsg( CSteamID steamIDLobby, const void *pvMsgBody, int cubMsgBody ) = 0; + // Get a chat message as specified in a LobbyChatMsg_t callback + // iChatID is the LobbyChatMsg_t::m_iChatID value in the callback + // *pSteamIDUser is filled in with the CSteamID of the member + // *pvData is filled in with the message itself + // return value is the number of bytes written into the buffer + virtual int GetLobbyChatEntry( CSteamID steamIDLobby, int iChatID, STEAM_OUT_STRUCT() CSteamID *pSteamIDUser, void *pvData, int cubData, EChatEntryType *peChatEntryType ) = 0; + + // Refreshes metadata for a lobby you're not necessarily in right now + // you never do this for lobbies you're a member of, only if your + // this will send down all the metadata associated with a lobby + // this is an asynchronous call + // returns false if the local user is not connected to the Steam servers + // results will be returned by a LobbyDataUpdate_t callback + // if the specified lobby doesn't exist, LobbyDataUpdate_t::m_bSuccess will be set to false + virtual bool RequestLobbyData( CSteamID steamIDLobby ) = 0; + + // sets the game server associated with the lobby + // usually at this point, the users will join the specified game server + // either the IP/Port or the steamID of the game server has to be valid, depending on how you want the clients to be able to connect + virtual void SetLobbyGameServer( CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer ) = 0; + // returns the details of a game server set in a lobby - returns false if there is no game server set, or that lobby doesn't exist + virtual bool GetLobbyGameServer( CSteamID steamIDLobby, uint32 *punGameServerIP, uint16 *punGameServerPort, STEAM_OUT_STRUCT() CSteamID *psteamIDGameServer ) = 0; + + // set the limit on the # of users who can join the lobby + virtual bool SetLobbyMemberLimit( CSteamID steamIDLobby, int cMaxMembers ) = 0; + // returns the current limit on the # of users who can join the lobby; returns 0 if no limit is defined + virtual int GetLobbyMemberLimit( CSteamID steamIDLobby ) = 0; + + // updates which type of lobby it is + // only lobbies that are k_ELobbyTypePublic or k_ELobbyTypeInvisible, and are set to joinable, will be returned by RequestLobbyList() calls + virtual bool SetLobbyType( CSteamID steamIDLobby, ELobbyType eLobbyType ) = 0; + + // sets whether or not a lobby is joinable - defaults to true for a new lobby + // if set to false, no user can join, even if they are a friend or have been invited + virtual bool SetLobbyJoinable( CSteamID steamIDLobby, bool bLobbyJoinable ) = 0; + + // returns the current lobby owner + // you must be a member of the lobby to access this + // there always one lobby owner - if the current owner leaves, another user will become the owner + // it is possible (bur rare) to join a lobby just as the owner is leaving, thus entering a lobby with self as the owner + virtual CSteamID GetLobbyOwner( CSteamID steamIDLobby ) = 0; + + // changes who the lobby owner is + // you must be the lobby owner for this to succeed, and steamIDNewOwner must be in the lobby + // after completion, the local user will no longer be the owner + virtual bool SetLobbyOwner( CSteamID steamIDLobby, CSteamID steamIDNewOwner ) = 0; + + // link two lobbies for the purposes of checking player compatibility + // you must be the lobby owner of both lobbies + virtual bool SetLinkedLobby( CSteamID steamIDLobby, CSteamID steamIDLobbyDependent ) = 0; + +#ifdef _PS3 + // changes who the lobby owner is + // you must be the lobby owner for this to succeed, and steamIDNewOwner must be in the lobby + // after completion, the local user will no longer be the owner + virtual void CheckForPSNGameBootInvite( unsigned int iGameBootAttributes ) = 0; +#endif +}; +#define STEAMMATCHMAKING_INTERFACE_VERSION "SteamMatchMaking009" + +// Global interface accessor +inline ISteamMatchmaking *SteamMatchmaking(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamMatchmaking *, SteamMatchmaking, STEAMMATCHMAKING_INTERFACE_VERSION ); + +//----------------------------------------------------------------------------- +// Callback interfaces for server list functions (see ISteamMatchmakingServers below) +// +// The idea here is that your game code implements objects that implement these +// interfaces to receive callback notifications after calling asynchronous functions +// inside the ISteamMatchmakingServers() interface below. +// +// This is different than normal Steam callback handling due to the potentially +// large size of server lists. +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Typedef for handle type you will receive when requesting server list. +//----------------------------------------------------------------------------- +typedef void* HServerListRequest; + +//----------------------------------------------------------------------------- +// Purpose: Callback interface for receiving responses after a server list refresh +// or an individual server update. +// +// Since you get these callbacks after requesting full list refreshes you will +// usually implement this interface inside an object like CServerBrowser. If that +// object is getting destructed you should use ISteamMatchMakingServers()->CancelQuery() +// to cancel any in-progress queries so you don't get a callback into the destructed +// object and crash. +//----------------------------------------------------------------------------- +class ISteamMatchmakingServerListResponse +{ +public: + // Server has responded ok with updated data + virtual void ServerResponded( HServerListRequest hRequest, int iServer ) = 0; + + // Server has failed to respond + virtual void ServerFailedToRespond( HServerListRequest hRequest, int iServer ) = 0; + + // A list refresh you had initiated is now 100% completed + virtual void RefreshComplete( HServerListRequest hRequest, EMatchMakingServerResponse response ) = 0; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Callback interface for receiving responses after pinging an individual server +// +// These callbacks all occur in response to querying an individual server +// via the ISteamMatchmakingServers()->PingServer() call below. If you are +// destructing an object that implements this interface then you should call +// ISteamMatchmakingServers()->CancelServerQuery() passing in the handle to the query +// which is in progress. Failure to cancel in progress queries when destructing +// a callback handler may result in a crash when a callback later occurs. +//----------------------------------------------------------------------------- +class ISteamMatchmakingPingResponse +{ +public: + // Server has responded successfully and has updated data + virtual void ServerResponded( gameserveritem_t &server ) = 0; + + // Server failed to respond to the ping request + virtual void ServerFailedToRespond() = 0; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Callback interface for receiving responses after requesting details on +// who is playing on a particular server. +// +// These callbacks all occur in response to querying an individual server +// via the ISteamMatchmakingServers()->PlayerDetails() call below. If you are +// destructing an object that implements this interface then you should call +// ISteamMatchmakingServers()->CancelServerQuery() passing in the handle to the query +// which is in progress. Failure to cancel in progress queries when destructing +// a callback handler may result in a crash when a callback later occurs. +//----------------------------------------------------------------------------- +class ISteamMatchmakingPlayersResponse +{ +public: + // Got data on a new player on the server -- you'll get this callback once per player + // on the server which you have requested player data on. + virtual void AddPlayerToList( const char *pchName, int nScore, float flTimePlayed ) = 0; + + // The server failed to respond to the request for player details + virtual void PlayersFailedToRespond() = 0; + + // The server has finished responding to the player details request + // (ie, you won't get anymore AddPlayerToList callbacks) + virtual void PlayersRefreshComplete() = 0; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Callback interface for receiving responses after requesting rules +// details on a particular server. +// +// These callbacks all occur in response to querying an individual server +// via the ISteamMatchmakingServers()->ServerRules() call below. If you are +// destructing an object that implements this interface then you should call +// ISteamMatchmakingServers()->CancelServerQuery() passing in the handle to the query +// which is in progress. Failure to cancel in progress queries when destructing +// a callback handler may result in a crash when a callback later occurs. +//----------------------------------------------------------------------------- +class ISteamMatchmakingRulesResponse +{ +public: + // Got data on a rule on the server -- you'll get one of these per rule defined on + // the server you are querying + virtual void RulesResponded( const char *pchRule, const char *pchValue ) = 0; + + // The server failed to respond to the request for rule details + virtual void RulesFailedToRespond() = 0; + + // The server has finished responding to the rule details request + // (ie, you won't get anymore RulesResponded callbacks) + virtual void RulesRefreshComplete() = 0; +}; + + +//----------------------------------------------------------------------------- +// Typedef for handle type you will receive when querying details on an individual server. +//----------------------------------------------------------------------------- +typedef int HServerQuery; +const int HSERVERQUERY_INVALID = 0xffffffff; + +//----------------------------------------------------------------------------- +// Purpose: Functions for match making services for clients to get to game lists and details +//----------------------------------------------------------------------------- +class ISteamMatchmakingServers +{ +public: + // Request a new list of servers of a particular type. These calls each correspond to one of the EMatchMakingType values. + // Each call allocates a new asynchronous request object. + // Request object must be released by calling ReleaseRequest( hServerListRequest ) + virtual HServerListRequest RequestInternetServerList( AppId_t iApp, STEAM_ARRAY_COUNT(nFilters) MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + virtual HServerListRequest RequestLANServerList( AppId_t iApp, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + virtual HServerListRequest RequestFriendsServerList( AppId_t iApp, STEAM_ARRAY_COUNT(nFilters) MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + virtual HServerListRequest RequestFavoritesServerList( AppId_t iApp, STEAM_ARRAY_COUNT(nFilters) MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + virtual HServerListRequest RequestHistoryServerList( AppId_t iApp, STEAM_ARRAY_COUNT(nFilters) MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + virtual HServerListRequest RequestSpectatorServerList( AppId_t iApp, STEAM_ARRAY_COUNT(nFilters) MatchMakingKeyValuePair_t **ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse *pRequestServersResponse ) = 0; + + // Releases the asynchronous request object and cancels any pending query on it if there's a pending query in progress. + // RefreshComplete callback is not posted when request is released. + virtual void ReleaseRequest( HServerListRequest hServerListRequest ) = 0; + + /* the filter operation codes that go in the key part of MatchMakingKeyValuePair_t should be one of these: + + "map" + - Server passes the filter if the server is playing the specified map. + "gamedataand" + - Server passes the filter if the server's game data (ISteamGameServer::SetGameData) contains all of the + specified strings. The value field is a comma-delimited list of strings to match. + "gamedataor" + - Server passes the filter if the server's game data (ISteamGameServer::SetGameData) contains at least one of the + specified strings. The value field is a comma-delimited list of strings to match. + "gamedatanor" + - Server passes the filter if the server's game data (ISteamGameServer::SetGameData) does not contain any + of the specified strings. The value field is a comma-delimited list of strings to check. + "gametagsand" + - Server passes the filter if the server's game tags (ISteamGameServer::SetGameTags) contains all + of the specified strings. The value field is a comma-delimited list of strings to check. + "gametagsnor" + - Server passes the filter if the server's game tags (ISteamGameServer::SetGameTags) does not contain any + of the specified strings. The value field is a comma-delimited list of strings to check. + "and" (x1 && x2 && ... && xn) + "or" (x1 || x2 || ... || xn) + "nand" !(x1 && x2 && ... && xn) + "nor" !(x1 || x2 || ... || xn) + - Performs Boolean operation on the following filters. The operand to this filter specifies + the "size" of the Boolean inputs to the operation, in Key/value pairs. (The keyvalue + pairs must immediately follow, i.e. this is a prefix logical operator notation.) + In the simplest case where Boolean expressions are not nested, this is simply + the number of operands. + + For example, to match servers on a particular map or with a particular tag, would would + use these filters. + + ( server.map == "cp_dustbowl" || server.gametags.contains("payload") ) + "or", "2" + "map", "cp_dustbowl" + "gametagsand", "payload" + + If logical inputs are nested, then the operand specifies the size of the entire + "length" of its operands, not the number of immediate children. + + ( server.map == "cp_dustbowl" || ( server.gametags.contains("payload") && !server.gametags.contains("payloadrace") ) ) + "or", "4" + "map", "cp_dustbowl" + "and", "2" + "gametagsand", "payload" + "gametagsnor", "payloadrace" + + Unary NOT can be achieved using either "nand" or "nor" with a single operand. + + "addr" + - Server passes the filter if the server's query address matches the specified IP or IP:port. + "gameaddr" + - Server passes the filter if the server's game address matches the specified IP or IP:port. + + The following filter operations ignore the "value" part of MatchMakingKeyValuePair_t + + "dedicated" + - Server passes the filter if it passed true to SetDedicatedServer. + "secure" + - Server passes the filter if the server is VAC-enabled. + "notfull" + - Server passes the filter if the player count is less than the reported max player count. + "hasplayers" + - Server passes the filter if the player count is greater than zero. + "noplayers" + - Server passes the filter if it doesn't have any players. + "linux" + - Server passes the filter if it's a linux server + */ + + // Get details on a given server in the list, you can get the valid range of index + // values by calling GetServerCount(). You will also receive index values in + // ISteamMatchmakingServerListResponse::ServerResponded() callbacks + virtual gameserveritem_t *GetServerDetails( HServerListRequest hRequest, int iServer ) = 0; + + // Cancel an request which is operation on the given list type. You should call this to cancel + // any in-progress requests before destructing a callback object that may have been passed + // to one of the above list request calls. Not doing so may result in a crash when a callback + // occurs on the destructed object. + // Canceling a query does not release the allocated request handle. + // The request handle must be released using ReleaseRequest( hRequest ) + virtual void CancelQuery( HServerListRequest hRequest ) = 0; + + // Ping every server in your list again but don't update the list of servers + // Query callback installed when the server list was requested will be used + // again to post notifications and RefreshComplete, so the callback must remain + // valid until another RefreshComplete is called on it or the request + // is released with ReleaseRequest( hRequest ) + virtual void RefreshQuery( HServerListRequest hRequest ) = 0; + + // Returns true if the list is currently refreshing its server list + virtual bool IsRefreshing( HServerListRequest hRequest ) = 0; + + // How many servers in the given list, GetServerDetails above takes 0... GetServerCount() - 1 + virtual int GetServerCount( HServerListRequest hRequest ) = 0; + + // Refresh a single server inside of a query (rather than all the servers ) + virtual void RefreshServer( HServerListRequest hRequest, int iServer ) = 0; + + + //----------------------------------------------------------------------------- + // Queries to individual servers directly via IP/Port + //----------------------------------------------------------------------------- + + // Request updated ping time and other details from a single server + virtual HServerQuery PingServer( uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse *pRequestServersResponse ) = 0; + + // Request the list of players currently playing on a server + virtual HServerQuery PlayerDetails( uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse *pRequestServersResponse ) = 0; + + // Request the list of rules that the server is running (See ISteamGameServer::SetKeyValue() to set the rules server side) + virtual HServerQuery ServerRules( uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse *pRequestServersResponse ) = 0; + + // Cancel an outstanding Ping/Players/Rules query from above. You should call this to cancel + // any in-progress requests before destructing a callback object that may have been passed + // to one of the above calls to avoid crashing when callbacks occur. + virtual void CancelServerQuery( HServerQuery hServerQuery ) = 0; +}; +#define STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION "SteamMatchMakingServers002" + +// Global interface accessor +inline ISteamMatchmakingServers *SteamMatchmakingServers(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamMatchmakingServers *, SteamMatchmakingServers, STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION ); + +// game server flags +const uint32 k_unFavoriteFlagNone = 0x00; +const uint32 k_unFavoriteFlagFavorite = 0x01; // this game favorite entry is for the favorites list +const uint32 k_unFavoriteFlagHistory = 0x02; // this game favorite entry is for the history list + + +//----------------------------------------------------------------------------- +// Purpose: Used in ChatInfo messages - fields specific to a chat member - must fit in a uint32 +//----------------------------------------------------------------------------- +enum EChatMemberStateChange +{ + // Specific to joining / leaving the chatroom + k_EChatMemberStateChangeEntered = 0x0001, // This user has joined or is joining the chat room + k_EChatMemberStateChangeLeft = 0x0002, // This user has left or is leaving the chat room + k_EChatMemberStateChangeDisconnected = 0x0004, // User disconnected without leaving the chat first + k_EChatMemberStateChangeKicked = 0x0008, // User kicked + k_EChatMemberStateChangeBanned = 0x0010, // User kicked and banned +}; + +// returns true of the flags indicate that a user has been removed from the chat +#define BChatMemberStateChangeRemoved( rgfChatMemberStateChangeFlags ) ( rgfChatMemberStateChangeFlags & ( k_EChatMemberStateChangeDisconnected | k_EChatMemberStateChangeLeft | k_EChatMemberStateChangeKicked | k_EChatMemberStateChangeBanned ) ) + + + +//----------------------------------------------------------------------------- +// Purpose: Functions for match making services for clients to get to favorites +// and to operate on game lobbies. +//----------------------------------------------------------------------------- +class ISteamGameSearch +{ +public: + // ============================================================================================= + // Game Player APIs + + // a keyname and a list of comma separated values: one of which is must be found in order for the match to qualify + // fails if a search is currently in progress + virtual EGameSearchErrorCode_t AddGameSearchParams( const char *pchKeyToFind, const char *pchValuesToFind ) = 0; + + // all players in lobby enter the queue and await a SearchForGameNotificationCallback_t callback. fails if another search is currently in progress + // if not the owner of the lobby or search already in progress this call fails + // periodic callbacks will be sent as queue time estimates change + virtual EGameSearchErrorCode_t SearchForGameWithLobby( CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax ) = 0; + + // user enter the queue and await a SearchForGameNotificationCallback_t callback. fails if another search is currently in progress + // periodic callbacks will be sent as queue time estimates change + virtual EGameSearchErrorCode_t SearchForGameSolo( int nPlayerMin, int nPlayerMax ) = 0; + + // after receiving SearchForGameResultCallback_t, accept or decline the game + // multiple SearchForGameResultCallback_t will follow as players accept game until the host starts or cancels the game + virtual EGameSearchErrorCode_t AcceptGame() = 0; + virtual EGameSearchErrorCode_t DeclineGame() = 0; + + // after receiving GameStartedByHostCallback_t get connection details to server + virtual EGameSearchErrorCode_t RetrieveConnectionDetails( CSteamID steamIDHost, char *pchConnectionDetails, int cubConnectionDetails ) = 0; + + // leaves queue if still waiting + virtual EGameSearchErrorCode_t EndGameSearch() = 0; + + // ============================================================================================= + // Game Host APIs + + // a keyname and a list of comma separated values: all the values you allow + virtual EGameSearchErrorCode_t SetGameHostParams( const char *pchKey, const char *pchValue ) = 0; + + // set connection details for players once game is found so they can connect to this server + virtual EGameSearchErrorCode_t SetConnectionDetails( const char *pchConnectionDetails, int cubConnectionDetails ) = 0; + + // mark server as available for more players with nPlayerMin,nPlayerMax desired + // accept no lobbies with playercount greater than nMaxTeamSize + // the set of lobbies returned must be partitionable into teams of no more than nMaxTeamSize + // RequestPlayersForGameNotificationCallback_t callback will be sent when the search has started + // multple RequestPlayersForGameResultCallback_t callbacks will follow when players are found + virtual EGameSearchErrorCode_t RequestPlayersForGame( int nPlayerMin, int nPlayerMax, int nMaxTeamSize ) = 0; + + // accept the player list and release connection details to players + // players will only be given connection details and host steamid when this is called + // ( allows host to accept after all players confirm, some confirm, or none confirm. decision is entirely up to the host ) + virtual EGameSearchErrorCode_t HostConfirmGameStart( uint64 ullUniqueGameID ) = 0; + + // cancel request and leave the pool of game hosts looking for players + // if a set of players has already been sent to host, all players will receive SearchForGameHostFailedToConfirm_t + virtual EGameSearchErrorCode_t CancelRequestPlayersForGame() = 0; + + // submit a result for one player. does not end the game. ullUniqueGameID continues to describe this game + virtual EGameSearchErrorCode_t SubmitPlayerResult( uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult ) = 0; + + // ends the game. no further SubmitPlayerResults for ullUniqueGameID will be accepted + // any future requests will provide a new ullUniqueGameID + virtual EGameSearchErrorCode_t EndGame( uint64 ullUniqueGameID ) = 0; + +}; +#define STEAMGAMESEARCH_INTERFACE_VERSION "SteamMatchGameSearch001" + +// Global interface accessor +inline ISteamGameSearch *SteamGameSearch(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamGameSearch *, SteamGameSearch, STEAMGAMESEARCH_INTERFACE_VERSION ); + + +//----------------------------------------------------------------------------- +// Purpose: Functions for quickly creating a Party with friends or acquaintances, +// EG from chat rooms. +//----------------------------------------------------------------------------- +enum ESteamPartyBeaconLocationType +{ + k_ESteamPartyBeaconLocationType_Invalid = 0, + k_ESteamPartyBeaconLocationType_ChatGroup = 1, + + k_ESteamPartyBeaconLocationType_Max, +}; + + +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +struct SteamPartyBeaconLocation_t +{ + ESteamPartyBeaconLocationType m_eType; + uint64 m_ulLocationID; +}; + +enum ESteamPartyBeaconLocationData +{ + k_ESteamPartyBeaconLocationDataInvalid = 0, + k_ESteamPartyBeaconLocationDataName = 1, + k_ESteamPartyBeaconLocationDataIconURLSmall = 2, + k_ESteamPartyBeaconLocationDataIconURLMedium = 3, + k_ESteamPartyBeaconLocationDataIconURLLarge = 4, +}; + +class ISteamParties +{ +public: + + // ============================================================================================= + // Party Client APIs + + // Enumerate any active beacons for parties you may wish to join + virtual uint32 GetNumActiveBeacons() = 0; + virtual PartyBeaconID_t GetBeaconByIndex( uint32 unIndex ) = 0; + virtual bool GetBeaconDetails( PartyBeaconID_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, STEAM_OUT_STRUCT() SteamPartyBeaconLocation_t *pLocation, STEAM_OUT_STRING_COUNT(cchMetadata) char *pchMetadata, int cchMetadata ) = 0; + + // Join an open party. Steam will reserve one beacon slot for your SteamID, + // and return the necessary JoinGame string for you to use to connect + STEAM_CALL_RESULT( JoinPartyCallback_t ) + virtual SteamAPICall_t JoinParty( PartyBeaconID_t ulBeaconID ) = 0; + + // ============================================================================================= + // Party Host APIs + + // Get a list of possible beacon locations + virtual bool GetNumAvailableBeaconLocations( uint32 *puNumLocations ) = 0; + virtual bool GetAvailableBeaconLocations( SteamPartyBeaconLocation_t *pLocationList, uint32 uMaxNumLocations ) = 0; + + // Create a new party beacon and activate it in the selected location. + // unOpenSlots is the maximum number of users that Steam will send to you. + // When people begin responding to your beacon, Steam will send you + // PartyReservationCallback_t callbacks to let you know who is on the way. + STEAM_CALL_RESULT( CreateBeaconCallback_t ) + virtual SteamAPICall_t CreateBeacon( uint32 unOpenSlots, SteamPartyBeaconLocation_t *pBeaconLocation, const char *pchConnectString, const char *pchMetadata ) = 0; + + // Call this function when a user that had a reservation (see callback below) + // has successfully joined your party. + // Steam will manage the remaining open slots automatically. + virtual void OnReservationCompleted( PartyBeaconID_t ulBeacon, CSteamID steamIDUser ) = 0; + + // To cancel a reservation (due to timeout or user input), call this. + // Steam will open a new reservation slot. + // Note: The user may already be in-flight to your game, so it's possible they will still connect and try to join your party. + virtual void CancelReservation( PartyBeaconID_t ulBeacon, CSteamID steamIDUser ) = 0; + + // Change the number of open beacon reservation slots. + // Call this if, for example, someone without a reservation joins your party (eg a friend, or via your own matchmaking system). + STEAM_CALL_RESULT( ChangeNumOpenSlotsCallback_t ) + virtual SteamAPICall_t ChangeNumOpenSlots( PartyBeaconID_t ulBeacon, uint32 unOpenSlots ) = 0; + + // Turn off the beacon. + virtual bool DestroyBeacon( PartyBeaconID_t ulBeacon ) = 0; + + // Utils + virtual bool GetBeaconLocationData( SteamPartyBeaconLocation_t BeaconLocation, ESteamPartyBeaconLocationData eData, STEAM_OUT_STRING_COUNT(cchDataStringOut) char *pchDataStringOut, int cchDataStringOut ) = 0; + +}; +#define STEAMPARTIES_INTERFACE_VERSION "SteamParties002" + +// Global interface accessor +inline ISteamParties *SteamParties(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamParties *, SteamParties, STEAMPARTIES_INTERFACE_VERSION ); + + +//----------------------------------------------------------------------------- +// Callbacks for ISteamMatchmaking (which go through the regular Steam callback registration system) + +//----------------------------------------------------------------------------- +// Purpose: a server was added/removed from the favorites list, you should refresh now +//----------------------------------------------------------------------------- +struct FavoritesListChanged_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 2 }; + uint32 m_nIP; // an IP of 0 means reload the whole list, any other value means just one server + uint32 m_nQueryPort; + uint32 m_nConnPort; + uint32 m_nAppID; + uint32 m_nFlags; + bool m_bAdd; // true if this is adding the entry, otherwise it is a remove + AccountID_t m_unAccountId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Someone has invited you to join a Lobby +// normally you don't need to do anything with this, since +// the Steam UI will also display a ' has invited you to the lobby, join?' dialog +// +// if the user outside a game chooses to join, your game will be launched with the parameter "+connect_lobby <64-bit lobby id>", +// or with the callback GameLobbyJoinRequested_t if they're already in-game +//----------------------------------------------------------------------------- +struct LobbyInvite_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 3 }; + + uint64 m_ulSteamIDUser; // Steam ID of the person making the invite + uint64 m_ulSteamIDLobby; // Steam ID of the Lobby + uint64 m_ulGameID; // GameID of the Lobby +}; + + +//----------------------------------------------------------------------------- +// Purpose: Sent on entering a lobby, or on failing to enter +// m_EChatRoomEnterResponse will be set to k_EChatRoomEnterResponseSuccess on success, +// or a higher value on failure (see enum EChatRoomEnterResponse) +//----------------------------------------------------------------------------- +struct LobbyEnter_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 4 }; + + uint64 m_ulSteamIDLobby; // SteamID of the Lobby you have entered + uint32 m_rgfChatPermissions; // Permissions of the current user + bool m_bLocked; // If true, then only invited users may join + uint32 m_EChatRoomEnterResponse; // EChatRoomEnterResponse +}; + + +//----------------------------------------------------------------------------- +// Purpose: The lobby metadata has changed +// if m_ulSteamIDMember is the steamID of a lobby member, use GetLobbyMemberData() to access per-user details +// if m_ulSteamIDMember == m_ulSteamIDLobby, use GetLobbyData() to access lobby metadata +//----------------------------------------------------------------------------- +struct LobbyDataUpdate_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 5 }; + + uint64 m_ulSteamIDLobby; // steamID of the Lobby + uint64 m_ulSteamIDMember; // steamID of the member whose data changed, or the room itself + uint8 m_bSuccess; // true if we lobby data was successfully changed; + // will only be false if RequestLobbyData() was called on a lobby that no longer exists +}; + + +//----------------------------------------------------------------------------- +// Purpose: The lobby chat room state has changed +// this is usually sent when a user has joined or left the lobby +//----------------------------------------------------------------------------- +struct LobbyChatUpdate_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 6 }; + + uint64 m_ulSteamIDLobby; // Lobby ID + uint64 m_ulSteamIDUserChanged; // user who's status in the lobby just changed - can be recipient + uint64 m_ulSteamIDMakingChange; // Chat member who made the change (different from SteamIDUserChange if kicking, muting, etc.) + // for example, if one user kicks another from the lobby, this will be set to the id of the user who initiated the kick + uint32 m_rgfChatMemberStateChange; // bitfield of EChatMemberStateChange values +}; + + +//----------------------------------------------------------------------------- +// Purpose: A chat message for this lobby has been sent +// use GetLobbyChatEntry( m_iChatID ) to retrieve the contents of this message +//----------------------------------------------------------------------------- +struct LobbyChatMsg_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 7 }; + + uint64 m_ulSteamIDLobby; // the lobby id this is in + uint64 m_ulSteamIDUser; // steamID of the user who has sent this message + uint8 m_eChatEntryType; // type of message + uint32 m_iChatID; // index of the chat entry to lookup +}; + + +//----------------------------------------------------------------------------- +// Purpose: A game created a game for all the members of the lobby to join, +// as triggered by a SetLobbyGameServer() +// it's up to the individual clients to take action on this; the usual +// game behavior is to leave the lobby and connect to the specified game server +//----------------------------------------------------------------------------- +struct LobbyGameCreated_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 9 }; + + uint64 m_ulSteamIDLobby; // the lobby we were in + uint64 m_ulSteamIDGameServer; // the new game server that has been created or found for the lobby members + uint32 m_unIP; // IP & Port of the game server (if any) + uint16 m_usPort; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Number of matching lobbies found +// iterate the returned lobbies with GetLobbyByIndex(), from values 0 to m_nLobbiesMatching-1 +//----------------------------------------------------------------------------- +struct LobbyMatchList_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 10 }; + uint32 m_nLobbiesMatching; // Number of lobbies that matched search criteria and we have SteamIDs for +}; + + +//----------------------------------------------------------------------------- +// Purpose: posted if a user is forcefully removed from a lobby +// can occur if a user loses connection to Steam +//----------------------------------------------------------------------------- +struct LobbyKicked_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 12 }; + uint64 m_ulSteamIDLobby; // Lobby + uint64 m_ulSteamIDAdmin; // User who kicked you - possibly the ID of the lobby itself + uint8 m_bKickedDueToDisconnect; // true if you were kicked from the lobby due to the user losing connection to Steam (currently always true) +}; + + +//----------------------------------------------------------------------------- +// Purpose: Result of our request to create a Lobby +// m_eResult == k_EResultOK on success +// at this point, the lobby has been joined and is ready for use +// a LobbyEnter_t callback will also be received (since the local user is joining their own lobby) +//----------------------------------------------------------------------------- +struct LobbyCreated_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 13 }; + + EResult m_eResult; // k_EResultOK - the lobby was successfully created + // k_EResultNoConnection - your Steam client doesn't have a connection to the back-end + // k_EResultTimeout - you the message to the Steam servers, but it didn't respond + // k_EResultFail - the server responded, but with an unknown internal error + // k_EResultAccessDenied - your game isn't set to allow lobbies, or your client does haven't rights to play the game + // k_EResultLimitExceeded - your game client has created too many lobbies + + uint64 m_ulSteamIDLobby; // chat room, zero if failed +}; + +// used by now obsolete RequestFriendsLobbiesResponse_t +// enum { k_iCallback = k_iSteamMatchmakingCallbacks + 14 }; + + +//----------------------------------------------------------------------------- +// Purpose: Result of CheckForPSNGameBootInvite +// m_eResult == k_EResultOK on success +// at this point, the local user may not have finishing joining this lobby; +// game code should wait until the subsequent LobbyEnter_t callback is received +//----------------------------------------------------------------------------- +struct PSNGameBootInviteResult_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 15 }; + + bool m_bGameBootInviteExists; + CSteamID m_steamIDLobby; // Should be valid if m_bGameBootInviteExists == true +}; + + +//----------------------------------------------------------------------------- +// Purpose: Result of our request to create a Lobby +// m_eResult == k_EResultOK on success +// at this point, the lobby has been joined and is ready for use +// a LobbyEnter_t callback will also be received (since the local user is joining their own lobby) +//----------------------------------------------------------------------------- +struct FavoritesListAccountsUpdated_t +{ + enum { k_iCallback = k_iSteamMatchmakingCallbacks + 16 }; + + EResult m_eResult; +}; + + + +//----------------------------------------------------------------------------- +// Callbacks for ISteamGameSearch (which go through the regular Steam callback registration system) + +struct SearchForGameProgressCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 1 }; + + uint64 m_ullSearchID; // all future callbacks referencing this search will include this Search ID + + EResult m_eResult; // if search has started this result will be k_EResultOK, any other value indicates search has failed to start or has terminated + CSteamID m_lobbyID; // lobby ID if lobby search, invalid steamID otherwise + CSteamID m_steamIDEndedSearch; // if search was terminated, steamID that terminated search + + int32 m_nSecondsRemainingEstimate; + int32 m_cPlayersSearching; +}; + +// notification to all players searching that a game has been found +struct SearchForGameResultCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 2 }; + + uint64 m_ullSearchID; + + EResult m_eResult; // if game/host was lost this will be an error value + + // if m_bGameFound is true the following are non-zero + int32 m_nCountPlayersInGame; + int32 m_nCountAcceptedGame; + // if m_steamIDHost is valid the host has started the game + CSteamID m_steamIDHost; + bool m_bFinalCallback; +}; + + +//----------------------------------------------------------------------------- +// ISteamGameSearch : Game Host API callbacks + +// callback from RequestPlayersForGame when the matchmaking service has started or ended search +// callback will also follow a call from CancelRequestPlayersForGame - m_bSearchInProgress will be false +struct RequestPlayersForGameProgressCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 11 }; + + EResult m_eResult; // m_ullSearchID will be non-zero if this is k_EResultOK + uint64 m_ullSearchID; // all future callbacks referencing this search will include this Search ID +}; + +// callback from RequestPlayersForGame +// one of these will be sent per player +// followed by additional callbacks when players accept or decline the game +struct RequestPlayersForGameResultCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 12 }; + + EResult m_eResult; // m_ullSearchID will be non-zero if this is k_EResultOK + uint64 m_ullSearchID; + + CSteamID m_SteamIDPlayerFound; // player steamID + CSteamID m_SteamIDLobby; // if the player is in a lobby, the lobby ID + enum PlayerAcceptState_t + { + k_EStateUnknown = 0, + k_EStatePlayerAccepted = 1, + k_EStatePlayerDeclined = 2, + }; + PlayerAcceptState_t m_ePlayerAcceptState; + int32 m_nPlayerIndex; + int32 m_nTotalPlayersFound; // expect this many callbacks at minimum + int32 m_nTotalPlayersAcceptedGame; + int32 m_nSuggestedTeamIndex; + uint64 m_ullUniqueGameID; +}; + + +struct RequestPlayersForGameFinalResultCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 13 }; + + EResult m_eResult; + uint64 m_ullSearchID; + uint64 m_ullUniqueGameID; +}; + + + +// this callback confirms that results were received by the matchmaking service for this player +struct SubmitPlayerResultResultCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 14 }; + + EResult m_eResult; + uint64 ullUniqueGameID; + CSteamID steamIDPlayer; +}; + + +// this callback confirms that the game is recorded as complete on the matchmaking service +// the next call to RequestPlayersForGame will generate a new unique game ID +struct EndGameResultCallback_t +{ + enum { k_iCallback = k_iSteamGameSearchCallbacks + 15 }; + + EResult m_eResult; + uint64 ullUniqueGameID; +}; + + +// Steam has responded to the user request to join a party via the given Beacon ID. +// If successful, the connect string contains game-specific instructions to connect +// to the game with that party. +struct JoinPartyCallback_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 1 }; + + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; + CSteamID m_SteamIDBeaconOwner; + char m_rgchConnectString[256]; +}; + +// Response to CreateBeacon request. If successful, the beacon ID is provided. +struct CreateBeaconCallback_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 2 }; + + EResult m_eResult; + PartyBeaconID_t m_ulBeaconID; +}; + +// Someone has used the beacon to join your party - they are in-flight now +// and we've reserved one of the open slots for them. +// You should confirm when they join your party by calling OnReservationCompleted(). +// Otherwise, Steam may timeout their reservation eventually. +struct ReservationNotificationCallback_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 3 }; + + PartyBeaconID_t m_ulBeaconID; + CSteamID m_steamIDJoiner; +}; + +// Response to ChangeNumOpenSlots call +struct ChangeNumOpenSlotsCallback_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 4 }; + + EResult m_eResult; +}; + +// The list of possible Party beacon locations has changed +struct AvailableBeaconLocationsUpdated_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 5 }; +}; + +// The list of active beacons may have changed +struct ActiveBeaconsUpdated_t +{ + enum { k_iCallback = k_iSteamPartiesCallbacks + 6 }; +}; + + +#pragma pack( pop ) + + +#endif // ISTEAMMATCHMAKING diff --git a/lsteamclient/steamworks_sdk_158/isteammusic.h b/lsteamclient/steamworks_sdk_158/isteammusic.h new file mode 100644 index 000000000..ffa49a089 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteammusic.h @@ -0,0 +1,71 @@ +//============ Copyright (c) Valve Corporation, All rights reserved. ============ + +#ifndef ISTEAMMUSIC_H +#define ISTEAMMUSIC_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +enum AudioPlayback_Status +{ + AudioPlayback_Undefined = 0, + AudioPlayback_Playing = 1, + AudioPlayback_Paused = 2, + AudioPlayback_Idle = 3 +}; + + +//----------------------------------------------------------------------------- +// Purpose: Functions to control music playback in the steam client +//----------------------------------------------------------------------------- +class ISteamMusic +{ +public: + virtual bool BIsEnabled() = 0; + virtual bool BIsPlaying() = 0; + + virtual AudioPlayback_Status GetPlaybackStatus() = 0; + + virtual void Play() = 0; + virtual void Pause() = 0; + virtual void PlayPrevious() = 0; + virtual void PlayNext() = 0; + + // volume is between 0.0 and 1.0 + virtual void SetVolume( float flVolume ) = 0; + virtual float GetVolume() = 0; + +}; + +#define STEAMMUSIC_INTERFACE_VERSION "STEAMMUSIC_INTERFACE_VERSION001" + +// Global interface accessor +inline ISteamMusic *SteamMusic(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamMusic *, SteamMusic, STEAMMUSIC_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +STEAM_CALLBACK_BEGIN( PlaybackStatusHasChanged_t, k_iSteamMusicCallbacks + 1 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( VolumeHasChanged_t, k_iSteamMusicCallbacks + 2 ) + STEAM_CALLBACK_MEMBER( 0, float, m_flNewVolume ) +STEAM_CALLBACK_END(1) + +#pragma pack( pop ) + + +#endif // #define ISTEAMMUSIC_H diff --git a/lsteamclient/steamworks_sdk_158/isteammusicremote.h b/lsteamclient/steamworks_sdk_158/isteammusicremote.h new file mode 100644 index 000000000..a36f4f873 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteammusicremote.h @@ -0,0 +1,133 @@ +//============ Copyright (c) Valve Corporation, All rights reserved. ============ + +#ifndef ISTEAMMUSICREMOTE_H +#define ISTEAMMUSICREMOTE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "isteammusic.h" + +#define k_SteamMusicNameMaxLength 255 +#define k_SteamMusicPNGMaxLength 65535 + + +class ISteamMusicRemote +{ +public: + // Service Definition + virtual bool RegisterSteamMusicRemote( const char *pchName ) = 0; + virtual bool DeregisterSteamMusicRemote() = 0; + virtual bool BIsCurrentMusicRemote() = 0; + virtual bool BActivationSuccess( bool bValue ) = 0; + + virtual bool SetDisplayName( const char *pchDisplayName ) = 0; + virtual bool SetPNGIcon_64x64( void *pvBuffer, uint32 cbBufferLength ) = 0; + + // Abilities for the user interface + virtual bool EnablePlayPrevious(bool bValue) = 0; + virtual bool EnablePlayNext( bool bValue ) = 0; + virtual bool EnableShuffled( bool bValue ) = 0; + virtual bool EnableLooped( bool bValue ) = 0; + virtual bool EnableQueue( bool bValue ) = 0; + virtual bool EnablePlaylists( bool bValue ) = 0; + + // Status + virtual bool UpdatePlaybackStatus( AudioPlayback_Status nStatus ) = 0; + virtual bool UpdateShuffled( bool bValue ) = 0; + virtual bool UpdateLooped( bool bValue ) = 0; + virtual bool UpdateVolume( float flValue ) = 0; // volume is between 0.0 and 1.0 + + // Current Entry + virtual bool CurrentEntryWillChange() = 0; + virtual bool CurrentEntryIsAvailable( bool bAvailable ) = 0; + virtual bool UpdateCurrentEntryText( const char *pchText ) = 0; + virtual bool UpdateCurrentEntryElapsedSeconds( int nValue ) = 0; + virtual bool UpdateCurrentEntryCoverArt( void *pvBuffer, uint32 cbBufferLength ) = 0; + virtual bool CurrentEntryDidChange() = 0; + + // Queue + virtual bool QueueWillChange() = 0; + virtual bool ResetQueueEntries() = 0; + virtual bool SetQueueEntry( int nID, int nPosition, const char *pchEntryText ) = 0; + virtual bool SetCurrentQueueEntry( int nID ) = 0; + virtual bool QueueDidChange() = 0; + + // Playlist + virtual bool PlaylistWillChange() = 0; + virtual bool ResetPlaylistEntries() = 0; + virtual bool SetPlaylistEntry( int nID, int nPosition, const char *pchEntryText ) = 0; + virtual bool SetCurrentPlaylistEntry( int nID ) = 0; + virtual bool PlaylistDidChange() = 0; +}; + +#define STEAMMUSICREMOTE_INTERFACE_VERSION "STEAMMUSICREMOTE_INTERFACE_VERSION001" + +// Global interface accessor +inline ISteamMusicRemote *SteamMusicRemote(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamMusicRemote *, SteamMusicRemote, STEAMMUSICREMOTE_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +STEAM_CALLBACK_BEGIN( MusicPlayerRemoteWillActivate_t, k_iSteamMusicRemoteCallbacks + 1) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerRemoteWillDeactivate_t, k_iSteamMusicRemoteCallbacks + 2 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerRemoteToFront_t, k_iSteamMusicRemoteCallbacks + 3 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWillQuit_t, k_iSteamMusicRemoteCallbacks + 4 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsPlay_t, k_iSteamMusicRemoteCallbacks + 5 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsPause_t, k_iSteamMusicRemoteCallbacks + 6 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsPlayPrevious_t, k_iSteamMusicRemoteCallbacks + 7 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsPlayNext_t, k_iSteamMusicRemoteCallbacks + 8 ) +STEAM_CALLBACK_END(0) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsShuffled_t, k_iSteamMusicRemoteCallbacks + 9 ) + STEAM_CALLBACK_MEMBER( 0, bool, m_bShuffled ) +STEAM_CALLBACK_END(1) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsLooped_t, k_iSteamMusicRemoteCallbacks + 10 ) + STEAM_CALLBACK_MEMBER(0, bool, m_bLooped ) +STEAM_CALLBACK_END(1) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsVolume_t, k_iSteamMusicCallbacks + 11 ) + STEAM_CALLBACK_MEMBER(0, float, m_flNewVolume) +STEAM_CALLBACK_END(1) + +STEAM_CALLBACK_BEGIN( MusicPlayerSelectsQueueEntry_t, k_iSteamMusicCallbacks + 12 ) + STEAM_CALLBACK_MEMBER(0, int, nID ) +STEAM_CALLBACK_END(1) + +STEAM_CALLBACK_BEGIN( MusicPlayerSelectsPlaylistEntry_t, k_iSteamMusicCallbacks + 13 ) + STEAM_CALLBACK_MEMBER(0, int, nID ) +STEAM_CALLBACK_END(1) + +STEAM_CALLBACK_BEGIN( MusicPlayerWantsPlayingRepeatStatus_t, k_iSteamMusicRemoteCallbacks + 14 ) + STEAM_CALLBACK_MEMBER(0, int, m_nPlayingRepeatStatus ) +STEAM_CALLBACK_END(1) + +#pragma pack( pop ) + + + +#endif // #define ISTEAMMUSICREMOTE_H diff --git a/lsteamclient/steamworks_sdk_158/isteamnetworking.h b/lsteamclient/steamworks_sdk_158/isteamnetworking.h new file mode 100644 index 000000000..b7e077a3b --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamnetworking.h @@ -0,0 +1,343 @@ +//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to steam managing network connections between game clients & servers +// +//============================================================================= + +#ifndef ISTEAMNETWORKING +#define ISTEAMNETWORKING +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +// list of possible errors returned by SendP2PPacket() API +// these will be posted in the P2PSessionConnectFail_t callback +enum EP2PSessionError +{ + k_EP2PSessionErrorNone = 0, + k_EP2PSessionErrorNoRightsToApp = 2, // local user doesn't own the app that is running + k_EP2PSessionErrorTimeout = 4, // target isn't responding, perhaps not calling AcceptP2PSessionWithUser() + // corporate firewalls can also block this (NAT traversal is not firewall traversal) + // make sure that UDP ports 3478, 4379, and 4380 are open in an outbound direction + + // The following error codes were removed and will never be sent. + // For privacy reasons, there is no reply if the user is offline or playing another game. + k_EP2PSessionErrorNotRunningApp_DELETED = 1, + k_EP2PSessionErrorDestinationNotLoggedIn_DELETED = 3, + + k_EP2PSessionErrorMax = 5 +}; + +// SendP2PPacket() send types +// Typically k_EP2PSendUnreliable is what you want for UDP-like packets, k_EP2PSendReliable for TCP-like packets +enum EP2PSend +{ + // Basic UDP send. Packets can't be bigger than 1200 bytes (your typical MTU size). Can be lost, or arrive out of order (rare). + // The sending API does have some knowledge of the underlying connection, so if there is no NAT-traversal accomplished or + // there is a recognized adjustment happening on the connection, the packet will be batched until the connection is open again. + k_EP2PSendUnreliable = 0, + + // As above, but if the underlying p2p connection isn't yet established the packet will just be thrown away. Using this on the first + // packet sent to a remote host almost guarantees the packet will be dropped. + // This is only really useful for kinds of data that should never buffer up, i.e. voice payload packets + k_EP2PSendUnreliableNoDelay = 1, + + // Reliable message send. Can send up to 1MB of data in a single message. + // Does fragmentation/re-assembly of messages under the hood, as well as a sliding window for efficient sends of large chunks of data. + k_EP2PSendReliable = 2, + + // As above, but applies the Nagle algorithm to the send - sends will accumulate + // until the current MTU size (typically ~1200 bytes, but can change) or ~200ms has passed (Nagle algorithm). + // Useful if you want to send a set of smaller messages but have the coalesced into a single packet + // Since the reliable stream is all ordered, you can do several small message sends with k_EP2PSendReliableWithBuffering and then + // do a normal k_EP2PSendReliable to force all the buffered data to be sent. + k_EP2PSendReliableWithBuffering = 3, + +}; + + +// connection state to a specified user, returned by GetP2PSessionState() +// this is under-the-hood info about what's going on with a SendP2PPacket(), shouldn't be needed except for debuggin +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif +struct P2PSessionState_t +{ + uint8 m_bConnectionActive; // true if we've got an active open connection + uint8 m_bConnecting; // true if we're currently trying to establish a connection + uint8 m_eP2PSessionError; // last error recorded (see enum above) + uint8 m_bUsingRelay; // true if it's going through a relay server (TURN) + int32 m_nBytesQueuedForSend; + int32 m_nPacketsQueuedForSend; + uint32 m_nRemoteIP; // potential IP:Port of remote host. Could be TURN server. + uint16 m_nRemotePort; // Only exists for compatibility with older authentication api's +}; +#pragma pack( pop ) + + +// handle to a socket +typedef uint32 SNetSocket_t; // CreateP2PConnectionSocket() +typedef uint32 SNetListenSocket_t; // CreateListenSocket() + +// connection progress indicators, used by CreateP2PConnectionSocket() +enum ESNetSocketState +{ + k_ESNetSocketStateInvalid = 0, + + // communication is valid + k_ESNetSocketStateConnected = 1, + + // states while establishing a connection + k_ESNetSocketStateInitiated = 10, // the connection state machine has started + + // p2p connections + k_ESNetSocketStateLocalCandidatesFound = 11, // we've found our local IP info + k_ESNetSocketStateReceivedRemoteCandidates = 12,// we've received information from the remote machine, via the Steam back-end, about their IP info + + // direct connections + k_ESNetSocketStateChallengeHandshake = 15, // we've received a challenge packet from the server + + // failure states + k_ESNetSocketStateDisconnecting = 21, // the API shut it down, and we're in the process of telling the other end + k_ESNetSocketStateLocalDisconnect = 22, // the API shut it down, and we've completed shutdown + k_ESNetSocketStateTimeoutDuringConnect = 23, // we timed out while trying to creating the connection + k_ESNetSocketStateRemoteEndDisconnected = 24, // the remote end has disconnected from us + k_ESNetSocketStateConnectionBroken = 25, // connection has been broken; either the other end has disappeared or our local network connection has broke + +}; + +// describes how the socket is currently connected +enum ESNetSocketConnectionType +{ + k_ESNetSocketConnectionTypeNotConnected = 0, + k_ESNetSocketConnectionTypeUDP = 1, + k_ESNetSocketConnectionTypeUDPRelay = 2, +}; + + +//----------------------------------------------------------------------------- +// Purpose: Functions for making connections and sending data between clients, +// traversing NAT's where possible +// +// NOTE: This interface is deprecated and may be removed in a future release of +/// the Steamworks SDK. Please see ISteamNetworkingSockets and +/// ISteamNetworkingMessages +//----------------------------------------------------------------------------- +class ISteamNetworking +{ +public: + //////////////////////////////////////////////////////////////////////////////////////////// + // + // UDP-style (connectionless) networking interface. These functions send messages using + // an API organized around the destination. Reliable and unreliable messages are supported. + // + // For a more TCP-style interface (meaning you have a connection handle), see the functions below. + // Both interface styles can send both reliable and unreliable messages. + // + // Automatically establishes NAT-traversing or Relay server connections + // + // These APIs are deprecated, and may be removed in a future version of the Steamworks + // SDK. See ISteamNetworkingMessages. + + // Sends a P2P packet to the specified user + // UDP-like, unreliable and a max packet size of 1200 bytes + // the first packet send may be delayed as the NAT-traversal code runs + // if we can't get through to the user, an error will be posted via the callback P2PSessionConnectFail_t + // see EP2PSend enum above for the descriptions of the different ways of sending packets + // + // nChannel is a routing number you can use to help route message to different systems - you'll have to call ReadP2PPacket() + // with the same channel number in order to retrieve the data on the other end + // using different channels to talk to the same user will still use the same underlying p2p connection, saving on resources + virtual bool SendP2PPacket( CSteamID steamIDRemote, const void *pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel = 0 ) = 0; + + // returns true if any data is available for read, and the amount of data that will need to be read + virtual bool IsP2PPacketAvailable( uint32 *pcubMsgSize, int nChannel = 0 ) = 0; + + // reads in a packet that has been sent from another user via SendP2PPacket() + // returns the size of the message and the steamID of the user who sent it in the last two parameters + // if the buffer passed in is too small, the message will be truncated + // this call is not blocking, and will return false if no data is available + virtual bool ReadP2PPacket( void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, CSteamID *psteamIDRemote, int nChannel = 0 ) = 0; + + // AcceptP2PSessionWithUser() should only be called in response to a P2PSessionRequest_t callback + // P2PSessionRequest_t will be posted if another user tries to send you a packet that you haven't talked to yet + // if you don't want to talk to the user, just ignore the request + // if the user continues to send you packets, another P2PSessionRequest_t will be posted periodically + // this may be called multiple times for a single user + // (if you've called SendP2PPacket() on the other user, this implicitly accepts the session request) + virtual bool AcceptP2PSessionWithUser( CSteamID steamIDRemote ) = 0; + + // call CloseP2PSessionWithUser() when you're done talking to a user, will free up resources under-the-hood + // if the remote user tries to send data to you again, another P2PSessionRequest_t callback will be posted + virtual bool CloseP2PSessionWithUser( CSteamID steamIDRemote ) = 0; + + // call CloseP2PChannelWithUser() when you're done talking to a user on a specific channel. Once all channels + // open channels to a user have been closed, the open session to the user will be closed and new data from this + // user will trigger a P2PSessionRequest_t callback + virtual bool CloseP2PChannelWithUser( CSteamID steamIDRemote, int nChannel ) = 0; + + // fills out P2PSessionState_t structure with details about the underlying connection to the user + // should only needed for debugging purposes + // returns false if no connection exists to the specified user + virtual bool GetP2PSessionState( CSteamID steamIDRemote, P2PSessionState_t *pConnectionState ) = 0; + + // Allow P2P connections to fall back to being relayed through the Steam servers if a direct connection + // or NAT-traversal cannot be established. Only applies to connections created after setting this value, + // or to existing connections that need to automatically reconnect after this value is set. + // + // P2P packet relay is allowed by default + // + // NOTE: This function is deprecated and may be removed in a future version of the SDK. For + // security purposes, we may decide to relay the traffic to certain peers, even if you pass false + // to this function, to prevent revealing the client's IP address top another peer. + virtual bool AllowP2PPacketRelay( bool bAllow ) = 0; + + + //////////////////////////////////////////////////////////////////////////////////////////// + // + // LISTEN / CONNECT connection-oriented interface functions + // + // These functions are more like a client-server TCP API. One side is the "server" + // and "listens" for incoming connections, which then must be "accepted." The "client" + // initiates a connection by "connecting." Sending and receiving is done through a + // connection handle. + // + // For a more UDP-style interface, where you do not track connection handles but + // simply send messages to a SteamID, use the UDP-style functions above. + // + // Both methods can send both reliable and unreliable methods. + // + // These APIs are deprecated, and may be removed in a future version of the Steamworks + // SDK. See ISteamNetworkingSockets. + // + //////////////////////////////////////////////////////////////////////////////////////////// + + + // creates a socket and listens others to connect + // will trigger a SocketStatusCallback_t callback on another client connecting + // nVirtualP2PPort is the unique ID that the client will connect to, in case you have multiple ports + // this can usually just be 0 unless you want multiple sets of connections + // unIP is the local IP address to bind to + // pass in 0 if you just want the default local IP + // unPort is the port to use + // pass in 0 if you don't want users to be able to connect via IP/Port, but expect to be always peer-to-peer connections only + virtual SNetListenSocket_t CreateListenSocket( int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay ) = 0; + + // creates a socket and begin connection to a remote destination + // can connect via a known steamID (client or game server), or directly to an IP + // on success will trigger a SocketStatusCallback_t callback + // on failure or timeout will trigger a SocketStatusCallback_t callback with a failure code in m_eSNetSocketState + virtual SNetSocket_t CreateP2PConnectionSocket( CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ) = 0; + virtual SNetSocket_t CreateConnectionSocket( SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec ) = 0; + + // disconnects the connection to the socket, if any, and invalidates the handle + // any unread data on the socket will be thrown away + // if bNotifyRemoteEnd is set, socket will not be completely destroyed until the remote end acknowledges the disconnect + virtual bool DestroySocket( SNetSocket_t hSocket, bool bNotifyRemoteEnd ) = 0; + // destroying a listen socket will automatically kill all the regular sockets generated from it + virtual bool DestroyListenSocket( SNetListenSocket_t hSocket, bool bNotifyRemoteEnd ) = 0; + + // sending data + // must be a handle to a connected socket + // data is all sent via UDP, and thus send sizes are limited to 1200 bytes; after this, many routers will start dropping packets + // use the reliable flag with caution; although the resend rate is pretty aggressive, + // it can still cause stalls in receiving data (like TCP) + virtual bool SendDataOnSocket( SNetSocket_t hSocket, void *pubData, uint32 cubData, bool bReliable ) = 0; + + // receiving data + // returns false if there is no data remaining + // fills out *pcubMsgSize with the size of the next message, in bytes + virtual bool IsDataAvailableOnSocket( SNetSocket_t hSocket, uint32 *pcubMsgSize ) = 0; + + // fills in pubDest with the contents of the message + // messages are always complete, of the same size as was sent (i.e. packetized, not streaming) + // if *pcubMsgSize < cubDest, only partial data is written + // returns false if no data is available + virtual bool RetrieveDataFromSocket( SNetSocket_t hSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize ) = 0; + + // checks for data from any socket that has been connected off this listen socket + // returns false if there is no data remaining + // fills out *pcubMsgSize with the size of the next message, in bytes + // fills out *phSocket with the socket that data is available on + virtual bool IsDataAvailable( SNetListenSocket_t hListenSocket, uint32 *pcubMsgSize, SNetSocket_t *phSocket ) = 0; + + // retrieves data from any socket that has been connected off this listen socket + // fills in pubDest with the contents of the message + // messages are always complete, of the same size as was sent (i.e. packetized, not streaming) + // if *pcubMsgSize < cubDest, only partial data is written + // returns false if no data is available + // fills out *phSocket with the socket that data is available on + virtual bool RetrieveData( SNetListenSocket_t hListenSocket, void *pubDest, uint32 cubDest, uint32 *pcubMsgSize, SNetSocket_t *phSocket ) = 0; + + // returns information about the specified socket, filling out the contents of the pointers + virtual bool GetSocketInfo( SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, SteamIPAddress_t *punIPRemote, uint16 *punPortRemote ) = 0; + + // returns which local port the listen socket is bound to + // *pnIP and *pnPort will be 0 if the socket is set to listen for P2P connections only + virtual bool GetListenSocketInfo( SNetListenSocket_t hListenSocket, SteamIPAddress_t *pnIP, uint16 *pnPort ) = 0; + + // returns true to describe how the socket ended up connecting + virtual ESNetSocketConnectionType GetSocketConnectionType( SNetSocket_t hSocket ) = 0; + + // max packet size, in bytes + virtual int GetMaxPacketSize( SNetSocket_t hSocket ) = 0; +}; +#define STEAMNETWORKING_INTERFACE_VERSION "SteamNetworking006" + +// Global interface accessor +inline ISteamNetworking *SteamNetworking(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamNetworking *, SteamNetworking, STEAMNETWORKING_INTERFACE_VERSION ); + +// Global accessor for the gameserver client +inline ISteamNetworking *SteamGameServerNetworking(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamNetworking *, SteamGameServerNetworking, STEAMNETWORKING_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +// callback notification - a user wants to talk to us over the P2P channel via the SendP2PPacket() API +// in response, a call to AcceptP2PPacketsFromUser() needs to be made, if you want to talk with them +struct P2PSessionRequest_t +{ + enum { k_iCallback = k_iSteamNetworkingCallbacks + 2 }; + CSteamID m_steamIDRemote; // user who wants to talk to us +}; + + +// callback notification - packets can't get through to the specified user via the SendP2PPacket() API +// all packets queued packets unsent at this point will be dropped +// further attempts to send will retry making the connection (but will be dropped if we fail again) +struct P2PSessionConnectFail_t +{ + enum { k_iCallback = k_iSteamNetworkingCallbacks + 3 }; + CSteamID m_steamIDRemote; // user we were sending packets to + uint8 m_eP2PSessionError; // EP2PSessionError indicating why we're having trouble +}; + + +// callback notification - status of a socket has changed +// used as part of the CreateListenSocket() / CreateP2PConnectionSocket() +struct SocketStatusCallback_t +{ + enum { k_iCallback = k_iSteamNetworkingCallbacks + 1 }; + SNetSocket_t m_hSocket; // the socket used to send/receive data to the remote host + SNetListenSocket_t m_hListenSocket; // this is the server socket that we were listening on; NULL if this was an outgoing connection + CSteamID m_steamIDRemote; // remote steamID we have connected to, if it has one + int m_eSNetSocketState; // socket state, ESNetSocketState +}; + +#pragma pack( pop ) + +#endif // ISTEAMNETWORKING diff --git a/lsteamclient/steamworks_sdk_158/isteamnetworkingmessages.h b/lsteamclient/steamworks_sdk_158/isteamnetworkingmessages.h new file mode 100644 index 000000000..2f3ead439 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamnetworkingmessages.h @@ -0,0 +1,197 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== + +#ifndef ISTEAMNETWORKINGMESSAGES +#define ISTEAMNETWORKINGMESSAGES + +#include "steamnetworkingtypes.h" +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +/// The non-connection-oriented interface to send and receive messages +/// (whether they be "clients" or "servers"). +/// +/// ISteamNetworkingSockets is connection-oriented (like TCP), meaning you +/// need to listen and connect, and then you send messages using a connection +/// handle. ISteamNetworkingMessages is more like UDP, in that you can just send +/// messages to arbitrary peers at any time. The underlying connections are +/// established implicitly. +/// +/// Under the hood ISteamNetworkingMessages works on top of the ISteamNetworkingSockets +/// code, so you get the same routing and messaging efficiency. The difference is +/// mainly in your responsibility to explicitly establish a connection and +/// the type of feedback you get about the state of the connection. Both +/// interfaces can do "P2P" communications, and both support both unreliable +/// and reliable messages, fragmentation and reassembly. +/// +/// The primary purpose of this interface is to be "like UDP", so that UDP-based code +/// can be ported easily to take advantage of relayed connections. If you find +/// yourself needing more low level information or control, or to be able to better +/// handle failure, then you probably need to use ISteamNetworkingSockets directly. +/// Also, note that if your main goal is to obtain a connection between two peers +/// without concerning yourself with assigning roles of "client" and "server", +/// you may find the symmetric connection mode of ISteamNetworkingSockets useful. +/// (See k_ESteamNetworkingConfig_SymmetricConnect.) +/// +class ISteamNetworkingMessages +{ +public: + /// Sends a message to the specified host. If we don't already have a session with that user, + /// a session is implicitly created. There might be some handshaking that needs to happen + /// before we can actually begin sending message data. If this handshaking fails and we can't + /// get through, an error will be posted via the callback SteamNetworkingMessagesSessionFailed_t. + /// There is no notification when the operation succeeds. (You should have the peer send a reply + /// for this purpose.) + /// + /// Sending a message to a host will also implicitly accept any incoming connection from that host. + /// + /// nSendFlags is a bitmask of k_nSteamNetworkingSend_xxx options + /// + /// nRemoteChannel is a routing number you can use to help route message to different systems. + /// You'll have to call ReceiveMessagesOnChannel() with the same channel number in order to retrieve + /// the data on the other end. + /// + /// Using different channels to talk to the same user will still use the same underlying + /// connection, saving on resources. If you don't need this feature, use 0. + /// Otherwise, small integers are the most efficient. + /// + /// It is guaranteed that reliable messages to the same host on the same channel + /// will be be received by the remote host (if they are received at all) exactly once, + /// and in the same order that they were sent. + /// + /// NO other order guarantees exist! In particular, unreliable messages may be dropped, + /// received out of order with respect to each other and with respect to reliable data, + /// or may be received multiple times. Messages on different channels are *not* guaranteed + /// to be received in the order they were sent. + /// + /// A note for those familiar with TCP/IP ports, or converting an existing codebase that + /// opened multiple sockets: You might notice that there is only one channel, and with + /// TCP/IP each endpoint has a port number. You can think of the channel number as the + /// *destination* port. If you need each message to also include a "source port" (so the + /// recipient can route the reply), then just put that in your message. That is essentially + /// how UDP works! + /// + /// Returns: + /// - k_EREsultOK on success. + /// - k_EResultNoConnection, if the session has failed or was closed by the peer and + /// k_nSteamNetworkingSend_AutoRestartBrokenSession was not specified. (You can + /// use GetSessionConnectionInfo to get the details.) In order to acknowledge the + /// broken session and start a new one, you must call CloseSessionWithUser, or you may + /// repeat the call with k_nSteamNetworkingSend_AutoRestartBrokenSession. See + /// k_nSteamNetworkingSend_AutoRestartBrokenSession for more details. + /// - See ISteamNetworkingSockets::SendMessageToConnection for more possible return values + virtual EResult SendMessageToUser( const SteamNetworkingIdentity &identityRemote, const void *pubData, uint32 cubData, int nSendFlags, int nRemoteChannel ) = 0; + + /// Reads the next message that has been sent from another user via SendMessageToUser() on the given channel. + /// Returns number of messages returned into your list. (0 if no message are available on that channel.) + /// + /// When you're done with the message object(s), make sure and call SteamNetworkingMessage_t::Release()! + virtual int ReceiveMessagesOnChannel( int nLocalChannel, SteamNetworkingMessage_t **ppOutMessages, int nMaxMessages ) = 0; + + /// Call this in response to a SteamNetworkingMessagesSessionRequest_t callback. + /// SteamNetworkingMessagesSessionRequest_t are posted when a user tries to send you a message, + /// and you haven't tried to talk to them first. If you don't want to talk to them, just ignore + /// the request. If the user continues to send you messages, SteamNetworkingMessagesSessionRequest_t + /// callbacks will continue to be posted periodically. + /// + /// Returns false if there is no session with the user pending or otherwise. If there is an + /// existing active session, this function will return true, even if it is not pending. + /// + /// Calling SendMessageToUser() will implicitly accepts any pending session request to that user. + virtual bool AcceptSessionWithUser( const SteamNetworkingIdentity &identityRemote ) = 0; + + /// Call this when you're done talking to a user to immediately free up resources under-the-hood. + /// If the remote user tries to send data to you again, another SteamNetworkingMessagesSessionRequest_t + /// callback will be posted. + /// + /// Note that sessions that go unused for a few minutes are automatically timed out. + virtual bool CloseSessionWithUser( const SteamNetworkingIdentity &identityRemote ) = 0; + + /// Call this when you're done talking to a user on a specific channel. Once all + /// open channels to a user have been closed, the open session to the user will be + /// closed, and any new data from this user will trigger a + /// SteamSteamNetworkingMessagesSessionRequest_t callback + virtual bool CloseChannelWithUser( const SteamNetworkingIdentity &identityRemote, int nLocalChannel ) = 0; + + /// Returns information about the latest state of a connection, if any, with the given peer. + /// Primarily intended for debugging purposes, but can also be used to get more detailed + /// failure information. (See SendMessageToUser and k_nSteamNetworkingSend_AutoRestartBrokenSession.) + /// + /// Returns the value of SteamNetConnectionInfo_t::m_eState, or k_ESteamNetworkingConnectionState_None + /// if no connection exists with specified peer. You may pass nullptr for either parameter if + /// you do not need the corresponding details. Note that sessions time out after a while, + /// so if a connection fails, or SendMessageToUser returns k_EResultNoConnection, you cannot wait + /// indefinitely to obtain the reason for failure. + virtual ESteamNetworkingConnectionState GetSessionConnectionInfo( const SteamNetworkingIdentity &identityRemote, SteamNetConnectionInfo_t *pConnectionInfo, SteamNetConnectionRealTimeStatus_t *pQuickStatus ) = 0; +}; +#define STEAMNETWORKINGMESSAGES_INTERFACE_VERSION "SteamNetworkingMessages002" + +// +// Callbacks +// + +#pragma pack( push, 1 ) + +/// Posted when a remote host is sending us a message, and we do not already have a session with them +struct SteamNetworkingMessagesSessionRequest_t +{ + enum { k_iCallback = k_iSteamNetworkingMessagesCallbacks + 1 }; + SteamNetworkingIdentity m_identityRemote; // user who wants to talk to us +}; + +/// Posted when we fail to establish a connection, or we detect that communications +/// have been disrupted it an unusual way. There is no notification when a peer proactively +/// closes the session. ("Closed by peer" is not a concept of UDP-style communications, and +/// SteamNetworkingMessages is primarily intended to make porting UDP code easy.) +/// +/// Remember: callbacks are asynchronous. See notes on SendMessageToUser, +/// and k_nSteamNetworkingSend_AutoRestartBrokenSession in particular. +/// +/// Also, if a session times out due to inactivity, no callbacks will be posted. The only +/// way to detect that this is happening is that querying the session state may return +/// none, connecting, and findingroute again. +struct SteamNetworkingMessagesSessionFailed_t +{ + enum { k_iCallback = k_iSteamNetworkingMessagesCallbacks + 2 }; + + /// Detailed info about the session that failed. + /// SteamNetConnectionInfo_t::m_identityRemote indicates who this session + /// was with. + SteamNetConnectionInfo_t m_info; +}; + +#pragma pack(pop) + +// Global accessors + +// Using standalone lib +#ifdef STEAMNETWORKINGSOCKETS_STANDALONELIB + + static_assert( STEAMNETWORKINGMESSAGES_INTERFACE_VERSION[25] == '2', "Version mismatch" ); + + STEAMNETWORKINGSOCKETS_INTERFACE ISteamNetworkingMessages *SteamNetworkingMessages_LibV2(); + inline ISteamNetworkingMessages *SteamNetworkingMessages_Lib() { return SteamNetworkingMessages_LibV2(); } + + // If running in context of steam, we also define a gameserver instance. + STEAMNETWORKINGSOCKETS_INTERFACE ISteamNetworkingMessages *SteamGameServerNetworkingMessages_LibV2(); + inline ISteamNetworkingMessages *SteamGameServerNetworkingMessages_Lib() { return SteamGameServerNetworkingMessages_LibV2(); } + + #ifndef STEAMNETWORKINGSOCKETS_STEAMAPI + inline ISteamNetworkingMessages *SteamNetworkingMessages() { return SteamNetworkingMessages_LibV2(); } + inline ISteamNetworkingMessages *SteamGameServerNetworkingMessages() { return SteamGameServerNetworkingMessages_LibV2(); } + #endif +#endif + +// Using Steamworks SDK +#ifdef STEAMNETWORKINGSOCKETS_STEAMAPI + + // Steamworks SDK + STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamNetworkingMessages *, SteamNetworkingMessages_SteamAPI, STEAMNETWORKINGMESSAGES_INTERFACE_VERSION ); + STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamNetworkingMessages *, SteamGameServerNetworkingMessages_SteamAPI, STEAMNETWORKINGMESSAGES_INTERFACE_VERSION ); + + #ifndef STEAMNETWORKINGSOCKETS_STANDALONELIB + inline ISteamNetworkingMessages *SteamNetworkingMessages() { return SteamNetworkingMessages_SteamAPI(); } + inline ISteamNetworkingMessages *SteamGameServerNetworkingMessages() { return SteamGameServerNetworkingMessages_SteamAPI(); } + #endif +#endif + +#endif // ISTEAMNETWORKINGMESSAGES diff --git a/lsteamclient/steamworks_sdk_158/isteamnetworkingsockets.h b/lsteamclient/steamworks_sdk_158/isteamnetworkingsockets.h new file mode 100644 index 000000000..c631558b4 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamnetworkingsockets.h @@ -0,0 +1,1029 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== + +#ifndef ISTEAMNETWORKINGSOCKETS +#define ISTEAMNETWORKINGSOCKETS + +#include "steamnetworkingtypes.h" +#include "steam_api_common.h" + +struct SteamNetAuthenticationStatus_t; +struct SteamNetworkingFakeIPResult_t; +class ISteamNetworkingConnectionSignaling; +class ISteamNetworkingSignalingRecvContext; +class ISteamNetworkingFakeUDPPort; + +//----------------------------------------------------------------------------- +/// Lower level networking API. +/// +/// - Connection-oriented API (like TCP, not UDP). When sending and receiving +/// messages, a connection handle is used. (For a UDP-style interface, where +/// the peer is identified by their address with each send/recv call, see +/// ISteamNetworkingMessages.) The typical pattern is for a "server" to "listen" +/// on a "listen socket." A "client" will "connect" to the server, and the +/// server will "accept" the connection. If you have a symmetric situation +/// where either peer may initiate the connection and server/client roles are +/// not clearly defined, check out k_ESteamNetworkingConfig_SymmetricConnect. +/// - But unlike TCP, it's message-oriented, not stream-oriented. +/// - Mix of reliable and unreliable messages +/// - Fragmentation and reassembly +/// - Supports connectivity over plain UDP +/// - Also supports SDR ("Steam Datagram Relay") connections, which are +/// addressed by the identity of the peer. There is a "P2P" use case and +/// a "hosted dedicated server" use case. +/// +/// Note that neither of the terms "connection" nor "socket" necessarily correspond +/// one-to-one with an underlying UDP socket. An attempt has been made to +/// keep the semantics as similar to the standard socket model when appropriate, +/// but some deviations do exist. +/// +/// See also: ISteamNetworkingMessages, the UDP-style interface. This API might be +/// easier to use, especially when porting existing UDP code. +class ISteamNetworkingSockets +{ +public: + + /// Creates a "server" socket that listens for clients to connect to by + /// calling ConnectByIPAddress, over ordinary UDP (IPv4 or IPv6) + /// + /// You must select a specific local port to listen on and set it + /// the port field of the local address. + /// + /// Usually you will set the IP portion of the address to zero (SteamNetworkingIPAddr::Clear()). + /// This means that you will not bind to any particular local interface (i.e. the same + /// as INADDR_ANY in plain socket code). Furthermore, if possible the socket will be bound + /// in "dual stack" mode, which means that it can accept both IPv4 and IPv6 client connections. + /// If you really do wish to bind a particular interface, then set the local address to the + /// appropriate IPv4 or IPv6 IP. + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + /// + /// When a client attempts to connect, a SteamNetConnectionStatusChangedCallback_t + /// will be posted. The connection will be in the connecting state. + virtual HSteamListenSocket CreateListenSocketIP( const SteamNetworkingIPAddr &localAddress, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Creates a connection and begins talking to a "server" over UDP at the + /// given IPv4 or IPv6 address. The remote host must be listening with a + /// matching call to CreateListenSocketIP on the specified port. + /// + /// A SteamNetConnectionStatusChangedCallback_t callback will be triggered when we start + /// connecting, and then another one on either timeout or successful connection. + /// + /// If the server does not have any identity configured, then their network address + /// will be the only identity in use. Or, the network host may provide a platform-specific + /// identity with or without a valid certificate to authenticate that identity. (These + /// details will be contained in the SteamNetConnectionStatusChangedCallback_t.) It's + /// up to your application to decide whether to allow the connection. + /// + /// By default, all connections will get basic encryption sufficient to prevent + /// casual eavesdropping. But note that without certificates (or a shared secret + /// distributed through some other out-of-band mechanism), you don't have any + /// way of knowing who is actually on the other end, and thus are vulnerable to + /// man-in-the-middle attacks. + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + virtual HSteamNetConnection ConnectByIPAddress( const SteamNetworkingIPAddr &address, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Like CreateListenSocketIP, but clients will connect using ConnectP2P. + /// + /// nLocalVirtualPort specifies how clients can connect to this socket using + /// ConnectP2P. It's very common for applications to only have one listening socket; + /// in that case, use zero. If you need to open multiple listen sockets and have clients + /// be able to connect to one or the other, then nLocalVirtualPort should be a small + /// integer (<1000) unique to each listen socket you create. + /// + /// If you use this, you probably want to call ISteamNetworkingUtils::InitRelayNetworkAccess() + /// when your app initializes. + /// + /// If you are listening on a dedicated servers in known data center, + /// then you can listen using this function instead of CreateHostedDedicatedServerListenSocket, + /// to allow clients to connect without a ticket. Any user that owns + /// the app and is signed into Steam will be able to attempt to connect to + /// your server. Also, a connection attempt may require the client to + /// be connected to Steam, which is one more moving part that may fail. When + /// tickets are used, then once a ticket is obtained, a client can connect to + /// your server even if they got disconnected from Steam or Steam is offline. + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + virtual HSteamListenSocket CreateListenSocketP2P( int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Begin connecting to a peer that is identified using a platform-specific identifier. + /// This uses the default rendezvous service, which depends on the platform and library + /// configuration. (E.g. on Steam, it goes through the steam backend.) + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + /// + /// To use your own signaling service, see: + /// - ConnectP2PCustomSignaling + /// - k_ESteamNetworkingConfig_Callback_CreateConnectionSignaling + virtual HSteamNetConnection ConnectP2P( const SteamNetworkingIdentity &identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Accept an incoming connection that has been received on a listen socket. + /// + /// When a connection attempt is received (perhaps after a few basic handshake + /// packets have been exchanged to prevent trivial spoofing), a connection interface + /// object is created in the k_ESteamNetworkingConnectionState_Connecting state + /// and a SteamNetConnectionStatusChangedCallback_t is posted. At this point, your + /// application MUST either accept or close the connection. (It may not ignore it.) + /// Accepting the connection will transition it either into the connected state, + /// or the finding route state, depending on the connection type. + /// + /// You should take action within a second or two, because accepting the connection is + /// what actually sends the reply notifying the client that they are connected. If you + /// delay taking action, from the client's perspective it is the same as the network + /// being unresponsive, and the client may timeout the connection attempt. In other + /// words, the client cannot distinguish between a delay caused by network problems + /// and a delay caused by the application. + /// + /// This means that if your application goes for more than a few seconds without + /// processing callbacks (for example, while loading a map), then there is a chance + /// that a client may attempt to connect in that interval and fail due to timeout. + /// + /// If the application does not respond to the connection attempt in a timely manner, + /// and we stop receiving communication from the client, the connection attempt will + /// be timed out locally, transitioning the connection to the + /// k_ESteamNetworkingConnectionState_ProblemDetectedLocally state. The client may also + /// close the connection before it is accepted, and a transition to the + /// k_ESteamNetworkingConnectionState_ClosedByPeer is also possible depending the exact + /// sequence of events. + /// + /// Returns k_EResultInvalidParam if the handle is invalid. + /// Returns k_EResultInvalidState if the connection is not in the appropriate state. + /// (Remember that the connection state could change in between the time that the + /// notification being posted to the queue and when it is received by the application.) + /// + /// A note about connection configuration options. If you need to set any configuration + /// options that are common to all connections accepted through a particular listen + /// socket, consider setting the options on the listen socket, since such options are + /// inherited automatically. If you really do need to set options that are connection + /// specific, it is safe to set them on the connection before accepting the connection. + virtual EResult AcceptConnection( HSteamNetConnection hConn ) = 0; + + /// Disconnects from the remote host and invalidates the connection handle. + /// Any unread data on the connection is discarded. + /// + /// nReason is an application defined code that will be received on the other + /// end and recorded (when possible) in backend analytics. The value should + /// come from a restricted range. (See ESteamNetConnectionEnd.) If you don't need + /// to communicate any information to the remote host, and do not want analytics to + /// be able to distinguish "normal" connection terminations from "exceptional" ones, + /// You may pass zero, in which case the generic value of + /// k_ESteamNetConnectionEnd_App_Generic will be used. + /// + /// pszDebug is an optional human-readable diagnostic string that will be received + /// by the remote host and recorded (when possible) in backend analytics. + /// + /// If you wish to put the socket into a "linger" state, where an attempt is made to + /// flush any remaining sent data, use bEnableLinger=true. Otherwise reliable data + /// is not flushed. + /// + /// If the connection has already ended and you are just freeing up the + /// connection interface, the reason code, debug string, and linger flag are + /// ignored. + virtual bool CloseConnection( HSteamNetConnection hPeer, int nReason, const char *pszDebug, bool bEnableLinger ) = 0; + + /// Destroy a listen socket. All the connections that were accepting on the listen + /// socket are closed ungracefully. + virtual bool CloseListenSocket( HSteamListenSocket hSocket ) = 0; + + /// Set connection user data. the data is returned in the following places + /// - You can query it using GetConnectionUserData. + /// - The SteamNetworkingmessage_t structure. + /// - The SteamNetConnectionInfo_t structure. + /// (Which is a member of SteamNetConnectionStatusChangedCallback_t -- but see WARNINGS below!!!!) + /// + /// Do you need to set this atomically when the connection is created? + /// See k_ESteamNetworkingConfig_ConnectionUserData. + /// + /// WARNING: Be *very careful* when using the value provided in callbacks structs. + /// Callbacks are queued, and the value that you will receive in your + /// callback is the userdata that was effective at the time the callback + /// was queued. There are subtle race conditions that can happen if you + /// don't understand this! + /// + /// If any incoming messages for this connection are queued, the userdata + /// field is updated, so that when when you receive messages (e.g. with + /// ReceiveMessagesOnConnection), they will always have the very latest + /// userdata. So the tricky race conditions that can happen with callbacks + /// do not apply to retrieving messages. + /// + /// Returns false if the handle is invalid. + virtual bool SetConnectionUserData( HSteamNetConnection hPeer, int64 nUserData ) = 0; + + /// Fetch connection user data. Returns -1 if handle is invalid + /// or if you haven't set any userdata on the connection. + virtual int64 GetConnectionUserData( HSteamNetConnection hPeer ) = 0; + + /// Set a name for the connection, used mostly for debugging + virtual void SetConnectionName( HSteamNetConnection hPeer, const char *pszName ) = 0; + + /// Fetch connection name. Returns false if handle is invalid + virtual bool GetConnectionName( HSteamNetConnection hPeer, char *pszName, int nMaxLen ) = 0; + + /// Send a message to the remote host on the specified connection. + /// + /// nSendFlags determines the delivery guarantees that will be provided, + /// when data should be buffered, etc. E.g. k_nSteamNetworkingSend_Unreliable + /// + /// Note that the semantics we use for messages are not precisely + /// the same as the semantics of a standard "stream" socket. + /// (SOCK_STREAM) For an ordinary stream socket, the boundaries + /// between chunks are not considered relevant, and the sizes of + /// the chunks of data written will not necessarily match up to + /// the sizes of the chunks that are returned by the reads on + /// the other end. The remote host might read a partial chunk, + /// or chunks might be coalesced. For the message semantics + /// used here, however, the sizes WILL match. Each send call + /// will match a successful read call on the remote host + /// one-for-one. If you are porting existing stream-oriented + /// code to the semantics of reliable messages, your code should + /// work the same, since reliable message semantics are more + /// strict than stream semantics. The only caveat is related to + /// performance: there is per-message overhead to retain the + /// message sizes, and so if your code sends many small chunks + /// of data, performance will suffer. Any code based on stream + /// sockets that does not write excessively small chunks will + /// work without any changes. + /// + /// The pOutMessageNumber is an optional pointer to receive the + /// message number assigned to the message, if sending was successful. + /// + /// Returns: + /// - k_EResultInvalidParam: invalid connection handle, or the individual message is too big. + /// (See k_cbMaxSteamNetworkingSocketsMessageSizeSend) + /// - k_EResultInvalidState: connection is in an invalid state + /// - k_EResultNoConnection: connection has ended + /// - k_EResultIgnored: You used k_nSteamNetworkingSend_NoDelay, and the message was dropped because + /// we were not ready to send it. + /// - k_EResultLimitExceeded: there was already too much data queued to be sent. + /// (See k_ESteamNetworkingConfig_SendBufferSize) + virtual EResult SendMessageToConnection( HSteamNetConnection hConn, const void *pData, uint32 cbData, int nSendFlags, int64 *pOutMessageNumber ) = 0; + + /// Send one or more messages without copying the message payload. + /// This is the most efficient way to send messages. To use this + /// function, you must first allocate a message object using + /// ISteamNetworkingUtils::AllocateMessage. (Do not declare one + /// on the stack or allocate your own.) + /// + /// You should fill in the message payload. You can either let + /// it allocate the buffer for you and then fill in the payload, + /// or if you already have a buffer allocated, you can just point + /// m_pData at your buffer and set the callback to the appropriate function + /// to free it. Note that if you use your own buffer, it MUST remain valid + /// until the callback is executed. And also note that your callback can be + /// invoked at any time from any thread (perhaps even before SendMessages + /// returns!), so it MUST be fast and threadsafe. + /// + /// You MUST also fill in: + /// - m_conn - the handle of the connection to send the message to + /// - m_nFlags - bitmask of k_nSteamNetworkingSend_xxx flags. + /// + /// All other fields are currently reserved and should not be modified. + /// + /// The library will take ownership of the message structures. They may + /// be modified or become invalid at any time, so you must not read them + /// after passing them to this function. + /// + /// pOutMessageNumberOrResult is an optional array that will receive, + /// for each message, the message number that was assigned to the message + /// if sending was successful. If sending failed, then a negative EResult + /// value is placed into the array. For example, the array will hold + /// -k_EResultInvalidState if the connection was in an invalid state. + /// See ISteamNetworkingSockets::SendMessageToConnection for possible + /// failure codes. + virtual void SendMessages( int nMessages, SteamNetworkingMessage_t *const *pMessages, int64 *pOutMessageNumberOrResult ) = 0; + + /// Flush any messages waiting on the Nagle timer and send them + /// at the next transmission opportunity (often that means right now). + /// + /// If Nagle is enabled (it's on by default) then when calling + /// SendMessageToConnection the message will be buffered, up to the Nagle time + /// before being sent, to merge small messages into the same packet. + /// (See k_ESteamNetworkingConfig_NagleTime) + /// + /// Returns: + /// k_EResultInvalidParam: invalid connection handle + /// k_EResultInvalidState: connection is in an invalid state + /// k_EResultNoConnection: connection has ended + /// k_EResultIgnored: We weren't (yet) connected, so this operation has no effect. + virtual EResult FlushMessagesOnConnection( HSteamNetConnection hConn ) = 0; + + /// Fetch the next available message(s) from the connection, if any. + /// Returns the number of messages returned into your array, up to nMaxMessages. + /// If the connection handle is invalid, -1 is returned. + /// + /// The order of the messages returned in the array is relevant. + /// Reliable messages will be received in the order they were sent (and with the + /// same sizes --- see SendMessageToConnection for on this subtle difference from a stream socket). + /// + /// Unreliable messages may be dropped, or delivered out of order with respect to + /// each other or with respect to reliable messages. The same unreliable message + /// may be received multiple times. + /// + /// If any messages are returned, you MUST call SteamNetworkingMessage_t::Release() on each + /// of them free up resources after you are done. It is safe to keep the object alive for + /// a little while (put it into some queue, etc), and you may call Release() from any thread. + virtual int ReceiveMessagesOnConnection( HSteamNetConnection hConn, SteamNetworkingMessage_t **ppOutMessages, int nMaxMessages ) = 0; + + /// Returns basic information about the high-level state of the connection. + virtual bool GetConnectionInfo( HSteamNetConnection hConn, SteamNetConnectionInfo_t *pInfo ) = 0; + + /// Returns a small set of information about the real-time state of the connection + /// and the queue status of each lane. + /// + /// - pStatus may be NULL if the information is not desired. (E.g. you are only interested + /// in the lane information.) + /// - On entry, nLanes specifies the length of the pLanes array. This may be 0 + /// if you do not wish to receive any lane data. It's OK for this to be smaller than + /// the total number of configured lanes. + /// - pLanes points to an array that will receive lane-specific info. It can be NULL + /// if this is not needed. + /// + /// Return value: + /// - k_EResultNoConnection - connection handle is invalid or connection has been closed. + /// - k_EResultInvalidParam - nLanes is bad + virtual EResult GetConnectionRealTimeStatus( HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t *pStatus, + int nLanes, SteamNetConnectionRealTimeLaneStatus_t *pLanes ) = 0; + + /// Returns detailed connection stats in text format. Useful + /// for dumping to a log, etc. + /// + /// Returns: + /// -1 failure (bad connection handle) + /// 0 OK, your buffer was filled in and '\0'-terminated + /// >0 Your buffer was either nullptr, or it was too small and the text got truncated. + /// Try again with a buffer of at least N bytes. + virtual int GetDetailedConnectionStatus( HSteamNetConnection hConn, char *pszBuf, int cbBuf ) = 0; + + /// Returns local IP and port that a listen socket created using CreateListenSocketIP is bound to. + /// + /// An IPv6 address of ::0 means "any IPv4 or IPv6" + /// An IPv6 address of ::ffff:0000:0000 means "any IPv4" + virtual bool GetListenSocketAddress( HSteamListenSocket hSocket, SteamNetworkingIPAddr *address ) = 0; + + /// Create a pair of connections that are talking to each other, e.g. a loopback connection. + /// This is very useful for testing, or so that your client/server code can work the same + /// even when you are running a local "server". + /// + /// The two connections will immediately be placed into the connected state, and no callbacks + /// will be posted immediately. After this, if you close either connection, the other connection + /// will receive a callback, exactly as if they were communicating over the network. You must + /// close *both* sides in order to fully clean up the resources! + /// + /// By default, internal buffers are used, completely bypassing the network, the chopping up of + /// messages into packets, encryption, copying the payload, etc. This means that loopback + /// packets, by default, will not simulate lag or loss. Passing true for bUseNetworkLoopback will + /// cause the socket pair to send packets through the local network loopback device (127.0.0.1) + /// on ephemeral ports. Fake lag and loss are supported in this case, and CPU time is expended + /// to encrypt and decrypt. + /// + /// If you wish to assign a specific identity to either connection, you may pass a particular + /// identity. Otherwise, if you pass nullptr, the respective connection will assume a generic + /// "localhost" identity. If you use real network loopback, this might be translated to the + /// actual bound loopback port. Otherwise, the port will be zero. + virtual bool CreateSocketPair( HSteamNetConnection *pOutConnection1, HSteamNetConnection *pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity *pIdentity1, const SteamNetworkingIdentity *pIdentity2 ) = 0; + + /// Configure multiple outbound messages streams ("lanes") on a connection, and + /// control head-of-line blocking between them. Messages within a given lane + /// are always sent in the order they are queued, but messages from different + /// lanes may be sent out of order. Each lane has its own message number + /// sequence. The first message sent on each lane will be assigned the number 1. + /// + /// Each lane has a "priority". Lanes with higher numeric values will only be processed + /// when all lanes with lower number values are empty. The magnitudes of the priority + /// values are not relevant, only their sort order. + /// + /// Each lane also is assigned a weight, which controls the approximate proportion + /// of the bandwidth that will be consumed by the lane, relative to other lanes + /// of the same priority. (This is assuming the lane stays busy. An idle lane + /// does not build up "credits" to be be spent once a message is queued.) + /// This value is only meaningful as a proportion, relative to other lanes with + /// the same priority. For lanes with different priorities, the strict priority + /// order will prevail, and their weights relative to each other are not relevant. + /// Thus, if a lane has a unique priority value, the weight value for that lane is + /// not relevant. + /// + /// Example: 3 lanes, with priorities [ 0, 10, 10 ] and weights [ (NA), 20, 5 ]. + /// Messages sent on the first will always be sent first, before messages in the + /// other two lanes. Its weight value is irrelevant, since there are no other + /// lanes with priority=0. The other two lanes will share bandwidth, with the second + /// and third lanes sharing bandwidth using a ratio of approximately 4:1. + /// (The weights [ NA, 4, 1 ] would be equivalent.) + /// + /// Notes: + /// - At the time of this writing, some code has performance cost that is linear + /// in the number of lanes, so keep the number of lanes to an absolute minimum. + /// 3 or so is fine; >8 is a lot. The max number of lanes on Steam is 255, + /// which is a very large number and not recommended! If you are compiling this + /// library from source, see STEAMNETWORKINGSOCKETS_MAX_LANES.) + /// - Lane priority values may be any int. Their absolute value is not relevant, + /// only the order matters. + /// - Weights must be positive, and due to implementation details, they are restricted + /// to 16-bit values. The absolute magnitudes don't matter, just the proportions. + /// - Messages sent on a lane index other than 0 have a small overhead on the wire, + /// so for maximum wire efficiency, lane 0 should be the "most common" lane, regardless + /// of priorities or weights. + /// - A connection has a single lane by default. Calling this function with + /// nNumLanes=1 is legal, but pointless, since the priority and weight values are + /// irrelevant in that case. + /// - You may reconfigure connection lanes at any time, however reducing the number of + /// lanes is not allowed. + /// - Reconfiguring lanes might restart any bandwidth sharing balancing. Usually you + /// will call this function once, near the start of the connection, perhaps after + /// exchanging a few messages. + /// - To assign all lanes the same priority, you may use pLanePriorities=NULL. + /// - If you wish all lanes with the same priority to share bandwidth equally (or + /// if no two lanes have the same priority value, and thus priority values are + /// irrelevant), you may use pLaneWeights=NULL + /// - Priorities and weights determine the order that messages are SENT on the wire. + /// There are NO GUARANTEES on the order that messages are RECEIVED! Due to packet + /// loss, out-of-order delivery, and subtle details of packet serialization, messages + /// might still be received slightly out-of-order! The *only* strong guarantee is that + /// *reliable* messages on the *same lane* will be delivered in the order they are sent. + /// - Each host configures the lanes for the packets they send; the lanes for the flow + /// in one direction are completely unrelated to the lanes in the opposite direction. + /// + /// Return value: + /// - k_EResultNoConnection - bad hConn + /// - k_EResultInvalidParam - Invalid number of lanes, bad weights, or you tried to reduce the number of lanes + /// - k_EResultInvalidState - Connection is already dead, etc + /// + /// See also: + /// SteamNetworkingMessage_t::m_idxLane + virtual EResult ConfigureConnectionLanes( HSteamNetConnection hConn, int nNumLanes, const int *pLanePriorities, const uint16 *pLaneWeights ) = 0; + + // + // Identity and authentication + // + + /// Get the identity assigned to this interface. + /// E.g. on Steam, this is the user's SteamID, or for the gameserver interface, the SteamID assigned + /// to the gameserver. Returns false and sets the result to an invalid identity if we don't know + /// our identity yet. (E.g. GameServer has not logged in. On Steam, the user will know their SteamID + /// even if they are not signed into Steam.) + virtual bool GetIdentity( SteamNetworkingIdentity *pIdentity ) = 0; + + /// Indicate our desire to be ready participate in authenticated communications. + /// If we are currently not ready, then steps will be taken to obtain the necessary + /// certificates. (This includes a certificate for us, as well as any CA certificates + /// needed to authenticate peers.) + /// + /// You can call this at program init time if you know that you are going to + /// be making authenticated connections, so that we will be ready immediately when + /// those connections are attempted. (Note that essentially all connections require + /// authentication, with the exception of ordinary UDP connections with authentication + /// disabled using k_ESteamNetworkingConfig_IP_AllowWithoutAuth.) If you don't call + /// this function, we will wait until a feature is utilized that that necessitates + /// these resources. + /// + /// You can also call this function to force a retry, if failure has occurred. + /// Once we make an attempt and fail, we will not automatically retry. + /// In this respect, the behavior of the system after trying and failing is the same + /// as before the first attempt: attempting authenticated communication or calling + /// this function will call the system to attempt to acquire the necessary resources. + /// + /// You can use GetAuthenticationStatus or listen for SteamNetAuthenticationStatus_t + /// to monitor the status. + /// + /// Returns the current value that would be returned from GetAuthenticationStatus. + virtual ESteamNetworkingAvailability InitAuthentication() = 0; + + /// Query our readiness to participate in authenticated communications. A + /// SteamNetAuthenticationStatus_t callback is posted any time this status changes, + /// but you can use this function to query it at any time. + /// + /// The value of SteamNetAuthenticationStatus_t::m_eAvail is returned. If you only + /// want this high level status, you can pass NULL for pDetails. If you want further + /// details, pass non-NULL to receive them. + virtual ESteamNetworkingAvailability GetAuthenticationStatus( SteamNetAuthenticationStatus_t *pDetails ) = 0; + + // + // Poll groups. A poll group is a set of connections that can be polled efficiently. + // (In our API, to "poll" a connection means to retrieve all pending messages. We + // actually don't have an API to "poll" the connection *state*, like BSD sockets.) + // + + /// Create a new poll group. + /// + /// You should destroy the poll group when you are done using DestroyPollGroup + virtual HSteamNetPollGroup CreatePollGroup() = 0; + + /// Destroy a poll group created with CreatePollGroup(). + /// + /// If there are any connections in the poll group, they are removed from the group, + /// and left in a state where they are not part of any poll group. + /// Returns false if passed an invalid poll group handle. + virtual bool DestroyPollGroup( HSteamNetPollGroup hPollGroup ) = 0; + + /// Assign a connection to a poll group. Note that a connection may only belong to a + /// single poll group. Adding a connection to a poll group implicitly removes it from + /// any other poll group it is in. + /// + /// You can pass k_HSteamNetPollGroup_Invalid to remove a connection from its current + /// poll group without adding it to a new poll group. + /// + /// If there are received messages currently pending on the connection, an attempt + /// is made to add them to the queue of messages for the poll group in approximately + /// the order that would have applied if the connection was already part of the poll + /// group at the time that the messages were received. + /// + /// Returns false if the connection handle is invalid, or if the poll group handle + /// is invalid (and not k_HSteamNetPollGroup_Invalid). + virtual bool SetConnectionPollGroup( HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup ) = 0; + + /// Same as ReceiveMessagesOnConnection, but will return the next messages available + /// on any connection in the poll group. Examine SteamNetworkingMessage_t::m_conn + /// to know which connection. (SteamNetworkingMessage_t::m_nConnUserData might also + /// be useful.) + /// + /// Delivery order of messages among different connections will usually match the + /// order that the last packet was received which completed the message. But this + /// is not a strong guarantee, especially for packets received right as a connection + /// is being assigned to poll group. + /// + /// Delivery order of messages on the same connection is well defined and the + /// same guarantees are present as mentioned in ReceiveMessagesOnConnection. + /// (But the messages are not grouped by connection, so they will not necessarily + /// appear consecutively in the list; they may be interleaved with messages for + /// other connections.) + virtual int ReceiveMessagesOnPollGroup( HSteamNetPollGroup hPollGroup, SteamNetworkingMessage_t **ppOutMessages, int nMaxMessages ) = 0; + + // + // Clients connecting to dedicated servers hosted in a data center, + // using tickets issued by your game coordinator. If you are not + // issuing your own tickets to restrict who can attempt to connect + // to your server, then you won't use these functions. + // + + /// Call this when you receive a ticket from your backend / matchmaking system. Puts the + /// ticket into a persistent cache, and optionally returns the parsed ticket. + /// + /// See stamdatagram_ticketgen.h for more details. + virtual bool ReceivedRelayAuthTicket( const void *pvTicket, int cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket ) = 0; + + /// Search cache for a ticket to talk to the server on the specified virtual port. + /// If found, returns the number of seconds until the ticket expires, and optionally + /// the complete cracked ticket. Returns 0 if we don't have a ticket. + /// + /// Typically this is useful just to confirm that you have a ticket, before you + /// call ConnectToHostedDedicatedServer to connect to the server. + virtual int FindRelayAuthTicketForServer( const SteamNetworkingIdentity &identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket ) = 0; + + /// Client call to connect to a server hosted in a Valve data center, on the specified virtual + /// port. You must have placed a ticket for this server into the cache, or else this connect + /// attempt will fail! If you are not issuing your own tickets, then to connect to a dedicated + /// server via SDR in auto-ticket mode, use ConnectP2P. (The server must be configured to allow + /// this type of connection by listening using CreateListenSocketP2P.) + /// + /// You may wonder why tickets are stored in a cache, instead of simply being passed as an argument + /// here. The reason is to make reconnection to a gameserver robust, even if the client computer loses + /// connection to Steam or the central backend, or the app is restarted or crashes, etc. + /// + /// If you use this, you probably want to call ISteamNetworkingUtils::InitRelayNetworkAccess() + /// when your app initializes + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + virtual HSteamNetConnection ConnectToHostedDedicatedServer( const SteamNetworkingIdentity &identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + // + // Servers hosted in data centers known to the Valve relay network + // + + /// Returns the value of the SDR_LISTEN_PORT environment variable. This + /// is the UDP server your server will be listening on. This will + /// configured automatically for you in production environments. + /// + /// In development, you'll need to set it yourself. See + /// https://partner.steamgames.com/doc/api/ISteamNetworkingSockets + /// for more information on how to configure dev environments. + virtual uint16 GetHostedDedicatedServerPort() = 0; + + /// Returns 0 if SDR_LISTEN_PORT is not set. Otherwise, returns the data center the server + /// is running in. This will be k_SteamDatagramPOPID_dev in non-production environment. + virtual SteamNetworkingPOPID GetHostedDedicatedServerPOPID() = 0; + + /// Return info about the hosted server. This contains the PoPID of the server, + /// and opaque routing information that can be used by the relays to send traffic + /// to your server. + /// + /// You will need to send this information to your backend, and put it in tickets, + /// so that the relays will know how to forward traffic from + /// clients to your server. See SteamDatagramRelayAuthTicket for more info. + /// + /// Also, note that the routing information is contained in SteamDatagramGameCoordinatorServerLogin, + /// so if possible, it's preferred to use GetGameCoordinatorServerLogin to send this info + /// to your game coordinator service, and also login securely at the same time. + /// + /// On a successful exit, k_EResultOK is returned + /// + /// Unsuccessful exit: + /// - Something other than k_EResultOK is returned. + /// - k_EResultInvalidState: We are not configured to listen for SDR (SDR_LISTEN_SOCKET + /// is not set.) + /// - k_EResultPending: we do not (yet) have the authentication information needed. + /// (See GetAuthenticationStatus.) If you use environment variables to pre-fetch + /// the network config, this data should always be available immediately. + /// - A non-localized diagnostic debug message will be placed in m_data that describes + /// the cause of the failure. + /// + /// NOTE: The returned blob is not encrypted. Send it to your backend, but don't + /// directly share it with clients. + virtual EResult GetHostedDedicatedServerAddress( SteamDatagramHostedAddress *pRouting ) = 0; + + /// Create a listen socket on the specified virtual port. The physical UDP port to use + /// will be determined by the SDR_LISTEN_PORT environment variable. If a UDP port is not + /// configured, this call will fail. + /// + /// This call MUST be made through the SteamGameServerNetworkingSockets() interface. + /// + /// This function should be used when you are using the ticket generator library + /// to issue your own tickets. Clients connecting to the server on this virtual + /// port will need a ticket, and they must connect using ConnectToHostedDedicatedServer. + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + virtual HSteamListenSocket CreateHostedDedicatedServerListenSocket( int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Generate an authentication blob that can be used to securely login with + /// your backend, using SteamDatagram_ParseHostedServerLogin. (See + /// steamdatagram_gamecoordinator.h) + /// + /// Before calling the function: + /// - Populate the app data in pLoginInfo (m_cbAppData and m_appData). You can leave + /// all other fields uninitialized. + /// - *pcbSignedBlob contains the size of the buffer at pBlob. (It should be + /// at least k_cbMaxSteamDatagramGameCoordinatorServerLoginSerialized.) + /// + /// On a successful exit: + /// - k_EResultOK is returned + /// - All of the remaining fields of pLoginInfo will be filled out. + /// - *pcbSignedBlob contains the size of the serialized blob that has been + /// placed into pBlob. + /// + /// Unsuccessful exit: + /// - Something other than k_EResultOK is returned. + /// - k_EResultNotLoggedOn: you are not logged in (yet) + /// - See GetHostedDedicatedServerAddress for more potential failure return values. + /// - A non-localized diagnostic debug message will be placed in pBlob that describes + /// the cause of the failure. + /// + /// This works by signing the contents of the SteamDatagramGameCoordinatorServerLogin + /// with the cert that is issued to this server. In dev environments, it's OK if you do + /// not have a cert. (You will need to enable insecure dev login in SteamDatagram_ParseHostedServerLogin.) + /// Otherwise, you will need a signed cert. + /// + /// NOTE: The routing blob returned here is not encrypted. Send it to your backend + /// and don't share it directly with clients. + virtual EResult GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int *pcbSignedBlob, void *pBlob ) = 0; + + + // + // Relayed connections using custom signaling protocol + // + // This is used if you have your own method of sending out-of-band + // signaling / rendezvous messages through a mutually trusted channel. + // + + /// Create a P2P "client" connection that does signaling over a custom + /// rendezvous/signaling channel. + /// + /// pSignaling points to a new object that you create just for this connection. + /// It must stay valid until Release() is called. Once you pass the + /// object to this function, it assumes ownership. Release() will be called + /// from within the function call if the call fails. Furthermore, until Release() + /// is called, you should be prepared for methods to be invoked on your + /// object from any thread! You need to make sure your object is threadsafe! + /// Furthermore, you should make sure that dispatching the methods is done + /// as quickly as possible. + /// + /// This function will immediately construct a connection in the "connecting" + /// state. Soon after (perhaps before this function returns, perhaps in another thread), + /// the connection will begin sending signaling messages by calling + /// ISteamNetworkingConnectionSignaling::SendSignal. + /// + /// When the remote peer accepts the connection (See + /// ISteamNetworkingSignalingRecvContext::OnConnectRequest), + /// it will begin sending signaling messages. When these messages are received, + /// you can pass them to the connection using ReceivedP2PCustomSignal. + /// + /// If you know the identity of the peer that you expect to be on the other end, + /// you can pass their identity to improve debug output or just detect bugs. + /// If you don't know their identity yet, you can pass NULL, and their + /// identity will be established in the connection handshake. + /// + /// If you use this, you probably want to call ISteamNetworkingUtils::InitRelayNetworkAccess() + /// when your app initializes + /// + /// If you need to set any initial config options, pass them here. See + /// SteamNetworkingConfigValue_t for more about why this is preferable to + /// setting the options "immediately" after creation. + virtual HSteamNetConnection ConnectP2PCustomSignaling( ISteamNetworkingConnectionSignaling *pSignaling, const SteamNetworkingIdentity *pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// Called when custom signaling has received a message. When your + /// signaling channel receives a message, it should save off whatever + /// routing information was in the envelope into the context object, + /// and then pass the payload to this function. + /// + /// A few different things can happen next, depending on the message: + /// + /// - If the signal is associated with existing connection, it is dealt + /// with immediately. If any replies need to be sent, they will be + /// dispatched using the ISteamNetworkingConnectionSignaling + /// associated with the connection. + /// - If the message represents a connection request (and the request + /// is not redundant for an existing connection), a new connection + /// will be created, and ReceivedConnectRequest will be called on your + /// context object to determine how to proceed. + /// - Otherwise, the message is for a connection that does not + /// exist (anymore). In this case, we *may* call SendRejectionReply + /// on your context object. + /// + /// In any case, we will not save off pContext or access it after this + /// function returns. + /// + /// Returns true if the message was parsed and dispatched without anything + /// unusual or suspicious happening. Returns false if there was some problem + /// with the message that prevented ordinary handling. (Debug output will + /// usually have more information.) + /// + /// If you expect to be using relayed connections, then you probably want + /// to call ISteamNetworkingUtils::InitRelayNetworkAccess() when your app initializes + virtual bool ReceivedP2PCustomSignal( const void *pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext *pContext ) = 0; + + // + // Certificate provision by the application. On Steam, we normally handle all this automatically + // and you will not need to use these advanced functions. + // + + /// Get blob that describes a certificate request. You can send this to your game coordinator. + /// Upon entry, *pcbBlob should contain the size of the buffer. On successful exit, it will + /// return the number of bytes that were populated. You can pass pBlob=NULL to query for the required + /// size. (512 bytes is a conservative estimate.) + /// + /// Pass this blob to your game coordinator and call SteamDatagram_CreateCert. + virtual bool GetCertificateRequest( int *pcbBlob, void *pBlob, SteamNetworkingErrMsg &errMsg ) = 0; + + /// Set the certificate. The certificate blob should be the output of + /// SteamDatagram_CreateCert. + virtual bool SetCertificate( const void *pCertificate, int cbCertificate, SteamNetworkingErrMsg &errMsg ) = 0; + + /// Reset the identity associated with this instance. + /// Any open connections are closed. Any previous certificates, etc are discarded. + /// You can pass a specific identity that you want to use, or you can pass NULL, + /// in which case the identity will be invalid until you set it using SetCertificate + /// + /// NOTE: This function is not actually supported on Steam! It is included + /// for use on other platforms where the active user can sign out and + /// a new user can sign in. + virtual void ResetIdentity( const SteamNetworkingIdentity *pIdentity ) = 0; + + // + // Misc + // + + /// Invoke all callback functions queued for this interface. + /// See k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged, etc + /// + /// You don't need to call this if you are using Steam's callback dispatch + /// mechanism (SteamAPI_RunCallbacks and SteamGameserver_RunCallbacks). + virtual void RunCallbacks() = 0; + + // + // "FakeIP" system. + // + // A FakeIP is essentially a temporary, arbitrary identifier that + // happens to be a valid IPv4 address. The purpose of this system is to make it + // easy to integrate with existing code that identifies hosts using IPv4 addresses. + // The FakeIP address will never actually be used to send or receive any packets + // on the Internet, it is strictly an identifier. + // + // FakeIP addresses are designed to (hopefully) pass through existing code as + // transparently as possible, while conflicting with "real" addresses that might + // be in use on networks (both the Internet and LANs) in the same code as little + // as possible. At the time this comment is being written, they come from the + // 169.254.0.0/16 range, and the port number will always be >1024. HOWEVER, + // this is subject to change! Do not make assumptions about these addresses, + // or your code might break in the future. In particular, you should use + // functions such as ISteamNetworkingUtils::IsFakeIP to determine if an IP + // address is a "fake" one used by this system. + // + + /// Begin asynchronous process of allocating a fake IPv4 address that other + /// peers can use to contact us via P2P. IP addresses returned by this + /// function are globally unique for a given appid. + /// + /// nNumPorts is the numbers of ports you wish to reserve. This is useful + /// for the same reason that listening on multiple UDP ports is useful for + /// different types of traffic. Because these allocations come from a global + /// namespace, there is a relatively strict limit on the maximum number of + /// ports you may request. (At the time of this writing, the limit is 4.) + /// The port assignments are *not* guaranteed to have any particular order + /// or relationship! Do *not* assume they are contiguous, even though that + /// may often occur in practice. + /// + /// Returns false if a request was already in progress, true if a new request + /// was started. A SteamNetworkingFakeIPResult_t will be posted when the request + /// completes. + /// + /// For gameservers, you *must* call this after initializing the SDK but before + /// beginning login. Steam needs to know in advance that FakeIP will be used. + /// Everywhere your public IP would normally appear (such as the server browser) will be + /// replaced by the FakeIP, and the fake port at index 0. The request is actually queued + /// until the logon completes, so you must not wait until the allocation completes + /// before logging in. Except for trivial failures that can be detected locally + /// (e.g. invalid parameter), a SteamNetworkingFakeIPResult_t callback (whether success or + /// failure) will not be posted until after we have logged in. Furthermore, it is assumed + /// that FakeIP allocation is essential for your application to function, and so failure + /// will not be reported until *several* retries have been attempted. This process may + /// last several minutes. It is *highly* recommended to treat failure as fatal. + /// + /// To communicate using a connection-oriented (TCP-style) API: + /// - Server creates a listen socket using CreateListenSocketP2PFakeIP + /// - Client connects using ConnectByIPAddress, passing in the FakeIP address. + /// - The connection will behave mostly like a P2P connection. The identities + /// that appear in SteamNetConnectionInfo_t will be the FakeIP identity until + /// we know the real identity. Then it will be the real identity. If the + /// SteamNetConnectionInfo_t::m_addrRemote is valid, it will be a real IPv4 + /// address of a NAT-punched connection. Otherwise, it will not be valid. + /// + /// To communicate using an ad-hoc sendto/recv from (UDP-style) API, + /// use CreateFakeUDPPort. + virtual bool BeginAsyncRequestFakeIP( int nNumPorts ) = 0; + + /// Return info about the FakeIP and port(s) that we have been assigned, + /// if any. idxFirstPort is currently reserved and must be zero. + /// Make sure and check SteamNetworkingFakeIPResult_t::m_eResult + virtual void GetFakeIP( int idxFirstPort, SteamNetworkingFakeIPResult_t *pInfo ) = 0; + + /// Create a listen socket that will listen for P2P connections sent + /// to our FakeIP. A peer can initiate connections to this listen + /// socket by calling ConnectByIPAddress. + /// + /// idxFakePort refers to the *index* of the fake port requested, + /// not the actual port number. For example, pass 0 to refer to the + /// first port in the reservation. You must call this only after calling + /// BeginAsyncRequestFakeIP. However, you do not need to wait for the + /// request to complete before creating the listen socket. + virtual HSteamListenSocket CreateListenSocketP2PFakeIP( int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t *pOptions ) = 0; + + /// If the connection was initiated using the "FakeIP" system, then we + /// we can get an IP address for the remote host. If the remote host had + /// a global FakeIP at the time the connection was established, this + /// function will return that global IP. Otherwise, a FakeIP that is + /// unique locally will be allocated from the local FakeIP address space, + /// and that will be returned. + /// + /// The allocation of local FakeIPs attempts to assign addresses in + /// a consistent manner. If multiple connections are made to the + /// same remote host, they *probably* will return the same FakeIP. + /// However, since the namespace is limited, this cannot be guaranteed. + /// + /// On failure, returns: + /// - k_EResultInvalidParam: invalid connection handle + /// - k_EResultIPNotFound: This connection wasn't made using FakeIP system + virtual EResult GetRemoteFakeIPForConnection( HSteamNetConnection hConn, SteamNetworkingIPAddr *pOutAddr ) = 0; + + /// Get an interface that can be used like a UDP port to send/receive + /// datagrams to a FakeIP address. This is intended to make it easy + /// to port existing UDP-based code to take advantage of SDR. + /// + /// idxFakeServerPort refers to the *index* of the port allocated using + /// BeginAsyncRequestFakeIP and is used to create "server" ports. You may + /// call this before the allocation has completed. However, any attempts + /// to send packets will fail until the allocation has succeeded. When + /// the peer receives packets sent from this interface, the from address + /// of the packet will be the globally-unique FakeIP. If you call this + /// function multiple times and pass the same (nonnegative) fake port index, + /// the same object will be returned, and this object is not reference counted. + /// + /// To create a "client" port (e.g. the equivalent of an ephemeral UDP port) + /// pass -1. In this case, a distinct object will be returned for each call. + /// When the peer receives packets sent from this interface, the peer will + /// assign a FakeIP from its own locally-controlled namespace. + virtual ISteamNetworkingFakeUDPPort *CreateFakeUDPPort( int idxFakeServerPort ) = 0; + +protected: + ~ISteamNetworkingSockets(); // Silence some warnings +}; +#define STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "SteamNetworkingSockets012" + +// Global accessors + +// Using standalone lib +#ifdef STEAMNETWORKINGSOCKETS_STANDALONELIB + + static_assert( STEAMNETWORKINGSOCKETS_INTERFACE_VERSION[24] == '2', "Version mismatch" ); + STEAMNETWORKINGSOCKETS_INTERFACE ISteamNetworkingSockets *SteamNetworkingSockets_LibV12(); + inline ISteamNetworkingSockets *SteamNetworkingSockets_Lib() { return SteamNetworkingSockets_LibV12(); } + + STEAMNETWORKINGSOCKETS_INTERFACE ISteamNetworkingSockets *SteamGameServerNetworkingSockets_LibV12(); + inline ISteamNetworkingSockets *SteamGameServerNetworkingSockets_Lib() { return SteamGameServerNetworkingSockets_LibV12(); } + + #ifndef STEAMNETWORKINGSOCKETS_STEAMAPI + inline ISteamNetworkingSockets *SteamNetworkingSockets() { return SteamNetworkingSockets_LibV12(); } + inline ISteamNetworkingSockets *SteamGameServerNetworkingSockets() { return SteamGameServerNetworkingSockets_LibV12(); } + #endif +#endif + +// Using Steamworks SDK +#ifdef STEAMNETWORKINGSOCKETS_STEAMAPI + STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamNetworkingSockets *, SteamNetworkingSockets_SteamAPI, STEAMNETWORKINGSOCKETS_INTERFACE_VERSION ); + STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamNetworkingSockets *, SteamGameServerNetworkingSockets_SteamAPI, STEAMNETWORKINGSOCKETS_INTERFACE_VERSION ); + + #ifndef STEAMNETWORKINGSOCKETS_STANDALONELIB + inline ISteamNetworkingSockets *SteamNetworkingSockets() { return SteamNetworkingSockets_SteamAPI(); } + inline ISteamNetworkingSockets *SteamGameServerNetworkingSockets() { return SteamGameServerNetworkingSockets_SteamAPI(); } + #endif +#endif + +/// Callback struct used to notify when a connection has changed state +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error "Must define VALVE_CALLBACK_PACK_SMALL or VALVE_CALLBACK_PACK_LARGE" +#endif + +/// This callback is posted whenever a connection is created, destroyed, or changes state. +/// The m_info field will contain a complete description of the connection at the time the +/// change occurred and the callback was posted. In particular, m_eState will have the +/// new connection state. +/// +/// You will usually need to listen for this callback to know when: +/// - A new connection arrives on a listen socket. +/// m_info.m_hListenSocket will be set, m_eOldState = k_ESteamNetworkingConnectionState_None, +/// and m_info.m_eState = k_ESteamNetworkingConnectionState_Connecting. +/// See ISteamNetworkigSockets::AcceptConnection. +/// - A connection you initiated has been accepted by the remote host. +/// m_eOldState = k_ESteamNetworkingConnectionState_Connecting, and +/// m_info.m_eState = k_ESteamNetworkingConnectionState_Connected. +/// Some connections might transition to k_ESteamNetworkingConnectionState_FindingRoute first. +/// - A connection has been actively rejected or closed by the remote host. +/// m_eOldState = k_ESteamNetworkingConnectionState_Connecting or k_ESteamNetworkingConnectionState_Connected, +/// and m_info.m_eState = k_ESteamNetworkingConnectionState_ClosedByPeer. m_info.m_eEndReason +/// and m_info.m_szEndDebug will have for more details. +/// NOTE: upon receiving this callback, you must still destroy the connection using +/// ISteamNetworkingSockets::CloseConnection to free up local resources. (The details +/// passed to the function are not used in this case, since the connection is already closed.) +/// - A problem was detected with the connection, and it has been closed by the local host. +/// The most common failure is timeout, but other configuration or authentication failures +/// can cause this. m_eOldState = k_ESteamNetworkingConnectionState_Connecting or +/// k_ESteamNetworkingConnectionState_Connected, and m_info.m_eState = k_ESteamNetworkingConnectionState_ProblemDetectedLocally. +/// m_info.m_eEndReason and m_info.m_szEndDebug will have for more details. +/// NOTE: upon receiving this callback, you must still destroy the connection using +/// ISteamNetworkingSockets::CloseConnection to free up local resources. (The details +/// passed to the function are not used in this case, since the connection is already closed.) +/// +/// Remember that callbacks are posted to a queue, and networking connections can +/// change at any time. It is possible that the connection has already changed +/// state by the time you process this callback. +/// +/// Also note that callbacks will be posted when connections are created and destroyed by your own API calls. +struct SteamNetConnectionStatusChangedCallback_t +{ + enum { k_iCallback = k_iSteamNetworkingSocketsCallbacks + 1 }; + + /// Connection handle + HSteamNetConnection m_hConn; + + /// Full connection info + SteamNetConnectionInfo_t m_info; + + /// Previous state. (Current state is in m_info.m_eState) + ESteamNetworkingConnectionState m_eOldState; +}; + +/// A struct used to describe our readiness to participate in authenticated, +/// encrypted communication. In order to do this we need: +/// +/// - The list of trusted CA certificates that might be relevant for this +/// app. +/// - A valid certificate issued by a CA. +/// +/// This callback is posted whenever the state of our readiness changes. +struct SteamNetAuthenticationStatus_t +{ + enum { k_iCallback = k_iSteamNetworkingSocketsCallbacks + 2 }; + + /// Status + ESteamNetworkingAvailability m_eAvail; + + /// Non-localized English language status. For diagnostic/debugging + /// purposes only. + char m_debugMsg[ 256 ]; +}; + +#pragma pack( pop ) + +#endif // ISTEAMNETWORKINGSOCKETS diff --git a/lsteamclient/steamworks_sdk_158/isteamnetworkingutils.h b/lsteamclient/steamworks_sdk_158/isteamnetworkingutils.h new file mode 100644 index 000000000..ccd431179 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamnetworkingutils.h @@ -0,0 +1,503 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Purpose: misc networking utilities +// +//============================================================================= + +#ifndef ISTEAMNETWORKINGUTILS +#define ISTEAMNETWORKINGUTILS + +#include "steamnetworkingtypes.h" +#include "steam_api_common.h" + +struct SteamDatagramRelayAuthTicket; +struct SteamRelayNetworkStatus_t; + +//----------------------------------------------------------------------------- +/// Misc networking utilities for checking the local networking environment +/// and estimating pings. +class ISteamNetworkingUtils +{ +public: + // + // Efficient message sending + // + + /// Allocate and initialize a message object. Usually the reason + /// you call this is to pass it to ISteamNetworkingSockets::SendMessages. + /// The returned object will have all of the relevant fields cleared to zero. + /// + /// Optionally you can also request that this system allocate space to + /// hold the payload itself. If cbAllocateBuffer is nonzero, the system + /// will allocate memory to hold a payload of at least cbAllocateBuffer bytes. + /// m_pData will point to the allocated buffer, m_cbSize will be set to the + /// size, and m_pfnFreeData will be set to the proper function to free up + /// the buffer. + /// + /// If cbAllocateBuffer=0, then no buffer is allocated. m_pData will be NULL, + /// m_cbSize will be zero, and m_pfnFreeData will be NULL. You will need to + /// set each of these. + virtual SteamNetworkingMessage_t *AllocateMessage( int cbAllocateBuffer ) = 0; + + // + // Access to Steam Datagram Relay (SDR) network + // + + // + // Initialization and status check + // + + /// If you know that you are going to be using the relay network (for example, + /// because you anticipate making P2P connections), call this to initialize the + /// relay network. If you do not call this, the initialization will + /// be delayed until the first time you use a feature that requires access + /// to the relay network, which will delay that first access. + /// + /// You can also call this to force a retry if the previous attempt has failed. + /// Performing any action that requires access to the relay network will also + /// trigger a retry, and so calling this function is never strictly necessary, + /// but it can be useful to call it a program launch time, if access to the + /// relay network is anticipated. + /// + /// Use GetRelayNetworkStatus or listen for SteamRelayNetworkStatus_t + /// callbacks to know when initialization has completed. + /// Typically initialization completes in a few seconds. + /// + /// Note: dedicated servers hosted in known data centers do *not* need + /// to call this, since they do not make routing decisions. However, if + /// the dedicated server will be using P2P functionality, it will act as + /// a "client" and this should be called. + inline void InitRelayNetworkAccess(); + + /// Fetch current status of the relay network. + /// + /// SteamRelayNetworkStatus_t is also a callback. It will be triggered on + /// both the user and gameserver interfaces any time the status changes, or + /// ping measurement starts or stops. + /// + /// SteamRelayNetworkStatus_t::m_eAvail is returned. If you want + /// more details, you can pass a non-NULL value. + virtual ESteamNetworkingAvailability GetRelayNetworkStatus( SteamRelayNetworkStatus_t *pDetails ) = 0; + + // + // "Ping location" functions + // + // We use the ping times to the valve relays deployed worldwide to + // generate a "marker" that describes the location of an Internet host. + // Given two such markers, we can estimate the network latency between + // two hosts, without sending any packets. The estimate is based on the + // optimal route that is found through the Valve network. If you are + // using the Valve network to carry the traffic, then this is precisely + // the ping you want. If you are not, then the ping time will probably + // still be a reasonable estimate. + // + // This is extremely useful to select peers for matchmaking! + // + // The markers can also be converted to a string, so they can be transmitted. + // We have a separate library you can use on your app's matchmaking/coordinating + // server to manipulate these objects. (See steamdatagram_gamecoordinator.h) + + /// Return location info for the current host. Returns the approximate + /// age of the data, in seconds, or -1 if no data is available. + /// + /// It takes a few seconds to initialize access to the relay network. If + /// you call this very soon after calling InitRelayNetworkAccess, + /// the data may not be available yet. + /// + /// This always return the most up-to-date information we have available + /// right now, even if we are in the middle of re-calculating ping times. + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t &result ) = 0; + + /// Estimate the round-trip latency between two arbitrary locations, in + /// milliseconds. This is a conservative estimate, based on routing through + /// the relay network. For most basic relayed connections, this ping time + /// will be pretty accurate, since it will be based on the route likely to + /// be actually used. + /// + /// If a direct IP route is used (perhaps via NAT traversal), then the route + /// will be different, and the ping time might be better. Or it might actually + /// be a bit worse! Standard IP routing is frequently suboptimal! + /// + /// But even in this case, the estimate obtained using this method is a + /// reasonable upper bound on the ping time. (Also it has the advantage + /// of returning immediately and not sending any packets.) + /// + /// In a few cases we might not able to estimate the route. In this case + /// a negative value is returned. k_nSteamNetworkingPing_Failed means + /// the reason was because of some networking difficulty. (Failure to + /// ping, etc) k_nSteamNetworkingPing_Unknown is returned if we cannot + /// currently answer the question for some other reason. + /// + /// Do you need to be able to do this from a backend/matchmaking server? + /// You are looking for the "game coordinator" library. + virtual int EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t &location1, const SteamNetworkPingLocation_t &location2 ) = 0; + + /// Same as EstimatePingTime, but assumes that one location is the local host. + /// This is a bit faster, especially if you need to calculate a bunch of + /// these in a loop to find the fastest one. + /// + /// In rare cases this might return a slightly different estimate than combining + /// GetLocalPingLocation with EstimatePingTimeBetweenTwoLocations. That's because + /// this function uses a slightly more complete set of information about what + /// route would be taken. + virtual int EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t &remoteLocation ) = 0; + + /// Convert a ping location into a text format suitable for sending over the wire. + /// The format is a compact and human readable. However, it is subject to change + /// so please do not parse it yourself. Your buffer must be at least + /// k_cchMaxSteamNetworkingPingLocationString bytes. + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t &location, char *pszBuf, int cchBufSize ) = 0; + + /// Parse back SteamNetworkPingLocation_t string. Returns false if we couldn't understand + /// the string. + virtual bool ParsePingLocationString( const char *pszString, SteamNetworkPingLocation_t &result ) = 0; + + /// Check if the ping data of sufficient recency is available, and if + /// it's too old, start refreshing it. + /// + /// Please only call this function when you *really* do need to force an + /// immediate refresh of the data. (For example, in response to a specific + /// user input to refresh this information.) Don't call it "just in case", + /// before every connection, etc. That will cause extra traffic to be sent + /// for no benefit. The library will automatically refresh the information + /// as needed. + /// + /// Returns true if sufficiently recent data is already available. + /// + /// Returns false if sufficiently recent data is not available. In this + /// case, ping measurement is initiated, if it is not already active. + /// (You cannot restart a measurement already in progress.) + /// + /// You can use GetRelayNetworkStatus or listen for SteamRelayNetworkStatus_t + /// to know when ping measurement completes. + virtual bool CheckPingDataUpToDate( float flMaxAgeSeconds ) = 0; + + // + // List of Valve data centers, and ping times to them. This might + // be useful to you if you are use our hosting, or just need to measure + // latency to a cloud data center where we are running relays. + // + + /// Fetch ping time of best available relayed route from this host to + /// the specified data center. + virtual int GetPingToDataCenter( SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP ) = 0; + + /// Get *direct* ping time to the relays at the data center. + virtual int GetDirectPingToPOP( SteamNetworkingPOPID popID ) = 0; + + /// Get number of network points of presence in the config + virtual int GetPOPCount() = 0; + + /// Get list of all POP IDs. Returns the number of entries that were filled into + /// your list. + virtual int GetPOPList( SteamNetworkingPOPID *list, int nListSz ) = 0; + + // + // Misc + // + + /// Fetch current timestamp. This timer has the following properties: + /// + /// - Monotonicity is guaranteed. + /// - The initial value will be at least 24*3600*30*1e6, i.e. about + /// 30 days worth of microseconds. In this way, the timestamp value of + /// 0 will always be at least "30 days ago". Also, negative numbers + /// will never be returned. + /// - Wraparound / overflow is not a practical concern. + /// + /// If you are running under the debugger and stop the process, the clock + /// might not advance the full wall clock time that has elapsed between + /// calls. If the process is not blocked from normal operation, the + /// timestamp values will track wall clock time, even if you don't call + /// the function frequently. + /// + /// The value is only meaningful for this run of the process. Don't compare + /// it to values obtained on another computer, or other runs of the same process. + virtual SteamNetworkingMicroseconds GetLocalTimestamp() = 0; + + /// Set a function to receive network-related information that is useful for debugging. + /// This can be very useful during development, but it can also be useful for troubleshooting + /// problems with tech savvy end users. If you have a console or other log that customers + /// can examine, these log messages can often be helpful to troubleshoot network issues. + /// (Especially any warning/error messages.) + /// + /// The detail level indicates what message to invoke your callback on. Lower numeric + /// value means more important, and the value you pass is the lowest priority (highest + /// numeric value) you wish to receive callbacks for. + /// + /// The value here controls the detail level for most messages. You can control the + /// detail level for various subsystems (perhaps only for certain connections) by + /// adjusting the configuration values k_ESteamNetworkingConfig_LogLevel_Xxxxx. + /// + /// Except when debugging, you should only use k_ESteamNetworkingSocketsDebugOutputType_Msg + /// or k_ESteamNetworkingSocketsDebugOutputType_Warning. For best performance, do NOT + /// request a high detail level and then filter out messages in your callback. This incurs + /// all of the expense of formatting the messages, which are then discarded. Setting a high + /// priority value (low numeric value) here allows the library to avoid doing this work. + /// + /// IMPORTANT: This may be called from a service thread, while we own a mutex, etc. + /// Your output function must be threadsafe and fast! Do not make any other + /// Steamworks calls from within the handler. + virtual void SetDebugOutputFunction( ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc ) = 0; + + // + // Fake IP + // + // Useful for interfacing with code that assumes peers are identified using an IPv4 address + // + + /// Return true if an IPv4 address is one that might be used as a "fake" one. + /// This function is fast; it just does some logical tests on the IP and does + /// not need to do any lookup operations. + inline bool IsFakeIPv4( uint32 nIPv4 ) { return GetIPv4FakeIPType( nIPv4 ) > k_ESteamNetworkingFakeIPType_NotFake; } + virtual ESteamNetworkingFakeIPType GetIPv4FakeIPType( uint32 nIPv4 ) = 0; + + /// Get the real identity associated with a given FakeIP. + /// + /// On failure, returns: + /// - k_EResultInvalidParam: the IP is not a FakeIP. + /// - k_EResultNoMatch: we don't recognize that FakeIP and don't know the corresponding identity. + /// + /// FakeIP's used by active connections, or the FakeIPs assigned to local identities, + /// will always work. FakeIPs for recently destroyed connections will continue to + /// return results for a little while, but not forever. At some point, we will forget + /// FakeIPs to save space. It's reasonably safe to assume that you can read back the + /// real identity of a connection very soon after it is destroyed. But do not wait + /// indefinitely. + virtual EResult GetRealIdentityForFakeIP( const SteamNetworkingIPAddr &fakeIP, SteamNetworkingIdentity *pOutRealIdentity ) = 0; + + // + // Set and get configuration values, see ESteamNetworkingConfigValue for individual descriptions. + // + + // Shortcuts for common cases. (Implemented as inline functions below) + bool SetGlobalConfigValueInt32( ESteamNetworkingConfigValue eValue, int32 val ); + bool SetGlobalConfigValueFloat( ESteamNetworkingConfigValue eValue, float val ); + bool SetGlobalConfigValueString( ESteamNetworkingConfigValue eValue, const char *val ); + bool SetGlobalConfigValuePtr( ESteamNetworkingConfigValue eValue, void *val ); + bool SetConnectionConfigValueInt32( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, int32 val ); + bool SetConnectionConfigValueFloat( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, float val ); + bool SetConnectionConfigValueString( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, const char *val ); + + // + // Set global callbacks. If you do not want to use Steam's callback dispatch mechanism and you + // want to use the same callback on all (or most) listen sockets and connections, then + // simply install these callbacks first thing, and you are good to go. + // See ISteamNetworkingSockets::RunCallbacks + // + bool SetGlobalCallback_SteamNetConnectionStatusChanged( FnSteamNetConnectionStatusChanged fnCallback ); + bool SetGlobalCallback_SteamNetAuthenticationStatusChanged( FnSteamNetAuthenticationStatusChanged fnCallback ); + bool SetGlobalCallback_SteamRelayNetworkStatusChanged( FnSteamRelayNetworkStatusChanged fnCallback ); + bool SetGlobalCallback_FakeIPResult( FnSteamNetworkingFakeIPResult fnCallback ); + bool SetGlobalCallback_MessagesSessionRequest( FnSteamNetworkingMessagesSessionRequest fnCallback ); + bool SetGlobalCallback_MessagesSessionFailed( FnSteamNetworkingMessagesSessionFailed fnCallback ); + + /// Set a configuration value. + /// - eValue: which value is being set + /// - eScope: Onto what type of object are you applying the setting? + /// - scopeArg: Which object you want to change? (Ignored for global scope). E.g. connection handle, listen socket handle, interface pointer, etc. + /// - eDataType: What type of data is in the buffer at pValue? This must match the type of the variable exactly! + /// - pArg: Value to set it to. You can pass NULL to remove a non-global setting at this scope, + /// causing the value for that object to use global defaults. Or at global scope, passing NULL + /// will reset any custom value and restore it to the system default. + /// NOTE: When setting pointers (e.g. callback functions), do not pass the function pointer directly. + /// Your argument should be a pointer to a function pointer. + virtual bool SetConfigValue( ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, + ESteamNetworkingConfigDataType eDataType, const void *pArg ) = 0; + + /// Set a configuration value, using a struct to pass the value. + /// (This is just a convenience shortcut; see below for the implementation and + /// a little insight into how SteamNetworkingConfigValue_t is used when + /// setting config options during listen socket and connection creation.) + bool SetConfigValueStruct( const SteamNetworkingConfigValue_t &opt, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj ); + + /// Get a configuration value. + /// - eValue: which value to fetch + /// - eScopeType: query setting on what type of object + /// - eScopeArg: the object to query the setting for + /// - pOutDataType: If non-NULL, the data type of the value is returned. + /// - pResult: Where to put the result. Pass NULL to query the required buffer size. (k_ESteamNetworkingGetConfigValue_BufferTooSmall will be returned.) + /// - cbResult: IN: the size of your buffer. OUT: the number of bytes filled in or required. + virtual ESteamNetworkingGetConfigValueResult GetConfigValue( ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, + ESteamNetworkingConfigDataType *pOutDataType, void *pResult, size_t *cbResult ) = 0; + + /// Get info about a configuration value. Returns the name of the value, + /// or NULL if the value doesn't exist. Other output parameters can be NULL + /// if you do not need them. + virtual const char *GetConfigValueInfo( ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType *pOutDataType, + ESteamNetworkingConfigScope *pOutScope ) = 0; + + /// Iterate the list of all configuration values in the current environment that it might + /// be possible to display or edit using a generic UI. To get the first iterable value, + /// pass k_ESteamNetworkingConfig_Invalid. Returns k_ESteamNetworkingConfig_Invalid + /// to signal end of list. + /// + /// The bEnumerateDevVars argument can be used to include "dev" vars. These are vars that + /// are recommended to only be editable in "debug" or "dev" mode and typically should not be + /// shown in a retail environment where a malicious local user might use this to cheat. + virtual ESteamNetworkingConfigValue IterateGenericEditableConfigValues( ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars ) = 0; + + // + // String conversions. You'll usually access these using the respective + // inline methods. + // + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr &addr, char *buf, size_t cbBuf, bool bWithPort ) = 0; + virtual bool SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *pAddr, const char *pszStr ) = 0; + virtual ESteamNetworkingFakeIPType SteamNetworkingIPAddr_GetFakeIPType( const SteamNetworkingIPAddr &addr ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity &identity, char *buf, size_t cbBuf ) = 0; + virtual bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *pIdentity, const char *pszStr ) = 0; + +protected: + ~ISteamNetworkingUtils(); // Silence some warnings +}; +#define STEAMNETWORKINGUTILS_INTERFACE_VERSION "SteamNetworkingUtils004" + +// Global accessors +// Using standalone lib +#ifdef STEAMNETWORKINGSOCKETS_STANDALONELIB + + // Standalone lib + static_assert( STEAMNETWORKINGUTILS_INTERFACE_VERSION[22] == '4', "Version mismatch" ); + STEAMNETWORKINGSOCKETS_INTERFACE ISteamNetworkingUtils *SteamNetworkingUtils_LibV4(); + inline ISteamNetworkingUtils *SteamNetworkingUtils_Lib() { return SteamNetworkingUtils_LibV4(); } + + #ifndef STEAMNETWORKINGSOCKETS_STEAMAPI + inline ISteamNetworkingUtils *SteamNetworkingUtils() { return SteamNetworkingUtils_LibV4(); } + #endif +#endif + +// Using Steamworks SDK +#ifdef STEAMNETWORKINGSOCKETS_STEAMAPI + STEAM_DEFINE_INTERFACE_ACCESSOR( ISteamNetworkingUtils *, SteamNetworkingUtils_SteamAPI, + /* Prefer user version of the interface. But if it isn't found, then use + gameserver one. Yes, this is a completely terrible hack */ + SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) ? + SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) : + SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ), + "global", + STEAMNETWORKINGUTILS_INTERFACE_VERSION + ) + + #ifndef STEAMNETWORKINGSOCKETS_STANDALONELIB + inline ISteamNetworkingUtils *SteamNetworkingUtils() { return SteamNetworkingUtils_SteamAPI(); } + #endif +#endif + +/// A struct used to describe our readiness to use the relay network. +/// To do this we first need to fetch the network configuration, +/// which describes what POPs are available. +struct SteamRelayNetworkStatus_t +{ + enum { k_iCallback = k_iSteamNetworkingUtilsCallbacks + 1 }; + + /// Summary status. When this is "current", initialization has + /// completed. Anything else means you are not ready yet, or + /// there is a significant problem. + ESteamNetworkingAvailability m_eAvail; + + /// Nonzero if latency measurement is in progress (or pending, + /// awaiting a prerequisite). + int m_bPingMeasurementInProgress; + + /// Status obtaining the network config. This is a prerequisite + /// for relay network access. + /// + /// Failure to obtain the network config almost always indicates + /// a problem with the local internet connection. + ESteamNetworkingAvailability m_eAvailNetworkConfig; + + /// Current ability to communicate with ANY relay. Note that + /// the complete failure to communicate with any relays almost + /// always indicates a problem with the local Internet connection. + /// (However, just because you can reach a single relay doesn't + /// mean that the local connection is in perfect health.) + ESteamNetworkingAvailability m_eAvailAnyRelay; + + /// Non-localized English language status. For diagnostic/debugging + /// purposes only. + char m_debugMsg[ 256 ]; +}; + +#if 0 +#ifndef API_GEN + +/// Utility class for printing a SteamNetworkingIdentity. +/// E.g. printf( "Identity is '%s'\n", SteamNetworkingIdentityRender( identity ).c_str() ); +struct SteamNetworkingIdentityRender +{ + SteamNetworkingIdentityRender( const SteamNetworkingIdentity &x ) { x.ToString( buf, sizeof(buf) ); } + inline const char *c_str() const { return buf; } +private: + char buf[ SteamNetworkingIdentity::k_cchMaxString ]; +}; + +/// Utility class for printing a SteamNetworkingIPAddrRender. +struct SteamNetworkingIPAddrRender +{ + SteamNetworkingIPAddrRender( const SteamNetworkingIPAddr &x, bool bWithPort = true ) { x.ToString( buf, sizeof(buf), bWithPort ); } + inline const char *c_str() const { return buf; } +private: + char buf[ SteamNetworkingIPAddr::k_cchMaxString ]; +}; + +#endif + +/////////////////////////////////////////////////////////////////////////////// +// +// Internal stuff + +inline void ISteamNetworkingUtils::InitRelayNetworkAccess() { CheckPingDataUpToDate( 1e10f ); } +inline bool ISteamNetworkingUtils::SetGlobalConfigValueInt32( ESteamNetworkingConfigValue eValue, int32 val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Global, 0, k_ESteamNetworkingConfig_Int32, &val ); } +inline bool ISteamNetworkingUtils::SetGlobalConfigValueFloat( ESteamNetworkingConfigValue eValue, float val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Global, 0, k_ESteamNetworkingConfig_Float, &val ); } +inline bool ISteamNetworkingUtils::SetGlobalConfigValueString( ESteamNetworkingConfigValue eValue, const char *val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Global, 0, k_ESteamNetworkingConfig_String, val ); } +inline bool ISteamNetworkingUtils::SetGlobalConfigValuePtr( ESteamNetworkingConfigValue eValue, void *val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Global, 0, k_ESteamNetworkingConfig_Ptr, &val ); } // Note: passing pointer to pointer. +inline bool ISteamNetworkingUtils::SetConnectionConfigValueInt32( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, int32 val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Connection, hConn, k_ESteamNetworkingConfig_Int32, &val ); } +inline bool ISteamNetworkingUtils::SetConnectionConfigValueFloat( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, float val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Connection, hConn, k_ESteamNetworkingConfig_Float, &val ); } +inline bool ISteamNetworkingUtils::SetConnectionConfigValueString( HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, const char *val ) { return SetConfigValue( eValue, k_ESteamNetworkingConfig_Connection, hConn, k_ESteamNetworkingConfig_String, val ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_SteamNetConnectionStatusChanged( FnSteamNetConnectionStatusChanged fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged, (void*)fnCallback ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_SteamNetAuthenticationStatusChanged( FnSteamNetAuthenticationStatusChanged fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_AuthStatusChanged, (void*)fnCallback ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_SteamRelayNetworkStatusChanged( FnSteamRelayNetworkStatusChanged fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_RelayNetworkStatusChanged, (void*)fnCallback ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_FakeIPResult( FnSteamNetworkingFakeIPResult fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_FakeIPResult, (void*)fnCallback ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionRequest( FnSteamNetworkingMessagesSessionRequest fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_MessagesSessionRequest, (void*)fnCallback ); } +inline bool ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionFailed( FnSteamNetworkingMessagesSessionFailed fnCallback ) { return SetGlobalConfigValuePtr( k_ESteamNetworkingConfig_Callback_MessagesSessionFailed, (void*)fnCallback ); } + +inline bool ISteamNetworkingUtils::SetConfigValueStruct( const SteamNetworkingConfigValue_t &opt, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj ) +{ + // Locate the argument. Strings are a special case, since the + // "value" (the whole string buffer) doesn't fit in the struct + // NOTE: for pointer values, we pass a pointer to the pointer, + // we do not pass the pointer directly. + const void *pVal = ( opt.m_eDataType == k_ESteamNetworkingConfig_String ) ? (const void *)opt.m_val.m_string : (const void *)&opt.m_val; + return SetConfigValue( opt.m_eValue, eScopeType, scopeObj, opt.m_eDataType, pVal ); +} +#endif + +// How to get helper functions. +#if defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) || defined(STEAMNETWORKINGSOCKETS_FOREXPORT) || defined( STEAMNETWORKINGSOCKETS_STANDALONELIB ) + + // Call direct to static functions + STEAMNETWORKINGSOCKETS_INTERFACE void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *pAddr, char *buf, size_t cbBuf, bool bWithPort ); + STEAMNETWORKINGSOCKETS_INTERFACE bool SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *pAddr, const char *pszStr ); + STEAMNETWORKINGSOCKETS_INTERFACE ESteamNetworkingFakeIPType SteamNetworkingIPAddr_GetFakeIPType( const SteamNetworkingIPAddr *pAddr ); + STEAMNETWORKINGSOCKETS_INTERFACE void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity *pIdentity, char *buf, size_t cbBuf ); + STEAMNETWORKINGSOCKETS_INTERFACE bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity *pIdentity, size_t sizeofIdentity, const char *pszStr ); + inline void SteamNetworkingIPAddr::ToString( char *buf, size_t cbBuf, bool bWithPort ) const { SteamNetworkingIPAddr_ToString( this, buf, cbBuf, bWithPort ); } + inline bool SteamNetworkingIPAddr::ParseString( const char *pszStr ) { return SteamNetworkingIPAddr_ParseString( this, pszStr ); } + inline ESteamNetworkingFakeIPType SteamNetworkingIPAddr::GetFakeIPType() const { return SteamNetworkingIPAddr_GetFakeIPType( this ); } + inline void SteamNetworkingIdentity::ToString( char *buf, size_t cbBuf ) const { SteamNetworkingIdentity_ToString( this, buf, cbBuf ); } + inline bool SteamNetworkingIdentity::ParseString( const char *pszStr ) { return SteamNetworkingIdentity_ParseString( this, sizeof(*this), pszStr ); } + +#elif defined( STEAMNETWORKINGSOCKETS_STEAMAPI ) + // Using steamworks SDK - go through SteamNetworkingUtils() +#if 0 + inline void SteamNetworkingIPAddr::ToString( char *buf, size_t cbBuf, bool bWithPort ) const { SteamNetworkingUtils()->SteamNetworkingIPAddr_ToString( *this, buf, cbBuf, bWithPort ); } + inline bool SteamNetworkingIPAddr::ParseString( const char *pszStr ) { return SteamNetworkingUtils()->SteamNetworkingIPAddr_ParseString( this, pszStr ); } + inline ESteamNetworkingFakeIPType SteamNetworkingIPAddr::GetFakeIPType() const { return SteamNetworkingUtils()->SteamNetworkingIPAddr_GetFakeIPType( *this ); } + inline void SteamNetworkingIdentity::ToString( char *buf, size_t cbBuf ) const { SteamNetworkingUtils()->SteamNetworkingIdentity_ToString( *this, buf, cbBuf ); } + inline bool SteamNetworkingIdentity::ParseString( const char *pszStr ) { return SteamNetworkingUtils()->SteamNetworkingIdentity_ParseString( this, pszStr ); } +#endif +#else + #error "Invalid config" +#endif + +#endif // ISTEAMNETWORKINGUTILS diff --git a/lsteamclient/steamworks_sdk_158/isteamparentalsettings.h b/lsteamclient/steamworks_sdk_158/isteamparentalsettings.h new file mode 100644 index 000000000..a1ff15205 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamparentalsettings.h @@ -0,0 +1,64 @@ +//====== Copyright � 2013-, Valve Corporation, All rights reserved. ======= +// +// Purpose: Interface to Steam parental settings (Family View) +// +//============================================================================= + +#ifndef ISTEAMPARENTALSETTINGS_H +#define ISTEAMPARENTALSETTINGS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +// Feature types for parental settings +enum EParentalFeature +{ + k_EFeatureInvalid = 0, + k_EFeatureStore = 1, + k_EFeatureCommunity = 2, + k_EFeatureProfile = 3, + k_EFeatureFriends = 4, + k_EFeatureNews = 5, + k_EFeatureTrading = 6, + k_EFeatureSettings = 7, + k_EFeatureConsole = 8, + k_EFeatureBrowser = 9, + k_EFeatureParentalSetup = 10, + k_EFeatureLibrary = 11, + k_EFeatureTest = 12, + k_EFeatureSiteLicense = 13, + k_EFeatureKioskMode = 14, + k_EFeatureMax +}; + +class ISteamParentalSettings +{ +public: + virtual bool BIsParentalLockEnabled() = 0; + virtual bool BIsParentalLockLocked() = 0; + + virtual bool BIsAppBlocked( AppId_t nAppID ) = 0; + virtual bool BIsAppInBlockList( AppId_t nAppID ) = 0; + + virtual bool BIsFeatureBlocked( EParentalFeature eFeature ) = 0; + virtual bool BIsFeatureInBlockList( EParentalFeature eFeature ) = 0; +}; + +#define STEAMPARENTALSETTINGS_INTERFACE_VERSION "STEAMPARENTALSETTINGS_INTERFACE_VERSION001" + +// Global interface accessor +inline ISteamParentalSettings *SteamParentalSettings(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamParentalSettings *, SteamParentalSettings, STEAMPARENTALSETTINGS_INTERFACE_VERSION ); + +//----------------------------------------------------------------------------- +// Purpose: Callback for querying UGC +//----------------------------------------------------------------------------- +struct SteamParentalSettingsChanged_t +{ + enum { k_iCallback = k_ISteamParentalSettingsCallbacks + 1 }; +}; + + +#endif // ISTEAMPARENTALSETTINGS_H diff --git a/lsteamclient/steamworks_sdk_158/isteamps3overlayrenderer.h b/lsteamclient/steamworks_sdk_158/isteamps3overlayrenderer.h new file mode 100644 index 000000000..4e07d4a19 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamps3overlayrenderer.h @@ -0,0 +1,91 @@ +//====== Copyright © 1996-2010, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface the game must provide Steam with on PS3 in order for the +// Steam overlay to render. +// +//============================================================================= + +#ifndef ISTEAMPS3OVERLAYRENDERER_H +#define ISTEAMPS3OVERLAYRENDERER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "cell/pad.h" + +//----------------------------------------------------------------------------- +// Purpose: Enum for supported gradient directions +//----------------------------------------------------------------------------- +enum EOverlayGradientDirection +{ + k_EOverlayGradientHorizontal = 1, + k_EOverlayGradientVertical = 2, + k_EOverlayGradientNone = 3, +}; + +// Helpers for fetching individual color components from ARGB packed DWORD colors Steam PS3 overlay renderer uses. +#define STEAM_COLOR_RED( color ) \ + (int)(((color)>>16)&0xff) + +#define STEAM_COLOR_GREEN( color ) \ + (int)(((color)>>8)&0xff) + +#define STEAM_COLOR_BLUE( color ) \ + (int)((color)&0xff) + +#define STEAM_COLOR_ALPHA( color ) \ + (int)(((color)>>24)&0xff) + + +//----------------------------------------------------------------------------- +// Purpose: Interface the game must expose to Steam for rendering +//----------------------------------------------------------------------------- +class ISteamPS3OverlayRenderHost +{ +public: + + // Interface for game engine to implement which Steam requires to render. + + // Draw a textured rect. This may use only part of the texture and will pass texture coords, it will also possibly request a gradient and will specify colors for vertexes. + virtual void DrawTexturedRect( int x0, int y0, int x1, int y1, float u0, float v0, float u1, float v1, int32 iTextureID, DWORD colorStart, DWORD colorEnd, EOverlayGradientDirection eDirection ) = 0; + + // Load a RGBA texture for Steam, or update a previously loaded one. Updates may be partial. You must not evict or remove this texture once Steam has uploaded it. + virtual void LoadOrUpdateTexture( int32 iTextureID, bool bIsFullTexture, int x0, int y0, uint32 uWidth, uint32 uHeight, int32 iBytes, char *pData ) = 0; + + // Delete a texture Steam previously uploaded + virtual void DeleteTexture( int32 iTextureID ) = 0; + + // Delete all previously uploaded textures + virtual void DeleteAllTextures() = 0; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Interface Steam exposes for the game to tell it when to render, etc. +//----------------------------------------------------------------------------- +class ISteamPS3OverlayRender +{ +public: + + // Call once at startup to initialize the Steam overlay and pass it your host interface ptr + virtual bool BHostInitialize( uint32 unScreenWidth, uint32 unScreenHeight, uint32 unRefreshRate, ISteamPS3OverlayRenderHost *pRenderHost, void *CellFontLib ) = 0; + + // Call this once a frame when you are ready for the Steam overlay to render (ie, right before flipping buffers, after all your rendering) + virtual void Render() = 0; + + // Call this everytime you read input on PS3. + // + // If this returns true, then the overlay is active and has consumed the input, your game + // should then ignore all the input until BHandleCellPadData once again returns false, which + // will mean the overlay is deactivated. + virtual bool BHandleCellPadData( const CellPadData &padData ) = 0; + + // Call this if you detect no controllers connected or that the XMB is intercepting input + // + // This is important to clear input state for the overlay, so keys left down during XMB activation + // are not continued to be processed. + virtual bool BResetInputState() = 0; +}; + + +#endif // ISTEAMPS3OVERLAYRENDERER_H \ No newline at end of file diff --git a/lsteamclient/steamworks_sdk_158/isteamremoteplay.h b/lsteamclient/steamworks_sdk_158/isteamremoteplay.h new file mode 100644 index 000000000..d07bb485a --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamremoteplay.h @@ -0,0 +1,98 @@ +//============ Copyright (c) Valve Corporation, All rights reserved. ============ + +#ifndef ISTEAMREMOTEPLAY_H +#define ISTEAMREMOTEPLAY_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + + +//----------------------------------------------------------------------------- +// Purpose: The form factor of a device +//----------------------------------------------------------------------------- +enum ESteamDeviceFormFactor +{ + k_ESteamDeviceFormFactorUnknown = 0, + k_ESteamDeviceFormFactorPhone = 1, + k_ESteamDeviceFormFactorTablet = 2, + k_ESteamDeviceFormFactorComputer = 3, + k_ESteamDeviceFormFactorTV = 4, +}; + +// Steam Remote Play session ID +typedef uint32 RemotePlaySessionID_t; + + +//----------------------------------------------------------------------------- +// Purpose: Functions to provide information about Steam Remote Play sessions +//----------------------------------------------------------------------------- +class ISteamRemotePlay +{ +public: + // Get the number of currently connected Steam Remote Play sessions + virtual uint32 GetSessionCount() = 0; + + // Get the currently connected Steam Remote Play session ID at the specified index. Returns zero if index is out of bounds. + virtual RemotePlaySessionID_t GetSessionID( int iSessionIndex ) = 0; + + // Get the SteamID of the connected user + virtual CSteamID GetSessionSteamID( RemotePlaySessionID_t unSessionID ) = 0; + + // Get the name of the session client device + // This returns NULL if the sessionID is not valid + virtual const char *GetSessionClientName( RemotePlaySessionID_t unSessionID ) = 0; + + // Get the form factor of the session client device + virtual ESteamDeviceFormFactor GetSessionClientFormFactor( RemotePlaySessionID_t unSessionID ) = 0; + + // Get the resolution, in pixels, of the session client device + // This is set to 0x0 if the resolution is not available + virtual bool BGetSessionClientResolution( RemotePlaySessionID_t unSessionID, int *pnResolutionX, int *pnResolutionY ) = 0; + + // Start Remote Play Together and optionally show the UI in the overlay + // This returns false if Remote Play Together can't be started or your game is not configured for Remote Play Together + virtual bool BStartRemotePlayTogether( bool bShowOverlay = true ) = 0; + + // Invite a friend to Remote Play Together, or create a guest invite if steamIDFriend is empty + // This will automatically start Remote Play Together if it hasn't already been started + // This returns false if the invite can't be sent or your game is not configured for Remote Play Together + virtual bool BSendRemotePlayTogetherInvite( CSteamID steamIDFriend ) = 0; +}; + +#define STEAMREMOTEPLAY_INTERFACE_VERSION "STEAMREMOTEPLAY_INTERFACE_VERSION002" + +// Global interface accessor +inline ISteamRemotePlay *SteamRemotePlay(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamRemotePlay *, SteamRemotePlay, STEAMREMOTEPLAY_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +STEAM_CALLBACK_BEGIN( SteamRemotePlaySessionConnected_t, k_iSteamRemotePlayCallbacks + 1 ) + STEAM_CALLBACK_MEMBER( 0, RemotePlaySessionID_t, m_unSessionID ) +STEAM_CALLBACK_END( 0 ) + + +STEAM_CALLBACK_BEGIN( SteamRemotePlaySessionDisconnected_t, k_iSteamRemotePlayCallbacks + 2 ) + STEAM_CALLBACK_MEMBER( 0, RemotePlaySessionID_t, m_unSessionID ) +STEAM_CALLBACK_END( 0 ) + + +STEAM_CALLBACK_BEGIN( SteamRemotePlayTogetherGuestInvite_t, k_iSteamRemotePlayCallbacks + 3 ) + STEAM_CALLBACK_MEMBER_ARRAY( 0, char, m_szConnectURL, 1024 ) +STEAM_CALLBACK_END( 0 ) + + +#pragma pack( pop ) + + +#endif // #define ISTEAMREMOTEPLAY_H diff --git a/lsteamclient/steamworks_sdk_158/isteamremotestorage.h b/lsteamclient/steamworks_sdk_158/isteamremotestorage.h new file mode 100644 index 000000000..01b8dae3a --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamremotestorage.h @@ -0,0 +1,660 @@ +//====== Copyright � 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: public interface to user remote file storage in Steam +// +//============================================================================= + +#ifndef ISTEAMREMOTESTORAGE_H +#define ISTEAMREMOTESTORAGE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + + +//----------------------------------------------------------------------------- +// Purpose: Defines the largest allowed file size. Cloud files cannot be written +// in a single chunk over 100MB (and cannot be over 200MB total.) +//----------------------------------------------------------------------------- +const uint32 k_unMaxCloudFileChunkSize = 100 * 1024 * 1024; + + +//----------------------------------------------------------------------------- +// Purpose: Structure that contains an array of const char * strings and the number of those strings +//----------------------------------------------------------------------------- +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif +struct SteamParamStringArray_t +{ + const char ** m_ppStrings; + int32 m_nNumStrings; +}; +#pragma pack( pop ) + +// A handle to a piece of user generated content +typedef uint64 UGCHandle_t; +typedef uint64 PublishedFileUpdateHandle_t; +typedef uint64 PublishedFileId_t; +const PublishedFileId_t k_PublishedFileIdInvalid = 0; +const UGCHandle_t k_UGCHandleInvalid = 0xffffffffffffffffull; +const PublishedFileUpdateHandle_t k_PublishedFileUpdateHandleInvalid = 0xffffffffffffffffull; + +// Handle for writing to Steam Cloud +typedef uint64 UGCFileWriteStreamHandle_t; +const UGCFileWriteStreamHandle_t k_UGCFileStreamHandleInvalid = 0xffffffffffffffffull; + +const uint32 k_cchPublishedDocumentTitleMax = 128 + 1; +const uint32 k_cchPublishedDocumentDescriptionMax = 8000; +const uint32 k_cchPublishedDocumentChangeDescriptionMax = 8000; +const uint32 k_unEnumeratePublishedFilesMaxResults = 50; +const uint32 k_cchTagListMax = 1024 + 1; +const uint32 k_cchFilenameMax = 260; +const uint32 k_cchPublishedFileURLMax = 256; + + +enum ERemoteStoragePlatform +{ + k_ERemoteStoragePlatformNone = 0, + k_ERemoteStoragePlatformWindows = (1 << 0), + k_ERemoteStoragePlatformOSX = (1 << 1), + k_ERemoteStoragePlatformPS3 = (1 << 2), + k_ERemoteStoragePlatformLinux = (1 << 3), + k_ERemoteStoragePlatformSwitch = (1 << 4), + k_ERemoteStoragePlatformAndroid = (1 << 5), + k_ERemoteStoragePlatformIOS = (1 << 6), + // NB we get one more before we need to widen some things + + k_ERemoteStoragePlatformAll = 0xffffffff +}; + +enum ERemoteStoragePublishedFileVisibility +{ + k_ERemoteStoragePublishedFileVisibilityPublic = 0, + k_ERemoteStoragePublishedFileVisibilityFriendsOnly = 1, + k_ERemoteStoragePublishedFileVisibilityPrivate = 2, + k_ERemoteStoragePublishedFileVisibilityUnlisted = 3, +}; + + +enum EWorkshopFileType +{ + k_EWorkshopFileTypeFirst = 0, + + k_EWorkshopFileTypeCommunity = 0, // normal Workshop item that can be subscribed to + k_EWorkshopFileTypeMicrotransaction = 1, // Workshop item that is meant to be voted on for the purpose of selling in-game + k_EWorkshopFileTypeCollection = 2, // a collection of Workshop or Greenlight items + k_EWorkshopFileTypeArt = 3, // artwork + k_EWorkshopFileTypeVideo = 4, // external video + k_EWorkshopFileTypeScreenshot = 5, // screenshot + k_EWorkshopFileTypeGame = 6, // Greenlight game entry + k_EWorkshopFileTypeSoftware = 7, // Greenlight software entry + k_EWorkshopFileTypeConcept = 8, // Greenlight concept + k_EWorkshopFileTypeWebGuide = 9, // Steam web guide + k_EWorkshopFileTypeIntegratedGuide = 10, // application integrated guide + k_EWorkshopFileTypeMerch = 11, // Workshop merchandise meant to be voted on for the purpose of being sold + k_EWorkshopFileTypeControllerBinding = 12, // Steam Controller bindings + k_EWorkshopFileTypeSteamworksAccessInvite = 13, // internal + k_EWorkshopFileTypeSteamVideo = 14, // Steam video + k_EWorkshopFileTypeGameManagedItem = 15, // managed completely by the game, not the user, and not shown on the web + + // Update k_EWorkshopFileTypeMax if you add values. + k_EWorkshopFileTypeMax = 16 + +}; + +enum EWorkshopVote +{ + k_EWorkshopVoteUnvoted = 0, + k_EWorkshopVoteFor = 1, + k_EWorkshopVoteAgainst = 2, + k_EWorkshopVoteLater = 3, +}; + +enum EWorkshopFileAction +{ + k_EWorkshopFileActionPlayed = 0, + k_EWorkshopFileActionCompleted = 1, +}; + +enum EWorkshopEnumerationType +{ + k_EWorkshopEnumerationTypeRankedByVote = 0, + k_EWorkshopEnumerationTypeRecent = 1, + k_EWorkshopEnumerationTypeTrending = 2, + k_EWorkshopEnumerationTypeFavoritesOfFriends = 3, + k_EWorkshopEnumerationTypeVotedByFriends = 4, + k_EWorkshopEnumerationTypeContentByFriends = 5, + k_EWorkshopEnumerationTypeRecentFromFollowedUsers = 6, +}; + +enum EWorkshopVideoProvider +{ + k_EWorkshopVideoProviderNone = 0, + k_EWorkshopVideoProviderYoutube = 1 +}; + + +enum EUGCReadAction +{ + // Keeps the file handle open unless the last byte is read. You can use this when reading large files (over 100MB) in sequential chunks. + // If the last byte is read, this will behave the same as k_EUGCRead_Close. Otherwise, it behaves the same as k_EUGCRead_ContinueReading. + // This value maintains the same behavior as before the EUGCReadAction parameter was introduced. + k_EUGCRead_ContinueReadingUntilFinished = 0, + + // Keeps the file handle open. Use this when using UGCRead to seek to different parts of the file. + // When you are done seeking around the file, make a final call with k_EUGCRead_Close to close it. + k_EUGCRead_ContinueReading = 1, + + // Frees the file handle. Use this when you're done reading the content. + // To read the file from Steam again you will need to call UGCDownload again. + k_EUGCRead_Close = 2, +}; + +enum ERemoteStorageLocalFileChange +{ + k_ERemoteStorageLocalFileChange_Invalid = 0, + + // The file was updated from another device + k_ERemoteStorageLocalFileChange_FileUpdated = 1, + + // The file was deleted by another device + k_ERemoteStorageLocalFileChange_FileDeleted = 2, +}; + +enum ERemoteStorageFilePathType +{ + k_ERemoteStorageFilePathType_Invalid = 0, + + // The file is directly accessed by the game and this is the full path + k_ERemoteStorageFilePathType_Absolute = 1, + + // The file is accessed via the ISteamRemoteStorage API and this is the filename + k_ERemoteStorageFilePathType_APIFilename = 2, +}; + + +//----------------------------------------------------------------------------- +// Purpose: Functions for accessing, reading and writing files stored remotely +// and cached locally +//----------------------------------------------------------------------------- +class ISteamRemoteStorage +{ + public: + // NOTE + // + // Filenames are case-insensitive, and will be converted to lowercase automatically. + // So "foo.bar" and "Foo.bar" are the same file, and if you write "Foo.bar" then + // iterate the files, the filename returned will be "foo.bar". + // + + // file operations + virtual bool FileWrite( const char *pchFile, const void *pvData, int32 cubData ) = 0; + virtual int32 FileRead( const char *pchFile, void *pvData, int32 cubDataToRead ) = 0; + + STEAM_CALL_RESULT( RemoteStorageFileWriteAsyncComplete_t ) + virtual SteamAPICall_t FileWriteAsync( const char *pchFile, const void *pvData, uint32 cubData ) = 0; + + STEAM_CALL_RESULT( RemoteStorageFileReadAsyncComplete_t ) + virtual SteamAPICall_t FileReadAsync( const char *pchFile, uint32 nOffset, uint32 cubToRead ) = 0; + virtual bool FileReadAsyncComplete( SteamAPICall_t hReadCall, void *pvBuffer, uint32 cubToRead ) = 0; + + virtual bool FileForget( const char *pchFile ) = 0; + virtual bool FileDelete( const char *pchFile ) = 0; + STEAM_CALL_RESULT( RemoteStorageFileShareResult_t ) + virtual SteamAPICall_t FileShare( const char *pchFile ) = 0; + virtual bool SetSyncPlatforms( const char *pchFile, ERemoteStoragePlatform eRemoteStoragePlatform ) = 0; + + // file operations that cause network IO + virtual UGCFileWriteStreamHandle_t FileWriteStreamOpen( const char *pchFile ) = 0; + virtual bool FileWriteStreamWriteChunk( UGCFileWriteStreamHandle_t writeHandle, const void *pvData, int32 cubData ) = 0; + virtual bool FileWriteStreamClose( UGCFileWriteStreamHandle_t writeHandle ) = 0; + virtual bool FileWriteStreamCancel( UGCFileWriteStreamHandle_t writeHandle ) = 0; + + // file information + virtual bool FileExists( const char *pchFile ) = 0; + virtual bool FilePersisted( const char *pchFile ) = 0; + virtual int32 GetFileSize( const char *pchFile ) = 0; + virtual int64 GetFileTimestamp( const char *pchFile ) = 0; + virtual ERemoteStoragePlatform GetSyncPlatforms( const char *pchFile ) = 0; + + // iteration + virtual int32 GetFileCount() = 0; + virtual const char *GetFileNameAndSize( int iFile, int32 *pnFileSizeInBytes ) = 0; + + // configuration management + virtual bool GetQuota( uint64 *pnTotalBytes, uint64 *puAvailableBytes ) = 0; + virtual bool IsCloudEnabledForAccount() = 0; + virtual bool IsCloudEnabledForApp() = 0; + virtual void SetCloudEnabledForApp( bool bEnabled ) = 0; + + // user generated content + + // Downloads a UGC file. A priority value of 0 will download the file immediately, + // otherwise it will wait to download the file until all downloads with a lower priority + // value are completed. Downloads with equal priority will occur simultaneously. + STEAM_CALL_RESULT( RemoteStorageDownloadUGCResult_t ) + virtual SteamAPICall_t UGCDownload( UGCHandle_t hContent, uint32 unPriority ) = 0; + + // Gets the amount of data downloaded so far for a piece of content. pnBytesExpected can be 0 if function returns false + // or if the transfer hasn't started yet, so be careful to check for that before dividing to get a percentage + virtual bool GetUGCDownloadProgress( UGCHandle_t hContent, int32 *pnBytesDownloaded, int32 *pnBytesExpected ) = 0; + + // Gets metadata for a file after it has been downloaded. This is the same metadata given in the RemoteStorageDownloadUGCResult_t call result + virtual bool GetUGCDetails( UGCHandle_t hContent, AppId_t *pnAppID, STEAM_OUT_STRING() char **ppchName, int32 *pnFileSizeInBytes, STEAM_OUT_STRUCT() CSteamID *pSteamIDOwner ) = 0; + + // After download, gets the content of the file. + // Small files can be read all at once by calling this function with an offset of 0 and cubDataToRead equal to the size of the file. + // Larger files can be read in chunks to reduce memory usage (since both sides of the IPC client and the game itself must allocate + // enough memory for each chunk). Once the last byte is read, the file is implicitly closed and further calls to UGCRead will fail + // unless UGCDownload is called again. + // For especially large files (anything over 100MB) it is a requirement that the file is read in chunks. + virtual int32 UGCRead( UGCHandle_t hContent, void *pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction ) = 0; + + // Functions to iterate through UGC that has finished downloading but has not yet been read via UGCRead() + virtual int32 GetCachedUGCCount() = 0; + virtual UGCHandle_t GetCachedUGCHandle( int32 iCachedContent ) = 0; + + // publishing UGC + STEAM_CALL_RESULT( RemoteStoragePublishFileProgress_t ) + virtual SteamAPICall_t PublishWorkshopFile( const char *pchFile, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags, EWorkshopFileType eWorkshopFileType ) = 0; + virtual PublishedFileUpdateHandle_t CreatePublishedFileUpdateRequest( PublishedFileId_t unPublishedFileId ) = 0; + virtual bool UpdatePublishedFileFile( PublishedFileUpdateHandle_t updateHandle, const char *pchFile ) = 0; + virtual bool UpdatePublishedFilePreviewFile( PublishedFileUpdateHandle_t updateHandle, const char *pchPreviewFile ) = 0; + virtual bool UpdatePublishedFileTitle( PublishedFileUpdateHandle_t updateHandle, const char *pchTitle ) = 0; + virtual bool UpdatePublishedFileDescription( PublishedFileUpdateHandle_t updateHandle, const char *pchDescription ) = 0; + virtual bool UpdatePublishedFileVisibility( PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility ) = 0; + virtual bool UpdatePublishedFileTags( PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t *pTags ) = 0; + STEAM_CALL_RESULT( RemoteStorageUpdatePublishedFileResult_t ) + virtual SteamAPICall_t CommitPublishedFileUpdate( PublishedFileUpdateHandle_t updateHandle ) = 0; + // Gets published file details for the given publishedfileid. If unMaxSecondsOld is greater than 0, + // cached data may be returned, depending on how long ago it was cached. A value of 0 will force a refresh. + // A value of k_WorkshopForceLoadPublishedFileDetailsFromCache will use cached data if it exists, no matter how old it is. + STEAM_CALL_RESULT( RemoteStorageGetPublishedFileDetailsResult_t ) + virtual SteamAPICall_t GetPublishedFileDetails( PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld ) = 0; + STEAM_CALL_RESULT( RemoteStorageDeletePublishedFileResult_t ) + virtual SteamAPICall_t DeletePublishedFile( PublishedFileId_t unPublishedFileId ) = 0; + // enumerate the files that the current user published with this app + STEAM_CALL_RESULT( RemoteStorageEnumerateUserPublishedFilesResult_t ) + virtual SteamAPICall_t EnumerateUserPublishedFiles( uint32 unStartIndex ) = 0; + STEAM_CALL_RESULT( RemoteStorageSubscribePublishedFileResult_t ) + virtual SteamAPICall_t SubscribePublishedFile( PublishedFileId_t unPublishedFileId ) = 0; + STEAM_CALL_RESULT( RemoteStorageEnumerateUserSubscribedFilesResult_t ) + virtual SteamAPICall_t EnumerateUserSubscribedFiles( uint32 unStartIndex ) = 0; + STEAM_CALL_RESULT( RemoteStorageUnsubscribePublishedFileResult_t ) + virtual SteamAPICall_t UnsubscribePublishedFile( PublishedFileId_t unPublishedFileId ) = 0; + virtual bool UpdatePublishedFileSetChangeDescription( PublishedFileUpdateHandle_t updateHandle, const char *pchChangeDescription ) = 0; + STEAM_CALL_RESULT( RemoteStorageGetPublishedItemVoteDetailsResult_t ) + virtual SteamAPICall_t GetPublishedItemVoteDetails( PublishedFileId_t unPublishedFileId ) = 0; + STEAM_CALL_RESULT( RemoteStorageUpdateUserPublishedItemVoteResult_t ) + virtual SteamAPICall_t UpdateUserPublishedItemVote( PublishedFileId_t unPublishedFileId, bool bVoteUp ) = 0; + STEAM_CALL_RESULT( RemoteStorageGetPublishedItemVoteDetailsResult_t ) + virtual SteamAPICall_t GetUserPublishedItemVoteDetails( PublishedFileId_t unPublishedFileId ) = 0; + STEAM_CALL_RESULT( RemoteStorageEnumerateUserPublishedFilesResult_t ) + virtual SteamAPICall_t EnumerateUserSharedWorkshopFiles( CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags ) = 0; + STEAM_CALL_RESULT( RemoteStoragePublishFileProgress_t ) + virtual SteamAPICall_t PublishVideo( EWorkshopVideoProvider eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, AppId_t nConsumerAppId, const char *pchTitle, const char *pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t *pTags ) = 0; + STEAM_CALL_RESULT( RemoteStorageSetUserPublishedFileActionResult_t ) + virtual SteamAPICall_t SetUserPublishedFileAction( PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction ) = 0; + STEAM_CALL_RESULT( RemoteStorageEnumeratePublishedFilesByUserActionResult_t ) + virtual SteamAPICall_t EnumeratePublishedFilesByUserAction( EWorkshopFileAction eAction, uint32 unStartIndex ) = 0; + // this method enumerates the public view of workshop files + STEAM_CALL_RESULT( RemoteStorageEnumerateWorkshopFilesResult_t ) + virtual SteamAPICall_t EnumeratePublishedWorkshopFiles( EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags ) = 0; + + STEAM_CALL_RESULT( RemoteStorageDownloadUGCResult_t ) + virtual SteamAPICall_t UGCDownloadToLocation( UGCHandle_t hContent, const char *pchLocation, uint32 unPriority ) = 0; + + // Cloud dynamic state change notification + virtual int32 GetLocalFileChangeCount() = 0; + virtual const char *GetLocalFileChange( int iFile, ERemoteStorageLocalFileChange *pEChangeType, ERemoteStorageFilePathType *pEFilePathType ) = 0; + + // Indicate to Steam the beginning / end of a set of local file + // operations - for example, writing a game save that requires updating two files. + virtual bool BeginFileWriteBatch() = 0; + virtual bool EndFileWriteBatch() = 0; +}; + +#define STEAMREMOTESTORAGE_INTERFACE_VERSION "STEAMREMOTESTORAGE_INTERFACE_VERSION016" + +// Global interface accessor +inline ISteamRemoteStorage *SteamRemoteStorage(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamRemoteStorage *, SteamRemoteStorage, STEAMREMOTESTORAGE_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to FileShare() +//----------------------------------------------------------------------------- +struct RemoteStorageFileShareResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 7 }; + EResult m_eResult; // The result of the operation + UGCHandle_t m_hFile; // The handle that can be shared with users and features + char m_rgchFilename[k_cchFilenameMax]; // The name of the file that was shared +}; + + +// k_iSteamRemoteStorageCallbacks + 8 is deprecated! Do not reuse + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to PublishFile() +//----------------------------------------------------------------------------- +struct RemoteStoragePublishFileResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 9 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +}; + +// k_iSteamRemoteStorageCallbacks + 10 is deprecated! Do not reuse + + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to DeletePublishedFile() +//----------------------------------------------------------------------------- +struct RemoteStorageDeletePublishedFileResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 11 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to EnumerateUserPublishedFiles() +//----------------------------------------------------------------------------- +struct RemoteStorageEnumerateUserPublishedFilesResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 12 }; + EResult m_eResult; // The result of the operation. + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[ k_unEnumeratePublishedFilesMaxResults ]; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to SubscribePublishedFile() +//----------------------------------------------------------------------------- +struct RemoteStorageSubscribePublishedFileResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 13 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to EnumerateSubscribePublishedFiles() +//----------------------------------------------------------------------------- +struct RemoteStorageEnumerateUserSubscribedFilesResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 14 }; + EResult m_eResult; // The result of the operation. + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[ k_unEnumeratePublishedFilesMaxResults ]; + uint32 m_rgRTimeSubscribed[ k_unEnumeratePublishedFilesMaxResults ]; +}; + +#if defined(VALVE_CALLBACK_PACK_SMALL) + VALVE_COMPILE_TIME_ASSERT( sizeof( RemoteStorageEnumerateUserSubscribedFilesResult_t ) == (1 + 1 + 1 + 50 + 100) * 4 ); +#elif defined(VALVE_CALLBACK_PACK_LARGE) + VALVE_COMPILE_TIME_ASSERT( sizeof( RemoteStorageEnumerateUserSubscribedFilesResult_t ) == (1 + 1 + 1 + 50 + 100) * 4 + 4 ); +#else +#warning You must first include steam_api_common.h +#endif + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to UnsubscribePublishedFile() +//----------------------------------------------------------------------------- +struct RemoteStorageUnsubscribePublishedFileResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 15 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to CommitPublishedFileUpdate() +//----------------------------------------------------------------------------- +struct RemoteStorageUpdatePublishedFileResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 16 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to UGCDownload() +//----------------------------------------------------------------------------- +struct RemoteStorageDownloadUGCResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 17 }; + EResult m_eResult; // The result of the operation. + UGCHandle_t m_hFile; // The handle to the file that was attempted to be downloaded. + AppId_t m_nAppID; // ID of the app that created this file. + int32 m_nSizeInBytes; // The size of the file that was downloaded, in bytes. + char m_pchFileName[k_cchFilenameMax]; // The name of the file that was downloaded. + uint64 m_ulSteamIDOwner; // Steam ID of the user who created this content. +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to GetPublishedFileDetails() +//----------------------------------------------------------------------------- +struct RemoteStorageGetPublishedFileDetailsResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 18 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nCreatorAppID; // ID of the app that created this file. + AppId_t m_nConsumerAppID; // ID of the app that will consume this file. + char m_rgchTitle[k_cchPublishedDocumentTitleMax]; // title of document + char m_rgchDescription[k_cchPublishedDocumentDescriptionMax]; // description of document + UGCHandle_t m_hFile; // The handle of the primary file + UGCHandle_t m_hPreviewFile; // The handle of the preview file + uint64 m_ulSteamIDOwner; // Steam ID of the user who created this content. + uint32 m_rtimeCreated; // time when the published file was created + uint32 m_rtimeUpdated; // time when the published file was last updated + ERemoteStoragePublishedFileVisibility m_eVisibility; + bool m_bBanned; + char m_rgchTags[k_cchTagListMax]; // comma separated list of all tags associated with this file + bool m_bTagsTruncated; // whether the list of tags was too long to be returned in the provided buffer + char m_pchFileName[k_cchFilenameMax]; // The name of the primary file + int32 m_nFileSize; // Size of the primary file + int32 m_nPreviewFileSize; // Size of the preview file + char m_rgchURL[k_cchPublishedFileURLMax]; // URL (for a video or a website) + EWorkshopFileType m_eFileType; // Type of the file + bool m_bAcceptedForUse; // developer has specifically flagged this item as accepted in the Workshop +}; + + +struct RemoteStorageEnumerateWorkshopFilesResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 19 }; + EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[ k_unEnumeratePublishedFilesMaxResults ]; + float m_rgScore[ k_unEnumeratePublishedFilesMaxResults ]; + AppId_t m_nAppId; + uint32 m_unStartIndex; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of GetPublishedItemVoteDetails +//----------------------------------------------------------------------------- +struct RemoteStorageGetPublishedItemVoteDetailsResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 20 }; + EResult m_eResult; + PublishedFileId_t m_unPublishedFileId; + int32 m_nVotesFor; + int32 m_nVotesAgainst; + int32 m_nReports; + float m_fScore; +}; + + +//----------------------------------------------------------------------------- +// Purpose: User subscribed to a file for the app (from within the app or on the web) +//----------------------------------------------------------------------------- +struct RemoteStoragePublishedFileSubscribed_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 21 }; + PublishedFileId_t m_nPublishedFileId; // The published file id + AppId_t m_nAppID; // ID of the app that will consume this file. +}; + +//----------------------------------------------------------------------------- +// Purpose: User unsubscribed from a file for the app (from within the app or on the web) +//----------------------------------------------------------------------------- +struct RemoteStoragePublishedFileUnsubscribed_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 22 }; + PublishedFileId_t m_nPublishedFileId; // The published file id + AppId_t m_nAppID; // ID of the app that will consume this file. +}; + + +//----------------------------------------------------------------------------- +// Purpose: Published file that a user owns was deleted (from within the app or the web) +//----------------------------------------------------------------------------- +struct RemoteStoragePublishedFileDeleted_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 23 }; + PublishedFileId_t m_nPublishedFileId; // The published file id + AppId_t m_nAppID; // ID of the app that will consume this file. +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to UpdateUserPublishedItemVote() +//----------------------------------------------------------------------------- +struct RemoteStorageUpdateUserPublishedItemVoteResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 24 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; // The published file id +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to GetUserPublishedItemVoteDetails() +//----------------------------------------------------------------------------- +struct RemoteStorageUserVoteDetails_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 25 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; // The published file id + EWorkshopVote m_eVote; // what the user voted +}; + +struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 26 }; + EResult m_eResult; // The result of the operation. + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[ k_unEnumeratePublishedFilesMaxResults ]; +}; + +struct RemoteStorageSetUserPublishedFileActionResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 27 }; + EResult m_eResult; // The result of the operation. + PublishedFileId_t m_nPublishedFileId; // The published file id + EWorkshopFileAction m_eAction; // the action that was attempted +}; + +struct RemoteStorageEnumeratePublishedFilesByUserActionResult_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 28 }; + EResult m_eResult; // The result of the operation. + EWorkshopFileAction m_eAction; // the action that was filtered on + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[ k_unEnumeratePublishedFilesMaxResults ]; + uint32 m_rgRTimeUpdated[ k_unEnumeratePublishedFilesMaxResults ]; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Called periodically while a PublishWorkshopFile is in progress +//----------------------------------------------------------------------------- +struct RemoteStoragePublishFileProgress_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 29 }; + double m_dPercentFile; + bool m_bPreview; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Called when the content for a published file is updated +//----------------------------------------------------------------------------- +struct RemoteStoragePublishedFileUpdated_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 30 }; + PublishedFileId_t m_nPublishedFileId; // The published file id + AppId_t m_nAppID; // ID of the app that will consume this file. + uint64 m_ulUnused; // not used anymore +}; + +//----------------------------------------------------------------------------- +// Purpose: Called when a FileWriteAsync completes +//----------------------------------------------------------------------------- +struct RemoteStorageFileWriteAsyncComplete_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 31 }; + EResult m_eResult; // result +}; + +//----------------------------------------------------------------------------- +// Purpose: Called when a FileReadAsync completes +//----------------------------------------------------------------------------- +struct RemoteStorageFileReadAsyncComplete_t +{ + enum { k_iCallback = k_iSteamRemoteStorageCallbacks + 32 }; + SteamAPICall_t m_hFileReadAsync; // call handle of the async read which was made + EResult m_eResult; // result + uint32 m_nOffset; // offset in the file this read was at + uint32 m_cubRead; // amount read - will the <= the amount requested +}; + +//----------------------------------------------------------------------------- +// Purpose: one or more files for this app have changed locally after syncing +// to remote session changes +// Note: only posted if this happens DURING the local app session +//----------------------------------------------------------------------------- +STEAM_CALLBACK_BEGIN( RemoteStorageLocalFileChange_t, k_iSteamRemoteStorageCallbacks + 33 ) +STEAM_CALLBACK_END( 0 ) + +#pragma pack( pop ) + + +#endif // ISTEAMREMOTESTORAGE_H diff --git a/lsteamclient/steamworks_sdk_158/isteamscreenshots.h b/lsteamclient/steamworks_sdk_158/isteamscreenshots.h new file mode 100644 index 000000000..18242682c --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamscreenshots.h @@ -0,0 +1,120 @@ +//====== Copyright � 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: public interface to user remote file storage in Steam +// +//============================================================================= + +#ifndef ISTEAMSCREENSHOTS_H +#define ISTEAMSCREENSHOTS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +const uint32 k_nScreenshotMaxTaggedUsers = 32; +const uint32 k_nScreenshotMaxTaggedPublishedFiles = 32; +const int k_cubUFSTagTypeMax = 255; +const int k_cubUFSTagValueMax = 255; + +// Required with of a thumbnail provided to AddScreenshotToLibrary. If you do not provide a thumbnail +// one will be generated. +const int k_ScreenshotThumbWidth = 200; + +// Handle is valid for the lifetime of your process and no longer +typedef uint32 ScreenshotHandle; +#define INVALID_SCREENSHOT_HANDLE 0 + +enum EVRScreenshotType +{ + k_EVRScreenshotType_None = 0, + k_EVRScreenshotType_Mono = 1, + k_EVRScreenshotType_Stereo = 2, + k_EVRScreenshotType_MonoCubemap = 3, + k_EVRScreenshotType_MonoPanorama = 4, + k_EVRScreenshotType_StereoPanorama = 5 +}; + +//----------------------------------------------------------------------------- +// Purpose: Functions for adding screenshots to the user's screenshot library +//----------------------------------------------------------------------------- +class ISteamScreenshots +{ +public: + // Writes a screenshot to the user's screenshot library given the raw image data, which must be in RGB format. + // The return value is a handle that is valid for the duration of the game process and can be used to apply tags. + virtual ScreenshotHandle WriteScreenshot( void *pubRGB, uint32 cubRGB, int nWidth, int nHeight ) = 0; + + // Adds a screenshot to the user's screenshot library from disk. If a thumbnail is provided, it must be 200 pixels wide and the same aspect ratio + // as the screenshot, otherwise a thumbnail will be generated if the user uploads the screenshot. The screenshots must be in either JPEG or TGA format. + // The return value is a handle that is valid for the duration of the game process and can be used to apply tags. + // JPEG, TGA, and PNG formats are supported. + virtual ScreenshotHandle AddScreenshotToLibrary( const char *pchFilename, const char *pchThumbnailFilename, int nWidth, int nHeight ) = 0; + + // Causes the Steam overlay to take a screenshot. If screenshots are being hooked by the game then a ScreenshotRequested_t callback is sent back to the game instead. + virtual void TriggerScreenshot() = 0; + + // Toggles whether the overlay handles screenshots when the user presses the screenshot hotkey, or the game handles them. If the game is hooking screenshots, + // then the ScreenshotRequested_t callback will be sent if the user presses the hotkey, and the game is expected to call WriteScreenshot or AddScreenshotToLibrary + // in response. + virtual void HookScreenshots( bool bHook ) = 0; + + // Sets metadata about a screenshot's location (for example, the name of the map) + virtual bool SetLocation( ScreenshotHandle hScreenshot, const char *pchLocation ) = 0; + + // Tags a user as being visible in the screenshot + virtual bool TagUser( ScreenshotHandle hScreenshot, CSteamID steamID ) = 0; + + // Tags a published file as being visible in the screenshot + virtual bool TagPublishedFile( ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID ) = 0; + + // Returns true if the app has hooked the screenshot + virtual bool IsScreenshotsHooked() = 0; + + // Adds a VR screenshot to the user's screenshot library from disk in the supported type. + // pchFilename should be the normal 2D image used in the library view + // pchVRFilename should contain the image that matches the correct type + // The return value is a handle that is valid for the duration of the game process and can be used to apply tags. + // JPEG, TGA, and PNG formats are supported. + virtual ScreenshotHandle AddVRScreenshotToLibrary( EVRScreenshotType eType, const char *pchFilename, const char *pchVRFilename ) = 0; +}; + +#define STEAMSCREENSHOTS_INTERFACE_VERSION "STEAMSCREENSHOTS_INTERFACE_VERSION003" + +// Global interface accessor +inline ISteamScreenshots *SteamScreenshots(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamScreenshots *, SteamScreenshots, STEAMSCREENSHOTS_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif +//----------------------------------------------------------------------------- +// Purpose: Screenshot successfully written or otherwise added to the library +// and can now be tagged +//----------------------------------------------------------------------------- +struct ScreenshotReady_t +{ + enum { k_iCallback = k_iSteamScreenshotsCallbacks + 1 }; + ScreenshotHandle m_hLocal; + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// Purpose: Screenshot has been requested by the user. Only sent if +// HookScreenshots() has been called, in which case Steam will not take +// the screenshot itself. +//----------------------------------------------------------------------------- +struct ScreenshotRequested_t +{ + enum { k_iCallback = k_iSteamScreenshotsCallbacks + 2 }; +}; + +#pragma pack( pop ) + +#endif // ISTEAMSCREENSHOTS_H + diff --git a/lsteamclient/steamworks_sdk_158/isteamugc.h b/lsteamclient/steamworks_sdk_158/isteamugc.h new file mode 100644 index 000000000..c1da2ee3c --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamugc.h @@ -0,0 +1,621 @@ +//====== Copyright 1996-2013, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to steam ugc +// +//============================================================================= + +#ifndef ISTEAMUGC_H +#define ISTEAMUGC_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "isteamremotestorage.h" + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +typedef uint64 UGCQueryHandle_t; +typedef uint64 UGCUpdateHandle_t; + + +const UGCQueryHandle_t k_UGCQueryHandleInvalid = 0xffffffffffffffffull; +const UGCUpdateHandle_t k_UGCUpdateHandleInvalid = 0xffffffffffffffffull; + + +// Matching UGC types for queries +enum EUGCMatchingUGCType +{ + k_EUGCMatchingUGCType_Items = 0, // both mtx items and ready-to-use items + k_EUGCMatchingUGCType_Items_Mtx = 1, + k_EUGCMatchingUGCType_Items_ReadyToUse = 2, + k_EUGCMatchingUGCType_Collections = 3, + k_EUGCMatchingUGCType_Artwork = 4, + k_EUGCMatchingUGCType_Videos = 5, + k_EUGCMatchingUGCType_Screenshots = 6, + k_EUGCMatchingUGCType_AllGuides = 7, // both web guides and integrated guides + k_EUGCMatchingUGCType_WebGuides = 8, + k_EUGCMatchingUGCType_IntegratedGuides = 9, + k_EUGCMatchingUGCType_UsableInGame = 10, // ready-to-use items and integrated guides + k_EUGCMatchingUGCType_ControllerBindings = 11, + k_EUGCMatchingUGCType_GameManagedItems = 12, // game managed items (not managed by users) + k_EUGCMatchingUGCType_All = ~0, // @note: will only be valid for CreateQueryUserUGCRequest requests +}; + +// Different lists of published UGC for a user. +// If the current logged in user is different than the specified user, then some options may not be allowed. +enum EUserUGCList +{ + k_EUserUGCList_Published, + k_EUserUGCList_VotedOn, + k_EUserUGCList_VotedUp, + k_EUserUGCList_VotedDown, + k_EUserUGCList_WillVoteLater, + k_EUserUGCList_Favorited, + k_EUserUGCList_Subscribed, + k_EUserUGCList_UsedOrPlayed, + k_EUserUGCList_Followed, +}; + +// Sort order for user published UGC lists (defaults to creation order descending) +enum EUserUGCListSortOrder +{ + k_EUserUGCListSortOrder_CreationOrderDesc, + k_EUserUGCListSortOrder_CreationOrderAsc, + k_EUserUGCListSortOrder_TitleAsc, + k_EUserUGCListSortOrder_LastUpdatedDesc, + k_EUserUGCListSortOrder_SubscriptionDateDesc, + k_EUserUGCListSortOrder_VoteScoreDesc, + k_EUserUGCListSortOrder_ForModeration, +}; + +// Combination of sorting and filtering for queries across all UGC +enum EUGCQuery +{ + k_EUGCQuery_RankedByVote = 0, + k_EUGCQuery_RankedByPublicationDate = 1, + k_EUGCQuery_AcceptedForGameRankedByAcceptanceDate = 2, + k_EUGCQuery_RankedByTrend = 3, + k_EUGCQuery_FavoritedByFriendsRankedByPublicationDate = 4, + k_EUGCQuery_CreatedByFriendsRankedByPublicationDate = 5, + k_EUGCQuery_RankedByNumTimesReported = 6, + k_EUGCQuery_CreatedByFollowedUsersRankedByPublicationDate = 7, + k_EUGCQuery_NotYetRated = 8, + k_EUGCQuery_RankedByTotalVotesAsc = 9, + k_EUGCQuery_RankedByVotesUp = 10, + k_EUGCQuery_RankedByTextSearch = 11, + k_EUGCQuery_RankedByTotalUniqueSubscriptions = 12, + k_EUGCQuery_RankedByPlaytimeTrend = 13, + k_EUGCQuery_RankedByTotalPlaytime = 14, + k_EUGCQuery_RankedByAveragePlaytimeTrend = 15, + k_EUGCQuery_RankedByLifetimeAveragePlaytime = 16, + k_EUGCQuery_RankedByPlaytimeSessionsTrend = 17, + k_EUGCQuery_RankedByLifetimePlaytimeSessions = 18, + k_EUGCQuery_RankedByLastUpdatedDate = 19, +}; + +enum EItemUpdateStatus +{ + k_EItemUpdateStatusInvalid = 0, // The item update handle was invalid, job might be finished, listen too SubmitItemUpdateResult_t + k_EItemUpdateStatusPreparingConfig = 1, // The item update is processing configuration data + k_EItemUpdateStatusPreparingContent = 2, // The item update is reading and processing content files + k_EItemUpdateStatusUploadingContent = 3, // The item update is uploading content changes to Steam + k_EItemUpdateStatusUploadingPreviewFile = 4, // The item update is uploading new preview file image + k_EItemUpdateStatusCommittingChanges = 5 // The item update is committing all changes +}; + +enum EItemState +{ + k_EItemStateNone = 0, // item not tracked on client + k_EItemStateSubscribed = 1, // current user is subscribed to this item. Not just cached. + k_EItemStateLegacyItem = 2, // item was created with ISteamRemoteStorage + k_EItemStateInstalled = 4, // item is installed and usable (but maybe out of date) + k_EItemStateNeedsUpdate = 8, // items needs an update. Either because it's not installed yet or creator updated content + k_EItemStateDownloading = 16, // item update is currently downloading + k_EItemStateDownloadPending = 32, // DownloadItem() was called for this item, content isn't available until DownloadItemResult_t is fired +}; + +enum EItemStatistic +{ + k_EItemStatistic_NumSubscriptions = 0, + k_EItemStatistic_NumFavorites = 1, + k_EItemStatistic_NumFollowers = 2, + k_EItemStatistic_NumUniqueSubscriptions = 3, + k_EItemStatistic_NumUniqueFavorites = 4, + k_EItemStatistic_NumUniqueFollowers = 5, + k_EItemStatistic_NumUniqueWebsiteViews = 6, + k_EItemStatistic_ReportScore = 7, + k_EItemStatistic_NumSecondsPlayed = 8, + k_EItemStatistic_NumPlaytimeSessions = 9, + k_EItemStatistic_NumComments = 10, + k_EItemStatistic_NumSecondsPlayedDuringTimePeriod = 11, + k_EItemStatistic_NumPlaytimeSessionsDuringTimePeriod = 12, +}; + +enum EItemPreviewType +{ + k_EItemPreviewType_Image = 0, // standard image file expected (e.g. jpg, png, gif, etc.) + k_EItemPreviewType_YouTubeVideo = 1, // video id is stored + k_EItemPreviewType_Sketchfab = 2, // model id is stored + k_EItemPreviewType_EnvironmentMap_HorizontalCross = 3, // standard image file expected - cube map in the layout + // +---+---+-------+ + // | |Up | | + // +---+---+---+---+ + // | L | F | R | B | + // +---+---+---+---+ + // | |Dn | | + // +---+---+---+---+ + k_EItemPreviewType_EnvironmentMap_LatLong = 4, // standard image file expected + k_EItemPreviewType_ReservedMax = 255, // you can specify your own types above this value +}; + +enum EUGCContentDescriptorID +{ + k_EUGCContentDescriptor_NudityOrSexualContent = 1, + k_EUGCContentDescriptor_FrequentViolenceOrGore = 2, + k_EUGCContentDescriptor_AdultOnlySexualContent = 3, + k_EUGCContentDescriptor_GratuitousSexualContent = 4, + k_EUGCContentDescriptor_AnyMatureContent = 5, +}; + +const uint32 kNumUGCResultsPerPage = 50; +const uint32 k_cchDeveloperMetadataMax = 5000; + +// Details for a single published file/UGC +struct SteamUGCDetails_t +{ + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; // The result of the operation. + EWorkshopFileType m_eFileType; // Type of the file + AppId_t m_nCreatorAppID; // ID of the app that created this file. + AppId_t m_nConsumerAppID; // ID of the app that will consume this file. + char m_rgchTitle[k_cchPublishedDocumentTitleMax]; // title of document + char m_rgchDescription[k_cchPublishedDocumentDescriptionMax]; // description of document + uint64 m_ulSteamIDOwner; // Steam ID of the user who created this content. + uint32 m_rtimeCreated; // time when the published file was created + uint32 m_rtimeUpdated; // time when the published file was last updated + uint32 m_rtimeAddedToUserList; // time when the user added the published file to their list (not always applicable) + ERemoteStoragePublishedFileVisibility m_eVisibility; // visibility + bool m_bBanned; // whether the file was banned + bool m_bAcceptedForUse; // developer has specifically flagged this item as accepted in the Workshop + bool m_bTagsTruncated; // whether the list of tags was too long to be returned in the provided buffer + char m_rgchTags[k_cchTagListMax]; // comma separated list of all tags associated with this file + // file/url information + UGCHandle_t m_hFile; // The handle of the primary file + UGCHandle_t m_hPreviewFile; // The handle of the preview file + char m_pchFileName[k_cchFilenameMax]; // The cloud filename of the primary file + int32 m_nFileSize; // Size of the primary file + int32 m_nPreviewFileSize; // Size of the preview file + char m_rgchURL[k_cchPublishedFileURLMax]; // URL (for a video or a website) + // voting information + uint32 m_unVotesUp; // number of votes up + uint32 m_unVotesDown; // number of votes down + float m_flScore; // calculated score + // collection details + uint32 m_unNumChildren; +}; + +//----------------------------------------------------------------------------- +// Purpose: Steam UGC support API +//----------------------------------------------------------------------------- +class ISteamUGC +{ +public: + + // Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1. + virtual UGCQueryHandle_t CreateQueryUserUGCRequest( AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ) = 0; + + // Query for all matching UGC. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1. + STEAM_FLAT_NAME( CreateQueryAllUGCRequestPage ) + virtual UGCQueryHandle_t CreateQueryAllUGCRequest( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ) = 0; + + // Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set. + STEAM_FLAT_NAME( CreateQueryAllUGCRequestCursor ) + virtual UGCQueryHandle_t CreateQueryAllUGCRequest( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char *pchCursor = NULL ) = 0; + + // Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this) + virtual UGCQueryHandle_t CreateQueryUGCDetailsRequest( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0; + + // Send the query to Steam + STEAM_CALL_RESULT( SteamUGCQueryCompleted_t ) + virtual SteamAPICall_t SendQueryUGCRequest( UGCQueryHandle_t handle ) = 0; + + // Retrieve an individual result after receiving the callback for querying UGC + virtual bool GetQueryUGCResult( UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t *pDetails ) = 0; + virtual uint32 GetQueryUGCNumTags( UGCQueryHandle_t handle, uint32 index ) = 0; + virtual bool GetQueryUGCTag( UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT( cchValueSize ) char* pchValue, uint32 cchValueSize ) = 0; + virtual bool GetQueryUGCTagDisplayName( UGCQueryHandle_t handle, uint32 index, uint32 indexTag, STEAM_OUT_STRING_COUNT( cchValueSize ) char* pchValue, uint32 cchValueSize ) = 0; + virtual bool GetQueryUGCPreviewURL( UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURL, uint32 cchURLSize ) = 0; + virtual bool GetQueryUGCMetadata( UGCQueryHandle_t handle, uint32 index, STEAM_OUT_STRING_COUNT(cchMetadatasize) char *pchMetadata, uint32 cchMetadatasize ) = 0; + virtual bool GetQueryUGCChildren( UGCQueryHandle_t handle, uint32 index, PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEntries ) = 0; + virtual bool GetQueryUGCStatistic( UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 *pStatValue ) = 0; + virtual uint32 GetQueryUGCNumAdditionalPreviews( UGCQueryHandle_t handle, uint32 index ) = 0; + virtual bool GetQueryUGCAdditionalPreview( UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchURLOrVideoID, uint32 cchURLSize, STEAM_OUT_STRING_COUNT(cchURLSize) char *pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType *pPreviewType ) = 0; + virtual uint32 GetQueryUGCNumKeyValueTags( UGCQueryHandle_t handle, uint32 index ) = 0; + virtual bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, STEAM_OUT_STRING_COUNT(cchKeySize) char *pchKey, uint32 cchKeySize, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize ) = 0; + + // Return the first value matching the pchKey. Note that a key may map to multiple values. Returns false if there was an error or no matching value was found. + STEAM_FLAT_NAME( GetQueryFirstUGCKeyValueTag ) + virtual bool GetQueryUGCKeyValueTag( UGCQueryHandle_t handle, uint32 index, const char *pchKey, STEAM_OUT_STRING_COUNT(cchValueSize) char *pchValue, uint32 cchValueSize ) = 0; + + virtual uint32 GetQueryUGCContentDescriptors( UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries ) = 0; + + // Release the request to free up memory, after retrieving results + virtual bool ReleaseQueryUGCRequest( UGCQueryHandle_t handle ) = 0; + + // Options to set for querying UGC + virtual bool AddRequiredTag( UGCQueryHandle_t handle, const char *pTagName ) = 0; + virtual bool AddRequiredTagGroup( UGCQueryHandle_t handle, const SteamParamStringArray_t *pTagGroups ) = 0; // match any of the tags in this group + virtual bool AddExcludedTag( UGCQueryHandle_t handle, const char *pTagName ) = 0; + virtual bool SetReturnOnlyIDs( UGCQueryHandle_t handle, bool bReturnOnlyIDs ) = 0; + virtual bool SetReturnKeyValueTags( UGCQueryHandle_t handle, bool bReturnKeyValueTags ) = 0; + virtual bool SetReturnLongDescription( UGCQueryHandle_t handle, bool bReturnLongDescription ) = 0; + virtual bool SetReturnMetadata( UGCQueryHandle_t handle, bool bReturnMetadata ) = 0; + virtual bool SetReturnChildren( UGCQueryHandle_t handle, bool bReturnChildren ) = 0; + virtual bool SetReturnAdditionalPreviews( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) = 0; + virtual bool SetReturnTotalOnly( UGCQueryHandle_t handle, bool bReturnTotalOnly ) = 0; + virtual bool SetReturnPlaytimeStats( UGCQueryHandle_t handle, uint32 unDays ) = 0; + virtual bool SetLanguage( UGCQueryHandle_t handle, const char *pchLanguage ) = 0; + virtual bool SetAllowCachedResponse( UGCQueryHandle_t handle, uint32 unMaxAgeSeconds ) = 0; + + // Options only for querying user UGC + virtual bool SetCloudFileNameFilter( UGCQueryHandle_t handle, const char *pMatchCloudFileName ) = 0; + + // Options only for querying all UGC + virtual bool SetMatchAnyTag( UGCQueryHandle_t handle, bool bMatchAnyTag ) = 0; + virtual bool SetSearchText( UGCQueryHandle_t handle, const char *pSearchText ) = 0; + virtual bool SetRankedByTrendDays( UGCQueryHandle_t handle, uint32 unDays ) = 0; + virtual bool SetTimeCreatedDateRange( UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ) = 0; + virtual bool SetTimeUpdatedDateRange( UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ) = 0; + virtual bool AddRequiredKeyValueTag( UGCQueryHandle_t handle, const char *pKey, const char *pValue ) = 0; + + // DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead! + STEAM_CALL_RESULT( SteamUGCRequestUGCDetailsResult_t ) + virtual SteamAPICall_t RequestUGCDetails( PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds ) = 0; + + // Steam Workshop Creator API + STEAM_CALL_RESULT( CreateItemResult_t ) + virtual SteamAPICall_t CreateItem( AppId_t nConsumerAppId, EWorkshopFileType eFileType ) = 0; // create new item for this app with no content attached yet + + virtual UGCUpdateHandle_t StartItemUpdate( AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID ) = 0; // start an UGC item update. Set changed properties before commiting update with CommitItemUpdate() + + virtual bool SetItemTitle( UGCUpdateHandle_t handle, const char *pchTitle ) = 0; // change the title of an UGC item + virtual bool SetItemDescription( UGCUpdateHandle_t handle, const char *pchDescription ) = 0; // change the description of an UGC item + virtual bool SetItemUpdateLanguage( UGCUpdateHandle_t handle, const char *pchLanguage ) = 0; // specify the language of the title or description that will be set + virtual bool SetItemMetadata( UGCUpdateHandle_t handle, const char *pchMetaData ) = 0; // change the metadata of an UGC item (max = k_cchDeveloperMetadataMax) + virtual bool SetItemVisibility( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) = 0; // change the visibility of an UGC item + virtual bool SetItemTags( UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t *pTags, bool bAllowAdminTags = false ) = 0; // change the tags of an UGC item + virtual bool SetItemContent( UGCUpdateHandle_t handle, const char *pszContentFolder ) = 0; // update item content from this local folder + virtual bool SetItemPreview( UGCUpdateHandle_t handle, const char *pszPreviewFile ) = 0; // change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size + virtual bool SetAllowLegacyUpload( UGCUpdateHandle_t handle, bool bAllowLegacyUpload ) = 0; // use legacy upload for a single small file. The parameter to SetItemContent() should either be a directory with one file or the full path to the file. The file must also be less than 10MB in size. + virtual bool RemoveAllItemKeyValueTags( UGCUpdateHandle_t handle ) = 0; // remove all existing key-value tags (you can add new ones via the AddItemKeyValueTag function) + virtual bool RemoveItemKeyValueTags( UGCUpdateHandle_t handle, const char *pchKey ) = 0; // remove any existing key-value tags with the specified key + virtual bool AddItemKeyValueTag( UGCUpdateHandle_t handle, const char *pchKey, const char *pchValue ) = 0; // add new key-value tags for the item. Note that there can be multiple values for a tag. + virtual bool AddItemPreviewFile( UGCUpdateHandle_t handle, const char *pszPreviewFile, EItemPreviewType type ) = 0; // add preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size + virtual bool AddItemPreviewVideo( UGCUpdateHandle_t handle, const char *pszVideoID ) = 0; // add preview video for this item + virtual bool UpdateItemPreviewFile( UGCUpdateHandle_t handle, uint32 index, const char *pszPreviewFile ) = 0; // updates an existing preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size + virtual bool UpdateItemPreviewVideo( UGCUpdateHandle_t handle, uint32 index, const char *pszVideoID ) = 0; // updates an existing preview video for this item + virtual bool RemoveItemPreview( UGCUpdateHandle_t handle, uint32 index ) = 0; // remove a preview by index starting at 0 (previews are sorted) + virtual bool AddContentDescriptor( UGCUpdateHandle_t handle, EUGCContentDescriptorID descid ) = 0; + virtual bool RemoveContentDescriptor( UGCUpdateHandle_t handle, EUGCContentDescriptorID descid ) = 0; + + STEAM_CALL_RESULT( SubmitItemUpdateResult_t ) + virtual SteamAPICall_t SubmitItemUpdate( UGCUpdateHandle_t handle, const char *pchChangeNote ) = 0; // commit update process started with StartItemUpdate() + virtual EItemUpdateStatus GetItemUpdateProgress( UGCUpdateHandle_t handle, uint64 *punBytesProcessed, uint64* punBytesTotal ) = 0; + + // Steam Workshop Consumer API + STEAM_CALL_RESULT( SetUserItemVoteResult_t ) + virtual SteamAPICall_t SetUserItemVote( PublishedFileId_t nPublishedFileID, bool bVoteUp ) = 0; + STEAM_CALL_RESULT( GetUserItemVoteResult_t ) + virtual SteamAPICall_t GetUserItemVote( PublishedFileId_t nPublishedFileID ) = 0; + STEAM_CALL_RESULT( UserFavoriteItemsListChanged_t ) + virtual SteamAPICall_t AddItemToFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0; + STEAM_CALL_RESULT( UserFavoriteItemsListChanged_t ) + virtual SteamAPICall_t RemoveItemFromFavorites( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) = 0; + STEAM_CALL_RESULT( RemoteStorageSubscribePublishedFileResult_t ) + virtual SteamAPICall_t SubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // subscribe to this item, will be installed ASAP + STEAM_CALL_RESULT( RemoteStorageUnsubscribePublishedFileResult_t ) + virtual SteamAPICall_t UnsubscribeItem( PublishedFileId_t nPublishedFileID ) = 0; // unsubscribe from this item, will be uninstalled after game quits + virtual uint32 GetNumSubscribedItems() = 0; // number of subscribed items + virtual uint32 GetSubscribedItems( PublishedFileId_t* pvecPublishedFileID, uint32 cMaxEntries ) = 0; // all subscribed item PublishFileIDs + + // get EItemState flags about item on this client + virtual uint32 GetItemState( PublishedFileId_t nPublishedFileID ) = 0; + + // get info about currently installed content on disc for items that have k_EItemStateInstalled set + // if k_EItemStateLegacyItem is set, pchFolder contains the path to the legacy file itself (not a folder) + virtual bool GetItemInstallInfo( PublishedFileId_t nPublishedFileID, uint64 *punSizeOnDisk, STEAM_OUT_STRING_COUNT( cchFolderSize ) char *pchFolder, uint32 cchFolderSize, uint32 *punTimeStamp ) = 0; + + // get info about pending update for items that have k_EItemStateNeedsUpdate set. punBytesTotal will be valid after download started once + virtual bool GetItemDownloadInfo( PublishedFileId_t nPublishedFileID, uint64 *punBytesDownloaded, uint64 *punBytesTotal ) = 0; + + // download new or update already installed item. If function returns true, wait for DownloadItemResult_t. If the item is already installed, + // then files on disk should not be used until callback received. If item is not subscribed to, it will be cached for some time. + // If bHighPriority is set, any other item download will be suspended and this item downloaded ASAP. + virtual bool DownloadItem( PublishedFileId_t nPublishedFileID, bool bHighPriority ) = 0; + + // game servers can set a specific workshop folder before issuing any UGC commands. + // This is helpful if you want to support multiple game servers running out of the same install folder + virtual bool BInitWorkshopForGameServer( DepotId_t unWorkshopDepotID, const char *pszFolder ) = 0; + + // SuspendDownloads( true ) will suspend all workshop downloads until SuspendDownloads( false ) is called or the game ends + virtual void SuspendDownloads( bool bSuspend ) = 0; + + // usage tracking + STEAM_CALL_RESULT( StartPlaytimeTrackingResult_t ) + virtual SteamAPICall_t StartPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0; + STEAM_CALL_RESULT( StopPlaytimeTrackingResult_t ) + virtual SteamAPICall_t StopPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0; + STEAM_CALL_RESULT( StopPlaytimeTrackingResult_t ) + virtual SteamAPICall_t StopPlaytimeTrackingForAllItems() = 0; + + // parent-child relationship or dependency management + STEAM_CALL_RESULT( AddUGCDependencyResult_t ) + virtual SteamAPICall_t AddDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0; + STEAM_CALL_RESULT( RemoveUGCDependencyResult_t ) + virtual SteamAPICall_t RemoveDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0; + + // add/remove app dependence/requirements (usually DLC) + STEAM_CALL_RESULT( AddAppDependencyResult_t ) + virtual SteamAPICall_t AddAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0; + STEAM_CALL_RESULT( RemoveAppDependencyResult_t ) + virtual SteamAPICall_t RemoveAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0; + // request app dependencies. note that whatever callback you register for GetAppDependenciesResult_t may be called multiple times + // until all app dependencies have been returned + STEAM_CALL_RESULT( GetAppDependenciesResult_t ) + virtual SteamAPICall_t GetAppDependencies( PublishedFileId_t nPublishedFileID ) = 0; + + // delete the item without prompting the user + STEAM_CALL_RESULT( DeleteItemResult_t ) + virtual SteamAPICall_t DeleteItem( PublishedFileId_t nPublishedFileID ) = 0; + + // Show the app's latest Workshop EULA to the user in an overlay window, where they can accept it or not + virtual bool ShowWorkshopEULA() = 0; + // Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA + STEAM_CALL_RESULT( WorkshopEULAStatus_t ) + virtual SteamAPICall_t GetWorkshopEULAStatus() = 0; + + // Return the user's community content descriptor preferences + virtual uint32 GetUserContentDescriptorPreferences( EUGCContentDescriptorID *pvecDescriptors, uint32 cMaxEntries ) = 0; +}; + +#define STEAMUGC_INTERFACE_VERSION "STEAMUGC_INTERFACE_VERSION018" + +// Global interface accessor +inline ISteamUGC *SteamUGC(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamUGC *, SteamUGC, STEAMUGC_INTERFACE_VERSION ); + +// Global accessor for the gameserver client +inline ISteamUGC *SteamGameServerUGC(); +STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( ISteamUGC *, SteamGameServerUGC, STEAMUGC_INTERFACE_VERSION ); + +//----------------------------------------------------------------------------- +// Purpose: Callback for querying UGC +//----------------------------------------------------------------------------- +struct SteamUGCQueryCompleted_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 1 }; + UGCQueryHandle_t m_handle; + EResult m_eResult; + uint32 m_unNumResultsReturned; + uint32 m_unTotalMatchingResults; + bool m_bCachedData; // indicates whether this data was retrieved from the local on-disk cache + char m_rgchNextCursor[k_cchPublishedFileURLMax]; // If a paging cursor was used, then this will be the next cursor to get the next result set. +}; + + +//----------------------------------------------------------------------------- +// Purpose: Callback for requesting details on one piece of UGC +//----------------------------------------------------------------------------- +struct SteamUGCRequestUGCDetailsResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 2 }; + SteamUGCDetails_t m_details; + bool m_bCachedData; // indicates whether this data was retrieved from the local on-disk cache +}; + + +//----------------------------------------------------------------------------- +// Purpose: result for ISteamUGC::CreateItem() +//----------------------------------------------------------------------------- +struct CreateItemResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 3 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; // new item got this UGC PublishFileID + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +}; + + +//----------------------------------------------------------------------------- +// Purpose: result for ISteamUGC::SubmitItemUpdate() +//----------------------------------------------------------------------------- +struct SubmitItemUpdateResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 4 }; + EResult m_eResult; + bool m_bUserNeedsToAcceptWorkshopLegalAgreement; + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: a Workshop item has been installed or updated +//----------------------------------------------------------------------------- +struct ItemInstalled_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 5 }; + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: result of DownloadItem(), existing item files can be accessed again +//----------------------------------------------------------------------------- +struct DownloadItemResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 6 }; + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// Purpose: result of AddItemToFavorites() or RemoveItemFromFavorites() +//----------------------------------------------------------------------------- +struct UserFavoriteItemsListChanged_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 7 }; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; + bool m_bWasAddRequest; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to SetUserItemVote() +//----------------------------------------------------------------------------- +struct SetUserItemVoteResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 8 }; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; + bool m_bVoteUp; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to GetUserItemVote() +//----------------------------------------------------------------------------- +struct GetUserItemVoteResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 9 }; + PublishedFileId_t m_nPublishedFileId; + EResult m_eResult; + bool m_bVotedUp; + bool m_bVotedDown; + bool m_bVoteSkipped; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to StartPlaytimeTracking() +//----------------------------------------------------------------------------- +struct StartPlaytimeTrackingResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 10 }; + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to StopPlaytimeTracking() +//----------------------------------------------------------------------------- +struct StopPlaytimeTrackingResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 11 }; + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to AddDependency +//----------------------------------------------------------------------------- +struct AddUGCDependencyResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 12 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to RemoveDependency +//----------------------------------------------------------------------------- +struct RemoveUGCDependencyResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 13 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to AddAppDependency +//----------------------------------------------------------------------------- +struct AddAppDependencyResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 14 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to RemoveAppDependency +//----------------------------------------------------------------------------- +struct RemoveAppDependencyResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 15 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to GetAppDependencies. Callback may be called +// multiple times until all app dependencies have been returned. +//----------------------------------------------------------------------------- +struct GetAppDependenciesResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 16 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_rgAppIDs[32]; + uint32 m_nNumAppDependencies; // number returned in this struct + uint32 m_nTotalNumAppDependencies; // total found +}; + +//----------------------------------------------------------------------------- +// Purpose: The result of a call to DeleteItem +//----------------------------------------------------------------------------- +struct DeleteItemResult_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 17 }; + EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +}; + + +//----------------------------------------------------------------------------- +// Purpose: signal that the list of subscribed items changed +//----------------------------------------------------------------------------- +struct UserSubscribedItemsListChanged_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 18 }; + AppId_t m_nAppID; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Status of the user's acceptable/rejection of the app's specific Workshop EULA +//----------------------------------------------------------------------------- +struct WorkshopEULAStatus_t +{ + enum { k_iCallback = k_iSteamUGCCallbacks + 20 }; + EResult m_eResult; + AppId_t m_nAppID; + uint32 m_unVersion; + RTime32 m_rtAction; + bool m_bAccepted; + bool m_bNeedsAction; +}; + +#pragma pack( pop ) + +#endif // ISTEAMUGC_H diff --git a/lsteamclient/steamworks_sdk_158/isteamuser.h b/lsteamclient/steamworks_sdk_158/isteamuser.h new file mode 100644 index 000000000..182f02e7c --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamuser.h @@ -0,0 +1,439 @@ +//====== Copyright (c) 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to user account information in Steam +// +//============================================================================= + +#ifndef ISTEAMUSER_H +#define ISTEAMUSER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +//----------------------------------------------------------------------------- +// Purpose: Functions for accessing and manipulating a steam account +// associated with one client instance +//----------------------------------------------------------------------------- +class ISteamUser +{ +public: + // returns the HSteamUser this interface represents + // this is only used internally by the API, and by a few select interfaces that support multi-user + virtual HSteamUser GetHSteamUser() = 0; + + // returns true if the Steam client current has a live connection to the Steam servers. + // If false, it means there is no active connection due to either a networking issue on the local machine, or the Steam server is down/busy. + // The Steam client will automatically be trying to recreate the connection as often as possible. + virtual bool BLoggedOn() = 0; + + // returns the CSteamID of the account currently logged into the Steam client + // a CSteamID is a unique identifier for an account, and used to differentiate users in all parts of the Steamworks API + virtual CSteamID GetSteamID() = 0; + + // Multiplayer Authentication functions + + // InitiateGameConnection() starts the state machine for authenticating the game client with the game server + // It is the client portion of a three-way handshake between the client, the game server, and the steam servers + // + // Parameters: + // void *pAuthBlob - a pointer to empty memory that will be filled in with the authentication token. + // int cbMaxAuthBlob - the number of bytes of allocated memory in pBlob. Should be at least 2048 bytes. + // CSteamID steamIDGameServer - the steamID of the game server, received from the game server by the client + // CGameID gameID - the ID of the current game. For games without mods, this is just CGameID( ) + // uint32 unIPServer, uint16 usPortServer - the IP address of the game server + // bool bSecure - whether or not the client thinks that the game server is reporting itself as secure (i.e. VAC is running) + // + // return value - returns the number of bytes written to pBlob. If the return is 0, then the buffer passed in was too small, and the call has failed + // The contents of pBlob should then be sent to the game server, for it to use to complete the authentication process. + // + // DEPRECATED! This function will be removed from the SDK in an upcoming version. + // Please migrate to BeginAuthSession and related functions. + virtual int InitiateGameConnection_DEPRECATED( void *pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure ) = 0; + + // notify of disconnect + // needs to occur when the game client leaves the specified game server, needs to match with the InitiateGameConnection() call + // + // DEPRECATED! This function will be removed from the SDK in an upcoming version. + // Please migrate to BeginAuthSession and related functions. + virtual void TerminateGameConnection_DEPRECATED( uint32 unIPServer, uint16 usPortServer ) = 0; + + // Legacy functions + + // used by only a few games to track usage events + virtual void TrackAppUsageEvent( CGameID gameID, int eAppUsageEvent, const char *pchExtraInfo = "" ) = 0; + + // get the local storage folder for current Steam account to write application data, e.g. save games, configs etc. + // this will usually be something like "C:\Progam Files\Steam\userdata\\\local" + virtual bool GetUserDataFolder( char *pchBuffer, int cubBuffer ) = 0; + + // Starts voice recording. Once started, use GetVoice() to get the data + virtual void StartVoiceRecording( ) = 0; + + // Stops voice recording. Because people often release push-to-talk keys early, the system will keep recording for + // a little bit after this function is called. GetVoice() should continue to be called until it returns + // k_eVoiceResultNotRecording + virtual void StopVoiceRecording( ) = 0; + + // Determine the size of captured audio data that is available from GetVoice. + // Most applications will only use compressed data and should ignore the other + // parameters, which exist primarily for backwards compatibility. See comments + // below for further explanation of "uncompressed" data. + virtual EVoiceResult GetAvailableVoice( uint32 *pcbCompressed, uint32 *pcbUncompressed_Deprecated = 0, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated = 0 ) = 0; + + // --------------------------------------------------------------------------- + // NOTE: "uncompressed" audio is a deprecated feature and should not be used + // by most applications. It is raw single-channel 16-bit PCM wave data which + // may have been run through preprocessing filters and/or had silence removed, + // so the uncompressed audio could have a shorter duration than you expect. + // There may be no data at all during long periods of silence. Also, fetching + // uncompressed audio will cause GetVoice to discard any leftover compressed + // audio, so you must fetch both types at once. Finally, GetAvailableVoice is + // not precisely accurate when the uncompressed size is requested. So if you + // really need to use uncompressed audio, you should call GetVoice frequently + // with two very large (20kb+) output buffers instead of trying to allocate + // perfectly-sized buffers. But most applications should ignore all of these + // details and simply leave the "uncompressed" parameters as NULL/zero. + // --------------------------------------------------------------------------- + + // Read captured audio data from the microphone buffer. This should be called + // at least once per frame, and preferably every few milliseconds, to keep the + // microphone input delay as low as possible. Most applications will only use + // compressed data and should pass NULL/zero for the "uncompressed" parameters. + // Compressed data can be transmitted by your application and decoded into raw + // using the DecompressVoice function below. + virtual EVoiceResult GetVoice( bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated = false, void *pUncompressedDestBuffer_Deprecated = 0, uint32 cbUncompressedDestBufferSize_Deprecated = 0, uint32 *nUncompressBytesWritten_Deprecated = 0, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated = 0 ) = 0; + + // Decodes the compressed voice data returned by GetVoice. The output data is + // raw single-channel 16-bit PCM audio. The decoder supports any sample rate + // from 11025 to 48000; see GetVoiceOptimalSampleRate() below for details. + // If the output buffer is not large enough, then *nBytesWritten will be set + // to the required buffer size, and k_EVoiceResultBufferTooSmall is returned. + // It is suggested to start with a 20kb buffer and reallocate as necessary. + virtual EVoiceResult DecompressVoice( const void *pCompressed, uint32 cbCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, uint32 nDesiredSampleRate ) = 0; + + // This returns the native sample rate of the Steam voice decompressor; using + // this sample rate for DecompressVoice will perform the least CPU processing. + // However, the final audio quality will depend on how well the audio device + // (and/or your application's audio output SDK) deals with lower sample rates. + // You may find that you get the best audio output quality when you ignore + // this function and use the native sample rate of your audio output device, + // which is usually 48000 or 44100. + virtual uint32 GetVoiceOptimalSampleRate() = 0; + + // Retrieve ticket to be sent to the entity who wishes to authenticate you. + // pcbTicket retrieves the length of the actual ticket. + // SteamNetworkingIdentity is an optional input parameter to hold the public IP address or SteamID of the entity you are connecting to + // if an IP address is passed Steam will only allow the ticket to be used by an entity with that IP address + // if a Steam ID is passed Steam will only allow the ticket to be used by that Steam ID + // not to be used for "ISteamUserAuth\AuthenticateUserTicket" - it will fail + virtual HAuthTicket GetAuthSessionTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity ) = 0; + + // Request a ticket which will be used for webapi "ISteamUserAuth\AuthenticateUserTicket" + // pchIdentity is an optional input parameter to identify the service the ticket will be sent to + // the ticket will be returned in callback GetTicketForWebApiResponse_t + virtual HAuthTicket GetAuthTicketForWebApi( const char *pchIdentity ) = 0; + + // Authenticate ticket from entity steamID to be sure it is valid and isnt reused + // Registers for callbacks if the entity goes offline or cancels the ticket ( see ValidateAuthTicketResponse_t callback and EAuthSessionResponse ) + virtual EBeginAuthSessionResult BeginAuthSession( const void *pAuthTicket, int cbAuthTicket, CSteamID steamID ) = 0; + + // Stop tracking started by BeginAuthSession - called when no longer playing game with this entity + virtual void EndAuthSession( CSteamID steamID ) = 0; + + // Cancel auth ticket from GetAuthSessionTicket, called when no longer playing game with the entity you gave the ticket to + virtual void CancelAuthTicket( HAuthTicket hAuthTicket ) = 0; + + // After receiving a user's authentication data, and passing it to BeginAuthSession, use this function + // to determine if the user owns downloadable content specified by the provided AppID. + virtual EUserHasLicenseForAppResult UserHasLicenseForApp( CSteamID steamID, AppId_t appID ) = 0; + + // returns true if this users looks like they are behind a NAT device. Only valid once the user has connected to steam + // (i.e a SteamServersConnected_t has been issued) and may not catch all forms of NAT. + virtual bool BIsBehindNAT() = 0; + + // set data to be replicated to friends so that they can join your game + // CSteamID steamIDGameServer - the steamID of the game server, received from the game server by the client + // uint32 unIPServer, uint16 usPortServer - the IP address of the game server + virtual void AdvertiseGame( CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer ) = 0; + + // Requests a ticket encrypted with an app specific shared key + // pDataToInclude, cbDataToInclude will be encrypted into the ticket + // ( This is asynchronous, you must wait for the ticket to be completed by the server ) + STEAM_CALL_RESULT( EncryptedAppTicketResponse_t ) + virtual SteamAPICall_t RequestEncryptedAppTicket( void *pDataToInclude, int cbDataToInclude ) = 0; + + // Retrieves a finished ticket. + // If no ticket is available, or your buffer is too small, returns false. + // Upon exit, *pcbTicket will be either the size of the ticket copied into your buffer + // (if true was returned), or the size needed (if false was returned). To determine the + // proper size of the ticket, you can pass pTicket=NULL and cbMaxTicket=0; if a ticket + // is available, *pcbTicket will contain the size needed, otherwise it will be zero. + virtual bool GetEncryptedAppTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket ) = 0; + + // Trading Card badges data access + // if you only have one set of cards, the series will be 1 + // the user has can have two different badges for a series; the regular (max level 5) and the foil (max level 1) + virtual int GetGameBadgeLevel( int nSeries, bool bFoil ) = 0; + + // gets the Steam Level of the user, as shown on their profile + virtual int GetPlayerSteamLevel() = 0; + + // Requests a URL which authenticates an in-game browser for store check-out, + // and then redirects to the specified URL. As long as the in-game browser + // accepts and handles session cookies, Steam microtransaction checkout pages + // will automatically recognize the user instead of presenting a login page. + // The result of this API call will be a StoreAuthURLResponse_t callback. + // NOTE: The URL has a very short lifetime to prevent history-snooping attacks, + // so you should only call this API when you are about to launch the browser, + // or else immediately navigate to the result URL using a hidden browser window. + // NOTE 2: The resulting authorization cookie has an expiration time of one day, + // so it would be a good idea to request and visit a new auth URL every 12 hours. + STEAM_CALL_RESULT( StoreAuthURLResponse_t ) + virtual SteamAPICall_t RequestStoreAuthURL( const char *pchRedirectURL ) = 0; + + // gets whether the users phone number is verified + virtual bool BIsPhoneVerified() = 0; + + // gets whether the user has two factor enabled on their account + virtual bool BIsTwoFactorEnabled() = 0; + + // gets whether the users phone number is identifying + virtual bool BIsPhoneIdentifying() = 0; + + // gets whether the users phone number is awaiting (re)verification + virtual bool BIsPhoneRequiringVerification() = 0; + + STEAM_CALL_RESULT( MarketEligibilityResponse_t ) + virtual SteamAPICall_t GetMarketEligibility() = 0; + + // Retrieves anti indulgence / duration control for current user + STEAM_CALL_RESULT( DurationControl_t ) + virtual SteamAPICall_t GetDurationControl() = 0; + + // Advise steam china duration control system about the online state of the game. + // This will prevent offline gameplay time from counting against a user's + // playtime limits. + virtual bool BSetDurationControlOnlineState( EDurationControlOnlineState eNewState ) = 0; + +}; + +#define STEAMUSER_INTERFACE_VERSION "SteamUser023" + +// Global interface accessor +inline ISteamUser *SteamUser(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamUser *, SteamUser, STEAMUSER_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + +//----------------------------------------------------------------------------- +// Purpose: Called when an authenticated connection to the Steam back-end has been established. +// This means the Steam client now has a working connection to the Steam servers. +// Usually this will have occurred before the game has launched, and should +// only be seen if the user has dropped connection due to a networking issue +// or a Steam server update. +//----------------------------------------------------------------------------- +struct SteamServersConnected_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 1 }; +}; + +//----------------------------------------------------------------------------- +// Purpose: called when a connection attempt has failed +// this will occur periodically if the Steam client is not connected, +// and has failed in it's retry to establish a connection +//----------------------------------------------------------------------------- +struct SteamServerConnectFailure_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 2 }; + EResult m_eResult; + bool m_bStillRetrying; +}; + + +//----------------------------------------------------------------------------- +// Purpose: called if the client has lost connection to the Steam servers +// real-time services will be disabled until a matching SteamServersConnected_t has been posted +//----------------------------------------------------------------------------- +struct SteamServersDisconnected_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 3 }; + EResult m_eResult; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Sent by the Steam server to the client telling it to disconnect from the specified game server, +// which it may be in the process of or already connected to. +// The game client should immediately disconnect upon receiving this message. +// This can usually occur if the user doesn't have rights to play on the game server. +//----------------------------------------------------------------------------- +struct ClientGameServerDeny_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 13 }; + + uint32 m_uAppID; + uint32 m_unGameServerIP; + uint16 m_usGameServerPort; + uint16 m_bSecure; + uint32 m_uReason; +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when the callback system for this client is in an error state (and has flushed pending callbacks) +// When getting this message the client should disconnect from Steam, reset any stored Steam state and reconnect. +// This usually occurs in the rare event the Steam client has some kind of fatal error. +//----------------------------------------------------------------------------- +struct IPCFailure_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 17 }; + enum EFailureType + { + k_EFailureFlushedCallbackQueue, + k_EFailurePipeFail, + }; + uint8 m_eFailureType; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Signaled whenever licenses change +//----------------------------------------------------------------------------- +struct LicensesUpdated_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 25 }; +}; + + +//----------------------------------------------------------------------------- +// callback for BeginAuthSession +//----------------------------------------------------------------------------- +struct ValidateAuthTicketResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 43 }; + CSteamID m_SteamID; + EAuthSessionResponse m_eAuthSessionResponse; + CSteamID m_OwnerSteamID; // different from m_SteamID if borrowed +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when a user has responded to a microtransaction authorization request +//----------------------------------------------------------------------------- +struct MicroTxnAuthorizationResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 52 }; + + uint32 m_unAppID; // AppID for this microtransaction + uint64 m_ulOrderID; // OrderID provided for the microtransaction + uint8 m_bAuthorized; // if user authorized transaction +}; + + +//----------------------------------------------------------------------------- +// Purpose: Result from RequestEncryptedAppTicket +//----------------------------------------------------------------------------- +struct EncryptedAppTicketResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 54 }; + + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// callback for GetAuthSessionTicket +//----------------------------------------------------------------------------- +struct GetAuthSessionTicketResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 63 }; + HAuthTicket m_hAuthTicket; + EResult m_eResult; +}; + +//----------------------------------------------------------------------------- +// Purpose: sent to your game in response to a steam://gamewebcallback/ command +//----------------------------------------------------------------------------- +struct GameWebCallback_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 64 }; + char m_szURL[256]; +}; + +//----------------------------------------------------------------------------- +// Purpose: sent to your game in response to ISteamUser::RequestStoreAuthURL +//----------------------------------------------------------------------------- +struct StoreAuthURLResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 65 }; + char m_szURL[512]; +}; + + +//----------------------------------------------------------------------------- +// Purpose: sent in response to ISteamUser::GetMarketEligibility +//----------------------------------------------------------------------------- +struct MarketEligibilityResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 66 }; + bool m_bAllowed; + EMarketNotAllowedReasonFlags m_eNotAllowedReason; + RTime32 m_rtAllowedAtTime; + + int m_cdaySteamGuardRequiredDays; // The number of days any user is required to have had Steam Guard before they can use the market + int m_cdayNewDeviceCooldown; // The number of days after initial device authorization a user must wait before using the market on that device +}; + + +//----------------------------------------------------------------------------- +// Purpose: sent for games with enabled anti indulgence / duration control, for +// enabled users. Lets the game know whether the user can keep playing or +// whether the game should exit, and returns info about remaining gameplay time. +// +// This callback is fired asynchronously in response to timers triggering. +// It is also fired in response to calls to GetDurationControl(). +//----------------------------------------------------------------------------- +struct DurationControl_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 67 }; + + EResult m_eResult; // result of call (always k_EResultOK for asynchronous timer-based notifications) + AppId_t m_appid; // appid generating playtime + + bool m_bApplicable; // is duration control applicable to user + game combination + int32 m_csecsLast5h; // playtime since most recent 5 hour gap in playtime, only counting up to regulatory limit of playtime, in seconds + + EDurationControlProgress m_progress; // recommended progress (either everything is fine, or please exit game) + EDurationControlNotification m_notification; // notification to show, if any (always k_EDurationControlNotification_None for API calls) + + int32 m_csecsToday; // playtime on current calendar day + int32 m_csecsRemaining; // playtime remaining until the user hits a regulatory limit +}; + + +//----------------------------------------------------------------------------- +// callback for GetTicketForWebApi +//----------------------------------------------------------------------------- +struct GetTicketForWebApiResponse_t +{ + enum { k_iCallback = k_iSteamUserCallbacks + 68 }; + HAuthTicket m_hAuthTicket; + EResult m_eResult; + int m_cubTicket; + static const int k_nCubTicketMaxLength = 2560; + uint8 m_rgubTicket[k_nCubTicketMaxLength]; +}; + + +#pragma pack( pop ) + +#endif // ISTEAMUSER_H diff --git a/lsteamclient/steamworks_sdk_158/isteamuserstats.h b/lsteamclient/steamworks_sdk_158/isteamuserstats.h new file mode 100644 index 000000000..8bb0c90f1 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamuserstats.h @@ -0,0 +1,487 @@ +//====== Copyright � 1996-2009, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to stats, achievements, and leaderboards +// +//============================================================================= + +#ifndef ISTEAMUSERSTATS_H +#define ISTEAMUSERSTATS_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" +#include "isteamremotestorage.h" + +// size limit on stat or achievement name (UTF-8 encoded) +enum { k_cchStatNameMax = 128 }; + +// maximum number of bytes for a leaderboard name (UTF-8 encoded) +enum { k_cchLeaderboardNameMax = 128 }; + +// maximum number of details int32's storable for a single leaderboard entry +enum { k_cLeaderboardDetailsMax = 64 }; + +// handle to a single leaderboard +typedef uint64 SteamLeaderboard_t; + +// handle to a set of downloaded entries in a leaderboard +typedef uint64 SteamLeaderboardEntries_t; + +// type of data request, when downloading leaderboard entries +enum ELeaderboardDataRequest +{ + k_ELeaderboardDataRequestGlobal = 0, + k_ELeaderboardDataRequestGlobalAroundUser = 1, + k_ELeaderboardDataRequestFriends = 2, + k_ELeaderboardDataRequestUsers = 3 +}; + +// the sort order of a leaderboard +enum ELeaderboardSortMethod +{ + k_ELeaderboardSortMethodNone = 0, + k_ELeaderboardSortMethodAscending = 1, // top-score is lowest number + k_ELeaderboardSortMethodDescending = 2, // top-score is highest number +}; + +// the display type (used by the Steam Community web site) for a leaderboard +enum ELeaderboardDisplayType +{ + k_ELeaderboardDisplayTypeNone = 0, + k_ELeaderboardDisplayTypeNumeric = 1, // simple numerical score + k_ELeaderboardDisplayTypeTimeSeconds = 2, // the score represents a time, in seconds + k_ELeaderboardDisplayTypeTimeMilliSeconds = 3, // the score represents a time, in milliseconds +}; + +enum ELeaderboardUploadScoreMethod +{ + k_ELeaderboardUploadScoreMethodNone = 0, + k_ELeaderboardUploadScoreMethodKeepBest = 1, // Leaderboard will keep user's best score + k_ELeaderboardUploadScoreMethodForceUpdate = 2, // Leaderboard will always replace score with specified +}; + +// a single entry in a leaderboard, as returned by GetDownloadedLeaderboardEntry() +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +struct LeaderboardEntry_t +{ + CSteamID m_steamIDUser; // user with the entry - use SteamFriends()->GetFriendPersonaName() & SteamFriends()->GetFriendAvatar() to get more info + int32 m_nGlobalRank; // [1..N], where N is the number of users with an entry in the leaderboard + int32 m_nScore; // score as set in the leaderboard + int32 m_cDetails; // number of int32 details available for this entry + UGCHandle_t m_hUGC; // handle for UGC attached to the entry +}; + +#pragma pack( pop ) + + +//----------------------------------------------------------------------------- +// Purpose: Functions for accessing stats, achievements, and leaderboard information +//----------------------------------------------------------------------------- +class ISteamUserStats +{ +public: + // Ask the server to send down this user's data and achievements for this game + STEAM_CALL_BACK( UserStatsReceived_t ) + virtual bool RequestCurrentStats() = 0; + + // Data accessors + STEAM_FLAT_NAME( GetStatInt32 ) + virtual bool GetStat( const char *pchName, int32 *pData ) = 0; + + STEAM_FLAT_NAME( GetStatFloat ) + virtual bool GetStat( const char *pchName, float *pData ) = 0; + + // Set / update data + STEAM_FLAT_NAME( SetStatInt32 ) + virtual bool SetStat( const char *pchName, int32 nData ) = 0; + + STEAM_FLAT_NAME( SetStatFloat ) + virtual bool SetStat( const char *pchName, float fData ) = 0; + + virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0; + + // Achievement flag accessors + virtual bool GetAchievement( const char *pchName, bool *pbAchieved ) = 0; + virtual bool SetAchievement( const char *pchName ) = 0; + virtual bool ClearAchievement( const char *pchName ) = 0; + + // Get the achievement status, and the time it was unlocked if unlocked. + // If the return value is true, but the unlock time is zero, that means it was unlocked before Steam + // began tracking achievement unlock times (December 2009). Time is seconds since January 1, 1970. + virtual bool GetAchievementAndUnlockTime( const char *pchName, bool *pbAchieved, uint32 *punUnlockTime ) = 0; + + // Store the current data on the server, will get a callback when set + // And one callback for every new achievement + // + // If the callback has a result of k_EResultInvalidParam, one or more stats + // uploaded has been rejected, either because they broke constraints + // or were out of date. In this case the server sends back updated values. + // The stats should be re-iterated to keep in sync. + virtual bool StoreStats() = 0; + + // Achievement / GroupAchievement metadata + + // Gets the icon of the achievement, which is a handle to be used in ISteamUtils::GetImageRGBA(), or 0 if none set. + // A return value of 0 may indicate we are still fetching data, and you can wait for the UserAchievementIconFetched_t callback + // which will notify you when the bits are ready. If the callback still returns zero, then there is no image set for the + // specified achievement. + virtual int GetAchievementIcon( const char *pchName ) = 0; + + // Get general attributes for an achievement. Accepts the following keys: + // - "name" and "desc" for retrieving the localized achievement name and description (returned in UTF8) + // - "hidden" for retrieving if an achievement is hidden (returns "0" when not hidden, "1" when hidden) + virtual const char *GetAchievementDisplayAttribute( const char *pchName, const char *pchKey ) = 0; + + // Achievement progress - triggers an AchievementProgress callback, that is all. + // Calling this w/ N out of N progress will NOT set the achievement, the game must still do that. + virtual bool IndicateAchievementProgress( const char *pchName, uint32 nCurProgress, uint32 nMaxProgress ) = 0; + + // Used for iterating achievements. In general games should not need these functions because they should have a + // list of existing achievements compiled into them + virtual uint32 GetNumAchievements() = 0; + // Get achievement name iAchievement in [0,GetNumAchievements) + virtual const char *GetAchievementName( uint32 iAchievement ) = 0; + + // Friends stats & achievements + + // downloads stats for the user + // returns a UserStatsReceived_t received when completed + // if the other user has no stats, UserStatsReceived_t.m_eResult will be set to k_EResultFail + // these stats won't be auto-updated; you'll need to call RequestUserStats() again to refresh any data + STEAM_CALL_RESULT( UserStatsReceived_t ) + virtual SteamAPICall_t RequestUserStats( CSteamID steamIDUser ) = 0; + + // requests stat information for a user, usable after a successful call to RequestUserStats() + STEAM_FLAT_NAME( GetUserStatInt32 ) + virtual bool GetUserStat( CSteamID steamIDUser, const char *pchName, int32 *pData ) = 0; + + STEAM_FLAT_NAME( GetUserStatFloat ) + virtual bool GetUserStat( CSteamID steamIDUser, const char *pchName, float *pData ) = 0; + + virtual bool GetUserAchievement( CSteamID steamIDUser, const char *pchName, bool *pbAchieved ) = 0; + // See notes for GetAchievementAndUnlockTime above + virtual bool GetUserAchievementAndUnlockTime( CSteamID steamIDUser, const char *pchName, bool *pbAchieved, uint32 *punUnlockTime ) = 0; + + // Reset stats + virtual bool ResetAllStats( bool bAchievementsToo ) = 0; + + // Leaderboard functions + + // asks the Steam back-end for a leaderboard by name, and will create it if it's not yet + // This call is asynchronous, with the result returned in LeaderboardFindResult_t + STEAM_CALL_RESULT(LeaderboardFindResult_t) + virtual SteamAPICall_t FindOrCreateLeaderboard( const char *pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType ) = 0; + + // as above, but won't create the leaderboard if it's not found + // This call is asynchronous, with the result returned in LeaderboardFindResult_t + STEAM_CALL_RESULT( LeaderboardFindResult_t ) + virtual SteamAPICall_t FindLeaderboard( const char *pchLeaderboardName ) = 0; + + // returns the name of a leaderboard + virtual const char *GetLeaderboardName( SteamLeaderboard_t hSteamLeaderboard ) = 0; + + // returns the total number of entries in a leaderboard, as of the last request + virtual int GetLeaderboardEntryCount( SteamLeaderboard_t hSteamLeaderboard ) = 0; + + // returns the sort method of the leaderboard + virtual ELeaderboardSortMethod GetLeaderboardSortMethod( SteamLeaderboard_t hSteamLeaderboard ) = 0; + + // returns the display type of the leaderboard + virtual ELeaderboardDisplayType GetLeaderboardDisplayType( SteamLeaderboard_t hSteamLeaderboard ) = 0; + + // Asks the Steam back-end for a set of rows in the leaderboard. + // This call is asynchronous, with the result returned in LeaderboardScoresDownloaded_t + // LeaderboardScoresDownloaded_t will contain a handle to pull the results from GetDownloadedLeaderboardEntries() (below) + // You can ask for more entries than exist, and it will return as many as do exist. + // k_ELeaderboardDataRequestGlobal requests rows in the leaderboard from the full table, with nRangeStart & nRangeEnd in the range [1, TotalEntries] + // k_ELeaderboardDataRequestGlobalAroundUser requests rows around the current user, nRangeStart being negate + // e.g. DownloadLeaderboardEntries( hLeaderboard, k_ELeaderboardDataRequestGlobalAroundUser, -3, 3 ) will return 7 rows, 3 before the user, 3 after + // k_ELeaderboardDataRequestFriends requests all the rows for friends of the current user + STEAM_CALL_RESULT( LeaderboardScoresDownloaded_t ) + virtual SteamAPICall_t DownloadLeaderboardEntries( SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd ) = 0; + // as above, but downloads leaderboard entries for an arbitrary set of users - ELeaderboardDataRequest is k_ELeaderboardDataRequestUsers + // if a user doesn't have a leaderboard entry, they won't be included in the result + // a max of 100 users can be downloaded at a time, with only one outstanding call at a time + STEAM_CALL_RESULT( LeaderboardScoresDownloaded_t ) + virtual SteamAPICall_t DownloadLeaderboardEntriesForUsers( SteamLeaderboard_t hSteamLeaderboard, + STEAM_ARRAY_COUNT_D(cUsers, Array of users to retrieve) CSteamID *prgUsers, int cUsers ) = 0; + + // Returns data about a single leaderboard entry + // use a for loop from 0 to LeaderboardScoresDownloaded_t::m_cEntryCount to get all the downloaded entries + // e.g. + // void OnLeaderboardScoresDownloaded( LeaderboardScoresDownloaded_t *pLeaderboardScoresDownloaded ) + // { + // for ( int index = 0; index < pLeaderboardScoresDownloaded->m_cEntryCount; index++ ) + // { + // LeaderboardEntry_t leaderboardEntry; + // int32 details[3]; // we know this is how many we've stored previously + // GetDownloadedLeaderboardEntry( pLeaderboardScoresDownloaded->m_hSteamLeaderboardEntries, index, &leaderboardEntry, details, 3 ); + // assert( leaderboardEntry.m_cDetails == 3 ); + // ... + // } + // once you've accessed all the entries, the data will be free'd, and the SteamLeaderboardEntries_t handle will become invalid + virtual bool GetDownloadedLeaderboardEntry( SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t *pLeaderboardEntry, int32 *pDetails, int cDetailsMax ) = 0; + + // Uploads a user score to the Steam back-end. + // This call is asynchronous, with the result returned in LeaderboardScoreUploaded_t + // Details are extra game-defined information regarding how the user got that score + // pScoreDetails points to an array of int32's, cScoreDetailsCount is the number of int32's in the list + STEAM_CALL_RESULT( LeaderboardScoreUploaded_t ) + virtual SteamAPICall_t UploadLeaderboardScore( SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 *pScoreDetails, int cScoreDetailsCount ) = 0; + + // Attaches a piece of user generated content the user's entry on a leaderboard. + // hContent is a handle to a piece of user generated content that was shared using ISteamUserRemoteStorage::FileShare(). + // This call is asynchronous, with the result returned in LeaderboardUGCSet_t. + STEAM_CALL_RESULT( LeaderboardUGCSet_t ) + virtual SteamAPICall_t AttachLeaderboardUGC( SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC ) = 0; + + // Retrieves the number of players currently playing your game (online + offline) + // This call is asynchronous, with the result returned in NumberOfCurrentPlayers_t + STEAM_CALL_RESULT( NumberOfCurrentPlayers_t ) + virtual SteamAPICall_t GetNumberOfCurrentPlayers() = 0; + + // Requests that Steam fetch data on the percentage of players who have received each achievement + // for the game globally. + // This call is asynchronous, with the result returned in GlobalAchievementPercentagesReady_t. + STEAM_CALL_RESULT( GlobalAchievementPercentagesReady_t ) + virtual SteamAPICall_t RequestGlobalAchievementPercentages() = 0; + + // Get the info on the most achieved achievement for the game, returns an iterator index you can use to fetch + // the next most achieved afterwards. Will return -1 if there is no data on achievement + // percentages (ie, you haven't called RequestGlobalAchievementPercentages and waited on the callback). + virtual int GetMostAchievedAchievementInfo( char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved ) = 0; + + // Get the info on the next most achieved achievement for the game. Call this after GetMostAchievedAchievementInfo or another + // GetNextMostAchievedAchievementInfo call passing the iterator from the previous call. Returns -1 after the last + // achievement has been iterated. + virtual int GetNextMostAchievedAchievementInfo( int iIteratorPrevious, char *pchName, uint32 unNameBufLen, float *pflPercent, bool *pbAchieved ) = 0; + + // Returns the percentage of users who have achieved the specified achievement. + virtual bool GetAchievementAchievedPercent( const char *pchName, float *pflPercent ) = 0; + + // Requests global stats data, which is available for stats marked as "aggregated". + // This call is asynchronous, with the results returned in GlobalStatsReceived_t. + // nHistoryDays specifies how many days of day-by-day history to retrieve in addition + // to the overall totals. The limit is 60. + STEAM_CALL_RESULT( GlobalStatsReceived_t ) + virtual SteamAPICall_t RequestGlobalStats( int nHistoryDays ) = 0; + + // Gets the lifetime totals for an aggregated stat + STEAM_FLAT_NAME( GetGlobalStatInt64 ) + virtual bool GetGlobalStat( const char *pchStatName, int64 *pData ) = 0; + + STEAM_FLAT_NAME( GetGlobalStatDouble ) + virtual bool GetGlobalStat( const char *pchStatName, double *pData ) = 0; + + // Gets history for an aggregated stat. pData will be filled with daily values, starting with today. + // So when called, pData[0] will be today, pData[1] will be yesterday, and pData[2] will be two days ago, + // etc. cubData is the size in bytes of the pubData buffer. Returns the number of + // elements actually set. + + STEAM_FLAT_NAME( GetGlobalStatHistoryInt64 ) + virtual int32 GetGlobalStatHistory( const char *pchStatName, STEAM_ARRAY_COUNT(cubData) int64 *pData, uint32 cubData ) = 0; + + STEAM_FLAT_NAME( GetGlobalStatHistoryDouble ) + virtual int32 GetGlobalStatHistory( const char *pchStatName, STEAM_ARRAY_COUNT(cubData) double *pData, uint32 cubData ) = 0; + + // For achievements that have related Progress stats, use this to query what the bounds of that progress are. + // You may want this info to selectively call IndicateAchievementProgress when appropriate milestones of progress + // have been made, to show a progress notification to the user. + STEAM_FLAT_NAME( GetAchievementProgressLimitsInt32 ) + virtual bool GetAchievementProgressLimits( const char *pchName, int32 *pnMinProgress, int32 *pnMaxProgress ) = 0; + + STEAM_FLAT_NAME( GetAchievementProgressLimitsFloat ) + virtual bool GetAchievementProgressLimits( const char *pchName, float *pfMinProgress, float *pfMaxProgress ) = 0; + +}; + +#define STEAMUSERSTATS_INTERFACE_VERSION "STEAMUSERSTATS_INTERFACE_VERSION012" + +// Global interface accessor +inline ISteamUserStats *SteamUserStats(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamUserStats *, SteamUserStats, STEAMUSERSTATS_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +//----------------------------------------------------------------------------- +// Purpose: called when the latests stats and achievements have been received +// from the server +//----------------------------------------------------------------------------- +struct UserStatsReceived_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 1 }; + uint64 m_nGameID; // Game these stats are for + EResult m_eResult; // Success / error fetching the stats + CSteamID m_steamIDUser; // The user for whom the stats are retrieved for +}; + + +//----------------------------------------------------------------------------- +// Purpose: result of a request to store the user stats for a game +//----------------------------------------------------------------------------- +struct UserStatsStored_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 2 }; + uint64 m_nGameID; // Game these stats are for + EResult m_eResult; // success / error +}; + + +//----------------------------------------------------------------------------- +// Purpose: result of a request to store the achievements for a game, or an +// "indicate progress" call. If both m_nCurProgress and m_nMaxProgress +// are zero, that means the achievement has been fully unlocked. +//----------------------------------------------------------------------------- +struct UserAchievementStored_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 3 }; + + uint64 m_nGameID; // Game this is for + bool m_bGroupAchievement; // if this is a "group" achievement + char m_rgchAchievementName[k_cchStatNameMax]; // name of the achievement + uint32 m_nCurProgress; // current progress towards the achievement + uint32 m_nMaxProgress; // "out of" this many +}; + + +//----------------------------------------------------------------------------- +// Purpose: call result for finding a leaderboard, returned as a result of FindOrCreateLeaderboard() or FindLeaderboard() +// use CCallResult<> to map this async result to a member function +//----------------------------------------------------------------------------- +struct LeaderboardFindResult_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 4 }; + SteamLeaderboard_t m_hSteamLeaderboard; // handle to the leaderboard serarched for, 0 if no leaderboard found + uint8 m_bLeaderboardFound; // 0 if no leaderboard found +}; + + +//----------------------------------------------------------------------------- +// Purpose: call result indicating scores for a leaderboard have been downloaded and are ready to be retrieved, returned as a result of DownloadLeaderboardEntries() +// use CCallResult<> to map this async result to a member function +//----------------------------------------------------------------------------- +struct LeaderboardScoresDownloaded_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 5 }; + SteamLeaderboard_t m_hSteamLeaderboard; + SteamLeaderboardEntries_t m_hSteamLeaderboardEntries; // the handle to pass into GetDownloadedLeaderboardEntries() + int m_cEntryCount; // the number of entries downloaded +}; + + +//----------------------------------------------------------------------------- +// Purpose: call result indicating scores has been uploaded, returned as a result of UploadLeaderboardScore() +// use CCallResult<> to map this async result to a member function +//----------------------------------------------------------------------------- +struct LeaderboardScoreUploaded_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 6 }; + uint8 m_bSuccess; // 1 if the call was successful + SteamLeaderboard_t m_hSteamLeaderboard; // the leaderboard handle that was + int32 m_nScore; // the score that was attempted to set + uint8 m_bScoreChanged; // true if the score in the leaderboard change, false if the existing score was better + int m_nGlobalRankNew; // the new global rank of the user in this leaderboard + int m_nGlobalRankPrevious; // the previous global rank of the user in this leaderboard; 0 if the user had no existing entry in the leaderboard +}; + +struct NumberOfCurrentPlayers_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 7 }; + uint8 m_bSuccess; // 1 if the call was successful + int32 m_cPlayers; // Number of players currently playing +}; + + + +//----------------------------------------------------------------------------- +// Purpose: Callback indicating that a user's stats have been unloaded. +// Call RequestUserStats again to access stats for this user +//----------------------------------------------------------------------------- +struct UserStatsUnloaded_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 8 }; + CSteamID m_steamIDUser; // User whose stats have been unloaded +}; + + + +//----------------------------------------------------------------------------- +// Purpose: Callback indicating that an achievement icon has been fetched +//----------------------------------------------------------------------------- +struct UserAchievementIconFetched_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 9 }; + + CGameID m_nGameID; // Game this is for + char m_rgchAchievementName[k_cchStatNameMax]; // name of the achievement + bool m_bAchieved; // Is the icon for the achieved or not achieved version? + int m_nIconHandle; // Handle to the image, which can be used in SteamUtils()->GetImageRGBA(), 0 means no image is set for the achievement +}; + + +//----------------------------------------------------------------------------- +// Purpose: Callback indicating that global achievement percentages are fetched +//----------------------------------------------------------------------------- +struct GlobalAchievementPercentagesReady_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 10 }; + + uint64 m_nGameID; // Game this is for + EResult m_eResult; // Result of the operation +}; + + +//----------------------------------------------------------------------------- +// Purpose: call result indicating UGC has been uploaded, returned as a result of SetLeaderboardUGC() +//----------------------------------------------------------------------------- +struct LeaderboardUGCSet_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 11 }; + EResult m_eResult; // The result of the operation + SteamLeaderboard_t m_hSteamLeaderboard; // the leaderboard handle that was +}; + + +//----------------------------------------------------------------------------- +// Purpose: callback indicating that PS3 trophies have been installed +//----------------------------------------------------------------------------- +struct PS3TrophiesInstalled_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 12 }; + uint64 m_nGameID; // Game these stats are for + EResult m_eResult; // The result of the operation + uint64 m_ulRequiredDiskSpace; // If m_eResult is k_EResultDiskFull, will contain the amount of space needed to install trophies + +}; + + +//----------------------------------------------------------------------------- +// Purpose: callback indicating global stats have been received. +// Returned as a result of RequestGlobalStats() +//----------------------------------------------------------------------------- +struct GlobalStatsReceived_t +{ + enum { k_iCallback = k_iSteamUserStatsCallbacks + 12 }; + uint64 m_nGameID; // Game global stats were requested for + EResult m_eResult; // The result of the request +}; + +#pragma pack( pop ) + + +#endif // ISTEAMUSER_H diff --git a/lsteamclient/steamworks_sdk_158/isteamutils.h b/lsteamclient/steamworks_sdk_158/isteamutils.h new file mode 100644 index 000000000..313ac4dc6 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamutils.h @@ -0,0 +1,340 @@ +//====== Copyright � 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to utility functions in Steam +// +//============================================================================= + +#ifndef ISTEAMUTILS_H +#define ISTEAMUTILS_H + +#include "steam_api_common.h" + + +// Steam API call failure results +enum ESteamAPICallFailure +{ + k_ESteamAPICallFailureNone = -1, // no failure + k_ESteamAPICallFailureSteamGone = 0, // the local Steam process has gone away + k_ESteamAPICallFailureNetworkFailure = 1, // the network connection to Steam has been broken, or was already broken + // SteamServersDisconnected_t callback will be sent around the same time + // SteamServersConnected_t will be sent when the client is able to talk to the Steam servers again + k_ESteamAPICallFailureInvalidHandle = 2, // the SteamAPICall_t handle passed in no longer exists + k_ESteamAPICallFailureMismatchedCallback = 3,// GetAPICallResult() was called with the wrong callback type for this API call +}; + + +// Input modes for the Big Picture gamepad text entry +enum EGamepadTextInputMode +{ + k_EGamepadTextInputModeNormal = 0, + k_EGamepadTextInputModePassword = 1 +}; + + +// Controls number of allowed lines for the Big Picture gamepad text entry +enum EGamepadTextInputLineMode +{ + k_EGamepadTextInputLineModeSingleLine = 0, + k_EGamepadTextInputLineModeMultipleLines = 1 +}; + +enum EFloatingGamepadTextInputMode +{ + k_EFloatingGamepadTextInputModeModeSingleLine = 0, // Enter dismisses the keyboard + k_EFloatingGamepadTextInputModeModeMultipleLines = 1, // User needs to explictly close the keyboard + k_EFloatingGamepadTextInputModeModeEmail = 2, // Keyboard layout is email, enter dismisses the keyboard + k_EFloatingGamepadTextInputModeModeNumeric = 3, // Keyboard layout is numeric, enter dismisses the keyboard + +}; + +// The context where text filtering is being done +enum ETextFilteringContext +{ + k_ETextFilteringContextUnknown = 0, // Unknown context + k_ETextFilteringContextGameContent = 1, // Game content, only legally required filtering is performed + k_ETextFilteringContextChat = 2, // Chat from another player + k_ETextFilteringContextName = 3, // Character or item name +}; + + +//----------------------------------------------------------------------------- +// Purpose: interface to user independent utility functions +//----------------------------------------------------------------------------- +class ISteamUtils +{ +public: + // return the number of seconds since the user + virtual uint32 GetSecondsSinceAppActive() = 0; + virtual uint32 GetSecondsSinceComputerActive() = 0; + + // the universe this client is connecting to + virtual EUniverse GetConnectedUniverse() = 0; + + // Steam server time. Number of seconds since January 1, 1970, GMT (i.e unix time) + virtual uint32 GetServerRealTime() = 0; + + // returns the 2 digit ISO 3166-1-alpha-2 format country code this client is running in (as looked up via an IP-to-location database) + // e.g "US" or "UK". + virtual const char *GetIPCountry() = 0; + + // returns true if the image exists, and valid sizes were filled out + virtual bool GetImageSize( int iImage, uint32 *pnWidth, uint32 *pnHeight ) = 0; + + // returns true if the image exists, and the buffer was successfully filled out + // results are returned in RGBA format + // the destination buffer size should be 4 * height * width * sizeof(char) + virtual bool GetImageRGBA( int iImage, uint8 *pubDest, int nDestBufferSize ) = 0; + + // Deprecated. Do not call this. + STEAM_PRIVATE_API( virtual bool GetCSERIPPort( uint32 *unIP, uint16 *usPort ) = 0; ) + + // return the amount of battery power left in the current system in % [0..100], 255 for being on AC power + virtual uint8 GetCurrentBatteryPower() = 0; + + // returns the appID of the current process + virtual uint32 GetAppID() = 0; + + // Sets the position where the overlay instance for the currently calling game should show notifications. + // This position is per-game and if this function is called from outside of a game context it will do nothing. + virtual void SetOverlayNotificationPosition( ENotificationPosition eNotificationPosition ) = 0; + + // API asynchronous call results + // can be used directly, but more commonly used via the callback dispatch API (see steam_api.h) + virtual bool IsAPICallCompleted( SteamAPICall_t hSteamAPICall, bool *pbFailed ) = 0; + virtual ESteamAPICallFailure GetAPICallFailureReason( SteamAPICall_t hSteamAPICall ) = 0; + virtual bool GetAPICallResult( SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed ) = 0; + + // Deprecated. Applications should use SteamAPI_RunCallbacks() instead. Game servers do not need to call this function. + STEAM_PRIVATE_API( virtual void RunFrame() = 0; ) + + // returns the number of IPC calls made since the last time this function was called + // Used for perf debugging so you can understand how many IPC calls your game makes per frame + // Every IPC call is at minimum a thread context switch if not a process one so you want to rate + // control how often you do them. + virtual uint32 GetIPCCallCount() = 0; + + // API warning handling + // 'int' is the severity; 0 for msg, 1 for warning + // 'const char *' is the text of the message + // callbacks will occur directly after the API function is called that generated the warning or message + virtual void SetWarningMessageHook( SteamAPIWarningMessageHook_t pFunction ) = 0; + + // Returns true if the overlay is running & the user can access it. The overlay process could take a few seconds to + // start & hook the game process, so this function will initially return false while the overlay is loading. + virtual bool IsOverlayEnabled() = 0; + + // Normally this call is unneeded if your game has a constantly running frame loop that calls the + // D3D Present API, or OGL SwapBuffers API every frame. + // + // However, if you have a game that only refreshes the screen on an event driven basis then that can break + // the overlay, as it uses your Present/SwapBuffers calls to drive it's internal frame loop and it may also + // need to Present() to the screen any time an even needing a notification happens or when the overlay is + // brought up over the game by a user. You can use this API to ask the overlay if it currently need a present + // in that case, and then you can check for this periodically (roughly 33hz is desirable) and make sure you + // refresh the screen with Present or SwapBuffers to allow the overlay to do it's work. + virtual bool BOverlayNeedsPresent() = 0; + + // Asynchronous call to check if an executable file has been signed using the public key set on the signing tab + // of the partner site, for example to refuse to load modified executable files. + // The result is returned in CheckFileSignature_t. + // k_ECheckFileSignatureNoSignaturesFoundForThisApp - This app has not been configured on the signing tab of the partner site to enable this function. + // k_ECheckFileSignatureNoSignaturesFoundForThisFile - This file is not listed on the signing tab for the partner site. + // k_ECheckFileSignatureFileNotFound - The file does not exist on disk. + // k_ECheckFileSignatureInvalidSignature - The file exists, and the signing tab has been set for this file, but the file is either not signed or the signature does not match. + // k_ECheckFileSignatureValidSignature - The file is signed and the signature is valid. + STEAM_CALL_RESULT( CheckFileSignature_t ) + virtual SteamAPICall_t CheckFileSignature( const char *szFileName ) = 0; + + // Activates the full-screen text input dialog which takes a initial text string and returns the text the user has typed + virtual bool ShowGamepadTextInput( EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char *pchDescription, uint32 unCharMax, const char *pchExistingText ) = 0; + + // Returns previously entered text & length + virtual uint32 GetEnteredGamepadTextLength() = 0; + virtual bool GetEnteredGamepadTextInput( char *pchText, uint32 cchText ) = 0; + + // returns the language the steam client is running in, you probably want ISteamApps::GetCurrentGameLanguage instead, this is for very special usage cases + virtual const char *GetSteamUILanguage() = 0; + + // returns true if Steam itself is running in VR mode + virtual bool IsSteamRunningInVR() = 0; + + // Sets the inset of the overlay notification from the corner specified by SetOverlayNotificationPosition. + virtual void SetOverlayNotificationInset( int nHorizontalInset, int nVerticalInset ) = 0; + + // returns true if Steam & the Steam Overlay are running in Big Picture mode + // Games much be launched through the Steam client to enable the Big Picture overlay. During development, + // a game can be added as a non-steam game to the developers library to test this feature + virtual bool IsSteamInBigPictureMode() = 0; + + // ask SteamUI to create and render its OpenVR dashboard + virtual void StartVRDashboard() = 0; + + // Returns true if the HMD content will be streamed via Steam Remote Play + virtual bool IsVRHeadsetStreamingEnabled() = 0; + + // Set whether the HMD content will be streamed via Steam Remote Play + // If this is set to true, then the scene in the HMD headset will be streamed, and remote input will not be allowed. + // If this is set to false, then the application window will be streamed instead, and remote input will be allowed. + // The default is true unless "VRHeadsetStreaming" "0" is in the extended appinfo for a game. + // (this is useful for games that have asymmetric multiplayer gameplay) + virtual void SetVRHeadsetStreamingEnabled( bool bEnabled ) = 0; + + // Returns whether this steam client is a Steam China specific client, vs the global client. + virtual bool IsSteamChinaLauncher() = 0; + + // Initializes text filtering, loading dictionaries for the language the game is running in. + // unFilterOptions are reserved for future use and should be set to 0 + // Returns false if filtering is unavailable for the game's language, in which case FilterText() will act as a passthrough. + // + // Users can customize the text filter behavior in their Steam Account preferences: + // https://store.steampowered.com/account/preferences#CommunityContentPreferences + virtual bool InitFilterText( uint32 unFilterOptions = 0 ) = 0; + + // Filters the provided input message and places the filtered result into pchOutFilteredText, using legally required filtering and additional filtering based on the context and user settings + // eContext is the type of content in the input string + // sourceSteamID is the Steam ID that is the source of the input string (e.g. the player with the name, or who said the chat text) + // pchInputText is the input string that should be filtered, which can be ASCII or UTF-8 + // pchOutFilteredText is where the output will be placed, even if no filtering is performed + // nByteSizeOutFilteredText is the size (in bytes) of pchOutFilteredText, should be at least strlen(pchInputText)+1 + // Returns the number of characters (not bytes) filtered + virtual int FilterText( ETextFilteringContext eContext, CSteamID sourceSteamID, const char *pchInputMessage, char *pchOutFilteredText, uint32 nByteSizeOutFilteredText ) = 0; + + // Return what we believe your current ipv6 connectivity to "the internet" is on the specified protocol. + // This does NOT tell you if the Steam client is currently connected to Steam via ipv6. + virtual ESteamIPv6ConnectivityState GetIPv6ConnectivityState( ESteamIPv6ConnectivityProtocol eProtocol ) = 0; + + // returns true if currently running on the Steam Deck device + virtual bool IsSteamRunningOnSteamDeck() = 0; + + // Opens a floating keyboard over the game content and sends OS keyboard keys directly to the game. + // The text field position is specified in pixels relative the origin of the game window and is used to position the floating keyboard in a way that doesn't cover the text field + virtual bool ShowFloatingGamepadTextInput( EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight ) = 0; + + // In game launchers that don't have controller support you can call this to have Steam Input translate the controller input into mouse/kb to navigate the launcher + virtual void SetGameLauncherMode( bool bLauncherMode ) = 0; + + // Dismisses the floating keyboard. + virtual bool DismissFloatingGamepadTextInput() = 0; +}; + +#define STEAMUTILS_INTERFACE_VERSION "SteamUtils010" + +// Global interface accessor +inline ISteamUtils *SteamUtils(); +STEAM_DEFINE_INTERFACE_ACCESSOR( ISteamUtils *, SteamUtils, SteamInternal_FindOrCreateUserInterface( 0, STEAMUTILS_INTERFACE_VERSION ), "user", STEAMUTILS_INTERFACE_VERSION ); + +// Global accessor for the gameserver client +inline ISteamUtils *SteamGameServerUtils(); +STEAM_DEFINE_INTERFACE_ACCESSOR( ISteamUtils *, SteamGameServerUtils, SteamInternal_FindOrCreateGameServerInterface( 0, STEAMUTILS_INTERFACE_VERSION ), "gameserver", STEAMUTILS_INTERFACE_VERSION ); + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +//----------------------------------------------------------------------------- +// Purpose: The country of the user changed +//----------------------------------------------------------------------------- +struct IPCountry_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 1 }; +}; + + +//----------------------------------------------------------------------------- +// Purpose: Fired when running on a handheld PC or laptop with less than 10 minutes of battery is left, fires then every minute +//----------------------------------------------------------------------------- +struct LowBatteryPower_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 2 }; + uint8 m_nMinutesBatteryLeft; +}; + + +//----------------------------------------------------------------------------- +// Purpose: called when a SteamAsyncCall_t has completed (or failed) +//----------------------------------------------------------------------------- +struct SteamAPICallCompleted_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 3 }; + SteamAPICall_t m_hAsyncCall; + int m_iCallback; + uint32 m_cubParam; +}; + + +//----------------------------------------------------------------------------- +// called when Steam wants to shutdown +//----------------------------------------------------------------------------- +struct SteamShutdown_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 4 }; +}; + +//----------------------------------------------------------------------------- +// results for CheckFileSignature +//----------------------------------------------------------------------------- +enum ECheckFileSignature +{ + k_ECheckFileSignatureInvalidSignature = 0, + k_ECheckFileSignatureValidSignature = 1, + k_ECheckFileSignatureFileNotFound = 2, + k_ECheckFileSignatureNoSignaturesFoundForThisApp = 3, + k_ECheckFileSignatureNoSignaturesFoundForThisFile = 4, +}; + +//----------------------------------------------------------------------------- +// callback for CheckFileSignature +//----------------------------------------------------------------------------- +struct CheckFileSignature_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 5 }; + ECheckFileSignature m_eCheckFileSignature; +}; + + +// k_iSteamUtilsCallbacks + 13 is taken + + +//----------------------------------------------------------------------------- +// Full Screen gamepad text input has been closed +//----------------------------------------------------------------------------- +struct GamepadTextInputDismissed_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 14 }; + bool m_bSubmitted; // true if user entered & accepted text (Call ISteamUtils::GetEnteredGamepadTextInput() for text), false if canceled input + uint32 m_unSubmittedText; + AppId_t m_unAppID; +}; + +// k_iSteamUtilsCallbacks + 15 through 35 are taken + +STEAM_CALLBACK_BEGIN( AppResumingFromSuspend_t, k_iSteamUtilsCallbacks + 36 ) +STEAM_CALLBACK_END(0) + +// k_iSteamUtilsCallbacks + 37 is taken + +//----------------------------------------------------------------------------- +// The floating on-screen keyboard has been closed +//----------------------------------------------------------------------------- +struct FloatingGamepadTextInputDismissed_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 38 }; +}; + +//----------------------------------------------------------------------------- +// The text filtering dictionary has changed +//----------------------------------------------------------------------------- +struct FilterTextDictionaryChanged_t +{ + enum { k_iCallback = k_iSteamUtilsCallbacks + 39 }; + int m_eLanguage; // One of ELanguage, or k_LegallyRequiredFiltering +}; + +#pragma pack( pop ) + +#endif // ISTEAMUTILS_H diff --git a/lsteamclient/steamworks_sdk_158/isteamvideo.h b/lsteamclient/steamworks_sdk_158/isteamvideo.h new file mode 100644 index 000000000..4832d7b69 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/isteamvideo.h @@ -0,0 +1,68 @@ +//====== Copyright © 1996-2014 Valve Corporation, All rights reserved. ======= +// +// Purpose: interface to Steam Video +// +//============================================================================= + +#ifndef ISTEAMVIDEO_H +#define ISTEAMVIDEO_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api_common.h" + +// callbacks +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + + + + +//----------------------------------------------------------------------------- +// Purpose: Steam Video API +//----------------------------------------------------------------------------- +class ISteamVideo +{ +public: + + // Get a URL suitable for streaming the given Video app ID's video + virtual void GetVideoURL( AppId_t unVideoAppID ) = 0; + + // returns true if user is uploading a live broadcast + virtual bool IsBroadcasting( int *pnNumViewers ) = 0; + + // Get the OPF Details for 360 Video Playback + STEAM_CALL_BACK( GetOPFSettingsResult_t ) + virtual void GetOPFSettings( AppId_t unVideoAppID ) = 0; + virtual bool GetOPFStringForApp( AppId_t unVideoAppID, char *pchBuffer, int32 *pnBufferSize ) = 0; +}; + +#define STEAMVIDEO_INTERFACE_VERSION "STEAMVIDEO_INTERFACE_V002" + +// Global interface accessor +inline ISteamVideo *SteamVideo(); +STEAM_DEFINE_USER_INTERFACE_ACCESSOR( ISteamVideo *, SteamVideo, STEAMVIDEO_INTERFACE_VERSION ); + +STEAM_CALLBACK_BEGIN( GetVideoURLResult_t, k_iSteamVideoCallbacks + 11 ) + STEAM_CALLBACK_MEMBER( 0, EResult, m_eResult ) + STEAM_CALLBACK_MEMBER( 1, AppId_t, m_unVideoAppID ) + STEAM_CALLBACK_MEMBER( 2, char, m_rgchURL[256] ) +STEAM_CALLBACK_END(3) + + +STEAM_CALLBACK_BEGIN( GetOPFSettingsResult_t, k_iSteamVideoCallbacks + 24 ) + STEAM_CALLBACK_MEMBER( 0, EResult, m_eResult ) + STEAM_CALLBACK_MEMBER( 1, AppId_t, m_unVideoAppID ) +STEAM_CALLBACK_END(2) + + +#pragma pack( pop ) + + +#endif // ISTEAMVIDEO_H diff --git a/lsteamclient/steamworks_sdk_158/matchmakingtypes.h b/lsteamclient/steamworks_sdk_158/matchmakingtypes.h new file mode 100644 index 000000000..791802a06 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/matchmakingtypes.h @@ -0,0 +1,231 @@ +//========= Copyright � 1996-2008, Valve LLC, All rights reserved. ============ +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef MATCHMAKINGTYPES_H +#define MATCHMAKINGTYPES_H + +#include +#include + +// +// Max size (in bytes of UTF-8 data, not in characters) of server fields, including null terminator. +// WARNING: These cannot be changed easily, without breaking clients using old interfaces. +// +const int k_cbMaxGameServerGameDir = 32; +const int k_cbMaxGameServerMapName = 32; +const int k_cbMaxGameServerGameDescription = 64; +const int k_cbMaxGameServerName = 64; +const int k_cbMaxGameServerTags = 128; +const int k_cbMaxGameServerGameData = 2048; + +/// Store key/value pair used in matchmaking queries. +/// +/// Actually, the name Key/Value is a bit misleading. The "key" is better +/// understood as "filter operation code" and the "value" is the operand to this +/// filter operation. The meaning of the operand depends upon the filter. +struct MatchMakingKeyValuePair_t +{ + MatchMakingKeyValuePair_t() { m_szKey[0] = m_szValue[0] = 0; } + MatchMakingKeyValuePair_t( const char *pchKey, const char *pchValue ) + { + strncpy( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only! + m_szKey[ sizeof( m_szKey ) - 1 ] = '\0'; + strncpy( m_szValue, pchValue, sizeof(m_szValue) ); + m_szValue[ sizeof( m_szValue ) - 1 ] = '\0'; + } + char m_szKey[ 256 ]; + char m_szValue[ 256 ]; +}; + + +enum EMatchMakingServerResponse +{ + eServerResponded = 0, + eServerFailedToRespond, + eNoServersListedOnMasterServer // for the Internet query type, returned in response callback if no servers of this type match +}; + +// servernetadr_t is all the addressing info the serverbrowser needs to know about a game server, +// namely: its IP, its connection port, and its query port. +class servernetadr_t +{ +public: + + servernetadr_t() : m_usConnectionPort( 0 ), m_usQueryPort( 0 ), m_unIP( 0 ) {} + + void Init( unsigned int ip, uint16 usQueryPort, uint16 usConnectionPort ); + + // Access the query port. + uint16 GetQueryPort() const; + void SetQueryPort( uint16 usPort ); + + // Access the connection port. + uint16 GetConnectionPort() const; + void SetConnectionPort( uint16 usPort ); + + // Access the IP + uint32 GetIP() const; + void SetIP( uint32 unIP ); + + // This gets the 'a.b.c.d:port' string with the connection port (instead of the query port). + const char *GetConnectionAddressString() const; + const char *GetQueryAddressString() const; + + // Comparison operators and functions. + bool operator<(const servernetadr_t &netadr) const; + void operator=( const servernetadr_t &that ) + { + m_usConnectionPort = that.m_usConnectionPort; + m_usQueryPort = that.m_usQueryPort; + m_unIP = that.m_unIP; + } + + +private: + const char *ToString( uint32 unIP, uint16 usPort ) const; + uint16 m_usConnectionPort; // (in HOST byte order) + uint16 m_usQueryPort; + uint32 m_unIP; +}; + + +inline void servernetadr_t::Init( unsigned int ip, uint16 usQueryPort, uint16 usConnectionPort ) +{ + m_unIP = ip; + m_usQueryPort = usQueryPort; + m_usConnectionPort = usConnectionPort; +} + +inline uint16 servernetadr_t::GetQueryPort() const +{ + return m_usQueryPort; +} + +inline void servernetadr_t::SetQueryPort( uint16 usPort ) +{ + m_usQueryPort = usPort; +} + +inline uint16 servernetadr_t::GetConnectionPort() const +{ + return m_usConnectionPort; +} + +inline void servernetadr_t::SetConnectionPort( uint16 usPort ) +{ + m_usConnectionPort = usPort; +} + +inline uint32 servernetadr_t::GetIP() const +{ + return m_unIP; +} + +inline void servernetadr_t::SetIP( uint32 unIP ) +{ + m_unIP = unIP; +} + +inline const char *servernetadr_t::ToString( uint32 unIP, uint16 usPort ) const +{ + static char s[4][64]; + static int nBuf = 0; + unsigned char *ipByte = (unsigned char *)&unIP; +#ifdef VALVE_BIG_ENDIAN + snprintf(s[nBuf], sizeof( s[nBuf] ), "%u.%u.%u.%u:%i", (int)(ipByte[0]), (int)(ipByte[1]), (int)(ipByte[2]), (int)(ipByte[3]), usPort ); +#else + snprintf(s[nBuf], sizeof( s[nBuf] ), "%u.%u.%u.%u:%i", (int)(ipByte[3]), (int)(ipByte[2]), (int)(ipByte[1]), (int)(ipByte[0]), usPort ); +#endif + const char *pchRet = s[nBuf]; + ++nBuf; + nBuf %= ( (sizeof(s)/sizeof(s[0])) ); + return pchRet; +} + +inline const char* servernetadr_t::GetConnectionAddressString() const +{ + return ToString( m_unIP, m_usConnectionPort ); +} + +inline const char* servernetadr_t::GetQueryAddressString() const +{ + return ToString( m_unIP, m_usQueryPort ); +} + +inline bool servernetadr_t::operator<(const servernetadr_t &netadr) const +{ + return ( m_unIP < netadr.m_unIP ) || ( m_unIP == netadr.m_unIP && m_usQueryPort < netadr.m_usQueryPort ); +} + +//----------------------------------------------------------------------------- +// Purpose: Data describing a single server +//----------------------------------------------------------------------------- +class gameserveritem_t +{ +public: + gameserveritem_t(); + + const char* GetName() const; + void SetName( const char *pName ); + +public: + servernetadr_t m_NetAdr; ///< IP/Query Port/Connection Port for this server + int m_nPing; ///< current ping time in milliseconds + bool m_bHadSuccessfulResponse; ///< server has responded successfully in the past + bool m_bDoNotRefresh; ///< server is marked as not responding and should no longer be refreshed + char m_szGameDir[k_cbMaxGameServerGameDir]; ///< current game directory + char m_szMap[k_cbMaxGameServerMapName]; ///< current map + char m_szGameDescription[k_cbMaxGameServerGameDescription]; ///< game description + uint32 m_nAppID; ///< Steam App ID of this server + int m_nPlayers; ///< total number of players currently on the server. INCLUDES BOTS!! + int m_nMaxPlayers; ///< Maximum players that can join this server + int m_nBotPlayers; ///< Number of bots (i.e simulated players) on this server + bool m_bPassword; ///< true if this server needs a password to join + bool m_bSecure; ///< Is this server protected by VAC + uint32 m_ulTimeLastPlayed; ///< time (in unix time) when this server was last played on (for favorite/history servers) + int m_nServerVersion; ///< server version as reported to Steam + +private: + + /// Game server name + char m_szServerName[k_cbMaxGameServerName]; + + // For data added after SteamMatchMaking001 add it here +public: + /// the tags this server exposes + char m_szGameTags[k_cbMaxGameServerTags]; + + /// steamID of the game server - invalid if it's doesn't have one (old server, or not connected to Steam) + CSteamID m_steamID; +}; + + +inline gameserveritem_t::gameserveritem_t() +{ + m_szGameDir[0] = m_szMap[0] = m_szGameDescription[0] = m_szServerName[0] = 0; + m_bHadSuccessfulResponse = m_bDoNotRefresh = m_bPassword = m_bSecure = false; + m_nPing = m_nAppID = m_nPlayers = m_nMaxPlayers = m_nBotPlayers = m_ulTimeLastPlayed = m_nServerVersion = 0; + m_szGameTags[0] = 0; +} + +inline const char* gameserveritem_t::GetName() const +{ + // Use the IP address as the name if nothing is set yet. + if ( m_szServerName[0] == 0 ) + return m_NetAdr.GetConnectionAddressString(); + else + return m_szServerName; +} + +inline void gameserveritem_t::SetName( const char *pName ) +{ + strncpy( m_szServerName, pName, sizeof( m_szServerName ) ); + m_szServerName[ sizeof( m_szServerName ) - 1 ] = '\0'; +} + + +#endif // MATCHMAKINGTYPES_H diff --git a/lsteamclient/steamworks_sdk_158/steam_api.h b/lsteamclient/steamworks_sdk_158/steam_api.h new file mode 100644 index 000000000..ac00b36ae --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steam_api.h @@ -0,0 +1,362 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// This header includes *all* of the interfaces and callback structures +// in the Steamworks SDK, and some high level functions to control the SDK +// (init, shutdown, etc) that you probably only need in one or two files. +// +// To save your compile times, we recommend that you not include this file +// in header files. Instead, include the specific headers for the interfaces +// and callback structures you need. The one file you might consider including +// in your precompiled header (e.g. stdafx.h) is steam_api_common.h +// +//============================================================================= + +#ifndef STEAM_API_H +#define STEAM_API_H +#ifdef _WIN32 +#pragma once +#endif + +// Basic stuff +#include "steam_api_common.h" + +// All of the interfaces +#include "isteamclient.h" +#include "isteamuser.h" +#include "isteamfriends.h" +#include "isteamutils.h" +#include "isteammatchmaking.h" +#include "isteamuserstats.h" +#include "isteamapps.h" +#include "isteamnetworking.h" +#include "isteamremotestorage.h" +#include "isteamscreenshots.h" +#include "isteammusic.h" +#include "isteammusicremote.h" +#include "isteamhttp.h" +#include "isteamcontroller.h" +#include "isteamugc.h" +#include "isteamapplist.h" +#include "isteamhtmlsurface.h" +#include "isteaminventory.h" +#include "isteamvideo.h" +#include "isteamparentalsettings.h" +#include "isteaminput.h" +#include "isteamremoteplay.h" +#include "isteamnetworkingmessages.h" +#include "isteamnetworkingsockets.h" +#include "isteamnetworkingutils.h" + + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// Steam API setup & shutdown +// +// These functions manage loading, initializing and shutdown of the steamclient.dll +// +//----------------------------------------------------------------------------------------------------------------------------------------------------------// + +enum ESteamAPIInitResult +{ + k_ESteamAPIInitResult_OK = 0, + k_ESteamAPIInitResult_FailedGeneric = 1, // Some other failure + k_ESteamAPIInitResult_NoSteamClient = 2, // We cannot connect to Steam, steam probably isn't running + k_ESteamAPIInitResult_VersionMismatch = 3, // Steam client appears to be out of date +}; + +// Initialize the Steamworks SDK. +// On success k_ESteamAPIInitResult_OK is returned. Otherwise, if pOutErrMsg is non-NULL, +// it will receive a non-localized message that explains the reason for the failure +// +// Example usage: +// +// SteamErrMsg errMsg; +// if ( SteamAPI_Init(&errMsg) != k_ESteamAPIInitResult_OK ) +// FatalError( "Failed to init Steam. %s", errMsg ); +inline ESteamAPIInitResult SteamAPI_InitEx( SteamErrMsg *pOutErrMsg ); + +// Initialize the SDK, without worrying about the cause of failure. +// This function is included for compatibility with older SDK. +// You can use it if you don't care about decent error handling +inline bool SteamAPI_Init() +{ + return SteamAPI_InitEx( NULL ) == k_ESteamAPIInitResult_OK; +} + +// SteamAPI_Shutdown should be called during process shutdown if possible. +S_API void S_CALLTYPE SteamAPI_Shutdown(); + +// SteamAPI_RestartAppIfNecessary ensures that your executable was launched through Steam. +// +// Returns true if the current process should terminate. Steam is now re-launching your application. +// +// Returns false if no action needs to be taken. This means that your executable was started through +// the Steam client, or a steam_appid.txt file is present in your game's directory (for development). +// Your current process should continue if false is returned. +// +// NOTE: If you use the Steam DRM wrapper on your primary executable file, this check is unnecessary +// since the DRM wrapper will ensure that your application was launched properly through Steam. +S_API bool S_CALLTYPE SteamAPI_RestartAppIfNecessary( uint32 unOwnAppID ); + +// Many Steam API functions allocate a small amount of thread-local memory for parameter storage. +// SteamAPI_ReleaseCurrentThreadMemory() will free API memory associated with the calling thread. +// This function is also called automatically by SteamAPI_RunCallbacks(), so a single-threaded +// program never needs to explicitly call this function. +S_API void S_CALLTYPE SteamAPI_ReleaseCurrentThreadMemory(); + + +// crash dump recording functions +S_API void S_CALLTYPE SteamAPI_WriteMiniDump( uint32 uStructuredExceptionCode, void* pvExceptionInfo, uint32 uBuildID ); +S_API void S_CALLTYPE SteamAPI_SetMiniDumpComment( const char *pchMsg ); + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// steamclient.dll private wrapper functions +// +// The following functions are part of abstracting API access to the steamclient.dll, but should only be used in very specific cases +//----------------------------------------------------------------------------------------------------------------------------------------------------------// + +// SteamAPI_IsSteamRunning() returns true if Steam is currently running +S_API bool S_CALLTYPE SteamAPI_IsSteamRunning(); + +// returns the filename path of the current running Steam process, used if you need to load an explicit steam dll by name. +// DEPRECATED - implementation is Windows only, and the path returned is a UTF-8 string which must be converted to UTF-16 for use with Win32 APIs +S_API const char *SteamAPI_GetSteamInstallPath(); + +// sets whether or not Steam_RunCallbacks() should do a try {} catch (...) {} around calls to issuing callbacks +// This is ignored if you are using the manual callback dispatch method +S_API void SteamAPI_SetTryCatchCallbacks( bool bTryCatchCallbacks ); + +#if defined( VERSION_SAFE_STEAM_API_INTERFACES ) +// exists only for backwards compat with code written against older SDKs +S_API bool S_CALLTYPE SteamAPI_InitSafe(); +#endif + +#if defined(USE_BREAKPAD_HANDLER) || defined(STEAM_API_EXPORTS) +// this should be called before the game initialized the steam APIs +// pchDate should be of the format "Mmm dd yyyy" (such as from the __ DATE __ macro ) +// pchTime should be of the format "hh:mm:ss" (such as from the __ TIME __ macro ) +// bFullMemoryDumps (Win32 only) -- writes out a uuid-full.dmp in the client/dumps folder +// pvContext-- can be NULL, will be the void * context passed into m_pfnPreMinidumpCallback +// PFNPreMinidumpCallback m_pfnPreMinidumpCallback -- optional callback which occurs just before a .dmp file is written during a crash. Applications can hook this to allow adding additional information into the .dmp comment stream. +S_API void S_CALLTYPE SteamAPI_UseBreakpadCrashHandler( char const *pchVersion, char const *pchDate, char const *pchTime, bool bFullMemoryDumps, void *pvContext, PFNPreMinidumpCallback m_pfnPreMinidumpCallback ); +S_API void S_CALLTYPE SteamAPI_SetBreakpadAppID( uint32 unAppID ); +#endif + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// +// Manual callback loop +// +// An alternative method for dispatching callbacks. Similar to a windows message loop. +// +// If you use the manual callback dispatch, you must NOT use: +// +// - SteamAPI_RunCallbacks or SteamGameServer_RunCallbacks +// - STEAM_CALLBACK, CCallResult, CCallback, or CCallbackManual +// +// Here is the basic template for replacing SteamAPI_RunCallbacks() with manual dispatch +/* + + HSteamPipe hSteamPipe = SteamAPI_GetHSteamPipe(); // See also SteamGameServer_GetHSteamPipe() + SteamAPI_ManualDispatch_RunFrame( hSteamPipe ) + CallbackMsg_t callback; + while ( SteamAPI_ManualDispatch_GetNextCallback( hSteamPipe, &callback ) ) + { + // Check for dispatching API call results + if ( callback.m_iCallback == SteamAPICallCompleted_t::k_iCallback ) + { + SteamAPICallCompleted_t *pCallCompleted = (SteamAPICallCompleted_t *)callback. + void *pTmpCallResult = malloc( pCallback->m_cubParam ); + bool bFailed; + if ( SteamAPI_ManualDispatch_GetAPICallResult( hSteamPipe, pCallCompleted->m_hAsyncCall, pTmpCallResult, pCallback->m_cubParam, pCallback->m_iCallback, &bFailed ) ) + { + // Dispatch the call result to the registered handler(s) for the + // call identified by pCallCompleted->m_hAsyncCall + } + free( pTmpCallResult ); + } + else + { + // Look at callback.m_iCallback to see what kind of callback it is, + // and dispatch to appropriate handler(s) + } + SteamAPI_ManualDispatch_FreeLastCallback( hSteamPipe ); + } + +*/ +//----------------------------------------------------------------------------------------------------------------------------------------------------------// + +/// Inform the API that you wish to use manual event dispatch. This must be called after SteamAPI_Init, but before +/// you use any of the other manual dispatch functions below. +S_API void S_CALLTYPE SteamAPI_ManualDispatch_Init(); + +/// Perform certain periodic actions that need to be performed. +S_API void S_CALLTYPE SteamAPI_ManualDispatch_RunFrame( HSteamPipe hSteamPipe ); + +/// Fetch the next pending callback on the given pipe, if any. If a callback is available, true is returned +/// and the structure is populated. In this case, you MUST call SteamAPI_ManualDispatch_FreeLastCallback +/// (after dispatching the callback) before calling SteamAPI_ManualDispatch_GetNextCallback again. +S_API bool S_CALLTYPE SteamAPI_ManualDispatch_GetNextCallback( HSteamPipe hSteamPipe, CallbackMsg_t *pCallbackMsg ); + +/// You must call this after dispatching the callback, if SteamAPI_ManualDispatch_GetNextCallback returns true. +S_API void S_CALLTYPE SteamAPI_ManualDispatch_FreeLastCallback( HSteamPipe hSteamPipe ); + +/// Return the call result for the specified call on the specified pipe. You really should +/// only call this in a handler for SteamAPICallCompleted_t callback. +S_API bool S_CALLTYPE SteamAPI_ManualDispatch_GetAPICallResult( HSteamPipe hSteamPipe, SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed ); + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// +// CSteamAPIContext +// +// Deprecated! This is not necessary any more. Please use the global accessors directly +// +//----------------------------------------------------------------------------------------------------------------------------------------------------------// + +#ifndef STEAM_API_EXPORTS + +inline bool CSteamAPIContext::Init() +{ + m_pSteamClient = ::SteamClient(); + if ( !m_pSteamClient ) + return false; + + m_pSteamUser = ::SteamUser(); + if ( !m_pSteamUser ) + return false; + + m_pSteamFriends = ::SteamFriends(); + if ( !m_pSteamFriends ) + return false; + + m_pSteamUtils = ::SteamUtils(); + if ( !m_pSteamUtils ) + return false; + + m_pSteamMatchmaking = ::SteamMatchmaking(); + if ( !m_pSteamMatchmaking ) + return false; + + m_pSteamGameSearch = ::SteamGameSearch(); + if ( !m_pSteamGameSearch ) + return false; + +#if !defined( IOSALL) // Not yet supported on iOS. + m_pSteamMatchmakingServers = ::SteamMatchmakingServers(); + if ( !m_pSteamMatchmakingServers ) + return false; +#endif + + m_pSteamUserStats = ::SteamUserStats(); + if ( !m_pSteamUserStats ) + return false; + + m_pSteamApps = ::SteamApps(); + if ( !m_pSteamApps ) + return false; + + m_pSteamNetworking = ::SteamNetworking(); + if ( !m_pSteamNetworking ) + return false; + + m_pSteamRemoteStorage = ::SteamRemoteStorage(); + if ( !m_pSteamRemoteStorage ) + return false; + + m_pSteamScreenshots = ::SteamScreenshots(); + if ( !m_pSteamScreenshots ) + return false; + + m_pSteamHTTP = ::SteamHTTP(); + if ( !m_pSteamHTTP ) + return false; + + m_pController = ::SteamController(); + if ( !m_pController ) + return false; + + m_pSteamUGC = ::SteamUGC(); + if ( !m_pSteamUGC ) + return false; + + m_pSteamAppList = ::SteamAppList(); + if ( !m_pSteamAppList ) + return false; + + m_pSteamMusic = ::SteamMusic(); + if ( !m_pSteamMusic ) + return false; + + m_pSteamMusicRemote = ::SteamMusicRemote(); + if ( !m_pSteamMusicRemote ) + return false; + +#if !defined( ANDROID ) && !defined( IOSALL) // Not yet supported on Android or ios. + m_pSteamHTMLSurface = ::SteamHTMLSurface(); + if ( !m_pSteamHTMLSurface ) + return false; +#endif + + m_pSteamInventory = ::SteamInventory(); + if ( !m_pSteamInventory ) + return false; + + m_pSteamVideo = ::SteamVideo(); + if ( !m_pSteamVideo ) + return false; + + m_pSteamParentalSettings = ::SteamParentalSettings(); + if ( !m_pSteamParentalSettings ) + return false; + + m_pSteamInput = ::SteamInput(); + if ( !m_pSteamInput ) + return false; + + return true; +} + +#endif + +// Internal implementation of SteamAPI_InitEx. This is done in a way that checks +// all of the versions of interfaces from headers being compiled into this code. +// If you are not using any of the C++ interfaces and do not need this version checking +// (for example if you are only using the "flat" interfaces, which have a different type +// of version checking), you can pass a NULL interface version string. +S_API ESteamAPIInitResult S_CALLTYPE SteamInternal_SteamAPI_Init( const char *pszInternalCheckInterfaceVersions, SteamErrMsg *pOutErrMsg ); +inline ESteamAPIInitResult SteamAPI_InitEx( SteamErrMsg *pOutErrMsg ) +{ + const char *pszInternalCheckInterfaceVersions = + STEAMUTILS_INTERFACE_VERSION "\0" + STEAMNETWORKINGUTILS_INTERFACE_VERSION "\0" + + STEAMAPPLIST_INTERFACE_VERSION "\0" + STEAMAPPS_INTERFACE_VERSION "\0" + STEAMCONTROLLER_INTERFACE_VERSION "\0" + STEAMFRIENDS_INTERFACE_VERSION "\0" + STEAMGAMESEARCH_INTERFACE_VERSION "\0" + STEAMHTMLSURFACE_INTERFACE_VERSION "\0" + STEAMHTTP_INTERFACE_VERSION "\0" + STEAMINPUT_INTERFACE_VERSION "\0" + STEAMINVENTORY_INTERFACE_VERSION "\0" + STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION "\0" + STEAMMATCHMAKING_INTERFACE_VERSION "\0" + STEAMMUSICREMOTE_INTERFACE_VERSION "\0" + STEAMMUSIC_INTERFACE_VERSION "\0" + STEAMNETWORKINGMESSAGES_INTERFACE_VERSION "\0" + STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "\0" + STEAMNETWORKING_INTERFACE_VERSION "\0" + STEAMPARENTALSETTINGS_INTERFACE_VERSION "\0" + STEAMPARTIES_INTERFACE_VERSION "\0" + STEAMREMOTEPLAY_INTERFACE_VERSION "\0" + STEAMREMOTESTORAGE_INTERFACE_VERSION "\0" + STEAMSCREENSHOTS_INTERFACE_VERSION "\0" + STEAMUGC_INTERFACE_VERSION "\0" + STEAMUSERSTATS_INTERFACE_VERSION "\0" + STEAMUSER_INTERFACE_VERSION "\0" + STEAMVIDEO_INTERFACE_VERSION "\0" + + "\0"; + + return SteamInternal_SteamAPI_Init( pszInternalCheckInterfaceVersions, pOutErrMsg ); +} + +#endif // STEAM_API_H diff --git a/lsteamclient/steamworks_sdk_158/steam_api_common.h b/lsteamclient/steamworks_sdk_158/steam_api_common.h new file mode 100644 index 000000000..7e81c8b2b --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steam_api_common.h @@ -0,0 +1,243 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Steamworks SDK minimal include +// +// Defines the minimal set of things we need to use any single interface +// or register for any callback. +// +//============================================================================= + +#ifndef STEAM_API_COMMON_H +#define STEAM_API_COMMON_H + +#include "steamtypes.h" +#include "steamclientpublic.h" + +// S_API defines the linkage and calling conventions for steam_api.dll exports +#if defined( _WIN32 ) && !defined( _X360 ) + #if defined( STEAM_API_EXPORTS ) + #define S_API extern "C" __declspec( dllexport ) + #elif defined( STEAM_API_NODLL ) + #define S_API extern "C" + #else + #define S_API extern "C" __declspec( dllimport ) + #endif // STEAM_API_EXPORTS +#elif defined( __GNUC__ ) + #if defined( STEAM_API_EXPORTS ) + #define S_API extern "C" __attribute__ ((visibility("default"))) + #else + #define S_API extern "C" + #endif // STEAM_API_EXPORTS +#else // !WIN32 + #if defined( STEAM_API_EXPORTS ) + #define S_API extern "C" + #else + #define S_API extern "C" + #endif // STEAM_API_EXPORTS +#endif + +#if ( defined(STEAM_API_EXPORTS) || defined(STEAM_API_NODLL) ) && !defined(API_GEN) +#define STEAM_PRIVATE_API( ... ) __VA_ARGS__ +#elif defined(STEAM_API_EXPORTS) && defined(API_GEN) +#define STEAM_PRIVATE_API( ... ) +#else +#define STEAM_PRIVATE_API( ... ) protected: __VA_ARGS__ public: +#endif + +// handle to a communication pipe to the Steam client +typedef int32 HSteamPipe; +// handle to single instance of a steam user +typedef int32 HSteamUser; + +// A fixed size buffer to receive an error message that is returned by some API +// calls. +const int k_cchMaxSteamErrMsg = 1024; +typedef char SteamErrMsg[ k_cchMaxSteamErrMsg ]; + +// #define away __cdecl on posix. +// This is really, really bad. We're sorry. But it's been this way for +// a long time now and it's scary to change it, as there may be others that +// depend on it. +#ifndef _WIN32 + #define __cdecl +#endif + +// function prototype +extern "C" typedef void ( S_CALLTYPE *SteamAPIWarningMessageHook_t )( int, const char * ); +extern "C" typedef uint32 ( S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t )( int iCallbackNum ); +#if defined( __SNC__ ) + #pragma diag_suppress=1700 // warning 1700: class "%s" has virtual functions but non-virtual destructor +#endif + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// steam callback and call-result helpers +// +// The following macros and classes are used to register your application for +// callbacks and call-results, which are delivered in a predictable manner. +// +// STEAM_CALLBACK macros are meant for use inside of a C++ class definition. +// They map a Steam notification callback directly to a class member function +// which is automatically prototyped as "void func( callback_type *pParam )". +// +// CCallResult is used with specific Steam APIs that return "result handles". +// The handle can be passed to a CCallResult object's Set function, along with +// an object pointer and member-function pointer. The member function will +// be executed once the results of the Steam API call are available. +// +// CCallback and CCallbackManual classes can be used instead of STEAM_CALLBACK +// macros if you require finer control over registration and unregistration. +// +// Callbacks and call-results are queued automatically and are only +// delivered/executed when your application calls SteamAPI_RunCallbacks(). +// +// Note that there is an alternative, lower level callback dispatch mechanism. +// See SteamAPI_ManualDispatch_Init +//----------------------------------------------------------------------------------------------------------------------------------------------------------// + +// Dispatch all queued Steamworks callbacks. +// +// This is safe to call from multiple threads simultaneously, +// but if you choose to do this, callback code could be executed on any thread. +// One alternative is to call SteamAPI_RunCallbacks from the main thread only, +// and call SteamAPI_ReleaseCurrentThreadMemory regularly on other threads. +S_API void S_CALLTYPE SteamAPI_RunCallbacks(); + +// Declares a callback member function plus a helper member variable which +// registers the callback on object creation and unregisters on destruction. +// The optional fourth 'var' param exists only for backwards-compatibility +// and can be ignored. +#define STEAM_CALLBACK( thisclass, func, .../*callback_type, [deprecated] var*/ ) \ + _STEAM_CALLBACK_SELECT( ( __VA_ARGS__, 4, 3 ), ( /**/, thisclass, func, __VA_ARGS__ ) ) + +// Declares a callback function and a named CCallbackManual variable which +// has Register and Unregister functions instead of automatic registration. +#define STEAM_CALLBACK_MANUAL( thisclass, func, callback_type, var ) \ + CCallbackManual< thisclass, callback_type > var; void func( callback_type *pParam ) + +// Dispatch callbacks relevant to the gameserver client and interfaces. +// To register for these, you need to use STEAM_GAMESERVER_CALLBACK. +// (Or call SetGameserverFlag on your CCallbackBase object.) +S_API void S_CALLTYPE SteamGameServer_RunCallbacks(); + +// Same as STEAM_CALLBACK, but for callbacks on the gameserver interface. +// These will be dispatched during SteamGameServer_RunCallbacks +#define STEAM_GAMESERVER_CALLBACK( thisclass, func, /*callback_type, [deprecated] var*/... ) \ + _STEAM_CALLBACK_SELECT( ( __VA_ARGS__, GS, 3 ), ( this->SetGameserverFlag();, thisclass, func, __VA_ARGS__ ) ) +#define STEAM_GAMESERVER_CALLBACK_MANUAL( thisclass, func, callback_type, var ) \ + CCallbackManual< thisclass, callback_type, true > var; void func( callback_type *pParam ) + +//----------------------------------------------------------------------------- +// Purpose: base for callbacks and call results - internal implementation detail +//----------------------------------------------------------------------------- +class CCallbackBase +{ +public: + CCallbackBase() { m_nCallbackFlags = 0; m_iCallback = 0; } + // don't add a virtual destructor because we export this binary interface across dll's + virtual void Run( void *pvParam ) = 0; + virtual void Run( void *pvParam, bool bIOFailure, SteamAPICall_t hSteamAPICall ) = 0; + int GetICallback() { return m_iCallback; } + virtual int GetCallbackSizeBytes() = 0; + +protected: + enum { k_ECallbackFlagsRegistered = 0x01, k_ECallbackFlagsGameServer = 0x02 }; + uint8 m_nCallbackFlags; + int m_iCallback; + friend class CCallbackMgr; + +private: + CCallbackBase( const CCallbackBase& ); + CCallbackBase& operator=( const CCallbackBase& ); +}; + +//----------------------------------------------------------------------------- +// Purpose: templated base for callbacks - internal implementation detail +//----------------------------------------------------------------------------- +template< int sizeof_P > +class CCallbackImpl : protected CCallbackBase +{ +public: + virtual ~CCallbackImpl() { if ( m_nCallbackFlags & k_ECallbackFlagsRegistered ) SteamAPI_UnregisterCallback( this ); } + void SetGameserverFlag() { m_nCallbackFlags |= k_ECallbackFlagsGameServer; } + +protected: + friend class CCallbackMgr; + virtual void Run( void *pvParam ) = 0; + virtual void Run( void *pvParam, bool /*bIOFailure*/, SteamAPICall_t /*hSteamAPICall*/ ) { Run( pvParam ); } + virtual int GetCallbackSizeBytes() { return sizeof_P; } +}; + + +//----------------------------------------------------------------------------- +// Purpose: maps a steam async call result to a class member function +// template params: T = local class, P = parameter struct +//----------------------------------------------------------------------------- +template< class T, class P > +class CCallResult : private CCallbackBase +{ +public: + typedef void (T::*func_t)( P*, bool ); + + CCallResult(); + ~CCallResult(); + + void Set( SteamAPICall_t hAPICall, T *p, func_t func ); + bool IsActive() const; + void Cancel(); + + void SetGameserverFlag() { m_nCallbackFlags |= k_ECallbackFlagsGameServer; } +private: + virtual void Run( void *pvParam ); + virtual void Run( void *pvParam, bool bIOFailure, SteamAPICall_t hSteamAPICall ); + virtual int GetCallbackSizeBytes() { return sizeof( P ); } + + SteamAPICall_t m_hAPICall; + T *m_pObj; + func_t m_Func; +}; + + + +//----------------------------------------------------------------------------- +// Purpose: maps a steam callback to a class member function +// template params: T = local class, P = parameter struct, +// bGameserver = listen for gameserver callbacks instead of client callbacks +//----------------------------------------------------------------------------- +template< class T, class P, bool bGameserver = false > +class CCallback : public CCallbackImpl< sizeof( P ) > +{ +public: + typedef void (T::*func_t)(P*); + + // NOTE: If you can't provide the correct parameters at construction time, you should + // use the CCallbackManual callback object (STEAM_CALLBACK_MANUAL macro) instead. + CCallback( T *pObj, func_t func ); + + void Register( T *pObj, func_t func ); + void Unregister(); + +protected: + virtual void Run( void *pvParam ); + + T *m_pObj; + func_t m_Func; +}; + + +//----------------------------------------------------------------------------- +// Purpose: subclass of CCallback which allows default-construction in +// an unregistered state; you must call Register manually +//----------------------------------------------------------------------------- +template< class T, class P, bool bGameServer = false > +class CCallbackManual : public CCallback< T, P, bGameServer > +{ +public: + CCallbackManual() : CCallback< T, P, bGameServer >( nullptr, nullptr ) {} + + // Inherits public Register and Unregister functions from base class +}; + +// Internal implementation details for all of the above +#include "steam_api_internal.h" + +#endif // STEAM_API_COMMON_H diff --git a/lsteamclient/steamworks_sdk_158/steam_api_flat.h b/lsteamclient/steamworks_sdk_158/steam_api_flat.h new file mode 100644 index 000000000..15537f48c --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steam_api_flat.h @@ -0,0 +1,1285 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Purpose: Header for "flat" SteamAPI. Use this for binding to other languages. +// This file is auto-generated, do not edit it. +// +//============================================================================= + +#ifndef STEAMAPIFLAT_H +#define STEAMAPIFLAT_H + +#include "steam/steam_api.h" +#include "steam/isteamgameserver.h" +#include "steam/isteamgameserverstats.h" + +typedef uint64 uint64_steamid; // Used when passing or returning CSteamID +typedef uint64 uint64_gameid; // Used when passing or return CGameID + + + +// ISteamClient +S_API HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe( ISteamClient* self ); +S_API bool SteamAPI_ISteamClient_BReleaseSteamPipe( ISteamClient* self, HSteamPipe hSteamPipe ); +S_API HSteamUser SteamAPI_ISteamClient_ConnectToGlobalUser( ISteamClient* self, HSteamPipe hSteamPipe ); +S_API HSteamUser SteamAPI_ISteamClient_CreateLocalUser( ISteamClient* self, HSteamPipe * phSteamPipe, EAccountType eAccountType ); +S_API void SteamAPI_ISteamClient_ReleaseUser( ISteamClient* self, HSteamPipe hSteamPipe, HSteamUser hUser ); +S_API ISteamUser * SteamAPI_ISteamClient_GetISteamUser( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamGameServer * SteamAPI_ISteamClient_GetISteamGameServer( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API void SteamAPI_ISteamClient_SetLocalIPBinding( ISteamClient* self, const SteamIPAddress_t & unIP, uint16 usPort ); +S_API ISteamFriends * SteamAPI_ISteamClient_GetISteamFriends( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamUtils * SteamAPI_ISteamClient_GetISteamUtils( ISteamClient* self, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamMatchmaking * SteamAPI_ISteamClient_GetISteamMatchmaking( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamMatchmakingServers * SteamAPI_ISteamClient_GetISteamMatchmakingServers( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API void * SteamAPI_ISteamClient_GetISteamGenericInterface( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamUserStats * SteamAPI_ISteamClient_GetISteamUserStats( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamGameServerStats * SteamAPI_ISteamClient_GetISteamGameServerStats( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamApps * SteamAPI_ISteamClient_GetISteamApps( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamNetworking * SteamAPI_ISteamClient_GetISteamNetworking( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamRemoteStorage * SteamAPI_ISteamClient_GetISteamRemoteStorage( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamScreenshots * SteamAPI_ISteamClient_GetISteamScreenshots( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamGameSearch * SteamAPI_ISteamClient_GetISteamGameSearch( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API uint32 SteamAPI_ISteamClient_GetIPCCallCount( ISteamClient* self ); +S_API void SteamAPI_ISteamClient_SetWarningMessageHook( ISteamClient* self, SteamAPIWarningMessageHook_t pFunction ); +S_API bool SteamAPI_ISteamClient_BShutdownIfAllPipesClosed( ISteamClient* self ); +S_API ISteamHTTP * SteamAPI_ISteamClient_GetISteamHTTP( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamController * SteamAPI_ISteamClient_GetISteamController( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamUGC * SteamAPI_ISteamClient_GetISteamUGC( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamAppList * SteamAPI_ISteamClient_GetISteamAppList( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamMusic * SteamAPI_ISteamClient_GetISteamMusic( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamMusicRemote * SteamAPI_ISteamClient_GetISteamMusicRemote( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamHTMLSurface * SteamAPI_ISteamClient_GetISteamHTMLSurface( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamInventory * SteamAPI_ISteamClient_GetISteamInventory( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamVideo * SteamAPI_ISteamClient_GetISteamVideo( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamParentalSettings * SteamAPI_ISteamClient_GetISteamParentalSettings( ISteamClient* self, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamInput * SteamAPI_ISteamClient_GetISteamInput( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamParties * SteamAPI_ISteamClient_GetISteamParties( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); +S_API ISteamRemotePlay * SteamAPI_ISteamClient_GetISteamRemotePlay( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion ); + +// ISteamUser + +// A versioned accessor is exported by the library +S_API ISteamUser *SteamAPI_SteamUser_v023(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamUser(), but using this ensures that you are using a matching library. +inline ISteamUser *SteamAPI_SteamUser() { return SteamAPI_SteamUser_v023(); } +S_API HSteamUser SteamAPI_ISteamUser_GetHSteamUser( ISteamUser* self ); +S_API bool SteamAPI_ISteamUser_BLoggedOn( ISteamUser* self ); +S_API uint64_steamid SteamAPI_ISteamUser_GetSteamID( ISteamUser* self ); +S_API int SteamAPI_ISteamUser_InitiateGameConnection_DEPRECATED( ISteamUser* self, void * pAuthBlob, int cbMaxAuthBlob, uint64_steamid steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure ); +S_API void SteamAPI_ISteamUser_TerminateGameConnection_DEPRECATED( ISteamUser* self, uint32 unIPServer, uint16 usPortServer ); +S_API void SteamAPI_ISteamUser_TrackAppUsageEvent( ISteamUser* self, uint64_gameid gameID, int eAppUsageEvent, const char * pchExtraInfo ); +S_API bool SteamAPI_ISteamUser_GetUserDataFolder( ISteamUser* self, char * pchBuffer, int cubBuffer ); +S_API void SteamAPI_ISteamUser_StartVoiceRecording( ISteamUser* self ); +S_API void SteamAPI_ISteamUser_StopVoiceRecording( ISteamUser* self ); +S_API EVoiceResult SteamAPI_ISteamUser_GetAvailableVoice( ISteamUser* self, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated ); +S_API EVoiceResult SteamAPI_ISteamUser_GetVoice( ISteamUser* self, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated ); +S_API EVoiceResult SteamAPI_ISteamUser_DecompressVoice( ISteamUser* self, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate ); +S_API uint32 SteamAPI_ISteamUser_GetVoiceOptimalSampleRate( ISteamUser* self ); +S_API HAuthTicket SteamAPI_ISteamUser_GetAuthSessionTicket( ISteamUser* self, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity ); +S_API HAuthTicket SteamAPI_ISteamUser_GetAuthTicketForWebApi( ISteamUser* self, const char * pchIdentity ); +S_API EBeginAuthSessionResult SteamAPI_ISteamUser_BeginAuthSession( ISteamUser* self, const void * pAuthTicket, int cbAuthTicket, uint64_steamid steamID ); +S_API void SteamAPI_ISteamUser_EndAuthSession( ISteamUser* self, uint64_steamid steamID ); +S_API void SteamAPI_ISteamUser_CancelAuthTicket( ISteamUser* self, HAuthTicket hAuthTicket ); +S_API EUserHasLicenseForAppResult SteamAPI_ISteamUser_UserHasLicenseForApp( ISteamUser* self, uint64_steamid steamID, AppId_t appID ); +S_API bool SteamAPI_ISteamUser_BIsBehindNAT( ISteamUser* self ); +S_API void SteamAPI_ISteamUser_AdvertiseGame( ISteamUser* self, uint64_steamid steamIDGameServer, uint32 unIPServer, uint16 usPortServer ); +S_API SteamAPICall_t SteamAPI_ISteamUser_RequestEncryptedAppTicket( ISteamUser* self, void * pDataToInclude, int cbDataToInclude ); +S_API bool SteamAPI_ISteamUser_GetEncryptedAppTicket( ISteamUser* self, void * pTicket, int cbMaxTicket, uint32 * pcbTicket ); +S_API int SteamAPI_ISteamUser_GetGameBadgeLevel( ISteamUser* self, int nSeries, bool bFoil ); +S_API int SteamAPI_ISteamUser_GetPlayerSteamLevel( ISteamUser* self ); +S_API SteamAPICall_t SteamAPI_ISteamUser_RequestStoreAuthURL( ISteamUser* self, const char * pchRedirectURL ); +S_API bool SteamAPI_ISteamUser_BIsPhoneVerified( ISteamUser* self ); +S_API bool SteamAPI_ISteamUser_BIsTwoFactorEnabled( ISteamUser* self ); +S_API bool SteamAPI_ISteamUser_BIsPhoneIdentifying( ISteamUser* self ); +S_API bool SteamAPI_ISteamUser_BIsPhoneRequiringVerification( ISteamUser* self ); +S_API SteamAPICall_t SteamAPI_ISteamUser_GetMarketEligibility( ISteamUser* self ); +S_API SteamAPICall_t SteamAPI_ISteamUser_GetDurationControl( ISteamUser* self ); +S_API bool SteamAPI_ISteamUser_BSetDurationControlOnlineState( ISteamUser* self, EDurationControlOnlineState eNewState ); + +// ISteamFriends + +// A versioned accessor is exported by the library +S_API ISteamFriends *SteamAPI_SteamFriends_v017(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamFriends(), but using this ensures that you are using a matching library. +inline ISteamFriends *SteamAPI_SteamFriends() { return SteamAPI_SteamFriends_v017(); } +S_API const char * SteamAPI_ISteamFriends_GetPersonaName( ISteamFriends* self ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_SetPersonaName( ISteamFriends* self, const char * pchPersonaName ); +S_API EPersonaState SteamAPI_ISteamFriends_GetPersonaState( ISteamFriends* self ); +S_API int SteamAPI_ISteamFriends_GetFriendCount( ISteamFriends* self, int iFriendFlags ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetFriendByIndex( ISteamFriends* self, int iFriend, int iFriendFlags ); +S_API EFriendRelationship SteamAPI_ISteamFriends_GetFriendRelationship( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API EPersonaState SteamAPI_ISteamFriends_GetFriendPersonaState( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API const char * SteamAPI_ISteamFriends_GetFriendPersonaName( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API bool SteamAPI_ISteamFriends_GetFriendGamePlayed( ISteamFriends* self, uint64_steamid steamIDFriend, FriendGameInfo_t * pFriendGameInfo ); +S_API const char * SteamAPI_ISteamFriends_GetFriendPersonaNameHistory( ISteamFriends* self, uint64_steamid steamIDFriend, int iPersonaName ); +S_API int SteamAPI_ISteamFriends_GetFriendSteamLevel( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API const char * SteamAPI_ISteamFriends_GetPlayerNickname( ISteamFriends* self, uint64_steamid steamIDPlayer ); +S_API int SteamAPI_ISteamFriends_GetFriendsGroupCount( ISteamFriends* self ); +S_API FriendsGroupID_t SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex( ISteamFriends* self, int iFG ); +S_API const char * SteamAPI_ISteamFriends_GetFriendsGroupName( ISteamFriends* self, FriendsGroupID_t friendsGroupID ); +S_API int SteamAPI_ISteamFriends_GetFriendsGroupMembersCount( ISteamFriends* self, FriendsGroupID_t friendsGroupID ); +S_API void SteamAPI_ISteamFriends_GetFriendsGroupMembersList( ISteamFriends* self, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount ); +S_API bool SteamAPI_ISteamFriends_HasFriend( ISteamFriends* self, uint64_steamid steamIDFriend, int iFriendFlags ); +S_API int SteamAPI_ISteamFriends_GetClanCount( ISteamFriends* self ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetClanByIndex( ISteamFriends* self, int iClan ); +S_API const char * SteamAPI_ISteamFriends_GetClanName( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API const char * SteamAPI_ISteamFriends_GetClanTag( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API bool SteamAPI_ISteamFriends_GetClanActivityCounts( ISteamFriends* self, uint64_steamid steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_DownloadClanActivityCounts( ISteamFriends* self, CSteamID * psteamIDClans, int cClansToRequest ); +S_API int SteamAPI_ISteamFriends_GetFriendCountFromSource( ISteamFriends* self, uint64_steamid steamIDSource ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetFriendFromSourceByIndex( ISteamFriends* self, uint64_steamid steamIDSource, int iFriend ); +S_API bool SteamAPI_ISteamFriends_IsUserInSource( ISteamFriends* self, uint64_steamid steamIDUser, uint64_steamid steamIDSource ); +S_API void SteamAPI_ISteamFriends_SetInGameVoiceSpeaking( ISteamFriends* self, uint64_steamid steamIDUser, bool bSpeaking ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlay( ISteamFriends* self, const char * pchDialog ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayToUser( ISteamFriends* self, const char * pchDialog, uint64_steamid steamID ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage( ISteamFriends* self, const char * pchURL, EActivateGameOverlayToWebPageMode eMode ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayToStore( ISteamFriends* self, AppId_t nAppID, EOverlayToStoreFlag eFlag ); +S_API void SteamAPI_ISteamFriends_SetPlayedWith( ISteamFriends* self, uint64_steamid steamIDUserPlayedWith ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( ISteamFriends* self, uint64_steamid steamIDLobby ); +S_API int SteamAPI_ISteamFriends_GetSmallFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API int SteamAPI_ISteamFriends_GetMediumFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API int SteamAPI_ISteamFriends_GetLargeFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API bool SteamAPI_ISteamFriends_RequestUserInformation( ISteamFriends* self, uint64_steamid steamIDUser, bool bRequireNameOnly ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_RequestClanOfficerList( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetClanOwner( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API int SteamAPI_ISteamFriends_GetClanOfficerCount( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetClanOfficerByIndex( ISteamFriends* self, uint64_steamid steamIDClan, int iOfficer ); +S_API uint32 SteamAPI_ISteamFriends_GetUserRestrictions( ISteamFriends* self ); +S_API bool SteamAPI_ISteamFriends_SetRichPresence( ISteamFriends* self, const char * pchKey, const char * pchValue ); +S_API void SteamAPI_ISteamFriends_ClearRichPresence( ISteamFriends* self ); +S_API const char * SteamAPI_ISteamFriends_GetFriendRichPresence( ISteamFriends* self, uint64_steamid steamIDFriend, const char * pchKey ); +S_API int SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API const char * SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex( ISteamFriends* self, uint64_steamid steamIDFriend, int iKey ); +S_API void SteamAPI_ISteamFriends_RequestFriendRichPresence( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API bool SteamAPI_ISteamFriends_InviteUserToGame( ISteamFriends* self, uint64_steamid steamIDFriend, const char * pchConnectString ); +S_API int SteamAPI_ISteamFriends_GetCoplayFriendCount( ISteamFriends* self ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetCoplayFriend( ISteamFriends* self, int iCoplayFriend ); +S_API int SteamAPI_ISteamFriends_GetFriendCoplayTime( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API AppId_t SteamAPI_ISteamFriends_GetFriendCoplayGame( ISteamFriends* self, uint64_steamid steamIDFriend ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_JoinClanChatRoom( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API bool SteamAPI_ISteamFriends_LeaveClanChatRoom( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API int SteamAPI_ISteamFriends_GetClanChatMemberCount( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API uint64_steamid SteamAPI_ISteamFriends_GetChatMemberByIndex( ISteamFriends* self, uint64_steamid steamIDClan, int iUser ); +S_API bool SteamAPI_ISteamFriends_SendClanChatMessage( ISteamFriends* self, uint64_steamid steamIDClanChat, const char * pchText ); +S_API int SteamAPI_ISteamFriends_GetClanChatMessage( ISteamFriends* self, uint64_steamid steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter ); +S_API bool SteamAPI_ISteamFriends_IsClanChatAdmin( ISteamFriends* self, uint64_steamid steamIDClanChat, uint64_steamid steamIDUser ); +S_API bool SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam( ISteamFriends* self, uint64_steamid steamIDClanChat ); +S_API bool SteamAPI_ISteamFriends_OpenClanChatWindowInSteam( ISteamFriends* self, uint64_steamid steamIDClanChat ); +S_API bool SteamAPI_ISteamFriends_CloseClanChatWindowInSteam( ISteamFriends* self, uint64_steamid steamIDClanChat ); +S_API bool SteamAPI_ISteamFriends_SetListenForFriendsMessages( ISteamFriends* self, bool bInterceptEnabled ); +S_API bool SteamAPI_ISteamFriends_ReplyToFriendMessage( ISteamFriends* self, uint64_steamid steamIDFriend, const char * pchMsgToSend ); +S_API int SteamAPI_ISteamFriends_GetFriendMessage( ISteamFriends* self, uint64_steamid steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_GetFollowerCount( ISteamFriends* self, uint64_steamid steamID ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_IsFollowing( ISteamFriends* self, uint64_steamid steamID ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_EnumerateFollowingList( ISteamFriends* self, uint32 unStartIndex ); +S_API bool SteamAPI_ISteamFriends_IsClanPublic( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API bool SteamAPI_ISteamFriends_IsClanOfficialGameGroup( ISteamFriends* self, uint64_steamid steamIDClan ); +S_API int SteamAPI_ISteamFriends_GetNumChatsWithUnreadPriorityMessages( ISteamFriends* self ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayRemotePlayTogetherInviteDialog( ISteamFriends* self, uint64_steamid steamIDLobby ); +S_API bool SteamAPI_ISteamFriends_RegisterProtocolInOverlayBrowser( ISteamFriends* self, const char * pchProtocol ); +S_API void SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialogConnectString( ISteamFriends* self, const char * pchConnectString ); +S_API SteamAPICall_t SteamAPI_ISteamFriends_RequestEquippedProfileItems( ISteamFriends* self, uint64_steamid steamID ); +S_API bool SteamAPI_ISteamFriends_BHasEquippedProfileItem( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType ); +S_API const char * SteamAPI_ISteamFriends_GetProfileItemPropertyString( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop ); +S_API uint32 SteamAPI_ISteamFriends_GetProfileItemPropertyUint( ISteamFriends* self, uint64_steamid steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop ); + +// ISteamUtils + +// A versioned accessor is exported by the library +S_API ISteamUtils *SteamAPI_SteamUtils_v010(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamUtils(), but using this ensures that you are using a matching library. +inline ISteamUtils *SteamAPI_SteamUtils() { return SteamAPI_SteamUtils_v010(); } + +// A versioned accessor is exported by the library +S_API ISteamUtils *SteamAPI_SteamGameServerUtils_v010(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerUtils(), but using this ensures that you are using a matching library. +inline ISteamUtils *SteamAPI_SteamGameServerUtils() { return SteamAPI_SteamGameServerUtils_v010(); } +S_API uint32 SteamAPI_ISteamUtils_GetSecondsSinceAppActive( ISteamUtils* self ); +S_API uint32 SteamAPI_ISteamUtils_GetSecondsSinceComputerActive( ISteamUtils* self ); +S_API EUniverse SteamAPI_ISteamUtils_GetConnectedUniverse( ISteamUtils* self ); +S_API uint32 SteamAPI_ISteamUtils_GetServerRealTime( ISteamUtils* self ); +S_API const char * SteamAPI_ISteamUtils_GetIPCountry( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_GetImageSize( ISteamUtils* self, int iImage, uint32 * pnWidth, uint32 * pnHeight ); +S_API bool SteamAPI_ISteamUtils_GetImageRGBA( ISteamUtils* self, int iImage, uint8 * pubDest, int nDestBufferSize ); +S_API uint8 SteamAPI_ISteamUtils_GetCurrentBatteryPower( ISteamUtils* self ); +S_API uint32 SteamAPI_ISteamUtils_GetAppID( ISteamUtils* self ); +S_API void SteamAPI_ISteamUtils_SetOverlayNotificationPosition( ISteamUtils* self, ENotificationPosition eNotificationPosition ); +S_API bool SteamAPI_ISteamUtils_IsAPICallCompleted( ISteamUtils* self, SteamAPICall_t hSteamAPICall, bool * pbFailed ); +S_API ESteamAPICallFailure SteamAPI_ISteamUtils_GetAPICallFailureReason( ISteamUtils* self, SteamAPICall_t hSteamAPICall ); +S_API bool SteamAPI_ISteamUtils_GetAPICallResult( ISteamUtils* self, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed ); +S_API uint32 SteamAPI_ISteamUtils_GetIPCCallCount( ISteamUtils* self ); +S_API void SteamAPI_ISteamUtils_SetWarningMessageHook( ISteamUtils* self, SteamAPIWarningMessageHook_t pFunction ); +S_API bool SteamAPI_ISteamUtils_IsOverlayEnabled( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_BOverlayNeedsPresent( ISteamUtils* self ); +S_API SteamAPICall_t SteamAPI_ISteamUtils_CheckFileSignature( ISteamUtils* self, const char * szFileName ); +S_API bool SteamAPI_ISteamUtils_ShowGamepadTextInput( ISteamUtils* self, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText ); +S_API uint32 SteamAPI_ISteamUtils_GetEnteredGamepadTextLength( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_GetEnteredGamepadTextInput( ISteamUtils* self, char * pchText, uint32 cchText ); +S_API const char * SteamAPI_ISteamUtils_GetSteamUILanguage( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_IsSteamRunningInVR( ISteamUtils* self ); +S_API void SteamAPI_ISteamUtils_SetOverlayNotificationInset( ISteamUtils* self, int nHorizontalInset, int nVerticalInset ); +S_API bool SteamAPI_ISteamUtils_IsSteamInBigPictureMode( ISteamUtils* self ); +S_API void SteamAPI_ISteamUtils_StartVRDashboard( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled( ISteamUtils* self ); +S_API void SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled( ISteamUtils* self, bool bEnabled ); +S_API bool SteamAPI_ISteamUtils_IsSteamChinaLauncher( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_InitFilterText( ISteamUtils* self, uint32 unFilterOptions ); +S_API int SteamAPI_ISteamUtils_FilterText( ISteamUtils* self, ETextFilteringContext eContext, uint64_steamid sourceSteamID, const char * pchInputMessage, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText ); +S_API ESteamIPv6ConnectivityState SteamAPI_ISteamUtils_GetIPv6ConnectivityState( ISteamUtils* self, ESteamIPv6ConnectivityProtocol eProtocol ); +S_API bool SteamAPI_ISteamUtils_IsSteamRunningOnSteamDeck( ISteamUtils* self ); +S_API bool SteamAPI_ISteamUtils_ShowFloatingGamepadTextInput( ISteamUtils* self, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight ); +S_API void SteamAPI_ISteamUtils_SetGameLauncherMode( ISteamUtils* self, bool bLauncherMode ); +S_API bool SteamAPI_ISteamUtils_DismissFloatingGamepadTextInput( ISteamUtils* self ); + +// ISteamMatchmaking + +// A versioned accessor is exported by the library +S_API ISteamMatchmaking *SteamAPI_SteamMatchmaking_v009(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmaking(), but using this ensures that you are using a matching library. +inline ISteamMatchmaking *SteamAPI_SteamMatchmaking() { return SteamAPI_SteamMatchmaking_v009(); } +S_API int SteamAPI_ISteamMatchmaking_GetFavoriteGameCount( ISteamMatchmaking* self ); +S_API bool SteamAPI_ISteamMatchmaking_GetFavoriteGame( ISteamMatchmaking* self, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer ); +S_API int SteamAPI_ISteamMatchmaking_AddFavoriteGame( ISteamMatchmaking* self, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer ); +S_API bool SteamAPI_ISteamMatchmaking_RemoveFavoriteGame( ISteamMatchmaking* self, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags ); +S_API SteamAPICall_t SteamAPI_ISteamMatchmaking_RequestLobbyList( ISteamMatchmaking* self ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter( ISteamMatchmaking* self, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter( ISteamMatchmaking* self, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter( ISteamMatchmaking* self, const char * pchKeyToMatch, int nValueToBeCloseTo ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable( ISteamMatchmaking* self, int nSlotsAvailable ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter( ISteamMatchmaking* self, ELobbyDistanceFilter eLobbyDistanceFilter ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter( ISteamMatchmaking* self, int cMaxResults ); +S_API void SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API uint64_steamid SteamAPI_ISteamMatchmaking_GetLobbyByIndex( ISteamMatchmaking* self, int iLobby ); +S_API SteamAPICall_t SteamAPI_ISteamMatchmaking_CreateLobby( ISteamMatchmaking* self, ELobbyType eLobbyType, int cMaxMembers ); +S_API SteamAPICall_t SteamAPI_ISteamMatchmaking_JoinLobby( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API void SteamAPI_ISteamMatchmaking_LeaveLobby( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API bool SteamAPI_ISteamMatchmaking_InviteUserToLobby( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint64_steamid steamIDInvitee ); +S_API int SteamAPI_ISteamMatchmaking_GetNumLobbyMembers( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API uint64_steamid SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex( ISteamMatchmaking* self, uint64_steamid steamIDLobby, int iMember ); +S_API const char * SteamAPI_ISteamMatchmaking_GetLobbyData( ISteamMatchmaking* self, uint64_steamid steamIDLobby, const char * pchKey ); +S_API bool SteamAPI_ISteamMatchmaking_SetLobbyData( ISteamMatchmaking* self, uint64_steamid steamIDLobby, const char * pchKey, const char * pchValue ); +S_API int SteamAPI_ISteamMatchmaking_GetLobbyDataCount( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API bool SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex( ISteamMatchmaking* self, uint64_steamid steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize ); +S_API bool SteamAPI_ISteamMatchmaking_DeleteLobbyData( ISteamMatchmaking* self, uint64_steamid steamIDLobby, const char * pchKey ); +S_API const char * SteamAPI_ISteamMatchmaking_GetLobbyMemberData( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint64_steamid steamIDUser, const char * pchKey ); +S_API void SteamAPI_ISteamMatchmaking_SetLobbyMemberData( ISteamMatchmaking* self, uint64_steamid steamIDLobby, const char * pchKey, const char * pchValue ); +S_API bool SteamAPI_ISteamMatchmaking_SendLobbyChatMsg( ISteamMatchmaking* self, uint64_steamid steamIDLobby, const void * pvMsgBody, int cubMsgBody ); +S_API int SteamAPI_ISteamMatchmaking_GetLobbyChatEntry( ISteamMatchmaking* self, uint64_steamid steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType ); +S_API bool SteamAPI_ISteamMatchmaking_RequestLobbyData( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API void SteamAPI_ISteamMatchmaking_SetLobbyGameServer( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, uint64_steamid steamIDGameServer ); +S_API bool SteamAPI_ISteamMatchmaking_GetLobbyGameServer( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer ); +S_API bool SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit( ISteamMatchmaking* self, uint64_steamid steamIDLobby, int cMaxMembers ); +S_API int SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API bool SteamAPI_ISteamMatchmaking_SetLobbyType( ISteamMatchmaking* self, uint64_steamid steamIDLobby, ELobbyType eLobbyType ); +S_API bool SteamAPI_ISteamMatchmaking_SetLobbyJoinable( ISteamMatchmaking* self, uint64_steamid steamIDLobby, bool bLobbyJoinable ); +S_API uint64_steamid SteamAPI_ISteamMatchmaking_GetLobbyOwner( ISteamMatchmaking* self, uint64_steamid steamIDLobby ); +S_API bool SteamAPI_ISteamMatchmaking_SetLobbyOwner( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint64_steamid steamIDNewOwner ); +S_API bool SteamAPI_ISteamMatchmaking_SetLinkedLobby( ISteamMatchmaking* self, uint64_steamid steamIDLobby, uint64_steamid steamIDLobbyDependent ); + +// ISteamMatchmakingServerListResponse +S_API void SteamAPI_ISteamMatchmakingServerListResponse_ServerResponded( ISteamMatchmakingServerListResponse* self, HServerListRequest hRequest, int iServer ); +S_API void SteamAPI_ISteamMatchmakingServerListResponse_ServerFailedToRespond( ISteamMatchmakingServerListResponse* self, HServerListRequest hRequest, int iServer ); +S_API void SteamAPI_ISteamMatchmakingServerListResponse_RefreshComplete( ISteamMatchmakingServerListResponse* self, HServerListRequest hRequest, EMatchMakingServerResponse response ); + +// ISteamMatchmakingPingResponse +S_API void SteamAPI_ISteamMatchmakingPingResponse_ServerResponded( ISteamMatchmakingPingResponse* self, gameserveritem_t & server ); +S_API void SteamAPI_ISteamMatchmakingPingResponse_ServerFailedToRespond( ISteamMatchmakingPingResponse* self ); + +// ISteamMatchmakingPlayersResponse +S_API void SteamAPI_ISteamMatchmakingPlayersResponse_AddPlayerToList( ISteamMatchmakingPlayersResponse* self, const char * pchName, int nScore, float flTimePlayed ); +S_API void SteamAPI_ISteamMatchmakingPlayersResponse_PlayersFailedToRespond( ISteamMatchmakingPlayersResponse* self ); +S_API void SteamAPI_ISteamMatchmakingPlayersResponse_PlayersRefreshComplete( ISteamMatchmakingPlayersResponse* self ); + +// ISteamMatchmakingRulesResponse +S_API void SteamAPI_ISteamMatchmakingRulesResponse_RulesResponded( ISteamMatchmakingRulesResponse* self, const char * pchRule, const char * pchValue ); +S_API void SteamAPI_ISteamMatchmakingRulesResponse_RulesFailedToRespond( ISteamMatchmakingRulesResponse* self ); +S_API void SteamAPI_ISteamMatchmakingRulesResponse_RulesRefreshComplete( ISteamMatchmakingRulesResponse* self ); + +// ISteamMatchmakingServers + +// A versioned accessor is exported by the library +S_API ISteamMatchmakingServers *SteamAPI_SteamMatchmakingServers_v002(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmakingServers(), but using this ensures that you are using a matching library. +inline ISteamMatchmakingServers *SteamAPI_SteamMatchmakingServers() { return SteamAPI_SteamMatchmakingServers_v002(); } +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestInternetServerList( ISteamMatchmakingServers* self, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestLANServerList( ISteamMatchmakingServers* self, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList( ISteamMatchmakingServers* self, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList( ISteamMatchmakingServers* self, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList( ISteamMatchmakingServers* self, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API HServerListRequest SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList( ISteamMatchmakingServers* self, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse ); +S_API void SteamAPI_ISteamMatchmakingServers_ReleaseRequest( ISteamMatchmakingServers* self, HServerListRequest hServerListRequest ); +S_API gameserveritem_t * SteamAPI_ISteamMatchmakingServers_GetServerDetails( ISteamMatchmakingServers* self, HServerListRequest hRequest, int iServer ); +S_API void SteamAPI_ISteamMatchmakingServers_CancelQuery( ISteamMatchmakingServers* self, HServerListRequest hRequest ); +S_API void SteamAPI_ISteamMatchmakingServers_RefreshQuery( ISteamMatchmakingServers* self, HServerListRequest hRequest ); +S_API bool SteamAPI_ISteamMatchmakingServers_IsRefreshing( ISteamMatchmakingServers* self, HServerListRequest hRequest ); +S_API int SteamAPI_ISteamMatchmakingServers_GetServerCount( ISteamMatchmakingServers* self, HServerListRequest hRequest ); +S_API void SteamAPI_ISteamMatchmakingServers_RefreshServer( ISteamMatchmakingServers* self, HServerListRequest hRequest, int iServer ); +S_API HServerQuery SteamAPI_ISteamMatchmakingServers_PingServer( ISteamMatchmakingServers* self, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse ); +S_API HServerQuery SteamAPI_ISteamMatchmakingServers_PlayerDetails( ISteamMatchmakingServers* self, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse ); +S_API HServerQuery SteamAPI_ISteamMatchmakingServers_ServerRules( ISteamMatchmakingServers* self, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse ); +S_API void SteamAPI_ISteamMatchmakingServers_CancelServerQuery( ISteamMatchmakingServers* self, HServerQuery hServerQuery ); + +// ISteamGameSearch + +// A versioned accessor is exported by the library +S_API ISteamGameSearch *SteamAPI_SteamGameSearch_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameSearch(), but using this ensures that you are using a matching library. +inline ISteamGameSearch *SteamAPI_SteamGameSearch() { return SteamAPI_SteamGameSearch_v001(); } +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_AddGameSearchParams( ISteamGameSearch* self, const char * pchKeyToFind, const char * pchValuesToFind ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_SearchForGameWithLobby( ISteamGameSearch* self, uint64_steamid steamIDLobby, int nPlayerMin, int nPlayerMax ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_SearchForGameSolo( ISteamGameSearch* self, int nPlayerMin, int nPlayerMax ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_AcceptGame( ISteamGameSearch* self ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_DeclineGame( ISteamGameSearch* self ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_RetrieveConnectionDetails( ISteamGameSearch* self, uint64_steamid steamIDHost, char * pchConnectionDetails, int cubConnectionDetails ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_EndGameSearch( ISteamGameSearch* self ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_SetGameHostParams( ISteamGameSearch* self, const char * pchKey, const char * pchValue ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_SetConnectionDetails( ISteamGameSearch* self, const char * pchConnectionDetails, int cubConnectionDetails ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_RequestPlayersForGame( ISteamGameSearch* self, int nPlayerMin, int nPlayerMax, int nMaxTeamSize ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_HostConfirmGameStart( ISteamGameSearch* self, uint64 ullUniqueGameID ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_CancelRequestPlayersForGame( ISteamGameSearch* self ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_SubmitPlayerResult( ISteamGameSearch* self, uint64 ullUniqueGameID, uint64_steamid steamIDPlayer, EPlayerResult_t EPlayerResult ); +S_API EGameSearchErrorCode_t SteamAPI_ISteamGameSearch_EndGame( ISteamGameSearch* self, uint64 ullUniqueGameID ); + +// ISteamParties + +// A versioned accessor is exported by the library +S_API ISteamParties *SteamAPI_SteamParties_v002(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamParties(), but using this ensures that you are using a matching library. +inline ISteamParties *SteamAPI_SteamParties() { return SteamAPI_SteamParties_v002(); } +S_API uint32 SteamAPI_ISteamParties_GetNumActiveBeacons( ISteamParties* self ); +S_API PartyBeaconID_t SteamAPI_ISteamParties_GetBeaconByIndex( ISteamParties* self, uint32 unIndex ); +S_API bool SteamAPI_ISteamParties_GetBeaconDetails( ISteamParties* self, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, SteamPartyBeaconLocation_t * pLocation, char * pchMetadata, int cchMetadata ); +S_API SteamAPICall_t SteamAPI_ISteamParties_JoinParty( ISteamParties* self, PartyBeaconID_t ulBeaconID ); +S_API bool SteamAPI_ISteamParties_GetNumAvailableBeaconLocations( ISteamParties* self, uint32 * puNumLocations ); +S_API bool SteamAPI_ISteamParties_GetAvailableBeaconLocations( ISteamParties* self, SteamPartyBeaconLocation_t * pLocationList, uint32 uMaxNumLocations ); +S_API SteamAPICall_t SteamAPI_ISteamParties_CreateBeacon( ISteamParties* self, uint32 unOpenSlots, SteamPartyBeaconLocation_t * pBeaconLocation, const char * pchConnectString, const char * pchMetadata ); +S_API void SteamAPI_ISteamParties_OnReservationCompleted( ISteamParties* self, PartyBeaconID_t ulBeacon, uint64_steamid steamIDUser ); +S_API void SteamAPI_ISteamParties_CancelReservation( ISteamParties* self, PartyBeaconID_t ulBeacon, uint64_steamid steamIDUser ); +S_API SteamAPICall_t SteamAPI_ISteamParties_ChangeNumOpenSlots( ISteamParties* self, PartyBeaconID_t ulBeacon, uint32 unOpenSlots ); +S_API bool SteamAPI_ISteamParties_DestroyBeacon( ISteamParties* self, PartyBeaconID_t ulBeacon ); +S_API bool SteamAPI_ISteamParties_GetBeaconLocationData( ISteamParties* self, SteamPartyBeaconLocation_t BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut ); + +// ISteamRemoteStorage + +// A versioned accessor is exported by the library +S_API ISteamRemoteStorage *SteamAPI_SteamRemoteStorage_v016(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamRemoteStorage(), but using this ensures that you are using a matching library. +inline ISteamRemoteStorage *SteamAPI_SteamRemoteStorage() { return SteamAPI_SteamRemoteStorage_v016(); } +S_API bool SteamAPI_ISteamRemoteStorage_FileWrite( ISteamRemoteStorage* self, const char * pchFile, const void * pvData, int32 cubData ); +S_API int32 SteamAPI_ISteamRemoteStorage_FileRead( ISteamRemoteStorage* self, const char * pchFile, void * pvData, int32 cubDataToRead ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_FileWriteAsync( ISteamRemoteStorage* self, const char * pchFile, const void * pvData, uint32 cubData ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_FileReadAsync( ISteamRemoteStorage* self, const char * pchFile, uint32 nOffset, uint32 cubToRead ); +S_API bool SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete( ISteamRemoteStorage* self, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead ); +S_API bool SteamAPI_ISteamRemoteStorage_FileForget( ISteamRemoteStorage* self, const char * pchFile ); +S_API bool SteamAPI_ISteamRemoteStorage_FileDelete( ISteamRemoteStorage* self, const char * pchFile ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_FileShare( ISteamRemoteStorage* self, const char * pchFile ); +S_API bool SteamAPI_ISteamRemoteStorage_SetSyncPlatforms( ISteamRemoteStorage* self, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform ); +S_API UGCFileWriteStreamHandle_t SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen( ISteamRemoteStorage* self, const char * pchFile ); +S_API bool SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk( ISteamRemoteStorage* self, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData ); +S_API bool SteamAPI_ISteamRemoteStorage_FileWriteStreamClose( ISteamRemoteStorage* self, UGCFileWriteStreamHandle_t writeHandle ); +S_API bool SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel( ISteamRemoteStorage* self, UGCFileWriteStreamHandle_t writeHandle ); +S_API bool SteamAPI_ISteamRemoteStorage_FileExists( ISteamRemoteStorage* self, const char * pchFile ); +S_API bool SteamAPI_ISteamRemoteStorage_FilePersisted( ISteamRemoteStorage* self, const char * pchFile ); +S_API int32 SteamAPI_ISteamRemoteStorage_GetFileSize( ISteamRemoteStorage* self, const char * pchFile ); +S_API int64 SteamAPI_ISteamRemoteStorage_GetFileTimestamp( ISteamRemoteStorage* self, const char * pchFile ); +S_API ERemoteStoragePlatform SteamAPI_ISteamRemoteStorage_GetSyncPlatforms( ISteamRemoteStorage* self, const char * pchFile ); +S_API int32 SteamAPI_ISteamRemoteStorage_GetFileCount( ISteamRemoteStorage* self ); +S_API const char * SteamAPI_ISteamRemoteStorage_GetFileNameAndSize( ISteamRemoteStorage* self, int iFile, int32 * pnFileSizeInBytes ); +S_API bool SteamAPI_ISteamRemoteStorage_GetQuota( ISteamRemoteStorage* self, uint64 * pnTotalBytes, uint64 * puAvailableBytes ); +S_API bool SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount( ISteamRemoteStorage* self ); +S_API bool SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp( ISteamRemoteStorage* self ); +S_API void SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp( ISteamRemoteStorage* self, bool bEnabled ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_UGCDownload( ISteamRemoteStorage* self, UGCHandle_t hContent, uint32 unPriority ); +S_API bool SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress( ISteamRemoteStorage* self, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected ); +S_API bool SteamAPI_ISteamRemoteStorage_GetUGCDetails( ISteamRemoteStorage* self, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner ); +S_API int32 SteamAPI_ISteamRemoteStorage_UGCRead( ISteamRemoteStorage* self, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction ); +S_API int32 SteamAPI_ISteamRemoteStorage_GetCachedUGCCount( ISteamRemoteStorage* self ); +S_API UGCHandle_t SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle( ISteamRemoteStorage* self, int32 iCachedContent ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_PublishWorkshopFile( ISteamRemoteStorage* self, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType ); +S_API PublishedFileUpdateHandle_t SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, const char * pchFile ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_DeletePublishedFile( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles( ISteamRemoteStorage* self, uint32 unStartIndex ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_SubscribePublishedFile( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles( ISteamRemoteStorage* self, uint32 unStartIndex ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API bool SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription( ISteamRemoteStorage* self, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId, bool bVoteUp ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles( ISteamRemoteStorage* self, uint64_steamid steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_PublishVideo( ISteamRemoteStorage* self, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction( ISteamRemoteStorage* self, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction( ISteamRemoteStorage* self, EWorkshopFileAction eAction, uint32 unStartIndex ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles( ISteamRemoteStorage* self, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags ); +S_API SteamAPICall_t SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation( ISteamRemoteStorage* self, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority ); +S_API int32 SteamAPI_ISteamRemoteStorage_GetLocalFileChangeCount( ISteamRemoteStorage* self ); +S_API const char * SteamAPI_ISteamRemoteStorage_GetLocalFileChange( ISteamRemoteStorage* self, int iFile, ERemoteStorageLocalFileChange * pEChangeType, ERemoteStorageFilePathType * pEFilePathType ); +S_API bool SteamAPI_ISteamRemoteStorage_BeginFileWriteBatch( ISteamRemoteStorage* self ); +S_API bool SteamAPI_ISteamRemoteStorage_EndFileWriteBatch( ISteamRemoteStorage* self ); + +// ISteamUserStats + +// A versioned accessor is exported by the library +S_API ISteamUserStats *SteamAPI_SteamUserStats_v012(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamUserStats(), but using this ensures that you are using a matching library. +inline ISteamUserStats *SteamAPI_SteamUserStats() { return SteamAPI_SteamUserStats_v012(); } +S_API bool SteamAPI_ISteamUserStats_RequestCurrentStats( ISteamUserStats* self ); +S_API bool SteamAPI_ISteamUserStats_GetStatInt32( ISteamUserStats* self, const char * pchName, int32 * pData ); +S_API bool SteamAPI_ISteamUserStats_GetStatFloat( ISteamUserStats* self, const char * pchName, float * pData ); +S_API bool SteamAPI_ISteamUserStats_SetStatInt32( ISteamUserStats* self, const char * pchName, int32 nData ); +S_API bool SteamAPI_ISteamUserStats_SetStatFloat( ISteamUserStats* self, const char * pchName, float fData ); +S_API bool SteamAPI_ISteamUserStats_UpdateAvgRateStat( ISteamUserStats* self, const char * pchName, float flCountThisSession, double dSessionLength ); +S_API bool SteamAPI_ISteamUserStats_GetAchievement( ISteamUserStats* self, const char * pchName, bool * pbAchieved ); +S_API bool SteamAPI_ISteamUserStats_SetAchievement( ISteamUserStats* self, const char * pchName ); +S_API bool SteamAPI_ISteamUserStats_ClearAchievement( ISteamUserStats* self, const char * pchName ); +S_API bool SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime( ISteamUserStats* self, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime ); +S_API bool SteamAPI_ISteamUserStats_StoreStats( ISteamUserStats* self ); +S_API int SteamAPI_ISteamUserStats_GetAchievementIcon( ISteamUserStats* self, const char * pchName ); +S_API const char * SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute( ISteamUserStats* self, const char * pchName, const char * pchKey ); +S_API bool SteamAPI_ISteamUserStats_IndicateAchievementProgress( ISteamUserStats* self, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress ); +S_API uint32 SteamAPI_ISteamUserStats_GetNumAchievements( ISteamUserStats* self ); +S_API const char * SteamAPI_ISteamUserStats_GetAchievementName( ISteamUserStats* self, uint32 iAchievement ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_RequestUserStats( ISteamUserStats* self, uint64_steamid steamIDUser ); +S_API bool SteamAPI_ISteamUserStats_GetUserStatInt32( ISteamUserStats* self, uint64_steamid steamIDUser, const char * pchName, int32 * pData ); +S_API bool SteamAPI_ISteamUserStats_GetUserStatFloat( ISteamUserStats* self, uint64_steamid steamIDUser, const char * pchName, float * pData ); +S_API bool SteamAPI_ISteamUserStats_GetUserAchievement( ISteamUserStats* self, uint64_steamid steamIDUser, const char * pchName, bool * pbAchieved ); +S_API bool SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime( ISteamUserStats* self, uint64_steamid steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime ); +S_API bool SteamAPI_ISteamUserStats_ResetAllStats( ISteamUserStats* self, bool bAchievementsToo ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_FindOrCreateLeaderboard( ISteamUserStats* self, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_FindLeaderboard( ISteamUserStats* self, const char * pchLeaderboardName ); +S_API const char * SteamAPI_ISteamUserStats_GetLeaderboardName( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard ); +S_API int SteamAPI_ISteamUserStats_GetLeaderboardEntryCount( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard ); +S_API ELeaderboardSortMethod SteamAPI_ISteamUserStats_GetLeaderboardSortMethod( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard ); +S_API ELeaderboardDisplayType SteamAPI_ISteamUserStats_GetLeaderboardDisplayType( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_DownloadLeaderboardEntries( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers ); +S_API bool SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry( ISteamUserStats* self, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_UploadLeaderboardScore( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_AttachLeaderboardUGC( ISteamUserStats* self, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( ISteamUserStats* self ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages( ISteamUserStats* self ); +S_API int SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo( ISteamUserStats* self, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved ); +S_API int SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo( ISteamUserStats* self, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved ); +S_API bool SteamAPI_ISteamUserStats_GetAchievementAchievedPercent( ISteamUserStats* self, const char * pchName, float * pflPercent ); +S_API SteamAPICall_t SteamAPI_ISteamUserStats_RequestGlobalStats( ISteamUserStats* self, int nHistoryDays ); +S_API bool SteamAPI_ISteamUserStats_GetGlobalStatInt64( ISteamUserStats* self, const char * pchStatName, int64 * pData ); +S_API bool SteamAPI_ISteamUserStats_GetGlobalStatDouble( ISteamUserStats* self, const char * pchStatName, double * pData ); +S_API int32 SteamAPI_ISteamUserStats_GetGlobalStatHistoryInt64( ISteamUserStats* self, const char * pchStatName, int64 * pData, uint32 cubData ); +S_API int32 SteamAPI_ISteamUserStats_GetGlobalStatHistoryDouble( ISteamUserStats* self, const char * pchStatName, double * pData, uint32 cubData ); +S_API bool SteamAPI_ISteamUserStats_GetAchievementProgressLimitsInt32( ISteamUserStats* self, const char * pchName, int32 * pnMinProgress, int32 * pnMaxProgress ); +S_API bool SteamAPI_ISteamUserStats_GetAchievementProgressLimitsFloat( ISteamUserStats* self, const char * pchName, float * pfMinProgress, float * pfMaxProgress ); + +// ISteamApps + +// A versioned accessor is exported by the library +S_API ISteamApps *SteamAPI_SteamApps_v008(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamApps(), but using this ensures that you are using a matching library. +inline ISteamApps *SteamAPI_SteamApps() { return SteamAPI_SteamApps_v008(); } +S_API bool SteamAPI_ISteamApps_BIsSubscribed( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BIsLowViolence( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BIsCybercafe( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BIsVACBanned( ISteamApps* self ); +S_API const char * SteamAPI_ISteamApps_GetCurrentGameLanguage( ISteamApps* self ); +S_API const char * SteamAPI_ISteamApps_GetAvailableGameLanguages( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BIsSubscribedApp( ISteamApps* self, AppId_t appID ); +S_API bool SteamAPI_ISteamApps_BIsDlcInstalled( ISteamApps* self, AppId_t appID ); +S_API uint32 SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime( ISteamApps* self, AppId_t nAppID ); +S_API bool SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend( ISteamApps* self ); +S_API int SteamAPI_ISteamApps_GetDLCCount( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BGetDLCDataByIndex( ISteamApps* self, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize ); +S_API void SteamAPI_ISteamApps_InstallDLC( ISteamApps* self, AppId_t nAppID ); +S_API void SteamAPI_ISteamApps_UninstallDLC( ISteamApps* self, AppId_t nAppID ); +S_API void SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey( ISteamApps* self, AppId_t nAppID ); +S_API bool SteamAPI_ISteamApps_GetCurrentBetaName( ISteamApps* self, char * pchName, int cchNameBufferSize ); +S_API bool SteamAPI_ISteamApps_MarkContentCorrupt( ISteamApps* self, bool bMissingFilesOnly ); +S_API uint32 SteamAPI_ISteamApps_GetInstalledDepots( ISteamApps* self, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots ); +S_API uint32 SteamAPI_ISteamApps_GetAppInstallDir( ISteamApps* self, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize ); +S_API bool SteamAPI_ISteamApps_BIsAppInstalled( ISteamApps* self, AppId_t appID ); +S_API uint64_steamid SteamAPI_ISteamApps_GetAppOwner( ISteamApps* self ); +S_API const char * SteamAPI_ISteamApps_GetLaunchQueryParam( ISteamApps* self, const char * pchKey ); +S_API bool SteamAPI_ISteamApps_GetDlcDownloadProgress( ISteamApps* self, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal ); +S_API int SteamAPI_ISteamApps_GetAppBuildId( ISteamApps* self ); +S_API void SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys( ISteamApps* self ); +S_API SteamAPICall_t SteamAPI_ISteamApps_GetFileDetails( ISteamApps* self, const char * pszFileName ); +S_API int SteamAPI_ISteamApps_GetLaunchCommandLine( ISteamApps* self, char * pszCommandLine, int cubCommandLine ); +S_API bool SteamAPI_ISteamApps_BIsSubscribedFromFamilySharing( ISteamApps* self ); +S_API bool SteamAPI_ISteamApps_BIsTimedTrial( ISteamApps* self, uint32 * punSecondsAllowed, uint32 * punSecondsPlayed ); +S_API bool SteamAPI_ISteamApps_SetDlcContext( ISteamApps* self, AppId_t nAppID ); + +// ISteamNetworking + +// A versioned accessor is exported by the library +S_API ISteamNetworking *SteamAPI_SteamNetworking_v006(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworking(), but using this ensures that you are using a matching library. +inline ISteamNetworking *SteamAPI_SteamNetworking() { return SteamAPI_SteamNetworking_v006(); } + +// A versioned accessor is exported by the library +S_API ISteamNetworking *SteamAPI_SteamGameServerNetworking_v006(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworking(), but using this ensures that you are using a matching library. +inline ISteamNetworking *SteamAPI_SteamGameServerNetworking() { return SteamAPI_SteamGameServerNetworking_v006(); } +S_API bool SteamAPI_ISteamNetworking_SendP2PPacket( ISteamNetworking* self, uint64_steamid steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel ); +S_API bool SteamAPI_ISteamNetworking_IsP2PPacketAvailable( ISteamNetworking* self, uint32 * pcubMsgSize, int nChannel ); +S_API bool SteamAPI_ISteamNetworking_ReadP2PPacket( ISteamNetworking* self, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel ); +S_API bool SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser( ISteamNetworking* self, uint64_steamid steamIDRemote ); +S_API bool SteamAPI_ISteamNetworking_CloseP2PSessionWithUser( ISteamNetworking* self, uint64_steamid steamIDRemote ); +S_API bool SteamAPI_ISteamNetworking_CloseP2PChannelWithUser( ISteamNetworking* self, uint64_steamid steamIDRemote, int nChannel ); +S_API bool SteamAPI_ISteamNetworking_GetP2PSessionState( ISteamNetworking* self, uint64_steamid steamIDRemote, P2PSessionState_t * pConnectionState ); +S_API bool SteamAPI_ISteamNetworking_AllowP2PPacketRelay( ISteamNetworking* self, bool bAllow ); +S_API SNetListenSocket_t SteamAPI_ISteamNetworking_CreateListenSocket( ISteamNetworking* self, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay ); +S_API SNetSocket_t SteamAPI_ISteamNetworking_CreateP2PConnectionSocket( ISteamNetworking* self, uint64_steamid steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay ); +S_API SNetSocket_t SteamAPI_ISteamNetworking_CreateConnectionSocket( ISteamNetworking* self, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec ); +S_API bool SteamAPI_ISteamNetworking_DestroySocket( ISteamNetworking* self, SNetSocket_t hSocket, bool bNotifyRemoteEnd ); +S_API bool SteamAPI_ISteamNetworking_DestroyListenSocket( ISteamNetworking* self, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd ); +S_API bool SteamAPI_ISteamNetworking_SendDataOnSocket( ISteamNetworking* self, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable ); +S_API bool SteamAPI_ISteamNetworking_IsDataAvailableOnSocket( ISteamNetworking* self, SNetSocket_t hSocket, uint32 * pcubMsgSize ); +S_API bool SteamAPI_ISteamNetworking_RetrieveDataFromSocket( ISteamNetworking* self, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize ); +S_API bool SteamAPI_ISteamNetworking_IsDataAvailable( ISteamNetworking* self, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket ); +S_API bool SteamAPI_ISteamNetworking_RetrieveData( ISteamNetworking* self, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket ); +S_API bool SteamAPI_ISteamNetworking_GetSocketInfo( ISteamNetworking* self, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, SteamIPAddress_t * punIPRemote, uint16 * punPortRemote ); +S_API bool SteamAPI_ISteamNetworking_GetListenSocketInfo( ISteamNetworking* self, SNetListenSocket_t hListenSocket, SteamIPAddress_t * pnIP, uint16 * pnPort ); +S_API ESNetSocketConnectionType SteamAPI_ISteamNetworking_GetSocketConnectionType( ISteamNetworking* self, SNetSocket_t hSocket ); +S_API int SteamAPI_ISteamNetworking_GetMaxPacketSize( ISteamNetworking* self, SNetSocket_t hSocket ); + +// ISteamScreenshots + +// A versioned accessor is exported by the library +S_API ISteamScreenshots *SteamAPI_SteamScreenshots_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamScreenshots(), but using this ensures that you are using a matching library. +inline ISteamScreenshots *SteamAPI_SteamScreenshots() { return SteamAPI_SteamScreenshots_v003(); } +S_API ScreenshotHandle SteamAPI_ISteamScreenshots_WriteScreenshot( ISteamScreenshots* self, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight ); +S_API ScreenshotHandle SteamAPI_ISteamScreenshots_AddScreenshotToLibrary( ISteamScreenshots* self, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight ); +S_API void SteamAPI_ISteamScreenshots_TriggerScreenshot( ISteamScreenshots* self ); +S_API void SteamAPI_ISteamScreenshots_HookScreenshots( ISteamScreenshots* self, bool bHook ); +S_API bool SteamAPI_ISteamScreenshots_SetLocation( ISteamScreenshots* self, ScreenshotHandle hScreenshot, const char * pchLocation ); +S_API bool SteamAPI_ISteamScreenshots_TagUser( ISteamScreenshots* self, ScreenshotHandle hScreenshot, uint64_steamid steamID ); +S_API bool SteamAPI_ISteamScreenshots_TagPublishedFile( ISteamScreenshots* self, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID ); +S_API bool SteamAPI_ISteamScreenshots_IsScreenshotsHooked( ISteamScreenshots* self ); +S_API ScreenshotHandle SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary( ISteamScreenshots* self, EVRScreenshotType eType, const char * pchFilename, const char * pchVRFilename ); + +// ISteamMusic + +// A versioned accessor is exported by the library +S_API ISteamMusic *SteamAPI_SteamMusic_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusic(), but using this ensures that you are using a matching library. +inline ISteamMusic *SteamAPI_SteamMusic() { return SteamAPI_SteamMusic_v001(); } +S_API bool SteamAPI_ISteamMusic_BIsEnabled( ISteamMusic* self ); +S_API bool SteamAPI_ISteamMusic_BIsPlaying( ISteamMusic* self ); +S_API AudioPlayback_Status SteamAPI_ISteamMusic_GetPlaybackStatus( ISteamMusic* self ); +S_API void SteamAPI_ISteamMusic_Play( ISteamMusic* self ); +S_API void SteamAPI_ISteamMusic_Pause( ISteamMusic* self ); +S_API void SteamAPI_ISteamMusic_PlayPrevious( ISteamMusic* self ); +S_API void SteamAPI_ISteamMusic_PlayNext( ISteamMusic* self ); +S_API void SteamAPI_ISteamMusic_SetVolume( ISteamMusic* self, float flVolume ); +S_API float SteamAPI_ISteamMusic_GetVolume( ISteamMusic* self ); + +// ISteamMusicRemote + +// A versioned accessor is exported by the library +S_API ISteamMusicRemote *SteamAPI_SteamMusicRemote_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusicRemote(), but using this ensures that you are using a matching library. +inline ISteamMusicRemote *SteamAPI_SteamMusicRemote() { return SteamAPI_SteamMusicRemote_v001(); } +S_API bool SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote( ISteamMusicRemote* self, const char * pchName ); +S_API bool SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_BActivationSuccess( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_SetDisplayName( ISteamMusicRemote* self, const char * pchDisplayName ); +S_API bool SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64( ISteamMusicRemote* self, void * pvBuffer, uint32 cbBufferLength ); +S_API bool SteamAPI_ISteamMusicRemote_EnablePlayPrevious( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_EnablePlayNext( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_EnableShuffled( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_EnableLooped( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_EnableQueue( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_EnablePlaylists( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus( ISteamMusicRemote* self, AudioPlayback_Status nStatus ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateShuffled( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateLooped( ISteamMusicRemote* self, bool bValue ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateVolume( ISteamMusicRemote* self, float flValue ); +S_API bool SteamAPI_ISteamMusicRemote_CurrentEntryWillChange( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable( ISteamMusicRemote* self, bool bAvailable ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText( ISteamMusicRemote* self, const char * pchText ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds( ISteamMusicRemote* self, int nValue ); +S_API bool SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt( ISteamMusicRemote* self, void * pvBuffer, uint32 cbBufferLength ); +S_API bool SteamAPI_ISteamMusicRemote_CurrentEntryDidChange( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_QueueWillChange( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_ResetQueueEntries( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_SetQueueEntry( ISteamMusicRemote* self, int nID, int nPosition, const char * pchEntryText ); +S_API bool SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry( ISteamMusicRemote* self, int nID ); +S_API bool SteamAPI_ISteamMusicRemote_QueueDidChange( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_PlaylistWillChange( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_ResetPlaylistEntries( ISteamMusicRemote* self ); +S_API bool SteamAPI_ISteamMusicRemote_SetPlaylistEntry( ISteamMusicRemote* self, int nID, int nPosition, const char * pchEntryText ); +S_API bool SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry( ISteamMusicRemote* self, int nID ); +S_API bool SteamAPI_ISteamMusicRemote_PlaylistDidChange( ISteamMusicRemote* self ); + +// ISteamHTTP + +// A versioned accessor is exported by the library +S_API ISteamHTTP *SteamAPI_SteamHTTP_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamHTTP(), but using this ensures that you are using a matching library. +inline ISteamHTTP *SteamAPI_SteamHTTP() { return SteamAPI_SteamHTTP_v003(); } + +// A versioned accessor is exported by the library +S_API ISteamHTTP *SteamAPI_SteamGameServerHTTP_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerHTTP(), but using this ensures that you are using a matching library. +inline ISteamHTTP *SteamAPI_SteamGameServerHTTP() { return SteamAPI_SteamGameServerHTTP_v003(); } +S_API HTTPRequestHandle SteamAPI_ISteamHTTP_CreateHTTPRequest( ISteamHTTP* self, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestContextValue( ISteamHTTP* self, HTTPRequestHandle hRequest, uint64 ulContextValue ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout( ISteamHTTP* self, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue ); +S_API bool SteamAPI_ISteamHTTP_SendHTTPRequest( ISteamHTTP* self, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle ); +S_API bool SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse( ISteamHTTP* self, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle ); +S_API bool SteamAPI_ISteamHTTP_DeferHTTPRequest( ISteamHTTP* self, HTTPRequestHandle hRequest ); +S_API bool SteamAPI_ISteamHTTP_PrioritizeHTTPRequest( ISteamHTTP* self, HTTPRequestHandle hRequest ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPResponseBodySize( ISteamHTTP* self, HTTPRequestHandle hRequest, uint32 * unBodySize ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPResponseBodyData( ISteamHTTP* self, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData( ISteamHTTP* self, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize ); +S_API bool SteamAPI_ISteamHTTP_ReleaseHTTPRequest( ISteamHTTP* self, HTTPRequestHandle hRequest ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct( ISteamHTTP* self, HTTPRequestHandle hRequest, float * pflPercentOut ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen ); +S_API HTTPCookieContainerHandle SteamAPI_ISteamHTTP_CreateCookieContainer( ISteamHTTP* self, bool bAllowResponsesToModify ); +S_API bool SteamAPI_ISteamHTTP_ReleaseCookieContainer( ISteamHTTP* self, HTTPCookieContainerHandle hCookieContainer ); +S_API bool SteamAPI_ISteamHTTP_SetCookie( ISteamHTTP* self, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer( ISteamHTTP* self, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo( ISteamHTTP* self, HTTPRequestHandle hRequest, const char * pchUserAgentInfo ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate( ISteamHTTP* self, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate ); +S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS( ISteamHTTP* self, HTTPRequestHandle hRequest, uint32 unMilliseconds ); +S_API bool SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut( ISteamHTTP* self, HTTPRequestHandle hRequest, bool * pbWasTimedOut ); + +// ISteamInput + +// A versioned accessor is exported by the library +S_API ISteamInput *SteamAPI_SteamInput_v006(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamInput(), but using this ensures that you are using a matching library. +inline ISteamInput *SteamAPI_SteamInput() { return SteamAPI_SteamInput_v006(); } +S_API bool SteamAPI_ISteamInput_Init( ISteamInput* self, bool bExplicitlyCallRunFrame ); +S_API bool SteamAPI_ISteamInput_Shutdown( ISteamInput* self ); +S_API bool SteamAPI_ISteamInput_SetInputActionManifestFilePath( ISteamInput* self, const char * pchInputActionManifestAbsolutePath ); +S_API void SteamAPI_ISteamInput_RunFrame( ISteamInput* self, bool bReservedValue ); +S_API bool SteamAPI_ISteamInput_BWaitForData( ISteamInput* self, bool bWaitForever, uint32 unTimeout ); +S_API bool SteamAPI_ISteamInput_BNewDataAvailable( ISteamInput* self ); +S_API int SteamAPI_ISteamInput_GetConnectedControllers( ISteamInput* self, InputHandle_t * handlesOut ); +S_API void SteamAPI_ISteamInput_EnableDeviceCallbacks( ISteamInput* self ); +S_API void SteamAPI_ISteamInput_EnableActionEventCallbacks( ISteamInput* self, SteamInputActionEventCallbackPointer pCallback ); +S_API InputActionSetHandle_t SteamAPI_ISteamInput_GetActionSetHandle( ISteamInput* self, const char * pszActionSetName ); +S_API void SteamAPI_ISteamInput_ActivateActionSet( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle ); +S_API InputActionSetHandle_t SteamAPI_ISteamInput_GetCurrentActionSet( ISteamInput* self, InputHandle_t inputHandle ); +S_API void SteamAPI_ISteamInput_ActivateActionSetLayer( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle ); +S_API void SteamAPI_ISteamInput_DeactivateActionSetLayer( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle ); +S_API void SteamAPI_ISteamInput_DeactivateAllActionSetLayers( ISteamInput* self, InputHandle_t inputHandle ); +S_API int SteamAPI_ISteamInput_GetActiveActionSetLayers( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut ); +S_API InputDigitalActionHandle_t SteamAPI_ISteamInput_GetDigitalActionHandle( ISteamInput* self, const char * pszActionName ); +S_API InputDigitalActionData_t SteamAPI_ISteamInput_GetDigitalActionData( ISteamInput* self, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle ); +S_API int SteamAPI_ISteamInput_GetDigitalActionOrigins( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut ); +S_API const char * SteamAPI_ISteamInput_GetStringForDigitalActionName( ISteamInput* self, InputDigitalActionHandle_t eActionHandle ); +S_API InputAnalogActionHandle_t SteamAPI_ISteamInput_GetAnalogActionHandle( ISteamInput* self, const char * pszActionName ); +S_API InputAnalogActionData_t SteamAPI_ISteamInput_GetAnalogActionData( ISteamInput* self, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle ); +S_API int SteamAPI_ISteamInput_GetAnalogActionOrigins( ISteamInput* self, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut ); +S_API const char * SteamAPI_ISteamInput_GetGlyphPNGForActionOrigin( ISteamInput* self, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags ); +S_API const char * SteamAPI_ISteamInput_GetGlyphSVGForActionOrigin( ISteamInput* self, EInputActionOrigin eOrigin, uint32 unFlags ); +S_API const char * SteamAPI_ISteamInput_GetGlyphForActionOrigin_Legacy( ISteamInput* self, EInputActionOrigin eOrigin ); +S_API const char * SteamAPI_ISteamInput_GetStringForActionOrigin( ISteamInput* self, EInputActionOrigin eOrigin ); +S_API const char * SteamAPI_ISteamInput_GetStringForAnalogActionName( ISteamInput* self, InputAnalogActionHandle_t eActionHandle ); +S_API void SteamAPI_ISteamInput_StopAnalogActionMomentum( ISteamInput* self, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction ); +S_API InputMotionData_t SteamAPI_ISteamInput_GetMotionData( ISteamInput* self, InputHandle_t inputHandle ); +S_API void SteamAPI_ISteamInput_TriggerVibration( ISteamInput* self, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed ); +S_API void SteamAPI_ISteamInput_TriggerVibrationExtended( ISteamInput* self, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed ); +S_API void SteamAPI_ISteamInput_TriggerSimpleHapticEvent( ISteamInput* self, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB ); +S_API void SteamAPI_ISteamInput_SetLEDColor( ISteamInput* self, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags ); +S_API void SteamAPI_ISteamInput_Legacy_TriggerHapticPulse( ISteamInput* self, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec ); +S_API void SteamAPI_ISteamInput_Legacy_TriggerRepeatedHapticPulse( ISteamInput* self, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags ); +S_API bool SteamAPI_ISteamInput_ShowBindingPanel( ISteamInput* self, InputHandle_t inputHandle ); +S_API ESteamInputType SteamAPI_ISteamInput_GetInputTypeForHandle( ISteamInput* self, InputHandle_t inputHandle ); +S_API InputHandle_t SteamAPI_ISteamInput_GetControllerForGamepadIndex( ISteamInput* self, int nIndex ); +S_API int SteamAPI_ISteamInput_GetGamepadIndexForController( ISteamInput* self, InputHandle_t ulinputHandle ); +S_API const char * SteamAPI_ISteamInput_GetStringForXboxOrigin( ISteamInput* self, EXboxOrigin eOrigin ); +S_API const char * SteamAPI_ISteamInput_GetGlyphForXboxOrigin( ISteamInput* self, EXboxOrigin eOrigin ); +S_API EInputActionOrigin SteamAPI_ISteamInput_GetActionOriginFromXboxOrigin( ISteamInput* self, InputHandle_t inputHandle, EXboxOrigin eOrigin ); +S_API EInputActionOrigin SteamAPI_ISteamInput_TranslateActionOrigin( ISteamInput* self, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin ); +S_API bool SteamAPI_ISteamInput_GetDeviceBindingRevision( ISteamInput* self, InputHandle_t inputHandle, int * pMajor, int * pMinor ); +S_API uint32 SteamAPI_ISteamInput_GetRemotePlaySessionID( ISteamInput* self, InputHandle_t inputHandle ); +S_API uint16 SteamAPI_ISteamInput_GetSessionInputConfigurationSettings( ISteamInput* self ); +S_API void SteamAPI_ISteamInput_SetDualSenseTriggerEffect( ISteamInput* self, InputHandle_t inputHandle, const ScePadTriggerEffectParam * pParam ); + +// ISteamController + +// A versioned accessor is exported by the library +S_API ISteamController *SteamAPI_SteamController_v008(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamController(), but using this ensures that you are using a matching library. +inline ISteamController *SteamAPI_SteamController() { return SteamAPI_SteamController_v008(); } +S_API bool SteamAPI_ISteamController_Init( ISteamController* self ); +S_API bool SteamAPI_ISteamController_Shutdown( ISteamController* self ); +S_API void SteamAPI_ISteamController_RunFrame( ISteamController* self ); +S_API int SteamAPI_ISteamController_GetConnectedControllers( ISteamController* self, ControllerHandle_t * handlesOut ); +S_API ControllerActionSetHandle_t SteamAPI_ISteamController_GetActionSetHandle( ISteamController* self, const char * pszActionSetName ); +S_API void SteamAPI_ISteamController_ActivateActionSet( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle ); +S_API ControllerActionSetHandle_t SteamAPI_ISteamController_GetCurrentActionSet( ISteamController* self, ControllerHandle_t controllerHandle ); +S_API void SteamAPI_ISteamController_ActivateActionSetLayer( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ); +S_API void SteamAPI_ISteamController_DeactivateActionSetLayer( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ); +S_API void SteamAPI_ISteamController_DeactivateAllActionSetLayers( ISteamController* self, ControllerHandle_t controllerHandle ); +S_API int SteamAPI_ISteamController_GetActiveActionSetLayers( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut ); +S_API ControllerDigitalActionHandle_t SteamAPI_ISteamController_GetDigitalActionHandle( ISteamController* self, const char * pszActionName ); +S_API InputDigitalActionData_t SteamAPI_ISteamController_GetDigitalActionData( ISteamController* self, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle ); +S_API int SteamAPI_ISteamController_GetDigitalActionOrigins( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut ); +S_API ControllerAnalogActionHandle_t SteamAPI_ISteamController_GetAnalogActionHandle( ISteamController* self, const char * pszActionName ); +S_API InputAnalogActionData_t SteamAPI_ISteamController_GetAnalogActionData( ISteamController* self, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle ); +S_API int SteamAPI_ISteamController_GetAnalogActionOrigins( ISteamController* self, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut ); +S_API const char * SteamAPI_ISteamController_GetGlyphForActionOrigin( ISteamController* self, EControllerActionOrigin eOrigin ); +S_API const char * SteamAPI_ISteamController_GetStringForActionOrigin( ISteamController* self, EControllerActionOrigin eOrigin ); +S_API void SteamAPI_ISteamController_StopAnalogActionMomentum( ISteamController* self, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction ); +S_API InputMotionData_t SteamAPI_ISteamController_GetMotionData( ISteamController* self, ControllerHandle_t controllerHandle ); +S_API void SteamAPI_ISteamController_TriggerHapticPulse( ISteamController* self, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec ); +S_API void SteamAPI_ISteamController_TriggerRepeatedHapticPulse( ISteamController* self, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags ); +S_API void SteamAPI_ISteamController_TriggerVibration( ISteamController* self, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed ); +S_API void SteamAPI_ISteamController_SetLEDColor( ISteamController* self, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags ); +S_API bool SteamAPI_ISteamController_ShowBindingPanel( ISteamController* self, ControllerHandle_t controllerHandle ); +S_API ESteamInputType SteamAPI_ISteamController_GetInputTypeForHandle( ISteamController* self, ControllerHandle_t controllerHandle ); +S_API ControllerHandle_t SteamAPI_ISteamController_GetControllerForGamepadIndex( ISteamController* self, int nIndex ); +S_API int SteamAPI_ISteamController_GetGamepadIndexForController( ISteamController* self, ControllerHandle_t ulControllerHandle ); +S_API const char * SteamAPI_ISteamController_GetStringForXboxOrigin( ISteamController* self, EXboxOrigin eOrigin ); +S_API const char * SteamAPI_ISteamController_GetGlyphForXboxOrigin( ISteamController* self, EXboxOrigin eOrigin ); +S_API EControllerActionOrigin SteamAPI_ISteamController_GetActionOriginFromXboxOrigin( ISteamController* self, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin ); +S_API EControllerActionOrigin SteamAPI_ISteamController_TranslateActionOrigin( ISteamController* self, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin ); +S_API bool SteamAPI_ISteamController_GetControllerBindingRevision( ISteamController* self, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor ); + +// ISteamUGC + +// A versioned accessor is exported by the library +S_API ISteamUGC *SteamAPI_SteamUGC_v018(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamUGC(), but using this ensures that you are using a matching library. +inline ISteamUGC *SteamAPI_SteamUGC() { return SteamAPI_SteamUGC_v018(); } + +// A versioned accessor is exported by the library +S_API ISteamUGC *SteamAPI_SteamGameServerUGC_v018(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerUGC(), but using this ensures that you are using a matching library. +inline ISteamUGC *SteamAPI_SteamGameServerUGC() { return SteamAPI_SteamGameServerUGC_v018(); } +S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUserUGCRequest( ISteamUGC* self, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ); +S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryAllUGCRequestPage( ISteamUGC* self, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage ); +S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryAllUGCRequestCursor( ISteamUGC* self, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor ); +S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_SendQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCResult( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails ); +S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumTags( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCTag( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCTagDisplayName( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCPreviewURL( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCMetadata( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCChildren( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue ); +S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType ); +S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index ); +S_API bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize ); +S_API bool SteamAPI_ISteamUGC_GetQueryFirstUGCKeyValueTag( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize ); +S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCContentDescriptors( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries ); +S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle ); +S_API bool SteamAPI_ISteamUGC_AddRequiredTag( ISteamUGC* self, UGCQueryHandle_t handle, const char * pTagName ); +S_API bool SteamAPI_ISteamUGC_AddRequiredTagGroup( ISteamUGC* self, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups ); +S_API bool SteamAPI_ISteamUGC_AddExcludedTag( ISteamUGC* self, UGCQueryHandle_t handle, const char * pTagName ); +S_API bool SteamAPI_ISteamUGC_SetReturnOnlyIDs( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnOnlyIDs ); +S_API bool SteamAPI_ISteamUGC_SetReturnKeyValueTags( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnKeyValueTags ); +S_API bool SteamAPI_ISteamUGC_SetReturnLongDescription( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnLongDescription ); +S_API bool SteamAPI_ISteamUGC_SetReturnMetadata( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnMetadata ); +S_API bool SteamAPI_ISteamUGC_SetReturnChildren( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnChildren ); +S_API bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ); +S_API bool SteamAPI_ISteamUGC_SetReturnTotalOnly( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnTotalOnly ); +S_API bool SteamAPI_ISteamUGC_SetReturnPlaytimeStats( ISteamUGC* self, UGCQueryHandle_t handle, uint32 unDays ); +S_API bool SteamAPI_ISteamUGC_SetLanguage( ISteamUGC* self, UGCQueryHandle_t handle, const char * pchLanguage ); +S_API bool SteamAPI_ISteamUGC_SetAllowCachedResponse( ISteamUGC* self, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds ); +S_API bool SteamAPI_ISteamUGC_SetCloudFileNameFilter( ISteamUGC* self, UGCQueryHandle_t handle, const char * pMatchCloudFileName ); +S_API bool SteamAPI_ISteamUGC_SetMatchAnyTag( ISteamUGC* self, UGCQueryHandle_t handle, bool bMatchAnyTag ); +S_API bool SteamAPI_ISteamUGC_SetSearchText( ISteamUGC* self, UGCQueryHandle_t handle, const char * pSearchText ); +S_API bool SteamAPI_ISteamUGC_SetRankedByTrendDays( ISteamUGC* self, UGCQueryHandle_t handle, uint32 unDays ); +S_API bool SteamAPI_ISteamUGC_SetTimeCreatedDateRange( ISteamUGC* self, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ); +S_API bool SteamAPI_ISteamUGC_SetTimeUpdatedDateRange( ISteamUGC* self, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd ); +S_API bool SteamAPI_ISteamUGC_AddRequiredKeyValueTag( ISteamUGC* self, UGCQueryHandle_t handle, const char * pKey, const char * pValue ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_RequestUGCDetails( ISteamUGC* self, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_CreateItem( ISteamUGC* self, AppId_t nConsumerAppId, EWorkshopFileType eFileType ); +S_API UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate( ISteamUGC* self, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID ); +S_API bool SteamAPI_ISteamUGC_SetItemTitle( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchTitle ); +S_API bool SteamAPI_ISteamUGC_SetItemDescription( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchDescription ); +S_API bool SteamAPI_ISteamUGC_SetItemUpdateLanguage( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchLanguage ); +S_API bool SteamAPI_ISteamUGC_SetItemMetadata( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchMetaData ); +S_API bool SteamAPI_ISteamUGC_SetItemVisibility( ISteamUGC* self, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ); +S_API bool SteamAPI_ISteamUGC_SetItemTags( ISteamUGC* self, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags, bool bAllowAdminTags ); +S_API bool SteamAPI_ISteamUGC_SetItemContent( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszContentFolder ); +S_API bool SteamAPI_ISteamUGC_SetItemPreview( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszPreviewFile ); +S_API bool SteamAPI_ISteamUGC_SetAllowLegacyUpload( ISteamUGC* self, UGCUpdateHandle_t handle, bool bAllowLegacyUpload ); +S_API bool SteamAPI_ISteamUGC_RemoveAllItemKeyValueTags( ISteamUGC* self, UGCUpdateHandle_t handle ); +S_API bool SteamAPI_ISteamUGC_RemoveItemKeyValueTags( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchKey ); +S_API bool SteamAPI_ISteamUGC_AddItemKeyValueTag( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue ); +S_API bool SteamAPI_ISteamUGC_AddItemPreviewFile( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type ); +S_API bool SteamAPI_ISteamUGC_AddItemPreviewVideo( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszVideoID ); +S_API bool SteamAPI_ISteamUGC_UpdateItemPreviewFile( ISteamUGC* self, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile ); +S_API bool SteamAPI_ISteamUGC_UpdateItemPreviewVideo( ISteamUGC* self, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID ); +S_API bool SteamAPI_ISteamUGC_RemoveItemPreview( ISteamUGC* self, UGCUpdateHandle_t handle, uint32 index ); +S_API bool SteamAPI_ISteamUGC_AddContentDescriptor( ISteamUGC* self, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid ); +S_API bool SteamAPI_ISteamUGC_RemoveContentDescriptor( ISteamUGC* self, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchChangeNote ); +S_API EItemUpdateStatus SteamAPI_ISteamUGC_GetItemUpdateProgress( ISteamUGC* self, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_SetUserItemVote( ISteamUGC* self, PublishedFileId_t nPublishedFileID, bool bVoteUp ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_GetUserItemVote( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_AddItemToFavorites( ISteamUGC* self, AppId_t nAppId, PublishedFileId_t nPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveItemFromFavorites( ISteamUGC* self, AppId_t nAppId, PublishedFileId_t nPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_SubscribeItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_UnsubscribeItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API uint32 SteamAPI_ISteamUGC_GetNumSubscribedItems( ISteamUGC* self ); +S_API uint32 SteamAPI_ISteamUGC_GetSubscribedItems( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries ); +S_API uint32 SteamAPI_ISteamUGC_GetItemState( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API bool SteamAPI_ISteamUGC_GetItemInstallInfo( ISteamUGC* self, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp ); +S_API bool SteamAPI_ISteamUGC_GetItemDownloadInfo( ISteamUGC* self, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal ); +S_API bool SteamAPI_ISteamUGC_DownloadItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID, bool bHighPriority ); +S_API bool SteamAPI_ISteamUGC_BInitWorkshopForGameServer( ISteamUGC* self, DepotId_t unWorkshopDepotID, const char * pszFolder ); +S_API void SteamAPI_ISteamUGC_SuspendDownloads( ISteamUGC* self, bool bSuspend ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_StartPlaytimeTracking( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTracking( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems( ISteamUGC* self ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_AddDependency( ISteamUGC* self, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveDependency( ISteamUGC* self, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_AddAppDependency( ISteamUGC* self, PublishedFileId_t nPublishedFileID, AppId_t nAppID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveAppDependency( ISteamUGC* self, PublishedFileId_t nPublishedFileID, AppId_t nAppID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_GetAppDependencies( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_DeleteItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID ); +S_API bool SteamAPI_ISteamUGC_ShowWorkshopEULA( ISteamUGC* self ); +S_API SteamAPICall_t SteamAPI_ISteamUGC_GetWorkshopEULAStatus( ISteamUGC* self ); +S_API uint32 SteamAPI_ISteamUGC_GetUserContentDescriptorPreferences( ISteamUGC* self, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries ); + +// ISteamAppList + +// A versioned accessor is exported by the library +S_API ISteamAppList *SteamAPI_SteamAppList_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamAppList(), but using this ensures that you are using a matching library. +inline ISteamAppList *SteamAPI_SteamAppList() { return SteamAPI_SteamAppList_v001(); } +S_API uint32 SteamAPI_ISteamAppList_GetNumInstalledApps( ISteamAppList* self ); +S_API uint32 SteamAPI_ISteamAppList_GetInstalledApps( ISteamAppList* self, AppId_t * pvecAppID, uint32 unMaxAppIDs ); +S_API int SteamAPI_ISteamAppList_GetAppName( ISteamAppList* self, AppId_t nAppID, char * pchName, int cchNameMax ); +S_API int SteamAPI_ISteamAppList_GetAppInstallDir( ISteamAppList* self, AppId_t nAppID, char * pchDirectory, int cchNameMax ); +S_API int SteamAPI_ISteamAppList_GetAppBuildId( ISteamAppList* self, AppId_t nAppID ); + +// ISteamHTMLSurface + +// A versioned accessor is exported by the library +S_API ISteamHTMLSurface *SteamAPI_SteamHTMLSurface_v005(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamHTMLSurface(), but using this ensures that you are using a matching library. +inline ISteamHTMLSurface *SteamAPI_SteamHTMLSurface() { return SteamAPI_SteamHTMLSurface_v005(); } +S_API bool SteamAPI_ISteamHTMLSurface_Init( ISteamHTMLSurface* self ); +S_API bool SteamAPI_ISteamHTMLSurface_Shutdown( ISteamHTMLSurface* self ); +S_API SteamAPICall_t SteamAPI_ISteamHTMLSurface_CreateBrowser( ISteamHTMLSurface* self, const char * pchUserAgent, const char * pchUserCSS ); +S_API void SteamAPI_ISteamHTMLSurface_RemoveBrowser( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_LoadURL( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData ); +S_API void SteamAPI_ISteamHTMLSurface_SetSize( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight ); +S_API void SteamAPI_ISteamHTMLSurface_StopLoad( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_Reload( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_GoBack( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_GoForward( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_AddHeader( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue ); +S_API void SteamAPI_ISteamHTMLSurface_ExecuteJavascript( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, const char * pchScript ); +S_API void SteamAPI_ISteamHTMLSurface_MouseUp( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton ); +S_API void SteamAPI_ISteamHTMLSurface_MouseDown( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton ); +S_API void SteamAPI_ISteamHTMLSurface_MouseDoubleClick( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton ); +S_API void SteamAPI_ISteamHTMLSurface_MouseMove( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, int x, int y ); +S_API void SteamAPI_ISteamHTMLSurface_MouseWheel( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, int32 nDelta ); +S_API void SteamAPI_ISteamHTMLSurface_KeyDown( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey ); +S_API void SteamAPI_ISteamHTMLSurface_KeyUp( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers ); +S_API void SteamAPI_ISteamHTMLSurface_KeyChar( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers ); +S_API void SteamAPI_ISteamHTMLSurface_SetHorizontalScroll( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll ); +S_API void SteamAPI_ISteamHTMLSurface_SetVerticalScroll( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll ); +S_API void SteamAPI_ISteamHTMLSurface_SetKeyFocus( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus ); +S_API void SteamAPI_ISteamHTMLSurface_ViewSource( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_CopyToClipboard( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_PasteFromClipboard( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_Find( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse ); +S_API void SteamAPI_ISteamHTMLSurface_StopFind( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_GetLinkAtPosition( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, int x, int y ); +S_API void SteamAPI_ISteamHTMLSurface_SetCookie( ISteamHTMLSurface* self, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly ); +S_API void SteamAPI_ISteamHTMLSurface_SetPageScaleFactor( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY ); +S_API void SteamAPI_ISteamHTMLSurface_SetBackgroundMode( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, bool bBackgroundMode ); +S_API void SteamAPI_ISteamHTMLSurface_SetDPIScalingFactor( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, float flDPIScaling ); +S_API void SteamAPI_ISteamHTMLSurface_OpenDeveloperTools( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle ); +S_API void SteamAPI_ISteamHTMLSurface_AllowStartRequest( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, bool bAllowed ); +S_API void SteamAPI_ISteamHTMLSurface_JSDialogResponse( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, bool bResult ); +S_API void SteamAPI_ISteamHTMLSurface_FileLoadDialogResponse( ISteamHTMLSurface* self, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles ); + +// ISteamInventory + +// A versioned accessor is exported by the library +S_API ISteamInventory *SteamAPI_SteamInventory_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamInventory(), but using this ensures that you are using a matching library. +inline ISteamInventory *SteamAPI_SteamInventory() { return SteamAPI_SteamInventory_v003(); } + +// A versioned accessor is exported by the library +S_API ISteamInventory *SteamAPI_SteamGameServerInventory_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerInventory(), but using this ensures that you are using a matching library. +inline ISteamInventory *SteamAPI_SteamGameServerInventory() { return SteamAPI_SteamGameServerInventory_v003(); } +S_API EResult SteamAPI_ISteamInventory_GetResultStatus( ISteamInventory* self, SteamInventoryResult_t resultHandle ); +S_API bool SteamAPI_ISteamInventory_GetResultItems( ISteamInventory* self, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize ); +S_API bool SteamAPI_ISteamInventory_GetResultItemProperty( ISteamInventory* self, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut ); +S_API uint32 SteamAPI_ISteamInventory_GetResultTimestamp( ISteamInventory* self, SteamInventoryResult_t resultHandle ); +S_API bool SteamAPI_ISteamInventory_CheckResultSteamID( ISteamInventory* self, SteamInventoryResult_t resultHandle, uint64_steamid steamIDExpected ); +S_API void SteamAPI_ISteamInventory_DestroyResult( ISteamInventory* self, SteamInventoryResult_t resultHandle ); +S_API bool SteamAPI_ISteamInventory_GetAllItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle ); +S_API bool SteamAPI_ISteamInventory_GetItemsByID( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs ); +S_API bool SteamAPI_ISteamInventory_SerializeResult( ISteamInventory* self, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize ); +S_API bool SteamAPI_ISteamInventory_DeserializeResult( ISteamInventory* self, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE ); +S_API bool SteamAPI_ISteamInventory_GenerateItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength ); +S_API bool SteamAPI_ISteamInventory_GrantPromoItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle ); +S_API bool SteamAPI_ISteamInventory_AddPromoItem( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef ); +S_API bool SteamAPI_ISteamInventory_AddPromoItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength ); +S_API bool SteamAPI_ISteamInventory_ConsumeItem( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity ); +S_API bool SteamAPI_ISteamInventory_ExchangeItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength ); +S_API bool SteamAPI_ISteamInventory_TransferItemQuantity( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest ); +S_API void SteamAPI_ISteamInventory_SendItemDropHeartbeat( ISteamInventory* self ); +S_API bool SteamAPI_ISteamInventory_TriggerItemDrop( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition ); +S_API bool SteamAPI_ISteamInventory_TradeItems( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, uint64_steamid steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength ); +S_API bool SteamAPI_ISteamInventory_LoadItemDefinitions( ISteamInventory* self ); +S_API bool SteamAPI_ISteamInventory_GetItemDefinitionIDs( ISteamInventory* self, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize ); +S_API bool SteamAPI_ISteamInventory_GetItemDefinitionProperty( ISteamInventory* self, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut ); +S_API SteamAPICall_t SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs( ISteamInventory* self, uint64_steamid steamID ); +S_API bool SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs( ISteamInventory* self, uint64_steamid steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize ); +S_API SteamAPICall_t SteamAPI_ISteamInventory_StartPurchase( ISteamInventory* self, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength ); +S_API SteamAPICall_t SteamAPI_ISteamInventory_RequestPrices( ISteamInventory* self ); +S_API uint32 SteamAPI_ISteamInventory_GetNumItemsWithPrices( ISteamInventory* self ); +S_API bool SteamAPI_ISteamInventory_GetItemsWithPrices( ISteamInventory* self, SteamItemDef_t * pArrayItemDefs, uint64 * pCurrentPrices, uint64 * pBasePrices, uint32 unArrayLength ); +S_API bool SteamAPI_ISteamInventory_GetItemPrice( ISteamInventory* self, SteamItemDef_t iDefinition, uint64 * pCurrentPrice, uint64 * pBasePrice ); +S_API SteamInventoryUpdateHandle_t SteamAPI_ISteamInventory_StartUpdateProperties( ISteamInventory* self ); +S_API bool SteamAPI_ISteamInventory_RemoveProperty( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName ); +S_API bool SteamAPI_ISteamInventory_SetPropertyString( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue ); +S_API bool SteamAPI_ISteamInventory_SetPropertyBool( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue ); +S_API bool SteamAPI_ISteamInventory_SetPropertyInt64( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue ); +S_API bool SteamAPI_ISteamInventory_SetPropertyFloat( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue ); +S_API bool SteamAPI_ISteamInventory_SubmitUpdateProperties( ISteamInventory* self, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle ); +S_API bool SteamAPI_ISteamInventory_InspectItem( ISteamInventory* self, SteamInventoryResult_t * pResultHandle, const char * pchItemToken ); + +// ISteamVideo + +// A versioned accessor is exported by the library +S_API ISteamVideo *SteamAPI_SteamVideo_v003(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamVideo(), but using this ensures that you are using a matching library. +inline ISteamVideo *SteamAPI_SteamVideo() { return SteamAPI_SteamVideo_v003(); } +S_API void SteamAPI_ISteamVideo_GetVideoURL( ISteamVideo* self, AppId_t unVideoAppID ); +S_API bool SteamAPI_ISteamVideo_IsBroadcasting( ISteamVideo* self, int * pnNumViewers ); +S_API void SteamAPI_ISteamVideo_GetOPFSettings( ISteamVideo* self, AppId_t unVideoAppID ); +S_API bool SteamAPI_ISteamVideo_GetOPFStringForApp( ISteamVideo* self, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize ); +S_API void SteamAPI_ISteamVideo_AddTimelineHighlightMarker( ISteamVideo* self, const char * pchIcon, const char * pchTitle, const char * pchDescription, uint32 unPriority ); +S_API void SteamAPI_ISteamVideo_AddTimelineTimestamp( ISteamVideo* self, const char * pchTitle ); +S_API void SteamAPI_ISteamVideo_AddTimelineRangeStart( ISteamVideo* self, const char * pchID, const char * pchTitle ); +S_API void SteamAPI_ISteamVideo_AddTimelineRangeEnd( ISteamVideo* self, const char * pchID ); +S_API void SteamAPI_ISteamVideo_SetTimelineGameMode( ISteamVideo* self, ETimelineGameMode eMode ); + +// ISteamParentalSettings + +// A versioned accessor is exported by the library +S_API ISteamParentalSettings *SteamAPI_SteamParentalSettings_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamParentalSettings(), but using this ensures that you are using a matching library. +inline ISteamParentalSettings *SteamAPI_SteamParentalSettings() { return SteamAPI_SteamParentalSettings_v001(); } +S_API bool SteamAPI_ISteamParentalSettings_BIsParentalLockEnabled( ISteamParentalSettings* self ); +S_API bool SteamAPI_ISteamParentalSettings_BIsParentalLockLocked( ISteamParentalSettings* self ); +S_API bool SteamAPI_ISteamParentalSettings_BIsAppBlocked( ISteamParentalSettings* self, AppId_t nAppID ); +S_API bool SteamAPI_ISteamParentalSettings_BIsAppInBlockList( ISteamParentalSettings* self, AppId_t nAppID ); +S_API bool SteamAPI_ISteamParentalSettings_BIsFeatureBlocked( ISteamParentalSettings* self, EParentalFeature eFeature ); +S_API bool SteamAPI_ISteamParentalSettings_BIsFeatureInBlockList( ISteamParentalSettings* self, EParentalFeature eFeature ); + +// ISteamRemotePlay + +// A versioned accessor is exported by the library +S_API ISteamRemotePlay *SteamAPI_SteamRemotePlay_v002(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamRemotePlay(), but using this ensures that you are using a matching library. +inline ISteamRemotePlay *SteamAPI_SteamRemotePlay() { return SteamAPI_SteamRemotePlay_v002(); } +S_API uint32 SteamAPI_ISteamRemotePlay_GetSessionCount( ISteamRemotePlay* self ); +S_API RemotePlaySessionID_t SteamAPI_ISteamRemotePlay_GetSessionID( ISteamRemotePlay* self, int iSessionIndex ); +S_API uint64_steamid SteamAPI_ISteamRemotePlay_GetSessionSteamID( ISteamRemotePlay* self, RemotePlaySessionID_t unSessionID ); +S_API const char * SteamAPI_ISteamRemotePlay_GetSessionClientName( ISteamRemotePlay* self, RemotePlaySessionID_t unSessionID ); +S_API ESteamDeviceFormFactor SteamAPI_ISteamRemotePlay_GetSessionClientFormFactor( ISteamRemotePlay* self, RemotePlaySessionID_t unSessionID ); +S_API bool SteamAPI_ISteamRemotePlay_BGetSessionClientResolution( ISteamRemotePlay* self, RemotePlaySessionID_t unSessionID, int * pnResolutionX, int * pnResolutionY ); +S_API bool SteamAPI_ISteamRemotePlay_BStartRemotePlayTogether( ISteamRemotePlay* self, bool bShowOverlay ); +S_API bool SteamAPI_ISteamRemotePlay_BSendRemotePlayTogetherInvite( ISteamRemotePlay* self, uint64_steamid steamIDFriend ); + +// ISteamNetworkingMessages + +// A versioned accessor is exported by the library +S_API ISteamNetworkingMessages *SteamAPI_SteamNetworkingMessages_SteamAPI_v002(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingMessages_SteamAPI(), but using this ensures that you are using a matching library. +inline ISteamNetworkingMessages *SteamAPI_SteamNetworkingMessages_SteamAPI() { return SteamAPI_SteamNetworkingMessages_SteamAPI_v002(); } + +// A versioned accessor is exported by the library +S_API ISteamNetworkingMessages *SteamAPI_SteamGameServerNetworkingMessages_SteamAPI_v002(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingMessages_SteamAPI(), but using this ensures that you are using a matching library. +inline ISteamNetworkingMessages *SteamAPI_SteamGameServerNetworkingMessages_SteamAPI() { return SteamAPI_SteamGameServerNetworkingMessages_SteamAPI_v002(); } +S_API EResult SteamAPI_ISteamNetworkingMessages_SendMessageToUser( ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel ); +S_API int SteamAPI_ISteamNetworkingMessages_ReceiveMessagesOnChannel( ISteamNetworkingMessages* self, int nLocalChannel, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages ); +S_API bool SteamAPI_ISteamNetworkingMessages_AcceptSessionWithUser( ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote ); +S_API bool SteamAPI_ISteamNetworkingMessages_CloseSessionWithUser( ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote ); +S_API bool SteamAPI_ISteamNetworkingMessages_CloseChannelWithUser( ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, int nLocalChannel ); +S_API ESteamNetworkingConnectionState SteamAPI_ISteamNetworkingMessages_GetSessionConnectionInfo( ISteamNetworkingMessages* self, const SteamNetworkingIdentity & identityRemote, SteamNetConnectionInfo_t * pConnectionInfo, SteamNetConnectionRealTimeStatus_t * pQuickStatus ); + +// ISteamNetworkingSockets + +// A versioned accessor is exported by the library +S_API ISteamNetworkingSockets *SteamAPI_SteamNetworkingSockets_SteamAPI_v012(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingSockets_SteamAPI(), but using this ensures that you are using a matching library. +inline ISteamNetworkingSockets *SteamAPI_SteamNetworkingSockets_SteamAPI() { return SteamAPI_SteamNetworkingSockets_SteamAPI_v012(); } + +// A versioned accessor is exported by the library +S_API ISteamNetworkingSockets *SteamAPI_SteamGameServerNetworkingSockets_SteamAPI_v012(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingSockets_SteamAPI(), but using this ensures that you are using a matching library. +inline ISteamNetworkingSockets *SteamAPI_SteamGameServerNetworkingSockets_SteamAPI() { return SteamAPI_SteamGameServerNetworkingSockets_SteamAPI_v012(); } +S_API HSteamListenSocket SteamAPI_ISteamNetworkingSockets_CreateListenSocketIP( ISteamNetworkingSockets* self, const SteamNetworkingIPAddr & localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API HSteamNetConnection SteamAPI_ISteamNetworkingSockets_ConnectByIPAddress( ISteamNetworkingSockets* self, const SteamNetworkingIPAddr & address, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API HSteamListenSocket SteamAPI_ISteamNetworkingSockets_CreateListenSocketP2P( ISteamNetworkingSockets* self, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API HSteamNetConnection SteamAPI_ISteamNetworkingSockets_ConnectP2P( ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API EResult SteamAPI_ISteamNetworkingSockets_AcceptConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn ); +S_API bool SteamAPI_ISteamNetworkingSockets_CloseConnection( ISteamNetworkingSockets* self, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger ); +S_API bool SteamAPI_ISteamNetworkingSockets_CloseListenSocket( ISteamNetworkingSockets* self, HSteamListenSocket hSocket ); +S_API bool SteamAPI_ISteamNetworkingSockets_SetConnectionUserData( ISteamNetworkingSockets* self, HSteamNetConnection hPeer, int64 nUserData ); +S_API int64 SteamAPI_ISteamNetworkingSockets_GetConnectionUserData( ISteamNetworkingSockets* self, HSteamNetConnection hPeer ); +S_API void SteamAPI_ISteamNetworkingSockets_SetConnectionName( ISteamNetworkingSockets* self, HSteamNetConnection hPeer, const char * pszName ); +S_API bool SteamAPI_ISteamNetworkingSockets_GetConnectionName( ISteamNetworkingSockets* self, HSteamNetConnection hPeer, char * pszName, int nMaxLen ); +S_API EResult SteamAPI_ISteamNetworkingSockets_SendMessageToConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber ); +S_API void SteamAPI_ISteamNetworkingSockets_SendMessages( ISteamNetworkingSockets* self, int nMessages, SteamNetworkingMessage_t *const * pMessages, int64 * pOutMessageNumberOrResult ); +S_API EResult SteamAPI_ISteamNetworkingSockets_FlushMessagesOnConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn ); +S_API int SteamAPI_ISteamNetworkingSockets_ReceiveMessagesOnConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages ); +S_API bool SteamAPI_ISteamNetworkingSockets_GetConnectionInfo( ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo ); +S_API EResult SteamAPI_ISteamNetworkingSockets_GetConnectionRealTimeStatus( ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t * pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t * pLanes ); +S_API int SteamAPI_ISteamNetworkingSockets_GetDetailedConnectionStatus( ISteamNetworkingSockets* self, HSteamNetConnection hConn, char * pszBuf, int cbBuf ); +S_API bool SteamAPI_ISteamNetworkingSockets_GetListenSocketAddress( ISteamNetworkingSockets* self, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address ); +S_API bool SteamAPI_ISteamNetworkingSockets_CreateSocketPair( ISteamNetworkingSockets* self, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2 ); +S_API EResult SteamAPI_ISteamNetworkingSockets_ConfigureConnectionLanes( ISteamNetworkingSockets* self, HSteamNetConnection hConn, int nNumLanes, const int * pLanePriorities, const uint16 * pLaneWeights ); +S_API bool SteamAPI_ISteamNetworkingSockets_GetIdentity( ISteamNetworkingSockets* self, SteamNetworkingIdentity * pIdentity ); +S_API ESteamNetworkingAvailability SteamAPI_ISteamNetworkingSockets_InitAuthentication( ISteamNetworkingSockets* self ); +S_API ESteamNetworkingAvailability SteamAPI_ISteamNetworkingSockets_GetAuthenticationStatus( ISteamNetworkingSockets* self, SteamNetAuthenticationStatus_t * pDetails ); +S_API HSteamNetPollGroup SteamAPI_ISteamNetworkingSockets_CreatePollGroup( ISteamNetworkingSockets* self ); +S_API bool SteamAPI_ISteamNetworkingSockets_DestroyPollGroup( ISteamNetworkingSockets* self, HSteamNetPollGroup hPollGroup ); +S_API bool SteamAPI_ISteamNetworkingSockets_SetConnectionPollGroup( ISteamNetworkingSockets* self, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup ); +S_API int SteamAPI_ISteamNetworkingSockets_ReceiveMessagesOnPollGroup( ISteamNetworkingSockets* self, HSteamNetPollGroup hPollGroup, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages ); +S_API bool SteamAPI_ISteamNetworkingSockets_ReceivedRelayAuthTicket( ISteamNetworkingSockets* self, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket ); +S_API int SteamAPI_ISteamNetworkingSockets_FindRelayAuthTicketForServer( ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket ); +S_API HSteamNetConnection SteamAPI_ISteamNetworkingSockets_ConnectToHostedDedicatedServer( ISteamNetworkingSockets* self, const SteamNetworkingIdentity & identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API uint16 SteamAPI_ISteamNetworkingSockets_GetHostedDedicatedServerPort( ISteamNetworkingSockets* self ); +S_API SteamNetworkingPOPID SteamAPI_ISteamNetworkingSockets_GetHostedDedicatedServerPOPID( ISteamNetworkingSockets* self ); +S_API EResult SteamAPI_ISteamNetworkingSockets_GetHostedDedicatedServerAddress( ISteamNetworkingSockets* self, SteamDatagramHostedAddress * pRouting ); +S_API HSteamListenSocket SteamAPI_ISteamNetworkingSockets_CreateHostedDedicatedServerListenSocket( ISteamNetworkingSockets* self, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API EResult SteamAPI_ISteamNetworkingSockets_GetGameCoordinatorServerLogin( ISteamNetworkingSockets* self, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob ); +S_API HSteamNetConnection SteamAPI_ISteamNetworkingSockets_ConnectP2PCustomSignaling( ISteamNetworkingSockets* self, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API bool SteamAPI_ISteamNetworkingSockets_ReceivedP2PCustomSignal( ISteamNetworkingSockets* self, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext ); +S_API bool SteamAPI_ISteamNetworkingSockets_GetCertificateRequest( ISteamNetworkingSockets* self, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg & errMsg ); +S_API bool SteamAPI_ISteamNetworkingSockets_SetCertificate( ISteamNetworkingSockets* self, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg & errMsg ); +S_API void SteamAPI_ISteamNetworkingSockets_ResetIdentity( ISteamNetworkingSockets* self, const SteamNetworkingIdentity * pIdentity ); +S_API void SteamAPI_ISteamNetworkingSockets_RunCallbacks( ISteamNetworkingSockets* self ); +S_API bool SteamAPI_ISteamNetworkingSockets_BeginAsyncRequestFakeIP( ISteamNetworkingSockets* self, int nNumPorts ); +S_API void SteamAPI_ISteamNetworkingSockets_GetFakeIP( ISteamNetworkingSockets* self, int idxFirstPort, SteamNetworkingFakeIPResult_t * pInfo ); +S_API HSteamListenSocket SteamAPI_ISteamNetworkingSockets_CreateListenSocketP2PFakeIP( ISteamNetworkingSockets* self, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t * pOptions ); +S_API EResult SteamAPI_ISteamNetworkingSockets_GetRemoteFakeIPForConnection( ISteamNetworkingSockets* self, HSteamNetConnection hConn, SteamNetworkingIPAddr * pOutAddr ); +S_API ISteamNetworkingFakeUDPPort * SteamAPI_ISteamNetworkingSockets_CreateFakeUDPPort( ISteamNetworkingSockets* self, int idxFakeServerPort ); + +// ISteamNetworkingUtils + +// A versioned accessor is exported by the library +S_API ISteamNetworkingUtils *SteamAPI_SteamNetworkingUtils_SteamAPI_v004(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingUtils_SteamAPI(), but using this ensures that you are using a matching library. +inline ISteamNetworkingUtils *SteamAPI_SteamNetworkingUtils_SteamAPI() { return SteamAPI_SteamNetworkingUtils_SteamAPI_v004(); } +S_API SteamNetworkingMessage_t * SteamAPI_ISteamNetworkingUtils_AllocateMessage( ISteamNetworkingUtils* self, int cbAllocateBuffer ); +S_API void SteamAPI_ISteamNetworkingUtils_InitRelayNetworkAccess( ISteamNetworkingUtils* self ); +S_API ESteamNetworkingAvailability SteamAPI_ISteamNetworkingUtils_GetRelayNetworkStatus( ISteamNetworkingUtils* self, SteamRelayNetworkStatus_t * pDetails ); +S_API float SteamAPI_ISteamNetworkingUtils_GetLocalPingLocation( ISteamNetworkingUtils* self, SteamNetworkPingLocation_t & result ); +S_API int SteamAPI_ISteamNetworkingUtils_EstimatePingTimeBetweenTwoLocations( ISteamNetworkingUtils* self, const SteamNetworkPingLocation_t & location1, const SteamNetworkPingLocation_t & location2 ); +S_API int SteamAPI_ISteamNetworkingUtils_EstimatePingTimeFromLocalHost( ISteamNetworkingUtils* self, const SteamNetworkPingLocation_t & remoteLocation ); +S_API void SteamAPI_ISteamNetworkingUtils_ConvertPingLocationToString( ISteamNetworkingUtils* self, const SteamNetworkPingLocation_t & location, char * pszBuf, int cchBufSize ); +S_API bool SteamAPI_ISteamNetworkingUtils_ParsePingLocationString( ISteamNetworkingUtils* self, const char * pszString, SteamNetworkPingLocation_t & result ); +S_API bool SteamAPI_ISteamNetworkingUtils_CheckPingDataUpToDate( ISteamNetworkingUtils* self, float flMaxAgeSeconds ); +S_API int SteamAPI_ISteamNetworkingUtils_GetPingToDataCenter( ISteamNetworkingUtils* self, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP ); +S_API int SteamAPI_ISteamNetworkingUtils_GetDirectPingToPOP( ISteamNetworkingUtils* self, SteamNetworkingPOPID popID ); +S_API int SteamAPI_ISteamNetworkingUtils_GetPOPCount( ISteamNetworkingUtils* self ); +S_API int SteamAPI_ISteamNetworkingUtils_GetPOPList( ISteamNetworkingUtils* self, SteamNetworkingPOPID * list, int nListSz ); +S_API SteamNetworkingMicroseconds SteamAPI_ISteamNetworkingUtils_GetLocalTimestamp( ISteamNetworkingUtils* self ); +S_API void SteamAPI_ISteamNetworkingUtils_SetDebugOutputFunction( ISteamNetworkingUtils* self, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc ); +S_API bool SteamAPI_ISteamNetworkingUtils_IsFakeIPv4( ISteamNetworkingUtils* self, uint32 nIPv4 ); +S_API ESteamNetworkingFakeIPType SteamAPI_ISteamNetworkingUtils_GetIPv4FakeIPType( ISteamNetworkingUtils* self, uint32 nIPv4 ); +S_API EResult SteamAPI_ISteamNetworkingUtils_GetRealIdentityForFakeIP( ISteamNetworkingUtils* self, const SteamNetworkingIPAddr & fakeIP, SteamNetworkingIdentity * pOutRealIdentity ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValueInt32( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, int32 val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValueFloat( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, float val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValueString( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, const char * val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValuePtr( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, void * val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueInt32( ISteamNetworkingUtils* self, HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, int32 val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueFloat( ISteamNetworkingUtils* self, HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, float val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetConnectionConfigValueString( ISteamNetworkingUtils* self, HSteamNetConnection hConn, ESteamNetworkingConfigValue eValue, const char * val ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetConnectionStatusChanged( ISteamNetworkingUtils* self, FnSteamNetConnectionStatusChanged fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetAuthenticationStatusChanged( ISteamNetworkingUtils* self, FnSteamNetAuthenticationStatusChanged fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamRelayNetworkStatusChanged( ISteamNetworkingUtils* self, FnSteamRelayNetworkStatusChanged fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_FakeIPResult( ISteamNetworkingUtils* self, FnSteamNetworkingFakeIPResult fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionRequest( ISteamNetworkingUtils* self, FnSteamNetworkingMessagesSessionRequest fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_MessagesSessionFailed( ISteamNetworkingUtils* self, FnSteamNetworkingMessagesSessionFailed fnCallback ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetConfigValue( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg ); +S_API bool SteamAPI_ISteamNetworkingUtils_SetConfigValueStruct( ISteamNetworkingUtils* self, const SteamNetworkingConfigValue_t & opt, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj ); +S_API ESteamNetworkingGetConfigValueResult SteamAPI_ISteamNetworkingUtils_GetConfigValue( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult ); +S_API const char * SteamAPI_ISteamNetworkingUtils_GetConfigValueInfo( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope ); +S_API ESteamNetworkingConfigValue SteamAPI_ISteamNetworkingUtils_IterateGenericEditableConfigValues( ISteamNetworkingUtils* self, ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars ); +S_API void SteamAPI_ISteamNetworkingUtils_SteamNetworkingIPAddr_ToString( ISteamNetworkingUtils* self, const SteamNetworkingIPAddr & addr, char * buf, uint32 cbBuf, bool bWithPort ); +S_API bool SteamAPI_ISteamNetworkingUtils_SteamNetworkingIPAddr_ParseString( ISteamNetworkingUtils* self, SteamNetworkingIPAddr * pAddr, const char * pszStr ); +S_API ESteamNetworkingFakeIPType SteamAPI_ISteamNetworkingUtils_SteamNetworkingIPAddr_GetFakeIPType( ISteamNetworkingUtils* self, const SteamNetworkingIPAddr & addr ); +S_API void SteamAPI_ISteamNetworkingUtils_SteamNetworkingIdentity_ToString( ISteamNetworkingUtils* self, const SteamNetworkingIdentity & identity, char * buf, uint32 cbBuf ); +S_API bool SteamAPI_ISteamNetworkingUtils_SteamNetworkingIdentity_ParseString( ISteamNetworkingUtils* self, SteamNetworkingIdentity * pIdentity, const char * pszStr ); + +// ISteamGameServer + +// A versioned accessor is exported by the library +S_API ISteamGameServer *SteamAPI_SteamGameServer_v015(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServer(), but using this ensures that you are using a matching library. +inline ISteamGameServer *SteamAPI_SteamGameServer() { return SteamAPI_SteamGameServer_v015(); } +S_API void SteamAPI_ISteamGameServer_SetProduct( ISteamGameServer* self, const char * pszProduct ); +S_API void SteamAPI_ISteamGameServer_SetGameDescription( ISteamGameServer* self, const char * pszGameDescription ); +S_API void SteamAPI_ISteamGameServer_SetModDir( ISteamGameServer* self, const char * pszModDir ); +S_API void SteamAPI_ISteamGameServer_SetDedicatedServer( ISteamGameServer* self, bool bDedicated ); +S_API void SteamAPI_ISteamGameServer_LogOn( ISteamGameServer* self, const char * pszToken ); +S_API void SteamAPI_ISteamGameServer_LogOnAnonymous( ISteamGameServer* self ); +S_API void SteamAPI_ISteamGameServer_LogOff( ISteamGameServer* self ); +S_API bool SteamAPI_ISteamGameServer_BLoggedOn( ISteamGameServer* self ); +S_API bool SteamAPI_ISteamGameServer_BSecure( ISteamGameServer* self ); +S_API uint64_steamid SteamAPI_ISteamGameServer_GetSteamID( ISteamGameServer* self ); +S_API bool SteamAPI_ISteamGameServer_WasRestartRequested( ISteamGameServer* self ); +S_API void SteamAPI_ISteamGameServer_SetMaxPlayerCount( ISteamGameServer* self, int cPlayersMax ); +S_API void SteamAPI_ISteamGameServer_SetBotPlayerCount( ISteamGameServer* self, int cBotplayers ); +S_API void SteamAPI_ISteamGameServer_SetServerName( ISteamGameServer* self, const char * pszServerName ); +S_API void SteamAPI_ISteamGameServer_SetMapName( ISteamGameServer* self, const char * pszMapName ); +S_API void SteamAPI_ISteamGameServer_SetPasswordProtected( ISteamGameServer* self, bool bPasswordProtected ); +S_API void SteamAPI_ISteamGameServer_SetSpectatorPort( ISteamGameServer* self, uint16 unSpectatorPort ); +S_API void SteamAPI_ISteamGameServer_SetSpectatorServerName( ISteamGameServer* self, const char * pszSpectatorServerName ); +S_API void SteamAPI_ISteamGameServer_ClearAllKeyValues( ISteamGameServer* self ); +S_API void SteamAPI_ISteamGameServer_SetKeyValue( ISteamGameServer* self, const char * pKey, const char * pValue ); +S_API void SteamAPI_ISteamGameServer_SetGameTags( ISteamGameServer* self, const char * pchGameTags ); +S_API void SteamAPI_ISteamGameServer_SetGameData( ISteamGameServer* self, const char * pchGameData ); +S_API void SteamAPI_ISteamGameServer_SetRegion( ISteamGameServer* self, const char * pszRegion ); +S_API void SteamAPI_ISteamGameServer_SetAdvertiseServerActive( ISteamGameServer* self, bool bActive ); +S_API HAuthTicket SteamAPI_ISteamGameServer_GetAuthSessionTicket( ISteamGameServer* self, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSnid ); +S_API EBeginAuthSessionResult SteamAPI_ISteamGameServer_BeginAuthSession( ISteamGameServer* self, const void * pAuthTicket, int cbAuthTicket, uint64_steamid steamID ); +S_API void SteamAPI_ISteamGameServer_EndAuthSession( ISteamGameServer* self, uint64_steamid steamID ); +S_API void SteamAPI_ISteamGameServer_CancelAuthTicket( ISteamGameServer* self, HAuthTicket hAuthTicket ); +S_API EUserHasLicenseForAppResult SteamAPI_ISteamGameServer_UserHasLicenseForApp( ISteamGameServer* self, uint64_steamid steamID, AppId_t appID ); +S_API bool SteamAPI_ISteamGameServer_RequestUserGroupStatus( ISteamGameServer* self, uint64_steamid steamIDUser, uint64_steamid steamIDGroup ); +S_API void SteamAPI_ISteamGameServer_GetGameplayStats( ISteamGameServer* self ); +S_API SteamAPICall_t SteamAPI_ISteamGameServer_GetServerReputation( ISteamGameServer* self ); +S_API SteamIPAddress_t SteamAPI_ISteamGameServer_GetPublicIP( ISteamGameServer* self ); +S_API bool SteamAPI_ISteamGameServer_HandleIncomingPacket( ISteamGameServer* self, const void * pData, int cbData, uint32 srcIP, uint16 srcPort ); +S_API int SteamAPI_ISteamGameServer_GetNextOutgoingPacket( ISteamGameServer* self, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort ); +S_API SteamAPICall_t SteamAPI_ISteamGameServer_AssociateWithClan( ISteamGameServer* self, uint64_steamid steamIDClan ); +S_API SteamAPICall_t SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility( ISteamGameServer* self, uint64_steamid steamIDNewPlayer ); +S_API bool SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate_DEPRECATED( ISteamGameServer* self, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser ); +S_API uint64_steamid SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection( ISteamGameServer* self ); +S_API void SteamAPI_ISteamGameServer_SendUserDisconnect_DEPRECATED( ISteamGameServer* self, uint64_steamid steamIDUser ); +S_API bool SteamAPI_ISteamGameServer_BUpdateUserData( ISteamGameServer* self, uint64_steamid steamIDUser, const char * pchPlayerName, uint32 uScore ); + +// ISteamGameServerStats + +// A versioned accessor is exported by the library +S_API ISteamGameServerStats *SteamAPI_SteamGameServerStats_v001(); +// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerStats(), but using this ensures that you are using a matching library. +inline ISteamGameServerStats *SteamAPI_SteamGameServerStats() { return SteamAPI_SteamGameServerStats_v001(); } +S_API SteamAPICall_t SteamAPI_ISteamGameServerStats_RequestUserStats( ISteamGameServerStats* self, uint64_steamid steamIDUser ); +S_API bool SteamAPI_ISteamGameServerStats_GetUserStatInt32( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, int32 * pData ); +S_API bool SteamAPI_ISteamGameServerStats_GetUserStatFloat( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, float * pData ); +S_API bool SteamAPI_ISteamGameServerStats_GetUserAchievement( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, bool * pbAchieved ); +S_API bool SteamAPI_ISteamGameServerStats_SetUserStatInt32( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, int32 nData ); +S_API bool SteamAPI_ISteamGameServerStats_SetUserStatFloat( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, float fData ); +S_API bool SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName, float flCountThisSession, double dSessionLength ); +S_API bool SteamAPI_ISteamGameServerStats_SetUserAchievement( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName ); +S_API bool SteamAPI_ISteamGameServerStats_ClearUserAchievement( ISteamGameServerStats* self, uint64_steamid steamIDUser, const char * pchName ); +S_API SteamAPICall_t SteamAPI_ISteamGameServerStats_StoreUserStats( ISteamGameServerStats* self, uint64_steamid steamIDUser ); + +// ISteamNetworkingFakeUDPPort +S_API void SteamAPI_ISteamNetworkingFakeUDPPort_DestroyFakeUDPPort( ISteamNetworkingFakeUDPPort* self ); +S_API EResult SteamAPI_ISteamNetworkingFakeUDPPort_SendMessageToFakeIP( ISteamNetworkingFakeUDPPort* self, const SteamNetworkingIPAddr & remoteAddress, const void * pData, uint32 cbData, int nSendFlags ); +S_API int SteamAPI_ISteamNetworkingFakeUDPPort_ReceiveMessages( ISteamNetworkingFakeUDPPort* self, SteamNetworkingMessage_t ** ppOutMessages, int nMaxMessages ); +S_API void SteamAPI_ISteamNetworkingFakeUDPPort_ScheduleCleanup( ISteamNetworkingFakeUDPPort* self, const SteamNetworkingIPAddr & remoteAddress ); + +// SteamIPAddress_t +S_API bool SteamAPI_SteamIPAddress_t_IsSet( SteamIPAddress_t* self ); + +// MatchMakingKeyValuePair_t +S_API void SteamAPI_MatchMakingKeyValuePair_t_Construct( MatchMakingKeyValuePair_t* self ); + +// servernetadr_t +S_API void SteamAPI_servernetadr_t_Construct( servernetadr_t* self ); +S_API void SteamAPI_servernetadr_t_Init( servernetadr_t* self, unsigned int ip, uint16 usQueryPort, uint16 usConnectionPort ); +S_API uint16 SteamAPI_servernetadr_t_GetQueryPort( servernetadr_t* self ); +S_API void SteamAPI_servernetadr_t_SetQueryPort( servernetadr_t* self, uint16 usPort ); +S_API uint16 SteamAPI_servernetadr_t_GetConnectionPort( servernetadr_t* self ); +S_API void SteamAPI_servernetadr_t_SetConnectionPort( servernetadr_t* self, uint16 usPort ); +S_API uint32 SteamAPI_servernetadr_t_GetIP( servernetadr_t* self ); +S_API void SteamAPI_servernetadr_t_SetIP( servernetadr_t* self, uint32 unIP ); +S_API const char * SteamAPI_servernetadr_t_GetConnectionAddressString( servernetadr_t* self ); +S_API const char * SteamAPI_servernetadr_t_GetQueryAddressString( servernetadr_t* self ); +S_API bool SteamAPI_servernetadr_t_IsLessThan( servernetadr_t* self, const servernetadr_t & netadr ); +S_API void SteamAPI_servernetadr_t_Assign( servernetadr_t* self, const servernetadr_t & that ); + +// gameserveritem_t +S_API void SteamAPI_gameserveritem_t_Construct( gameserveritem_t* self ); +S_API const char * SteamAPI_gameserveritem_t_GetName( gameserveritem_t* self ); +S_API void SteamAPI_gameserveritem_t_SetName( gameserveritem_t* self, const char * pName ); + +// SteamNetworkingIPAddr +S_API void SteamAPI_SteamNetworkingIPAddr_Clear( SteamNetworkingIPAddr* self ); +S_API bool SteamAPI_SteamNetworkingIPAddr_IsIPv6AllZeros( SteamNetworkingIPAddr* self ); +S_API void SteamAPI_SteamNetworkingIPAddr_SetIPv6( SteamNetworkingIPAddr* self, const uint8 * ipv6, uint16 nPort ); +S_API void SteamAPI_SteamNetworkingIPAddr_SetIPv4( SteamNetworkingIPAddr* self, uint32 nIP, uint16 nPort ); +S_API bool SteamAPI_SteamNetworkingIPAddr_IsIPv4( SteamNetworkingIPAddr* self ); +S_API uint32 SteamAPI_SteamNetworkingIPAddr_GetIPv4( SteamNetworkingIPAddr* self ); +S_API void SteamAPI_SteamNetworkingIPAddr_SetIPv6LocalHost( SteamNetworkingIPAddr* self, uint16 nPort ); +S_API bool SteamAPI_SteamNetworkingIPAddr_IsLocalHost( SteamNetworkingIPAddr* self ); +S_API void SteamAPI_SteamNetworkingIPAddr_ToString( SteamNetworkingIPAddr* self, char * buf, uint32 cbBuf, bool bWithPort ); +S_API bool SteamAPI_SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr* self, const char * pszStr ); +S_API bool SteamAPI_SteamNetworkingIPAddr_IsEqualTo( SteamNetworkingIPAddr* self, const SteamNetworkingIPAddr & x ); +S_API ESteamNetworkingFakeIPType SteamAPI_SteamNetworkingIPAddr_GetFakeIPType( SteamNetworkingIPAddr* self ); +S_API bool SteamAPI_SteamNetworkingIPAddr_IsFakeIP( SteamNetworkingIPAddr* self ); + +// SteamNetworkingIdentity +S_API void SteamAPI_SteamNetworkingIdentity_Clear( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_IsInvalid( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetSteamID( SteamNetworkingIdentity* self, uint64_steamid steamID ); +S_API uint64_steamid SteamAPI_SteamNetworkingIdentity_GetSteamID( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetSteamID64( SteamNetworkingIdentity* self, uint64 steamID ); +S_API uint64 SteamAPI_SteamNetworkingIdentity_GetSteamID64( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_SetXboxPairwiseID( SteamNetworkingIdentity* self, const char * pszString ); +S_API const char * SteamAPI_SteamNetworkingIdentity_GetXboxPairwiseID( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetPSNID( SteamNetworkingIdentity* self, uint64 id ); +S_API uint64 SteamAPI_SteamNetworkingIdentity_GetPSNID( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetStadiaID( SteamNetworkingIdentity* self, uint64 id ); +S_API uint64 SteamAPI_SteamNetworkingIdentity_GetStadiaID( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetIPAddr( SteamNetworkingIdentity* self, const SteamNetworkingIPAddr & addr ); +S_API const SteamNetworkingIPAddr * SteamAPI_SteamNetworkingIdentity_GetIPAddr( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetIPv4Addr( SteamNetworkingIdentity* self, uint32 nIPv4, uint16 nPort ); +S_API uint32 SteamAPI_SteamNetworkingIdentity_GetIPv4( SteamNetworkingIdentity* self ); +S_API ESteamNetworkingFakeIPType SteamAPI_SteamNetworkingIdentity_GetFakeIPType( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_IsFakeIP( SteamNetworkingIdentity* self ); +S_API void SteamAPI_SteamNetworkingIdentity_SetLocalHost( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_IsLocalHost( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_SetGenericString( SteamNetworkingIdentity* self, const char * pszString ); +S_API const char * SteamAPI_SteamNetworkingIdentity_GetGenericString( SteamNetworkingIdentity* self ); +S_API bool SteamAPI_SteamNetworkingIdentity_SetGenericBytes( SteamNetworkingIdentity* self, const void * data, uint32 cbLen ); +S_API const uint8 * SteamAPI_SteamNetworkingIdentity_GetGenericBytes( SteamNetworkingIdentity* self, int & cbLen ); +S_API bool SteamAPI_SteamNetworkingIdentity_IsEqualTo( SteamNetworkingIdentity* self, const SteamNetworkingIdentity & x ); +S_API void SteamAPI_SteamNetworkingIdentity_ToString( SteamNetworkingIdentity* self, char * buf, uint32 cbBuf ); +S_API bool SteamAPI_SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity* self, const char * pszStr ); + +// SteamNetworkingMessage_t +S_API void SteamAPI_SteamNetworkingMessage_t_Release( SteamNetworkingMessage_t* self ); + +// SteamNetworkingConfigValue_t +S_API void SteamAPI_SteamNetworkingConfigValue_t_SetInt32( SteamNetworkingConfigValue_t* self, ESteamNetworkingConfigValue eVal, int32_t data ); +S_API void SteamAPI_SteamNetworkingConfigValue_t_SetInt64( SteamNetworkingConfigValue_t* self, ESteamNetworkingConfigValue eVal, int64_t data ); +S_API void SteamAPI_SteamNetworkingConfigValue_t_SetFloat( SteamNetworkingConfigValue_t* self, ESteamNetworkingConfigValue eVal, float data ); +S_API void SteamAPI_SteamNetworkingConfigValue_t_SetPtr( SteamNetworkingConfigValue_t* self, ESteamNetworkingConfigValue eVal, void * data ); +S_API void SteamAPI_SteamNetworkingConfigValue_t_SetString( SteamNetworkingConfigValue_t* self, ESteamNetworkingConfigValue eVal, const char * data ); + +// SteamDatagramHostedAddress +S_API void SteamAPI_SteamDatagramHostedAddress_Clear( SteamDatagramHostedAddress* self ); +S_API SteamNetworkingPOPID SteamAPI_SteamDatagramHostedAddress_GetPopID( SteamDatagramHostedAddress* self ); +S_API void SteamAPI_SteamDatagramHostedAddress_SetDevAddress( SteamDatagramHostedAddress* self, uint32 nIP, uint16 nPort, SteamNetworkingPOPID popid ); +#endif // STEAMAPIFLAT_H diff --git a/lsteamclient/steamworks_sdk_158/steam_api_internal.h b/lsteamclient/steamworks_sdk_158/steam_api_internal.h new file mode 100644 index 000000000..282517439 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steam_api_internal.h @@ -0,0 +1,399 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Internal implementation details of the steamworks SDK. +// +// You should be able to figure out how to use the SDK by reading +// steam_api_common.h, and should not need to understand anything in here. +// +//----------------------------------------------------------------------------- + +#ifdef STEAM_CALLBACK_BEGIN +#error "This file should only be included from steam_api_common.h" +#endif + +#include + +// Internal functions used to locate/create interfaces +S_API HSteamPipe S_CALLTYPE SteamAPI_GetHSteamPipe(); +S_API HSteamUser S_CALLTYPE SteamAPI_GetHSteamUser(); +S_API HSteamPipe S_CALLTYPE SteamGameServer_GetHSteamPipe(); +S_API HSteamUser S_CALLTYPE SteamGameServer_GetHSteamUser(); +S_API void *S_CALLTYPE SteamInternal_ContextInit( void *pContextInitData ); +S_API void *S_CALLTYPE SteamInternal_CreateInterface( const char *ver ); +S_API void *S_CALLTYPE SteamInternal_FindOrCreateUserInterface( HSteamUser hSteamUser, const char *pszVersion ); +S_API void *S_CALLTYPE SteamInternal_FindOrCreateGameServerInterface( HSteamUser hSteamUser, const char *pszVersion ); + +// Macro used to define a type-safe accessor that will always return the version +// of the interface of the *header file* you are compiling with! We also bounce +// through a safety function that checks for interfaces being created or destroyed. +// +// SteamInternal_ContextInit takes a base pointer for the equivalent of +// struct { void (*pFn)(void* pCtx); uintptr_t counter; void *ptr; } +// Do not change layout or add non-pointer aligned data! +#define STEAM_DEFINE_INTERFACE_ACCESSOR( type, name, expr, kind, version ) \ + inline void S_CALLTYPE SteamInternal_Init_ ## name( type *p ) { *p = (type)( expr ); } \ + STEAM_CLANG_ATTR( "interface_accessor_kind:" kind ";interface_accessor_version:" version ";" ) \ + inline type name() { \ + static void* s_CallbackCounterAndContext[ 3 ] = { (void*)&SteamInternal_Init_ ## name, 0, 0 }; \ + return *(type*)SteamInternal_ContextInit( s_CallbackCounterAndContext ); \ + } + +#define STEAM_DEFINE_USER_INTERFACE_ACCESSOR( type, name, version ) \ + STEAM_DEFINE_INTERFACE_ACCESSOR( type, name, SteamInternal_FindOrCreateUserInterface( SteamAPI_GetHSteamUser(), version ), "user", version ) +#define STEAM_DEFINE_GAMESERVER_INTERFACE_ACCESSOR( type, name, version ) \ + STEAM_DEFINE_INTERFACE_ACCESSOR( type, name, SteamInternal_FindOrCreateGameServerInterface( SteamGameServer_GetHSteamUser(), version ), "gameserver", version ) + +// +// Internal stuff used for the standard, higher-level callback mechanism +// + +// Internal functions used by the utility CCallback objects to receive callbacks +S_API void S_CALLTYPE SteamAPI_RegisterCallback( class CCallbackBase *pCallback, int iCallback ); +S_API void S_CALLTYPE SteamAPI_UnregisterCallback( class CCallbackBase *pCallback ); +// Internal functions used by the utility CCallResult objects to receive async call results +S_API void S_CALLTYPE SteamAPI_RegisterCallResult( class CCallbackBase *pCallback, SteamAPICall_t hAPICall ); +S_API void S_CALLTYPE SteamAPI_UnregisterCallResult( class CCallbackBase *pCallback, SteamAPICall_t hAPICall ); + +#define _STEAM_CALLBACK_AUTO_HOOK( thisclass, func, param ) +#define _STEAM_CALLBACK_HELPER( _1, _2, SELECTED, ... ) _STEAM_CALLBACK_##SELECTED +#define _STEAM_CALLBACK_SELECT( X, Y ) _STEAM_CALLBACK_HELPER X Y +#define _STEAM_CALLBACK_3( extra_code, thisclass, func, param ) \ + struct CCallbackInternal_ ## func : private CCallbackImpl< sizeof( param ) > { \ + CCallbackInternal_ ## func () { extra_code SteamAPI_RegisterCallback( this, param::k_iCallback ); } \ + CCallbackInternal_ ## func ( const CCallbackInternal_ ## func & ) { extra_code SteamAPI_RegisterCallback( this, param::k_iCallback ); } \ + CCallbackInternal_ ## func & operator=( const CCallbackInternal_ ## func & ) { return *this; } \ + private: virtual void Run( void *pvParam ) { _STEAM_CALLBACK_AUTO_HOOK( thisclass, func, param ) \ + thisclass *pOuter = reinterpret_cast( reinterpret_cast(this) - offsetof( thisclass, m_steamcallback_ ## func ) ); \ + pOuter->func( reinterpret_cast( pvParam ) ); \ + } \ + } m_steamcallback_ ## func ; void func( param *pParam ) +#define _STEAM_CALLBACK_4( _, thisclass, func, param, var ) \ + CCallback< thisclass, param > var; void func( param *pParam ) +#define _STEAM_CALLBACK_GS( _, thisclass, func, param, var ) \ + CCallback< thisclass, param, true > var; void func( param *pParam ) + +#ifndef API_GEN + +template< class T, class P > +inline CCallResult::CCallResult() +{ + m_hAPICall = k_uAPICallInvalid; + m_pObj = nullptr; + m_Func = nullptr; + m_iCallback = P::k_iCallback; +} + +template< class T, class P > +inline void CCallResult::Set( SteamAPICall_t hAPICall, T *p, func_t func ) +{ + if ( m_hAPICall ) + SteamAPI_UnregisterCallResult( this, m_hAPICall ); + + m_hAPICall = hAPICall; + m_pObj = p; + m_Func = func; + + if ( hAPICall ) + SteamAPI_RegisterCallResult( this, hAPICall ); +} + +template< class T, class P > +inline bool CCallResult::IsActive() const +{ + return (m_hAPICall != k_uAPICallInvalid); +} + +template< class T, class P > +inline void CCallResult::Cancel() +{ + if ( m_hAPICall != k_uAPICallInvalid ) + { + SteamAPI_UnregisterCallResult( this, m_hAPICall ); + m_hAPICall = k_uAPICallInvalid; + } +} + +template< class T, class P > +inline CCallResult::~CCallResult() +{ + Cancel(); +} + +template< class T, class P > +inline void CCallResult::Run( void *pvParam ) +{ + m_hAPICall = k_uAPICallInvalid; // caller unregisters for us + (m_pObj->*m_Func)((P *)pvParam, false); +} + +template< class T, class P > +inline void CCallResult::Run( void *pvParam, bool bIOFailure, SteamAPICall_t hSteamAPICall ) +{ + if ( hSteamAPICall == m_hAPICall ) + { + m_hAPICall = k_uAPICallInvalid; // caller unregisters for us + (m_pObj->*m_Func)((P *)pvParam, bIOFailure); + } +} + +template< class T, class P, bool bGameserver > +inline CCallback< T, P, bGameserver >::CCallback( T *pObj, func_t func ) + : m_pObj( nullptr ), m_Func( nullptr ) +{ + if ( bGameserver ) + { + this->SetGameserverFlag(); + } + Register( pObj, func ); +} + +template< class T, class P, bool bGameserver > +inline void CCallback< T, P, bGameserver >::Register( T *pObj, func_t func ) +{ + if ( !pObj || !func ) + return; + + if ( this->m_nCallbackFlags & CCallbackBase::k_ECallbackFlagsRegistered ) + Unregister(); + + m_pObj = pObj; + m_Func = func; + // SteamAPI_RegisterCallback sets k_ECallbackFlagsRegistered + SteamAPI_RegisterCallback( this, P::k_iCallback ); +} + +template< class T, class P, bool bGameserver > +inline void CCallback< T, P, bGameserver >::Unregister() +{ + // SteamAPI_UnregisterCallback removes k_ECallbackFlagsRegistered + SteamAPI_UnregisterCallback( this ); +} + +template< class T, class P, bool bGameserver > +inline void CCallback< T, P, bGameserver >::Run( void *pvParam ) +{ + (m_pObj->*m_Func)((P *)pvParam); +} + +#endif // #ifndef API_GEN + +// structure that contains client callback data +// see callbacks documentation for more details +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error steam_api_common.h should define VALVE_CALLBACK_PACK_xxx +#endif + +/// Internal structure used in manual callback dispatch +struct CallbackMsg_t +{ + HSteamUser m_hSteamUser; // Specific user to whom this callback applies. + int m_iCallback; // Callback identifier. (Corresponds to the k_iCallback enum in the callback structure.) + uint8 *m_pubParam; // Points to the callback structure + int m_cubParam; // Size of the data pointed to by m_pubParam +}; +#pragma pack( pop ) + +// Macros to define steam callback structures. Used internally for debugging +#ifdef STEAM_CALLBACK_INSPECTION_ENABLED + #include "../../clientdll/steam_api_callback_inspection.h" +#else + #define STEAM_CALLBACK_BEGIN( callbackname, callbackid ) struct callbackname { enum { k_iCallback = callbackid }; + #define STEAM_CALLBACK_MEMBER( varidx, vartype, varname ) vartype varname ; + #define STEAM_CALLBACK_MEMBER_ARRAY( varidx, vartype, varname, varcount ) vartype varname [ varcount ]; + #define STEAM_CALLBACK_END(nArgs) }; +#endif + +// Forward declare all of the Steam interfaces. (Do we really need to do this?) +class ISteamClient; +class ISteamUser; +class ISteamGameServer; +class ISteamFriends; +class ISteamUtils; +class ISteamMatchmaking; +class ISteamContentServer; +class ISteamMatchmakingServers; +class ISteamUserStats; +class ISteamApps; +class ISteamNetworking; +class ISteamRemoteStorage; +class ISteamScreenshots; +class ISteamMusic; +class ISteamMusicRemote; +class ISteamGameServerStats; +class ISteamPS3OverlayRender; +class ISteamHTTP; +class ISteamController; +class ISteamUGC; +class ISteamAppList; +class ISteamHTMLSurface; +class ISteamInventory; +class ISteamVideo; +class ISteamParentalSettings; +class ISteamGameSearch; +class ISteamInput; +class ISteamParties; +class ISteamRemotePlay; + +// Forward declare types +struct SteamNetworkingIdentity; + +//----------------------------------------------------------------------------- +// Purpose: Base values for callback identifiers, each callback must +// have a unique ID. +//----------------------------------------------------------------------------- +enum { k_iSteamUserCallbacks = 100 }; +enum { k_iSteamGameServerCallbacks = 200 }; +enum { k_iSteamFriendsCallbacks = 300 }; +enum { k_iSteamBillingCallbacks = 400 }; +enum { k_iSteamMatchmakingCallbacks = 500 }; +enum { k_iSteamContentServerCallbacks = 600 }; +enum { k_iSteamUtilsCallbacks = 700 }; +enum { k_iSteamAppsCallbacks = 1000 }; +enum { k_iSteamUserStatsCallbacks = 1100 }; +enum { k_iSteamNetworkingCallbacks = 1200 }; +enum { k_iSteamNetworkingSocketsCallbacks = 1220 }; +enum { k_iSteamNetworkingMessagesCallbacks = 1250 }; +enum { k_iSteamNetworkingUtilsCallbacks = 1280 }; +enum { k_iSteamRemoteStorageCallbacks = 1300 }; +enum { k_iSteamGameServerItemsCallbacks = 1500 }; +enum { k_iSteamGameCoordinatorCallbacks = 1700 }; +enum { k_iSteamGameServerStatsCallbacks = 1800 }; +enum { k_iSteam2AsyncCallbacks = 1900 }; +enum { k_iSteamGameStatsCallbacks = 2000 }; +enum { k_iSteamHTTPCallbacks = 2100 }; +enum { k_iSteamScreenshotsCallbacks = 2300 }; +// NOTE: 2500-2599 are reserved +enum { k_iSteamStreamLauncherCallbacks = 2600 }; +enum { k_iSteamControllerCallbacks = 2800 }; +enum { k_iSteamUGCCallbacks = 3400 }; +enum { k_iSteamStreamClientCallbacks = 3500 }; +enum { k_iSteamAppListCallbacks = 3900 }; +enum { k_iSteamMusicCallbacks = 4000 }; +enum { k_iSteamMusicRemoteCallbacks = 4100 }; +enum { k_iSteamGameNotificationCallbacks = 4400 }; +enum { k_iSteamHTMLSurfaceCallbacks = 4500 }; +enum { k_iSteamVideoCallbacks = 4600 }; +enum { k_iSteamInventoryCallbacks = 4700 }; +enum { k_ISteamParentalSettingsCallbacks = 5000 }; +enum { k_iSteamGameSearchCallbacks = 5200 }; +enum { k_iSteamPartiesCallbacks = 5300 }; +enum { k_iSteamSTARCallbacks = 5500 }; +enum { k_iSteamRemotePlayCallbacks = 5700 }; +enum { k_iSteamChatCallbacks = 5900 }; +// NOTE: Internal "IClientXxx" callback IDs go in clientenums.h + +// Macros used to annotate various Steamworks interfaces to generate the +// flat API +#ifdef API_GEN +# define STEAM_CLANG_ATTR(ATTR) __attribute__((annotate( ATTR ))) +#else +# define STEAM_CLANG_ATTR(ATTR) +#endif + +#define STEAM_OUT_STRUCT() STEAM_CLANG_ATTR( "out_struct: ;" ) +#define STEAM_OUT_STRING() STEAM_CLANG_ATTR( "out_string: ;" ) +#define STEAM_OUT_ARRAY_CALL(COUNTER,FUNCTION,PARAMS) STEAM_CLANG_ATTR( "out_array_call:" #COUNTER "," #FUNCTION "," #PARAMS ";" ) +#define STEAM_OUT_ARRAY_COUNT(COUNTER, DESC) STEAM_CLANG_ATTR( "out_array_count:" #COUNTER ";desc:" #DESC ) +#define STEAM_ARRAY_COUNT(COUNTER) STEAM_CLANG_ATTR( "array_count:" #COUNTER ";" ) +#define STEAM_ARRAY_COUNT_D(COUNTER, DESC) STEAM_CLANG_ATTR( "array_count:" #COUNTER ";desc:" #DESC ) +#define STEAM_BUFFER_COUNT(COUNTER) STEAM_CLANG_ATTR( "buffer_count:" #COUNTER ";" ) +#define STEAM_OUT_BUFFER_COUNT(COUNTER) STEAM_CLANG_ATTR( "out_buffer_count:" #COUNTER ";" ) +#define STEAM_OUT_STRING_COUNT(COUNTER) STEAM_CLANG_ATTR( "out_string_count:" #COUNTER ";" ) +#define STEAM_DESC(DESC) STEAM_CLANG_ATTR("desc:" #DESC ";") +#define STEAM_CALL_RESULT(RESULT_TYPE) STEAM_CLANG_ATTR("callresult:" #RESULT_TYPE ";") +#define STEAM_CALL_BACK(RESULT_TYPE) STEAM_CLANG_ATTR("callback:" #RESULT_TYPE ";") +#define STEAM_FLAT_NAME(NAME) STEAM_CLANG_ATTR("flat_name:" #NAME ";") + +// CSteamAPIContext encapsulates the Steamworks API global accessors into +// a single object. +// +// DEPRECATED: Used the global interface accessors instead! +// +// This will be removed in a future iteration of the SDK +class CSteamAPIContext +{ +public: + CSteamAPIContext() { Clear(); } + inline void Clear() { memset( this, 0, sizeof(*this) ); } + inline bool Init(); // NOTE: This is defined in steam_api.h, to avoid this file having to include everything + ISteamClient* SteamClient() const { return m_pSteamClient; } + ISteamUser* SteamUser() const { return m_pSteamUser; } + ISteamFriends* SteamFriends() const { return m_pSteamFriends; } + ISteamUtils* SteamUtils() const { return m_pSteamUtils; } + ISteamMatchmaking* SteamMatchmaking() const { return m_pSteamMatchmaking; } + ISteamGameSearch* SteamGameSearch() const { return m_pSteamGameSearch; } + ISteamUserStats* SteamUserStats() const { return m_pSteamUserStats; } + ISteamApps* SteamApps() const { return m_pSteamApps; } + ISteamMatchmakingServers* SteamMatchmakingServers() const { return m_pSteamMatchmakingServers; } + ISteamNetworking* SteamNetworking() const { return m_pSteamNetworking; } + ISteamRemoteStorage* SteamRemoteStorage() const { return m_pSteamRemoteStorage; } + ISteamScreenshots* SteamScreenshots() const { return m_pSteamScreenshots; } + ISteamHTTP* SteamHTTP() const { return m_pSteamHTTP; } + ISteamController* SteamController() const { return m_pController; } + ISteamUGC* SteamUGC() const { return m_pSteamUGC; } + ISteamAppList* SteamAppList() const { return m_pSteamAppList; } + ISteamMusic* SteamMusic() const { return m_pSteamMusic; } + ISteamMusicRemote* SteamMusicRemote() const { return m_pSteamMusicRemote; } + ISteamHTMLSurface* SteamHTMLSurface() const { return m_pSteamHTMLSurface; } + ISteamInventory* SteamInventory() const { return m_pSteamInventory; } + ISteamVideo* SteamVideo() const { return m_pSteamVideo; } + ISteamParentalSettings* SteamParentalSettings() const { return m_pSteamParentalSettings; } + ISteamInput* SteamInput() const { return m_pSteamInput; } +private: + ISteamClient *m_pSteamClient; + ISteamUser *m_pSteamUser; + ISteamFriends *m_pSteamFriends; + ISteamUtils *m_pSteamUtils; + ISteamMatchmaking *m_pSteamMatchmaking; + ISteamGameSearch *m_pSteamGameSearch; + ISteamUserStats *m_pSteamUserStats; + ISteamApps *m_pSteamApps; + ISteamMatchmakingServers *m_pSteamMatchmakingServers; + ISteamNetworking *m_pSteamNetworking; + ISteamRemoteStorage *m_pSteamRemoteStorage; + ISteamScreenshots *m_pSteamScreenshots; + ISteamHTTP *m_pSteamHTTP; + ISteamController *m_pController; + ISteamUGC *m_pSteamUGC; + ISteamAppList *m_pSteamAppList; + ISteamMusic *m_pSteamMusic; + ISteamMusicRemote *m_pSteamMusicRemote; + ISteamHTMLSurface *m_pSteamHTMLSurface; + ISteamInventory *m_pSteamInventory; + ISteamVideo *m_pSteamVideo; + ISteamParentalSettings *m_pSteamParentalSettings; + ISteamInput *m_pSteamInput; +}; + +class CSteamGameServerAPIContext +{ +public: + CSteamGameServerAPIContext() { Clear(); } + inline void Clear() { memset( this, 0, sizeof(*this) ); } + inline bool Init(); // NOTE: This is defined in steam_gameserver.h, to avoid this file having to include everything + + ISteamClient *SteamClient() const { return m_pSteamClient; } + ISteamGameServer *SteamGameServer() const { return m_pSteamGameServer; } + ISteamUtils *SteamGameServerUtils() const { return m_pSteamGameServerUtils; } + ISteamNetworking *SteamGameServerNetworking() const { return m_pSteamGameServerNetworking; } + ISteamGameServerStats *SteamGameServerStats() const { return m_pSteamGameServerStats; } + ISteamHTTP *SteamHTTP() const { return m_pSteamHTTP; } + ISteamInventory *SteamInventory() const { return m_pSteamInventory; } + ISteamUGC *SteamUGC() const { return m_pSteamUGC; } + +private: + ISteamClient *m_pSteamClient; + ISteamGameServer *m_pSteamGameServer; + ISteamUtils *m_pSteamGameServerUtils; + ISteamNetworking *m_pSteamGameServerNetworking; + ISteamGameServerStats *m_pSteamGameServerStats; + ISteamHTTP *m_pSteamHTTP; + ISteamInventory *m_pSteamInventory; + ISteamUGC *m_pSteamUGC; +}; + + diff --git a/lsteamclient/steamworks_sdk_158/steam_gameserver.h b/lsteamclient/steamworks_sdk_158/steam_gameserver.h new file mode 100644 index 000000000..f3873db00 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steam_gameserver.h @@ -0,0 +1,137 @@ +//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: +// +//============================================================================= + +#ifndef STEAM_GAMESERVER_H +#define STEAM_GAMESERVER_H +#ifdef _WIN32 +#pragma once +#endif + +#include "steam_api.h" +#include "isteamgameserver.h" +#include "isteamgameserverstats.h" + +enum EServerMode +{ + eServerModeInvalid = 0, // DO NOT USE + eServerModeNoAuthentication = 1, // Don't authenticate user logins and don't list on the server list + eServerModeAuthentication = 2, // Authenticate users, list on the server list, don't run VAC on clients that connect + eServerModeAuthenticationAndSecure = 3, // Authenticate users, list on the server list and VAC protect clients +}; + +/// Pass to SteamGameServer_Init to indicate that the same UDP port will be used for game traffic +/// UDP queries for server browser pings and LAN discovery. In this case, Steam will not open up a +/// socket to handle server browser queries, and you must use ISteamGameServer::HandleIncomingPacket +/// and ISteamGameServer::GetNextOutgoingPacket to handle packets related to server discovery on your socket. +const uint16 STEAMGAMESERVER_QUERY_PORT_SHARED = 0xffff; + +// DEPRECATED: This old name was really confusing. +const uint16 MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE = STEAMGAMESERVER_QUERY_PORT_SHARED; + +// Initialize SteamGameServer client and interface objects, and set server properties which may not be changed. +// +// After calling this function, you should set any additional server parameters, and then +// call ISteamGameServer::LogOnAnonymous() or ISteamGameServer::LogOn() +// +// - unIP will usually be zero. If you are on a machine with multiple IP addresses, you can pass a non-zero +// value here and the relevant sockets will be bound to that IP. This can be used to ensure that +// the IP you desire is the one used in the server browser. +// - usGamePort is the port that clients will connect to for gameplay. You will usually open up your +// own socket bound to this port. +// - usQueryPort is the port that will manage server browser related duties and info +// pings from clients. If you pass STEAMGAMESERVER_QUERY_PORT_SHARED for usQueryPort, then it +// will use "GameSocketShare" mode, which means that the game is responsible for sending and receiving +// UDP packets for the master server updater. (See ISteamGameServer::HandleIncomingPacket and +// ISteamGameServer::GetNextOutgoingPacket.) +// - The version string should be in the form x.x.x.x, and is used by the master server to detect when the +// server is out of date. (Only servers with the latest version will be listed.) +// +// On success k_ESteamAPIInitResult_OK is returned. Otherwise, if pOutErrMsg is non-NULL, +// it will receive a non-localized message that explains the reason for the failure +inline ESteamAPIInitResult SteamGameServer_InitEx( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString, SteamErrMsg *pOutErrMsg ); + +// This function is included for compatibility with older SDK. +// You can use it if you don't care about decent error handling +inline bool SteamGameServer_Init( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString ) +{ + return SteamGameServer_InitEx( unIP, usGamePort, usQueryPort, eServerMode, pchVersionString, NULL ) == k_ESteamAPIInitResult_OK; +} + +// Shutdown SteamGameSeverXxx interfaces, log out, and free resources. +S_API void SteamGameServer_Shutdown(); + +// Most Steam API functions allocate some amount of thread-local memory for +// parameter storage. Calling SteamGameServer_ReleaseCurrentThreadMemory() +// will free all API-related memory associated with the calling thread. +// This memory is released automatically by SteamGameServer_RunCallbacks(), +// so single-threaded servers do not need to explicitly call this function. +inline void SteamGameServer_ReleaseCurrentThreadMemory(); + +S_API bool SteamGameServer_BSecure(); +S_API uint64 SteamGameServer_GetSteamID(); + +// Older SDKs exported this global pointer, but it is no longer supported. +// You should use SteamGameServerClient() or CSteamGameServerAPIContext to +// safely access the ISteamClient APIs from your game server application. +//S_API ISteamClient *g_pSteamClientGameServer; + +// SteamGameServer_InitSafe has been replaced with SteamGameServer_Init and +// is no longer supported. Use SteamGameServer_Init instead. +//S_API void S_CALLTYPE SteamGameServer_InitSafe(); + +//============================================================================= +// +// Internal implementation details below +// +//============================================================================= + +#ifndef STEAM_API_EXPORTS +// This function must be declared inline in the header so the module using steam_api.dll gets the version names they want. +inline bool CSteamGameServerAPIContext::Init() +{ + m_pSteamClient = ::SteamGameServerClient(); + if ( !m_pSteamClient ) + return false; + + m_pSteamGameServer = ::SteamGameServer(); + m_pSteamGameServerUtils = ::SteamGameServerUtils(); + m_pSteamGameServerNetworking = ::SteamGameServerNetworking(); + m_pSteamGameServerStats = ::SteamGameServerStats(); + m_pSteamHTTP = ::SteamGameServerHTTP(); + m_pSteamInventory = ::SteamGameServerInventory(); + m_pSteamUGC = ::SteamGameServerUGC(); + if ( !m_pSteamGameServer || !m_pSteamGameServerUtils || !m_pSteamGameServerNetworking || !m_pSteamGameServerStats + || !m_pSteamHTTP || !m_pSteamInventory || !m_pSteamUGC ) + return false; + + return true; +} +#endif + +S_API ESteamAPIInitResult S_CALLTYPE SteamInternal_GameServer_Init_V2( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString, const char *pszInternalCheckInterfaceVersions, SteamErrMsg *pOutErrMsg ); +inline ESteamAPIInitResult SteamGameServer_InitEx( uint32 unIP, uint16 usGamePort, uint16 usQueryPort, EServerMode eServerMode, const char *pchVersionString, SteamErrMsg *pOutErrMsg ) +{ + const char *pszInternalCheckInterfaceVersions = + STEAMUTILS_INTERFACE_VERSION "\0" + STEAMNETWORKINGUTILS_INTERFACE_VERSION "\0" + + STEAMGAMESERVER_INTERFACE_VERSION "\0" + STEAMGAMESERVERSTATS_INTERFACE_VERSION "\0" + STEAMHTTP_INTERFACE_VERSION "\0" + STEAMINVENTORY_INTERFACE_VERSION "\0" + STEAMNETWORKING_INTERFACE_VERSION "\0" + STEAMNETWORKINGMESSAGES_INTERFACE_VERSION "\0" + STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "\0" + STEAMUGC_INTERFACE_VERSION "\0" + "\0"; + return SteamInternal_GameServer_Init_V2( unIP, usGamePort, usQueryPort, eServerMode, pchVersionString, pszInternalCheckInterfaceVersions, pOutErrMsg ); +} +inline void SteamGameServer_ReleaseCurrentThreadMemory() +{ + SteamAPI_ReleaseCurrentThreadMemory(); +} + +#endif // STEAM_GAMESERVER_H diff --git a/lsteamclient/steamworks_sdk_158/steamclientpublic.h b/lsteamclient/steamworks_sdk_158/steamclientpublic.h new file mode 100644 index 000000000..a75e7af0b --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamclientpublic.h @@ -0,0 +1,1186 @@ +//========= Copyright � 1996-2008, Valve LLC, All rights reserved. ============ +// +// Declare common types used by the Steamworks SDK. +// +//============================================================================= + +#ifndef STEAMCLIENTPUBLIC_H +#define STEAMCLIENTPUBLIC_H + +#include "steamtypes.h" +#include "steamuniverse.h" + +// General result codes +enum EResult +{ + k_EResultNone = 0, // no result + k_EResultOK = 1, // success + k_EResultFail = 2, // generic failure + k_EResultNoConnection = 3, // no/failed network connection +// k_EResultNoConnectionRetry = 4, // OBSOLETE - removed + k_EResultInvalidPassword = 5, // password/ticket is invalid + k_EResultLoggedInElsewhere = 6, // same user logged in elsewhere + k_EResultInvalidProtocolVer = 7, // protocol version is incorrect + k_EResultInvalidParam = 8, // a parameter is incorrect + k_EResultFileNotFound = 9, // file was not found + k_EResultBusy = 10, // called method busy - action not taken + k_EResultInvalidState = 11, // called object was in an invalid state + k_EResultInvalidName = 12, // name is invalid + k_EResultInvalidEmail = 13, // email is invalid + k_EResultDuplicateName = 14, // name is not unique + k_EResultAccessDenied = 15, // access is denied + k_EResultTimeout = 16, // operation timed out + k_EResultBanned = 17, // VAC2 banned + k_EResultAccountNotFound = 18, // account not found + k_EResultInvalidSteamID = 19, // steamID is invalid + k_EResultServiceUnavailable = 20, // The requested service is currently unavailable + k_EResultNotLoggedOn = 21, // The user is not logged on + k_EResultPending = 22, // Request is pending (may be in process, or waiting on third party) + k_EResultEncryptionFailure = 23, // Encryption or Decryption failed + k_EResultInsufficientPrivilege = 24, // Insufficient privilege + k_EResultLimitExceeded = 25, // Too much of a good thing + k_EResultRevoked = 26, // Access has been revoked (used for revoked guest passes) + k_EResultExpired = 27, // License/Guest pass the user is trying to access is expired + k_EResultAlreadyRedeemed = 28, // Guest pass has already been redeemed by account, cannot be acked again + k_EResultDuplicateRequest = 29, // The request is a duplicate and the action has already occurred in the past, ignored this time + k_EResultAlreadyOwned = 30, // All the games in this guest pass redemption request are already owned by the user + k_EResultIPNotFound = 31, // IP address not found + k_EResultPersistFailed = 32, // failed to write change to the data store + k_EResultLockingFailed = 33, // failed to acquire access lock for this operation + k_EResultLogonSessionReplaced = 34, + k_EResultConnectFailed = 35, + k_EResultHandshakeFailed = 36, + k_EResultIOFailure = 37, + k_EResultRemoteDisconnect = 38, + k_EResultShoppingCartNotFound = 39, // failed to find the shopping cart requested + k_EResultBlocked = 40, // a user didn't allow it + k_EResultIgnored = 41, // target is ignoring sender + k_EResultNoMatch = 42, // nothing matching the request found + k_EResultAccountDisabled = 43, + k_EResultServiceReadOnly = 44, // this service is not accepting content changes right now + k_EResultAccountNotFeatured = 45, // account doesn't have value, so this feature isn't available + k_EResultAdministratorOK = 46, // allowed to take this action, but only because requester is admin + k_EResultContentVersion = 47, // A Version mismatch in content transmitted within the Steam protocol. + k_EResultTryAnotherCM = 48, // The current CM can't service the user making a request, user should try another. + k_EResultPasswordRequiredToKickSession = 49,// You are already logged in elsewhere, this cached credential login has failed. + k_EResultAlreadyLoggedInElsewhere = 50, // You are already logged in elsewhere, you must wait + k_EResultSuspended = 51, // Long running operation (content download) suspended/paused + k_EResultCancelled = 52, // Operation canceled (typically by user: content download) + k_EResultDataCorruption = 53, // Operation canceled because data is ill formed or unrecoverable + k_EResultDiskFull = 54, // Operation canceled - not enough disk space. + k_EResultRemoteCallFailed = 55, // an remote call or IPC call failed + k_EResultPasswordUnset = 56, // Password could not be verified as it's unset server side + k_EResultExternalAccountUnlinked = 57, // External account (PSN, Facebook...) is not linked to a Steam account + k_EResultPSNTicketInvalid = 58, // PSN ticket was invalid + k_EResultExternalAccountAlreadyLinked = 59, // External account (PSN, Facebook...) is already linked to some other account, must explicitly request to replace/delete the link first + k_EResultRemoteFileConflict = 60, // The sync cannot resume due to a conflict between the local and remote files + k_EResultIllegalPassword = 61, // The requested new password is not legal + k_EResultSameAsPreviousValue = 62, // new value is the same as the old one ( secret question and answer ) + k_EResultAccountLogonDenied = 63, // account login denied due to 2nd factor authentication failure + k_EResultCannotUseOldPassword = 64, // The requested new password is not legal + k_EResultInvalidLoginAuthCode = 65, // account login denied due to auth code invalid + k_EResultAccountLogonDeniedNoMail = 66, // account login denied due to 2nd factor auth failure - and no mail has been sent - partner site specific + k_EResultHardwareNotCapableOfIPT = 67, // + k_EResultIPTInitError = 68, // + k_EResultParentalControlRestricted = 69, // operation failed due to parental control restrictions for current user + k_EResultFacebookQueryError = 70, // Facebook query returned an error + k_EResultExpiredLoginAuthCode = 71, // account login denied due to auth code expired + k_EResultIPLoginRestrictionFailed = 72, + k_EResultAccountLockedDown = 73, + k_EResultAccountLogonDeniedVerifiedEmailRequired = 74, + k_EResultNoMatchingURL = 75, + k_EResultBadResponse = 76, // parse failure, missing field, etc. + k_EResultRequirePasswordReEntry = 77, // The user cannot complete the action until they re-enter their password + k_EResultValueOutOfRange = 78, // the value entered is outside the acceptable range + k_EResultUnexpectedError = 79, // something happened that we didn't expect to ever happen + k_EResultDisabled = 80, // The requested service has been configured to be unavailable + k_EResultInvalidCEGSubmission = 81, // The set of files submitted to the CEG server are not valid ! + k_EResultRestrictedDevice = 82, // The device being used is not allowed to perform this action + k_EResultRegionLocked = 83, // The action could not be complete because it is region restricted + k_EResultRateLimitExceeded = 84, // Temporary rate limit exceeded, try again later, different from k_EResultLimitExceeded which may be permanent + k_EResultAccountLoginDeniedNeedTwoFactor = 85, // Need two-factor code to login + k_EResultItemDeleted = 86, // The thing we're trying to access has been deleted + k_EResultAccountLoginDeniedThrottle = 87, // login attempt failed, try to throttle response to possible attacker + k_EResultTwoFactorCodeMismatch = 88, // two factor code mismatch + k_EResultTwoFactorActivationCodeMismatch = 89, // activation code for two-factor didn't match + k_EResultAccountAssociatedToMultiplePartners = 90, // account has been associated with multiple partners + k_EResultNotModified = 91, // data not modified + k_EResultNoMobileDevice = 92, // the account does not have a mobile device associated with it + k_EResultTimeNotSynced = 93, // the time presented is out of range or tolerance + k_EResultSmsCodeFailed = 94, // SMS code failure (no match, none pending, etc.) + k_EResultAccountLimitExceeded = 95, // Too many accounts access this resource + k_EResultAccountActivityLimitExceeded = 96, // Too many changes to this account + k_EResultPhoneActivityLimitExceeded = 97, // Too many changes to this phone + k_EResultRefundToWallet = 98, // Cannot refund to payment method, must use wallet + k_EResultEmailSendFailure = 99, // Cannot send an email + k_EResultNotSettled = 100, // Can't perform operation till payment has settled + k_EResultNeedCaptcha = 101, // Needs to provide a valid captcha + k_EResultGSLTDenied = 102, // a game server login token owned by this token's owner has been banned + k_EResultGSOwnerDenied = 103, // game server owner is denied for other reason (account lock, community ban, vac ban, missing phone) + k_EResultInvalidItemType = 104, // the type of thing we were requested to act on is invalid + k_EResultIPBanned = 105, // the ip address has been banned from taking this action + k_EResultGSLTExpired = 106, // this token has expired from disuse; can be reset for use + k_EResultInsufficientFunds = 107, // user doesn't have enough wallet funds to complete the action + k_EResultTooManyPending = 108, // There are too many of this thing pending already + k_EResultNoSiteLicensesFound = 109, // No site licenses found + k_EResultWGNetworkSendExceeded = 110, // the WG couldn't send a response because we exceeded max network send size + k_EResultAccountNotFriends = 111, // the user is not mutually friends + k_EResultLimitedUserAccount = 112, // the user is limited + k_EResultCantRemoveItem = 113, // item can't be removed + k_EResultAccountDeleted = 114, // account has been deleted + k_EResultExistingUserCancelledLicense = 115, // A license for this already exists, but cancelled + k_EResultCommunityCooldown = 116, // access is denied because of a community cooldown (probably from support profile data resets) + k_EResultNoLauncherSpecified = 117, // No launcher was specified, but a launcher was needed to choose correct realm for operation. + k_EResultMustAgreeToSSA = 118, // User must agree to china SSA or global SSA before login + k_EResultLauncherMigrated = 119, // The specified launcher type is no longer supported; the user should be directed elsewhere + k_EResultSteamRealmMismatch = 120, // The user's realm does not match the realm of the requested resource + k_EResultInvalidSignature = 121, // signature check did not match + k_EResultParseFailure = 122, // Failed to parse input + k_EResultNoVerifiedPhone = 123, // account does not have a verified phone number + k_EResultInsufficientBattery = 124, // user device doesn't have enough battery charge currently to complete the action + k_EResultChargerRequired = 125, // The operation requires a charger to be plugged in, which wasn't present + k_EResultCachedCredentialInvalid = 126, // Cached credential was invalid - user must reauthenticate + K_EResultPhoneNumberIsVOIP = 127, // The phone number provided is a Voice Over IP number +}; + +// Error codes for use with the voice functions +enum EVoiceResult +{ + k_EVoiceResultOK = 0, + k_EVoiceResultNotInitialized = 1, + k_EVoiceResultNotRecording = 2, + k_EVoiceResultNoData = 3, + k_EVoiceResultBufferTooSmall = 4, + k_EVoiceResultDataCorrupted = 5, + k_EVoiceResultRestricted = 6, + k_EVoiceResultUnsupportedCodec = 7, + k_EVoiceResultReceiverOutOfDate = 8, + k_EVoiceResultReceiverDidNotAnswer = 9, + +}; + +// Result codes to GSHandleClientDeny/Kick +enum EDenyReason +{ + k_EDenyInvalid = 0, + k_EDenyInvalidVersion = 1, + k_EDenyGeneric = 2, + k_EDenyNotLoggedOn = 3, + k_EDenyNoLicense = 4, + k_EDenyCheater = 5, + k_EDenyLoggedInElseWhere = 6, + k_EDenyUnknownText = 7, + k_EDenyIncompatibleAnticheat = 8, + k_EDenyMemoryCorruption = 9, + k_EDenyIncompatibleSoftware = 10, + k_EDenySteamConnectionLost = 11, + k_EDenySteamConnectionError = 12, + k_EDenySteamResponseTimedOut = 13, + k_EDenySteamValidationStalled = 14, + k_EDenySteamOwnerLeftGuestUser = 15, +}; + +// return type of GetAuthSessionTicket +typedef uint32 HAuthTicket; +const HAuthTicket k_HAuthTicketInvalid = 0; + +// results from BeginAuthSession +enum EBeginAuthSessionResult +{ + k_EBeginAuthSessionResultOK = 0, // Ticket is valid for this game and this steamID. + k_EBeginAuthSessionResultInvalidTicket = 1, // Ticket is not valid. + k_EBeginAuthSessionResultDuplicateRequest = 2, // A ticket has already been submitted for this steamID + k_EBeginAuthSessionResultInvalidVersion = 3, // Ticket is from an incompatible interface version + k_EBeginAuthSessionResultGameMismatch = 4, // Ticket is not for this game + k_EBeginAuthSessionResultExpiredTicket = 5, // Ticket has expired +}; + +// Callback values for callback ValidateAuthTicketResponse_t which is a response to BeginAuthSession +enum EAuthSessionResponse +{ + k_EAuthSessionResponseOK = 0, // Steam has verified the user is online, the ticket is valid and ticket has not been reused. + k_EAuthSessionResponseUserNotConnectedToSteam = 1, // The user in question is not connected to steam + k_EAuthSessionResponseNoLicenseOrExpired = 2, // The license has expired. + k_EAuthSessionResponseVACBanned = 3, // The user is VAC banned for this game. + k_EAuthSessionResponseLoggedInElseWhere = 4, // The user account has logged in elsewhere and the session containing the game instance has been disconnected. + k_EAuthSessionResponseVACCheckTimedOut = 5, // VAC has been unable to perform anti-cheat checks on this user + k_EAuthSessionResponseAuthTicketCanceled = 6, // The ticket has been canceled by the issuer + k_EAuthSessionResponseAuthTicketInvalidAlreadyUsed = 7, // This ticket has already been used, it is not valid. + k_EAuthSessionResponseAuthTicketInvalid = 8, // This ticket is not from a user instance currently connected to steam. + k_EAuthSessionResponsePublisherIssuedBan = 9, // The user is banned for this game. The ban came via the web api and not VAC + k_EAuthSessionResponseAuthTicketNetworkIdentityFailure = 10, // The network identity in the ticket does not match the server authenticating the ticket +}; + +// results from UserHasLicenseForApp +enum EUserHasLicenseForAppResult +{ + k_EUserHasLicenseResultHasLicense = 0, // User has a license for specified app + k_EUserHasLicenseResultDoesNotHaveLicense = 1, // User does not have a license for the specified app + k_EUserHasLicenseResultNoAuth = 2, // User has not been authenticated +}; + + +// Steam account types +enum EAccountType +{ + k_EAccountTypeInvalid = 0, + k_EAccountTypeIndividual = 1, // single user account + k_EAccountTypeMultiseat = 2, // multiseat (e.g. cybercafe) account + k_EAccountTypeGameServer = 3, // game server account + k_EAccountTypeAnonGameServer = 4, // anonymous game server account + k_EAccountTypePending = 5, // pending + k_EAccountTypeContentServer = 6, // content server + k_EAccountTypeClan = 7, + k_EAccountTypeChat = 8, + k_EAccountTypeConsoleUser = 9, // Fake SteamID for local PSN account on PS3 or Live account on 360, etc. + k_EAccountTypeAnonUser = 10, + + // Max of 16 items in this field + k_EAccountTypeMax +}; + + + +//----------------------------------------------------------------------------- +// Purpose: Chat Entry Types (previously was only friend-to-friend message types) +//----------------------------------------------------------------------------- +enum EChatEntryType +{ + k_EChatEntryTypeInvalid = 0, + k_EChatEntryTypeChatMsg = 1, // Normal text message from another user + k_EChatEntryTypeTyping = 2, // Another user is typing (not used in multi-user chat) + k_EChatEntryTypeInviteGame = 3, // Invite from other user into that users current game + k_EChatEntryTypeEmote = 4, // text emote message (deprecated, should be treated as ChatMsg) + //k_EChatEntryTypeLobbyGameStart = 5, // lobby game is starting (dead - listen for LobbyGameCreated_t callback instead) + k_EChatEntryTypeLeftConversation = 6, // user has left the conversation ( closed chat window ) + // Above are previous FriendMsgType entries, now merged into more generic chat entry types + k_EChatEntryTypeEntered = 7, // user has entered the conversation (used in multi-user chat and group chat) + k_EChatEntryTypeWasKicked = 8, // user was kicked (data: 64-bit steamid of actor performing the kick) + k_EChatEntryTypeWasBanned = 9, // user was banned (data: 64-bit steamid of actor performing the ban) + k_EChatEntryTypeDisconnected = 10, // user disconnected + k_EChatEntryTypeHistoricalChat = 11, // a chat message from user's chat history or offilne message + //k_EChatEntryTypeReserved1 = 12, // No longer used + //k_EChatEntryTypeReserved2 = 13, // No longer used + k_EChatEntryTypeLinkBlocked = 14, // a link was removed by the chat filter. +}; + + +//----------------------------------------------------------------------------- +// Purpose: Chat Room Enter Responses +//----------------------------------------------------------------------------- +enum EChatRoomEnterResponse +{ + k_EChatRoomEnterResponseSuccess = 1, // Success + k_EChatRoomEnterResponseDoesntExist = 2, // Chat doesn't exist (probably closed) + k_EChatRoomEnterResponseNotAllowed = 3, // General Denied - You don't have the permissions needed to join the chat + k_EChatRoomEnterResponseFull = 4, // Chat room has reached its maximum size + k_EChatRoomEnterResponseError = 5, // Unexpected Error + k_EChatRoomEnterResponseBanned = 6, // You are banned from this chat room and may not join + k_EChatRoomEnterResponseLimited = 7, // Joining this chat is not allowed because you are a limited user (no value on account) + k_EChatRoomEnterResponseClanDisabled = 8, // Attempt to join a clan chat when the clan is locked or disabled + k_EChatRoomEnterResponseCommunityBan = 9, // Attempt to join a chat when the user has a community lock on their account + k_EChatRoomEnterResponseMemberBlockedYou = 10, // Join failed - some member in the chat has blocked you from joining + k_EChatRoomEnterResponseYouBlockedMember = 11, // Join failed - you have blocked some member already in the chat + // k_EChatRoomEnterResponseNoRankingDataLobby = 12, // No longer used + // k_EChatRoomEnterResponseNoRankingDataUser = 13, // No longer used + // k_EChatRoomEnterResponseRankOutOfRange = 14, // No longer used + k_EChatRoomEnterResponseRatelimitExceeded = 15, // Join failed - to many join attempts in a very short period of time +}; + + +const unsigned int k_unSteamAccountIDMask = 0xFFFFFFFF; +const unsigned int k_unSteamAccountInstanceMask = 0x000FFFFF; +const unsigned int k_unSteamUserDefaultInstance = 1; // fixed instance for all individual users + +// Special flags for Chat accounts - they go in the top 8 bits +// of the steam ID's "instance", leaving 12 for the actual instances +enum EChatSteamIDInstanceFlags +{ + k_EChatAccountInstanceMask = 0x00000FFF, // top 8 bits are flags + + k_EChatInstanceFlagClan = ( k_unSteamAccountInstanceMask + 1 ) >> 1, // top bit + k_EChatInstanceFlagLobby = ( k_unSteamAccountInstanceMask + 1 ) >> 2, // next one down, etc + k_EChatInstanceFlagMMSLobby = ( k_unSteamAccountInstanceMask + 1 ) >> 3, // next one down, etc + + // Max of 8 flags +}; + + +//----------------------------------------------------------------------------- +// Purpose: Possible positions to tell the overlay to show notifications in +//----------------------------------------------------------------------------- +enum ENotificationPosition +{ + k_EPositionInvalid = -1, + k_EPositionTopLeft = 0, + k_EPositionTopRight = 1, + k_EPositionBottomLeft = 2, + k_EPositionBottomRight = 3, +}; + + +//----------------------------------------------------------------------------- +// Purpose: Broadcast upload result details +//----------------------------------------------------------------------------- +enum EBroadcastUploadResult +{ + k_EBroadcastUploadResultNone = 0, // broadcast state unknown + k_EBroadcastUploadResultOK = 1, // broadcast was good, no problems + k_EBroadcastUploadResultInitFailed = 2, // broadcast init failed + k_EBroadcastUploadResultFrameFailed = 3, // broadcast frame upload failed + k_EBroadcastUploadResultTimeout = 4, // broadcast upload timed out + k_EBroadcastUploadResultBandwidthExceeded = 5, // broadcast send too much data + k_EBroadcastUploadResultLowFPS = 6, // broadcast FPS too low + k_EBroadcastUploadResultMissingKeyFrames = 7, // broadcast sending not enough key frames + k_EBroadcastUploadResultNoConnection = 8, // broadcast client failed to connect to relay + k_EBroadcastUploadResultRelayFailed = 9, // relay dropped the upload + k_EBroadcastUploadResultSettingsChanged = 10, // the client changed broadcast settings + k_EBroadcastUploadResultMissingAudio = 11, // client failed to send audio data + k_EBroadcastUploadResultTooFarBehind = 12, // clients was too slow uploading + k_EBroadcastUploadResultTranscodeBehind = 13, // server failed to keep up with transcode + k_EBroadcastUploadResultNotAllowedToPlay = 14, // Broadcast does not have permissions to play game + k_EBroadcastUploadResultBusy = 15, // RTMP host to busy to take new broadcast stream, choose another + k_EBroadcastUploadResultBanned = 16, // Account banned from community broadcast + k_EBroadcastUploadResultAlreadyActive = 17, // We already already have an stream running. + k_EBroadcastUploadResultForcedOff = 18, // We explicitly shutting down a broadcast + k_EBroadcastUploadResultAudioBehind = 19, // Audio stream was too far behind video + k_EBroadcastUploadResultShutdown = 20, // Broadcast Server was shut down + k_EBroadcastUploadResultDisconnect = 21, // broadcast uploader TCP disconnected + k_EBroadcastUploadResultVideoInitFailed = 22, // invalid video settings + k_EBroadcastUploadResultAudioInitFailed = 23, // invalid audio settings +}; + + +//----------------------------------------------------------------------------- +// Purpose: Reasons a user may not use the Community Market. +// Used in MarketEligibilityResponse_t. +//----------------------------------------------------------------------------- +enum EMarketNotAllowedReasonFlags +{ + k_EMarketNotAllowedReason_None = 0, + + // A back-end call failed or something that might work again on retry + k_EMarketNotAllowedReason_TemporaryFailure = (1 << 0), + + // Disabled account + k_EMarketNotAllowedReason_AccountDisabled = (1 << 1), + + // Locked account + k_EMarketNotAllowedReason_AccountLockedDown = (1 << 2), + + // Limited account (no purchases) + k_EMarketNotAllowedReason_AccountLimited = (1 << 3), + + // The account is banned from trading items + k_EMarketNotAllowedReason_TradeBanned = (1 << 4), + + // Wallet funds aren't tradable because the user has had no purchase + // activity in the last year or has had no purchases prior to last month + k_EMarketNotAllowedReason_AccountNotTrusted = (1 << 5), + + // The user doesn't have Steam Guard enabled + k_EMarketNotAllowedReason_SteamGuardNotEnabled = (1 << 6), + + // The user has Steam Guard, but it hasn't been enabled for the required + // number of days + k_EMarketNotAllowedReason_SteamGuardOnlyRecentlyEnabled = (1 << 7), + + // The user has recently forgotten their password and reset it + k_EMarketNotAllowedReason_RecentPasswordReset = (1 << 8), + + // The user has recently funded his or her wallet with a new payment method + k_EMarketNotAllowedReason_NewPaymentMethod = (1 << 9), + + // An invalid cookie was sent by the user + k_EMarketNotAllowedReason_InvalidCookie = (1 << 10), + + // The user has Steam Guard, but is using a new computer or web browser + k_EMarketNotAllowedReason_UsingNewDevice = (1 << 11), + + // The user has recently refunded a store purchase by his or herself + k_EMarketNotAllowedReason_RecentSelfRefund = (1 << 12), + + // The user has recently funded his or her wallet with a new payment method that cannot be verified + k_EMarketNotAllowedReason_NewPaymentMethodCannotBeVerified = (1 << 13), + + // Not only is the account not trusted, but they have no recent purchases at all + k_EMarketNotAllowedReason_NoRecentPurchases = (1 << 14), + + // User accepted a wallet gift that was recently purchased + k_EMarketNotAllowedReason_AcceptedWalletGift = (1 << 15), +}; + + +// +// describes XP / progress restrictions to apply for games with duration control / +// anti-indulgence enabled for minor Steam China users. +// +// WARNING: DO NOT RENUMBER +enum EDurationControlProgress +{ + k_EDurationControlProgress_Full = 0, // Full progress + k_EDurationControlProgress_Half = 1, // deprecated - XP or persistent rewards should be halved + k_EDurationControlProgress_None = 2, // deprecated - XP or persistent rewards should be stopped + + k_EDurationControl_ExitSoon_3h = 3, // allowed 3h time since 5h gap/break has elapsed, game should exit - steam will terminate the game soon + k_EDurationControl_ExitSoon_5h = 4, // allowed 5h time in calendar day has elapsed, game should exit - steam will terminate the game soon + k_EDurationControl_ExitSoon_Night = 5, // game running after day period, game should exit - steam will terminate the game soon +}; + + +// +// describes which notification timer has expired, for steam china duration control feature +// +// WARNING: DO NOT RENUMBER +enum EDurationControlNotification +{ + k_EDurationControlNotification_None = 0, // just informing you about progress, no notification to show + k_EDurationControlNotification_1Hour = 1, // "you've been playing for N hours" + + k_EDurationControlNotification_3Hours = 2, // deprecated - "you've been playing for 3 hours; take a break" + k_EDurationControlNotification_HalfProgress = 3,// deprecated - "your XP / progress is half normal" + k_EDurationControlNotification_NoProgress = 4, // deprecated - "your XP / progress is zero" + + k_EDurationControlNotification_ExitSoon_3h = 5, // allowed 3h time since 5h gap/break has elapsed, game should exit - steam will terminate the game soon + k_EDurationControlNotification_ExitSoon_5h = 6, // allowed 5h time in calendar day has elapsed, game should exit - steam will terminate the game soon + k_EDurationControlNotification_ExitSoon_Night = 7,// game running after day period, game should exit - steam will terminate the game soon +}; + + +// +// Specifies a game's online state in relation to duration control +// +enum EDurationControlOnlineState +{ + k_EDurationControlOnlineState_Invalid = 0, // nil value + k_EDurationControlOnlineState_Offline = 1, // currently in offline play - single-player, offline co-op, etc. + k_EDurationControlOnlineState_Online = 2, // currently in online play + k_EDurationControlOnlineState_OnlineHighPri = 3, // currently in online play and requests not to be interrupted +}; + + +#pragma pack( push, 1 ) + +#define CSTEAMID_DEFINED + +// Steam ID structure (64 bits total) +class CSteamID +{ +public: + + //----------------------------------------------------------------------------- + // Purpose: Constructor + //----------------------------------------------------------------------------- + CSteamID() + { + m_steamid.m_comp.m_unAccountID = 0; + m_steamid.m_comp.m_EAccountType = k_EAccountTypeInvalid; + m_steamid.m_comp.m_EUniverse = k_EUniverseInvalid; + m_steamid.m_comp.m_unAccountInstance = 0; + } + + + //----------------------------------------------------------------------------- + // Purpose: Constructor + // Input : unAccountID - 32-bit account ID + // eUniverse - Universe this account belongs to + // eAccountType - Type of account + //----------------------------------------------------------------------------- + CSteamID( uint32 unAccountID, EUniverse eUniverse, EAccountType eAccountType ) + { + Set( unAccountID, eUniverse, eAccountType ); + } + + + //----------------------------------------------------------------------------- + // Purpose: Constructor + // Input : unAccountID - 32-bit account ID + // unAccountInstance - instance + // eUniverse - Universe this account belongs to + // eAccountType - Type of account + //----------------------------------------------------------------------------- + CSteamID( uint32 unAccountID, unsigned int unAccountInstance, EUniverse eUniverse, EAccountType eAccountType ) + { +#if defined(_SERVER) && defined(Assert) + Assert( ( k_EAccountTypeIndividual != eAccountType ) || ( unAccountInstance == k_unSteamUserDefaultInstance ) ); // enforce that for individual accounts, instance is always 1 +#endif // _SERVER + InstancedSet( unAccountID, unAccountInstance, eUniverse, eAccountType ); + } + + + //----------------------------------------------------------------------------- + // Purpose: Constructor + // Input : ulSteamID - 64-bit representation of a Steam ID + // Note: Will not accept a uint32 or int32 as input, as that is a probable mistake. + // See the stubbed out overloads in the private: section for more info. + //----------------------------------------------------------------------------- + CSteamID( uint64 ulSteamID ) + { + SetFromUint64( ulSteamID ); + } +#ifdef INT64_DIFFERENT_FROM_INT64_T + CSteamID( uint64_t ulSteamID ) + { + SetFromUint64( (uint64)ulSteamID ); + } +#endif + + + //----------------------------------------------------------------------------- + // Purpose: Sets parameters for steam ID + // Input : unAccountID - 32-bit account ID + // eUniverse - Universe this account belongs to + // eAccountType - Type of account + //----------------------------------------------------------------------------- + void Set( uint32 unAccountID, EUniverse eUniverse, EAccountType eAccountType ) + { + m_steamid.m_comp.m_unAccountID = unAccountID; + m_steamid.m_comp.m_EUniverse = eUniverse; + m_steamid.m_comp.m_EAccountType = eAccountType; + + if ( eAccountType == k_EAccountTypeClan || eAccountType == k_EAccountTypeGameServer ) + { + m_steamid.m_comp.m_unAccountInstance = 0; + } + else + { + m_steamid.m_comp.m_unAccountInstance = k_unSteamUserDefaultInstance; + } + } + + + //----------------------------------------------------------------------------- + // Purpose: Sets parameters for steam ID + // Input : unAccountID - 32-bit account ID + // eUniverse - Universe this account belongs to + // eAccountType - Type of account + //----------------------------------------------------------------------------- + void InstancedSet( uint32 unAccountID, uint32 unInstance, EUniverse eUniverse, EAccountType eAccountType ) + { + m_steamid.m_comp.m_unAccountID = unAccountID; + m_steamid.m_comp.m_EUniverse = eUniverse; + m_steamid.m_comp.m_EAccountType = eAccountType; + m_steamid.m_comp.m_unAccountInstance = unInstance; + } + + + //----------------------------------------------------------------------------- + // Purpose: Initializes a steam ID from its 52 bit parts and universe/type + // Input : ulIdentifier - 52 bits of goodness + //----------------------------------------------------------------------------- + void FullSet( uint64 ulIdentifier, EUniverse eUniverse, EAccountType eAccountType ) + { + m_steamid.m_comp.m_unAccountID = ( ulIdentifier & k_unSteamAccountIDMask ); // account ID is low 32 bits + m_steamid.m_comp.m_unAccountInstance = ( ( ulIdentifier >> 32 ) & k_unSteamAccountInstanceMask ); // account instance is next 20 bits + m_steamid.m_comp.m_EUniverse = eUniverse; + m_steamid.m_comp.m_EAccountType = eAccountType; + } + + + //----------------------------------------------------------------------------- + // Purpose: Initializes a steam ID from its 64-bit representation + // Input : ulSteamID - 64-bit representation of a Steam ID + //----------------------------------------------------------------------------- + void SetFromUint64( uint64 ulSteamID ) + { + m_steamid.m_unAll64Bits = ulSteamID; + } + + + //----------------------------------------------------------------------------- + // Purpose: Clear all fields, leaving an invalid ID. + //----------------------------------------------------------------------------- + void Clear() + { + m_steamid.m_comp.m_unAccountID = 0; + m_steamid.m_comp.m_EAccountType = k_EAccountTypeInvalid; + m_steamid.m_comp.m_EUniverse = k_EUniverseInvalid; + m_steamid.m_comp.m_unAccountInstance = 0; + } + + //----------------------------------------------------------------------------- + // Purpose: Converts steam ID to its 64-bit representation + // Output : 64-bit representation of a Steam ID + //----------------------------------------------------------------------------- + uint64 ConvertToUint64() const + { + return m_steamid.m_unAll64Bits; + } + + + //----------------------------------------------------------------------------- + // Purpose: Converts the static parts of a steam ID to a 64-bit representation. + // For multiseat accounts, all instances of that account will have the + // same static account key, so they can be grouped together by the static + // account key. + // Output : 64-bit static account key + //----------------------------------------------------------------------------- + uint64 GetStaticAccountKey() const + { + // note we do NOT include the account instance (which is a dynamic property) in the static account key + return (uint64) ( ( ( (uint64) m_steamid.m_comp.m_EUniverse ) << 56 ) + ((uint64) m_steamid.m_comp.m_EAccountType << 52 ) + m_steamid.m_comp.m_unAccountID ); + } + + + //----------------------------------------------------------------------------- + // Purpose: create an anonymous game server login to be filled in by the AM + //----------------------------------------------------------------------------- + void CreateBlankAnonLogon( EUniverse eUniverse ) + { + m_steamid.m_comp.m_unAccountID = 0; + m_steamid.m_comp.m_EAccountType = k_EAccountTypeAnonGameServer; + m_steamid.m_comp.m_EUniverse = eUniverse; + m_steamid.m_comp.m_unAccountInstance = 0; + } + + + //----------------------------------------------------------------------------- + // Purpose: create an anonymous game server login to be filled in by the AM + //----------------------------------------------------------------------------- + void CreateBlankAnonUserLogon( EUniverse eUniverse ) + { + m_steamid.m_comp.m_unAccountID = 0; + m_steamid.m_comp.m_EAccountType = k_EAccountTypeAnonUser; + m_steamid.m_comp.m_EUniverse = eUniverse; + m_steamid.m_comp.m_unAccountInstance = 0; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this an anonymous game server login that will be filled in? + //----------------------------------------------------------------------------- + bool BBlankAnonAccount() const + { + return m_steamid.m_comp.m_unAccountID == 0 && BAnonAccount() && m_steamid.m_comp.m_unAccountInstance == 0; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this a game server account id? (Either persistent or anonymous) + //----------------------------------------------------------------------------- + bool BGameServerAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeGameServer || m_steamid.m_comp.m_EAccountType == k_EAccountTypeAnonGameServer; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this a persistent (not anonymous) game server account id? + //----------------------------------------------------------------------------- + bool BPersistentGameServerAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeGameServer; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this an anonymous game server account id? + //----------------------------------------------------------------------------- + bool BAnonGameServerAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeAnonGameServer; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this a content server account id? + //----------------------------------------------------------------------------- + bool BContentServerAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeContentServer; + } + + + //----------------------------------------------------------------------------- + // Purpose: Is this a clan account id? + //----------------------------------------------------------------------------- + bool BClanAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeClan; + } + + + //----------------------------------------------------------------------------- + // Purpose: Is this a chat account id? + //----------------------------------------------------------------------------- + bool BChatAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeChat; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this a chat account id? + //----------------------------------------------------------------------------- + bool IsLobby() const + { + return ( m_steamid.m_comp.m_EAccountType == k_EAccountTypeChat ) + && ( m_steamid.m_comp.m_unAccountInstance & k_EChatInstanceFlagLobby ); + } + + + //----------------------------------------------------------------------------- + // Purpose: Is this an individual user account id? + //----------------------------------------------------------------------------- + bool BIndividualAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeIndividual || m_steamid.m_comp.m_EAccountType == k_EAccountTypeConsoleUser; + } + + + //----------------------------------------------------------------------------- + // Purpose: Is this an anonymous account? + //----------------------------------------------------------------------------- + bool BAnonAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeAnonUser || m_steamid.m_comp.m_EAccountType == k_EAccountTypeAnonGameServer; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this an anonymous user account? ( used to create an account or reset a password ) + //----------------------------------------------------------------------------- + bool BAnonUserAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeAnonUser; + } + + //----------------------------------------------------------------------------- + // Purpose: Is this a faked up Steam ID for a PSN friend account? + //----------------------------------------------------------------------------- + bool BConsoleUserAccount() const + { + return m_steamid.m_comp.m_EAccountType == k_EAccountTypeConsoleUser; + } + + // simple accessors + void SetAccountID( uint32 unAccountID ) { m_steamid.m_comp.m_unAccountID = unAccountID; } + void SetAccountInstance( uint32 unInstance ){ m_steamid.m_comp.m_unAccountInstance = unInstance; } + + AccountID_t GetAccountID() const { return m_steamid.m_comp.m_unAccountID; } + uint32 GetUnAccountInstance() const { return m_steamid.m_comp.m_unAccountInstance; } + EAccountType GetEAccountType() const { return ( EAccountType ) m_steamid.m_comp.m_EAccountType; } + EUniverse GetEUniverse() const { return m_steamid.m_comp.m_EUniverse; } + void SetEUniverse( EUniverse eUniverse ) { m_steamid.m_comp.m_EUniverse = eUniverse; } + bool IsValid() const; + + // this set of functions is hidden, will be moved out of class + explicit CSteamID( const char *pchSteamID, EUniverse eDefaultUniverse = k_EUniverseInvalid ); + const char * Render() const; // renders this steam ID to string + static const char * Render( uint64 ulSteamID ); // static method to render a uint64 representation of a steam ID to a string + + void SetFromString( const char *pchSteamID, EUniverse eDefaultUniverse ); + // SetFromString allows many partially-correct strings, constraining how + // we might be able to change things in the future. + // SetFromStringStrict requires the exact string forms that we support + // and is preferred when the caller knows it's safe to be strict. + // Returns whether the string parsed correctly. + bool SetFromStringStrict( const char *pchSteamID, EUniverse eDefaultUniverse ); + + inline bool operator==( const CSteamID &val ) const { return m_steamid.m_unAll64Bits == val.m_steamid.m_unAll64Bits; } + inline bool operator!=( const CSteamID &val ) const { return !operator==( val ); } + inline bool operator<( const CSteamID &val ) const { return m_steamid.m_unAll64Bits < val.m_steamid.m_unAll64Bits; } + inline bool operator>( const CSteamID &val ) const { return m_steamid.m_unAll64Bits > val.m_steamid.m_unAll64Bits; } + + // DEBUG function + bool BValidExternalSteamID() const; + +private: + // These are defined here to prevent accidental implicit conversion of a u32AccountID to a CSteamID. + // If you get a compiler error about an ambiguous constructor/function then it may be because you're + // passing a 32-bit int to a function that takes a CSteamID. You should explicitly create the SteamID + // using the correct Universe and account Type/Instance values. + CSteamID( uint32 ); + CSteamID( int32 ); + + // 64 bits total + union SteamID_t + { + struct SteamIDComponent_t + { +#ifdef VALVE_BIG_ENDIAN + EUniverse m_EUniverse : 8; // universe this account belongs to + unsigned int m_EAccountType : 4; // type of account - can't show as EAccountType, due to signed / unsigned difference + unsigned int m_unAccountInstance : 20; // dynamic instance ID + uint32 m_unAccountID : 32; // unique account identifier +#else + uint32 m_unAccountID : 32; // unique account identifier + unsigned int m_unAccountInstance : 20; // dynamic instance ID + unsigned int m_EAccountType : 4; // type of account - can't show as EAccountType, due to signed / unsigned difference + EUniverse m_EUniverse : 8; // universe this account belongs to +#endif + } m_comp; + + uint64 m_unAll64Bits; + } m_steamid; +}; + +inline bool CSteamID::IsValid() const +{ + if ( m_steamid.m_comp.m_EAccountType <= k_EAccountTypeInvalid || m_steamid.m_comp.m_EAccountType >= k_EAccountTypeMax ) + return false; + + if ( m_steamid.m_comp.m_EUniverse <= k_EUniverseInvalid || m_steamid.m_comp.m_EUniverse >= k_EUniverseMax ) + return false; + + if ( m_steamid.m_comp.m_EAccountType == k_EAccountTypeIndividual ) + { + if ( m_steamid.m_comp.m_unAccountID == 0 || m_steamid.m_comp.m_unAccountInstance != k_unSteamUserDefaultInstance ) + return false; + } + + if ( m_steamid.m_comp.m_EAccountType == k_EAccountTypeClan ) + { + if ( m_steamid.m_comp.m_unAccountID == 0 || m_steamid.m_comp.m_unAccountInstance != 0 ) + return false; + } + + if ( m_steamid.m_comp.m_EAccountType == k_EAccountTypeGameServer ) + { + if ( m_steamid.m_comp.m_unAccountID == 0 ) + return false; + // Any limit on instances? We use them for local users and bots + } + return true; +} + +#if defined( INCLUDED_STEAM2_USERID_STRUCTS ) + +//----------------------------------------------------------------------------- +// Purpose: Initializes a steam ID from a Steam2 ID structure +// Input: pTSteamGlobalUserID - Steam2 ID to convert +// eUniverse - universe this ID belongs to +//----------------------------------------------------------------------------- +inline CSteamID SteamIDFromSteam2UserID( TSteamGlobalUserID *pTSteamGlobalUserID, EUniverse eUniverse ) +{ + uint32 unAccountID = pTSteamGlobalUserID->m_SteamLocalUserID.Split.Low32bits * 2 + + pTSteamGlobalUserID->m_SteamLocalUserID.Split.High32bits; + + return CSteamID( unAccountID, k_unSteamUserDefaultInstance, eUniverse, k_EAccountTypeIndividual ); +} + +bool SteamIDFromSteam2String( const char *pchSteam2ID, EUniverse eUniverse, CSteamID *pSteamIDOut ); + +//----------------------------------------------------------------------------- +// Purpose: Fills out a Steam2 ID structure +// Input: pTSteamGlobalUserID - Steam2 ID to write to +//----------------------------------------------------------------------------- +inline TSteamGlobalUserID SteamIDToSteam2UserID( CSteamID steamID ) +{ + TSteamGlobalUserID steamGlobalUserID; + + steamGlobalUserID.m_SteamInstanceID = 0; + steamGlobalUserID.m_SteamLocalUserID.Split.High32bits = steamID.GetAccountID() % 2; + steamGlobalUserID.m_SteamLocalUserID.Split.Low32bits = steamID.GetAccountID() / 2; + + return steamGlobalUserID; +} + + +#endif + +// generic invalid CSteamID +#define k_steamIDNil CSteamID() + +// This steamID comes from a user game connection to an out of date GS that hasnt implemented the protocol +// to provide its steamID +#define k_steamIDOutofDateGS CSteamID( 0, 0, k_EUniverseInvalid, k_EAccountTypeInvalid ) +// This steamID comes from a user game connection to an sv_lan GS +#define k_steamIDLanModeGS CSteamID( 0, 0, k_EUniversePublic, k_EAccountTypeInvalid ) +// This steamID can come from a user game connection to a GS that has just booted but hasnt yet even initialized +// its steam3 component and started logging on. +#define k_steamIDNotInitYetGS CSteamID( 1, 0, k_EUniverseInvalid, k_EAccountTypeInvalid ) +// This steamID can come from a user game connection to a GS that isn't using the steam authentication system but still +// wants to support the "Join Game" option in the friends list +#define k_steamIDNonSteamGS CSteamID( 2, 0, k_EUniverseInvalid, k_EAccountTypeInvalid ) + + +#ifdef STEAM +// Returns the matching chat steamID, with the default instance of 0 +// If the steamID passed in is already of type k_EAccountTypeChat it will be returned with the same instance +CSteamID ChatIDFromSteamID( const CSteamID &steamID ); +// Returns the matching clan steamID, with the default instance of 0 +// If the steamID passed in is already of type k_EAccountTypeClan it will be returned with the same instance +CSteamID ClanIDFromSteamID( const CSteamID &steamID ); +// Asserts steamID type before conversion +CSteamID ChatIDFromClanID( const CSteamID &steamIDClan ); +// Asserts steamID type before conversion +CSteamID ClanIDFromChatID( const CSteamID &steamIDChat ); + +#endif // _STEAM + + +//----------------------------------------------------------------------------- +// Purpose: encapsulates an appID/modID pair +//----------------------------------------------------------------------------- +class CGameID +{ +public: + + enum EGameIDType + { + k_EGameIDTypeApp = 0, + k_EGameIDTypeGameMod = 1, + k_EGameIDTypeShortcut = 2, + k_EGameIDTypeP2P = 3, + }; + + CGameID() + { + m_gameID.m_nType = k_EGameIDTypeApp; + m_gameID.m_nAppID = k_uAppIdInvalid; + m_gameID.m_nModID = 0; + } + + explicit CGameID( uint64 ulGameID ) + { + m_ulGameID = ulGameID; + } +#ifdef INT64_DIFFERENT_FROM_INT64_T + CGameID( uint64_t ulGameID ) + { + m_ulGameID = (uint64)ulGameID; + } +#endif + + explicit CGameID( int32 nAppID ) + { + m_ulGameID = 0; + m_gameID.m_nAppID = nAppID; + } + + explicit CGameID( uint32 nAppID ) + { + m_ulGameID = 0; + m_gameID.m_nAppID = nAppID; + } + + // Not validating anything .. use IsValid() + explicit CGameID( uint32 nAppID, uint32 nModID, CGameID::EGameIDType nType ) + { + m_gameID.m_nAppID = nAppID; + m_gameID.m_nModID = nModID; + m_gameID.m_nType = nType; + } + + CGameID( const CGameID &that ) + { + m_ulGameID = that.m_ulGameID; + } + + CGameID& operator=( const CGameID & that ) + { + m_ulGameID = that.m_ulGameID; + return *this; + } + + // Hidden functions used only by Steam + explicit CGameID( const char *pchGameID ); + const char *Render() const; // render this Game ID to string + static const char *Render( uint64 ulGameID ); // static method to render a uint64 representation of a Game ID to a string + + uint64 ToUint64() const + { + return m_ulGameID; + } + + uint64 *GetUint64Ptr() + { + return &m_ulGameID; + } + + void Set( uint64 ulGameID ) + { + m_ulGameID = ulGameID; + } + + bool IsMod() const + { + return ( m_gameID.m_nType == k_EGameIDTypeGameMod ); + } + + bool IsShortcut() const + { + return ( m_gameID.m_nType == k_EGameIDTypeShortcut ); + } + + bool IsP2PFile() const + { + return ( m_gameID.m_nType == k_EGameIDTypeP2P ); + } + + bool IsSteamApp() const + { + return ( m_gameID.m_nType == k_EGameIDTypeApp ); + } + + uint32 ModID() const + { + return m_gameID.m_nModID; + } + +#if !defined(VALVE_SHORTCUT_DEBUG) + uint32 AppID( bool = false ) const + { + return m_gameID.m_nAppID; + } +#else + uint32 AppID( bool bShortcutOK = false ) const; +#endif + + bool operator == ( const CGameID &rhs ) const + { + return m_ulGameID == rhs.m_ulGameID; + } + + bool operator != ( const CGameID &rhs ) const + { + return !(*this == rhs); + } + + bool operator < ( const CGameID &rhs ) const + { + return ( m_ulGameID < rhs.m_ulGameID ); + } + + bool IsValid() const + { + // each type has it's own invalid fixed point: + switch( m_gameID.m_nType ) + { + case k_EGameIDTypeApp: + return m_gameID.m_nAppID != k_uAppIdInvalid; + + case k_EGameIDTypeGameMod: + return m_gameID.m_nAppID != k_uAppIdInvalid && (m_gameID.m_nModID & 0x80000000); + + case k_EGameIDTypeShortcut: + return m_gameID.m_nAppID == k_uAppIdInvalid + && (m_gameID.m_nModID & 0x80000000) + && m_gameID.m_nModID >= (5000 | 0x80000000); // k_unMaxExpectedLocalAppId - shortcuts are pushed beyond that range + + case k_EGameIDTypeP2P: + return m_gameID.m_nAppID == k_uAppIdInvalid && (m_gameID.m_nModID & 0x80000000); + + default: + return false; + } + + } + + void Reset() + { + m_ulGameID = 0; + } + +// +// Internal stuff. Use the accessors above if possible +// + + struct GameID_t + { +#ifdef VALVE_BIG_ENDIAN + unsigned int m_nModID : 32; + unsigned int m_nType : 8; + unsigned int m_nAppID : 24; +#else + unsigned int m_nAppID : 24; + unsigned int m_nType : 8; + unsigned int m_nModID : 32; +#endif + }; + + union + { + uint64 m_ulGameID; + GameID_t m_gameID; + }; + + friend CGameID GameIDFromAppAndModPath( uint32 nAppID, const char *pchModPath ); +}; + +#pragma pack( pop ) + +const int k_cchGameExtraInfoMax = 64; + + +//----------------------------------------------------------------------------- +// Purpose: Passed as argument to SteamAPI_UseBreakpadCrashHandler to enable optional callback +// just before minidump file is captured after a crash has occurred. (Allows app to append additional comment data to the dump, etc.) +//----------------------------------------------------------------------------- +typedef void (*PFNPreMinidumpCallback)(void *context); + +enum EGameSearchErrorCode_t +{ + k_EGameSearchErrorCode_OK = 1, + k_EGameSearchErrorCode_Failed_Search_Already_In_Progress = 2, + k_EGameSearchErrorCode_Failed_No_Search_In_Progress = 3, + k_EGameSearchErrorCode_Failed_Not_Lobby_Leader = 4, // if not the lobby leader can not call SearchForGameWithLobby + k_EGameSearchErrorCode_Failed_No_Host_Available = 5, // no host is available that matches those search params + k_EGameSearchErrorCode_Failed_Search_Params_Invalid = 6, // search params are invalid + k_EGameSearchErrorCode_Failed_Offline = 7, // offline, could not communicate with server + k_EGameSearchErrorCode_Failed_NotAuthorized = 8, // either the user or the application does not have priveledges to do this + k_EGameSearchErrorCode_Failed_Unknown_Error = 9, // unknown error +}; + +enum EPlayerResult_t +{ + k_EPlayerResultFailedToConnect = 1, // failed to connect after confirming + k_EPlayerResultAbandoned = 2, // quit game without completing it + k_EPlayerResultKicked = 3, // kicked by other players/moderator/server rules + k_EPlayerResultIncomplete = 4, // player stayed to end but game did not conclude successfully ( nofault to player ) + k_EPlayerResultCompleted = 5, // player completed game +}; + + +enum ESteamIPv6ConnectivityProtocol +{ + k_ESteamIPv6ConnectivityProtocol_Invalid = 0, + k_ESteamIPv6ConnectivityProtocol_HTTP = 1, // because a proxy may make this different than other protocols + k_ESteamIPv6ConnectivityProtocol_UDP = 2, // test UDP connectivity. Uses a port that is commonly needed for other Steam stuff. If UDP works, TCP probably works. +}; + +// For the above transport protocol, what do we think the local machine's connectivity to the internet over ipv6 is like +enum ESteamIPv6ConnectivityState +{ + k_ESteamIPv6ConnectivityState_Unknown = 0, // We haven't run a test yet + k_ESteamIPv6ConnectivityState_Good = 1, // We have recently been able to make a request on ipv6 for the given protocol + k_ESteamIPv6ConnectivityState_Bad = 2, // We failed to make a request, either because this machine has no ipv6 address assigned, or it has no upstream connectivity +}; + + +// Define compile time assert macros to let us validate the structure sizes. +#define VALVE_COMPILE_TIME_ASSERT( pred ) typedef char compile_time_assert_type[(pred) ? 1 : -1]; + +#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) +// The 32-bit version of gcc has the alignment requirement for uint64 and double set to +// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned. +// The 64-bit version of gcc has the alignment requirement for these types set to +// 8 meaning that unless we use #pragma pack(4) our structures will get bigger. +// The 64-bit structure packing has to match the 32-bit structure packing for each platform. +#define VALVE_CALLBACK_PACK_SMALL +#else +#define VALVE_CALLBACK_PACK_LARGE +#endif + +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error ??? +#endif + +typedef struct ValvePackingSentinel_t +{ + uint32 m_u32; + uint64 m_u64; + uint16 m_u16; + double m_d; +} ValvePackingSentinel_t; + +#pragma pack( pop ) + + +#if defined(VALVE_CALLBACK_PACK_SMALL) +VALVE_COMPILE_TIME_ASSERT( sizeof(ValvePackingSentinel_t) == 24 ) +#elif defined(VALVE_CALLBACK_PACK_LARGE) +VALVE_COMPILE_TIME_ASSERT( sizeof(ValvePackingSentinel_t) == 32 ) +#else +#error ??? +#endif + +#endif // STEAMCLIENTPUBLIC_H diff --git a/lsteamclient/steamworks_sdk_158/steamencryptedappticket.h b/lsteamclient/steamworks_sdk_158/steamencryptedappticket.h new file mode 100644 index 000000000..4419a0bec --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamencryptedappticket.h @@ -0,0 +1,40 @@ +//========= Copyright © 1996-2010, Valve LLC, All rights reserved. ============ +// +// Purpose: utilities to decode/decrypt a ticket from the +// ISteamUser::RequestEncryptedAppTicket, ISteamUser::GetEncryptedAppTicket API +// +// To use: declare CSteamEncryptedAppTicket, then call BDecryptTicket +// if BDecryptTicket returns true, other accessors are valid +// +//============================================================================= + +#include "steam_api.h" + +static const int k_nSteamEncryptedAppTicketSymmetricKeyLen = 32; + + +S_API bool SteamEncryptedAppTicket_BDecryptTicket( const uint8 *rgubTicketEncrypted, uint32 cubTicketEncrypted, + uint8 *rgubTicketDecrypted, uint32 *pcubTicketDecrypted, + const uint8 rgubKey[k_nSteamEncryptedAppTicketSymmetricKeyLen], int cubKey ); + +S_API bool SteamEncryptedAppTicket_BIsTicketForApp( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, AppId_t nAppID ); + +S_API RTime32 SteamEncryptedAppTicket_GetTicketIssueTime( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted ); + +S_API void SteamEncryptedAppTicket_GetTicketSteamID( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, CSteamID *psteamID ); + +S_API AppId_t SteamEncryptedAppTicket_GetTicketAppID( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted ); + +S_API bool SteamEncryptedAppTicket_BUserOwnsAppInTicket( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, AppId_t nAppID ); + +S_API bool SteamEncryptedAppTicket_BUserIsVacBanned( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted ); + +S_API bool SteamEncryptedAppTicket_BGetAppDefinedValue( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, uint32 *pValue ); + +S_API const uint8 *SteamEncryptedAppTicket_GetUserVariableData( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, uint32 *pcubUserData ); + +S_API bool SteamEncryptedAppTicket_BIsTicketSigned( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted, const uint8 *pubRSAKey, uint32 cubRSAKey ); + +S_API bool SteamEncryptedAppTicket_BIsLicenseBorrowed( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted ); + +S_API bool SteamEncryptedAppTicket_BIsLicenseTemporary( uint8 *rgubTicketDecrypted, uint32 cubTicketDecrypted ); diff --git a/lsteamclient/steamworks_sdk_158/steamhttpenums.h b/lsteamclient/steamworks_sdk_158/steamhttpenums.h new file mode 100644 index 000000000..21b03a7ba --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamhttpenums.h @@ -0,0 +1,100 @@ +//====== Copyright © 1996-2010, Valve Corporation, All rights reserved. ======= +// +// Purpose: HTTP related enums, stuff that is shared by both clients and servers, and our +// UI projects goes here. +// +//============================================================================= + +#ifndef STEAMHTTPENUMS_H +#define STEAMHTTPENUMS_H +#ifdef _WIN32 +#pragma once +#endif + +// HTTP related types + +// This enum is used in client API methods, do not re-number existing values. +enum EHTTPMethod +{ + k_EHTTPMethodInvalid = 0, + k_EHTTPMethodGET, + k_EHTTPMethodHEAD, + k_EHTTPMethodPOST, + k_EHTTPMethodPUT, + k_EHTTPMethodDELETE, + k_EHTTPMethodOPTIONS, + k_EHTTPMethodPATCH, + + // The remaining HTTP methods are not yet supported, per rfc2616 section 5.1.1 only GET and HEAD are required for + // a compliant general purpose server. We'll likely add more as we find uses for them. + + // k_EHTTPMethodTRACE, + // k_EHTTPMethodCONNECT +}; + + +// HTTP Status codes that the server can send in response to a request, see rfc2616 section 10.3 for descriptions +// of each of these. +enum EHTTPStatusCode +{ + // Invalid status code (this isn't defined in HTTP, used to indicate unset in our code) + k_EHTTPStatusCodeInvalid = 0, + + // Informational codes + k_EHTTPStatusCode100Continue = 100, + k_EHTTPStatusCode101SwitchingProtocols = 101, + + // Success codes + k_EHTTPStatusCode200OK = 200, + k_EHTTPStatusCode201Created = 201, + k_EHTTPStatusCode202Accepted = 202, + k_EHTTPStatusCode203NonAuthoritative = 203, + k_EHTTPStatusCode204NoContent = 204, + k_EHTTPStatusCode205ResetContent = 205, + k_EHTTPStatusCode206PartialContent = 206, + + // Redirection codes + k_EHTTPStatusCode300MultipleChoices = 300, + k_EHTTPStatusCode301MovedPermanently = 301, + k_EHTTPStatusCode302Found = 302, + k_EHTTPStatusCode303SeeOther = 303, + k_EHTTPStatusCode304NotModified = 304, + k_EHTTPStatusCode305UseProxy = 305, + //k_EHTTPStatusCode306Unused = 306, (used in old HTTP spec, now unused in 1.1) + k_EHTTPStatusCode307TemporaryRedirect = 307, + k_EHTTPStatusCode308PermanentRedirect = 308, + + // Error codes + k_EHTTPStatusCode400BadRequest = 400, + k_EHTTPStatusCode401Unauthorized = 401, // You probably want 403 or something else. 401 implies you're sending a WWW-Authenticate header and the client can sent an Authorization header in response. + k_EHTTPStatusCode402PaymentRequired = 402, // This is reserved for future HTTP specs, not really supported by clients + k_EHTTPStatusCode403Forbidden = 403, + k_EHTTPStatusCode404NotFound = 404, + k_EHTTPStatusCode405MethodNotAllowed = 405, + k_EHTTPStatusCode406NotAcceptable = 406, + k_EHTTPStatusCode407ProxyAuthRequired = 407, + k_EHTTPStatusCode408RequestTimeout = 408, + k_EHTTPStatusCode409Conflict = 409, + k_EHTTPStatusCode410Gone = 410, + k_EHTTPStatusCode411LengthRequired = 411, + k_EHTTPStatusCode412PreconditionFailed = 412, + k_EHTTPStatusCode413RequestEntityTooLarge = 413, + k_EHTTPStatusCode414RequestURITooLong = 414, + k_EHTTPStatusCode415UnsupportedMediaType = 415, + k_EHTTPStatusCode416RequestedRangeNotSatisfiable = 416, + k_EHTTPStatusCode417ExpectationFailed = 417, + k_EHTTPStatusCode4xxUnknown = 418, // 418 is reserved, so we'll use it to mean unknown + k_EHTTPStatusCode429TooManyRequests = 429, + k_EHTTPStatusCode444ConnectionClosed = 444, // nginx only? + + // Server error codes + k_EHTTPStatusCode500InternalServerError = 500, + k_EHTTPStatusCode501NotImplemented = 501, + k_EHTTPStatusCode502BadGateway = 502, + k_EHTTPStatusCode503ServiceUnavailable = 503, + k_EHTTPStatusCode504GatewayTimeout = 504, + k_EHTTPStatusCode505HTTPVersionNotSupported = 505, + k_EHTTPStatusCode5xxUnknown = 599, +}; + +#endif // STEAMHTTPENUMS_H \ No newline at end of file diff --git a/lsteamclient/steamworks_sdk_158/steamnetworkingfakeip.h b/lsteamclient/steamworks_sdk_158/steamnetworkingfakeip.h new file mode 100644 index 000000000..0b642734f --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamnetworkingfakeip.h @@ -0,0 +1,135 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== + +#ifndef STEAMNETWORKINGFAKEIP_H +#define STEAMNETWORKINGFAKEIP_H + +#include "steamnetworkingtypes.h" +#include "steam_api_common.h" + +// It is HIGHLY recommended to limit messages sent via Fake UDP port to this +// value. The purpose of a Fake UDP port is to make porting ordinary ad-hoc UDP +// code easier. Although the real MTU might be higher than this, this particular +// conservative value is chosen so that fragmentation won't be occurring and +// hiding performance problems from you. +constexpr int k_cbSteamNetworkingSocketsFakeUDPPortRecommendedMTU = 1200; + +// Messages larger than this size are not allowed and cannot be sent +// via Fake UDP port. +constexpr int k_cbSteamNetworkingSocketsFakeUDPPortMaxMessageSize = 4096; + +//----------------------------------------------------------------------------- +/// ISteamNetworkingFakeUDPPort +/// +/// Acts like a UDP port, sending and receiving datagrams addressed using +/// FakeIP addresses. +/// +/// See: ISteamNetworkingSockets::CreateFakeUDPPort + +class ISteamNetworkingFakeUDPPort +{ +public: + /// Destroy the object and cleanup any internal connections. + /// Note that this function call is not threadsafe with respect + /// to any other method of this interface. (However, in general + /// all other operations are threadsafe with respect to each other.) + virtual void DestroyFakeUDPPort() = 0; + + /// Send a datagram to the specified FakeIP. + /// + /// See ISteamNetworkingSockets::SendMessageToConnection for the meaning of + /// nSendFlags and possible return codes. + /// + /// Notes: + /// - datagrams larger than the underlying MTU are supported, but + /// reliable messages (k_nSteamNetworkingSend_Reliable) are not supported. + /// - You will usually want to use k_nSteamNetworkingSend_NoNagle + /// - k_EResultBusy is returned if this is a "server" port and the global + /// allocation has not yet completed. + /// - k_EResultIPNotFound will be returned if the address is a local/ephemeral + /// address and no existing connection can be found. This can happen if + /// the remote host contacted us without having a global address, and we + /// assigned them a random local address, and then the session with + /// that host timed out. + /// - When initiating communications, the first messages may be sent + /// via backend signaling, or otherwise delayed, while a route is found. + /// Expect the ping time to fluctuate during this period, and it's possible + /// that messages will be delivered out of order (which is also possible with + /// ordinary UDP). + virtual EResult SendMessageToFakeIP( const SteamNetworkingIPAddr &remoteAddress, const void *pData, uint32 cbData, int nSendFlags ) = 0; + + /// Receive messages on the port. + /// + /// Returns the number of messages returned into your array, up to nMaxMessages. + /// + /// SteamNetworkingMessage_t::m_identity in the returned message(s) will always contain + /// a FakeIP. See ISteamNetworkingUtils::GetRealIdentityForFakeIP. + virtual int ReceiveMessages( SteamNetworkingMessage_t **ppOutMessages, int nMaxMessages ) = 0; + + /// Schedule the internal connection for a given peer to be cleaned up in a few seconds. + /// + /// Idle connections automatically time out, and so this is not strictly *necessary*, + /// but if you have reason to believe that you are done talking to a given peer for + /// a while, you can call this to speed up the timeout. If any remaining packets are + /// sent or received from the peer, the cleanup is canceled and the usual timeout + /// value is restored. Thus you will usually call this immediately after sending + /// or receiving application-layer "close connection" packets. + virtual void ScheduleCleanup( const SteamNetworkingIPAddr &remoteAddress ) = 0; +}; +#define STEAMNETWORKINGFAKEUDPPORT_INTERFACE_VERSION "SteamNetworkingFakeUDPPort001" /* for proton codegen */ + +/// Callback struct used to notify when a connection has changed state +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error "Must define VALVE_CALLBACK_PACK_SMALL or VALVE_CALLBACK_PACK_LARGE" +#endif + +/// A struct used to describe a "fake IP" we have been assigned to +/// use as an identifier. This callback is posted when +/// ISteamNetworkingSoockets::BeginAsyncRequestFakeIP completes. +/// See also ISteamNetworkingSockets::GetFakeIP +struct SteamNetworkingFakeIPResult_t +{ + enum { k_iCallback = k_iSteamNetworkingSocketsCallbacks + 3 }; + + /// Status/result of the allocation request. Possible failure values are: + /// - k_EResultBusy - you called GetFakeIP but the request has not completed. + /// - k_EResultInvalidParam - you called GetFakeIP with an invalid port index + /// - k_EResultLimitExceeded - You asked for too many ports, or made an + /// additional request after one had already succeeded + /// - k_EResultNoMatch - GetFakeIP was called, but no request has been made + /// + /// Note that, with the exception of k_EResultBusy (if you are polling), + /// it is highly recommended to treat all failures as fatal. + EResult m_eResult; + + /// Local identity of the ISteamNetworkingSockets object that made + /// this request and is assigned the IP. This is needed in the callback + /// in the case where there are multiple ISteamNetworkingSockets objects. + /// (E.g. one for the user, and another for the local gameserver). + SteamNetworkingIdentity m_identity; + + /// Fake IPv4 IP address that we have been assigned. NOTE: this + /// IP address is not exclusively ours! Steam tries to avoid sharing + /// IP addresses, but this may not always be possible. The IP address + /// may be currently in use by another host, but with different port(s). + /// The exact same IP:port address may have been used previously. + /// Steam tries to avoid reusing ports until they have not been in use for + /// some time, but this may not always be possible. + uint32 m_unIP; + + /// Port number(s) assigned to us. Only the first entries will contain + /// nonzero values. Entries corresponding to ports beyond what was + /// allocated for you will be zero. + /// + /// (NOTE: At the time of this writing, the maximum number of ports you may + /// request is 4.) + enum { k_nMaxReturnPorts = 8 }; + uint16 m_unPorts[k_nMaxReturnPorts]; +}; + +#pragma pack( pop ) + +#endif // _H diff --git a/lsteamclient/steamworks_sdk_158/steamnetworkingtypes.h b/lsteamclient/steamworks_sdk_158/steamnetworkingtypes.h new file mode 100644 index 000000000..bd97d3e9f --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamnetworkingtypes.h @@ -0,0 +1,1834 @@ +//====== Copyright Valve Corporation, All rights reserved. ==================== +// +// Purpose: misc networking utilities +// +//============================================================================= + +#ifndef STEAMNETWORKINGTYPES +#define STEAMNETWORKINGTYPES + +#include +#include +#include "steamtypes.h" +#include "steamclientpublic.h" + +//----------------------------------------------------------------------------- +// SteamNetworkingSockets config. +#if !defined(STEAMNETWORKINGSOCKETS_STANDALONELIB) && !defined(STEAMNETWORKINGSOCKETS_STEAMAPI) + #define STEAMNETWORKINGSOCKETS_STEAMAPI +#endif +//----------------------------------------------------------------------------- + +#ifdef NN_NINTENDO_SDK // We always static link on Nintendo + #define STEAMNETWORKINGSOCKETS_STATIC_LINK +#endif +#if defined( STEAMNETWORKINGSOCKETS_STATIC_LINK ) + #define STEAMNETWORKINGSOCKETS_INTERFACE extern "C" +#elif defined( STEAMNETWORKINGSOCKETS_FOREXPORT ) + #if defined( _WIN32 ) || defined( __ORBIS__ ) || defined( __PROSPERO__ ) + #define STEAMNETWORKINGSOCKETS_INTERFACE extern "C" __declspec( dllexport ) + #else + #define STEAMNETWORKINGSOCKETS_INTERFACE extern "C" __attribute__((visibility("default"))) + #endif +#else + #ifdef _WIN32 + #define STEAMNETWORKINGSOCKETS_INTERFACE extern "C" __declspec( dllimport ) + #else + #define STEAMNETWORKINGSOCKETS_INTERFACE extern "C" + #endif +#endif + +#if defined( VALVE_CALLBACK_PACK_SMALL ) +#pragma pack( push, 4 ) +#elif defined( VALVE_CALLBACK_PACK_LARGE ) +#pragma pack( push, 8 ) +#else +#error "Must define VALVE_CALLBACK_PACK_SMALL or VALVE_CALLBACK_PACK_LARGE" +#endif + +struct SteamDatagramRelayAuthTicket; +struct SteamDatagramHostedAddress; +struct SteamDatagramGameCoordinatorServerLogin; +struct SteamNetConnectionStatusChangedCallback_t; +struct SteamNetAuthenticationStatus_t; +struct SteamRelayNetworkStatus_t; +struct SteamNetworkingMessagesSessionRequest_t; +struct SteamNetworkingMessagesSessionFailed_t; +struct SteamNetworkingFakeIPResult_t; + +typedef void (*FnSteamNetConnectionStatusChanged)( SteamNetConnectionStatusChangedCallback_t * ); +typedef void (*FnSteamNetAuthenticationStatusChanged)( SteamNetAuthenticationStatus_t * ); +typedef void (*FnSteamRelayNetworkStatusChanged)(SteamRelayNetworkStatus_t *); +typedef void (*FnSteamNetworkingMessagesSessionRequest)(SteamNetworkingMessagesSessionRequest_t *); +typedef void (*FnSteamNetworkingMessagesSessionFailed)(SteamNetworkingMessagesSessionFailed_t *); +typedef void (*FnSteamNetworkingFakeIPResult)(SteamNetworkingFakeIPResult_t *); + +/// Handle used to identify a connection to a remote host. +typedef uint32 HSteamNetConnection; +const HSteamNetConnection k_HSteamNetConnection_Invalid = 0; + +/// Handle used to identify a "listen socket". Unlike traditional +/// Berkeley sockets, a listen socket and a connection are two +/// different abstractions. +typedef uint32 HSteamListenSocket; +const HSteamListenSocket k_HSteamListenSocket_Invalid = 0; + +/// Handle used to identify a poll group, used to query many +/// connections at once efficiently. +typedef uint32 HSteamNetPollGroup; +const HSteamNetPollGroup k_HSteamNetPollGroup_Invalid = 0; + +/// Max length of diagnostic error message +const int k_cchMaxSteamNetworkingErrMsg = 1024; + +/// Used to return English-language diagnostic error messages to caller. +/// (For debugging or spewing to a console, etc. Not intended for UI.) +typedef char SteamNetworkingErrMsg[ k_cchMaxSteamNetworkingErrMsg ]; + +/// Identifier used for a network location point of presence. (E.g. a Valve data center.) +/// Typically you won't need to directly manipulate these. +typedef uint32 SteamNetworkingPOPID; + +/// A local timestamp. You can subtract two timestamps to get the number of elapsed +/// microseconds. This is guaranteed to increase over time during the lifetime +/// of a process, but not globally across runs. You don't need to worry about +/// the value wrapping around. Note that the underlying clock might not actually have +/// microsecond resolution. +typedef int64 SteamNetworkingMicroseconds; + +/// Describe the status of a particular network resource +enum ESteamNetworkingAvailability +{ + // Negative values indicate a problem. + // + // In general, we will not automatically retry unless you take some action that + // depends on of requests this resource, such as querying the status, attempting + // to initiate a connection, receive a connection, etc. If you do not take any + // action at all, we do not automatically retry in the background. + k_ESteamNetworkingAvailability_CannotTry = -102, // A dependent resource is missing, so this service is unavailable. (E.g. we cannot talk to routers because Internet is down or we don't have the network config.) + k_ESteamNetworkingAvailability_Failed = -101, // We have tried for enough time that we would expect to have been successful by now. We have never been successful + k_ESteamNetworkingAvailability_Previously = -100, // We tried and were successful at one time, but now it looks like we have a problem + + k_ESteamNetworkingAvailability_Retrying = -10, // We previously failed and are currently retrying + + // Not a problem, but not ready either + k_ESteamNetworkingAvailability_NeverTried = 1, // We don't know because we haven't ever checked/tried + k_ESteamNetworkingAvailability_Waiting = 2, // We're waiting on a dependent resource to be acquired. (E.g. we cannot obtain a cert until we are logged into Steam. We cannot measure latency to relays until we have the network config.) + k_ESteamNetworkingAvailability_Attempting = 3, // We're actively trying now, but are not yet successful. + + k_ESteamNetworkingAvailability_Current = 100, // Resource is online/available + + + k_ESteamNetworkingAvailability_Unknown = 0, // Internal dummy/sentinel, or value is not applicable in this context + k_ESteamNetworkingAvailability__Force32bit = 0x7fffffff, +}; + +// +// Describing network hosts +// + +/// Different methods of describing the identity of a network host +enum ESteamNetworkingIdentityType +{ + // Dummy/empty/invalid. + // Please note that if we parse a string that we don't recognize + // but that appears reasonable, we will NOT use this type. Instead + // we'll use k_ESteamNetworkingIdentityType_UnknownType. + k_ESteamNetworkingIdentityType_Invalid = 0, + + // + // Basic platform-specific identifiers. + // + k_ESteamNetworkingIdentityType_SteamID = 16, // 64-bit CSteamID + k_ESteamNetworkingIdentityType_XboxPairwiseID = 17, // Publisher-specific user identity, as string + k_ESteamNetworkingIdentityType_SonyPSN = 18, // 64-bit ID + k_ESteamNetworkingIdentityType_GoogleStadia = 19, // 64-bit ID + //k_ESteamNetworkingIdentityType_NintendoNetworkServiceAccount, + //k_ESteamNetworkingIdentityType_EpicGameStore + //k_ESteamNetworkingIdentityType_WeGame + + // + // Special identifiers. + // + + // Use their IP address (and port) as their "identity". + // These types of identities are always unauthenticated. + // They are useful for porting plain sockets code, and other + // situations where you don't care about authentication. In this + // case, the local identity will be "localhost", + // and the remote address will be their network address. + // + // We use the same type for either IPv4 or IPv6, and + // the address is always store as IPv6. We use IPv4 + // mapped addresses to handle IPv4. + k_ESteamNetworkingIdentityType_IPAddress = 1, + + // Generic string/binary blobs. It's up to your app to interpret this. + // This library can tell you if the remote host presented a certificate + // signed by somebody you have chosen to trust, with this identity on it. + // It's up to you to ultimately decide what this identity means. + k_ESteamNetworkingIdentityType_GenericString = 2, + k_ESteamNetworkingIdentityType_GenericBytes = 3, + + // This identity type is used when we parse a string that looks like is a + // valid identity, just of a kind that we don't recognize. In this case, we + // can often still communicate with the peer! Allowing such identities + // for types we do not recognize useful is very useful for forward + // compatibility. + k_ESteamNetworkingIdentityType_UnknownType = 4, + + // Make sure this enum is stored in an int. + k_ESteamNetworkingIdentityType__Force32bit = 0x7fffffff, +}; + +/// "Fake IPs" are assigned to hosts, to make it easier to interface with +/// older code that assumed all hosts will have an IPv4 address +enum ESteamNetworkingFakeIPType +{ + k_ESteamNetworkingFakeIPType_Invalid, // Error, argument was not even an IP address, etc. + k_ESteamNetworkingFakeIPType_NotFake, // Argument was a valid IP, but was not from the reserved "fake" range + k_ESteamNetworkingFakeIPType_GlobalIPv4, // Globally unique (for a given app) IPv4 address. Address space managed by Steam + k_ESteamNetworkingFakeIPType_LocalIPv4, // Locally unique IPv4 address. Address space managed by the local process. For internal use only; should not be shared! + + k_ESteamNetworkingFakeIPType__Force32Bit = 0x7fffffff +}; + +#pragma pack(push,1) + +/// Store an IP and port. IPv6 is always used; IPv4 is represented using +/// "IPv4-mapped" addresses: IPv4 aa.bb.cc.dd => IPv6 ::ffff:aabb:ccdd +/// (RFC 4291 section 2.5.5.2.) +struct SteamNetworkingIPAddr +{ + void Clear(); // Set everything to zero. E.g. [::]:0 + bool IsIPv6AllZeros() const; // Return true if the IP is ::0. (Doesn't check port.) + void SetIPv6( const uint8 *ipv6, uint16 nPort ); // Set IPv6 address. IP is interpreted as bytes, so there are no endian issues. (Same as inaddr_in6.) The IP can be a mapped IPv4 address + void SetIPv4( uint32 nIP, uint16 nPort ); // Sets to IPv4 mapped address. IP and port are in host byte order. + bool IsIPv4() const; // Return true if IP is mapped IPv4 + uint32 GetIPv4() const; // Returns IP in host byte order (e.g. aa.bb.cc.dd as 0xaabbccdd). Returns 0 if IP is not mapped IPv4. + void SetIPv6LocalHost( uint16 nPort = 0); // Set to the IPv6 localhost address ::1, and the specified port. + bool IsLocalHost() const; // Return true if this identity is localhost. (Either IPv6 ::1, or IPv4 127.0.0.1) + + // Max length of the buffer needed to hold IP formatted using ToString, including '\0' + // ([0123:4567:89ab:cdef:0123:4567:89ab:cdef]:12345) + enum { k_cchMaxString = 48 }; + + /// Print to a string, with or without the port. Mapped IPv4 addresses are printed + /// as dotted decimal (12.34.56.78), otherwise this will print the canonical + /// form according to RFC5952. If you include the port, IPv6 will be surrounded by + /// brackets, e.g. [::1:2]:80. Your buffer should be at least k_cchMaxString bytes + /// to avoid truncation + /// + /// See also SteamNetworkingIdentityRender + inline void ToString( char *buf, size_t cbBuf, bool bWithPort ) const; + + /// Parse an IP address and optional port. If a port is not present, it is set to 0. + /// (This means that you cannot tell if a zero port was explicitly specified.) + inline bool ParseString( const char *pszStr ); + + /// RFC4038, section 4.2 + struct IPv4MappedAddress { + uint64 m_8zeros; + uint16 m_0000; + uint16 m_ffff; + uint8 m_ip[ 4 ]; // NOTE: As bytes, i.e. network byte order + }; + + union + { + uint8 m_ipv6[ 16 ]; + IPv4MappedAddress m_ipv4; + } data; + uint16 m_port; // Host byte order + + /// See if two addresses are identical + bool operator==(const SteamNetworkingIPAddr &x ) const; + + /// Classify address as FakeIP. This function never returns + /// k_ESteamNetworkingFakeIPType_Invalid. + ESteamNetworkingFakeIPType GetFakeIPType() const; + + /// Return true if we are a FakeIP + bool IsFakeIP() const { return GetFakeIPType() > k_ESteamNetworkingFakeIPType_NotFake; } +}; + +/// An abstract way to represent the identity of a network host. All identities can +/// be represented as simple string. Furthermore, this string representation is actually +/// used on the wire in several places, even though it is less efficient, in order to +/// facilitate forward compatibility. (Old client code can handle an identity type that +/// it doesn't understand.) +struct SteamNetworkingIdentity +{ + /// Type of identity. + ESteamNetworkingIdentityType m_eType; + + // + // Get/Set in various formats. + // + + void Clear(); + bool IsInvalid() const; // Return true if we are the invalid type. Does not make any other validity checks (e.g. is SteamID actually valid) + + void SetSteamID( CSteamID steamID ); + CSteamID GetSteamID() const; // Return black CSteamID (!IsValid()) if identity is not a SteamID + void SetSteamID64( uint64 steamID ); // Takes SteamID as raw 64-bit number + uint64 GetSteamID64() const; // Returns 0 if identity is not SteamID + + bool SetXboxPairwiseID( const char *pszString ); // Returns false if invalid length + const char *GetXboxPairwiseID() const; // Returns nullptr if not Xbox ID + + void SetPSNID( uint64 id ); + uint64 GetPSNID() const; // Returns 0 if not PSN + + void SetStadiaID( uint64 id ); + uint64 GetStadiaID() const; // Returns 0 if not Stadia + + void SetIPAddr( const SteamNetworkingIPAddr &addr ); // Set to specified IP:port + const SteamNetworkingIPAddr *GetIPAddr() const; // returns null if we are not an IP address. + void SetIPv4Addr( uint32 nIPv4, uint16 nPort ); // Set to specified IPv4:port + uint32 GetIPv4() const; // returns 0 if we are not an IPv4 address. + + ESteamNetworkingFakeIPType GetFakeIPType() const; + bool IsFakeIP() const { return GetFakeIPType() > k_ESteamNetworkingFakeIPType_NotFake; } + + // "localhost" is equivalent for many purposes to "anonymous." Our remote + // will identify us by the network address we use. + void SetLocalHost(); // Set to localhost. (We always use IPv6 ::1 for this, not 127.0.0.1) + bool IsLocalHost() const; // Return true if this identity is localhost. + + bool SetGenericString( const char *pszString ); // Returns false if invalid length + const char *GetGenericString() const; // Returns nullptr if not generic string type + + bool SetGenericBytes( const void *data, size_t cbLen ); // Returns false if invalid size. + const uint8 *GetGenericBytes( int &cbLen ) const; // Returns null if not generic bytes type + + /// See if two identities are identical + bool operator==(const SteamNetworkingIdentity &x ) const; + + /// Print to a human-readable string. This is suitable for debug messages + /// or any other time you need to encode the identity as a string. It has a + /// URL-like format (type:). Your buffer should be at least + /// k_cchMaxString bytes big to avoid truncation. + /// + /// See also SteamNetworkingIPAddrRender + void ToString( char *buf, size_t cbBuf ) const; + + /// Parse back a string that was generated using ToString. If we don't understand the + /// string, but it looks "reasonable" (it matches the pattern type: and doesn't + /// have any funky characters, etc), then we will return true, and the type is set to + /// k_ESteamNetworkingIdentityType_UnknownType. false will only be returned if the string + /// looks invalid. + bool ParseString( const char *pszStr ); + + // Max sizes + enum { + k_cchMaxString = 128, // Max length of the buffer needed to hold any identity, formatted in string format by ToString + k_cchMaxGenericString = 32, // Max length of the string for generic string identities. Including terminating '\0' + k_cchMaxXboxPairwiseID = 33, // Including terminating '\0' + k_cbMaxGenericBytes = 32, + }; + + // + // Internal representation. Don't access this directly, use the accessors! + // + // Number of bytes that are relevant below. This MUST ALWAYS be + // set. (Use the accessors!) This is important to enable old code to work + // with new identity types. + int m_cbSize; + union { + uint64 m_steamID64; + uint64 m_PSNID; + uint64 m_stadiaID; + char m_szGenericString[ k_cchMaxGenericString ]; + char m_szXboxPairwiseID[ k_cchMaxXboxPairwiseID ]; + uint8 m_genericBytes[ k_cbMaxGenericBytes ]; + char m_szUnknownRawString[ k_cchMaxString ]; + SteamNetworkingIPAddr m_ip; + uint32 m_reserved[ 32 ]; // Pad structure to leave easy room for future expansion + } data; +}; +#pragma pack(pop) + +// +// Connection status +// + +/// High level connection status +enum ESteamNetworkingConnectionState +{ + + /// Dummy value used to indicate an error condition in the API. + /// Specified connection doesn't exist or has already been closed. + k_ESteamNetworkingConnectionState_None = 0, + + /// We are trying to establish whether peers can talk to each other, + /// whether they WANT to talk to each other, perform basic auth, + /// and exchange crypt keys. + /// + /// - For connections on the "client" side (initiated locally): + /// We're in the process of trying to establish a connection. + /// Depending on the connection type, we might not know who they are. + /// Note that it is not possible to tell if we are waiting on the + /// network to complete handshake packets, or for the application layer + /// to accept the connection. + /// + /// - For connections on the "server" side (accepted through listen socket): + /// We have completed some basic handshake and the client has presented + /// some proof of identity. The connection is ready to be accepted + /// using AcceptConnection(). + /// + /// In either case, any unreliable packets sent now are almost certain + /// to be dropped. Attempts to receive packets are guaranteed to fail. + /// You may send messages if the send mode allows for them to be queued. + /// but if you close the connection before the connection is actually + /// established, any queued messages will be discarded immediately. + /// (We will not attempt to flush the queue and confirm delivery to the + /// remote host, which ordinarily happens when a connection is closed.) + k_ESteamNetworkingConnectionState_Connecting = 1, + + /// Some connection types use a back channel or trusted 3rd party + /// for earliest communication. If the server accepts the connection, + /// then these connections switch into the rendezvous state. During this + /// state, we still have not yet established an end-to-end route (through + /// the relay network), and so if you send any messages unreliable, they + /// are going to be discarded. + k_ESteamNetworkingConnectionState_FindingRoute = 2, + + /// We've received communications from our peer (and we know + /// who they are) and are all good. If you close the connection now, + /// we will make our best effort to flush out any reliable sent data that + /// has not been acknowledged by the peer. (But note that this happens + /// from within the application process, so unlike a TCP connection, you are + /// not totally handing it off to the operating system to deal with it.) + k_ESteamNetworkingConnectionState_Connected = 3, + + /// Connection has been closed by our peer, but not closed locally. + /// The connection still exists from an API perspective. You must close the + /// handle to free up resources. If there are any messages in the inbound queue, + /// you may retrieve them. Otherwise, nothing may be done with the connection + /// except to close it. + /// + /// This stats is similar to CLOSE_WAIT in the TCP state machine. + k_ESteamNetworkingConnectionState_ClosedByPeer = 4, + + /// A disruption in the connection has been detected locally. (E.g. timeout, + /// local internet connection disrupted, etc.) + /// + /// The connection still exists from an API perspective. You must close the + /// handle to free up resources. + /// + /// Attempts to send further messages will fail. Any remaining received messages + /// in the queue are available. + k_ESteamNetworkingConnectionState_ProblemDetectedLocally = 5, + +// +// The following values are used internally and will not be returned by any API. +// We document them here to provide a little insight into the state machine that is used +// under the hood. +// + + /// We've disconnected on our side, and from an API perspective the connection is closed. + /// No more data may be sent or received. All reliable data has been flushed, or else + /// we've given up and discarded it. We do not yet know for sure that the peer knows + /// the connection has been closed, however, so we're just hanging around so that if we do + /// get a packet from them, we can send them the appropriate packets so that they can + /// know why the connection was closed (and not have to rely on a timeout, which makes + /// it appear as if something is wrong). + k_ESteamNetworkingConnectionState_FinWait = -1, + + /// We've disconnected on our side, and from an API perspective the connection is closed. + /// No more data may be sent or received. From a network perspective, however, on the wire, + /// we have not yet given any indication to the peer that the connection is closed. + /// We are in the process of flushing out the last bit of reliable data. Once that is done, + /// we will inform the peer that the connection has been closed, and transition to the + /// FinWait state. + /// + /// Note that no indication is given to the remote host that we have closed the connection, + /// until the data has been flushed. If the remote host attempts to send us data, we will + /// do whatever is necessary to keep the connection alive until it can be closed properly. + /// But in fact the data will be discarded, since there is no way for the application to + /// read it back. Typically this is not a problem, as application protocols that utilize + /// the lingering functionality are designed for the remote host to wait for the response + /// before sending any more data. + k_ESteamNetworkingConnectionState_Linger = -2, + + /// Connection is completely inactive and ready to be destroyed + k_ESteamNetworkingConnectionState_Dead = -3, + + k_ESteamNetworkingConnectionState__Force32Bit = 0x7fffffff +}; + +/// Enumerate various causes of connection termination. These are designed to work similar +/// to HTTP error codes: the numeric range gives you a rough classification as to the source +/// of the problem. +enum ESteamNetConnectionEnd +{ + // Invalid/sentinel value + k_ESteamNetConnectionEnd_Invalid = 0, + + // + // Application codes. These are the values you will pass to + // ISteamNetworkingSockets::CloseConnection. You can use these codes if + // you want to plumb through application-specific reason codes. If you don't + // need this facility, feel free to always pass + // k_ESteamNetConnectionEnd_App_Generic. + // + // The distinction between "normal" and "exceptional" termination is + // one you may use if you find useful, but it's not necessary for you + // to do so. The only place where we distinguish between normal and + // exceptional is in connection analytics. If a significant + // proportion of connections terminates in an exceptional manner, + // this can trigger an alert. + // + + // 1xxx: Application ended the connection in a "usual" manner. + // E.g.: user intentionally disconnected from the server, + // gameplay ended normally, etc + k_ESteamNetConnectionEnd_App_Min = 1000, + k_ESteamNetConnectionEnd_App_Generic = k_ESteamNetConnectionEnd_App_Min, + // Use codes in this range for "normal" disconnection + k_ESteamNetConnectionEnd_App_Max = 1999, + + // 2xxx: Application ended the connection in some sort of exceptional + // or unusual manner that might indicate a bug or configuration + // issue. + // + k_ESteamNetConnectionEnd_AppException_Min = 2000, + k_ESteamNetConnectionEnd_AppException_Generic = k_ESteamNetConnectionEnd_AppException_Min, + // Use codes in this range for "unusual" disconnection + k_ESteamNetConnectionEnd_AppException_Max = 2999, + + // + // System codes. These will be returned by the system when + // the connection state is k_ESteamNetworkingConnectionState_ClosedByPeer + // or k_ESteamNetworkingConnectionState_ProblemDetectedLocally. It is + // illegal to pass a code in this range to ISteamNetworkingSockets::CloseConnection + // + + // 3xxx: Connection failed or ended because of problem with the + // local host or their connection to the Internet. + k_ESteamNetConnectionEnd_Local_Min = 3000, + + // You cannot do what you want to do because you're running in offline mode. + k_ESteamNetConnectionEnd_Local_OfflineMode = 3001, + + // We're having trouble contacting many (perhaps all) relays. + // Since it's unlikely that they all went offline at once, the best + // explanation is that we have a problem on our end. Note that we don't + // bother distinguishing between "many" and "all", because in practice, + // it takes time to detect a connection problem, and by the time + // the connection has timed out, we might not have been able to + // actively probe all of the relay clusters, even if we were able to + // contact them at one time. So this code just means that: + // + // * We don't have any recent successful communication with any relay. + // * We have evidence of recent failures to communicate with multiple relays. + k_ESteamNetConnectionEnd_Local_ManyRelayConnectivity = 3002, + + // A hosted server is having trouble talking to the relay + // that the client was using, so the problem is most likely + // on our end + k_ESteamNetConnectionEnd_Local_HostedServerPrimaryRelay = 3003, + + // We're not able to get the SDR network config. This is + // *almost* always a local issue, since the network config + // comes from the CDN, which is pretty darn reliable. + k_ESteamNetConnectionEnd_Local_NetworkConfig = 3004, + + // Steam rejected our request because we don't have rights + // to do this. + k_ESteamNetConnectionEnd_Local_Rights = 3005, + + // ICE P2P rendezvous failed because we were not able to + // determine our "public" address (e.g. reflexive address via STUN) + // + // If relay fallback is available (it always is on Steam), then + // this is only used internally and will not be returned as a high + // level failure. + k_ESteamNetConnectionEnd_Local_P2P_ICE_NoPublicAddresses = 3006, + + k_ESteamNetConnectionEnd_Local_Max = 3999, + + // 4xxx: Connection failed or ended, and it appears that the + // cause does NOT have to do with the local host or their + // connection to the Internet. It could be caused by the + // remote host, or it could be somewhere in between. + k_ESteamNetConnectionEnd_Remote_Min = 4000, + + // The connection was lost, and as far as we can tell our connection + // to relevant services (relays) has not been disrupted. This doesn't + // mean that the problem is "their fault", it just means that it doesn't + // appear that we are having network issues on our end. + k_ESteamNetConnectionEnd_Remote_Timeout = 4001, + + // Something was invalid with the cert or crypt handshake + // info you gave me, I don't understand or like your key types, + // etc. + k_ESteamNetConnectionEnd_Remote_BadCrypt = 4002, + + // You presented me with a cert that was I was able to parse + // and *technically* we could use encrypted communication. + // But there was a problem that prevents me from checking your identity + // or ensuring that somebody int he middle can't observe our communication. + // E.g.: - the CA key was missing (and I don't accept unsigned certs) + // - The CA key isn't one that I trust, + // - The cert doesn't was appropriately restricted by app, user, time, data center, etc. + // - The cert wasn't issued to you. + // - etc + k_ESteamNetConnectionEnd_Remote_BadCert = 4003, + + // These will never be returned + //k_ESteamNetConnectionEnd_Remote_NotLoggedIn_DEPRECATED = 4004, + //k_ESteamNetConnectionEnd_Remote_NotRunningApp_DEPRECATED = 4005, + + // Something wrong with the protocol version you are using. + // (Probably the code you are running is too old.) + k_ESteamNetConnectionEnd_Remote_BadProtocolVersion = 4006, + + // NAT punch failed failed because we never received any public + // addresses from the remote host. (But we did receive some + // signals form them.) + // + // If relay fallback is available (it always is on Steam), then + // this is only used internally and will not be returned as a high + // level failure. + k_ESteamNetConnectionEnd_Remote_P2P_ICE_NoPublicAddresses = 4007, + + k_ESteamNetConnectionEnd_Remote_Max = 4999, + + // 5xxx: Connection failed for some other reason. + k_ESteamNetConnectionEnd_Misc_Min = 5000, + + // A failure that isn't necessarily the result of a software bug, + // but that should happen rarely enough that it isn't worth specifically + // writing UI or making a localized message for. + // The debug string should contain further details. + k_ESteamNetConnectionEnd_Misc_Generic = 5001, + + // Generic failure that is most likely a software bug. + k_ESteamNetConnectionEnd_Misc_InternalError = 5002, + + // The connection to the remote host timed out, but we + // don't know if the problem is on our end, in the middle, + // or on their end. + k_ESteamNetConnectionEnd_Misc_Timeout = 5003, + + //k_ESteamNetConnectionEnd_Misc_RelayConnectivity_DEPRECATED = 5004, + + // There's some trouble talking to Steam. + k_ESteamNetConnectionEnd_Misc_SteamConnectivity = 5005, + + // A server in a dedicated hosting situation has no relay sessions + // active with which to talk back to a client. (It's the client's + // job to open and maintain those sessions.) + k_ESteamNetConnectionEnd_Misc_NoRelaySessionsToClient = 5006, + + // While trying to initiate a connection, we never received + // *any* communication from the peer. + //k_ESteamNetConnectionEnd_Misc_ServerNeverReplied = 5007, + + // P2P rendezvous failed in a way that we don't have more specific + // information + k_ESteamNetConnectionEnd_Misc_P2P_Rendezvous = 5008, + + // NAT punch failed, probably due to NAT/firewall configuration. + // + // If relay fallback is available (it always is on Steam), then + // this is only used internally and will not be returned as a high + // level failure. + k_ESteamNetConnectionEnd_Misc_P2P_NAT_Firewall = 5009, + + // Our peer replied that it has no record of the connection. + // This should not happen ordinarily, but can happen in a few + // exception cases: + // + // - This is an old connection, and the peer has already cleaned + // up and forgotten about it. (Perhaps it timed out and they + // closed it and were not able to communicate this to us.) + // - A bug or internal protocol error has caused us to try to + // talk to the peer about the connection before we received + // confirmation that the peer has accepted the connection. + // - The peer thinks that we have closed the connection for some + // reason (perhaps a bug), and believes that is it is + // acknowledging our closure. + k_ESteamNetConnectionEnd_Misc_PeerSentNoConnection = 5010, + + k_ESteamNetConnectionEnd_Misc_Max = 5999, + + k_ESteamNetConnectionEnd__Force32Bit = 0x7fffffff +}; + +/// Max length, in bytes (including null terminator) of the reason string +/// when a connection is closed. +const int k_cchSteamNetworkingMaxConnectionCloseReason = 128; + +/// Max length, in bytes (include null terminator) of debug description +/// of a connection. +const int k_cchSteamNetworkingMaxConnectionDescription = 128; + +/// Max length of the app's part of the description +const int k_cchSteamNetworkingMaxConnectionAppName = 32; + +const int k_nSteamNetworkConnectionInfoFlags_Unauthenticated = 1; // We don't have a certificate for the remote host. +const int k_nSteamNetworkConnectionInfoFlags_Unencrypted = 2; // Information is being sent out over a wire unencrypted (by this library) +const int k_nSteamNetworkConnectionInfoFlags_LoopbackBuffers = 4; // Internal loopback buffers. Won't be true for localhost. (You can check the address to determine that.) This implies k_nSteamNetworkConnectionInfoFlags_FastLAN +const int k_nSteamNetworkConnectionInfoFlags_Fast = 8; // The connection is "fast" and "reliable". Either internal/localhost (check the address to find out), or the peer is on the same LAN. (Probably. It's based on the address and the ping time, this is actually hard to determine unambiguously). +const int k_nSteamNetworkConnectionInfoFlags_Relayed = 16; // The connection is relayed somehow (SDR or TURN). +const int k_nSteamNetworkConnectionInfoFlags_DualWifi = 32; // We're taking advantage of dual-wifi multi-path + +/// Describe the state of a connection. +struct SteamNetConnectionInfo_t +{ + + /// Who is on the other end? Depending on the connection type and phase of the connection, we might not know + SteamNetworkingIdentity m_identityRemote; + + /// Arbitrary user data set by the local application code + int64 m_nUserData; + + /// Handle to listen socket this was connected on, or k_HSteamListenSocket_Invalid if we initiated the connection + HSteamListenSocket m_hListenSocket; + + /// Remote address. Might be all 0's if we don't know it, or if this is N/A. + /// (E.g. Basically everything except direct UDP connection.) + SteamNetworkingIPAddr m_addrRemote; + uint16 m__pad1; + + /// What data center is the remote host in? (0 if we don't know.) + SteamNetworkingPOPID m_idPOPRemote; + + /// What relay are we using to communicate with the remote host? + /// (0 if not applicable.) + SteamNetworkingPOPID m_idPOPRelay; + + /// High level state of the connection + ESteamNetworkingConnectionState m_eState; + + /// Basic cause of the connection termination or problem. + /// See ESteamNetConnectionEnd for the values used + int m_eEndReason; + + /// Human-readable, but non-localized explanation for connection + /// termination or problem. This is intended for debugging / + /// diagnostic purposes only, not to display to users. It might + /// have some details specific to the issue. + char m_szEndDebug[ k_cchSteamNetworkingMaxConnectionCloseReason ]; + + /// Debug description. This includes the internal connection ID, + /// connection type (and peer information), and any name + /// given to the connection by the app. This string is used in various + /// internal logging messages. + /// + /// Note that the connection ID *usually* matches the HSteamNetConnection + /// handle, but in certain cases with symmetric connections it might not. + char m_szConnectionDescription[ k_cchSteamNetworkingMaxConnectionDescription ]; + + /// Misc flags. Bitmask of k_nSteamNetworkConnectionInfoFlags_Xxxx + int m_nFlags; + + /// Internal stuff, room to change API easily + uint32 reserved[63]; +}; + +/// Quick connection state, pared down to something you could call +/// more frequently without it being too big of a perf hit. +struct SteamNetConnectionRealTimeStatus_t +{ + + /// High level state of the connection + ESteamNetworkingConnectionState m_eState; + + /// Current ping (ms) + int m_nPing; + + /// Connection quality measured locally, 0...1. (Percentage of packets delivered + /// end-to-end in order). + float m_flConnectionQualityLocal; + + /// Packet delivery success rate as observed from remote host + float m_flConnectionQualityRemote; + + /// Current data rates from recent history. + float m_flOutPacketsPerSec; + float m_flOutBytesPerSec; + float m_flInPacketsPerSec; + float m_flInBytesPerSec; + + /// Estimate rate that we believe that we can send data to our peer. + /// Note that this could be significantly higher than m_flOutBytesPerSec, + /// meaning the capacity of the channel is higher than you are sending data. + /// (That's OK!) + int m_nSendRateBytesPerSecond; + + /// Number of bytes pending to be sent. This is data that you have recently + /// requested to be sent but has not yet actually been put on the wire. The + /// reliable number ALSO includes data that was previously placed on the wire, + /// but has now been scheduled for re-transmission. Thus, it's possible to + /// observe m_cbPendingReliable increasing between two checks, even if no + /// calls were made to send reliable data between the checks. Data that is + /// awaiting the Nagle delay will appear in these numbers. + int m_cbPendingUnreliable; + int m_cbPendingReliable; + + /// Number of bytes of reliable data that has been placed the wire, but + /// for which we have not yet received an acknowledgment, and thus we may + /// have to re-transmit. + int m_cbSentUnackedReliable; + + /// If you queued a message right now, approximately how long would that message + /// wait in the queue before we actually started putting its data on the wire in + /// a packet? + /// + /// In general, data that is sent by the application is limited by the bandwidth + /// of the channel. If you send data faster than this, it must be queued and + /// put on the wire at a metered rate. Even sending a small amount of data (e.g. + /// a few MTU, say ~3k) will require some of the data to be delayed a bit. + /// + /// Ignoring multiple lanes, the estimated delay will be approximately equal to + /// + /// ( m_cbPendingUnreliable+m_cbPendingReliable ) / m_nSendRateBytesPerSecond + /// + /// plus or minus one MTU. It depends on how much time has elapsed since the last + /// packet was put on the wire. For example, the queue might have *just* been emptied, + /// and the last packet placed on the wire, and we are exactly up against the send + /// rate limit. In that case we might need to wait for one packet's worth of time to + /// elapse before we can send again. On the other extreme, the queue might have data + /// in it waiting for Nagle. (This will always be less than one packet, because as + /// soon as we have a complete packet we would send it.) In that case, we might be + /// ready to send data now, and this value will be 0. + /// + /// This value is only valid if multiple lanes are not used. If multiple lanes are + /// in use, then the queue time will be different for each lane, and you must use + /// the value in SteamNetConnectionRealTimeLaneStatus_t. + /// + /// Nagle delay is ignored for the purposes of this calculation. + SteamNetworkingMicroseconds m_usecQueueTime; + + // Internal stuff, room to change API easily + uint32 reserved[16]; +}; + +/// Quick status of a particular lane +struct SteamNetConnectionRealTimeLaneStatus_t +{ + // Counters for this particular lane. See the corresponding variables + // in SteamNetConnectionRealTimeStatus_t + int m_cbPendingUnreliable; + int m_cbPendingReliable; + int m_cbSentUnackedReliable; + int _reservePad1; // Reserved for future use + + /// Lane-specific queue time. This value takes into consideration lane priorities + /// and weights, and how much data is queued in each lane, and attempts to predict + /// how any data currently queued will be sent out. + SteamNetworkingMicroseconds m_usecQueueTime; + + // Internal stuff, room to change API easily + uint32 reserved[10]; +}; + +#pragma pack( pop ) + +// +// Network messages +// + +/// Max size of a single message that we can SEND. +/// Note: We might be wiling to receive larger messages, +/// and our peer might, too. +const int k_cbMaxSteamNetworkingSocketsMessageSizeSend = 512 * 1024; + +/// A message that has been received. +struct SteamNetworkingMessage_t +{ + + /// Message payload + void *m_pData; + + /// Size of the payload. + int m_cbSize; + + /// For messages received on connections: what connection did this come from? + /// For outgoing messages: what connection to send it to? + /// Not used when using the ISteamNetworkingMessages interface + HSteamNetConnection m_conn; + + /// For inbound messages: Who sent this to us? + /// For outbound messages on connections: not used. + /// For outbound messages on the ad-hoc ISteamNetworkingMessages interface: who should we send this to? + SteamNetworkingIdentity m_identityPeer; + + /// For messages received on connections, this is the user data + /// associated with the connection. + /// + /// This is *usually* the same as calling GetConnection() and then + /// fetching the user data associated with that connection, but for + /// the following subtle differences: + /// + /// - This user data will match the connection's user data at the time + /// is captured at the time the message is returned by the API. + /// If you subsequently change the userdata on the connection, + /// this won't be updated. + /// - This is an inline call, so it's *much* faster. + /// - You might have closed the connection, so fetching the user data + /// would not be possible. + /// + /// Not used when sending messages. + int64 m_nConnUserData; + + /// Local timestamp when the message was received + /// Not used for outbound messages. + SteamNetworkingMicroseconds m_usecTimeReceived; + + /// Message number assigned by the sender. This is not used for outbound + /// messages. Note that if multiple lanes are used, each lane has its own + /// message numbers, which are assigned sequentially, so messages from + /// different lanes will share the same numbers. + int64 m_nMessageNumber; + + /// Function used to free up m_pData. This mechanism exists so that + /// apps can create messages with buffers allocated from their own + /// heap, and pass them into the library. This function will + /// usually be something like: + /// + /// free( pMsg->m_pData ); + void (*m_pfnFreeData)( SteamNetworkingMessage_t *pMsg ); + + /// Function to used to decrement the internal reference count and, if + /// it's zero, release the message. You should not set this function pointer, + /// or need to access this directly! Use the Release() function instead! + void (*m_pfnRelease)( SteamNetworkingMessage_t *pMsg ); + + /// When using ISteamNetworkingMessages, the channel number the message was received on + /// (Not used for messages sent or received on "connections") + int m_nChannel; + + /// Bitmask of k_nSteamNetworkingSend_xxx flags. + /// For received messages, only the k_nSteamNetworkingSend_Reliable bit is valid. + /// For outbound messages, all bits are relevant + int m_nFlags; + + /// Arbitrary user data that you can use when sending messages using + /// ISteamNetworkingUtils::AllocateMessage and ISteamNetworkingSockets::SendMessage. + /// (The callback you set in m_pfnFreeData might use this field.) + /// + /// Not used for received messages. + int64 m_nUserData; + + /// For outbound messages, which lane to use? See ISteamNetworkingSockets::ConfigureConnectionLanes. + /// For inbound messages, what lane was the message received on? + uint16 m_idxLane; + uint16 _pad1__; + + /// You MUST call this when you're done with the object, + /// to free up memory, etc. + inline void Release(); + + // For code compatibility, some accessors +#ifndef API_GEN + inline uint32 GetSize() const { return m_cbSize; } + inline const void *GetData() const { return m_pData; } + inline int GetChannel() const { return m_nChannel; } + inline HSteamNetConnection GetConnection() const { return m_conn; } + inline int64 GetConnectionUserData() const { return m_nConnUserData; } + inline SteamNetworkingMicroseconds GetTimeReceived() const { return m_usecTimeReceived; } + inline int64 GetMessageNumber() const { return m_nMessageNumber; } +#endif +protected: + // Declare destructor protected. You should never need to declare a message + // object on the stack or create one yourself. + // - You will receive a pointer to a message object when you receive messages (e.g. ISteamNetworkingSockets::ReceiveMessagesOnConnection) + // - You can allocate a message object for efficient sending using ISteamNetworkingUtils::AllocateMessage + // - Call Release() to free the object + inline ~SteamNetworkingMessage_t() {} +}; + +// +// Flags used to set options for message sending +// + +// Send the message unreliably. Can be lost. Messages *can* be larger than a +// single MTU (UDP packet), but there is no retransmission, so if any piece +// of the message is lost, the entire message will be dropped. +// +// The sending API does have some knowledge of the underlying connection, so +// if there is no NAT-traversal accomplished or there is a recognized adjustment +// happening on the connection, the packet will be batched until the connection +// is open again. +// +// Migration note: This is not exactly the same as k_EP2PSendUnreliable! You +// probably want k_ESteamNetworkingSendType_UnreliableNoNagle +const int k_nSteamNetworkingSend_Unreliable = 0; + +// Disable Nagle's algorithm. +// By default, Nagle's algorithm is applied to all outbound messages. This means +// that the message will NOT be sent immediately, in case further messages are +// sent soon after you send this, which can be grouped together. Any time there +// is enough buffered data to fill a packet, the packets will be pushed out immediately, +// but partially-full packets not be sent until the Nagle timer expires. See +// ISteamNetworkingSockets::FlushMessagesOnConnection, ISteamNetworkingMessages::FlushMessagesToUser +// +// NOTE: Don't just send every message without Nagle because you want packets to get there +// quicker. Make sure you understand the problem that Nagle is solving before disabling it. +// If you are sending small messages, often many at the same time, then it is very likely that +// it will be more efficient to leave Nagle enabled. A typical proper use of this flag is +// when you are sending what you know will be the last message sent for a while (e.g. the last +// in the server simulation tick to a particular client), and you use this flag to flush all +// messages. +const int k_nSteamNetworkingSend_NoNagle = 1; + +// Send a message unreliably, bypassing Nagle's algorithm for this message and any messages +// currently pending on the Nagle timer. This is equivalent to using k_ESteamNetworkingSend_Unreliable +// and then immediately flushing the messages using ISteamNetworkingSockets::FlushMessagesOnConnection +// or ISteamNetworkingMessages::FlushMessagesToUser. (But using this flag is more efficient since you +// only make one API call.) +const int k_nSteamNetworkingSend_UnreliableNoNagle = k_nSteamNetworkingSend_Unreliable|k_nSteamNetworkingSend_NoNagle; + +// If the message cannot be sent very soon (because the connection is still doing some initial +// handshaking, route negotiations, etc), then just drop it. This is only applicable for unreliable +// messages. Using this flag on reliable messages is invalid. +const int k_nSteamNetworkingSend_NoDelay = 4; + +// Send an unreliable message, but if it cannot be sent relatively quickly, just drop it instead of queuing it. +// This is useful for messages that are not useful if they are excessively delayed, such as voice data. +// NOTE: The Nagle algorithm is not used, and if the message is not dropped, any messages waiting on the +// Nagle timer are immediately flushed. +// +// A message will be dropped under the following circumstances: +// - the connection is not fully connected. (E.g. the "Connecting" or "FindingRoute" states) +// - there is a sufficiently large number of messages queued up already such that the current message +// will not be placed on the wire in the next ~200ms or so. +// +// If a message is dropped for these reasons, k_EResultIgnored will be returned. +const int k_nSteamNetworkingSend_UnreliableNoDelay = k_nSteamNetworkingSend_Unreliable|k_nSteamNetworkingSend_NoDelay|k_nSteamNetworkingSend_NoNagle; + +// Reliable message send. Can send up to k_cbMaxSteamNetworkingSocketsMessageSizeSend bytes in a single message. +// Does fragmentation/re-assembly of messages under the hood, as well as a sliding window for +// efficient sends of large chunks of data. +// +// The Nagle algorithm is used. See notes on k_ESteamNetworkingSendType_Unreliable for more details. +// See k_ESteamNetworkingSendType_ReliableNoNagle, ISteamNetworkingSockets::FlushMessagesOnConnection, +// ISteamNetworkingMessages::FlushMessagesToUser +// +// Migration note: This is NOT the same as k_EP2PSendReliable, it's more like k_EP2PSendReliableWithBuffering +const int k_nSteamNetworkingSend_Reliable = 8; + +// Send a message reliably, but bypass Nagle's algorithm. +// +// Migration note: This is equivalent to k_EP2PSendReliable +const int k_nSteamNetworkingSend_ReliableNoNagle = k_nSteamNetworkingSend_Reliable|k_nSteamNetworkingSend_NoNagle; + +// By default, message sending is queued, and the work of encryption and talking to +// the operating system sockets, etc is done on a service thread. This is usually a +// a performance win when messages are sent from the "main thread". However, if this +// flag is set, and data is ready to be sent immediately (either from this message +// or earlier queued data), then that work will be done in the current thread, before +// the current call returns. If data is not ready to be sent (due to rate limiting +// or Nagle), then this flag has no effect. +// +// This is an advanced flag used to control performance at a very low level. For +// most applications running on modern hardware with more than one CPU core, doing +// the work of sending on a service thread will yield the best performance. Only +// use this flag if you have a really good reason and understand what you are doing. +// Otherwise you will probably just make performance worse. +const int k_nSteamNetworkingSend_UseCurrentThread = 16; + +// When sending a message using ISteamNetworkingMessages, automatically re-establish +// a broken session, without returning k_EResultNoConnection. Without this flag, +// if you attempt to send a message, and the session was proactively closed by the +// peer, or an error occurred that disrupted communications, then you must close the +// session using ISteamNetworkingMessages::CloseSessionWithUser before attempting to +// send another message. (Or you can simply add this flag and retry.) In this way, +// the disruption cannot go unnoticed, and a more clear order of events can be +// ascertained. This is especially important when reliable messages are used, since +// if the connection is disrupted, some of those messages will not have been delivered, +// and it is in general not possible to know which. Although a +// SteamNetworkingMessagesSessionFailed_t callback will be posted when an error occurs +// to notify you that a failure has happened, callbacks are asynchronous, so it is not +// possible to tell exactly when it happened. And because the primary purpose of +// ISteamNetworkingMessages is to be like UDP, there is no notification when a peer closes +// the session. +// +// If you are not using any reliable messages (e.g. you are using ISteamNetworkingMessages +// exactly as a transport replacement for UDP-style datagrams only), you may not need to +// know when an underlying connection fails, and so you may not need this notification. +const int k_nSteamNetworkingSend_AutoRestartBrokenSession = 32; + +// +// Ping location / measurement +// + +/// Object that describes a "location" on the Internet with sufficient +/// detail that we can reasonably estimate an upper bound on the ping between +/// the two hosts, even if a direct route between the hosts is not possible, +/// and the connection must be routed through the Steam Datagram Relay network. +/// This does not contain any information that identifies the host. Indeed, +/// if two hosts are in the same building or otherwise have nearly identical +/// networking characteristics, then it's valid to use the same location +/// object for both of them. +/// +/// NOTE: This object should only be used in the same process! Do not serialize it, +/// send it over the wire, or persist it in a file or database! If you need +/// to do that, convert it to a string representation using the methods in +/// ISteamNetworkingUtils(). +struct SteamNetworkPingLocation_t +{ + uint8 m_data[ 512 ]; +}; + +/// Max possible length of a ping location, in string format. This is +/// an extremely conservative worst case value which leaves room for future +/// syntax enhancements. Most strings in practice are a lot shorter. +/// If you are storing many of these, you will very likely benefit from +/// using dynamic memory. +const int k_cchMaxSteamNetworkingPingLocationString = 1024; + +/// Special values that are returned by some functions that return a ping. +const int k_nSteamNetworkingPing_Failed = -1; +const int k_nSteamNetworkingPing_Unknown = -2; + +// +// Configuration values +// + +/// Configuration values can be applied to different types of objects. +enum ESteamNetworkingConfigScope +{ + + /// Get/set global option, or defaults. Even options that apply to more specific scopes + /// have global scope, and you may be able to just change the global defaults. If you + /// need different settings per connection (for example), then you will need to set those + /// options at the more specific scope. + k_ESteamNetworkingConfig_Global = 1, + + /// Some options are specific to a particular interface. Note that all connection + /// and listen socket settings can also be set at the interface level, and they will + /// apply to objects created through those interfaces. + k_ESteamNetworkingConfig_SocketsInterface = 2, + + /// Options for a listen socket. Listen socket options can be set at the interface layer, + /// if you have multiple listen sockets and they all use the same options. + /// You can also set connection options on a listen socket, and they set the defaults + /// for all connections accepted through this listen socket. (They will be used if you don't + /// set a connection option.) + k_ESteamNetworkingConfig_ListenSocket = 3, + + /// Options for a specific connection. + k_ESteamNetworkingConfig_Connection = 4, + + k_ESteamNetworkingConfigScope__Force32Bit = 0x7fffffff +}; + +// Different configuration values have different data types +enum ESteamNetworkingConfigDataType +{ + k_ESteamNetworkingConfig_Int32 = 1, + k_ESteamNetworkingConfig_Int64 = 2, + k_ESteamNetworkingConfig_Float = 3, + k_ESteamNetworkingConfig_String = 4, + k_ESteamNetworkingConfig_Ptr = 5, + + k_ESteamNetworkingConfigDataType__Force32Bit = 0x7fffffff +}; + +/// Configuration options +enum ESteamNetworkingConfigValue +{ + k_ESteamNetworkingConfig_Invalid = 0, + +// +// Connection options +// + + /// [connection int32] Timeout value (in ms) to use when first connecting + k_ESteamNetworkingConfig_TimeoutInitial = 24, + + /// [connection int32] Timeout value (in ms) to use after connection is established + k_ESteamNetworkingConfig_TimeoutConnected = 25, + + /// [connection int32] Upper limit of buffered pending bytes to be sent, + /// if this is reached SendMessage will return k_EResultLimitExceeded + /// Default is 512k (524288 bytes) + k_ESteamNetworkingConfig_SendBufferSize = 9, + + /// [connection int32] Upper limit on total size (in bytes) of received messages + /// that will be buffered waiting to be processed by the application. If this limit + /// is exceeded, packets will be dropped. This is to protect us from a malicious + /// peer flooding us with messages faster than we can process them. + /// + /// This must be bigger than k_ESteamNetworkingConfig_RecvMaxMessageSize + k_ESteamNetworkingConfig_RecvBufferSize = 47, + + /// [connection int32] Upper limit on the number of received messages that will + /// that will be buffered waiting to be processed by the application. If this limit + /// is exceeded, packets will be dropped. This is to protect us from a malicious + /// peer flooding us with messages faster than we can pull them off the wire. + k_ESteamNetworkingConfig_RecvBufferMessages = 48, + + /// [connection int32] Maximum message size that we are willing to receive. + /// if a client attempts to send us a message larger than this, the connection + /// will be immediately closed. + /// + /// Default is 512k (524288 bytes). Note that the peer needs to be able to + /// send a message this big. (See k_cbMaxSteamNetworkingSocketsMessageSizeSend.) + k_ESteamNetworkingConfig_RecvMaxMessageSize = 49, + + /// [connection int32] Max number of message segments that can be received + /// in a single UDP packet. While decoding a packet, if the number of segments + /// exceeds this, we will abort further packet processing. + /// + /// The default is effectively unlimited. If you know that you very rarely + /// send small packets, you can protect yourself from malicious senders by + /// lowering this number. + /// + /// In particular, if you are NOT using the reliability layer and are only using + /// SteamNetworkingSockets for datagram transport, setting this to a very low + /// number may be beneficial. (We recommend a value of 2.) Make sure your sender + /// disables Nagle! + k_ESteamNetworkingConfig_RecvMaxSegmentsPerPacket = 50, + + /// [connection int64] Get/set userdata as a configuration option. + /// The default value is -1. You may want to set the user data as + /// a config value, instead of using ISteamNetworkingSockets::SetConnectionUserData + /// in two specific instances: + /// + /// - You wish to set the userdata atomically when creating + /// an outbound connection, so that the userdata is filled in properly + /// for any callbacks that happen. However, note that this trick + /// only works for connections initiated locally! For incoming + /// connections, multiple state transitions may happen and + /// callbacks be queued, before you are able to service the first + /// callback! Be careful! + /// + /// - You can set the default userdata for all newly created connections + /// by setting this value at a higher level (e.g. on the listen + /// socket or at the global level.) Then this default + /// value will be inherited when the connection is created. + /// This is useful in case -1 is a valid userdata value, and you + /// wish to use something else as the default value so you can + /// tell if it has been set or not. + /// + /// HOWEVER: once a connection is created, the effective value is + /// then bound to the connection. Unlike other connection options, + /// if you change it again at a higher level, the new value will not + /// be inherited by connections. + /// + /// Using the userdata field in callback structs is not advised because + /// of tricky race conditions. Instead, you might try one of these methods: + /// + /// - Use a separate map with the HSteamNetConnection as the key. + /// - Fetch the userdata from the connection in your callback + /// using ISteamNetworkingSockets::GetConnectionUserData, to + // ensure you have the current value. + k_ESteamNetworkingConfig_ConnectionUserData = 40, + + /// [connection int32] Minimum/maximum send rate clamp, in bytes/sec. + /// At the time of this writing these two options should always be set to + /// the same value, to manually configure a specific send rate. The default + /// value is 256K. Eventually we hope to have the library estimate the bandwidth + /// of the channel and set the send rate to that estimated bandwidth, and these + /// values will only set limits on that send rate. + k_ESteamNetworkingConfig_SendRateMin = 10, + k_ESteamNetworkingConfig_SendRateMax = 11, + + /// [connection int32] Nagle time, in microseconds. When SendMessage is called, if + /// the outgoing message is less than the size of the MTU, it will be + /// queued for a delay equal to the Nagle timer value. This is to ensure + /// that if the application sends several small messages rapidly, they are + /// coalesced into a single packet. + /// See historical RFC 896. Value is in microseconds. + /// Default is 5000us (5ms). + k_ESteamNetworkingConfig_NagleTime = 12, + + /// [connection int32] Don't automatically fail IP connections that don't have + /// strong auth. On clients, this means we will attempt the connection even if + /// we don't know our identity or can't get a cert. On the server, it means that + /// we won't automatically reject a connection due to a failure to authenticate. + /// (You can examine the incoming connection and decide whether to accept it.) + /// + /// This is a dev configuration value, and you should not let users modify it in + /// production. + k_ESteamNetworkingConfig_IP_AllowWithoutAuth = 23, + + /// [connection int32] Do not send UDP packets with a payload of + /// larger than N bytes. If you set this, k_ESteamNetworkingConfig_MTU_DataSize + /// is automatically adjusted + k_ESteamNetworkingConfig_MTU_PacketSize = 32, + + /// [connection int32] (read only) Maximum message size you can send that + /// will not fragment, based on k_ESteamNetworkingConfig_MTU_PacketSize + k_ESteamNetworkingConfig_MTU_DataSize = 33, + + /// [connection int32] Allow unencrypted (and unauthenticated) communication. + /// 0: Not allowed (the default) + /// 1: Allowed, but prefer encrypted + /// 2: Allowed, and preferred + /// 3: Required. (Fail the connection if the peer requires encryption.) + /// + /// This is a dev configuration value, since its purpose is to disable encryption. + /// You should not let users modify it in production. (But note that it requires + /// the peer to also modify their value in order for encryption to be disabled.) + k_ESteamNetworkingConfig_Unencrypted = 34, + + /// [connection int32] Set this to 1 on outbound connections and listen sockets, + /// to enable "symmetric connect mode", which is useful in the following + /// common peer-to-peer use case: + /// + /// - The two peers are "equal" to each other. (Neither is clearly the "client" + /// or "server".) + /// - Either peer may initiate the connection, and indeed they may do this + /// at the same time + /// - The peers only desire a single connection to each other, and if both + /// peers initiate connections simultaneously, a protocol is needed for them + /// to resolve the conflict, so that we end up with a single connection. + /// + /// This use case is both common, and involves subtle race conditions and tricky + /// pitfalls, which is why the API has support for dealing with it. + /// + /// If an incoming connection arrives on a listen socket or via custom signaling, + /// and the application has not attempted to make a matching outbound connection + /// in symmetric mode, then the incoming connection can be accepted as usual. + /// A "matching" connection means that the relevant endpoint information matches. + /// (At the time this comment is being written, this is only supported for P2P + /// connections, which means that the peer identities must match, and the virtual + /// port must match. At a later time, symmetric mode may be supported for other + /// connection types.) + /// + /// If connections are initiated by both peers simultaneously, race conditions + /// can arise, but fortunately, most of them are handled internally and do not + /// require any special awareness from the application. However, there + /// is one important case that application code must be aware of: + /// If application code attempts an outbound connection using a ConnectXxx + /// function in symmetric mode, and a matching incoming connection is already + /// waiting on a listen socket, then instead of forming a new connection, + /// the ConnectXxx call will accept the existing incoming connection, and return + /// a connection handle to this accepted connection. + /// IMPORTANT: in this case, a SteamNetConnectionStatusChangedCallback_t + /// has probably *already* been posted to the queue for the incoming connection! + /// (Once callbacks are posted to the queue, they are not modified.) It doesn't + /// matter if the callback has not been consumed by the app. Thus, application + /// code that makes use of symmetric connections must be aware that, when processing a + /// SteamNetConnectionStatusChangedCallback_t for an incoming connection, the + /// m_hConn may refer to a new connection that the app has has not + /// seen before (the usual case), but it may also refer to a connection that + /// has already been accepted implicitly through a call to Connect()! In this + /// case, AcceptConnection() will return k_EResultDuplicateRequest. + /// + /// Only one symmetric connection to a given peer (on a given virtual port) + /// may exist at any given time. If client code attempts to create a connection, + /// and a (live) connection already exists on the local host, then either the + /// existing connection will be accepted as described above, or the attempt + /// to create a new connection will fail. Furthermore, linger mode functionality + /// is not supported on symmetric connections. + /// + /// A more complicated race condition can arise if both peers initiate a connection + /// at roughly the same time. In this situation, each peer will receive an incoming + /// connection from the other peer, when the application code has already initiated + /// an outgoing connection to that peer. The peers must resolve this conflict and + /// decide who is going to act as the "server" and who will act as the "client". + /// Typically the application does not need to be aware of this case as it is handled + /// internally. On both sides, the will observe their outbound connection being + /// "accepted", although one of them one have been converted internally to act + /// as the "server". + /// + /// In general, symmetric mode should be all-or-nothing: do not mix symmetric + /// connections with a non-symmetric connection that it might possible "match" + /// with. If you use symmetric mode on any connections, then both peers should + /// use it on all connections, and the corresponding listen socket, if any. The + /// behaviour when symmetric and ordinary connections are mixed is not defined by + /// this API, and you should not rely on it. (This advice only applies when connections + /// might possibly "match". For example, it's OK to use all symmetric mode + /// connections on one virtual port, and all ordinary, non-symmetric connections + /// on a different virtual port, as there is no potential for ambiguity.) + /// + /// When using the feature, you should set it in the following situations on + /// applicable objects: + /// + /// - When creating an outbound connection using ConnectXxx function + /// - When creating a listen socket. (Note that this will automatically cause + /// any accepted connections to inherit the flag.) + /// - When using custom signaling, before accepting an incoming connection. + /// + /// Setting the flag on listen socket and accepted connections will enable the + /// API to automatically deal with duplicate incoming connections, even if the + /// local host has not made any outbound requests. (In general, such duplicate + /// requests from a peer are ignored internally and will not be visible to the + /// application code. The previous connection must be closed or resolved first.) + k_ESteamNetworkingConfig_SymmetricConnect = 37, + + /// [connection int32] For connection types that use "virtual ports", this can be used + /// to assign a local virtual port. For incoming connections, this will always be the + /// virtual port of the listen socket (or the port requested by the remote host if custom + /// signaling is used and the connection is accepted), and cannot be changed. For + /// connections initiated locally, the local virtual port will default to the same as the + /// requested remote virtual port, if you do not specify a different option when creating + /// the connection. The local port is only relevant for symmetric connections, when + /// determining if two connections "match." In this case, if you need the local and remote + /// port to differ, you can set this value. + /// + /// You can also read back this value on listen sockets. + /// + /// This value should not be read or written in any other context. + k_ESteamNetworkingConfig_LocalVirtualPort = 38, + + /// [connection int32] Enable Dual wifi band support for this connection + /// 0 = no, 1 = yes, 2 = simulate it for debugging, even if dual wifi not available + k_ESteamNetworkingConfig_DualWifi_Enable = 39, + + /// [connection int32] True to enable diagnostics reporting through + /// generic platform UI. (Only available on Steam.) + k_ESteamNetworkingConfig_EnableDiagnosticsUI = 46, + +// +// Simulating network conditions +// +// These are global (not per-connection) because they apply at +// a relatively low UDP layer. +// + + /// [global float, 0--100] Randomly discard N pct of packets instead of sending/recv + /// This is a global option only, since it is applied at a low level + /// where we don't have much context + k_ESteamNetworkingConfig_FakePacketLoss_Send = 2, + k_ESteamNetworkingConfig_FakePacketLoss_Recv = 3, + + /// [global int32]. Delay all outbound/inbound packets by N ms + k_ESteamNetworkingConfig_FakePacketLag_Send = 4, + k_ESteamNetworkingConfig_FakePacketLag_Recv = 5, + + /// [global float] 0-100 Percentage of packets we will add additional delay + /// to (causing them to be reordered) + k_ESteamNetworkingConfig_FakePacketReorder_Send = 6, + k_ESteamNetworkingConfig_FakePacketReorder_Recv = 7, + + /// [global int32] Extra delay, in ms, to apply to reordered packets. + k_ESteamNetworkingConfig_FakePacketReorder_Time = 8, + + /// [global float 0--100] Globally duplicate some percentage of packets we send + k_ESteamNetworkingConfig_FakePacketDup_Send = 26, + k_ESteamNetworkingConfig_FakePacketDup_Recv = 27, + + /// [global int32] Amount of delay, in ms, to delay duplicated packets. + /// (We chose a random delay between 0 and this value) + k_ESteamNetworkingConfig_FakePacketDup_TimeMax = 28, + + /// [global int32] Trace every UDP packet, similar to Wireshark or tcpdump. + /// Value is max number of bytes to dump. -1 disables tracing. + // 0 only traces the info but no actual data bytes + k_ESteamNetworkingConfig_PacketTraceMaxBytes = 41, + + + // [global int32] Global UDP token bucket rate limits. + // "Rate" refers to the steady state rate. (Bytes/sec, the + // rate that tokens are put into the bucket.) "Burst" + // refers to the max amount that could be sent in a single + // burst. (In bytes, the max capacity of the bucket.) + // Rate=0 disables the limiter entirely, which is the default. + // Burst=0 disables burst. (This is not realistic. A + // burst of at least 4K is recommended; the default is higher.) + k_ESteamNetworkingConfig_FakeRateLimit_Send_Rate = 42, + k_ESteamNetworkingConfig_FakeRateLimit_Send_Burst = 43, + k_ESteamNetworkingConfig_FakeRateLimit_Recv_Rate = 44, + k_ESteamNetworkingConfig_FakeRateLimit_Recv_Burst = 45, + +// +// Callbacks +// + + // On Steam, you may use the default Steam callback dispatch mechanism. If you prefer + // to not use this dispatch mechanism (or you are not running with Steam), or you want + // to associate specific functions with specific listen sockets or connections, you can + // register them as configuration values. + // + // Note also that ISteamNetworkingUtils has some helpers to set these globally. + + /// [connection FnSteamNetConnectionStatusChanged] Callback that will be invoked + /// when the state of a connection changes. + /// + /// IMPORTANT: callbacks are dispatched to the handler that is in effect at the time + /// the event occurs, which might be in another thread. For example, immediately after + /// creating a listen socket, you may receive an incoming connection. And then immediately + /// after this, the remote host may close the connection. All of this could happen + /// before the function to create the listen socket has returned. For this reason, + /// callbacks usually must be in effect at the time of object creation. This means + /// you should set them when you are creating the listen socket or connection, or have + /// them in effect so they will be inherited at the time of object creation. + /// + /// For example: + /// + /// exterm void MyStatusChangedFunc( SteamNetConnectionStatusChangedCallback_t *info ); + /// SteamNetworkingConfigValue_t opt; opt.SetPtr( k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged, MyStatusChangedFunc ); + /// SteamNetworkingIPAddr localAddress; localAddress.Clear(); + /// HSteamListenSocket hListenSock = SteamNetworkingSockets()->CreateListenSocketIP( localAddress, 1, &opt ); + /// + /// When accepting an incoming connection, there is no atomic way to switch the + /// callback. However, if the connection is DOA, AcceptConnection() will fail, and + /// you can fetch the state of the connection at that time. + /// + /// If all connections and listen sockets can use the same callback, the simplest + /// method is to set it globally before you create any listen sockets or connections. + k_ESteamNetworkingConfig_Callback_ConnectionStatusChanged = 201, + + /// [global FnSteamNetAuthenticationStatusChanged] Callback that will be invoked + /// when our auth state changes. If you use this, install the callback before creating + /// any connections or listen sockets, and don't change it. + /// See: ISteamNetworkingUtils::SetGlobalCallback_SteamNetAuthenticationStatusChanged + k_ESteamNetworkingConfig_Callback_AuthStatusChanged = 202, + + /// [global FnSteamRelayNetworkStatusChanged] Callback that will be invoked + /// when our auth state changes. If you use this, install the callback before creating + /// any connections or listen sockets, and don't change it. + /// See: ISteamNetworkingUtils::SetGlobalCallback_SteamRelayNetworkStatusChanged + k_ESteamNetworkingConfig_Callback_RelayNetworkStatusChanged = 203, + + /// [global FnSteamNetworkingMessagesSessionRequest] Callback that will be invoked + /// when a peer wants to initiate a SteamNetworkingMessagesSessionRequest. + /// See: ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionRequest + k_ESteamNetworkingConfig_Callback_MessagesSessionRequest = 204, + + /// [global FnSteamNetworkingMessagesSessionFailed] Callback that will be invoked + /// when a session you have initiated, or accepted either fails to connect, or loses + /// connection in some unexpected way. + /// See: ISteamNetworkingUtils::SetGlobalCallback_MessagesSessionFailed + k_ESteamNetworkingConfig_Callback_MessagesSessionFailed = 205, + + /// [global FnSteamNetworkingSocketsCreateConnectionSignaling] Callback that will + /// be invoked when we need to create a signaling object for a connection + /// initiated locally. See: ISteamNetworkingSockets::ConnectP2P, + /// ISteamNetworkingMessages. + k_ESteamNetworkingConfig_Callback_CreateConnectionSignaling = 206, + + /// [global FnSteamNetworkingFakeIPResult] Callback that's invoked when + /// a FakeIP allocation finishes. See: ISteamNetworkingSockets::BeginAsyncRequestFakeIP, + /// ISteamNetworkingUtils::SetGlobalCallback_FakeIPResult + k_ESteamNetworkingConfig_Callback_FakeIPResult = 207, + +// +// P2P connection settings +// + +// /// [listen socket int32] When you create a P2P listen socket, we will automatically +// /// open up a UDP port to listen for LAN connections. LAN connections can be made +// /// without any signaling: both sides can be disconnected from the Internet. +// /// +// /// This value can be set to zero to disable the feature. +// k_ESteamNetworkingConfig_P2P_Discovery_Server_LocalPort = 101, +// +// /// [connection int32] P2P connections can perform broadcasts looking for the peer +// /// on the LAN. +// k_ESteamNetworkingConfig_P2P_Discovery_Client_RemotePort = 102, + + /// [connection string] Comma-separated list of STUN servers that can be used + /// for NAT piercing. If you set this to an empty string, NAT piercing will + /// not be attempted. Also if "public" candidates are not allowed for + /// P2P_Transport_ICE_Enable, then this is ignored. + k_ESteamNetworkingConfig_P2P_STUN_ServerList = 103, + + /// [connection int32] What types of ICE candidates to share with the peer. + /// See k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_xxx values + k_ESteamNetworkingConfig_P2P_Transport_ICE_Enable = 104, + + /// [connection int32] When selecting P2P transport, add various + /// penalties to the scores for selected transports. (Route selection + /// scores are on a scale of milliseconds. The score begins with the + /// route ping time and is then adjusted.) + k_ESteamNetworkingConfig_P2P_Transport_ICE_Penalty = 105, + k_ESteamNetworkingConfig_P2P_Transport_SDR_Penalty = 106, + k_ESteamNetworkingConfig_P2P_TURN_ServerList = 107, + k_ESteamNetworkingConfig_P2P_TURN_UserList = 108, + k_ESteamNetworkingConfig_P2P_TURN_PassList = 109, + //k_ESteamNetworkingConfig_P2P_Transport_LANBeacon_Penalty = 107, + k_ESteamNetworkingConfig_P2P_Transport_ICE_Implementation = 110, + +// +// Settings for SDR relayed connections +// + + /// [int32 global] If the first N pings to a port all fail, mark that port as unavailable for + /// a while, and try a different one. Some ISPs and routers may drop the first + /// packet, so setting this to 1 may greatly disrupt communications. + k_ESteamNetworkingConfig_SDRClient_ConsecutitivePingTimeoutsFailInitial = 19, + + /// [int32 global] If N consecutive pings to a port fail, after having received successful + /// communication, mark that port as unavailable for a while, and try a + /// different one. + k_ESteamNetworkingConfig_SDRClient_ConsecutitivePingTimeoutsFail = 20, + + /// [int32 global] Minimum number of lifetime pings we need to send, before we think our estimate + /// is solid. The first ping to each cluster is very often delayed because of NAT, + /// routers not having the best route, etc. Until we've sent a sufficient number + /// of pings, our estimate is often inaccurate. Keep pinging until we get this + /// many pings. + k_ESteamNetworkingConfig_SDRClient_MinPingsBeforePingAccurate = 21, + + /// [int32 global] Set all steam datagram traffic to originate from the same + /// local port. By default, we open up a new UDP socket (on a different local + /// port) for each relay. This is slightly less optimal, but it works around + /// some routers that don't implement NAT properly. If you have intermittent + /// problems talking to relays that might be NAT related, try toggling + /// this flag + k_ESteamNetworkingConfig_SDRClient_SingleSocket = 22, + + /// [global string] Code of relay cluster to force use. If not empty, we will + /// only use relays in that cluster. E.g. 'iad' + k_ESteamNetworkingConfig_SDRClient_ForceRelayCluster = 29, + + /// [connection string] For debugging, generate our own (unsigned) ticket, using + /// the specified gameserver address. Router must be configured to accept unsigned + /// tickets. + k_ESteamNetworkingConfig_SDRClient_DebugTicketAddress = 30, + + /// [global string] For debugging. Override list of relays from the config with + /// this set (maybe just one). Comma-separated list. + k_ESteamNetworkingConfig_SDRClient_ForceProxyAddr = 31, + + /// [global string] For debugging. Force ping times to clusters to be the specified + /// values. A comma separated list of = values. E.g. "sto=32,iad=100" + /// + /// This is a dev configuration value, you probably should not let users modify it + /// in production. + k_ESteamNetworkingConfig_SDRClient_FakeClusterPing = 36, + +// +// Log levels for debugging information of various subsystems. +// Higher numeric values will cause more stuff to be printed. +// See ISteamNetworkingUtils::SetDebugOutputFunction for more +// information +// +// The default for all values is k_ESteamNetworkingSocketsDebugOutputType_Warning. +// + k_ESteamNetworkingConfig_LogLevel_AckRTT = 13, // [connection int32] RTT calculations for inline pings and replies + k_ESteamNetworkingConfig_LogLevel_PacketDecode = 14, // [connection int32] log SNP packets send/recv + k_ESteamNetworkingConfig_LogLevel_Message = 15, // [connection int32] log each message send/recv + k_ESteamNetworkingConfig_LogLevel_PacketGaps = 16, // [connection int32] dropped packets + k_ESteamNetworkingConfig_LogLevel_P2PRendezvous = 17, // [connection int32] P2P rendezvous messages + k_ESteamNetworkingConfig_LogLevel_SDRRelayPings = 18, // [global int32] Ping relays + + + // Deleted, do not use + k_ESteamNetworkingConfig_DELETED_EnumerateDevVars = 35, + + k_ESteamNetworkingConfigValue__Force32Bit = 0x7fffffff +}; + +// Bitmask of types to share +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Default = -1; // Special value - use user defaults +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Disable = 0; // Do not do any ICE work at all or share any IP addresses with peer +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Relay = 1; // Relayed connection via TURN server. +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Private = 2; // host addresses that appear to be link-local or RFC1918 addresses +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Public = 4; // STUN reflexive addresses, or host address that isn't a "private" address +const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_All = 0x7fffffff; + +/// In a few places we need to set configuration options on listen sockets and connections, and +/// have them take effect *before* the listen socket or connection really starts doing anything. +/// Creating the object and then setting the options "immediately" after creation doesn't work +/// completely, because network packets could be received between the time the object is created and +/// when the options are applied. To set options at creation time in a reliable way, they must be +/// passed to the creation function. This structure is used to pass those options. +/// +/// For the meaning of these fields, see ISteamNetworkingUtils::SetConfigValue. Basically +/// when the object is created, we just iterate over the list of options and call +/// ISteamNetworkingUtils::SetConfigValueStruct, where the scope arguments are supplied by the +/// object being created. +struct SteamNetworkingConfigValue_t +{ + /// Which option is being set + ESteamNetworkingConfigValue m_eValue; + + /// Which field below did you fill in? + ESteamNetworkingConfigDataType m_eDataType; + + /// Option value + union + { + int32_t m_int32; + int64_t m_int64; + float m_float; + const char *m_string; // Points to your '\0'-terminated buffer + void *m_ptr; + } m_val; + + // + // Shortcut helpers to set the type and value in a single call + // + inline void SetInt32( ESteamNetworkingConfigValue eVal, int32_t data ) + { + m_eValue = eVal; + m_eDataType = k_ESteamNetworkingConfig_Int32; + m_val.m_int32 = data; + } + inline void SetInt64( ESteamNetworkingConfigValue eVal, int64_t data ) + { + m_eValue = eVal; + m_eDataType = k_ESteamNetworkingConfig_Int64; + m_val.m_int64 = data; + } + inline void SetFloat( ESteamNetworkingConfigValue eVal, float data ) + { + m_eValue = eVal; + m_eDataType = k_ESteamNetworkingConfig_Float; + m_val.m_float = data; + } + inline void SetPtr( ESteamNetworkingConfigValue eVal, void *data ) + { + m_eValue = eVal; + m_eDataType = k_ESteamNetworkingConfig_Ptr; + m_val.m_ptr = data; + } + inline void SetString( ESteamNetworkingConfigValue eVal, const char *data ) // WARNING - Just saves your pointer. Does NOT make a copy of the string + { + m_eValue = eVal; + m_eDataType = k_ESteamNetworkingConfig_Ptr; + m_val.m_string = data; + } +}; + +/// Return value of ISteamNetworkintgUtils::GetConfigValue +enum ESteamNetworkingGetConfigValueResult +{ + k_ESteamNetworkingGetConfigValue_BadValue = -1, // No such configuration value + k_ESteamNetworkingGetConfigValue_BadScopeObj = -2, // Bad connection handle, etc + k_ESteamNetworkingGetConfigValue_BufferTooSmall = -3, // Couldn't fit the result in your buffer + k_ESteamNetworkingGetConfigValue_OK = 1, + k_ESteamNetworkingGetConfigValue_OKInherited = 2, // A value was not set at this level, but the effective (inherited) value was returned. + + k_ESteamNetworkingGetConfigValueResult__Force32Bit = 0x7fffffff +}; + +// +// Debug output +// + +/// Detail level for diagnostic output callback. +/// See ISteamNetworkingUtils::SetDebugOutputFunction +enum ESteamNetworkingSocketsDebugOutputType +{ + k_ESteamNetworkingSocketsDebugOutputType_None = 0, + k_ESteamNetworkingSocketsDebugOutputType_Bug = 1, // You used the API incorrectly, or an internal error happened + k_ESteamNetworkingSocketsDebugOutputType_Error = 2, // Run-time error condition that isn't the result of a bug. (E.g. we are offline, cannot bind a port, etc) + k_ESteamNetworkingSocketsDebugOutputType_Important = 3, // Nothing is wrong, but this is an important notification + k_ESteamNetworkingSocketsDebugOutputType_Warning = 4, + k_ESteamNetworkingSocketsDebugOutputType_Msg = 5, // Recommended amount + k_ESteamNetworkingSocketsDebugOutputType_Verbose = 6, // Quite a bit + k_ESteamNetworkingSocketsDebugOutputType_Debug = 7, // Practically everything + k_ESteamNetworkingSocketsDebugOutputType_Everything = 8, // Wall of text, detailed packet contents breakdown, etc + + k_ESteamNetworkingSocketsDebugOutputType__Force32Bit = 0x7fffffff +}; + +/// Setup callback for debug output, and the desired verbosity you want. +typedef void (*FSteamNetworkingSocketsDebugOutput)( ESteamNetworkingSocketsDebugOutputType nType, const char *pszMsg ); + +// +// Valve data centers +// + +/// Convert 3- or 4-character ID to 32-bit int. +inline SteamNetworkingPOPID CalculateSteamNetworkingPOPIDFromString( const char *pszCode ) +{ + // OK we made a bad decision when we decided how to pack 3-character codes into a uint32. We'd like to support + // 4-character codes, but we don't want to break compatibility. The migration path has some subtleties that make + // this nontrivial, and there are already some IDs stored in SQL. Ug, so the 4 character code "abcd" will + // be encoded with the digits like "0xddaabbcc". + // + // Also: we don't currently use 1- or 2-character codes, but if ever do in the future, let's make sure don't read + // past the end of the string and access uninitialized memory. (And if the string is empty, we always want + // to return 0 and not read bytes past the '\0'.) + // + // There is also extra paranoia to make sure the bytes are not treated as signed. + SteamNetworkingPOPID result = (uint32)(uint8)pszCode[0] << 16U; + if ( result && pszCode[1] ) + { + result |= ( (uint32)(uint8)pszCode[1] << 8U ); + if ( pszCode[2] ) + { + result |= (uint32)(uint8)pszCode[2] | ( (uint32)(uint8)pszCode[3] << 24U ); + } + } + return result; +} + +/// Unpack integer to string representation, including terminating '\0' +/// +/// See also SteamNetworkingPOPIDRender +template +inline void GetSteamNetworkingLocationPOPStringFromID( SteamNetworkingPOPID id, char (&szCode)[N] ) +{ + static_assert( N >= 5, "Fixed-size buffer not big enough to hold SDR POP ID" ); + szCode[0] = char( id >> 16U ); + szCode[1] = char( id >> 8U ); + szCode[2] = char( id ); + szCode[3] = char( id >> 24U ); // See comment above about deep regret and sadness + szCode[4] = 0; +} + +/// The POPID "dev" is used in non-production environments for testing. +const SteamNetworkingPOPID k_SteamDatagramPOPID_dev = ( (uint32)'d' << 16U ) | ( (uint32)'e' << 8U ) | (uint32)'v'; + +#ifndef API_GEN + +/// Utility class for printing a SteamNetworkingPOPID. +struct SteamNetworkingPOPIDRender +{ + SteamNetworkingPOPIDRender( SteamNetworkingPOPID x ) { GetSteamNetworkingLocationPOPStringFromID( x, buf ); } + inline const char *c_str() const { return buf; } +private: + char buf[ 8 ]; +}; + +#endif + +/////////////////////////////////////////////////////////////////////////////// +// +// Internal stuff +#ifndef API_GEN + +// For code compatibility +typedef SteamNetworkingMessage_t ISteamNetworkingMessage; +typedef SteamNetworkingErrMsg SteamDatagramErrMsg; + +#if 0 +inline void SteamNetworkingIPAddr::Clear() { memset( this, 0, sizeof(*this) ); } +inline bool SteamNetworkingIPAddr::IsIPv6AllZeros() const { const uint64 *q = (const uint64 *)m_ipv6; return q[0] == 0 && q[1] == 0; } +inline void SteamNetworkingIPAddr::SetIPv6( const uint8 *ipv6, uint16 nPort ) { memcpy( m_ipv6, ipv6, 16 ); m_port = nPort; } +inline void SteamNetworkingIPAddr::SetIPv4( uint32 nIP, uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0xffff; m_ipv4.m_ip[0] = uint8(nIP>>24); m_ipv4.m_ip[1] = uint8(nIP>>16); m_ipv4.m_ip[2] = uint8(nIP>>8); m_ipv4.m_ip[3] = uint8(nIP); m_port = nPort; } +inline bool SteamNetworkingIPAddr::IsIPv4() const { return m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0xffff; } +inline uint32 SteamNetworkingIPAddr::GetIPv4() const { return IsIPv4() ? ( (uint32(m_ipv4.m_ip[0])<<24) | (uint32(m_ipv4.m_ip[1])<<16) | (uint32(m_ipv4.m_ip[2])<<8) | uint32(m_ipv4.m_ip[3]) ) : 0; } +inline void SteamNetworkingIPAddr::SetIPv6LocalHost( uint16 nPort ) { m_ipv4.m_8zeros = 0; m_ipv4.m_0000 = 0; m_ipv4.m_ffff = 0; m_ipv6[12] = 0; m_ipv6[13] = 0; m_ipv6[14] = 0; m_ipv6[15] = 1; m_port = nPort; } +inline bool SteamNetworkingIPAddr::IsLocalHost() const { return ( m_ipv4.m_8zeros == 0 && m_ipv4.m_0000 == 0 && m_ipv4.m_ffff == 0 && m_ipv6[12] == 0 && m_ipv6[13] == 0 && m_ipv6[14] == 0 && m_ipv6[15] == 1 ) || ( GetIPv4() == 0x7f000001 ); } +inline bool SteamNetworkingIPAddr::operator==(const SteamNetworkingIPAddr &x ) const { return memcmp( this, &x, sizeof(SteamNetworkingIPAddr) ) == 0; } + +inline void SteamNetworkingIdentity::Clear() { memset( this, 0, sizeof(*this) ); } +inline bool SteamNetworkingIdentity::IsInvalid() const { return m_eType == k_ESteamNetworkingIdentityType_Invalid; } +inline void SteamNetworkingIdentity::SetSteamID( CSteamID steamID ) { SetSteamID64( steamID.ConvertToUint64() ); } +inline CSteamID SteamNetworkingIdentity::GetSteamID() const { return CSteamID( GetSteamID64() ); } +inline void SteamNetworkingIdentity::SetSteamID64( uint64 steamID ) { m_eType = k_ESteamNetworkingIdentityType_SteamID; m_cbSize = sizeof( m_steamID64 ); m_steamID64 = steamID; } +inline uint64 SteamNetworkingIdentity::GetSteamID64() const { return m_eType == k_ESteamNetworkingIdentityType_SteamID ? m_steamID64 : 0; } +inline bool SteamNetworkingIdentity::SetXboxPairwiseID( const char *pszString ) { size_t l = strlen( pszString ); if ( l < 1 || l >= sizeof(m_szXboxPairwiseID) ) return false; + m_eType = k_ESteamNetworkingIdentityType_XboxPairwiseID; m_cbSize = int(l+1); memcpy( m_szXboxPairwiseID, pszString, m_cbSize ); return true; } +inline const char *SteamNetworkingIdentity::GetXboxPairwiseID() const { return m_eType == k_ESteamNetworkingIdentityType_XboxPairwiseID ? m_szXboxPairwiseID : NULL; } +inline void SteamNetworkingIdentity::SetPSNID( uint64 id ) { m_eType = k_ESteamNetworkingIdentityType_SonyPSN; m_cbSize = sizeof( m_PSNID ); m_PSNID = id; } +inline uint64 SteamNetworkingIdentity::GetPSNID() const { return m_eType == k_ESteamNetworkingIdentityType_SonyPSN ? m_PSNID : 0; } +inline void SteamNetworkingIdentity::SetStadiaID( uint64 id ) { m_eType = k_ESteamNetworkingIdentityType_GoogleStadia; m_cbSize = sizeof( m_stadiaID ); m_stadiaID = id; } +inline uint64 SteamNetworkingIdentity::GetStadiaID() const { return m_eType == k_ESteamNetworkingIdentityType_GoogleStadia ? m_stadiaID : 0; } +inline void SteamNetworkingIdentity::SetIPAddr( const SteamNetworkingIPAddr &addr ) { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip = addr; } +inline const SteamNetworkingIPAddr *SteamNetworkingIdentity::GetIPAddr() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress ? &m_ip : NULL; } +inline void SteamNetworkingIdentity::SetIPv4Addr( uint32 nIPv4, uint16 nPort ) { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip.SetIPv4( nIPv4, nPort ); } +inline uint32 SteamNetworkingIdentity::GetIPv4() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress ? m_ip.GetIPv4() : 0; } +inline ESteamNetworkingFakeIPType SteamNetworkingIdentity::GetFakeIPType() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress ? m_ip.GetFakeIPType() : k_ESteamNetworkingFakeIPType_Invalid; } +inline void SteamNetworkingIdentity::SetLocalHost() { m_eType = k_ESteamNetworkingIdentityType_IPAddress; m_cbSize = (int)sizeof(m_ip); m_ip.SetIPv6LocalHost(); } +inline bool SteamNetworkingIdentity::IsLocalHost() const { return m_eType == k_ESteamNetworkingIdentityType_IPAddress && m_ip.IsLocalHost(); } +inline bool SteamNetworkingIdentity::SetGenericString( const char *pszString ) { size_t l = strlen( pszString ); if ( l >= sizeof(m_szGenericString) ) return false; + m_eType = k_ESteamNetworkingIdentityType_GenericString; m_cbSize = int(l+1); memcpy( m_szGenericString, pszString, m_cbSize ); return true; } +inline const char *SteamNetworkingIdentity::GetGenericString() const { return m_eType == k_ESteamNetworkingIdentityType_GenericString ? m_szGenericString : NULL; } +inline bool SteamNetworkingIdentity::SetGenericBytes( const void *data, size_t cbLen ) { if ( cbLen > sizeof(m_genericBytes) ) return false; + m_eType = k_ESteamNetworkingIdentityType_GenericBytes; m_cbSize = int(cbLen); memcpy( m_genericBytes, data, m_cbSize ); return true; } +inline const uint8 *SteamNetworkingIdentity::GetGenericBytes( int &cbLen ) const { if ( m_eType != k_ESteamNetworkingIdentityType_GenericBytes ) return NULL; + cbLen = m_cbSize; return m_genericBytes; } +inline bool SteamNetworkingIdentity::operator==(const SteamNetworkingIdentity &x ) const { return m_eType == x.m_eType && m_cbSize == x.m_cbSize && memcmp( m_genericBytes, x.m_genericBytes, m_cbSize ) == 0; } +inline void SteamNetworkingMessage_t::Release() { (*m_pfnRelease)( this ); } +#endif + +#endif // #ifndef API_GEN + +#endif // #ifndef STEAMNETWORKINGTYPES diff --git a/lsteamclient/steamworks_sdk_158/steamps3params.h b/lsteamclient/steamworks_sdk_158/steamps3params.h new file mode 100644 index 000000000..c0741b4bb --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamps3params.h @@ -0,0 +1,112 @@ +//====== Copyright 1996-2008, Valve Corporation, All rights reserved. ======= +// +// Purpose: +// +//============================================================================= + +#ifndef STEAMPS3PARAMS_H +#define STEAMPS3PARAMS_H +#ifdef _WIN32 +#pragma once +#endif + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// PlayStation 3 initialization parameters +// +// The following structure must be passed to when loading steam_api_ps3.prx +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +#define STEAM_PS3_PATH_MAX 1055 +#define STEAM_PS3_SERVICE_ID_MAX 32 +#define STEAM_PS3_COMMUNICATION_ID_MAX 10 +#define STEAM_PS3_COMMUNICATION_SIG_MAX 160 +#define STEAM_PS3_LANGUAGE_MAX 64 +#define STEAM_PS3_REGION_CODE_MAX 16 +#define STEAM_PS3_CURRENT_PARAMS_VER 2 +struct SteamPS3Params_t +{ + uint32 m_unVersion; // set to STEAM_PS3_CURRENT_PARAMS_VER + + void *pReserved; + uint32 m_nAppId; // set to your game's appid + + char m_rgchInstallationPath[ STEAM_PS3_PATH_MAX ]; // directory containing latest steam prx's and sdata. Can be read only (BDVD) + char m_rgchSystemCache[ STEAM_PS3_PATH_MAX ]; // temp working cache, not persistent + char m_rgchGameData[ STEAM_PS3_PATH_MAX ]; // persistent game data path for storing user data + char m_rgchNpServiceID[ STEAM_PS3_SERVICE_ID_MAX ]; + char m_rgchNpCommunicationID[ STEAM_PS3_COMMUNICATION_ID_MAX ]; + char m_rgchNpCommunicationSig[ STEAM_PS3_COMMUNICATION_SIG_MAX ]; + + // Language should be one of the following. must be zero terminated + // danish + // dutch + // english + // finnish + // french + // german + // italian + // korean + // norwegian + // polish + // portuguese + // russian + // schinese + // spanish + // swedish + // tchinese + char m_rgchSteamLanguage[ STEAM_PS3_LANGUAGE_MAX ]; + + // region codes are "SCEA", "SCEE", "SCEJ". must be zero terminated + char m_rgchRegionCode[ STEAM_PS3_REGION_CODE_MAX ]; + + // Should be SYS_TTYP3 through SYS_TTYP10, if it's 0 then Steam won't spawn a + // thread to read console input at all. Using this let's you use Steam console commands + // like: profile_on, profile_off, profile_dump, mem_stats, mem_validate. + unsigned int m_cSteamInputTTY; + + struct Ps3netInit_t + { + bool m_bNeedInit; + void *m_pMemory; + int m_nMemorySize; + int m_flags; + } m_sysNetInitInfo; + + struct Ps3jpgInit_t + { + bool m_bNeedInit; + } m_sysJpgInitInfo; + + struct Ps3pngInit_t + { + bool m_bNeedInit; + } m_sysPngInitInfo; + + struct Ps3sysutilUserInfo_t + { + bool m_bNeedInit; + } m_sysSysUtilUserInfo; + + bool m_bIncludeNewsPage; +}; + + +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +// PlayStation 3 memory structure +//----------------------------------------------------------------------------------------------------------------------------------------------------------// +#define STEAMPS3_MALLOC_INUSE 0x53D04A51 +#define STEAMPS3_MALLOC_SYSTEM 0x0D102C48 +#define STEAMPS3_MALLOC_OK 0xFFD04A51 +struct SteamPS3Memory_t +{ + bool m_bSingleAllocation; // If true, Steam will request one 6MB allocation and use the returned memory for all future allocations + // If false, Steam will make call malloc for each allocation + + // required function pointers + void* (*m_pfMalloc)(size_t); + void* (*m_pfRealloc)(void *, size_t); + void (*m_pfFree)(void *); + size_t (*m_pUsable_size)(void*); +}; + + +#endif // STEAMPS3PARAMS_H diff --git a/lsteamclient/steamworks_sdk_158/steamtypes.h b/lsteamclient/steamworks_sdk_158/steamtypes.h new file mode 100644 index 000000000..ae3d32fc3 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamtypes.h @@ -0,0 +1,155 @@ +//========= Copyright 1996-2022, Valve LLC, All rights reserved. ============ + +#ifndef STEAMTYPES_H +#define STEAMTYPES_H + +#define S_CALLTYPE __cdecl +// WARNING: __cdecl is potentially #defined away in steam_api_common.h + +// Steam-specific types. Defined here so this header file can be included in other code bases. +#ifndef WCHARTYPES_H +typedef unsigned char uint8; +#endif + +#if defined( __GNUC__ ) && !defined(POSIX) + #if __GNUC__ < 4 + #error "Steamworks requires GCC 4.X (4.2 or 4.4 have been tested)" + #endif +#endif + +#if defined(__LP64__) || defined(__x86_64__) || defined(_WIN64) || defined(__aarch64__) || defined(__s390x__) +#define X64BITS +#endif + +#if !defined(VALVE_BIG_ENDIAN) +#if defined(_PS3) +// Make sure VALVE_BIG_ENDIAN gets set on PS3, may already be set previously in Valve internal code. +#define VALVE_BIG_ENDIAN 1 +#endif +#if defined( __GNUC__ ) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ +#define VALVE_BIG_ENDIAN 1 +#endif +#endif + +typedef unsigned char uint8; +typedef signed char int8; + +#if defined( _WIN32 ) && !defined( __GNUC__ ) + +typedef __int16 int16; +typedef unsigned __int16 uint16; +typedef __int32 int32; +typedef unsigned __int32 uint32; +typedef __int64 int64; +typedef unsigned __int64 uint64; + +typedef int64 lint64; +typedef uint64 ulint64; + +#ifdef X64BITS +typedef __int64 intp; // intp is an integer that can accomodate a pointer +typedef unsigned __int64 uintp; // (ie, sizeof(intp) >= sizeof(int) && sizeof(intp) >= sizeof(void *) +#else +typedef __int32 intp; +typedef unsigned __int32 uintp; +#endif + +#else // _WIN32 + +typedef short int16; +typedef unsigned short uint16; +typedef int int32; +typedef unsigned int uint32; +typedef long long int64; +typedef unsigned long long uint64; + +// [u]int64 are actually defined as 'long long' and gcc 64-bit +// doesn't automatically consider them the same as 'long int'. +// Changing the types for [u]int64 is complicated by +// there being many definitions, so we just +// define a 'long int' here and use it in places that would +// otherwise confuse the compiler. +typedef long int lint64; +typedef unsigned long int ulint64; + +#ifdef X64BITS +typedef long long intp; +typedef unsigned long long uintp; +#else +typedef int intp; +typedef unsigned int uintp; +#endif + +#endif // else _WIN32 + +typedef uint32 AppId_t; +const AppId_t k_uAppIdInvalid = 0x0; + +// AppIds and DepotIDs also presently share the same namespace +typedef uint32 DepotId_t; +const DepotId_t k_uDepotIdInvalid = 0x0; + +// RTime32. Seconds elapsed since Jan 1 1970, i.e. unix timestamp. +// It's the same as time_t, but it is always 32-bit and unsigned. +typedef uint32 RTime32; + +// handle to a Steam API call +typedef uint64 SteamAPICall_t; +const SteamAPICall_t k_uAPICallInvalid = 0x0; + +typedef uint32 AccountID_t; + +// Party Beacon ID +typedef uint64 PartyBeaconID_t; +const PartyBeaconID_t k_ulPartyBeaconIdInvalid = 0; + +enum ESteamIPType +{ + k_ESteamIPTypeIPv4 = 0, + k_ESteamIPTypeIPv6 = 1, +}; + +#pragma pack( push, 1 ) + +struct SteamIPAddress_t +{ + union x { + + uint32 m_unIPv4; // Host order + uint8 m_rgubIPv6[16]; // Network order! Same as inaddr_in6. (0011:2233:4455:6677:8899:aabb:ccdd:eeff) + + // Internal use only + uint64 m_ipv6Qword[2]; // big endian + } x; + + ESteamIPType m_eType; + + bool IsSet() const + { + return true; + } + + static SteamIPAddress_t IPv4Any() + { + return {}; + } + + static SteamIPAddress_t IPv6Any() + { + return {}; + } + + static SteamIPAddress_t IPv4Loopback() + { + return {}; + } + + static SteamIPAddress_t IPv6Loopback() + { + return {}; + } +}; + +#pragma pack( pop ) + +#endif // STEAMTYPES_H diff --git a/lsteamclient/steamworks_sdk_158/steamuniverse.h b/lsteamclient/steamworks_sdk_158/steamuniverse.h new file mode 100644 index 000000000..dd384dcc4 --- /dev/null +++ b/lsteamclient/steamworks_sdk_158/steamuniverse.h @@ -0,0 +1,27 @@ +//========= Copyright � 1996-2008, Valve LLC, All rights reserved. ============ +// +// Purpose: +// +//============================================================================= + +#ifndef STEAMUNIVERSE_H +#define STEAMUNIVERSE_H +#ifdef _WIN32 +#pragma once +#endif + + +// Steam universes. Each universe is a self-contained Steam instance. +enum EUniverse +{ + k_EUniverseInvalid = 0, + k_EUniversePublic = 1, + k_EUniverseBeta = 2, + k_EUniverseInternal = 3, + k_EUniverseDev = 4, + // k_EUniverseRC = 5, // no such universe anymore + k_EUniverseMax +}; + + +#endif // STEAMUNIVERSE_H diff --git a/lsteamclient/struct_converters.h b/lsteamclient/struct_converters.h deleted file mode 100644 index da114c1a3..000000000 --- a/lsteamclient/struct_converters.h +++ /dev/null @@ -1,3169 +0,0 @@ -#if defined(SDKVER_157) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_157 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_157 winSteamPartyBeaconLocation_t_157; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_157(const struct winSteamPartyBeaconLocation_t_157 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_157(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_157 *w); -#endif - -#if defined(SDKVER_157) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_157 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_157 winLeaderboardEntry_t_157; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_157(const struct winLeaderboardEntry_t_157 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_157(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_157 *w); -#endif - -#if defined(SDKVER_157) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_157 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_157 winSteamUGCDetails_t_157; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_157(const struct winSteamUGCDetails_t_157 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_157(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_157 *w); -#endif - -#if defined(SDKVER_157) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_157 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; - uint16 m_idxLane; - uint16 _pad1__; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_157 winSteamNetworkingMessage_t_157; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_156) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_156 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_156 winSteamPartyBeaconLocation_t_156; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_156(const struct winSteamPartyBeaconLocation_t_156 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_156(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_156 *w); -#endif - -#if defined(SDKVER_156) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_156 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_156 winLeaderboardEntry_t_156; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_156(const struct winLeaderboardEntry_t_156 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_156(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_156 *w); -#endif - -#if defined(SDKVER_156) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_156 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_156 winSteamUGCDetails_t_156; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_156(const struct winSteamUGCDetails_t_156 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_156(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_156 *w); -#endif - -#if defined(SDKVER_156) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_156 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; - uint16 m_idxLane; - uint16 _pad1__; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_156 winSteamNetworkingMessage_t_156; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_155) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_155 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_155 winSteamPartyBeaconLocation_t_155; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_155(const struct winSteamPartyBeaconLocation_t_155 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_155(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_155 *w); -#endif - -#if defined(SDKVER_155) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_155 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_155 winLeaderboardEntry_t_155; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_155(const struct winLeaderboardEntry_t_155 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_155(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_155 *w); -#endif - -#if defined(SDKVER_155) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_155 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_155 winSteamUGCDetails_t_155; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_155(const struct winSteamUGCDetails_t_155 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_155(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_155 *w); -#endif - -#if defined(SDKVER_155) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_155 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; - uint16 m_idxLane; - uint16 _pad1__; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_155 winSteamNetworkingMessage_t_155; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_154) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_154 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_154 winSteamPartyBeaconLocation_t_154; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_154(const struct winSteamPartyBeaconLocation_t_154 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_154(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_154 *w); -#endif - -#if defined(SDKVER_154) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_154 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_154 winLeaderboardEntry_t_154; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_154(const struct winLeaderboardEntry_t_154 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_154(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_154 *w); -#endif - -#if defined(SDKVER_154) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_154 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_154 winSteamUGCDetails_t_154; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_154(const struct winSteamUGCDetails_t_154 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_154(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_154 *w); -#endif - -#if defined(SDKVER_154) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_154 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; - uint16 m_idxLane; - uint16 _pad1__; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_154 winSteamNetworkingMessage_t_154; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_153a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_153a { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_153a winSteamPartyBeaconLocation_t_153a; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_153a(const struct winSteamPartyBeaconLocation_t_153a *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_153a(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_153a *w); -#endif - -#if defined(SDKVER_153a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_153a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_153a winLeaderboardEntry_t_153a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_153a(const struct winLeaderboardEntry_t_153a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_153a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_153a *w); -#endif - -#if defined(SDKVER_153a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_153a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_153a winSteamUGCDetails_t_153a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_153a(const struct winSteamUGCDetails_t_153a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_153a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_153a *w); -#endif - -#if defined(SDKVER_153a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_153a { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; - uint16 m_idxLane; - uint16 _pad1__; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_153a winSteamNetworkingMessage_t_153a; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_152) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_152 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_152 winSteamPartyBeaconLocation_t_152; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_152(const struct winSteamPartyBeaconLocation_t_152 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_152(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_152 *w); -#endif - -#if defined(SDKVER_152) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_152 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_152 winLeaderboardEntry_t_152; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_152(const struct winLeaderboardEntry_t_152 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_152(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_152 *w); -#endif - -#if defined(SDKVER_152) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_152 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_152 winSteamUGCDetails_t_152; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_152(const struct winSteamUGCDetails_t_152 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_152(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_152 *w); -#endif - -#if defined(SDKVER_152) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_152 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_152 winSteamNetworkingMessage_t_152; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_151) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_151 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_151 winSteamPartyBeaconLocation_t_151; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_151(const struct winSteamPartyBeaconLocation_t_151 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_151(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_151 *w); -#endif - -#if defined(SDKVER_151) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_151 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_151 winLeaderboardEntry_t_151; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_151(const struct winLeaderboardEntry_t_151 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_151(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_151 *w); -#endif - -#if defined(SDKVER_151) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_151 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_151 winSteamUGCDetails_t_151; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_151(const struct winSteamUGCDetails_t_151 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_151(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_151 *w); -#endif - -#if defined(SDKVER_151) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_151 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_151 winSteamNetworkingMessage_t_151; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_150) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_150 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_150 winSteamPartyBeaconLocation_t_150; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_150(const struct winSteamPartyBeaconLocation_t_150 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_150(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_150 *w); -#endif - -#if defined(SDKVER_150) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_150 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_150 winLeaderboardEntry_t_150; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_150(const struct winLeaderboardEntry_t_150 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_150(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_150 *w); -#endif - -#if defined(SDKVER_150) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_150 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_150 winSteamUGCDetails_t_150; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_150(const struct winSteamUGCDetails_t_150 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_150(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_150 *w); -#endif - -#if defined(SDKVER_150) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_150 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_150 winSteamNetworkingMessage_t_150; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_149) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_149 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_149 winSteamPartyBeaconLocation_t_149; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_149(const struct winSteamPartyBeaconLocation_t_149 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_149(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_149 *w); -#endif - -#if defined(SDKVER_149) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_149 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_149 winLeaderboardEntry_t_149; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_149(const struct winLeaderboardEntry_t_149 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_149(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_149 *w); -#endif - -#if defined(SDKVER_149) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_149 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_149 winSteamUGCDetails_t_149; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_149(const struct winSteamUGCDetails_t_149 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_149(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_149 *w); -#endif - -#if defined(SDKVER_149) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_149 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_149 winSteamNetworkingMessage_t_149; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_148a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_148a { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_148a winSteamPartyBeaconLocation_t_148a; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_148a(const struct winSteamPartyBeaconLocation_t_148a *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_148a(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_148a *w); -#endif - -#if defined(SDKVER_148a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_148a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_148a winLeaderboardEntry_t_148a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_148a(const struct winLeaderboardEntry_t_148a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_148a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_148a *w); -#endif - -#if defined(SDKVER_148a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_148a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_148a winSteamUGCDetails_t_148a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_148a(const struct winSteamUGCDetails_t_148a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_148a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_148a *w); -#endif - -#if defined(SDKVER_148a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_148a { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_148a winSteamNetworkingMessage_t_148a; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_147) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_147 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_147 winSteamPartyBeaconLocation_t_147; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_147(const struct winSteamPartyBeaconLocation_t_147 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_147(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_147 *w); -#endif - -#if defined(SDKVER_147) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_147 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_147 winLeaderboardEntry_t_147; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_147(const struct winLeaderboardEntry_t_147 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_147(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_147 *w); -#endif - -#if defined(SDKVER_147) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_147 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_147 winSteamUGCDetails_t_147; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_147(const struct winSteamUGCDetails_t_147 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_147(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_147 *w); -#endif - -#if defined(SDKVER_147) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_147 { - void * m_pData; - int m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_identityPeer __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m_nFlags; - int64 m_nUserData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_147 winSteamNetworkingMessage_t_147; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_146) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_146 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_146 winSteamPartyBeaconLocation_t_146; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_146(const struct winSteamPartyBeaconLocation_t_146 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_146(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_146 *w); -#endif - -#if defined(SDKVER_146) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_146 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_146 winLeaderboardEntry_t_146; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_146(const struct winLeaderboardEntry_t_146 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_146(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_146 *w); -#endif - -#if defined(SDKVER_146) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_146 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_146 winSteamUGCDetails_t_146; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_146(const struct winSteamUGCDetails_t_146 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_146(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_146 *w); -#endif - -#if defined(SDKVER_146) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_146 { - void * m_pData; - uint32 m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_sender __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m___nPadDummy; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_146 winSteamNetworkingMessage_t_146; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_145) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_145 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_145 winSteamPartyBeaconLocation_t_145; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_145(const struct winSteamPartyBeaconLocation_t_145 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_145(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_145 *w); -#endif - -#if defined(SDKVER_145) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_145 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_145 winLeaderboardEntry_t_145; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_145(const struct winLeaderboardEntry_t_145 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_145(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_145 *w); -#endif - -#if defined(SDKVER_145) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_145 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_145 winSteamUGCDetails_t_145; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_145(const struct winSteamUGCDetails_t_145 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_145(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_145 *w); -#endif - -#if defined(SDKVER_145) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_145 { - void * m_pData; - uint32 m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_sender __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m___nPadDummy; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_145 winSteamNetworkingMessage_t_145; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_144) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_144 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_144 winSteamPartyBeaconLocation_t_144; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_144(const struct winSteamPartyBeaconLocation_t_144 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_144(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_144 *w); -#endif - -#if defined(SDKVER_144) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_144 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_144 winLeaderboardEntry_t_144; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_144(const struct winLeaderboardEntry_t_144 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_144(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_144 *w); -#endif - -#if defined(SDKVER_144) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_144 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_144 winSteamUGCDetails_t_144; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_144(const struct winSteamUGCDetails_t_144 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_144(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_144 *w); -#endif - -#if defined(SDKVER_144) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamNetworkingMessage_t_144 { - void * m_pData; - uint32 m_cbSize; - HSteamNetConnection m_conn; - SteamNetworkingIdentity m_sender __attribute__((aligned(1))); - int64 m_nConnUserData; - SteamNetworkingMicroseconds m_usecTimeReceived; - int64 m_nMessageNumber; - void *m_pfnFreeData; /*fn pointer*/ - void *m_pfnRelease; /*fn pointer*/ - int m_nChannel; - int m___nPadDummy; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamNetworkingMessage_t_144 winSteamNetworkingMessage_t_144; -struct SteamNetworkingMessage_t; -#endif - -#if defined(SDKVER_143y) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_143y { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_143y winSteamPartyBeaconLocation_t_143y; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_143y(const struct winSteamPartyBeaconLocation_t_143y *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_143y(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_143y *w); -#endif - -#if defined(SDKVER_143y) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_143y { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_143y winLeaderboardEntry_t_143y; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_143y(const struct winLeaderboardEntry_t_143y *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_143y(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_143y *w); -#endif - -#if defined(SDKVER_143y) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_143y { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_143y winSteamUGCDetails_t_143y; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_143y(const struct winSteamUGCDetails_t_143y *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_143y(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_143y *w); -#endif - -#if defined(SDKVER_143x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_143x { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_143x winSteamPartyBeaconLocation_t_143x; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_143x(const struct winSteamPartyBeaconLocation_t_143x *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_143x(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_143x *w); -#endif - -#if defined(SDKVER_143x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_143x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_143x winLeaderboardEntry_t_143x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_143x(const struct winLeaderboardEntry_t_143x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_143x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_143x *w); -#endif - -#if defined(SDKVER_143x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_143x { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_143x winSteamUGCDetails_t_143x; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_143x(const struct winSteamUGCDetails_t_143x *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_143x(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_143x *w); -#endif - -#if defined(SDKVER_143) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamPartyBeaconLocation_t_143 { - ESteamPartyBeaconLocationType m_eType; - uint64 m_ulLocationID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamPartyBeaconLocation_t_143 winSteamPartyBeaconLocation_t_143; -struct SteamPartyBeaconLocation_t; -extern void win_to_lin_struct_SteamPartyBeaconLocation_t_143(const struct winSteamPartyBeaconLocation_t_143 *w, struct SteamPartyBeaconLocation_t *l); -extern void lin_to_win_struct_SteamPartyBeaconLocation_t_143(const struct SteamPartyBeaconLocation_t *l, struct winSteamPartyBeaconLocation_t_143 *w); -#endif - -#if defined(SDKVER_143) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_143 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_143 winLeaderboardEntry_t_143; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_143(const struct winLeaderboardEntry_t_143 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_143(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_143 *w); -#endif - -#if defined(SDKVER_143) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_143 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_143 winSteamUGCDetails_t_143; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_143(const struct winSteamUGCDetails_t_143 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_143(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_143 *w); -#endif - -#if defined(SDKVER_142) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_142 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_142 winLeaderboardEntry_t_142; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_142(const struct winLeaderboardEntry_t_142 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_142(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_142 *w); -#endif - -#if defined(SDKVER_142) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_142 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_142 winSteamUGCDetails_t_142; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_142(const struct winSteamUGCDetails_t_142 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_142(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_142 *w); -#endif - -#if defined(SDKVER_141) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_141 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_141 winLeaderboardEntry_t_141; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_141(const struct winLeaderboardEntry_t_141 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_141(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_141 *w); -#endif - -#if defined(SDKVER_141) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_141 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_141 winSteamUGCDetails_t_141; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_141(const struct winSteamUGCDetails_t_141 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_141(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_141 *w); -#endif - -#if defined(SDKVER_140) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_140 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_140 winLeaderboardEntry_t_140; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_140(const struct winLeaderboardEntry_t_140 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_140(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_140 *w); -#endif - -#if defined(SDKVER_140) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_140 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_140 winSteamUGCDetails_t_140; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_140(const struct winSteamUGCDetails_t_140 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_140(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_140 *w); -#endif - -#if defined(SDKVER_139) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_139 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_139 winLeaderboardEntry_t_139; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_139(const struct winLeaderboardEntry_t_139 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_139(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_139 *w); -#endif - -#if defined(SDKVER_139) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_139 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_139 winSteamUGCDetails_t_139; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_139(const struct winSteamUGCDetails_t_139 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_139(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_139 *w); -#endif - -#if defined(SDKVER_138a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_138a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_138a winLeaderboardEntry_t_138a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_138a(const struct winLeaderboardEntry_t_138a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_138a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_138a *w); -#endif - -#if defined(SDKVER_138a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_138a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_138a winSteamUGCDetails_t_138a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_138a(const struct winSteamUGCDetails_t_138a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_138a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_138a *w); -#endif - -#if defined(SDKVER_138) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_138 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_138 winLeaderboardEntry_t_138; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_138(const struct winLeaderboardEntry_t_138 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_138(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_138 *w); -#endif - -#if defined(SDKVER_138) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_138 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_138 winSteamUGCDetails_t_138; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_138(const struct winSteamUGCDetails_t_138 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_138(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_138 *w); -#endif - -#if defined(SDKVER_137) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_137 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_137 winLeaderboardEntry_t_137; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_137(const struct winLeaderboardEntry_t_137 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_137(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_137 *w); -#endif - -#if defined(SDKVER_137) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_137 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_137 winSteamUGCDetails_t_137; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_137(const struct winSteamUGCDetails_t_137 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_137(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_137 *w); -#endif - -#if defined(SDKVER_136) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_136 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_136 winLeaderboardEntry_t_136; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_136(const struct winLeaderboardEntry_t_136 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_136(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_136 *w); -#endif - -#if defined(SDKVER_136) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_136 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_136 winSteamUGCDetails_t_136; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_136(const struct winSteamUGCDetails_t_136 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_136(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_136 *w); -#endif - -#if defined(SDKVER_135a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_135a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_135a winLeaderboardEntry_t_135a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_135a(const struct winLeaderboardEntry_t_135a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_135a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_135a *w); -#endif - -#if defined(SDKVER_135a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_135a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_135a winSteamUGCDetails_t_135a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_135a(const struct winSteamUGCDetails_t_135a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_135a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_135a *w); -#endif - -#if defined(SDKVER_135) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_135 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_135 winLeaderboardEntry_t_135; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_135(const struct winLeaderboardEntry_t_135 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_135(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_135 *w); -#endif - -#if defined(SDKVER_135) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_135 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_135 winSteamUGCDetails_t_135; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_135(const struct winSteamUGCDetails_t_135 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_135(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_135 *w); -#endif - -#if defined(SDKVER_134) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_134 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_134 winLeaderboardEntry_t_134; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_134(const struct winLeaderboardEntry_t_134 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_134(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_134 *w); -#endif - -#if defined(SDKVER_134) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_134 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_134 winSteamUGCDetails_t_134; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_134(const struct winSteamUGCDetails_t_134 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_134(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_134 *w); -#endif - -#if defined(SDKVER_133x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_133x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_133x winLeaderboardEntry_t_133x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_133x(const struct winLeaderboardEntry_t_133x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_133x *w); -#endif - -#if defined(SDKVER_133x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_133x { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_133x winSteamUGCDetails_t_133x; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_133x(const struct winSteamUGCDetails_t_133x *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133x(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_133x *w); -#endif - -#if defined(SDKVER_133b) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_133b { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_133b winLeaderboardEntry_t_133b; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_133b(const struct winLeaderboardEntry_t_133b *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133b(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_133b *w); -#endif - -#if defined(SDKVER_133b) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_133b { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_133b winSteamUGCDetails_t_133b; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_133b(const struct winSteamUGCDetails_t_133b *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133b(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_133b *w); -#endif - -#if defined(SDKVER_133a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_133a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_133a winLeaderboardEntry_t_133a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_133a(const struct winLeaderboardEntry_t_133a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_133a *w); -#endif - -#if defined(SDKVER_133a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_133a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_133a winSteamUGCDetails_t_133a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_133a(const struct winSteamUGCDetails_t_133a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_133a *w); -#endif - -#if defined(SDKVER_133) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_133 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_133 winLeaderboardEntry_t_133; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_133(const struct winLeaderboardEntry_t_133 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_133(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_133 *w); -#endif - -#if defined(SDKVER_133) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_133 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_133 winSteamUGCDetails_t_133; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_133(const struct winSteamUGCDetails_t_133 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_133(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_133 *w); -#endif - -#if defined(SDKVER_132x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_132x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_132x winLeaderboardEntry_t_132x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_132x(const struct winLeaderboardEntry_t_132x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_132x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_132x *w); -#endif - -#if defined(SDKVER_132x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_132x { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_132x winSteamUGCDetails_t_132x; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_132x(const struct winSteamUGCDetails_t_132x *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_132x(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_132x *w); -#endif - -#if defined(SDKVER_132) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_132 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_132 winLeaderboardEntry_t_132; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_132(const struct winLeaderboardEntry_t_132 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_132(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_132 *w); -#endif - -#if defined(SDKVER_132) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_132 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_132 winSteamUGCDetails_t_132; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_132(const struct winSteamUGCDetails_t_132 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_132(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_132 *w); -#endif - -#if defined(SDKVER_131) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_131 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_131 winLeaderboardEntry_t_131; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_131(const struct winLeaderboardEntry_t_131 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_131(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_131 *w); -#endif - -#if defined(SDKVER_131) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_131 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_131 winSteamUGCDetails_t_131; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_131(const struct winSteamUGCDetails_t_131 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_131(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_131 *w); -#endif - -#if defined(SDKVER_130x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_130x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_130x winLeaderboardEntry_t_130x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_130x(const struct winLeaderboardEntry_t_130x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_130x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_130x *w); -#endif - -#if defined(SDKVER_130x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_130x { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_130x winSteamUGCDetails_t_130x; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_130x(const struct winSteamUGCDetails_t_130x *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_130x(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_130x *w); -#endif - -#if defined(SDKVER_130) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_130 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_130 winLeaderboardEntry_t_130; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_130(const struct winLeaderboardEntry_t_130 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_130(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_130 *w); -#endif - -#if defined(SDKVER_130) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_130 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_130 winSteamUGCDetails_t_130; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_130(const struct winSteamUGCDetails_t_130 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_130(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_130 *w); -#endif - -#if defined(SDKVER_129a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_129a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_129a winLeaderboardEntry_t_129a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_129a(const struct winLeaderboardEntry_t_129a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_129a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_129a *w); -#endif - -#if defined(SDKVER_129a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_129a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_129a winSteamUGCDetails_t_129a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_129a(const struct winSteamUGCDetails_t_129a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_129a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_129a *w); -#endif - -#if defined(SDKVER_129) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_129 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_129 winLeaderboardEntry_t_129; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_129(const struct winLeaderboardEntry_t_129 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_129(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_129 *w); -#endif - -#if defined(SDKVER_129) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_129 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_129 winSteamUGCDetails_t_129; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_129(const struct winSteamUGCDetails_t_129 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_129(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_129 *w); -#endif - -#if defined(SDKVER_128x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_128x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_128x winLeaderboardEntry_t_128x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_128x(const struct winLeaderboardEntry_t_128x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_128x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_128x *w); -#endif - -#if defined(SDKVER_128x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_128x { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; - uint32 m_unNumChildren; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_128x winSteamUGCDetails_t_128x; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_128x(const struct winSteamUGCDetails_t_128x *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_128x(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_128x *w); -#endif - -#if defined(SDKVER_128) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_128 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_128 winLeaderboardEntry_t_128; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_128(const struct winLeaderboardEntry_t_128 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_128(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_128 *w); -#endif - -#if defined(SDKVER_128) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_128 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_128 winSteamUGCDetails_t_128; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_128(const struct winSteamUGCDetails_t_128 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_128(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_128 *w); -#endif - -#if defined(SDKVER_127) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_127 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_127 winLeaderboardEntry_t_127; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_127(const struct winLeaderboardEntry_t_127 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_127(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_127 *w); -#endif - -#if defined(SDKVER_127) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_127 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_127 winSteamUGCDetails_t_127; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_127(const struct winSteamUGCDetails_t_127 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_127(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_127 *w); -#endif - -#if defined(SDKVER_126a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_126a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_126a winLeaderboardEntry_t_126a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_126a(const struct winLeaderboardEntry_t_126a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_126a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_126a *w); -#endif - -#if defined(SDKVER_126a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_126a { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_126a winSteamUGCDetails_t_126a; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_126a(const struct winSteamUGCDetails_t_126a *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_126a(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_126a *w); -#endif - -#if defined(SDKVER_126) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_126 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_126 winLeaderboardEntry_t_126; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_126(const struct winLeaderboardEntry_t_126 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_126(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_126 *w); -#endif - -#if defined(SDKVER_126) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winSteamUGCDetails_t_126 { - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; - EWorkshopFileType m_eFileType; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - uint32 m_rtimeAddedToUserList; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - bool m_bAcceptedForUse; - bool m_bTagsTruncated; - char m_rgchTags[1025]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - uint32 m_unVotesUp; - uint32 m_unVotesDown; - float m_flScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winSteamUGCDetails_t_126 winSteamUGCDetails_t_126; -struct SteamUGCDetails_t; -extern void win_to_lin_struct_SteamUGCDetails_t_126(const struct winSteamUGCDetails_t_126 *w, struct SteamUGCDetails_t *l); -extern void lin_to_win_struct_SteamUGCDetails_t_126(const struct SteamUGCDetails_t *l, struct winSteamUGCDetails_t_126 *w); -#endif - -#if defined(SDKVER_125) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_125 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_125 winLeaderboardEntry_t_125; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_125(const struct winLeaderboardEntry_t_125 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_125(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_125 *w); -#endif - -#if defined(SDKVER_124) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_124 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_124 winLeaderboardEntry_t_124; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_124(const struct winLeaderboardEntry_t_124 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_124(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_124 *w); -#endif - -#if defined(SDKVER_123a) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_123a { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_123a winLeaderboardEntry_t_123a; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_123a(const struct winLeaderboardEntry_t_123a *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_123a(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_123a *w); -#endif - -#if defined(SDKVER_123) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_123 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_123 winLeaderboardEntry_t_123; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_123(const struct winLeaderboardEntry_t_123 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_123(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_123 *w); -#endif - -#if defined(SDKVER_122) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_122 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_122 winLeaderboardEntry_t_122; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_122(const struct winLeaderboardEntry_t_122 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_122(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_122 *w); -#endif - -#if defined(SDKVER_121x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_121x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_121x winLeaderboardEntry_t_121x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_121x(const struct winLeaderboardEntry_t_121x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_121x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_121x *w); -#endif - -#if defined(SDKVER_121) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_121 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_121 winLeaderboardEntry_t_121; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_121(const struct winLeaderboardEntry_t_121 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_121(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_121 *w); -#endif - -#if defined(SDKVER_120) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_120 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_120 winLeaderboardEntry_t_120; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_120(const struct winLeaderboardEntry_t_120 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_120(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_120 *w); -#endif - -#if defined(SDKVER_119x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_119x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_119x winLeaderboardEntry_t_119x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_119x(const struct winLeaderboardEntry_t_119x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_119x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_119x *w); -#endif - -#if defined(SDKVER_119) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_119 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_119 winLeaderboardEntry_t_119; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_119(const struct winLeaderboardEntry_t_119 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_119(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_119 *w); -#endif - -#if defined(SDKVER_118) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_118 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_118 winLeaderboardEntry_t_118; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_118(const struct winLeaderboardEntry_t_118 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_118(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_118 *w); -#endif - -#if defined(SDKVER_117) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_117 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_117 winLeaderboardEntry_t_117; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_117(const struct winLeaderboardEntry_t_117 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_117(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_117 *w); -#endif - -#if defined(SDKVER_116x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_116x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_116x winLeaderboardEntry_t_116x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_116x(const struct winLeaderboardEntry_t_116x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_116x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_116x *w); -#endif - -#if defined(SDKVER_116) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_116 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_116 winLeaderboardEntry_t_116; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_116(const struct winLeaderboardEntry_t_116 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_116(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_116 *w); -#endif - -#if defined(SDKVER_115) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_115 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_115 winLeaderboardEntry_t_115; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_115(const struct winLeaderboardEntry_t_115 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_115(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_115 *w); -#endif - -#if defined(SDKVER_114) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_114 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_114 winLeaderboardEntry_t_114; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_114(const struct winLeaderboardEntry_t_114 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_114(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_114 *w); -#endif - -#if defined(SDKVER_113) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_113 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_113 winLeaderboardEntry_t_113; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_113(const struct winLeaderboardEntry_t_113 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_113(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_113 *w); -#endif - -#if defined(SDKVER_112x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_112x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_112x winLeaderboardEntry_t_112x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_112x(const struct winLeaderboardEntry_t_112x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_112x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_112x *w); -#endif - -#if defined(SDKVER_112) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_112 { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_112 winLeaderboardEntry_t_112; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_112(const struct winLeaderboardEntry_t_112 *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_112(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_112 *w); -#endif - -#if defined(SDKVER_111x) || !defined(__cplusplus) -#pragma pack( push, 8 ) -struct winLeaderboardEntry_t_111x { - CSteamID m_steamIDUser __attribute__((aligned(1))); - int32 m_nGlobalRank; - int32 m_nScore; - int32 m_cDetails; - UGCHandle_t m_hUGC; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -typedef struct winLeaderboardEntry_t_111x winLeaderboardEntry_t_111x; -struct LeaderboardEntry_t; -extern void win_to_lin_struct_LeaderboardEntry_t_111x(const struct winLeaderboardEntry_t_111x *w, struct LeaderboardEntry_t *l); -extern void lin_to_win_struct_LeaderboardEntry_t_111x(const struct LeaderboardEntry_t *l, struct winLeaderboardEntry_t_111x *w); -#endif - diff --git a/lsteamclient/struct_converters_111x.cpp b/lsteamclient/struct_converters_111x.cpp deleted file mode 100644 index 6f85e24cc..000000000 --- a/lsteamclient/struct_converters_111x.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_111x/steam_api.h" -#include "steamworks_sdk_111x/isteamgameserver.h" -#include "steamworks_sdk_111x/isteamgameserverstats.h" -#include "steamworks_sdk_111x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_111x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_111x(const struct winLeaderboardEntry_t_111x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_111x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_111x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_112.cpp b/lsteamclient/struct_converters_112.cpp deleted file mode 100644 index 2be7c8df1..000000000 --- a/lsteamclient/struct_converters_112.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112/steam_api.h" -#include "steamworks_sdk_112/isteamgameserver.h" -#include "steamworks_sdk_112/isteamgameserverstats.h" -#include "steamworks_sdk_112/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_112 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_112(const struct winLeaderboardEntry_t_112 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_112(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_112 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_112x.cpp b/lsteamclient/struct_converters_112x.cpp deleted file mode 100644 index f399ab2dc..000000000 --- a/lsteamclient/struct_converters_112x.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_112x/steam_api.h" -#include "steamworks_sdk_112x/isteamgameserver.h" -#include "steamworks_sdk_112x/isteamgameserverstats.h" -#include "steamworks_sdk_112x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_112x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_112x(const struct winLeaderboardEntry_t_112x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_112x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_112x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_113.cpp b/lsteamclient/struct_converters_113.cpp deleted file mode 100644 index dfbd6006e..000000000 --- a/lsteamclient/struct_converters_113.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_113/steam_api.h" -#include "steamworks_sdk_113/isteamgameserver.h" -#include "steamworks_sdk_113/isteamgameserverstats.h" -#include "steamworks_sdk_113/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_113 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_113(const struct winLeaderboardEntry_t_113 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_113(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_113 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_114.cpp b/lsteamclient/struct_converters_114.cpp deleted file mode 100644 index 5d33c69cf..000000000 --- a/lsteamclient/struct_converters_114.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_114/steam_api.h" -#include "steamworks_sdk_114/isteamgameserver.h" -#include "steamworks_sdk_114/isteamgameserverstats.h" -#include "steamworks_sdk_114/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_114 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_114(const struct winLeaderboardEntry_t_114 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_114(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_114 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_115.cpp b/lsteamclient/struct_converters_115.cpp deleted file mode 100644 index bc9b967fb..000000000 --- a/lsteamclient/struct_converters_115.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_115/steam_api.h" -#include "steamworks_sdk_115/isteamgameserver.h" -#include "steamworks_sdk_115/isteamgameserverstats.h" -#include "steamworks_sdk_115/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_115 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_115(const struct winLeaderboardEntry_t_115 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_115(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_115 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_116.cpp b/lsteamclient/struct_converters_116.cpp deleted file mode 100644 index 463724227..000000000 --- a/lsteamclient/struct_converters_116.cpp +++ /dev/null @@ -1,53 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116/steam_api.h" -#include "steamworks_sdk_116/isteamgameserver.h" -#include "steamworks_sdk_116/isteamgameserverstats.h" -#include "steamworks_sdk_116/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_116 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStorageDownloadUGCResult_t_40 { - EResult m_eResult; - UGCHandle_t m_hFile; - AppId_t m_nAppID; - int32 m_nSizeInBytes; - char * m_pchFileName; - uint64 m_ulSteamIDOwner; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_40(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - win->m_nAppID = lin->m_nAppID; - win->m_nSizeInBytes = lin->m_nSizeInBytes; - win->m_pchFileName = lin->m_pchFileName; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; -} - -void win_to_lin_struct_LeaderboardEntry_t_116(const struct winLeaderboardEntry_t_116 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_116(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_116 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_116x.cpp b/lsteamclient/struct_converters_116x.cpp deleted file mode 100644 index b34737263..000000000 --- a/lsteamclient/struct_converters_116x.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_116x/steam_api.h" -#include "steamworks_sdk_116x/isteamgameserver.h" -#include "steamworks_sdk_116x/isteamgameserverstats.h" -#include "steamworks_sdk_116x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_116x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_116x(const struct winLeaderboardEntry_t_116x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_116x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_116x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_117.cpp b/lsteamclient/struct_converters_117.cpp deleted file mode 100644 index 56fc6e129..000000000 --- a/lsteamclient/struct_converters_117.cpp +++ /dev/null @@ -1,73 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_117/steam_api.h" -#include "steamworks_sdk_117/isteamgameserver.h" -#include "steamworks_sdk_117/isteamgameserverstats.h" -#include "steamworks_sdk_117/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_117 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_1744 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[257]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_1744(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_1744 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); -} - -void win_to_lin_struct_LeaderboardEntry_t_117(const struct winLeaderboardEntry_t_117 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_117(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_117 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_118.cpp b/lsteamclient/struct_converters_118.cpp deleted file mode 100644 index 4b8921e11..000000000 --- a/lsteamclient/struct_converters_118.cpp +++ /dev/null @@ -1,77 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_118/steam_api.h" -#include "steamworks_sdk_118/isteamgameserver.h" -#include "steamworks_sdk_118/isteamgameserverstats.h" -#include "steamworks_sdk_118/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_118 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_9496 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9496(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9496 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; -} - -void win_to_lin_struct_LeaderboardEntry_t_118(const struct winLeaderboardEntry_t_118 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_118(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_118 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_119.cpp b/lsteamclient/struct_converters_119.cpp deleted file mode 100644 index a48c3eb49..000000000 --- a/lsteamclient/struct_converters_119.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119/steam_api.h" -#include "steamworks_sdk_119/isteamgameserver.h" -#include "steamworks_sdk_119/isteamgameserverstats.h" -#include "steamworks_sdk_119/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_119 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_119(const struct winLeaderboardEntry_t_119 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_119(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_119 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_119x.cpp b/lsteamclient/struct_converters_119x.cpp deleted file mode 100644 index 05be98b96..000000000 --- a/lsteamclient/struct_converters_119x.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_119x/steam_api.h" -#include "steamworks_sdk_119x/isteamgameserver.h" -#include "steamworks_sdk_119x/isteamgameserverstats.h" -#include "steamworks_sdk_119x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_119x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_119x(const struct winLeaderboardEntry_t_119x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_119x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_119x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_120.cpp b/lsteamclient/struct_converters_120.cpp deleted file mode 100644 index 1f2154355..000000000 --- a/lsteamclient/struct_converters_120.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_120/steam_api.h" -#include "steamworks_sdk_120/isteamgameserver.h" -#include "steamworks_sdk_120/isteamgameserverstats.h" -#include "steamworks_sdk_120/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_120 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_120(const struct winLeaderboardEntry_t_120 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_120(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_120 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_121.cpp b/lsteamclient/struct_converters_121.cpp deleted file mode 100644 index 08ae4e610..000000000 --- a/lsteamclient/struct_converters_121.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_121/steam_api.h" -#include "steamworks_sdk_121/isteamgameserver.h" -#include "steamworks_sdk_121/isteamgameserverstats.h" -#include "steamworks_sdk_121/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_121 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_121(const struct winLeaderboardEntry_t_121 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_121(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_121 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_121x.cpp b/lsteamclient/struct_converters_121x.cpp deleted file mode 100644 index 0d27a4ed9..000000000 --- a/lsteamclient/struct_converters_121x.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_121x/steam_api.h" -#include "steamworks_sdk_121x/isteamgameserver.h" -#include "steamworks_sdk_121x/isteamgameserverstats.h" -#include "steamworks_sdk_121x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_121x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_121x(const struct winLeaderboardEntry_t_121x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_121x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_121x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_122.cpp b/lsteamclient/struct_converters_122.cpp deleted file mode 100644 index 716d8acf8..000000000 --- a/lsteamclient/struct_converters_122.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_122/steam_api.h" -#include "steamworks_sdk_122/isteamgameserver.h" -#include "steamworks_sdk_122/isteamgameserverstats.h" -#include "steamworks_sdk_122/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_122 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_122(const struct winLeaderboardEntry_t_122 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_122(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_122 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_123.cpp b/lsteamclient/struct_converters_123.cpp deleted file mode 100644 index bab73c660..000000000 --- a/lsteamclient/struct_converters_123.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_123/steam_api.h" -#include "steamworks_sdk_123/isteamgameserver.h" -#include "steamworks_sdk_123/isteamgameserverstats.h" -#include "steamworks_sdk_123/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_123 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_123(const struct winLeaderboardEntry_t_123 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_123(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_123 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_123a.cpp b/lsteamclient/struct_converters_123a.cpp deleted file mode 100644 index 194522bf3..000000000 --- a/lsteamclient/struct_converters_123a.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_123a/steam_api.h" -#include "steamworks_sdk_123a/isteamgameserver.h" -#include "steamworks_sdk_123a/isteamgameserverstats.h" -#include "steamworks_sdk_123a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_123a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_123a(const struct winLeaderboardEntry_t_123a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_123a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_123a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_124.cpp b/lsteamclient/struct_converters_124.cpp deleted file mode 100644 index 484383eb0..000000000 --- a/lsteamclient/struct_converters_124.cpp +++ /dev/null @@ -1,75 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_124/steam_api.h" -#include "steamworks_sdk_124/isteamgameserver.h" -#include "steamworks_sdk_124/isteamgameserverstats.h" -#include "steamworks_sdk_124/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_124 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStoragePublishFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_16(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdatePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_16(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateWorkshopFilesResult_t_616 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - float m_rgScore[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_616(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_616 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); -} - -void win_to_lin_struct_LeaderboardEntry_t_124(const struct winLeaderboardEntry_t_124 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_124(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_124 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_125.cpp b/lsteamclient/struct_converters_125.cpp deleted file mode 100644 index 7e56e7c86..000000000 --- a/lsteamclient/struct_converters_125.cpp +++ /dev/null @@ -1,81 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_125/steam_api.h" -#include "steamworks_sdk_125/isteamgameserver.h" -#include "steamworks_sdk_125/isteamgameserverstats.h" -#include "steamworks_sdk_125/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_125 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_9752 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - EWorkshopFileType m_eFileType; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9752(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9752 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_eFileType = lin->m_eFileType; -} - -void win_to_lin_struct_LeaderboardEntry_t_125(const struct winLeaderboardEntry_t_125 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_125(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_125 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - - -} diff --git a/lsteamclient/struct_converters_126.cpp b/lsteamclient/struct_converters_126.cpp deleted file mode 100644 index e04092b0f..000000000 --- a/lsteamclient/struct_converters_126.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_126/steam_api.h" -#include "steamworks_sdk_126/isteamgameserver.h" -#include "steamworks_sdk_126/isteamgameserverstats.h" -#include "steamworks_sdk_126/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_126 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_126(const struct winLeaderboardEntry_t_126 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_126(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_126 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_126(const struct winSteamUGCDetails_t_126 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; -} - -void lin_to_win_struct_SteamUGCDetails_t_126(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_126 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; -} - - -} diff --git a/lsteamclient/struct_converters_126a.cpp b/lsteamclient/struct_converters_126a.cpp deleted file mode 100644 index 952b3aacf..000000000 --- a/lsteamclient/struct_converters_126a.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_126a/steam_api.h" -#include "steamworks_sdk_126a/isteamgameserver.h" -#include "steamworks_sdk_126a/isteamgameserverstats.h" -#include "steamworks_sdk_126a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_126a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_126a(const struct winLeaderboardEntry_t_126a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_126a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_126a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_126a(const struct winSteamUGCDetails_t_126a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; -} - -void lin_to_win_struct_SteamUGCDetails_t_126a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_126a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; -} - - -} diff --git a/lsteamclient/struct_converters_127.cpp b/lsteamclient/struct_converters_127.cpp deleted file mode 100644 index d79a3d338..000000000 --- a/lsteamclient/struct_converters_127.cpp +++ /dev/null @@ -1,91 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_127/steam_api.h" -#include "steamworks_sdk_127/isteamgameserver.h" -#include "steamworks_sdk_127/isteamgameserverstats.h" -#include "steamworks_sdk_127/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_127 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_127(const struct winLeaderboardEntry_t_127 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_127(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_127 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_127(const struct winSteamUGCDetails_t_127 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; -} - -void lin_to_win_struct_SteamUGCDetails_t_127(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_127 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; -} - - -} diff --git a/lsteamclient/struct_converters_128.cpp b/lsteamclient/struct_converters_128.cpp deleted file mode 100644 index 79f114b3f..000000000 --- a/lsteamclient/struct_converters_128.cpp +++ /dev/null @@ -1,113 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128/steam_api.h" -#include "steamworks_sdk_128/isteamgameserver.h" -#include "steamworks_sdk_128/isteamgameserverstats.h" -#include "steamworks_sdk_128/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_128 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winRemoteStorageFileShareResult_t_16 { - EResult m_eResult; - UGCHandle_t m_hFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_16(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; -} - -void win_to_lin_struct_LeaderboardEntry_t_128(const struct winLeaderboardEntry_t_128 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_128(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_128 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_128(const struct winSteamUGCDetails_t_128 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; -} - -void lin_to_win_struct_SteamUGCDetails_t_128(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_128 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; -} - -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9768 { - winSteamUGCDetails_t_128 m_details; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9768(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9768 *win) -{ - lin_to_win_struct_SteamUGCDetails_t_128(&lin->m_details, &win->m_details); -} - - -} diff --git a/lsteamclient/struct_converters_128x.cpp b/lsteamclient/struct_converters_128x.cpp deleted file mode 100644 index c5c9bdca4..000000000 --- a/lsteamclient/struct_converters_128x.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_128x/steam_api.h" -#include "steamworks_sdk_128x/isteamgameserver.h" -#include "steamworks_sdk_128x/isteamgameserverstats.h" -#include "steamworks_sdk_128x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_128x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_128x(const struct winLeaderboardEntry_t_128x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_128x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_128x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_128x(const struct winSteamUGCDetails_t_128x *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_128x(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_128x *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_129.cpp b/lsteamclient/struct_converters_129.cpp deleted file mode 100644 index 82857d800..000000000 --- a/lsteamclient/struct_converters_129.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_129/steam_api.h" -#include "steamworks_sdk_129/isteamgameserver.h" -#include "steamworks_sdk_129/isteamgameserverstats.h" -#include "steamworks_sdk_129/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_129 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_129(const struct winLeaderboardEntry_t_129 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_129(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_129 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_129(const struct winSteamUGCDetails_t_129 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; -} - -void lin_to_win_struct_SteamUGCDetails_t_129(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_129 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; -} - -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9776 { - winSteamUGCDetails_t_129 m_details; - bool m_bCachedData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9776(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9776 *win) -{ - lin_to_win_struct_SteamUGCDetails_t_129(&lin->m_details, &win->m_details); - win->m_bCachedData = lin->m_bCachedData; -} - - -} diff --git a/lsteamclient/struct_converters_129a.cpp b/lsteamclient/struct_converters_129a.cpp deleted file mode 100644 index 7e7d59e42..000000000 --- a/lsteamclient/struct_converters_129a.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_129a/steam_api.h" -#include "steamworks_sdk_129a/isteamgameserver.h" -#include "steamworks_sdk_129a/isteamgameserverstats.h" -#include "steamworks_sdk_129a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_129a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_129a(const struct winLeaderboardEntry_t_129a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_129a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_129a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_129a(const struct winSteamUGCDetails_t_129a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_129a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_129a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_130.cpp b/lsteamclient/struct_converters_130.cpp deleted file mode 100644 index f46f5d486..000000000 --- a/lsteamclient/struct_converters_130.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_130/steam_api.h" -#include "steamworks_sdk_130/isteamgameserver.h" -#include "steamworks_sdk_130/isteamgameserverstats.h" -#include "steamworks_sdk_130/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_130 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_130(const struct winLeaderboardEntry_t_130 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_130(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_130 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_130(const struct winSteamUGCDetails_t_130 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_130(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_130 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_130x.cpp b/lsteamclient/struct_converters_130x.cpp deleted file mode 100644 index 426a64589..000000000 --- a/lsteamclient/struct_converters_130x.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_130x/steam_api.h" -#include "steamworks_sdk_130x/isteamgameserver.h" -#include "steamworks_sdk_130x/isteamgameserverstats.h" -#include "steamworks_sdk_130x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_130x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_130x(const struct winLeaderboardEntry_t_130x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_130x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_130x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_130x(const struct winSteamUGCDetails_t_130x *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_130x(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_130x *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_131.cpp b/lsteamclient/struct_converters_131.cpp deleted file mode 100644 index c65cbbf21..000000000 --- a/lsteamclient/struct_converters_131.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_131/steam_api.h" -#include "steamworks_sdk_131/isteamgameserver.h" -#include "steamworks_sdk_131/isteamgameserverstats.h" -#include "steamworks_sdk_131/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_131 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_131(const struct winLeaderboardEntry_t_131 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_131(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_131 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_131(const struct winSteamUGCDetails_t_131 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_131(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_131 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_132.cpp b/lsteamclient/struct_converters_132.cpp deleted file mode 100644 index 4f2e38e88..000000000 --- a/lsteamclient/struct_converters_132.cpp +++ /dev/null @@ -1,199 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_132/steam_api.h" -#include "steamworks_sdk_132/isteamgameserver.h" -#include "steamworks_sdk_132/isteamgameserverstats.h" -#include "steamworks_sdk_132/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_132 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_132(const struct winLeaderboardEntry_t_132 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_132(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_132 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestCompleted_t_24 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - bool m_bRequestSuccessful; - EHTTPStatusCode m_eStatusCode; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestCompleted_t_24(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_24 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_bRequestSuccessful = lin->m_bRequestSuccessful; - win->m_eStatusCode = lin->m_eStatusCode; -} - -void win_to_lin_struct_SteamUGCDetails_t_132(const struct winSteamUGCDetails_t_132 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_132(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_132 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ComboNeedsPaint_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ComboNeedsPaint_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ComboNeedsPaint_t_24(const struct HTML_ComboNeedsPaint_t *lin, struct winHTML_ComboNeedsPaint_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; -} -#endif - -#ifdef __i386__ -void cb_HTML_ComboNeedsPaint_t_16(const struct HTML_ComboNeedsPaint_t *lin, struct winHTML_ComboNeedsPaint_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_32 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NewWindow_t_32(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_32 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; -} -#endif - -#ifdef __i386__ -void cb_HTML_NewWindow_t_24(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; -} -#endif - - -} diff --git a/lsteamclient/struct_converters_132x.cpp b/lsteamclient/struct_converters_132x.cpp deleted file mode 100644 index d91e3ee91..000000000 --- a/lsteamclient/struct_converters_132x.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_132x/steam_api.h" -#include "steamworks_sdk_132x/isteamgameserver.h" -#include "steamworks_sdk_132x/isteamgameserverstats.h" -#include "steamworks_sdk_132x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_132x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_132x(const struct winLeaderboardEntry_t_132x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_132x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_132x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_132x(const struct winSteamUGCDetails_t_132x *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_132x(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_132x *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_133.cpp b/lsteamclient/struct_converters_133.cpp deleted file mode 100644 index 82fc8360c..000000000 --- a/lsteamclient/struct_converters_133.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133/steam_api.h" -#include "steamworks_sdk_133/isteamgameserver.h" -#include "steamworks_sdk_133/isteamgameserverstats.h" -#include "steamworks_sdk_133/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_133 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_133(const struct winLeaderboardEntry_t_133 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_133(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_133 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_133(const struct winSteamUGCDetails_t_133 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_133(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_133 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_133a.cpp b/lsteamclient/struct_converters_133a.cpp deleted file mode 100644 index 123d19bd0..000000000 --- a/lsteamclient/struct_converters_133a.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133a/steam_api.h" -#include "steamworks_sdk_133a/isteamgameserver.h" -#include "steamworks_sdk_133a/isteamgameserverstats.h" -#include "steamworks_sdk_133a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_133a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_133a(const struct winLeaderboardEntry_t_133a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_133a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_133a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_133a(const struct winSteamUGCDetails_t_133a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_133a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_133a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_133b.cpp b/lsteamclient/struct_converters_133b.cpp deleted file mode 100644 index d9295436c..000000000 --- a/lsteamclient/struct_converters_133b.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133b/steam_api.h" -#include "steamworks_sdk_133b/isteamgameserver.h" -#include "steamworks_sdk_133b/isteamgameserverstats.h" -#include "steamworks_sdk_133b/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_133b -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_133b(const struct winLeaderboardEntry_t_133b *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_133b(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_133b *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_133b(const struct winSteamUGCDetails_t_133b *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_133b(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_133b *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_133x.cpp b/lsteamclient/struct_converters_133x.cpp deleted file mode 100644 index ebe48ada7..000000000 --- a/lsteamclient/struct_converters_133x.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_133x/steam_api.h" -#include "steamworks_sdk_133x/isteamgameserver.h" -#include "steamworks_sdk_133x/isteamgameserverstats.h" -#include "steamworks_sdk_133x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_133x -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_133x(const struct winLeaderboardEntry_t_133x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_133x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_133x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_133x(const struct winSteamUGCDetails_t_133x *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_133x(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_133x *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_134.cpp b/lsteamclient/struct_converters_134.cpp deleted file mode 100644 index a14910045..000000000 --- a/lsteamclient/struct_converters_134.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_134/steam_api.h" -#include "steamworks_sdk_134/isteamgameserver.h" -#include "steamworks_sdk_134/isteamgameserverstats.h" -#include "steamworks_sdk_134/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_134 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_134(const struct winLeaderboardEntry_t_134 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_134(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_134 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_134(const struct winSteamUGCDetails_t_134 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_134(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_134 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_135.cpp b/lsteamclient/struct_converters_135.cpp deleted file mode 100644 index 154ce0411..000000000 --- a/lsteamclient/struct_converters_135.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_135/steam_api.h" -#include "steamworks_sdk_135/isteamgameserver.h" -#include "steamworks_sdk_135/isteamgameserverstats.h" -#include "steamworks_sdk_135/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_135 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_135(const struct winLeaderboardEntry_t_135 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_135(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_135 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_135(const struct winSteamUGCDetails_t_135 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_135(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_135 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_135a.cpp b/lsteamclient/struct_converters_135a.cpp deleted file mode 100644 index 3a8e41faa..000000000 --- a/lsteamclient/struct_converters_135a.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_135a/steam_api.h" -#include "steamworks_sdk_135a/isteamgameserver.h" -#include "steamworks_sdk_135a/isteamgameserverstats.h" -#include "steamworks_sdk_135a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_135a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_135a(const struct winLeaderboardEntry_t_135a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_135a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_135a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_135a(const struct winSteamUGCDetails_t_135a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_135a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_135a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_136.cpp b/lsteamclient/struct_converters_136.cpp deleted file mode 100644 index b71e94501..000000000 --- a/lsteamclient/struct_converters_136.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_136/steam_api.h" -#include "steamworks_sdk_136/isteamgameserver.h" -#include "steamworks_sdk_136/isteamgameserverstats.h" -#include "steamworks_sdk_136/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_136 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_136(const struct winLeaderboardEntry_t_136 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_136(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_136 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_136(const struct winSteamUGCDetails_t_136 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_136(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_136 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_137.cpp b/lsteamclient/struct_converters_137.cpp deleted file mode 100644 index dd70524b5..000000000 --- a/lsteamclient/struct_converters_137.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_137/steam_api.h" -#include "steamworks_sdk_137/isteamgameserver.h" -#include "steamworks_sdk_137/isteamgameserverstats.h" -#include "steamworks_sdk_137/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_137 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_137(const struct winLeaderboardEntry_t_137 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_137(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_137 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_137(const struct winSteamUGCDetails_t_137 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_137(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_137 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_138.cpp b/lsteamclient/struct_converters_138.cpp deleted file mode 100644 index b060a55fa..000000000 --- a/lsteamclient/struct_converters_138.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_138/steam_api.h" -#include "steamworks_sdk_138/isteamgameserver.h" -#include "steamworks_sdk_138/isteamgameserverstats.h" -#include "steamworks_sdk_138/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_138 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_138(const struct winLeaderboardEntry_t_138 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_138(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_138 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_138(const struct winSteamUGCDetails_t_138 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_138(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_138 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_138a.cpp b/lsteamclient/struct_converters_138a.cpp deleted file mode 100644 index 3374d3234..000000000 --- a/lsteamclient/struct_converters_138a.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_138a/steam_api.h" -#include "steamworks_sdk_138a/isteamgameserver.h" -#include "steamworks_sdk_138a/isteamgameserverstats.h" -#include "steamworks_sdk_138a/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_138a -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_138a(const struct winLeaderboardEntry_t_138a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_138a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_138a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_138a(const struct winSteamUGCDetails_t_138a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_138a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_138a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_139.cpp b/lsteamclient/struct_converters_139.cpp deleted file mode 100644 index dc1c77f23..000000000 --- a/lsteamclient/struct_converters_139.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_139/steam_api.h" -#include "steamworks_sdk_139/isteamgameserver.h" -#include "steamworks_sdk_139/isteamgameserverstats.h" -#include "steamworks_sdk_139/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_139 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_139(const struct winLeaderboardEntry_t_139 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_139(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_139 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_139(const struct winSteamUGCDetails_t_139 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_139(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_139 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_140.cpp b/lsteamclient/struct_converters_140.cpp deleted file mode 100644 index d7d73d849..000000000 --- a/lsteamclient/struct_converters_140.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_140/steam_api.h" -#include "steamworks_sdk_140/isteamgameserver.h" -#include "steamworks_sdk_140/isteamgameserverstats.h" -#include "steamworks_sdk_140/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_140 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_140(const struct winLeaderboardEntry_t_140 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_140(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_140 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_140(const struct winSteamUGCDetails_t_140 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_140(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_140 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_141.cpp b/lsteamclient/struct_converters_141.cpp deleted file mode 100644 index 677e8f1d5..000000000 --- a/lsteamclient/struct_converters_141.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_141/steam_api.h" -#include "steamworks_sdk_141/isteamgameserver.h" -#include "steamworks_sdk_141/isteamgameserverstats.h" -#include "steamworks_sdk_141/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_141 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_141(const struct winLeaderboardEntry_t_141 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_141(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_141 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_141(const struct winSteamUGCDetails_t_141 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_141(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_141 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_142.cpp b/lsteamclient/struct_converters_142.cpp deleted file mode 100644 index a8a9540e8..000000000 --- a/lsteamclient/struct_converters_142.cpp +++ /dev/null @@ -1,93 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_142/steam_api.h" -#include "steamworks_sdk_142/isteamgameserver.h" -#include "steamworks_sdk_142/isteamgameserverstats.h" -#include "steamworks_sdk_142/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_142 -#include "struct_converters.h" -void win_to_lin_struct_LeaderboardEntry_t_142(const struct winLeaderboardEntry_t_142 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_142(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_142 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_142(const struct winSteamUGCDetails_t_142 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_142(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_142 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_143.cpp b/lsteamclient/struct_converters_143.cpp deleted file mode 100644 index ff25e9020..000000000 --- a/lsteamclient/struct_converters_143.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_143/steam_api.h" -#include "steamworks_sdk_143/isteamgameserver.h" -#include "steamworks_sdk_143/isteamgameserverstats.h" -#include "steamworks_sdk_143/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_143 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_143(const struct winSteamPartyBeaconLocation_t_143 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_143(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_143 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_143(const struct winLeaderboardEntry_t_143 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_143(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_143 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_143(const struct winSteamUGCDetails_t_143 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_143(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_143 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_143x.cpp b/lsteamclient/struct_converters_143x.cpp deleted file mode 100644 index b36166a73..000000000 --- a/lsteamclient/struct_converters_143x.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_143x/steam_api.h" -#include "steamworks_sdk_143x/isteamgameserver.h" -#include "steamworks_sdk_143x/isteamgameserverstats.h" -#include "steamworks_sdk_143x/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_143x -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_143x(const struct winSteamPartyBeaconLocation_t_143x *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_143x(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_143x *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_143x(const struct winLeaderboardEntry_t_143x *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_143x(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_143x *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_143x(const struct winSteamUGCDetails_t_143x *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_143x(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_143x *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_143y.cpp b/lsteamclient/struct_converters_143y.cpp deleted file mode 100644 index d75b01eff..000000000 --- a/lsteamclient/struct_converters_143y.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_143y/steam_api.h" -#include "steamworks_sdk_143y/isteamgameserver.h" -#include "steamworks_sdk_143y/isteamgameserverstats.h" -#include "steamworks_sdk_143y/isteamgamecoordinator.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_143y -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_143y(const struct winSteamPartyBeaconLocation_t_143y *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_143y(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_143y *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_143y(const struct winLeaderboardEntry_t_143y *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_143y(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_143y *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_143y(const struct winSteamUGCDetails_t_143y *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_143y(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_143y *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_144.cpp b/lsteamclient/struct_converters_144.cpp deleted file mode 100644 index 7df79e880..000000000 --- a/lsteamclient/struct_converters_144.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_144/steam_api.h" -#include "steamworks_sdk_144/isteamgameserver.h" -#include "steamworks_sdk_144/isteamnetworkingsockets.h" -#include "steamworks_sdk_144/isteamgameserverstats.h" -#include "steamworks_sdk_144/isteamgamecoordinator.h" -#include "steamworks_sdk_144/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_144 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_144(const struct winSteamPartyBeaconLocation_t_144 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_144(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_144 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_144(const struct winLeaderboardEntry_t_144 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_144(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_144 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_144(const struct winSteamUGCDetails_t_144 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_144(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_144 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_145.cpp b/lsteamclient/struct_converters_145.cpp deleted file mode 100644 index fb57d845d..000000000 --- a/lsteamclient/struct_converters_145.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_145/steam_api.h" -#include "steamworks_sdk_145/isteamgameserver.h" -#include "steamworks_sdk_145/isteamnetworkingsockets.h" -#include "steamworks_sdk_145/isteamgameserverstats.h" -#include "steamworks_sdk_145/isteamgamecoordinator.h" -#include "steamworks_sdk_145/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_145 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_145(const struct winSteamPartyBeaconLocation_t_145 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_145(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_145 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_145(const struct winLeaderboardEntry_t_145 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_145(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_145 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_145(const struct winSteamUGCDetails_t_145 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_145(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_145 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_146.cpp b/lsteamclient/struct_converters_146.cpp deleted file mode 100644 index df13dbfd3..000000000 --- a/lsteamclient/struct_converters_146.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_146/steam_api.h" -#include "steamworks_sdk_146/isteamgameserver.h" -#include "steamworks_sdk_146/isteamnetworkingsockets.h" -#include "steamworks_sdk_146/isteamgameserverstats.h" -#include "steamworks_sdk_146/isteamgamecoordinator.h" -#include "steamworks_sdk_146/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_146 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_146(const struct winSteamPartyBeaconLocation_t_146 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_146(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_146 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_146(const struct winLeaderboardEntry_t_146 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_146(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_146 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_146(const struct winSteamUGCDetails_t_146 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_146(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_146 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_147.cpp b/lsteamclient/struct_converters_147.cpp deleted file mode 100644 index 595d9e587..000000000 --- a/lsteamclient/struct_converters_147.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_147/steam_api.h" -#include "steamworks_sdk_147/isteamgameserver.h" -#include "steamworks_sdk_147/isteamnetworkingsockets.h" -#include "steamworks_sdk_147/isteamgameserverstats.h" -#include "steamworks_sdk_147/isteamgamecoordinator.h" -#include "steamworks_sdk_147/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_147 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_147(const struct winSteamPartyBeaconLocation_t_147 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_147(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_147 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_147(const struct winLeaderboardEntry_t_147 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_147(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_147 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_147(const struct winSteamUGCDetails_t_147 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_147(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_147 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_148a.cpp b/lsteamclient/struct_converters_148a.cpp deleted file mode 100644 index a88c1c75f..000000000 --- a/lsteamclient/struct_converters_148a.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_148a/steam_api.h" -#include "steamworks_sdk_148a/isteamgameserver.h" -#include "steamworks_sdk_148a/isteamnetworkingsockets.h" -#include "steamworks_sdk_148a/isteamgameserverstats.h" -#include "steamworks_sdk_148a/isteamgamecoordinator.h" -#include "steamworks_sdk_148a/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_148a -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_148a(const struct winSteamPartyBeaconLocation_t_148a *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_148a(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_148a *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_148a(const struct winLeaderboardEntry_t_148a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_148a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_148a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_148a(const struct winSteamUGCDetails_t_148a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_148a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_148a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_149.cpp b/lsteamclient/struct_converters_149.cpp deleted file mode 100644 index 82368b9a2..000000000 --- a/lsteamclient/struct_converters_149.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_149/steam_api.h" -#include "steamworks_sdk_149/isteamgameserver.h" -#include "steamworks_sdk_149/isteamnetworkingsockets.h" -#include "steamworks_sdk_149/isteamgameserverstats.h" -#include "steamworks_sdk_149/isteamgamecoordinator.h" -#include "steamworks_sdk_149/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_149 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_149(const struct winSteamPartyBeaconLocation_t_149 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_149(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_149 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_149(const struct winLeaderboardEntry_t_149 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_149(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_149 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_149(const struct winSteamUGCDetails_t_149 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_149(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_149 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_150.cpp b/lsteamclient/struct_converters_150.cpp deleted file mode 100644 index 26812d020..000000000 --- a/lsteamclient/struct_converters_150.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_150/steam_api.h" -#include "steamworks_sdk_150/isteamgameserver.h" -#include "steamworks_sdk_150/isteamnetworkingsockets.h" -#include "steamworks_sdk_150/isteamgameserverstats.h" -#include "steamworks_sdk_150/isteamgamecoordinator.h" -#include "steamworks_sdk_150/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_150 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_150(const struct winSteamPartyBeaconLocation_t_150 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_150(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_150 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_150(const struct winLeaderboardEntry_t_150 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_150(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_150 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_150(const struct winSteamUGCDetails_t_150 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_150(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_150 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_151.cpp b/lsteamclient/struct_converters_151.cpp deleted file mode 100644 index 18611115f..000000000 --- a/lsteamclient/struct_converters_151.cpp +++ /dev/null @@ -1,139 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_151/steam_api.h" -#include "steamworks_sdk_151/isteamgameserver.h" -#include "steamworks_sdk_151/isteamnetworkingsockets.h" -#include "steamworks_sdk_151/isteamgameserverstats.h" -#include "steamworks_sdk_151/isteamgamecoordinator.h" -#include "steamworks_sdk_151/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_151 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_151(const struct winSteamPartyBeaconLocation_t_151 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_151(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_151 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageAppSyncProgress_t_288 { - char m_rgchCurrentFile[260]; - AppId_t m_nAppID; - uint32 m_uBytesTransferredThisChunk; - double m_dAppPercentComplete; - bool m_bUploading; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageAppSyncProgress_t_288(const struct RemoteStorageAppSyncProgress_t *lin, struct winRemoteStorageAppSyncProgress_t_288 *win) -{ - memcpy(win->m_rgchCurrentFile, lin->m_rgchCurrentFile, sizeof(win->m_rgchCurrentFile)); - win->m_nAppID = lin->m_nAppID; - win->m_uBytesTransferredThisChunk = lin->m_uBytesTransferredThisChunk; - win->m_dAppPercentComplete = lin->m_dAppPercentComplete; - win->m_bUploading = lin->m_bUploading; -} - -void win_to_lin_struct_LeaderboardEntry_t_151(const struct winLeaderboardEntry_t_151 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_151(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_151 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_151(const struct winSteamUGCDetails_t_151 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_151(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_151 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_584 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamNetConnectionStatusChangedCallback_t_584(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_584 *win) -{ - win->m_hConn = lin->m_hConn; - win->m_info = lin->m_info; - win->m_eOldState = lin->m_eOldState; -} - - -} diff --git a/lsteamclient/struct_converters_152.cpp b/lsteamclient/struct_converters_152.cpp deleted file mode 100644 index 6fe24d7d0..000000000 --- a/lsteamclient/struct_converters_152.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_152/steam_api.h" -#include "steamworks_sdk_152/isteamgameserver.h" -#include "steamworks_sdk_152/isteamnetworkingsockets.h" -#include "steamworks_sdk_152/isteamgameserverstats.h" -#include "steamworks_sdk_152/isteamgamecoordinator.h" -#include "steamworks_sdk_152/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_152 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_152(const struct winSteamPartyBeaconLocation_t_152 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_152(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_152 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_152(const struct winLeaderboardEntry_t_152 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_152(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_152 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_152(const struct winSteamUGCDetails_t_152 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_152(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_152 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_153a.cpp b/lsteamclient/struct_converters_153a.cpp deleted file mode 100644 index d8465af56..000000000 --- a/lsteamclient/struct_converters_153a.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_153a/steam_api.h" -#include "steamworks_sdk_153a/isteamgameserver.h" -#include "steamworks_sdk_153a/isteamnetworkingsockets.h" -#include "steamworks_sdk_153a/isteamgameserverstats.h" -#include "steamworks_sdk_153a/isteamgamecoordinator.h" -#include "steamworks_sdk_153a/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_153a -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_153a(const struct winSteamPartyBeaconLocation_t_153a *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_153a(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_153a *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_153a(const struct winLeaderboardEntry_t_153a *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_153a(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_153a *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_153a(const struct winSteamUGCDetails_t_153a *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_153a(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_153a *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_154.cpp b/lsteamclient/struct_converters_154.cpp deleted file mode 100644 index f8b16f99d..000000000 --- a/lsteamclient/struct_converters_154.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_154/steam_api.h" -#include "steamworks_sdk_154/isteamgameserver.h" -#include "steamworks_sdk_154/isteamnetworkingsockets.h" -#include "steamworks_sdk_154/isteamgameserverstats.h" -#include "steamworks_sdk_154/isteamgamecoordinator.h" -#include "steamworks_sdk_154/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_154 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_154(const struct winSteamPartyBeaconLocation_t_154 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_154(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_154 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_154(const struct winLeaderboardEntry_t_154 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_154(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_154 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_154(const struct winSteamUGCDetails_t_154 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_154(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_154 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_155.cpp b/lsteamclient/struct_converters_155.cpp deleted file mode 100644 index 3ba37e0fb..000000000 --- a/lsteamclient/struct_converters_155.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_155/steam_api.h" -#include "steamworks_sdk_155/isteamgameserver.h" -#include "steamworks_sdk_155/isteamnetworkingsockets.h" -#include "steamworks_sdk_155/isteamgameserverstats.h" -#include "steamworks_sdk_155/isteamgamecoordinator.h" -#include "steamworks_sdk_155/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_155 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_155(const struct winSteamPartyBeaconLocation_t_155 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_155(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_155 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_155(const struct winLeaderboardEntry_t_155 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_155(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_155 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_155(const struct winSteamUGCDetails_t_155 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_155(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_155 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_156.cpp b/lsteamclient/struct_converters_156.cpp deleted file mode 100644 index 5eaca833a..000000000 --- a/lsteamclient/struct_converters_156.cpp +++ /dev/null @@ -1,107 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_156/steam_api.h" -#include "steamworks_sdk_156/isteamgameserver.h" -#include "steamworks_sdk_156/isteamnetworkingsockets.h" -#include "steamworks_sdk_156/isteamgameserverstats.h" -#include "steamworks_sdk_156/isteamgamecoordinator.h" -#include "steamworks_sdk_156/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_156 -#include "struct_converters.h" -void win_to_lin_struct_SteamPartyBeaconLocation_t_156(const struct winSteamPartyBeaconLocation_t_156 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_156(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_156 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -void win_to_lin_struct_LeaderboardEntry_t_156(const struct winLeaderboardEntry_t_156 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_156(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_156 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -void win_to_lin_struct_SteamUGCDetails_t_156(const struct winSteamUGCDetails_t_156 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_156(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_156 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - - -} diff --git a/lsteamclient/struct_converters_157.cpp b/lsteamclient/struct_converters_157.cpp deleted file mode 100644 index c8d3da484..000000000 --- a/lsteamclient/struct_converters_157.cpp +++ /dev/null @@ -1,1445 +0,0 @@ -#include "steam_defs.h" -#pragma push_macro("__cdecl") -#undef __cdecl -#define __cdecl -#include "steamworks_sdk_157/steam_api.h" -#include "steamworks_sdk_157/isteamgameserver.h" -#include "steamworks_sdk_157/isteamnetworkingsockets.h" -#include "steamworks_sdk_157/isteamgameserverstats.h" -#include "steamworks_sdk_157/isteamgamecoordinator.h" -#include "steamworks_sdk_157/steamnetworkingtypes.h" -#pragma pop_macro("__cdecl") -#include "steamclient_private.h" -extern "C" { -#define SDKVER_157 -#include "struct_converters.h" -#pragma pack( push, 8 ) -struct winMicroTxnAuthorizationResponse_t_24 { - uint32 m_unAppID; - uint64 m_ulOrderID; - uint8 m_bAuthorized; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_MicroTxnAuthorizationResponse_t_24(const struct MicroTxnAuthorizationResponse_t *lin, struct winMicroTxnAuthorizationResponse_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_bAuthorized = lin->m_bAuthorized; -} - -void win_to_lin_struct_SteamPartyBeaconLocation_t_157(const struct winSteamPartyBeaconLocation_t_157 *win, struct SteamPartyBeaconLocation_t *lin) -{ - lin->m_eType = win->m_eType; - lin->m_ulLocationID = win->m_ulLocationID; -} - -void lin_to_win_struct_SteamPartyBeaconLocation_t_157(const struct SteamPartyBeaconLocation_t *lin, struct winSteamPartyBeaconLocation_t_157 *win) -{ - win->m_eType = lin->m_eType; - win->m_ulLocationID = lin->m_ulLocationID; -} - -#pragma pack( push, 8 ) -struct winLobbyCreated_t_16 { - EResult m_eResult; - uint64 m_ulSteamIDLobby; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LobbyCreated_t_16(const struct LobbyCreated_t *lin, struct winLobbyCreated_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulSteamIDLobby = lin->m_ulSteamIDLobby; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameProgressCallback_t_16 { - EResult m_eResult; - uint64 m_ullSearchID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameProgressCallback_t_16(const struct RequestPlayersForGameProgressCallback_t *lin, struct winRequestPlayersForGameProgressCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameResultCallback_t_64 { - EResult m_eResult; - uint64 m_ullSearchID; - CSteamID m_SteamIDPlayerFound __attribute__((aligned(1))); - CSteamID m_SteamIDLobby __attribute__((aligned(1))); - RequestPlayersForGameResultCallback_t::PlayerAcceptState_t m_ePlayerAcceptState; - int32 m_nPlayerIndex; - int32 m_nTotalPlayersFound; - int32 m_nTotalPlayersAcceptedGame; - int32 m_nSuggestedTeamIndex; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameResultCallback_t_64(const struct RequestPlayersForGameResultCallback_t *lin, struct winRequestPlayersForGameResultCallback_t_64 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_SteamIDPlayerFound = lin->m_SteamIDPlayerFound; - win->m_SteamIDLobby = lin->m_SteamIDLobby; - win->m_ePlayerAcceptState = lin->m_ePlayerAcceptState; - win->m_nPlayerIndex = lin->m_nPlayerIndex; - win->m_nTotalPlayersFound = lin->m_nTotalPlayersFound; - win->m_nTotalPlayersAcceptedGame = lin->m_nTotalPlayersAcceptedGame; - win->m_nSuggestedTeamIndex = lin->m_nSuggestedTeamIndex; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winRequestPlayersForGameFinalResultCallback_t_24 { - EResult m_eResult; - uint64 m_ullSearchID; - uint64 m_ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RequestPlayersForGameFinalResultCallback_t_24(const struct RequestPlayersForGameFinalResultCallback_t *lin, struct winRequestPlayersForGameFinalResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ullSearchID = lin->m_ullSearchID; - win->m_ullUniqueGameID = lin->m_ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winSubmitPlayerResultResultCallback_t_24 { - EResult m_eResult; - uint64 ullUniqueGameID; - CSteamID steamIDPlayer __attribute__((aligned(1))); -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SubmitPlayerResultResultCallback_t_24(const struct SubmitPlayerResultResultCallback_t *lin, struct winSubmitPlayerResultResultCallback_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; - win->steamIDPlayer = lin->steamIDPlayer; -} - -#pragma pack( push, 8 ) -struct winEndGameResultCallback_t_16 { - EResult m_eResult; - uint64 ullUniqueGameID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_EndGameResultCallback_t_16(const struct EndGameResultCallback_t *lin, struct winEndGameResultCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->ullUniqueGameID = lin->ullUniqueGameID; -} - -#pragma pack( push, 8 ) -struct winJoinPartyCallback_t_280 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; - CSteamID m_SteamIDBeaconOwner __attribute__((aligned(1))); - char m_rgchConnectString[256]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_JoinPartyCallback_t_280(const struct JoinPartyCallback_t *lin, struct winJoinPartyCallback_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; - win->m_SteamIDBeaconOwner = lin->m_SteamIDBeaconOwner; - memcpy(win->m_rgchConnectString, lin->m_rgchConnectString, sizeof(win->m_rgchConnectString)); -} - -#pragma pack( push, 8 ) -struct winCreateBeaconCallback_t_16 { - EResult m_eResult; - PartyBeaconID_t m_ulBeaconID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateBeaconCallback_t_16(const struct CreateBeaconCallback_t *lin, struct winCreateBeaconCallback_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulBeaconID = lin->m_ulBeaconID; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageFileShareResult_t_280 { - EResult m_eResult; - UGCHandle_t m_hFile; - char m_rgchFilename[260]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageFileShareResult_t_280(const struct RemoteStorageFileShareResult_t *lin, struct winRemoteStorageFileShareResult_t_280 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - memcpy(win->m_rgchFilename, lin->m_rgchFilename, sizeof(win->m_rgchFilename)); -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishFileResult_t_24(const struct RemoteStoragePublishFileResult_t *lin, struct winRemoteStoragePublishFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDeletePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDeletePublishedFileResult_t_16(const struct RemoteStorageDeletePublishedFileResult_t *lin, struct winRemoteStorageDeletePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserPublishedFilesResult_t_416(const struct RemoteStorageEnumerateUserPublishedFilesResult_t *lin, struct winRemoteStorageEnumerateUserPublishedFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSubscribePublishedFileResult_t_16(const struct RemoteStorageSubscribePublishedFileResult_t *lin, struct winRemoteStorageSubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - uint32 m_rgRTimeSubscribed[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSubscribedFilesResult_t_616(const struct RemoteStorageEnumerateUserSubscribedFilesResult_t *lin, struct winRemoteStorageEnumerateUserSubscribedFilesResult_t_616 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgRTimeSubscribed, lin->m_rgRTimeSubscribed, sizeof(win->m_rgRTimeSubscribed)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUnsubscribePublishedFileResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUnsubscribePublishedFileResult_t_16(const struct RemoteStorageUnsubscribePublishedFileResult_t *lin, struct winRemoteStorageUnsubscribePublishedFileResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdatePublishedFileResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdatePublishedFileResult_t_24(const struct RemoteStorageUpdatePublishedFileResult_t *lin, struct winRemoteStorageUpdatePublishedFileResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageDownloadUGCResult_t_296 { - EResult m_eResult; - UGCHandle_t m_hFile; - AppId_t m_nAppID; - int32 m_nSizeInBytes; - char m_pchFileName[260]; - uint64 m_ulSteamIDOwner; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageDownloadUGCResult_t_296(const struct RemoteStorageDownloadUGCResult_t *lin, struct winRemoteStorageDownloadUGCResult_t_296 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hFile = lin->m_hFile; - win->m_nAppID = lin->m_nAppID; - win->m_nSizeInBytes = lin->m_nSizeInBytes; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nCreatorAppID; - AppId_t m_nConsumerAppID; - char m_rgchTitle[129]; - char m_rgchDescription[8000]; - UGCHandle_t m_hFile; - UGCHandle_t m_hPreviewFile; - uint64 m_ulSteamIDOwner; - uint32 m_rtimeCreated; - uint32 m_rtimeUpdated; - ERemoteStoragePublishedFileVisibility m_eVisibility; - bool m_bBanned; - char m_rgchTags[1025]; - bool m_bTagsTruncated; - char m_pchFileName[260]; - int32 m_nFileSize; - int32 m_nPreviewFileSize; - char m_rgchURL[256]; - EWorkshopFileType m_eFileType; - bool m_bAcceptedForUse; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedFileDetailsResult_t_9760(const struct RemoteStorageGetPublishedFileDetailsResult_t *lin, struct winRemoteStorageGetPublishedFileDetailsResult_t_9760 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_eFileType = lin->m_eFileType; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; - float m_rgScore[50]; - AppId_t m_nAppId; - uint32 m_unStartIndex; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateWorkshopFilesResult_t_624(const struct RemoteStorageEnumerateWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateWorkshopFilesResult_t_624 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); - memcpy(win->m_rgScore, lin->m_rgScore, sizeof(win->m_rgScore)); - win->m_nAppId = lin->m_nAppId; - win->m_unStartIndex = lin->m_unStartIndex; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 { - EResult m_eResult; - PublishedFileId_t m_unPublishedFileId; - int32 m_nVotesFor; - int32 m_nVotesAgainst; - int32 m_nReports; - float m_fScore; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageGetPublishedItemVoteDetailsResult_t_32(const struct RemoteStorageGetPublishedItemVoteDetailsResult_t *lin, struct winRemoteStorageGetPublishedItemVoteDetailsResult_t_32 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unPublishedFileId = lin->m_unPublishedFileId; - win->m_nVotesFor = lin->m_nVotesFor; - win->m_nVotesAgainst = lin->m_nVotesAgainst; - win->m_nReports = lin->m_nReports; - win->m_fScore = lin->m_fScore; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUpdateUserPublishedItemVoteResult_t_16(const struct RemoteStorageUpdateUserPublishedItemVoteResult_t *lin, struct winRemoteStorageUpdateUserPublishedItemVoteResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageUserVoteDetails_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopVote m_eVote; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageUserVoteDetails_t_24(const struct RemoteStorageUserVoteDetails_t *lin, struct winRemoteStorageUserVoteDetails_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eVote = lin->m_eVote; -} - -#pragma pack( push, 8 ) -struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 { - EResult m_eResult; - int32 m_nResultsReturned; - int32 m_nTotalResultCount; - PublishedFileId_t m_rgPublishedFileId[50]; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416(const struct RemoteStorageEnumerateUserSharedWorkshopFilesResult_t *lin, struct winRemoteStorageEnumerateUserSharedWorkshopFilesResult_t_416 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nResultsReturned = lin->m_nResultsReturned; - win->m_nTotalResultCount = lin->m_nTotalResultCount; - memcpy(win->m_rgPublishedFileId, lin->m_rgPublishedFileId, sizeof(win->m_rgPublishedFileId)); -} - -#pragma pack( push, 8 ) -struct winRemoteStorageSetUserPublishedFileActionResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - EWorkshopFileAction m_eAction; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStorageSetUserPublishedFileActionResult_t_24(const struct RemoteStorageSetUserPublishedFileActionResult_t *lin, struct winRemoteStorageSetUserPublishedFileActionResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eAction = lin->m_eAction; -} - -#pragma pack( push, 8 ) -struct winRemoteStoragePublishedFileUpdated_t_24 { - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; - uint64 m_ulUnused; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoteStoragePublishedFileUpdated_t_24(const struct RemoteStoragePublishedFileUpdated_t *lin, struct winRemoteStoragePublishedFileUpdated_t_24 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; - win->m_ulUnused = lin->m_ulUnused; -} - -void win_to_lin_struct_LeaderboardEntry_t_157(const struct winLeaderboardEntry_t_157 *win, struct LeaderboardEntry_t *lin) -{ - lin->m_steamIDUser = win->m_steamIDUser; - lin->m_nGlobalRank = win->m_nGlobalRank; - lin->m_nScore = win->m_nScore; - lin->m_cDetails = win->m_cDetails; - lin->m_hUGC = win->m_hUGC; -} - -void lin_to_win_struct_LeaderboardEntry_t_157(const struct LeaderboardEntry_t *lin, struct winLeaderboardEntry_t_157 *win) -{ - win->m_steamIDUser = lin->m_steamIDUser; - win->m_nGlobalRank = lin->m_nGlobalRank; - win->m_nScore = lin->m_nScore; - win->m_cDetails = lin->m_cDetails; - win->m_hUGC = lin->m_hUGC; -} - -#pragma pack( push, 8 ) -struct winLeaderboardScoreUploaded_t_32 { - uint8 m_bSuccess; - SteamLeaderboard_t m_hSteamLeaderboard; - int32 m_nScore; - uint8 m_bScoreChanged; - int m_nGlobalRankNew; - int m_nGlobalRankPrevious; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardScoreUploaded_t_32(const struct LeaderboardScoreUploaded_t *lin, struct winLeaderboardScoreUploaded_t_32 *win) -{ - win->m_bSuccess = lin->m_bSuccess; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; - win->m_nScore = lin->m_nScore; - win->m_bScoreChanged = lin->m_bScoreChanged; - win->m_nGlobalRankNew = lin->m_nGlobalRankNew; - win->m_nGlobalRankPrevious = lin->m_nGlobalRankPrevious; -} - -#pragma pack( push, 8 ) -struct winLeaderboardUGCSet_t_16 { - EResult m_eResult; - SteamLeaderboard_t m_hSteamLeaderboard; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_LeaderboardUGCSet_t_16(const struct LeaderboardUGCSet_t *lin, struct winLeaderboardUGCSet_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_hSteamLeaderboard = lin->m_hSteamLeaderboard; -} - -#pragma pack( push, 8 ) -struct winPS3TrophiesInstalled_t_24 { - uint64 m_nGameID; - EResult m_eResult; - uint64 m_ulRequiredDiskSpace; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_PS3TrophiesInstalled_t_24(const struct PS3TrophiesInstalled_t *lin, struct winPS3TrophiesInstalled_t_24 *win) -{ - win->m_nGameID = lin->m_nGameID; - win->m_eResult = lin->m_eResult; - win->m_ulRequiredDiskSpace = lin->m_ulRequiredDiskSpace; -} - -#pragma pack( push, 8 ) -struct winFileDetailsResult_t_40 { - EResult m_eResult; - uint64 m_ulFileSize; - uint8 m_FileSHA[20]; - uint32 m_unFlags; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_FileDetailsResult_t_40(const struct FileDetailsResult_t *lin, struct winFileDetailsResult_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_ulFileSize = lin->m_ulFileSize; - memcpy(win->m_FileSHA, lin->m_FileSHA, sizeof(win->m_FileSHA)); - win->m_unFlags = lin->m_unFlags; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestCompleted_t_32 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - bool m_bRequestSuccessful; - EHTTPStatusCode m_eStatusCode; - uint32 m_unBodySize; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestCompleted_t_32(const struct HTTPRequestCompleted_t *lin, struct winHTTPRequestCompleted_t_32 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_bRequestSuccessful = lin->m_bRequestSuccessful; - win->m_eStatusCode = lin->m_eStatusCode; - win->m_unBodySize = lin->m_unBodySize; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestHeadersReceived_t_16 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestHeadersReceived_t_16(const struct HTTPRequestHeadersReceived_t *lin, struct winHTTPRequestHeadersReceived_t_16 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; -} - -#pragma pack( push, 8 ) -struct winHTTPRequestDataReceived_t_24 { - HTTPRequestHandle m_hRequest; - uint64 m_ulContextValue; - uint32 m_cOffset; - uint32 m_cBytesReceived; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_HTTPRequestDataReceived_t_24(const struct HTTPRequestDataReceived_t *lin, struct winHTTPRequestDataReceived_t_24 *win) -{ - win->m_hRequest = lin->m_hRequest; - win->m_ulContextValue = lin->m_ulContextValue; - win->m_cOffset = lin->m_cOffset; - win->m_cBytesReceived = lin->m_cBytesReceived; -} - -#pragma pack( push, 8 ) -struct winSteamInputConfigurationLoaded_t_40 { - AppId_t m_unAppID; - InputHandle_t m_ulDeviceHandle; - CSteamID m_ulMappingCreator __attribute__((aligned(1))); - uint32 m_unMajorRevision; - uint32 m_unMinorRevision; - bool m_bUsesSteamInputAPI; - bool m_bUsesGamepadAPI; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInputConfigurationLoaded_t_40(const struct SteamInputConfigurationLoaded_t *lin, struct winSteamInputConfigurationLoaded_t_40 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulDeviceHandle = lin->m_ulDeviceHandle; - win->m_ulMappingCreator = lin->m_ulMappingCreator; - win->m_unMajorRevision = lin->m_unMajorRevision; - win->m_unMinorRevision = lin->m_unMinorRevision; - win->m_bUsesSteamInputAPI = lin->m_bUsesSteamInputAPI; - win->m_bUsesGamepadAPI = lin->m_bUsesGamepadAPI; -} - -#pragma pack( push, 8 ) -struct winSteamInputGamepadSlotChange_t_32 { - AppId_t m_unAppID; - InputHandle_t m_ulDeviceHandle; - ESteamInputType m_eDeviceType; - int m_nOldGamepadSlot; - int m_nNewGamepadSlot; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInputGamepadSlotChange_t_32(const struct SteamInputGamepadSlotChange_t *lin, struct winSteamInputGamepadSlotChange_t_32 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_ulDeviceHandle = lin->m_ulDeviceHandle; - win->m_eDeviceType = lin->m_eDeviceType; - win->m_nOldGamepadSlot = lin->m_nOldGamepadSlot; - win->m_nNewGamepadSlot = lin->m_nNewGamepadSlot; -} - -void win_to_lin_struct_SteamUGCDetails_t_157(const struct winSteamUGCDetails_t_157 *win, struct SteamUGCDetails_t *lin) -{ - lin->m_nPublishedFileId = win->m_nPublishedFileId; - lin->m_eResult = win->m_eResult; - lin->m_eFileType = win->m_eFileType; - lin->m_nCreatorAppID = win->m_nCreatorAppID; - lin->m_nConsumerAppID = win->m_nConsumerAppID; - memcpy(lin->m_rgchTitle, win->m_rgchTitle, sizeof(lin->m_rgchTitle)); - memcpy(lin->m_rgchDescription, win->m_rgchDescription, sizeof(lin->m_rgchDescription)); - lin->m_ulSteamIDOwner = win->m_ulSteamIDOwner; - lin->m_rtimeCreated = win->m_rtimeCreated; - lin->m_rtimeUpdated = win->m_rtimeUpdated; - lin->m_rtimeAddedToUserList = win->m_rtimeAddedToUserList; - lin->m_eVisibility = win->m_eVisibility; - lin->m_bBanned = win->m_bBanned; - lin->m_bAcceptedForUse = win->m_bAcceptedForUse; - lin->m_bTagsTruncated = win->m_bTagsTruncated; - memcpy(lin->m_rgchTags, win->m_rgchTags, sizeof(lin->m_rgchTags)); - lin->m_hFile = win->m_hFile; - lin->m_hPreviewFile = win->m_hPreviewFile; - memcpy(lin->m_pchFileName, win->m_pchFileName, sizeof(lin->m_pchFileName)); - lin->m_nFileSize = win->m_nFileSize; - lin->m_nPreviewFileSize = win->m_nPreviewFileSize; - memcpy(lin->m_rgchURL, win->m_rgchURL, sizeof(lin->m_rgchURL)); - lin->m_unVotesUp = win->m_unVotesUp; - lin->m_unVotesDown = win->m_unVotesDown; - lin->m_flScore = win->m_flScore; - lin->m_unNumChildren = win->m_unNumChildren; -} - -void lin_to_win_struct_SteamUGCDetails_t_157(const struct SteamUGCDetails_t *lin, struct winSteamUGCDetails_t_157 *win) -{ - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; - win->m_eFileType = lin->m_eFileType; - win->m_nCreatorAppID = lin->m_nCreatorAppID; - win->m_nConsumerAppID = lin->m_nConsumerAppID; - memcpy(win->m_rgchTitle, lin->m_rgchTitle, sizeof(win->m_rgchTitle)); - memcpy(win->m_rgchDescription, lin->m_rgchDescription, sizeof(win->m_rgchDescription)); - win->m_ulSteamIDOwner = lin->m_ulSteamIDOwner; - win->m_rtimeCreated = lin->m_rtimeCreated; - win->m_rtimeUpdated = lin->m_rtimeUpdated; - win->m_rtimeAddedToUserList = lin->m_rtimeAddedToUserList; - win->m_eVisibility = lin->m_eVisibility; - win->m_bBanned = lin->m_bBanned; - win->m_bAcceptedForUse = lin->m_bAcceptedForUse; - win->m_bTagsTruncated = lin->m_bTagsTruncated; - memcpy(win->m_rgchTags, lin->m_rgchTags, sizeof(win->m_rgchTags)); - win->m_hFile = lin->m_hFile; - win->m_hPreviewFile = lin->m_hPreviewFile; - memcpy(win->m_pchFileName, lin->m_pchFileName, sizeof(win->m_pchFileName)); - win->m_nFileSize = lin->m_nFileSize; - win->m_nPreviewFileSize = lin->m_nPreviewFileSize; - memcpy(win->m_rgchURL, lin->m_rgchURL, sizeof(win->m_rgchURL)); - win->m_unVotesUp = lin->m_unVotesUp; - win->m_unVotesDown = lin->m_unVotesDown; - win->m_flScore = lin->m_flScore; - win->m_unNumChildren = lin->m_unNumChildren; -} - -#pragma pack( push, 8 ) -struct winSteamUGCRequestUGCDetailsResult_t_9784 { - winSteamUGCDetails_t_157 m_details; - bool m_bCachedData; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamUGCRequestUGCDetailsResult_t_9784(const struct SteamUGCRequestUGCDetailsResult_t *lin, struct winSteamUGCRequestUGCDetailsResult_t_9784 *win) -{ - lin_to_win_struct_SteamUGCDetails_t_157(&lin->m_details, &win->m_details); - win->m_bCachedData = lin->m_bCachedData; -} - -#pragma pack( push, 8 ) -struct winCreateItemResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - bool m_bUserNeedsToAcceptWorkshopLegalAgreement; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_CreateItemResult_t_24(const struct CreateItemResult_t *lin, struct winCreateItemResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_bUserNeedsToAcceptWorkshopLegalAgreement = lin->m_bUserNeedsToAcceptWorkshopLegalAgreement; -} - -#pragma pack( push, 8 ) -struct winItemInstalled_t_16 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_ItemInstalled_t_16(const struct ItemInstalled_t *lin, struct winItemInstalled_t_16 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winDownloadItemResult_t_24 { - AppId_t m_unAppID; - PublishedFileId_t m_nPublishedFileId; - EResult m_eResult; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DownloadItemResult_t_24(const struct DownloadItemResult_t *lin, struct winDownloadItemResult_t_24 *win) -{ - win->m_unAppID = lin->m_unAppID; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_eResult = lin->m_eResult; -} - -#pragma pack( push, 8 ) -struct winAddUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddUGCDependencyResult_t_24(const struct AddUGCDependencyResult_t *lin, struct winAddUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winRemoveUGCDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - PublishedFileId_t m_nChildPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveUGCDependencyResult_t_24(const struct RemoveUGCDependencyResult_t *lin, struct winRemoveUGCDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nChildPublishedFileId = lin->m_nChildPublishedFileId; -} - -#pragma pack( push, 8 ) -struct winAddAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_AddAppDependencyResult_t_24(const struct AddAppDependencyResult_t *lin, struct winAddAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winRemoveAppDependencyResult_t_24 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_nAppID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_RemoveAppDependencyResult_t_24(const struct RemoveAppDependencyResult_t *lin, struct winRemoveAppDependencyResult_t_24 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - win->m_nAppID = lin->m_nAppID; -} - -#pragma pack( push, 8 ) -struct winGetAppDependenciesResult_t_152 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; - AppId_t m_rgAppIDs[32]; - uint32 m_nNumAppDependencies; - uint32 m_nTotalNumAppDependencies; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GetAppDependenciesResult_t_152(const struct GetAppDependenciesResult_t *lin, struct winGetAppDependenciesResult_t_152 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; - memcpy(win->m_rgAppIDs, lin->m_rgAppIDs, sizeof(win->m_rgAppIDs)); - win->m_nNumAppDependencies = lin->m_nNumAppDependencies; - win->m_nTotalNumAppDependencies = lin->m_nTotalNumAppDependencies; -} - -#pragma pack( push, 8 ) -struct winDeleteItemResult_t_16 { - EResult m_eResult; - PublishedFileId_t m_nPublishedFileId; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_DeleteItemResult_t_16(const struct DeleteItemResult_t *lin, struct winDeleteItemResult_t_16 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_nPublishedFileId = lin->m_nPublishedFileId; -} - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NeedsPaint_t_56 { - HHTMLBrowser unBrowserHandle; - const char * pBGRA; - uint32 unWide; - uint32 unTall; - uint32 unUpdateX; - uint32 unUpdateY; - uint32 unUpdateWide; - uint32 unUpdateTall; - uint32 unScrollX; - uint32 unScrollY; - float flPageScale; - uint32 unPageSerial; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NeedsPaint_t_56(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_56 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -void cb_HTML_NeedsPaint_t_48(const struct HTML_NeedsPaint_t *lin, struct winHTML_NeedsPaint_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pBGRA = lin->pBGRA; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unUpdateX = lin->unUpdateX; - win->unUpdateY = lin->unUpdateY; - win->unUpdateWide = lin->unUpdateWide; - win->unUpdateTall = lin->unUpdateTall; - win->unScrollX = lin->unScrollX; - win->unScrollY = lin->unScrollY; - win->flPageScale = lin->flPageScale; - win->unPageSerial = lin->unPageSerial; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_20 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StartRequest_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchTarget; - const char * pchPostData; - bool bIsRedirect; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StartRequest_t_40(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -void cb_HTML_StartRequest_t_20(const struct HTML_StartRequest_t *lin, struct winHTML_StartRequest_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchTarget = lin->pchTarget; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_URLChanged_t_48 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPostData; - bool bIsRedirect; - const char * pchPageTitle; - bool bNewNavigation; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_URLChanged_t_48(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_48 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -void cb_HTML_URLChanged_t_24(const struct HTML_URLChanged_t *lin, struct winHTML_URLChanged_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPostData = lin->pchPostData; - win->bIsRedirect = lin->bIsRedirect; - win->pchPageTitle = lin->pchPageTitle; - win->bNewNavigation = lin->bNewNavigation; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FinishedRequest_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - const char * pchPageTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FinishedRequest_t_24(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_FinishedRequest_t_12(const struct HTML_FinishedRequest_t *lin, struct winHTML_FinishedRequest_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->pchPageTitle = lin->pchPageTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_OpenLinkInNewTab_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_OpenLinkInNewTab_t_16(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_OpenLinkInNewTab_t_8(const struct HTML_OpenLinkInNewTab_t *lin, struct winHTML_OpenLinkInNewTab_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ChangedTitle_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ChangedTitle_t_16(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -void cb_HTML_ChangedTitle_t_8(const struct HTML_ChangedTitle_t *lin, struct winHTML_ChangedTitle_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_20 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_LinkAtPosition_t_32 { - HHTMLBrowser unBrowserHandle; - uint32 x; - uint32 y; - const char * pchURL; - bool bInput; - bool bLiveLink; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_LinkAtPosition_t_32(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_32 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -void cb_HTML_LinkAtPosition_t_20(const struct HTML_LinkAtPosition_t *lin, struct winHTML_LinkAtPosition_t_20 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->x = lin->x; - win->y = lin->y; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->bInput = lin->bInput; - win->bLiveLink = lin->bLiveLink; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSAlert_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSAlert_t_16(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSAlert_t_8(const struct HTML_JSAlert_t *lin, struct winHTML_JSAlert_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_JSConfirm_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMessage; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_JSConfirm_t_16(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -void cb_HTML_JSConfirm_t_8(const struct HTML_JSConfirm_t *lin, struct winHTML_JSConfirm_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMessage = lin->pchMessage; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_12 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_FileOpenDialog_t_24 { - HHTMLBrowser unBrowserHandle; - const char * pchTitle; - const char * pchInitialFile; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_FileOpenDialog_t_24(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_24 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -void cb_HTML_FileOpenDialog_t_12(const struct HTML_FileOpenDialog_t *lin, struct winHTML_FileOpenDialog_t_12 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchTitle = lin->pchTitle; - steamclient_unix_path_to_dos_path(1, lin->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); - win->pchInitialFile = g_tmppath; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_28 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_NewWindow_t_40 { - HHTMLBrowser unBrowserHandle; - const char * pchURL; - uint32 unX; - uint32 unY; - uint32 unWide; - uint32 unTall; - HHTMLBrowser unNewWindow_BrowserHandle_IGNORE; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_NewWindow_t_40(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_40 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -void cb_HTML_NewWindow_t_28(const struct HTML_NewWindow_t *lin, struct winHTML_NewWindow_t_28 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - steamclient_unix_path_to_dos_path(1, lin->pchURL, g_tmppath, sizeof(g_tmppath), 1); - win->pchURL = g_tmppath; - win->unX = lin->unX; - win->unY = lin->unY; - win->unWide = lin->unWide; - win->unTall = lin->unTall; - win->unNewWindow_BrowserHandle_IGNORE = lin->unNewWindow_BrowserHandle_IGNORE; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_StatusText_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_StatusText_t_16(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_StatusText_t_8(const struct HTML_StatusText_t *lin, struct winHTML_StatusText_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_ShowToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_ShowToolTip_t_16(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_ShowToolTip_t_8(const struct HTML_ShowToolTip_t *lin, struct winHTML_ShowToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_8 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -#pragma pack( push, 8 ) -struct winHTML_UpdateToolTip_t_16 { - HHTMLBrowser unBrowserHandle; - const char * pchMsg; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -#endif -#ifdef __x86_64__ -void cb_HTML_UpdateToolTip_t_16(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_16 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#ifdef __i386__ -void cb_HTML_UpdateToolTip_t_8(const struct HTML_UpdateToolTip_t *lin, struct winHTML_UpdateToolTip_t_8 *win) -{ - win->unBrowserHandle = lin->unBrowserHandle; - win->pchMsg = lin->pchMsg; -} -#endif - -#pragma pack( push, 8 ) -struct winSteamInventoryStartPurchaseResult_t_24 { - EResult m_result; - uint64 m_ulOrderID; - uint64 m_ulTransID; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamInventoryStartPurchaseResult_t_24(const struct SteamInventoryStartPurchaseResult_t *lin, struct winSteamInventoryStartPurchaseResult_t_24 *win) -{ - win->m_result = lin->m_result; - win->m_ulOrderID = lin->m_ulOrderID; - win->m_ulTransID = lin->m_ulTransID; -} - -#pragma pack( push, 8 ) -struct winSteamNetConnectionStatusChangedCallback_t_712 { - HSteamNetConnection m_hConn; - SteamNetConnectionInfo_t m_info __attribute__((aligned(8))); - ESteamNetworkingConnectionState m_eOldState; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_SteamNetConnectionStatusChangedCallback_t_712(const struct SteamNetConnectionStatusChangedCallback_t *lin, struct winSteamNetConnectionStatusChangedCallback_t_712 *win) -{ - win->m_hConn = lin->m_hConn; - win->m_info = lin->m_info; - win->m_eOldState = lin->m_eOldState; -} - -#pragma pack( push, 8 ) -struct winGSReputation_t_40 { - EResult m_eResult; - uint32 m_unReputationScore; - bool m_bBanned; - uint32 m_unBannedIP; - uint16 m_usBannedPort; - uint64 m_ulBannedGameID; - uint32 m_unBanExpires; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) -void cb_GSReputation_t_40(const struct GSReputation_t *lin, struct winGSReputation_t_40 *win) -{ - win->m_eResult = lin->m_eResult; - win->m_unReputationScore = lin->m_unReputationScore; - win->m_bBanned = lin->m_bBanned; - win->m_unBannedIP = lin->m_unBannedIP; - win->m_usBannedPort = lin->m_usBannedPort; - win->m_ulBannedGameID = lin->m_ulBannedGameID; - win->m_unBanExpires = lin->m_unBanExpires; -} - - -} diff --git a/lsteamclient/unix_private.h b/lsteamclient/unix_private.h new file mode 100644 index 000000000..6f45791d6 --- /dev/null +++ b/lsteamclient/unix_private.h @@ -0,0 +1,93 @@ +#ifndef __STEAMCLIENT_UNIX_PRIVATE_H +#define __STEAMCLIENT_UNIX_PRIVATE_H + +#include +#include + +#include +#include + +#include "steamclient_structs.h" +#include "unixlib.h" + +#include "wine/debug.h" +#include "wine/list.h" + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +struct w_steam_iface; +extern void queue_vtable_callback( struct w_steam_iface *w_iface, enum callback_type type, uint64_t arg0, uint64_t arg1, uint64_t arg2 ); +extern void queue_vtable_callback_0_add_player_to_list( struct w_steam_iface *w_iface, const char *pchName, int nScore, float flTimePlayed ); +extern void queue_vtable_callback_0_rules_responded( struct w_steam_iface *w_iface, const char *pchRule, const char *pchValue ); + +typedef void (*W_CDECL w_cdecl_func)( void * ); +extern void queue_cdecl_func_callback( w_cdecl_func func, void *data, uint32_t data_size ); +typedef void (*W_STDCALL w_stdcall_func)( void * ); +extern void queue_stdcall_func_callback( w_stdcall_func func, void *data, uint32_t data_size ); + +extern uint32_t manual_convert_nNativeKeyCode( uint32_t win_vk ); + +typedef void (U_CDECL *u_SteamAPIWarningMessageHook_t)( int32_t, const char * ); +typedef void (W_CDECL *w_SteamAPIWarningMessageHook_t)( int32_t, const char * ); +u_SteamAPIWarningMessageHook_t manual_convert_SetWarningMessageHook_pFunction( w_SteamAPIWarningMessageHook_t ); + +typedef void (U_STDCALL *u_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * ); +typedef void (W_STDCALL *w_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * ); +u_FSteamNetworkingSocketsDebugOutput manual_convert_SetDebugOutputFunction_pfnFunc( w_FSteamNetworkingSocketsDebugOutput ); + +typedef uint32_t (U_STDCALL *u_SteamAPI_CheckCallbackRegistered_t)( int32_t ); +typedef uint32_t (W_STDCALL *w_SteamAPI_CheckCallbackRegistered_t)( int32_t ); +u_SteamAPI_CheckCallbackRegistered_t manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( w_SteamAPI_CheckCallbackRegistered_t ); + +typedef uint32_t (U_CDECL *u_SteamAPI_CheckCallbackRegistered_t_156)( int32_t ); +typedef uint32_t (W_CDECL *w_SteamAPI_CheckCallbackRegistered_t_156)( int32_t ); +u_SteamAPI_CheckCallbackRegistered_t_156 manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( w_SteamAPI_CheckCallbackRegistered_t_156 ); + +typedef void (U_STDCALL *u_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int ); +typedef void (W_STDCALL *w_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int ); +u_SteamAPI_PostAPIResultInProcess_t manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t ); +u_SteamAPI_PostAPIResultInProcess_t manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t ); + +typedef void (U_STDCALL *u_void_SteamAPI_PostAPIResultInProcess_t)(void); +typedef void (W_STDCALL *w_void_SteamAPI_PostAPIResultInProcess_t)(void); +u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t ); +u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t ); + +void callback_message_utow( const u_CallbackMsg_t *u_msg, w_CallbackMsg_t *w_msg ); +void *alloc_callback_wtou( int id, void *callback, int *callback_len ); +void convert_callback_utow( int id, void *u_callback, int u_callback_len, void *w_callback, int w_callback_len ); + +extern NTSTATUS steamclient_init( void * ); +extern NTSTATUS steamclient_next_callback( void * ); +extern NTSTATUS steamclient_CreateInterface( void * ); +extern NTSTATUS steamclient_Steam_GetAPICallResult( void * ); +extern NTSTATUS steamclient_Steam_BGetCallback( void * ); +extern NTSTATUS steamclient_callback_message_receive( void * ); +extern NTSTATUS steamclient_Steam_FreeLastCallback( void * ); +extern NTSTATUS steamclient_Steam_ReleaseThreadLocalMemory( void * ); +extern NTSTATUS steamclient_Steam_IsKnownInterface( void * ); +extern NTSTATUS steamclient_Steam_NotifyMissingInterface( void * ); +extern NTSTATUS steamclient_networking_messages_receive_144( void * ); +extern NTSTATUS steamclient_networking_messages_receive_147( void * ); +extern NTSTATUS steamclient_networking_messages_receive_153a( void * ); +extern NTSTATUS steamclient_networking_message_release_147( void * ); +extern NTSTATUS steamclient_networking_message_release_153a( void * ); + +extern char *steamclient_dos_to_unix_path( const char *src, int is_url ); +extern void steamclient_free_path( char *path_array ); +extern const char **steamclient_dos_to_unix_path_array( const char **src_array ); +extern void steamclient_free_path_array( const char **path_array ); + +extern unsigned int steamclient_unix_path_to_dos_path( bool api_result, const char *src, char *dst, + uint32_t dst_bytes, int is_url ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#include "unix_private_generated.h" + +#endif /* __STEAMCLIENT_UNIX_PRIVATE_H */ diff --git a/lsteamclient/unix_private_generated.h b/lsteamclient/unix_private_generated.h new file mode 100644 index 000000000..66a62b343 --- /dev/null +++ b/lsteamclient/unix_private_generated.h @@ -0,0 +1,12896 @@ +/* This file is auto-generated, do not edit. */ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +struct u_ISteamClient_SteamClient006 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t CreateGlobalUser( int32_t * ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t * ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void * GetIVAC( int32_t ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual const char * GetUniverseName( uint32_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void * GetISteamBilling( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamContentServer*/ * GetISteamContentServer( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser004 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual void LogOn( CSteamID ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual uint32_t GetLogonState( ) = 0; + virtual int8_t BConnected( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t IsVACBanned( int32_t ) = 0; + virtual int8_t RequireShowVACBannedMessage( int32_t ) = 0; + virtual void AcknowledgeVACBanning( int32_t ) = 0; + virtual int32_t NClientGameIDAdd( int32_t ) = 0; + virtual void RemoveClientGame( int32_t ) = 0; + virtual void SetClientGameServer( int32_t, uint32_t, uint16_t ) = 0; + virtual void SetSteam2Ticket( uint8_t *, int32_t ) = 0; + virtual void AddServerNetAddress( uint32_t, uint16_t ) = 0; + virtual int8_t SetEmail( const char * ) = 0; + virtual int32_t GetSteamGameConnectToken( void *, int32_t ) = 0; + virtual int8_t SetRegistryString( uint32_t, const char *, const char * ) = 0; + virtual int8_t GetRegistryString( uint32_t, const char *, char *, int32_t ) = 0; + virtual int8_t SetRegistryInt( uint32_t, const char *, int32_t ) = 0; + virtual int8_t GetRegistryInt( uint32_t, const char *, int32_t * ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, int32_t, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void SetSelfAsPrimaryChatDestination( ) = 0; + virtual int8_t IsPrimaryChatDestination( ) = 0; + virtual void RequestLegacyCDKey( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends001 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual void SetPersonaState( uint32_t ) = 0; + virtual int8_t AddFriend( CSteamID ) = 0; + virtual int8_t RemoveFriend( CSteamID ) = 0; + virtual int8_t HasFriend( CSteamID ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual int8_t Deprecated_GetFriendGamePlayed( CSteamID, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int32_t AddFriendByName( const char * ) = 0; + virtual int32_t GetFriendCount( ) = 0; + virtual CSteamID GetFriendByIndex( int32_t ) = 0; + virtual void SendMsgToFriend( CSteamID, uint32_t, const char * ) = 0; + virtual void SetFriendRegValue( CSteamID, const char *, const char * ) = 0; + virtual const char * GetFriendRegValue( CSteamID, const char * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int32_t GetChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual int8_t SendMsgToFriend( CSteamID, uint32_t, const void *, int32_t ) = 0; + virtual int32_t GetChatIDOfChatHistoryStart( CSteamID ) = 0; + virtual void SetChatHistoryStart( CSteamID, int32_t ) = 0; + virtual void ClearChatHistory( CSteamID ) = 0; + virtual int8_t InviteFriendByEmail( const char * ) = 0; + virtual int32_t GetBlockedFriendCount( ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, uint64_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetFriendGamePlayed2( CSteamID, uint64_t *, uint32_t *, uint16_t *, uint16_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils002 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking001 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint32_t ) = 0; + virtual int8_t GetFavoriteGame2( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame2( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame2( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void RequestLobbyList( uint64_t, MatchMakingKeyValuePair_t *, uint32_t ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual void CreateLobby( uint64_t, int8_t ) = 0; + virtual void JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual int8_t SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 +{ +#ifdef __cplusplus + virtual void RequestInternetServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual void RequestLANServerList( uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual void RequestFriendsServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual void RequestFavoritesServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual void RequestHistoryServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual void RequestSpectatorServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_099u * ) = 0; + virtual gameserveritem_t_105 * GetServerDetails( uint32_t, int32_t ) = 0; + virtual void CancelQuery( uint32_t ) = 0; + virtual void RefreshQuery( uint32_t ) = 0; + virtual int8_t IsRefreshing( uint32_t ) = 0; + virtual int32_t GetServerCount( uint32_t ) = 0; + virtual void RefreshServer( uint32_t, int32_t ) = 0; + virtual int32_t PingServer( uint32_t, uint16_t, u_ISteamMatchmakingPingResponse * ) = 0; + virtual int32_t PlayerDetails( uint32_t, uint16_t, u_ISteamMatchmakingPlayersResponse * ) = 0; + virtual int32_t ServerRules( uint32_t, uint16_t, u_ISteamMatchmakingRulesResponse * ) = 0; + virtual void CancelServerQuery( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t GetNumStats( CGameID ) = 0; + virtual const char * GetStatName( CGameID, uint32_t ) = 0; + virtual uint32_t GetStatType( CGameID, const char * ) = 0; + virtual uint32_t GetNumAchievements( CGameID ) = 0; + virtual const char * GetAchievementName( CGameID, uint32_t ) = 0; + virtual uint32_t GetNumGroupAchievements( CGameID ) = 0; + virtual const char * GetGroupAchievementName( CGameID, uint32_t ) = 0; + virtual int8_t RequestCurrentStats( CGameID ) = 0; + virtual int8_t GetStat( CGameID, const char *, int32_t * ) = 0; + virtual int8_t GetStat( CGameID, const char *, float * ) = 0; + virtual int8_t SetStat( CGameID, const char *, int32_t ) = 0; + virtual int8_t SetStat( CGameID, const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( CGameID, const char *, float, double ) = 0; + virtual int8_t GetAchievement( CGameID, const char *, int8_t * ) = 0; + virtual int8_t GetGroupAchievement( CGameID, const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( CGameID, const char * ) = 0; + virtual int8_t SetGroupAchievement( CGameID, const char * ) = 0; + virtual int8_t StoreStats( CGameID ) = 0; + virtual int8_t ClearAchievement( CGameID, const char * ) = 0; + virtual int8_t ClearGroupAchievement( CGameID, const char * ) = 0; + virtual int32_t GetAchievementIcon( CGameID, const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( CGameID, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual int32_t GetAppData( uint32_t, const char *, char *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking001 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t ) = 0; + virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer002 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual void GSSetSpawnCount( uint32_t ) = 0; + virtual int8_t GSGetSteam2GetEncryptionKeyToSendToNewClient( void *, uint32_t *, uint32_t ) = 0; + virtual int8_t GSSendSteam2UserConnect( uint32_t, const void *, uint32_t, uint32_t, uint16_t, const void *, uint32_t ) = 0; + virtual int8_t GSSendSteam3UserConnect( CSteamID, uint32_t, const void *, uint32_t ) = 0; + virtual int8_t GSRemoveUserConnect( uint32_t ) = 0; + virtual int8_t GSSendUserDisconnect( CSteamID, uint32_t ) = 0; + virtual int8_t GSSendUserStatusResponse( CSteamID, int32_t, int32_t ) = 0; + virtual int8_t Obsolete_GSSetStatus( int32_t, uint32_t, int32_t, int32_t, int32_t, int32_t, const char *, const char *, const char *, const char * ) = 0; + virtual int8_t GSUpdateStatus( int32_t, int32_t, int32_t, const char *, const char * ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t GSSetServerType( int32_t, uint32_t, uint32_t, uint32_t, const char *, const char * ) = 0; + virtual int8_t GSSetServerType2( int32_t, uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual int8_t GSUpdateStatus2( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual int8_t GSCreateUnauthenticatedUser( CSteamID * ) = 0; + virtual int8_t GSSetUserData( CSteamID, const char *, uint32_t ) = 0; + virtual void GSUpdateSpectatorPort( uint16_t ) = 0; + virtual void GSSetGameType( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMasterServerUpdater_SteamMasterServerUpdater001 +{ +#ifdef __cplusplus + virtual void SetActive( int8_t ) = 0; + virtual void SetHeartbeatInterval( int32_t ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual void SetBasicServerData( uint16_t, int8_t, const char *, const char *, uint16_t, int8_t, const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void NotifyShutdown( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void ForceHeartbeat( ) = 0; + virtual int8_t AddMasterServer( const char * ) = 0; + virtual int8_t RemoveMasterServer( const char * ) = 0; + virtual int32_t GetNumMasterServers( ) = 0; + virtual int32_t GetMasterServerAddress( int32_t, char *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser005 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual void LogOn( CSteamID ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual uint32_t GetLogonState( ) = 0; + virtual int8_t BConnected( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t IsVACBanned( int32_t ) = 0; + virtual int8_t RequireShowVACBannedMessage( int32_t ) = 0; + virtual void AcknowledgeVACBanning( int32_t ) = 0; + virtual void SetSteam2Ticket( uint8_t *, int32_t ) = 0; + virtual void AddServerNetAddress( uint32_t, uint16_t ) = 0; + virtual int8_t SetEmail( const char * ) = 0; + virtual int8_t SetRegistryString( uint32_t, const char *, const char * ) = 0; + virtual int8_t GetRegistryString( uint32_t, const char *, char *, int32_t ) = 0; + virtual int8_t SetRegistryInt( uint32_t, const char *, int32_t ) = 0; + virtual int8_t GetRegistryInt( uint32_t, const char *, int32_t * ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, CGameID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void SetSelfAsPrimaryChatDestination( ) = 0; + virtual int8_t IsPrimaryChatDestination( ) = 0; + virtual void RequestLegacyCDKey( uint32_t ) = 0; + virtual int8_t SendGuestPassByEmail( const char *, uint64_t, int8_t ) = 0; + virtual int8_t SendGuestPassByAccountID( uint32_t, uint64_t, int8_t ) = 0; + virtual int8_t AckGuestPass( const char * ) = 0; + virtual int8_t RedeemGuestPass( const char * ) = 0; + virtual uint32_t GetGuestPassToGiveCount( ) = 0; + virtual uint32_t GetGuestPassToRedeemCount( ) = 0; + virtual uint32_t GetGuestPassLastUpdateTime( ) = 0; + virtual int8_t GetGuestPassToGiveInfo( uint32_t, uint64_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, char *, int32_t ) = 0; + virtual int8_t GetGuestPassToRedeemInfo( uint32_t, uint64_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetGuestPassToRedeemSenderAddress( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetGuestPassToRedeemSenderName( uint32_t, char *, int32_t ) = 0; + virtual void AcknowledgeMessageByGID( const char * ) = 0; + virtual int8_t SetLanguage( const char * ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual void SetAccountName( const char * ) = 0; + virtual void SetPassword( const char * ) = 0; + virtual void SetAccountCreationTime( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser006 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual void LogOn( CSteamID ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SetRegistryString( uint32_t, const char *, const char * ) = 0; + virtual int8_t GetRegistryString( uint32_t, const char *, char *, int32_t ) = 0; + virtual int8_t SetRegistryInt( uint32_t, const char *, int32_t ) = 0; + virtual int8_t GetRegistryInt( uint32_t, const char *, int32_t * ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, CGameID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser007 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual void LogOn( CSteamID ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SetRegistryString( uint32_t, const char *, const char * ) = 0; + virtual int8_t GetRegistryString( uint32_t, const char *, char *, int32_t ) = 0; + virtual int8_t SetRegistryInt( uint32_t, const char *, int32_t ) = 0; + virtual int8_t GetRegistryInt( uint32_t, const char *, int32_t * ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, CGameID, uint32_t, uint16_t, int8_t, void *, int32_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual void RefreshSteam2Login( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser008 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, CGameID *, uint32_t, uint16_t, int8_t, void *, int32_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual void RefreshSteam2Login( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends002 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual void SetPersonaState( uint32_t ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual void SetFriendRegValue( CSteamID, const char *, const char * ) = 0; + virtual const char * GetFriendRegValue( CSteamID, const char * ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, uint64_t *, uint32_t *, uint16_t *, uint16_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t AddFriend( CSteamID ) = 0; + virtual int8_t RemoveFriend( CSteamID ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t AddFriendByName( const char * ) = 0; + virtual int8_t InviteFriendByEmail( const char * ) = 0; + virtual int32_t GetChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual int8_t SendMsgToFriend( CSteamID, uint32_t, const void *, int32_t ) = 0; + virtual int32_t GetChatIDOfChatHistoryStart( CSteamID ) = 0; + virtual void SetChatHistoryStart( CSteamID, int32_t ) = 0; + virtual void ClearChatHistory( CSteamID ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual int8_t InviteFriendToClan( CSteamID, CSteamID ) = 0; + virtual int8_t AcknowledgeInviteToClan( CSteamID, int8_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual uint32_t GetNumStats( CGameID ) = 0; + virtual const char * GetStatName( CGameID, uint32_t ) = 0; + virtual uint32_t GetStatType( CGameID, const char * ) = 0; + virtual uint32_t GetNumAchievements( CGameID ) = 0; + virtual const char * GetAchievementName( CGameID, uint32_t ) = 0; + virtual int8_t RequestCurrentStats( CGameID ) = 0; + virtual int8_t GetStat( CGameID, const char *, int32_t * ) = 0; + virtual int8_t GetStat( CGameID, const char *, float * ) = 0; + virtual int8_t SetStat( CGameID, const char *, int32_t ) = 0; + virtual int8_t SetStat( CGameID, const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( CGameID, const char *, float, double ) = 0; + virtual int8_t GetAchievement( CGameID, const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( CGameID, const char * ) = 0; + virtual int8_t ClearAchievement( CGameID, const char * ) = 0; + virtual int8_t StoreStats( CGameID ) = 0; + virtual int32_t GetAchievementIcon( CGameID, const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( CGameID, const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( CGameID, const char *, uint32_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer003 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t GSGetSteam2GetEncryptionKeyToSendToNewClient( void *, uint32_t *, uint32_t ) = 0; + virtual int8_t GSSendUserConnect( uint32_t, uint32_t, uint16_t, const void *, uint32_t ) = 0; + virtual int8_t GSRemoveUserConnect( uint32_t ) = 0; + virtual int8_t GSSendUserDisconnect( CSteamID, uint32_t ) = 0; + virtual void GSSetSpawnCount( uint32_t ) = 0; + virtual int8_t GSSetServerType( int32_t, uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual int8_t GSUpdateStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual int8_t GSCreateUnauthenticatedUser( CSteamID * ) = 0; + virtual int8_t GSSetUserData( CSteamID, const char *, uint32_t ) = 0; + virtual void GSUpdateSpectatorPort( uint16_t ) = 0; + virtual void GSSetGameType( const char * ) = 0; + virtual int8_t GSGetUserAchievementStatus( CSteamID, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient007 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t * ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamContentServer*/ * GetISteamContentServer( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser009 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, CGameID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual void RefreshSteam2Login( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends003 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int32_t GetFriendAvatar( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, uint64_t *, uint32_t *, uint16_t *, uint16_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking002 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void RequestLobbyList( ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual void CreateLobby( int8_t ) = 0; + virtual void JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer004 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual void SendUserConnectAndAuthenticate( CSteamID, uint32_t, void *, uint32_t ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual int8_t BSetServerType( int32_t, uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual void UpdateServerStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual void UpdateSpectatorPort( uint16_t ) = 0; + virtual void SetGameType( const char * ) = 0; + virtual int8_t BGetUserAchievementStatus( CSteamID, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser010 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer005 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual int8_t BSetServerType( uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual void UpdateServerStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual void UpdateSpectatorPort( uint16_t ) = 0; + virtual void SetGameType( const char * ) = 0; + virtual int8_t BGetUserAchievementStatus( CSteamID, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser011 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetCompressedVoice( void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressVoice( void *, uint32_t, void *, uint32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends004 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int32_t GetFriendAvatar( CSteamID, int32_t ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, uint64_t *, uint32_t *, uint16_t *, uint16_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking003 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListFilter( const char *, const char * ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, int32_t ) = 0; + virtual void AddRequestLobbyListSlotsAvailableFilter( ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual void CreateLobby( int8_t ) = 0; + virtual void JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual void SetLobbyVoiceEnabled( CSteamID, int8_t ) = 0; + virtual int8_t RequestFriendsLobbies( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking004 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListFilter( const char *, const char * ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, int32_t ) = 0; + virtual void AddRequestLobbyListSlotsAvailableFilter( ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual void CreateLobby( int8_t ) = 0; + virtual void JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t RequestFriendsLobbies( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends005 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int32_t GetFriendAvatar( CSteamID, int32_t ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking005 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListFilter( const char *, const char * ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, int32_t ) = 0; + virtual void AddRequestLobbyListSlotsAvailableFilter( ) = 0; + virtual void AddRequestLobbyListNearValueFilter( const char *, int32_t ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual void CreateLobby( uint32_t ) = 0; + virtual void JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t RequestFriendsLobbies( ) = 0; + virtual int8_t SetLobbyType( CSteamID, uint32_t ) = 0; + virtual CSteamID GetLobbyOwner( CSteamID ) = 0; + virtual float GetLobbyDistance( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking002 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t, int8_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, int8_t ) = 0; + virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0; + virtual uint32_t GetSocketConnectionType( uint32_t ) = 0; + virtual int32_t GetMaxPacketSize( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer008 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual int8_t BSetServerType( uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual void UpdateServerStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual void UpdateSpectatorPort( uint16_t ) = 0; + virtual void SetGameType( const char * ) = 0; + virtual int8_t BGetUserAchievementStatus( CSteamID, const char * ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual uint32_t GetPublicIP( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking006 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual uint64_t RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListFilter( const char *, const char * ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, int32_t ) = 0; + virtual void AddRequestLobbyListNearValueFilter( const char *, int32_t ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual uint64_t CreateLobby( uint32_t ) = 0; + virtual uint64_t JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t SetLobbyType( CSteamID, uint32_t ) = 0; + virtual CSteamID GetLobbyOwner( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient008 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser012 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetCompressedVoice( void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressVoice( void *, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils004 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_104 *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, int32_t, int32_t *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking007 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual uint64_t RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListStringFilter( const char *, const char *, uint32_t ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, uint32_t ) = 0; + virtual void AddRequestLobbyListNearValueFilter( const char *, int32_t ) = 0; + virtual void AddRequestLobbyListFilterSlotsAvailable( int32_t ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual uint64_t CreateLobby( uint32_t, int32_t ) = 0; + virtual uint64_t JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual int32_t GetLobbyDataCount( CSteamID ) = 0; + virtual int8_t GetLobbyDataByIndex( CSteamID, int32_t, char *, int32_t, char *, int32_t ) = 0; + virtual int8_t DeleteLobbyData( CSteamID, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t SetLobbyType( CSteamID, uint32_t ) = 0; + virtual int8_t SetLobbyJoinable( CSteamID, int8_t ) = 0; + virtual CSteamID GetLobbyOwner( CSteamID ) = 0; + virtual int8_t SetLobbyOwner( CSteamID, CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_104 *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking003 +{ +#ifdef __cplusplus + virtual int8_t SendP2PPacket( CSteamID, const void *, uint32_t, uint32_t ) = 0; + virtual int8_t IsP2PPacketAvailable( uint32_t * ) = 0; + virtual int8_t ReadP2PPacket( void *, uint32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t AcceptP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t GetP2PSessionState( CSteamID, P2PSessionState_t * ) = 0; + virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t, int8_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, int8_t ) = 0; + virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0; + virtual uint32_t GetSocketConnectionType( uint32_t ) = 0; + virtual int32_t GetMaxPacketSize( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer009 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual int8_t BSetServerType( uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual void UpdateServerStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual void UpdateSpectatorPort( uint16_t ) = 0; + virtual void SetGameType( const char * ) = 0; + virtual int8_t BGetUserAchievementStatus( CSteamID, const char * ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual uint32_t GetPublicIP( ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser013 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 +{ +#ifdef __cplusplus + virtual void * RequestInternetServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void * RequestLANServerList( uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void * RequestFriendsServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void * RequestFavoritesServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void * RequestHistoryServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void * RequestSpectatorServerList( uint32_t, MatchMakingKeyValuePair_t **, uint32_t, u_ISteamMatchmakingServerListResponse_106 * ) = 0; + virtual void ReleaseRequest( void * ) = 0; + virtual gameserveritem_t_105 * GetServerDetails( void *, int32_t ) = 0; + virtual void CancelQuery( void * ) = 0; + virtual void RefreshQuery( void * ) = 0; + virtual int8_t IsRefreshing( void * ) = 0; + virtual int32_t GetServerCount( void * ) = 0; + virtual void RefreshServer( void *, int32_t ) = 0; + virtual int32_t PingServer( uint32_t, uint16_t, u_ISteamMatchmakingPingResponse * ) = 0; + virtual int32_t PlayerDetails( uint32_t, uint16_t, u_ISteamMatchmakingPlayersResponse * ) = 0; + virtual int32_t ServerRules( uint32_t, uint16_t, u_ISteamMatchmakingRulesResponse * ) = 0; + virtual void CancelServerQuery( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils005 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient009 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking008 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual uint64_t RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListStringFilter( const char *, const char *, uint32_t ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, uint32_t ) = 0; + virtual void AddRequestLobbyListNearValueFilter( const char *, int32_t ) = 0; + virtual void AddRequestLobbyListFilterSlotsAvailable( int32_t ) = 0; + virtual void AddRequestLobbyListDistanceFilter( uint32_t ) = 0; + virtual void AddRequestLobbyListResultCountFilter( int32_t ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual uint64_t CreateLobby( uint32_t, int32_t ) = 0; + virtual uint64_t JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual int32_t GetLobbyDataCount( CSteamID ) = 0; + virtual int8_t GetLobbyDataByIndex( CSteamID, int32_t, char *, int32_t, char *, int32_t ) = 0; + virtual int8_t DeleteLobbyData( CSteamID, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t SetLobbyType( CSteamID, uint32_t ) = 0; + virtual int8_t SetLobbyJoinable( CSteamID, int8_t ) = 0; + virtual CSteamID GetLobbyOwner( CSteamID ) = 0; + virtual int8_t SetLobbyOwner( CSteamID, CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_104 *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer010 +{ +#ifdef __cplusplus + virtual void LogOn( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual int8_t BSetServerType( uint32_t, uint32_t, uint16_t, uint16_t, uint16_t, const char *, const char *, int8_t ) = 0; + virtual void UpdateServerStatus( int32_t, int32_t, int32_t, const char *, const char *, const char * ) = 0; + virtual void UpdateSpectatorPort( uint16_t ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual uint32_t GetPublicIP( ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServerStats_SteamGameServerStats001 +{ +#ifdef __cplusplus + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t SetUserStat( CSteamID, const char *, int32_t ) = 0; + virtual int8_t SetUserStat( CSteamID, const char *, float ) = 0; + virtual int8_t UpdateUserAvgRateStat( CSteamID, const char *, float, double ) = 0; + virtual int8_t SetUserAchievement( CSteamID, const char * ) = 0; + virtual int8_t ClearUserAchievement( CSteamID, const char * ) = 0; + virtual uint64_t StoreUserStats( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameStats_SteamGameStats001 +{ +#ifdef __cplusplus + virtual uint64_t GetNewSession( int8_t, uint64_t, int32_t, uint32_t ) = 0; + virtual uint64_t EndSession( uint64_t, uint32_t, int32_t ) = 0; + virtual uint32_t AddSessionAttributeInt( uint64_t, const char *, int32_t ) = 0; + virtual uint32_t AddSessionAttributeString( uint64_t, const char *, const char * ) = 0; + virtual uint32_t AddSessionAttributeFloat( uint64_t, const char *, float ) = 0; + virtual uint32_t AddNewRow( uint64_t *, uint64_t, const char * ) = 0; + virtual uint32_t CommitRow( uint64_t ) = 0; + virtual uint32_t CommitOutstandingRows( uint64_t ) = 0; + virtual uint32_t AddRowAttributeInt( uint64_t, const char *, int32_t ) = 0; + virtual uint32_t AddRowAtributeString( uint64_t, const char *, const char * ) = 0; + virtual uint32_t AddRowAttributeFloat( uint64_t, const char *, float ) = 0; + virtual uint32_t AddSessionAttributeInt64( uint64_t, const char *, int64_t ) = 0; + virtual uint32_t AddRowAttributeInt64( uint64_t, const char *, int64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameCoordinator_SteamGameCoordinator001 +{ +#ifdef __cplusplus + virtual uint32_t SendMessage( uint32_t, const void *, uint32_t ) = 0; + virtual int8_t IsMessageAvailable( uint32_t * ) = 0; + virtual uint32_t RetrieveMessage( uint32_t *, void *, uint32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends006 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int32_t GetFriendAvatar( CSteamID, int32_t ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser014 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends007 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking004 +{ +#ifdef __cplusplus + virtual int8_t SendP2PPacket( CSteamID, const void *, uint32_t, uint32_t, int32_t ) = 0; + virtual int8_t IsP2PPacketAvailable( uint32_t *, int32_t ) = 0; + virtual int8_t ReadP2PPacket( void *, uint32_t, uint32_t *, CSteamID *, int32_t ) = 0; + virtual int8_t AcceptP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t GetP2PSessionState( CSteamID, P2PSessionState_t * ) = 0; + virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t, int8_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, int8_t ) = 0; + virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0; + virtual uint32_t GetSocketConnectionType( uint32_t ) = 0; + virtual int32_t GetMaxPacketSize( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient010 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends008 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_111x *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION004 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; + virtual uint32_t GetEarliestPurchaseUnixTime( uint32_t ) = 0; + virtual int8_t BIsSubscribedFromFreeWeekend( ) = 0; + virtual int32_t GetDLCCount( ) = 0; + virtual int8_t BGetDLCDataByIndex( int32_t, uint32_t *, int8_t *, char *, int32_t ) = 0; + virtual void InstallDLC( uint32_t ) = 0; + virtual void UninstallDLC( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t GetAppOwnershipTicketData( uint32_t, void *, uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual uint64_t DownloadLeaderboardEntriesForUsers( uint64_t, CSteamID *, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_111x *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser015 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends009 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking005 +{ +#ifdef __cplusplus + virtual int8_t SendP2PPacket( CSteamID, const void *, uint32_t, uint32_t, int32_t ) = 0; + virtual int8_t IsP2PPacketAvailable( uint32_t *, int32_t ) = 0; + virtual int8_t ReadP2PPacket( void *, uint32_t, uint32_t *, CSteamID *, int32_t ) = 0; + virtual int8_t AcceptP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PChannelWithUser( CSteamID, int32_t ) = 0; + virtual int8_t GetP2PSessionState( CSteamID, P2PSessionState_t * ) = 0; + virtual int8_t AllowP2PPacketRelay( int8_t ) = 0; + virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t, int8_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, int8_t ) = 0; + virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0; + virtual uint32_t GetSocketConnectionType( uint32_t ) = 0; + virtual int32_t GetMaxPacketSize( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser016 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual uint64_t DownloadLeaderboardEntriesForUsers( uint64_t, CSteamID *, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_111x *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; + virtual uint64_t RequestGlobalAchievementPercentages( ) = 0; + virtual int32_t GetMostAchievedAchievementInfo( char *, uint32_t, float *, int8_t * ) = 0; + virtual int32_t GetNextMostAchievedAchievementInfo( int32_t, char *, uint32_t, float *, int8_t * ) = 0; + virtual int8_t GetAchievementAchievedPercent( const char *, float * ) = 0; + virtual uint64_t RequestGlobalStats( int32_t ) = 0; + virtual int8_t GetGlobalStat( const char *, int64_t * ) = 0; + virtual int8_t GetGlobalStat( const char *, double * ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, int64_t *, uint32_t ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, double *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t CreateHTTPRequest( uint32_t, const char * ) = 0; + virtual int8_t SetHTTPRequestContextValue( uint32_t, uint64_t ) = 0; + virtual int8_t SetHTTPRequestNetworkActivityTimeout( uint32_t, uint32_t ) = 0; + virtual int8_t SetHTTPRequestHeaderValue( uint32_t, const char *, const char * ) = 0; + virtual int8_t SetHTTPRequestGetOrPostParameter( uint32_t, const char *, const char * ) = 0; + virtual int8_t SendHTTPRequest( uint32_t, uint64_t * ) = 0; + virtual int8_t DeferHTTPRequest( uint32_t ) = 0; + virtual int8_t PrioritizeHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPResponseHeaderSize( uint32_t, const char *, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseHeaderValue( uint32_t, const char *, uint8_t *, uint32_t ) = 0; + virtual int8_t GetHTTPResponseBodySize( uint32_t, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseBodyData( uint32_t, uint8_t *, uint32_t ) = 0; + virtual int8_t ReleaseHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPDownloadProgressPct( uint32_t, float * ) = 0; + virtual int8_t SetHTTPRequestRawPostBody( uint32_t, const char *, uint8_t *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient011 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMasterServerUpdater*/ * GetISteamMasterServerUpdater( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t WriteScreenshot( void *, uint32_t, int32_t, int32_t ) = 0; + virtual uint32_t AddScreenshotToLibrary( const char *, const char *, int32_t, int32_t ) = 0; + virtual void TriggerScreenshot( ) = 0; + virtual void HookScreenshots( int8_t ) = 0; + virtual int8_t SetLocation( uint32_t, const char * ) = 0; + virtual int8_t TagUser( uint32_t, CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient012 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUnifiedMessages*/ * GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends010 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMatchmaking_SteamMatchMaking009 +{ +#ifdef __cplusplus + virtual int32_t GetFavoriteGameCount( ) = 0; + virtual int8_t GetFavoriteGame( int32_t, uint32_t *, uint32_t *, uint16_t *, uint16_t *, uint32_t *, uint32_t * ) = 0; + virtual int32_t AddFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t, uint32_t ) = 0; + virtual int8_t RemoveFavoriteGame( uint32_t, uint32_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual uint64_t RequestLobbyList( ) = 0; + virtual void AddRequestLobbyListStringFilter( const char *, const char *, uint32_t ) = 0; + virtual void AddRequestLobbyListNumericalFilter( const char *, int32_t, uint32_t ) = 0; + virtual void AddRequestLobbyListNearValueFilter( const char *, int32_t ) = 0; + virtual void AddRequestLobbyListFilterSlotsAvailable( int32_t ) = 0; + virtual void AddRequestLobbyListDistanceFilter( uint32_t ) = 0; + virtual void AddRequestLobbyListResultCountFilter( int32_t ) = 0; + virtual void AddRequestLobbyListCompatibleMembersFilter( CSteamID ) = 0; + virtual CSteamID GetLobbyByIndex( int32_t ) = 0; + virtual uint64_t CreateLobby( uint32_t, int32_t ) = 0; + virtual uint64_t JoinLobby( CSteamID ) = 0; + virtual void LeaveLobby( CSteamID ) = 0; + virtual int8_t InviteUserToLobby( CSteamID, CSteamID ) = 0; + virtual int32_t GetNumLobbyMembers( CSteamID ) = 0; + virtual CSteamID GetLobbyMemberByIndex( CSteamID, int32_t ) = 0; + virtual const char * GetLobbyData( CSteamID, const char * ) = 0; + virtual int8_t SetLobbyData( CSteamID, const char *, const char * ) = 0; + virtual int32_t GetLobbyDataCount( CSteamID ) = 0; + virtual int8_t GetLobbyDataByIndex( CSteamID, int32_t, char *, int32_t, char *, int32_t ) = 0; + virtual int8_t DeleteLobbyData( CSteamID, const char * ) = 0; + virtual const char * GetLobbyMemberData( CSteamID, CSteamID, const char * ) = 0; + virtual void SetLobbyMemberData( CSteamID, const char *, const char * ) = 0; + virtual int8_t SendLobbyChatMsg( CSteamID, const void *, int32_t ) = 0; + virtual int32_t GetLobbyChatEntry( CSteamID, int32_t, CSteamID *, void *, int32_t, uint32_t * ) = 0; + virtual int8_t RequestLobbyData( CSteamID ) = 0; + virtual void SetLobbyGameServer( CSteamID, uint32_t, uint16_t, CSteamID ) = 0; + virtual int8_t GetLobbyGameServer( CSteamID, uint32_t *, uint16_t *, CSteamID * ) = 0; + virtual int8_t SetLobbyMemberLimit( CSteamID, int32_t ) = 0; + virtual int32_t GetLobbyMemberLimit( CSteamID ) = 0; + virtual int8_t SetLobbyType( CSteamID, uint32_t ) = 0; + virtual int8_t SetLobbyJoinable( CSteamID, int8_t ) = 0; + virtual CSteamID GetLobbyOwner( CSteamID ) = 0; + virtual int8_t SetLobbyOwner( CSteamID, CSteamID ) = 0; + virtual int8_t SetLinkedLobby( CSteamID, CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UpdatePublishedFile( u_RemoteStorageUpdatePublishedFileRequest_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer011 +{ +#ifdef __cplusplus + virtual int8_t InitGameServer( uint32_t, uint16_t, uint16_t, uint32_t, uint32_t, const char * ) = 0; + virtual void SetProduct( const char * ) = 0; + virtual void SetGameDescription( const char * ) = 0; + virtual void SetModDir( const char * ) = 0; + virtual void SetDedicatedServer( int8_t ) = 0; + virtual void LogOn( const char *, const char * ) = 0; + virtual void LogOnAnonymous( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void SetMaxPlayerCount( int32_t ) = 0; + virtual void SetBotPlayerCount( int32_t ) = 0; + virtual void SetServerName( const char * ) = 0; + virtual void SetMapName( const char * ) = 0; + virtual void SetPasswordProtected( int8_t ) = 0; + virtual void SetSpectatorPort( uint16_t ) = 0; + virtual void SetSpectatorServerName( const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual void SetRegion( const char * ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual uint32_t GetPublicIP( ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual void EnableHeartbeats( int8_t ) = 0; + virtual void SetHeartbeatInterval( int32_t ) = 0; + virtual void ForceHeartbeat( ) = 0; + virtual uint64_t AssociateWithClan( CSteamID ) = 0; + virtual uint64_t ComputeNewPlayerCompatibility( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends011 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual void SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION005 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; + virtual uint32_t GetEarliestPurchaseUnixTime( uint32_t ) = 0; + virtual int8_t BIsSubscribedFromFreeWeekend( ) = 0; + virtual int32_t GetDLCCount( ) = 0; + virtual int8_t BGetDLCDataByIndex( int32_t, uint32_t *, int8_t *, char *, int32_t ) = 0; + virtual void InstallDLC( uint32_t ) = 0; + virtual void UninstallDLC( uint32_t ) = 0; + virtual void RequestAppProofOfPurchaseKey( uint32_t ) = 0; + virtual int8_t GetCurrentBetaName( char *, int32_t ) = 0; + virtual int8_t MarkContentCorrupt( int8_t ) = 0; + virtual uint32_t GetInstalledDepots( uint32_t *, uint32_t ) = 0; + virtual uint32_t GetAppInstallDir( uint32_t, char *, uint32_t ) = 0; + virtual int8_t BIsAppInstalled( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends012 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual uint64_t SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetNumAchievements( ) = 0; + virtual const char * GetAchievementName( uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual uint64_t DownloadLeaderboardEntriesForUsers( uint64_t, CSteamID *, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_123 *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; + virtual uint64_t RequestGlobalAchievementPercentages( ) = 0; + virtual int32_t GetMostAchievedAchievementInfo( char *, uint32_t, float *, int8_t * ) = 0; + virtual int32_t GetNextMostAchievedAchievementInfo( int32_t, char *, uint32_t, float *, int8_t * ) = 0; + virtual int8_t GetAchievementAchievedPercent( const char *, float * ) = 0; + virtual uint64_t RequestGlobalStats( int32_t ) = 0; + virtual int8_t GetGlobalStat( const char *, int64_t * ) = 0; + virtual int8_t GetGlobalStat( const char *, double * ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, int64_t *, uint32_t ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, double *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends013 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual uint64_t SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t, uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual uint32_t CreateHTTPRequest( uint32_t, const char * ) = 0; + virtual int8_t SetHTTPRequestContextValue( uint32_t, uint64_t ) = 0; + virtual int8_t SetHTTPRequestNetworkActivityTimeout( uint32_t, uint32_t ) = 0; + virtual int8_t SetHTTPRequestHeaderValue( uint32_t, const char *, const char * ) = 0; + virtual int8_t SetHTTPRequestGetOrPostParameter( uint32_t, const char *, const char * ) = 0; + virtual int8_t SendHTTPRequest( uint32_t, uint64_t * ) = 0; + virtual int8_t SendHTTPRequestAndStreamResponse( uint32_t, uint64_t * ) = 0; + virtual int8_t DeferHTTPRequest( uint32_t ) = 0; + virtual int8_t PrioritizeHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPResponseHeaderSize( uint32_t, const char *, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseHeaderValue( uint32_t, const char *, uint8_t *, uint32_t ) = 0; + virtual int8_t GetHTTPResponseBodySize( uint32_t, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseBodyData( uint32_t, uint8_t *, uint32_t ) = 0; + virtual int8_t GetHTTPStreamingResponseBodyData( uint32_t, uint32_t, uint8_t *, uint32_t ) = 0; + virtual int8_t ReleaseHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPDownloadProgressPct( uint32_t, float * ) = 0; + virtual int8_t SetHTTPRequestRawPostBody( uint32_t, const char *, uint8_t *, uint32_t ) = 0; + virtual uint32_t CreateCookieContainer( int8_t ) = 0; + virtual int8_t ReleaseCookieContainer( uint32_t ) = 0; + virtual int8_t SetCookie( uint32_t, const char *, const char *, const char * ) = 0; + virtual int8_t SetHTTPRequestCookieContainer( uint32_t, uint32_t ) = 0; + virtual int8_t SetHTTPRequestUserAgentInfo( uint32_t, const char * ) = 0; + virtual int8_t SetHTTPRequestRequiresVerifiedCertificate( uint32_t, int8_t ) = 0; + virtual int8_t SetHTTPRequestAbsoluteTimeoutMS( uint32_t, uint32_t ) = 0; + virtual int8_t GetHTTPRequestWasTimedOut( uint32_t, int8_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual uint32_t WriteScreenshot( void *, uint32_t, int32_t, int32_t ) = 0; + virtual uint32_t AddScreenshotToLibrary( const char *, const char *, int32_t, int32_t ) = 0; + virtual void TriggerScreenshot( ) = 0; + virtual void HookScreenshots( int8_t ) = 0; + virtual int8_t SetLocation( uint32_t, const char * ) = 0; + virtual int8_t TagUser( uint32_t, CSteamID ) = 0; + virtual int8_t TagPublishedFile( uint32_t, uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint64_t SendMethod( const char *, const void *, uint32_t, uint64_t ) = 0; + virtual int8_t GetMethodResponseInfo( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetMethodResponseData( uint64_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t ReleaseMethod( uint64_t ) = 0; + virtual int8_t SendNotification( const char *, const void *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser017 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils006 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; + virtual const char * GetSteamUILanguage( ) = 0; + virtual int8_t IsSteamRunningInVR( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION +{ +#ifdef __cplusplus + virtual int8_t Init( const char * ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int8_t GetControllerState( uint32_t, SteamControllerState001_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual void SetOverrideMode( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends014 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual uint64_t SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual const char * GetPlayerNickname( CSteamID ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t, uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION006 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; + virtual uint32_t GetEarliestPurchaseUnixTime( uint32_t ) = 0; + virtual int8_t BIsSubscribedFromFreeWeekend( ) = 0; + virtual int32_t GetDLCCount( ) = 0; + virtual int8_t BGetDLCDataByIndex( int32_t, uint32_t *, int8_t *, char *, int32_t ) = 0; + virtual void InstallDLC( uint32_t ) = 0; + virtual void UninstallDLC( uint32_t ) = 0; + virtual void RequestAppProofOfPurchaseKey( uint32_t ) = 0; + virtual int8_t GetCurrentBetaName( char *, int32_t ) = 0; + virtual int8_t MarkContentCorrupt( int8_t ) = 0; + virtual uint32_t GetInstalledDepots( uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetAppInstallDir( uint32_t, char *, uint32_t ) = 0; + virtual int8_t BIsAppInstalled( uint32_t ) = 0; + virtual CSteamID GetAppOwner( ) = 0; + virtual const char * GetLaunchQueryParam( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_126 * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient013 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUnifiedMessages*/ * GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamInventory( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamVideo( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils007 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t, const char * ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; + virtual const char * GetSteamUILanguage( ) = 0; + virtual int8_t IsSteamRunningInVR( ) = 0; + virtual void SetOverlayNotificationInset( int32_t, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual int8_t BIsEnabled( ) = 0; + virtual int8_t BIsPlaying( ) = 0; + virtual uint32_t GetPlaybackStatus( ) = 0; + virtual void Play( ) = 0; + virtual void Pause( ) = 0; + virtual void PlayPrevious( ) = 0; + virtual void PlayNext( ) = 0; + virtual void SetVolume( float ) = 0; + virtual float GetVolume( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t ) = 0; + virtual int8_t GetItemUpdateInfo( uint64_t, int8_t *, int8_t *, uint64_t *, uint64_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t GetNumInstalledApps( ) = 0; + virtual uint32_t GetInstalledApps( uint32_t *, uint32_t ) = 0; + virtual int32_t GetAppName( uint32_t, char *, int32_t ) = 0; + virtual int32_t GetAppInstallDir( uint32_t, char *, int32_t ) = 0; + virtual int32_t GetAppBuildId( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer012 +{ +#ifdef __cplusplus + virtual int8_t InitGameServer( uint32_t, uint16_t, uint16_t, uint32_t, uint32_t, const char * ) = 0; + virtual void SetProduct( const char * ) = 0; + virtual void SetGameDescription( const char * ) = 0; + virtual void SetModDir( const char * ) = 0; + virtual void SetDedicatedServer( int8_t ) = 0; + virtual void LogOn( const char * ) = 0; + virtual void LogOnAnonymous( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void SetMaxPlayerCount( int32_t ) = 0; + virtual void SetBotPlayerCount( int32_t ) = 0; + virtual void SetServerName( const char * ) = 0; + virtual void SetMapName( const char * ) = 0; + virtual void SetPasswordProtected( int8_t ) = 0; + virtual void SetSpectatorPort( uint16_t ) = 0; + virtual void SetSpectatorServerName( const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual void SetRegion( const char * ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual uint32_t GetPublicIP( ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual void EnableHeartbeats( int8_t ) = 0; + virtual void SetHeartbeatInterval( int32_t ) = 0; + virtual void ForceHeartbeat( ) = 0; + virtual uint64_t AssociateWithClan( CSteamID ) = 0; + virtual uint64_t ComputeNewPlayerCompatibility( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient014 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUnifiedMessages*/ * GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient015 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUnifiedMessages*/ * GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual int8_t RegisterSteamMusicRemote( const char * ) = 0; + virtual int8_t DeregisterSteamMusicRemote( ) = 0; + virtual int8_t BIsCurrentMusicRemote( ) = 0; + virtual int8_t BActivationSuccess( int8_t ) = 0; + virtual int8_t SetDisplayName( const char * ) = 0; + virtual int8_t SetPNGIcon_64x64( void *, uint32_t ) = 0; + virtual int8_t EnablePlayPrevious( int8_t ) = 0; + virtual int8_t EnablePlayNext( int8_t ) = 0; + virtual int8_t EnableShuffled( int8_t ) = 0; + virtual int8_t EnableLooped( int8_t ) = 0; + virtual int8_t EnableQueue( int8_t ) = 0; + virtual int8_t EnablePlaylists( int8_t ) = 0; + virtual int8_t UpdatePlaybackStatus( uint32_t ) = 0; + virtual int8_t UpdateShuffled( int8_t ) = 0; + virtual int8_t UpdateLooped( int8_t ) = 0; + virtual int8_t UpdateVolume( float ) = 0; + virtual int8_t CurrentEntryWillChange( ) = 0; + virtual int8_t CurrentEntryIsAvailable( int8_t ) = 0; + virtual int8_t UpdateCurrentEntryText( const char * ) = 0; + virtual int8_t UpdateCurrentEntryElapsedSeconds( int32_t ) = 0; + virtual int8_t UpdateCurrentEntryCoverArt( void *, uint32_t ) = 0; + virtual int8_t CurrentEntryDidChange( ) = 0; + virtual int8_t QueueWillChange( ) = 0; + virtual int8_t ResetQueueEntries( ) = 0; + virtual int8_t SetQueueEntry( int32_t, int32_t, const char * ) = 0; + virtual int8_t SetCurrentQueueEntry( int32_t ) = 0; + virtual int8_t QueueDidChange( ) = 0; + virtual int8_t PlaylistWillChange( ) = 0; + virtual int8_t ResetPlaylistEntries( ) = 0; + virtual int8_t SetPlaylistEntry( int32_t, int32_t, const char * ) = 0; + virtual int8_t SetCurrentPlaylistEntry( int32_t ) = 0; + virtual int8_t PlaylistDidChange( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient016 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUnifiedMessages*/ * GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0; + virtual void Set_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(uint64_t, void *, uint32_t, int32_t) ) = 0; + virtual void Remove_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(uint64_t, void *, uint32_t, int32_t) ) = 0; + virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*U_STDCALL )(int32_t) ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, int8_t * ) = 0; + virtual int8_t GetItemUpdateInfo( uint64_t, int8_t *, int8_t *, uint64_t *, uint64_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 +{ +#ifdef __cplusplus + virtual ~u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001( ) = 0; + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual uint64_t CreateBrowser( const char *, const char * ) = 0; + virtual void RemoveBrowser( uint32_t ) = 0; + virtual void LoadURL( uint32_t, const char *, const char * ) = 0; + virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0; + virtual void StopLoad( uint32_t ) = 0; + virtual void Reload( uint32_t ) = 0; + virtual void GoBack( uint32_t ) = 0; + virtual void GoForward( uint32_t ) = 0; + virtual void AddHeader( uint32_t, const char *, const char * ) = 0; + virtual void ExecuteJavascript( uint32_t, const char * ) = 0; + virtual void MouseUp( uint32_t, uint32_t ) = 0; + virtual void MouseDown( uint32_t, uint32_t ) = 0; + virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0; + virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0; + virtual void MouseWheel( uint32_t, int32_t ) = 0; + virtual void KeyDown( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0; + virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0; + virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0; + virtual void SetKeyFocus( uint32_t, int8_t ) = 0; + virtual void ViewSource( uint32_t ) = 0; + virtual void CopyToClipboard( uint32_t ) = 0; + virtual void PasteFromClipboard( uint32_t ) = 0; + virtual void Find( uint32_t, const char *, int8_t, int8_t ) = 0; + virtual void StopFind( uint32_t ) = 0; + virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0; + virtual void AllowStartRequest( uint32_t, int8_t ) = 0; + virtual void JSDialogResponse( uint32_t, int8_t ) = 0; + virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 +{ +#ifdef __cplusplus + virtual ~u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002( ) = 0; + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual uint64_t CreateBrowser( const char *, const char * ) = 0; + virtual void RemoveBrowser( uint32_t ) = 0; + virtual void LoadURL( uint32_t, const char *, const char * ) = 0; + virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0; + virtual void StopLoad( uint32_t ) = 0; + virtual void Reload( uint32_t ) = 0; + virtual void GoBack( uint32_t ) = 0; + virtual void GoForward( uint32_t ) = 0; + virtual void AddHeader( uint32_t, const char *, const char * ) = 0; + virtual void ExecuteJavascript( uint32_t, const char * ) = 0; + virtual void MouseUp( uint32_t, uint32_t ) = 0; + virtual void MouseDown( uint32_t, uint32_t ) = 0; + virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0; + virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0; + virtual void MouseWheel( uint32_t, int32_t ) = 0; + virtual void KeyDown( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0; + virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0; + virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0; + virtual void SetKeyFocus( uint32_t, int8_t ) = 0; + virtual void ViewSource( uint32_t ) = 0; + virtual void CopyToClipboard( uint32_t ) = 0; + virtual void PasteFromClipboard( uint32_t ) = 0; + virtual void Find( uint32_t, const char *, int8_t, int8_t ) = 0; + virtual void StopFind( uint32_t ) = 0; + virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0; + virtual void SetCookie( const char *, const char *, const char *, const char *, uint32_t, int8_t, int8_t ) = 0; + virtual void SetPageScaleFactor( uint32_t, float, int32_t, int32_t ) = 0; + virtual void AllowStartRequest( uint32_t, int8_t ) = 0; + virtual void JSDialogResponse( uint32_t, int8_t ) = 0; + virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient017 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void * DEPRECATED_GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0; + virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*U_STDCALL )(int32_t) ) = 0; + virtual void /*ISteamInventory*/ * GetISteamInventory( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamVideo*/ * GetISteamVideo( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParentalSettings*/ * GetISteamParentalSettings( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser018 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends015 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual uint64_t SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int32_t GetFriendSteamLevel( CSteamID ) = 0; + virtual const char * GetPlayerNickname( CSteamID ) = 0; + virtual int32_t GetFriendsGroupCount( ) = 0; + virtual int16_t GetFriendsGroupIDByIndex( int32_t ) = 0; + virtual const char * GetFriendsGroupName( int16_t ) = 0; + virtual int32_t GetFriendsGroupMembersCount( int16_t ) = 0; + virtual void GetFriendsGroupMembersList( int16_t, CSteamID *, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char * ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t, uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; + virtual int8_t IsClanPublic( CSteamID ) = 0; + virtual int8_t IsClanOfficialGameGroup( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION007 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; + virtual uint32_t GetEarliestPurchaseUnixTime( uint32_t ) = 0; + virtual int8_t BIsSubscribedFromFreeWeekend( ) = 0; + virtual int32_t GetDLCCount( ) = 0; + virtual int8_t BGetDLCDataByIndex( int32_t, uint32_t *, int8_t *, char *, int32_t ) = 0; + virtual void InstallDLC( uint32_t ) = 0; + virtual void UninstallDLC( uint32_t ) = 0; + virtual void RequestAppProofOfPurchaseKey( uint32_t ) = 0; + virtual int8_t GetCurrentBetaName( char *, int32_t ) = 0; + virtual int8_t MarkContentCorrupt( int8_t ) = 0; + virtual uint32_t GetInstalledDepots( uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetAppInstallDir( uint32_t, char *, uint32_t ) = 0; + virtual int8_t BIsAppInstalled( uint32_t ) = 0; + virtual CSteamID GetAppOwner( ) = 0; + virtual const char * GetLaunchQueryParam( const char * ) = 0; + virtual int8_t GetDlcDownloadProgress( uint32_t, uint64_t *, uint64_t * ) = 0; + virtual int32_t GetAppBuildId( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V001 +{ +#ifdef __cplusplus + virtual uint32_t GetResultStatus( int32_t ) = 0; + virtual int8_t GetResultItems( int32_t, SteamItemDetails_t *, uint32_t * ) = 0; + virtual uint32_t GetResultTimestamp( int32_t ) = 0; + virtual int8_t CheckResultSteamID( int32_t, CSteamID ) = 0; + virtual void DestroyResult( int32_t ) = 0; + virtual int8_t GetAllItems( int32_t * ) = 0; + virtual int8_t GetItemsByID( int32_t *, const uint64_t *, uint32_t ) = 0; + virtual int8_t SerializeResult( int32_t, void *, uint32_t * ) = 0; + virtual int8_t DeserializeResult( int32_t *, const void *, uint32_t, int8_t ) = 0; + virtual int8_t GenerateItems( int32_t *, const int32_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t GrantPromoItems( int32_t * ) = 0; + virtual int8_t AddPromoItem( int32_t *, int32_t ) = 0; + virtual int8_t AddPromoItems( int32_t *, const int32_t *, uint32_t ) = 0; + virtual int8_t ConsumeItem( int32_t *, uint64_t, uint32_t ) = 0; + virtual int8_t ExchangeItems( int32_t *, const int32_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t TransferItemQuantity( int32_t *, uint64_t, uint32_t, uint64_t ) = 0; + virtual void SendItemDropHeartbeat( ) = 0; + virtual int8_t TriggerItemDrop( int32_t *, int32_t ) = 0; + virtual int8_t TradeItems( int32_t *, CSteamID, const uint64_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t LoadItemDefinitions( ) = 0; + virtual int8_t GetItemDefinitionIDs( int32_t *, uint32_t * ) = 0; + virtual int8_t GetItemDefinitionProperty( int32_t, const char *, char *, uint32_t * ) = 0; + virtual uint64_t RequestEligiblePromoItemDefinitionsIDs( CSteamID ) = 0; + virtual int8_t GetEligiblePromoItemDefinitionIDs( CSteamID, int32_t *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V001 +{ +#ifdef __cplusplus + virtual void GetVideoURL( uint32_t ) = 0; + virtual int8_t IsBroadcasting( int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION004 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION005 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, int8_t * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 +{ +#ifdef __cplusplus + virtual ~u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003( ) = 0; + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual uint64_t CreateBrowser( const char *, const char * ) = 0; + virtual void RemoveBrowser( uint32_t ) = 0; + virtual void LoadURL( uint32_t, const char *, const char * ) = 0; + virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0; + virtual void StopLoad( uint32_t ) = 0; + virtual void Reload( uint32_t ) = 0; + virtual void GoBack( uint32_t ) = 0; + virtual void GoForward( uint32_t ) = 0; + virtual void AddHeader( uint32_t, const char *, const char * ) = 0; + virtual void ExecuteJavascript( uint32_t, const char * ) = 0; + virtual void MouseUp( uint32_t, uint32_t ) = 0; + virtual void MouseDown( uint32_t, uint32_t ) = 0; + virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0; + virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0; + virtual void MouseWheel( uint32_t, int32_t ) = 0; + virtual void KeyDown( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0; + virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0; + virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0; + virtual void SetKeyFocus( uint32_t, int8_t ) = 0; + virtual void ViewSource( uint32_t ) = 0; + virtual void CopyToClipboard( uint32_t ) = 0; + virtual void PasteFromClipboard( uint32_t ) = 0; + virtual void Find( uint32_t, const char *, int8_t, int8_t ) = 0; + virtual void StopFind( uint32_t ) = 0; + virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0; + virtual void SetCookie( const char *, const char *, const char *, const char *, uint32_t, int8_t, int8_t ) = 0; + virtual void SetPageScaleFactor( uint32_t, float, int32_t, int32_t ) = 0; + virtual void SetBackgroundMode( uint32_t, int8_t ) = 0; + virtual void AllowStartRequest( uint32_t, int8_t ) = 0; + virtual void JSDialogResponse( uint32_t, int8_t ) = 0; + virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION006 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, int8_t * ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, int8_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual uint64_t FileWriteAsync( const char *, const void *, uint32_t ) = 0; + virtual uint64_t FileReadAsync( const char *, uint32_t, uint32_t ) = 0; + virtual int8_t FileReadAsyncComplete( uint64_t, void *, uint32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( int32_t *, int32_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController003 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual ControllerDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual ControllerAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser019 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; + virtual int8_t BIsPhoneVerified( ) = 0; + virtual int8_t BIsTwoFactorEnabled( ) = 0; + virtual int8_t BIsPhoneIdentifying( ) = 0; + virtual int8_t BIsPhoneRequiringVerification( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils008 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t, const char * ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; + virtual const char * GetSteamUILanguage( ) = 0; + virtual int8_t IsSteamRunningInVR( ) = 0; + virtual void SetOverlayNotificationInset( int32_t, int32_t ) = 0; + virtual int8_t IsSteamInBigPictureMode( ) = 0; + virtual void StartVRDashboard( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamApps_STEAMAPPS_INTERFACE_VERSION008 +{ +#ifdef __cplusplus + virtual int8_t BIsSubscribed( ) = 0; + virtual int8_t BIsLowViolence( ) = 0; + virtual int8_t BIsCybercafe( ) = 0; + virtual int8_t BIsVACBanned( ) = 0; + virtual const char * GetCurrentGameLanguage( ) = 0; + virtual const char * GetAvailableGameLanguages( ) = 0; + virtual int8_t BIsSubscribedApp( uint32_t ) = 0; + virtual int8_t BIsDlcInstalled( uint32_t ) = 0; + virtual uint32_t GetEarliestPurchaseUnixTime( uint32_t ) = 0; + virtual int8_t BIsSubscribedFromFreeWeekend( ) = 0; + virtual int32_t GetDLCCount( ) = 0; + virtual int8_t BGetDLCDataByIndex( int32_t, uint32_t *, int8_t *, char *, int32_t ) = 0; + virtual void InstallDLC( uint32_t ) = 0; + virtual void UninstallDLC( uint32_t ) = 0; + virtual void RequestAppProofOfPurchaseKey( uint32_t ) = 0; + virtual int8_t GetCurrentBetaName( char *, int32_t ) = 0; + virtual int8_t MarkContentCorrupt( int8_t ) = 0; + virtual uint32_t GetInstalledDepots( uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetAppInstallDir( uint32_t, char *, uint32_t ) = 0; + virtual int8_t BIsAppInstalled( uint32_t ) = 0; + virtual CSteamID GetAppOwner( ) = 0; + virtual const char * GetLaunchQueryParam( const char * ) = 0; + virtual int8_t GetDlcDownloadProgress( uint32_t, uint64_t *, uint64_t * ) = 0; + virtual int32_t GetAppBuildId( ) = 0; + virtual void RequestAllProofOfPurchaseKeys( ) = 0; + virtual uint64_t GetFileDetails( const char * ) = 0; + virtual int32_t GetLaunchCommandLine( char *, int32_t ) = 0; + virtual int8_t BIsSubscribedFromFamilySharing( ) = 0; + virtual int8_t BIsTimedTrial( uint32_t *, uint32_t * ) = 0; + virtual int8_t SetDlcContext( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION008 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual uint64_t FileWriteAsync( const char *, const void *, uint32_t ) = 0; + virtual uint64_t FileReadAsync( const char *, uint32_t, uint32_t ) = 0; + virtual int8_t FileReadAsyncComplete( uint64_t, void *, uint32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( uint64_t *, uint64_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual uint32_t WriteScreenshot( void *, uint32_t, int32_t, int32_t ) = 0; + virtual uint32_t AddScreenshotToLibrary( const char *, const char *, int32_t, int32_t ) = 0; + virtual void TriggerScreenshot( ) = 0; + virtual void HookScreenshots( int8_t ) = 0; + virtual int8_t SetLocation( uint32_t, const char * ) = 0; + virtual int8_t TagUser( uint32_t, CSteamID ) = 0; + virtual int8_t TagPublishedFile( uint32_t, uint64_t ) = 0; + virtual int8_t IsScreenshotsHooked( ) = 0; + virtual uint32_t AddVRScreenshotToLibrary( uint32_t, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController004 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual ControllerDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual ControllerAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual ControllerMotionData_t GetMotionData( uint64_t ) = 0; + virtual int8_t ShowDigitalActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; + virtual int8_t ShowAnalogActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION009 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController005 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual ControllerDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual ControllerAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual ControllerMotionData_t GetMotionData( uint64_t ) = 0; + virtual int8_t ShowDigitalActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; + virtual int8_t ShowAnalogActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils009 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t, const char * ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; + virtual const char * GetSteamUILanguage( ) = 0; + virtual int8_t IsSteamRunningInVR( ) = 0; + virtual void SetOverlayNotificationInset( int32_t, int32_t ) = 0; + virtual int8_t IsSteamInBigPictureMode( ) = 0; + virtual void StartVRDashboard( ) = 0; + virtual int8_t IsVRHeadsetStreamingEnabled( ) = 0; + virtual void SetVRHeadsetStreamingEnabled( int8_t ) = 0; + virtual int8_t IsSteamChinaLauncher( ) = 0; + virtual int8_t InitFilterText( ) = 0; + virtual int32_t FilterText( char *, uint32_t, const char *, int8_t ) = 0; + virtual uint32_t GetIPv6ConnectivityState( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION010 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V002 +{ +#ifdef __cplusplus + virtual uint32_t GetResultStatus( int32_t ) = 0; + virtual int8_t GetResultItems( int32_t, SteamItemDetails_t *, uint32_t * ) = 0; + virtual int8_t GetResultItemProperty( int32_t, uint32_t, const char *, char *, uint32_t * ) = 0; + virtual uint32_t GetResultTimestamp( int32_t ) = 0; + virtual int8_t CheckResultSteamID( int32_t, CSteamID ) = 0; + virtual void DestroyResult( int32_t ) = 0; + virtual int8_t GetAllItems( int32_t * ) = 0; + virtual int8_t GetItemsByID( int32_t *, const uint64_t *, uint32_t ) = 0; + virtual int8_t SerializeResult( int32_t, void *, uint32_t * ) = 0; + virtual int8_t DeserializeResult( int32_t *, const void *, uint32_t, int8_t ) = 0; + virtual int8_t GenerateItems( int32_t *, const int32_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t GrantPromoItems( int32_t * ) = 0; + virtual int8_t AddPromoItem( int32_t *, int32_t ) = 0; + virtual int8_t AddPromoItems( int32_t *, const int32_t *, uint32_t ) = 0; + virtual int8_t ConsumeItem( int32_t *, uint64_t, uint32_t ) = 0; + virtual int8_t ExchangeItems( int32_t *, const int32_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t TransferItemQuantity( int32_t *, uint64_t, uint32_t, uint64_t ) = 0; + virtual void SendItemDropHeartbeat( ) = 0; + virtual int8_t TriggerItemDrop( int32_t *, int32_t ) = 0; + virtual int8_t TradeItems( int32_t *, CSteamID, const uint64_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t LoadItemDefinitions( ) = 0; + virtual int8_t GetItemDefinitionIDs( int32_t *, uint32_t * ) = 0; + virtual int8_t GetItemDefinitionProperty( int32_t, const char *, char *, uint32_t * ) = 0; + virtual uint64_t RequestEligiblePromoItemDefinitionsIDs( CSteamID ) = 0; + virtual int8_t GetEligiblePromoItemDefinitionIDs( CSteamID, int32_t *, uint32_t * ) = 0; + virtual uint64_t StartPurchase( const int32_t *, const uint32_t *, uint32_t ) = 0; + virtual uint64_t RequestPrices( ) = 0; + virtual uint32_t GetNumItemsWithPrices( ) = 0; + virtual int8_t GetItemsWithPrices( int32_t *, uint64_t *, uint32_t ) = 0; + virtual int8_t GetItemPrice( int32_t, uint64_t * ) = 0; + virtual uint64_t StartUpdateProperties( ) = 0; + virtual int8_t RemoveProperty( uint64_t, uint64_t, const char * ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, const char * ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, int8_t ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, int64_t ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, float ) = 0; + virtual int8_t SubmitUpdateProperties( uint64_t, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamVideo_STEAMVIDEO_INTERFACE_V002 +{ +#ifdef __cplusplus + virtual void GetVideoURL( uint32_t ) = 0; + virtual int8_t IsBroadcasting( int32_t * ) = 0; + virtual void GetOPFSettings( uint32_t ) = 0; + virtual int8_t GetOPFStringForApp( uint32_t, char *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 +{ +#ifdef __cplusplus + virtual ~u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004( ) = 0; + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual uint64_t CreateBrowser( const char *, const char * ) = 0; + virtual void RemoveBrowser( uint32_t ) = 0; + virtual void LoadURL( uint32_t, const char *, const char * ) = 0; + virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0; + virtual void StopLoad( uint32_t ) = 0; + virtual void Reload( uint32_t ) = 0; + virtual void GoBack( uint32_t ) = 0; + virtual void GoForward( uint32_t ) = 0; + virtual void AddHeader( uint32_t, const char *, const char * ) = 0; + virtual void ExecuteJavascript( uint32_t, const char * ) = 0; + virtual void MouseUp( uint32_t, uint32_t ) = 0; + virtual void MouseDown( uint32_t, uint32_t ) = 0; + virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0; + virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0; + virtual void MouseWheel( uint32_t, int32_t ) = 0; + virtual void KeyDown( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0; + virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0; + virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0; + virtual void SetKeyFocus( uint32_t, int8_t ) = 0; + virtual void ViewSource( uint32_t ) = 0; + virtual void CopyToClipboard( uint32_t ) = 0; + virtual void PasteFromClipboard( uint32_t ) = 0; + virtual void Find( uint32_t, const char *, int8_t, int8_t ) = 0; + virtual void StopFind( uint32_t ) = 0; + virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0; + virtual void SetCookie( const char *, const char *, const char *, const char *, uint32_t, int8_t, int8_t ) = 0; + virtual void SetPageScaleFactor( uint32_t, float, int32_t, int32_t ) = 0; + virtual void SetBackgroundMode( uint32_t, int8_t ) = 0; + virtual void SetDPIScalingFactor( uint32_t, float ) = 0; + virtual void AllowStartRequest( uint32_t, int8_t ) = 0; + virtual void JSDialogResponse( uint32_t, int8_t ) = 0; + virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual int8_t BIsParentalLockEnabled( ) = 0; + virtual int8_t BIsParentalLockLocked( ) = 0; + virtual int8_t BIsAppBlocked( uint32_t ) = 0; + virtual int8_t BIsAppInBlockList( uint32_t ) = 0; + virtual int8_t BIsFeatureBlocked( uint32_t ) = 0; + virtual int8_t BIsFeatureInBlockList( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController006 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual ControllerDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual ControllerAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual ControllerMotionData_t GetMotionData( uint64_t ) = 0; + virtual int8_t ShowDigitalActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; + virtual int8_t ShowAnalogActionOrigins( uint64_t, uint64_t, float, float, float ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient018 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameSearch*/ * GetISteamGameSearch( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void * DEPRECATED_GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0; + virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*U_STDCALL )(int32_t) ) = 0; + virtual void /*ISteamInventory*/ * GetISteamInventory( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamVideo*/ * GetISteamVideo( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParentalSettings*/ * GetISteamParentalSettings( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamInput*/ * GetISteamInput( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParties*/ * GetISteamParties( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser020 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; + virtual int8_t BIsPhoneVerified( ) = 0; + virtual int8_t BIsTwoFactorEnabled( ) = 0; + virtual int8_t BIsPhoneIdentifying( ) = 0; + virtual int8_t BIsPhoneRequiringVerification( ) = 0; + virtual uint64_t GetMarketEligibility( ) = 0; + virtual uint64_t GetDurationControl( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamFriends_SteamFriends017 +{ +#ifdef __cplusplus + virtual const char * GetPersonaName( ) = 0; + virtual uint64_t SetPersonaName( const char * ) = 0; + virtual uint32_t GetPersonaState( ) = 0; + virtual int32_t GetFriendCount( int32_t ) = 0; + virtual CSteamID GetFriendByIndex( int32_t, int32_t ) = 0; + virtual uint32_t GetFriendRelationship( CSteamID ) = 0; + virtual uint32_t GetFriendPersonaState( CSteamID ) = 0; + virtual const char * GetFriendPersonaName( CSteamID ) = 0; + virtual int8_t GetFriendGamePlayed( CSteamID, FriendGameInfo_t * ) = 0; + virtual const char * GetFriendPersonaNameHistory( CSteamID, int32_t ) = 0; + virtual int32_t GetFriendSteamLevel( CSteamID ) = 0; + virtual const char * GetPlayerNickname( CSteamID ) = 0; + virtual int32_t GetFriendsGroupCount( ) = 0; + virtual int16_t GetFriendsGroupIDByIndex( int32_t ) = 0; + virtual const char * GetFriendsGroupName( int16_t ) = 0; + virtual int32_t GetFriendsGroupMembersCount( int16_t ) = 0; + virtual void GetFriendsGroupMembersList( int16_t, CSteamID *, int32_t ) = 0; + virtual int8_t HasFriend( CSteamID, int32_t ) = 0; + virtual int32_t GetClanCount( ) = 0; + virtual CSteamID GetClanByIndex( int32_t ) = 0; + virtual const char * GetClanName( CSteamID ) = 0; + virtual const char * GetClanTag( CSteamID ) = 0; + virtual int8_t GetClanActivityCounts( CSteamID, int32_t *, int32_t *, int32_t * ) = 0; + virtual uint64_t DownloadClanActivityCounts( CSteamID *, int32_t ) = 0; + virtual int32_t GetFriendCountFromSource( CSteamID ) = 0; + virtual CSteamID GetFriendFromSourceByIndex( CSteamID, int32_t ) = 0; + virtual int8_t IsUserInSource( CSteamID, CSteamID ) = 0; + virtual void SetInGameVoiceSpeaking( CSteamID, int8_t ) = 0; + virtual void ActivateGameOverlay( const char * ) = 0; + virtual void ActivateGameOverlayToUser( const char *, CSteamID ) = 0; + virtual void ActivateGameOverlayToWebPage( const char *, uint32_t ) = 0; + virtual void ActivateGameOverlayToStore( uint32_t, uint32_t ) = 0; + virtual void SetPlayedWith( CSteamID ) = 0; + virtual void ActivateGameOverlayInviteDialog( CSteamID ) = 0; + virtual int32_t GetSmallFriendAvatar( CSteamID ) = 0; + virtual int32_t GetMediumFriendAvatar( CSteamID ) = 0; + virtual int32_t GetLargeFriendAvatar( CSteamID ) = 0; + virtual int8_t RequestUserInformation( CSteamID, int8_t ) = 0; + virtual uint64_t RequestClanOfficerList( CSteamID ) = 0; + virtual CSteamID GetClanOwner( CSteamID ) = 0; + virtual int32_t GetClanOfficerCount( CSteamID ) = 0; + virtual CSteamID GetClanOfficerByIndex( CSteamID, int32_t ) = 0; + virtual uint32_t GetUserRestrictions( ) = 0; + virtual int8_t SetRichPresence( const char *, const char * ) = 0; + virtual void ClearRichPresence( ) = 0; + virtual const char * GetFriendRichPresence( CSteamID, const char * ) = 0; + virtual int32_t GetFriendRichPresenceKeyCount( CSteamID ) = 0; + virtual const char * GetFriendRichPresenceKeyByIndex( CSteamID, int32_t ) = 0; + virtual void RequestFriendRichPresence( CSteamID ) = 0; + virtual int8_t InviteUserToGame( CSteamID, const char * ) = 0; + virtual int32_t GetCoplayFriendCount( ) = 0; + virtual CSteamID GetCoplayFriend( int32_t ) = 0; + virtual int32_t GetFriendCoplayTime( CSteamID ) = 0; + virtual uint32_t GetFriendCoplayGame( CSteamID ) = 0; + virtual uint64_t JoinClanChatRoom( CSteamID ) = 0; + virtual int8_t LeaveClanChatRoom( CSteamID ) = 0; + virtual int32_t GetClanChatMemberCount( CSteamID ) = 0; + virtual CSteamID GetChatMemberByIndex( CSteamID, int32_t ) = 0; + virtual int8_t SendClanChatMessage( CSteamID, const char * ) = 0; + virtual int32_t GetClanChatMessage( CSteamID, int32_t, void *, int32_t, uint32_t *, CSteamID * ) = 0; + virtual int8_t IsClanChatAdmin( CSteamID, CSteamID ) = 0; + virtual int8_t IsClanChatWindowOpenInSteam( CSteamID ) = 0; + virtual int8_t OpenClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t CloseClanChatWindowInSteam( CSteamID ) = 0; + virtual int8_t SetListenForFriendsMessages( int8_t ) = 0; + virtual int8_t ReplyToFriendMessage( CSteamID, const char * ) = 0; + virtual int32_t GetFriendMessage( CSteamID, int32_t, void *, int32_t, uint32_t * ) = 0; + virtual uint64_t GetFollowerCount( CSteamID ) = 0; + virtual uint64_t IsFollowing( CSteamID ) = 0; + virtual uint64_t EnumerateFollowingList( uint32_t ) = 0; + virtual int8_t IsClanPublic( CSteamID ) = 0; + virtual int8_t IsClanOfficialGameGroup( CSteamID ) = 0; + virtual int32_t GetNumChatsWithUnreadPriorityMessages( ) = 0; + virtual void ActivateGameOverlayRemotePlayTogetherInviteDialog( CSteamID ) = 0; + virtual int8_t RegisterProtocolInOverlayBrowser( const char * ) = 0; + virtual void ActivateGameOverlayInviteDialogConnectString( const char * ) = 0; + virtual uint64_t RequestEquippedProfileItems( CSteamID ) = 0; + virtual int8_t BHasEquippedProfileItem( CSteamID, uint32_t ) = 0; + virtual const char * GetProfileItemPropertyString( CSteamID, uint32_t, uint32_t ) = 0; + virtual uint32_t GetProfileItemPropertyUint( CSteamID, uint32_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameSearch_SteamMatchGameSearch001 +{ +#ifdef __cplusplus + virtual uint32_t AddGameSearchParams( const char *, const char * ) = 0; + virtual uint32_t SearchForGameWithLobby( CSteamID, int32_t, int32_t ) = 0; + virtual uint32_t SearchForGameSolo( int32_t, int32_t ) = 0; + virtual uint32_t AcceptGame( ) = 0; + virtual uint32_t DeclineGame( ) = 0; + virtual uint32_t RetrieveConnectionDetails( CSteamID, char *, int32_t ) = 0; + virtual uint32_t EndGameSearch( ) = 0; + virtual uint32_t SetGameHostParams( const char *, const char * ) = 0; + virtual uint32_t SetConnectionDetails( const char *, int32_t ) = 0; + virtual uint32_t RequestPlayersForGame( int32_t, int32_t, int32_t ) = 0; + virtual uint32_t HostConfirmGameStart( uint64_t ) = 0; + virtual uint32_t CancelRequestPlayersForGame( ) = 0; + virtual uint32_t SubmitPlayerResult( uint64_t, CSteamID, uint32_t ) = 0; + virtual uint32_t EndGame( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamParties_SteamParties002 +{ +#ifdef __cplusplus + virtual uint32_t GetNumActiveBeacons( ) = 0; + virtual uint64_t GetBeaconByIndex( uint32_t ) = 0; + virtual int8_t GetBeaconDetails( uint64_t, CSteamID *, u_SteamPartyBeaconLocation_t *, char *, int32_t ) = 0; + virtual uint64_t JoinParty( uint64_t ) = 0; + virtual int8_t GetNumAvailableBeaconLocations( uint32_t * ) = 0; + virtual int8_t GetAvailableBeaconLocations( u_SteamPartyBeaconLocation_t *, uint32_t ) = 0; + virtual uint64_t CreateBeacon( uint32_t, u_SteamPartyBeaconLocation_t *, const char *, const char * ) = 0; + virtual void OnReservationCompleted( uint64_t, CSteamID ) = 0; + virtual void CancelReservation( uint64_t, CSteamID ) = 0; + virtual uint64_t ChangeNumOpenSlots( uint64_t, uint32_t ) = 0; + virtual int8_t DestroyBeacon( uint64_t ) = 0; + virtual int8_t GetBeaconLocationData( u_SteamPartyBeaconLocation_t, uint32_t, char *, int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 +{ +#ifdef __cplusplus + virtual uint32_t CreateHTTPRequest( uint32_t, const char * ) = 0; + virtual int8_t SetHTTPRequestContextValue( uint32_t, uint64_t ) = 0; + virtual int8_t SetHTTPRequestNetworkActivityTimeout( uint32_t, uint32_t ) = 0; + virtual int8_t SetHTTPRequestHeaderValue( uint32_t, const char *, const char * ) = 0; + virtual int8_t SetHTTPRequestGetOrPostParameter( uint32_t, const char *, const char * ) = 0; + virtual int8_t SendHTTPRequest( uint32_t, uint64_t * ) = 0; + virtual int8_t SendHTTPRequestAndStreamResponse( uint32_t, uint64_t * ) = 0; + virtual int8_t DeferHTTPRequest( uint32_t ) = 0; + virtual int8_t PrioritizeHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPResponseHeaderSize( uint32_t, const char *, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseHeaderValue( uint32_t, const char *, uint8_t *, uint32_t ) = 0; + virtual int8_t GetHTTPResponseBodySize( uint32_t, uint32_t * ) = 0; + virtual int8_t GetHTTPResponseBodyData( uint32_t, uint8_t *, uint32_t ) = 0; + virtual int8_t GetHTTPStreamingResponseBodyData( uint32_t, uint32_t, uint8_t *, uint32_t ) = 0; + virtual int8_t ReleaseHTTPRequest( uint32_t ) = 0; + virtual int8_t GetHTTPDownloadProgressPct( uint32_t, float * ) = 0; + virtual int8_t SetHTTPRequestRawPostBody( uint32_t, const char *, uint8_t *, uint32_t ) = 0; + virtual uint32_t CreateCookieContainer( int8_t ) = 0; + virtual int8_t ReleaseCookieContainer( uint32_t ) = 0; + virtual int8_t SetCookie( uint32_t, const char *, const char *, const char * ) = 0; + virtual int8_t SetHTTPRequestCookieContainer( uint32_t, uint32_t ) = 0; + virtual int8_t SetHTTPRequestUserAgentInfo( uint32_t, const char * ) = 0; + virtual int8_t SetHTTPRequestRequiresVerifiedCertificate( uint32_t, int8_t ) = 0; + virtual int8_t SetHTTPRequestAbsoluteTimeoutMS( uint32_t, uint32_t ) = 0; + virtual int8_t GetHTTPRequestWasTimedOut( uint32_t, int8_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInput_SteamInput001 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetDeviceBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; + virtual uint32_t GetRemotePlaySessionID( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController007 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION012 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 +{ +#ifdef __cplusplus + virtual ~u_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005( ) = 0; + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual uint64_t CreateBrowser( const char *, const char * ) = 0; + virtual void RemoveBrowser( uint32_t ) = 0; + virtual void LoadURL( uint32_t, const char *, const char * ) = 0; + virtual void SetSize( uint32_t, uint32_t, uint32_t ) = 0; + virtual void StopLoad( uint32_t ) = 0; + virtual void Reload( uint32_t ) = 0; + virtual void GoBack( uint32_t ) = 0; + virtual void GoForward( uint32_t ) = 0; + virtual void AddHeader( uint32_t, const char *, const char * ) = 0; + virtual void ExecuteJavascript( uint32_t, const char * ) = 0; + virtual void MouseUp( uint32_t, uint32_t ) = 0; + virtual void MouseDown( uint32_t, uint32_t ) = 0; + virtual void MouseDoubleClick( uint32_t, uint32_t ) = 0; + virtual void MouseMove( uint32_t, int32_t, int32_t ) = 0; + virtual void MouseWheel( uint32_t, int32_t ) = 0; + virtual void KeyDown( uint32_t, uint32_t, uint32_t, int8_t ) = 0; + virtual void KeyUp( uint32_t, uint32_t, uint32_t ) = 0; + virtual void KeyChar( uint32_t, uint32_t, uint32_t ) = 0; + virtual void SetHorizontalScroll( uint32_t, uint32_t ) = 0; + virtual void SetVerticalScroll( uint32_t, uint32_t ) = 0; + virtual void SetKeyFocus( uint32_t, int8_t ) = 0; + virtual void ViewSource( uint32_t ) = 0; + virtual void CopyToClipboard( uint32_t ) = 0; + virtual void PasteFromClipboard( uint32_t ) = 0; + virtual void Find( uint32_t, const char *, int8_t, int8_t ) = 0; + virtual void StopFind( uint32_t ) = 0; + virtual void GetLinkAtPosition( uint32_t, int32_t, int32_t ) = 0; + virtual void SetCookie( const char *, const char *, const char *, const char *, uint32_t, int8_t, int8_t ) = 0; + virtual void SetPageScaleFactor( uint32_t, float, int32_t, int32_t ) = 0; + virtual void SetBackgroundMode( uint32_t, int8_t ) = 0; + virtual void SetDPIScalingFactor( uint32_t, float ) = 0; + virtual void OpenDeveloperTools( uint32_t ) = 0; + virtual void AllowStartRequest( uint32_t, int8_t ) = 0; + virtual void JSDialogResponse( uint32_t, int8_t ) = 0; + virtual void FileLoadDialogResponse( uint32_t, const char ** ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInventory_STEAMINVENTORY_INTERFACE_V003 +{ +#ifdef __cplusplus + virtual uint32_t GetResultStatus( int32_t ) = 0; + virtual int8_t GetResultItems( int32_t, SteamItemDetails_t *, uint32_t * ) = 0; + virtual int8_t GetResultItemProperty( int32_t, uint32_t, const char *, char *, uint32_t * ) = 0; + virtual uint32_t GetResultTimestamp( int32_t ) = 0; + virtual int8_t CheckResultSteamID( int32_t, CSteamID ) = 0; + virtual void DestroyResult( int32_t ) = 0; + virtual int8_t GetAllItems( int32_t * ) = 0; + virtual int8_t GetItemsByID( int32_t *, const uint64_t *, uint32_t ) = 0; + virtual int8_t SerializeResult( int32_t, void *, uint32_t * ) = 0; + virtual int8_t DeserializeResult( int32_t *, const void *, uint32_t, int8_t ) = 0; + virtual int8_t GenerateItems( int32_t *, const int32_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t GrantPromoItems( int32_t * ) = 0; + virtual int8_t AddPromoItem( int32_t *, int32_t ) = 0; + virtual int8_t AddPromoItems( int32_t *, const int32_t *, uint32_t ) = 0; + virtual int8_t ConsumeItem( int32_t *, uint64_t, uint32_t ) = 0; + virtual int8_t ExchangeItems( int32_t *, const int32_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t TransferItemQuantity( int32_t *, uint64_t, uint32_t, uint64_t ) = 0; + virtual void SendItemDropHeartbeat( ) = 0; + virtual int8_t TriggerItemDrop( int32_t *, int32_t ) = 0; + virtual int8_t TradeItems( int32_t *, CSteamID, const uint64_t *, const uint32_t *, uint32_t, const uint64_t *, const uint32_t *, uint32_t ) = 0; + virtual int8_t LoadItemDefinitions( ) = 0; + virtual int8_t GetItemDefinitionIDs( int32_t *, uint32_t * ) = 0; + virtual int8_t GetItemDefinitionProperty( int32_t, const char *, char *, uint32_t * ) = 0; + virtual uint64_t RequestEligiblePromoItemDefinitionsIDs( CSteamID ) = 0; + virtual int8_t GetEligiblePromoItemDefinitionIDs( CSteamID, int32_t *, uint32_t * ) = 0; + virtual uint64_t StartPurchase( const int32_t *, const uint32_t *, uint32_t ) = 0; + virtual uint64_t RequestPrices( ) = 0; + virtual uint32_t GetNumItemsWithPrices( ) = 0; + virtual int8_t GetItemsWithPrices( int32_t *, uint64_t *, uint64_t *, uint32_t ) = 0; + virtual int8_t GetItemPrice( int32_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t StartUpdateProperties( ) = 0; + virtual int8_t RemoveProperty( uint64_t, uint64_t, const char * ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, const char * ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, int8_t ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, int64_t ) = 0; + virtual int8_t SetProperty( uint64_t, uint64_t, const char *, float ) = 0; + virtual int8_t SubmitUpdateProperties( uint64_t, int32_t * ) = 0; + virtual int8_t InspectItem( int32_t *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 +{ +#ifdef __cplusplus + virtual void SendP2PRendezvous( CSteamID, uint32_t, const void *, uint32_t ) = 0; + virtual void SendP2PConnectionFailure( CSteamID, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t GetCertAsync( ) = 0; + virtual int32_t GetNetworkConfigJSON( void *, uint32_t ) = 0; + virtual void CacheRelayTicket( const void *, uint32_t ) = 0; + virtual uint32_t GetCachedRelayTicketCount( ) = 0; + virtual int32_t GetCachedRelayTicket( uint32_t, void *, uint32_t ) = 0; + virtual void PostConnectionStateMsg( const void *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 +{ +#ifdef __cplusplus + virtual void SendP2PRendezvous( CSteamID, uint32_t, const void *, uint32_t ) = 0; + virtual void SendP2PConnectionFailure( CSteamID, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t GetCertAsync( ) = 0; + virtual int32_t GetNetworkConfigJSON( void *, uint32_t, const char * ) = 0; + virtual void CacheRelayTicket( const void *, uint32_t ) = 0; + virtual uint32_t GetCachedRelayTicketCount( ) = 0; + virtual int32_t GetCachedRelayTicket( uint32_t, void *, uint32_t ) = 0; + virtual void PostConnectionStateMsg( const void *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_144 **, int32_t ) = 0; + virtual int32_t ReceiveMessagesOnListenSocket( uint32_t, u_SteamNetworkingMessage_t_144 **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_144 * ) = 0; + virtual int8_t GetQuickConnectionStatus( uint32_t, SteamNetworkingQuickConnectionStatus * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual int8_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets002( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 +{ +#ifdef __cplusplus + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t * ) = 0; + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *, char *, int32_t ) = 0; + virtual int8_t ParsePingLocationString( const char *, SteamNetworkPingLocation_t * ) = 0; + virtual int8_t CheckPingDataUpToDate( float ) = 0; + virtual int8_t IsPingMeasurementInProgress( ) = 0; + virtual int32_t GetPingToDataCenter( uint32_t, uint32_t * ) = 0; + virtual int32_t GetDirectPingToPOP( uint32_t ) = 0; + virtual int32_t GetPOPCount( ) = 0; + virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0; + virtual int64_t GetLocalTimestamp( ) = 0; + virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0; + virtual int8_t SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0; + virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0; + virtual int8_t GetConfigValueInfo( uint32_t, const char **, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetFirstConfigValue( ) = 0; + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, int8_t ) = 0; + virtual int8_t SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0; + virtual int8_t SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0; + virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils001( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION013 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_144 **, int32_t ) = 0; + virtual int32_t ReceiveMessagesOnListenSocket( uint32_t, u_SteamNetworkingMessage_t_144 **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_144 * ) = 0; + virtual int8_t GetQuickConnectionStatus( uint32_t, SteamNetworkingQuickConnectionStatus * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t InitAuthentication( ) = 0; + virtual uint32_t GetAuthenticationStatus( SteamNetAuthenticationStatus_t * ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual uint32_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t ) = 0; + virtual uint32_t GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *, int32_t *, void * ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets004( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingUtils_SteamNetworkingUtils002 +{ +#ifdef __cplusplus + virtual uint32_t GetRelayNetworkStatus( SteamRelayNetworkStatus_t * ) = 0; + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t * ) = 0; + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *, char *, int32_t ) = 0; + virtual int8_t ParsePingLocationString( const char *, SteamNetworkPingLocation_t * ) = 0; + virtual int8_t CheckPingDataUpToDate( float ) = 0; + virtual int32_t GetPingToDataCenter( uint32_t, uint32_t * ) = 0; + virtual int32_t GetDirectPingToPOP( uint32_t ) = 0; + virtual int32_t GetPOPCount( ) = 0; + virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0; + virtual int64_t GetLocalTimestamp( ) = 0; + virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0; + virtual int8_t SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0; + virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0; + virtual int8_t GetConfigValueInfo( uint32_t, const char **, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetFirstConfigValue( ) = 0; + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, int8_t ) = 0; + virtual int8_t SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0; + virtual int8_t SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0; + virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils002( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient019 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( uint32_t, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameSearch*/ * GetISteamGameSearch( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void * DEPRECATED_GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0; + virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*U_STDCALL )(int32_t) ) = 0; + virtual void /*ISteamInventory*/ * GetISteamInventory( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamVideo*/ * GetISteamVideo( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParentalSettings*/ * GetISteamParentalSettings( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamInput*/ * GetISteamInput( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParties*/ * GetISteamParties( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemotePlay*/ * GetISteamRemotePlay( int32_t, int32_t, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 +{ +#ifdef __cplusplus + virtual uint32_t GetSessionCount( ) = 0; + virtual uint32_t GetSessionID( int32_t ) = 0; + virtual CSteamID GetSessionSteamID( uint32_t ) = 0; + virtual const char * GetSessionClientName( uint32_t ) = 0; + virtual uint32_t GetSessionClientFormFactor( uint32_t ) = 0; + virtual int8_t BGetSessionClientResolution( uint32_t, int32_t *, int32_t * ) = 0; + virtual int8_t BSendRemotePlayTogetherInvite( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamClient_SteamClient020 +{ +#ifdef __cplusplus + virtual int32_t CreateSteamPipe( ) = 0; + virtual int8_t BReleaseSteamPipe( int32_t ) = 0; + virtual int32_t ConnectToGlobalUser( int32_t ) = 0; + virtual int32_t CreateLocalUser( int32_t *, uint32_t ) = 0; + virtual void ReleaseUser( int32_t, int32_t ) = 0; + virtual void /*ISteamUser*/ * GetISteamUser( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServer*/ * GetISteamGameServer( int32_t, int32_t, const char * ) = 0; + virtual void SetLocalIPBinding( const SteamIPAddress_t *, uint16_t ) = 0; + virtual void /*ISteamFriends*/ * GetISteamFriends( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUtils*/ * GetISteamUtils( int32_t, const char * ) = 0; + virtual void /*ISteamMatchmaking*/ * GetISteamMatchmaking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMatchmakingServers*/ * GetISteamMatchmakingServers( int32_t, int32_t, const char * ) = 0; + virtual void * GetISteamGenericInterface( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUserStats*/ * GetISteamUserStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameServerStats*/ * GetISteamGameServerStats( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamApps*/ * GetISteamApps( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamNetworking*/ * GetISteamNetworking( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemoteStorage*/ * GetISteamRemoteStorage( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamScreenshots*/ * GetISteamScreenshots( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamGameSearch*/ * GetISteamGameSearch( int32_t, int32_t, const char * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t BShutdownIfAllPipesClosed( ) = 0; + virtual void /*ISteamHTTP*/ * GetISteamHTTP( int32_t, int32_t, const char * ) = 0; + virtual void * DEPRECATED_GetISteamUnifiedMessages( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamController*/ * GetISteamController( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamUGC*/ * GetISteamUGC( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamAppList*/ * GetISteamAppList( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusic*/ * GetISteamMusic( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamMusicRemote*/ * GetISteamMusicRemote( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamHTMLSurface*/ * GetISteamHTMLSurface( int32_t, int32_t, const char * ) = 0; + virtual void DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void (*U_STDCALL )(void) ) = 0; + virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( uint32_t (*U_CDECL )(int32_t) ) = 0; + virtual void /*ISteamInventory*/ * GetISteamInventory( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamVideo*/ * GetISteamVideo( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParentalSettings*/ * GetISteamParentalSettings( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamInput*/ * GetISteamInput( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamParties*/ * GetISteamParties( int32_t, int32_t, const char * ) = 0; + virtual void /*ISteamRemotePlay*/ * GetISteamRemotePlay( int32_t, int32_t, const char * ) = 0; + virtual void DestroyAllInterfaces( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworking_SteamNetworking006 +{ +#ifdef __cplusplus + virtual int8_t SendP2PPacket( CSteamID, const void *, uint32_t, uint32_t, int32_t ) = 0; + virtual int8_t IsP2PPacketAvailable( uint32_t *, int32_t ) = 0; + virtual int8_t ReadP2PPacket( void *, uint32_t, uint32_t *, CSteamID *, int32_t ) = 0; + virtual int8_t AcceptP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PSessionWithUser( CSteamID ) = 0; + virtual int8_t CloseP2PChannelWithUser( CSteamID, int32_t ) = 0; + virtual int8_t GetP2PSessionState( CSteamID, P2PSessionState_t * ) = 0; + virtual int8_t AllowP2PPacketRelay( int8_t ) = 0; + virtual uint32_t CreateListenSocket( int32_t, SteamIPAddress_t, uint16_t, int8_t ) = 0; + virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, int8_t ) = 0; + virtual uint32_t CreateConnectionSocket( SteamIPAddress_t, uint16_t, int32_t ) = 0; + virtual int8_t DestroySocket( uint32_t, int8_t ) = 0; + virtual int8_t DestroyListenSocket( uint32_t, int8_t ) = 0; + virtual int8_t SendDataOnSocket( uint32_t, void *, uint32_t, int8_t ) = 0; + virtual int8_t IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0; + virtual int8_t RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual int8_t IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetSocketInfo( uint32_t, CSteamID *, int32_t *, SteamIPAddress_t *, uint16_t * ) = 0; + virtual int8_t GetListenSocketInfo( uint32_t, SteamIPAddress_t *, uint16_t * ) = 0; + virtual uint32_t GetSocketConnectionType( uint32_t ) = 0; + virtual int32_t GetMaxPacketSize( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION014 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddRequiredTagGroup( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer013 +{ +#ifdef __cplusplus + virtual int8_t InitGameServer( uint32_t, uint16_t, uint16_t, uint32_t, uint32_t, const char * ) = 0; + virtual void SetProduct( const char * ) = 0; + virtual void SetGameDescription( const char * ) = 0; + virtual void SetModDir( const char * ) = 0; + virtual void SetDedicatedServer( int8_t ) = 0; + virtual void LogOn( const char * ) = 0; + virtual void LogOnAnonymous( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void SetMaxPlayerCount( int32_t ) = 0; + virtual void SetBotPlayerCount( int32_t ) = 0; + virtual void SetServerName( const char * ) = 0; + virtual void SetMapName( const char * ) = 0; + virtual void SetPasswordProtected( int8_t ) = 0; + virtual void SetSpectatorPort( uint16_t ) = 0; + virtual void SetSpectatorServerName( const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual void SetRegion( const char * ) = 0; + virtual int8_t SendUserConnectAndAuthenticate( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual SteamIPAddress_t GetPublicIP( ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual void EnableHeartbeats( int8_t ) = 0; + virtual void SetHeartbeatInterval( int32_t ) = 0; + virtual void ForceHeartbeat( ) = 0; + virtual uint64_t AssociateWithClan( CSteamID ) = 0; + virtual uint64_t ComputeNewPlayerCompatibility( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t, int64_t * ) = 0; + virtual void SendMessages( int32_t, u_SteamNetworkingMessage_t_147 **, int64_t * ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int32_t ReceiveMessagesOnListenSocket( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_144 * ) = 0; + virtual int8_t GetQuickConnectionStatus( uint32_t, SteamNetworkingQuickConnectionStatus * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t InitAuthentication( ) = 0; + virtual uint32_t GetAuthenticationStatus( SteamNetAuthenticationStatus_t * ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual uint32_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *, int32_t *, void * ) = 0; + virtual uint32_t ConnectP2PCustomSignaling( u_ISteamNetworkingConnectionCustomSignaling *, const SteamNetworkingIdentity_144 *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual int8_t ReceivedP2PCustomSignal( const void *, int32_t, u_ISteamNetworkingCustomSignalingRecvContext * ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets006( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 +{ +#ifdef __cplusplus + virtual u_SteamNetworkingMessage_t_147 * AllocateMessage( int32_t ) = 0; + virtual uint32_t GetRelayNetworkStatus( SteamRelayNetworkStatus_t * ) = 0; + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t * ) = 0; + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *, char *, int32_t ) = 0; + virtual int8_t ParsePingLocationString( const char *, SteamNetworkPingLocation_t * ) = 0; + virtual int8_t CheckPingDataUpToDate( float ) = 0; + virtual int32_t GetPingToDataCenter( uint32_t, uint32_t * ) = 0; + virtual int32_t GetDirectPingToPOP( uint32_t ) = 0; + virtual int32_t GetPOPCount( ) = 0; + virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0; + virtual int64_t GetLocalTimestamp( ) = 0; + virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0; + virtual int8_t SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0; + virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0; + virtual int8_t GetConfigValueInfo( uint32_t, const char **, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetFirstConfigValue( ) = 0; + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, int8_t ) = 0; + virtual int8_t SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0; + virtual int8_t SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0; + virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils003( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t, int64_t * ) = 0; + virtual void SendMessages( int32_t, u_SteamNetworkingMessage_t_147 *const *, int64_t * ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_144 * ) = 0; + virtual int8_t GetQuickConnectionStatus( uint32_t, SteamNetworkingQuickConnectionStatus * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t InitAuthentication( ) = 0; + virtual uint32_t GetAuthenticationStatus( SteamNetAuthenticationStatus_t * ) = 0; + virtual uint32_t CreatePollGroup( ) = 0; + virtual int8_t DestroyPollGroup( uint32_t ) = 0; + virtual int8_t SetConnectionPollGroup( uint32_t, uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnPollGroup( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual uint32_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *, int32_t *, void * ) = 0; + virtual uint32_t ConnectP2PCustomSignaling( u_ISteamNetworkingConnectionCustomSignaling *, const SteamNetworkingIdentity_144 *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual int8_t ReceivedP2PCustomSignal( const void *, int32_t, u_ISteamNetworkingCustomSignalingRecvContext * ) = 0; + virtual int8_t GetCertificateRequest( int32_t *, void *, char (*)[1024] ) = 0; + virtual int8_t SetCertificate( const void *, int32_t, char (*)[1024] ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets008( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser021 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection_DEPRECATED( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection_DEPRECATED( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; + virtual int8_t BIsPhoneVerified( ) = 0; + virtual int8_t BIsTwoFactorEnabled( ) = 0; + virtual int8_t BIsPhoneIdentifying( ) = 0; + virtual int8_t BIsPhoneRequiringVerification( ) = 0; + virtual uint64_t GetMarketEligibility( ) = 0; + virtual uint64_t GetDurationControl( ) = 0; + virtual int8_t BSetDurationControlOnlineState( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 +{ +#ifdef __cplusplus + virtual int8_t RequestCurrentStats( ) = 0; + virtual int8_t GetStat( const char *, int32_t * ) = 0; + virtual int8_t GetStat( const char *, float * ) = 0; + virtual int8_t SetStat( const char *, int32_t ) = 0; + virtual int8_t SetStat( const char *, float ) = 0; + virtual int8_t UpdateAvgRateStat( const char *, float, double ) = 0; + virtual int8_t GetAchievement( const char *, int8_t * ) = 0; + virtual int8_t SetAchievement( const char * ) = 0; + virtual int8_t ClearAchievement( const char * ) = 0; + virtual int8_t GetAchievementAndUnlockTime( const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t StoreStats( ) = 0; + virtual int32_t GetAchievementIcon( const char * ) = 0; + virtual const char * GetAchievementDisplayAttribute( const char *, const char * ) = 0; + virtual int8_t IndicateAchievementProgress( const char *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetNumAchievements( ) = 0; + virtual const char * GetAchievementName( uint32_t ) = 0; + virtual uint64_t RequestUserStats( CSteamID ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, int32_t * ) = 0; + virtual int8_t GetUserStat( CSteamID, const char *, float * ) = 0; + virtual int8_t GetUserAchievement( CSteamID, const char *, int8_t * ) = 0; + virtual int8_t GetUserAchievementAndUnlockTime( CSteamID, const char *, int8_t *, uint32_t * ) = 0; + virtual int8_t ResetAllStats( int8_t ) = 0; + virtual uint64_t FindOrCreateLeaderboard( const char *, uint32_t, uint32_t ) = 0; + virtual uint64_t FindLeaderboard( const char * ) = 0; + virtual const char * GetLeaderboardName( uint64_t ) = 0; + virtual int32_t GetLeaderboardEntryCount( uint64_t ) = 0; + virtual uint32_t GetLeaderboardSortMethod( uint64_t ) = 0; + virtual uint32_t GetLeaderboardDisplayType( uint64_t ) = 0; + virtual uint64_t DownloadLeaderboardEntries( uint64_t, uint32_t, int32_t, int32_t ) = 0; + virtual uint64_t DownloadLeaderboardEntriesForUsers( uint64_t, CSteamID *, int32_t ) = 0; + virtual int8_t GetDownloadedLeaderboardEntry( uint64_t, int32_t, u_LeaderboardEntry_t_123 *, int32_t *, int32_t ) = 0; + virtual uint64_t UploadLeaderboardScore( uint64_t, uint32_t, int32_t, const int32_t *, int32_t ) = 0; + virtual uint64_t AttachLeaderboardUGC( uint64_t, uint64_t ) = 0; + virtual uint64_t GetNumberOfCurrentPlayers( ) = 0; + virtual uint64_t RequestGlobalAchievementPercentages( ) = 0; + virtual int32_t GetMostAchievedAchievementInfo( char *, uint32_t, float *, int8_t * ) = 0; + virtual int32_t GetNextMostAchievedAchievementInfo( int32_t, char *, uint32_t, float *, int8_t * ) = 0; + virtual int8_t GetAchievementAchievedPercent( const char *, float * ) = 0; + virtual uint64_t RequestGlobalStats( int32_t ) = 0; + virtual int8_t GetGlobalStat( const char *, int64_t * ) = 0; + virtual int8_t GetGlobalStat( const char *, double * ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, int64_t *, uint32_t ) = 0; + virtual int32_t GetGlobalStatHistory( const char *, double *, uint32_t ) = 0; + virtual int8_t GetAchievementProgressLimits( const char *, int32_t *, int32_t * ) = 0; + virtual int8_t GetAchievementProgressLimits( const char *, float *, float * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUtils_SteamUtils010 +{ +#ifdef __cplusplus + virtual uint32_t GetSecondsSinceAppActive( ) = 0; + virtual uint32_t GetSecondsSinceComputerActive( ) = 0; + virtual uint32_t GetConnectedUniverse( ) = 0; + virtual uint32_t GetServerRealTime( ) = 0; + virtual const char * GetIPCountry( ) = 0; + virtual int8_t GetImageSize( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t GetImageRGBA( int32_t, uint8_t *, int32_t ) = 0; + virtual int8_t GetCSERIPPort( uint32_t *, uint16_t * ) = 0; + virtual uint8_t GetCurrentBatteryPower( ) = 0; + virtual uint32_t GetAppID( ) = 0; + virtual void SetOverlayNotificationPosition( uint32_t ) = 0; + virtual int8_t IsAPICallCompleted( uint64_t, int8_t * ) = 0; + virtual uint32_t GetAPICallFailureReason( uint64_t ) = 0; + virtual int8_t GetAPICallResult( uint64_t, void *, int32_t, int32_t, int8_t * ) = 0; + virtual void RunFrame( ) = 0; + virtual uint32_t GetIPCCallCount( ) = 0; + virtual void SetWarningMessageHook( void (*U_CDECL )(int32_t, const char *) ) = 0; + virtual int8_t IsOverlayEnabled( ) = 0; + virtual int8_t BOverlayNeedsPresent( ) = 0; + virtual uint64_t CheckFileSignature( const char * ) = 0; + virtual int8_t ShowGamepadTextInput( uint32_t, uint32_t, const char *, uint32_t, const char * ) = 0; + virtual uint32_t GetEnteredGamepadTextLength( ) = 0; + virtual int8_t GetEnteredGamepadTextInput( char *, uint32_t ) = 0; + virtual const char * GetSteamUILanguage( ) = 0; + virtual int8_t IsSteamRunningInVR( ) = 0; + virtual void SetOverlayNotificationInset( int32_t, int32_t ) = 0; + virtual int8_t IsSteamInBigPictureMode( ) = 0; + virtual void StartVRDashboard( ) = 0; + virtual int8_t IsVRHeadsetStreamingEnabled( ) = 0; + virtual void SetVRHeadsetStreamingEnabled( int8_t ) = 0; + virtual int8_t IsSteamChinaLauncher( ) = 0; + virtual int8_t InitFilterText( uint32_t ) = 0; + virtual int32_t FilterText( uint32_t, CSteamID, const char *, char *, uint32_t ) = 0; + virtual uint32_t GetIPv6ConnectivityState( uint32_t ) = 0; + virtual int8_t IsSteamRunningOnSteamDeck( ) = 0; + virtual int8_t ShowFloatingGamepadTextInput( uint32_t, int32_t, int32_t, int32_t, int32_t ) = 0; + virtual void SetGameLauncherMode( int8_t ) = 0; + virtual int8_t DismissFloatingGamepadTextInput( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 +{ +#ifdef __cplusplus + virtual uint32_t SendMessageToUser( const SteamNetworkingIdentity_144 *, const void *, uint32_t, int32_t, int32_t ) = 0; + virtual int32_t ReceiveMessagesOnChannel( int32_t, u_SteamNetworkingMessage_t_153a **, int32_t ) = 0; + virtual int8_t AcceptSessionWithUser( const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t CloseSessionWithUser( const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t CloseChannelWithUser( const SteamNetworkingIdentity_144 *, int32_t ) = 0; + virtual uint32_t GetSessionConnectionInfo( const SteamNetworkingIdentity_144 *, SteamNetConnectionInfo_t_153a *, SteamNetConnectionRealTimeStatus_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t, int64_t * ) = 0; + virtual void SendMessages( int32_t, u_SteamNetworkingMessage_t_147 *const *, int64_t * ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_144 * ) = 0; + virtual int8_t GetQuickConnectionStatus( uint32_t, SteamNetworkingQuickConnectionStatus * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t InitAuthentication( ) = 0; + virtual uint32_t GetAuthenticationStatus( SteamNetAuthenticationStatus_t * ) = 0; + virtual uint32_t CreatePollGroup( ) = 0; + virtual int8_t DestroyPollGroup( uint32_t ) = 0; + virtual int8_t SetConnectionPollGroup( uint32_t, uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnPollGroup( uint32_t, u_SteamNetworkingMessage_t_147 **, int32_t ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual uint32_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *, int32_t *, void * ) = 0; + virtual uint32_t ConnectP2PCustomSignaling( void /*ISteamNetworkingConnectionSignaling*/ *, const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual int8_t ReceivedP2PCustomSignal( const void *, int32_t, void /*ISteamNetworkingSignalingRecvContext*/ * ) = 0; + virtual int8_t GetCertificateRequest( int32_t *, void *, char (*)[1024] ) = 0; + virtual int8_t SetCertificate( const void *, int32_t, char (*)[1024] ) = 0; + virtual void RunCallbacks( ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets009( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInput_SteamInput002 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetDeviceBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; + virtual uint32_t GetRemotePlaySessionID( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamController_SteamController008 +{ +#ifdef __cplusplus + virtual int8_t Init( ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual void RunFrame( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION015 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual uint32_t GetQueryUGCNumTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCTag( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCTagDisplayName( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddRequiredTagGroup( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; + virtual int8_t ShowWorkshopEULA( ) = 0; + virtual uint64_t GetWorkshopEULAStatus( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 +{ +#ifdef __cplusplus + virtual int8_t FileWrite( const char *, const void *, int32_t ) = 0; + virtual int32_t FileRead( const char *, void *, int32_t ) = 0; + virtual uint64_t FileWriteAsync( const char *, const void *, uint32_t ) = 0; + virtual uint64_t FileReadAsync( const char *, uint32_t, uint32_t ) = 0; + virtual int8_t FileReadAsyncComplete( uint64_t, void *, uint32_t ) = 0; + virtual int8_t FileForget( const char * ) = 0; + virtual int8_t FileDelete( const char * ) = 0; + virtual uint64_t FileShare( const char * ) = 0; + virtual int8_t SetSyncPlatforms( const char *, uint32_t ) = 0; + virtual uint64_t FileWriteStreamOpen( const char * ) = 0; + virtual int8_t FileWriteStreamWriteChunk( uint64_t, const void *, int32_t ) = 0; + virtual int8_t FileWriteStreamClose( uint64_t ) = 0; + virtual int8_t FileWriteStreamCancel( uint64_t ) = 0; + virtual int8_t FileExists( const char * ) = 0; + virtual int8_t FilePersisted( const char * ) = 0; + virtual int32_t GetFileSize( const char * ) = 0; + virtual int64_t GetFileTimestamp( const char * ) = 0; + virtual uint32_t GetSyncPlatforms( const char * ) = 0; + virtual int32_t GetFileCount( ) = 0; + virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0; + virtual int8_t GetQuota( uint64_t *, uint64_t * ) = 0; + virtual int8_t IsCloudEnabledForAccount( ) = 0; + virtual int8_t IsCloudEnabledForApp( ) = 0; + virtual void SetCloudEnabledForApp( int8_t ) = 0; + virtual uint64_t UGCDownload( uint64_t, uint32_t ) = 0; + virtual int8_t GetUGCDownloadProgress( uint64_t, int32_t *, int32_t * ) = 0; + virtual int8_t GetUGCDetails( uint64_t, uint32_t *, char **, int32_t *, CSteamID * ) = 0; + virtual int32_t UGCRead( uint64_t, void *, int32_t, uint32_t, uint32_t ) = 0; + virtual int32_t GetCachedUGCCount( ) = 0; + virtual uint64_t GetCachedUGCHandle( int32_t ) = 0; + virtual uint64_t PublishWorkshopFile( const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t *, uint32_t ) = 0; + virtual uint64_t CreatePublishedFileUpdateRequest( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFilePreviewFile( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileTitle( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileDescription( uint64_t, const char * ) = 0; + virtual int8_t UpdatePublishedFileVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t UpdatePublishedFileTags( uint64_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t CommitPublishedFileUpdate( uint64_t ) = 0; + virtual uint64_t GetPublishedFileDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t DeletePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserPublishedFiles( uint32_t ) = 0; + virtual uint64_t SubscribePublishedFile( uint64_t ) = 0; + virtual uint64_t EnumerateUserSubscribedFiles( uint32_t ) = 0; + virtual uint64_t UnsubscribePublishedFile( uint64_t ) = 0; + virtual int8_t UpdatePublishedFileSetChangeDescription( uint64_t, const char * ) = 0; + virtual uint64_t GetPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t UpdateUserPublishedItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserPublishedItemVoteDetails( uint64_t ) = 0; + virtual uint64_t EnumerateUserSharedWorkshopFiles( CSteamID, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t PublishVideo( uint32_t, const char *, const char *, const char *, uint32_t, const char *, const char *, uint32_t, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t SetUserPublishedFileAction( uint64_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedFilesByUserAction( uint32_t, uint32_t ) = 0; + virtual uint64_t EnumeratePublishedWorkshopFiles( uint32_t, uint32_t, uint32_t, uint32_t, u_SteamParamStringArray_t *, u_SteamParamStringArray_t * ) = 0; + virtual uint64_t UGCDownloadToLocation( uint64_t, const char *, uint32_t ) = 0; + virtual int32_t GetLocalFileChangeCount( ) = 0; + virtual const char * GetLocalFileChange( int32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t BeginFileWriteBatch( ) = 0; + virtual int8_t EndFileWriteBatch( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInput_SteamInput005 +{ +#ifdef __cplusplus + virtual int8_t Init( int8_t ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual int8_t SetInputActionManifestFilePath( const char * ) = 0; + virtual void RunFrame( int8_t ) = 0; + virtual int8_t BWaitForData( int8_t, uint32_t ) = 0; + virtual int8_t BNewDataAvailable( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual void EnableDeviceCallbacks( ) = 0; + virtual void EnableActionEventCallbacks( void (*U_STDCALL )(SteamInputActionEvent_t *) ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetStringForDigitalActionName( uint64_t ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphPNGForActionOrigin( uint32_t, uint32_t, uint32_t ) = 0; + virtual const char * GetGlyphSVGForActionOrigin( uint32_t, uint32_t ) = 0; + virtual const char * GetGlyphForActionOrigin_Legacy( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForAnalogActionName( uint64_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void TriggerVibrationExtended( uint64_t, uint16_t, uint16_t, uint16_t, uint16_t ) = 0; + virtual void TriggerSimpleHapticEvent( uint64_t, uint32_t, uint8_t, char, uint8_t, char ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual void Legacy_TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void Legacy_TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetDeviceBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; + virtual uint32_t GetRemotePlaySessionID( uint64_t ) = 0; + virtual uint16_t GetSessionInputConfigurationSettings( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer014 +{ +#ifdef __cplusplus + virtual int8_t InitGameServer( uint32_t, uint16_t, uint16_t, uint32_t, uint32_t, const char * ) = 0; + virtual void SetProduct( const char * ) = 0; + virtual void SetGameDescription( const char * ) = 0; + virtual void SetModDir( const char * ) = 0; + virtual void SetDedicatedServer( int8_t ) = 0; + virtual void LogOn( const char * ) = 0; + virtual void LogOnAnonymous( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void SetMaxPlayerCount( int32_t ) = 0; + virtual void SetBotPlayerCount( int32_t ) = 0; + virtual void SetServerName( const char * ) = 0; + virtual void SetMapName( const char * ) = 0; + virtual void SetPasswordProtected( int8_t ) = 0; + virtual void SetSpectatorPort( uint16_t ) = 0; + virtual void SetSpectatorServerName( const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual void SetRegion( const char * ) = 0; + virtual void SetAdvertiseServerActive( int8_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual SteamIPAddress_t GetPublicIP( ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual uint64_t AssociateWithClan( CSteamID ) = 0; + virtual uint64_t ComputeNewPlayerCompatibility( CSteamID ) = 0; + virtual int8_t SendUserConnectAndAuthenticate_DEPRECATED( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect_DEPRECATED( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual void SetMasterServerHeartbeatInterval_DEPRECATED( int32_t ) = 0; + virtual void ForceMasterServerHeartbeat_DEPRECATED( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamInput_SteamInput006 +{ +#ifdef __cplusplus + virtual int8_t Init( int8_t ) = 0; + virtual int8_t Shutdown( ) = 0; + virtual int8_t SetInputActionManifestFilePath( const char * ) = 0; + virtual void RunFrame( int8_t ) = 0; + virtual int8_t BWaitForData( int8_t, uint32_t ) = 0; + virtual int8_t BNewDataAvailable( ) = 0; + virtual int32_t GetConnectedControllers( uint64_t * ) = 0; + virtual void EnableDeviceCallbacks( ) = 0; + virtual void EnableActionEventCallbacks( void (*U_STDCALL )(SteamInputActionEvent_t *) ) = 0; + virtual uint64_t GetActionSetHandle( const char * ) = 0; + virtual void ActivateActionSet( uint64_t, uint64_t ) = 0; + virtual uint64_t GetCurrentActionSet( uint64_t ) = 0; + virtual void ActivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0; + virtual void DeactivateAllActionSetLayers( uint64_t ) = 0; + virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0; + virtual uint64_t GetDigitalActionHandle( const char * ) = 0; + virtual InputDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetStringForDigitalActionName( uint64_t ) = 0; + virtual uint64_t GetAnalogActionHandle( const char * ) = 0; + virtual InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0; + virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0; + virtual const char * GetGlyphPNGForActionOrigin( uint32_t, uint32_t, uint32_t ) = 0; + virtual const char * GetGlyphSVGForActionOrigin( uint32_t, uint32_t ) = 0; + virtual const char * GetGlyphForActionOrigin_Legacy( uint32_t ) = 0; + virtual const char * GetStringForActionOrigin( uint32_t ) = 0; + virtual const char * GetStringForAnalogActionName( uint64_t ) = 0; + virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0; + virtual InputMotionData_t GetMotionData( uint64_t ) = 0; + virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0; + virtual void TriggerVibrationExtended( uint64_t, uint16_t, uint16_t, uint16_t, uint16_t ) = 0; + virtual void TriggerSimpleHapticEvent( uint64_t, uint32_t, uint8_t, char, uint8_t, char ) = 0; + virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0; + virtual void Legacy_TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0; + virtual void Legacy_TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0; + virtual int8_t ShowBindingPanel( uint64_t ) = 0; + virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0; + virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0; + virtual int32_t GetGamepadIndexForController( uint64_t ) = 0; + virtual const char * GetStringForXboxOrigin( uint32_t ) = 0; + virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0; + virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0; + virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0; + virtual int8_t GetDeviceBindingRevision( uint64_t, int32_t *, int32_t * ) = 0; + virtual uint32_t GetRemotePlaySessionID( uint64_t ) = 0; + virtual uint16_t GetSessionInputConfigurationSettings( ) = 0; + virtual void SetDualSenseTriggerEffect( uint64_t, const ScePadTriggerEffectParam * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION016 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual uint32_t GetQueryUGCNumTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCTag( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCTagDisplayName( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddRequiredTagGroup( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t SetTimeCreatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t SetTimeUpdatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; + virtual int8_t ShowWorkshopEULA( ) = 0; + virtual uint64_t GetWorkshopEULAStatus( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 +{ +#ifdef __cplusplus + virtual uint32_t CreateListenSocketIP( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectByIPAddress( const SteamNetworkingIPAddr *, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t CreateListenSocketP2P( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t ConnectP2P( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t AcceptConnection( uint32_t ) = 0; + virtual int8_t CloseConnection( uint32_t, int32_t, const char *, int8_t ) = 0; + virtual int8_t CloseListenSocket( uint32_t ) = 0; + virtual int8_t SetConnectionUserData( uint32_t, int64_t ) = 0; + virtual int64_t GetConnectionUserData( uint32_t ) = 0; + virtual void SetConnectionName( uint32_t, const char * ) = 0; + virtual int8_t GetConnectionName( uint32_t, char *, int32_t ) = 0; + virtual uint32_t SendMessageToConnection( uint32_t, const void *, uint32_t, int32_t, int64_t * ) = 0; + virtual void SendMessages( int32_t, u_SteamNetworkingMessage_t_153a *const *, int64_t * ) = 0; + virtual uint32_t FlushMessagesOnConnection( uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnConnection( uint32_t, u_SteamNetworkingMessage_t_153a **, int32_t ) = 0; + virtual int8_t GetConnectionInfo( uint32_t, SteamNetConnectionInfo_t_153a * ) = 0; + virtual uint32_t GetConnectionRealTimeStatus( uint32_t, SteamNetConnectionRealTimeStatus_t *, int32_t, SteamNetConnectionRealTimeLaneStatus_t * ) = 0; + virtual int32_t GetDetailedConnectionStatus( uint32_t, char *, int32_t ) = 0; + virtual int8_t GetListenSocketAddress( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual int8_t CreateSocketPair( uint32_t *, uint32_t *, int8_t, const SteamNetworkingIdentity_144 *, const SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t ConfigureConnectionLanes( uint32_t, int32_t, const int32_t *, const uint16_t * ) = 0; + virtual int8_t GetIdentity( SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t InitAuthentication( ) = 0; + virtual uint32_t GetAuthenticationStatus( SteamNetAuthenticationStatus_t * ) = 0; + virtual uint32_t CreatePollGroup( ) = 0; + virtual int8_t DestroyPollGroup( uint32_t ) = 0; + virtual int8_t SetConnectionPollGroup( uint32_t, uint32_t ) = 0; + virtual int32_t ReceiveMessagesOnPollGroup( uint32_t, u_SteamNetworkingMessage_t_153a **, int32_t ) = 0; + virtual int8_t ReceivedRelayAuthTicket( const void *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual int32_t FindRelayAuthTicketForServer( const SteamNetworkingIdentity_144 *, int32_t, SteamDatagramRelayAuthTicket * ) = 0; + virtual uint32_t ConnectToHostedDedicatedServer( const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint16_t GetHostedDedicatedServerPort( ) = 0; + virtual uint32_t GetHostedDedicatedServerPOPID( ) = 0; + virtual uint32_t GetHostedDedicatedServerAddress( SteamDatagramHostedAddress * ) = 0; + virtual uint32_t CreateHostedDedicatedServerListenSocket( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t GetGameCoordinatorServerLogin( SteamDatagramGameCoordinatorServerLogin *, int32_t *, void * ) = 0; + virtual uint32_t ConnectP2PCustomSignaling( void /*ISteamNetworkingConnectionSignaling*/ *, const SteamNetworkingIdentity_144 *, int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual int8_t ReceivedP2PCustomSignal( const void *, int32_t, void /*ISteamNetworkingSignalingRecvContext*/ * ) = 0; + virtual int8_t GetCertificateRequest( int32_t *, void *, char (*)[1024] ) = 0; + virtual int8_t SetCertificate( const void *, int32_t, char (*)[1024] ) = 0; + virtual void ResetIdentity( const SteamNetworkingIdentity_144 * ) = 0; + virtual void RunCallbacks( ) = 0; + virtual int8_t BeginAsyncRequestFakeIP( int32_t ) = 0; + virtual void GetFakeIP( int32_t, SteamNetworkingFakeIPResult_t * ) = 0; + virtual uint32_t CreateListenSocketP2PFakeIP( int32_t, int32_t, const SteamNetworkingConfigValue_t * ) = 0; + virtual uint32_t GetRemoteFakeIPForConnection( uint32_t, SteamNetworkingIPAddr * ) = 0; + virtual void /*ISteamNetworkingFakeUDPPort*/ * CreateFakeUDPPort( int32_t ) = 0; + virtual ~u_ISteamNetworkingSockets_SteamNetworkingSockets012( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 +{ +#ifdef __cplusplus + virtual u_SteamNetworkingMessage_t_153a * AllocateMessage( int32_t ) = 0; + virtual uint32_t GetRelayNetworkStatus( SteamRelayNetworkStatus_t * ) = 0; + virtual float GetLocalPingLocation( SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t * ) = 0; + virtual int32_t EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t * ) = 0; + virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *, char *, int32_t ) = 0; + virtual int8_t ParsePingLocationString( const char *, SteamNetworkPingLocation_t * ) = 0; + virtual int8_t CheckPingDataUpToDate( float ) = 0; + virtual int32_t GetPingToDataCenter( uint32_t, uint32_t * ) = 0; + virtual int32_t GetDirectPingToPOP( uint32_t ) = 0; + virtual int32_t GetPOPCount( ) = 0; + virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0; + virtual int64_t GetLocalTimestamp( ) = 0; + virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0; + virtual uint32_t GetIPv4FakeIPType( uint32_t ) = 0; + virtual uint32_t GetRealIdentityForFakeIP( const SteamNetworkingIPAddr *, SteamNetworkingIdentity_144 * ) = 0; + virtual int8_t SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0; + virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0; + virtual const char * GetConfigValueInfo( uint32_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t IterateGenericEditableConfigValues( uint32_t, int8_t ) = 0; + virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, int8_t ) = 0; + virtual int8_t SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0; + virtual uint32_t SteamNetworkingIPAddr_GetFakeIPType( const SteamNetworkingIPAddr * ) = 0; + virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0; + virtual int8_t SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0; + virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils004( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 +{ +#ifdef __cplusplus + virtual void DestroyFakeUDPPort( ) = 0; + virtual uint32_t SendMessageToFakeIP( const SteamNetworkingIPAddr *, const void *, uint32_t, int32_t ) = 0; + virtual int32_t ReceiveMessages( u_SteamNetworkingMessage_t_153a **, int32_t ) = 0; + virtual void ScheduleCleanup( const SteamNetworkingIPAddr * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser022 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection_DEPRECATED( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection_DEPRECATED( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t *, const SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; + virtual int8_t BIsPhoneVerified( ) = 0; + virtual int8_t BIsTwoFactorEnabled( ) = 0; + virtual int8_t BIsPhoneIdentifying( ) = 0; + virtual int8_t BIsPhoneRequiringVerification( ) = 0; + virtual uint64_t GetMarketEligibility( ) = 0; + virtual uint64_t GetDurationControl( ) = 0; + virtual int8_t BSetDurationControlOnlineState( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION017 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual uint32_t GetQueryUGCNumTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCTag( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCTagDisplayName( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t GetQueryUGCContentDescriptors( uint64_t, uint32_t, uint32_t *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddRequiredTagGroup( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t SetTimeCreatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t SetTimeUpdatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual int8_t AddContentDescriptor( uint64_t, uint32_t ) = 0; + virtual int8_t RemoveContentDescriptor( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; + virtual int8_t ShowWorkshopEULA( ) = 0; + virtual uint64_t GetWorkshopEULAStatus( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamGameServer_SteamGameServer015 +{ +#ifdef __cplusplus + virtual int8_t InitGameServer( uint32_t, uint16_t, uint16_t, uint32_t, uint32_t, const char * ) = 0; + virtual void SetProduct( const char * ) = 0; + virtual void SetGameDescription( const char * ) = 0; + virtual void SetModDir( const char * ) = 0; + virtual void SetDedicatedServer( int8_t ) = 0; + virtual void LogOn( const char * ) = 0; + virtual void LogOnAnonymous( ) = 0; + virtual void LogOff( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual int8_t BSecure( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int8_t WasRestartRequested( ) = 0; + virtual void SetMaxPlayerCount( int32_t ) = 0; + virtual void SetBotPlayerCount( int32_t ) = 0; + virtual void SetServerName( const char * ) = 0; + virtual void SetMapName( const char * ) = 0; + virtual void SetPasswordProtected( int8_t ) = 0; + virtual void SetSpectatorPort( uint16_t ) = 0; + virtual void SetSpectatorServerName( const char * ) = 0; + virtual void ClearAllKeyValues( ) = 0; + virtual void SetKeyValue( const char *, const char * ) = 0; + virtual void SetGameTags( const char * ) = 0; + virtual void SetGameData( const char * ) = 0; + virtual void SetRegion( const char * ) = 0; + virtual void SetAdvertiseServerActive( int8_t ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t *, const SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t RequestUserGroupStatus( CSteamID, CSteamID ) = 0; + virtual void GetGameplayStats( ) = 0; + virtual uint64_t GetServerReputation( ) = 0; + virtual SteamIPAddress_t GetPublicIP( ) = 0; + virtual int8_t HandleIncomingPacket( const void *, int32_t, uint32_t, uint16_t ) = 0; + virtual int32_t GetNextOutgoingPacket( void *, int32_t, uint32_t *, uint16_t * ) = 0; + virtual uint64_t AssociateWithClan( CSteamID ) = 0; + virtual uint64_t ComputeNewPlayerCompatibility( CSteamID ) = 0; + virtual int8_t SendUserConnectAndAuthenticate_DEPRECATED( uint32_t, const void *, uint32_t, CSteamID * ) = 0; + virtual CSteamID CreateUnauthenticatedUserConnection( ) = 0; + virtual void SendUserDisconnect_DEPRECATED( CSteamID ) = 0; + virtual int8_t BUpdateUserData( CSteamID, const char *, uint32_t ) = 0; + virtual void SetMasterServerHeartbeatInterval_DEPRECATED( int32_t ) = 0; + virtual void ForceMasterServerHeartbeat_DEPRECATED( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUser_SteamUser023 +{ +#ifdef __cplusplus + virtual int32_t GetHSteamUser( ) = 0; + virtual int8_t BLoggedOn( ) = 0; + virtual CSteamID GetSteamID( ) = 0; + virtual int32_t InitiateGameConnection_DEPRECATED( void *, int32_t, CSteamID, uint32_t, uint16_t, int8_t ) = 0; + virtual void TerminateGameConnection_DEPRECATED( uint32_t, uint16_t ) = 0; + virtual void TrackAppUsageEvent( CGameID, int32_t, const char * ) = 0; + virtual int8_t GetUserDataFolder( char *, int32_t ) = 0; + virtual void StartVoiceRecording( ) = 0; + virtual void StopVoiceRecording( ) = 0; + virtual uint32_t GetAvailableVoice( uint32_t *, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoice( int8_t, void *, uint32_t, uint32_t *, int8_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t DecompressVoice( const void *, uint32_t, void *, uint32_t, uint32_t *, uint32_t ) = 0; + virtual uint32_t GetVoiceOptimalSampleRate( ) = 0; + virtual uint32_t GetAuthSessionTicket( void *, int32_t, uint32_t *, const SteamNetworkingIdentity_144 * ) = 0; + virtual uint32_t GetAuthTicketForWebApi( const char * ) = 0; + virtual uint32_t BeginAuthSession( const void *, int32_t, CSteamID ) = 0; + virtual void EndAuthSession( CSteamID ) = 0; + virtual void CancelAuthTicket( uint32_t ) = 0; + virtual uint32_t UserHasLicenseForApp( CSteamID, uint32_t ) = 0; + virtual int8_t BIsBehindNAT( ) = 0; + virtual void AdvertiseGame( CSteamID, uint32_t, uint16_t ) = 0; + virtual uint64_t RequestEncryptedAppTicket( void *, int32_t ) = 0; + virtual int8_t GetEncryptedAppTicket( void *, int32_t, uint32_t * ) = 0; + virtual int32_t GetGameBadgeLevel( int32_t, int8_t ) = 0; + virtual int32_t GetPlayerSteamLevel( ) = 0; + virtual uint64_t RequestStoreAuthURL( const char * ) = 0; + virtual int8_t BIsPhoneVerified( ) = 0; + virtual int8_t BIsTwoFactorEnabled( ) = 0; + virtual int8_t BIsPhoneIdentifying( ) = 0; + virtual int8_t BIsPhoneRequiringVerification( ) = 0; + virtual uint64_t GetMarketEligibility( ) = 0; + virtual uint64_t GetDurationControl( ) = 0; + virtual int8_t BSetDurationControlOnlineState( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION018 +{ +#ifdef __cplusplus + virtual uint64_t CreateQueryUserUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint64_t CreateQueryAllUGCRequest( uint32_t, uint32_t, uint32_t, uint32_t, const char * ) = 0; + virtual uint64_t CreateQueryUGCDetailsRequest( uint64_t *, uint32_t ) = 0; + virtual uint64_t SendQueryUGCRequest( uint64_t ) = 0; + virtual int8_t GetQueryUGCResult( uint64_t, uint32_t, u_SteamUGCDetails_t_128x * ) = 0; + virtual uint32_t GetQueryUGCNumTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCTag( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCTagDisplayName( uint64_t, uint32_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCPreviewURL( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCMetadata( uint64_t, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCChildren( uint64_t, uint32_t, uint64_t *, uint32_t ) = 0; + virtual int8_t GetQueryUGCStatistic( uint64_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t GetQueryUGCNumAdditionalPreviews( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCAdditionalPreview( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetQueryUGCNumKeyValueTags( uint64_t, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, uint32_t, char *, uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetQueryUGCKeyValueTag( uint64_t, uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t GetQueryUGCContentDescriptors( uint64_t, uint32_t, uint32_t *, uint32_t ) = 0; + virtual int8_t ReleaseQueryUGCRequest( uint64_t ) = 0; + virtual int8_t AddRequiredTag( uint64_t, const char * ) = 0; + virtual int8_t AddRequiredTagGroup( uint64_t, const u_SteamParamStringArray_t * ) = 0; + virtual int8_t AddExcludedTag( uint64_t, const char * ) = 0; + virtual int8_t SetReturnOnlyIDs( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnKeyValueTags( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnLongDescription( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnMetadata( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnChildren( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnAdditionalPreviews( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnTotalOnly( uint64_t, int8_t ) = 0; + virtual int8_t SetReturnPlaytimeStats( uint64_t, uint32_t ) = 0; + virtual int8_t SetLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetAllowCachedResponse( uint64_t, uint32_t ) = 0; + virtual int8_t SetCloudFileNameFilter( uint64_t, const char * ) = 0; + virtual int8_t SetMatchAnyTag( uint64_t, int8_t ) = 0; + virtual int8_t SetSearchText( uint64_t, const char * ) = 0; + virtual int8_t SetRankedByTrendDays( uint64_t, uint32_t ) = 0; + virtual int8_t SetTimeCreatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t SetTimeUpdatedDateRange( uint64_t, uint32_t, uint32_t ) = 0; + virtual int8_t AddRequiredKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual uint64_t RequestUGCDetails( uint64_t, uint32_t ) = 0; + virtual uint64_t CreateItem( uint32_t, uint32_t ) = 0; + virtual uint64_t StartItemUpdate( uint32_t, uint64_t ) = 0; + virtual int8_t SetItemTitle( uint64_t, const char * ) = 0; + virtual int8_t SetItemDescription( uint64_t, const char * ) = 0; + virtual int8_t SetItemUpdateLanguage( uint64_t, const char * ) = 0; + virtual int8_t SetItemMetadata( uint64_t, const char * ) = 0; + virtual int8_t SetItemVisibility( uint64_t, uint32_t ) = 0; + virtual int8_t SetItemTags( uint64_t, const u_SteamParamStringArray_t *, int8_t ) = 0; + virtual int8_t SetItemContent( uint64_t, const char * ) = 0; + virtual int8_t SetItemPreview( uint64_t, const char * ) = 0; + virtual int8_t SetAllowLegacyUpload( uint64_t, int8_t ) = 0; + virtual int8_t RemoveAllItemKeyValueTags( uint64_t ) = 0; + virtual int8_t RemoveItemKeyValueTags( uint64_t, const char * ) = 0; + virtual int8_t AddItemKeyValueTag( uint64_t, const char *, const char * ) = 0; + virtual int8_t AddItemPreviewFile( uint64_t, const char *, uint32_t ) = 0; + virtual int8_t AddItemPreviewVideo( uint64_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewFile( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t UpdateItemPreviewVideo( uint64_t, uint32_t, const char * ) = 0; + virtual int8_t RemoveItemPreview( uint64_t, uint32_t ) = 0; + virtual int8_t AddContentDescriptor( uint64_t, uint32_t ) = 0; + virtual int8_t RemoveContentDescriptor( uint64_t, uint32_t ) = 0; + virtual uint64_t SubmitItemUpdate( uint64_t, const char * ) = 0; + virtual uint32_t GetItemUpdateProgress( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual uint64_t SetUserItemVote( uint64_t, int8_t ) = 0; + virtual uint64_t GetUserItemVote( uint64_t ) = 0; + virtual uint64_t AddItemToFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t RemoveItemFromFavorites( uint32_t, uint64_t ) = 0; + virtual uint64_t SubscribeItem( uint64_t ) = 0; + virtual uint64_t UnsubscribeItem( uint64_t ) = 0; + virtual uint32_t GetNumSubscribedItems( ) = 0; + virtual uint32_t GetSubscribedItems( uint64_t *, uint32_t ) = 0; + virtual uint32_t GetItemState( uint64_t ) = 0; + virtual int8_t GetItemInstallInfo( uint64_t, uint64_t *, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetItemDownloadInfo( uint64_t, uint64_t *, uint64_t * ) = 0; + virtual int8_t DownloadItem( uint64_t, int8_t ) = 0; + virtual int8_t BInitWorkshopForGameServer( uint32_t, const char * ) = 0; + virtual void SuspendDownloads( int8_t ) = 0; + virtual uint64_t StartPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTracking( uint64_t *, uint32_t ) = 0; + virtual uint64_t StopPlaytimeTrackingForAllItems( ) = 0; + virtual uint64_t AddDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t RemoveDependency( uint64_t, uint64_t ) = 0; + virtual uint64_t AddAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t RemoveAppDependency( uint64_t, uint32_t ) = 0; + virtual uint64_t GetAppDependencies( uint64_t ) = 0; + virtual uint64_t DeleteItem( uint64_t ) = 0; + virtual int8_t ShowWorkshopEULA( ) = 0; + virtual uint64_t GetWorkshopEULAStatus( ) = 0; + virtual uint32_t GetUserContentDescriptorPreferences( uint32_t *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002 +{ +#ifdef __cplusplus + virtual uint32_t GetSessionCount( ) = 0; + virtual uint32_t GetSessionID( int32_t ) = 0; + virtual CSteamID GetSessionSteamID( uint32_t ) = 0; + virtual const char * GetSessionClientName( uint32_t ) = 0; + virtual uint32_t GetSessionClientFormFactor( uint32_t ) = 0; + virtual int8_t BGetSessionClientResolution( uint32_t, int32_t *, int32_t * ) = 0; + virtual int8_t BStartRemotePlayTogether( int8_t ) = 0; + virtual int8_t BSendRemotePlayTogetherInvite( CSteamID ) = 0; +#endif /* __cplusplus */ +}; + + +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( void * ); +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( void * ); +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( void * ); +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( void * ); +NTSTATUS ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial( void * ); +NTSTATUS ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext( void * ); +NTSTATUS ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse( void * ); +NTSTATUS ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS( void * ); +NTSTATUS ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties( void * ); +NTSTATUS ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry( void * ); +NTSTATUS ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume( void * ); +NTSTATUS ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked( void * ); +NTSTATUS ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether( void * ); +NTSTATUS ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch( void * ); +NTSTATUS ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked( void * ); +NTSTATUS ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus( void * ); +NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences( void * ); +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod( void * ); +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo( void * ); +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData( void * ); +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod( void * ); +NTSTATUS ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits( void * ); +NTSTATUS ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings( void * ); +NTSTATUS ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp( void * ); +NTSTATUS ISteamClient_SteamClient006_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient006_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient006_CreateGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient006_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient006_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient006_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient006_GetIVAC( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient006_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient006_GetUniverseName( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamBilling( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamContentServer( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient006_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient006_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient006_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient007_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient007_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient007_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient007_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient007_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient007_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamContentServer( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient007_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient007_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient007_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient007_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient008_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient008_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient008_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient008_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient008_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient008_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient008_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient008_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient008_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient008_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient009_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient009_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient009_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient009_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient009_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient009_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient009_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient009_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient009_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient009_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient010_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient010_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient010_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient010_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient010_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient010_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient010_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient010_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient010_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient010_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient010_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient011_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient011_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient011_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient011_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient011_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient011_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamMasterServerUpdater( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient011_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient011_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient011_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient011_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient011_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient012_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient012_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient012_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient012_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient012_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient012_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient012_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient012_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient012_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient012_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient012_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient013_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient013_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient013_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient013_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient013_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient013_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient013_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient013_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient013_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient013_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamInventory( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamVideo( void * ); +NTSTATUS ISteamClient_SteamClient013_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient014_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient014_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient014_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient014_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient014_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient014_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient014_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient014_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient014_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient014_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient014_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient015_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient015_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient015_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient015_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient015_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient015_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient015_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient015_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient015_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient015_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient015_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient016_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient016_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient016_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient016_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient016_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient016_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient016_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient016_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient016_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient016_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient016_GetISteamHTMLSurface( void * ); +NTSTATUS ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void * ); +NTSTATUS ISteamClient_SteamClient017_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient017_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient017_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient017_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient017_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient017_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient017_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient017_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient017_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient017_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamHTMLSurface( void * ); +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamInventory( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamVideo( void * ); +NTSTATUS ISteamClient_SteamClient017_GetISteamParentalSettings( void * ); +NTSTATUS ISteamClient_SteamClient018_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient018_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient018_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient018_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient018_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient018_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamGameSearch( void * ); +NTSTATUS ISteamClient_SteamClient018_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient018_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient018_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient018_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamHTMLSurface( void * ); +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamInventory( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamVideo( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamParentalSettings( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamInput( void * ); +NTSTATUS ISteamClient_SteamClient018_GetISteamParties( void * ); +NTSTATUS ISteamClient_SteamClient019_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient019_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient019_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient019_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient019_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient019_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamGameSearch( void * ); +NTSTATUS ISteamClient_SteamClient019_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient019_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient019_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient019_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamHTMLSurface( void * ); +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamInventory( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamVideo( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamParentalSettings( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamInput( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamParties( void * ); +NTSTATUS ISteamClient_SteamClient019_GetISteamRemotePlay( void * ); +NTSTATUS ISteamClient_SteamClient020_CreateSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient020_BReleaseSteamPipe( void * ); +NTSTATUS ISteamClient_SteamClient020_ConnectToGlobalUser( void * ); +NTSTATUS ISteamClient_SteamClient020_CreateLocalUser( void * ); +NTSTATUS ISteamClient_SteamClient020_ReleaseUser( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamUser( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamGameServer( void * ); +NTSTATUS ISteamClient_SteamClient020_SetLocalIPBinding( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamFriends( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamUtils( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamMatchmaking( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamMatchmakingServers( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamGenericInterface( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamUserStats( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamGameServerStats( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamApps( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamNetworking( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamRemoteStorage( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamScreenshots( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamGameSearch( void * ); +NTSTATUS ISteamClient_SteamClient020_RunFrame( void * ); +NTSTATUS ISteamClient_SteamClient020_GetIPCCallCount( void * ); +NTSTATUS ISteamClient_SteamClient020_SetWarningMessageHook( void * ); +NTSTATUS ISteamClient_SteamClient020_BShutdownIfAllPipesClosed( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamHTTP( void * ); +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamController( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamUGC( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamAppList( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamMusic( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamMusicRemote( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamHTMLSurface( void * ); +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess( void * ); +NTSTATUS ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamInventory( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamVideo( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamParentalSettings( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamInput( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamParties( void * ); +NTSTATUS ISteamClient_SteamClient020_GetISteamRemotePlay( void * ); +NTSTATUS ISteamClient_SteamClient020_DestroyAllInterfaces( void * ); +NTSTATUS ISteamController_SteamController003_Init( void * ); +NTSTATUS ISteamController_SteamController003_Shutdown( void * ); +NTSTATUS ISteamController_SteamController003_RunFrame( void * ); +NTSTATUS ISteamController_SteamController003_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController003_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController003_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController003_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController003_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController003_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController003_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController003_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController003_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController003_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController003_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController003_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController003_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController003_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController004_Init( void * ); +NTSTATUS ISteamController_SteamController004_Shutdown( void * ); +NTSTATUS ISteamController_SteamController004_RunFrame( void * ); +NTSTATUS ISteamController_SteamController004_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController004_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController004_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController004_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController004_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController004_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController004_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController004_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController004_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController004_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController004_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController004_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController004_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController004_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController004_GetGamepadIndexForController( void * ); +NTSTATUS ISteamController_SteamController004_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamController_SteamController004_GetMotionData( void * ); +NTSTATUS ISteamController_SteamController004_ShowDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController004_ShowAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController005_Init( void * ); +NTSTATUS ISteamController_SteamController005_Shutdown( void * ); +NTSTATUS ISteamController_SteamController005_RunFrame( void * ); +NTSTATUS ISteamController_SteamController005_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController005_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController005_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController005_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController005_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController005_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController005_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController005_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController005_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController005_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController005_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController005_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController005_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController005_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController005_TriggerVibration( void * ); +NTSTATUS ISteamController_SteamController005_SetLEDColor( void * ); +NTSTATUS ISteamController_SteamController005_GetGamepadIndexForController( void * ); +NTSTATUS ISteamController_SteamController005_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamController_SteamController005_GetMotionData( void * ); +NTSTATUS ISteamController_SteamController005_ShowDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController005_ShowAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController005_GetStringForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController005_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController006_Init( void * ); +NTSTATUS ISteamController_SteamController006_Shutdown( void * ); +NTSTATUS ISteamController_SteamController006_RunFrame( void * ); +NTSTATUS ISteamController_SteamController006_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController006_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController006_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController006_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController006_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController006_ActivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController006_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController006_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController006_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController006_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController006_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController006_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController006_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController006_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController006_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController006_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController006_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController006_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController006_TriggerVibration( void * ); +NTSTATUS ISteamController_SteamController006_SetLEDColor( void * ); +NTSTATUS ISteamController_SteamController006_GetGamepadIndexForController( void * ); +NTSTATUS ISteamController_SteamController006_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamController_SteamController006_GetMotionData( void * ); +NTSTATUS ISteamController_SteamController006_ShowDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController006_ShowAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController006_GetStringForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController006_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController006_GetInputTypeForHandle( void * ); +NTSTATUS ISteamController_SteamController007_Init( void * ); +NTSTATUS ISteamController_SteamController007_Shutdown( void * ); +NTSTATUS ISteamController_SteamController007_RunFrame( void * ); +NTSTATUS ISteamController_SteamController007_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController007_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController007_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController007_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController007_ActivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController007_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController007_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController007_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController007_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController007_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController007_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController007_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController007_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController007_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController007_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController007_GetStringForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController007_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController007_GetMotionData( void * ); +NTSTATUS ISteamController_SteamController007_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController007_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController007_TriggerVibration( void * ); +NTSTATUS ISteamController_SteamController007_SetLEDColor( void * ); +NTSTATUS ISteamController_SteamController007_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController007_GetInputTypeForHandle( void * ); +NTSTATUS ISteamController_SteamController007_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamController_SteamController007_GetGamepadIndexForController( void * ); +NTSTATUS ISteamController_SteamController007_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController007_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController007_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController007_TranslateActionOrigin( void * ); +NTSTATUS ISteamController_SteamController007_GetControllerBindingRevision( void * ); +NTSTATUS ISteamController_SteamController008_Init( void * ); +NTSTATUS ISteamController_SteamController008_Shutdown( void * ); +NTSTATUS ISteamController_SteamController008_RunFrame( void * ); +NTSTATUS ISteamController_SteamController008_GetConnectedControllers( void * ); +NTSTATUS ISteamController_SteamController008_GetActionSetHandle( void * ); +NTSTATUS ISteamController_SteamController008_ActivateActionSet( void * ); +NTSTATUS ISteamController_SteamController008_GetCurrentActionSet( void * ); +NTSTATUS ISteamController_SteamController008_ActivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController008_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamController_SteamController008_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController008_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamController_SteamController008_GetDigitalActionHandle( void * ); +NTSTATUS ISteamController_SteamController008_GetDigitalActionData( void * ); +NTSTATUS ISteamController_SteamController008_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamController_SteamController008_GetAnalogActionHandle( void * ); +NTSTATUS ISteamController_SteamController008_GetAnalogActionData( void * ); +NTSTATUS ISteamController_SteamController008_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamController_SteamController008_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController008_GetStringForActionOrigin( void * ); +NTSTATUS ISteamController_SteamController008_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamController_SteamController008_GetMotionData( void * ); +NTSTATUS ISteamController_SteamController008_TriggerHapticPulse( void * ); +NTSTATUS ISteamController_SteamController008_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamController_SteamController008_TriggerVibration( void * ); +NTSTATUS ISteamController_SteamController008_SetLEDColor( void * ); +NTSTATUS ISteamController_SteamController008_ShowBindingPanel( void * ); +NTSTATUS ISteamController_SteamController008_GetInputTypeForHandle( void * ); +NTSTATUS ISteamController_SteamController008_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamController_SteamController008_GetGamepadIndexForController( void * ); +NTSTATUS ISteamController_SteamController008_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController008_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController008_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamController_SteamController008_TranslateActionOrigin( void * ); +NTSTATUS ISteamController_SteamController008_GetControllerBindingRevision( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends001_AddFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends001_RemoveFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends001_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends001_AddFriendByName( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SendMsgToFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SetFriendRegValue( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendRegValue( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SendMsgToFriend_2( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart( void * ); +NTSTATUS ISteamFriends_SteamFriends001_SetChatHistoryStart( void * ); +NTSTATUS ISteamFriends_SteamFriends001_ClearChatHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends001_InviteFriendByEmail( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetBlockedFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends001_GetFriendGamePlayed2( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends002_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends002_SetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends002_SetFriendRegValue( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendRegValue( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends002_AddFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends002_RemoveFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends002_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends002_AddFriendByName( void * ); +NTSTATUS ISteamFriends_SteamFriends002_InviteFriendByEmail( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends002_SendMsgToFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart( void * ); +NTSTATUS ISteamFriends_SteamFriends002_SetChatHistoryStart( void * ); +NTSTATUS ISteamFriends_SteamFriends002_ClearChatHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends002_InviteFriendToClan( void * ); +NTSTATUS ISteamFriends_SteamFriends002_AcknowledgeInviteToClan( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends003_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends003_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends003_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends003_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends004_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends004_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends004_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends004_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends005_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends005_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends005_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends005_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends006_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends006_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends006_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends006_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends007_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends007_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends007_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends007_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends007_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends008_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends008_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends008_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends008_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends008_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends008_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends008_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends009_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends009_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends009_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends009_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends009_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends009_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends009_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends009_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends009_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends009_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends010_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends010_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends010_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends010_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends010_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends010_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends010_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends010_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends010_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends010_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends011_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends011_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends011_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends011_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends011_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends011_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends011_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends011_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends011_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends011_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends011_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends011_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends012_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends012_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends012_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends012_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends012_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends012_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends012_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends012_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends012_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends012_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends012_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends012_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends012_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends013_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends013_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends013_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends013_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends013_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends013_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends013_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends013_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends013_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends013_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends013_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends013_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends013_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetPlayerNickname( void * ); +NTSTATUS ISteamFriends_SteamFriends014_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends014_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends014_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends014_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends014_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends014_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends014_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends014_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends014_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends014_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends014_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends014_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends014_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendSteamLevel( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetPlayerNickname( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupName( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendsGroupMembersList( void * ); +NTSTATUS ISteamFriends_SteamFriends015_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends015_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends015_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends015_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends015_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends015_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends015_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends015_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends015_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends015_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends015_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsClanPublic( void * ); +NTSTATUS ISteamFriends_SteamFriends015_IsClanOfficialGameGroup( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SetPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRelationship( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaState( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaName( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendGamePlayed( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendSteamLevel( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetPlayerNickname( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupName( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendsGroupMembersList( void * ); +NTSTATUS ISteamFriends_SteamFriends017_HasFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanName( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanTag( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends017_DownloadClanActivityCounts( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCountFromSource( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsUserInSource( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlay( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToUser( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToStore( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SetPlayedWith( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetSmallFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetMediumFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetLargeFriendAvatar( void * ); +NTSTATUS ISteamFriends_SteamFriends017_RequestUserInformation( void * ); +NTSTATUS ISteamFriends_SteamFriends017_RequestClanOfficerList( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanOwner( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanOfficerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanOfficerByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetUserRestrictions( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SetRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ClearRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_RequestFriendRichPresence( void * ); +NTSTATUS ISteamFriends_SteamFriends017_InviteUserToGame( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetCoplayFriendCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetCoplayFriend( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCoplayTime( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendCoplayGame( void * ); +NTSTATUS ISteamFriends_SteamFriends017_JoinClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends017_LeaveClanChatRoom( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanChatMemberCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetChatMemberByIndex( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SendClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetClanChatMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsClanChatAdmin( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam( void * ); +NTSTATUS ISteamFriends_SteamFriends017_SetListenForFriendsMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ReplyToFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFriendMessage( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetFollowerCount( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsFollowing( void * ); +NTSTATUS ISteamFriends_SteamFriends017_EnumerateFollowingList( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsClanPublic( void * ); +NTSTATUS ISteamFriends_SteamFriends017_IsClanOfficialGameGroup( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog( void * ); +NTSTATUS ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser( void * ); +NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString( void * ); +NTSTATUS ISteamFriends_SteamFriends017_RequestEquippedProfileItems( void * ); +NTSTATUS ISteamFriends_SteamFriends017_BHasEquippedProfileItem( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetProfileItemPropertyString( void * ); +NTSTATUS ISteamFriends_SteamFriends017_GetProfileItemPropertyUint( void * ); +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_SendMessage( void * ); +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable( void * ); +NTSTATUS ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetSpawnCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSRemoveUserConnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetServerType2( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateStatus2( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer002_GSSetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSendUserConnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSRemoveUserConnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetSpawnCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSUpdateStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSSetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_BSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_UpdateServerStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_UpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_SetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_BSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_UpdateServerStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_UpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_SetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_BSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_UpdateServerStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_UpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_SetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer008_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_BSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_UpdateServerStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_UpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_SetGameType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer009_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_BSetServerType( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_UpdateServerStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_UpdateSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer010_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_InitGameServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetProduct( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameDescription( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetModDir( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetDedicatedServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_LogOnAnonymous( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_WasRestartRequested( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetMaxPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetBotPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetMapName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetPasswordProtected( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetSpectatorServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_ClearAllKeyValues( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetKeyValue( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetRegion( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_HandleIncomingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_EnableHeartbeats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_SetHeartbeatInterval( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_ForceHeartbeat( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_AssociateWithClan( void * ); +NTSTATUS ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_InitGameServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetProduct( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameDescription( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetModDir( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetDedicatedServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_LogOnAnonymous( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_WasRestartRequested( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetMaxPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetBotPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetMapName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetPasswordProtected( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetSpectatorServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_ClearAllKeyValues( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetKeyValue( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetRegion( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_HandleIncomingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_EnableHeartbeats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_SetHeartbeatInterval( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_ForceHeartbeat( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_AssociateWithClan( void * ); +NTSTATUS ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_InitGameServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetProduct( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameDescription( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetModDir( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetDedicatedServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_LogOnAnonymous( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_WasRestartRequested( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetMaxPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetBotPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetMapName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetPasswordProtected( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetSpectatorServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_ClearAllKeyValues( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetKeyValue( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetRegion( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SendUserDisconnect( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_HandleIncomingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_EnableHeartbeats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_SetHeartbeatInterval( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_ForceHeartbeat( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_AssociateWithClan( void * ); +NTSTATUS ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_InitGameServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetProduct( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameDescription( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetModDir( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetDedicatedServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_LogOnAnonymous( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_WasRestartRequested( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetMaxPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetBotPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetMapName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetPasswordProtected( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetSpectatorServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_ClearAllKeyValues( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetKeyValue( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetRegion( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_HandleIncomingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_AssociateWithClan( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_InitGameServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetProduct( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameDescription( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetModDir( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetDedicatedServer( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_LogOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_LogOnAnonymous( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_LogOff( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_BLoggedOn( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_BSecure( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetSteamID( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_WasRestartRequested( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetMaxPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetBotPlayerCount( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetMapName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetPasswordProtected( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetSpectatorPort( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetSpectatorServerName( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_ClearAllKeyValues( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetKeyValue( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameTags( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetGameData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetRegion( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetAuthSessionTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_BeginAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_EndAuthSession( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_CancelAuthTicket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_UserHasLicenseForApp( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_RequestUserGroupStatus( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetGameplayStats( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetServerReputation( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetPublicIP( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_HandleIncomingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_AssociateWithClan( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_BUpdateUserData( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED( void * ); +NTSTATUS ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_RequestUserStats( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserStat( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserStat( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement( void * ); +NTSTATUS ISteamGameServerStats_SteamGameServerStats001_StoreUserStats( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_GetNewSession( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_EndSession( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeInt( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeString( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddNewRow( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_CommitRow( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_CommitOutstandingRows( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeInt( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAtributeString( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeFloat( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64( void * ); +NTSTATUS ISteamGameStats_SteamGameStats001_AddRowAttributeInt64( void * ); +NTSTATUS ISteamInput_SteamInput001_Init( void * ); +NTSTATUS ISteamInput_SteamInput001_Shutdown( void * ); +NTSTATUS ISteamInput_SteamInput001_RunFrame( void * ); +NTSTATUS ISteamInput_SteamInput001_GetConnectedControllers( void * ); +NTSTATUS ISteamInput_SteamInput001_GetActionSetHandle( void * ); +NTSTATUS ISteamInput_SteamInput001_ActivateActionSet( void * ); +NTSTATUS ISteamInput_SteamInput001_GetCurrentActionSet( void * ); +NTSTATUS ISteamInput_SteamInput001_ActivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput001_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput001_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput001_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionData( void * ); +NTSTATUS ISteamInput_SteamInput001_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionData( void * ); +NTSTATUS ISteamInput_SteamInput001_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput001_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_GetStringForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamInput_SteamInput001_GetMotionData( void * ); +NTSTATUS ISteamInput_SteamInput001_TriggerVibration( void * ); +NTSTATUS ISteamInput_SteamInput001_SetLEDColor( void * ); +NTSTATUS ISteamInput_SteamInput001_TriggerHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput001_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput001_ShowBindingPanel( void * ); +NTSTATUS ISteamInput_SteamInput001_GetInputTypeForHandle( void * ); +NTSTATUS ISteamInput_SteamInput001_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamInput_SteamInput001_GetGamepadIndexForController( void * ); +NTSTATUS ISteamInput_SteamInput001_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_TranslateActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput001_GetDeviceBindingRevision( void * ); +NTSTATUS ISteamInput_SteamInput001_GetRemotePlaySessionID( void * ); +NTSTATUS ISteamInput_SteamInput002_Init( void * ); +NTSTATUS ISteamInput_SteamInput002_Shutdown( void * ); +NTSTATUS ISteamInput_SteamInput002_RunFrame( void * ); +NTSTATUS ISteamInput_SteamInput002_GetConnectedControllers( void * ); +NTSTATUS ISteamInput_SteamInput002_GetActionSetHandle( void * ); +NTSTATUS ISteamInput_SteamInput002_ActivateActionSet( void * ); +NTSTATUS ISteamInput_SteamInput002_GetCurrentActionSet( void * ); +NTSTATUS ISteamInput_SteamInput002_ActivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput002_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput002_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput002_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionData( void * ); +NTSTATUS ISteamInput_SteamInput002_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionData( void * ); +NTSTATUS ISteamInput_SteamInput002_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput002_GetGlyphForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_GetStringForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamInput_SteamInput002_GetMotionData( void * ); +NTSTATUS ISteamInput_SteamInput002_TriggerVibration( void * ); +NTSTATUS ISteamInput_SteamInput002_SetLEDColor( void * ); +NTSTATUS ISteamInput_SteamInput002_TriggerHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput002_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput002_ShowBindingPanel( void * ); +NTSTATUS ISteamInput_SteamInput002_GetInputTypeForHandle( void * ); +NTSTATUS ISteamInput_SteamInput002_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamInput_SteamInput002_GetGamepadIndexForController( void * ); +NTSTATUS ISteamInput_SteamInput002_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_TranslateActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput002_GetDeviceBindingRevision( void * ); +NTSTATUS ISteamInput_SteamInput002_GetRemotePlaySessionID( void * ); +NTSTATUS ISteamInput_SteamInput005_Init( void * ); +NTSTATUS ISteamInput_SteamInput005_Shutdown( void * ); +NTSTATUS ISteamInput_SteamInput005_SetInputActionManifestFilePath( void * ); +NTSTATUS ISteamInput_SteamInput005_RunFrame( void * ); +NTSTATUS ISteamInput_SteamInput005_BWaitForData( void * ); +NTSTATUS ISteamInput_SteamInput005_BNewDataAvailable( void * ); +NTSTATUS ISteamInput_SteamInput005_GetConnectedControllers( void * ); +NTSTATUS ISteamInput_SteamInput005_EnableDeviceCallbacks( void * ); +NTSTATUS ISteamInput_SteamInput005_EnableActionEventCallbacks( void * ); +NTSTATUS ISteamInput_SteamInput005_GetActionSetHandle( void * ); +NTSTATUS ISteamInput_SteamInput005_ActivateActionSet( void * ); +NTSTATUS ISteamInput_SteamInput005_GetCurrentActionSet( void * ); +NTSTATUS ISteamInput_SteamInput005_ActivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput005_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput005_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput005_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionData( void * ); +NTSTATUS ISteamInput_SteamInput005_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput005_GetStringForDigitalActionName( void * ); +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionData( void * ); +NTSTATUS ISteamInput_SteamInput005_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( void * ); +NTSTATUS ISteamInput_SteamInput005_GetStringForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetStringForAnalogActionName( void * ); +NTSTATUS ISteamInput_SteamInput005_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamInput_SteamInput005_GetMotionData( void * ); +NTSTATUS ISteamInput_SteamInput005_TriggerVibration( void * ); +NTSTATUS ISteamInput_SteamInput005_TriggerVibrationExtended( void * ); +NTSTATUS ISteamInput_SteamInput005_TriggerSimpleHapticEvent( void * ); +NTSTATUS ISteamInput_SteamInput005_SetLEDColor( void * ); +NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput005_ShowBindingPanel( void * ); +NTSTATUS ISteamInput_SteamInput005_GetInputTypeForHandle( void * ); +NTSTATUS ISteamInput_SteamInput005_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamInput_SteamInput005_GetGamepadIndexForController( void * ); +NTSTATUS ISteamInput_SteamInput005_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_TranslateActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput005_GetDeviceBindingRevision( void * ); +NTSTATUS ISteamInput_SteamInput005_GetRemotePlaySessionID( void * ); +NTSTATUS ISteamInput_SteamInput005_GetSessionInputConfigurationSettings( void * ); +NTSTATUS ISteamInput_SteamInput006_Init( void * ); +NTSTATUS ISteamInput_SteamInput006_Shutdown( void * ); +NTSTATUS ISteamInput_SteamInput006_SetInputActionManifestFilePath( void * ); +NTSTATUS ISteamInput_SteamInput006_RunFrame( void * ); +NTSTATUS ISteamInput_SteamInput006_BWaitForData( void * ); +NTSTATUS ISteamInput_SteamInput006_BNewDataAvailable( void * ); +NTSTATUS ISteamInput_SteamInput006_GetConnectedControllers( void * ); +NTSTATUS ISteamInput_SteamInput006_EnableDeviceCallbacks( void * ); +NTSTATUS ISteamInput_SteamInput006_EnableActionEventCallbacks( void * ); +NTSTATUS ISteamInput_SteamInput006_GetActionSetHandle( void * ); +NTSTATUS ISteamInput_SteamInput006_ActivateActionSet( void * ); +NTSTATUS ISteamInput_SteamInput006_GetCurrentActionSet( void * ); +NTSTATUS ISteamInput_SteamInput006_ActivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput006_DeactivateActionSetLayer( void * ); +NTSTATUS ISteamInput_SteamInput006_DeactivateAllActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput006_GetActiveActionSetLayers( void * ); +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionData( void * ); +NTSTATUS ISteamInput_SteamInput006_GetDigitalActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput006_GetStringForDigitalActionName( void * ); +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionHandle( void * ); +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionData( void * ); +NTSTATUS ISteamInput_SteamInput006_GetAnalogActionOrigins( void * ); +NTSTATUS ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( void * ); +NTSTATUS ISteamInput_SteamInput006_GetStringForActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetStringForAnalogActionName( void * ); +NTSTATUS ISteamInput_SteamInput006_StopAnalogActionMomentum( void * ); +NTSTATUS ISteamInput_SteamInput006_GetMotionData( void * ); +NTSTATUS ISteamInput_SteamInput006_TriggerVibration( void * ); +NTSTATUS ISteamInput_SteamInput006_TriggerVibrationExtended( void * ); +NTSTATUS ISteamInput_SteamInput006_TriggerSimpleHapticEvent( void * ); +NTSTATUS ISteamInput_SteamInput006_SetLEDColor( void * ); +NTSTATUS ISteamInput_SteamInput006_Legacy_TriggerHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse( void * ); +NTSTATUS ISteamInput_SteamInput006_ShowBindingPanel( void * ); +NTSTATUS ISteamInput_SteamInput006_GetInputTypeForHandle( void * ); +NTSTATUS ISteamInput_SteamInput006_GetControllerForGamepadIndex( void * ); +NTSTATUS ISteamInput_SteamInput006_GetGamepadIndexForController( void * ); +NTSTATUS ISteamInput_SteamInput006_GetStringForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetGlyphForXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_TranslateActionOrigin( void * ); +NTSTATUS ISteamInput_SteamInput006_GetDeviceBindingRevision( void * ); +NTSTATUS ISteamInput_SteamInput006_GetRemotePlaySessionID( void * ); +NTSTATUS ISteamInput_SteamInput006_GetSessionInputConfigurationSettings( void * ); +NTSTATUS ISteamInput_SteamInput006_SetDualSenseTriggerEffect( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers( void * ); +NTSTATUS ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_AcceptGame( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_DeclineGame( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult( void * ); +NTSTATUS ISteamGameSearch_SteamMatchGameSearch001_EndGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_SetLobbyType( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_SetLobbyType( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyType( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyType( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_CreateLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_JoinLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_LeaveLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyType( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner( void * ); +NTSTATUS ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( void * ); +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking001_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_GetSocketConnectionType( void * ); +NTSTATUS ISteamNetworking_SteamNetworking002_GetMaxPacketSize( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_SendP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_ReadP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_GetP2PSessionState( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_GetSocketConnectionType( void * ); +NTSTATUS ISteamNetworking_SteamNetworking003_GetMaxPacketSize( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_SendP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_ReadP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_GetP2PSessionState( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_GetSocketConnectionType( void * ); +NTSTATUS ISteamNetworking_SteamNetworking004_GetMaxPacketSize( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_SendP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_ReadP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_GetP2PSessionState( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_GetSocketConnectionType( void * ); +NTSTATUS ISteamNetworking_SteamNetworking005_GetMaxPacketSize( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_SendP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_ReadP2PPacket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_GetP2PSessionState( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_CreateListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_CreateConnectionSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_DestroySocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_DestroyListenSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_SendDataOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_IsDataAvailable( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_RetrieveData( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_GetListenSocketInfo( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_GetSocketConnectionType( void * ); +NTSTATUS ISteamNetworking_SteamNetworking006_GetMaxPacketSize( void * ); +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort( void * ); +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP( void * ); +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( void * ); +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser( void * ); +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( void * ); +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket( void * ); +NTSTATUS ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString( void * ); +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString( void * ); +NTSTATUS ISteamParties_SteamParties002_GetNumActiveBeacons( void * ); +NTSTATUS ISteamParties_SteamParties002_GetBeaconByIndex( void * ); +NTSTATUS ISteamParties_SteamParties002_GetBeaconDetails( void * ); +NTSTATUS ISteamParties_SteamParties002_JoinParty( void * ); +NTSTATUS ISteamParties_SteamParties002_GetNumAvailableBeaconLocations( void * ); +NTSTATUS ISteamParties_SteamParties002_GetAvailableBeaconLocations( void * ); +NTSTATUS ISteamParties_SteamParties002_CreateBeacon( void * ); +NTSTATUS ISteamParties_SteamParties002_OnReservationCompleted( void * ); +NTSTATUS ISteamParties_SteamParties002_CancelReservation( void * ); +NTSTATUS ISteamParties_SteamParties002_ChangeNumOpenSlots( void * ); +NTSTATUS ISteamParties_SteamParties002_DestroyBeacon( void * ); +NTSTATUS ISteamParties_SteamParties002_GetBeaconLocationData( void * ); +NTSTATUS ISteamUser_SteamUser004_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser004_LogOn( void * ); +NTSTATUS ISteamUser_SteamUser004_LogOff( void * ); +NTSTATUS ISteamUser_SteamUser004_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser004_GetLogonState( void * ); +NTSTATUS ISteamUser_SteamUser004_BConnected( void * ); +NTSTATUS ISteamUser_SteamUser004_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser004_IsVACBanned( void * ); +NTSTATUS ISteamUser_SteamUser004_RequireShowVACBannedMessage( void * ); +NTSTATUS ISteamUser_SteamUser004_AcknowledgeVACBanning( void * ); +NTSTATUS ISteamUser_SteamUser004_NClientGameIDAdd( void * ); +NTSTATUS ISteamUser_SteamUser004_RemoveClientGame( void * ); +NTSTATUS ISteamUser_SteamUser004_SetClientGameServer( void * ); +NTSTATUS ISteamUser_SteamUser004_SetSteam2Ticket( void * ); +NTSTATUS ISteamUser_SteamUser004_AddServerNetAddress( void * ); +NTSTATUS ISteamUser_SteamUser004_SetEmail( void * ); +NTSTATUS ISteamUser_SteamUser004_GetSteamGameConnectToken( void * ); +NTSTATUS ISteamUser_SteamUser004_SetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser004_GetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser004_SetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser004_GetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser004_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser004_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination( void * ); +NTSTATUS ISteamUser_SteamUser004_IsPrimaryChatDestination( void * ); +NTSTATUS ISteamUser_SteamUser004_RequestLegacyCDKey( void * ); +NTSTATUS ISteamUser_SteamUser005_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser005_LogOn( void * ); +NTSTATUS ISteamUser_SteamUser005_LogOff( void * ); +NTSTATUS ISteamUser_SteamUser005_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser005_GetLogonState( void * ); +NTSTATUS ISteamUser_SteamUser005_BConnected( void * ); +NTSTATUS ISteamUser_SteamUser005_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser005_IsVACBanned( void * ); +NTSTATUS ISteamUser_SteamUser005_RequireShowVACBannedMessage( void * ); +NTSTATUS ISteamUser_SteamUser005_AcknowledgeVACBanning( void * ); +NTSTATUS ISteamUser_SteamUser005_SetSteam2Ticket( void * ); +NTSTATUS ISteamUser_SteamUser005_AddServerNetAddress( void * ); +NTSTATUS ISteamUser_SteamUser005_SetEmail( void * ); +NTSTATUS ISteamUser_SteamUser005_SetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser005_GetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser005_SetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser005_GetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser005_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser005_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination( void * ); +NTSTATUS ISteamUser_SteamUser005_IsPrimaryChatDestination( void * ); +NTSTATUS ISteamUser_SteamUser005_RequestLegacyCDKey( void * ); +NTSTATUS ISteamUser_SteamUser005_SendGuestPassByEmail( void * ); +NTSTATUS ISteamUser_SteamUser005_SendGuestPassByAccountID( void * ); +NTSTATUS ISteamUser_SteamUser005_AckGuestPass( void * ); +NTSTATUS ISteamUser_SteamUser005_RedeemGuestPass( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToGiveCount( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemCount( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassLastUpdateTime( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToGiveInfo( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemInfo( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress( void * ); +NTSTATUS ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName( void * ); +NTSTATUS ISteamUser_SteamUser005_AcknowledgeMessageByGID( void * ); +NTSTATUS ISteamUser_SteamUser005_SetLanguage( void * ); +NTSTATUS ISteamUser_SteamUser005_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser005_SetAccountName( void * ); +NTSTATUS ISteamUser_SteamUser005_SetPassword( void * ); +NTSTATUS ISteamUser_SteamUser005_SetAccountCreationTime( void * ); +NTSTATUS ISteamUser_SteamUser006_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser006_LogOn( void * ); +NTSTATUS ISteamUser_SteamUser006_LogOff( void * ); +NTSTATUS ISteamUser_SteamUser006_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser006_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser006_SetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser006_GetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser006_SetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser006_GetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser006_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser006_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser006_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser007_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser007_LogOn( void * ); +NTSTATUS ISteamUser_SteamUser007_LogOff( void * ); +NTSTATUS ISteamUser_SteamUser007_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser007_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser007_SetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser007_GetRegistryString( void * ); +NTSTATUS ISteamUser_SteamUser007_SetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser007_GetRegistryInt( void * ); +NTSTATUS ISteamUser_SteamUser007_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser007_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser007_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser007_RefreshSteam2Login( void * ); +NTSTATUS ISteamUser_SteamUser008_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser008_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser008_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser008_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser008_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser008_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser008_RefreshSteam2Login( void * ); +NTSTATUS ISteamUser_SteamUser009_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser009_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser009_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser009_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser009_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser009_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser009_RefreshSteam2Login( void * ); +NTSTATUS ISteamUser_SteamUser010_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser010_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser010_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser010_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser010_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser010_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser011_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser011_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser011_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser011_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser011_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser011_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser011_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser011_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser011_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser011_GetCompressedVoice( void * ); +NTSTATUS ISteamUser_SteamUser011_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser012_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser012_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser012_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser012_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser012_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser012_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser012_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser012_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser012_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser012_GetCompressedVoice( void * ); +NTSTATUS ISteamUser_SteamUser012_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser012_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser012_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser012_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser012_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser012_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser013_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser013_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser013_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser013_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser013_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser013_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser013_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser013_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser013_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser013_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser013_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser013_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser013_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser013_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser013_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser013_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser013_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser014_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser014_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser014_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser014_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser014_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser014_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser014_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser014_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser014_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser014_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser014_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser014_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser014_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser014_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser014_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser014_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser014_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser014_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser014_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser014_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser014_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser015_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser015_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser015_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser015_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser015_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser015_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser015_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser015_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser015_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser015_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser015_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser015_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser015_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser015_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser015_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser015_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser015_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser015_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser015_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser015_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser015_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser015_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser016_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser016_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser016_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser016_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser016_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser016_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser016_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser016_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser016_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser016_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser016_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser016_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser016_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser016_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser016_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser016_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser016_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser016_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser016_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser016_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser016_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser016_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser017_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser017_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser017_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser017_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser017_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser017_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser017_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser017_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser017_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser017_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser017_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser017_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser017_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser017_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser017_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser017_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser017_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser017_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser017_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser017_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser017_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser017_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser017_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser017_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser018_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser018_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser018_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser018_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser018_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser018_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser018_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser018_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser018_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser018_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser018_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser018_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser018_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser018_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser018_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser018_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser018_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser018_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser018_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser018_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser018_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser018_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser018_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser018_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser018_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser019_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser019_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser019_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser019_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser019_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser019_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser019_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser019_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser019_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser019_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser019_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser019_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser019_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser019_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser019_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser019_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser019_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser019_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser019_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser019_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser019_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser019_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser019_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser019_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser019_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser019_BIsPhoneVerified( void * ); +NTSTATUS ISteamUser_SteamUser019_BIsTwoFactorEnabled( void * ); +NTSTATUS ISteamUser_SteamUser019_BIsPhoneIdentifying( void * ); +NTSTATUS ISteamUser_SteamUser019_BIsPhoneRequiringVerification( void * ); +NTSTATUS ISteamUser_SteamUser020_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser020_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser020_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser020_InitiateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser020_TerminateGameConnection( void * ); +NTSTATUS ISteamUser_SteamUser020_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser020_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser020_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser020_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser020_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser020_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser020_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser020_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser020_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser020_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser020_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser020_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser020_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser020_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser020_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser020_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser020_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser020_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser020_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser020_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser020_BIsPhoneVerified( void * ); +NTSTATUS ISteamUser_SteamUser020_BIsTwoFactorEnabled( void * ); +NTSTATUS ISteamUser_SteamUser020_BIsPhoneIdentifying( void * ); +NTSTATUS ISteamUser_SteamUser020_BIsPhoneRequiringVerification( void * ); +NTSTATUS ISteamUser_SteamUser020_GetMarketEligibility( void * ); +NTSTATUS ISteamUser_SteamUser020_GetDurationControl( void * ); +NTSTATUS ISteamUser_SteamUser021_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser021_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser021_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser021_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser021_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser021_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser021_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser021_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser021_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser021_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser021_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser021_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser021_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser021_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser021_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser021_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser021_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser021_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser021_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser021_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser021_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser021_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser021_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser021_BIsPhoneVerified( void * ); +NTSTATUS ISteamUser_SteamUser021_BIsTwoFactorEnabled( void * ); +NTSTATUS ISteamUser_SteamUser021_BIsPhoneIdentifying( void * ); +NTSTATUS ISteamUser_SteamUser021_BIsPhoneRequiringVerification( void * ); +NTSTATUS ISteamUser_SteamUser021_GetMarketEligibility( void * ); +NTSTATUS ISteamUser_SteamUser021_GetDurationControl( void * ); +NTSTATUS ISteamUser_SteamUser021_BSetDurationControlOnlineState( void * ); +NTSTATUS ISteamUser_SteamUser022_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser022_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser022_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser022_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser022_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser022_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser022_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser022_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser022_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser022_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser022_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser022_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser022_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser022_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser022_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser022_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser022_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser022_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser022_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser022_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser022_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser022_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser022_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser022_BIsPhoneVerified( void * ); +NTSTATUS ISteamUser_SteamUser022_BIsTwoFactorEnabled( void * ); +NTSTATUS ISteamUser_SteamUser022_BIsPhoneIdentifying( void * ); +NTSTATUS ISteamUser_SteamUser022_BIsPhoneRequiringVerification( void * ); +NTSTATUS ISteamUser_SteamUser022_GetMarketEligibility( void * ); +NTSTATUS ISteamUser_SteamUser022_GetDurationControl( void * ); +NTSTATUS ISteamUser_SteamUser022_BSetDurationControlOnlineState( void * ); +NTSTATUS ISteamUser_SteamUser023_GetHSteamUser( void * ); +NTSTATUS ISteamUser_SteamUser023_BLoggedOn( void * ); +NTSTATUS ISteamUser_SteamUser023_GetSteamID( void * ); +NTSTATUS ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED( void * ); +NTSTATUS ISteamUser_SteamUser023_TrackAppUsageEvent( void * ); +NTSTATUS ISteamUser_SteamUser023_GetUserDataFolder( void * ); +NTSTATUS ISteamUser_SteamUser023_StartVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser023_StopVoiceRecording( void * ); +NTSTATUS ISteamUser_SteamUser023_GetAvailableVoice( void * ); +NTSTATUS ISteamUser_SteamUser023_GetVoice( void * ); +NTSTATUS ISteamUser_SteamUser023_DecompressVoice( void * ); +NTSTATUS ISteamUser_SteamUser023_GetVoiceOptimalSampleRate( void * ); +NTSTATUS ISteamUser_SteamUser023_GetAuthSessionTicket( void * ); +NTSTATUS ISteamUser_SteamUser023_GetAuthTicketForWebApi( void * ); +NTSTATUS ISteamUser_SteamUser023_BeginAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser023_EndAuthSession( void * ); +NTSTATUS ISteamUser_SteamUser023_CancelAuthTicket( void * ); +NTSTATUS ISteamUser_SteamUser023_UserHasLicenseForApp( void * ); +NTSTATUS ISteamUser_SteamUser023_BIsBehindNAT( void * ); +NTSTATUS ISteamUser_SteamUser023_AdvertiseGame( void * ); +NTSTATUS ISteamUser_SteamUser023_RequestEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser023_GetEncryptedAppTicket( void * ); +NTSTATUS ISteamUser_SteamUser023_GetGameBadgeLevel( void * ); +NTSTATUS ISteamUser_SteamUser023_GetPlayerSteamLevel( void * ); +NTSTATUS ISteamUser_SteamUser023_RequestStoreAuthURL( void * ); +NTSTATUS ISteamUser_SteamUser023_BIsPhoneVerified( void * ); +NTSTATUS ISteamUser_SteamUser023_BIsTwoFactorEnabled( void * ); +NTSTATUS ISteamUser_SteamUser023_BIsPhoneIdentifying( void * ); +NTSTATUS ISteamUser_SteamUser023_BIsPhoneRequiringVerification( void * ); +NTSTATUS ISteamUser_SteamUser023_GetMarketEligibility( void * ); +NTSTATUS ISteamUser_SteamUser023_GetDurationControl( void * ); +NTSTATUS ISteamUser_SteamUser023_BSetDurationControlOnlineState( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils002_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils002_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils002_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils004_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils004_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils004_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils004_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils004_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils004_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils005_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils005_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils005_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils005_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils005_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils005_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils005_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils005_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils006_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils006_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils006_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils006_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils006_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils006_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils006_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils006_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils006_GetSteamUILanguage( void * ); +NTSTATUS ISteamUtils_SteamUtils006_IsSteamRunningInVR( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils007_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils007_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils007_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils007_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils007_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils007_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils007_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils007_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils007_GetSteamUILanguage( void * ); +NTSTATUS ISteamUtils_SteamUtils007_IsSteamRunningInVR( void * ); +NTSTATUS ISteamUtils_SteamUtils007_SetOverlayNotificationInset( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils008_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils008_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils008_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils008_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils008_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils008_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils008_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils008_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils008_GetSteamUILanguage( void * ); +NTSTATUS ISteamUtils_SteamUtils008_IsSteamRunningInVR( void * ); +NTSTATUS ISteamUtils_SteamUtils008_SetOverlayNotificationInset( void * ); +NTSTATUS ISteamUtils_SteamUtils008_IsSteamInBigPictureMode( void * ); +NTSTATUS ISteamUtils_SteamUtils008_StartVRDashboard( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils009_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils009_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils009_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils009_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils009_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils009_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetSteamUILanguage( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsSteamRunningInVR( void * ); +NTSTATUS ISteamUtils_SteamUtils009_SetOverlayNotificationInset( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsSteamInBigPictureMode( void * ); +NTSTATUS ISteamUtils_SteamUtils009_StartVRDashboard( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils009_IsSteamChinaLauncher( void * ); +NTSTATUS ISteamUtils_SteamUtils009_InitFilterText( void * ); +NTSTATUS ISteamUtils_SteamUtils009_FilterText( void * ); +NTSTATUS ISteamUtils_SteamUtils009_GetIPv6ConnectivityState( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetSecondsSinceAppActive( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetConnectedUniverse( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetServerRealTime( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetIPCountry( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetImageSize( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetImageRGBA( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetCSERIPPort( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetCurrentBatteryPower( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetAppID( void * ); +NTSTATUS ISteamUtils_SteamUtils010_SetOverlayNotificationPosition( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsAPICallCompleted( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetAPICallFailureReason( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetAPICallResult( void * ); +NTSTATUS ISteamUtils_SteamUtils010_RunFrame( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetIPCCallCount( void * ); +NTSTATUS ISteamUtils_SteamUtils010_SetWarningMessageHook( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsOverlayEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils010_BOverlayNeedsPresent( void * ); +NTSTATUS ISteamUtils_SteamUtils010_CheckFileSignature( void * ); +NTSTATUS ISteamUtils_SteamUtils010_ShowGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetSteamUILanguage( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsSteamRunningInVR( void * ); +NTSTATUS ISteamUtils_SteamUtils010_SetOverlayNotificationInset( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsSteamInBigPictureMode( void * ); +NTSTATUS ISteamUtils_SteamUtils010_StartVRDashboard( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsSteamChinaLauncher( void * ); +NTSTATUS ISteamUtils_SteamUtils010_InitFilterText( void * ); +NTSTATUS ISteamUtils_SteamUtils010_FilterText( void * ); +NTSTATUS ISteamUtils_SteamUtils010_GetIPv6ConnectivityState( void * ); +NTSTATUS ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck( void * ); +NTSTATUS ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput( void * ); +NTSTATUS ISteamUtils_SteamUtils010_SetGameLauncherMode( void * ); +NTSTATUS ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput( void * ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/lsteamclient/unix_steam_input_manual.cpp b/lsteamclient/unix_steam_input_manual.cpp new file mode 100644 index 000000000..c1c560119 --- /dev/null +++ b/lsteamclient/unix_steam_input_manual.cpp @@ -0,0 +1,413 @@ +#include "unix_private.h" + +#include + +#ifdef __linux__ +#include +#endif + +#ifdef __linux__ +static const uint32_t vk_to_xkeysym[0xFF] = +{ + 0, /* 0x0 Undefined */ + 0, /* VK_LBUTTON */ + 0, /* VK_RBUTTON */ + XK_Cancel, /* VK_CANCEL */ + 0, /* VK_MBUTTON */ + 0, /* VK_XBUTTON1 */ + 0, /* VK_XBUTTON2 */ + 0, /* 0x07 Undefined */ + XK_BackSpace, /* VK_BACK */ + XK_Tab, /* VK_TAB */ + 0, /* 0x0A-0x0B Undefined */ + 0, + XK_Clear, /* VK_CLEAR */ + XK_Return, /* VK_RETURN */ + 0, /* 0x0E-0x0F Undefined */ + 0, + XK_Shift_L, /* VK_SHIFT */ + XK_Control_L, /* VK_CONTROL */ + XK_Alt_L, /* VK_MENU */ + XK_Pause, /* VK_PAUSE */ + XK_Caps_Lock, /* VK_CAPITAL */ + 0, /* VK_KANA */ + 0, /* 0x16 Undefined */ + 0, /* VK_JUNJA */ + 0, /* VK_FINAL */ + 0, /* VK_HANJA */ + 0, /* 0x1A Undefined */ + XK_Escape, /* VK_ESCAPE */ + XK_Henkan_Mode, /* VK_CONVERT */ + XK_Muhenkan, /* VK_NONCONVERT */ + 0, /* VK_ACCEPT */ + 0, /* VK_MODECHANGE */ + ' ', /* VK_SPACE */ + XK_Prior, /* VK_PRIOR */ + XK_Next, /* VK_NEXT */ + XK_End, /* VK_END */ + XK_Home, /* VK_HOME */ + XK_Left, /* VK_LEFT */ + XK_Up, /* VK_UP */ + XK_Right, /* VK_RIGHT */ + XK_Down, /* VK_DOWN */ + XK_Select, /* VK_SELECT */ + XK_Print, /* VK_PRINT */ + XK_Execute, /* VK_EXECUTE */ + XK_Print, /* VK_SNAPSHOT */ + XK_Insert, /* VK_INSERT */ + XK_Delete, /* VK_DELETE */ + XK_Help, /* VK_HELP */ + + '0', + '1', + '2', + '3', + '4', + '5', + '6', + '7', + '8', + '9', + 0, + 0, + 0, + 0, + 0, + 0, + 0, /* 0x3A-0x40 Undefined */ + 'A', + 'B', + 'C', + 'D', + 'E', + 'F', + 'G', + 'H', + 'I', + 'J', + 'K', + 'L', + 'M', + 'N', + 'O', + 'P', + 'Q', + 'R', + 'S', + 'T', + 'U', + 'V', + 'W', + 'X', + 'Y', + 'Z', + + XK_Super_L, /* VK_LWIN */ + XK_Super_R, /* VK_RWIN */ + XK_Menu, /* VK_APPS */ + 0, /* 0x5E Unassigned */ + 0, /* VK_SLEEP */ + XK_KP_0, /* VK_NUMPAD0 */ + XK_KP_1, /* VK_NUMPAD1 */ + XK_KP_2, /* VK_NUMPAD2 */ + XK_KP_3, /* VK_NUMPAD3 */ + XK_KP_4, /* VK_NUMPAD4 */ + XK_KP_5, /* VK_NUMPAD5 */ + XK_KP_6, /* VK_NUMPAD6 */ + XK_KP_7, /* VK_NUMPAD7 */ + XK_KP_8, /* VK_NUMPAD8 */ + XK_KP_9, /* VK_NUMPAD9 */ + XK_KP_Multiply, /* VK_MULTIPLY */ + XK_KP_Add, /* VK_ADD */ + XK_KP_Separator, /* VK_SEPARATOR */ + XK_KP_Subtract, /* VK_SUBTRACT */ + XK_KP_Decimal, /* VK_DECIMAL */ + XK_KP_Divide, /* VK_DIVIDE */ + XK_F1, /* VK_F1 */ + XK_F2, /* VK_F2 */ + XK_F3, /* VK_F3 */ + XK_F4, /* VK_F4 */ + XK_F5, /* VK_F5 */ + XK_F6, /* VK_F6 */ + XK_F7, /* VK_F7 */ + XK_F8, /* VK_F8 */ + XK_F9, /* VK_F9 */ + XK_F10, /* VK_F10 */ + XK_F11, /* VK_F11 */ + XK_F12, /* VK_F12 */ + XK_F13, /* VK_F13 */ + XK_F14, /* VK_F14 */ + XK_F15, /* VK_F15 */ + XK_F16, /* VK_F16 */ + XK_F17, /* VK_F17 */ + XK_F18, /* VK_F18 */ + XK_F19, /* VK_F19 */ + XK_F20, /* VK_F20 */ + XK_F21, /* VK_F21 */ + XK_F22, /* VK_F22 */ + XK_F23, /* VK_F23 */ + XK_F24, /* VK_F24 */ + 0, /* VK_NAVIGATION_VIEW */ + 0, /* VK_NAVIGATION_MENU */ + 0, /* VK_NAVIGATION_UP */ + 0, /* VK_NAVIGATION_DOWN */ + 0, /* VK_NAVIGATION_LEFT */ + 0, /* VK_NAVIGATION_RIGHT */ + 0, /* VK_NAVIGATION_ACCEPT */ + 0, /* VK_NAVIGATION_CANCEL */ + XK_Num_Lock, /* VK_NUMLOCK */ + XK_Scroll_Lock, /* VK_SCROLL */ + XK_KP_Equal, /* VK_OEM_NEC_EQUAL */ + 0, /* VK_OEM_FJ_JISHO */ + 0, /* VK_OEM_FJ_MASSHOU */ + 0, /* VK_OEM_FJ_TOUROKU */ + 0, /* VK_OEM_FJ_LOYA */ + 0, /* VK_OEM_FJ_ROYA */ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, /* 0x97-0x9F Unassigned */ + XK_Shift_L, /* VK_LSHIFT */ + XK_Shift_R, /* VK_RSHIFT */ + XK_Control_L, /* VK_LCONTROL */ + XK_Control_R, /* VK_RCONTROL */ + XK_Alt_L, /* VK_LMENU */ + XK_Alt_R, /* VK_RMENU */ + + /* below are OEM, browser keys, etc */ +}; + +uint32_t manual_convert_nNativeKeyCode( uint32_t win_vk ) +{ + if(win_vk < sizeof(vk_to_xkeysym) / sizeof(*vk_to_xkeysym)) + return vk_to_xkeysym[win_vk]; + return 0; +} +#else +#error You must implement VK<->Native keysym conversion for this platform. +#endif + +typedef std::unordered_map< uint64_t, char * > glyph_cache; +static glyph_cache input_cache, input_cache_svg, input_cache_png, xbox_cache, controller_cache; + +static const char *glyph_cache_lookup( glyph_cache &cache, const char *lin_path, uint16_t origin, + uint32_t flags, uint16_t size ) +{ + uint64_t key = (uint64_t)flags << 32 | (uint64_t)size << 16 | origin; + + if (cache.find( key ) == cache.end()) + { + char *dos_path = (char *)HeapAlloc( GetProcessHeap(), 0, PATH_MAX ); + steamclient_unix_path_to_dos_path( 1, lin_path, dos_path, PATH_MAX, 0 ); + cache[key] = dos_path; + } + + return cache[key]; +} + +/* ISteamController_SteamController005 */ + +NTSTATUS ISteamController_SteamController005_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamController_SteamController005_GetGlyphForActionOrigin_params *params = (struct ISteamController_SteamController005_GetGlyphForActionOrigin_params *)args; + struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( controller_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamController_SteamController006 */ + +NTSTATUS ISteamController_SteamController006_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamController_SteamController006_GetGlyphForActionOrigin_params *params = (struct ISteamController_SteamController006_GetGlyphForActionOrigin_params *)args; + struct u_ISteamController_SteamController006 *iface = (struct u_ISteamController_SteamController006 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( controller_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamController_SteamController007 */ + +NTSTATUS ISteamController_SteamController007_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamController_SteamController007_GetGlyphForActionOrigin_params *params = (struct ISteamController_SteamController007_GetGlyphForActionOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( controller_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamController_SteamController007_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamController_SteamController007_GetGlyphForXboxOrigin_params *params = (struct ISteamController_SteamController007_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamController_SteamController007 *iface = (struct u_ISteamController_SteamController007 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamController_SteamController008 */ + +NTSTATUS ISteamController_SteamController008_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamController_SteamController008_GetGlyphForActionOrigin_params *params = (struct ISteamController_SteamController008_GetGlyphForActionOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( controller_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamController_SteamController008_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamController_SteamController008_GetGlyphForXboxOrigin_params *params = (struct ISteamController_SteamController008_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamInput_SteamInput001 */ + +NTSTATUS ISteamInput_SteamInput001_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput001_GetGlyphForActionOrigin_params *params = (struct ISteamInput_SteamInput001_GetGlyphForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( input_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput001_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamInput_SteamInput001_GetGlyphForXboxOrigin_params *params = (struct ISteamInput_SteamInput001_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamInput_SteamInput002 */ + +NTSTATUS ISteamInput_SteamInput002_GetGlyphForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput002_GetGlyphForActionOrigin_params *params = (struct ISteamInput_SteamInput002_GetGlyphForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( input_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput002_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *params = (struct ISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput002 *iface = (struct u_ISteamInput_SteamInput002 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamInput_SteamInput005 */ + +static void (W_STDCALL *w_EnableActionEventCallbacks_152)( SteamInputActionEvent_t * ); +static void U_STDCALL u_SteamInputActionEventCallbackPointer_152( SteamInputActionEvent_t *dat ) +{ + if (w_EnableActionEventCallbacks_152) queue_stdcall_func_callback( (w_stdcall_func)w_EnableActionEventCallbacks_152, dat, sizeof(*dat) ); +} + +NTSTATUS ISteamInput_SteamInput005_EnableActionEventCallbacks( void *args ) +{ + struct ISteamInput_SteamInput005_EnableActionEventCallbacks_params *params = (struct ISteamInput_SteamInput005_EnableActionEventCallbacks_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + w_EnableActionEventCallbacks_152 = params->pCallback; + iface->EnableActionEventCallbacks( params->pCallback ? &u_SteamInputActionEventCallbackPointer_152 : NULL ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params *params = (struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphPNGForActionOrigin( params->eOrigin, params->eSize, params->unFlags ))) return 0; + params->_ret = glyph_cache_lookup( input_cache_png, params->_ret, params->eOrigin, params->unFlags, params->eSize ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params *params = (struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphSVGForActionOrigin( params->eOrigin, params->unFlags ))) return 0; + params->_ret = glyph_cache_lookup( input_cache_svg, params->_ret, params->eOrigin, params->unFlags, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy( void *args ) +{ + struct ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params *params = (struct ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin_Legacy( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( input_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput005_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamInput_SteamInput005_GetGlyphForXboxOrigin_params *params = (struct ISteamInput_SteamInput005_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +/* ISteamInput_SteamInput006 */ + +NTSTATUS ISteamInput_SteamInput006_EnableActionEventCallbacks( void *args ) +{ + struct ISteamInput_SteamInput006_EnableActionEventCallbacks_params *params = (struct ISteamInput_SteamInput006_EnableActionEventCallbacks_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + w_EnableActionEventCallbacks_152 = params->pCallback; + iface->EnableActionEventCallbacks( params->pCallback ? &u_SteamInputActionEventCallbackPointer_152 : NULL ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params *params = (struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphPNGForActionOrigin( params->eOrigin, params->eSize, params->unFlags ))) return 0; + params->_ret = glyph_cache_lookup( input_cache_png, params->_ret, params->eOrigin, params->unFlags, params->eSize ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin( void *args ) +{ + struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params *params = (struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphSVGForActionOrigin( params->eOrigin, params->unFlags ))) return 0; + params->_ret = glyph_cache_lookup( input_cache_svg, params->_ret, params->eOrigin, params->unFlags, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy( void *args ) +{ + struct ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params *params = (struct ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForActionOrigin_Legacy( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( input_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} + +NTSTATUS ISteamInput_SteamInput006_GetGlyphForXboxOrigin( void *args ) +{ + struct ISteamInput_SteamInput006_GetGlyphForXboxOrigin_params *params = (struct ISteamInput_SteamInput006_GetGlyphForXboxOrigin_params *)args; + struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side; + if (!(params->_ret = iface->GetGlyphForXboxOrigin( params->eOrigin ))) return 0; + params->_ret = glyph_cache_lookup( xbox_cache, params->_ret, params->eOrigin, 0, 0 ); + return 0; +} diff --git a/lsteamclient/unix_steam_networking_manual.cpp b/lsteamclient/unix_steam_networking_manual.cpp new file mode 100644 index 000000000..f40d96d81 --- /dev/null +++ b/lsteamclient/unix_steam_networking_manual.cpp @@ -0,0 +1,966 @@ +#include "unix_private.h" + +#include + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +static void receive_messages_utow_144( uint32_t count, u_SteamNetworkingMessage_t_144 **u_msgs, + w_SteamNetworkingMessage_t_144 **w_msgs ) +{ + uint32_t i; + + for (i = 0; i < count; i++) + { + struct networking_message *message = CONTAINING_RECORD( w_msgs[i], struct networking_message, w_msg_144 ); + w_SteamNetworkingMessage_t_144 *w_msg = &message->w_msg_144; + u_SteamNetworkingMessage_t_144 *u_msg = u_msgs[i]; + message->u_msg_144 = u_msg; + + w_msg->m_cbSize = u_msg->m_cbSize; + w_msg->m_conn = u_msg->m_conn; + w_msg->m_sender = u_msg->m_sender; + w_msg->m_nConnUserData = u_msg->m_nConnUserData; + w_msg->m_usecTimeReceived = u_msg->m_usecTimeReceived; + w_msg->m_nMessageNumber = u_msg->m_nMessageNumber; + w_msg->m_nChannel = u_msg->m_nChannel; + } +} + +NTSTATUS steamclient_networking_messages_receive_144( void *args ) +{ + struct steamclient_networking_messages_receive_144_params *params = (struct steamclient_networking_messages_receive_144_params *)args; + uint32_t i; + + for (i = 0; i < params->count; i++) + { + struct networking_message *message = CONTAINING_RECORD( params->w_msgs[i], struct networking_message, w_msg_144 ); + w_SteamNetworkingMessage_t_144 *w_msg = &message->w_msg_144; + u_SteamNetworkingMessage_t_144 *u_msg = message->u_msg_144; + + memcpy( w_msg->m_pData, u_msg->m_pData, u_msg->m_cbSize ); + u_msg->m_pfnRelease( u_msg ); + message->u_msg_144 = NULL; + } + + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets002 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + u_SteamNetworkingMessage_t_144 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_144( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side; + u_SteamNetworkingMessage_t_144 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_144( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets004 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + u_SteamNetworkingMessage_t_144 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_144( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets004 *)params->linux_side; + u_SteamNetworkingMessage_t_144 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_144( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +static void receive_messages_utow_147( uint32_t count, u_SteamNetworkingMessage_t_147 **u_msgs, + w_SteamNetworkingMessage_t_147 **w_msgs ) +{ + uint32_t i; + + for (i = 0; i < count; i++) + { + struct networking_message *message = CONTAINING_RECORD( w_msgs[i], struct networking_message, w_msg_147 ); + w_SteamNetworkingMessage_t_147 *w_msg = &message->w_msg_147; + u_SteamNetworkingMessage_t_147 *u_msg = u_msgs[i]; + message->u_msg_147 = u_msg; + + w_msg->m_cbSize = u_msg->m_cbSize; + w_msg->m_conn = u_msg->m_conn; + w_msg->m_identityPeer = u_msg->m_identityPeer; + w_msg->m_nConnUserData = u_msg->m_nConnUserData; + w_msg->m_usecTimeReceived = u_msg->m_usecTimeReceived; + w_msg->m_nMessageNumber = u_msg->m_nMessageNumber; + w_msg->m_nChannel = u_msg->m_nChannel; + w_msg->m_nFlags = u_msg->m_nFlags; + w_msg->m_nUserData = u_msg->m_nUserData; + } +} + +NTSTATUS steamclient_networking_messages_receive_147( void *args ) +{ + struct steamclient_networking_messages_receive_147_params *params = (struct steamclient_networking_messages_receive_147_params *)args; + uint32_t i; + + for (i = 0; i < params->count; i++) + { + struct networking_message *message = CONTAINING_RECORD( params->w_msgs[i], struct networking_message, w_msg_147 ); + w_SteamNetworkingMessage_t_147 *w_msg = &message->w_msg_147; + u_SteamNetworkingMessage_t_147 *u_msg = message->u_msg_147; + + memcpy( w_msg->m_pData, u_msg->m_pData, u_msg->m_cbSize ); + u_msg->m_pfnRelease( u_msg ); + message->u_msg_147 = NULL; + } + + return 0; +} + +static void U_STDCALL u_SteamNetworkingMessage_t_147_FreeData( u_SteamNetworkingMessage_t_147 *msg ) +{ + free( msg->m_pData ); + msg->m_pData = NULL; +} + +static void send_messages_wtou_147( uint32_t count, w_SteamNetworkingMessage_t_147 *const *w_msgs, + u_SteamNetworkingMessage_t_147 **u_msgs ) +{ + uint32_t i; + + for (i = 0; i < count; i++) + { + struct networking_message *message = CONTAINING_RECORD( w_msgs[i], struct networking_message, w_msg_147 ); + w_SteamNetworkingMessage_t_147 *w_msg = &message->w_msg_147; + u_SteamNetworkingMessage_t_147 *u_msg = message->u_msg_147; + + if (!u_msg->m_pData) + { + u_msg->m_pData = malloc( w_msg->m_cbSize ); + u_msg->m_pfnFreeData = u_SteamNetworkingMessage_t_147_FreeData; + } + + memcpy( u_msg->m_pData, w_msg->m_pData, w_msg->m_cbSize ); + u_msg->m_cbSize = w_msg->m_cbSize; + u_msg->m_conn = w_msg->m_conn; + u_msg->m_identityPeer = w_msg->m_identityPeer; + u_msg->m_nConnUserData = w_msg->m_nConnUserData; + u_msg->m_usecTimeReceived = w_msg->m_usecTimeReceived; + u_msg->m_nMessageNumber = w_msg->m_nMessageNumber; + u_msg->m_nChannel = w_msg->m_nChannel; + u_msg->m_nFlags = w_msg->m_nFlags; + u_msg->m_nUserData = w_msg->m_nUserData; + + /* steamclient library takes ownership */ + message->u_msg_147 = NULL; + u_msgs[i] = u_msg; + } +} + +static void networking_message_release_147( w_SteamNetworkingMessage_t_147 *w_msg ) +{ + struct networking_message *message = CONTAINING_RECORD( w_msg, struct networking_message, w_msg_147 ); + u_SteamNetworkingMessage_t_147 *u_msg = message->u_msg_147; + + if (!message->u_msg_147) return; + u_msg->m_pfnRelease( u_msg ); + message->u_msg_147 = NULL; +} + +NTSTATUS steamclient_networking_message_release_147( void *args ) +{ + struct steamclient_networking_message_release_147_params *params = (struct steamclient_networking_message_release_147_params *)args; + networking_message_release_147( params->w_msg ); + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets006 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnListenSocket( params->hSocket, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMessages]; + send_messages_wtou_147( params->nMessages, params->pMessages, u_msgs ); + iface->SendMessages( params->nMessages, u_msgs, params->pOutMessageNumberOrResult ); + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets008 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMessages]; + send_messages_wtou_147( params->nMessages, params->pMessages, u_msgs ); + iface->SendMessages( params->nMessages, u_msgs, params->pOutMessageNumberOrResult ); + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets009 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_147( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets009 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msgs[params->nMessages]; + send_messages_wtou_147( params->nMessages, params->pMessages, u_msgs ); + iface->SendMessages( params->nMessages, u_msgs, params->pOutMessageNumberOrResult ); + return 0; +} + +/* ISteamNetworkingUtils_SteamNetworkingUtils003 */ + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage( void *args ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + u_SteamNetworkingMessage_t_147 *u_msg = iface->AllocateMessage( params->cbAllocateBuffer ); + if (u_msg) receive_messages_utow_147( 1, &u_msg, ¶ms->_ret ); + return 0; +} + +static void (*W_CDECL w_SteamNetConnectionStatusChanged)( w_SteamNetConnectionStatusChangedCallback_t_151 * ); +static void U_CDECL u_SteamNetConnectionStatusChanged( u_SteamNetConnectionStatusChangedCallback_t_151 *u_dat ) +{ + w_SteamNetConnectionStatusChangedCallback_t_151 w_dat = *u_dat; + if (w_SteamNetConnectionStatusChanged) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetConnectionStatusChanged, &w_dat, sizeof(w_dat) ); +} + +static void (*W_CDECL w_SteamNetAuthenticationStatusChanged)( SteamNetAuthenticationStatus_t * ); +static void U_CDECL u_SteamNetAuthenticationStatusChanged( SteamNetAuthenticationStatus_t *dat ) +{ + if (w_SteamNetAuthenticationStatusChanged) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetAuthenticationStatusChanged, dat, sizeof(*dat) ); +} + +static void (*W_CDECL w_SteamRelayNetworkStatusChanged)( SteamRelayNetworkStatus_t * ); +static void U_CDECL u_SteamRelayNetworkStatusChanged( SteamRelayNetworkStatus_t *dat ) +{ + if (w_SteamRelayNetworkStatusChanged) queue_cdecl_func_callback( (w_cdecl_func)w_SteamRelayNetworkStatusChanged, dat, sizeof(*dat) ); +} + +static void (*W_CDECL w_SteamNetworkingMessagesSessionRequest)( SteamNetworkingMessagesSessionRequest_t_151 * ); +static void U_CDECL u_SteamNetworkingMessagesSessionRequest( SteamNetworkingMessagesSessionRequest_t_151 *dat ) +{ + if (w_SteamNetworkingMessagesSessionRequest) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetworkingMessagesSessionRequest, dat, sizeof(*dat) ); +} + +static void (*W_CDECL w_SteamNetworkingMessagesSessionFailed)( SteamNetworkingMessagesSessionFailed_t_151 * ); +static void U_CDECL u_SteamNetworkingMessagesSessionFailed( SteamNetworkingMessagesSessionFailed_t_151 *dat ) +{ + if (w_SteamNetworkingMessagesSessionFailed) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetworkingMessagesSessionFailed, dat, sizeof(*dat) ); +} + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue( void *args ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils003 *)params->linux_side; + void *u_fn; /* api requires passing pointer-to-pointer */ + + switch (params->eValue) + { +#define CASE( y ) \ + if (!params->pArg) \ + { \ + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, \ + params->scopeObj, params->eDataType, NULL ); \ + } \ + else \ + { \ + if (*(void **)params->pArg == NULL) u_fn = NULL; \ + else u_fn = (void *)&u_##y; \ + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, \ + params->scopeObj, params->eDataType, &u_fn ); \ + if (params->_ret) w_##y = *(decltype(w_##y) *)params->pArg; \ + } + + case 201 /*ConnectionStatusChanged*/: CASE( SteamNetConnectionStatusChanged ) + case 202 /*AuthStatusChanged*/: CASE( SteamNetAuthenticationStatusChanged ) + case 203 /*RelayNetworkStatusChanged*/: CASE( SteamRelayNetworkStatusChanged ) + case 204 /*MessagesSessionRequest*/: CASE( SteamNetworkingMessagesSessionRequest ) + case 205 /*MessagesSessionFailed*/: CASE( SteamNetworkingMessagesSessionFailed ) + +#undef CASE + + default: + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, params->scopeObj, + params->eDataType, params->pArg ); + } + + return 0; +} + +static void receive_messages_utow_153a( uint32_t count, u_SteamNetworkingMessage_t_153a **u_msgs, + w_SteamNetworkingMessage_t_153a **w_msgs ) +{ + uint32_t i; + + for (i = 0; i < count; i++) + { + struct networking_message *message = CONTAINING_RECORD( w_msgs[i], struct networking_message, w_msg_153a ); + w_SteamNetworkingMessage_t_153a *w_msg = &message->w_msg_153a; + u_SteamNetworkingMessage_t_153a *u_msg = u_msgs[i]; + message->u_msg_153a = u_msg; + + w_msg->m_cbSize = u_msg->m_cbSize; + w_msg->m_conn = u_msg->m_conn; + w_msg->m_identityPeer = u_msg->m_identityPeer; + w_msg->m_nConnUserData = u_msg->m_nConnUserData; + w_msg->m_usecTimeReceived = u_msg->m_usecTimeReceived; + w_msg->m_nMessageNumber = u_msg->m_nMessageNumber; + w_msg->m_nChannel = u_msg->m_nChannel; + w_msg->m_nFlags = u_msg->m_nFlags; + w_msg->m_nUserData = u_msg->m_nUserData; + w_msg->m_idxLane = u_msg->m_idxLane; + } +} + +NTSTATUS steamclient_networking_messages_receive_153a( void *args ) +{ + struct steamclient_networking_messages_receive_153a_params *params = (struct steamclient_networking_messages_receive_153a_params *)args; + uint32_t i; + + for (i = 0; i < params->count; i++) + { + struct networking_message *message = CONTAINING_RECORD( params->w_msgs[i], struct networking_message, w_msg_153a ); + w_SteamNetworkingMessage_t_153a *w_msg = &message->w_msg_153a; + u_SteamNetworkingMessage_t_153a *u_msg = message->u_msg_153a; + + memcpy( w_msg->m_pData, u_msg->m_pData, u_msg->m_cbSize ); + u_msg->m_pfnRelease( u_msg ); + message->u_msg_153a = NULL; + } + + return 0; +} + +static void U_STDCALL u_SteamNetworkingMessage_t_153a_FreeData( u_SteamNetworkingMessage_t_153a *msg ) +{ + free( msg->m_pData ); + msg->m_pData = NULL; +} + +static void send_messages_wtou_153a( uint32_t count, w_SteamNetworkingMessage_t_153a *const *w_msgs, + u_SteamNetworkingMessage_t_153a **u_msgs ) +{ + uint32_t i; + + for (i = 0; i < count; i++) + { + struct networking_message *message = CONTAINING_RECORD( w_msgs[i], struct networking_message, w_msg_153a ); + w_SteamNetworkingMessage_t_153a *w_msg = &message->w_msg_153a; + u_SteamNetworkingMessage_t_153a *u_msg = message->u_msg_153a; + + if (!u_msg->m_pData) + { + u_msg->m_pData = malloc( w_msg->m_cbSize ); + u_msg->m_pfnFreeData = u_SteamNetworkingMessage_t_153a_FreeData; + } + + memcpy( u_msg->m_pData, w_msg->m_pData, w_msg->m_cbSize ); + u_msg->m_cbSize = w_msg->m_cbSize; + u_msg->m_conn = w_msg->m_conn; + u_msg->m_identityPeer = w_msg->m_identityPeer; + u_msg->m_nConnUserData = w_msg->m_nConnUserData; + u_msg->m_usecTimeReceived = w_msg->m_usecTimeReceived; + u_msg->m_nMessageNumber = w_msg->m_nMessageNumber; + u_msg->m_nChannel = w_msg->m_nChannel; + u_msg->m_nFlags = w_msg->m_nFlags; + u_msg->m_nUserData = w_msg->m_nUserData; + u_msg->m_idxLane = w_msg->m_idxLane; + + /* steamclient library takes ownership */ + message->u_msg_153a = NULL; + u_msgs[i] = u_msg; + } +} + +static void networking_message_release_153a( w_SteamNetworkingMessage_t_153a *w_msg ) +{ + struct networking_message *message = CONTAINING_RECORD( w_msg, struct networking_message, w_msg_153a ); + u_SteamNetworkingMessage_t_153a *u_msg = message->u_msg_153a; + + if (!message->u_msg_153a) return; + u_msg->m_pfnRelease( u_msg ); + message->u_msg_153a = NULL; +} + +NTSTATUS steamclient_networking_message_release_153a( void *args ) +{ + struct steamclient_networking_message_release_153a_params *params = (struct steamclient_networking_message_release_153a_params *)args; + networking_message_release_153a( params->w_msg ); + return 0; +} + +/* ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 */ + +NTSTATUS ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages( void *args ) +{ + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params *params = (struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params *)args; + struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *iface = (struct u_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessages( u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_153a( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +/* ISteamNetworkingMessages_SteamNetworkingMessages002 */ + +NTSTATUS ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel( void *args ) +{ + struct ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params *params = (struct ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params *)args; + struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *iface = (struct u_ISteamNetworkingMessages_SteamNetworkingMessages002 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnChannel( params->nLocalChannel, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_153a( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +/* ISteamNetworkingSockets_SteamNetworkingSockets012 */ + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnConnection( params->hConn, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_153a( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msgs[params->nMaxMessages]; + params->_ret = iface->ReceiveMessagesOnPollGroup( params->hPollGroup, u_msgs, params->nMaxMessages ); + if (params->_ret > 0) receive_messages_utow_153a( params->_ret, u_msgs, params->ppOutMessages ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets012 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msgs[params->nMessages]; + send_messages_wtou_153a( params->nMessages, params->pMessages, u_msgs ); + iface->SendMessages( params->nMessages, u_msgs, params->pOutMessageNumberOrResult ); + return 0; +} + +/* ISteamNetworkingUtils_SteamNetworkingUtils004 */ + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage( void *args ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + u_SteamNetworkingMessage_t_153a *u_msg = iface->AllocateMessage( params->cbAllocateBuffer ); + if (u_msg) receive_messages_utow_153a( 1, &u_msg, ¶ms->_ret ); + return 0; +} + +static void (*W_CDECL w_SteamNetConnectionStatusChanged_153a)( w_SteamNetConnectionStatusChangedCallback_t_153a * ); +static void U_CDECL u_SteamNetConnectionStatusChanged_153a( u_SteamNetConnectionStatusChangedCallback_t_153a *u_dat ) +{ + w_SteamNetConnectionStatusChangedCallback_t_153a w_dat = *u_dat; + if (w_SteamNetConnectionStatusChanged_153a) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetConnectionStatusChanged_153a, &w_dat, sizeof(w_dat) ); +} + +static void (*W_CDECL w_SteamNetworkingMessagesSessionFailed_153a)( SteamNetworkingMessagesSessionFailed_t_153a * ); +static void U_CDECL u_SteamNetworkingMessagesSessionFailed_153a( SteamNetworkingMessagesSessionFailed_t_153a *dat ) +{ + if (w_SteamNetworkingMessagesSessionFailed_153a) queue_cdecl_func_callback( (w_cdecl_func)w_SteamNetworkingMessagesSessionFailed_153a, dat, sizeof(*dat) ); +} + +NTSTATUS ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue( void *args ) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params *params = (struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params *)args; + struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils004 *)params->linux_side; + bool ret; + void *u_fn; /* api requires passing pointer-to-pointer */ + + switch (params->eValue) + { + +#define CASE( y ) \ + if (!params->pArg) \ + { \ + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, \ + params->scopeObj, params->eDataType, NULL ); \ + } \ + else \ + { \ + if (*(void **)params->pArg == NULL) u_fn = NULL; \ + else u_fn = (void *)&u_##y; \ + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, \ + params->scopeObj, params->eDataType, &u_fn ); \ + if (params->_ret) w_##y = *(decltype(w_##y) *)params->pArg; \ + } + + case 201 /*ConnectionStatusChanged*/: CASE( SteamNetConnectionStatusChanged_153a ) + case 202 /*AuthStatusChanged*/: CASE( SteamNetAuthenticationStatusChanged ) + case 203 /*RelayNetworkStatusChanged*/: CASE( SteamRelayNetworkStatusChanged ) + case 204 /*MessagesSessionRequest*/: CASE( SteamNetworkingMessagesSessionRequest ) + case 205 /*MessagesSessionFailed*/: CASE( SteamNetworkingMessagesSessionFailed_153a ) + +#undef CASE + + default: + params->_ret = iface->SetConfigValue( params->eValue, params->eScopeType, params->scopeObj, + params->eDataType, params->pArg ); + } + + return 0; +} + +struct SteamMatchmakingServerListResponse_099u : u_ISteamMatchmakingServerListResponse_099u +{ + struct w_steam_iface *w_iface; + virtual void ServerResponded( int32_t ); + virtual void ServerFailedToRespond( int32_t ); + virtual void RefreshComplete( uint32_t ); +}; + +void SteamMatchmakingServerListResponse_099u::ServerResponded( int32_t iServer ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_0, (intptr_t)iServer, 0, 0 ); +} + +void SteamMatchmakingServerListResponse_099u::ServerFailedToRespond( int32_t iServer ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_1, (intptr_t)iServer, 0, 0 ); +} + +void SteamMatchmakingServerListResponse_099u::RefreshComplete( uint32_t response ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_2, (intptr_t)response, 0, 0 ); +} + +u_ISteamMatchmakingServerListResponse_099u *create_LinuxISteamMatchmakingServerListResponse_099u( void *win ) +{ + SteamMatchmakingServerListResponse_099u *ret; + + if (!win) return NULL; + + if (!(ret = new SteamMatchmakingServerListResponse_099u())) return NULL; + ret->w_iface = (struct w_steam_iface *)win; + + return ret; +} + +struct SteamMatchmakingServerListResponse_106 : u_ISteamMatchmakingServerListResponse_106 +{ + struct w_steam_iface *w_iface; + virtual void ServerResponded( void *, int32_t ); + virtual void ServerFailedToRespond( void *, int32_t ); + virtual void RefreshComplete( void *, uint32_t ); +}; + +void SteamMatchmakingServerListResponse_106::ServerResponded( void *hRequest, int32_t iServer ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_0, (intptr_t)hRequest, (intptr_t)iServer, 0 ); +} + +void SteamMatchmakingServerListResponse_106::ServerFailedToRespond( void *hRequest, int32_t iServer ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_1, (intptr_t)hRequest, (intptr_t)iServer, 0 ); +} + +void SteamMatchmakingServerListResponse_106::RefreshComplete( void *hRequest, uint32_t response ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_2, (intptr_t)hRequest, (intptr_t)response, 0 ); +} + +u_ISteamMatchmakingServerListResponse_106 *create_LinuxISteamMatchmakingServerListResponse_106( void *win ) +{ + SteamMatchmakingServerListResponse_106 *ret; + + if (!win) return NULL; + + if (!(ret = new SteamMatchmakingServerListResponse_106())) return NULL; + ret->w_iface = (struct w_steam_iface *)win; + + return ret; +} + +struct SteamMatchmakingPingResponse : u_ISteamMatchmakingPingResponse +{ + struct w_steam_iface *w_iface; + virtual void ServerResponded( gameserveritem_t_105 * ); + virtual void ServerFailedToRespond( ); +}; + +void SteamMatchmakingPingResponse::ServerResponded( gameserveritem_t_105 *server ) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_0, (intptr_t)server, 0, 0 ); +} + +void SteamMatchmakingPingResponse::ServerFailedToRespond(void) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_1, 0, 0, 0 ); +} + +struct u_ISteamMatchmakingPingResponse *create_LinuxISteamMatchmakingPingResponse( void *win ) +{ + SteamMatchmakingPingResponse *ret; + + if (!win) return NULL; + if (!(ret = new SteamMatchmakingPingResponse())) return NULL; + ret->w_iface = (struct w_steam_iface *)win; + + return ret; +} + +struct SteamMatchmakingPlayersResponse : u_ISteamMatchmakingPlayersResponse +{ + struct w_steam_iface *w_iface; + virtual void AddPlayerToList( const char *, int32_t, float ); + virtual void PlayersFailedToRespond( ); + virtual void PlayersRefreshComplete( ); +}; + +void SteamMatchmakingPlayersResponse::AddPlayerToList(const char *pchName, int nScore, float flTimePlayed) +{ + queue_vtable_callback_0_add_player_to_list( this->w_iface, pchName, nScore, flTimePlayed ); +} + +void SteamMatchmakingPlayersResponse::PlayersFailedToRespond(void) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_1, 0, 0, 0 ); +} + +void SteamMatchmakingPlayersResponse::PlayersRefreshComplete(void) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_2, 0, 0, 0 ); +} + +struct u_ISteamMatchmakingPlayersResponse *create_LinuxISteamMatchmakingPlayersResponse( void *win ) +{ + struct SteamMatchmakingPlayersResponse *ret; + + if (!win) return NULL; + if (!(ret = new SteamMatchmakingPlayersResponse())) return NULL; + ret->w_iface = (struct w_steam_iface *)win; + + return ret; +} + +struct SteamMatchmakingRulesResponse : u_ISteamMatchmakingRulesResponse +{ + struct w_steam_iface *w_iface; + virtual void RulesResponded( const char *, const char * ); + virtual void RulesFailedToRespond( ); + virtual void RulesRefreshComplete( ); +}; + +void SteamMatchmakingRulesResponse::RulesResponded(const char *pchRule, const char *pchValue) +{ + queue_vtable_callback_0_rules_responded( this->w_iface, pchRule, pchValue ); +} + +void SteamMatchmakingRulesResponse::RulesFailedToRespond(void) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_1, 0, 0, 0 ); +} + +void SteamMatchmakingRulesResponse::RulesRefreshComplete(void) +{ + queue_vtable_callback( this->w_iface, CALL_IFACE_VTABLE_2, 0, 0, 0 ); +} + +struct u_ISteamMatchmakingRulesResponse *create_LinuxISteamMatchmakingRulesResponse( void *win ) +{ + SteamMatchmakingRulesResponse *ret; + + if (!win) return NULL; + if (!(ret = new SteamMatchmakingRulesResponse())) return NULL; + ret->w_iface = (struct w_steam_iface *)win; + + return ret; +} + +struct u_ISteamNetworkingConnectionCustomSignaling *create_LinuxISteamNetworkingConnectionCustomSignaling( void *win ) +{ + FIXME( "not implemented!\n" ); + return NULL; +} + +struct u_ISteamNetworkingCustomSignalingRecvContext *create_LinuxISteamNetworkingCustomSignalingRecvContext( void *win ) +{ + FIXME( "not implemented!\n" ); + return NULL; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestInternetServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestLANServerList( params->iApp, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestFriendsServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestFavoritesServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestHistoryServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_099u *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_099u( params->pRequestServersResponse ); + iface->RequestSpectatorServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingPingResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingPingResponse( params->pRequestServersResponse ); + params->_ret = iface->PingServer( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingPlayersResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingPlayersResponse( params->pRequestServersResponse ); + params->_ret = iface->PlayerDetails( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers001 *)params->linux_side; + u_ISteamMatchmakingRulesResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingRulesResponse( params->pRequestServersResponse ); + params->_ret = iface->ServerRules( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestInternetServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestLANServerList( params->iApp, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestFriendsServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestFavoritesServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestHistoryServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingServerListResponse_106 *u_pRequestServersResponse = create_LinuxISteamMatchmakingServerListResponse_106( params->pRequestServersResponse ); + params->_ret = iface->RequestSpectatorServerList( params->iApp, params->ppchFilters, params->nFilters, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingPingResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingPingResponse( params->pRequestServersResponse ); + params->_ret = iface->PingServer( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingPlayersResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingPlayersResponse( params->pRequestServersResponse ); + params->_ret = iface->PlayerDetails( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + u_ISteamMatchmakingRulesResponse *u_pRequestServersResponse = create_LinuxISteamMatchmakingRulesResponse( params->pRequestServersResponse ); + params->_ret = iface->ServerRules( params->unIP, params->usPort, u_pRequestServersResponse ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + u_ISteamNetworkingConnectionCustomSignaling *u_pSignaling = create_LinuxISteamNetworkingConnectionCustomSignaling( params->pSignaling ); + params->_ret = iface->ConnectP2PCustomSignaling( u_pSignaling, params->pPeerIdentity, params->nOptions, params->pOptions ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets006 *)params->linux_side; + u_ISteamNetworkingCustomSignalingRecvContext *u_pContext = create_LinuxISteamNetworkingCustomSignalingRecvContext( params->pContext ); + params->_ret = iface->ReceivedP2PCustomSignal( params->pMsg, params->cbMsg, u_pContext ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + u_ISteamNetworkingConnectionCustomSignaling *u_pSignaling = create_LinuxISteamNetworkingConnectionCustomSignaling( params->pSignaling ); + params->_ret = iface->ConnectP2PCustomSignaling( u_pSignaling, params->pPeerIdentity, params->nOptions, params->pOptions ); + return 0; +} + +NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal( void *args ) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params *)args; + struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets008 *)params->linux_side; + u_ISteamNetworkingCustomSignalingRecvContext *u_pContext = create_LinuxISteamNetworkingCustomSignalingRecvContext( params->pContext ); + params->_ret = iface->ReceivedP2PCustomSignal( params->pMsg, params->cbMsg, u_pContext ); + return 0; +} diff --git a/lsteamclient/unix_steam_utils_manual.cpp b/lsteamclient/unix_steam_utils_manual.cpp new file mode 100644 index 000000000..eb5ce3df7 --- /dev/null +++ b/lsteamclient/unix_steam_utils_manual.cpp @@ -0,0 +1,219 @@ +#include "unix_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +/* ISteamUtils_SteamUtils002 */ + +NTSTATUS ISteamUtils_SteamUtils002_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils002_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils002_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils002 *iface = (struct u_ISteamUtils_SteamUtils002 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils004 */ + +NTSTATUS ISteamUtils_SteamUtils004_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils004_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils004_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils004 *iface = (struct u_ISteamUtils_SteamUtils004 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils005 */ + +NTSTATUS ISteamUtils_SteamUtils005_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils005_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils005_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils006 */ + +NTSTATUS ISteamUtils_SteamUtils006_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils006_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils006_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils005 *iface = (struct u_ISteamUtils_SteamUtils005 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils007 */ + +NTSTATUS ISteamUtils_SteamUtils007_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils007_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils007_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils007 *iface = (struct u_ISteamUtils_SteamUtils007 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils008 */ + +NTSTATUS ISteamUtils_SteamUtils008_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils008_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils008_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils008 *iface = (struct u_ISteamUtils_SteamUtils008 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils009 */ + +NTSTATUS ISteamUtils_SteamUtils009_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils009_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils009_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils009 *iface = (struct u_ISteamUtils_SteamUtils009 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +/* ISteamUtils_SteamUtils010 */ + +NTSTATUS ISteamUtils_SteamUtils010_GetAPICallResult( void *args ) +{ + struct ISteamUtils_SteamUtils010_GetAPICallResult_params *params = (struct ISteamUtils_SteamUtils010_GetAPICallResult_params *)args; + struct u_ISteamUtils_SteamUtils010 *iface = (struct u_ISteamUtils_SteamUtils010 *)params->linux_side; + int u_callback_len = params->cubCallback; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->iCallbackExpected, params->pCallback, &u_callback_len ))) + { + params->_ret = FALSE; + return 0; + } + + params->_ret = iface->GetAPICallResult( params->hSteamAPICall, u_callback, u_callback_len, + params->iCallbackExpected, params->pbFailed ); + if (params->_ret && u_callback != params->pCallback) + { + convert_callback_utow( params->iCallbackExpected, u_callback, u_callback_len, + params->pCallback, params->cubCallback ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} diff --git a/lsteamclient/unixlib.cpp b/lsteamclient/unixlib.cpp new file mode 100644 index 000000000..bbb731ba2 --- /dev/null +++ b/lsteamclient/unixlib.cpp @@ -0,0 +1,601 @@ +#include "unix_private.h" + +#include +#include +#include +#include + +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); + +struct callback_entry +{ + struct list entry; + struct callback callback; +}; + +static struct list callbacks = LIST_INIT( callbacks ); +static pthread_mutex_t callbacks_lock = PTHREAD_MUTEX_INITIALIZER; + +extern void queue_vtable_callback( struct w_steam_iface *w_iface, enum callback_type type, uint64_t arg0, uint64_t arg1, uint64_t arg2 ) +{ + struct callback_entry *entry; + uint32_t size = 0; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = type; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.call_iface_vtable.iface = w_iface; + entry->callback.call_iface_vtable.arg0 = arg0; + entry->callback.call_iface_vtable.arg1 = arg1; + entry->callback.call_iface_vtable.arg2 = arg2; + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +extern void queue_vtable_callback_0_add_player_to_list( struct w_steam_iface *w_iface, const char *pchName, int nScore, float flTimePlayed ) +{ + uint32_t name_size = strlen( pchName ) + 1, size = name_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = CALL_IFACE_VTABLE_0_ADD_PLAYER_TO_LIST; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.add_player_to_list.iface = w_iface; + entry->callback.add_player_to_list.score = nScore; + entry->callback.add_player_to_list.time_played = flTimePlayed; + memcpy( (char *)entry->callback.add_player_to_list.name, pchName, name_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +extern void queue_vtable_callback_0_rules_responded( struct w_steam_iface *w_iface, const char *pchRule, const char *pchValue ) +{ + uint32_t rule_size = strlen( pchRule ) + 1, value_size = strlen( pchValue ) + 1, size = rule_size + value_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = CALL_IFACE_VTABLE_0_RULES_RESPONDED; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.rules_responded.iface = w_iface; + memcpy( (char *)entry->callback.rules_responded.rule_and_value, pchRule, rule_size ); + memcpy( (char *)entry->callback.rules_responded.rule_and_value + rule_size, pchValue, value_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +static w_FSteamNetworkingSocketsDebugOutput w_steam_networking_socket_debug_output; +static void u_steam_networking_socket_debug_output( uint32_t nType, const char *pszMsg ) +{ + uint32_t msg_size = strlen( pszMsg ) + 1, size = msg_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = SOCKETS_DEBUG_OUTPUT; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.sockets_debug_output.pfnFunc = w_steam_networking_socket_debug_output; + entry->callback.sockets_debug_output.type = nType; + memcpy( (char *)entry->callback.sockets_debug_output.msg, pszMsg, msg_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +void queue_cdecl_func_callback( w_cdecl_func func, void *data, uint32_t data_size ) +{ + uint32_t size = data_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = CALL_CDECL_FUNC_DATA; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.call_cdecl_func_data.pFunc = func; + memcpy( (char *)entry->callback.call_cdecl_func_data.data, data, data_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +void queue_stdcall_func_callback( w_stdcall_func func, void *data, uint32_t data_size ) +{ + uint32_t size = data_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = CALL_STDCALL_FUNC_DATA; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.call_stdcall_func_data.pFunc = func; + memcpy( (char *)entry->callback.call_stdcall_func_data.data, data, data_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +u_FSteamNetworkingSocketsDebugOutput manual_convert_SetDebugOutputFunction_pfnFunc( w_FSteamNetworkingSocketsDebugOutput w_func ) +{ + w_steam_networking_socket_debug_output = w_func; + return &u_steam_networking_socket_debug_output; +} + +static w_SteamAPIWarningMessageHook_t w_steam_api_warning_message_hook; +static void u_steam_api_warning_message_hook( int severity, const char *msg ) +{ + uint32_t msg_size = strlen( msg ) + 1, size = msg_size; + struct callback_entry *entry; + + size += sizeof(struct callback_entry); + if (!(entry = (struct callback_entry *)malloc( size ))) return; + + entry->callback.type = WARNING_MESSAGE_HOOK; + size -= offsetof( struct callback_entry, callback ); + entry->callback.size = size; + + entry->callback.warning_message_hook.pFunction = w_steam_api_warning_message_hook; + entry->callback.warning_message_hook.severity = severity; + memcpy( (char *)entry->callback.warning_message_hook.msg, msg, msg_size ); + + pthread_mutex_lock( &callbacks_lock ); + list_add_tail( &callbacks, &entry->entry ); + pthread_mutex_unlock( &callbacks_lock ); +} + +u_SteamAPIWarningMessageHook_t manual_convert_SetWarningMessageHook_pFunction( w_SteamAPIWarningMessageHook_t w_func ) +{ + w_steam_api_warning_message_hook = w_func; + return &u_steam_api_warning_message_hook; +} + +static uint32_t U_STDCALL u_steam_api_check_callback_registered( int32_t v ) +{ + return 1; +} + +u_SteamAPI_CheckCallbackRegistered_t manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( w_SteamAPI_CheckCallbackRegistered_t w_func ) +{ + FIXME("not implemented!\n"); + return &u_steam_api_check_callback_registered; +} + +static uint32_t U_CDECL u_steam_api_check_callback_registered_156( int32_t v ) +{ + return 1; +} + +u_SteamAPI_CheckCallbackRegistered_t_156 manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( w_SteamAPI_CheckCallbackRegistered_t_156 w_func ) +{ + FIXME("not implemented!\n"); + return &u_steam_api_check_callback_registered_156; +} + +static void U_STDCALL u_steam_api_post_api_result_in_process( uint64_t a, void *b, uint32_t c, int d ) +{ +} + +u_SteamAPI_PostAPIResultInProcess_t manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t w_func ) +{ + FIXME("not implemented!\n"); + return &u_steam_api_post_api_result_in_process; +} + +u_SteamAPI_PostAPIResultInProcess_t manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t w_func ) +{ + FIXME("not implemented!\n"); + return &u_steam_api_post_api_result_in_process; +} + +static void U_STDCALL u_void_steam_api_post_api_result_in_process(void) +{ +} + +u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t w_func ) +{ + FIXME("not implemented!\n"); + return &u_void_steam_api_post_api_result_in_process; +} + +u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t w_func ) +{ + FIXME("not implemented!\n"); + return &u_void_steam_api_post_api_result_in_process; +} + +NTSTATUS ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess( void *args ) +{ + struct ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *params = (struct ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params *)args; + struct u_ISteamClient_SteamClient020 *iface = (struct u_ISteamClient_SteamClient020 *)params->linux_side; + uint32_t (*U_CDECL lin_func)(int32_t) = manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( params->func ); + iface->Set_SteamAPI_CCheckCallbackRegisteredInProcess( lin_func ); + return 0; +} + +NTSTATUS steamclient_next_callback( void *args ) +{ + struct steamclient_next_callback_params *params = (struct steamclient_next_callback_params *)args; + struct list *ptr; + + pthread_mutex_lock( &callbacks_lock ); + if ((ptr = list_head( &callbacks ))) + { + struct callback_entry *entry = LIST_ENTRY( ptr, struct callback_entry, entry ); + + if (entry->callback.size <= params->size) + { + memcpy( params->callback, &entry->callback, entry->callback.size ); + list_remove( &entry->entry ); + free( entry ); + } + + params->size = entry->callback.size; + } + pthread_mutex_unlock( &callbacks_lock ); + + params->_ret = !!ptr; + return 0; +} + +static void *(*p_CreateInterface)( const char *name, int *return_code ); +static int8_t (*p_Steam_BGetCallback)( int32_t a, u_CallbackMsg_t *b, int32_t *c ); +static int8_t (*p_Steam_GetAPICallResult)( int32_t, uint64_t, void *, int, int, int8_t * ); +static int8_t (*p_Steam_FreeLastCallback)( int32_t ); +static void (*p_Steam_ReleaseThreadLocalMemory)( int ); +static bool (*p_Steam_IsKnownInterface)( const char * ); +static void (*p_Steam_NotifyMissingInterface)( int32_t, const char * ); + +NTSTATUS steamclient_Steam_BGetCallback( void *args ) +{ + struct steamclient_Steam_BGetCallback_params *params = (struct steamclient_Steam_BGetCallback_params *)args; + + if (!p_Steam_BGetCallback( params->pipe, params->u_msg, params->ignored )) + params->_ret = false; + else + { + callback_message_utow( params->u_msg, params->w_msg ); + params->_ret = true; + } + + return 0; +} + +NTSTATUS steamclient_callback_message_receive( void *args ) +{ + struct steamclient_callback_message_receive_params *params = (struct steamclient_callback_message_receive_params *)args; + convert_callback_utow( params->u_msg->m_iCallback, (void *)params->u_msg->m_pubParam, + params->u_msg->m_cubParam, (void *)params->w_msg->m_pubParam, + params->w_msg->m_cubParam ); + return 0; +} + +NTSTATUS steamclient_Steam_FreeLastCallback( void *args ) +{ + struct steamclient_Steam_FreeLastCallback_params *params = (struct steamclient_Steam_FreeLastCallback_params *)args; + params->_ret = p_Steam_FreeLastCallback( params->pipe ); + return 0; +} + +NTSTATUS steamclient_Steam_GetAPICallResult( void *args ) +{ + struct steamclient_Steam_GetAPICallResult_params *params = (struct steamclient_Steam_GetAPICallResult_params *)args; + int u_callback_len = params->w_callback_len; + void *u_callback; + + if (!(u_callback = alloc_callback_wtou( params->id, params->w_callback, &u_callback_len ))) return false; + + params->_ret = p_Steam_GetAPICallResult( params->pipe, params->call, u_callback, u_callback_len, + params->id, params->failed ); + + if (params->_ret && u_callback != params->w_callback) + { + convert_callback_utow( params->id, u_callback, u_callback_len, params->w_callback, params->w_callback_len ); + HeapFree( GetProcessHeap(), 0, u_callback ); + } + + return 0; +} + +NTSTATUS steamclient_init( void *args ) +{ + struct steamclient_init_params *params = (struct steamclient_init_params *)args; + char path[PATH_MAX], resolved_path[PATH_MAX]; + static void *steamclient; + + if (params->steam_app_id_unset) unsetenv( "SteamAppId" ); + else if (params->steam_app_id) setenv( "SteamAppId", params->steam_app_id, TRUE ); + if (params->ignore_child_processes_unset) unsetenv( "IgnoreChildProcesses" ); + else if (params->ignore_child_processes) setenv( "IgnoreChildProcesses", params->ignore_child_processes, TRUE ); + + if (steamclient) return 0; + +#ifdef __APPLE__ + if (getenv( "STEAM_COMPAT_CLIENT_INSTALL_PATH" )) + snprintf( path, PATH_MAX, "%s/steamclient.dylib", getenv( "STEAM_COMPAT_CLIENT_INSTALL_PATH" ) ); + else + { + WARN( "Old Steam client, falling back to DYLD environment to locate native steamclient " + "library\n" ); + strcpy( path, "steamclient.dylib" ); + } +#else /* __APPLE__ */ +#ifdef __x86_64__ + snprintf( path, PATH_MAX, "%s/.steam/sdk64/steamclient.so", getenv( "HOME" ) ); +#else + snprintf( path, PATH_MAX, "%s/.steam/sdk32/steamclient.so", getenv( "HOME" ) ); +#endif + if (realpath( path, resolved_path )) + { + strcpy( path, resolved_path ); + path[PATH_MAX - 1] = 0; + } +#endif /* __APPLE__ */ + + if (!(steamclient = dlopen( path, RTLD_NOW ))) + { + ERR( "unable to load native steamclient library\n" ); + return -1; + } + +#define LOAD_FUNC( x ) \ + if (!(p_##x = (decltype(p_##x))dlsym( steamclient, #x ))) \ + { \ + ERR( "unable to load " #x "\n" ); \ + return -1; \ + } + + LOAD_FUNC( CreateInterface ); + LOAD_FUNC( Steam_BGetCallback ); + LOAD_FUNC( Steam_GetAPICallResult ); + LOAD_FUNC( Steam_FreeLastCallback ); + LOAD_FUNC( Steam_ReleaseThreadLocalMemory ); + LOAD_FUNC( Steam_IsKnownInterface ); + LOAD_FUNC( Steam_NotifyMissingInterface ); + + return 0; +} + +NTSTATUS steamclient_CreateInterface( void *args ) +{ + struct steamclient_CreateInterface_params *params = (struct steamclient_CreateInterface_params *)args; + params->_ret = p_CreateInterface( params->name, params->return_code ); + return 0; +} + +NTSTATUS steamclient_Steam_ReleaseThreadLocalMemory( void *args ) +{ + struct steamclient_Steam_ReleaseThreadLocalMemory_params *params = (struct steamclient_Steam_ReleaseThreadLocalMemory_params *)args; + p_Steam_ReleaseThreadLocalMemory( params->thread_exit ); + return 0; +} + +NTSTATUS steamclient_Steam_IsKnownInterface( void *args ) +{ + struct steamclient_Steam_IsKnownInterface_params *params = (struct steamclient_Steam_IsKnownInterface_params *)args; + params->_ret = p_Steam_IsKnownInterface( params->version ); + return 0; +} + +NTSTATUS steamclient_Steam_NotifyMissingInterface( void *args ) +{ + struct steamclient_Steam_NotifyMissingInterface_params *params = (struct steamclient_Steam_NotifyMissingInterface_params *)args; + p_Steam_NotifyMissingInterface( params->pipe, params->version ); + return 0; +} + +#define IS_ABSOLUTE( x ) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':')) + +char *steamclient_dos_to_unix_path( const char *src, int is_url ) +{ + static const char file_prot[] = "file://"; + char buffer[4096], *dst = buffer; + uint32_t len; + + TRACE( "src %s, is_url %u\n", debugstr_a(src), is_url ); + + if (!src) return NULL; + + *dst = 0; + if (!*src) goto done; + + if (is_url) + { + if (strncmp( src, file_prot, 7 ) != 0) + { + strcpy( dst, src ); + goto done; + } + + src += 7; + memcpy( dst, file_prot, sizeof(file_prot) ); + dst += 7; + } + + if (IS_ABSOLUTE( src )) + { + /* absolute path, use wine conversion */ + WCHAR srcW[PATH_MAX] = {0}; + char *unix_path; + uint32_t r; + + r = MultiByteToWideChar( CP_UNIXCP, 0, src, -1, srcW, PATH_MAX ); + if (r == 0) return NULL; + + unix_path = wine_get_unix_file_name( srcW ); + if (!unix_path) + { + WARN( "Unable to convert DOS filename to unix: %s\n", src ); + return NULL; + } + + lstrcpynA( dst, unix_path, PATH_MAX ); + HeapFree( GetProcessHeap(), 0, unix_path ); + } + else + { + /* relative path, just fix up backslashes */ + const char *s; + char *d; + + for (s = src, d = dst; *s; ++s, ++d) + { + if (*s == '\\') *d = '/'; + else *d = *s; + } + + *d = 0; + } + +done: + len = strlen( buffer ) + 1; + if (!(dst = (char *)HeapAlloc( GetProcessHeap(), 0, len ))) return NULL; + memcpy( dst, buffer, len ); + + TRACE( "-> %s\n", debugstr_a(dst) ); + return dst; +} + +void steamclient_free_path( char *path ) +{ + HeapFree( GetProcessHeap(), 0, path ); +} + +const char **steamclient_dos_to_unix_path_array( const char **src ) +{ + size_t len; + const char **s; + char **out, **o; + WCHAR scratch[PATH_MAX] = {0}; + + TRACE( "src %p\n", src ); + + if (!src) return NULL; + + len = sizeof(char *); /* NUL */ + for (s = src; *s; ++s) len += sizeof(char *); + + out = (char **)HeapAlloc( GetProcessHeap(), 0, len ); + + for (s = src, o = out; *s; ++s, ++o) + { + TRACE( " src[%zu] %s\n", s - src, debugstr_a(*s) ); + if (IS_ABSOLUTE( *s )) + { + MultiByteToWideChar( CP_UNIXCP, 0, *s, -1, scratch, PATH_MAX ); + *o = wine_get_unix_file_name( scratch ); + } + else + { + const char *r; + char *l; + *o = (char *)HeapAlloc( GetProcessHeap(), 0, strlen( *s ) + 1 ); + for (r = *s, l = *o; *r; ++l, ++r) + { + if (*r == '\\') *l = '/'; + else *l = *r; + } + *l = 0; + } + TRACE( " -> %s\n", debugstr_a(*o) ); + } + + *o = NULL; + + TRACE( " -> %p\n", out ); + return (const char **)out; +} + +void steamclient_free_path_array( const char **path_array ) +{ + const char **path; + if (!path_array) return; + for (path = path_array; *path; path++) HeapFree( GetProcessHeap(), 0, *(char **)path ); + HeapFree( GetProcessHeap(), 0, path_array ); +} + +/* Returns: + * - if successful, the number of bytes written to dst, including the NULL terminator; + * - 0 if failed; + * - PATH_MAX if insufficient output buffer (TODO: should be actual required length including NULL terminator). */ +unsigned int steamclient_unix_path_to_dos_path( bool api_result, const char *src, char *dst, uint32_t dst_bytes, int is_url ) +{ + static const char file_prot[] = "file://"; + WCHAR *dosW; + uint32_t r; + + TRACE( "api_result %u, src %s, dst %p, dst_bytes %u is_url %u\n", api_result, debugstr_a(src), dst, dst_bytes, is_url ); + + if (!src || !*src || !api_result || !dst || !dst_bytes) + { + if (dst && dst_bytes) *dst = 0; + return api_result ? PATH_MAX : 0; + } + + if (is_url) + { + /* convert only file: URLs */ + if (strncmp( src, file_prot, 7 )) + { + r = strlen( src ) + 1; + if (r > dst_bytes) *dst = 0; + else memmove( dst, src, r ); + return r; + } + if (dst_bytes < sizeof(file_prot)) + { + *dst = 0; + return PATH_MAX; + } + memmove( dst, src, 7 ); + src += 7; + dst += 7; + dst_bytes -= 7; + } + + dosW = wine_get_dos_file_name( src ); + if (!dosW) + { + WARN( "Unable to convert unix filename to DOS: %s.\n", debugstr_a(src) ); + *dst = 0; + return 0; + } + + r = WideCharToMultiByte( CP_ACP, 0, dosW, -1, dst, dst_bytes, NULL, NULL ); + if (!r) + { + *dst = 0; + if (GetLastError() == ERROR_INSUFFICIENT_BUFFER) r = PATH_MAX; + } + HeapFree( GetProcessHeap(), 0, dosW ); + + TRACE( "-> dst %s, r %u\n", debugstr_a(dst), r ); + return r; +} diff --git a/lsteamclient/unixlib.h b/lsteamclient/unixlib.h new file mode 100644 index 000000000..a1d71aa81 --- /dev/null +++ b/lsteamclient/unixlib.h @@ -0,0 +1,229 @@ +#ifndef __STEAMCLIENT_UNIXLIB_H +#define __STEAMCLIENT_UNIXLIB_H + +#include +#include +#include + +#include +#include +#include + +#include "steamclient_structs.h" + +#include "wine/unixlib.h" + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +#define PATH_MAX 4096 +extern char g_tmppath[PATH_MAX]; + +#include + +struct steamclient_init_params +{ + const char *steam_app_id; + int8_t steam_app_id_unset; + const char *ignore_child_processes; + int8_t ignore_child_processes_unset; +}; + +enum callback_type +{ + SOCKETS_DEBUG_OUTPUT = 1, + WARNING_MESSAGE_HOOK, + CALL_CDECL_FUNC_DATA, + CALL_STDCALL_FUNC_DATA, + CALL_IFACE_VTABLE_0, + CALL_IFACE_VTABLE_1, + CALL_IFACE_VTABLE_2, + CALL_IFACE_VTABLE_0_ADD_PLAYER_TO_LIST, + CALL_IFACE_VTABLE_0_RULES_RESPONDED, +}; + +struct callback +{ + enum callback_type type; + uint32_t size; + + union + { + struct + { + void (*W_STDCALL pfnFunc)( uint32_t, const char * ); + uint32_t type; + const char msg[1]; + } sockets_debug_output; + + struct + { + void (*W_CDECL pFunction)( int32_t, const char * ); + int32_t severity; + const char msg[1]; + } warning_message_hook; + + struct + { + void (*W_CDECL pFunc)( void * ); + unsigned char data[1]; + } call_cdecl_func_data; + + struct + { + void (*W_STDCALL pFunc)( void * ); + unsigned char data[1]; + } call_stdcall_func_data; + + struct + { + struct w_steam_iface *iface; + uint64_t arg0; + uint64_t arg1; + uint64_t arg2; + } call_iface_vtable; + + struct + { + struct w_steam_iface *iface; + int32_t score; + float time_played; + const char name[1]; + } add_player_to_list; + + struct + { + struct w_steam_iface *iface; + const char rule_and_value[1]; + } rules_responded; + }; +}; + +struct steamclient_next_callback_params +{ + int8_t _ret; + struct callback *callback; + uint32_t size; +}; + +struct steamclient_CreateInterface_params +{ + void *_ret; + const char *name; + int *return_code; +}; + +struct steamclient_Steam_GetAPICallResult_params +{ + int8_t _ret; + int32_t pipe; + uint64_t call; + void *w_callback; + int w_callback_len; + int id; + int8_t *failed; +}; + +struct steamclient_Steam_BGetCallback_params +{ + int8_t _ret; + uint32_t pipe; + w_CallbackMsg_t *w_msg; + int32_t *ignored; + u_CallbackMsg_t *u_msg; +}; + +struct steamclient_callback_message_receive_params +{ + u_CallbackMsg_t *u_msg; + w_CallbackMsg_t *w_msg; +}; + +struct steamclient_Steam_FreeLastCallback_params +{ + int8_t _ret; + uint32_t pipe; +}; + +struct steamclient_Steam_ReleaseThreadLocalMemory_params +{ + int thread_exit; +}; + +struct steamclient_Steam_IsKnownInterface_params +{ + int8_t _ret; + const char *version; +}; + +struct steamclient_Steam_NotifyMissingInterface_params +{ + int32_t pipe; + const char *version; +}; + +struct steamclient_networking_messages_receive_144_params +{ + uint32_t count; + w_SteamNetworkingMessage_t_144 **w_msgs; +}; + +struct steamclient_networking_messages_receive_147_params +{ + uint32_t count; + w_SteamNetworkingMessage_t_147 **w_msgs; +}; + +struct steamclient_networking_messages_receive_153a_params +{ + uint32_t count; + w_SteamNetworkingMessage_t_153a **w_msgs; +}; + +struct steamclient_networking_message_release_147_params +{ + w_SteamNetworkingMessage_t_147 *w_msg; +}; + +struct steamclient_networking_message_release_153a_params +{ + w_SteamNetworkingMessage_t_153a *w_msg; +}; + +struct networking_message_pool; +struct networking_message +{ + struct networking_message_pool *pool; + void **p_data; + uint32_t *p_size; + + union + { + u_SteamNetworkingMessage_t_144 *u_msg_144; + u_SteamNetworkingMessage_t_147 *u_msg_147; + u_SteamNetworkingMessage_t_153a *u_msg_153a; + }; + union + { + w_SteamNetworkingMessage_t_144 w_msg_144; + w_SteamNetworkingMessage_t_147 w_msg_147; + w_SteamNetworkingMessage_t_153a w_msg_153a; + }; +}; + +#include + +typedef NTSTATUS (*unixlib_entry_t)( void *args ); +extern const unixlib_entry_t __wine_unix_call_funcs[]; + +#define STEAMCLIENT_CALL( code, args ) __wine_unix_call_funcs[unix_ ## code]( args ) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#include "unixlib_generated.h" + +#endif /* __STEAMCLIENT_UNIXLIB_H */ diff --git a/lsteamclient/unixlib_generated.cpp b/lsteamclient/unixlib_generated.cpp new file mode 100644 index 000000000..55f833277 --- /dev/null +++ b/lsteamclient/unixlib_generated.cpp @@ -0,0 +1,19243 @@ +/* This file is auto-generated, do not edit. */ + +#include "unix_private.h" + +extern "C" const unixlib_entry_t __wine_unix_call_funcs[] = +{ + steamclient_init, + steamclient_next_callback, + steamclient_CreateInterface, + steamclient_Steam_GetAPICallResult, + steamclient_Steam_BGetCallback, + steamclient_callback_message_receive, + steamclient_Steam_FreeLastCallback, + steamclient_Steam_ReleaseThreadLocalMemory, + steamclient_Steam_IsKnownInterface, + steamclient_Steam_NotifyMissingInterface, + steamclient_networking_messages_receive_144, + steamclient_networking_messages_receive_147, + steamclient_networking_messages_receive_153a, + steamclient_networking_message_release_147, + steamclient_networking_message_release_153a, + ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps, + ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, + ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, + ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, + ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, + ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir, + ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner, + ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress, + ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial, + ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext, + ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, + ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse, + ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, + ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4, + ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties, + ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry, + ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume, + ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked, + ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether, + ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, + ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, + ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, + ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA, + ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, + ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus, + ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences, + ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod, + ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo, + ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData, + ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod, + ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, + ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, + ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL, + ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, + ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL, + ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting, + ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings, + ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp, + ISteamClient_SteamClient006_CreateSteamPipe, + ISteamClient_SteamClient006_BReleaseSteamPipe, + ISteamClient_SteamClient006_CreateGlobalUser, + ISteamClient_SteamClient006_ConnectToGlobalUser, + ISteamClient_SteamClient006_CreateLocalUser, + ISteamClient_SteamClient006_ReleaseUser, + ISteamClient_SteamClient006_GetISteamUser, + ISteamClient_SteamClient006_GetIVAC, + ISteamClient_SteamClient006_GetISteamGameServer, + ISteamClient_SteamClient006_SetLocalIPBinding, + ISteamClient_SteamClient006_GetUniverseName, + ISteamClient_SteamClient006_GetISteamFriends, + ISteamClient_SteamClient006_GetISteamUtils, + ISteamClient_SteamClient006_GetISteamBilling, + ISteamClient_SteamClient006_GetISteamMatchmaking, + ISteamClient_SteamClient006_GetISteamApps, + ISteamClient_SteamClient006_GetISteamContentServer, + ISteamClient_SteamClient006_GetISteamMasterServerUpdater, + ISteamClient_SteamClient006_GetISteamMatchmakingServers, + ISteamClient_SteamClient006_RunFrame, + ISteamClient_SteamClient006_GetIPCCallCount, + ISteamClient_SteamClient007_CreateSteamPipe, + ISteamClient_SteamClient007_BReleaseSteamPipe, + ISteamClient_SteamClient007_ConnectToGlobalUser, + ISteamClient_SteamClient007_CreateLocalUser, + ISteamClient_SteamClient007_ReleaseUser, + ISteamClient_SteamClient007_GetISteamUser, + ISteamClient_SteamClient007_GetISteamGameServer, + ISteamClient_SteamClient007_SetLocalIPBinding, + ISteamClient_SteamClient007_GetISteamFriends, + ISteamClient_SteamClient007_GetISteamUtils, + ISteamClient_SteamClient007_GetISteamMatchmaking, + ISteamClient_SteamClient007_GetISteamContentServer, + ISteamClient_SteamClient007_GetISteamMasterServerUpdater, + ISteamClient_SteamClient007_GetISteamMatchmakingServers, + ISteamClient_SteamClient007_GetISteamGenericInterface, + ISteamClient_SteamClient007_RunFrame, + ISteamClient_SteamClient007_GetIPCCallCount, + ISteamClient_SteamClient007_GetISteamUserStats, + ISteamClient_SteamClient007_GetISteamApps, + ISteamClient_SteamClient007_GetISteamNetworking, + ISteamClient_SteamClient007_SetWarningMessageHook, + ISteamClient_SteamClient007_GetISteamRemoteStorage, + ISteamClient_SteamClient008_CreateSteamPipe, + ISteamClient_SteamClient008_BReleaseSteamPipe, + ISteamClient_SteamClient008_ConnectToGlobalUser, + ISteamClient_SteamClient008_CreateLocalUser, + ISteamClient_SteamClient008_ReleaseUser, + ISteamClient_SteamClient008_GetISteamUser, + ISteamClient_SteamClient008_GetISteamGameServer, + ISteamClient_SteamClient008_SetLocalIPBinding, + ISteamClient_SteamClient008_GetISteamFriends, + ISteamClient_SteamClient008_GetISteamUtils, + ISteamClient_SteamClient008_GetISteamMatchmaking, + ISteamClient_SteamClient008_GetISteamMasterServerUpdater, + ISteamClient_SteamClient008_GetISteamMatchmakingServers, + ISteamClient_SteamClient008_GetISteamGenericInterface, + ISteamClient_SteamClient008_GetISteamUserStats, + ISteamClient_SteamClient008_GetISteamApps, + ISteamClient_SteamClient008_GetISteamNetworking, + ISteamClient_SteamClient008_GetISteamRemoteStorage, + ISteamClient_SteamClient008_RunFrame, + ISteamClient_SteamClient008_GetIPCCallCount, + ISteamClient_SteamClient008_SetWarningMessageHook, + ISteamClient_SteamClient009_CreateSteamPipe, + ISteamClient_SteamClient009_BReleaseSteamPipe, + ISteamClient_SteamClient009_ConnectToGlobalUser, + ISteamClient_SteamClient009_CreateLocalUser, + ISteamClient_SteamClient009_ReleaseUser, + ISteamClient_SteamClient009_GetISteamUser, + ISteamClient_SteamClient009_GetISteamGameServer, + ISteamClient_SteamClient009_SetLocalIPBinding, + ISteamClient_SteamClient009_GetISteamFriends, + ISteamClient_SteamClient009_GetISteamUtils, + ISteamClient_SteamClient009_GetISteamMatchmaking, + ISteamClient_SteamClient009_GetISteamMasterServerUpdater, + ISteamClient_SteamClient009_GetISteamMatchmakingServers, + ISteamClient_SteamClient009_GetISteamGenericInterface, + ISteamClient_SteamClient009_GetISteamUserStats, + ISteamClient_SteamClient009_GetISteamGameServerStats, + ISteamClient_SteamClient009_GetISteamApps, + ISteamClient_SteamClient009_GetISteamNetworking, + ISteamClient_SteamClient009_GetISteamRemoteStorage, + ISteamClient_SteamClient009_RunFrame, + ISteamClient_SteamClient009_GetIPCCallCount, + ISteamClient_SteamClient009_SetWarningMessageHook, + ISteamClient_SteamClient010_CreateSteamPipe, + ISteamClient_SteamClient010_BReleaseSteamPipe, + ISteamClient_SteamClient010_ConnectToGlobalUser, + ISteamClient_SteamClient010_CreateLocalUser, + ISteamClient_SteamClient010_ReleaseUser, + ISteamClient_SteamClient010_GetISteamUser, + ISteamClient_SteamClient010_GetISteamGameServer, + ISteamClient_SteamClient010_SetLocalIPBinding, + ISteamClient_SteamClient010_GetISteamFriends, + ISteamClient_SteamClient010_GetISteamUtils, + ISteamClient_SteamClient010_GetISteamMatchmaking, + ISteamClient_SteamClient010_GetISteamMasterServerUpdater, + ISteamClient_SteamClient010_GetISteamMatchmakingServers, + ISteamClient_SteamClient010_GetISteamGenericInterface, + ISteamClient_SteamClient010_GetISteamUserStats, + ISteamClient_SteamClient010_GetISteamGameServerStats, + ISteamClient_SteamClient010_GetISteamApps, + ISteamClient_SteamClient010_GetISteamNetworking, + ISteamClient_SteamClient010_GetISteamRemoteStorage, + ISteamClient_SteamClient010_RunFrame, + ISteamClient_SteamClient010_GetIPCCallCount, + ISteamClient_SteamClient010_SetWarningMessageHook, + ISteamClient_SteamClient010_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient010_GetISteamHTTP, + ISteamClient_SteamClient011_CreateSteamPipe, + ISteamClient_SteamClient011_BReleaseSteamPipe, + ISteamClient_SteamClient011_ConnectToGlobalUser, + ISteamClient_SteamClient011_CreateLocalUser, + ISteamClient_SteamClient011_ReleaseUser, + ISteamClient_SteamClient011_GetISteamUser, + ISteamClient_SteamClient011_GetISteamGameServer, + ISteamClient_SteamClient011_SetLocalIPBinding, + ISteamClient_SteamClient011_GetISteamFriends, + ISteamClient_SteamClient011_GetISteamUtils, + ISteamClient_SteamClient011_GetISteamMatchmaking, + ISteamClient_SteamClient011_GetISteamMasterServerUpdater, + ISteamClient_SteamClient011_GetISteamMatchmakingServers, + ISteamClient_SteamClient011_GetISteamGenericInterface, + ISteamClient_SteamClient011_GetISteamUserStats, + ISteamClient_SteamClient011_GetISteamGameServerStats, + ISteamClient_SteamClient011_GetISteamApps, + ISteamClient_SteamClient011_GetISteamNetworking, + ISteamClient_SteamClient011_GetISteamRemoteStorage, + ISteamClient_SteamClient011_GetISteamScreenshots, + ISteamClient_SteamClient011_RunFrame, + ISteamClient_SteamClient011_GetIPCCallCount, + ISteamClient_SteamClient011_SetWarningMessageHook, + ISteamClient_SteamClient011_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient011_GetISteamHTTP, + ISteamClient_SteamClient012_CreateSteamPipe, + ISteamClient_SteamClient012_BReleaseSteamPipe, + ISteamClient_SteamClient012_ConnectToGlobalUser, + ISteamClient_SteamClient012_CreateLocalUser, + ISteamClient_SteamClient012_ReleaseUser, + ISteamClient_SteamClient012_GetISteamUser, + ISteamClient_SteamClient012_GetISteamGameServer, + ISteamClient_SteamClient012_SetLocalIPBinding, + ISteamClient_SteamClient012_GetISteamFriends, + ISteamClient_SteamClient012_GetISteamUtils, + ISteamClient_SteamClient012_GetISteamMatchmaking, + ISteamClient_SteamClient012_GetISteamMatchmakingServers, + ISteamClient_SteamClient012_GetISteamGenericInterface, + ISteamClient_SteamClient012_GetISteamUserStats, + ISteamClient_SteamClient012_GetISteamGameServerStats, + ISteamClient_SteamClient012_GetISteamApps, + ISteamClient_SteamClient012_GetISteamNetworking, + ISteamClient_SteamClient012_GetISteamRemoteStorage, + ISteamClient_SteamClient012_GetISteamScreenshots, + ISteamClient_SteamClient012_RunFrame, + ISteamClient_SteamClient012_GetIPCCallCount, + ISteamClient_SteamClient012_SetWarningMessageHook, + ISteamClient_SteamClient012_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient012_GetISteamHTTP, + ISteamClient_SteamClient012_GetISteamUnifiedMessages, + ISteamClient_SteamClient012_GetISteamController, + ISteamClient_SteamClient012_GetISteamUGC, + ISteamClient_SteamClient013_CreateSteamPipe, + ISteamClient_SteamClient013_BReleaseSteamPipe, + ISteamClient_SteamClient013_ConnectToGlobalUser, + ISteamClient_SteamClient013_CreateLocalUser, + ISteamClient_SteamClient013_ReleaseUser, + ISteamClient_SteamClient013_GetISteamUser, + ISteamClient_SteamClient013_GetISteamGameServer, + ISteamClient_SteamClient013_SetLocalIPBinding, + ISteamClient_SteamClient013_GetISteamFriends, + ISteamClient_SteamClient013_GetISteamUtils, + ISteamClient_SteamClient013_GetISteamMatchmaking, + ISteamClient_SteamClient013_GetISteamMatchmakingServers, + ISteamClient_SteamClient013_GetISteamGenericInterface, + ISteamClient_SteamClient013_GetISteamUserStats, + ISteamClient_SteamClient013_GetISteamGameServerStats, + ISteamClient_SteamClient013_GetISteamApps, + ISteamClient_SteamClient013_GetISteamNetworking, + ISteamClient_SteamClient013_GetISteamRemoteStorage, + ISteamClient_SteamClient013_GetISteamScreenshots, + ISteamClient_SteamClient013_RunFrame, + ISteamClient_SteamClient013_GetIPCCallCount, + ISteamClient_SteamClient013_SetWarningMessageHook, + ISteamClient_SteamClient013_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient013_GetISteamHTTP, + ISteamClient_SteamClient013_GetISteamUnifiedMessages, + ISteamClient_SteamClient013_GetISteamController, + ISteamClient_SteamClient013_GetISteamUGC, + ISteamClient_SteamClient013_GetISteamInventory, + ISteamClient_SteamClient013_GetISteamVideo, + ISteamClient_SteamClient013_GetISteamAppList, + ISteamClient_SteamClient014_CreateSteamPipe, + ISteamClient_SteamClient014_BReleaseSteamPipe, + ISteamClient_SteamClient014_ConnectToGlobalUser, + ISteamClient_SteamClient014_CreateLocalUser, + ISteamClient_SteamClient014_ReleaseUser, + ISteamClient_SteamClient014_GetISteamUser, + ISteamClient_SteamClient014_GetISteamGameServer, + ISteamClient_SteamClient014_SetLocalIPBinding, + ISteamClient_SteamClient014_GetISteamFriends, + ISteamClient_SteamClient014_GetISteamUtils, + ISteamClient_SteamClient014_GetISteamMatchmaking, + ISteamClient_SteamClient014_GetISteamMatchmakingServers, + ISteamClient_SteamClient014_GetISteamGenericInterface, + ISteamClient_SteamClient014_GetISteamUserStats, + ISteamClient_SteamClient014_GetISteamGameServerStats, + ISteamClient_SteamClient014_GetISteamApps, + ISteamClient_SteamClient014_GetISteamNetworking, + ISteamClient_SteamClient014_GetISteamRemoteStorage, + ISteamClient_SteamClient014_GetISteamScreenshots, + ISteamClient_SteamClient014_RunFrame, + ISteamClient_SteamClient014_GetIPCCallCount, + ISteamClient_SteamClient014_SetWarningMessageHook, + ISteamClient_SteamClient014_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient014_GetISteamHTTP, + ISteamClient_SteamClient014_GetISteamUnifiedMessages, + ISteamClient_SteamClient014_GetISteamController, + ISteamClient_SteamClient014_GetISteamUGC, + ISteamClient_SteamClient014_GetISteamAppList, + ISteamClient_SteamClient014_GetISteamMusic, + ISteamClient_SteamClient015_CreateSteamPipe, + ISteamClient_SteamClient015_BReleaseSteamPipe, + ISteamClient_SteamClient015_ConnectToGlobalUser, + ISteamClient_SteamClient015_CreateLocalUser, + ISteamClient_SteamClient015_ReleaseUser, + ISteamClient_SteamClient015_GetISteamUser, + ISteamClient_SteamClient015_GetISteamGameServer, + ISteamClient_SteamClient015_SetLocalIPBinding, + ISteamClient_SteamClient015_GetISteamFriends, + ISteamClient_SteamClient015_GetISteamUtils, + ISteamClient_SteamClient015_GetISteamMatchmaking, + ISteamClient_SteamClient015_GetISteamMatchmakingServers, + ISteamClient_SteamClient015_GetISteamGenericInterface, + ISteamClient_SteamClient015_GetISteamUserStats, + ISteamClient_SteamClient015_GetISteamGameServerStats, + ISteamClient_SteamClient015_GetISteamApps, + ISteamClient_SteamClient015_GetISteamNetworking, + ISteamClient_SteamClient015_GetISteamRemoteStorage, + ISteamClient_SteamClient015_GetISteamScreenshots, + ISteamClient_SteamClient015_RunFrame, + ISteamClient_SteamClient015_GetIPCCallCount, + ISteamClient_SteamClient015_SetWarningMessageHook, + ISteamClient_SteamClient015_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient015_GetISteamHTTP, + ISteamClient_SteamClient015_GetISteamUnifiedMessages, + ISteamClient_SteamClient015_GetISteamController, + ISteamClient_SteamClient015_GetISteamUGC, + ISteamClient_SteamClient015_GetISteamAppList, + ISteamClient_SteamClient015_GetISteamMusic, + ISteamClient_SteamClient015_GetISteamMusicRemote, + ISteamClient_SteamClient016_CreateSteamPipe, + ISteamClient_SteamClient016_BReleaseSteamPipe, + ISteamClient_SteamClient016_ConnectToGlobalUser, + ISteamClient_SteamClient016_CreateLocalUser, + ISteamClient_SteamClient016_ReleaseUser, + ISteamClient_SteamClient016_GetISteamUser, + ISteamClient_SteamClient016_GetISteamGameServer, + ISteamClient_SteamClient016_SetLocalIPBinding, + ISteamClient_SteamClient016_GetISteamFriends, + ISteamClient_SteamClient016_GetISteamUtils, + ISteamClient_SteamClient016_GetISteamMatchmaking, + ISteamClient_SteamClient016_GetISteamMatchmakingServers, + ISteamClient_SteamClient016_GetISteamGenericInterface, + ISteamClient_SteamClient016_GetISteamUserStats, + ISteamClient_SteamClient016_GetISteamGameServerStats, + ISteamClient_SteamClient016_GetISteamApps, + ISteamClient_SteamClient016_GetISteamNetworking, + ISteamClient_SteamClient016_GetISteamRemoteStorage, + ISteamClient_SteamClient016_GetISteamScreenshots, + ISteamClient_SteamClient016_RunFrame, + ISteamClient_SteamClient016_GetIPCCallCount, + ISteamClient_SteamClient016_SetWarningMessageHook, + ISteamClient_SteamClient016_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient016_GetISteamHTTP, + ISteamClient_SteamClient016_GetISteamUnifiedMessages, + ISteamClient_SteamClient016_GetISteamController, + ISteamClient_SteamClient016_GetISteamUGC, + ISteamClient_SteamClient016_GetISteamAppList, + ISteamClient_SteamClient016_GetISteamMusic, + ISteamClient_SteamClient016_GetISteamMusicRemote, + ISteamClient_SteamClient016_GetISteamHTMLSurface, + ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + ISteamClient_SteamClient017_CreateSteamPipe, + ISteamClient_SteamClient017_BReleaseSteamPipe, + ISteamClient_SteamClient017_ConnectToGlobalUser, + ISteamClient_SteamClient017_CreateLocalUser, + ISteamClient_SteamClient017_ReleaseUser, + ISteamClient_SteamClient017_GetISteamUser, + ISteamClient_SteamClient017_GetISteamGameServer, + ISteamClient_SteamClient017_SetLocalIPBinding, + ISteamClient_SteamClient017_GetISteamFriends, + ISteamClient_SteamClient017_GetISteamUtils, + ISteamClient_SteamClient017_GetISteamMatchmaking, + ISteamClient_SteamClient017_GetISteamMatchmakingServers, + ISteamClient_SteamClient017_GetISteamGenericInterface, + ISteamClient_SteamClient017_GetISteamUserStats, + ISteamClient_SteamClient017_GetISteamGameServerStats, + ISteamClient_SteamClient017_GetISteamApps, + ISteamClient_SteamClient017_GetISteamNetworking, + ISteamClient_SteamClient017_GetISteamRemoteStorage, + ISteamClient_SteamClient017_GetISteamScreenshots, + ISteamClient_SteamClient017_RunFrame, + ISteamClient_SteamClient017_GetIPCCallCount, + ISteamClient_SteamClient017_SetWarningMessageHook, + ISteamClient_SteamClient017_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient017_GetISteamHTTP, + ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages, + ISteamClient_SteamClient017_GetISteamController, + ISteamClient_SteamClient017_GetISteamUGC, + ISteamClient_SteamClient017_GetISteamAppList, + ISteamClient_SteamClient017_GetISteamMusic, + ISteamClient_SteamClient017_GetISteamMusicRemote, + ISteamClient_SteamClient017_GetISteamHTMLSurface, + ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + ISteamClient_SteamClient017_GetISteamInventory, + ISteamClient_SteamClient017_GetISteamVideo, + ISteamClient_SteamClient017_GetISteamParentalSettings, + ISteamClient_SteamClient018_CreateSteamPipe, + ISteamClient_SteamClient018_BReleaseSteamPipe, + ISteamClient_SteamClient018_ConnectToGlobalUser, + ISteamClient_SteamClient018_CreateLocalUser, + ISteamClient_SteamClient018_ReleaseUser, + ISteamClient_SteamClient018_GetISteamUser, + ISteamClient_SteamClient018_GetISteamGameServer, + ISteamClient_SteamClient018_SetLocalIPBinding, + ISteamClient_SteamClient018_GetISteamFriends, + ISteamClient_SteamClient018_GetISteamUtils, + ISteamClient_SteamClient018_GetISteamMatchmaking, + ISteamClient_SteamClient018_GetISteamMatchmakingServers, + ISteamClient_SteamClient018_GetISteamGenericInterface, + ISteamClient_SteamClient018_GetISteamUserStats, + ISteamClient_SteamClient018_GetISteamGameServerStats, + ISteamClient_SteamClient018_GetISteamApps, + ISteamClient_SteamClient018_GetISteamNetworking, + ISteamClient_SteamClient018_GetISteamRemoteStorage, + ISteamClient_SteamClient018_GetISteamScreenshots, + ISteamClient_SteamClient018_GetISteamGameSearch, + ISteamClient_SteamClient018_RunFrame, + ISteamClient_SteamClient018_GetIPCCallCount, + ISteamClient_SteamClient018_SetWarningMessageHook, + ISteamClient_SteamClient018_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient018_GetISteamHTTP, + ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages, + ISteamClient_SteamClient018_GetISteamController, + ISteamClient_SteamClient018_GetISteamUGC, + ISteamClient_SteamClient018_GetISteamAppList, + ISteamClient_SteamClient018_GetISteamMusic, + ISteamClient_SteamClient018_GetISteamMusicRemote, + ISteamClient_SteamClient018_GetISteamHTMLSurface, + ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + ISteamClient_SteamClient018_GetISteamInventory, + ISteamClient_SteamClient018_GetISteamVideo, + ISteamClient_SteamClient018_GetISteamParentalSettings, + ISteamClient_SteamClient018_GetISteamInput, + ISteamClient_SteamClient018_GetISteamParties, + ISteamClient_SteamClient019_CreateSteamPipe, + ISteamClient_SteamClient019_BReleaseSteamPipe, + ISteamClient_SteamClient019_ConnectToGlobalUser, + ISteamClient_SteamClient019_CreateLocalUser, + ISteamClient_SteamClient019_ReleaseUser, + ISteamClient_SteamClient019_GetISteamUser, + ISteamClient_SteamClient019_GetISteamGameServer, + ISteamClient_SteamClient019_SetLocalIPBinding, + ISteamClient_SteamClient019_GetISteamFriends, + ISteamClient_SteamClient019_GetISteamUtils, + ISteamClient_SteamClient019_GetISteamMatchmaking, + ISteamClient_SteamClient019_GetISteamMatchmakingServers, + ISteamClient_SteamClient019_GetISteamGenericInterface, + ISteamClient_SteamClient019_GetISteamUserStats, + ISteamClient_SteamClient019_GetISteamGameServerStats, + ISteamClient_SteamClient019_GetISteamApps, + ISteamClient_SteamClient019_GetISteamNetworking, + ISteamClient_SteamClient019_GetISteamRemoteStorage, + ISteamClient_SteamClient019_GetISteamScreenshots, + ISteamClient_SteamClient019_GetISteamGameSearch, + ISteamClient_SteamClient019_RunFrame, + ISteamClient_SteamClient019_GetIPCCallCount, + ISteamClient_SteamClient019_SetWarningMessageHook, + ISteamClient_SteamClient019_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient019_GetISteamHTTP, + ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages, + ISteamClient_SteamClient019_GetISteamController, + ISteamClient_SteamClient019_GetISteamUGC, + ISteamClient_SteamClient019_GetISteamAppList, + ISteamClient_SteamClient019_GetISteamMusic, + ISteamClient_SteamClient019_GetISteamMusicRemote, + ISteamClient_SteamClient019_GetISteamHTMLSurface, + ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + ISteamClient_SteamClient019_GetISteamInventory, + ISteamClient_SteamClient019_GetISteamVideo, + ISteamClient_SteamClient019_GetISteamParentalSettings, + ISteamClient_SteamClient019_GetISteamInput, + ISteamClient_SteamClient019_GetISteamParties, + ISteamClient_SteamClient019_GetISteamRemotePlay, + ISteamClient_SteamClient020_CreateSteamPipe, + ISteamClient_SteamClient020_BReleaseSteamPipe, + ISteamClient_SteamClient020_ConnectToGlobalUser, + ISteamClient_SteamClient020_CreateLocalUser, + ISteamClient_SteamClient020_ReleaseUser, + ISteamClient_SteamClient020_GetISteamUser, + ISteamClient_SteamClient020_GetISteamGameServer, + ISteamClient_SteamClient020_SetLocalIPBinding, + ISteamClient_SteamClient020_GetISteamFriends, + ISteamClient_SteamClient020_GetISteamUtils, + ISteamClient_SteamClient020_GetISteamMatchmaking, + ISteamClient_SteamClient020_GetISteamMatchmakingServers, + ISteamClient_SteamClient020_GetISteamGenericInterface, + ISteamClient_SteamClient020_GetISteamUserStats, + ISteamClient_SteamClient020_GetISteamGameServerStats, + ISteamClient_SteamClient020_GetISteamApps, + ISteamClient_SteamClient020_GetISteamNetworking, + ISteamClient_SteamClient020_GetISteamRemoteStorage, + ISteamClient_SteamClient020_GetISteamScreenshots, + ISteamClient_SteamClient020_GetISteamGameSearch, + ISteamClient_SteamClient020_RunFrame, + ISteamClient_SteamClient020_GetIPCCallCount, + ISteamClient_SteamClient020_SetWarningMessageHook, + ISteamClient_SteamClient020_BShutdownIfAllPipesClosed, + ISteamClient_SteamClient020_GetISteamHTTP, + ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages, + ISteamClient_SteamClient020_GetISteamController, + ISteamClient_SteamClient020_GetISteamUGC, + ISteamClient_SteamClient020_GetISteamAppList, + ISteamClient_SteamClient020_GetISteamMusic, + ISteamClient_SteamClient020_GetISteamMusicRemote, + ISteamClient_SteamClient020_GetISteamHTMLSurface, + ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + ISteamClient_SteamClient020_GetISteamInventory, + ISteamClient_SteamClient020_GetISteamVideo, + ISteamClient_SteamClient020_GetISteamParentalSettings, + ISteamClient_SteamClient020_GetISteamInput, + ISteamClient_SteamClient020_GetISteamParties, + ISteamClient_SteamClient020_GetISteamRemotePlay, + ISteamClient_SteamClient020_DestroyAllInterfaces, + ISteamController_SteamController003_Init, + ISteamController_SteamController003_Shutdown, + ISteamController_SteamController003_RunFrame, + ISteamController_SteamController003_GetConnectedControllers, + ISteamController_SteamController003_ShowBindingPanel, + ISteamController_SteamController003_GetActionSetHandle, + ISteamController_SteamController003_ActivateActionSet, + ISteamController_SteamController003_GetCurrentActionSet, + ISteamController_SteamController003_GetDigitalActionHandle, + ISteamController_SteamController003_GetDigitalActionData, + ISteamController_SteamController003_GetDigitalActionOrigins, + ISteamController_SteamController003_GetAnalogActionHandle, + ISteamController_SteamController003_GetAnalogActionData, + ISteamController_SteamController003_GetAnalogActionOrigins, + ISteamController_SteamController003_StopAnalogActionMomentum, + ISteamController_SteamController003_TriggerHapticPulse, + ISteamController_SteamController003_TriggerRepeatedHapticPulse, + ISteamController_SteamController004_Init, + ISteamController_SteamController004_Shutdown, + ISteamController_SteamController004_RunFrame, + ISteamController_SteamController004_GetConnectedControllers, + ISteamController_SteamController004_ShowBindingPanel, + ISteamController_SteamController004_GetActionSetHandle, + ISteamController_SteamController004_ActivateActionSet, + ISteamController_SteamController004_GetCurrentActionSet, + ISteamController_SteamController004_GetDigitalActionHandle, + ISteamController_SteamController004_GetDigitalActionData, + ISteamController_SteamController004_GetDigitalActionOrigins, + ISteamController_SteamController004_GetAnalogActionHandle, + ISteamController_SteamController004_GetAnalogActionData, + ISteamController_SteamController004_GetAnalogActionOrigins, + ISteamController_SteamController004_StopAnalogActionMomentum, + ISteamController_SteamController004_TriggerHapticPulse, + ISteamController_SteamController004_TriggerRepeatedHapticPulse, + ISteamController_SteamController004_GetGamepadIndexForController, + ISteamController_SteamController004_GetControllerForGamepadIndex, + ISteamController_SteamController004_GetMotionData, + ISteamController_SteamController004_ShowDigitalActionOrigins, + ISteamController_SteamController004_ShowAnalogActionOrigins, + ISteamController_SteamController005_Init, + ISteamController_SteamController005_Shutdown, + ISteamController_SteamController005_RunFrame, + ISteamController_SteamController005_GetConnectedControllers, + ISteamController_SteamController005_ShowBindingPanel, + ISteamController_SteamController005_GetActionSetHandle, + ISteamController_SteamController005_ActivateActionSet, + ISteamController_SteamController005_GetCurrentActionSet, + ISteamController_SteamController005_GetDigitalActionHandle, + ISteamController_SteamController005_GetDigitalActionData, + ISteamController_SteamController005_GetDigitalActionOrigins, + ISteamController_SteamController005_GetAnalogActionHandle, + ISteamController_SteamController005_GetAnalogActionData, + ISteamController_SteamController005_GetAnalogActionOrigins, + ISteamController_SteamController005_StopAnalogActionMomentum, + ISteamController_SteamController005_TriggerHapticPulse, + ISteamController_SteamController005_TriggerRepeatedHapticPulse, + ISteamController_SteamController005_TriggerVibration, + ISteamController_SteamController005_SetLEDColor, + ISteamController_SteamController005_GetGamepadIndexForController, + ISteamController_SteamController005_GetControllerForGamepadIndex, + ISteamController_SteamController005_GetMotionData, + ISteamController_SteamController005_ShowDigitalActionOrigins, + ISteamController_SteamController005_ShowAnalogActionOrigins, + ISteamController_SteamController005_GetStringForActionOrigin, + ISteamController_SteamController005_GetGlyphForActionOrigin, + ISteamController_SteamController006_Init, + ISteamController_SteamController006_Shutdown, + ISteamController_SteamController006_RunFrame, + ISteamController_SteamController006_GetConnectedControllers, + ISteamController_SteamController006_ShowBindingPanel, + ISteamController_SteamController006_GetActionSetHandle, + ISteamController_SteamController006_ActivateActionSet, + ISteamController_SteamController006_GetCurrentActionSet, + ISteamController_SteamController006_ActivateActionSetLayer, + ISteamController_SteamController006_DeactivateActionSetLayer, + ISteamController_SteamController006_DeactivateAllActionSetLayers, + ISteamController_SteamController006_GetActiveActionSetLayers, + ISteamController_SteamController006_GetDigitalActionHandle, + ISteamController_SteamController006_GetDigitalActionData, + ISteamController_SteamController006_GetDigitalActionOrigins, + ISteamController_SteamController006_GetAnalogActionHandle, + ISteamController_SteamController006_GetAnalogActionData, + ISteamController_SteamController006_GetAnalogActionOrigins, + ISteamController_SteamController006_StopAnalogActionMomentum, + ISteamController_SteamController006_TriggerHapticPulse, + ISteamController_SteamController006_TriggerRepeatedHapticPulse, + ISteamController_SteamController006_TriggerVibration, + ISteamController_SteamController006_SetLEDColor, + ISteamController_SteamController006_GetGamepadIndexForController, + ISteamController_SteamController006_GetControllerForGamepadIndex, + ISteamController_SteamController006_GetMotionData, + ISteamController_SteamController006_ShowDigitalActionOrigins, + ISteamController_SteamController006_ShowAnalogActionOrigins, + ISteamController_SteamController006_GetStringForActionOrigin, + ISteamController_SteamController006_GetGlyphForActionOrigin, + ISteamController_SteamController006_GetInputTypeForHandle, + ISteamController_SteamController007_Init, + ISteamController_SteamController007_Shutdown, + ISteamController_SteamController007_RunFrame, + ISteamController_SteamController007_GetConnectedControllers, + ISteamController_SteamController007_GetActionSetHandle, + ISteamController_SteamController007_ActivateActionSet, + ISteamController_SteamController007_GetCurrentActionSet, + ISteamController_SteamController007_ActivateActionSetLayer, + ISteamController_SteamController007_DeactivateActionSetLayer, + ISteamController_SteamController007_DeactivateAllActionSetLayers, + ISteamController_SteamController007_GetActiveActionSetLayers, + ISteamController_SteamController007_GetDigitalActionHandle, + ISteamController_SteamController007_GetDigitalActionData, + ISteamController_SteamController007_GetDigitalActionOrigins, + ISteamController_SteamController007_GetAnalogActionHandle, + ISteamController_SteamController007_GetAnalogActionData, + ISteamController_SteamController007_GetAnalogActionOrigins, + ISteamController_SteamController007_GetGlyphForActionOrigin, + ISteamController_SteamController007_GetStringForActionOrigin, + ISteamController_SteamController007_StopAnalogActionMomentum, + ISteamController_SteamController007_GetMotionData, + ISteamController_SteamController007_TriggerHapticPulse, + ISteamController_SteamController007_TriggerRepeatedHapticPulse, + ISteamController_SteamController007_TriggerVibration, + ISteamController_SteamController007_SetLEDColor, + ISteamController_SteamController007_ShowBindingPanel, + ISteamController_SteamController007_GetInputTypeForHandle, + ISteamController_SteamController007_GetControllerForGamepadIndex, + ISteamController_SteamController007_GetGamepadIndexForController, + ISteamController_SteamController007_GetStringForXboxOrigin, + ISteamController_SteamController007_GetGlyphForXboxOrigin, + ISteamController_SteamController007_GetActionOriginFromXboxOrigin, + ISteamController_SteamController007_TranslateActionOrigin, + ISteamController_SteamController007_GetControllerBindingRevision, + ISteamController_SteamController008_Init, + ISteamController_SteamController008_Shutdown, + ISteamController_SteamController008_RunFrame, + ISteamController_SteamController008_GetConnectedControllers, + ISteamController_SteamController008_GetActionSetHandle, + ISteamController_SteamController008_ActivateActionSet, + ISteamController_SteamController008_GetCurrentActionSet, + ISteamController_SteamController008_ActivateActionSetLayer, + ISteamController_SteamController008_DeactivateActionSetLayer, + ISteamController_SteamController008_DeactivateAllActionSetLayers, + ISteamController_SteamController008_GetActiveActionSetLayers, + ISteamController_SteamController008_GetDigitalActionHandle, + ISteamController_SteamController008_GetDigitalActionData, + ISteamController_SteamController008_GetDigitalActionOrigins, + ISteamController_SteamController008_GetAnalogActionHandle, + ISteamController_SteamController008_GetAnalogActionData, + ISteamController_SteamController008_GetAnalogActionOrigins, + ISteamController_SteamController008_GetGlyphForActionOrigin, + ISteamController_SteamController008_GetStringForActionOrigin, + ISteamController_SteamController008_StopAnalogActionMomentum, + ISteamController_SteamController008_GetMotionData, + ISteamController_SteamController008_TriggerHapticPulse, + ISteamController_SteamController008_TriggerRepeatedHapticPulse, + ISteamController_SteamController008_TriggerVibration, + ISteamController_SteamController008_SetLEDColor, + ISteamController_SteamController008_ShowBindingPanel, + ISteamController_SteamController008_GetInputTypeForHandle, + ISteamController_SteamController008_GetControllerForGamepadIndex, + ISteamController_SteamController008_GetGamepadIndexForController, + ISteamController_SteamController008_GetStringForXboxOrigin, + ISteamController_SteamController008_GetGlyphForXboxOrigin, + ISteamController_SteamController008_GetActionOriginFromXboxOrigin, + ISteamController_SteamController008_TranslateActionOrigin, + ISteamController_SteamController008_GetControllerBindingRevision, + ISteamFriends_SteamFriends001_GetPersonaName, + ISteamFriends_SteamFriends001_SetPersonaName, + ISteamFriends_SteamFriends001_GetPersonaState, + ISteamFriends_SteamFriends001_SetPersonaState, + ISteamFriends_SteamFriends001_AddFriend, + ISteamFriends_SteamFriends001_RemoveFriend, + ISteamFriends_SteamFriends001_HasFriend, + ISteamFriends_SteamFriends001_GetFriendRelationship, + ISteamFriends_SteamFriends001_GetFriendPersonaState, + ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed, + ISteamFriends_SteamFriends001_GetFriendPersonaName, + ISteamFriends_SteamFriends001_AddFriendByName, + ISteamFriends_SteamFriends001_GetFriendCount, + ISteamFriends_SteamFriends001_GetFriendByIndex, + ISteamFriends_SteamFriends001_SendMsgToFriend, + ISteamFriends_SteamFriends001_SetFriendRegValue, + ISteamFriends_SteamFriends001_GetFriendRegValue, + ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends001_GetChatMessage, + ISteamFriends_SteamFriends001_SendMsgToFriend_2, + ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart, + ISteamFriends_SteamFriends001_SetChatHistoryStart, + ISteamFriends_SteamFriends001_ClearChatHistory, + ISteamFriends_SteamFriends001_InviteFriendByEmail, + ISteamFriends_SteamFriends001_GetBlockedFriendCount, + ISteamFriends_SteamFriends001_GetFriendGamePlayed, + ISteamFriends_SteamFriends001_GetFriendGamePlayed2, + ISteamFriends_SteamFriends002_GetPersonaName, + ISteamFriends_SteamFriends002_SetPersonaName, + ISteamFriends_SteamFriends002_GetPersonaState, + ISteamFriends_SteamFriends002_SetPersonaState, + ISteamFriends_SteamFriends002_GetFriendCount, + ISteamFriends_SteamFriends002_GetFriendByIndex, + ISteamFriends_SteamFriends002_GetFriendRelationship, + ISteamFriends_SteamFriends002_GetFriendPersonaState, + ISteamFriends_SteamFriends002_GetFriendPersonaName, + ISteamFriends_SteamFriends002_SetFriendRegValue, + ISteamFriends_SteamFriends002_GetFriendRegValue, + ISteamFriends_SteamFriends002_GetFriendGamePlayed, + ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends002_AddFriend, + ISteamFriends_SteamFriends002_RemoveFriend, + ISteamFriends_SteamFriends002_HasFriend, + ISteamFriends_SteamFriends002_AddFriendByName, + ISteamFriends_SteamFriends002_InviteFriendByEmail, + ISteamFriends_SteamFriends002_GetChatMessage, + ISteamFriends_SteamFriends002_SendMsgToFriend, + ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart, + ISteamFriends_SteamFriends002_SetChatHistoryStart, + ISteamFriends_SteamFriends002_ClearChatHistory, + ISteamFriends_SteamFriends002_GetClanCount, + ISteamFriends_SteamFriends002_GetClanByIndex, + ISteamFriends_SteamFriends002_GetClanName, + ISteamFriends_SteamFriends002_InviteFriendToClan, + ISteamFriends_SteamFriends002_AcknowledgeInviteToClan, + ISteamFriends_SteamFriends002_GetFriendCountFromSource, + ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends003_GetPersonaName, + ISteamFriends_SteamFriends003_SetPersonaName, + ISteamFriends_SteamFriends003_GetPersonaState, + ISteamFriends_SteamFriends003_GetFriendCount, + ISteamFriends_SteamFriends003_GetFriendByIndex, + ISteamFriends_SteamFriends003_GetFriendRelationship, + ISteamFriends_SteamFriends003_GetFriendPersonaState, + ISteamFriends_SteamFriends003_GetFriendPersonaName, + ISteamFriends_SteamFriends003_GetFriendAvatar, + ISteamFriends_SteamFriends003_GetFriendGamePlayed, + ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends003_HasFriend, + ISteamFriends_SteamFriends003_GetClanCount, + ISteamFriends_SteamFriends003_GetClanByIndex, + ISteamFriends_SteamFriends003_GetClanName, + ISteamFriends_SteamFriends003_GetFriendCountFromSource, + ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends003_IsUserInSource, + ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends003_ActivateGameOverlay, + ISteamFriends_SteamFriends004_GetPersonaName, + ISteamFriends_SteamFriends004_SetPersonaName, + ISteamFriends_SteamFriends004_GetPersonaState, + ISteamFriends_SteamFriends004_GetFriendCount, + ISteamFriends_SteamFriends004_GetFriendByIndex, + ISteamFriends_SteamFriends004_GetFriendRelationship, + ISteamFriends_SteamFriends004_GetFriendPersonaState, + ISteamFriends_SteamFriends004_GetFriendPersonaName, + ISteamFriends_SteamFriends004_GetFriendAvatar, + ISteamFriends_SteamFriends004_GetFriendGamePlayed, + ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends004_HasFriend, + ISteamFriends_SteamFriends004_GetClanCount, + ISteamFriends_SteamFriends004_GetClanByIndex, + ISteamFriends_SteamFriends004_GetClanName, + ISteamFriends_SteamFriends004_GetFriendCountFromSource, + ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends004_IsUserInSource, + ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends004_ActivateGameOverlay, + ISteamFriends_SteamFriends005_GetPersonaName, + ISteamFriends_SteamFriends005_SetPersonaName, + ISteamFriends_SteamFriends005_GetPersonaState, + ISteamFriends_SteamFriends005_GetFriendCount, + ISteamFriends_SteamFriends005_GetFriendByIndex, + ISteamFriends_SteamFriends005_GetFriendRelationship, + ISteamFriends_SteamFriends005_GetFriendPersonaState, + ISteamFriends_SteamFriends005_GetFriendPersonaName, + ISteamFriends_SteamFriends005_GetFriendAvatar, + ISteamFriends_SteamFriends005_GetFriendGamePlayed, + ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends005_HasFriend, + ISteamFriends_SteamFriends005_GetClanCount, + ISteamFriends_SteamFriends005_GetClanByIndex, + ISteamFriends_SteamFriends005_GetClanName, + ISteamFriends_SteamFriends005_GetFriendCountFromSource, + ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends005_IsUserInSource, + ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends005_ActivateGameOverlay, + ISteamFriends_SteamFriends005_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends005_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends005_SetPlayedWith, + ISteamFriends_SteamFriends006_GetPersonaName, + ISteamFriends_SteamFriends006_SetPersonaName, + ISteamFriends_SteamFriends006_GetPersonaState, + ISteamFriends_SteamFriends006_GetFriendCount, + ISteamFriends_SteamFriends006_GetFriendByIndex, + ISteamFriends_SteamFriends006_GetFriendRelationship, + ISteamFriends_SteamFriends006_GetFriendPersonaState, + ISteamFriends_SteamFriends006_GetFriendPersonaName, + ISteamFriends_SteamFriends006_GetFriendAvatar, + ISteamFriends_SteamFriends006_GetFriendGamePlayed, + ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends006_HasFriend, + ISteamFriends_SteamFriends006_GetClanCount, + ISteamFriends_SteamFriends006_GetClanByIndex, + ISteamFriends_SteamFriends006_GetClanName, + ISteamFriends_SteamFriends006_GetClanTag, + ISteamFriends_SteamFriends006_GetFriendCountFromSource, + ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends006_IsUserInSource, + ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends006_ActivateGameOverlay, + ISteamFriends_SteamFriends006_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends006_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends006_SetPlayedWith, + ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends007_GetPersonaName, + ISteamFriends_SteamFriends007_SetPersonaName, + ISteamFriends_SteamFriends007_GetPersonaState, + ISteamFriends_SteamFriends007_GetFriendCount, + ISteamFriends_SteamFriends007_GetFriendByIndex, + ISteamFriends_SteamFriends007_GetFriendRelationship, + ISteamFriends_SteamFriends007_GetFriendPersonaState, + ISteamFriends_SteamFriends007_GetFriendPersonaName, + ISteamFriends_SteamFriends007_GetFriendGamePlayed, + ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends007_HasFriend, + ISteamFriends_SteamFriends007_GetClanCount, + ISteamFriends_SteamFriends007_GetClanByIndex, + ISteamFriends_SteamFriends007_GetClanName, + ISteamFriends_SteamFriends007_GetClanTag, + ISteamFriends_SteamFriends007_GetFriendCountFromSource, + ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends007_IsUserInSource, + ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends007_ActivateGameOverlay, + ISteamFriends_SteamFriends007_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends007_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends007_SetPlayedWith, + ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends007_GetSmallFriendAvatar, + ISteamFriends_SteamFriends007_GetMediumFriendAvatar, + ISteamFriends_SteamFriends007_GetLargeFriendAvatar, + ISteamFriends_SteamFriends008_GetPersonaName, + ISteamFriends_SteamFriends008_SetPersonaName, + ISteamFriends_SteamFriends008_GetPersonaState, + ISteamFriends_SteamFriends008_GetFriendCount, + ISteamFriends_SteamFriends008_GetFriendByIndex, + ISteamFriends_SteamFriends008_GetFriendRelationship, + ISteamFriends_SteamFriends008_GetFriendPersonaState, + ISteamFriends_SteamFriends008_GetFriendPersonaName, + ISteamFriends_SteamFriends008_GetFriendGamePlayed, + ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends008_HasFriend, + ISteamFriends_SteamFriends008_GetClanCount, + ISteamFriends_SteamFriends008_GetClanByIndex, + ISteamFriends_SteamFriends008_GetClanName, + ISteamFriends_SteamFriends008_GetClanTag, + ISteamFriends_SteamFriends008_GetFriendCountFromSource, + ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends008_IsUserInSource, + ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends008_ActivateGameOverlay, + ISteamFriends_SteamFriends008_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends008_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends008_SetPlayedWith, + ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends008_GetSmallFriendAvatar, + ISteamFriends_SteamFriends008_GetMediumFriendAvatar, + ISteamFriends_SteamFriends008_GetLargeFriendAvatar, + ISteamFriends_SteamFriends008_RequestUserInformation, + ISteamFriends_SteamFriends008_RequestClanOfficerList, + ISteamFriends_SteamFriends008_GetClanOwner, + ISteamFriends_SteamFriends008_GetClanOfficerCount, + ISteamFriends_SteamFriends008_GetClanOfficerByIndex, + ISteamFriends_SteamFriends008_GetUserRestrictions, + ISteamFriends_SteamFriends009_GetPersonaName, + ISteamFriends_SteamFriends009_SetPersonaName, + ISteamFriends_SteamFriends009_GetPersonaState, + ISteamFriends_SteamFriends009_GetFriendCount, + ISteamFriends_SteamFriends009_GetFriendByIndex, + ISteamFriends_SteamFriends009_GetFriendRelationship, + ISteamFriends_SteamFriends009_GetFriendPersonaState, + ISteamFriends_SteamFriends009_GetFriendPersonaName, + ISteamFriends_SteamFriends009_GetFriendGamePlayed, + ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends009_HasFriend, + ISteamFriends_SteamFriends009_GetClanCount, + ISteamFriends_SteamFriends009_GetClanByIndex, + ISteamFriends_SteamFriends009_GetClanName, + ISteamFriends_SteamFriends009_GetClanTag, + ISteamFriends_SteamFriends009_GetFriendCountFromSource, + ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends009_IsUserInSource, + ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends009_ActivateGameOverlay, + ISteamFriends_SteamFriends009_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends009_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends009_SetPlayedWith, + ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends009_GetSmallFriendAvatar, + ISteamFriends_SteamFriends009_GetMediumFriendAvatar, + ISteamFriends_SteamFriends009_GetLargeFriendAvatar, + ISteamFriends_SteamFriends009_RequestUserInformation, + ISteamFriends_SteamFriends009_RequestClanOfficerList, + ISteamFriends_SteamFriends009_GetClanOwner, + ISteamFriends_SteamFriends009_GetClanOfficerCount, + ISteamFriends_SteamFriends009_GetClanOfficerByIndex, + ISteamFriends_SteamFriends009_GetUserRestrictions, + ISteamFriends_SteamFriends009_SetRichPresence, + ISteamFriends_SteamFriends009_ClearRichPresence, + ISteamFriends_SteamFriends009_GetFriendRichPresence, + ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends009_InviteUserToGame, + ISteamFriends_SteamFriends009_GetCoplayFriendCount, + ISteamFriends_SteamFriends009_GetCoplayFriend, + ISteamFriends_SteamFriends009_GetFriendCoplayTime, + ISteamFriends_SteamFriends009_GetFriendCoplayGame, + ISteamFriends_SteamFriends010_GetPersonaName, + ISteamFriends_SteamFriends010_SetPersonaName, + ISteamFriends_SteamFriends010_GetPersonaState, + ISteamFriends_SteamFriends010_GetFriendCount, + ISteamFriends_SteamFriends010_GetFriendByIndex, + ISteamFriends_SteamFriends010_GetFriendRelationship, + ISteamFriends_SteamFriends010_GetFriendPersonaState, + ISteamFriends_SteamFriends010_GetFriendPersonaName, + ISteamFriends_SteamFriends010_GetFriendGamePlayed, + ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends010_HasFriend, + ISteamFriends_SteamFriends010_GetClanCount, + ISteamFriends_SteamFriends010_GetClanByIndex, + ISteamFriends_SteamFriends010_GetClanName, + ISteamFriends_SteamFriends010_GetClanTag, + ISteamFriends_SteamFriends010_GetClanActivityCounts, + ISteamFriends_SteamFriends010_DownloadClanActivityCounts, + ISteamFriends_SteamFriends010_GetFriendCountFromSource, + ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends010_IsUserInSource, + ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends010_ActivateGameOverlay, + ISteamFriends_SteamFriends010_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends010_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends010_SetPlayedWith, + ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends010_GetSmallFriendAvatar, + ISteamFriends_SteamFriends010_GetMediumFriendAvatar, + ISteamFriends_SteamFriends010_GetLargeFriendAvatar, + ISteamFriends_SteamFriends010_RequestUserInformation, + ISteamFriends_SteamFriends010_RequestClanOfficerList, + ISteamFriends_SteamFriends010_GetClanOwner, + ISteamFriends_SteamFriends010_GetClanOfficerCount, + ISteamFriends_SteamFriends010_GetClanOfficerByIndex, + ISteamFriends_SteamFriends010_GetUserRestrictions, + ISteamFriends_SteamFriends010_SetRichPresence, + ISteamFriends_SteamFriends010_ClearRichPresence, + ISteamFriends_SteamFriends010_GetFriendRichPresence, + ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends010_InviteUserToGame, + ISteamFriends_SteamFriends010_GetCoplayFriendCount, + ISteamFriends_SteamFriends010_GetCoplayFriend, + ISteamFriends_SteamFriends010_GetFriendCoplayTime, + ISteamFriends_SteamFriends010_GetFriendCoplayGame, + ISteamFriends_SteamFriends010_JoinClanChatRoom, + ISteamFriends_SteamFriends010_LeaveClanChatRoom, + ISteamFriends_SteamFriends010_GetClanChatMemberCount, + ISteamFriends_SteamFriends010_GetChatMemberByIndex, + ISteamFriends_SteamFriends010_SendClanChatMessage, + ISteamFriends_SteamFriends010_GetClanChatMessage, + ISteamFriends_SteamFriends010_IsClanChatAdmin, + ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends010_SetListenForFriendsMessages, + ISteamFriends_SteamFriends010_ReplyToFriendMessage, + ISteamFriends_SteamFriends010_GetFriendMessage, + ISteamFriends_SteamFriends011_GetPersonaName, + ISteamFriends_SteamFriends011_SetPersonaName, + ISteamFriends_SteamFriends011_GetPersonaState, + ISteamFriends_SteamFriends011_GetFriendCount, + ISteamFriends_SteamFriends011_GetFriendByIndex, + ISteamFriends_SteamFriends011_GetFriendRelationship, + ISteamFriends_SteamFriends011_GetFriendPersonaState, + ISteamFriends_SteamFriends011_GetFriendPersonaName, + ISteamFriends_SteamFriends011_GetFriendGamePlayed, + ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends011_HasFriend, + ISteamFriends_SteamFriends011_GetClanCount, + ISteamFriends_SteamFriends011_GetClanByIndex, + ISteamFriends_SteamFriends011_GetClanName, + ISteamFriends_SteamFriends011_GetClanTag, + ISteamFriends_SteamFriends011_GetClanActivityCounts, + ISteamFriends_SteamFriends011_DownloadClanActivityCounts, + ISteamFriends_SteamFriends011_GetFriendCountFromSource, + ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends011_IsUserInSource, + ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends011_ActivateGameOverlay, + ISteamFriends_SteamFriends011_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends011_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends011_SetPlayedWith, + ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends011_GetSmallFriendAvatar, + ISteamFriends_SteamFriends011_GetMediumFriendAvatar, + ISteamFriends_SteamFriends011_GetLargeFriendAvatar, + ISteamFriends_SteamFriends011_RequestUserInformation, + ISteamFriends_SteamFriends011_RequestClanOfficerList, + ISteamFriends_SteamFriends011_GetClanOwner, + ISteamFriends_SteamFriends011_GetClanOfficerCount, + ISteamFriends_SteamFriends011_GetClanOfficerByIndex, + ISteamFriends_SteamFriends011_GetUserRestrictions, + ISteamFriends_SteamFriends011_SetRichPresence, + ISteamFriends_SteamFriends011_ClearRichPresence, + ISteamFriends_SteamFriends011_GetFriendRichPresence, + ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends011_RequestFriendRichPresence, + ISteamFriends_SteamFriends011_InviteUserToGame, + ISteamFriends_SteamFriends011_GetCoplayFriendCount, + ISteamFriends_SteamFriends011_GetCoplayFriend, + ISteamFriends_SteamFriends011_GetFriendCoplayTime, + ISteamFriends_SteamFriends011_GetFriendCoplayGame, + ISteamFriends_SteamFriends011_JoinClanChatRoom, + ISteamFriends_SteamFriends011_LeaveClanChatRoom, + ISteamFriends_SteamFriends011_GetClanChatMemberCount, + ISteamFriends_SteamFriends011_GetChatMemberByIndex, + ISteamFriends_SteamFriends011_SendClanChatMessage, + ISteamFriends_SteamFriends011_GetClanChatMessage, + ISteamFriends_SteamFriends011_IsClanChatAdmin, + ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends011_SetListenForFriendsMessages, + ISteamFriends_SteamFriends011_ReplyToFriendMessage, + ISteamFriends_SteamFriends011_GetFriendMessage, + ISteamFriends_SteamFriends011_GetFollowerCount, + ISteamFriends_SteamFriends011_IsFollowing, + ISteamFriends_SteamFriends011_EnumerateFollowingList, + ISteamFriends_SteamFriends012_GetPersonaName, + ISteamFriends_SteamFriends012_SetPersonaName, + ISteamFriends_SteamFriends012_GetPersonaState, + ISteamFriends_SteamFriends012_GetFriendCount, + ISteamFriends_SteamFriends012_GetFriendByIndex, + ISteamFriends_SteamFriends012_GetFriendRelationship, + ISteamFriends_SteamFriends012_GetFriendPersonaState, + ISteamFriends_SteamFriends012_GetFriendPersonaName, + ISteamFriends_SteamFriends012_GetFriendGamePlayed, + ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends012_HasFriend, + ISteamFriends_SteamFriends012_GetClanCount, + ISteamFriends_SteamFriends012_GetClanByIndex, + ISteamFriends_SteamFriends012_GetClanName, + ISteamFriends_SteamFriends012_GetClanTag, + ISteamFriends_SteamFriends012_GetClanActivityCounts, + ISteamFriends_SteamFriends012_DownloadClanActivityCounts, + ISteamFriends_SteamFriends012_GetFriendCountFromSource, + ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends012_IsUserInSource, + ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends012_ActivateGameOverlay, + ISteamFriends_SteamFriends012_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends012_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends012_SetPlayedWith, + ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends012_GetSmallFriendAvatar, + ISteamFriends_SteamFriends012_GetMediumFriendAvatar, + ISteamFriends_SteamFriends012_GetLargeFriendAvatar, + ISteamFriends_SteamFriends012_RequestUserInformation, + ISteamFriends_SteamFriends012_RequestClanOfficerList, + ISteamFriends_SteamFriends012_GetClanOwner, + ISteamFriends_SteamFriends012_GetClanOfficerCount, + ISteamFriends_SteamFriends012_GetClanOfficerByIndex, + ISteamFriends_SteamFriends012_GetUserRestrictions, + ISteamFriends_SteamFriends012_SetRichPresence, + ISteamFriends_SteamFriends012_ClearRichPresence, + ISteamFriends_SteamFriends012_GetFriendRichPresence, + ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends012_RequestFriendRichPresence, + ISteamFriends_SteamFriends012_InviteUserToGame, + ISteamFriends_SteamFriends012_GetCoplayFriendCount, + ISteamFriends_SteamFriends012_GetCoplayFriend, + ISteamFriends_SteamFriends012_GetFriendCoplayTime, + ISteamFriends_SteamFriends012_GetFriendCoplayGame, + ISteamFriends_SteamFriends012_JoinClanChatRoom, + ISteamFriends_SteamFriends012_LeaveClanChatRoom, + ISteamFriends_SteamFriends012_GetClanChatMemberCount, + ISteamFriends_SteamFriends012_GetChatMemberByIndex, + ISteamFriends_SteamFriends012_SendClanChatMessage, + ISteamFriends_SteamFriends012_GetClanChatMessage, + ISteamFriends_SteamFriends012_IsClanChatAdmin, + ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends012_SetListenForFriendsMessages, + ISteamFriends_SteamFriends012_ReplyToFriendMessage, + ISteamFriends_SteamFriends012_GetFriendMessage, + ISteamFriends_SteamFriends012_GetFollowerCount, + ISteamFriends_SteamFriends012_IsFollowing, + ISteamFriends_SteamFriends012_EnumerateFollowingList, + ISteamFriends_SteamFriends013_GetPersonaName, + ISteamFriends_SteamFriends013_SetPersonaName, + ISteamFriends_SteamFriends013_GetPersonaState, + ISteamFriends_SteamFriends013_GetFriendCount, + ISteamFriends_SteamFriends013_GetFriendByIndex, + ISteamFriends_SteamFriends013_GetFriendRelationship, + ISteamFriends_SteamFriends013_GetFriendPersonaState, + ISteamFriends_SteamFriends013_GetFriendPersonaName, + ISteamFriends_SteamFriends013_GetFriendGamePlayed, + ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends013_HasFriend, + ISteamFriends_SteamFriends013_GetClanCount, + ISteamFriends_SteamFriends013_GetClanByIndex, + ISteamFriends_SteamFriends013_GetClanName, + ISteamFriends_SteamFriends013_GetClanTag, + ISteamFriends_SteamFriends013_GetClanActivityCounts, + ISteamFriends_SteamFriends013_DownloadClanActivityCounts, + ISteamFriends_SteamFriends013_GetFriendCountFromSource, + ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends013_IsUserInSource, + ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends013_ActivateGameOverlay, + ISteamFriends_SteamFriends013_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends013_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends013_SetPlayedWith, + ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends013_GetSmallFriendAvatar, + ISteamFriends_SteamFriends013_GetMediumFriendAvatar, + ISteamFriends_SteamFriends013_GetLargeFriendAvatar, + ISteamFriends_SteamFriends013_RequestUserInformation, + ISteamFriends_SteamFriends013_RequestClanOfficerList, + ISteamFriends_SteamFriends013_GetClanOwner, + ISteamFriends_SteamFriends013_GetClanOfficerCount, + ISteamFriends_SteamFriends013_GetClanOfficerByIndex, + ISteamFriends_SteamFriends013_GetUserRestrictions, + ISteamFriends_SteamFriends013_SetRichPresence, + ISteamFriends_SteamFriends013_ClearRichPresence, + ISteamFriends_SteamFriends013_GetFriendRichPresence, + ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends013_RequestFriendRichPresence, + ISteamFriends_SteamFriends013_InviteUserToGame, + ISteamFriends_SteamFriends013_GetCoplayFriendCount, + ISteamFriends_SteamFriends013_GetCoplayFriend, + ISteamFriends_SteamFriends013_GetFriendCoplayTime, + ISteamFriends_SteamFriends013_GetFriendCoplayGame, + ISteamFriends_SteamFriends013_JoinClanChatRoom, + ISteamFriends_SteamFriends013_LeaveClanChatRoom, + ISteamFriends_SteamFriends013_GetClanChatMemberCount, + ISteamFriends_SteamFriends013_GetChatMemberByIndex, + ISteamFriends_SteamFriends013_SendClanChatMessage, + ISteamFriends_SteamFriends013_GetClanChatMessage, + ISteamFriends_SteamFriends013_IsClanChatAdmin, + ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends013_SetListenForFriendsMessages, + ISteamFriends_SteamFriends013_ReplyToFriendMessage, + ISteamFriends_SteamFriends013_GetFriendMessage, + ISteamFriends_SteamFriends013_GetFollowerCount, + ISteamFriends_SteamFriends013_IsFollowing, + ISteamFriends_SteamFriends013_EnumerateFollowingList, + ISteamFriends_SteamFriends014_GetPersonaName, + ISteamFriends_SteamFriends014_SetPersonaName, + ISteamFriends_SteamFriends014_GetPersonaState, + ISteamFriends_SteamFriends014_GetFriendCount, + ISteamFriends_SteamFriends014_GetFriendByIndex, + ISteamFriends_SteamFriends014_GetFriendRelationship, + ISteamFriends_SteamFriends014_GetFriendPersonaState, + ISteamFriends_SteamFriends014_GetFriendPersonaName, + ISteamFriends_SteamFriends014_GetFriendGamePlayed, + ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends014_GetPlayerNickname, + ISteamFriends_SteamFriends014_HasFriend, + ISteamFriends_SteamFriends014_GetClanCount, + ISteamFriends_SteamFriends014_GetClanByIndex, + ISteamFriends_SteamFriends014_GetClanName, + ISteamFriends_SteamFriends014_GetClanTag, + ISteamFriends_SteamFriends014_GetClanActivityCounts, + ISteamFriends_SteamFriends014_DownloadClanActivityCounts, + ISteamFriends_SteamFriends014_GetFriendCountFromSource, + ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends014_IsUserInSource, + ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends014_ActivateGameOverlay, + ISteamFriends_SteamFriends014_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends014_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends014_SetPlayedWith, + ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends014_GetSmallFriendAvatar, + ISteamFriends_SteamFriends014_GetMediumFriendAvatar, + ISteamFriends_SteamFriends014_GetLargeFriendAvatar, + ISteamFriends_SteamFriends014_RequestUserInformation, + ISteamFriends_SteamFriends014_RequestClanOfficerList, + ISteamFriends_SteamFriends014_GetClanOwner, + ISteamFriends_SteamFriends014_GetClanOfficerCount, + ISteamFriends_SteamFriends014_GetClanOfficerByIndex, + ISteamFriends_SteamFriends014_GetUserRestrictions, + ISteamFriends_SteamFriends014_SetRichPresence, + ISteamFriends_SteamFriends014_ClearRichPresence, + ISteamFriends_SteamFriends014_GetFriendRichPresence, + ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends014_RequestFriendRichPresence, + ISteamFriends_SteamFriends014_InviteUserToGame, + ISteamFriends_SteamFriends014_GetCoplayFriendCount, + ISteamFriends_SteamFriends014_GetCoplayFriend, + ISteamFriends_SteamFriends014_GetFriendCoplayTime, + ISteamFriends_SteamFriends014_GetFriendCoplayGame, + ISteamFriends_SteamFriends014_JoinClanChatRoom, + ISteamFriends_SteamFriends014_LeaveClanChatRoom, + ISteamFriends_SteamFriends014_GetClanChatMemberCount, + ISteamFriends_SteamFriends014_GetChatMemberByIndex, + ISteamFriends_SteamFriends014_SendClanChatMessage, + ISteamFriends_SteamFriends014_GetClanChatMessage, + ISteamFriends_SteamFriends014_IsClanChatAdmin, + ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends014_SetListenForFriendsMessages, + ISteamFriends_SteamFriends014_ReplyToFriendMessage, + ISteamFriends_SteamFriends014_GetFriendMessage, + ISteamFriends_SteamFriends014_GetFollowerCount, + ISteamFriends_SteamFriends014_IsFollowing, + ISteamFriends_SteamFriends014_EnumerateFollowingList, + ISteamFriends_SteamFriends015_GetPersonaName, + ISteamFriends_SteamFriends015_SetPersonaName, + ISteamFriends_SteamFriends015_GetPersonaState, + ISteamFriends_SteamFriends015_GetFriendCount, + ISteamFriends_SteamFriends015_GetFriendByIndex, + ISteamFriends_SteamFriends015_GetFriendRelationship, + ISteamFriends_SteamFriends015_GetFriendPersonaState, + ISteamFriends_SteamFriends015_GetFriendPersonaName, + ISteamFriends_SteamFriends015_GetFriendGamePlayed, + ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends015_GetFriendSteamLevel, + ISteamFriends_SteamFriends015_GetPlayerNickname, + ISteamFriends_SteamFriends015_GetFriendsGroupCount, + ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex, + ISteamFriends_SteamFriends015_GetFriendsGroupName, + ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount, + ISteamFriends_SteamFriends015_GetFriendsGroupMembersList, + ISteamFriends_SteamFriends015_HasFriend, + ISteamFriends_SteamFriends015_GetClanCount, + ISteamFriends_SteamFriends015_GetClanByIndex, + ISteamFriends_SteamFriends015_GetClanName, + ISteamFriends_SteamFriends015_GetClanTag, + ISteamFriends_SteamFriends015_GetClanActivityCounts, + ISteamFriends_SteamFriends015_DownloadClanActivityCounts, + ISteamFriends_SteamFriends015_GetFriendCountFromSource, + ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends015_IsUserInSource, + ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends015_ActivateGameOverlay, + ISteamFriends_SteamFriends015_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends015_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends015_SetPlayedWith, + ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends015_GetSmallFriendAvatar, + ISteamFriends_SteamFriends015_GetMediumFriendAvatar, + ISteamFriends_SteamFriends015_GetLargeFriendAvatar, + ISteamFriends_SteamFriends015_RequestUserInformation, + ISteamFriends_SteamFriends015_RequestClanOfficerList, + ISteamFriends_SteamFriends015_GetClanOwner, + ISteamFriends_SteamFriends015_GetClanOfficerCount, + ISteamFriends_SteamFriends015_GetClanOfficerByIndex, + ISteamFriends_SteamFriends015_GetUserRestrictions, + ISteamFriends_SteamFriends015_SetRichPresence, + ISteamFriends_SteamFriends015_ClearRichPresence, + ISteamFriends_SteamFriends015_GetFriendRichPresence, + ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends015_RequestFriendRichPresence, + ISteamFriends_SteamFriends015_InviteUserToGame, + ISteamFriends_SteamFriends015_GetCoplayFriendCount, + ISteamFriends_SteamFriends015_GetCoplayFriend, + ISteamFriends_SteamFriends015_GetFriendCoplayTime, + ISteamFriends_SteamFriends015_GetFriendCoplayGame, + ISteamFriends_SteamFriends015_JoinClanChatRoom, + ISteamFriends_SteamFriends015_LeaveClanChatRoom, + ISteamFriends_SteamFriends015_GetClanChatMemberCount, + ISteamFriends_SteamFriends015_GetChatMemberByIndex, + ISteamFriends_SteamFriends015_SendClanChatMessage, + ISteamFriends_SteamFriends015_GetClanChatMessage, + ISteamFriends_SteamFriends015_IsClanChatAdmin, + ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends015_SetListenForFriendsMessages, + ISteamFriends_SteamFriends015_ReplyToFriendMessage, + ISteamFriends_SteamFriends015_GetFriendMessage, + ISteamFriends_SteamFriends015_GetFollowerCount, + ISteamFriends_SteamFriends015_IsFollowing, + ISteamFriends_SteamFriends015_EnumerateFollowingList, + ISteamFriends_SteamFriends015_IsClanPublic, + ISteamFriends_SteamFriends015_IsClanOfficialGameGroup, + ISteamFriends_SteamFriends017_GetPersonaName, + ISteamFriends_SteamFriends017_SetPersonaName, + ISteamFriends_SteamFriends017_GetPersonaState, + ISteamFriends_SteamFriends017_GetFriendCount, + ISteamFriends_SteamFriends017_GetFriendByIndex, + ISteamFriends_SteamFriends017_GetFriendRelationship, + ISteamFriends_SteamFriends017_GetFriendPersonaState, + ISteamFriends_SteamFriends017_GetFriendPersonaName, + ISteamFriends_SteamFriends017_GetFriendGamePlayed, + ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, + ISteamFriends_SteamFriends017_GetFriendSteamLevel, + ISteamFriends_SteamFriends017_GetPlayerNickname, + ISteamFriends_SteamFriends017_GetFriendsGroupCount, + ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex, + ISteamFriends_SteamFriends017_GetFriendsGroupName, + ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount, + ISteamFriends_SteamFriends017_GetFriendsGroupMembersList, + ISteamFriends_SteamFriends017_HasFriend, + ISteamFriends_SteamFriends017_GetClanCount, + ISteamFriends_SteamFriends017_GetClanByIndex, + ISteamFriends_SteamFriends017_GetClanName, + ISteamFriends_SteamFriends017_GetClanTag, + ISteamFriends_SteamFriends017_GetClanActivityCounts, + ISteamFriends_SteamFriends017_DownloadClanActivityCounts, + ISteamFriends_SteamFriends017_GetFriendCountFromSource, + ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex, + ISteamFriends_SteamFriends017_IsUserInSource, + ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking, + ISteamFriends_SteamFriends017_ActivateGameOverlay, + ISteamFriends_SteamFriends017_ActivateGameOverlayToUser, + ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage, + ISteamFriends_SteamFriends017_ActivateGameOverlayToStore, + ISteamFriends_SteamFriends017_SetPlayedWith, + ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog, + ISteamFriends_SteamFriends017_GetSmallFriendAvatar, + ISteamFriends_SteamFriends017_GetMediumFriendAvatar, + ISteamFriends_SteamFriends017_GetLargeFriendAvatar, + ISteamFriends_SteamFriends017_RequestUserInformation, + ISteamFriends_SteamFriends017_RequestClanOfficerList, + ISteamFriends_SteamFriends017_GetClanOwner, + ISteamFriends_SteamFriends017_GetClanOfficerCount, + ISteamFriends_SteamFriends017_GetClanOfficerByIndex, + ISteamFriends_SteamFriends017_GetUserRestrictions, + ISteamFriends_SteamFriends017_SetRichPresence, + ISteamFriends_SteamFriends017_ClearRichPresence, + ISteamFriends_SteamFriends017_GetFriendRichPresence, + ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount, + ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, + ISteamFriends_SteamFriends017_RequestFriendRichPresence, + ISteamFriends_SteamFriends017_InviteUserToGame, + ISteamFriends_SteamFriends017_GetCoplayFriendCount, + ISteamFriends_SteamFriends017_GetCoplayFriend, + ISteamFriends_SteamFriends017_GetFriendCoplayTime, + ISteamFriends_SteamFriends017_GetFriendCoplayGame, + ISteamFriends_SteamFriends017_JoinClanChatRoom, + ISteamFriends_SteamFriends017_LeaveClanChatRoom, + ISteamFriends_SteamFriends017_GetClanChatMemberCount, + ISteamFriends_SteamFriends017_GetChatMemberByIndex, + ISteamFriends_SteamFriends017_SendClanChatMessage, + ISteamFriends_SteamFriends017_GetClanChatMessage, + ISteamFriends_SteamFriends017_IsClanChatAdmin, + ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam, + ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam, + ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam, + ISteamFriends_SteamFriends017_SetListenForFriendsMessages, + ISteamFriends_SteamFriends017_ReplyToFriendMessage, + ISteamFriends_SteamFriends017_GetFriendMessage, + ISteamFriends_SteamFriends017_GetFollowerCount, + ISteamFriends_SteamFriends017_IsFollowing, + ISteamFriends_SteamFriends017_EnumerateFollowingList, + ISteamFriends_SteamFriends017_IsClanPublic, + ISteamFriends_SteamFriends017_IsClanOfficialGameGroup, + ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages, + ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog, + ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser, + ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString, + ISteamFriends_SteamFriends017_RequestEquippedProfileItems, + ISteamFriends_SteamFriends017_BHasEquippedProfileItem, + ISteamFriends_SteamFriends017_GetProfileItemPropertyString, + ISteamFriends_SteamFriends017_GetProfileItemPropertyUint, + ISteamGameCoordinator_SteamGameCoordinator001_SendMessage, + ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, + ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, + ISteamGameServer_SteamGameServer002_LogOn, + ISteamGameServer_SteamGameServer002_LogOff, + ISteamGameServer_SteamGameServer002_BLoggedOn, + ISteamGameServer_SteamGameServer002_GSSetSpawnCount, + ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, + ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, + ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, + ISteamGameServer_SteamGameServer002_GSRemoveUserConnect, + ISteamGameServer_SteamGameServer002_GSSendUserDisconnect, + ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, + ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, + ISteamGameServer_SteamGameServer002_GSUpdateStatus, + ISteamGameServer_SteamGameServer002_BSecure, + ISteamGameServer_SteamGameServer002_GetSteamID, + ISteamGameServer_SteamGameServer002_GSSetServerType, + ISteamGameServer_SteamGameServer002_GSSetServerType2, + ISteamGameServer_SteamGameServer002_GSUpdateStatus2, + ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, + ISteamGameServer_SteamGameServer002_GSSetUserData, + ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, + ISteamGameServer_SteamGameServer002_GSSetGameType, + ISteamGameServer_SteamGameServer003_LogOn, + ISteamGameServer_SteamGameServer003_LogOff, + ISteamGameServer_SteamGameServer003_BLoggedOn, + ISteamGameServer_SteamGameServer003_BSecure, + ISteamGameServer_SteamGameServer003_GetSteamID, + ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient, + ISteamGameServer_SteamGameServer003_GSSendUserConnect, + ISteamGameServer_SteamGameServer003_GSRemoveUserConnect, + ISteamGameServer_SteamGameServer003_GSSendUserDisconnect, + ISteamGameServer_SteamGameServer003_GSSetSpawnCount, + ISteamGameServer_SteamGameServer003_GSSetServerType, + ISteamGameServer_SteamGameServer003_GSUpdateStatus, + ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser, + ISteamGameServer_SteamGameServer003_GSSetUserData, + ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort, + ISteamGameServer_SteamGameServer003_GSSetGameType, + ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus, + ISteamGameServer_SteamGameServer004_LogOn, + ISteamGameServer_SteamGameServer004_LogOff, + ISteamGameServer_SteamGameServer004_BLoggedOn, + ISteamGameServer_SteamGameServer004_BSecure, + ISteamGameServer_SteamGameServer004_GetSteamID, + ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer004_SendUserDisconnect, + ISteamGameServer_SteamGameServer004_BUpdateUserData, + ISteamGameServer_SteamGameServer004_BSetServerType, + ISteamGameServer_SteamGameServer004_UpdateServerStatus, + ISteamGameServer_SteamGameServer004_UpdateSpectatorPort, + ISteamGameServer_SteamGameServer004_SetGameType, + ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus, + ISteamGameServer_SteamGameServer005_LogOn, + ISteamGameServer_SteamGameServer005_LogOff, + ISteamGameServer_SteamGameServer005_BLoggedOn, + ISteamGameServer_SteamGameServer005_BSecure, + ISteamGameServer_SteamGameServer005_GetSteamID, + ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer005_SendUserDisconnect, + ISteamGameServer_SteamGameServer005_BUpdateUserData, + ISteamGameServer_SteamGameServer005_BSetServerType, + ISteamGameServer_SteamGameServer005_UpdateServerStatus, + ISteamGameServer_SteamGameServer005_UpdateSpectatorPort, + ISteamGameServer_SteamGameServer005_SetGameType, + ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus, + ISteamGameServer_SteamGameServer008_LogOn, + ISteamGameServer_SteamGameServer008_LogOff, + ISteamGameServer_SteamGameServer008_BLoggedOn, + ISteamGameServer_SteamGameServer008_BSecure, + ISteamGameServer_SteamGameServer008_GetSteamID, + ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer008_SendUserDisconnect, + ISteamGameServer_SteamGameServer008_BUpdateUserData, + ISteamGameServer_SteamGameServer008_BSetServerType, + ISteamGameServer_SteamGameServer008_UpdateServerStatus, + ISteamGameServer_SteamGameServer008_UpdateSpectatorPort, + ISteamGameServer_SteamGameServer008_SetGameType, + ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus, + ISteamGameServer_SteamGameServer008_GetGameplayStats, + ISteamGameServer_SteamGameServer008_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer008_GetPublicIP, + ISteamGameServer_SteamGameServer009_LogOn, + ISteamGameServer_SteamGameServer009_LogOff, + ISteamGameServer_SteamGameServer009_BLoggedOn, + ISteamGameServer_SteamGameServer009_BSecure, + ISteamGameServer_SteamGameServer009_GetSteamID, + ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer009_SendUserDisconnect, + ISteamGameServer_SteamGameServer009_BUpdateUserData, + ISteamGameServer_SteamGameServer009_BSetServerType, + ISteamGameServer_SteamGameServer009_UpdateServerStatus, + ISteamGameServer_SteamGameServer009_UpdateSpectatorPort, + ISteamGameServer_SteamGameServer009_SetGameType, + ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus, + ISteamGameServer_SteamGameServer009_GetGameplayStats, + ISteamGameServer_SteamGameServer009_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer009_GetPublicIP, + ISteamGameServer_SteamGameServer009_SetGameData, + ISteamGameServer_SteamGameServer009_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer010_LogOn, + ISteamGameServer_SteamGameServer010_LogOff, + ISteamGameServer_SteamGameServer010_BLoggedOn, + ISteamGameServer_SteamGameServer010_BSecure, + ISteamGameServer_SteamGameServer010_GetSteamID, + ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer010_SendUserDisconnect, + ISteamGameServer_SteamGameServer010_BUpdateUserData, + ISteamGameServer_SteamGameServer010_BSetServerType, + ISteamGameServer_SteamGameServer010_UpdateServerStatus, + ISteamGameServer_SteamGameServer010_UpdateSpectatorPort, + ISteamGameServer_SteamGameServer010_SetGameTags, + ISteamGameServer_SteamGameServer010_GetGameplayStats, + ISteamGameServer_SteamGameServer010_GetServerReputation, + ISteamGameServer_SteamGameServer010_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer010_GetPublicIP, + ISteamGameServer_SteamGameServer010_SetGameData, + ISteamGameServer_SteamGameServer010_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer010_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer010_BeginAuthSession, + ISteamGameServer_SteamGameServer010_EndAuthSession, + ISteamGameServer_SteamGameServer010_CancelAuthTicket, + ISteamGameServer_SteamGameServer011_InitGameServer, + ISteamGameServer_SteamGameServer011_SetProduct, + ISteamGameServer_SteamGameServer011_SetGameDescription, + ISteamGameServer_SteamGameServer011_SetModDir, + ISteamGameServer_SteamGameServer011_SetDedicatedServer, + ISteamGameServer_SteamGameServer011_LogOn, + ISteamGameServer_SteamGameServer011_LogOnAnonymous, + ISteamGameServer_SteamGameServer011_LogOff, + ISteamGameServer_SteamGameServer011_BLoggedOn, + ISteamGameServer_SteamGameServer011_BSecure, + ISteamGameServer_SteamGameServer011_GetSteamID, + ISteamGameServer_SteamGameServer011_WasRestartRequested, + ISteamGameServer_SteamGameServer011_SetMaxPlayerCount, + ISteamGameServer_SteamGameServer011_SetBotPlayerCount, + ISteamGameServer_SteamGameServer011_SetServerName, + ISteamGameServer_SteamGameServer011_SetMapName, + ISteamGameServer_SteamGameServer011_SetPasswordProtected, + ISteamGameServer_SteamGameServer011_SetSpectatorPort, + ISteamGameServer_SteamGameServer011_SetSpectatorServerName, + ISteamGameServer_SteamGameServer011_ClearAllKeyValues, + ISteamGameServer_SteamGameServer011_SetKeyValue, + ISteamGameServer_SteamGameServer011_SetGameTags, + ISteamGameServer_SteamGameServer011_SetGameData, + ISteamGameServer_SteamGameServer011_SetRegion, + ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer011_SendUserDisconnect, + ISteamGameServer_SteamGameServer011_BUpdateUserData, + ISteamGameServer_SteamGameServer011_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer011_BeginAuthSession, + ISteamGameServer_SteamGameServer011_EndAuthSession, + ISteamGameServer_SteamGameServer011_CancelAuthTicket, + ISteamGameServer_SteamGameServer011_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer011_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer011_GetGameplayStats, + ISteamGameServer_SteamGameServer011_GetServerReputation, + ISteamGameServer_SteamGameServer011_GetPublicIP, + ISteamGameServer_SteamGameServer011_HandleIncomingPacket, + ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket, + ISteamGameServer_SteamGameServer011_EnableHeartbeats, + ISteamGameServer_SteamGameServer011_SetHeartbeatInterval, + ISteamGameServer_SteamGameServer011_ForceHeartbeat, + ISteamGameServer_SteamGameServer011_AssociateWithClan, + ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility, + ISteamGameServer_SteamGameServer012_InitGameServer, + ISteamGameServer_SteamGameServer012_SetProduct, + ISteamGameServer_SteamGameServer012_SetGameDescription, + ISteamGameServer_SteamGameServer012_SetModDir, + ISteamGameServer_SteamGameServer012_SetDedicatedServer, + ISteamGameServer_SteamGameServer012_LogOn, + ISteamGameServer_SteamGameServer012_LogOnAnonymous, + ISteamGameServer_SteamGameServer012_LogOff, + ISteamGameServer_SteamGameServer012_BLoggedOn, + ISteamGameServer_SteamGameServer012_BSecure, + ISteamGameServer_SteamGameServer012_GetSteamID, + ISteamGameServer_SteamGameServer012_WasRestartRequested, + ISteamGameServer_SteamGameServer012_SetMaxPlayerCount, + ISteamGameServer_SteamGameServer012_SetBotPlayerCount, + ISteamGameServer_SteamGameServer012_SetServerName, + ISteamGameServer_SteamGameServer012_SetMapName, + ISteamGameServer_SteamGameServer012_SetPasswordProtected, + ISteamGameServer_SteamGameServer012_SetSpectatorPort, + ISteamGameServer_SteamGameServer012_SetSpectatorServerName, + ISteamGameServer_SteamGameServer012_ClearAllKeyValues, + ISteamGameServer_SteamGameServer012_SetKeyValue, + ISteamGameServer_SteamGameServer012_SetGameTags, + ISteamGameServer_SteamGameServer012_SetGameData, + ISteamGameServer_SteamGameServer012_SetRegion, + ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer012_SendUserDisconnect, + ISteamGameServer_SteamGameServer012_BUpdateUserData, + ISteamGameServer_SteamGameServer012_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer012_BeginAuthSession, + ISteamGameServer_SteamGameServer012_EndAuthSession, + ISteamGameServer_SteamGameServer012_CancelAuthTicket, + ISteamGameServer_SteamGameServer012_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer012_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer012_GetGameplayStats, + ISteamGameServer_SteamGameServer012_GetServerReputation, + ISteamGameServer_SteamGameServer012_GetPublicIP, + ISteamGameServer_SteamGameServer012_HandleIncomingPacket, + ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket, + ISteamGameServer_SteamGameServer012_EnableHeartbeats, + ISteamGameServer_SteamGameServer012_SetHeartbeatInterval, + ISteamGameServer_SteamGameServer012_ForceHeartbeat, + ISteamGameServer_SteamGameServer012_AssociateWithClan, + ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility, + ISteamGameServer_SteamGameServer013_InitGameServer, + ISteamGameServer_SteamGameServer013_SetProduct, + ISteamGameServer_SteamGameServer013_SetGameDescription, + ISteamGameServer_SteamGameServer013_SetModDir, + ISteamGameServer_SteamGameServer013_SetDedicatedServer, + ISteamGameServer_SteamGameServer013_LogOn, + ISteamGameServer_SteamGameServer013_LogOnAnonymous, + ISteamGameServer_SteamGameServer013_LogOff, + ISteamGameServer_SteamGameServer013_BLoggedOn, + ISteamGameServer_SteamGameServer013_BSecure, + ISteamGameServer_SteamGameServer013_GetSteamID, + ISteamGameServer_SteamGameServer013_WasRestartRequested, + ISteamGameServer_SteamGameServer013_SetMaxPlayerCount, + ISteamGameServer_SteamGameServer013_SetBotPlayerCount, + ISteamGameServer_SteamGameServer013_SetServerName, + ISteamGameServer_SteamGameServer013_SetMapName, + ISteamGameServer_SteamGameServer013_SetPasswordProtected, + ISteamGameServer_SteamGameServer013_SetSpectatorPort, + ISteamGameServer_SteamGameServer013_SetSpectatorServerName, + ISteamGameServer_SteamGameServer013_ClearAllKeyValues, + ISteamGameServer_SteamGameServer013_SetKeyValue, + ISteamGameServer_SteamGameServer013_SetGameTags, + ISteamGameServer_SteamGameServer013_SetGameData, + ISteamGameServer_SteamGameServer013_SetRegion, + ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate, + ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer013_SendUserDisconnect, + ISteamGameServer_SteamGameServer013_BUpdateUserData, + ISteamGameServer_SteamGameServer013_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer013_BeginAuthSession, + ISteamGameServer_SteamGameServer013_EndAuthSession, + ISteamGameServer_SteamGameServer013_CancelAuthTicket, + ISteamGameServer_SteamGameServer013_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer013_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer013_GetGameplayStats, + ISteamGameServer_SteamGameServer013_GetServerReputation, + ISteamGameServer_SteamGameServer013_GetPublicIP, + ISteamGameServer_SteamGameServer013_HandleIncomingPacket, + ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket, + ISteamGameServer_SteamGameServer013_EnableHeartbeats, + ISteamGameServer_SteamGameServer013_SetHeartbeatInterval, + ISteamGameServer_SteamGameServer013_ForceHeartbeat, + ISteamGameServer_SteamGameServer013_AssociateWithClan, + ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility, + ISteamGameServer_SteamGameServer014_InitGameServer, + ISteamGameServer_SteamGameServer014_SetProduct, + ISteamGameServer_SteamGameServer014_SetGameDescription, + ISteamGameServer_SteamGameServer014_SetModDir, + ISteamGameServer_SteamGameServer014_SetDedicatedServer, + ISteamGameServer_SteamGameServer014_LogOn, + ISteamGameServer_SteamGameServer014_LogOnAnonymous, + ISteamGameServer_SteamGameServer014_LogOff, + ISteamGameServer_SteamGameServer014_BLoggedOn, + ISteamGameServer_SteamGameServer014_BSecure, + ISteamGameServer_SteamGameServer014_GetSteamID, + ISteamGameServer_SteamGameServer014_WasRestartRequested, + ISteamGameServer_SteamGameServer014_SetMaxPlayerCount, + ISteamGameServer_SteamGameServer014_SetBotPlayerCount, + ISteamGameServer_SteamGameServer014_SetServerName, + ISteamGameServer_SteamGameServer014_SetMapName, + ISteamGameServer_SteamGameServer014_SetPasswordProtected, + ISteamGameServer_SteamGameServer014_SetSpectatorPort, + ISteamGameServer_SteamGameServer014_SetSpectatorServerName, + ISteamGameServer_SteamGameServer014_ClearAllKeyValues, + ISteamGameServer_SteamGameServer014_SetKeyValue, + ISteamGameServer_SteamGameServer014_SetGameTags, + ISteamGameServer_SteamGameServer014_SetGameData, + ISteamGameServer_SteamGameServer014_SetRegion, + ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, + ISteamGameServer_SteamGameServer014_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer014_BeginAuthSession, + ISteamGameServer_SteamGameServer014_EndAuthSession, + ISteamGameServer_SteamGameServer014_CancelAuthTicket, + ISteamGameServer_SteamGameServer014_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer014_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer014_GetGameplayStats, + ISteamGameServer_SteamGameServer014_GetServerReputation, + ISteamGameServer_SteamGameServer014_GetPublicIP, + ISteamGameServer_SteamGameServer014_HandleIncomingPacket, + ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, + ISteamGameServer_SteamGameServer014_AssociateWithClan, + ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, + ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, + ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, + ISteamGameServer_SteamGameServer014_BUpdateUserData, + ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, + ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, + ISteamGameServer_SteamGameServer015_InitGameServer, + ISteamGameServer_SteamGameServer015_SetProduct, + ISteamGameServer_SteamGameServer015_SetGameDescription, + ISteamGameServer_SteamGameServer015_SetModDir, + ISteamGameServer_SteamGameServer015_SetDedicatedServer, + ISteamGameServer_SteamGameServer015_LogOn, + ISteamGameServer_SteamGameServer015_LogOnAnonymous, + ISteamGameServer_SteamGameServer015_LogOff, + ISteamGameServer_SteamGameServer015_BLoggedOn, + ISteamGameServer_SteamGameServer015_BSecure, + ISteamGameServer_SteamGameServer015_GetSteamID, + ISteamGameServer_SteamGameServer015_WasRestartRequested, + ISteamGameServer_SteamGameServer015_SetMaxPlayerCount, + ISteamGameServer_SteamGameServer015_SetBotPlayerCount, + ISteamGameServer_SteamGameServer015_SetServerName, + ISteamGameServer_SteamGameServer015_SetMapName, + ISteamGameServer_SteamGameServer015_SetPasswordProtected, + ISteamGameServer_SteamGameServer015_SetSpectatorPort, + ISteamGameServer_SteamGameServer015_SetSpectatorServerName, + ISteamGameServer_SteamGameServer015_ClearAllKeyValues, + ISteamGameServer_SteamGameServer015_SetKeyValue, + ISteamGameServer_SteamGameServer015_SetGameTags, + ISteamGameServer_SteamGameServer015_SetGameData, + ISteamGameServer_SteamGameServer015_SetRegion, + ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, + ISteamGameServer_SteamGameServer015_GetAuthSessionTicket, + ISteamGameServer_SteamGameServer015_BeginAuthSession, + ISteamGameServer_SteamGameServer015_EndAuthSession, + ISteamGameServer_SteamGameServer015_CancelAuthTicket, + ISteamGameServer_SteamGameServer015_UserHasLicenseForApp, + ISteamGameServer_SteamGameServer015_RequestUserGroupStatus, + ISteamGameServer_SteamGameServer015_GetGameplayStats, + ISteamGameServer_SteamGameServer015_GetServerReputation, + ISteamGameServer_SteamGameServer015_GetPublicIP, + ISteamGameServer_SteamGameServer015_HandleIncomingPacket, + ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, + ISteamGameServer_SteamGameServer015_AssociateWithClan, + ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, + ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, + ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, + ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, + ISteamGameServer_SteamGameServer015_BUpdateUserData, + ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, + ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, + ISteamGameServerStats_SteamGameServerStats001_RequestUserStats, + ISteamGameServerStats_SteamGameServerStats001_GetUserStat, + ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, + ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, + ISteamGameServerStats_SteamGameServerStats001_SetUserStat, + ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, + ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, + ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, + ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, + ISteamGameServerStats_SteamGameServerStats001_StoreUserStats, + ISteamGameStats_SteamGameStats001_GetNewSession, + ISteamGameStats_SteamGameStats001_EndSession, + ISteamGameStats_SteamGameStats001_AddSessionAttributeInt, + ISteamGameStats_SteamGameStats001_AddSessionAttributeString, + ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, + ISteamGameStats_SteamGameStats001_AddNewRow, + ISteamGameStats_SteamGameStats001_CommitRow, + ISteamGameStats_SteamGameStats001_CommitOutstandingRows, + ISteamGameStats_SteamGameStats001_AddRowAttributeInt, + ISteamGameStats_SteamGameStats001_AddRowAtributeString, + ISteamGameStats_SteamGameStats001_AddRowAttributeFloat, + ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, + ISteamGameStats_SteamGameStats001_AddRowAttributeInt64, + ISteamInput_SteamInput001_Init, + ISteamInput_SteamInput001_Shutdown, + ISteamInput_SteamInput001_RunFrame, + ISteamInput_SteamInput001_GetConnectedControllers, + ISteamInput_SteamInput001_GetActionSetHandle, + ISteamInput_SteamInput001_ActivateActionSet, + ISteamInput_SteamInput001_GetCurrentActionSet, + ISteamInput_SteamInput001_ActivateActionSetLayer, + ISteamInput_SteamInput001_DeactivateActionSetLayer, + ISteamInput_SteamInput001_DeactivateAllActionSetLayers, + ISteamInput_SteamInput001_GetActiveActionSetLayers, + ISteamInput_SteamInput001_GetDigitalActionHandle, + ISteamInput_SteamInput001_GetDigitalActionData, + ISteamInput_SteamInput001_GetDigitalActionOrigins, + ISteamInput_SteamInput001_GetAnalogActionHandle, + ISteamInput_SteamInput001_GetAnalogActionData, + ISteamInput_SteamInput001_GetAnalogActionOrigins, + ISteamInput_SteamInput001_GetGlyphForActionOrigin, + ISteamInput_SteamInput001_GetStringForActionOrigin, + ISteamInput_SteamInput001_StopAnalogActionMomentum, + ISteamInput_SteamInput001_GetMotionData, + ISteamInput_SteamInput001_TriggerVibration, + ISteamInput_SteamInput001_SetLEDColor, + ISteamInput_SteamInput001_TriggerHapticPulse, + ISteamInput_SteamInput001_TriggerRepeatedHapticPulse, + ISteamInput_SteamInput001_ShowBindingPanel, + ISteamInput_SteamInput001_GetInputTypeForHandle, + ISteamInput_SteamInput001_GetControllerForGamepadIndex, + ISteamInput_SteamInput001_GetGamepadIndexForController, + ISteamInput_SteamInput001_GetStringForXboxOrigin, + ISteamInput_SteamInput001_GetGlyphForXboxOrigin, + ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin, + ISteamInput_SteamInput001_TranslateActionOrigin, + ISteamInput_SteamInput001_GetDeviceBindingRevision, + ISteamInput_SteamInput001_GetRemotePlaySessionID, + ISteamInput_SteamInput002_Init, + ISteamInput_SteamInput002_Shutdown, + ISteamInput_SteamInput002_RunFrame, + ISteamInput_SteamInput002_GetConnectedControllers, + ISteamInput_SteamInput002_GetActionSetHandle, + ISteamInput_SteamInput002_ActivateActionSet, + ISteamInput_SteamInput002_GetCurrentActionSet, + ISteamInput_SteamInput002_ActivateActionSetLayer, + ISteamInput_SteamInput002_DeactivateActionSetLayer, + ISteamInput_SteamInput002_DeactivateAllActionSetLayers, + ISteamInput_SteamInput002_GetActiveActionSetLayers, + ISteamInput_SteamInput002_GetDigitalActionHandle, + ISteamInput_SteamInput002_GetDigitalActionData, + ISteamInput_SteamInput002_GetDigitalActionOrigins, + ISteamInput_SteamInput002_GetAnalogActionHandle, + ISteamInput_SteamInput002_GetAnalogActionData, + ISteamInput_SteamInput002_GetAnalogActionOrigins, + ISteamInput_SteamInput002_GetGlyphForActionOrigin, + ISteamInput_SteamInput002_GetStringForActionOrigin, + ISteamInput_SteamInput002_StopAnalogActionMomentum, + ISteamInput_SteamInput002_GetMotionData, + ISteamInput_SteamInput002_TriggerVibration, + ISteamInput_SteamInput002_SetLEDColor, + ISteamInput_SteamInput002_TriggerHapticPulse, + ISteamInput_SteamInput002_TriggerRepeatedHapticPulse, + ISteamInput_SteamInput002_ShowBindingPanel, + ISteamInput_SteamInput002_GetInputTypeForHandle, + ISteamInput_SteamInput002_GetControllerForGamepadIndex, + ISteamInput_SteamInput002_GetGamepadIndexForController, + ISteamInput_SteamInput002_GetStringForXboxOrigin, + ISteamInput_SteamInput002_GetGlyphForXboxOrigin, + ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin, + ISteamInput_SteamInput002_TranslateActionOrigin, + ISteamInput_SteamInput002_GetDeviceBindingRevision, + ISteamInput_SteamInput002_GetRemotePlaySessionID, + ISteamInput_SteamInput005_Init, + ISteamInput_SteamInput005_Shutdown, + ISteamInput_SteamInput005_SetInputActionManifestFilePath, + ISteamInput_SteamInput005_RunFrame, + ISteamInput_SteamInput005_BWaitForData, + ISteamInput_SteamInput005_BNewDataAvailable, + ISteamInput_SteamInput005_GetConnectedControllers, + ISteamInput_SteamInput005_EnableDeviceCallbacks, + ISteamInput_SteamInput005_EnableActionEventCallbacks, + ISteamInput_SteamInput005_GetActionSetHandle, + ISteamInput_SteamInput005_ActivateActionSet, + ISteamInput_SteamInput005_GetCurrentActionSet, + ISteamInput_SteamInput005_ActivateActionSetLayer, + ISteamInput_SteamInput005_DeactivateActionSetLayer, + ISteamInput_SteamInput005_DeactivateAllActionSetLayers, + ISteamInput_SteamInput005_GetActiveActionSetLayers, + ISteamInput_SteamInput005_GetDigitalActionHandle, + ISteamInput_SteamInput005_GetDigitalActionData, + ISteamInput_SteamInput005_GetDigitalActionOrigins, + ISteamInput_SteamInput005_GetStringForDigitalActionName, + ISteamInput_SteamInput005_GetAnalogActionHandle, + ISteamInput_SteamInput005_GetAnalogActionData, + ISteamInput_SteamInput005_GetAnalogActionOrigins, + ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, + ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, + ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, + ISteamInput_SteamInput005_GetStringForActionOrigin, + ISteamInput_SteamInput005_GetStringForAnalogActionName, + ISteamInput_SteamInput005_StopAnalogActionMomentum, + ISteamInput_SteamInput005_GetMotionData, + ISteamInput_SteamInput005_TriggerVibration, + ISteamInput_SteamInput005_TriggerVibrationExtended, + ISteamInput_SteamInput005_TriggerSimpleHapticEvent, + ISteamInput_SteamInput005_SetLEDColor, + ISteamInput_SteamInput005_Legacy_TriggerHapticPulse, + ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, + ISteamInput_SteamInput005_ShowBindingPanel, + ISteamInput_SteamInput005_GetInputTypeForHandle, + ISteamInput_SteamInput005_GetControllerForGamepadIndex, + ISteamInput_SteamInput005_GetGamepadIndexForController, + ISteamInput_SteamInput005_GetStringForXboxOrigin, + ISteamInput_SteamInput005_GetGlyphForXboxOrigin, + ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, + ISteamInput_SteamInput005_TranslateActionOrigin, + ISteamInput_SteamInput005_GetDeviceBindingRevision, + ISteamInput_SteamInput005_GetRemotePlaySessionID, + ISteamInput_SteamInput005_GetSessionInputConfigurationSettings, + ISteamInput_SteamInput006_Init, + ISteamInput_SteamInput006_Shutdown, + ISteamInput_SteamInput006_SetInputActionManifestFilePath, + ISteamInput_SteamInput006_RunFrame, + ISteamInput_SteamInput006_BWaitForData, + ISteamInput_SteamInput006_BNewDataAvailable, + ISteamInput_SteamInput006_GetConnectedControllers, + ISteamInput_SteamInput006_EnableDeviceCallbacks, + ISteamInput_SteamInput006_EnableActionEventCallbacks, + ISteamInput_SteamInput006_GetActionSetHandle, + ISteamInput_SteamInput006_ActivateActionSet, + ISteamInput_SteamInput006_GetCurrentActionSet, + ISteamInput_SteamInput006_ActivateActionSetLayer, + ISteamInput_SteamInput006_DeactivateActionSetLayer, + ISteamInput_SteamInput006_DeactivateAllActionSetLayers, + ISteamInput_SteamInput006_GetActiveActionSetLayers, + ISteamInput_SteamInput006_GetDigitalActionHandle, + ISteamInput_SteamInput006_GetDigitalActionData, + ISteamInput_SteamInput006_GetDigitalActionOrigins, + ISteamInput_SteamInput006_GetStringForDigitalActionName, + ISteamInput_SteamInput006_GetAnalogActionHandle, + ISteamInput_SteamInput006_GetAnalogActionData, + ISteamInput_SteamInput006_GetAnalogActionOrigins, + ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, + ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, + ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, + ISteamInput_SteamInput006_GetStringForActionOrigin, + ISteamInput_SteamInput006_GetStringForAnalogActionName, + ISteamInput_SteamInput006_StopAnalogActionMomentum, + ISteamInput_SteamInput006_GetMotionData, + ISteamInput_SteamInput006_TriggerVibration, + ISteamInput_SteamInput006_TriggerVibrationExtended, + ISteamInput_SteamInput006_TriggerSimpleHapticEvent, + ISteamInput_SteamInput006_SetLEDColor, + ISteamInput_SteamInput006_Legacy_TriggerHapticPulse, + ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse, + ISteamInput_SteamInput006_ShowBindingPanel, + ISteamInput_SteamInput006_GetInputTypeForHandle, + ISteamInput_SteamInput006_GetControllerForGamepadIndex, + ISteamInput_SteamInput006_GetGamepadIndexForController, + ISteamInput_SteamInput006_GetStringForXboxOrigin, + ISteamInput_SteamInput006_GetGlyphForXboxOrigin, + ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin, + ISteamInput_SteamInput006_TranslateActionOrigin, + ISteamInput_SteamInput006_GetDeviceBindingRevision, + ISteamInput_SteamInput006_GetRemotePlaySessionID, + ISteamInput_SteamInput006_GetSessionInputConfigurationSettings, + ISteamInput_SteamInput006_SetDualSenseTriggerEffect, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, + ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, + ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams, + ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby, + ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo, + ISteamGameSearch_SteamMatchGameSearch001_AcceptGame, + ISteamGameSearch_SteamMatchGameSearch001_DeclineGame, + ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails, + ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch, + ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams, + ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails, + ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame, + ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart, + ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame, + ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult, + ISteamGameSearch_SteamMatchGameSearch001_EndGame, + ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2, + ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2, + ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2, + ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking001_CreateLobby, + ISteamMatchmaking_SteamMatchMaking001_JoinLobby, + ISteamMatchmaking_SteamMatchMaking001_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking001_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking001_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking002_CreateLobby, + ISteamMatchmaking_SteamMatchMaking002_JoinLobby, + ISteamMatchmaking_SteamMatchMaking002_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking002_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking002_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter, + ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking003_CreateLobby, + ISteamMatchmaking_SteamMatchMaking003_JoinLobby, + ISteamMatchmaking_SteamMatchMaking003_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking003_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled, + ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies, + ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter, + ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking004_CreateLobby, + ISteamMatchmaking_SteamMatchMaking004_JoinLobby, + ISteamMatchmaking_SteamMatchMaking004_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking004_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies, + ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter, + ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter, + ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking005_CreateLobby, + ISteamMatchmaking_SteamMatchMaking005_JoinLobby, + ISteamMatchmaking_SteamMatchMaking005_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking005_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies, + ISteamMatchmaking_SteamMatchMaking005_SetLobbyType, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance, + ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter, + ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking006_CreateLobby, + ISteamMatchmaking_SteamMatchMaking006_JoinLobby, + ISteamMatchmaking_SteamMatchMaking006_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking006_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking006_SetLobbyType, + ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter, + ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter, + ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking007_CreateLobby, + ISteamMatchmaking_SteamMatchMaking007_JoinLobby, + ISteamMatchmaking_SteamMatchMaking007_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex, + ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyType, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable, + ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter, + ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking008_CreateLobby, + ISteamMatchmaking_SteamMatchMaking008_JoinLobby, + ISteamMatchmaking_SteamMatchMaking008_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex, + ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyType, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable, + ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount, + ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame, + ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame, + ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame, + ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter, + ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex, + ISteamMatchmaking_SteamMatchMaking009_CreateLobby, + ISteamMatchmaking_SteamMatchMaking009_JoinLobby, + ISteamMatchmaking_SteamMatchMaking009_LeaveLobby, + ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby, + ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyData, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyData, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex, + ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData, + ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry, + ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyType, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable, + ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner, + ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList, + ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails, + ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, + ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery, + ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing, + ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount, + ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer, + ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer, + ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails, + ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules, + ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList, + ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest, + ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails, + ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, + ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery, + ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing, + ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount, + ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer, + ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer, + ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails, + ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, + ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, + ISteamNetworking_SteamNetworking001_CreateListenSocket, + ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking001_CreateConnectionSocket, + ISteamNetworking_SteamNetworking001_DestroySocket, + ISteamNetworking_SteamNetworking001_DestroyListenSocket, + ISteamNetworking_SteamNetworking001_SendDataOnSocket, + ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking001_IsDataAvailable, + ISteamNetworking_SteamNetworking001_RetrieveData, + ISteamNetworking_SteamNetworking001_GetSocketInfo, + ISteamNetworking_SteamNetworking001_GetListenSocketInfo, + ISteamNetworking_SteamNetworking002_CreateListenSocket, + ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking002_CreateConnectionSocket, + ISteamNetworking_SteamNetworking002_DestroySocket, + ISteamNetworking_SteamNetworking002_DestroyListenSocket, + ISteamNetworking_SteamNetworking002_SendDataOnSocket, + ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking002_IsDataAvailable, + ISteamNetworking_SteamNetworking002_RetrieveData, + ISteamNetworking_SteamNetworking002_GetSocketInfo, + ISteamNetworking_SteamNetworking002_GetListenSocketInfo, + ISteamNetworking_SteamNetworking002_GetSocketConnectionType, + ISteamNetworking_SteamNetworking002_GetMaxPacketSize, + ISteamNetworking_SteamNetworking003_SendP2PPacket, + ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable, + ISteamNetworking_SteamNetworking003_ReadP2PPacket, + ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser, + ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser, + ISteamNetworking_SteamNetworking003_GetP2PSessionState, + ISteamNetworking_SteamNetworking003_CreateListenSocket, + ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking003_CreateConnectionSocket, + ISteamNetworking_SteamNetworking003_DestroySocket, + ISteamNetworking_SteamNetworking003_DestroyListenSocket, + ISteamNetworking_SteamNetworking003_SendDataOnSocket, + ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking003_IsDataAvailable, + ISteamNetworking_SteamNetworking003_RetrieveData, + ISteamNetworking_SteamNetworking003_GetSocketInfo, + ISteamNetworking_SteamNetworking003_GetListenSocketInfo, + ISteamNetworking_SteamNetworking003_GetSocketConnectionType, + ISteamNetworking_SteamNetworking003_GetMaxPacketSize, + ISteamNetworking_SteamNetworking004_SendP2PPacket, + ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable, + ISteamNetworking_SteamNetworking004_ReadP2PPacket, + ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser, + ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser, + ISteamNetworking_SteamNetworking004_GetP2PSessionState, + ISteamNetworking_SteamNetworking004_CreateListenSocket, + ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking004_CreateConnectionSocket, + ISteamNetworking_SteamNetworking004_DestroySocket, + ISteamNetworking_SteamNetworking004_DestroyListenSocket, + ISteamNetworking_SteamNetworking004_SendDataOnSocket, + ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking004_IsDataAvailable, + ISteamNetworking_SteamNetworking004_RetrieveData, + ISteamNetworking_SteamNetworking004_GetSocketInfo, + ISteamNetworking_SteamNetworking004_GetListenSocketInfo, + ISteamNetworking_SteamNetworking004_GetSocketConnectionType, + ISteamNetworking_SteamNetworking004_GetMaxPacketSize, + ISteamNetworking_SteamNetworking005_SendP2PPacket, + ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable, + ISteamNetworking_SteamNetworking005_ReadP2PPacket, + ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser, + ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser, + ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser, + ISteamNetworking_SteamNetworking005_GetP2PSessionState, + ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay, + ISteamNetworking_SteamNetworking005_CreateListenSocket, + ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking005_CreateConnectionSocket, + ISteamNetworking_SteamNetworking005_DestroySocket, + ISteamNetworking_SteamNetworking005_DestroyListenSocket, + ISteamNetworking_SteamNetworking005_SendDataOnSocket, + ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking005_IsDataAvailable, + ISteamNetworking_SteamNetworking005_RetrieveData, + ISteamNetworking_SteamNetworking005_GetSocketInfo, + ISteamNetworking_SteamNetworking005_GetListenSocketInfo, + ISteamNetworking_SteamNetworking005_GetSocketConnectionType, + ISteamNetworking_SteamNetworking005_GetMaxPacketSize, + ISteamNetworking_SteamNetworking006_SendP2PPacket, + ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable, + ISteamNetworking_SteamNetworking006_ReadP2PPacket, + ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser, + ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser, + ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser, + ISteamNetworking_SteamNetworking006_GetP2PSessionState, + ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay, + ISteamNetworking_SteamNetworking006_CreateListenSocket, + ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket, + ISteamNetworking_SteamNetworking006_CreateConnectionSocket, + ISteamNetworking_SteamNetworking006_DestroySocket, + ISteamNetworking_SteamNetworking006_DestroyListenSocket, + ISteamNetworking_SteamNetworking006_SendDataOnSocket, + ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket, + ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket, + ISteamNetworking_SteamNetworking006_IsDataAvailable, + ISteamNetworking_SteamNetworking006_RetrieveData, + ISteamNetworking_SteamNetworking006_GetSocketInfo, + ISteamNetworking_SteamNetworking006_GetListenSocketInfo, + ISteamNetworking_SteamNetworking006_GetSocketConnectionType, + ISteamNetworking_SteamNetworking006_GetMaxPacketSize, + ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort, + ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP, + ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages, + ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup, + ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser, + ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, + ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser, + ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser, + ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser, + ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus, + ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin, + ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages, + ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus, + ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin, + ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling, + ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal, + ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages, + ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus, + ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin, + ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling, + ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal, + ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest, + ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate, + ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, + ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus, + ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin, + ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling, + ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal, + ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest, + ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate, + ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP, + ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P, + ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P, + ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData, + ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName, + ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, + ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair, + ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, + ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket, + ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer, + ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin, + ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling, + ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest, + ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate, + ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity, + ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks, + ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP, + ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection, + ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket, + ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, + ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, + ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, + ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, + ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, + ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, + ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, + ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, + ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, + ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, + ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, + ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, + ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, + ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, + ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, + ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, + ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, + ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, + ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, + ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, + ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, + ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, + ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, + ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, + ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, + ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, + ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, + ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, + ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, + ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, + ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, + ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, + ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, + ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, + ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, + ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, + ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, + ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, + ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, + ISteamParties_SteamParties002_GetNumActiveBeacons, + ISteamParties_SteamParties002_GetBeaconByIndex, + ISteamParties_SteamParties002_GetBeaconDetails, + ISteamParties_SteamParties002_JoinParty, + ISteamParties_SteamParties002_GetNumAvailableBeaconLocations, + ISteamParties_SteamParties002_GetAvailableBeaconLocations, + ISteamParties_SteamParties002_CreateBeacon, + ISteamParties_SteamParties002_OnReservationCompleted, + ISteamParties_SteamParties002_CancelReservation, + ISteamParties_SteamParties002_ChangeNumOpenSlots, + ISteamParties_SteamParties002_DestroyBeacon, + ISteamParties_SteamParties002_GetBeaconLocationData, + ISteamUser_SteamUser004_GetHSteamUser, + ISteamUser_SteamUser004_LogOn, + ISteamUser_SteamUser004_LogOff, + ISteamUser_SteamUser004_BLoggedOn, + ISteamUser_SteamUser004_GetLogonState, + ISteamUser_SteamUser004_BConnected, + ISteamUser_SteamUser004_GetSteamID, + ISteamUser_SteamUser004_IsVACBanned, + ISteamUser_SteamUser004_RequireShowVACBannedMessage, + ISteamUser_SteamUser004_AcknowledgeVACBanning, + ISteamUser_SteamUser004_NClientGameIDAdd, + ISteamUser_SteamUser004_RemoveClientGame, + ISteamUser_SteamUser004_SetClientGameServer, + ISteamUser_SteamUser004_SetSteam2Ticket, + ISteamUser_SteamUser004_AddServerNetAddress, + ISteamUser_SteamUser004_SetEmail, + ISteamUser_SteamUser004_GetSteamGameConnectToken, + ISteamUser_SteamUser004_SetRegistryString, + ISteamUser_SteamUser004_GetRegistryString, + ISteamUser_SteamUser004_SetRegistryInt, + ISteamUser_SteamUser004_GetRegistryInt, + ISteamUser_SteamUser004_InitiateGameConnection, + ISteamUser_SteamUser004_TerminateGameConnection, + ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination, + ISteamUser_SteamUser004_IsPrimaryChatDestination, + ISteamUser_SteamUser004_RequestLegacyCDKey, + ISteamUser_SteamUser005_GetHSteamUser, + ISteamUser_SteamUser005_LogOn, + ISteamUser_SteamUser005_LogOff, + ISteamUser_SteamUser005_BLoggedOn, + ISteamUser_SteamUser005_GetLogonState, + ISteamUser_SteamUser005_BConnected, + ISteamUser_SteamUser005_GetSteamID, + ISteamUser_SteamUser005_IsVACBanned, + ISteamUser_SteamUser005_RequireShowVACBannedMessage, + ISteamUser_SteamUser005_AcknowledgeVACBanning, + ISteamUser_SteamUser005_SetSteam2Ticket, + ISteamUser_SteamUser005_AddServerNetAddress, + ISteamUser_SteamUser005_SetEmail, + ISteamUser_SteamUser005_SetRegistryString, + ISteamUser_SteamUser005_GetRegistryString, + ISteamUser_SteamUser005_SetRegistryInt, + ISteamUser_SteamUser005_GetRegistryInt, + ISteamUser_SteamUser005_InitiateGameConnection, + ISteamUser_SteamUser005_TerminateGameConnection, + ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination, + ISteamUser_SteamUser005_IsPrimaryChatDestination, + ISteamUser_SteamUser005_RequestLegacyCDKey, + ISteamUser_SteamUser005_SendGuestPassByEmail, + ISteamUser_SteamUser005_SendGuestPassByAccountID, + ISteamUser_SteamUser005_AckGuestPass, + ISteamUser_SteamUser005_RedeemGuestPass, + ISteamUser_SteamUser005_GetGuestPassToGiveCount, + ISteamUser_SteamUser005_GetGuestPassToRedeemCount, + ISteamUser_SteamUser005_GetGuestPassLastUpdateTime, + ISteamUser_SteamUser005_GetGuestPassToGiveInfo, + ISteamUser_SteamUser005_GetGuestPassToRedeemInfo, + ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress, + ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName, + ISteamUser_SteamUser005_AcknowledgeMessageByGID, + ISteamUser_SteamUser005_SetLanguage, + ISteamUser_SteamUser005_TrackAppUsageEvent, + ISteamUser_SteamUser005_SetAccountName, + ISteamUser_SteamUser005_SetPassword, + ISteamUser_SteamUser005_SetAccountCreationTime, + ISteamUser_SteamUser006_GetHSteamUser, + ISteamUser_SteamUser006_LogOn, + ISteamUser_SteamUser006_LogOff, + ISteamUser_SteamUser006_BLoggedOn, + ISteamUser_SteamUser006_GetSteamID, + ISteamUser_SteamUser006_SetRegistryString, + ISteamUser_SteamUser006_GetRegistryString, + ISteamUser_SteamUser006_SetRegistryInt, + ISteamUser_SteamUser006_GetRegistryInt, + ISteamUser_SteamUser006_InitiateGameConnection, + ISteamUser_SteamUser006_TerminateGameConnection, + ISteamUser_SteamUser006_TrackAppUsageEvent, + ISteamUser_SteamUser007_GetHSteamUser, + ISteamUser_SteamUser007_LogOn, + ISteamUser_SteamUser007_LogOff, + ISteamUser_SteamUser007_BLoggedOn, + ISteamUser_SteamUser007_GetSteamID, + ISteamUser_SteamUser007_SetRegistryString, + ISteamUser_SteamUser007_GetRegistryString, + ISteamUser_SteamUser007_SetRegistryInt, + ISteamUser_SteamUser007_GetRegistryInt, + ISteamUser_SteamUser007_InitiateGameConnection, + ISteamUser_SteamUser007_TerminateGameConnection, + ISteamUser_SteamUser007_TrackAppUsageEvent, + ISteamUser_SteamUser007_RefreshSteam2Login, + ISteamUser_SteamUser008_GetHSteamUser, + ISteamUser_SteamUser008_BLoggedOn, + ISteamUser_SteamUser008_GetSteamID, + ISteamUser_SteamUser008_InitiateGameConnection, + ISteamUser_SteamUser008_TerminateGameConnection, + ISteamUser_SteamUser008_TrackAppUsageEvent, + ISteamUser_SteamUser008_RefreshSteam2Login, + ISteamUser_SteamUser009_GetHSteamUser, + ISteamUser_SteamUser009_BLoggedOn, + ISteamUser_SteamUser009_GetSteamID, + ISteamUser_SteamUser009_InitiateGameConnection, + ISteamUser_SteamUser009_TerminateGameConnection, + ISteamUser_SteamUser009_TrackAppUsageEvent, + ISteamUser_SteamUser009_RefreshSteam2Login, + ISteamUser_SteamUser010_GetHSteamUser, + ISteamUser_SteamUser010_BLoggedOn, + ISteamUser_SteamUser010_GetSteamID, + ISteamUser_SteamUser010_InitiateGameConnection, + ISteamUser_SteamUser010_TerminateGameConnection, + ISteamUser_SteamUser010_TrackAppUsageEvent, + ISteamUser_SteamUser011_GetHSteamUser, + ISteamUser_SteamUser011_BLoggedOn, + ISteamUser_SteamUser011_GetSteamID, + ISteamUser_SteamUser011_InitiateGameConnection, + ISteamUser_SteamUser011_TerminateGameConnection, + ISteamUser_SteamUser011_TrackAppUsageEvent, + ISteamUser_SteamUser011_GetUserDataFolder, + ISteamUser_SteamUser011_StartVoiceRecording, + ISteamUser_SteamUser011_StopVoiceRecording, + ISteamUser_SteamUser011_GetCompressedVoice, + ISteamUser_SteamUser011_DecompressVoice, + ISteamUser_SteamUser012_GetHSteamUser, + ISteamUser_SteamUser012_BLoggedOn, + ISteamUser_SteamUser012_GetSteamID, + ISteamUser_SteamUser012_InitiateGameConnection, + ISteamUser_SteamUser012_TerminateGameConnection, + ISteamUser_SteamUser012_TrackAppUsageEvent, + ISteamUser_SteamUser012_GetUserDataFolder, + ISteamUser_SteamUser012_StartVoiceRecording, + ISteamUser_SteamUser012_StopVoiceRecording, + ISteamUser_SteamUser012_GetCompressedVoice, + ISteamUser_SteamUser012_DecompressVoice, + ISteamUser_SteamUser012_GetAuthSessionTicket, + ISteamUser_SteamUser012_BeginAuthSession, + ISteamUser_SteamUser012_EndAuthSession, + ISteamUser_SteamUser012_CancelAuthTicket, + ISteamUser_SteamUser012_UserHasLicenseForApp, + ISteamUser_SteamUser013_GetHSteamUser, + ISteamUser_SteamUser013_BLoggedOn, + ISteamUser_SteamUser013_GetSteamID, + ISteamUser_SteamUser013_InitiateGameConnection, + ISteamUser_SteamUser013_TerminateGameConnection, + ISteamUser_SteamUser013_TrackAppUsageEvent, + ISteamUser_SteamUser013_GetUserDataFolder, + ISteamUser_SteamUser013_StartVoiceRecording, + ISteamUser_SteamUser013_StopVoiceRecording, + ISteamUser_SteamUser013_GetAvailableVoice, + ISteamUser_SteamUser013_GetVoice, + ISteamUser_SteamUser013_DecompressVoice, + ISteamUser_SteamUser013_GetAuthSessionTicket, + ISteamUser_SteamUser013_BeginAuthSession, + ISteamUser_SteamUser013_EndAuthSession, + ISteamUser_SteamUser013_CancelAuthTicket, + ISteamUser_SteamUser013_UserHasLicenseForApp, + ISteamUser_SteamUser014_GetHSteamUser, + ISteamUser_SteamUser014_BLoggedOn, + ISteamUser_SteamUser014_GetSteamID, + ISteamUser_SteamUser014_InitiateGameConnection, + ISteamUser_SteamUser014_TerminateGameConnection, + ISteamUser_SteamUser014_TrackAppUsageEvent, + ISteamUser_SteamUser014_GetUserDataFolder, + ISteamUser_SteamUser014_StartVoiceRecording, + ISteamUser_SteamUser014_StopVoiceRecording, + ISteamUser_SteamUser014_GetAvailableVoice, + ISteamUser_SteamUser014_GetVoice, + ISteamUser_SteamUser014_DecompressVoice, + ISteamUser_SteamUser014_GetAuthSessionTicket, + ISteamUser_SteamUser014_BeginAuthSession, + ISteamUser_SteamUser014_EndAuthSession, + ISteamUser_SteamUser014_CancelAuthTicket, + ISteamUser_SteamUser014_UserHasLicenseForApp, + ISteamUser_SteamUser014_BIsBehindNAT, + ISteamUser_SteamUser014_AdvertiseGame, + ISteamUser_SteamUser014_RequestEncryptedAppTicket, + ISteamUser_SteamUser014_GetEncryptedAppTicket, + ISteamUser_SteamUser015_GetHSteamUser, + ISteamUser_SteamUser015_BLoggedOn, + ISteamUser_SteamUser015_GetSteamID, + ISteamUser_SteamUser015_InitiateGameConnection, + ISteamUser_SteamUser015_TerminateGameConnection, + ISteamUser_SteamUser015_TrackAppUsageEvent, + ISteamUser_SteamUser015_GetUserDataFolder, + ISteamUser_SteamUser015_StartVoiceRecording, + ISteamUser_SteamUser015_StopVoiceRecording, + ISteamUser_SteamUser015_GetAvailableVoice, + ISteamUser_SteamUser015_GetVoice, + ISteamUser_SteamUser015_DecompressVoice, + ISteamUser_SteamUser015_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser015_GetAuthSessionTicket, + ISteamUser_SteamUser015_BeginAuthSession, + ISteamUser_SteamUser015_EndAuthSession, + ISteamUser_SteamUser015_CancelAuthTicket, + ISteamUser_SteamUser015_UserHasLicenseForApp, + ISteamUser_SteamUser015_BIsBehindNAT, + ISteamUser_SteamUser015_AdvertiseGame, + ISteamUser_SteamUser015_RequestEncryptedAppTicket, + ISteamUser_SteamUser015_GetEncryptedAppTicket, + ISteamUser_SteamUser016_GetHSteamUser, + ISteamUser_SteamUser016_BLoggedOn, + ISteamUser_SteamUser016_GetSteamID, + ISteamUser_SteamUser016_InitiateGameConnection, + ISteamUser_SteamUser016_TerminateGameConnection, + ISteamUser_SteamUser016_TrackAppUsageEvent, + ISteamUser_SteamUser016_GetUserDataFolder, + ISteamUser_SteamUser016_StartVoiceRecording, + ISteamUser_SteamUser016_StopVoiceRecording, + ISteamUser_SteamUser016_GetAvailableVoice, + ISteamUser_SteamUser016_GetVoice, + ISteamUser_SteamUser016_DecompressVoice, + ISteamUser_SteamUser016_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser016_GetAuthSessionTicket, + ISteamUser_SteamUser016_BeginAuthSession, + ISteamUser_SteamUser016_EndAuthSession, + ISteamUser_SteamUser016_CancelAuthTicket, + ISteamUser_SteamUser016_UserHasLicenseForApp, + ISteamUser_SteamUser016_BIsBehindNAT, + ISteamUser_SteamUser016_AdvertiseGame, + ISteamUser_SteamUser016_RequestEncryptedAppTicket, + ISteamUser_SteamUser016_GetEncryptedAppTicket, + ISteamUser_SteamUser017_GetHSteamUser, + ISteamUser_SteamUser017_BLoggedOn, + ISteamUser_SteamUser017_GetSteamID, + ISteamUser_SteamUser017_InitiateGameConnection, + ISteamUser_SteamUser017_TerminateGameConnection, + ISteamUser_SteamUser017_TrackAppUsageEvent, + ISteamUser_SteamUser017_GetUserDataFolder, + ISteamUser_SteamUser017_StartVoiceRecording, + ISteamUser_SteamUser017_StopVoiceRecording, + ISteamUser_SteamUser017_GetAvailableVoice, + ISteamUser_SteamUser017_GetVoice, + ISteamUser_SteamUser017_DecompressVoice, + ISteamUser_SteamUser017_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser017_GetAuthSessionTicket, + ISteamUser_SteamUser017_BeginAuthSession, + ISteamUser_SteamUser017_EndAuthSession, + ISteamUser_SteamUser017_CancelAuthTicket, + ISteamUser_SteamUser017_UserHasLicenseForApp, + ISteamUser_SteamUser017_BIsBehindNAT, + ISteamUser_SteamUser017_AdvertiseGame, + ISteamUser_SteamUser017_RequestEncryptedAppTicket, + ISteamUser_SteamUser017_GetEncryptedAppTicket, + ISteamUser_SteamUser017_GetGameBadgeLevel, + ISteamUser_SteamUser017_GetPlayerSteamLevel, + ISteamUser_SteamUser018_GetHSteamUser, + ISteamUser_SteamUser018_BLoggedOn, + ISteamUser_SteamUser018_GetSteamID, + ISteamUser_SteamUser018_InitiateGameConnection, + ISteamUser_SteamUser018_TerminateGameConnection, + ISteamUser_SteamUser018_TrackAppUsageEvent, + ISteamUser_SteamUser018_GetUserDataFolder, + ISteamUser_SteamUser018_StartVoiceRecording, + ISteamUser_SteamUser018_StopVoiceRecording, + ISteamUser_SteamUser018_GetAvailableVoice, + ISteamUser_SteamUser018_GetVoice, + ISteamUser_SteamUser018_DecompressVoice, + ISteamUser_SteamUser018_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser018_GetAuthSessionTicket, + ISteamUser_SteamUser018_BeginAuthSession, + ISteamUser_SteamUser018_EndAuthSession, + ISteamUser_SteamUser018_CancelAuthTicket, + ISteamUser_SteamUser018_UserHasLicenseForApp, + ISteamUser_SteamUser018_BIsBehindNAT, + ISteamUser_SteamUser018_AdvertiseGame, + ISteamUser_SteamUser018_RequestEncryptedAppTicket, + ISteamUser_SteamUser018_GetEncryptedAppTicket, + ISteamUser_SteamUser018_GetGameBadgeLevel, + ISteamUser_SteamUser018_GetPlayerSteamLevel, + ISteamUser_SteamUser018_RequestStoreAuthURL, + ISteamUser_SteamUser019_GetHSteamUser, + ISteamUser_SteamUser019_BLoggedOn, + ISteamUser_SteamUser019_GetSteamID, + ISteamUser_SteamUser019_InitiateGameConnection, + ISteamUser_SteamUser019_TerminateGameConnection, + ISteamUser_SteamUser019_TrackAppUsageEvent, + ISteamUser_SteamUser019_GetUserDataFolder, + ISteamUser_SteamUser019_StartVoiceRecording, + ISteamUser_SteamUser019_StopVoiceRecording, + ISteamUser_SteamUser019_GetAvailableVoice, + ISteamUser_SteamUser019_GetVoice, + ISteamUser_SteamUser019_DecompressVoice, + ISteamUser_SteamUser019_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser019_GetAuthSessionTicket, + ISteamUser_SteamUser019_BeginAuthSession, + ISteamUser_SteamUser019_EndAuthSession, + ISteamUser_SteamUser019_CancelAuthTicket, + ISteamUser_SteamUser019_UserHasLicenseForApp, + ISteamUser_SteamUser019_BIsBehindNAT, + ISteamUser_SteamUser019_AdvertiseGame, + ISteamUser_SteamUser019_RequestEncryptedAppTicket, + ISteamUser_SteamUser019_GetEncryptedAppTicket, + ISteamUser_SteamUser019_GetGameBadgeLevel, + ISteamUser_SteamUser019_GetPlayerSteamLevel, + ISteamUser_SteamUser019_RequestStoreAuthURL, + ISteamUser_SteamUser019_BIsPhoneVerified, + ISteamUser_SteamUser019_BIsTwoFactorEnabled, + ISteamUser_SteamUser019_BIsPhoneIdentifying, + ISteamUser_SteamUser019_BIsPhoneRequiringVerification, + ISteamUser_SteamUser020_GetHSteamUser, + ISteamUser_SteamUser020_BLoggedOn, + ISteamUser_SteamUser020_GetSteamID, + ISteamUser_SteamUser020_InitiateGameConnection, + ISteamUser_SteamUser020_TerminateGameConnection, + ISteamUser_SteamUser020_TrackAppUsageEvent, + ISteamUser_SteamUser020_GetUserDataFolder, + ISteamUser_SteamUser020_StartVoiceRecording, + ISteamUser_SteamUser020_StopVoiceRecording, + ISteamUser_SteamUser020_GetAvailableVoice, + ISteamUser_SteamUser020_GetVoice, + ISteamUser_SteamUser020_DecompressVoice, + ISteamUser_SteamUser020_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser020_GetAuthSessionTicket, + ISteamUser_SteamUser020_BeginAuthSession, + ISteamUser_SteamUser020_EndAuthSession, + ISteamUser_SteamUser020_CancelAuthTicket, + ISteamUser_SteamUser020_UserHasLicenseForApp, + ISteamUser_SteamUser020_BIsBehindNAT, + ISteamUser_SteamUser020_AdvertiseGame, + ISteamUser_SteamUser020_RequestEncryptedAppTicket, + ISteamUser_SteamUser020_GetEncryptedAppTicket, + ISteamUser_SteamUser020_GetGameBadgeLevel, + ISteamUser_SteamUser020_GetPlayerSteamLevel, + ISteamUser_SteamUser020_RequestStoreAuthURL, + ISteamUser_SteamUser020_BIsPhoneVerified, + ISteamUser_SteamUser020_BIsTwoFactorEnabled, + ISteamUser_SteamUser020_BIsPhoneIdentifying, + ISteamUser_SteamUser020_BIsPhoneRequiringVerification, + ISteamUser_SteamUser020_GetMarketEligibility, + ISteamUser_SteamUser020_GetDurationControl, + ISteamUser_SteamUser021_GetHSteamUser, + ISteamUser_SteamUser021_BLoggedOn, + ISteamUser_SteamUser021_GetSteamID, + ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, + ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, + ISteamUser_SteamUser021_TrackAppUsageEvent, + ISteamUser_SteamUser021_GetUserDataFolder, + ISteamUser_SteamUser021_StartVoiceRecording, + ISteamUser_SteamUser021_StopVoiceRecording, + ISteamUser_SteamUser021_GetAvailableVoice, + ISteamUser_SteamUser021_GetVoice, + ISteamUser_SteamUser021_DecompressVoice, + ISteamUser_SteamUser021_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser021_GetAuthSessionTicket, + ISteamUser_SteamUser021_BeginAuthSession, + ISteamUser_SteamUser021_EndAuthSession, + ISteamUser_SteamUser021_CancelAuthTicket, + ISteamUser_SteamUser021_UserHasLicenseForApp, + ISteamUser_SteamUser021_BIsBehindNAT, + ISteamUser_SteamUser021_AdvertiseGame, + ISteamUser_SteamUser021_RequestEncryptedAppTicket, + ISteamUser_SteamUser021_GetEncryptedAppTicket, + ISteamUser_SteamUser021_GetGameBadgeLevel, + ISteamUser_SteamUser021_GetPlayerSteamLevel, + ISteamUser_SteamUser021_RequestStoreAuthURL, + ISteamUser_SteamUser021_BIsPhoneVerified, + ISteamUser_SteamUser021_BIsTwoFactorEnabled, + ISteamUser_SteamUser021_BIsPhoneIdentifying, + ISteamUser_SteamUser021_BIsPhoneRequiringVerification, + ISteamUser_SteamUser021_GetMarketEligibility, + ISteamUser_SteamUser021_GetDurationControl, + ISteamUser_SteamUser021_BSetDurationControlOnlineState, + ISteamUser_SteamUser022_GetHSteamUser, + ISteamUser_SteamUser022_BLoggedOn, + ISteamUser_SteamUser022_GetSteamID, + ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, + ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, + ISteamUser_SteamUser022_TrackAppUsageEvent, + ISteamUser_SteamUser022_GetUserDataFolder, + ISteamUser_SteamUser022_StartVoiceRecording, + ISteamUser_SteamUser022_StopVoiceRecording, + ISteamUser_SteamUser022_GetAvailableVoice, + ISteamUser_SteamUser022_GetVoice, + ISteamUser_SteamUser022_DecompressVoice, + ISteamUser_SteamUser022_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser022_GetAuthSessionTicket, + ISteamUser_SteamUser022_BeginAuthSession, + ISteamUser_SteamUser022_EndAuthSession, + ISteamUser_SteamUser022_CancelAuthTicket, + ISteamUser_SteamUser022_UserHasLicenseForApp, + ISteamUser_SteamUser022_BIsBehindNAT, + ISteamUser_SteamUser022_AdvertiseGame, + ISteamUser_SteamUser022_RequestEncryptedAppTicket, + ISteamUser_SteamUser022_GetEncryptedAppTicket, + ISteamUser_SteamUser022_GetGameBadgeLevel, + ISteamUser_SteamUser022_GetPlayerSteamLevel, + ISteamUser_SteamUser022_RequestStoreAuthURL, + ISteamUser_SteamUser022_BIsPhoneVerified, + ISteamUser_SteamUser022_BIsTwoFactorEnabled, + ISteamUser_SteamUser022_BIsPhoneIdentifying, + ISteamUser_SteamUser022_BIsPhoneRequiringVerification, + ISteamUser_SteamUser022_GetMarketEligibility, + ISteamUser_SteamUser022_GetDurationControl, + ISteamUser_SteamUser022_BSetDurationControlOnlineState, + ISteamUser_SteamUser023_GetHSteamUser, + ISteamUser_SteamUser023_BLoggedOn, + ISteamUser_SteamUser023_GetSteamID, + ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED, + ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED, + ISteamUser_SteamUser023_TrackAppUsageEvent, + ISteamUser_SteamUser023_GetUserDataFolder, + ISteamUser_SteamUser023_StartVoiceRecording, + ISteamUser_SteamUser023_StopVoiceRecording, + ISteamUser_SteamUser023_GetAvailableVoice, + ISteamUser_SteamUser023_GetVoice, + ISteamUser_SteamUser023_DecompressVoice, + ISteamUser_SteamUser023_GetVoiceOptimalSampleRate, + ISteamUser_SteamUser023_GetAuthSessionTicket, + ISteamUser_SteamUser023_GetAuthTicketForWebApi, + ISteamUser_SteamUser023_BeginAuthSession, + ISteamUser_SteamUser023_EndAuthSession, + ISteamUser_SteamUser023_CancelAuthTicket, + ISteamUser_SteamUser023_UserHasLicenseForApp, + ISteamUser_SteamUser023_BIsBehindNAT, + ISteamUser_SteamUser023_AdvertiseGame, + ISteamUser_SteamUser023_RequestEncryptedAppTicket, + ISteamUser_SteamUser023_GetEncryptedAppTicket, + ISteamUser_SteamUser023_GetGameBadgeLevel, + ISteamUser_SteamUser023_GetPlayerSteamLevel, + ISteamUser_SteamUser023_RequestStoreAuthURL, + ISteamUser_SteamUser023_BIsPhoneVerified, + ISteamUser_SteamUser023_BIsTwoFactorEnabled, + ISteamUser_SteamUser023_BIsPhoneIdentifying, + ISteamUser_SteamUser023_BIsPhoneRequiringVerification, + ISteamUser_SteamUser023_GetMarketEligibility, + ISteamUser_SteamUser023_GetDurationControl, + ISteamUser_SteamUser023_BSetDurationControlOnlineState, + ISteamUtils_SteamUtils002_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils002_GetConnectedUniverse, + ISteamUtils_SteamUtils002_GetServerRealTime, + ISteamUtils_SteamUtils002_GetIPCountry, + ISteamUtils_SteamUtils002_GetImageSize, + ISteamUtils_SteamUtils002_GetImageRGBA, + ISteamUtils_SteamUtils002_GetCSERIPPort, + ISteamUtils_SteamUtils002_GetCurrentBatteryPower, + ISteamUtils_SteamUtils002_GetAppID, + ISteamUtils_SteamUtils002_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils002_IsAPICallCompleted, + ISteamUtils_SteamUtils002_GetAPICallFailureReason, + ISteamUtils_SteamUtils002_GetAPICallResult, + ISteamUtils_SteamUtils004_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils004_GetConnectedUniverse, + ISteamUtils_SteamUtils004_GetServerRealTime, + ISteamUtils_SteamUtils004_GetIPCountry, + ISteamUtils_SteamUtils004_GetImageSize, + ISteamUtils_SteamUtils004_GetImageRGBA, + ISteamUtils_SteamUtils004_GetCSERIPPort, + ISteamUtils_SteamUtils004_GetCurrentBatteryPower, + ISteamUtils_SteamUtils004_GetAppID, + ISteamUtils_SteamUtils004_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils004_IsAPICallCompleted, + ISteamUtils_SteamUtils004_GetAPICallFailureReason, + ISteamUtils_SteamUtils004_GetAPICallResult, + ISteamUtils_SteamUtils004_RunFrame, + ISteamUtils_SteamUtils004_GetIPCCallCount, + ISteamUtils_SteamUtils004_SetWarningMessageHook, + ISteamUtils_SteamUtils004_IsOverlayEnabled, + ISteamUtils_SteamUtils005_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils005_GetConnectedUniverse, + ISteamUtils_SteamUtils005_GetServerRealTime, + ISteamUtils_SteamUtils005_GetIPCountry, + ISteamUtils_SteamUtils005_GetImageSize, + ISteamUtils_SteamUtils005_GetImageRGBA, + ISteamUtils_SteamUtils005_GetCSERIPPort, + ISteamUtils_SteamUtils005_GetCurrentBatteryPower, + ISteamUtils_SteamUtils005_GetAppID, + ISteamUtils_SteamUtils005_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils005_IsAPICallCompleted, + ISteamUtils_SteamUtils005_GetAPICallFailureReason, + ISteamUtils_SteamUtils005_GetAPICallResult, + ISteamUtils_SteamUtils005_RunFrame, + ISteamUtils_SteamUtils005_GetIPCCallCount, + ISteamUtils_SteamUtils005_SetWarningMessageHook, + ISteamUtils_SteamUtils005_IsOverlayEnabled, + ISteamUtils_SteamUtils005_BOverlayNeedsPresent, + ISteamUtils_SteamUtils005_CheckFileSignature, + ISteamUtils_SteamUtils005_ShowGamepadTextInput, + ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils006_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils006_GetConnectedUniverse, + ISteamUtils_SteamUtils006_GetServerRealTime, + ISteamUtils_SteamUtils006_GetIPCountry, + ISteamUtils_SteamUtils006_GetImageSize, + ISteamUtils_SteamUtils006_GetImageRGBA, + ISteamUtils_SteamUtils006_GetCSERIPPort, + ISteamUtils_SteamUtils006_GetCurrentBatteryPower, + ISteamUtils_SteamUtils006_GetAppID, + ISteamUtils_SteamUtils006_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils006_IsAPICallCompleted, + ISteamUtils_SteamUtils006_GetAPICallFailureReason, + ISteamUtils_SteamUtils006_GetAPICallResult, + ISteamUtils_SteamUtils006_RunFrame, + ISteamUtils_SteamUtils006_GetIPCCallCount, + ISteamUtils_SteamUtils006_SetWarningMessageHook, + ISteamUtils_SteamUtils006_IsOverlayEnabled, + ISteamUtils_SteamUtils006_BOverlayNeedsPresent, + ISteamUtils_SteamUtils006_CheckFileSignature, + ISteamUtils_SteamUtils006_ShowGamepadTextInput, + ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils006_GetSteamUILanguage, + ISteamUtils_SteamUtils006_IsSteamRunningInVR, + ISteamUtils_SteamUtils007_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils007_GetConnectedUniverse, + ISteamUtils_SteamUtils007_GetServerRealTime, + ISteamUtils_SteamUtils007_GetIPCountry, + ISteamUtils_SteamUtils007_GetImageSize, + ISteamUtils_SteamUtils007_GetImageRGBA, + ISteamUtils_SteamUtils007_GetCSERIPPort, + ISteamUtils_SteamUtils007_GetCurrentBatteryPower, + ISteamUtils_SteamUtils007_GetAppID, + ISteamUtils_SteamUtils007_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils007_IsAPICallCompleted, + ISteamUtils_SteamUtils007_GetAPICallFailureReason, + ISteamUtils_SteamUtils007_GetAPICallResult, + ISteamUtils_SteamUtils007_RunFrame, + ISteamUtils_SteamUtils007_GetIPCCallCount, + ISteamUtils_SteamUtils007_SetWarningMessageHook, + ISteamUtils_SteamUtils007_IsOverlayEnabled, + ISteamUtils_SteamUtils007_BOverlayNeedsPresent, + ISteamUtils_SteamUtils007_CheckFileSignature, + ISteamUtils_SteamUtils007_ShowGamepadTextInput, + ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils007_GetSteamUILanguage, + ISteamUtils_SteamUtils007_IsSteamRunningInVR, + ISteamUtils_SteamUtils007_SetOverlayNotificationInset, + ISteamUtils_SteamUtils008_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils008_GetConnectedUniverse, + ISteamUtils_SteamUtils008_GetServerRealTime, + ISteamUtils_SteamUtils008_GetIPCountry, + ISteamUtils_SteamUtils008_GetImageSize, + ISteamUtils_SteamUtils008_GetImageRGBA, + ISteamUtils_SteamUtils008_GetCSERIPPort, + ISteamUtils_SteamUtils008_GetCurrentBatteryPower, + ISteamUtils_SteamUtils008_GetAppID, + ISteamUtils_SteamUtils008_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils008_IsAPICallCompleted, + ISteamUtils_SteamUtils008_GetAPICallFailureReason, + ISteamUtils_SteamUtils008_GetAPICallResult, + ISteamUtils_SteamUtils008_RunFrame, + ISteamUtils_SteamUtils008_GetIPCCallCount, + ISteamUtils_SteamUtils008_SetWarningMessageHook, + ISteamUtils_SteamUtils008_IsOverlayEnabled, + ISteamUtils_SteamUtils008_BOverlayNeedsPresent, + ISteamUtils_SteamUtils008_CheckFileSignature, + ISteamUtils_SteamUtils008_ShowGamepadTextInput, + ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils008_GetSteamUILanguage, + ISteamUtils_SteamUtils008_IsSteamRunningInVR, + ISteamUtils_SteamUtils008_SetOverlayNotificationInset, + ISteamUtils_SteamUtils008_IsSteamInBigPictureMode, + ISteamUtils_SteamUtils008_StartVRDashboard, + ISteamUtils_SteamUtils009_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils009_GetConnectedUniverse, + ISteamUtils_SteamUtils009_GetServerRealTime, + ISteamUtils_SteamUtils009_GetIPCountry, + ISteamUtils_SteamUtils009_GetImageSize, + ISteamUtils_SteamUtils009_GetImageRGBA, + ISteamUtils_SteamUtils009_GetCSERIPPort, + ISteamUtils_SteamUtils009_GetCurrentBatteryPower, + ISteamUtils_SteamUtils009_GetAppID, + ISteamUtils_SteamUtils009_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils009_IsAPICallCompleted, + ISteamUtils_SteamUtils009_GetAPICallFailureReason, + ISteamUtils_SteamUtils009_GetAPICallResult, + ISteamUtils_SteamUtils009_RunFrame, + ISteamUtils_SteamUtils009_GetIPCCallCount, + ISteamUtils_SteamUtils009_SetWarningMessageHook, + ISteamUtils_SteamUtils009_IsOverlayEnabled, + ISteamUtils_SteamUtils009_BOverlayNeedsPresent, + ISteamUtils_SteamUtils009_CheckFileSignature, + ISteamUtils_SteamUtils009_ShowGamepadTextInput, + ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils009_GetSteamUILanguage, + ISteamUtils_SteamUtils009_IsSteamRunningInVR, + ISteamUtils_SteamUtils009_SetOverlayNotificationInset, + ISteamUtils_SteamUtils009_IsSteamInBigPictureMode, + ISteamUtils_SteamUtils009_StartVRDashboard, + ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, + ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, + ISteamUtils_SteamUtils009_IsSteamChinaLauncher, + ISteamUtils_SteamUtils009_InitFilterText, + ISteamUtils_SteamUtils009_FilterText, + ISteamUtils_SteamUtils009_GetIPv6ConnectivityState, + ISteamUtils_SteamUtils010_GetSecondsSinceAppActive, + ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, + ISteamUtils_SteamUtils010_GetConnectedUniverse, + ISteamUtils_SteamUtils010_GetServerRealTime, + ISteamUtils_SteamUtils010_GetIPCountry, + ISteamUtils_SteamUtils010_GetImageSize, + ISteamUtils_SteamUtils010_GetImageRGBA, + ISteamUtils_SteamUtils010_GetCSERIPPort, + ISteamUtils_SteamUtils010_GetCurrentBatteryPower, + ISteamUtils_SteamUtils010_GetAppID, + ISteamUtils_SteamUtils010_SetOverlayNotificationPosition, + ISteamUtils_SteamUtils010_IsAPICallCompleted, + ISteamUtils_SteamUtils010_GetAPICallFailureReason, + ISteamUtils_SteamUtils010_GetAPICallResult, + ISteamUtils_SteamUtils010_RunFrame, + ISteamUtils_SteamUtils010_GetIPCCallCount, + ISteamUtils_SteamUtils010_SetWarningMessageHook, + ISteamUtils_SteamUtils010_IsOverlayEnabled, + ISteamUtils_SteamUtils010_BOverlayNeedsPresent, + ISteamUtils_SteamUtils010_CheckFileSignature, + ISteamUtils_SteamUtils010_ShowGamepadTextInput, + ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, + ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, + ISteamUtils_SteamUtils010_GetSteamUILanguage, + ISteamUtils_SteamUtils010_IsSteamRunningInVR, + ISteamUtils_SteamUtils010_SetOverlayNotificationInset, + ISteamUtils_SteamUtils010_IsSteamInBigPictureMode, + ISteamUtils_SteamUtils010_StartVRDashboard, + ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, + ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, + ISteamUtils_SteamUtils010_IsSteamChinaLauncher, + ISteamUtils_SteamUtils010_InitFilterText, + ISteamUtils_SteamUtils010_FilterText, + ISteamUtils_SteamUtils010_GetIPv6ConnectivityState, + ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, + ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, + ISteamUtils_SteamUtils010_SetGameLauncherMode, + ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, +}; + +C_ASSERT( sizeof(SteamNetworkingIPAddr) >= 18 ); +C_ASSERT( offsetof(SteamNetworkingIPAddr, data) == 0 ); +C_ASSERT( sizeof(SteamNetworkingIPAddr().data) >= 16 ); +C_ASSERT( offsetof(SteamNetworkingIPAddr, m_port) == 16 ); +C_ASSERT( sizeof(SteamNetworkingIPAddr().m_port) >= 2 ); + +C_ASSERT( sizeof(SteamNetworkingIdentity_144) >= 136 ); +C_ASSERT( offsetof(SteamNetworkingIdentity_144, m_eType) == 0 ); +C_ASSERT( sizeof(SteamNetworkingIdentity_144().m_eType) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingIdentity_144, m_cbSize) == 4 ); +C_ASSERT( sizeof(SteamNetworkingIdentity_144().m_cbSize) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingIdentity_144, data) == 8 ); +C_ASSERT( sizeof(SteamNetworkingIdentity_144().data) >= 128 ); + +C_ASSERT( sizeof(SteamNetworkingIdentity_151) >= 8 ); +C_ASSERT( offsetof(SteamNetworkingIdentity_151, m_eType) == 0 ); +C_ASSERT( sizeof(SteamNetworkingIdentity_151().m_eType) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingIdentity_151, m_cbSize) == 4 ); +C_ASSERT( sizeof(SteamNetworkingIdentity_151().m_cbSize) >= 4 ); + +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a) >= 696 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_identityRemote) == 0 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_identityRemote) >= 136 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_nUserData) == 136 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_nUserData) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_hListenSocket) == 144 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_hListenSocket) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_addrRemote) == 148 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_addrRemote) >= 18 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m__pad1) == 166 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m__pad1) >= 2 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_idPOPRemote) == 168 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_idPOPRemote) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_idPOPRelay) == 172 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_idPOPRelay) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_eState) == 176 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_eState) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_eEndReason) == 180 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_eEndReason) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_szEndDebug) == 184 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_szEndDebug) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_szConnectionDescription) == 312 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_szConnectionDescription) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, m_nFlags) == 440 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().m_nFlags) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_153a, reserved) == 444 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_153a().reserved) >= 252 ); + +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144) >= 696 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_identityRemote) == 0 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_identityRemote) >= 136 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_nUserData) == 136 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_nUserData) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_hListenSocket) == 144 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_hListenSocket) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_addrRemote) == 148 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_addrRemote) >= 18 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m__pad1) == 166 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m__pad1) >= 2 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_idPOPRemote) == 168 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_idPOPRemote) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_idPOPRelay) == 172 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_idPOPRelay) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_eState) == 176 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_eState) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_eEndReason) == 180 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_eEndReason) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_szEndDebug) == 184 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_szEndDebug) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, m_szConnectionDescription) == 312 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().m_szConnectionDescription) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_144, reserved) == 440 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_144().reserved) >= 256 ); + +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151) >= 568 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_identityRemote) == 0 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_identityRemote) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_nUserData) == 8 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_nUserData) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_hListenSocket) == 16 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_hListenSocket) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_addrRemote) == 20 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_addrRemote) >= 18 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m__pad1) == 38 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m__pad1) >= 2 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_idPOPRemote) == 40 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_idPOPRemote) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_idPOPRelay) == 44 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_idPOPRelay) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_eState) == 48 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_eState) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_eEndReason) == 52 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_eEndReason) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_szEndDebug) == 56 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_szEndDebug) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, m_szConnectionDescription) == 184 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().m_szConnectionDescription) >= 128 ); +C_ASSERT( offsetof(SteamNetConnectionInfo_t_151, reserved) == 312 ); +C_ASSERT( sizeof(SteamNetConnectionInfo_t_151().reserved) >= 256 ); + +C_ASSERT( sizeof(servernetadr_t) >= 8 ); +C_ASSERT( offsetof(servernetadr_t, m_usConnectionPort) == 0 ); +C_ASSERT( sizeof(servernetadr_t().m_usConnectionPort) >= 2 ); +C_ASSERT( offsetof(servernetadr_t, m_usQueryPort) == 2 ); +C_ASSERT( sizeof(servernetadr_t().m_usQueryPort) >= 2 ); +C_ASSERT( offsetof(servernetadr_t, m_unIP) == 4 ); +C_ASSERT( sizeof(servernetadr_t().m_unIP) >= 4 ); + +C_ASSERT( sizeof(ActiveBeaconsUpdated_t) >= 1 ); + +C_ASSERT( sizeof(AppDataChanged_t) >= 8 ); +C_ASSERT( offsetof(AppDataChanged_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(AppDataChanged_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(AppDataChanged_t, m_bBySteamUI) == 4 ); +C_ASSERT( sizeof(AppDataChanged_t().m_bBySteamUI) >= 1 ); +C_ASSERT( offsetof(AppDataChanged_t, m_bCDDBUpdate) == 5 ); +C_ASSERT( sizeof(AppDataChanged_t().m_bCDDBUpdate) >= 1 ); + +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_137) >= 252 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_137, m_eResult) == 0 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_137().m_eResult) >= 4 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_137, m_nAppID) == 4 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_137().m_nAppID) >= 4 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_137, m_cchKeyLength) == 8 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_137().m_cchKeyLength) >= 4 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_137, m_rgchKey) == 12 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_137().m_rgchKey) >= 240 ); + +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_118) >= 72 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_118, m_eResult) == 0 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_118().m_eResult) >= 4 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_118, m_nAppID) == 4 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_118().m_nAppID) >= 4 ); +C_ASSERT( offsetof(AppProofOfPurchaseKeyResponse_t_118, m_rgchKey) == 8 ); +C_ASSERT( sizeof(AppProofOfPurchaseKeyResponse_t_118().m_rgchKey) >= 64 ); + +C_ASSERT( sizeof(AppResumingFromSuspend_t) >= 1 ); + +C_ASSERT( sizeof(AssociateWithClanResult_t) >= 4 ); +C_ASSERT( offsetof(AssociateWithClanResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(AssociateWithClanResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(AvailableBeaconLocationsUpdated_t) >= 1 ); + +C_ASSERT( sizeof(AvatarImageLoaded_t) >= 20 ); +C_ASSERT( offsetof(AvatarImageLoaded_t, m_steamID) == 0 ); +C_ASSERT( sizeof(AvatarImageLoaded_t().m_steamID) >= 8 ); +C_ASSERT( offsetof(AvatarImageLoaded_t, m_iImage) == 8 ); +C_ASSERT( sizeof(AvatarImageLoaded_t().m_iImage) >= 4 ); +C_ASSERT( offsetof(AvatarImageLoaded_t, m_iWide) == 12 ); +C_ASSERT( sizeof(AvatarImageLoaded_t().m_iWide) >= 4 ); +C_ASSERT( offsetof(AvatarImageLoaded_t, m_iTall) == 16 ); +C_ASSERT( sizeof(AvatarImageLoaded_t().m_iTall) >= 4 ); + +C_ASSERT( sizeof(BroadcastUploadStart_t) >= 1 ); + +C_ASSERT( sizeof(BroadcastUploadStop_t) >= 4 ); +C_ASSERT( offsetof(BroadcastUploadStop_t, m_eResult) == 0 ); +C_ASSERT( sizeof(BroadcastUploadStop_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(CallbackPipeFailure_t) >= 1 ); + +C_ASSERT( sizeof(ChangeNumOpenSlotsCallback_t) >= 4 ); +C_ASSERT( offsetof(ChangeNumOpenSlotsCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(ChangeNumOpenSlotsCallback_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(CheckFileSignature_t) >= 4 ); +C_ASSERT( offsetof(CheckFileSignature_t, m_eCheckFileSignature) == 0 ); +C_ASSERT( sizeof(CheckFileSignature_t().m_eCheckFileSignature) >= 4 ); + +C_ASSERT( sizeof(ClanOfficerListResponse_t) >= 16 ); +C_ASSERT( offsetof(ClanOfficerListResponse_t, m_steamIDClan) == 0 ); +C_ASSERT( sizeof(ClanOfficerListResponse_t().m_steamIDClan) >= 8 ); +C_ASSERT( offsetof(ClanOfficerListResponse_t, m_cOfficers) == 8 ); +C_ASSERT( sizeof(ClanOfficerListResponse_t().m_cOfficers) >= 4 ); +C_ASSERT( offsetof(ClanOfficerListResponse_t, m_bSuccess) == 12 ); +C_ASSERT( sizeof(ClanOfficerListResponse_t().m_bSuccess) >= 1 ); + +C_ASSERT( sizeof(ClientGameServerDeny_t) >= 16 ); +C_ASSERT( offsetof(ClientGameServerDeny_t, m_uAppID) == 0 ); +C_ASSERT( sizeof(ClientGameServerDeny_t().m_uAppID) >= 4 ); +C_ASSERT( offsetof(ClientGameServerDeny_t, m_unGameServerIP) == 4 ); +C_ASSERT( sizeof(ClientGameServerDeny_t().m_unGameServerIP) >= 4 ); +C_ASSERT( offsetof(ClientGameServerDeny_t, m_usGameServerPort) == 8 ); +C_ASSERT( sizeof(ClientGameServerDeny_t().m_usGameServerPort) >= 2 ); +C_ASSERT( offsetof(ClientGameServerDeny_t, m_bSecure) == 10 ); +C_ASSERT( sizeof(ClientGameServerDeny_t().m_bSecure) >= 2 ); +C_ASSERT( offsetof(ClientGameServerDeny_t, m_uReason) == 12 ); +C_ASSERT( sizeof(ClientGameServerDeny_t().m_uReason) >= 4 ); + +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119) >= 24 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_119, m_cPlayersThatDontLikeCandidate) == 4 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119().m_cPlayersThatDontLikeCandidate) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_119, m_cPlayersThatCandidateDoesntLike) == 8 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119().m_cPlayersThatCandidateDoesntLike) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_119, m_cClanPlayersThatDontLikeCandidate) == 12 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119().m_cClanPlayersThatDontLikeCandidate) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_119, m_SteamIDCandidate) == 16 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_119().m_SteamIDCandidate) >= 8 ); + +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_116x) >= 16 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_116x, m_cPlayersThatDontLikeCandidate) == 4 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_116x().m_cPlayersThatDontLikeCandidate) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_116x, m_cPlayersThatCandidateDoesntLike) == 8 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_116x().m_cPlayersThatCandidateDoesntLike) >= 4 ); +C_ASSERT( offsetof(ComputeNewPlayerCompatibilityResult_t_116x, m_cClanPlayersThatDontLikeCandidate) == 12 ); +C_ASSERT( sizeof(ComputeNewPlayerCompatibilityResult_t_116x().m_cClanPlayersThatDontLikeCandidate) >= 4 ); + +C_ASSERT( sizeof(ControllerAnalogActionData_t) >= 13 ); +C_ASSERT( offsetof(ControllerAnalogActionData_t, eMode) == 0 ); +C_ASSERT( sizeof(ControllerAnalogActionData_t().eMode) >= 4 ); +C_ASSERT( offsetof(ControllerAnalogActionData_t, x) == 4 ); +C_ASSERT( sizeof(ControllerAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(ControllerAnalogActionData_t, y) == 8 ); +C_ASSERT( sizeof(ControllerAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(ControllerAnalogActionData_t, bActive) == 12 ); +C_ASSERT( sizeof(ControllerAnalogActionData_t().bActive) >= 1 ); + +C_ASSERT( sizeof(ControllerDigitalActionData_t) >= 2 ); +C_ASSERT( offsetof(ControllerDigitalActionData_t, bState) == 0 ); +C_ASSERT( sizeof(ControllerDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(ControllerDigitalActionData_t, bActive) == 1 ); +C_ASSERT( sizeof(ControllerDigitalActionData_t().bActive) >= 1 ); + +C_ASSERT( sizeof(ControllerMotionData_t) >= 40 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotQuatX) == 0 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotQuatX) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotQuatY) == 4 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotQuatY) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotQuatZ) == 8 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotQuatZ) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotQuatW) == 12 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotQuatW) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, posAccelX) == 16 ); +C_ASSERT( sizeof(ControllerMotionData_t().posAccelX) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, posAccelY) == 20 ); +C_ASSERT( sizeof(ControllerMotionData_t().posAccelY) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, posAccelZ) == 24 ); +C_ASSERT( sizeof(ControllerMotionData_t().posAccelZ) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotVelX) == 28 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotVelX) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotVelY) == 32 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotVelY) >= 4 ); +C_ASSERT( offsetof(ControllerMotionData_t, rotVelZ) == 36 ); +C_ASSERT( sizeof(ControllerMotionData_t().rotVelZ) >= 4 ); + +C_ASSERT( sizeof(DlcInstalled_t) >= 4 ); +C_ASSERT( offsetof(DlcInstalled_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(DlcInstalled_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(DownloadClanActivityCountsResult_t) >= 1 ); +C_ASSERT( offsetof(DownloadClanActivityCountsResult_t, m_bSuccess) == 0 ); +C_ASSERT( sizeof(DownloadClanActivityCountsResult_t().m_bSuccess) >= 1 ); + +C_ASSERT( sizeof(DurationControl_t_147) >= 32 ); +C_ASSERT( offsetof(DurationControl_t_147, m_eResult) == 0 ); +C_ASSERT( sizeof(DurationControl_t_147().m_eResult) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_appid) == 4 ); +C_ASSERT( sizeof(DurationControl_t_147().m_appid) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_bApplicable) == 8 ); +C_ASSERT( sizeof(DurationControl_t_147().m_bApplicable) >= 1 ); +C_ASSERT( offsetof(DurationControl_t_147, m_csecsLast5h) == 12 ); +C_ASSERT( sizeof(DurationControl_t_147().m_csecsLast5h) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_progress) == 16 ); +C_ASSERT( sizeof(DurationControl_t_147().m_progress) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_notification) == 20 ); +C_ASSERT( sizeof(DurationControl_t_147().m_notification) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_csecsToday) == 24 ); +C_ASSERT( sizeof(DurationControl_t_147().m_csecsToday) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_147, m_csecsRemaining) == 28 ); +C_ASSERT( sizeof(DurationControl_t_147().m_csecsRemaining) >= 4 ); + +C_ASSERT( sizeof(DurationControl_t_145) >= 24 ); +C_ASSERT( offsetof(DurationControl_t_145, m_eResult) == 0 ); +C_ASSERT( sizeof(DurationControl_t_145().m_eResult) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_145, m_appid) == 4 ); +C_ASSERT( sizeof(DurationControl_t_145().m_appid) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_145, m_bApplicable) == 8 ); +C_ASSERT( sizeof(DurationControl_t_145().m_bApplicable) >= 1 ); +C_ASSERT( offsetof(DurationControl_t_145, m_csecsLast5h) == 12 ); +C_ASSERT( sizeof(DurationControl_t_145().m_csecsLast5h) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_145, m_progress) == 16 ); +C_ASSERT( sizeof(DurationControl_t_145().m_progress) >= 4 ); +C_ASSERT( offsetof(DurationControl_t_145, m_notification) == 20 ); +C_ASSERT( sizeof(DurationControl_t_145().m_notification) >= 4 ); + +C_ASSERT( sizeof(EncryptedAppTicketResponse_t) >= 4 ); +C_ASSERT( offsetof(EncryptedAppTicketResponse_t, m_eResult) == 0 ); +C_ASSERT( sizeof(EncryptedAppTicketResponse_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(EquippedProfileItemsChanged_t) >= 8 ); +C_ASSERT( offsetof(EquippedProfileItemsChanged_t, m_steamID) == 0 ); +C_ASSERT( sizeof(EquippedProfileItemsChanged_t().m_steamID) >= 8 ); + +C_ASSERT( sizeof(EquippedProfileItems_t) >= 20 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_eResult) == 0 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_steamID) == 4 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_steamID) >= 8 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_bHasAnimatedAvatar) == 12 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_bHasAnimatedAvatar) >= 1 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_bHasAvatarFrame) == 13 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_bHasAvatarFrame) >= 1 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_bHasProfileModifier) == 14 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_bHasProfileModifier) >= 1 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_bHasProfileBackground) == 15 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_bHasProfileBackground) >= 1 ); +C_ASSERT( offsetof(EquippedProfileItems_t, m_bHasMiniProfileBackground) == 16 ); +C_ASSERT( sizeof(EquippedProfileItems_t().m_bHasMiniProfileBackground) >= 1 ); + +C_ASSERT( sizeof(FavoritesListAccountsUpdated_t) >= 4 ); +C_ASSERT( offsetof(FavoritesListAccountsUpdated_t, m_eResult) == 0 ); +C_ASSERT( sizeof(FavoritesListAccountsUpdated_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(FavoritesListChanged_t_128x) >= 28 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_nIP) == 0 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_nIP) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_nQueryPort) == 4 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_nQueryPort) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_nConnPort) == 8 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_nConnPort) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_nAppID) == 12 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_nFlags) == 16 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_nFlags) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_bAdd) == 20 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_bAdd) >= 1 ); +C_ASSERT( offsetof(FavoritesListChanged_t_128x, m_unAccountId) == 24 ); +C_ASSERT( sizeof(FavoritesListChanged_t_128x().m_unAccountId) >= 4 ); + +C_ASSERT( sizeof(FavoritesListChanged_t_099u) >= 24 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_nIP) == 0 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_nIP) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_nQueryPort) == 4 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_nQueryPort) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_nConnPort) == 8 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_nConnPort) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_nAppID) == 12 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_nAppID) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_nFlags) == 16 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_nFlags) >= 4 ); +C_ASSERT( offsetof(FavoritesListChanged_t_099u, m_bAdd) == 20 ); +C_ASSERT( sizeof(FavoritesListChanged_t_099u().m_bAdd) >= 1 ); + +C_ASSERT( sizeof(FilterTextDictionaryChanged_t) >= 4 ); +C_ASSERT( offsetof(FilterTextDictionaryChanged_t, m_eLanguage) == 0 ); +C_ASSERT( sizeof(FilterTextDictionaryChanged_t().m_eLanguage) >= 4 ); + +C_ASSERT( sizeof(FloatingGamepadTextInputDismissed_t) >= 1 ); + +C_ASSERT( sizeof(FriendGameInfo_t) >= 24 ); +C_ASSERT( offsetof(FriendGameInfo_t, m_gameID) == 0 ); +C_ASSERT( sizeof(FriendGameInfo_t().m_gameID) >= 8 ); +C_ASSERT( offsetof(FriendGameInfo_t, m_unGameIP) == 8 ); +C_ASSERT( sizeof(FriendGameInfo_t().m_unGameIP) >= 4 ); +C_ASSERT( offsetof(FriendGameInfo_t, m_usGamePort) == 12 ); +C_ASSERT( sizeof(FriendGameInfo_t().m_usGamePort) >= 2 ); +C_ASSERT( offsetof(FriendGameInfo_t, m_usQueryPort) == 14 ); +C_ASSERT( sizeof(FriendGameInfo_t().m_usQueryPort) >= 2 ); +C_ASSERT( offsetof(FriendGameInfo_t, m_steamIDLobby) == 16 ); +C_ASSERT( sizeof(FriendGameInfo_t().m_steamIDLobby) >= 8 ); + +C_ASSERT( sizeof(FriendRichPresenceUpdate_t) >= 12 ); +C_ASSERT( offsetof(FriendRichPresenceUpdate_t, m_steamIDFriend) == 0 ); +C_ASSERT( sizeof(FriendRichPresenceUpdate_t().m_steamIDFriend) >= 8 ); +C_ASSERT( offsetof(FriendRichPresenceUpdate_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(FriendRichPresenceUpdate_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(FriendSessionStateInfo_t) >= 8 ); +C_ASSERT( offsetof(FriendSessionStateInfo_t, m_uiOnlineSessionInstances) == 0 ); +C_ASSERT( sizeof(FriendSessionStateInfo_t().m_uiOnlineSessionInstances) >= 4 ); +C_ASSERT( offsetof(FriendSessionStateInfo_t, m_uiPublishedToFriendsSessionInstance) == 4 ); +C_ASSERT( sizeof(FriendSessionStateInfo_t().m_uiPublishedToFriendsSessionInstance) >= 1 ); + +C_ASSERT( sizeof(FriendsEnumerateFollowingList_t) >= 412 ); +C_ASSERT( offsetof(FriendsEnumerateFollowingList_t, m_eResult) == 0 ); +C_ASSERT( sizeof(FriendsEnumerateFollowingList_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(FriendsEnumerateFollowingList_t, m_rgSteamID) == 4 ); +C_ASSERT( sizeof(FriendsEnumerateFollowingList_t().m_rgSteamID) >= 400 ); +C_ASSERT( offsetof(FriendsEnumerateFollowingList_t, m_nResultsReturned) == 404 ); +C_ASSERT( sizeof(FriendsEnumerateFollowingList_t().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(FriendsEnumerateFollowingList_t, m_nTotalResultCount) == 408 ); +C_ASSERT( sizeof(FriendsEnumerateFollowingList_t().m_nTotalResultCount) >= 4 ); + +C_ASSERT( sizeof(FriendsGetFollowerCount_t) >= 16 ); +C_ASSERT( offsetof(FriendsGetFollowerCount_t, m_eResult) == 0 ); +C_ASSERT( sizeof(FriendsGetFollowerCount_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(FriendsGetFollowerCount_t, m_steamID) == 4 ); +C_ASSERT( sizeof(FriendsGetFollowerCount_t().m_steamID) >= 8 ); +C_ASSERT( offsetof(FriendsGetFollowerCount_t, m_nCount) == 12 ); +C_ASSERT( sizeof(FriendsGetFollowerCount_t().m_nCount) >= 4 ); + +C_ASSERT( sizeof(FriendsIsFollowing_t) >= 16 ); +C_ASSERT( offsetof(FriendsIsFollowing_t, m_eResult) == 0 ); +C_ASSERT( sizeof(FriendsIsFollowing_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(FriendsIsFollowing_t, m_steamID) == 4 ); +C_ASSERT( sizeof(FriendsIsFollowing_t().m_steamID) >= 8 ); +C_ASSERT( offsetof(FriendsIsFollowing_t, m_bIsFollowing) == 12 ); +C_ASSERT( sizeof(FriendsIsFollowing_t().m_bIsFollowing) >= 1 ); + +C_ASSERT( sizeof(GCMessageAvailable_t) >= 4 ); +C_ASSERT( offsetof(GCMessageAvailable_t, m_nMessageSize) == 0 ); +C_ASSERT( sizeof(GCMessageAvailable_t().m_nMessageSize) >= 4 ); + +C_ASSERT( sizeof(GCMessageFailed_t) >= 1 ); + +C_ASSERT( sizeof(GSClientAchievementStatus_t) >= 144 ); +C_ASSERT( offsetof(GSClientAchievementStatus_t, m_SteamID) == 0 ); +C_ASSERT( sizeof(GSClientAchievementStatus_t().m_SteamID) >= 8 ); +C_ASSERT( offsetof(GSClientAchievementStatus_t, m_pchAchievement) == 8 ); +C_ASSERT( sizeof(GSClientAchievementStatus_t().m_pchAchievement) >= 128 ); +C_ASSERT( offsetof(GSClientAchievementStatus_t, m_bUnlocked) == 136 ); +C_ASSERT( sizeof(GSClientAchievementStatus_t().m_bUnlocked) >= 1 ); + +C_ASSERT( sizeof(GSClientApprove_t_126) >= 16 ); +C_ASSERT( offsetof(GSClientApprove_t_126, m_SteamID) == 0 ); +C_ASSERT( sizeof(GSClientApprove_t_126().m_SteamID) >= 8 ); +C_ASSERT( offsetof(GSClientApprove_t_126, m_OwnerSteamID) == 8 ); +C_ASSERT( sizeof(GSClientApprove_t_126().m_OwnerSteamID) >= 8 ); + +C_ASSERT( sizeof(GSClientApprove_t_099u) >= 8 ); +C_ASSERT( offsetof(GSClientApprove_t_099u, m_SteamID) == 0 ); +C_ASSERT( sizeof(GSClientApprove_t_099u().m_SteamID) >= 8 ); + +C_ASSERT( sizeof(GSClientDeny_t) >= 140 ); +C_ASSERT( offsetof(GSClientDeny_t, m_SteamID) == 0 ); +C_ASSERT( sizeof(GSClientDeny_t().m_SteamID) >= 8 ); +C_ASSERT( offsetof(GSClientDeny_t, m_eDenyReason) == 8 ); +C_ASSERT( sizeof(GSClientDeny_t().m_eDenyReason) >= 4 ); +C_ASSERT( offsetof(GSClientDeny_t, m_rgchOptionalText) == 12 ); +C_ASSERT( sizeof(GSClientDeny_t().m_rgchOptionalText) >= 128 ); + +C_ASSERT( sizeof(GSClientGroupStatus_t) >= 18 ); +C_ASSERT( offsetof(GSClientGroupStatus_t, m_SteamIDUser) == 0 ); +C_ASSERT( sizeof(GSClientGroupStatus_t().m_SteamIDUser) >= 8 ); +C_ASSERT( offsetof(GSClientGroupStatus_t, m_SteamIDGroup) == 8 ); +C_ASSERT( sizeof(GSClientGroupStatus_t().m_SteamIDGroup) >= 8 ); +C_ASSERT( offsetof(GSClientGroupStatus_t, m_bMember) == 16 ); +C_ASSERT( sizeof(GSClientGroupStatus_t().m_bMember) >= 1 ); +C_ASSERT( offsetof(GSClientGroupStatus_t, m_bOfficer) == 17 ); +C_ASSERT( sizeof(GSClientGroupStatus_t().m_bOfficer) >= 1 ); + +C_ASSERT( sizeof(GSClientKick_t) >= 12 ); +C_ASSERT( offsetof(GSClientKick_t, m_SteamID) == 0 ); +C_ASSERT( sizeof(GSClientKick_t().m_SteamID) >= 8 ); +C_ASSERT( offsetof(GSClientKick_t, m_eDenyReason) == 8 ); +C_ASSERT( sizeof(GSClientKick_t().m_eDenyReason) >= 4 ); + +C_ASSERT( sizeof(GSGameplayStats_t) >= 16 ); +C_ASSERT( offsetof(GSGameplayStats_t, m_eResult) == 0 ); +C_ASSERT( sizeof(GSGameplayStats_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GSGameplayStats_t, m_nRank) == 4 ); +C_ASSERT( sizeof(GSGameplayStats_t().m_nRank) >= 4 ); +C_ASSERT( offsetof(GSGameplayStats_t, m_unTotalConnects) == 8 ); +C_ASSERT( sizeof(GSGameplayStats_t().m_unTotalConnects) >= 4 ); +C_ASSERT( offsetof(GSGameplayStats_t, m_unTotalMinutesPlayed) == 12 ); +C_ASSERT( sizeof(GSGameplayStats_t().m_unTotalMinutesPlayed) >= 4 ); + +C_ASSERT( sizeof(GSPolicyResponse_t) >= 1 ); +C_ASSERT( offsetof(GSPolicyResponse_t, m_bSecure) == 0 ); +C_ASSERT( sizeof(GSPolicyResponse_t().m_bSecure) >= 1 ); + +C_ASSERT( sizeof(GSStatsReceived_t) >= 12 ); +C_ASSERT( offsetof(GSStatsReceived_t, m_eResult) == 0 ); +C_ASSERT( sizeof(GSStatsReceived_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GSStatsReceived_t, m_steamIDUser) == 4 ); +C_ASSERT( sizeof(GSStatsReceived_t().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(GSStatsStored_t) >= 12 ); +C_ASSERT( offsetof(GSStatsStored_t, m_eResult) == 0 ); +C_ASSERT( sizeof(GSStatsStored_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GSStatsStored_t, m_steamIDUser) == 4 ); +C_ASSERT( sizeof(GSStatsStored_t().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(GSStatsUnloaded_t) >= 8 ); +C_ASSERT( offsetof(GSStatsUnloaded_t, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(GSStatsUnloaded_t().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(GameConnectedChatJoin_t) >= 16 ); +C_ASSERT( offsetof(GameConnectedChatJoin_t, m_steamIDClanChat) == 0 ); +C_ASSERT( sizeof(GameConnectedChatJoin_t().m_steamIDClanChat) >= 8 ); +C_ASSERT( offsetof(GameConnectedChatJoin_t, m_steamIDUser) == 8 ); +C_ASSERT( sizeof(GameConnectedChatJoin_t().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(GameConnectedChatLeave_t) >= 18 ); +C_ASSERT( offsetof(GameConnectedChatLeave_t, m_steamIDClanChat) == 0 ); +C_ASSERT( sizeof(GameConnectedChatLeave_t().m_steamIDClanChat) >= 8 ); +C_ASSERT( offsetof(GameConnectedChatLeave_t, m_steamIDUser) == 8 ); +C_ASSERT( sizeof(GameConnectedChatLeave_t().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(GameConnectedChatLeave_t, m_bKicked) == 16 ); +C_ASSERT( sizeof(GameConnectedChatLeave_t().m_bKicked) >= 1 ); +C_ASSERT( offsetof(GameConnectedChatLeave_t, m_bDropped) == 17 ); +C_ASSERT( sizeof(GameConnectedChatLeave_t().m_bDropped) >= 1 ); + +C_ASSERT( sizeof(GameConnectedClanChatMsg_t) >= 20 ); +C_ASSERT( offsetof(GameConnectedClanChatMsg_t, m_steamIDClanChat) == 0 ); +C_ASSERT( sizeof(GameConnectedClanChatMsg_t().m_steamIDClanChat) >= 8 ); +C_ASSERT( offsetof(GameConnectedClanChatMsg_t, m_steamIDUser) == 8 ); +C_ASSERT( sizeof(GameConnectedClanChatMsg_t().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(GameConnectedClanChatMsg_t, m_iMessageID) == 16 ); +C_ASSERT( sizeof(GameConnectedClanChatMsg_t().m_iMessageID) >= 4 ); + +C_ASSERT( sizeof(GameConnectedFriendChatMsg_t) >= 12 ); +C_ASSERT( offsetof(GameConnectedFriendChatMsg_t, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(GameConnectedFriendChatMsg_t().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(GameConnectedFriendChatMsg_t, m_iMessageID) == 8 ); +C_ASSERT( sizeof(GameConnectedFriendChatMsg_t().m_iMessageID) >= 4 ); + +C_ASSERT( sizeof(GameLobbyJoinRequested_t) >= 16 ); +C_ASSERT( offsetof(GameLobbyJoinRequested_t, m_steamIDLobby) == 0 ); +C_ASSERT( sizeof(GameLobbyJoinRequested_t().m_steamIDLobby) >= 8 ); +C_ASSERT( offsetof(GameLobbyJoinRequested_t, m_steamIDFriend) == 8 ); +C_ASSERT( sizeof(GameLobbyJoinRequested_t().m_steamIDFriend) >= 8 ); + +C_ASSERT( sizeof(GameOverlayActivated_t_158) >= 12 ); +C_ASSERT( offsetof(GameOverlayActivated_t_158, m_bActive) == 0 ); +C_ASSERT( sizeof(GameOverlayActivated_t_158().m_bActive) >= 1 ); +C_ASSERT( offsetof(GameOverlayActivated_t_158, m_bUserInitiated) == 1 ); +C_ASSERT( sizeof(GameOverlayActivated_t_158().m_bUserInitiated) >= 1 ); +C_ASSERT( offsetof(GameOverlayActivated_t_158, m_nAppID) == 4 ); +C_ASSERT( sizeof(GameOverlayActivated_t_158().m_nAppID) >= 4 ); +C_ASSERT( offsetof(GameOverlayActivated_t_158, m_dwOverlayPID) == 8 ); +C_ASSERT( sizeof(GameOverlayActivated_t_158().m_dwOverlayPID) >= 4 ); + +C_ASSERT( sizeof(GameOverlayActivated_t_156) >= 8 ); +C_ASSERT( offsetof(GameOverlayActivated_t_156, m_bActive) == 0 ); +C_ASSERT( sizeof(GameOverlayActivated_t_156().m_bActive) >= 1 ); +C_ASSERT( offsetof(GameOverlayActivated_t_156, m_bUserInitiated) == 1 ); +C_ASSERT( sizeof(GameOverlayActivated_t_156().m_bUserInitiated) >= 1 ); +C_ASSERT( offsetof(GameOverlayActivated_t_156, m_nAppID) == 4 ); +C_ASSERT( sizeof(GameOverlayActivated_t_156().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(GameOverlayActivated_t_099u) >= 1 ); +C_ASSERT( offsetof(GameOverlayActivated_t_099u, m_bActive) == 0 ); +C_ASSERT( sizeof(GameOverlayActivated_t_099u().m_bActive) >= 1 ); + +C_ASSERT( sizeof(GameRichPresenceJoinRequested_t) >= 264 ); +C_ASSERT( offsetof(GameRichPresenceJoinRequested_t, m_steamIDFriend) == 0 ); +C_ASSERT( sizeof(GameRichPresenceJoinRequested_t().m_steamIDFriend) >= 8 ); +C_ASSERT( offsetof(GameRichPresenceJoinRequested_t, m_rgchConnect) == 8 ); +C_ASSERT( sizeof(GameRichPresenceJoinRequested_t().m_rgchConnect) >= 256 ); + +C_ASSERT( sizeof(GameServerChangeRequested_t) >= 128 ); +C_ASSERT( offsetof(GameServerChangeRequested_t, m_rgchServer) == 0 ); +C_ASSERT( sizeof(GameServerChangeRequested_t().m_rgchServer) >= 64 ); +C_ASSERT( offsetof(GameServerChangeRequested_t, m_rgchPassword) == 64 ); +C_ASSERT( sizeof(GameServerChangeRequested_t().m_rgchPassword) >= 64 ); + +C_ASSERT( sizeof(GameStatsSessionClosed_t) >= 16 ); +C_ASSERT( offsetof(GameStatsSessionClosed_t, m_ulSessionID) == 0 ); +C_ASSERT( sizeof(GameStatsSessionClosed_t().m_ulSessionID) >= 8 ); +C_ASSERT( offsetof(GameStatsSessionClosed_t, m_eResult) == 8 ); +C_ASSERT( sizeof(GameStatsSessionClosed_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(GameStatsSessionIssued_t) >= 16 ); +C_ASSERT( offsetof(GameStatsSessionIssued_t, m_ulSessionID) == 0 ); +C_ASSERT( sizeof(GameStatsSessionIssued_t().m_ulSessionID) >= 8 ); +C_ASSERT( offsetof(GameStatsSessionIssued_t, m_eResult) == 8 ); +C_ASSERT( sizeof(GameStatsSessionIssued_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GameStatsSessionIssued_t, m_bCollectingAny) == 12 ); +C_ASSERT( sizeof(GameStatsSessionIssued_t().m_bCollectingAny) >= 1 ); +C_ASSERT( offsetof(GameStatsSessionIssued_t, m_bCollectingDetails) == 13 ); +C_ASSERT( sizeof(GameStatsSessionIssued_t().m_bCollectingDetails) >= 1 ); + +C_ASSERT( sizeof(GameWebCallback_t) >= 256 ); +C_ASSERT( offsetof(GameWebCallback_t, m_szURL) == 0 ); +C_ASSERT( sizeof(GameWebCallback_t().m_szURL) >= 256 ); + +C_ASSERT( sizeof(GamepadTextInputDismissed_t_156) >= 12 ); +C_ASSERT( offsetof(GamepadTextInputDismissed_t_156, m_bSubmitted) == 0 ); +C_ASSERT( sizeof(GamepadTextInputDismissed_t_156().m_bSubmitted) >= 1 ); +C_ASSERT( offsetof(GamepadTextInputDismissed_t_156, m_unSubmittedText) == 4 ); +C_ASSERT( sizeof(GamepadTextInputDismissed_t_156().m_unSubmittedText) >= 4 ); +C_ASSERT( offsetof(GamepadTextInputDismissed_t_156, m_unAppID) == 8 ); +C_ASSERT( sizeof(GamepadTextInputDismissed_t_156().m_unAppID) >= 4 ); + +C_ASSERT( sizeof(GamepadTextInputDismissed_t_121) >= 8 ); +C_ASSERT( offsetof(GamepadTextInputDismissed_t_121, m_bSubmitted) == 0 ); +C_ASSERT( sizeof(GamepadTextInputDismissed_t_121().m_bSubmitted) >= 1 ); +C_ASSERT( offsetof(GamepadTextInputDismissed_t_121, m_unSubmittedText) == 4 ); +C_ASSERT( sizeof(GamepadTextInputDismissed_t_121().m_unSubmittedText) >= 4 ); + +C_ASSERT( sizeof(GetAuthSessionTicketResponse_t) >= 8 ); +C_ASSERT( offsetof(GetAuthSessionTicketResponse_t, m_hAuthTicket) == 0 ); +C_ASSERT( sizeof(GetAuthSessionTicketResponse_t().m_hAuthTicket) >= 4 ); +C_ASSERT( offsetof(GetAuthSessionTicketResponse_t, m_eResult) == 4 ); +C_ASSERT( sizeof(GetAuthSessionTicketResponse_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(GetOPFSettingsResult_t) >= 8 ); +C_ASSERT( offsetof(GetOPFSettingsResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(GetOPFSettingsResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GetOPFSettingsResult_t, m_unVideoAppID) == 4 ); +C_ASSERT( sizeof(GetOPFSettingsResult_t().m_unVideoAppID) >= 4 ); + +C_ASSERT( sizeof(GetTicketForWebApiResponse_t) >= 2572 ); +C_ASSERT( offsetof(GetTicketForWebApiResponse_t, m_hAuthTicket) == 0 ); +C_ASSERT( sizeof(GetTicketForWebApiResponse_t().m_hAuthTicket) >= 4 ); +C_ASSERT( offsetof(GetTicketForWebApiResponse_t, m_eResult) == 4 ); +C_ASSERT( sizeof(GetTicketForWebApiResponse_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GetTicketForWebApiResponse_t, m_cubTicket) == 8 ); +C_ASSERT( sizeof(GetTicketForWebApiResponse_t().m_cubTicket) >= 4 ); +C_ASSERT( offsetof(GetTicketForWebApiResponse_t, m_rgubTicket) == 12 ); +C_ASSERT( sizeof(GetTicketForWebApiResponse_t().m_rgubTicket) >= 2560 ); + +C_ASSERT( sizeof(GetUserItemVoteResult_t) >= 16 ); +C_ASSERT( offsetof(GetUserItemVoteResult_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(GetUserItemVoteResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(GetUserItemVoteResult_t, m_eResult) == 8 ); +C_ASSERT( sizeof(GetUserItemVoteResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GetUserItemVoteResult_t, m_bVotedUp) == 12 ); +C_ASSERT( sizeof(GetUserItemVoteResult_t().m_bVotedUp) >= 1 ); +C_ASSERT( offsetof(GetUserItemVoteResult_t, m_bVotedDown) == 13 ); +C_ASSERT( sizeof(GetUserItemVoteResult_t().m_bVotedDown) >= 1 ); +C_ASSERT( offsetof(GetUserItemVoteResult_t, m_bVoteSkipped) == 14 ); +C_ASSERT( sizeof(GetUserItemVoteResult_t().m_bVoteSkipped) >= 1 ); + +C_ASSERT( sizeof(GetVideoURLResult_t) >= 264 ); +C_ASSERT( offsetof(GetVideoURLResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(GetVideoURLResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(GetVideoURLResult_t, m_unVideoAppID) == 4 ); +C_ASSERT( sizeof(GetVideoURLResult_t().m_unVideoAppID) >= 4 ); +C_ASSERT( offsetof(GetVideoURLResult_t, m_rgchURL) == 8 ); +C_ASSERT( sizeof(GetVideoURLResult_t().m_rgchURL) >= 256 ); + +C_ASSERT( sizeof(GlobalAchievementPercentagesReady_t) >= 16 ); +C_ASSERT( offsetof(GlobalAchievementPercentagesReady_t, m_nGameID) == 0 ); +C_ASSERT( sizeof(GlobalAchievementPercentagesReady_t().m_nGameID) >= 8 ); +C_ASSERT( offsetof(GlobalAchievementPercentagesReady_t, m_eResult) == 8 ); +C_ASSERT( sizeof(GlobalAchievementPercentagesReady_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(GlobalStatsReceived_t) >= 16 ); +C_ASSERT( offsetof(GlobalStatsReceived_t, m_nGameID) == 0 ); +C_ASSERT( sizeof(GlobalStatsReceived_t().m_nGameID) >= 8 ); +C_ASSERT( offsetof(GlobalStatsReceived_t, m_eResult) == 8 ); +C_ASSERT( sizeof(GlobalStatsReceived_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(HTML_BrowserReady_t) >= 4 ); +C_ASSERT( offsetof(HTML_BrowserReady_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_BrowserReady_t().unBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_BrowserRestarted_t) >= 8 ); +C_ASSERT( offsetof(HTML_BrowserRestarted_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_BrowserRestarted_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_BrowserRestarted_t, unOldBrowserHandle) == 4 ); +C_ASSERT( sizeof(HTML_BrowserRestarted_t().unOldBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_CanGoBackAndForward_t) >= 8 ); +C_ASSERT( offsetof(HTML_CanGoBackAndForward_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_CanGoBackAndForward_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_CanGoBackAndForward_t, bCanGoBack) == 4 ); +C_ASSERT( sizeof(HTML_CanGoBackAndForward_t().bCanGoBack) >= 1 ); +C_ASSERT( offsetof(HTML_CanGoBackAndForward_t, bCanGoForward) == 5 ); +C_ASSERT( sizeof(HTML_CanGoBackAndForward_t().bCanGoForward) >= 1 ); + +C_ASSERT( sizeof(HTML_CloseBrowser_t) >= 4 ); +C_ASSERT( offsetof(HTML_CloseBrowser_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_CloseBrowser_t().unBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_HidePopup_t) >= 4 ); +C_ASSERT( offsetof(HTML_HidePopup_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_HidePopup_t().unBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_HideToolTip_t) >= 4 ); +C_ASSERT( offsetof(HTML_HideToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_HideToolTip_t().unBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_HorizontalScroll_t) >= 24 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, unScrollMax) == 4 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().unScrollMax) >= 4 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, unScrollCurrent) == 8 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().unScrollCurrent) >= 4 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, flPageScale) == 12 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, bVisible) == 16 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().bVisible) >= 1 ); +C_ASSERT( offsetof(HTML_HorizontalScroll_t, unPageSize) == 20 ); +C_ASSERT( sizeof(HTML_HorizontalScroll_t().unPageSize) >= 4 ); + +C_ASSERT( sizeof(HTML_SearchResults_t) >= 12 ); +C_ASSERT( offsetof(HTML_SearchResults_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_SearchResults_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_SearchResults_t, unResults) == 4 ); +C_ASSERT( sizeof(HTML_SearchResults_t().unResults) >= 4 ); +C_ASSERT( offsetof(HTML_SearchResults_t, unCurrentMatch) == 8 ); +C_ASSERT( sizeof(HTML_SearchResults_t().unCurrentMatch) >= 4 ); + +C_ASSERT( sizeof(HTML_SetCursor_t) >= 8 ); +C_ASSERT( offsetof(HTML_SetCursor_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_SetCursor_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_SetCursor_t, eMouseCursor) == 4 ); +C_ASSERT( sizeof(HTML_SetCursor_t().eMouseCursor) >= 4 ); + +C_ASSERT( sizeof(HTML_ShowPopup_t) >= 4 ); +C_ASSERT( offsetof(HTML_ShowPopup_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_ShowPopup_t().unBrowserHandle) >= 4 ); + +C_ASSERT( sizeof(HTML_SizePopup_t) >= 20 ); +C_ASSERT( offsetof(HTML_SizePopup_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_SizePopup_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_SizePopup_t, unX) == 4 ); +C_ASSERT( sizeof(HTML_SizePopup_t().unX) >= 4 ); +C_ASSERT( offsetof(HTML_SizePopup_t, unY) == 8 ); +C_ASSERT( sizeof(HTML_SizePopup_t().unY) >= 4 ); +C_ASSERT( offsetof(HTML_SizePopup_t, unWide) == 12 ); +C_ASSERT( sizeof(HTML_SizePopup_t().unWide) >= 4 ); +C_ASSERT( offsetof(HTML_SizePopup_t, unTall) == 16 ); +C_ASSERT( sizeof(HTML_SizePopup_t().unTall) >= 4 ); + +C_ASSERT( sizeof(HTML_VerticalScroll_t) >= 24 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, unScrollMax) == 4 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().unScrollMax) >= 4 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, unScrollCurrent) == 8 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().unScrollCurrent) >= 4 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, flPageScale) == 12 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, bVisible) == 16 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().bVisible) >= 1 ); +C_ASSERT( offsetof(HTML_VerticalScroll_t, unPageSize) == 20 ); +C_ASSERT( sizeof(HTML_VerticalScroll_t().unPageSize) >= 4 ); + +C_ASSERT( sizeof(IPCFailure_t) >= 1 ); +C_ASSERT( offsetof(IPCFailure_t, m_eFailureType) == 0 ); +C_ASSERT( sizeof(IPCFailure_t().m_eFailureType) >= 1 ); + +C_ASSERT( sizeof(IPCountry_t) >= 1 ); + +C_ASSERT( sizeof(InputAnalogActionData_t) >= 13 ); +C_ASSERT( offsetof(InputAnalogActionData_t, eMode) == 0 ); +C_ASSERT( sizeof(InputAnalogActionData_t().eMode) >= 4 ); +C_ASSERT( offsetof(InputAnalogActionData_t, x) == 4 ); +C_ASSERT( sizeof(InputAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(InputAnalogActionData_t, y) == 8 ); +C_ASSERT( sizeof(InputAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(InputAnalogActionData_t, bActive) == 12 ); +C_ASSERT( sizeof(InputAnalogActionData_t().bActive) >= 1 ); + +C_ASSERT( sizeof(InputDigitalActionData_t) >= 2 ); +C_ASSERT( offsetof(InputDigitalActionData_t, bState) == 0 ); +C_ASSERT( sizeof(InputDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(InputDigitalActionData_t, bActive) == 1 ); +C_ASSERT( sizeof(InputDigitalActionData_t().bActive) >= 1 ); + +C_ASSERT( sizeof(InputMotionDataV2_t) >= 72 ); +C_ASSERT( offsetof(InputMotionDataV2_t, driftCorrectedQuatX) == 0 ); +C_ASSERT( sizeof(InputMotionDataV2_t().driftCorrectedQuatX) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, driftCorrectedQuatY) == 4 ); +C_ASSERT( sizeof(InputMotionDataV2_t().driftCorrectedQuatY) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, driftCorrectedQuatZ) == 8 ); +C_ASSERT( sizeof(InputMotionDataV2_t().driftCorrectedQuatZ) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, driftCorrectedQuatW) == 12 ); +C_ASSERT( sizeof(InputMotionDataV2_t().driftCorrectedQuatW) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, sensorFusionQuatX) == 16 ); +C_ASSERT( sizeof(InputMotionDataV2_t().sensorFusionQuatX) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, sensorFusionQuatY) == 20 ); +C_ASSERT( sizeof(InputMotionDataV2_t().sensorFusionQuatY) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, sensorFusionQuatZ) == 24 ); +C_ASSERT( sizeof(InputMotionDataV2_t().sensorFusionQuatZ) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, sensorFusionQuatW) == 28 ); +C_ASSERT( sizeof(InputMotionDataV2_t().sensorFusionQuatW) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, deferredSensorFusionQuatX) == 32 ); +C_ASSERT( sizeof(InputMotionDataV2_t().deferredSensorFusionQuatX) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, deferredSensorFusionQuatY) == 36 ); +C_ASSERT( sizeof(InputMotionDataV2_t().deferredSensorFusionQuatY) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, deferredSensorFusionQuatZ) == 40 ); +C_ASSERT( sizeof(InputMotionDataV2_t().deferredSensorFusionQuatZ) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, deferredSensorFusionQuatW) == 44 ); +C_ASSERT( sizeof(InputMotionDataV2_t().deferredSensorFusionQuatW) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, gravityX) == 48 ); +C_ASSERT( sizeof(InputMotionDataV2_t().gravityX) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, gravityY) == 52 ); +C_ASSERT( sizeof(InputMotionDataV2_t().gravityY) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, gravityZ) == 56 ); +C_ASSERT( sizeof(InputMotionDataV2_t().gravityZ) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, degreesPerSecondX) == 60 ); +C_ASSERT( sizeof(InputMotionDataV2_t().degreesPerSecondX) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, degreesPerSecondY) == 64 ); +C_ASSERT( sizeof(InputMotionDataV2_t().degreesPerSecondY) >= 4 ); +C_ASSERT( offsetof(InputMotionDataV2_t, degreesPerSecondZ) == 68 ); +C_ASSERT( sizeof(InputMotionDataV2_t().degreesPerSecondZ) >= 4 ); + +C_ASSERT( sizeof(InputMotionData_t) >= 40 ); +C_ASSERT( offsetof(InputMotionData_t, rotQuatX) == 0 ); +C_ASSERT( sizeof(InputMotionData_t().rotQuatX) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotQuatY) == 4 ); +C_ASSERT( sizeof(InputMotionData_t().rotQuatY) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotQuatZ) == 8 ); +C_ASSERT( sizeof(InputMotionData_t().rotQuatZ) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotQuatW) == 12 ); +C_ASSERT( sizeof(InputMotionData_t().rotQuatW) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, posAccelX) == 16 ); +C_ASSERT( sizeof(InputMotionData_t().posAccelX) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, posAccelY) == 20 ); +C_ASSERT( sizeof(InputMotionData_t().posAccelY) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, posAccelZ) == 24 ); +C_ASSERT( sizeof(InputMotionData_t().posAccelZ) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotVelX) == 28 ); +C_ASSERT( sizeof(InputMotionData_t().rotVelX) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotVelY) == 32 ); +C_ASSERT( sizeof(InputMotionData_t().rotVelY) >= 4 ); +C_ASSERT( offsetof(InputMotionData_t, rotVelZ) == 36 ); +C_ASSERT( sizeof(InputMotionData_t().rotVelZ) >= 4 ); + +C_ASSERT( sizeof(JoinClanChatRoomCompletionResult_t) >= 12 ); +C_ASSERT( offsetof(JoinClanChatRoomCompletionResult_t, m_steamIDClanChat) == 0 ); +C_ASSERT( sizeof(JoinClanChatRoomCompletionResult_t().m_steamIDClanChat) >= 8 ); +C_ASSERT( offsetof(JoinClanChatRoomCompletionResult_t, m_eChatRoomEnterResponse) == 8 ); +C_ASSERT( sizeof(JoinClanChatRoomCompletionResult_t().m_eChatRoomEnterResponse) >= 4 ); + +C_ASSERT( sizeof(LeaderboardFindResult_t) >= 16 ); +C_ASSERT( offsetof(LeaderboardFindResult_t, m_hSteamLeaderboard) == 0 ); +C_ASSERT( sizeof(LeaderboardFindResult_t().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(LeaderboardFindResult_t, m_bLeaderboardFound) == 8 ); +C_ASSERT( sizeof(LeaderboardFindResult_t().m_bLeaderboardFound) >= 1 ); + +C_ASSERT( sizeof(LeaderboardScoresDownloaded_t) >= 24 ); +C_ASSERT( offsetof(LeaderboardScoresDownloaded_t, m_hSteamLeaderboard) == 0 ); +C_ASSERT( sizeof(LeaderboardScoresDownloaded_t().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(LeaderboardScoresDownloaded_t, m_hSteamLeaderboardEntries) == 8 ); +C_ASSERT( sizeof(LeaderboardScoresDownloaded_t().m_hSteamLeaderboardEntries) >= 8 ); +C_ASSERT( offsetof(LeaderboardScoresDownloaded_t, m_cEntryCount) == 16 ); +C_ASSERT( sizeof(LeaderboardScoresDownloaded_t().m_cEntryCount) >= 4 ); + +C_ASSERT( sizeof(LicensesUpdated_t) >= 1 ); + +C_ASSERT( sizeof(LobbyChatMsg_t) >= 24 ); +C_ASSERT( offsetof(LobbyChatMsg_t, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyChatMsg_t().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyChatMsg_t, m_ulSteamIDUser) == 8 ); +C_ASSERT( sizeof(LobbyChatMsg_t().m_ulSteamIDUser) >= 8 ); +C_ASSERT( offsetof(LobbyChatMsg_t, m_eChatEntryType) == 16 ); +C_ASSERT( sizeof(LobbyChatMsg_t().m_eChatEntryType) >= 1 ); +C_ASSERT( offsetof(LobbyChatMsg_t, m_iChatID) == 20 ); +C_ASSERT( sizeof(LobbyChatMsg_t().m_iChatID) >= 4 ); + +C_ASSERT( sizeof(LobbyChatUpdate_t) >= 32 ); +C_ASSERT( offsetof(LobbyChatUpdate_t, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyChatUpdate_t().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyChatUpdate_t, m_ulSteamIDUserChanged) == 8 ); +C_ASSERT( sizeof(LobbyChatUpdate_t().m_ulSteamIDUserChanged) >= 8 ); +C_ASSERT( offsetof(LobbyChatUpdate_t, m_ulSteamIDMakingChange) == 16 ); +C_ASSERT( sizeof(LobbyChatUpdate_t().m_ulSteamIDMakingChange) >= 8 ); +C_ASSERT( offsetof(LobbyChatUpdate_t, m_rgfChatMemberStateChange) == 24 ); +C_ASSERT( sizeof(LobbyChatUpdate_t().m_rgfChatMemberStateChange) >= 4 ); + +C_ASSERT( sizeof(LobbyClosing_t) >= 8 ); +C_ASSERT( offsetof(LobbyClosing_t, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyClosing_t().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(LobbyDataUpdate_t_111x) >= 24 ); +C_ASSERT( offsetof(LobbyDataUpdate_t_111x, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyDataUpdate_t_111x().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyDataUpdate_t_111x, m_ulSteamIDMember) == 8 ); +C_ASSERT( sizeof(LobbyDataUpdate_t_111x().m_ulSteamIDMember) >= 8 ); +C_ASSERT( offsetof(LobbyDataUpdate_t_111x, m_bSuccess) == 16 ); +C_ASSERT( sizeof(LobbyDataUpdate_t_111x().m_bSuccess) >= 1 ); + +C_ASSERT( sizeof(LobbyDataUpdate_t_099u) >= 16 ); +C_ASSERT( offsetof(LobbyDataUpdate_t_099u, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyDataUpdate_t_099u().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyDataUpdate_t_099u, m_ulSteamIDMember) == 8 ); +C_ASSERT( sizeof(LobbyDataUpdate_t_099u().m_ulSteamIDMember) >= 8 ); + +C_ASSERT( sizeof(LobbyEnter_t) >= 24 ); +C_ASSERT( offsetof(LobbyEnter_t, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyEnter_t().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyEnter_t, m_rgfChatPermissions) == 8 ); +C_ASSERT( sizeof(LobbyEnter_t().m_rgfChatPermissions) >= 4 ); +C_ASSERT( offsetof(LobbyEnter_t, m_bLocked) == 12 ); +C_ASSERT( sizeof(LobbyEnter_t().m_bLocked) >= 1 ); +C_ASSERT( offsetof(LobbyEnter_t, m_EChatRoomEnterResponse) == 16 ); +C_ASSERT( sizeof(LobbyEnter_t().m_EChatRoomEnterResponse) >= 4 ); + +C_ASSERT( sizeof(LobbyGameCreated_t) >= 24 ); +C_ASSERT( offsetof(LobbyGameCreated_t, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyGameCreated_t().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyGameCreated_t, m_ulSteamIDGameServer) == 8 ); +C_ASSERT( sizeof(LobbyGameCreated_t().m_ulSteamIDGameServer) >= 8 ); +C_ASSERT( offsetof(LobbyGameCreated_t, m_unIP) == 16 ); +C_ASSERT( sizeof(LobbyGameCreated_t().m_unIP) >= 4 ); +C_ASSERT( offsetof(LobbyGameCreated_t, m_usPort) == 20 ); +C_ASSERT( sizeof(LobbyGameCreated_t().m_usPort) >= 2 ); + +C_ASSERT( sizeof(LobbyInvite_t_112x) >= 24 ); +C_ASSERT( offsetof(LobbyInvite_t_112x, m_ulSteamIDUser) == 0 ); +C_ASSERT( sizeof(LobbyInvite_t_112x().m_ulSteamIDUser) >= 8 ); +C_ASSERT( offsetof(LobbyInvite_t_112x, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(LobbyInvite_t_112x().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyInvite_t_112x, m_ulGameID) == 16 ); +C_ASSERT( sizeof(LobbyInvite_t_112x().m_ulGameID) >= 8 ); + +C_ASSERT( sizeof(LobbyInvite_t_099u) >= 16 ); +C_ASSERT( offsetof(LobbyInvite_t_099u, m_ulSteamIDUser) == 0 ); +C_ASSERT( sizeof(LobbyInvite_t_099u().m_ulSteamIDUser) >= 8 ); +C_ASSERT( offsetof(LobbyInvite_t_099u, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(LobbyInvite_t_099u().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(LobbyKicked_t_106) >= 24 ); +C_ASSERT( offsetof(LobbyKicked_t_106, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyKicked_t_106().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyKicked_t_106, m_ulSteamIDAdmin) == 8 ); +C_ASSERT( sizeof(LobbyKicked_t_106().m_ulSteamIDAdmin) >= 8 ); +C_ASSERT( offsetof(LobbyKicked_t_106, m_bKickedDueToDisconnect) == 16 ); +C_ASSERT( sizeof(LobbyKicked_t_106().m_bKickedDueToDisconnect) >= 1 ); + +C_ASSERT( sizeof(LobbyKicked_t_099u) >= 16 ); +C_ASSERT( offsetof(LobbyKicked_t_099u, m_ulSteamIDLobby) == 0 ); +C_ASSERT( sizeof(LobbyKicked_t_099u().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(LobbyKicked_t_099u, m_ulSteamIDAdmin) == 8 ); +C_ASSERT( sizeof(LobbyKicked_t_099u().m_ulSteamIDAdmin) >= 8 ); + +C_ASSERT( sizeof(LobbyMatchList_t) >= 4 ); +C_ASSERT( offsetof(LobbyMatchList_t, m_nLobbiesMatching) == 0 ); +C_ASSERT( sizeof(LobbyMatchList_t().m_nLobbiesMatching) >= 4 ); + +C_ASSERT( sizeof(LowBatteryPower_t) >= 1 ); +C_ASSERT( offsetof(LowBatteryPower_t, m_nMinutesBatteryLeft) == 0 ); +C_ASSERT( sizeof(LowBatteryPower_t().m_nMinutesBatteryLeft) >= 1 ); + +C_ASSERT( sizeof(MarketEligibilityResponse_t) >= 20 ); +C_ASSERT( offsetof(MarketEligibilityResponse_t, m_bAllowed) == 0 ); +C_ASSERT( sizeof(MarketEligibilityResponse_t().m_bAllowed) >= 1 ); +C_ASSERT( offsetof(MarketEligibilityResponse_t, m_eNotAllowedReason) == 4 ); +C_ASSERT( sizeof(MarketEligibilityResponse_t().m_eNotAllowedReason) >= 4 ); +C_ASSERT( offsetof(MarketEligibilityResponse_t, m_rtAllowedAtTime) == 8 ); +C_ASSERT( sizeof(MarketEligibilityResponse_t().m_rtAllowedAtTime) >= 4 ); +C_ASSERT( offsetof(MarketEligibilityResponse_t, m_cdaySteamGuardRequiredDays) == 12 ); +C_ASSERT( sizeof(MarketEligibilityResponse_t().m_cdaySteamGuardRequiredDays) >= 4 ); +C_ASSERT( offsetof(MarketEligibilityResponse_t, m_cdayNewDeviceCooldown) == 16 ); +C_ASSERT( sizeof(MarketEligibilityResponse_t().m_cdayNewDeviceCooldown) >= 4 ); + +C_ASSERT( sizeof(MatchMakingKeyValuePair_t) >= 512 ); +C_ASSERT( offsetof(MatchMakingKeyValuePair_t, m_szKey) == 0 ); +C_ASSERT( sizeof(MatchMakingKeyValuePair_t().m_szKey) >= 256 ); +C_ASSERT( offsetof(MatchMakingKeyValuePair_t, m_szValue) == 256 ); +C_ASSERT( sizeof(MatchMakingKeyValuePair_t().m_szValue) >= 256 ); + +C_ASSERT( sizeof(MusicPlayerRemoteToFront_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerRemoteWillActivate_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerRemoteWillDeactivate_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerSelectsPlaylistEntry_t) >= 4 ); +C_ASSERT( offsetof(MusicPlayerSelectsPlaylistEntry_t, nID) == 0 ); +C_ASSERT( sizeof(MusicPlayerSelectsPlaylistEntry_t().nID) >= 4 ); + +C_ASSERT( sizeof(MusicPlayerSelectsQueueEntry_t) >= 4 ); +C_ASSERT( offsetof(MusicPlayerSelectsQueueEntry_t, nID) == 0 ); +C_ASSERT( sizeof(MusicPlayerSelectsQueueEntry_t().nID) >= 4 ); + +C_ASSERT( sizeof(MusicPlayerWantsLooped_t) >= 1 ); +C_ASSERT( offsetof(MusicPlayerWantsLooped_t, m_bLooped) == 0 ); +C_ASSERT( sizeof(MusicPlayerWantsLooped_t().m_bLooped) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsPause_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsPlayNext_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsPlayPrevious_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsPlay_t) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsPlayingRepeatStatus_t) >= 4 ); +C_ASSERT( offsetof(MusicPlayerWantsPlayingRepeatStatus_t, m_nPlayingRepeatStatus) == 0 ); +C_ASSERT( sizeof(MusicPlayerWantsPlayingRepeatStatus_t().m_nPlayingRepeatStatus) >= 4 ); + +C_ASSERT( sizeof(MusicPlayerWantsShuffled_t) >= 1 ); +C_ASSERT( offsetof(MusicPlayerWantsShuffled_t, m_bShuffled) == 0 ); +C_ASSERT( sizeof(MusicPlayerWantsShuffled_t().m_bShuffled) >= 1 ); + +C_ASSERT( sizeof(MusicPlayerWantsVolume_t) >= 4 ); +C_ASSERT( offsetof(MusicPlayerWantsVolume_t, m_flNewVolume) == 0 ); +C_ASSERT( sizeof(MusicPlayerWantsVolume_t().m_flNewVolume) >= 4 ); + +C_ASSERT( sizeof(MusicPlayerWillQuit_t) >= 1 ); + +C_ASSERT( sizeof(NameHistoryResponse_t) >= 8 ); +C_ASSERT( offsetof(NameHistoryResponse_t, m_cSuccessfulLookups) == 0 ); +C_ASSERT( sizeof(NameHistoryResponse_t().m_cSuccessfulLookups) >= 4 ); +C_ASSERT( offsetof(NameHistoryResponse_t, m_cFailedLookups) == 4 ); +C_ASSERT( sizeof(NameHistoryResponse_t().m_cFailedLookups) >= 4 ); + +C_ASSERT( sizeof(NewLaunchQueryParameters_t) >= 1 ); + +C_ASSERT( sizeof(NewUrlLaunchParameters_t) >= 1 ); + +C_ASSERT( sizeof(NumberOfCurrentPlayers_t) >= 8 ); +C_ASSERT( offsetof(NumberOfCurrentPlayers_t, m_bSuccess) == 0 ); +C_ASSERT( sizeof(NumberOfCurrentPlayers_t().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(NumberOfCurrentPlayers_t, m_cPlayers) == 4 ); +C_ASSERT( sizeof(NumberOfCurrentPlayers_t().m_cPlayers) >= 4 ); + +C_ASSERT( sizeof(OverlayBrowserProtocolNavigation_t) >= 1024 ); +C_ASSERT( offsetof(OverlayBrowserProtocolNavigation_t, rgchURI) == 0 ); +C_ASSERT( sizeof(OverlayBrowserProtocolNavigation_t().rgchURI) >= 1024 ); + +C_ASSERT( sizeof(P2PSessionConnectFail_t) >= 9 ); +C_ASSERT( offsetof(P2PSessionConnectFail_t, m_steamIDRemote) == 0 ); +C_ASSERT( sizeof(P2PSessionConnectFail_t().m_steamIDRemote) >= 8 ); +C_ASSERT( offsetof(P2PSessionConnectFail_t, m_eP2PSessionError) == 8 ); +C_ASSERT( sizeof(P2PSessionConnectFail_t().m_eP2PSessionError) >= 1 ); + +C_ASSERT( sizeof(P2PSessionRequest_t) >= 8 ); +C_ASSERT( offsetof(P2PSessionRequest_t, m_steamIDRemote) == 0 ); +C_ASSERT( sizeof(P2PSessionRequest_t().m_steamIDRemote) >= 8 ); + +C_ASSERT( sizeof(P2PSessionState_t) >= 20 ); +C_ASSERT( offsetof(P2PSessionState_t, m_bConnectionActive) == 0 ); +C_ASSERT( sizeof(P2PSessionState_t().m_bConnectionActive) >= 1 ); +C_ASSERT( offsetof(P2PSessionState_t, m_bConnecting) == 1 ); +C_ASSERT( sizeof(P2PSessionState_t().m_bConnecting) >= 1 ); +C_ASSERT( offsetof(P2PSessionState_t, m_eP2PSessionError) == 2 ); +C_ASSERT( sizeof(P2PSessionState_t().m_eP2PSessionError) >= 1 ); +C_ASSERT( offsetof(P2PSessionState_t, m_bUsingRelay) == 3 ); +C_ASSERT( sizeof(P2PSessionState_t().m_bUsingRelay) >= 1 ); +C_ASSERT( offsetof(P2PSessionState_t, m_nBytesQueuedForSend) == 4 ); +C_ASSERT( sizeof(P2PSessionState_t().m_nBytesQueuedForSend) >= 4 ); +C_ASSERT( offsetof(P2PSessionState_t, m_nPacketsQueuedForSend) == 8 ); +C_ASSERT( sizeof(P2PSessionState_t().m_nPacketsQueuedForSend) >= 4 ); +C_ASSERT( offsetof(P2PSessionState_t, m_nRemoteIP) == 12 ); +C_ASSERT( sizeof(P2PSessionState_t().m_nRemoteIP) >= 4 ); +C_ASSERT( offsetof(P2PSessionState_t, m_nRemotePort) == 16 ); +C_ASSERT( sizeof(P2PSessionState_t().m_nRemotePort) >= 2 ); + +C_ASSERT( sizeof(PSNGameBootInviteResult_t) >= 9 ); +C_ASSERT( offsetof(PSNGameBootInviteResult_t, m_bGameBootInviteExists) == 0 ); +C_ASSERT( sizeof(PSNGameBootInviteResult_t().m_bGameBootInviteExists) >= 1 ); +C_ASSERT( offsetof(PSNGameBootInviteResult_t, m_steamIDLobby) == 1 ); +C_ASSERT( sizeof(PSNGameBootInviteResult_t().m_steamIDLobby) >= 8 ); + +C_ASSERT( sizeof(PersonaStateChange_t) >= 16 ); +C_ASSERT( offsetof(PersonaStateChange_t, m_ulSteamID) == 0 ); +C_ASSERT( sizeof(PersonaStateChange_t().m_ulSteamID) >= 8 ); +C_ASSERT( offsetof(PersonaStateChange_t, m_nChangeFlags) == 8 ); +C_ASSERT( sizeof(PersonaStateChange_t().m_nChangeFlags) >= 4 ); + +C_ASSERT( sizeof(PlaybackStatusHasChanged_t) >= 1 ); + +C_ASSERT( sizeof(RegisterActivationCodeResponse_t) >= 8 ); +C_ASSERT( offsetof(RegisterActivationCodeResponse_t, m_eResult) == 0 ); +C_ASSERT( sizeof(RegisterActivationCodeResponse_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(RegisterActivationCodeResponse_t, m_unPackageRegistered) == 4 ); +C_ASSERT( sizeof(RegisterActivationCodeResponse_t().m_unPackageRegistered) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageAppSyncStatusCheck_t) >= 8 ); +C_ASSERT( offsetof(RemoteStorageAppSyncStatusCheck_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(RemoteStorageAppSyncStatusCheck_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(RemoteStorageAppSyncStatusCheck_t, m_eResult) == 4 ); +C_ASSERT( sizeof(RemoteStorageAppSyncStatusCheck_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageAppSyncedClient_t) >= 12 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedClient_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedClient_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedClient_t, m_eResult) == 4 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedClient_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedClient_t, m_unNumDownloads) == 8 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedClient_t().m_unNumDownloads) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageAppSyncedServer_t) >= 12 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedServer_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedServer_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedServer_t, m_eResult) == 4 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedServer_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(RemoteStorageAppSyncedServer_t, m_unNumUploads) == 8 ); +C_ASSERT( sizeof(RemoteStorageAppSyncedServer_t().m_unNumUploads) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageConflictResolution_t) >= 8 ); +C_ASSERT( offsetof(RemoteStorageConflictResolution_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(RemoteStorageConflictResolution_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(RemoteStorageConflictResolution_t, m_eResult) == 4 ); +C_ASSERT( sizeof(RemoteStorageConflictResolution_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t) >= 616 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_eAction) == 4 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_eAction) >= 4 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_nResultsReturned) == 8 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_nTotalResultCount) == 12 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t, m_rgRTimeUpdated) == 416 ); +C_ASSERT( sizeof(RemoteStorageEnumeratePublishedFilesByUserActionResult_t().m_rgRTimeUpdated) >= 200 ); + +C_ASSERT( sizeof(RemoteStorageFileReadAsyncComplete_t) >= 24 ); +C_ASSERT( offsetof(RemoteStorageFileReadAsyncComplete_t, m_hFileReadAsync) == 0 ); +C_ASSERT( sizeof(RemoteStorageFileReadAsyncComplete_t().m_hFileReadAsync) >= 8 ); +C_ASSERT( offsetof(RemoteStorageFileReadAsyncComplete_t, m_eResult) == 8 ); +C_ASSERT( sizeof(RemoteStorageFileReadAsyncComplete_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(RemoteStorageFileReadAsyncComplete_t, m_nOffset) == 12 ); +C_ASSERT( sizeof(RemoteStorageFileReadAsyncComplete_t().m_nOffset) >= 4 ); +C_ASSERT( offsetof(RemoteStorageFileReadAsyncComplete_t, m_cubRead) == 16 ); +C_ASSERT( sizeof(RemoteStorageFileReadAsyncComplete_t().m_cubRead) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageFileWriteAsyncComplete_t) >= 4 ); +C_ASSERT( offsetof(RemoteStorageFileWriteAsyncComplete_t, m_eResult) == 0 ); +C_ASSERT( sizeof(RemoteStorageFileWriteAsyncComplete_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(RemoteStorageLocalFileChange_t) >= 1 ); + +C_ASSERT( sizeof(RemoteStoragePublishFileProgress_t) >= 16 ); +C_ASSERT( offsetof(RemoteStoragePublishFileProgress_t, m_dPercentFile) == 0 ); +C_ASSERT( sizeof(RemoteStoragePublishFileProgress_t().m_dPercentFile) >= 8 ); +C_ASSERT( offsetof(RemoteStoragePublishFileProgress_t, m_bPreview) == 8 ); +C_ASSERT( sizeof(RemoteStoragePublishFileProgress_t().m_bPreview) >= 1 ); + +C_ASSERT( sizeof(RemoteStoragePublishedFileDeleted_t) >= 16 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileDeleted_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileDeleted_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileDeleted_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileDeleted_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(RemoteStoragePublishedFileSubscribed_t) >= 16 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileSubscribed_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileSubscribed_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileSubscribed_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileSubscribed_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(RemoteStoragePublishedFileUnsubscribed_t) >= 16 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileUnsubscribed_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileUnsubscribed_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(RemoteStoragePublishedFileUnsubscribed_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(RemoteStoragePublishedFileUnsubscribed_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(RequestFriendsLobbiesResponse_t) >= 24 ); +C_ASSERT( offsetof(RequestFriendsLobbiesResponse_t, m_ulSteamIDFriend) == 0 ); +C_ASSERT( sizeof(RequestFriendsLobbiesResponse_t().m_ulSteamIDFriend) >= 8 ); +C_ASSERT( offsetof(RequestFriendsLobbiesResponse_t, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(RequestFriendsLobbiesResponse_t().m_ulSteamIDLobby) >= 8 ); +C_ASSERT( offsetof(RequestFriendsLobbiesResponse_t, m_cResultIndex) == 16 ); +C_ASSERT( sizeof(RequestFriendsLobbiesResponse_t().m_cResultIndex) >= 4 ); +C_ASSERT( offsetof(RequestFriendsLobbiesResponse_t, m_cResultsTotal) == 20 ); +C_ASSERT( sizeof(RequestFriendsLobbiesResponse_t().m_cResultsTotal) >= 4 ); + +C_ASSERT( sizeof(ReservationNotificationCallback_t) >= 16 ); +C_ASSERT( offsetof(ReservationNotificationCallback_t, m_ulBeaconID) == 0 ); +C_ASSERT( sizeof(ReservationNotificationCallback_t().m_ulBeaconID) >= 8 ); +C_ASSERT( offsetof(ReservationNotificationCallback_t, m_steamIDJoiner) == 8 ); +C_ASSERT( sizeof(ReservationNotificationCallback_t().m_steamIDJoiner) >= 8 ); + +C_ASSERT( sizeof(ScreenshotReady_t) >= 8 ); +C_ASSERT( offsetof(ScreenshotReady_t, m_hLocal) == 0 ); +C_ASSERT( sizeof(ScreenshotReady_t().m_hLocal) >= 4 ); +C_ASSERT( offsetof(ScreenshotReady_t, m_eResult) == 4 ); +C_ASSERT( sizeof(ScreenshotReady_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(ScreenshotRequested_t) >= 1 ); + +C_ASSERT( sizeof(SearchForGameProgressCallback_t) >= 40 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_ullSearchID) == 0 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_eResult) == 8 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_lobbyID) == 12 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_lobbyID) >= 8 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_steamIDEndedSearch) == 20 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_steamIDEndedSearch) >= 8 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_nSecondsRemainingEstimate) == 28 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_nSecondsRemainingEstimate) >= 4 ); +C_ASSERT( offsetof(SearchForGameProgressCallback_t, m_cPlayersSearching) == 32 ); +C_ASSERT( sizeof(SearchForGameProgressCallback_t().m_cPlayersSearching) >= 4 ); + +C_ASSERT( sizeof(SearchForGameResultCallback_t) >= 32 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_ullSearchID) == 0 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_eResult) == 8 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_nCountPlayersInGame) == 12 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_nCountPlayersInGame) >= 4 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_nCountAcceptedGame) == 16 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_nCountAcceptedGame) >= 4 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_steamIDHost) == 20 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_steamIDHost) >= 8 ); +C_ASSERT( offsetof(SearchForGameResultCallback_t, m_bFinalCallback) == 28 ); +C_ASSERT( sizeof(SearchForGameResultCallback_t().m_bFinalCallback) >= 1 ); + +C_ASSERT( sizeof(SetPersonaNameResponse_t) >= 8 ); +C_ASSERT( offsetof(SetPersonaNameResponse_t, m_bSuccess) == 0 ); +C_ASSERT( sizeof(SetPersonaNameResponse_t().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(SetPersonaNameResponse_t, m_bLocalSuccess) == 1 ); +C_ASSERT( sizeof(SetPersonaNameResponse_t().m_bLocalSuccess) >= 1 ); +C_ASSERT( offsetof(SetPersonaNameResponse_t, m_result) == 4 ); +C_ASSERT( sizeof(SetPersonaNameResponse_t().m_result) >= 4 ); + +C_ASSERT( sizeof(SetUserItemVoteResult_t) >= 16 ); +C_ASSERT( offsetof(SetUserItemVoteResult_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(SetUserItemVoteResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(SetUserItemVoteResult_t, m_eResult) == 8 ); +C_ASSERT( sizeof(SetUserItemVoteResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(SetUserItemVoteResult_t, m_bVoteUp) == 12 ); +C_ASSERT( sizeof(SetUserItemVoteResult_t().m_bVoteUp) >= 1 ); + +C_ASSERT( sizeof(SocketStatusCallback_t) >= 20 ); +C_ASSERT( offsetof(SocketStatusCallback_t, m_hSocket) == 0 ); +C_ASSERT( sizeof(SocketStatusCallback_t().m_hSocket) >= 4 ); +C_ASSERT( offsetof(SocketStatusCallback_t, m_hListenSocket) == 4 ); +C_ASSERT( sizeof(SocketStatusCallback_t().m_hListenSocket) >= 4 ); +C_ASSERT( offsetof(SocketStatusCallback_t, m_steamIDRemote) == 8 ); +C_ASSERT( sizeof(SocketStatusCallback_t().m_steamIDRemote) >= 8 ); +C_ASSERT( offsetof(SocketStatusCallback_t, m_eSNetSocketState) == 16 ); +C_ASSERT( sizeof(SocketStatusCallback_t().m_eSNetSocketState) >= 4 ); + +C_ASSERT( sizeof(StartPlaytimeTrackingResult_t) >= 4 ); +C_ASSERT( offsetof(StartPlaytimeTrackingResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(StartPlaytimeTrackingResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(SteamAPICallCompleted_t_137) >= 16 ); +C_ASSERT( offsetof(SteamAPICallCompleted_t_137, m_hAsyncCall) == 0 ); +C_ASSERT( sizeof(SteamAPICallCompleted_t_137().m_hAsyncCall) >= 8 ); +C_ASSERT( offsetof(SteamAPICallCompleted_t_137, m_iCallback) == 8 ); +C_ASSERT( sizeof(SteamAPICallCompleted_t_137().m_iCallback) >= 4 ); +C_ASSERT( offsetof(SteamAPICallCompleted_t_137, m_cubParam) == 12 ); +C_ASSERT( sizeof(SteamAPICallCompleted_t_137().m_cubParam) >= 4 ); + +C_ASSERT( sizeof(SteamAPICallCompleted_t_102x) >= 8 ); +C_ASSERT( offsetof(SteamAPICallCompleted_t_102x, m_hAsyncCall) == 0 ); +C_ASSERT( sizeof(SteamAPICallCompleted_t_102x().m_hAsyncCall) >= 8 ); + +C_ASSERT( sizeof(SteamAppInstalled_t_152) >= 8 ); +C_ASSERT( offsetof(SteamAppInstalled_t_152, m_nAppID) == 0 ); +C_ASSERT( sizeof(SteamAppInstalled_t_152().m_nAppID) >= 4 ); +C_ASSERT( offsetof(SteamAppInstalled_t_152, m_iInstallFolderIndex) == 4 ); +C_ASSERT( sizeof(SteamAppInstalled_t_152().m_iInstallFolderIndex) >= 4 ); + +C_ASSERT( sizeof(SteamAppInstalled_t_128x) >= 4 ); +C_ASSERT( offsetof(SteamAppInstalled_t_128x, m_nAppID) == 0 ); +C_ASSERT( sizeof(SteamAppInstalled_t_128x().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(SteamAppUninstalled_t_152) >= 8 ); +C_ASSERT( offsetof(SteamAppUninstalled_t_152, m_nAppID) == 0 ); +C_ASSERT( sizeof(SteamAppUninstalled_t_152().m_nAppID) >= 4 ); +C_ASSERT( offsetof(SteamAppUninstalled_t_152, m_iInstallFolderIndex) == 4 ); +C_ASSERT( sizeof(SteamAppUninstalled_t_152().m_iInstallFolderIndex) >= 4 ); + +C_ASSERT( sizeof(SteamAppUninstalled_t_128x) >= 4 ); +C_ASSERT( offsetof(SteamAppUninstalled_t_128x, m_nAppID) == 0 ); +C_ASSERT( sizeof(SteamAppUninstalled_t_128x().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(SteamCallback_t) >= 1 ); + +C_ASSERT( sizeof(SteamControllerState001_t) >= 20 ); +C_ASSERT( offsetof(SteamControllerState001_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(SteamControllerState001_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(SteamControllerState001_t, ulButtons) == 4 ); +C_ASSERT( sizeof(SteamControllerState001_t().ulButtons) >= 8 ); +C_ASSERT( offsetof(SteamControllerState001_t, sLeftPadX) == 12 ); +C_ASSERT( sizeof(SteamControllerState001_t().sLeftPadX) >= 2 ); +C_ASSERT( offsetof(SteamControllerState001_t, sLeftPadY) == 14 ); +C_ASSERT( sizeof(SteamControllerState001_t().sLeftPadY) >= 2 ); +C_ASSERT( offsetof(SteamControllerState001_t, sRightPadX) == 16 ); +C_ASSERT( sizeof(SteamControllerState001_t().sRightPadX) >= 2 ); +C_ASSERT( offsetof(SteamControllerState001_t, sRightPadY) == 18 ); +C_ASSERT( sizeof(SteamControllerState001_t().sRightPadY) >= 2 ); + +C_ASSERT( sizeof(SteamControllerState_t) >= 20 ); +C_ASSERT( offsetof(SteamControllerState_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(SteamControllerState_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(SteamControllerState_t, ulButtons) == 4 ); +C_ASSERT( sizeof(SteamControllerState_t().ulButtons) >= 8 ); +C_ASSERT( offsetof(SteamControllerState_t, sLeftPadX) == 12 ); +C_ASSERT( sizeof(SteamControllerState_t().sLeftPadX) >= 2 ); +C_ASSERT( offsetof(SteamControllerState_t, sLeftPadY) == 14 ); +C_ASSERT( sizeof(SteamControllerState_t().sLeftPadY) >= 2 ); +C_ASSERT( offsetof(SteamControllerState_t, sRightPadX) == 16 ); +C_ASSERT( sizeof(SteamControllerState_t().sRightPadX) >= 2 ); +C_ASSERT( offsetof(SteamControllerState_t, sRightPadY) == 18 ); +C_ASSERT( sizeof(SteamControllerState_t().sRightPadY) >= 2 ); + +C_ASSERT( sizeof(SteamInputActionEvent_t) >= 33 ); +C_ASSERT( offsetof(SteamInputActionEvent_t, controllerHandle) == 0 ); +C_ASSERT( sizeof(SteamInputActionEvent_t().controllerHandle) >= 8 ); +C_ASSERT( offsetof(SteamInputActionEvent_t, eEventType) == 8 ); +C_ASSERT( sizeof(SteamInputActionEvent_t().eEventType) >= 4 ); +C_ASSERT( offsetof(SteamInputActionEvent_t, x) == 12 ); +C_ASSERT( sizeof(SteamInputActionEvent_t().x) >= 21 ); + +C_ASSERT( sizeof(SteamInputDeviceConnected_t) >= 8 ); +C_ASSERT( offsetof(SteamInputDeviceConnected_t, m_ulConnectedDeviceHandle) == 0 ); +C_ASSERT( sizeof(SteamInputDeviceConnected_t().m_ulConnectedDeviceHandle) >= 8 ); + +C_ASSERT( sizeof(SteamInputDeviceDisconnected_t) >= 8 ); +C_ASSERT( offsetof(SteamInputDeviceDisconnected_t, m_ulDisconnectedDeviceHandle) == 0 ); +C_ASSERT( sizeof(SteamInputDeviceDisconnected_t().m_ulDisconnectedDeviceHandle) >= 8 ); + +C_ASSERT( sizeof(SteamInventoryDefinitionUpdate_t) >= 1 ); + +C_ASSERT( sizeof(SteamInventoryEligiblePromoItemDefIDs_t) >= 20 ); +C_ASSERT( offsetof(SteamInventoryEligiblePromoItemDefIDs_t, m_result) == 0 ); +C_ASSERT( sizeof(SteamInventoryEligiblePromoItemDefIDs_t().m_result) >= 4 ); +C_ASSERT( offsetof(SteamInventoryEligiblePromoItemDefIDs_t, m_steamID) == 4 ); +C_ASSERT( sizeof(SteamInventoryEligiblePromoItemDefIDs_t().m_steamID) >= 8 ); +C_ASSERT( offsetof(SteamInventoryEligiblePromoItemDefIDs_t, m_numEligiblePromoItemDefs) == 12 ); +C_ASSERT( sizeof(SteamInventoryEligiblePromoItemDefIDs_t().m_numEligiblePromoItemDefs) >= 4 ); +C_ASSERT( offsetof(SteamInventoryEligiblePromoItemDefIDs_t, m_bCachedData) == 16 ); +C_ASSERT( sizeof(SteamInventoryEligiblePromoItemDefIDs_t().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(SteamInventoryFullUpdate_t) >= 4 ); +C_ASSERT( offsetof(SteamInventoryFullUpdate_t, m_handle) == 0 ); +C_ASSERT( sizeof(SteamInventoryFullUpdate_t().m_handle) >= 4 ); + +C_ASSERT( sizeof(SteamInventoryRequestPricesResult_t) >= 8 ); +C_ASSERT( offsetof(SteamInventoryRequestPricesResult_t, m_result) == 0 ); +C_ASSERT( sizeof(SteamInventoryRequestPricesResult_t().m_result) >= 4 ); +C_ASSERT( offsetof(SteamInventoryRequestPricesResult_t, m_rgchCurrency) == 4 ); +C_ASSERT( sizeof(SteamInventoryRequestPricesResult_t().m_rgchCurrency) >= 4 ); + +C_ASSERT( sizeof(SteamInventoryResultReady_t) >= 8 ); +C_ASSERT( offsetof(SteamInventoryResultReady_t, m_handle) == 0 ); +C_ASSERT( sizeof(SteamInventoryResultReady_t().m_handle) >= 4 ); +C_ASSERT( offsetof(SteamInventoryResultReady_t, m_result) == 4 ); +C_ASSERT( sizeof(SteamInventoryResultReady_t().m_result) >= 4 ); + +C_ASSERT( sizeof(SteamItemDetails_t) >= 16 ); +C_ASSERT( offsetof(SteamItemDetails_t, m_itemId) == 0 ); +C_ASSERT( sizeof(SteamItemDetails_t().m_itemId) >= 8 ); +C_ASSERT( offsetof(SteamItemDetails_t, m_iDefinition) == 8 ); +C_ASSERT( sizeof(SteamItemDetails_t().m_iDefinition) >= 4 ); +C_ASSERT( offsetof(SteamItemDetails_t, m_unQuantity) == 12 ); +C_ASSERT( sizeof(SteamItemDetails_t().m_unQuantity) >= 2 ); +C_ASSERT( offsetof(SteamItemDetails_t, m_unFlags) == 14 ); +C_ASSERT( sizeof(SteamItemDetails_t().m_unFlags) >= 2 ); + +C_ASSERT( sizeof(SteamNetAuthenticationStatus_t) >= 260 ); +C_ASSERT( offsetof(SteamNetAuthenticationStatus_t, m_eAvail) == 0 ); +C_ASSERT( sizeof(SteamNetAuthenticationStatus_t().m_eAvail) >= 4 ); +C_ASSERT( offsetof(SteamNetAuthenticationStatus_t, m_debugMsg) == 4 ); +C_ASSERT( sizeof(SteamNetAuthenticationStatus_t().m_debugMsg) >= 256 ); + +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t) >= 64 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, m_cbPendingUnreliable) == 0 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t().m_cbPendingUnreliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, m_cbPendingReliable) == 4 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t().m_cbPendingReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, m_cbSentUnackedReliable) == 8 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t().m_cbSentUnackedReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, _reservePad1) == 12 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t()._reservePad1) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, m_usecQueueTime) == 16 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t().m_usecQueueTime) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeLaneStatus_t, reserved) == 24 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeLaneStatus_t().reserved) >= 40 ); + +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t) >= 120 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_eState) == 0 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_eState) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_nPing) == 4 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_nPing) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flConnectionQualityLocal) == 8 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flConnectionQualityLocal) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flConnectionQualityRemote) == 12 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flConnectionQualityRemote) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flOutPacketsPerSec) == 16 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flOutPacketsPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flOutBytesPerSec) == 20 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flOutBytesPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flInPacketsPerSec) == 24 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flInPacketsPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_flInBytesPerSec) == 28 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_flInBytesPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_nSendRateBytesPerSecond) == 32 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_nSendRateBytesPerSecond) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_cbPendingUnreliable) == 36 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_cbPendingUnreliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_cbPendingReliable) == 40 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_cbPendingReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_cbSentUnackedReliable) == 44 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_cbSentUnackedReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, m_usecQueueTime) == 48 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().m_usecQueueTime) >= 8 ); +C_ASSERT( offsetof(SteamNetConnectionRealTimeStatus_t, reserved) == 56 ); +C_ASSERT( sizeof(SteamNetConnectionRealTimeStatus_t().reserved) >= 64 ); + +C_ASSERT( sizeof(SteamNetworkPingLocation_t) >= 512 ); +C_ASSERT( offsetof(SteamNetworkPingLocation_t, m_data) == 0 ); +C_ASSERT( sizeof(SteamNetworkPingLocation_t().m_data) >= 512 ); + +C_ASSERT( sizeof(SteamNetworkingConfigValue_t) >= 16 ); +C_ASSERT( offsetof(SteamNetworkingConfigValue_t, m_eValue) == 0 ); +C_ASSERT( sizeof(SteamNetworkingConfigValue_t().m_eValue) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingConfigValue_t, m_eDataType) == 4 ); +C_ASSERT( sizeof(SteamNetworkingConfigValue_t().m_eDataType) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingConfigValue_t, m_val) == 8 ); +C_ASSERT( sizeof(SteamNetworkingConfigValue_t().m_val) >= 8 ); + +C_ASSERT( sizeof(SteamNetworkingFakeIPResult_t) >= 160 ); +C_ASSERT( offsetof(SteamNetworkingFakeIPResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(SteamNetworkingFakeIPResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingFakeIPResult_t, m_identity) == 4 ); +C_ASSERT( sizeof(SteamNetworkingFakeIPResult_t().m_identity) >= 136 ); +C_ASSERT( offsetof(SteamNetworkingFakeIPResult_t, m_unIP) == 140 ); +C_ASSERT( sizeof(SteamNetworkingFakeIPResult_t().m_unIP) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingFakeIPResult_t, m_unPorts) == 144 ); +C_ASSERT( sizeof(SteamNetworkingFakeIPResult_t().m_unPorts) >= 16 ); + +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_153a) >= 696 ); +C_ASSERT( offsetof(SteamNetworkingMessagesSessionFailed_t_153a, m_info) == 0 ); +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_153a().m_info) >= 696 ); + +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_150) >= 696 ); +C_ASSERT( offsetof(SteamNetworkingMessagesSessionFailed_t_150, m_info) == 0 ); +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_150().m_info) >= 696 ); + +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_151) >= 568 ); +C_ASSERT( offsetof(SteamNetworkingMessagesSessionFailed_t_151, m_info) == 0 ); +C_ASSERT( sizeof(SteamNetworkingMessagesSessionFailed_t_151().m_info) >= 568 ); + +C_ASSERT( sizeof(SteamNetworkingMessagesSessionRequest_t_150) >= 136 ); +C_ASSERT( offsetof(SteamNetworkingMessagesSessionRequest_t_150, m_identityRemote) == 0 ); +C_ASSERT( sizeof(SteamNetworkingMessagesSessionRequest_t_150().m_identityRemote) >= 136 ); + +C_ASSERT( sizeof(SteamNetworkingMessagesSessionRequest_t_151) >= 8 ); +C_ASSERT( offsetof(SteamNetworkingMessagesSessionRequest_t_151, m_identityRemote) == 0 ); +C_ASSERT( sizeof(SteamNetworkingMessagesSessionRequest_t_151().m_identityRemote) >= 8 ); + +C_ASSERT( sizeof(SteamNetworkingPOPIDRender) >= 8 ); +C_ASSERT( offsetof(SteamNetworkingPOPIDRender, buf) == 0 ); +C_ASSERT( sizeof(SteamNetworkingPOPIDRender().buf) >= 8 ); + +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus) >= 120 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_eState) == 0 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_eState) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_nPing) == 4 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_nPing) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flConnectionQualityLocal) == 8 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flConnectionQualityLocal) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flConnectionQualityRemote) == 12 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flConnectionQualityRemote) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flOutPacketsPerSec) == 16 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flOutPacketsPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flOutBytesPerSec) == 20 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flOutBytesPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flInPacketsPerSec) == 24 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flInPacketsPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_flInBytesPerSec) == 28 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_flInBytesPerSec) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_nSendRateBytesPerSecond) == 32 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_nSendRateBytesPerSecond) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_cbPendingUnreliable) == 36 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_cbPendingUnreliable) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_cbPendingReliable) == 40 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_cbPendingReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_cbSentUnackedReliable) == 44 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_cbSentUnackedReliable) >= 4 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, m_usecQueueTime) == 48 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().m_usecQueueTime) >= 8 ); +C_ASSERT( offsetof(SteamNetworkingQuickConnectionStatus, reserved) == 56 ); +C_ASSERT( sizeof(SteamNetworkingQuickConnectionStatus().reserved) >= 64 ); + +C_ASSERT( sizeof(SteamParentalSettingsChanged_t) >= 1 ); + +C_ASSERT( sizeof(SteamRelayNetworkStatus_t) >= 272 ); +C_ASSERT( offsetof(SteamRelayNetworkStatus_t, m_eAvail) == 0 ); +C_ASSERT( sizeof(SteamRelayNetworkStatus_t().m_eAvail) >= 4 ); +C_ASSERT( offsetof(SteamRelayNetworkStatus_t, m_bPingMeasurementInProgress) == 4 ); +C_ASSERT( sizeof(SteamRelayNetworkStatus_t().m_bPingMeasurementInProgress) >= 4 ); +C_ASSERT( offsetof(SteamRelayNetworkStatus_t, m_eAvailNetworkConfig) == 8 ); +C_ASSERT( sizeof(SteamRelayNetworkStatus_t().m_eAvailNetworkConfig) >= 4 ); +C_ASSERT( offsetof(SteamRelayNetworkStatus_t, m_eAvailAnyRelay) == 12 ); +C_ASSERT( sizeof(SteamRelayNetworkStatus_t().m_eAvailAnyRelay) >= 4 ); +C_ASSERT( offsetof(SteamRelayNetworkStatus_t, m_debugMsg) == 16 ); +C_ASSERT( sizeof(SteamRelayNetworkStatus_t().m_debugMsg) >= 256 ); + +C_ASSERT( sizeof(SteamRemotePlaySessionConnected_t) >= 4 ); +C_ASSERT( offsetof(SteamRemotePlaySessionConnected_t, m_unSessionID) == 0 ); +C_ASSERT( sizeof(SteamRemotePlaySessionConnected_t().m_unSessionID) >= 4 ); + +C_ASSERT( sizeof(SteamRemotePlaySessionDisconnected_t) >= 4 ); +C_ASSERT( offsetof(SteamRemotePlaySessionDisconnected_t, m_unSessionID) == 0 ); +C_ASSERT( sizeof(SteamRemotePlaySessionDisconnected_t().m_unSessionID) >= 4 ); + +C_ASSERT( sizeof(SteamRemotePlayTogetherGuestInvite_t) >= 1024 ); +C_ASSERT( offsetof(SteamRemotePlayTogetherGuestInvite_t, m_szConnectURL) == 0 ); +C_ASSERT( sizeof(SteamRemotePlayTogetherGuestInvite_t().m_szConnectURL) >= 1024 ); + +C_ASSERT( sizeof(SteamServerConnectFailure_t_135) >= 8 ); +C_ASSERT( offsetof(SteamServerConnectFailure_t_135, m_eResult) == 0 ); +C_ASSERT( sizeof(SteamServerConnectFailure_t_135().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamServerConnectFailure_t_135, m_bStillRetrying) == 4 ); +C_ASSERT( sizeof(SteamServerConnectFailure_t_135().m_bStillRetrying) >= 1 ); + +C_ASSERT( sizeof(SteamServerConnectFailure_t_099u) >= 4 ); +C_ASSERT( offsetof(SteamServerConnectFailure_t_099u, m_eResult) == 0 ); +C_ASSERT( sizeof(SteamServerConnectFailure_t_099u().m_eResult) >= 4 ); + +C_ASSERT( sizeof(SteamServersConnected_t) >= 1 ); + +C_ASSERT( sizeof(SteamServersDisconnected_t) >= 4 ); +C_ASSERT( offsetof(SteamServersDisconnected_t, m_eResult) == 0 ); +C_ASSERT( sizeof(SteamServersDisconnected_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(SteamShutdown_t) >= 1 ); + +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143) >= 280 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_handle) == 0 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_handle) >= 8 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_eResult) == 8 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_unNumResultsReturned) == 12 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_unNumResultsReturned) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_unTotalMatchingResults) == 16 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_unTotalMatchingResults) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_bCachedData) == 20 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_bCachedData) >= 1 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_143, m_rgchNextCursor) == 21 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_143().m_rgchNextCursor) >= 256 ); + +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x) >= 24 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_128x, m_handle) == 0 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x().m_handle) >= 8 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_128x, m_eResult) == 8 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_128x, m_unNumResultsReturned) == 12 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x().m_unNumResultsReturned) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_128x, m_unTotalMatchingResults) == 16 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x().m_unTotalMatchingResults) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_128x, m_bCachedData) == 20 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_128x().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_126) >= 24 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_126, m_handle) == 0 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_126().m_handle) >= 8 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_126, m_eResult) == 8 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_126, m_unNumResultsReturned) == 12 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_126().m_unNumResultsReturned) >= 4 ); +C_ASSERT( offsetof(SteamUGCQueryCompleted_t_126, m_unTotalMatchingResults) == 16 ); +C_ASSERT( sizeof(SteamUGCQueryCompleted_t_126().m_unTotalMatchingResults) >= 4 ); + +C_ASSERT( sizeof(SteamUnifiedMessagesSendMethodResult_t) >= 24 ); +C_ASSERT( offsetof(SteamUnifiedMessagesSendMethodResult_t, m_hHandle) == 0 ); +C_ASSERT( sizeof(SteamUnifiedMessagesSendMethodResult_t().m_hHandle) >= 8 ); +C_ASSERT( offsetof(SteamUnifiedMessagesSendMethodResult_t, m_unContext) == 8 ); +C_ASSERT( sizeof(SteamUnifiedMessagesSendMethodResult_t().m_unContext) >= 8 ); +C_ASSERT( offsetof(SteamUnifiedMessagesSendMethodResult_t, m_eResult) == 16 ); +C_ASSERT( sizeof(SteamUnifiedMessagesSendMethodResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(SteamUnifiedMessagesSendMethodResult_t, m_unResponseSize) == 20 ); +C_ASSERT( sizeof(SteamUnifiedMessagesSendMethodResult_t().m_unResponseSize) >= 4 ); + +C_ASSERT( sizeof(StopPlaytimeTrackingResult_t) >= 4 ); +C_ASSERT( offsetof(StopPlaytimeTrackingResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(StopPlaytimeTrackingResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(StoreAuthURLResponse_t) >= 512 ); +C_ASSERT( offsetof(StoreAuthURLResponse_t, m_szURL) == 0 ); +C_ASSERT( sizeof(StoreAuthURLResponse_t().m_szURL) >= 512 ); + +C_ASSERT( sizeof(SubmitItemUpdateResult_t_141) >= 16 ); +C_ASSERT( offsetof(SubmitItemUpdateResult_t_141, m_eResult) == 0 ); +C_ASSERT( sizeof(SubmitItemUpdateResult_t_141().m_eResult) >= 4 ); +C_ASSERT( offsetof(SubmitItemUpdateResult_t_141, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 4 ); +C_ASSERT( sizeof(SubmitItemUpdateResult_t_141().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); +C_ASSERT( offsetof(SubmitItemUpdateResult_t_141, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(SubmitItemUpdateResult_t_141().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(SubmitItemUpdateResult_t_130) >= 8 ); +C_ASSERT( offsetof(SubmitItemUpdateResult_t_130, m_eResult) == 0 ); +C_ASSERT( sizeof(SubmitItemUpdateResult_t_130().m_eResult) >= 4 ); +C_ASSERT( offsetof(SubmitItemUpdateResult_t_130, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 4 ); +C_ASSERT( sizeof(SubmitItemUpdateResult_t_130().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(TimedTrialStatus_t) >= 16 ); +C_ASSERT( offsetof(TimedTrialStatus_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(TimedTrialStatus_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(TimedTrialStatus_t, m_bIsOffline) == 4 ); +C_ASSERT( sizeof(TimedTrialStatus_t().m_bIsOffline) >= 1 ); +C_ASSERT( offsetof(TimedTrialStatus_t, m_unSecondsAllowed) == 8 ); +C_ASSERT( sizeof(TimedTrialStatus_t().m_unSecondsAllowed) >= 4 ); +C_ASSERT( offsetof(TimedTrialStatus_t, m_unSecondsPlayed) == 12 ); +C_ASSERT( sizeof(TimedTrialStatus_t().m_unSecondsPlayed) >= 4 ); + +C_ASSERT( sizeof(UnreadChatMessagesChanged_t) >= 1 ); + +C_ASSERT( sizeof(UserAchievementIconFetched_t) >= 144 ); +C_ASSERT( offsetof(UserAchievementIconFetched_t, m_nGameID) == 0 ); +C_ASSERT( sizeof(UserAchievementIconFetched_t().m_nGameID) >= 8 ); +C_ASSERT( offsetof(UserAchievementIconFetched_t, m_rgchAchievementName) == 8 ); +C_ASSERT( sizeof(UserAchievementIconFetched_t().m_rgchAchievementName) >= 128 ); +C_ASSERT( offsetof(UserAchievementIconFetched_t, m_bAchieved) == 136 ); +C_ASSERT( sizeof(UserAchievementIconFetched_t().m_bAchieved) >= 1 ); +C_ASSERT( offsetof(UserAchievementIconFetched_t, m_nIconHandle) == 140 ); +C_ASSERT( sizeof(UserAchievementIconFetched_t().m_nIconHandle) >= 4 ); + +C_ASSERT( sizeof(UserAchievementStored_t) >= 152 ); +C_ASSERT( offsetof(UserAchievementStored_t, m_nGameID) == 0 ); +C_ASSERT( sizeof(UserAchievementStored_t().m_nGameID) >= 8 ); +C_ASSERT( offsetof(UserAchievementStored_t, m_bGroupAchievement) == 8 ); +C_ASSERT( sizeof(UserAchievementStored_t().m_bGroupAchievement) >= 1 ); +C_ASSERT( offsetof(UserAchievementStored_t, m_rgchAchievementName) == 9 ); +C_ASSERT( sizeof(UserAchievementStored_t().m_rgchAchievementName) >= 128 ); +C_ASSERT( offsetof(UserAchievementStored_t, m_nCurProgress) == 140 ); +C_ASSERT( sizeof(UserAchievementStored_t().m_nCurProgress) >= 4 ); +C_ASSERT( offsetof(UserAchievementStored_t, m_nMaxProgress) == 144 ); +C_ASSERT( sizeof(UserAchievementStored_t().m_nMaxProgress) >= 4 ); + +C_ASSERT( sizeof(UserFavoriteItemsListChanged_t) >= 16 ); +C_ASSERT( offsetof(UserFavoriteItemsListChanged_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(UserFavoriteItemsListChanged_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(UserFavoriteItemsListChanged_t, m_eResult) == 8 ); +C_ASSERT( sizeof(UserFavoriteItemsListChanged_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(UserFavoriteItemsListChanged_t, m_bWasAddRequest) == 12 ); +C_ASSERT( sizeof(UserFavoriteItemsListChanged_t().m_bWasAddRequest) >= 1 ); + +C_ASSERT( sizeof(UserStatsReceived_t_102x) >= 24 ); +C_ASSERT( offsetof(UserStatsReceived_t_102x, m_nGameID) == 0 ); +C_ASSERT( sizeof(UserStatsReceived_t_102x().m_nGameID) >= 8 ); +C_ASSERT( offsetof(UserStatsReceived_t_102x, m_eResult) == 8 ); +C_ASSERT( sizeof(UserStatsReceived_t_102x().m_eResult) >= 4 ); +C_ASSERT( offsetof(UserStatsReceived_t_102x, m_steamIDUser) == 12 ); +C_ASSERT( sizeof(UserStatsReceived_t_102x().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(UserStatsReceived_t_099u) >= 16 ); +C_ASSERT( offsetof(UserStatsReceived_t_099u, m_nGameID) == 0 ); +C_ASSERT( sizeof(UserStatsReceived_t_099u().m_nGameID) >= 8 ); +C_ASSERT( offsetof(UserStatsReceived_t_099u, m_eResult) == 8 ); +C_ASSERT( sizeof(UserStatsReceived_t_099u().m_eResult) >= 4 ); + +C_ASSERT( sizeof(UserStatsStored_t) >= 16 ); +C_ASSERT( offsetof(UserStatsStored_t, m_nGameID) == 0 ); +C_ASSERT( sizeof(UserStatsStored_t().m_nGameID) >= 8 ); +C_ASSERT( offsetof(UserStatsStored_t, m_eResult) == 8 ); +C_ASSERT( sizeof(UserStatsStored_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(UserStatsUnloaded_t) >= 8 ); +C_ASSERT( offsetof(UserStatsUnloaded_t, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(UserStatsUnloaded_t().m_steamIDUser) >= 8 ); + +C_ASSERT( sizeof(UserSubscribedItemsListChanged_t) >= 4 ); +C_ASSERT( offsetof(UserSubscribedItemsListChanged_t, m_nAppID) == 0 ); +C_ASSERT( sizeof(UserSubscribedItemsListChanged_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_126) >= 20 ); +C_ASSERT( offsetof(ValidateAuthTicketResponse_t_126, m_SteamID) == 0 ); +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_126().m_SteamID) >= 8 ); +C_ASSERT( offsetof(ValidateAuthTicketResponse_t_126, m_eAuthSessionResponse) == 8 ); +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_126().m_eAuthSessionResponse) >= 4 ); +C_ASSERT( offsetof(ValidateAuthTicketResponse_t_126, m_OwnerSteamID) == 12 ); +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_126().m_OwnerSteamID) >= 8 ); + +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_104) >= 12 ); +C_ASSERT( offsetof(ValidateAuthTicketResponse_t_104, m_SteamID) == 0 ); +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_104().m_SteamID) >= 8 ); +C_ASSERT( offsetof(ValidateAuthTicketResponse_t_104, m_eAuthSessionResponse) == 8 ); +C_ASSERT( sizeof(ValidateAuthTicketResponse_t_104().m_eAuthSessionResponse) >= 4 ); + +C_ASSERT( sizeof(VolumeHasChanged_t) >= 4 ); +C_ASSERT( offsetof(VolumeHasChanged_t, m_flNewVolume) == 0 ); +C_ASSERT( sizeof(VolumeHasChanged_t().m_flNewVolume) >= 4 ); + +C_ASSERT( sizeof(WorkshopEULAStatus_t) >= 20 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_eResult) == 0 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_nAppID) == 4 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_unVersion) == 8 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_unVersion) >= 4 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_rtAction) == 12 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_rtAction) >= 4 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_bAccepted) == 16 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_bAccepted) >= 1 ); +C_ASSERT( offsetof(WorkshopEULAStatus_t, m_bNeedsAction) == 17 ); +C_ASSERT( sizeof(WorkshopEULAStatus_t().m_bNeedsAction) >= 1 ); + +C_ASSERT( sizeof(gameserveritem_t_105) >= 372 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_NetAdr) == 0 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_NetAdr) >= 8 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nPing) == 8 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nPing) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_bHadSuccessfulResponse) == 12 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_bHadSuccessfulResponse) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_bDoNotRefresh) == 13 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_bDoNotRefresh) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_szGameDir) == 14 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_szGameDir) >= 32 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_szMap) == 46 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_szMap) >= 32 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_szGameDescription) == 78 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_szGameDescription) >= 64 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nAppID) == 144 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nAppID) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nPlayers) == 148 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nMaxPlayers) == 152 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nMaxPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nBotPlayers) == 156 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nBotPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_bPassword) == 160 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_bPassword) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_bSecure) == 161 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_bSecure) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_ulTimeLastPlayed) == 164 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_ulTimeLastPlayed) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_nServerVersion) == 168 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_nServerVersion) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_szServerName) == 172 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_szServerName) >= 64 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_szGameTags) == 236 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_szGameTags) >= 128 ); +C_ASSERT( offsetof(gameserveritem_t_105, m_steamID) == 364 ); +C_ASSERT( sizeof(gameserveritem_t_105().m_steamID) >= 8 ); + +C_ASSERT( sizeof(gameserveritem_t_099u) >= 364 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_NetAdr) == 0 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_NetAdr) >= 8 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nPing) == 8 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nPing) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_bHadSuccessfulResponse) == 12 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_bHadSuccessfulResponse) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_bDoNotRefresh) == 13 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_bDoNotRefresh) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_szGameDir) == 14 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_szGameDir) >= 32 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_szMap) == 46 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_szMap) >= 32 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_szGameDescription) == 78 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_szGameDescription) >= 64 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nAppID) == 144 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nAppID) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nPlayers) == 148 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nMaxPlayers) == 152 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nMaxPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nBotPlayers) == 156 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nBotPlayers) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_bPassword) == 160 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_bPassword) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_bSecure) == 161 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_bSecure) >= 1 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_ulTimeLastPlayed) == 164 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_ulTimeLastPlayed) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_nServerVersion) == 168 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_nServerVersion) >= 4 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_szServerName) == 172 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_szServerName) >= 64 ); +C_ASSERT( offsetof(gameserveritem_t_099u, m_szGameTags) == 236 ); +C_ASSERT( sizeof(gameserveritem_t_099u().m_szGameTags) >= 128 ); + +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x) >= 9776 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_eResult) == 8 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_eFileType) == 12 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_ulSteamIDOwner) == 8160 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rtimeCreated) == 8168 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rtimeUpdated) == 8172 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rtimeAddedToUserList) == 8176 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_eVisibility) == 8180 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_bBanned) == 8184 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_bAcceptedForUse) == 8185 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_bTagsTruncated) == 8186 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rgchTags) == 8187 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_hFile) == 9216 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_hPreviewFile) == 9224 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_pchFileName) == 9232 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_nFileSize) == 9492 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_nPreviewFileSize) == 9496 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_rgchURL) == 9500 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_unVotesUp) == 9756 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_unVotesDown) == 9760 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_flScore) == 9764 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_flScore) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_128x, m_unNumChildren) == 9768 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_128x().m_unNumChildren) >= 4 ); + +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x) >= 9764 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_eResult) == 8 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_eFileType) == 12 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_ulSteamIDOwner) == 8156 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rtimeCreated) == 8164 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rtimeUpdated) == 8168 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rtimeAddedToUserList) == 8172 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_eVisibility) == 8176 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_bBanned) == 8180 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_bAcceptedForUse) == 8181 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_bTagsTruncated) == 8182 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rgchTags) == 8183 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_hFile) == 9208 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_hPreviewFile) == 9216 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_pchFileName) == 9224 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_unVotesUp) == 9748 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_unVotesDown) == 9752 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_flScore) == 9756 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_flScore) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_128x, m_unNumChildren) == 9760 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_128x().m_unNumChildren) >= 4 ); + +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x) >= 9776 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_eResult) == 8 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_eFileType) == 12 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_ulSteamIDOwner) == 8160 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rtimeCreated) == 8168 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rtimeUpdated) == 8172 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rtimeAddedToUserList) == 8176 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_eVisibility) == 8180 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_bBanned) == 8184 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_bAcceptedForUse) == 8185 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_bTagsTruncated) == 8186 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rgchTags) == 8187 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_hFile) == 9216 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_hPreviewFile) == 9224 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_pchFileName) == 9232 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_nFileSize) == 9492 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_nPreviewFileSize) == 9496 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_rgchURL) == 9500 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_unVotesUp) == 9756 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_unVotesDown) == 9760 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_flScore) == 9764 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_flScore) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_128x, m_unNumChildren) == 9768 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_128x().m_unNumChildren) >= 4 ); + +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x) >= 9764 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_eResult) == 8 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_eFileType) == 12 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_ulSteamIDOwner) == 8156 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rtimeCreated) == 8164 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rtimeUpdated) == 8168 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rtimeAddedToUserList) == 8172 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_eVisibility) == 8176 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_bBanned) == 8180 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_bAcceptedForUse) == 8181 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_bTagsTruncated) == 8182 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rgchTags) == 8183 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_hFile) == 9208 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_hPreviewFile) == 9216 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_pchFileName) == 9224 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_unVotesUp) == 9748 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_unVotesDown) == 9752 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_flScore) == 9756 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_flScore) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_128x, m_unNumChildren) == 9760 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_128x().m_unNumChildren) >= 4 ); + +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126) >= 9768 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_eResult) == 8 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_eFileType) == 12 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_ulSteamIDOwner) == 8160 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rtimeCreated) == 8168 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rtimeUpdated) == 8172 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rtimeAddedToUserList) == 8176 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_eVisibility) == 8180 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_bBanned) == 8184 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_bAcceptedForUse) == 8185 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_bTagsTruncated) == 8186 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rgchTags) == 8187 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_hFile) == 9216 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_hPreviewFile) == 9224 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_pchFileName) == 9232 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_nFileSize) == 9492 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_nPreviewFileSize) == 9496 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_rgchURL) == 9500 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_unVotesUp) == 9756 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_unVotesDown) == 9760 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(w64_SteamUGCDetails_t_126, m_flScore) == 9764 ); +C_ASSERT( sizeof(w64_SteamUGCDetails_t_126().m_flScore) >= 4 ); + +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126) >= 9760 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_eResult) == 8 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_eFileType) == 12 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_ulSteamIDOwner) == 8156 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rtimeCreated) == 8164 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rtimeUpdated) == 8168 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rtimeAddedToUserList) == 8172 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_eVisibility) == 8176 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_bBanned) == 8180 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_bAcceptedForUse) == 8181 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_bTagsTruncated) == 8182 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rgchTags) == 8183 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_hFile) == 9208 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_hPreviewFile) == 9216 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_pchFileName) == 9224 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_unVotesUp) == 9748 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_unVotesDown) == 9752 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(u64_SteamUGCDetails_t_126, m_flScore) == 9756 ); +C_ASSERT( sizeof(u64_SteamUGCDetails_t_126().m_flScore) >= 4 ); + +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126) >= 9768 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_eResult) == 8 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_eFileType) == 12 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_ulSteamIDOwner) == 8160 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rtimeCreated) == 8168 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rtimeUpdated) == 8172 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rtimeAddedToUserList) == 8176 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_eVisibility) == 8180 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_bBanned) == 8184 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_bAcceptedForUse) == 8185 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_bTagsTruncated) == 8186 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rgchTags) == 8187 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_hFile) == 9216 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_hPreviewFile) == 9224 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_pchFileName) == 9232 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_nFileSize) == 9492 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_nPreviewFileSize) == 9496 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_rgchURL) == 9500 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_unVotesUp) == 9756 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_unVotesDown) == 9760 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(w32_SteamUGCDetails_t_126, m_flScore) == 9764 ); +C_ASSERT( sizeof(w32_SteamUGCDetails_t_126().m_flScore) >= 4 ); + +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126) >= 9760 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_eResult) == 8 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_eFileType) == 12 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_ulSteamIDOwner) == 8156 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rtimeCreated) == 8164 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rtimeUpdated) == 8168 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rtimeAddedToUserList) == 8172 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rtimeAddedToUserList) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_eVisibility) == 8176 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_bBanned) == 8180 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_bAcceptedForUse) == 8181 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_bAcceptedForUse) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_bTagsTruncated) == 8182 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rgchTags) == 8183 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_hFile) == 9208 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_hPreviewFile) == 9216 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_pchFileName) == 9224 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_unVotesUp) == 9748 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_unVotesUp) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_unVotesDown) == 9752 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_unVotesDown) >= 4 ); +C_ASSERT( offsetof(u32_SteamUGCDetails_t_126, m_flScore) == 9756 ); +C_ASSERT( sizeof(u32_SteamUGCDetails_t_126().m_flScore) >= 4 ); + +#ifdef __x86_64__ +w64_SteamUGCDetails_t_128x::operator u64_SteamUGCDetails_t_128x() const +{ + u64_SteamUGCDetails_t_128x ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + ret.m_unNumChildren = this->m_unNumChildren; + return ret; +} + +u64_SteamUGCDetails_t_128x::operator w64_SteamUGCDetails_t_128x() const +{ + w64_SteamUGCDetails_t_128x ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + ret.m_unNumChildren = this->m_unNumChildren; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamUGCDetails_t_128x::operator u32_SteamUGCDetails_t_128x() const +{ + u32_SteamUGCDetails_t_128x ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + ret.m_unNumChildren = this->m_unNumChildren; + return ret; +} + +u32_SteamUGCDetails_t_128x::operator w32_SteamUGCDetails_t_128x() const +{ + w32_SteamUGCDetails_t_128x ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + ret.m_unNumChildren = this->m_unNumChildren; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_SteamUGCDetails_t_126::operator u64_SteamUGCDetails_t_126() const +{ + u64_SteamUGCDetails_t_126 ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + return ret; +} + +u64_SteamUGCDetails_t_126::operator w64_SteamUGCDetails_t_126() const +{ + w64_SteamUGCDetails_t_126 ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamUGCDetails_t_126::operator u32_SteamUGCDetails_t_126() const +{ + u32_SteamUGCDetails_t_126 ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + return ret; +} + +u32_SteamUGCDetails_t_126::operator w32_SteamUGCDetails_t_126() const +{ + w32_SteamUGCDetails_t_126 ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + ret.m_eFileType = this->m_eFileType; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_rtimeAddedToUserList = this->m_rtimeAddedToUserList; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_rgchTags = this->m_rgchTags; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_unVotesUp = this->m_unVotesUp; + ret.m_unVotesDown = this->m_unVotesDown; + ret.m_flScore = this->m_flScore; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_AddAppDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w64_AddAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_AddAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_AddAppDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_AddAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_AddAppDependencyResult_t, m_nAppID) == 16 ); +C_ASSERT( sizeof(w64_AddAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(u64_AddAppDependencyResult_t) >= 16 ); +C_ASSERT( offsetof(u64_AddAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_AddAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_AddAppDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_AddAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_AddAppDependencyResult_t, m_nAppID) == 12 ); +C_ASSERT( sizeof(u64_AddAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(w32_AddAppDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w32_AddAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_AddAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_AddAppDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_AddAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_AddAppDependencyResult_t, m_nAppID) == 16 ); +C_ASSERT( sizeof(w32_AddAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(u32_AddAppDependencyResult_t) >= 16 ); +C_ASSERT( offsetof(u32_AddAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_AddAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_AddAppDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_AddAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_AddAppDependencyResult_t, m_nAppID) == 12 ); +C_ASSERT( sizeof(u32_AddAppDependencyResult_t().m_nAppID) >= 4 ); + +#ifdef __x86_64__ +w64_AddAppDependencyResult_t::operator u64_AddAppDependencyResult_t() const +{ + u64_AddAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} + +u64_AddAppDependencyResult_t::operator w64_AddAppDependencyResult_t() const +{ + w64_AddAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} +#endif + +#ifdef __i386__ +w32_AddAppDependencyResult_t::operator u32_AddAppDependencyResult_t() const +{ + u32_AddAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} + +u32_AddAppDependencyResult_t::operator w32_AddAppDependencyResult_t() const +{ + w32_AddAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_AddUGCDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w64_AddUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_AddUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_AddUGCDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_AddUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_AddUGCDependencyResult_t, m_nChildPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_AddUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_AddUGCDependencyResult_t) >= 20 ); +C_ASSERT( offsetof(u64_AddUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_AddUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_AddUGCDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_AddUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_AddUGCDependencyResult_t, m_nChildPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_AddUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_AddUGCDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w32_AddUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_AddUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_AddUGCDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_AddUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_AddUGCDependencyResult_t, m_nChildPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_AddUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_AddUGCDependencyResult_t) >= 20 ); +C_ASSERT( offsetof(u32_AddUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_AddUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_AddUGCDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_AddUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_AddUGCDependencyResult_t, m_nChildPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_AddUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_AddUGCDependencyResult_t::operator u64_AddUGCDependencyResult_t() const +{ + u64_AddUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} + +u64_AddUGCDependencyResult_t::operator w64_AddUGCDependencyResult_t() const +{ + w64_AddUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_AddUGCDependencyResult_t::operator u32_AddUGCDependencyResult_t() const +{ + u32_AddUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} + +u32_AddUGCDependencyResult_t::operator w32_AddUGCDependencyResult_t() const +{ + w32_AddUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_CSteamAPIContext_143) >= 184 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamGameSearch) == 40 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamGameSearch) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamUserStats) == 48 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamApps) == 56 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamMatchmakingServers) == 64 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamNetworking) == 72 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamRemoteStorage) == 80 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamScreenshots) == 88 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamHTTP) == 96 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pController) == 104 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pController) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamParentalSettings) == 168 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamParentalSettings) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_143, m_pSteamInput) == 176 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_143().m_pSteamInput) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamAPIContext_143) >= 184 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamGameSearch) == 40 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamGameSearch) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamUserStats) == 48 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamApps) == 56 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamMatchmakingServers) == 64 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamNetworking) == 72 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamRemoteStorage) == 80 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamScreenshots) == 88 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamHTTP) == 96 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pController) == 104 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pController) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamParentalSettings) == 168 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamParentalSettings) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_143, m_pSteamInput) == 176 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_143().m_pSteamInput) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamAPIContext_143) >= 92 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamGameSearch) == 20 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamGameSearch) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamUserStats) == 24 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamApps) == 28 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamMatchmakingServers) == 32 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamNetworking) == 36 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamRemoteStorage) == 40 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamScreenshots) == 44 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamHTTP) == 48 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pController) == 52 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pController) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamParentalSettings) == 84 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamParentalSettings) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_143, m_pSteamInput) == 88 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_143().m_pSteamInput) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamAPIContext_143) >= 92 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamGameSearch) == 20 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamGameSearch) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamUserStats) == 24 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamApps) == 28 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamMatchmakingServers) == 32 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamNetworking) == 36 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamRemoteStorage) == 40 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamScreenshots) == 44 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamHTTP) == 48 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pController) == 52 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pController) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamParentalSettings) == 84 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamParentalSettings) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_143, m_pSteamInput) == 88 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_143().m_pSteamInput) >= 4 ); + +C_ASSERT( sizeof(w64_CSteamAPIContext_145) >= 192 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamGameSearch) == 40 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamGameSearch) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamUserStats) == 48 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamApps) == 56 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamMatchmakingServers) == 64 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamNetworking) == 72 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamRemoteStorage) == 80 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamScreenshots) == 88 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamHTTP) == 96 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pController) == 104 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pController) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamTV) == 168 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamTV) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamParentalSettings) == 176 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamParentalSettings) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_145, m_pSteamInput) == 184 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_145().m_pSteamInput) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamAPIContext_145) >= 192 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamGameSearch) == 40 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamGameSearch) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamUserStats) == 48 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamApps) == 56 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamMatchmakingServers) == 64 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamNetworking) == 72 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamRemoteStorage) == 80 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamScreenshots) == 88 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamHTTP) == 96 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pController) == 104 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pController) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamTV) == 168 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamTV) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamParentalSettings) == 176 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamParentalSettings) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_145, m_pSteamInput) == 184 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_145().m_pSteamInput) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamAPIContext_145) >= 96 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamGameSearch) == 20 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamGameSearch) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamUserStats) == 24 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamApps) == 28 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamMatchmakingServers) == 32 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamNetworking) == 36 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamRemoteStorage) == 40 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamScreenshots) == 44 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamHTTP) == 48 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pController) == 52 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pController) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamTV) == 84 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamTV) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamParentalSettings) == 88 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamParentalSettings) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_145, m_pSteamInput) == 92 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_145().m_pSteamInput) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamAPIContext_145) >= 96 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamGameSearch) == 20 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamGameSearch) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamUserStats) == 24 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamApps) == 28 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamMatchmakingServers) == 32 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamNetworking) == 36 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamRemoteStorage) == 40 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamScreenshots) == 44 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamHTTP) == 48 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pController) == 52 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pController) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamTV) == 84 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamTV) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamParentalSettings) == 88 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamParentalSettings) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_145, m_pSteamInput) == 92 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_145().m_pSteamInput) >= 4 ); + +C_ASSERT( sizeof(w64_CSteamAPIContext_137) >= 168 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamUserStats) == 40 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamApps) == 48 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamMatchmakingServers) == 56 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamNetworking) == 64 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamRemoteStorage) == 72 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamScreenshots) == 80 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamHTTP) == 88 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pController) == 96 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pController) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamUGC) == 104 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamAppList) == 112 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamMusic) == 120 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamMusicRemote) == 128 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamHTMLSurface) == 136 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamInventory) == 144 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamVideo) == 152 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_137, m_pSteamParentalSettings) == 160 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_137().m_pSteamParentalSettings) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamAPIContext_137) >= 168 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamUserStats) == 40 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamApps) == 48 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamMatchmakingServers) == 56 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamNetworking) == 64 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamRemoteStorage) == 72 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamScreenshots) == 80 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamHTTP) == 88 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pController) == 96 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pController) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamUGC) == 104 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamAppList) == 112 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamMusic) == 120 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamMusicRemote) == 128 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamHTMLSurface) == 136 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamInventory) == 144 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamVideo) == 152 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_137, m_pSteamParentalSettings) == 160 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_137().m_pSteamParentalSettings) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamAPIContext_137) >= 84 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamUserStats) == 20 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamApps) == 24 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamMatchmakingServers) == 28 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamNetworking) == 32 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamRemoteStorage) == 36 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamScreenshots) == 40 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamHTTP) == 44 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pController) == 48 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pController) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamUGC) == 52 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamAppList) == 56 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamMusic) == 60 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamMusicRemote) == 64 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamHTMLSurface) == 68 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamInventory) == 72 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamVideo) == 76 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_137, m_pSteamParentalSettings) == 80 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_137().m_pSteamParentalSettings) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamAPIContext_137) >= 84 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamUserStats) == 20 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamApps) == 24 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamMatchmakingServers) == 28 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamNetworking) == 32 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamRemoteStorage) == 36 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamScreenshots) == 40 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamHTTP) == 44 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pController) == 48 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pController) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamUGC) == 52 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamAppList) == 56 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamMusic) == 60 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamMusicRemote) == 64 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamHTMLSurface) == 68 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamInventory) == 72 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamVideo) == 76 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_137, m_pSteamParentalSettings) == 80 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_137().m_pSteamParentalSettings) >= 4 ); + +C_ASSERT( sizeof(w64_CSteamAPIContext_141) >= 176 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamUserStats) == 40 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamApps) == 48 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamMatchmakingServers) == 56 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamNetworking) == 64 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamRemoteStorage) == 72 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamScreenshots) == 80 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamHTTP) == 88 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamUnifiedMessages) == 96 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamUnifiedMessages) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pController) == 104 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pController) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(w64_CSteamAPIContext_141, m_pSteamParentalSettings) == 168 ); +C_ASSERT( sizeof(w64_CSteamAPIContext_141().m_pSteamParentalSettings) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamAPIContext_141) >= 176 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamUser) == 8 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamUser) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamFriends) == 16 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamFriends) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamUtils) == 24 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamMatchmaking) == 32 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamMatchmaking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamUserStats) == 40 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamUserStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamApps) == 48 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamApps) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamMatchmakingServers) == 56 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamMatchmakingServers) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamNetworking) == 64 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamRemoteStorage) == 72 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamRemoteStorage) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamScreenshots) == 80 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamHTTP) == 88 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamUnifiedMessages) == 96 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamUnifiedMessages) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pController) == 104 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pController) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamUGC) == 112 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamAppList) == 120 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamAppList) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamMusic) == 128 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamMusic) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamMusicRemote) == 136 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamMusicRemote) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamHTMLSurface) == 144 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamHTMLSurface) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamInventory) == 152 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamVideo) == 160 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamVideo) >= 8 ); +C_ASSERT( offsetof(u64_CSteamAPIContext_141, m_pSteamParentalSettings) == 168 ); +C_ASSERT( sizeof(u64_CSteamAPIContext_141().m_pSteamParentalSettings) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamAPIContext_141) >= 88 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamUserStats) == 20 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamApps) == 24 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamMatchmakingServers) == 28 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamNetworking) == 32 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamRemoteStorage) == 36 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamScreenshots) == 40 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamHTTP) == 44 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamUnifiedMessages) == 48 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamUnifiedMessages) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pController) == 52 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pController) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(w32_CSteamAPIContext_141, m_pSteamParentalSettings) == 84 ); +C_ASSERT( sizeof(w32_CSteamAPIContext_141().m_pSteamParentalSettings) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamAPIContext_141) >= 88 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamUser) == 4 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamUser) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamFriends) == 8 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamFriends) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamUtils) == 12 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamMatchmaking) == 16 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamMatchmaking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamUserStats) == 20 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamUserStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamApps) == 24 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamApps) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamMatchmakingServers) == 28 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamMatchmakingServers) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamNetworking) == 32 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamRemoteStorage) == 36 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamRemoteStorage) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamScreenshots) == 40 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamHTTP) == 44 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamUnifiedMessages) == 48 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamUnifiedMessages) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pController) == 52 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pController) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamAppList) == 60 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamAppList) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamMusic) == 64 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamMusic) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamMusicRemote) == 68 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamMusicRemote) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamHTMLSurface) == 72 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamHTMLSurface) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamInventory) == 76 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamVideo) == 80 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamVideo) >= 4 ); +C_ASSERT( offsetof(u32_CSteamAPIContext_141, m_pSteamParentalSettings) == 84 ); +C_ASSERT( sizeof(u32_CSteamAPIContext_141().m_pSteamParentalSettings) >= 4 ); + +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152) >= 64 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamGameServer) == 8 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamGameServer) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamGameServerUtils) == 16 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamGameServerUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamGameServerNetworking) == 24 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamGameServerNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamGameServerStats) == 32 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamGameServerStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamHTTP) == 40 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamInventory) == 48 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_152, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_152().m_pSteamUGC) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152) >= 64 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamGameServer) == 8 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamGameServer) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamGameServerUtils) == 16 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamGameServerUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamGameServerNetworking) == 24 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamGameServerNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamGameServerStats) == 32 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamGameServerStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamHTTP) == 40 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamInventory) == 48 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_152, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_152().m_pSteamUGC) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152) >= 32 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamGameServer) == 4 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamGameServer) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamGameServerUtils) == 8 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamGameServerUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamGameServerNetworking) == 12 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamGameServerNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamGameServerStats) == 16 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamGameServerStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamHTTP) == 20 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamInventory) == 24 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_152, m_pSteamUGC) == 28 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_152().m_pSteamUGC) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152) >= 32 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamGameServer) == 4 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamGameServer) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamGameServerUtils) == 8 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamGameServerUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamGameServerNetworking) == 12 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamGameServerNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamGameServerStats) == 16 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamGameServerStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamHTTP) == 20 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamInventory) == 24 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_152, m_pSteamUGC) == 28 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_152().m_pSteamUGC) >= 4 ); + +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143) >= 72 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamGameServer) == 8 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamGameServer) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamGameServerUtils) == 16 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamGameServerUtils) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamGameServerNetworking) == 24 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamGameServerNetworking) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamGameServerStats) == 32 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamGameServerStats) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamHTTP) == 40 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamInventory) == 48 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(w64_CSteamGameServerAPIContext_143, m_pSteamApps) == 64 ); +C_ASSERT( sizeof(w64_CSteamGameServerAPIContext_143().m_pSteamApps) >= 8 ); + +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143) >= 72 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamClient) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamGameServer) == 8 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamGameServer) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamGameServerUtils) == 16 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamGameServerUtils) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamGameServerNetworking) == 24 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamGameServerNetworking) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamGameServerStats) == 32 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamGameServerStats) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamHTTP) == 40 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamHTTP) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamInventory) == 48 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamInventory) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamUGC) == 56 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamUGC) >= 8 ); +C_ASSERT( offsetof(u64_CSteamGameServerAPIContext_143, m_pSteamApps) == 64 ); +C_ASSERT( sizeof(u64_CSteamGameServerAPIContext_143().m_pSteamApps) >= 8 ); + +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143) >= 36 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamGameServer) == 4 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamGameServer) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamGameServerUtils) == 8 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamGameServerUtils) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamGameServerNetworking) == 12 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamGameServerNetworking) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamGameServerStats) == 16 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamGameServerStats) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamHTTP) == 20 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamInventory) == 24 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamUGC) == 28 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(w32_CSteamGameServerAPIContext_143, m_pSteamApps) == 32 ); +C_ASSERT( sizeof(w32_CSteamGameServerAPIContext_143().m_pSteamApps) >= 4 ); + +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143) >= 36 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamClient) == 0 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamClient) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamGameServer) == 4 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamGameServer) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamGameServerUtils) == 8 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamGameServerUtils) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamGameServerNetworking) == 12 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamGameServerNetworking) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamGameServerStats) == 16 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamGameServerStats) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamHTTP) == 20 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamHTTP) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamInventory) == 24 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamInventory) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamUGC) == 28 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamUGC) >= 4 ); +C_ASSERT( offsetof(u32_CSteamGameServerAPIContext_143, m_pSteamApps) == 32 ); +C_ASSERT( sizeof(u32_CSteamGameServerAPIContext_143().m_pSteamApps) >= 4 ); + +C_ASSERT( sizeof(w64_CallbackMsg_t) >= 24 ); +C_ASSERT( offsetof(w64_CallbackMsg_t, m_hSteamUser) == 0 ); +C_ASSERT( sizeof(w64_CallbackMsg_t().m_hSteamUser) >= 4 ); +C_ASSERT( offsetof(w64_CallbackMsg_t, m_iCallback) == 4 ); +C_ASSERT( sizeof(w64_CallbackMsg_t().m_iCallback) >= 4 ); +C_ASSERT( offsetof(w64_CallbackMsg_t, m_pubParam) == 8 ); +C_ASSERT( sizeof(w64_CallbackMsg_t().m_pubParam) >= 8 ); +C_ASSERT( offsetof(w64_CallbackMsg_t, m_cubParam) == 16 ); +C_ASSERT( sizeof(w64_CallbackMsg_t().m_cubParam) >= 4 ); + +C_ASSERT( sizeof(u64_CallbackMsg_t) >= 20 ); +C_ASSERT( offsetof(u64_CallbackMsg_t, m_hSteamUser) == 0 ); +C_ASSERT( sizeof(u64_CallbackMsg_t().m_hSteamUser) >= 4 ); +C_ASSERT( offsetof(u64_CallbackMsg_t, m_iCallback) == 4 ); +C_ASSERT( sizeof(u64_CallbackMsg_t().m_iCallback) >= 4 ); +C_ASSERT( offsetof(u64_CallbackMsg_t, m_pubParam) == 8 ); +C_ASSERT( sizeof(u64_CallbackMsg_t().m_pubParam) >= 8 ); +C_ASSERT( offsetof(u64_CallbackMsg_t, m_cubParam) == 16 ); +C_ASSERT( sizeof(u64_CallbackMsg_t().m_cubParam) >= 4 ); + +C_ASSERT( sizeof(w32_CallbackMsg_t) >= 16 ); +C_ASSERT( offsetof(w32_CallbackMsg_t, m_hSteamUser) == 0 ); +C_ASSERT( sizeof(w32_CallbackMsg_t().m_hSteamUser) >= 4 ); +C_ASSERT( offsetof(w32_CallbackMsg_t, m_iCallback) == 4 ); +C_ASSERT( sizeof(w32_CallbackMsg_t().m_iCallback) >= 4 ); +C_ASSERT( offsetof(w32_CallbackMsg_t, m_pubParam) == 8 ); +C_ASSERT( sizeof(w32_CallbackMsg_t().m_pubParam) >= 4 ); +C_ASSERT( offsetof(w32_CallbackMsg_t, m_cubParam) == 12 ); +C_ASSERT( sizeof(w32_CallbackMsg_t().m_cubParam) >= 4 ); + +C_ASSERT( sizeof(u32_CallbackMsg_t) >= 16 ); +C_ASSERT( offsetof(u32_CallbackMsg_t, m_hSteamUser) == 0 ); +C_ASSERT( sizeof(u32_CallbackMsg_t().m_hSteamUser) >= 4 ); +C_ASSERT( offsetof(u32_CallbackMsg_t, m_iCallback) == 4 ); +C_ASSERT( sizeof(u32_CallbackMsg_t().m_iCallback) >= 4 ); +C_ASSERT( offsetof(u32_CallbackMsg_t, m_pubParam) == 8 ); +C_ASSERT( sizeof(u32_CallbackMsg_t().m_pubParam) >= 4 ); +C_ASSERT( offsetof(u32_CallbackMsg_t, m_cubParam) == 12 ); +C_ASSERT( sizeof(u32_CallbackMsg_t().m_cubParam) >= 4 ); + +C_ASSERT( sizeof(w64_CreateBeaconCallback_t) >= 16 ); +C_ASSERT( offsetof(w64_CreateBeaconCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_CreateBeaconCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_CreateBeaconCallback_t, m_ulBeaconID) == 8 ); +C_ASSERT( sizeof(w64_CreateBeaconCallback_t().m_ulBeaconID) >= 8 ); + +C_ASSERT( sizeof(u64_CreateBeaconCallback_t) >= 12 ); +C_ASSERT( offsetof(u64_CreateBeaconCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_CreateBeaconCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_CreateBeaconCallback_t, m_ulBeaconID) == 4 ); +C_ASSERT( sizeof(u64_CreateBeaconCallback_t().m_ulBeaconID) >= 8 ); + +C_ASSERT( sizeof(w32_CreateBeaconCallback_t) >= 16 ); +C_ASSERT( offsetof(w32_CreateBeaconCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_CreateBeaconCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_CreateBeaconCallback_t, m_ulBeaconID) == 8 ); +C_ASSERT( sizeof(w32_CreateBeaconCallback_t().m_ulBeaconID) >= 8 ); + +C_ASSERT( sizeof(u32_CreateBeaconCallback_t) >= 12 ); +C_ASSERT( offsetof(u32_CreateBeaconCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_CreateBeaconCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_CreateBeaconCallback_t, m_ulBeaconID) == 4 ); +C_ASSERT( sizeof(u32_CreateBeaconCallback_t().m_ulBeaconID) >= 8 ); + +#ifdef __x86_64__ +w64_CreateBeaconCallback_t::operator u64_CreateBeaconCallback_t() const +{ + u64_CreateBeaconCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + return ret; +} + +u64_CreateBeaconCallback_t::operator w64_CreateBeaconCallback_t() const +{ + w64_CreateBeaconCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + return ret; +} +#endif + +#ifdef __i386__ +w32_CreateBeaconCallback_t::operator u32_CreateBeaconCallback_t() const +{ + u32_CreateBeaconCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + return ret; +} + +u32_CreateBeaconCallback_t::operator w32_CreateBeaconCallback_t() const +{ + w32_CreateBeaconCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_CreateItemResult_t) >= 24 ); +C_ASSERT( offsetof(w64_CreateItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_CreateItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_CreateItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_CreateItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_CreateItemResult_t, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w64_CreateItemResult_t().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u64_CreateItemResult_t) >= 16 ); +C_ASSERT( offsetof(u64_CreateItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_CreateItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_CreateItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_CreateItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_CreateItemResult_t, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u64_CreateItemResult_t().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(w32_CreateItemResult_t) >= 24 ); +C_ASSERT( offsetof(w32_CreateItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_CreateItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_CreateItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_CreateItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_CreateItemResult_t, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w32_CreateItemResult_t().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u32_CreateItemResult_t) >= 16 ); +C_ASSERT( offsetof(u32_CreateItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_CreateItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_CreateItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_CreateItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_CreateItemResult_t, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u32_CreateItemResult_t().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +#ifdef __x86_64__ +w64_CreateItemResult_t::operator u64_CreateItemResult_t() const +{ + u64_CreateItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u64_CreateItemResult_t::operator w64_CreateItemResult_t() const +{ + w64_CreateItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +#ifdef __i386__ +w32_CreateItemResult_t::operator u32_CreateItemResult_t() const +{ + u32_CreateItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u32_CreateItemResult_t::operator w32_CreateItemResult_t() const +{ + w32_CreateItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_DeleteItemResult_t) >= 16 ); +C_ASSERT( offsetof(w64_DeleteItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_DeleteItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_DeleteItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_DeleteItemResult_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_DeleteItemResult_t) >= 12 ); +C_ASSERT( offsetof(u64_DeleteItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_DeleteItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_DeleteItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_DeleteItemResult_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_DeleteItemResult_t) >= 16 ); +C_ASSERT( offsetof(w32_DeleteItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_DeleteItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_DeleteItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_DeleteItemResult_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_DeleteItemResult_t) >= 12 ); +C_ASSERT( offsetof(u32_DeleteItemResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_DeleteItemResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_DeleteItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_DeleteItemResult_t().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_DeleteItemResult_t::operator u64_DeleteItemResult_t() const +{ + u64_DeleteItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_DeleteItemResult_t::operator w64_DeleteItemResult_t() const +{ + w64_DeleteItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_DeleteItemResult_t::operator u32_DeleteItemResult_t() const +{ + u32_DeleteItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_DeleteItemResult_t::operator w32_DeleteItemResult_t() const +{ + w32_DeleteItemResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_DownloadItemResult_t) >= 24 ); +C_ASSERT( offsetof(w64_DownloadItemResult_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_DownloadItemResult_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_DownloadItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_DownloadItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_DownloadItemResult_t, m_eResult) == 16 ); +C_ASSERT( sizeof(w64_DownloadItemResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u64_DownloadItemResult_t) >= 16 ); +C_ASSERT( offsetof(u64_DownloadItemResult_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_DownloadItemResult_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_DownloadItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_DownloadItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_DownloadItemResult_t, m_eResult) == 12 ); +C_ASSERT( sizeof(u64_DownloadItemResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(w32_DownloadItemResult_t) >= 24 ); +C_ASSERT( offsetof(w32_DownloadItemResult_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_DownloadItemResult_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_DownloadItemResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_DownloadItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_DownloadItemResult_t, m_eResult) == 16 ); +C_ASSERT( sizeof(w32_DownloadItemResult_t().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u32_DownloadItemResult_t) >= 16 ); +C_ASSERT( offsetof(u32_DownloadItemResult_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_DownloadItemResult_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_DownloadItemResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_DownloadItemResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_DownloadItemResult_t, m_eResult) == 12 ); +C_ASSERT( sizeof(u32_DownloadItemResult_t().m_eResult) >= 4 ); + +#ifdef __x86_64__ +w64_DownloadItemResult_t::operator u64_DownloadItemResult_t() const +{ + u64_DownloadItemResult_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + return ret; +} + +u64_DownloadItemResult_t::operator w64_DownloadItemResult_t() const +{ + w64_DownloadItemResult_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + return ret; +} +#endif + +#ifdef __i386__ +w32_DownloadItemResult_t::operator u32_DownloadItemResult_t() const +{ + u32_DownloadItemResult_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + return ret; +} + +u32_DownloadItemResult_t::operator w32_DownloadItemResult_t() const +{ + w32_DownloadItemResult_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eResult = this->m_eResult; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_EndGameResultCallback_t) >= 16 ); +C_ASSERT( offsetof(w64_EndGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_EndGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_EndGameResultCallback_t, ullUniqueGameID) == 8 ); +C_ASSERT( sizeof(w64_EndGameResultCallback_t().ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u64_EndGameResultCallback_t) >= 12 ); +C_ASSERT( offsetof(u64_EndGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_EndGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_EndGameResultCallback_t, ullUniqueGameID) == 4 ); +C_ASSERT( sizeof(u64_EndGameResultCallback_t().ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(w32_EndGameResultCallback_t) >= 16 ); +C_ASSERT( offsetof(w32_EndGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_EndGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_EndGameResultCallback_t, ullUniqueGameID) == 8 ); +C_ASSERT( sizeof(w32_EndGameResultCallback_t().ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u32_EndGameResultCallback_t) >= 12 ); +C_ASSERT( offsetof(u32_EndGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_EndGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_EndGameResultCallback_t, ullUniqueGameID) == 4 ); +C_ASSERT( sizeof(u32_EndGameResultCallback_t().ullUniqueGameID) >= 8 ); + +#ifdef __x86_64__ +w64_EndGameResultCallback_t::operator u64_EndGameResultCallback_t() const +{ + u64_EndGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + return ret; +} + +u64_EndGameResultCallback_t::operator w64_EndGameResultCallback_t() const +{ + w64_EndGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + return ret; +} +#endif + +#ifdef __i386__ +w32_EndGameResultCallback_t::operator u32_EndGameResultCallback_t() const +{ + u32_EndGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + return ret; +} + +u32_EndGameResultCallback_t::operator w32_EndGameResultCallback_t() const +{ + w32_EndGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_FileDetailsResult_t) >= 40 ); +C_ASSERT( offsetof(w64_FileDetailsResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_FileDetailsResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_FileDetailsResult_t, m_ulFileSize) == 8 ); +C_ASSERT( sizeof(w64_FileDetailsResult_t().m_ulFileSize) >= 8 ); +C_ASSERT( offsetof(w64_FileDetailsResult_t, m_FileSHA) == 16 ); +C_ASSERT( sizeof(w64_FileDetailsResult_t().m_FileSHA) >= 20 ); +C_ASSERT( offsetof(w64_FileDetailsResult_t, m_unFlags) == 36 ); +C_ASSERT( sizeof(w64_FileDetailsResult_t().m_unFlags) >= 4 ); + +C_ASSERT( sizeof(u64_FileDetailsResult_t) >= 36 ); +C_ASSERT( offsetof(u64_FileDetailsResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_FileDetailsResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_FileDetailsResult_t, m_ulFileSize) == 4 ); +C_ASSERT( sizeof(u64_FileDetailsResult_t().m_ulFileSize) >= 8 ); +C_ASSERT( offsetof(u64_FileDetailsResult_t, m_FileSHA) == 12 ); +C_ASSERT( sizeof(u64_FileDetailsResult_t().m_FileSHA) >= 20 ); +C_ASSERT( offsetof(u64_FileDetailsResult_t, m_unFlags) == 32 ); +C_ASSERT( sizeof(u64_FileDetailsResult_t().m_unFlags) >= 4 ); + +C_ASSERT( sizeof(w32_FileDetailsResult_t) >= 40 ); +C_ASSERT( offsetof(w32_FileDetailsResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_FileDetailsResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_FileDetailsResult_t, m_ulFileSize) == 8 ); +C_ASSERT( sizeof(w32_FileDetailsResult_t().m_ulFileSize) >= 8 ); +C_ASSERT( offsetof(w32_FileDetailsResult_t, m_FileSHA) == 16 ); +C_ASSERT( sizeof(w32_FileDetailsResult_t().m_FileSHA) >= 20 ); +C_ASSERT( offsetof(w32_FileDetailsResult_t, m_unFlags) == 36 ); +C_ASSERT( sizeof(w32_FileDetailsResult_t().m_unFlags) >= 4 ); + +C_ASSERT( sizeof(u32_FileDetailsResult_t) >= 36 ); +C_ASSERT( offsetof(u32_FileDetailsResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_FileDetailsResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_FileDetailsResult_t, m_ulFileSize) == 4 ); +C_ASSERT( sizeof(u32_FileDetailsResult_t().m_ulFileSize) >= 8 ); +C_ASSERT( offsetof(u32_FileDetailsResult_t, m_FileSHA) == 12 ); +C_ASSERT( sizeof(u32_FileDetailsResult_t().m_FileSHA) >= 20 ); +C_ASSERT( offsetof(u32_FileDetailsResult_t, m_unFlags) == 32 ); +C_ASSERT( sizeof(u32_FileDetailsResult_t().m_unFlags) >= 4 ); + +#ifdef __x86_64__ +w64_FileDetailsResult_t::operator u64_FileDetailsResult_t() const +{ + u64_FileDetailsResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulFileSize = this->m_ulFileSize; + ret.m_FileSHA = this->m_FileSHA; + ret.m_unFlags = this->m_unFlags; + return ret; +} + +u64_FileDetailsResult_t::operator w64_FileDetailsResult_t() const +{ + w64_FileDetailsResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulFileSize = this->m_ulFileSize; + ret.m_FileSHA = this->m_FileSHA; + ret.m_unFlags = this->m_unFlags; + return ret; +} +#endif + +#ifdef __i386__ +w32_FileDetailsResult_t::operator u32_FileDetailsResult_t() const +{ + u32_FileDetailsResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulFileSize = this->m_ulFileSize; + ret.m_FileSHA = this->m_FileSHA; + ret.m_unFlags = this->m_unFlags; + return ret; +} + +u32_FileDetailsResult_t::operator w32_FileDetailsResult_t() const +{ + w32_FileDetailsResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulFileSize = this->m_ulFileSize; + ret.m_FileSHA = this->m_FileSHA; + ret.m_unFlags = this->m_unFlags; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_GSReputation_t_123) >= 40 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_bBanned) == 8 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_ulBannedGameID) == 24 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(w64_GSReputation_t_123, m_unBanExpires) == 32 ); +C_ASSERT( sizeof(w64_GSReputation_t_123().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(u64_GSReputation_t_123) >= 32 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_bBanned) == 8 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_ulBannedGameID) == 20 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(u64_GSReputation_t_123, m_unBanExpires) == 28 ); +C_ASSERT( sizeof(u64_GSReputation_t_123().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(w32_GSReputation_t_123) >= 40 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_bBanned) == 8 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_ulBannedGameID) == 24 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(w32_GSReputation_t_123, m_unBanExpires) == 32 ); +C_ASSERT( sizeof(w32_GSReputation_t_123().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(u32_GSReputation_t_123) >= 32 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_bBanned) == 8 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_ulBannedGameID) == 20 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(u32_GSReputation_t_123, m_unBanExpires) == 28 ); +C_ASSERT( sizeof(u32_GSReputation_t_123().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(w64_GSReputation_t_108) >= 40 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_bBanned) == 8 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_ulBannedGameID) == 24 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(w64_GSReputation_t_108, m_unBanExpires) == 32 ); +C_ASSERT( sizeof(w64_GSReputation_t_108().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(u64_GSReputation_t_108) >= 40 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_bBanned) == 8 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_ulBannedGameID) == 24 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(u64_GSReputation_t_108, m_unBanExpires) == 32 ); +C_ASSERT( sizeof(u64_GSReputation_t_108().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(w32_GSReputation_t_108) >= 40 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_bBanned) == 8 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_ulBannedGameID) == 24 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(w32_GSReputation_t_108, m_unBanExpires) == 32 ); +C_ASSERT( sizeof(w32_GSReputation_t_108().m_unBanExpires) >= 4 ); + +C_ASSERT( sizeof(u32_GSReputation_t_108) >= 32 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_unReputationScore) == 4 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_unReputationScore) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_bBanned) == 8 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_unBannedIP) == 12 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_unBannedIP) >= 4 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_usBannedPort) == 16 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_usBannedPort) >= 2 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_ulBannedGameID) == 20 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_ulBannedGameID) >= 8 ); +C_ASSERT( offsetof(u32_GSReputation_t_108, m_unBanExpires) == 28 ); +C_ASSERT( sizeof(u32_GSReputation_t_108().m_unBanExpires) >= 4 ); + +#ifdef __x86_64__ +w64_GSReputation_t_123::operator u64_GSReputation_t_123() const +{ + u64_GSReputation_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} + +u64_GSReputation_t_123::operator w64_GSReputation_t_123() const +{ + w64_GSReputation_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} +#endif + +#ifdef __i386__ +w32_GSReputation_t_123::operator u32_GSReputation_t_123() const +{ + u32_GSReputation_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} + +u32_GSReputation_t_123::operator w32_GSReputation_t_123() const +{ + w32_GSReputation_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} +#endif + +#ifdef __i386__ +w32_GSReputation_t_108::operator u32_GSReputation_t_108() const +{ + u32_GSReputation_t_108 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} + +u32_GSReputation_t_108::operator w32_GSReputation_t_108() const +{ + w32_GSReputation_t_108 ret; + ret.m_eResult = this->m_eResult; + ret.m_unReputationScore = this->m_unReputationScore; + ret.m_bBanned = this->m_bBanned; + ret.m_unBannedIP = this->m_unBannedIP; + ret.m_usBannedPort = this->m_usBannedPort; + ret.m_ulBannedGameID = this->m_ulBannedGameID; + ret.m_unBanExpires = this->m_unBanExpires; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t) >= 152 ); +C_ASSERT( offsetof(w64_GetAppDependenciesResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_GetAppDependenciesResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_GetAppDependenciesResult_t, m_rgAppIDs) == 16 ); +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t().m_rgAppIDs) >= 128 ); +C_ASSERT( offsetof(w64_GetAppDependenciesResult_t, m_nNumAppDependencies) == 144 ); +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t().m_nNumAppDependencies) >= 4 ); +C_ASSERT( offsetof(w64_GetAppDependenciesResult_t, m_nTotalNumAppDependencies) == 148 ); +C_ASSERT( sizeof(w64_GetAppDependenciesResult_t().m_nTotalNumAppDependencies) >= 4 ); + +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t) >= 148 ); +C_ASSERT( offsetof(u64_GetAppDependenciesResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_GetAppDependenciesResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_GetAppDependenciesResult_t, m_rgAppIDs) == 12 ); +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t().m_rgAppIDs) >= 128 ); +C_ASSERT( offsetof(u64_GetAppDependenciesResult_t, m_nNumAppDependencies) == 140 ); +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t().m_nNumAppDependencies) >= 4 ); +C_ASSERT( offsetof(u64_GetAppDependenciesResult_t, m_nTotalNumAppDependencies) == 144 ); +C_ASSERT( sizeof(u64_GetAppDependenciesResult_t().m_nTotalNumAppDependencies) >= 4 ); + +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t) >= 152 ); +C_ASSERT( offsetof(w32_GetAppDependenciesResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_GetAppDependenciesResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_GetAppDependenciesResult_t, m_rgAppIDs) == 16 ); +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t().m_rgAppIDs) >= 128 ); +C_ASSERT( offsetof(w32_GetAppDependenciesResult_t, m_nNumAppDependencies) == 144 ); +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t().m_nNumAppDependencies) >= 4 ); +C_ASSERT( offsetof(w32_GetAppDependenciesResult_t, m_nTotalNumAppDependencies) == 148 ); +C_ASSERT( sizeof(w32_GetAppDependenciesResult_t().m_nTotalNumAppDependencies) >= 4 ); + +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t) >= 148 ); +C_ASSERT( offsetof(u32_GetAppDependenciesResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_GetAppDependenciesResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_GetAppDependenciesResult_t, m_rgAppIDs) == 12 ); +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t().m_rgAppIDs) >= 128 ); +C_ASSERT( offsetof(u32_GetAppDependenciesResult_t, m_nNumAppDependencies) == 140 ); +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t().m_nNumAppDependencies) >= 4 ); +C_ASSERT( offsetof(u32_GetAppDependenciesResult_t, m_nTotalNumAppDependencies) == 144 ); +C_ASSERT( sizeof(u32_GetAppDependenciesResult_t().m_nTotalNumAppDependencies) >= 4 ); + +#ifdef __x86_64__ +w64_GetAppDependenciesResult_t::operator u64_GetAppDependenciesResult_t() const +{ + u64_GetAppDependenciesResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_rgAppIDs = this->m_rgAppIDs; + ret.m_nNumAppDependencies = this->m_nNumAppDependencies; + ret.m_nTotalNumAppDependencies = this->m_nTotalNumAppDependencies; + return ret; +} + +u64_GetAppDependenciesResult_t::operator w64_GetAppDependenciesResult_t() const +{ + w64_GetAppDependenciesResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_rgAppIDs = this->m_rgAppIDs; + ret.m_nNumAppDependencies = this->m_nNumAppDependencies; + ret.m_nTotalNumAppDependencies = this->m_nTotalNumAppDependencies; + return ret; +} +#endif + +#ifdef __i386__ +w32_GetAppDependenciesResult_t::operator u32_GetAppDependenciesResult_t() const +{ + u32_GetAppDependenciesResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_rgAppIDs = this->m_rgAppIDs; + ret.m_nNumAppDependencies = this->m_nNumAppDependencies; + ret.m_nTotalNumAppDependencies = this->m_nTotalNumAppDependencies; + return ret; +} + +u32_GetAppDependenciesResult_t::operator w32_GetAppDependenciesResult_t() const +{ + w32_GetAppDependenciesResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_rgAppIDs = this->m_rgAppIDs; + ret.m_nNumAppDependencies = this->m_nNumAppDependencies; + ret.m_nTotalNumAppDependencies = this->m_nTotalNumAppDependencies; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_ChangedTitle_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_ChangedTitle_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_ChangedTitle_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_ChangedTitle_t, pchTitle) == 8 ); +C_ASSERT( sizeof(w64_HTML_ChangedTitle_t().pchTitle) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_ChangedTitle_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_ChangedTitle_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_ChangedTitle_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_ChangedTitle_t, pchTitle) == 4 ); +C_ASSERT( sizeof(u64_HTML_ChangedTitle_t().pchTitle) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_ChangedTitle_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_ChangedTitle_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_ChangedTitle_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_ChangedTitle_t, pchTitle) == 4 ); +C_ASSERT( sizeof(w32_HTML_ChangedTitle_t().pchTitle) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_ChangedTitle_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_ChangedTitle_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_ChangedTitle_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_ChangedTitle_t, pchTitle) == 4 ); +C_ASSERT( sizeof(u32_HTML_ChangedTitle_t().pchTitle) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_ChangedTitle_t::operator u64_HTML_ChangedTitle_t() const +{ + u64_HTML_ChangedTitle_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + return ret; +} + +u64_HTML_ChangedTitle_t::operator w64_HTML_ChangedTitle_t() const +{ + w64_HTML_ChangedTitle_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_ComboNeedsPaint_t) >= 24 ); +C_ASSERT( offsetof(w64_HTML_ComboNeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_ComboNeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_ComboNeedsPaint_t, pBGRA) == 8 ); +C_ASSERT( sizeof(w64_HTML_ComboNeedsPaint_t().pBGRA) >= 8 ); +C_ASSERT( offsetof(w64_HTML_ComboNeedsPaint_t, unWide) == 16 ); +C_ASSERT( sizeof(w64_HTML_ComboNeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(w64_HTML_ComboNeedsPaint_t, unTall) == 20 ); +C_ASSERT( sizeof(w64_HTML_ComboNeedsPaint_t().unTall) >= 4 ); + +C_ASSERT( sizeof(u64_HTML_ComboNeedsPaint_t) >= 20 ); +C_ASSERT( offsetof(u64_HTML_ComboNeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_ComboNeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_ComboNeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(u64_HTML_ComboNeedsPaint_t().pBGRA) >= 8 ); +C_ASSERT( offsetof(u64_HTML_ComboNeedsPaint_t, unWide) == 12 ); +C_ASSERT( sizeof(u64_HTML_ComboNeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(u64_HTML_ComboNeedsPaint_t, unTall) == 16 ); +C_ASSERT( sizeof(u64_HTML_ComboNeedsPaint_t().unTall) >= 4 ); + +C_ASSERT( sizeof(w32_HTML_ComboNeedsPaint_t) >= 16 ); +C_ASSERT( offsetof(w32_HTML_ComboNeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_ComboNeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_ComboNeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(w32_HTML_ComboNeedsPaint_t().pBGRA) >= 4 ); +C_ASSERT( offsetof(w32_HTML_ComboNeedsPaint_t, unWide) == 8 ); +C_ASSERT( sizeof(w32_HTML_ComboNeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(w32_HTML_ComboNeedsPaint_t, unTall) == 12 ); +C_ASSERT( sizeof(w32_HTML_ComboNeedsPaint_t().unTall) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_ComboNeedsPaint_t) >= 16 ); +C_ASSERT( offsetof(u32_HTML_ComboNeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_ComboNeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_ComboNeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(u32_HTML_ComboNeedsPaint_t().pBGRA) >= 4 ); +C_ASSERT( offsetof(u32_HTML_ComboNeedsPaint_t, unWide) == 8 ); +C_ASSERT( sizeof(u32_HTML_ComboNeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(u32_HTML_ComboNeedsPaint_t, unTall) == 12 ); +C_ASSERT( sizeof(u32_HTML_ComboNeedsPaint_t().unTall) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_ComboNeedsPaint_t::operator u64_HTML_ComboNeedsPaint_t() const +{ + u64_HTML_ComboNeedsPaint_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pBGRA = this->pBGRA; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} + +u64_HTML_ComboNeedsPaint_t::operator w64_HTML_ComboNeedsPaint_t() const +{ + w64_HTML_ComboNeedsPaint_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pBGRA = this->pBGRA; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_FileOpenDialog_t) >= 24 ); +C_ASSERT( offsetof(w64_HTML_FileOpenDialog_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_FileOpenDialog_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_FileOpenDialog_t, pchTitle) == 8 ); +C_ASSERT( sizeof(w64_HTML_FileOpenDialog_t().pchTitle) >= 8 ); +C_ASSERT( offsetof(w64_HTML_FileOpenDialog_t, pchInitialFile) == 16 ); +C_ASSERT( sizeof(w64_HTML_FileOpenDialog_t().pchInitialFile) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_FileOpenDialog_t) >= 20 ); +C_ASSERT( offsetof(u64_HTML_FileOpenDialog_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_FileOpenDialog_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_FileOpenDialog_t, pchTitle) == 4 ); +C_ASSERT( sizeof(u64_HTML_FileOpenDialog_t().pchTitle) >= 8 ); +C_ASSERT( offsetof(u64_HTML_FileOpenDialog_t, pchInitialFile) == 12 ); +C_ASSERT( sizeof(u64_HTML_FileOpenDialog_t().pchInitialFile) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_FileOpenDialog_t) >= 12 ); +C_ASSERT( offsetof(w32_HTML_FileOpenDialog_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_FileOpenDialog_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_FileOpenDialog_t, pchTitle) == 4 ); +C_ASSERT( sizeof(w32_HTML_FileOpenDialog_t().pchTitle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_FileOpenDialog_t, pchInitialFile) == 8 ); +C_ASSERT( sizeof(w32_HTML_FileOpenDialog_t().pchInitialFile) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_FileOpenDialog_t) >= 12 ); +C_ASSERT( offsetof(u32_HTML_FileOpenDialog_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_FileOpenDialog_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_FileOpenDialog_t, pchTitle) == 4 ); +C_ASSERT( sizeof(u32_HTML_FileOpenDialog_t().pchTitle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_FileOpenDialog_t, pchInitialFile) == 8 ); +C_ASSERT( sizeof(u32_HTML_FileOpenDialog_t().pchInitialFile) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_FileOpenDialog_t::operator u64_HTML_FileOpenDialog_t() const +{ + u64_HTML_FileOpenDialog_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + ret.pchInitialFile = this->pchInitialFile; + return ret; +} + +u64_HTML_FileOpenDialog_t::operator w64_HTML_FileOpenDialog_t() const +{ + w64_HTML_FileOpenDialog_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + steamclient_unix_path_to_dos_path(1, this->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + ret.pchInitialFile = g_tmppath; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_FileOpenDialog_t::operator u32_HTML_FileOpenDialog_t() const +{ + u32_HTML_FileOpenDialog_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + ret.pchInitialFile = this->pchInitialFile; + return ret; +} + +u32_HTML_FileOpenDialog_t::operator w32_HTML_FileOpenDialog_t() const +{ + w32_HTML_FileOpenDialog_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchTitle = this->pchTitle; + steamclient_unix_path_to_dos_path(1, this->pchInitialFile, g_tmppath, sizeof(g_tmppath), 1); + ret.pchInitialFile = g_tmppath; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_FinishedRequest_t) >= 24 ); +C_ASSERT( offsetof(w64_HTML_FinishedRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_FinishedRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_FinishedRequest_t, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_FinishedRequest_t().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_FinishedRequest_t, pchPageTitle) == 16 ); +C_ASSERT( sizeof(w64_HTML_FinishedRequest_t().pchPageTitle) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_FinishedRequest_t) >= 20 ); +C_ASSERT( offsetof(u64_HTML_FinishedRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_FinishedRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_FinishedRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_FinishedRequest_t().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_FinishedRequest_t, pchPageTitle) == 12 ); +C_ASSERT( sizeof(u64_HTML_FinishedRequest_t().pchPageTitle) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_FinishedRequest_t) >= 12 ); +C_ASSERT( offsetof(w32_HTML_FinishedRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_FinishedRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_FinishedRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_FinishedRequest_t().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_FinishedRequest_t, pchPageTitle) == 8 ); +C_ASSERT( sizeof(w32_HTML_FinishedRequest_t().pchPageTitle) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_FinishedRequest_t) >= 12 ); +C_ASSERT( offsetof(u32_HTML_FinishedRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_FinishedRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_FinishedRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_FinishedRequest_t().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_FinishedRequest_t, pchPageTitle) == 8 ); +C_ASSERT( sizeof(u32_HTML_FinishedRequest_t().pchPageTitle) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_FinishedRequest_t::operator u64_HTML_FinishedRequest_t() const +{ + u64_HTML_FinishedRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchPageTitle = this->pchPageTitle; + return ret; +} + +u64_HTML_FinishedRequest_t::operator w64_HTML_FinishedRequest_t() const +{ + w64_HTML_FinishedRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchPageTitle = this->pchPageTitle; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_FinishedRequest_t::operator u32_HTML_FinishedRequest_t() const +{ + u32_HTML_FinishedRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchPageTitle = this->pchPageTitle; + return ret; +} + +u32_HTML_FinishedRequest_t::operator w32_HTML_FinishedRequest_t() const +{ + w32_HTML_FinishedRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchPageTitle = this->pchPageTitle; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_JSAlert_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_JSAlert_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_JSAlert_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_JSAlert_t, pchMessage) == 8 ); +C_ASSERT( sizeof(w64_HTML_JSAlert_t().pchMessage) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_JSAlert_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_JSAlert_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_JSAlert_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_JSAlert_t, pchMessage) == 4 ); +C_ASSERT( sizeof(u64_HTML_JSAlert_t().pchMessage) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_JSAlert_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_JSAlert_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_JSAlert_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_JSAlert_t, pchMessage) == 4 ); +C_ASSERT( sizeof(w32_HTML_JSAlert_t().pchMessage) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_JSAlert_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_JSAlert_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_JSAlert_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_JSAlert_t, pchMessage) == 4 ); +C_ASSERT( sizeof(u32_HTML_JSAlert_t().pchMessage) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_JSAlert_t::operator u64_HTML_JSAlert_t() const +{ + u64_HTML_JSAlert_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMessage = this->pchMessage; + return ret; +} + +u64_HTML_JSAlert_t::operator w64_HTML_JSAlert_t() const +{ + w64_HTML_JSAlert_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMessage = this->pchMessage; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_JSConfirm_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_JSConfirm_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_JSConfirm_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_JSConfirm_t, pchMessage) == 8 ); +C_ASSERT( sizeof(w64_HTML_JSConfirm_t().pchMessage) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_JSConfirm_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_JSConfirm_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_JSConfirm_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_JSConfirm_t, pchMessage) == 4 ); +C_ASSERT( sizeof(u64_HTML_JSConfirm_t().pchMessage) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_JSConfirm_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_JSConfirm_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_JSConfirm_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_JSConfirm_t, pchMessage) == 4 ); +C_ASSERT( sizeof(w32_HTML_JSConfirm_t().pchMessage) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_JSConfirm_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_JSConfirm_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_JSConfirm_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_JSConfirm_t, pchMessage) == 4 ); +C_ASSERT( sizeof(u32_HTML_JSConfirm_t().pchMessage) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_JSConfirm_t::operator u64_HTML_JSConfirm_t() const +{ + u64_HTML_JSConfirm_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMessage = this->pchMessage; + return ret; +} + +u64_HTML_JSConfirm_t::operator w64_HTML_JSConfirm_t() const +{ + w64_HTML_JSConfirm_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMessage = this->pchMessage; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t) >= 32 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, x) == 4 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().x) >= 4 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, y) == 8 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().y) >= 4 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, pchURL) == 16 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, bInput) == 24 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().bInput) >= 1 ); +C_ASSERT( offsetof(w64_HTML_LinkAtPosition_t, bLiveLink) == 25 ); +C_ASSERT( sizeof(w64_HTML_LinkAtPosition_t().bLiveLink) >= 1 ); + +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t) >= 24 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, x) == 4 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().x) >= 4 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, y) == 8 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().y) >= 4 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, pchURL) == 12 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, bInput) == 20 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().bInput) >= 1 ); +C_ASSERT( offsetof(u64_HTML_LinkAtPosition_t, bLiveLink) == 21 ); +C_ASSERT( sizeof(u64_HTML_LinkAtPosition_t().bLiveLink) >= 1 ); + +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t) >= 20 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, x) == 4 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().x) >= 4 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, y) == 8 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().y) >= 4 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, pchURL) == 12 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, bInput) == 16 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().bInput) >= 1 ); +C_ASSERT( offsetof(w32_HTML_LinkAtPosition_t, bLiveLink) == 17 ); +C_ASSERT( sizeof(w32_HTML_LinkAtPosition_t().bLiveLink) >= 1 ); + +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t) >= 20 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, x) == 4 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().x) >= 4 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, y) == 8 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().y) >= 4 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, pchURL) == 12 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, bInput) == 16 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().bInput) >= 1 ); +C_ASSERT( offsetof(u32_HTML_LinkAtPosition_t, bLiveLink) == 17 ); +C_ASSERT( sizeof(u32_HTML_LinkAtPosition_t().bLiveLink) >= 1 ); + +#ifdef __x86_64__ +w64_HTML_LinkAtPosition_t::operator u64_HTML_LinkAtPosition_t() const +{ + u64_HTML_LinkAtPosition_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.x = this->x; + ret.y = this->y; + ret.pchURL = this->pchURL; + ret.bInput = this->bInput; + ret.bLiveLink = this->bLiveLink; + return ret; +} + +u64_HTML_LinkAtPosition_t::operator w64_HTML_LinkAtPosition_t() const +{ + w64_HTML_LinkAtPosition_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.x = this->x; + ret.y = this->y; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.bInput = this->bInput; + ret.bLiveLink = this->bLiveLink; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_LinkAtPosition_t::operator u32_HTML_LinkAtPosition_t() const +{ + u32_HTML_LinkAtPosition_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.x = this->x; + ret.y = this->y; + ret.pchURL = this->pchURL; + ret.bInput = this->bInput; + ret.bLiveLink = this->bLiveLink; + return ret; +} + +u32_HTML_LinkAtPosition_t::operator w32_HTML_LinkAtPosition_t() const +{ + w32_HTML_LinkAtPosition_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.x = this->x; + ret.y = this->y; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.bInput = this->bInput; + ret.bLiveLink = this->bLiveLink; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t) >= 56 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, pBGRA) == 8 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().pBGRA) >= 8 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unWide) == 16 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unTall) == 20 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unTall) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unUpdateX) == 24 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unUpdateX) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unUpdateY) == 28 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unUpdateY) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unUpdateWide) == 32 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unUpdateWide) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unUpdateTall) == 36 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unUpdateTall) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unScrollX) == 40 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unScrollX) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unScrollY) == 44 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unScrollY) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, flPageScale) == 48 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NeedsPaint_t, unPageSerial) == 52 ); +C_ASSERT( sizeof(w64_HTML_NeedsPaint_t().unPageSerial) >= 4 ); + +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t) >= 52 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().pBGRA) >= 8 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unWide) == 12 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unTall) == 16 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unTall) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unUpdateX) == 20 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unUpdateX) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unUpdateY) == 24 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unUpdateY) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unUpdateWide) == 28 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unUpdateWide) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unUpdateTall) == 32 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unUpdateTall) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unScrollX) == 36 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unScrollX) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unScrollY) == 40 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unScrollY) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, flPageScale) == 44 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NeedsPaint_t, unPageSerial) == 48 ); +C_ASSERT( sizeof(u64_HTML_NeedsPaint_t().unPageSerial) >= 4 ); + +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t) >= 48 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().pBGRA) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unWide) == 8 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unTall) == 12 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unTall) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unUpdateX) == 16 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unUpdateX) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unUpdateY) == 20 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unUpdateY) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unUpdateWide) == 24 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unUpdateWide) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unUpdateTall) == 28 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unUpdateTall) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unScrollX) == 32 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unScrollX) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unScrollY) == 36 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unScrollY) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, flPageScale) == 40 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NeedsPaint_t, unPageSerial) == 44 ); +C_ASSERT( sizeof(w32_HTML_NeedsPaint_t().unPageSerial) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t) >= 48 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, pBGRA) == 4 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().pBGRA) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unWide) == 8 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unWide) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unTall) == 12 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unTall) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unUpdateX) == 16 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unUpdateX) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unUpdateY) == 20 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unUpdateY) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unUpdateWide) == 24 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unUpdateWide) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unUpdateTall) == 28 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unUpdateTall) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unScrollX) == 32 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unScrollX) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unScrollY) == 36 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unScrollY) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, flPageScale) == 40 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().flPageScale) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NeedsPaint_t, unPageSerial) == 44 ); +C_ASSERT( sizeof(u32_HTML_NeedsPaint_t().unPageSerial) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_NeedsPaint_t::operator u64_HTML_NeedsPaint_t() const +{ + u64_HTML_NeedsPaint_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pBGRA = this->pBGRA; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unUpdateX = this->unUpdateX; + ret.unUpdateY = this->unUpdateY; + ret.unUpdateWide = this->unUpdateWide; + ret.unUpdateTall = this->unUpdateTall; + ret.unScrollX = this->unScrollX; + ret.unScrollY = this->unScrollY; + ret.flPageScale = this->flPageScale; + ret.unPageSerial = this->unPageSerial; + return ret; +} + +u64_HTML_NeedsPaint_t::operator w64_HTML_NeedsPaint_t() const +{ + w64_HTML_NeedsPaint_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pBGRA = this->pBGRA; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unUpdateX = this->unUpdateX; + ret.unUpdateY = this->unUpdateY; + ret.unUpdateWide = this->unUpdateWide; + ret.unUpdateTall = this->unUpdateTall; + ret.unScrollX = this->unScrollX; + ret.unScrollY = this->unScrollY; + ret.flPageScale = this->flPageScale; + ret.unPageSerial = this->unPageSerial; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x) >= 40 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unX) == 16 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unX) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unY) == 20 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unY) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unWide) == 24 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unWide) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unTall) == 28 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unTall) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_132x, unNewWindow_BrowserHandle_IGNORE) == 32 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_132x().unNewWindow_BrowserHandle_IGNORE) >= 4 ); + +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x) >= 32 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unX) == 12 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unX) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unY) == 16 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unY) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unWide) == 20 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unWide) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unTall) == 24 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unTall) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_132x, unNewWindow_BrowserHandle_IGNORE) == 28 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_132x().unNewWindow_BrowserHandle_IGNORE) >= 4 ); + +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x) >= 28 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unX) == 8 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unX) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unY) == 12 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unY) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unWide) == 16 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unWide) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unTall) == 20 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unTall) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_132x, unNewWindow_BrowserHandle_IGNORE) == 24 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_132x().unNewWindow_BrowserHandle_IGNORE) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x) >= 28 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unX) == 8 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unX) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unY) == 12 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unY) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unWide) == 16 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unWide) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unTall) == 20 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unTall) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_132x, unNewWindow_BrowserHandle_IGNORE) == 24 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_132x().unNewWindow_BrowserHandle_IGNORE) >= 4 ); + +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x) >= 32 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, unX) == 16 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().unX) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, unY) == 20 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().unY) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, unWide) == 24 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().unWide) >= 4 ); +C_ASSERT( offsetof(w64_HTML_NewWindow_t_130x, unTall) == 28 ); +C_ASSERT( sizeof(w64_HTML_NewWindow_t_130x().unTall) >= 4 ); + +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x) >= 28 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, unX) == 12 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().unX) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, unY) == 16 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().unY) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, unWide) == 20 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().unWide) >= 4 ); +C_ASSERT( offsetof(u64_HTML_NewWindow_t_130x, unTall) == 24 ); +C_ASSERT( sizeof(u64_HTML_NewWindow_t_130x().unTall) >= 4 ); + +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x) >= 24 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, unX) == 8 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().unX) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, unY) == 12 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().unY) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, unWide) == 16 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().unWide) >= 4 ); +C_ASSERT( offsetof(w32_HTML_NewWindow_t_130x, unTall) == 20 ); +C_ASSERT( sizeof(w32_HTML_NewWindow_t_130x().unTall) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x) >= 24 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, unX) == 8 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().unX) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, unY) == 12 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().unY) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, unWide) == 16 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().unWide) >= 4 ); +C_ASSERT( offsetof(u32_HTML_NewWindow_t_130x, unTall) == 20 ); +C_ASSERT( sizeof(u32_HTML_NewWindow_t_130x().unTall) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_NewWindow_t_132x::operator u64_HTML_NewWindow_t_132x() const +{ + u64_HTML_NewWindow_t_132x ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unNewWindow_BrowserHandle_IGNORE = this->unNewWindow_BrowserHandle_IGNORE; + return ret; +} + +u64_HTML_NewWindow_t_132x::operator w64_HTML_NewWindow_t_132x() const +{ + w64_HTML_NewWindow_t_132x ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unNewWindow_BrowserHandle_IGNORE = this->unNewWindow_BrowserHandle_IGNORE; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_NewWindow_t_132x::operator u32_HTML_NewWindow_t_132x() const +{ + u32_HTML_NewWindow_t_132x ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unNewWindow_BrowserHandle_IGNORE = this->unNewWindow_BrowserHandle_IGNORE; + return ret; +} + +u32_HTML_NewWindow_t_132x::operator w32_HTML_NewWindow_t_132x() const +{ + w32_HTML_NewWindow_t_132x ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + ret.unNewWindow_BrowserHandle_IGNORE = this->unNewWindow_BrowserHandle_IGNORE; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_HTML_NewWindow_t_130x::operator u64_HTML_NewWindow_t_130x() const +{ + u64_HTML_NewWindow_t_130x ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} + +u64_HTML_NewWindow_t_130x::operator w64_HTML_NewWindow_t_130x() const +{ + w64_HTML_NewWindow_t_130x ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_NewWindow_t_130x::operator u32_HTML_NewWindow_t_130x() const +{ + u32_HTML_NewWindow_t_130x ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} + +u32_HTML_NewWindow_t_130x::operator w32_HTML_NewWindow_t_130x() const +{ + w32_HTML_NewWindow_t_130x ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.unX = this->unX; + ret.unY = this->unY; + ret.unWide = this->unWide; + ret.unTall = this->unTall; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_OpenLinkInNewTab_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_OpenLinkInNewTab_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_OpenLinkInNewTab_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_OpenLinkInNewTab_t, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_OpenLinkInNewTab_t().pchURL) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_OpenLinkInNewTab_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_OpenLinkInNewTab_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_OpenLinkInNewTab_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_OpenLinkInNewTab_t, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_OpenLinkInNewTab_t().pchURL) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_OpenLinkInNewTab_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_OpenLinkInNewTab_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_OpenLinkInNewTab_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_OpenLinkInNewTab_t, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_OpenLinkInNewTab_t().pchURL) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_OpenLinkInNewTab_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_OpenLinkInNewTab_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_OpenLinkInNewTab_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_OpenLinkInNewTab_t, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_OpenLinkInNewTab_t().pchURL) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_OpenLinkInNewTab_t::operator u64_HTML_OpenLinkInNewTab_t() const +{ + u64_HTML_OpenLinkInNewTab_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + return ret; +} + +u64_HTML_OpenLinkInNewTab_t::operator w64_HTML_OpenLinkInNewTab_t() const +{ + w64_HTML_OpenLinkInNewTab_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_OpenLinkInNewTab_t::operator u32_HTML_OpenLinkInNewTab_t() const +{ + u32_HTML_OpenLinkInNewTab_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + return ret; +} + +u32_HTML_OpenLinkInNewTab_t::operator w32_HTML_OpenLinkInNewTab_t() const +{ + w32_HTML_OpenLinkInNewTab_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_ShowToolTip_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_ShowToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_ShowToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_ShowToolTip_t, pchMsg) == 8 ); +C_ASSERT( sizeof(w64_HTML_ShowToolTip_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_ShowToolTip_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_ShowToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_ShowToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_ShowToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u64_HTML_ShowToolTip_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_ShowToolTip_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_ShowToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_ShowToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_ShowToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(w32_HTML_ShowToolTip_t().pchMsg) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_ShowToolTip_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_ShowToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_ShowToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_ShowToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u32_HTML_ShowToolTip_t().pchMsg) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_ShowToolTip_t::operator u64_HTML_ShowToolTip_t() const +{ + u64_HTML_ShowToolTip_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} + +u64_HTML_ShowToolTip_t::operator w64_HTML_ShowToolTip_t() const +{ + w64_HTML_ShowToolTip_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_StartRequest_t) >= 40 ); +C_ASSERT( offsetof(w64_HTML_StartRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_StartRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_StartRequest_t, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_StartRequest_t().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_StartRequest_t, pchTarget) == 16 ); +C_ASSERT( sizeof(w64_HTML_StartRequest_t().pchTarget) >= 8 ); +C_ASSERT( offsetof(w64_HTML_StartRequest_t, pchPostData) == 24 ); +C_ASSERT( sizeof(w64_HTML_StartRequest_t().pchPostData) >= 8 ); +C_ASSERT( offsetof(w64_HTML_StartRequest_t, bIsRedirect) == 32 ); +C_ASSERT( sizeof(w64_HTML_StartRequest_t().bIsRedirect) >= 1 ); + +C_ASSERT( sizeof(u64_HTML_StartRequest_t) >= 32 ); +C_ASSERT( offsetof(u64_HTML_StartRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_StartRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_StartRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_StartRequest_t().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_StartRequest_t, pchTarget) == 12 ); +C_ASSERT( sizeof(u64_HTML_StartRequest_t().pchTarget) >= 8 ); +C_ASSERT( offsetof(u64_HTML_StartRequest_t, pchPostData) == 20 ); +C_ASSERT( sizeof(u64_HTML_StartRequest_t().pchPostData) >= 8 ); +C_ASSERT( offsetof(u64_HTML_StartRequest_t, bIsRedirect) == 28 ); +C_ASSERT( sizeof(u64_HTML_StartRequest_t().bIsRedirect) >= 1 ); + +C_ASSERT( sizeof(w32_HTML_StartRequest_t) >= 20 ); +C_ASSERT( offsetof(w32_HTML_StartRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_StartRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_StartRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_StartRequest_t().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_StartRequest_t, pchTarget) == 8 ); +C_ASSERT( sizeof(w32_HTML_StartRequest_t().pchTarget) >= 4 ); +C_ASSERT( offsetof(w32_HTML_StartRequest_t, pchPostData) == 12 ); +C_ASSERT( sizeof(w32_HTML_StartRequest_t().pchPostData) >= 4 ); +C_ASSERT( offsetof(w32_HTML_StartRequest_t, bIsRedirect) == 16 ); +C_ASSERT( sizeof(w32_HTML_StartRequest_t().bIsRedirect) >= 1 ); + +C_ASSERT( sizeof(u32_HTML_StartRequest_t) >= 20 ); +C_ASSERT( offsetof(u32_HTML_StartRequest_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_StartRequest_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_StartRequest_t, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_StartRequest_t().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_StartRequest_t, pchTarget) == 8 ); +C_ASSERT( sizeof(u32_HTML_StartRequest_t().pchTarget) >= 4 ); +C_ASSERT( offsetof(u32_HTML_StartRequest_t, pchPostData) == 12 ); +C_ASSERT( sizeof(u32_HTML_StartRequest_t().pchPostData) >= 4 ); +C_ASSERT( offsetof(u32_HTML_StartRequest_t, bIsRedirect) == 16 ); +C_ASSERT( sizeof(u32_HTML_StartRequest_t().bIsRedirect) >= 1 ); + +#ifdef __x86_64__ +w64_HTML_StartRequest_t::operator u64_HTML_StartRequest_t() const +{ + u64_HTML_StartRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchTarget = this->pchTarget; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + return ret; +} + +u64_HTML_StartRequest_t::operator w64_HTML_StartRequest_t() const +{ + w64_HTML_StartRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchTarget = this->pchTarget; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_StartRequest_t::operator u32_HTML_StartRequest_t() const +{ + u32_HTML_StartRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchTarget = this->pchTarget; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + return ret; +} + +u32_HTML_StartRequest_t::operator w32_HTML_StartRequest_t() const +{ + w32_HTML_StartRequest_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchTarget = this->pchTarget; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_StatusText_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_StatusText_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_StatusText_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_StatusText_t, pchMsg) == 8 ); +C_ASSERT( sizeof(w64_HTML_StatusText_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_StatusText_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_StatusText_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_StatusText_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_StatusText_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u64_HTML_StatusText_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_StatusText_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_StatusText_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_StatusText_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_StatusText_t, pchMsg) == 4 ); +C_ASSERT( sizeof(w32_HTML_StatusText_t().pchMsg) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_StatusText_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_StatusText_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_StatusText_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_StatusText_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u32_HTML_StatusText_t().pchMsg) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_StatusText_t::operator u64_HTML_StatusText_t() const +{ + u64_HTML_StatusText_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} + +u64_HTML_StatusText_t::operator w64_HTML_StatusText_t() const +{ + w64_HTML_StatusText_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_URLChanged_t) >= 48 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, pchURL) == 8 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().pchURL) >= 8 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, pchPostData) == 16 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().pchPostData) >= 8 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, bIsRedirect) == 24 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().bIsRedirect) >= 1 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, pchPageTitle) == 32 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().pchPageTitle) >= 8 ); +C_ASSERT( offsetof(w64_HTML_URLChanged_t, bNewNavigation) == 40 ); +C_ASSERT( sizeof(w64_HTML_URLChanged_t().bNewNavigation) >= 1 ); + +C_ASSERT( sizeof(u64_HTML_URLChanged_t) >= 36 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, pchURL) == 4 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().pchURL) >= 8 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, pchPostData) == 12 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().pchPostData) >= 8 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, bIsRedirect) == 20 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().bIsRedirect) >= 1 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, pchPageTitle) == 24 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().pchPageTitle) >= 8 ); +C_ASSERT( offsetof(u64_HTML_URLChanged_t, bNewNavigation) == 32 ); +C_ASSERT( sizeof(u64_HTML_URLChanged_t().bNewNavigation) >= 1 ); + +C_ASSERT( sizeof(w32_HTML_URLChanged_t) >= 24 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, pchURL) == 4 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().pchURL) >= 4 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, pchPostData) == 8 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().pchPostData) >= 4 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, bIsRedirect) == 12 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().bIsRedirect) >= 1 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, pchPageTitle) == 16 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().pchPageTitle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_URLChanged_t, bNewNavigation) == 20 ); +C_ASSERT( sizeof(w32_HTML_URLChanged_t().bNewNavigation) >= 1 ); + +C_ASSERT( sizeof(u32_HTML_URLChanged_t) >= 24 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, pchURL) == 4 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().pchURL) >= 4 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, pchPostData) == 8 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().pchPostData) >= 4 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, bIsRedirect) == 12 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().bIsRedirect) >= 1 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, pchPageTitle) == 16 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().pchPageTitle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_URLChanged_t, bNewNavigation) == 20 ); +C_ASSERT( sizeof(u32_HTML_URLChanged_t().bNewNavigation) >= 1 ); + +#ifdef __x86_64__ +w64_HTML_URLChanged_t::operator u64_HTML_URLChanged_t() const +{ + u64_HTML_URLChanged_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + ret.pchPageTitle = this->pchPageTitle; + ret.bNewNavigation = this->bNewNavigation; + return ret; +} + +u64_HTML_URLChanged_t::operator w64_HTML_URLChanged_t() const +{ + w64_HTML_URLChanged_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + ret.pchPageTitle = this->pchPageTitle; + ret.bNewNavigation = this->bNewNavigation; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTML_URLChanged_t::operator u32_HTML_URLChanged_t() const +{ + u32_HTML_URLChanged_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchURL = this->pchURL; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + ret.pchPageTitle = this->pchPageTitle; + ret.bNewNavigation = this->bNewNavigation; + return ret; +} + +u32_HTML_URLChanged_t::operator w32_HTML_URLChanged_t() const +{ + w32_HTML_URLChanged_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + steamclient_unix_path_to_dos_path(1, this->pchURL, g_tmppath, sizeof(g_tmppath), 1); + ret.pchURL = g_tmppath; + ret.pchPostData = this->pchPostData; + ret.bIsRedirect = this->bIsRedirect; + ret.pchPageTitle = this->pchPageTitle; + ret.bNewNavigation = this->bNewNavigation; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTML_UpdateToolTip_t) >= 16 ); +C_ASSERT( offsetof(w64_HTML_UpdateToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w64_HTML_UpdateToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w64_HTML_UpdateToolTip_t, pchMsg) == 8 ); +C_ASSERT( sizeof(w64_HTML_UpdateToolTip_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(u64_HTML_UpdateToolTip_t) >= 12 ); +C_ASSERT( offsetof(u64_HTML_UpdateToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u64_HTML_UpdateToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u64_HTML_UpdateToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u64_HTML_UpdateToolTip_t().pchMsg) >= 8 ); + +C_ASSERT( sizeof(w32_HTML_UpdateToolTip_t) >= 8 ); +C_ASSERT( offsetof(w32_HTML_UpdateToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(w32_HTML_UpdateToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(w32_HTML_UpdateToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(w32_HTML_UpdateToolTip_t().pchMsg) >= 4 ); + +C_ASSERT( sizeof(u32_HTML_UpdateToolTip_t) >= 8 ); +C_ASSERT( offsetof(u32_HTML_UpdateToolTip_t, unBrowserHandle) == 0 ); +C_ASSERT( sizeof(u32_HTML_UpdateToolTip_t().unBrowserHandle) >= 4 ); +C_ASSERT( offsetof(u32_HTML_UpdateToolTip_t, pchMsg) == 4 ); +C_ASSERT( sizeof(u32_HTML_UpdateToolTip_t().pchMsg) >= 4 ); + +#ifdef __x86_64__ +w64_HTML_UpdateToolTip_t::operator u64_HTML_UpdateToolTip_t() const +{ + u64_HTML_UpdateToolTip_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} + +u64_HTML_UpdateToolTip_t::operator w64_HTML_UpdateToolTip_t() const +{ + w64_HTML_UpdateToolTip_t ret; + ret.unBrowserHandle = this->unBrowserHandle; + ret.pchMsg = this->pchMsg; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x) >= 32 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_132x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_132x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_132x, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_132x, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x().m_eStatusCode) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_132x, m_unBodySize) == 24 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_132x().m_unBodySize) >= 4 ); + +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x) >= 24 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_132x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_132x, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_132x, m_bRequestSuccessful) == 12 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_132x, m_eStatusCode) == 16 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x().m_eStatusCode) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_132x, m_unBodySize) == 20 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_132x().m_unBodySize) >= 4 ); + +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x) >= 32 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_132x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_132x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_132x, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_132x, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x().m_eStatusCode) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_132x, m_unBodySize) == 24 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_132x().m_unBodySize) >= 4 ); + +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x) >= 24 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_132x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_132x, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_132x, m_bRequestSuccessful) == 12 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_132x, m_eStatusCode) == 16 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x().m_eStatusCode) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_132x, m_unBodySize) == 20 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_132x().m_unBodySize) >= 4 ); + +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_123) >= 24 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_123, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_123().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_123, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_123().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_123) >= 20 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_123, m_bRequestSuccessful) == 12 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_123().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_123, m_eStatusCode) == 16 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_123().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_123) >= 24 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_123, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_123().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_123, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_123().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_123) >= 20 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_123, m_bRequestSuccessful) == 12 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_123().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_123, m_eStatusCode) == 16 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_123().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_115) >= 24 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_115, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_115().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_115, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_115().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_115, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_115().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w64_HTTPRequestCompleted_t_115, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w64_HTTPRequestCompleted_t_115().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_115) >= 24 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_115, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_115().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_115, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_115().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_115, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_115().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u64_HTTPRequestCompleted_t_115, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(u64_HTTPRequestCompleted_t_115().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_115) >= 24 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_115, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_115().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_115, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_115().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_115, m_bRequestSuccessful) == 16 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_115().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(w32_HTTPRequestCompleted_t_115, m_eStatusCode) == 20 ); +C_ASSERT( sizeof(w32_HTTPRequestCompleted_t_115().m_eStatusCode) >= 4 ); + +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_115) >= 20 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_115, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_115().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_115, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_115().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_115, m_bRequestSuccessful) == 12 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_115().m_bRequestSuccessful) >= 1 ); +C_ASSERT( offsetof(u32_HTTPRequestCompleted_t_115, m_eStatusCode) == 16 ); +C_ASSERT( sizeof(u32_HTTPRequestCompleted_t_115().m_eStatusCode) >= 4 ); + +#ifdef __x86_64__ +w64_HTTPRequestCompleted_t_132x::operator u64_HTTPRequestCompleted_t_132x() const +{ + u64_HTTPRequestCompleted_t_132x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + ret.m_unBodySize = this->m_unBodySize; + return ret; +} + +u64_HTTPRequestCompleted_t_132x::operator w64_HTTPRequestCompleted_t_132x() const +{ + w64_HTTPRequestCompleted_t_132x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + ret.m_unBodySize = this->m_unBodySize; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestCompleted_t_132x::operator u32_HTTPRequestCompleted_t_132x() const +{ + u32_HTTPRequestCompleted_t_132x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + ret.m_unBodySize = this->m_unBodySize; + return ret; +} + +u32_HTTPRequestCompleted_t_132x::operator w32_HTTPRequestCompleted_t_132x() const +{ + w32_HTTPRequestCompleted_t_132x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + ret.m_unBodySize = this->m_unBodySize; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_HTTPRequestCompleted_t_123::operator u64_HTTPRequestCompleted_t_123() const +{ + u64_HTTPRequestCompleted_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} + +u64_HTTPRequestCompleted_t_123::operator w64_HTTPRequestCompleted_t_123() const +{ + w64_HTTPRequestCompleted_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestCompleted_t_123::operator u32_HTTPRequestCompleted_t_123() const +{ + u32_HTTPRequestCompleted_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} + +u32_HTTPRequestCompleted_t_123::operator w32_HTTPRequestCompleted_t_123() const +{ + w32_HTTPRequestCompleted_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestCompleted_t_115::operator u32_HTTPRequestCompleted_t_115() const +{ + u32_HTTPRequestCompleted_t_115 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} + +u32_HTTPRequestCompleted_t_115::operator w32_HTTPRequestCompleted_t_115() const +{ + w32_HTTPRequestCompleted_t_115 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_bRequestSuccessful = this->m_bRequestSuccessful; + ret.m_eStatusCode = this->m_eStatusCode; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_123) >= 24 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_123, m_cOffset) == 16 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_123().m_cOffset) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_123, m_cBytesReceived) == 20 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_123().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_123) >= 20 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_123, m_cOffset) == 12 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_123().m_cOffset) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_123, m_cBytesReceived) == 16 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_123().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_123) >= 24 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_123, m_cOffset) == 16 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_123().m_cOffset) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_123, m_cBytesReceived) == 20 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_123().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_123) >= 20 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_123().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_123, m_cOffset) == 12 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_123().m_cOffset) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_123, m_cBytesReceived) == 16 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_123().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_121x) >= 24 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_121x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_121x, m_cOffset) == 16 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_121x().m_cOffset) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestDataReceived_t_121x, m_cBytesReceived) == 20 ); +C_ASSERT( sizeof(w64_HTTPRequestDataReceived_t_121x().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_121x) >= 24 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_121x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_121x, m_cOffset) == 16 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_121x().m_cOffset) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestDataReceived_t_121x, m_cBytesReceived) == 20 ); +C_ASSERT( sizeof(u64_HTTPRequestDataReceived_t_121x().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_121x) >= 24 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_121x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_121x, m_cOffset) == 16 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_121x().m_cOffset) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestDataReceived_t_121x, m_cBytesReceived) == 20 ); +C_ASSERT( sizeof(w32_HTTPRequestDataReceived_t_121x().m_cBytesReceived) >= 4 ); + +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_121x) >= 20 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_121x, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_121x().m_ulContextValue) >= 8 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_121x, m_cOffset) == 12 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_121x().m_cOffset) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestDataReceived_t_121x, m_cBytesReceived) == 16 ); +C_ASSERT( sizeof(u32_HTTPRequestDataReceived_t_121x().m_cBytesReceived) >= 4 ); + +#ifdef __x86_64__ +w64_HTTPRequestDataReceived_t_123::operator u64_HTTPRequestDataReceived_t_123() const +{ + u64_HTTPRequestDataReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} + +u64_HTTPRequestDataReceived_t_123::operator w64_HTTPRequestDataReceived_t_123() const +{ + w64_HTTPRequestDataReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestDataReceived_t_123::operator u32_HTTPRequestDataReceived_t_123() const +{ + u32_HTTPRequestDataReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} + +u32_HTTPRequestDataReceived_t_123::operator w32_HTTPRequestDataReceived_t_123() const +{ + w32_HTTPRequestDataReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestDataReceived_t_121x::operator u32_HTTPRequestDataReceived_t_121x() const +{ + u32_HTTPRequestDataReceived_t_121x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} + +u32_HTTPRequestDataReceived_t_121x::operator w32_HTTPRequestDataReceived_t_121x() const +{ + w32_HTTPRequestDataReceived_t_121x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + ret.m_cOffset = this->m_cOffset; + ret.m_cBytesReceived = this->m_cBytesReceived; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_123) >= 16 ); +C_ASSERT( offsetof(w64_HTTPRequestHeadersReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestHeadersReceived_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_123().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_123) >= 12 ); +C_ASSERT( offsetof(u64_HTTPRequestHeadersReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestHeadersReceived_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_123().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_123) >= 16 ); +C_ASSERT( offsetof(w32_HTTPRequestHeadersReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestHeadersReceived_t_123, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_123().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_123) >= 12 ); +C_ASSERT( offsetof(u32_HTTPRequestHeadersReceived_t_123, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_123().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestHeadersReceived_t_123, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_123().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_121x) >= 16 ); +C_ASSERT( offsetof(w64_HTTPRequestHeadersReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w64_HTTPRequestHeadersReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w64_HTTPRequestHeadersReceived_t_121x().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_121x) >= 16 ); +C_ASSERT( offsetof(u64_HTTPRequestHeadersReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u64_HTTPRequestHeadersReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(u64_HTTPRequestHeadersReceived_t_121x().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_121x) >= 16 ); +C_ASSERT( offsetof(w32_HTTPRequestHeadersReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(w32_HTTPRequestHeadersReceived_t_121x, m_ulContextValue) == 8 ); +C_ASSERT( sizeof(w32_HTTPRequestHeadersReceived_t_121x().m_ulContextValue) >= 8 ); + +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_121x) >= 12 ); +C_ASSERT( offsetof(u32_HTTPRequestHeadersReceived_t_121x, m_hRequest) == 0 ); +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_121x().m_hRequest) >= 4 ); +C_ASSERT( offsetof(u32_HTTPRequestHeadersReceived_t_121x, m_ulContextValue) == 4 ); +C_ASSERT( sizeof(u32_HTTPRequestHeadersReceived_t_121x().m_ulContextValue) >= 8 ); + +#ifdef __x86_64__ +w64_HTTPRequestHeadersReceived_t_123::operator u64_HTTPRequestHeadersReceived_t_123() const +{ + u64_HTTPRequestHeadersReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} + +u64_HTTPRequestHeadersReceived_t_123::operator w64_HTTPRequestHeadersReceived_t_123() const +{ + w64_HTTPRequestHeadersReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestHeadersReceived_t_123::operator u32_HTTPRequestHeadersReceived_t_123() const +{ + u32_HTTPRequestHeadersReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} + +u32_HTTPRequestHeadersReceived_t_123::operator w32_HTTPRequestHeadersReceived_t_123() const +{ + w32_HTTPRequestHeadersReceived_t_123 ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} +#endif + +#ifdef __i386__ +w32_HTTPRequestHeadersReceived_t_121x::operator u32_HTTPRequestHeadersReceived_t_121x() const +{ + u32_HTTPRequestHeadersReceived_t_121x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} + +u32_HTTPRequestHeadersReceived_t_121x::operator w32_HTTPRequestHeadersReceived_t_121x() const +{ + w32_HTTPRequestHeadersReceived_t_121x ret; + ret.m_hRequest = this->m_hRequest; + ret.m_ulContextValue = this->m_ulContextValue; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_ItemInstalled_t) >= 16 ); +C_ASSERT( offsetof(w64_ItemInstalled_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_ItemInstalled_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_ItemInstalled_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_ItemInstalled_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_ItemInstalled_t) >= 12 ); +C_ASSERT( offsetof(u64_ItemInstalled_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_ItemInstalled_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_ItemInstalled_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_ItemInstalled_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_ItemInstalled_t) >= 16 ); +C_ASSERT( offsetof(w32_ItemInstalled_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_ItemInstalled_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_ItemInstalled_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_ItemInstalled_t().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_ItemInstalled_t) >= 12 ); +C_ASSERT( offsetof(u32_ItemInstalled_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_ItemInstalled_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_ItemInstalled_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_ItemInstalled_t().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_ItemInstalled_t::operator u64_ItemInstalled_t() const +{ + u64_ItemInstalled_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_ItemInstalled_t::operator w64_ItemInstalled_t() const +{ + w64_ItemInstalled_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_ItemInstalled_t::operator u32_ItemInstalled_t() const +{ + u32_ItemInstalled_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_ItemInstalled_t::operator w32_ItemInstalled_t() const +{ + w32_ItemInstalled_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_JoinPartyCallback_t) >= 280 ); +C_ASSERT( offsetof(w64_JoinPartyCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_JoinPartyCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_JoinPartyCallback_t, m_ulBeaconID) == 8 ); +C_ASSERT( sizeof(w64_JoinPartyCallback_t().m_ulBeaconID) >= 8 ); +C_ASSERT( offsetof(w64_JoinPartyCallback_t, m_SteamIDBeaconOwner) == 16 ); +C_ASSERT( sizeof(w64_JoinPartyCallback_t().m_SteamIDBeaconOwner) >= 8 ); +C_ASSERT( offsetof(w64_JoinPartyCallback_t, m_rgchConnectString) == 24 ); +C_ASSERT( sizeof(w64_JoinPartyCallback_t().m_rgchConnectString) >= 256 ); + +C_ASSERT( sizeof(u64_JoinPartyCallback_t) >= 276 ); +C_ASSERT( offsetof(u64_JoinPartyCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_JoinPartyCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_JoinPartyCallback_t, m_ulBeaconID) == 4 ); +C_ASSERT( sizeof(u64_JoinPartyCallback_t().m_ulBeaconID) >= 8 ); +C_ASSERT( offsetof(u64_JoinPartyCallback_t, m_SteamIDBeaconOwner) == 12 ); +C_ASSERT( sizeof(u64_JoinPartyCallback_t().m_SteamIDBeaconOwner) >= 8 ); +C_ASSERT( offsetof(u64_JoinPartyCallback_t, m_rgchConnectString) == 20 ); +C_ASSERT( sizeof(u64_JoinPartyCallback_t().m_rgchConnectString) >= 256 ); + +C_ASSERT( sizeof(w32_JoinPartyCallback_t) >= 280 ); +C_ASSERT( offsetof(w32_JoinPartyCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_JoinPartyCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_JoinPartyCallback_t, m_ulBeaconID) == 8 ); +C_ASSERT( sizeof(w32_JoinPartyCallback_t().m_ulBeaconID) >= 8 ); +C_ASSERT( offsetof(w32_JoinPartyCallback_t, m_SteamIDBeaconOwner) == 16 ); +C_ASSERT( sizeof(w32_JoinPartyCallback_t().m_SteamIDBeaconOwner) >= 8 ); +C_ASSERT( offsetof(w32_JoinPartyCallback_t, m_rgchConnectString) == 24 ); +C_ASSERT( sizeof(w32_JoinPartyCallback_t().m_rgchConnectString) >= 256 ); + +C_ASSERT( sizeof(u32_JoinPartyCallback_t) >= 276 ); +C_ASSERT( offsetof(u32_JoinPartyCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_JoinPartyCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_JoinPartyCallback_t, m_ulBeaconID) == 4 ); +C_ASSERT( sizeof(u32_JoinPartyCallback_t().m_ulBeaconID) >= 8 ); +C_ASSERT( offsetof(u32_JoinPartyCallback_t, m_SteamIDBeaconOwner) == 12 ); +C_ASSERT( sizeof(u32_JoinPartyCallback_t().m_SteamIDBeaconOwner) >= 8 ); +C_ASSERT( offsetof(u32_JoinPartyCallback_t, m_rgchConnectString) == 20 ); +C_ASSERT( sizeof(u32_JoinPartyCallback_t().m_rgchConnectString) >= 256 ); + +#ifdef __x86_64__ +w64_JoinPartyCallback_t::operator u64_JoinPartyCallback_t() const +{ + u64_JoinPartyCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + ret.m_SteamIDBeaconOwner = this->m_SteamIDBeaconOwner; + ret.m_rgchConnectString = this->m_rgchConnectString; + return ret; +} + +u64_JoinPartyCallback_t::operator w64_JoinPartyCallback_t() const +{ + w64_JoinPartyCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + ret.m_SteamIDBeaconOwner = this->m_SteamIDBeaconOwner; + ret.m_rgchConnectString = this->m_rgchConnectString; + return ret; +} +#endif + +#ifdef __i386__ +w32_JoinPartyCallback_t::operator u32_JoinPartyCallback_t() const +{ + u32_JoinPartyCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + ret.m_SteamIDBeaconOwner = this->m_SteamIDBeaconOwner; + ret.m_rgchConnectString = this->m_rgchConnectString; + return ret; +} + +u32_JoinPartyCallback_t::operator w32_JoinPartyCallback_t() const +{ + w32_JoinPartyCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ulBeaconID = this->m_ulBeaconID; + ret.m_SteamIDBeaconOwner = this->m_SteamIDBeaconOwner; + ret.m_rgchConnectString = this->m_rgchConnectString; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123) >= 32 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_123, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_123, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_123, m_cDetails) == 16 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123().m_cDetails) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_123, m_hUGC) == 24 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_123().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123) >= 28 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_123, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_123, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_123, m_cDetails) == 16 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123().m_cDetails) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_123, m_hUGC) == 20 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_123().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123) >= 32 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_123, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_123, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_123, m_cDetails) == 16 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123().m_cDetails) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_123, m_hUGC) == 24 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_123().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123) >= 28 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_123, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_123, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_123, m_cDetails) == 16 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123().m_cDetails) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_123, m_hUGC) == 20 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_123().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x) >= 32 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_111x, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_111x, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_111x, m_nScore) == 12 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x().m_nScore) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_111x, m_cDetails) == 16 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x().m_cDetails) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_111x, m_hUGC) == 24 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_111x().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x) >= 32 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_111x, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_111x, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_111x, m_nScore) == 12 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x().m_nScore) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_111x, m_cDetails) == 16 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x().m_cDetails) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_111x, m_hUGC) == 24 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_111x().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x) >= 32 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_111x, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_111x, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_111x, m_nScore) == 12 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x().m_nScore) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_111x, m_cDetails) == 16 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x().m_cDetails) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_111x, m_hUGC) == 24 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_111x().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x) >= 28 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_111x, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_111x, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_111x, m_nScore) == 12 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x().m_nScore) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_111x, m_cDetails) == 16 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x().m_cDetails) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_111x, m_hUGC) == 20 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_111x().m_hUGC) >= 8 ); + +C_ASSERT( sizeof(w64_LeaderboardEntry_t_104) >= 20 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_104, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_104().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_104, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_104().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_104, m_nScore) == 12 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardEntry_t_104, m_cDetails) == 16 ); +C_ASSERT( sizeof(w64_LeaderboardEntry_t_104().m_cDetails) >= 4 ); + +C_ASSERT( sizeof(u64_LeaderboardEntry_t_104) >= 20 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_104, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_104().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_104, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_104().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_104, m_nScore) == 12 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardEntry_t_104, m_cDetails) == 16 ); +C_ASSERT( sizeof(u64_LeaderboardEntry_t_104().m_cDetails) >= 4 ); + +C_ASSERT( sizeof(w32_LeaderboardEntry_t_104) >= 20 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_104, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_104().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_104, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_104().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_104, m_nScore) == 12 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardEntry_t_104, m_cDetails) == 16 ); +C_ASSERT( sizeof(w32_LeaderboardEntry_t_104().m_cDetails) >= 4 ); + +C_ASSERT( sizeof(u32_LeaderboardEntry_t_104) >= 20 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_104, m_steamIDUser) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_104().m_steamIDUser) >= 8 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_104, m_nGlobalRank) == 8 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_104().m_nGlobalRank) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_104, m_nScore) == 12 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardEntry_t_104, m_cDetails) == 16 ); +C_ASSERT( sizeof(u32_LeaderboardEntry_t_104().m_cDetails) >= 4 ); + +#ifdef __x86_64__ +w64_LeaderboardEntry_t_123::operator u64_LeaderboardEntry_t_123() const +{ + u64_LeaderboardEntry_t_123 ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} + +u64_LeaderboardEntry_t_123::operator w64_LeaderboardEntry_t_123() const +{ + w64_LeaderboardEntry_t_123 ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardEntry_t_123::operator u32_LeaderboardEntry_t_123() const +{ + u32_LeaderboardEntry_t_123 ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} + +u32_LeaderboardEntry_t_123::operator w32_LeaderboardEntry_t_123() const +{ + w32_LeaderboardEntry_t_123 ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardEntry_t_111x::operator u32_LeaderboardEntry_t_111x() const +{ + u32_LeaderboardEntry_t_111x ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} + +u32_LeaderboardEntry_t_111x::operator w32_LeaderboardEntry_t_111x() const +{ + w32_LeaderboardEntry_t_111x ret; + ret.m_steamIDUser = this->m_steamIDUser; + ret.m_nGlobalRank = this->m_nGlobalRank; + ret.m_nScore = this->m_nScore; + ret.m_cDetails = this->m_cDetails; + ret.m_hUGC = this->m_hUGC; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123) >= 32 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_bSuccess) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_nScore) == 16 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_bScoreChanged) == 20 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_nGlobalRankNew) == 24 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_123, m_nGlobalRankPrevious) == 28 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_123().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123) >= 28 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_bSuccess) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_bScoreChanged) == 16 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_nGlobalRankNew) == 20 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_123, m_nGlobalRankPrevious) == 24 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_123().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123) >= 32 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_bSuccess) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_nScore) == 16 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_bScoreChanged) == 20 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_nGlobalRankNew) == 24 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_123, m_nGlobalRankPrevious) == 28 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_123().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123) >= 28 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_bSuccess) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_nScore) == 12 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_nScore) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_bScoreChanged) == 16 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_nGlobalRankNew) == 20 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_123, m_nGlobalRankPrevious) == 24 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_123().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104) >= 32 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_bSuccess) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_nScore) == 16 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_bScoreChanged) == 20 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_nGlobalRankNew) == 24 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardScoreUploaded_t_104, m_nGlobalRankPrevious) == 28 ); +C_ASSERT( sizeof(w64_LeaderboardScoreUploaded_t_104().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104) >= 32 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_bSuccess) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_nScore) == 16 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_bScoreChanged) == 20 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_nGlobalRankNew) == 24 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardScoreUploaded_t_104, m_nGlobalRankPrevious) == 28 ); +C_ASSERT( sizeof(u64_LeaderboardScoreUploaded_t_104().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104) >= 32 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_bSuccess) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_nScore) == 16 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_bScoreChanged) == 20 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_nGlobalRankNew) == 24 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardScoreUploaded_t_104, m_nGlobalRankPrevious) == 28 ); +C_ASSERT( sizeof(w32_LeaderboardScoreUploaded_t_104().m_nGlobalRankPrevious) >= 4 ); + +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104) >= 28 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_bSuccess) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_bSuccess) >= 1 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_hSteamLeaderboard) >= 8 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_nScore) == 12 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_nScore) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_bScoreChanged) == 16 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_bScoreChanged) >= 1 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_nGlobalRankNew) == 20 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_nGlobalRankNew) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardScoreUploaded_t_104, m_nGlobalRankPrevious) == 24 ); +C_ASSERT( sizeof(u32_LeaderboardScoreUploaded_t_104().m_nGlobalRankPrevious) >= 4 ); + +#ifdef __x86_64__ +w64_LeaderboardScoreUploaded_t_123::operator u64_LeaderboardScoreUploaded_t_123() const +{ + u64_LeaderboardScoreUploaded_t_123 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} + +u64_LeaderboardScoreUploaded_t_123::operator w64_LeaderboardScoreUploaded_t_123() const +{ + w64_LeaderboardScoreUploaded_t_123 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardScoreUploaded_t_123::operator u32_LeaderboardScoreUploaded_t_123() const +{ + u32_LeaderboardScoreUploaded_t_123 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} + +u32_LeaderboardScoreUploaded_t_123::operator w32_LeaderboardScoreUploaded_t_123() const +{ + w32_LeaderboardScoreUploaded_t_123 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardScoreUploaded_t_104::operator u32_LeaderboardScoreUploaded_t_104() const +{ + u32_LeaderboardScoreUploaded_t_104 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} + +u32_LeaderboardScoreUploaded_t_104::operator w32_LeaderboardScoreUploaded_t_104() const +{ + w32_LeaderboardScoreUploaded_t_104 ret; + ret.m_bSuccess = this->m_bSuccess; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + ret.m_nScore = this->m_nScore; + ret.m_bScoreChanged = this->m_bScoreChanged; + ret.m_nGlobalRankNew = this->m_nGlobalRankNew; + ret.m_nGlobalRankPrevious = this->m_nGlobalRankPrevious; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_123) >= 16 ); +C_ASSERT( offsetof(w64_LeaderboardUGCSet_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardUGCSet_t_123, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_123().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_123) >= 12 ); +C_ASSERT( offsetof(u64_LeaderboardUGCSet_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardUGCSet_t_123, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_123().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_123) >= 16 ); +C_ASSERT( offsetof(w32_LeaderboardUGCSet_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardUGCSet_t_123, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_123().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_123) >= 12 ); +C_ASSERT( offsetof(u32_LeaderboardUGCSet_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardUGCSet_t_123, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_123().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_111x) >= 16 ); +C_ASSERT( offsetof(w64_LeaderboardUGCSet_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_LeaderboardUGCSet_t_111x, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w64_LeaderboardUGCSet_t_111x().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_111x) >= 16 ); +C_ASSERT( offsetof(u64_LeaderboardUGCSet_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_LeaderboardUGCSet_t_111x, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(u64_LeaderboardUGCSet_t_111x().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_111x) >= 16 ); +C_ASSERT( offsetof(w32_LeaderboardUGCSet_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_LeaderboardUGCSet_t_111x, m_hSteamLeaderboard) == 8 ); +C_ASSERT( sizeof(w32_LeaderboardUGCSet_t_111x().m_hSteamLeaderboard) >= 8 ); + +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_111x) >= 12 ); +C_ASSERT( offsetof(u32_LeaderboardUGCSet_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_LeaderboardUGCSet_t_111x, m_hSteamLeaderboard) == 4 ); +C_ASSERT( sizeof(u32_LeaderboardUGCSet_t_111x().m_hSteamLeaderboard) >= 8 ); + +#ifdef __x86_64__ +w64_LeaderboardUGCSet_t_123::operator u64_LeaderboardUGCSet_t_123() const +{ + u64_LeaderboardUGCSet_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} + +u64_LeaderboardUGCSet_t_123::operator w64_LeaderboardUGCSet_t_123() const +{ + w64_LeaderboardUGCSet_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardUGCSet_t_123::operator u32_LeaderboardUGCSet_t_123() const +{ + u32_LeaderboardUGCSet_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} + +u32_LeaderboardUGCSet_t_123::operator w32_LeaderboardUGCSet_t_123() const +{ + w32_LeaderboardUGCSet_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} +#endif + +#ifdef __i386__ +w32_LeaderboardUGCSet_t_111x::operator u32_LeaderboardUGCSet_t_111x() const +{ + u32_LeaderboardUGCSet_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} + +u32_LeaderboardUGCSet_t_111x::operator w32_LeaderboardUGCSet_t_111x() const +{ + w32_LeaderboardUGCSet_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hSteamLeaderboard = this->m_hSteamLeaderboard; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_LobbyCreated_t_123) >= 16 ); +C_ASSERT( offsetof(w64_LobbyCreated_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_LobbyCreated_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_LobbyCreated_t_123, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(w64_LobbyCreated_t_123().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(u64_LobbyCreated_t_123) >= 12 ); +C_ASSERT( offsetof(u64_LobbyCreated_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_LobbyCreated_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_LobbyCreated_t_123, m_ulSteamIDLobby) == 4 ); +C_ASSERT( sizeof(u64_LobbyCreated_t_123().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(w32_LobbyCreated_t_123) >= 16 ); +C_ASSERT( offsetof(w32_LobbyCreated_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_LobbyCreated_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_LobbyCreated_t_123, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(w32_LobbyCreated_t_123().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(u32_LobbyCreated_t_123) >= 12 ); +C_ASSERT( offsetof(u32_LobbyCreated_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_LobbyCreated_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_LobbyCreated_t_123, m_ulSteamIDLobby) == 4 ); +C_ASSERT( sizeof(u32_LobbyCreated_t_123().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(w64_LobbyCreated_t_099u) >= 16 ); +C_ASSERT( offsetof(w64_LobbyCreated_t_099u, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_LobbyCreated_t_099u().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_LobbyCreated_t_099u, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(w64_LobbyCreated_t_099u().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(u64_LobbyCreated_t_099u) >= 16 ); +C_ASSERT( offsetof(u64_LobbyCreated_t_099u, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_LobbyCreated_t_099u().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_LobbyCreated_t_099u, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(u64_LobbyCreated_t_099u().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(w32_LobbyCreated_t_099u) >= 16 ); +C_ASSERT( offsetof(w32_LobbyCreated_t_099u, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_LobbyCreated_t_099u().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_LobbyCreated_t_099u, m_ulSteamIDLobby) == 8 ); +C_ASSERT( sizeof(w32_LobbyCreated_t_099u().m_ulSteamIDLobby) >= 8 ); + +C_ASSERT( sizeof(u32_LobbyCreated_t_099u) >= 12 ); +C_ASSERT( offsetof(u32_LobbyCreated_t_099u, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_LobbyCreated_t_099u().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_LobbyCreated_t_099u, m_ulSteamIDLobby) == 4 ); +C_ASSERT( sizeof(u32_LobbyCreated_t_099u().m_ulSteamIDLobby) >= 8 ); + +#ifdef __x86_64__ +w64_LobbyCreated_t_123::operator u64_LobbyCreated_t_123() const +{ + u64_LobbyCreated_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} + +u64_LobbyCreated_t_123::operator w64_LobbyCreated_t_123() const +{ + w64_LobbyCreated_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} +#endif + +#ifdef __i386__ +w32_LobbyCreated_t_123::operator u32_LobbyCreated_t_123() const +{ + u32_LobbyCreated_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} + +u32_LobbyCreated_t_123::operator w32_LobbyCreated_t_123() const +{ + w32_LobbyCreated_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} +#endif + +#ifdef __i386__ +w32_LobbyCreated_t_099u::operator u32_LobbyCreated_t_099u() const +{ + u32_LobbyCreated_t_099u ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} + +u32_LobbyCreated_t_099u::operator w32_LobbyCreated_t_099u() const +{ + w32_LobbyCreated_t_099u ret; + ret.m_eResult = this->m_eResult; + ret.m_ulSteamIDLobby = this->m_ulSteamIDLobby; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_123) >= 24 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_123, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_123().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_123, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_123().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_123, m_bAuthorized) == 16 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_123().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_123) >= 16 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_123, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_123().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_123, m_ulOrderID) == 4 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_123().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_123, m_bAuthorized) == 12 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_123().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_123) >= 24 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_123, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_123().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_123, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_123().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_123, m_bAuthorized) == 16 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_123().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_123) >= 16 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_123, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_123().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_123, m_ulOrderID) == 4 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_123().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_123, m_bAuthorized) == 12 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_123().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_109) >= 24 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_109, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_109().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_109, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_109().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w64_MicroTxnAuthorizationResponse_t_109, m_bAuthorized) == 16 ); +C_ASSERT( sizeof(w64_MicroTxnAuthorizationResponse_t_109().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_109) >= 24 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_109, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_109().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_109, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_109().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u64_MicroTxnAuthorizationResponse_t_109, m_bAuthorized) == 16 ); +C_ASSERT( sizeof(u64_MicroTxnAuthorizationResponse_t_109().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_109) >= 24 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_109, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_109().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_109, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_109().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w32_MicroTxnAuthorizationResponse_t_109, m_bAuthorized) == 16 ); +C_ASSERT( sizeof(w32_MicroTxnAuthorizationResponse_t_109().m_bAuthorized) >= 1 ); + +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_109) >= 16 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_109, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_109().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_109, m_ulOrderID) == 4 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_109().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u32_MicroTxnAuthorizationResponse_t_109, m_bAuthorized) == 12 ); +C_ASSERT( sizeof(u32_MicroTxnAuthorizationResponse_t_109().m_bAuthorized) >= 1 ); + +#ifdef __x86_64__ +w64_MicroTxnAuthorizationResponse_t_123::operator u64_MicroTxnAuthorizationResponse_t_123() const +{ + u64_MicroTxnAuthorizationResponse_t_123 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} + +u64_MicroTxnAuthorizationResponse_t_123::operator w64_MicroTxnAuthorizationResponse_t_123() const +{ + w64_MicroTxnAuthorizationResponse_t_123 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} +#endif + +#ifdef __i386__ +w32_MicroTxnAuthorizationResponse_t_123::operator u32_MicroTxnAuthorizationResponse_t_123() const +{ + u32_MicroTxnAuthorizationResponse_t_123 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} + +u32_MicroTxnAuthorizationResponse_t_123::operator w32_MicroTxnAuthorizationResponse_t_123() const +{ + w32_MicroTxnAuthorizationResponse_t_123 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} +#endif + +#ifdef __i386__ +w32_MicroTxnAuthorizationResponse_t_109::operator u32_MicroTxnAuthorizationResponse_t_109() const +{ + u32_MicroTxnAuthorizationResponse_t_109 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} + +u32_MicroTxnAuthorizationResponse_t_109::operator w32_MicroTxnAuthorizationResponse_t_109() const +{ + w32_MicroTxnAuthorizationResponse_t_109 ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_bAuthorized = this->m_bAuthorized; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_123) >= 24 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_123, m_nGameID) == 0 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_123().m_nGameID) >= 8 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_123, m_eResult) == 8 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_123, m_ulRequiredDiskSpace) == 16 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_123().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_123) >= 20 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_123, m_nGameID) == 0 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_123().m_nGameID) >= 8 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_123, m_eResult) == 8 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_123, m_ulRequiredDiskSpace) == 12 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_123().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_123) >= 24 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_123, m_nGameID) == 0 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_123().m_nGameID) >= 8 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_123, m_eResult) == 8 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_123, m_ulRequiredDiskSpace) == 16 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_123().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_123) >= 20 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_123, m_nGameID) == 0 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_123().m_nGameID) >= 8 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_123, m_eResult) == 8 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_123, m_ulRequiredDiskSpace) == 12 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_123().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_112x) >= 24 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_112x, m_nGameID) == 0 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_112x().m_nGameID) >= 8 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_112x, m_eResult) == 8 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_112x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_PS3TrophiesInstalled_t_112x, m_ulRequiredDiskSpace) == 16 ); +C_ASSERT( sizeof(w64_PS3TrophiesInstalled_t_112x().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_112x) >= 24 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_112x, m_nGameID) == 0 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_112x().m_nGameID) >= 8 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_112x, m_eResult) == 8 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_112x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_PS3TrophiesInstalled_t_112x, m_ulRequiredDiskSpace) == 16 ); +C_ASSERT( sizeof(u64_PS3TrophiesInstalled_t_112x().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_112x) >= 24 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_112x, m_nGameID) == 0 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_112x().m_nGameID) >= 8 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_112x, m_eResult) == 8 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_112x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_PS3TrophiesInstalled_t_112x, m_ulRequiredDiskSpace) == 16 ); +C_ASSERT( sizeof(w32_PS3TrophiesInstalled_t_112x().m_ulRequiredDiskSpace) >= 8 ); + +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_112x) >= 20 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_112x, m_nGameID) == 0 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_112x().m_nGameID) >= 8 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_112x, m_eResult) == 8 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_112x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_PS3TrophiesInstalled_t_112x, m_ulRequiredDiskSpace) == 12 ); +C_ASSERT( sizeof(u32_PS3TrophiesInstalled_t_112x().m_ulRequiredDiskSpace) >= 8 ); + +#ifdef __x86_64__ +w64_PS3TrophiesInstalled_t_123::operator u64_PS3TrophiesInstalled_t_123() const +{ + u64_PS3TrophiesInstalled_t_123 ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} + +u64_PS3TrophiesInstalled_t_123::operator w64_PS3TrophiesInstalled_t_123() const +{ + w64_PS3TrophiesInstalled_t_123 ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} +#endif + +#ifdef __i386__ +w32_PS3TrophiesInstalled_t_123::operator u32_PS3TrophiesInstalled_t_123() const +{ + u32_PS3TrophiesInstalled_t_123 ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} + +u32_PS3TrophiesInstalled_t_123::operator w32_PS3TrophiesInstalled_t_123() const +{ + w32_PS3TrophiesInstalled_t_123 ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} +#endif + +#ifdef __i386__ +w32_PS3TrophiesInstalled_t_112x::operator u32_PS3TrophiesInstalled_t_112x() const +{ + u32_PS3TrophiesInstalled_t_112x ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} + +u32_PS3TrophiesInstalled_t_112x::operator w32_PS3TrophiesInstalled_t_112x() const +{ + w32_PS3TrophiesInstalled_t_112x ret; + ret.m_nGameID = this->m_nGameID; + ret.m_eResult = this->m_eResult; + ret.m_ulRequiredDiskSpace = this->m_ulRequiredDiskSpace; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123) >= 288 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_123, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_123, m_nAppID) == 260 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_123, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_123, m_dAppPercentComplete) == 272 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_123, m_bUploading) == 280 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_123().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123) >= 280 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_123, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_123, m_nAppID) == 260 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_123, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_123, m_dAppPercentComplete) == 268 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_123, m_bUploading) == 276 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_123().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123) >= 288 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_123, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_123, m_nAppID) == 260 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_123, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_123, m_dAppPercentComplete) == 272 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_123, m_bUploading) == 280 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_123().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123) >= 280 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_123, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_123, m_nAppID) == 260 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_123, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_123, m_dAppPercentComplete) == 268 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_123, m_bUploading) == 276 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_123().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x) >= 288 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_111x, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_111x, m_nAppID) == 260 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_111x, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_111x, m_dAppPercentComplete) == 272 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageAppSyncProgress_t_111x, m_bUploading) == 280 ); +C_ASSERT( sizeof(w64_RemoteStorageAppSyncProgress_t_111x().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x) >= 288 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_111x, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_111x, m_nAppID) == 260 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_111x, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_111x, m_dAppPercentComplete) == 272 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageAppSyncProgress_t_111x, m_bUploading) == 280 ); +C_ASSERT( sizeof(u64_RemoteStorageAppSyncProgress_t_111x().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x) >= 288 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_111x, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_111x, m_nAppID) == 260 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_111x, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_111x, m_dAppPercentComplete) == 272 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageAppSyncProgress_t_111x, m_bUploading) == 280 ); +C_ASSERT( sizeof(w32_RemoteStorageAppSyncProgress_t_111x().m_bUploading) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x) >= 280 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_111x, m_rgchCurrentFile) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x().m_rgchCurrentFile) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_111x, m_nAppID) == 260 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_111x, m_uBytesTransferredThisChunk) == 264 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x().m_uBytesTransferredThisChunk) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_111x, m_dAppPercentComplete) == 268 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x().m_dAppPercentComplete) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageAppSyncProgress_t_111x, m_bUploading) == 276 ); +C_ASSERT( sizeof(u32_RemoteStorageAppSyncProgress_t_111x().m_bUploading) >= 1 ); + +#ifdef __x86_64__ +w64_RemoteStorageAppSyncProgress_t_123::operator u64_RemoteStorageAppSyncProgress_t_123() const +{ + u64_RemoteStorageAppSyncProgress_t_123 ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} + +u64_RemoteStorageAppSyncProgress_t_123::operator w64_RemoteStorageAppSyncProgress_t_123() const +{ + w64_RemoteStorageAppSyncProgress_t_123 ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageAppSyncProgress_t_123::operator u32_RemoteStorageAppSyncProgress_t_123() const +{ + u32_RemoteStorageAppSyncProgress_t_123 ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} + +u32_RemoteStorageAppSyncProgress_t_123::operator w32_RemoteStorageAppSyncProgress_t_123() const +{ + w32_RemoteStorageAppSyncProgress_t_123 ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageAppSyncProgress_t_111x::operator u32_RemoteStorageAppSyncProgress_t_111x() const +{ + u32_RemoteStorageAppSyncProgress_t_111x ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} + +u32_RemoteStorageAppSyncProgress_t_111x::operator w32_RemoteStorageAppSyncProgress_t_111x() const +{ + w32_RemoteStorageAppSyncProgress_t_111x ret; + ret.m_rgchCurrentFile = this->m_rgchCurrentFile; + ret.m_nAppID = this->m_nAppID; + ret.m_uBytesTransferredThisChunk = this->m_uBytesTransferredThisChunk; + ret.m_dAppPercentComplete = this->m_dAppPercentComplete; + ret.m_bUploading = this->m_bUploading; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageDeletePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDeletePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageDeletePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDeletePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageDeletePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDeletePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageDeletePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDeletePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageDeletePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDeletePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageDeletePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageDeletePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDeletePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageDeletePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageDeletePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDeletePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageDeletePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_116x) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageDeletePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDeletePublishedFileResult_t_116x, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageDeletePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStorageDeletePublishedFileResult_t_123::operator u64_RemoteStorageDeletePublishedFileResult_t_123() const +{ + u64_RemoteStorageDeletePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStorageDeletePublishedFileResult_t_123::operator w64_RemoteStorageDeletePublishedFileResult_t_123() const +{ + w64_RemoteStorageDeletePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageDeletePublishedFileResult_t_123::operator u32_RemoteStorageDeletePublishedFileResult_t_123() const +{ + u32_RemoteStorageDeletePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageDeletePublishedFileResult_t_123::operator w32_RemoteStorageDeletePublishedFileResult_t_123() const +{ + w32_RemoteStorageDeletePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageDeletePublishedFileResult_t_116x::operator u32_RemoteStorageDeletePublishedFileResult_t_116x() const +{ + u32_RemoteStorageDeletePublishedFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageDeletePublishedFileResult_t_116x::operator w32_RemoteStorageDeletePublishedFileResult_t_116x() const +{ + w32_RemoteStorageDeletePublishedFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123) >= 296 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_nAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_123, m_ulSteamIDOwner) == 288 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_123().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123) >= 288 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_hFile) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_nAppID) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_nSizeInBytes) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_pchFileName) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_123, m_ulSteamIDOwner) == 280 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_123().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123) >= 296 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_nAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_123, m_ulSteamIDOwner) == 288 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_123().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123) >= 288 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_nAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_nSizeInBytes) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_pchFileName) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_123, m_ulSteamIDOwner) == 280 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_123().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x) >= 296 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_nAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_116x, m_ulSteamIDOwner) == 288 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_116x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x) >= 296 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_hFile) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_nAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_116x, m_ulSteamIDOwner) == 288 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_116x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x) >= 296 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_nAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_116x, m_ulSteamIDOwner) == 288 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_116x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x) >= 288 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_nAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_nSizeInBytes) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_pchFileName) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_116x, m_ulSteamIDOwner) == 280 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_116x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x) >= 40 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_nAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_pchFileName) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageDownloadUGCResult_t_111x, m_ulSteamIDOwner) == 32 ); +C_ASSERT( sizeof(w64_RemoteStorageDownloadUGCResult_t_111x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x) >= 40 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_nAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_pchFileName) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageDownloadUGCResult_t_111x, m_ulSteamIDOwner) == 32 ); +C_ASSERT( sizeof(u64_RemoteStorageDownloadUGCResult_t_111x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x) >= 40 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_nAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_nSizeInBytes) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_pchFileName) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_pchFileName) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageDownloadUGCResult_t_111x, m_ulSteamIDOwner) == 32 ); +C_ASSERT( sizeof(w32_RemoteStorageDownloadUGCResult_t_111x().m_ulSteamIDOwner) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x) >= 32 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_nAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_nSizeInBytes) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_nSizeInBytes) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_pchFileName) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_pchFileName) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageDownloadUGCResult_t_111x, m_ulSteamIDOwner) == 24 ); +C_ASSERT( sizeof(u32_RemoteStorageDownloadUGCResult_t_111x().m_ulSteamIDOwner) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStorageDownloadUGCResult_t_123::operator u64_RemoteStorageDownloadUGCResult_t_123() const +{ + u64_RemoteStorageDownloadUGCResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} + +u64_RemoteStorageDownloadUGCResult_t_123::operator w64_RemoteStorageDownloadUGCResult_t_123() const +{ + w64_RemoteStorageDownloadUGCResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageDownloadUGCResult_t_123::operator u32_RemoteStorageDownloadUGCResult_t_123() const +{ + u32_RemoteStorageDownloadUGCResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} + +u32_RemoteStorageDownloadUGCResult_t_123::operator w32_RemoteStorageDownloadUGCResult_t_123() const +{ + w32_RemoteStorageDownloadUGCResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageDownloadUGCResult_t_116x::operator u32_RemoteStorageDownloadUGCResult_t_116x() const +{ + u32_RemoteStorageDownloadUGCResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} + +u32_RemoteStorageDownloadUGCResult_t_116x::operator w32_RemoteStorageDownloadUGCResult_t_116x() const +{ + w32_RemoteStorageDownloadUGCResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageDownloadUGCResult_t_111x::operator u32_RemoteStorageDownloadUGCResult_t_111x() const +{ + u32_RemoteStorageDownloadUGCResult_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} + +u32_RemoteStorageDownloadUGCResult_t_111x::operator w32_RemoteStorageDownloadUGCResult_t_111x() const +{ + w32_RemoteStorageDownloadUGCResult_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_nAppID = this->m_nAppID; + ret.m_nSizeInBytes = this->m_nSizeInBytes; + ret.m_pchFileName = this->m_pchFileName; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123) >= 416 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123) >= 412 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123) >= 416 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123) >= 412 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x) >= 416 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x) >= 416 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x) >= 416 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x) >= 412 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); + +#ifdef __x86_64__ +w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123::operator u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const +{ + u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u64_RemoteStorageEnumerateUserPublishedFilesResult_t_123::operator w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const +{ + w64_RemoteStorageEnumerateUserPublishedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123::operator u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const +{ + u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u32_RemoteStorageEnumerateUserPublishedFilesResult_t_123::operator w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123() const +{ + w32_RemoteStorageEnumerateUserPublishedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x::operator u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x() const +{ + u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x::operator w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x() const +{ + w32_RemoteStorageEnumerateUserPublishedFilesResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123) >= 416 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123) >= 412 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123) >= 416 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123) >= 412 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119) >= 416 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119) >= 416 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119) >= 416 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119) >= 412 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); + +#ifdef __x86_64__ +w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123::operator u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const +{ + u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123::operator w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const +{ + w64_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123::operator u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const +{ + u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123::operator w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123() const +{ + w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119::operator u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119() const +{ + u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} + +u32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119::operator w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119() const +{ + w32_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123) >= 616 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgRTimeSubscribed) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123) >= 612 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgRTimeSubscribed) == 412 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123) >= 616 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgRTimeSubscribed) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123) >= 612 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123, m_rgRTimeSubscribed) == 412 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x) >= 616 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgRTimeSubscribed) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x) >= 616 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgRTimeSubscribed) == 416 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x) >= 616 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgRTimeSubscribed) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgRTimeSubscribed) >= 200 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x) >= 612 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x, m_rgRTimeSubscribed) == 412 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x().m_rgRTimeSubscribed) >= 200 ); + +#ifdef __x86_64__ +w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123::operator u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const +{ + u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} + +u64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123::operator w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const +{ + w64_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123::operator u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const +{ + u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} + +u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123::operator w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123() const +{ + w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x::operator u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x() const +{ + u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} + +u32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x::operator w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x() const +{ + w32_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgRTimeSubscribed = this->m_rgRTimeSubscribed; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125) >= 624 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgScore) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgScore) >= 200 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nAppId) == 616 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nAppId) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_unStartIndex) == 620 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_unStartIndex) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125) >= 620 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgScore) == 412 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgScore) >= 200 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nAppId) == 612 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nAppId) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_unStartIndex) == 616 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_unStartIndex) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125) >= 624 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgScore) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgScore) >= 200 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nAppId) == 616 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nAppId) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_unStartIndex) == 620 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_unStartIndex) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125) >= 620 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_rgScore) == 412 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_rgScore) >= 200 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_nAppId) == 612 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_nAppId) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125, m_unStartIndex) == 616 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_125().m_unStartIndex) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123) >= 616 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgScore) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123) >= 612 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgScore) == 412 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123) >= 616 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgScore) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123) >= 612 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123, m_rgScore) == 412 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_123().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119) >= 616 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgScore) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119) >= 616 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgScore) == 416 ); +C_ASSERT( sizeof(u64_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119) >= 616 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgScore) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgScore) >= 200 ); + +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119) >= 612 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nResultsReturned) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nResultsReturned) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_nTotalResultCount) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_nTotalResultCount) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgPublishedFileId) >= 400 ); +C_ASSERT( offsetof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119, m_rgScore) == 412 ); +C_ASSERT( sizeof(u32_RemoteStorageEnumerateWorkshopFilesResult_t_119().m_rgScore) >= 200 ); + +#ifdef __x86_64__ +w64_RemoteStorageEnumerateWorkshopFilesResult_t_125::operator u64_RemoteStorageEnumerateWorkshopFilesResult_t_125() const +{ + u64_RemoteStorageEnumerateWorkshopFilesResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + ret.m_nAppId = this->m_nAppId; + ret.m_unStartIndex = this->m_unStartIndex; + return ret; +} + +u64_RemoteStorageEnumerateWorkshopFilesResult_t_125::operator w64_RemoteStorageEnumerateWorkshopFilesResult_t_125() const +{ + w64_RemoteStorageEnumerateWorkshopFilesResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + ret.m_nAppId = this->m_nAppId; + ret.m_unStartIndex = this->m_unStartIndex; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateWorkshopFilesResult_t_125::operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_125() const +{ + u32_RemoteStorageEnumerateWorkshopFilesResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + ret.m_nAppId = this->m_nAppId; + ret.m_unStartIndex = this->m_unStartIndex; + return ret; +} + +u32_RemoteStorageEnumerateWorkshopFilesResult_t_125::operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_125() const +{ + w32_RemoteStorageEnumerateWorkshopFilesResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + ret.m_nAppId = this->m_nAppId; + ret.m_unStartIndex = this->m_unStartIndex; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RemoteStorageEnumerateWorkshopFilesResult_t_123::operator u64_RemoteStorageEnumerateWorkshopFilesResult_t_123() const +{ + u64_RemoteStorageEnumerateWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} + +u64_RemoteStorageEnumerateWorkshopFilesResult_t_123::operator w64_RemoteStorageEnumerateWorkshopFilesResult_t_123() const +{ + w64_RemoteStorageEnumerateWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateWorkshopFilesResult_t_123::operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_123() const +{ + u32_RemoteStorageEnumerateWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} + +u32_RemoteStorageEnumerateWorkshopFilesResult_t_123::operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_123() const +{ + w32_RemoteStorageEnumerateWorkshopFilesResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageEnumerateWorkshopFilesResult_t_119::operator u32_RemoteStorageEnumerateWorkshopFilesResult_t_119() const +{ + u32_RemoteStorageEnumerateWorkshopFilesResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} + +u32_RemoteStorageEnumerateWorkshopFilesResult_t_119::operator w32_RemoteStorageEnumerateWorkshopFilesResult_t_119() const +{ + w32_RemoteStorageEnumerateWorkshopFilesResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nResultsReturned = this->m_nResultsReturned; + ret.m_nTotalResultCount = this->m_nTotalResultCount; + ret.m_rgPublishedFileId = this->m_rgPublishedFileId; + ret.m_rgScore = this->m_rgScore; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_128x) >= 280 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_128x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_128x, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_128x, m_rgchFilename) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_128x().m_rgchFilename) >= 260 ); + +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_128x) >= 272 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_128x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_128x, m_hFile) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_128x, m_rgchFilename) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_128x().m_rgchFilename) >= 260 ); + +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_128x) >= 280 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_128x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_128x, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_128x, m_rgchFilename) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_128x().m_rgchFilename) >= 260 ); + +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_128x) >= 272 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_128x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_128x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_128x, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_128x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_128x, m_rgchFilename) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_128x().m_rgchFilename) >= 260 ); + +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_123, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_123().m_hFile) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_123, m_hFile) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_123().m_hFile) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_123, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_123().m_hFile) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_123, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_123().m_hFile) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_111x) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageFileShareResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageFileShareResult_t_111x().m_hFile) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_111x) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageFileShareResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageFileShareResult_t_111x().m_hFile) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_111x) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageFileShareResult_t_111x, m_hFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageFileShareResult_t_111x().m_hFile) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_111x) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_111x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_111x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageFileShareResult_t_111x, m_hFile) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageFileShareResult_t_111x().m_hFile) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStorageFileShareResult_t_128x::operator u64_RemoteStorageFileShareResult_t_128x() const +{ + u64_RemoteStorageFileShareResult_t_128x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_rgchFilename = this->m_rgchFilename; + return ret; +} + +u64_RemoteStorageFileShareResult_t_128x::operator w64_RemoteStorageFileShareResult_t_128x() const +{ + w64_RemoteStorageFileShareResult_t_128x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_rgchFilename = this->m_rgchFilename; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageFileShareResult_t_128x::operator u32_RemoteStorageFileShareResult_t_128x() const +{ + u32_RemoteStorageFileShareResult_t_128x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_rgchFilename = this->m_rgchFilename; + return ret; +} + +u32_RemoteStorageFileShareResult_t_128x::operator w32_RemoteStorageFileShareResult_t_128x() const +{ + w32_RemoteStorageFileShareResult_t_128x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + ret.m_rgchFilename = this->m_rgchFilename; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RemoteStorageFileShareResult_t_123::operator u64_RemoteStorageFileShareResult_t_123() const +{ + u64_RemoteStorageFileShareResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} + +u64_RemoteStorageFileShareResult_t_123::operator w64_RemoteStorageFileShareResult_t_123() const +{ + w64_RemoteStorageFileShareResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageFileShareResult_t_123::operator u32_RemoteStorageFileShareResult_t_123() const +{ + u32_RemoteStorageFileShareResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} + +u32_RemoteStorageFileShareResult_t_123::operator w32_RemoteStorageFileShareResult_t_123() const +{ + w32_RemoteStorageFileShareResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageFileShareResult_t_111x::operator u32_RemoteStorageFileShareResult_t_111x() const +{ + u32_RemoteStorageFileShareResult_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} + +u32_RemoteStorageFileShareResult_t_111x::operator w32_RemoteStorageFileShareResult_t_111x() const +{ + w32_RemoteStorageFileShareResult_t_111x ret; + ret.m_eResult = this->m_eResult; + ret.m_hFile = this->m_hFile; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126) >= 9760 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hFile) == 8160 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bAcceptedForUse) == 9752 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bAcceptedForUse) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126) >= 9748 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hFile) == 8152 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eFileType) == 9740 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bAcceptedForUse) == 9744 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bAcceptedForUse) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126) >= 9760 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hFile) == 8160 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bAcceptedForUse) == 9752 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bAcceptedForUse) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126) >= 9748 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hFile) == 8152 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_eFileType) == 9740 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_eFileType) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126, m_bAcceptedForUse) == 9744 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_126().m_bAcceptedForUse) >= 1 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123) >= 9752 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hFile) == 8160 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123) >= 9744 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hFile) == 8152 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eFileType) == 9740 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123) >= 9752 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hFile) == 8160 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123) >= 9744 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hFile) == 8152 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123, m_eFileType) == 9740 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_123().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x) >= 9752 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hFile) == 8160 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x) >= 9752 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hFile) == 8160 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bBanned) == 8196 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eFileType) == 9748 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x) >= 9752 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hFile) == 8160 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eFileType) == 9748 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x) >= 9744 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hFile) == 8152 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_rgchURL) >= 256 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x, m_eFileType) == 9740 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119x().m_eFileType) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119) >= 9752 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hFile) == 8160 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchURL) >= 256 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119) >= 9752 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hFile) == 8160 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bBanned) == 8196 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchURL) >= 256 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119) >= 9752 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hFile) == 8160 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchURL) == 9492 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchURL) >= 256 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119) >= 9740 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hFile) == 8152 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_nPreviewFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119, m_rgchURL) == 9484 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_119().m_rgchURL) >= 256 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118) >= 9496 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hFile) == 8160 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPreviewFileSize) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118) >= 9496 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hFile) == 8160 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bBanned) == 8196 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPreviewFileSize) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118) >= 9496 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hFile) == 8160 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hPreviewFile) == 8168 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_ulSteamIDOwner) == 8176 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeCreated) == 8184 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeUpdated) == 8188 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eVisibility) == 8192 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bBanned) == 8196 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTags) == 8197 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bTagsTruncated) == 9222 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_pchFileName) == 9223 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nFileSize) == 9484 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPreviewFileSize) == 9488 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPreviewFileSize) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118) >= 9484 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchDescription) >= 8000 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hFile) == 8152 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_hPreviewFile) == 8160 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_ulSteamIDOwner) == 8168 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeCreated) == 8176 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rtimeUpdated) == 8180 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_eVisibility) == 8184 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bBanned) == 8188 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_rgchTags) == 8189 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_bTagsTruncated) == 9214 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_pchFileName) == 9215 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_pchFileName) >= 260 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nFileSize) == 9476 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nFileSize) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118, m_nPreviewFileSize) == 9480 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_118().m_nPreviewFileSize) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x) >= 1744 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchDescription) >= 257 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hFile) == 416 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hPreviewFile) == 424 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_ulSteamIDOwner) == 432 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeCreated) == 440 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeUpdated) == 444 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eVisibility) == 448 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bBanned) == 452 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTags) == 453 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bTagsTruncated) == 1478 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_pchFileName) == 1479 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_pchFileName) >= 260 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x) >= 1744 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchDescription) >= 257 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hFile) == 416 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hPreviewFile) == 424 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_ulSteamIDOwner) == 432 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeCreated) == 440 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeUpdated) == 444 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eVisibility) == 448 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bBanned) == 452 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTags) == 453 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bTagsTruncated) == 1478 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_pchFileName) == 1479 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_pchFileName) >= 260 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x) >= 1744 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nCreatorAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nConsumerAppID) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTitle) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchDescription) == 153 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchDescription) >= 257 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hFile) == 416 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hPreviewFile) == 424 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_ulSteamIDOwner) == 432 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeCreated) == 440 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeUpdated) == 444 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eVisibility) == 448 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bBanned) == 452 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTags) == 453 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bTagsTruncated) == 1478 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_pchFileName) == 1479 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_pchFileName) >= 260 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x) >= 1732 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nCreatorAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nCreatorAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_nConsumerAppID) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_nConsumerAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTitle) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTitle) >= 129 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchDescription) == 149 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchDescription) >= 257 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hFile) == 408 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_hPreviewFile) == 416 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_hPreviewFile) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_ulSteamIDOwner) == 424 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_ulSteamIDOwner) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeCreated) == 432 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeCreated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rtimeUpdated) == 436 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rtimeUpdated) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_eVisibility) == 440 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bBanned) == 444 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bBanned) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_rgchTags) == 445 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_rgchTags) >= 1025 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_bTagsTruncated) == 1470 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_bTagsTruncated) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x, m_pchFileName) == 1471 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedFileDetailsResult_t_116x().m_pchFileName) >= 260 ); + +#ifdef __x86_64__ +w64_RemoteStorageGetPublishedFileDetailsResult_t_126::operator u64_RemoteStorageGetPublishedFileDetailsResult_t_126() const +{ + u64_RemoteStorageGetPublishedFileDetailsResult_t_126 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + return ret; +} + +u64_RemoteStorageGetPublishedFileDetailsResult_t_126::operator w64_RemoteStorageGetPublishedFileDetailsResult_t_126() const +{ + w64_RemoteStorageGetPublishedFileDetailsResult_t_126 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_126::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_126() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_126 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_126::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_126() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_126 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + ret.m_bAcceptedForUse = this->m_bAcceptedForUse; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RemoteStorageGetPublishedFileDetailsResult_t_123::operator u64_RemoteStorageGetPublishedFileDetailsResult_t_123() const +{ + u64_RemoteStorageGetPublishedFileDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} + +u64_RemoteStorageGetPublishedFileDetailsResult_t_123::operator w64_RemoteStorageGetPublishedFileDetailsResult_t_123() const +{ + w64_RemoteStorageGetPublishedFileDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_123::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_123() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_123::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_123() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_119x::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_119x() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_119x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_119x::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_119x() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_119x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + ret.m_eFileType = this->m_eFileType; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_119::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_119() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_119::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_119() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + ret.m_rgchURL = this->m_rgchURL; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_118::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_118() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_118 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_118::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_118() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_118 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + ret.m_nFileSize = this->m_nFileSize; + ret.m_nPreviewFileSize = this->m_nPreviewFileSize; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedFileDetailsResult_t_116x::operator u32_RemoteStorageGetPublishedFileDetailsResult_t_116x() const +{ + u32_RemoteStorageGetPublishedFileDetailsResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + return ret; +} + +u32_RemoteStorageGetPublishedFileDetailsResult_t_116x::operator w32_RemoteStorageGetPublishedFileDetailsResult_t_116x() const +{ + w32_RemoteStorageGetPublishedFileDetailsResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nCreatorAppID = this->m_nCreatorAppID; + ret.m_nConsumerAppID = this->m_nConsumerAppID; + ret.m_rgchTitle = this->m_rgchTitle; + ret.m_rgchDescription = this->m_rgchDescription; + ret.m_hFile = this->m_hFile; + ret.m_hPreviewFile = this->m_hPreviewFile; + ret.m_ulSteamIDOwner = this->m_ulSteamIDOwner; + ret.m_rtimeCreated = this->m_rtimeCreated; + ret.m_rtimeUpdated = this->m_rtimeUpdated; + ret.m_eVisibility = this->m_eVisibility; + ret.m_bBanned = this->m_bBanned; + ret.m_rgchTags = this->m_rgchTags; + ret.m_bTagsTruncated = this->m_bTagsTruncated; + ret.m_pchFileName = this->m_pchFileName; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123) >= 32 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_unPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesFor) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesAgainst) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nReports) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nReports) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_fScore) == 28 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_fScore) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123) >= 28 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_unPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesFor) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesAgainst) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nReports) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nReports) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_fScore) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_fScore) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123) >= 32 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_unPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesFor) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesAgainst) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nReports) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nReports) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_fScore) == 28 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_fScore) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123) >= 28 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_unPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesFor) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nVotesAgainst) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_nReports) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_nReports) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123, m_fScore) == 24 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123().m_fScore) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119) >= 32 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_unPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesFor) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesAgainst) == 20 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nReports) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nReports) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_fScore) == 28 ); +C_ASSERT( sizeof(w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_fScore) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119) >= 32 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_unPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesFor) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesAgainst) == 20 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nReports) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nReports) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_fScore) == 28 ); +C_ASSERT( sizeof(u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_fScore) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119) >= 32 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_unPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesFor) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesAgainst) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nReports) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nReports) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_fScore) == 28 ); +C_ASSERT( sizeof(w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_fScore) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119) >= 28 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_unPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesFor) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesFor) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nVotesAgainst) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nVotesAgainst) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_nReports) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_nReports) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119, m_fScore) == 24 ); +C_ASSERT( sizeof(u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119().m_fScore) >= 4 ); + +#ifdef __x86_64__ +w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123::operator u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const +{ + u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} + +u64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123::operator w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const +{ + w64_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123::operator u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const +{ + u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} + +u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123::operator w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123() const +{ + w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119::operator u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119() const +{ + u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} + +u32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119::operator w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119() const +{ + w32_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_unPublishedFileId = this->m_unPublishedFileId; + ret.m_nVotesFor = this->m_nVotesFor; + ret.m_nVotesAgainst = this->m_nVotesAgainst; + ret.m_nReports = this->m_nReports; + ret.m_fScore = this->m_fScore; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_125) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_125, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_125) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_125, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_125) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_125, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_125) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_125, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_116x) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishFileResult_t_116x, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStoragePublishFileResult_t_125::operator u64_RemoteStoragePublishFileResult_t_125() const +{ + u64_RemoteStoragePublishFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u64_RemoteStoragePublishFileResult_t_125::operator w64_RemoteStoragePublishFileResult_t_125() const +{ + w64_RemoteStoragePublishFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStoragePublishFileResult_t_125::operator u32_RemoteStoragePublishFileResult_t_125() const +{ + u32_RemoteStoragePublishFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u32_RemoteStoragePublishFileResult_t_125::operator w32_RemoteStoragePublishFileResult_t_125() const +{ + w32_RemoteStoragePublishFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RemoteStoragePublishFileResult_t_123::operator u64_RemoteStoragePublishFileResult_t_123() const +{ + u64_RemoteStoragePublishFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStoragePublishFileResult_t_123::operator w64_RemoteStoragePublishFileResult_t_123() const +{ + w64_RemoteStoragePublishFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStoragePublishFileResult_t_123::operator u32_RemoteStoragePublishFileResult_t_123() const +{ + u32_RemoteStoragePublishFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStoragePublishFileResult_t_123::operator w32_RemoteStoragePublishFileResult_t_123() const +{ + w32_RemoteStoragePublishFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStoragePublishFileResult_t_116x::operator u32_RemoteStoragePublishFileResult_t_116x() const +{ + u32_RemoteStoragePublishFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStoragePublishFileResult_t_116x::operator w32_RemoteStoragePublishFileResult_t_116x() const +{ + w32_RemoteStoragePublishFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStoragePublishedFileUpdated_t) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishedFileUpdated_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishedFileUpdated_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishedFileUpdated_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishedFileUpdated_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStoragePublishedFileUpdated_t, m_ulUnused) == 16 ); +C_ASSERT( sizeof(w64_RemoteStoragePublishedFileUpdated_t().m_ulUnused) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStoragePublishedFileUpdated_t) >= 20 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishedFileUpdated_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishedFileUpdated_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishedFileUpdated_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishedFileUpdated_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStoragePublishedFileUpdated_t, m_ulUnused) == 12 ); +C_ASSERT( sizeof(u64_RemoteStoragePublishedFileUpdated_t().m_ulUnused) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStoragePublishedFileUpdated_t) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishedFileUpdated_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishedFileUpdated_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishedFileUpdated_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishedFileUpdated_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStoragePublishedFileUpdated_t, m_ulUnused) == 16 ); +C_ASSERT( sizeof(w32_RemoteStoragePublishedFileUpdated_t().m_ulUnused) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStoragePublishedFileUpdated_t) >= 20 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishedFileUpdated_t, m_nPublishedFileId) == 0 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishedFileUpdated_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishedFileUpdated_t, m_nAppID) == 8 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishedFileUpdated_t().m_nAppID) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStoragePublishedFileUpdated_t, m_ulUnused) == 12 ); +C_ASSERT( sizeof(u32_RemoteStoragePublishedFileUpdated_t().m_ulUnused) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStoragePublishedFileUpdated_t::operator u64_RemoteStoragePublishedFileUpdated_t() const +{ + u64_RemoteStoragePublishedFileUpdated_t ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + ret.m_ulUnused = this->m_ulUnused; + return ret; +} + +u64_RemoteStoragePublishedFileUpdated_t::operator w64_RemoteStoragePublishedFileUpdated_t() const +{ + w64_RemoteStoragePublishedFileUpdated_t ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + ret.m_ulUnused = this->m_ulUnused; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStoragePublishedFileUpdated_t::operator u32_RemoteStoragePublishedFileUpdated_t() const +{ + u32_RemoteStoragePublishedFileUpdated_t ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + ret.m_ulUnused = this->m_ulUnused; + return ret; +} + +u32_RemoteStoragePublishedFileUpdated_t::operator w32_RemoteStoragePublishedFileUpdated_t() const +{ + w32_RemoteStoragePublishedFileUpdated_t ret; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + ret.m_ulUnused = this->m_ulUnused; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eAction) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eAction) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eAction) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eAction) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eAction) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eAction) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123, m_eAction) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_123().m_eAction) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eAction) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eAction) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119) >= 24 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eAction) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eAction) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eAction) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eAction) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119, m_eAction) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageSetUserPublishedFileActionResult_t_119().m_eAction) >= 4 ); + +#ifdef __x86_64__ +w64_RemoteStorageSetUserPublishedFileActionResult_t_123::operator u64_RemoteStorageSetUserPublishedFileActionResult_t_123() const +{ + u64_RemoteStorageSetUserPublishedFileActionResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} + +u64_RemoteStorageSetUserPublishedFileActionResult_t_123::operator w64_RemoteStorageSetUserPublishedFileActionResult_t_123() const +{ + w64_RemoteStorageSetUserPublishedFileActionResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageSetUserPublishedFileActionResult_t_123::operator u32_RemoteStorageSetUserPublishedFileActionResult_t_123() const +{ + u32_RemoteStorageSetUserPublishedFileActionResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} + +u32_RemoteStorageSetUserPublishedFileActionResult_t_123::operator w32_RemoteStorageSetUserPublishedFileActionResult_t_123() const +{ + w32_RemoteStorageSetUserPublishedFileActionResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageSetUserPublishedFileActionResult_t_119::operator u32_RemoteStorageSetUserPublishedFileActionResult_t_119() const +{ + u32_RemoteStorageSetUserPublishedFileActionResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} + +u32_RemoteStorageSetUserPublishedFileActionResult_t_119::operator w32_RemoteStorageSetUserPublishedFileActionResult_t_119() const +{ + w32_RemoteStorageSetUserPublishedFileActionResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eAction = this->m_eAction; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageSubscribePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageSubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageSubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageSubscribePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageSubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageSubscribePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageSubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageSubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageSubscribePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageSubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageSubscribePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageSubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageSubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageSubscribePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageSubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageSubscribePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageSubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageSubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageSubscribePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageSubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageSubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageSubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageSubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageSubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageSubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageSubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageSubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageSubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageSubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageSubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageSubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageSubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +#ifdef __x86_64__ +w64_RemoteStorageSubscribePublishedFileResult_t_123::operator u64_RemoteStorageSubscribePublishedFileResult_t_123() const +{ + u64_RemoteStorageSubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStorageSubscribePublishedFileResult_t_123::operator w64_RemoteStorageSubscribePublishedFileResult_t_123() const +{ + w64_RemoteStorageSubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageSubscribePublishedFileResult_t_123::operator u32_RemoteStorageSubscribePublishedFileResult_t_123() const +{ + u32_RemoteStorageSubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageSubscribePublishedFileResult_t_123::operator w32_RemoteStorageSubscribePublishedFileResult_t_123() const +{ + w32_RemoteStorageSubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageUnsubscribePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageUnsubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUnsubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUnsubscribePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUnsubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageUnsubscribePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageUnsubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUnsubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUnsubscribePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageUnsubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageUnsubscribePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageUnsubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUnsubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUnsubscribePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUnsubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageUnsubscribePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageUnsubscribePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUnsubscribePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUnsubscribePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUnsubscribePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageUnsubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUnsubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUnsubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageUnsubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUnsubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUnsubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageUnsubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUnsubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUnsubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageUnsubscribePublishedFileResult_t_116x) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUnsubscribePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUnsubscribePublishedFileResult_t_116x().m_eResult) >= 4 ); + +#ifdef __x86_64__ +w64_RemoteStorageUnsubscribePublishedFileResult_t_123::operator u64_RemoteStorageUnsubscribePublishedFileResult_t_123() const +{ + u64_RemoteStorageUnsubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStorageUnsubscribePublishedFileResult_t_123::operator w64_RemoteStorageUnsubscribePublishedFileResult_t_123() const +{ + w64_RemoteStorageUnsubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUnsubscribePublishedFileResult_t_123::operator u32_RemoteStorageUnsubscribePublishedFileResult_t_123() const +{ + u32_RemoteStorageUnsubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageUnsubscribePublishedFileResult_t_123::operator w32_RemoteStorageUnsubscribePublishedFileResult_t_123() const +{ + w32_RemoteStorageUnsubscribePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t) >= 64 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_unPublishedFileId) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_pchFile) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_pchFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_pchPreviewFile) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_pchPreviewFile) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_pchTitle) == 24 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_pchTitle) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_pchDescription) == 32 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_pchDescription) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_eVisibility) == 40 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_pTags) == 48 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_pTags) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateFile) == 56 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateFile) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdatePreviewFile) == 57 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdatePreviewFile) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTitle) == 58 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTitle) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateDescription) == 59 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateDescription) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateVisibility) == 60 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateVisibility) >= 1 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTags) == 61 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTags) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t) >= 64 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_unPublishedFileId) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_pchFile) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_pchFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_pchPreviewFile) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_pchPreviewFile) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_pchTitle) == 24 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_pchTitle) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_pchDescription) == 32 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_pchDescription) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_eVisibility) == 40 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_pTags) == 48 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_pTags) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateFile) == 56 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateFile) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdatePreviewFile) == 57 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdatePreviewFile) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTitle) == 58 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTitle) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateDescription) == 59 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateDescription) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateVisibility) == 60 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateVisibility) >= 1 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTags) == 61 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTags) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t) >= 40 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_unPublishedFileId) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_pchFile) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_pchFile) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_pchPreviewFile) == 12 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_pchPreviewFile) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_pchTitle) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_pchTitle) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_pchDescription) == 20 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_pchDescription) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_eVisibility) == 24 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_pTags) == 28 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_pTags) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateFile) == 32 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateFile) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdatePreviewFile) == 33 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdatePreviewFile) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTitle) == 34 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTitle) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateDescription) == 35 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateDescription) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateVisibility) == 36 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateVisibility) >= 1 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTags) == 37 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTags) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t) >= 40 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_unPublishedFileId) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_unPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_pchFile) == 8 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_pchFile) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_pchPreviewFile) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_pchPreviewFile) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_pchTitle) == 16 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_pchTitle) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_pchDescription) == 20 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_pchDescription) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_eVisibility) == 24 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_eVisibility) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_pTags) == 28 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_pTags) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateFile) == 32 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateFile) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdatePreviewFile) == 33 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdatePreviewFile) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTitle) == 34 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTitle) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateDescription) == 35 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateDescription) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateVisibility) == 36 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateVisibility) >= 1 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileRequest_t, m_bUpdateTags) == 37 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileRequest_t().m_bUpdateTags) >= 1 ); + +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_125) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_125, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_125) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_125, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_125) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_125, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_125) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_125, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_125().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_125, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_125().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_125, m_bUserNeedsToAcceptWorkshopLegalAgreement) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_125().m_bUserNeedsToAcceptWorkshopLegalAgreement) >= 1 ); + +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdatePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdatePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdatePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdatePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_116x) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdatePublishedFileResult_t_116x, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdatePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_116x) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_116x, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_116x().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdatePublishedFileResult_t_116x, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdatePublishedFileResult_t_116x().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStorageUpdatePublishedFileResult_t_125::operator u64_RemoteStorageUpdatePublishedFileResult_t_125() const +{ + u64_RemoteStorageUpdatePublishedFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u64_RemoteStorageUpdatePublishedFileResult_t_125::operator w64_RemoteStorageUpdatePublishedFileResult_t_125() const +{ + w64_RemoteStorageUpdatePublishedFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUpdatePublishedFileResult_t_125::operator u32_RemoteStorageUpdatePublishedFileResult_t_125() const +{ + u32_RemoteStorageUpdatePublishedFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} + +u32_RemoteStorageUpdatePublishedFileResult_t_125::operator w32_RemoteStorageUpdatePublishedFileResult_t_125() const +{ + w32_RemoteStorageUpdatePublishedFileResult_t_125 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_bUserNeedsToAcceptWorkshopLegalAgreement = this->m_bUserNeedsToAcceptWorkshopLegalAgreement; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RemoteStorageUpdatePublishedFileResult_t_123::operator u64_RemoteStorageUpdatePublishedFileResult_t_123() const +{ + u64_RemoteStorageUpdatePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStorageUpdatePublishedFileResult_t_123::operator w64_RemoteStorageUpdatePublishedFileResult_t_123() const +{ + w64_RemoteStorageUpdatePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUpdatePublishedFileResult_t_123::operator u32_RemoteStorageUpdatePublishedFileResult_t_123() const +{ + u32_RemoteStorageUpdatePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageUpdatePublishedFileResult_t_123::operator w32_RemoteStorageUpdatePublishedFileResult_t_123() const +{ + w32_RemoteStorageUpdatePublishedFileResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUpdatePublishedFileResult_t_116x::operator u32_RemoteStorageUpdatePublishedFileResult_t_116x() const +{ + u32_RemoteStorageUpdatePublishedFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageUpdatePublishedFileResult_t_116x::operator w32_RemoteStorageUpdatePublishedFileResult_t_116x() const +{ + w32_RemoteStorageUpdatePublishedFileResult_t_116x ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123) >= 12 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119) >= 16 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119) >= 16 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_nPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119) >= 12 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119().m_nPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123::operator u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const +{ + u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123::operator w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const +{ + w64_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123::operator u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const +{ + u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123::operator w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123() const +{ + w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119::operator u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119() const +{ + u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} + +u32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119::operator w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119() const +{ + w32_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_123) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_123, m_eVote) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_123().m_eVote) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_123) >= 16 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_123, m_eVote) == 12 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_123().m_eVote) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_123) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_123, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_123, m_eVote) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_123().m_eVote) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_123) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_123, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_123().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_123, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_123().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_123, m_eVote) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_123().m_eVote) >= 4 ); + +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_119) >= 24 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoteStorageUserVoteDetails_t_119, m_eVote) == 16 ); +C_ASSERT( sizeof(w64_RemoteStorageUserVoteDetails_t_119().m_eVote) >= 4 ); + +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_119) >= 24 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoteStorageUserVoteDetails_t_119, m_eVote) == 16 ); +C_ASSERT( sizeof(u64_RemoteStorageUserVoteDetails_t_119().m_eVote) >= 4 ); + +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_119) >= 24 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_119, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoteStorageUserVoteDetails_t_119, m_eVote) == 16 ); +C_ASSERT( sizeof(w32_RemoteStorageUserVoteDetails_t_119().m_eVote) >= 4 ); + +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_119) >= 16 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_119, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_119().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_119, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_119().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoteStorageUserVoteDetails_t_119, m_eVote) == 12 ); +C_ASSERT( sizeof(u32_RemoteStorageUserVoteDetails_t_119().m_eVote) >= 4 ); + +#ifdef __x86_64__ +w64_RemoteStorageUserVoteDetails_t_123::operator u64_RemoteStorageUserVoteDetails_t_123() const +{ + u64_RemoteStorageUserVoteDetails_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} + +u64_RemoteStorageUserVoteDetails_t_123::operator w64_RemoteStorageUserVoteDetails_t_123() const +{ + w64_RemoteStorageUserVoteDetails_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUserVoteDetails_t_123::operator u32_RemoteStorageUserVoteDetails_t_123() const +{ + u32_RemoteStorageUserVoteDetails_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} + +u32_RemoteStorageUserVoteDetails_t_123::operator w32_RemoteStorageUserVoteDetails_t_123() const +{ + w32_RemoteStorageUserVoteDetails_t_123 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoteStorageUserVoteDetails_t_119::operator u32_RemoteStorageUserVoteDetails_t_119() const +{ + u32_RemoteStorageUserVoteDetails_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} + +u32_RemoteStorageUserVoteDetails_t_119::operator w32_RemoteStorageUserVoteDetails_t_119() const +{ + w32_RemoteStorageUserVoteDetails_t_119 ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_eVote = this->m_eVote; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoveAppDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w64_RemoveAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoveAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoveAppDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoveAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoveAppDependencyResult_t, m_nAppID) == 16 ); +C_ASSERT( sizeof(w64_RemoveAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(u64_RemoveAppDependencyResult_t) >= 16 ); +C_ASSERT( offsetof(u64_RemoveAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoveAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoveAppDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoveAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoveAppDependencyResult_t, m_nAppID) == 12 ); +C_ASSERT( sizeof(u64_RemoveAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(w32_RemoveAppDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w32_RemoveAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoveAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoveAppDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoveAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoveAppDependencyResult_t, m_nAppID) == 16 ); +C_ASSERT( sizeof(w32_RemoveAppDependencyResult_t().m_nAppID) >= 4 ); + +C_ASSERT( sizeof(u32_RemoveAppDependencyResult_t) >= 16 ); +C_ASSERT( offsetof(u32_RemoveAppDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoveAppDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoveAppDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoveAppDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoveAppDependencyResult_t, m_nAppID) == 12 ); +C_ASSERT( sizeof(u32_RemoveAppDependencyResult_t().m_nAppID) >= 4 ); + +#ifdef __x86_64__ +w64_RemoveAppDependencyResult_t::operator u64_RemoveAppDependencyResult_t() const +{ + u64_RemoveAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} + +u64_RemoveAppDependencyResult_t::operator w64_RemoveAppDependencyResult_t() const +{ + w64_RemoveAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoveAppDependencyResult_t::operator u32_RemoveAppDependencyResult_t() const +{ + u32_RemoveAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} + +u32_RemoveAppDependencyResult_t::operator w32_RemoveAppDependencyResult_t() const +{ + w32_RemoveAppDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nAppID = this->m_nAppID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RemoveUGCDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w64_RemoveUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RemoveUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RemoveUGCDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w64_RemoveUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w64_RemoveUGCDependencyResult_t, m_nChildPublishedFileId) == 16 ); +C_ASSERT( sizeof(w64_RemoveUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u64_RemoveUGCDependencyResult_t) >= 20 ); +C_ASSERT( offsetof(u64_RemoveUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RemoveUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RemoveUGCDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u64_RemoveUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u64_RemoveUGCDependencyResult_t, m_nChildPublishedFileId) == 12 ); +C_ASSERT( sizeof(u64_RemoveUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(w32_RemoveUGCDependencyResult_t) >= 24 ); +C_ASSERT( offsetof(w32_RemoveUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RemoveUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RemoveUGCDependencyResult_t, m_nPublishedFileId) == 8 ); +C_ASSERT( sizeof(w32_RemoveUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(w32_RemoveUGCDependencyResult_t, m_nChildPublishedFileId) == 16 ); +C_ASSERT( sizeof(w32_RemoveUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +C_ASSERT( sizeof(u32_RemoveUGCDependencyResult_t) >= 20 ); +C_ASSERT( offsetof(u32_RemoveUGCDependencyResult_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RemoveUGCDependencyResult_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RemoveUGCDependencyResult_t, m_nPublishedFileId) == 4 ); +C_ASSERT( sizeof(u32_RemoveUGCDependencyResult_t().m_nPublishedFileId) >= 8 ); +C_ASSERT( offsetof(u32_RemoveUGCDependencyResult_t, m_nChildPublishedFileId) == 12 ); +C_ASSERT( sizeof(u32_RemoveUGCDependencyResult_t().m_nChildPublishedFileId) >= 8 ); + +#ifdef __x86_64__ +w64_RemoveUGCDependencyResult_t::operator u64_RemoveUGCDependencyResult_t() const +{ + u64_RemoveUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} + +u64_RemoveUGCDependencyResult_t::operator w64_RemoveUGCDependencyResult_t() const +{ + w64_RemoveUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} +#endif + +#ifdef __i386__ +w32_RemoveUGCDependencyResult_t::operator u32_RemoveUGCDependencyResult_t() const +{ + u32_RemoveUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} + +u32_RemoveUGCDependencyResult_t::operator w32_RemoveUGCDependencyResult_t() const +{ + w32_RemoveUGCDependencyResult_t ret; + ret.m_eResult = this->m_eResult; + ret.m_nPublishedFileId = this->m_nPublishedFileId; + ret.m_nChildPublishedFileId = this->m_nChildPublishedFileId; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RequestPlayersForGameFinalResultCallback_t) >= 24 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameFinalResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameFinalResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameFinalResultCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameFinalResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameFinalResultCallback_t, m_ullUniqueGameID) == 16 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameFinalResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u64_RequestPlayersForGameFinalResultCallback_t) >= 20 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameFinalResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameFinalResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameFinalResultCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameFinalResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameFinalResultCallback_t, m_ullUniqueGameID) == 12 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameFinalResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(w32_RequestPlayersForGameFinalResultCallback_t) >= 24 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameFinalResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameFinalResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameFinalResultCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameFinalResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameFinalResultCallback_t, m_ullUniqueGameID) == 16 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameFinalResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u32_RequestPlayersForGameFinalResultCallback_t) >= 20 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameFinalResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameFinalResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameFinalResultCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameFinalResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameFinalResultCallback_t, m_ullUniqueGameID) == 12 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameFinalResultCallback_t().m_ullUniqueGameID) >= 8 ); + +#ifdef __x86_64__ +w64_RequestPlayersForGameFinalResultCallback_t::operator u64_RequestPlayersForGameFinalResultCallback_t() const +{ + u64_RequestPlayersForGameFinalResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} + +u64_RequestPlayersForGameFinalResultCallback_t::operator w64_RequestPlayersForGameFinalResultCallback_t() const +{ + w64_RequestPlayersForGameFinalResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} +#endif + +#ifdef __i386__ +w32_RequestPlayersForGameFinalResultCallback_t::operator u32_RequestPlayersForGameFinalResultCallback_t() const +{ + u32_RequestPlayersForGameFinalResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} + +u32_RequestPlayersForGameFinalResultCallback_t::operator w32_RequestPlayersForGameFinalResultCallback_t() const +{ + w32_RequestPlayersForGameFinalResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RequestPlayersForGameProgressCallback_t) >= 16 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameProgressCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameProgressCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameProgressCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameProgressCallback_t().m_ullSearchID) >= 8 ); + +C_ASSERT( sizeof(u64_RequestPlayersForGameProgressCallback_t) >= 12 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameProgressCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameProgressCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameProgressCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameProgressCallback_t().m_ullSearchID) >= 8 ); + +C_ASSERT( sizeof(w32_RequestPlayersForGameProgressCallback_t) >= 16 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameProgressCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameProgressCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameProgressCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameProgressCallback_t().m_ullSearchID) >= 8 ); + +C_ASSERT( sizeof(u32_RequestPlayersForGameProgressCallback_t) >= 12 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameProgressCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameProgressCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameProgressCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameProgressCallback_t().m_ullSearchID) >= 8 ); + +#ifdef __x86_64__ +w64_RequestPlayersForGameProgressCallback_t::operator u64_RequestPlayersForGameProgressCallback_t() const +{ + u64_RequestPlayersForGameProgressCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + return ret; +} + +u64_RequestPlayersForGameProgressCallback_t::operator w64_RequestPlayersForGameProgressCallback_t() const +{ + w64_RequestPlayersForGameProgressCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + return ret; +} +#endif + +#ifdef __i386__ +w32_RequestPlayersForGameProgressCallback_t::operator u32_RequestPlayersForGameProgressCallback_t() const +{ + u32_RequestPlayersForGameProgressCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + return ret; +} + +u32_RequestPlayersForGameProgressCallback_t::operator w32_RequestPlayersForGameProgressCallback_t() const +{ + w32_RequestPlayersForGameProgressCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t) >= 64 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_SteamIDPlayerFound) == 16 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_SteamIDPlayerFound) >= 8 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_SteamIDLobby) == 24 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_SteamIDLobby) >= 8 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_ePlayerAcceptState) == 32 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_ePlayerAcceptState) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_nPlayerIndex) == 36 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_nPlayerIndex) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_nTotalPlayersFound) == 40 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_nTotalPlayersFound) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_nTotalPlayersAcceptedGame) == 44 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_nTotalPlayersAcceptedGame) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_nSuggestedTeamIndex) == 48 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_nSuggestedTeamIndex) >= 4 ); +C_ASSERT( offsetof(w64_RequestPlayersForGameResultCallback_t, m_ullUniqueGameID) == 56 ); +C_ASSERT( sizeof(w64_RequestPlayersForGameResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t) >= 56 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_SteamIDPlayerFound) == 12 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_SteamIDPlayerFound) >= 8 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_SteamIDLobby) == 20 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_SteamIDLobby) >= 8 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_ePlayerAcceptState) == 28 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_ePlayerAcceptState) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_nPlayerIndex) == 32 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_nPlayerIndex) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_nTotalPlayersFound) == 36 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_nTotalPlayersFound) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_nTotalPlayersAcceptedGame) == 40 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_nTotalPlayersAcceptedGame) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_nSuggestedTeamIndex) == 44 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_nSuggestedTeamIndex) >= 4 ); +C_ASSERT( offsetof(u64_RequestPlayersForGameResultCallback_t, m_ullUniqueGameID) == 48 ); +C_ASSERT( sizeof(u64_RequestPlayersForGameResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t) >= 64 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_ullSearchID) == 8 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_SteamIDPlayerFound) == 16 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_SteamIDPlayerFound) >= 8 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_SteamIDLobby) == 24 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_SteamIDLobby) >= 8 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_ePlayerAcceptState) == 32 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_ePlayerAcceptState) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_nPlayerIndex) == 36 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_nPlayerIndex) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_nTotalPlayersFound) == 40 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_nTotalPlayersFound) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_nTotalPlayersAcceptedGame) == 44 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_nTotalPlayersAcceptedGame) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_nSuggestedTeamIndex) == 48 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_nSuggestedTeamIndex) >= 4 ); +C_ASSERT( offsetof(w32_RequestPlayersForGameResultCallback_t, m_ullUniqueGameID) == 56 ); +C_ASSERT( sizeof(w32_RequestPlayersForGameResultCallback_t().m_ullUniqueGameID) >= 8 ); + +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t) >= 56 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_ullSearchID) == 4 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_ullSearchID) >= 8 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_SteamIDPlayerFound) == 12 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_SteamIDPlayerFound) >= 8 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_SteamIDLobby) == 20 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_SteamIDLobby) >= 8 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_ePlayerAcceptState) == 28 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_ePlayerAcceptState) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_nPlayerIndex) == 32 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_nPlayerIndex) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_nTotalPlayersFound) == 36 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_nTotalPlayersFound) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_nTotalPlayersAcceptedGame) == 40 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_nTotalPlayersAcceptedGame) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_nSuggestedTeamIndex) == 44 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_nSuggestedTeamIndex) >= 4 ); +C_ASSERT( offsetof(u32_RequestPlayersForGameResultCallback_t, m_ullUniqueGameID) == 48 ); +C_ASSERT( sizeof(u32_RequestPlayersForGameResultCallback_t().m_ullUniqueGameID) >= 8 ); + +#ifdef __x86_64__ +w64_RequestPlayersForGameResultCallback_t::operator u64_RequestPlayersForGameResultCallback_t() const +{ + u64_RequestPlayersForGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_SteamIDPlayerFound = this->m_SteamIDPlayerFound; + ret.m_SteamIDLobby = this->m_SteamIDLobby; + ret.m_ePlayerAcceptState = this->m_ePlayerAcceptState; + ret.m_nPlayerIndex = this->m_nPlayerIndex; + ret.m_nTotalPlayersFound = this->m_nTotalPlayersFound; + ret.m_nTotalPlayersAcceptedGame = this->m_nTotalPlayersAcceptedGame; + ret.m_nSuggestedTeamIndex = this->m_nSuggestedTeamIndex; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} + +u64_RequestPlayersForGameResultCallback_t::operator w64_RequestPlayersForGameResultCallback_t() const +{ + w64_RequestPlayersForGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_SteamIDPlayerFound = this->m_SteamIDPlayerFound; + ret.m_SteamIDLobby = this->m_SteamIDLobby; + ret.m_ePlayerAcceptState = this->m_ePlayerAcceptState; + ret.m_nPlayerIndex = this->m_nPlayerIndex; + ret.m_nTotalPlayersFound = this->m_nTotalPlayersFound; + ret.m_nTotalPlayersAcceptedGame = this->m_nTotalPlayersAcceptedGame; + ret.m_nSuggestedTeamIndex = this->m_nSuggestedTeamIndex; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} +#endif + +#ifdef __i386__ +w32_RequestPlayersForGameResultCallback_t::operator u32_RequestPlayersForGameResultCallback_t() const +{ + u32_RequestPlayersForGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_SteamIDPlayerFound = this->m_SteamIDPlayerFound; + ret.m_SteamIDLobby = this->m_SteamIDLobby; + ret.m_ePlayerAcceptState = this->m_ePlayerAcceptState; + ret.m_nPlayerIndex = this->m_nPlayerIndex; + ret.m_nTotalPlayersFound = this->m_nTotalPlayersFound; + ret.m_nTotalPlayersAcceptedGame = this->m_nTotalPlayersAcceptedGame; + ret.m_nSuggestedTeamIndex = this->m_nSuggestedTeamIndex; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} + +u32_RequestPlayersForGameResultCallback_t::operator w32_RequestPlayersForGameResultCallback_t() const +{ + w32_RequestPlayersForGameResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.m_ullSearchID = this->m_ullSearchID; + ret.m_SteamIDPlayerFound = this->m_SteamIDPlayerFound; + ret.m_SteamIDLobby = this->m_SteamIDLobby; + ret.m_ePlayerAcceptState = this->m_ePlayerAcceptState; + ret.m_nPlayerIndex = this->m_nPlayerIndex; + ret.m_nTotalPlayersFound = this->m_nTotalPlayersFound; + ret.m_nTotalPlayersAcceptedGame = this->m_nTotalPlayersAcceptedGame; + ret.m_nSuggestedTeamIndex = this->m_nSuggestedTeamIndex; + ret.m_ullUniqueGameID = this->m_ullUniqueGameID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t) >= 40 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_ulDeviceHandle) == 8 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_ulMappingCreator) == 16 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_ulMappingCreator) >= 8 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_unMajorRevision) == 24 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_unMajorRevision) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_unMinorRevision) == 28 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_unMinorRevision) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_bUsesSteamInputAPI) == 32 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_bUsesSteamInputAPI) >= 1 ); +C_ASSERT( offsetof(w64_SteamInputConfigurationLoaded_t, m_bUsesGamepadAPI) == 33 ); +C_ASSERT( sizeof(w64_SteamInputConfigurationLoaded_t().m_bUsesGamepadAPI) >= 1 ); + +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t) >= 32 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_ulDeviceHandle) == 4 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_ulMappingCreator) == 12 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_ulMappingCreator) >= 8 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_unMajorRevision) == 20 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_unMajorRevision) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_unMinorRevision) == 24 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_unMinorRevision) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_bUsesSteamInputAPI) == 28 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_bUsesSteamInputAPI) >= 1 ); +C_ASSERT( offsetof(u64_SteamInputConfigurationLoaded_t, m_bUsesGamepadAPI) == 29 ); +C_ASSERT( sizeof(u64_SteamInputConfigurationLoaded_t().m_bUsesGamepadAPI) >= 1 ); + +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t) >= 40 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_ulDeviceHandle) == 8 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_ulMappingCreator) == 16 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_ulMappingCreator) >= 8 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_unMajorRevision) == 24 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_unMajorRevision) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_unMinorRevision) == 28 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_unMinorRevision) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_bUsesSteamInputAPI) == 32 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_bUsesSteamInputAPI) >= 1 ); +C_ASSERT( offsetof(w32_SteamInputConfigurationLoaded_t, m_bUsesGamepadAPI) == 33 ); +C_ASSERT( sizeof(w32_SteamInputConfigurationLoaded_t().m_bUsesGamepadAPI) >= 1 ); + +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t) >= 32 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_ulDeviceHandle) == 4 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_ulMappingCreator) == 12 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_ulMappingCreator) >= 8 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_unMajorRevision) == 20 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_unMajorRevision) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_unMinorRevision) == 24 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_unMinorRevision) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_bUsesSteamInputAPI) == 28 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_bUsesSteamInputAPI) >= 1 ); +C_ASSERT( offsetof(u32_SteamInputConfigurationLoaded_t, m_bUsesGamepadAPI) == 29 ); +C_ASSERT( sizeof(u32_SteamInputConfigurationLoaded_t().m_bUsesGamepadAPI) >= 1 ); + +#ifdef __x86_64__ +w64_SteamInputConfigurationLoaded_t::operator u64_SteamInputConfigurationLoaded_t() const +{ + u64_SteamInputConfigurationLoaded_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_ulMappingCreator = this->m_ulMappingCreator; + ret.m_unMajorRevision = this->m_unMajorRevision; + ret.m_unMinorRevision = this->m_unMinorRevision; + ret.m_bUsesSteamInputAPI = this->m_bUsesSteamInputAPI; + ret.m_bUsesGamepadAPI = this->m_bUsesGamepadAPI; + return ret; +} + +u64_SteamInputConfigurationLoaded_t::operator w64_SteamInputConfigurationLoaded_t() const +{ + w64_SteamInputConfigurationLoaded_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_ulMappingCreator = this->m_ulMappingCreator; + ret.m_unMajorRevision = this->m_unMajorRevision; + ret.m_unMinorRevision = this->m_unMinorRevision; + ret.m_bUsesSteamInputAPI = this->m_bUsesSteamInputAPI; + ret.m_bUsesGamepadAPI = this->m_bUsesGamepadAPI; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamInputConfigurationLoaded_t::operator u32_SteamInputConfigurationLoaded_t() const +{ + u32_SteamInputConfigurationLoaded_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_ulMappingCreator = this->m_ulMappingCreator; + ret.m_unMajorRevision = this->m_unMajorRevision; + ret.m_unMinorRevision = this->m_unMinorRevision; + ret.m_bUsesSteamInputAPI = this->m_bUsesSteamInputAPI; + ret.m_bUsesGamepadAPI = this->m_bUsesGamepadAPI; + return ret; +} + +u32_SteamInputConfigurationLoaded_t::operator w32_SteamInputConfigurationLoaded_t() const +{ + w32_SteamInputConfigurationLoaded_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_ulMappingCreator = this->m_ulMappingCreator; + ret.m_unMajorRevision = this->m_unMajorRevision; + ret.m_unMinorRevision = this->m_unMinorRevision; + ret.m_bUsesSteamInputAPI = this->m_bUsesSteamInputAPI; + ret.m_bUsesGamepadAPI = this->m_bUsesGamepadAPI; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t) >= 32 ); +C_ASSERT( offsetof(w64_SteamInputGamepadSlotChange_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputGamepadSlotChange_t, m_ulDeviceHandle) == 8 ); +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(w64_SteamInputGamepadSlotChange_t, m_eDeviceType) == 16 ); +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t().m_eDeviceType) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputGamepadSlotChange_t, m_nOldGamepadSlot) == 20 ); +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t().m_nOldGamepadSlot) >= 4 ); +C_ASSERT( offsetof(w64_SteamInputGamepadSlotChange_t, m_nNewGamepadSlot) == 24 ); +C_ASSERT( sizeof(w64_SteamInputGamepadSlotChange_t().m_nNewGamepadSlot) >= 4 ); + +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t) >= 24 ); +C_ASSERT( offsetof(u64_SteamInputGamepadSlotChange_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputGamepadSlotChange_t, m_ulDeviceHandle) == 4 ); +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(u64_SteamInputGamepadSlotChange_t, m_eDeviceType) == 12 ); +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t().m_eDeviceType) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputGamepadSlotChange_t, m_nOldGamepadSlot) == 16 ); +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t().m_nOldGamepadSlot) >= 4 ); +C_ASSERT( offsetof(u64_SteamInputGamepadSlotChange_t, m_nNewGamepadSlot) == 20 ); +C_ASSERT( sizeof(u64_SteamInputGamepadSlotChange_t().m_nNewGamepadSlot) >= 4 ); + +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t) >= 32 ); +C_ASSERT( offsetof(w32_SteamInputGamepadSlotChange_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputGamepadSlotChange_t, m_ulDeviceHandle) == 8 ); +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(w32_SteamInputGamepadSlotChange_t, m_eDeviceType) == 16 ); +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t().m_eDeviceType) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputGamepadSlotChange_t, m_nOldGamepadSlot) == 20 ); +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t().m_nOldGamepadSlot) >= 4 ); +C_ASSERT( offsetof(w32_SteamInputGamepadSlotChange_t, m_nNewGamepadSlot) == 24 ); +C_ASSERT( sizeof(w32_SteamInputGamepadSlotChange_t().m_nNewGamepadSlot) >= 4 ); + +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t) >= 24 ); +C_ASSERT( offsetof(u32_SteamInputGamepadSlotChange_t, m_unAppID) == 0 ); +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t().m_unAppID) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputGamepadSlotChange_t, m_ulDeviceHandle) == 4 ); +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t().m_ulDeviceHandle) >= 8 ); +C_ASSERT( offsetof(u32_SteamInputGamepadSlotChange_t, m_eDeviceType) == 12 ); +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t().m_eDeviceType) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputGamepadSlotChange_t, m_nOldGamepadSlot) == 16 ); +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t().m_nOldGamepadSlot) >= 4 ); +C_ASSERT( offsetof(u32_SteamInputGamepadSlotChange_t, m_nNewGamepadSlot) == 20 ); +C_ASSERT( sizeof(u32_SteamInputGamepadSlotChange_t().m_nNewGamepadSlot) >= 4 ); + +#ifdef __x86_64__ +w64_SteamInputGamepadSlotChange_t::operator u64_SteamInputGamepadSlotChange_t() const +{ + u64_SteamInputGamepadSlotChange_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_eDeviceType = this->m_eDeviceType; + ret.m_nOldGamepadSlot = this->m_nOldGamepadSlot; + ret.m_nNewGamepadSlot = this->m_nNewGamepadSlot; + return ret; +} + +u64_SteamInputGamepadSlotChange_t::operator w64_SteamInputGamepadSlotChange_t() const +{ + w64_SteamInputGamepadSlotChange_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_eDeviceType = this->m_eDeviceType; + ret.m_nOldGamepadSlot = this->m_nOldGamepadSlot; + ret.m_nNewGamepadSlot = this->m_nNewGamepadSlot; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamInputGamepadSlotChange_t::operator u32_SteamInputGamepadSlotChange_t() const +{ + u32_SteamInputGamepadSlotChange_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_eDeviceType = this->m_eDeviceType; + ret.m_nOldGamepadSlot = this->m_nOldGamepadSlot; + ret.m_nNewGamepadSlot = this->m_nNewGamepadSlot; + return ret; +} + +u32_SteamInputGamepadSlotChange_t::operator w32_SteamInputGamepadSlotChange_t() const +{ + w32_SteamInputGamepadSlotChange_t ret; + ret.m_unAppID = this->m_unAppID; + ret.m_ulDeviceHandle = this->m_ulDeviceHandle; + ret.m_eDeviceType = this->m_eDeviceType; + ret.m_nOldGamepadSlot = this->m_nOldGamepadSlot; + ret.m_nNewGamepadSlot = this->m_nNewGamepadSlot; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamInventoryStartPurchaseResult_t) >= 24 ); +C_ASSERT( offsetof(w64_SteamInventoryStartPurchaseResult_t, m_result) == 0 ); +C_ASSERT( sizeof(w64_SteamInventoryStartPurchaseResult_t().m_result) >= 4 ); +C_ASSERT( offsetof(w64_SteamInventoryStartPurchaseResult_t, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w64_SteamInventoryStartPurchaseResult_t().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w64_SteamInventoryStartPurchaseResult_t, m_ulTransID) == 16 ); +C_ASSERT( sizeof(w64_SteamInventoryStartPurchaseResult_t().m_ulTransID) >= 8 ); + +C_ASSERT( sizeof(u64_SteamInventoryStartPurchaseResult_t) >= 20 ); +C_ASSERT( offsetof(u64_SteamInventoryStartPurchaseResult_t, m_result) == 0 ); +C_ASSERT( sizeof(u64_SteamInventoryStartPurchaseResult_t().m_result) >= 4 ); +C_ASSERT( offsetof(u64_SteamInventoryStartPurchaseResult_t, m_ulOrderID) == 4 ); +C_ASSERT( sizeof(u64_SteamInventoryStartPurchaseResult_t().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u64_SteamInventoryStartPurchaseResult_t, m_ulTransID) == 12 ); +C_ASSERT( sizeof(u64_SteamInventoryStartPurchaseResult_t().m_ulTransID) >= 8 ); + +C_ASSERT( sizeof(w32_SteamInventoryStartPurchaseResult_t) >= 24 ); +C_ASSERT( offsetof(w32_SteamInventoryStartPurchaseResult_t, m_result) == 0 ); +C_ASSERT( sizeof(w32_SteamInventoryStartPurchaseResult_t().m_result) >= 4 ); +C_ASSERT( offsetof(w32_SteamInventoryStartPurchaseResult_t, m_ulOrderID) == 8 ); +C_ASSERT( sizeof(w32_SteamInventoryStartPurchaseResult_t().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(w32_SteamInventoryStartPurchaseResult_t, m_ulTransID) == 16 ); +C_ASSERT( sizeof(w32_SteamInventoryStartPurchaseResult_t().m_ulTransID) >= 8 ); + +C_ASSERT( sizeof(u32_SteamInventoryStartPurchaseResult_t) >= 20 ); +C_ASSERT( offsetof(u32_SteamInventoryStartPurchaseResult_t, m_result) == 0 ); +C_ASSERT( sizeof(u32_SteamInventoryStartPurchaseResult_t().m_result) >= 4 ); +C_ASSERT( offsetof(u32_SteamInventoryStartPurchaseResult_t, m_ulOrderID) == 4 ); +C_ASSERT( sizeof(u32_SteamInventoryStartPurchaseResult_t().m_ulOrderID) >= 8 ); +C_ASSERT( offsetof(u32_SteamInventoryStartPurchaseResult_t, m_ulTransID) == 12 ); +C_ASSERT( sizeof(u32_SteamInventoryStartPurchaseResult_t().m_ulTransID) >= 8 ); + +#ifdef __x86_64__ +w64_SteamInventoryStartPurchaseResult_t::operator u64_SteamInventoryStartPurchaseResult_t() const +{ + u64_SteamInventoryStartPurchaseResult_t ret; + ret.m_result = this->m_result; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_ulTransID = this->m_ulTransID; + return ret; +} + +u64_SteamInventoryStartPurchaseResult_t::operator w64_SteamInventoryStartPurchaseResult_t() const +{ + w64_SteamInventoryStartPurchaseResult_t ret; + ret.m_result = this->m_result; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_ulTransID = this->m_ulTransID; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamInventoryStartPurchaseResult_t::operator u32_SteamInventoryStartPurchaseResult_t() const +{ + u32_SteamInventoryStartPurchaseResult_t ret; + ret.m_result = this->m_result; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_ulTransID = this->m_ulTransID; + return ret; +} + +u32_SteamInventoryStartPurchaseResult_t::operator w32_SteamInventoryStartPurchaseResult_t() const +{ + w32_SteamInventoryStartPurchaseResult_t ret; + ret.m_result = this->m_result; + ret.m_ulOrderID = this->m_ulOrderID; + ret.m_ulTransID = this->m_ulTransID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_153a) >= 712 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_153a, m_hConn) == 0 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_153a().m_hConn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_153a, m_info) == 8 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_153a().m_info) >= 696 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_153a, m_eOldState) == 704 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_153a().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_153a) >= 704 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_153a, m_hConn) == 0 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_153a().m_hConn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_153a, m_info) == 4 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_153a().m_info) >= 696 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_153a, m_eOldState) == 700 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_153a().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_153a) >= 712 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_153a, m_hConn) == 0 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_153a().m_hConn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_153a, m_info) == 8 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_153a().m_info) >= 696 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_153a, m_eOldState) == 704 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_153a().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_153a) >= 704 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_153a, m_hConn) == 0 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_153a().m_hConn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_153a, m_info) == 4 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_153a().m_info) >= 696 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_153a, m_eOldState) == 700 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_153a().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_144) >= 712 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_144, m_hConn) == 0 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_144().m_hConn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_144, m_info) == 8 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_144().m_info) >= 696 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_144, m_eOldState) == 704 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_144().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_144) >= 704 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_144, m_hConn) == 0 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_144().m_hConn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_144, m_info) == 4 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_144().m_info) >= 696 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_144, m_eOldState) == 700 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_144().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_144) >= 712 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_144, m_hConn) == 0 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_144().m_hConn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_144, m_info) == 8 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_144().m_info) >= 696 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_144, m_eOldState) == 704 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_144().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_144) >= 704 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_144, m_hConn) == 0 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_144().m_hConn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_144, m_info) == 4 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_144().m_info) >= 696 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_144, m_eOldState) == 700 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_144().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_151) >= 584 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_151, m_hConn) == 0 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_151().m_hConn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_151, m_info) == 8 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_151().m_info) >= 568 ); +C_ASSERT( offsetof(w64_SteamNetConnectionStatusChangedCallback_t_151, m_eOldState) == 576 ); +C_ASSERT( sizeof(w64_SteamNetConnectionStatusChangedCallback_t_151().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_151) >= 576 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_151, m_hConn) == 0 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_151().m_hConn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_151, m_info) == 4 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_151().m_info) >= 568 ); +C_ASSERT( offsetof(u64_SteamNetConnectionStatusChangedCallback_t_151, m_eOldState) == 572 ); +C_ASSERT( sizeof(u64_SteamNetConnectionStatusChangedCallback_t_151().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_151) >= 584 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_151, m_hConn) == 0 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_151().m_hConn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_151, m_info) == 8 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_151().m_info) >= 568 ); +C_ASSERT( offsetof(w32_SteamNetConnectionStatusChangedCallback_t_151, m_eOldState) == 576 ); +C_ASSERT( sizeof(w32_SteamNetConnectionStatusChangedCallback_t_151().m_eOldState) >= 4 ); + +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_151) >= 576 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_151, m_hConn) == 0 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_151().m_hConn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_151, m_info) == 4 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_151().m_info) >= 568 ); +C_ASSERT( offsetof(u32_SteamNetConnectionStatusChangedCallback_t_151, m_eOldState) == 572 ); +C_ASSERT( sizeof(u32_SteamNetConnectionStatusChangedCallback_t_151().m_eOldState) >= 4 ); + +#ifdef __x86_64__ +w64_SteamNetConnectionStatusChangedCallback_t_153a::operator u64_SteamNetConnectionStatusChangedCallback_t_153a() const +{ + u64_SteamNetConnectionStatusChangedCallback_t_153a ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u64_SteamNetConnectionStatusChangedCallback_t_153a::operator w64_SteamNetConnectionStatusChangedCallback_t_153a() const +{ + w64_SteamNetConnectionStatusChangedCallback_t_153a ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamNetConnectionStatusChangedCallback_t_153a::operator u32_SteamNetConnectionStatusChangedCallback_t_153a() const +{ + u32_SteamNetConnectionStatusChangedCallback_t_153a ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u32_SteamNetConnectionStatusChangedCallback_t_153a::operator w32_SteamNetConnectionStatusChangedCallback_t_153a() const +{ + w32_SteamNetConnectionStatusChangedCallback_t_153a ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_SteamNetConnectionStatusChangedCallback_t_144::operator u64_SteamNetConnectionStatusChangedCallback_t_144() const +{ + u64_SteamNetConnectionStatusChangedCallback_t_144 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u64_SteamNetConnectionStatusChangedCallback_t_144::operator w64_SteamNetConnectionStatusChangedCallback_t_144() const +{ + w64_SteamNetConnectionStatusChangedCallback_t_144 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamNetConnectionStatusChangedCallback_t_144::operator u32_SteamNetConnectionStatusChangedCallback_t_144() const +{ + u32_SteamNetConnectionStatusChangedCallback_t_144 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u32_SteamNetConnectionStatusChangedCallback_t_144::operator w32_SteamNetConnectionStatusChangedCallback_t_144() const +{ + w32_SteamNetConnectionStatusChangedCallback_t_144 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_SteamNetConnectionStatusChangedCallback_t_151::operator u64_SteamNetConnectionStatusChangedCallback_t_151() const +{ + u64_SteamNetConnectionStatusChangedCallback_t_151 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u64_SteamNetConnectionStatusChangedCallback_t_151::operator w64_SteamNetConnectionStatusChangedCallback_t_151() const +{ + w64_SteamNetConnectionStatusChangedCallback_t_151 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamNetConnectionStatusChangedCallback_t_151::operator u32_SteamNetConnectionStatusChangedCallback_t_151() const +{ + u32_SteamNetConnectionStatusChangedCallback_t_151 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} + +u32_SteamNetConnectionStatusChangedCallback_t_151::operator w32_SteamNetConnectionStatusChangedCallback_t_151() const +{ + w32_SteamNetConnectionStatusChangedCallback_t_151 ret; + ret.m_hConn = this->m_hConn; + ret.m_info = this->m_info; + ret.m_eOldState = this->m_eOldState; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a) >= 216 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_pData) == 0 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_pData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_cbSize) == 8 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_conn) == 12 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_conn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_identityPeer) == 16 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_nChannel) == 192 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_nFlags) == 196 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_nUserData) == 200 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_nUserData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, m_idxLane) == 208 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a().m_idxLane) >= 2 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_153a, _pad1__) == 210 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_153a()._pad1__) >= 2 ); + +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a) >= 216 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_pData) == 0 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_pData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_cbSize) == 8 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_conn) == 12 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_conn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_identityPeer) == 16 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_nChannel) == 192 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_nFlags) == 196 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_nUserData) == 200 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_nUserData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, m_idxLane) == 208 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a().m_idxLane) >= 2 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_153a, _pad1__) == 210 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_153a()._pad1__) >= 2 ); + +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a) >= 208 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_pData) == 0 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_pData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_cbSize) == 4 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_conn) == 8 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_conn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_identityPeer) == 12 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_pfnRelease) == 180 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_nChannel) == 184 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_nFlags) == 188 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_nUserData) == 192 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_nUserData) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, m_idxLane) == 200 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a().m_idxLane) >= 2 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_153a, _pad1__) == 202 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_153a()._pad1__) >= 2 ); + +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a) >= 200 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_pData) == 0 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_pData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_cbSize) == 4 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_conn) == 8 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_conn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_identityPeer) == 12 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_nConnUserData) == 148 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_usecTimeReceived) == 156 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_nMessageNumber) == 164 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_pfnFreeData) == 172 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_pfnRelease) == 176 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_nChannel) == 180 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_nFlags) == 184 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_nUserData) == 188 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_nUserData) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, m_idxLane) == 196 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a().m_idxLane) >= 2 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_153a, _pad1__) == 198 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_153a()._pad1__) >= 2 ); + +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147) >= 208 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_pData) == 0 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_pData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_cbSize) == 8 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_conn) == 12 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_conn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_identityPeer) == 16 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_nChannel) == 192 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_nFlags) == 196 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_147, m_nUserData) == 200 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_147().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147) >= 208 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_pData) == 0 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_pData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_cbSize) == 8 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_conn) == 12 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_conn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_identityPeer) == 16 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_nChannel) == 192 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_nFlags) == 196 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_147, m_nUserData) == 200 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_147().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147) >= 200 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_pData) == 0 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_pData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_cbSize) == 4 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_conn) == 8 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_conn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_identityPeer) == 12 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_pfnRelease) == 180 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_nChannel) == 184 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_nFlags) == 188 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_147, m_nUserData) == 192 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_147().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147) >= 196 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_pData) == 0 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_pData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_cbSize) == 4 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_conn) == 8 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_conn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_identityPeer) == 12 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_identityPeer) >= 136 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_nConnUserData) == 148 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_usecTimeReceived) == 156 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_nMessageNumber) == 164 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_pfnFreeData) == 172 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_pfnRelease) == 176 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_nChannel) == 180 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_nFlags) == 184 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_147, m_nUserData) == 188 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_147().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151) >= 80 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_pData) == 0 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_pData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_cbSize) == 8 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_conn) == 12 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_conn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_identityPeer) == 16 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_identityPeer) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_nConnUserData) == 24 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_usecTimeReceived) == 32 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_nMessageNumber) == 40 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_pfnFreeData) == 48 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_pfnRelease) == 56 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_nChannel) == 64 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_nFlags) == 68 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_151, m_nUserData) == 72 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_151().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151) >= 80 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_pData) == 0 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_pData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_cbSize) == 8 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_conn) == 12 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_conn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_identityPeer) == 16 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_identityPeer) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_nConnUserData) == 24 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_usecTimeReceived) == 32 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_nMessageNumber) == 40 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_pfnFreeData) == 48 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_pfnRelease) == 56 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_nChannel) == 64 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_nFlags) == 68 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_151, m_nUserData) == 72 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_151().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151) >= 72 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_pData) == 0 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_pData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_cbSize) == 4 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_conn) == 8 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_conn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_identityPeer) == 12 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_identityPeer) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_nConnUserData) == 24 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_usecTimeReceived) == 32 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_nMessageNumber) == 40 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_pfnFreeData) == 48 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_pfnRelease) == 52 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_nChannel) == 56 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_nFlags) == 60 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_nFlags) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_151, m_nUserData) == 64 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_151().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151) >= 68 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_pData) == 0 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_pData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_cbSize) == 4 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_conn) == 8 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_conn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_identityPeer) == 12 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_identityPeer) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_nConnUserData) == 20 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_usecTimeReceived) == 28 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_nMessageNumber) == 36 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_pfnFreeData) == 44 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_pfnRelease) == 48 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_nChannel) == 52 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_nFlags) == 56 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_nFlags) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_151, m_nUserData) == 60 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_151().m_nUserData) >= 8 ); + +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144) >= 200 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_pData) == 0 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_pData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_cbSize) == 8 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_conn) == 12 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_conn) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_sender) == 16 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_sender) >= 136 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m_nChannel) == 192 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w64_SteamNetworkingMessage_t_144, m___nPadDummy) == 196 ); +C_ASSERT( sizeof(w64_SteamNetworkingMessage_t_144().m___nPadDummy) >= 4 ); + +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144) >= 200 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_pData) == 0 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_pData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_cbSize) == 8 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_conn) == 12 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_conn) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_sender) == 16 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_sender) >= 136 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_pfnFreeData) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_pfnRelease) == 184 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_pfnRelease) >= 8 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m_nChannel) == 192 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u64_SteamNetworkingMessage_t_144, m___nPadDummy) == 196 ); +C_ASSERT( sizeof(u64_SteamNetworkingMessage_t_144().m___nPadDummy) >= 4 ); + +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144) >= 192 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_pData) == 0 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_pData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_cbSize) == 4 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_cbSize) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_conn) == 8 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_conn) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_sender) == 12 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_sender) >= 136 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_nConnUserData) == 152 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_usecTimeReceived) == 160 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_nMessageNumber) == 168 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_pfnFreeData) == 176 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_pfnRelease) == 180 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m_nChannel) == 184 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m_nChannel) >= 4 ); +C_ASSERT( offsetof(w32_SteamNetworkingMessage_t_144, m___nPadDummy) == 188 ); +C_ASSERT( sizeof(w32_SteamNetworkingMessage_t_144().m___nPadDummy) >= 4 ); + +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144) >= 188 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_pData) == 0 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_pData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_cbSize) == 4 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_cbSize) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_conn) == 8 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_conn) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_sender) == 12 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_sender) >= 136 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_nConnUserData) == 148 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_nConnUserData) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_usecTimeReceived) == 156 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_usecTimeReceived) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_nMessageNumber) == 164 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_nMessageNumber) >= 8 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_pfnFreeData) == 172 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_pfnFreeData) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_pfnRelease) == 176 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_pfnRelease) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m_nChannel) == 180 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m_nChannel) >= 4 ); +C_ASSERT( offsetof(u32_SteamNetworkingMessage_t_144, m___nPadDummy) == 184 ); +C_ASSERT( sizeof(u32_SteamNetworkingMessage_t_144().m___nPadDummy) >= 4 ); + +C_ASSERT( sizeof(w64_SteamParamStringArray_t) >= 16 ); +C_ASSERT( offsetof(w64_SteamParamStringArray_t, m_ppStrings) == 0 ); +C_ASSERT( sizeof(w64_SteamParamStringArray_t().m_ppStrings) >= 8 ); +C_ASSERT( offsetof(w64_SteamParamStringArray_t, m_nNumStrings) == 8 ); +C_ASSERT( sizeof(w64_SteamParamStringArray_t().m_nNumStrings) >= 4 ); + +C_ASSERT( sizeof(u64_SteamParamStringArray_t) >= 12 ); +C_ASSERT( offsetof(u64_SteamParamStringArray_t, m_ppStrings) == 0 ); +C_ASSERT( sizeof(u64_SteamParamStringArray_t().m_ppStrings) >= 8 ); +C_ASSERT( offsetof(u64_SteamParamStringArray_t, m_nNumStrings) == 8 ); +C_ASSERT( sizeof(u64_SteamParamStringArray_t().m_nNumStrings) >= 4 ); + +C_ASSERT( sizeof(w32_SteamParamStringArray_t) >= 8 ); +C_ASSERT( offsetof(w32_SteamParamStringArray_t, m_ppStrings) == 0 ); +C_ASSERT( sizeof(w32_SteamParamStringArray_t().m_ppStrings) >= 4 ); +C_ASSERT( offsetof(w32_SteamParamStringArray_t, m_nNumStrings) == 4 ); +C_ASSERT( sizeof(w32_SteamParamStringArray_t().m_nNumStrings) >= 4 ); + +C_ASSERT( sizeof(u32_SteamParamStringArray_t) >= 8 ); +C_ASSERT( offsetof(u32_SteamParamStringArray_t, m_ppStrings) == 0 ); +C_ASSERT( sizeof(u32_SteamParamStringArray_t().m_ppStrings) >= 4 ); +C_ASSERT( offsetof(u32_SteamParamStringArray_t, m_nNumStrings) == 4 ); +C_ASSERT( sizeof(u32_SteamParamStringArray_t().m_nNumStrings) >= 4 ); + +C_ASSERT( sizeof(w64_SteamPartyBeaconLocation_t) >= 16 ); +C_ASSERT( offsetof(w64_SteamPartyBeaconLocation_t, m_eType) == 0 ); +C_ASSERT( sizeof(w64_SteamPartyBeaconLocation_t().m_eType) >= 4 ); +C_ASSERT( offsetof(w64_SteamPartyBeaconLocation_t, m_ulLocationID) == 8 ); +C_ASSERT( sizeof(w64_SteamPartyBeaconLocation_t().m_ulLocationID) >= 8 ); + +C_ASSERT( sizeof(u64_SteamPartyBeaconLocation_t) >= 12 ); +C_ASSERT( offsetof(u64_SteamPartyBeaconLocation_t, m_eType) == 0 ); +C_ASSERT( sizeof(u64_SteamPartyBeaconLocation_t().m_eType) >= 4 ); +C_ASSERT( offsetof(u64_SteamPartyBeaconLocation_t, m_ulLocationID) == 4 ); +C_ASSERT( sizeof(u64_SteamPartyBeaconLocation_t().m_ulLocationID) >= 8 ); + +C_ASSERT( sizeof(w32_SteamPartyBeaconLocation_t) >= 16 ); +C_ASSERT( offsetof(w32_SteamPartyBeaconLocation_t, m_eType) == 0 ); +C_ASSERT( sizeof(w32_SteamPartyBeaconLocation_t().m_eType) >= 4 ); +C_ASSERT( offsetof(w32_SteamPartyBeaconLocation_t, m_ulLocationID) == 8 ); +C_ASSERT( sizeof(w32_SteamPartyBeaconLocation_t().m_ulLocationID) >= 8 ); + +C_ASSERT( sizeof(u32_SteamPartyBeaconLocation_t) >= 12 ); +C_ASSERT( offsetof(u32_SteamPartyBeaconLocation_t, m_eType) == 0 ); +C_ASSERT( sizeof(u32_SteamPartyBeaconLocation_t().m_eType) >= 4 ); +C_ASSERT( offsetof(u32_SteamPartyBeaconLocation_t, m_ulLocationID) == 4 ); +C_ASSERT( sizeof(u32_SteamPartyBeaconLocation_t().m_ulLocationID) >= 8 ); + +#ifdef __x86_64__ +w64_SteamPartyBeaconLocation_t::operator u64_SteamPartyBeaconLocation_t() const +{ + u64_SteamPartyBeaconLocation_t ret; + ret.m_eType = this->m_eType; + ret.m_ulLocationID = this->m_ulLocationID; + return ret; +} + +u64_SteamPartyBeaconLocation_t::operator w64_SteamPartyBeaconLocation_t() const +{ + w64_SteamPartyBeaconLocation_t ret; + ret.m_eType = this->m_eType; + ret.m_ulLocationID = this->m_ulLocationID; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamPartyBeaconLocation_t::operator u32_SteamPartyBeaconLocation_t() const +{ + u32_SteamPartyBeaconLocation_t ret; + ret.m_eType = this->m_eType; + ret.m_ulLocationID = this->m_ulLocationID; + return ret; +} + +u32_SteamPartyBeaconLocation_t::operator w32_SteamPartyBeaconLocation_t() const +{ + w32_SteamPartyBeaconLocation_t ret; + ret.m_eType = this->m_eType; + ret.m_ulLocationID = this->m_ulLocationID; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_128x) >= 9784 ); +C_ASSERT( offsetof(w64_SteamUGCRequestUGCDetailsResult_t_128x, m_details) == 0 ); +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_128x().m_details) >= 9776 ); +C_ASSERT( offsetof(w64_SteamUGCRequestUGCDetailsResult_t_128x, m_bCachedData) == 9776 ); +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_128x().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_128x) >= 9768 ); +C_ASSERT( offsetof(u64_SteamUGCRequestUGCDetailsResult_t_128x, m_details) == 0 ); +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_128x().m_details) >= 9764 ); +C_ASSERT( offsetof(u64_SteamUGCRequestUGCDetailsResult_t_128x, m_bCachedData) == 9764 ); +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_128x().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_128x) >= 9784 ); +C_ASSERT( offsetof(w32_SteamUGCRequestUGCDetailsResult_t_128x, m_details) == 0 ); +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_128x().m_details) >= 9776 ); +C_ASSERT( offsetof(w32_SteamUGCRequestUGCDetailsResult_t_128x, m_bCachedData) == 9776 ); +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_128x().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_128x) >= 9768 ); +C_ASSERT( offsetof(u32_SteamUGCRequestUGCDetailsResult_t_128x, m_details) == 0 ); +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_128x().m_details) >= 9764 ); +C_ASSERT( offsetof(u32_SteamUGCRequestUGCDetailsResult_t_128x, m_bCachedData) == 9764 ); +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_128x().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_129) >= 9776 ); +C_ASSERT( offsetof(w64_SteamUGCRequestUGCDetailsResult_t_129, m_details) == 0 ); +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_129().m_details) >= 9768 ); +C_ASSERT( offsetof(w64_SteamUGCRequestUGCDetailsResult_t_129, m_bCachedData) == 9768 ); +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_129().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_129) >= 9764 ); +C_ASSERT( offsetof(u64_SteamUGCRequestUGCDetailsResult_t_129, m_details) == 0 ); +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_129().m_details) >= 9760 ); +C_ASSERT( offsetof(u64_SteamUGCRequestUGCDetailsResult_t_129, m_bCachedData) == 9760 ); +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_129().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_129) >= 9776 ); +C_ASSERT( offsetof(w32_SteamUGCRequestUGCDetailsResult_t_129, m_details) == 0 ); +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_129().m_details) >= 9768 ); +C_ASSERT( offsetof(w32_SteamUGCRequestUGCDetailsResult_t_129, m_bCachedData) == 9768 ); +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_129().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_129) >= 9764 ); +C_ASSERT( offsetof(u32_SteamUGCRequestUGCDetailsResult_t_129, m_details) == 0 ); +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_129().m_details) >= 9760 ); +C_ASSERT( offsetof(u32_SteamUGCRequestUGCDetailsResult_t_129, m_bCachedData) == 9760 ); +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_129().m_bCachedData) >= 1 ); + +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_126) >= 9768 ); +C_ASSERT( offsetof(w64_SteamUGCRequestUGCDetailsResult_t_126, m_details) == 0 ); +C_ASSERT( sizeof(w64_SteamUGCRequestUGCDetailsResult_t_126().m_details) >= 9768 ); + +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_126) >= 9760 ); +C_ASSERT( offsetof(u64_SteamUGCRequestUGCDetailsResult_t_126, m_details) == 0 ); +C_ASSERT( sizeof(u64_SteamUGCRequestUGCDetailsResult_t_126().m_details) >= 9760 ); + +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_126) >= 9768 ); +C_ASSERT( offsetof(w32_SteamUGCRequestUGCDetailsResult_t_126, m_details) == 0 ); +C_ASSERT( sizeof(w32_SteamUGCRequestUGCDetailsResult_t_126().m_details) >= 9768 ); + +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_126) >= 9760 ); +C_ASSERT( offsetof(u32_SteamUGCRequestUGCDetailsResult_t_126, m_details) == 0 ); +C_ASSERT( sizeof(u32_SteamUGCRequestUGCDetailsResult_t_126().m_details) >= 9760 ); + +#ifdef __x86_64__ +w64_SteamUGCRequestUGCDetailsResult_t_128x::operator u64_SteamUGCRequestUGCDetailsResult_t_128x() const +{ + u64_SteamUGCRequestUGCDetailsResult_t_128x ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} + +u64_SteamUGCRequestUGCDetailsResult_t_128x::operator w64_SteamUGCRequestUGCDetailsResult_t_128x() const +{ + w64_SteamUGCRequestUGCDetailsResult_t_128x ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamUGCRequestUGCDetailsResult_t_128x::operator u32_SteamUGCRequestUGCDetailsResult_t_128x() const +{ + u32_SteamUGCRequestUGCDetailsResult_t_128x ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} + +u32_SteamUGCRequestUGCDetailsResult_t_128x::operator w32_SteamUGCRequestUGCDetailsResult_t_128x() const +{ + w32_SteamUGCRequestUGCDetailsResult_t_128x ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_SteamUGCRequestUGCDetailsResult_t_129::operator u64_SteamUGCRequestUGCDetailsResult_t_129() const +{ + u64_SteamUGCRequestUGCDetailsResult_t_129 ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} + +u64_SteamUGCRequestUGCDetailsResult_t_129::operator w64_SteamUGCRequestUGCDetailsResult_t_129() const +{ + w64_SteamUGCRequestUGCDetailsResult_t_129 ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamUGCRequestUGCDetailsResult_t_129::operator u32_SteamUGCRequestUGCDetailsResult_t_129() const +{ + u32_SteamUGCRequestUGCDetailsResult_t_129 ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} + +u32_SteamUGCRequestUGCDetailsResult_t_129::operator w32_SteamUGCRequestUGCDetailsResult_t_129() const +{ + w32_SteamUGCRequestUGCDetailsResult_t_129 ret; + ret.m_details = this->m_details; + ret.m_bCachedData = this->m_bCachedData; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_SteamUGCRequestUGCDetailsResult_t_126::operator u64_SteamUGCRequestUGCDetailsResult_t_126() const +{ + u64_SteamUGCRequestUGCDetailsResult_t_126 ret; + ret.m_details = this->m_details; + return ret; +} + +u64_SteamUGCRequestUGCDetailsResult_t_126::operator w64_SteamUGCRequestUGCDetailsResult_t_126() const +{ + w64_SteamUGCRequestUGCDetailsResult_t_126 ret; + ret.m_details = this->m_details; + return ret; +} +#endif + +#ifdef __i386__ +w32_SteamUGCRequestUGCDetailsResult_t_126::operator u32_SteamUGCRequestUGCDetailsResult_t_126() const +{ + u32_SteamUGCRequestUGCDetailsResult_t_126 ret; + ret.m_details = this->m_details; + return ret; +} + +u32_SteamUGCRequestUGCDetailsResult_t_126::operator w32_SteamUGCRequestUGCDetailsResult_t_126() const +{ + w32_SteamUGCRequestUGCDetailsResult_t_126 ret; + ret.m_details = this->m_details; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_SubmitPlayerResultResultCallback_t) >= 24 ); +C_ASSERT( offsetof(w64_SubmitPlayerResultResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w64_SubmitPlayerResultResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w64_SubmitPlayerResultResultCallback_t, ullUniqueGameID) == 8 ); +C_ASSERT( sizeof(w64_SubmitPlayerResultResultCallback_t().ullUniqueGameID) >= 8 ); +C_ASSERT( offsetof(w64_SubmitPlayerResultResultCallback_t, steamIDPlayer) == 16 ); +C_ASSERT( sizeof(w64_SubmitPlayerResultResultCallback_t().steamIDPlayer) >= 8 ); + +C_ASSERT( sizeof(u64_SubmitPlayerResultResultCallback_t) >= 20 ); +C_ASSERT( offsetof(u64_SubmitPlayerResultResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u64_SubmitPlayerResultResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u64_SubmitPlayerResultResultCallback_t, ullUniqueGameID) == 4 ); +C_ASSERT( sizeof(u64_SubmitPlayerResultResultCallback_t().ullUniqueGameID) >= 8 ); +C_ASSERT( offsetof(u64_SubmitPlayerResultResultCallback_t, steamIDPlayer) == 12 ); +C_ASSERT( sizeof(u64_SubmitPlayerResultResultCallback_t().steamIDPlayer) >= 8 ); + +C_ASSERT( sizeof(w32_SubmitPlayerResultResultCallback_t) >= 24 ); +C_ASSERT( offsetof(w32_SubmitPlayerResultResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(w32_SubmitPlayerResultResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(w32_SubmitPlayerResultResultCallback_t, ullUniqueGameID) == 8 ); +C_ASSERT( sizeof(w32_SubmitPlayerResultResultCallback_t().ullUniqueGameID) >= 8 ); +C_ASSERT( offsetof(w32_SubmitPlayerResultResultCallback_t, steamIDPlayer) == 16 ); +C_ASSERT( sizeof(w32_SubmitPlayerResultResultCallback_t().steamIDPlayer) >= 8 ); + +C_ASSERT( sizeof(u32_SubmitPlayerResultResultCallback_t) >= 20 ); +C_ASSERT( offsetof(u32_SubmitPlayerResultResultCallback_t, m_eResult) == 0 ); +C_ASSERT( sizeof(u32_SubmitPlayerResultResultCallback_t().m_eResult) >= 4 ); +C_ASSERT( offsetof(u32_SubmitPlayerResultResultCallback_t, ullUniqueGameID) == 4 ); +C_ASSERT( sizeof(u32_SubmitPlayerResultResultCallback_t().ullUniqueGameID) >= 8 ); +C_ASSERT( offsetof(u32_SubmitPlayerResultResultCallback_t, steamIDPlayer) == 12 ); +C_ASSERT( sizeof(u32_SubmitPlayerResultResultCallback_t().steamIDPlayer) >= 8 ); + +#ifdef __x86_64__ +w64_SubmitPlayerResultResultCallback_t::operator u64_SubmitPlayerResultResultCallback_t() const +{ + u64_SubmitPlayerResultResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + ret.steamIDPlayer = this->steamIDPlayer; + return ret; +} + +u64_SubmitPlayerResultResultCallback_t::operator w64_SubmitPlayerResultResultCallback_t() const +{ + w64_SubmitPlayerResultResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + ret.steamIDPlayer = this->steamIDPlayer; + return ret; +} +#endif + +#ifdef __i386__ +w32_SubmitPlayerResultResultCallback_t::operator u32_SubmitPlayerResultResultCallback_t() const +{ + u32_SubmitPlayerResultResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + ret.steamIDPlayer = this->steamIDPlayer; + return ret; +} + +u32_SubmitPlayerResultResultCallback_t::operator w32_SubmitPlayerResultResultCallback_t() const +{ + w32_SubmitPlayerResultResultCallback_t ret; + ret.m_eResult = this->m_eResult; + ret.ullUniqueGameID = this->ullUniqueGameID; + ret.steamIDPlayer = this->steamIDPlayer; + return ret; +} +#endif + +void callback_message_utow( const u_CallbackMsg_t *u_msg, w_CallbackMsg_t *w_msg ) +{ + int len; + +#define MAKE_CASE(id, wlen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24) + switch (MAKE_CASE(u_msg->m_iCallback, u_msg->m_cubParam)) + { +#ifdef __i386__ + case MAKE_CASE(152, 16): len = 24; break; /* MicroTxnAuthorizationResponse_t_123 */ + /* Conflict: case MAKE_CASE(152, 16): len = 24; break; */ /* MicroTxnAuthorizationResponse_t_109 */ + case MAKE_CASE(209, 32): len = 40; break; /* GSReputation_t_123 */ + /* Conflict: case MAKE_CASE(209, 32): len = 40; break; */ /* GSReputation_t_108 */ + case MAKE_CASE(513, 12): len = 16; break; /* LobbyCreated_t_123 */ + /* Conflict: case MAKE_CASE(513, 12): len = 16; break; */ /* LobbyCreated_t_099u */ + case MAKE_CASE(1023, 36): len = 40; break; /* FileDetailsResult_t */ + case MAKE_CASE(1106, 28): len = 32; break; /* LeaderboardScoreUploaded_t_123 */ + /* Conflict: case MAKE_CASE(1106, 28): len = 32; break; */ /* LeaderboardScoreUploaded_t_104 */ + case MAKE_CASE(1111, 12): len = 16; break; /* LeaderboardUGCSet_t_123 */ + /* Conflict: case MAKE_CASE(1111, 12): len = 16; break; */ /* LeaderboardUGCSet_t_111x */ + case MAKE_CASE(1112, 20): len = 24; break; /* PS3TrophiesInstalled_t_123 */ + /* Conflict: case MAKE_CASE(1112, 20): len = 24; break; */ /* PS3TrophiesInstalled_t_112x */ + case MAKE_CASE(1221, 704): len = 712; break; /* SteamNetConnectionStatusChangedCallback_t_153a */ + /* Conflict: case MAKE_CASE(1221, 704): len = 712; break; */ /* SteamNetConnectionStatusChangedCallback_t_144 */ + case MAKE_CASE(1221, 576): len = 584; break; /* SteamNetConnectionStatusChangedCallback_t_151 */ + case MAKE_CASE(1303, 280): len = 288; break; /* RemoteStorageAppSyncProgress_t_123 */ + /* Conflict: case MAKE_CASE(1303, 280): len = 288; break; */ /* RemoteStorageAppSyncProgress_t_111x */ + case MAKE_CASE(1307, 272): len = 280; break; /* RemoteStorageFileShareResult_t_128x */ + case MAKE_CASE(1307, 12): len = 16; break; /* RemoteStorageFileShareResult_t_123 */ + /* Conflict: case MAKE_CASE(1307, 12): len = 16; break; */ /* RemoteStorageFileShareResult_t_111x */ + case MAKE_CASE(1308, 32): len = 40; break; /* RemoteStorageDownloadUGCResult_t_111x */ + case MAKE_CASE(1309, 16): len = 24; break; /* RemoteStoragePublishFileResult_t_125 */ + case MAKE_CASE(1309, 12): len = 16; break; /* RemoteStoragePublishFileResult_t_123 */ + /* Conflict: case MAKE_CASE(1309, 12): len = 16; break; */ /* RemoteStoragePublishFileResult_t_116x */ + case MAKE_CASE(1310, 1732): len = 1744; break; /* RemoteStorageGetPublishedFileDetailsResult_t_116x */ + case MAKE_CASE(1311, 12): len = 16; break; /* RemoteStorageDeletePublishedFileResult_t_123 */ + /* Conflict: case MAKE_CASE(1311, 12): len = 16; break; */ /* RemoteStorageDeletePublishedFileResult_t_116x */ + case MAKE_CASE(1312, 412): len = 416; break; /* RemoteStorageEnumerateUserPublishedFilesResult_t_123 */ + /* Conflict: case MAKE_CASE(1312, 412): len = 416; break; */ /* RemoteStorageEnumerateUserPublishedFilesResult_t_116x */ + case MAKE_CASE(1313, 12): len = 16; break; /* RemoteStorageSubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1313, 4): len = 4; break; /* RemoteStorageSubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1314, 612): len = 616; break; /* RemoteStorageEnumerateUserSubscribedFilesResult_t_123 */ + /* Conflict: case MAKE_CASE(1314, 612): len = 616; break; */ /* RemoteStorageEnumerateUserSubscribedFilesResult_t_116x */ + case MAKE_CASE(1315, 12): len = 16; break; /* RemoteStorageUnsubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1315, 4): len = 4; break; /* RemoteStorageUnsubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1316, 16): len = 24; break; /* RemoteStorageUpdatePublishedFileResult_t_125 */ + case MAKE_CASE(1316, 12): len = 16; break; /* RemoteStorageUpdatePublishedFileResult_t_123 */ + /* Conflict: case MAKE_CASE(1316, 12): len = 16; break; */ /* RemoteStorageUpdatePublishedFileResult_t_116x */ + case MAKE_CASE(1317, 288): len = 296; break; /* RemoteStorageDownloadUGCResult_t_123 */ + /* Conflict: case MAKE_CASE(1317, 288): len = 296; break; */ /* RemoteStorageDownloadUGCResult_t_116x */ + case MAKE_CASE(1318, 9748): len = 9760; break; /* RemoteStorageGetPublishedFileDetailsResult_t_126 */ + case MAKE_CASE(1318, 9744): len = 9752; break; /* RemoteStorageGetPublishedFileDetailsResult_t_123 */ + /* Conflict: case MAKE_CASE(1318, 9744): len = 9752; break; */ /* RemoteStorageGetPublishedFileDetailsResult_t_119x */ + case MAKE_CASE(1318, 9740): len = 9752; break; /* RemoteStorageGetPublishedFileDetailsResult_t_119 */ + case MAKE_CASE(1318, 9484): len = 9496; break; /* RemoteStorageGetPublishedFileDetailsResult_t_118 */ + case MAKE_CASE(1319, 620): len = 624; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_125 */ + case MAKE_CASE(1319, 612): len = 616; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_123 */ + /* Conflict: case MAKE_CASE(1319, 612): len = 616; break; */ /* RemoteStorageEnumerateWorkshopFilesResult_t_119 */ + case MAKE_CASE(1320, 28): len = 32; break; /* RemoteStorageGetPublishedItemVoteDetailsResult_t_123 */ + /* Conflict: case MAKE_CASE(1320, 28): len = 32; break; */ /* RemoteStorageGetPublishedItemVoteDetailsResult_t_119 */ + case MAKE_CASE(1324, 12): len = 16; break; /* RemoteStorageUpdateUserPublishedItemVoteResult_t_123 */ + /* Conflict: case MAKE_CASE(1324, 12): len = 16; break; */ /* RemoteStorageUpdateUserPublishedItemVoteResult_t_119 */ + case MAKE_CASE(1325, 16): len = 24; break; /* RemoteStorageUserVoteDetails_t_123 */ + /* Conflict: case MAKE_CASE(1325, 16): len = 24; break; */ /* RemoteStorageUserVoteDetails_t_119 */ + case MAKE_CASE(1326, 412): len = 416; break; /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 */ + /* Conflict: case MAKE_CASE(1326, 412): len = 416; break; */ /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 */ + case MAKE_CASE(1327, 16): len = 24; break; /* RemoteStorageSetUserPublishedFileActionResult_t_123 */ + /* Conflict: case MAKE_CASE(1327, 16): len = 24; break; */ /* RemoteStorageSetUserPublishedFileActionResult_t_119 */ + case MAKE_CASE(1330, 20): len = 24; break; /* RemoteStoragePublishedFileUpdated_t */ + case MAKE_CASE(2101, 24): len = 32; break; /* HTTPRequestCompleted_t_132x */ + case MAKE_CASE(2101, 20): len = 24; break; /* HTTPRequestCompleted_t_123 */ + /* Conflict: case MAKE_CASE(2101, 20): len = 24; break; */ /* HTTPRequestCompleted_t_115 */ + case MAKE_CASE(2102, 12): len = 16; break; /* HTTPRequestHeadersReceived_t_123 */ + /* Conflict: case MAKE_CASE(2102, 12): len = 16; break; */ /* HTTPRequestHeadersReceived_t_121x */ + case MAKE_CASE(2103, 20): len = 24; break; /* HTTPRequestDataReceived_t_123 */ + /* Conflict: case MAKE_CASE(2103, 20): len = 24; break; */ /* HTTPRequestDataReceived_t_121x */ + case MAKE_CASE(2803, 32): len = 40; break; /* SteamInputConfigurationLoaded_t */ + case MAKE_CASE(2804, 24): len = 32; break; /* SteamInputGamepadSlotChange_t */ + case MAKE_CASE(3402, 9768): len = 9784; break; /* SteamUGCRequestUGCDetailsResult_t_128x */ + case MAKE_CASE(3402, 9764): len = 9776; break; /* SteamUGCRequestUGCDetailsResult_t_129 */ + case MAKE_CASE(3402, 9760): len = 9768; break; /* SteamUGCRequestUGCDetailsResult_t_126 */ + case MAKE_CASE(3403, 16): len = 24; break; /* CreateItemResult_t */ + case MAKE_CASE(3405, 12): len = 16; break; /* ItemInstalled_t */ + case MAKE_CASE(3406, 16): len = 24; break; /* DownloadItemResult_t */ + case MAKE_CASE(3412, 20): len = 24; break; /* AddUGCDependencyResult_t */ + case MAKE_CASE(3413, 20): len = 24; break; /* RemoveUGCDependencyResult_t */ + case MAKE_CASE(3414, 16): len = 24; break; /* AddAppDependencyResult_t */ + case MAKE_CASE(3415, 16): len = 24; break; /* RemoveAppDependencyResult_t */ + case MAKE_CASE(3416, 148): len = 152; break; /* GetAppDependenciesResult_t */ + case MAKE_CASE(3417, 12): len = 16; break; /* DeleteItemResult_t */ + case MAKE_CASE(4502, 48): len = 48; break; /* HTML_NeedsPaint_t */ + case MAKE_CASE(4503, 20): len = 20; break; /* HTML_StartRequest_t */ + case MAKE_CASE(4505, 24): len = 24; break; /* HTML_URLChanged_t */ + case MAKE_CASE(4506, 12): len = 12; break; /* HTML_FinishedRequest_t */ + case MAKE_CASE(4507, 8): len = 8; break; /* HTML_OpenLinkInNewTab_t */ + case MAKE_CASE(4508, 8): len = 8; break; /* HTML_ChangedTitle_t */ + case MAKE_CASE(4513, 20): len = 20; break; /* HTML_LinkAtPosition_t */ + case MAKE_CASE(4514, 8): len = 8; break; /* HTML_JSAlert_t */ + case MAKE_CASE(4515, 8): len = 8; break; /* HTML_JSConfirm_t */ + case MAKE_CASE(4516, 12): len = 12; break; /* HTML_FileOpenDialog_t */ + case MAKE_CASE(4517, 16): len = 16; break; /* HTML_ComboNeedsPaint_t */ + case MAKE_CASE(4521, 28): len = 28; break; /* HTML_NewWindow_t_132x */ + case MAKE_CASE(4521, 24): len = 24; break; /* HTML_NewWindow_t_130x */ + case MAKE_CASE(4523, 8): len = 8; break; /* HTML_StatusText_t */ + case MAKE_CASE(4524, 8): len = 8; break; /* HTML_ShowToolTip_t */ + case MAKE_CASE(4525, 8): len = 8; break; /* HTML_UpdateToolTip_t */ + case MAKE_CASE(4704, 20): len = 24; break; /* SteamInventoryStartPurchaseResult_t */ + case MAKE_CASE(5211, 12): len = 16; break; /* RequestPlayersForGameProgressCallback_t */ + case MAKE_CASE(5212, 56): len = 64; break; /* RequestPlayersForGameResultCallback_t */ + case MAKE_CASE(5213, 20): len = 24; break; /* RequestPlayersForGameFinalResultCallback_t */ + case MAKE_CASE(5214, 20): len = 24; break; /* SubmitPlayerResultResultCallback_t */ + case MAKE_CASE(5215, 12): len = 16; break; /* EndGameResultCallback_t */ + case MAKE_CASE(5301, 276): len = 280; break; /* JoinPartyCallback_t */ + case MAKE_CASE(5302, 12): len = 16; break; /* CreateBeaconCallback_t */ +#endif +#ifdef __x86_64__ + case MAKE_CASE(152, 16): len = 24; break; /* MicroTxnAuthorizationResponse_t_123 */ + case MAKE_CASE(152, 24): len = 24; break; /* MicroTxnAuthorizationResponse_t_109 */ + case MAKE_CASE(209, 32): len = 40; break; /* GSReputation_t_123 */ + case MAKE_CASE(209, 40): len = 40; break; /* GSReputation_t_108 */ + case MAKE_CASE(513, 12): len = 16; break; /* LobbyCreated_t_123 */ + case MAKE_CASE(513, 16): len = 16; break; /* LobbyCreated_t_099u */ + case MAKE_CASE(1023, 36): len = 40; break; /* FileDetailsResult_t */ + case MAKE_CASE(1106, 28): len = 32; break; /* LeaderboardScoreUploaded_t_123 */ + case MAKE_CASE(1106, 32): len = 32; break; /* LeaderboardScoreUploaded_t_104 */ + case MAKE_CASE(1111, 12): len = 16; break; /* LeaderboardUGCSet_t_123 */ + case MAKE_CASE(1111, 16): len = 16; break; /* LeaderboardUGCSet_t_111x */ + case MAKE_CASE(1112, 20): len = 24; break; /* PS3TrophiesInstalled_t_123 */ + case MAKE_CASE(1112, 24): len = 24; break; /* PS3TrophiesInstalled_t_112x */ + case MAKE_CASE(1221, 704): len = 712; break; /* SteamNetConnectionStatusChangedCallback_t_153a */ + /* Conflict: case MAKE_CASE(1221, 704): len = 712; break; */ /* SteamNetConnectionStatusChangedCallback_t_144 */ + case MAKE_CASE(1221, 576): len = 584; break; /* SteamNetConnectionStatusChangedCallback_t_151 */ + case MAKE_CASE(1303, 280): len = 288; break; /* RemoteStorageAppSyncProgress_t_123 */ + case MAKE_CASE(1303, 288): len = 288; break; /* RemoteStorageAppSyncProgress_t_111x */ + case MAKE_CASE(1307, 272): len = 280; break; /* RemoteStorageFileShareResult_t_128x */ + case MAKE_CASE(1307, 12): len = 16; break; /* RemoteStorageFileShareResult_t_123 */ + case MAKE_CASE(1307, 16): len = 16; break; /* RemoteStorageFileShareResult_t_111x */ + case MAKE_CASE(1308, 40): len = 40; break; /* RemoteStorageDownloadUGCResult_t_111x */ + case MAKE_CASE(1309, 16): len = 24; break; /* RemoteStoragePublishFileResult_t_125 */ + case MAKE_CASE(1309, 12): len = 16; break; /* RemoteStoragePublishFileResult_t_123 */ + /* Conflict: case MAKE_CASE(1309, 16): len = 16; break; */ /* RemoteStoragePublishFileResult_t_116x */ + case MAKE_CASE(1310, 1744): len = 1744; break; /* RemoteStorageGetPublishedFileDetailsResult_t_116x */ + case MAKE_CASE(1311, 12): len = 16; break; /* RemoteStorageDeletePublishedFileResult_t_123 */ + case MAKE_CASE(1311, 16): len = 16; break; /* RemoteStorageDeletePublishedFileResult_t_116x */ + case MAKE_CASE(1312, 412): len = 416; break; /* RemoteStorageEnumerateUserPublishedFilesResult_t_123 */ + case MAKE_CASE(1312, 416): len = 416; break; /* RemoteStorageEnumerateUserPublishedFilesResult_t_116x */ + case MAKE_CASE(1313, 12): len = 16; break; /* RemoteStorageSubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1313, 4): len = 4; break; /* RemoteStorageSubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1314, 612): len = 616; break; /* RemoteStorageEnumerateUserSubscribedFilesResult_t_123 */ + case MAKE_CASE(1314, 616): len = 616; break; /* RemoteStorageEnumerateUserSubscribedFilesResult_t_116x */ + case MAKE_CASE(1315, 12): len = 16; break; /* RemoteStorageUnsubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1315, 4): len = 4; break; /* RemoteStorageUnsubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1316, 16): len = 24; break; /* RemoteStorageUpdatePublishedFileResult_t_125 */ + case MAKE_CASE(1316, 12): len = 16; break; /* RemoteStorageUpdatePublishedFileResult_t_123 */ + /* Conflict: case MAKE_CASE(1316, 16): len = 16; break; */ /* RemoteStorageUpdatePublishedFileResult_t_116x */ + case MAKE_CASE(1317, 288): len = 296; break; /* RemoteStorageDownloadUGCResult_t_123 */ + case MAKE_CASE(1317, 296): len = 296; break; /* RemoteStorageDownloadUGCResult_t_116x */ + case MAKE_CASE(1318, 9748): len = 9760; break; /* RemoteStorageGetPublishedFileDetailsResult_t_126 */ + case MAKE_CASE(1318, 9744): len = 9752; break; /* RemoteStorageGetPublishedFileDetailsResult_t_123 */ + case MAKE_CASE(1318, 9752): len = 9752; break; /* RemoteStorageGetPublishedFileDetailsResult_t_119x */ + /* Conflict: case MAKE_CASE(1318, 9752): len = 9752; break; */ /* RemoteStorageGetPublishedFileDetailsResult_t_119 */ + case MAKE_CASE(1318, 9496): len = 9496; break; /* RemoteStorageGetPublishedFileDetailsResult_t_118 */ + case MAKE_CASE(1319, 620): len = 624; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_125 */ + case MAKE_CASE(1319, 612): len = 616; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_123 */ + case MAKE_CASE(1319, 616): len = 616; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_119 */ + case MAKE_CASE(1320, 28): len = 32; break; /* RemoteStorageGetPublishedItemVoteDetailsResult_t_123 */ + case MAKE_CASE(1320, 32): len = 32; break; /* RemoteStorageGetPublishedItemVoteDetailsResult_t_119 */ + case MAKE_CASE(1324, 12): len = 16; break; /* RemoteStorageUpdateUserPublishedItemVoteResult_t_123 */ + case MAKE_CASE(1324, 16): len = 16; break; /* RemoteStorageUpdateUserPublishedItemVoteResult_t_119 */ + case MAKE_CASE(1325, 16): len = 24; break; /* RemoteStorageUserVoteDetails_t_123 */ + case MAKE_CASE(1325, 24): len = 24; break; /* RemoteStorageUserVoteDetails_t_119 */ + case MAKE_CASE(1326, 412): len = 416; break; /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 */ + case MAKE_CASE(1326, 416): len = 416; break; /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 */ + case MAKE_CASE(1327, 16): len = 24; break; /* RemoteStorageSetUserPublishedFileActionResult_t_123 */ + case MAKE_CASE(1327, 24): len = 24; break; /* RemoteStorageSetUserPublishedFileActionResult_t_119 */ + case MAKE_CASE(1330, 20): len = 24; break; /* RemoteStoragePublishedFileUpdated_t */ + case MAKE_CASE(2101, 24): len = 32; break; /* HTTPRequestCompleted_t_132x */ + case MAKE_CASE(2101, 20): len = 24; break; /* HTTPRequestCompleted_t_123 */ + /* Conflict: case MAKE_CASE(2101, 24): len = 24; break; */ /* HTTPRequestCompleted_t_115 */ + case MAKE_CASE(2102, 12): len = 16; break; /* HTTPRequestHeadersReceived_t_123 */ + case MAKE_CASE(2102, 16): len = 16; break; /* HTTPRequestHeadersReceived_t_121x */ + case MAKE_CASE(2103, 20): len = 24; break; /* HTTPRequestDataReceived_t_123 */ + case MAKE_CASE(2103, 24): len = 24; break; /* HTTPRequestDataReceived_t_121x */ + case MAKE_CASE(2803, 32): len = 40; break; /* SteamInputConfigurationLoaded_t */ + case MAKE_CASE(2804, 24): len = 32; break; /* SteamInputGamepadSlotChange_t */ + case MAKE_CASE(3402, 9768): len = 9784; break; /* SteamUGCRequestUGCDetailsResult_t_128x */ + case MAKE_CASE(3402, 9764): len = 9776; break; /* SteamUGCRequestUGCDetailsResult_t_129 */ + case MAKE_CASE(3402, 9760): len = 9768; break; /* SteamUGCRequestUGCDetailsResult_t_126 */ + case MAKE_CASE(3403, 16): len = 24; break; /* CreateItemResult_t */ + case MAKE_CASE(3405, 12): len = 16; break; /* ItemInstalled_t */ + case MAKE_CASE(3406, 16): len = 24; break; /* DownloadItemResult_t */ + case MAKE_CASE(3412, 20): len = 24; break; /* AddUGCDependencyResult_t */ + case MAKE_CASE(3413, 20): len = 24; break; /* RemoveUGCDependencyResult_t */ + case MAKE_CASE(3414, 16): len = 24; break; /* AddAppDependencyResult_t */ + case MAKE_CASE(3415, 16): len = 24; break; /* RemoveAppDependencyResult_t */ + case MAKE_CASE(3416, 148): len = 152; break; /* GetAppDependenciesResult_t */ + case MAKE_CASE(3417, 12): len = 16; break; /* DeleteItemResult_t */ + case MAKE_CASE(4502, 52): len = 56; break; /* HTML_NeedsPaint_t */ + case MAKE_CASE(4503, 32): len = 40; break; /* HTML_StartRequest_t */ + case MAKE_CASE(4505, 36): len = 48; break; /* HTML_URLChanged_t */ + case MAKE_CASE(4506, 20): len = 24; break; /* HTML_FinishedRequest_t */ + case MAKE_CASE(4507, 12): len = 16; break; /* HTML_OpenLinkInNewTab_t */ + case MAKE_CASE(4508, 12): len = 16; break; /* HTML_ChangedTitle_t */ + case MAKE_CASE(4513, 24): len = 32; break; /* HTML_LinkAtPosition_t */ + case MAKE_CASE(4514, 12): len = 16; break; /* HTML_JSAlert_t */ + case MAKE_CASE(4515, 12): len = 16; break; /* HTML_JSConfirm_t */ + case MAKE_CASE(4516, 20): len = 24; break; /* HTML_FileOpenDialog_t */ + case MAKE_CASE(4517, 20): len = 24; break; /* HTML_ComboNeedsPaint_t */ + case MAKE_CASE(4521, 32): len = 40; break; /* HTML_NewWindow_t_132x */ + case MAKE_CASE(4521, 28): len = 32; break; /* HTML_NewWindow_t_130x */ + case MAKE_CASE(4523, 12): len = 16; break; /* HTML_StatusText_t */ + case MAKE_CASE(4524, 12): len = 16; break; /* HTML_ShowToolTip_t */ + case MAKE_CASE(4525, 12): len = 16; break; /* HTML_UpdateToolTip_t */ + case MAKE_CASE(4704, 20): len = 24; break; /* SteamInventoryStartPurchaseResult_t */ + case MAKE_CASE(5211, 12): len = 16; break; /* RequestPlayersForGameProgressCallback_t */ + case MAKE_CASE(5212, 56): len = 64; break; /* RequestPlayersForGameResultCallback_t */ + case MAKE_CASE(5213, 20): len = 24; break; /* RequestPlayersForGameFinalResultCallback_t */ + case MAKE_CASE(5214, 20): len = 24; break; /* SubmitPlayerResultResultCallback_t */ + case MAKE_CASE(5215, 12): len = 16; break; /* EndGameResultCallback_t */ + case MAKE_CASE(5301, 276): len = 280; break; /* JoinPartyCallback_t */ + case MAKE_CASE(5302, 12): len = 16; break; /* CreateBeaconCallback_t */ +#endif + default: len = u_msg->m_cubParam; break; + } +#undef MAKE_CASE + + w_msg->m_iCallback = u_msg->m_iCallback; + w_msg->m_cubParam = len; +} + +void *alloc_callback_wtou(int id, void *callback, int *callback_len) +{ + int len; + +#define MAKE_CASE(id, wlen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24) + switch (MAKE_CASE(id, *callback_len)) + { +#ifdef __i386__ + case MAKE_CASE(152, 24): len = 16; break; /* MicroTxnAuthorizationResponse_t_123 */ + /* case MAKE_CASE(152, 24): len = 16; break; MicroTxnAuthorizationResponse_t_109 */ + case MAKE_CASE(209, 40): len = 32; break; /* GSReputation_t_123 */ + /* case MAKE_CASE(209, 40): len = 32; break; GSReputation_t_108 */ + case MAKE_CASE(513, 16): len = 12; break; /* LobbyCreated_t_123 */ + /* case MAKE_CASE(513, 16): len = 12; break; LobbyCreated_t_099u */ + case MAKE_CASE(1023, 40): len = 36; break; /* FileDetailsResult_t */ + case MAKE_CASE(1106, 32): len = 28; break; /* LeaderboardScoreUploaded_t_123 */ + /* case MAKE_CASE(1106, 32): len = 28; break; LeaderboardScoreUploaded_t_104 */ + case MAKE_CASE(1111, 16): len = 12; break; /* LeaderboardUGCSet_t_123 */ + /* case MAKE_CASE(1111, 16): len = 12; break; LeaderboardUGCSet_t_111x */ + case MAKE_CASE(1112, 24): len = 20; break; /* PS3TrophiesInstalled_t_123 */ + /* case MAKE_CASE(1112, 24): len = 20; break; PS3TrophiesInstalled_t_112x */ + case MAKE_CASE(1221, 712): len = 704; break; /* SteamNetConnectionStatusChangedCallback_t_153a */ + /* case MAKE_CASE(1221, 712): len = 704; break; SteamNetConnectionStatusChangedCallback_t_144 */ + case MAKE_CASE(1221, 584): len = 576; break; /* SteamNetConnectionStatusChangedCallback_t_151 */ + case MAKE_CASE(1303, 288): len = 280; break; /* RemoteStorageAppSyncProgress_t_123 */ + /* case MAKE_CASE(1303, 288): len = 280; break; RemoteStorageAppSyncProgress_t_111x */ + case MAKE_CASE(1307, 280): len = 272; break; /* RemoteStorageFileShareResult_t_128x */ + case MAKE_CASE(1307, 16): len = 12; break; /* RemoteStorageFileShareResult_t_123 */ + /* case MAKE_CASE(1307, 16): len = 12; break; RemoteStorageFileShareResult_t_111x */ + case MAKE_CASE(1308, 40): len = 32; break; /* RemoteStorageDownloadUGCResult_t_111x */ + case MAKE_CASE(1309, 24): len = 16; break; /* RemoteStoragePublishFileResult_t_125 */ + case MAKE_CASE(1309, 16): len = 12; break; /* RemoteStoragePublishFileResult_t_123 */ + /* case MAKE_CASE(1309, 16): len = 12; break; RemoteStoragePublishFileResult_t_116x */ + case MAKE_CASE(1310, 1744): len = 1732; break; /* RemoteStorageGetPublishedFileDetailsResult_t_116x */ + case MAKE_CASE(1311, 16): len = 12; break; /* RemoteStorageDeletePublishedFileResult_t_123 */ + /* case MAKE_CASE(1311, 16): len = 12; break; RemoteStorageDeletePublishedFileResult_t_116x */ + case MAKE_CASE(1312, 416): len = 412; break; /* RemoteStorageEnumerateUserPublishedFilesResult_t_123 */ + /* case MAKE_CASE(1312, 416): len = 412; break; RemoteStorageEnumerateUserPublishedFilesResult_t_116x */ + case MAKE_CASE(1313, 16): len = 12; break; /* RemoteStorageSubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1313, 4): len = 4; break; /* RemoteStorageSubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1314, 616): len = 612; break; /* RemoteStorageEnumerateUserSubscribedFilesResult_t_123 */ + /* case MAKE_CASE(1314, 616): len = 612; break; RemoteStorageEnumerateUserSubscribedFilesResult_t_116x */ + case MAKE_CASE(1315, 16): len = 12; break; /* RemoteStorageUnsubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1315, 4): len = 4; break; /* RemoteStorageUnsubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1316, 24): len = 16; break; /* RemoteStorageUpdatePublishedFileResult_t_125 */ + case MAKE_CASE(1316, 16): len = 12; break; /* RemoteStorageUpdatePublishedFileResult_t_123 */ + /* case MAKE_CASE(1316, 16): len = 12; break; RemoteStorageUpdatePublishedFileResult_t_116x */ + case MAKE_CASE(1317, 296): len = 288; break; /* RemoteStorageDownloadUGCResult_t_123 */ + /* case MAKE_CASE(1317, 296): len = 288; break; RemoteStorageDownloadUGCResult_t_116x */ + case MAKE_CASE(1318, 9760): len = 9748; break; /* RemoteStorageGetPublishedFileDetailsResult_t_126 */ + case MAKE_CASE(1318, 9752): len = 9744; break; /* RemoteStorageGetPublishedFileDetailsResult_t_123 */ + /* case MAKE_CASE(1318, 9752): len = 9744; break; RemoteStorageGetPublishedFileDetailsResult_t_119x */ + /* case MAKE_CASE(1318, 9752): len = 9740; break; RemoteStorageGetPublishedFileDetailsResult_t_119 */ + case MAKE_CASE(1318, 9496): len = 9484; break; /* RemoteStorageGetPublishedFileDetailsResult_t_118 */ + case MAKE_CASE(1319, 624): len = 620; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_125 */ + case MAKE_CASE(1319, 616): len = 612; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_123 */ + /* case MAKE_CASE(1319, 616): len = 612; break; RemoteStorageEnumerateWorkshopFilesResult_t_119 */ + case MAKE_CASE(1320, 32): len = 28; break; /* RemoteStorageGetPublishedItemVoteDetailsResult_t_123 */ + /* case MAKE_CASE(1320, 32): len = 28; break; RemoteStorageGetPublishedItemVoteDetailsResult_t_119 */ + case MAKE_CASE(1324, 16): len = 12; break; /* RemoteStorageUpdateUserPublishedItemVoteResult_t_123 */ + /* case MAKE_CASE(1324, 16): len = 12; break; RemoteStorageUpdateUserPublishedItemVoteResult_t_119 */ + case MAKE_CASE(1325, 24): len = 16; break; /* RemoteStorageUserVoteDetails_t_123 */ + /* case MAKE_CASE(1325, 24): len = 16; break; RemoteStorageUserVoteDetails_t_119 */ + case MAKE_CASE(1326, 416): len = 412; break; /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 */ + /* case MAKE_CASE(1326, 416): len = 412; break; RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 */ + case MAKE_CASE(1327, 24): len = 16; break; /* RemoteStorageSetUserPublishedFileActionResult_t_123 */ + /* case MAKE_CASE(1327, 24): len = 16; break; RemoteStorageSetUserPublishedFileActionResult_t_119 */ + case MAKE_CASE(1330, 24): len = 20; break; /* RemoteStoragePublishedFileUpdated_t */ + case MAKE_CASE(2101, 32): len = 24; break; /* HTTPRequestCompleted_t_132x */ + case MAKE_CASE(2101, 24): len = 20; break; /* HTTPRequestCompleted_t_123 */ + /* case MAKE_CASE(2101, 24): len = 20; break; HTTPRequestCompleted_t_115 */ + case MAKE_CASE(2102, 16): len = 12; break; /* HTTPRequestHeadersReceived_t_123 */ + /* case MAKE_CASE(2102, 16): len = 12; break; HTTPRequestHeadersReceived_t_121x */ + case MAKE_CASE(2103, 24): len = 20; break; /* HTTPRequestDataReceived_t_123 */ + /* case MAKE_CASE(2103, 24): len = 20; break; HTTPRequestDataReceived_t_121x */ + case MAKE_CASE(2803, 40): len = 32; break; /* SteamInputConfigurationLoaded_t */ + case MAKE_CASE(2804, 32): len = 24; break; /* SteamInputGamepadSlotChange_t */ + case MAKE_CASE(3402, 9784): len = 9768; break; /* SteamUGCRequestUGCDetailsResult_t_128x */ + case MAKE_CASE(3402, 9776): len = 9764; break; /* SteamUGCRequestUGCDetailsResult_t_129 */ + case MAKE_CASE(3402, 9768): len = 9760; break; /* SteamUGCRequestUGCDetailsResult_t_126 */ + case MAKE_CASE(3403, 24): len = 16; break; /* CreateItemResult_t */ + case MAKE_CASE(3405, 16): len = 12; break; /* ItemInstalled_t */ + case MAKE_CASE(3406, 24): len = 16; break; /* DownloadItemResult_t */ + case MAKE_CASE(3412, 24): len = 20; break; /* AddUGCDependencyResult_t */ + case MAKE_CASE(3413, 24): len = 20; break; /* RemoveUGCDependencyResult_t */ + case MAKE_CASE(3414, 24): len = 16; break; /* AddAppDependencyResult_t */ + case MAKE_CASE(3415, 24): len = 16; break; /* RemoveAppDependencyResult_t */ + case MAKE_CASE(3416, 152): len = 148; break; /* GetAppDependenciesResult_t */ + case MAKE_CASE(3417, 16): len = 12; break; /* DeleteItemResult_t */ + case MAKE_CASE(4502, 48): len = 48; break; /* HTML_NeedsPaint_t */ + case MAKE_CASE(4503, 20): len = 20; break; /* HTML_StartRequest_t */ + case MAKE_CASE(4505, 24): len = 24; break; /* HTML_URLChanged_t */ + case MAKE_CASE(4506, 12): len = 12; break; /* HTML_FinishedRequest_t */ + case MAKE_CASE(4507, 8): len = 8; break; /* HTML_OpenLinkInNewTab_t */ + case MAKE_CASE(4508, 8): len = 8; break; /* HTML_ChangedTitle_t */ + case MAKE_CASE(4513, 20): len = 20; break; /* HTML_LinkAtPosition_t */ + case MAKE_CASE(4514, 8): len = 8; break; /* HTML_JSAlert_t */ + case MAKE_CASE(4515, 8): len = 8; break; /* HTML_JSConfirm_t */ + case MAKE_CASE(4516, 12): len = 12; break; /* HTML_FileOpenDialog_t */ + case MAKE_CASE(4517, 16): len = 16; break; /* HTML_ComboNeedsPaint_t */ + case MAKE_CASE(4521, 28): len = 28; break; /* HTML_NewWindow_t_132x */ + case MAKE_CASE(4521, 24): len = 24; break; /* HTML_NewWindow_t_130x */ + case MAKE_CASE(4523, 8): len = 8; break; /* HTML_StatusText_t */ + case MAKE_CASE(4524, 8): len = 8; break; /* HTML_ShowToolTip_t */ + case MAKE_CASE(4525, 8): len = 8; break; /* HTML_UpdateToolTip_t */ + case MAKE_CASE(4704, 24): len = 20; break; /* SteamInventoryStartPurchaseResult_t */ + case MAKE_CASE(5211, 16): len = 12; break; /* RequestPlayersForGameProgressCallback_t */ + case MAKE_CASE(5212, 64): len = 56; break; /* RequestPlayersForGameResultCallback_t */ + case MAKE_CASE(5213, 24): len = 20; break; /* RequestPlayersForGameFinalResultCallback_t */ + case MAKE_CASE(5214, 24): len = 20; break; /* SubmitPlayerResultResultCallback_t */ + case MAKE_CASE(5215, 16): len = 12; break; /* EndGameResultCallback_t */ + case MAKE_CASE(5301, 280): len = 276; break; /* JoinPartyCallback_t */ + case MAKE_CASE(5302, 16): len = 12; break; /* CreateBeaconCallback_t */ +#endif +#ifdef __x86_64__ + case MAKE_CASE(152, 24): len = 16; break; /* MicroTxnAuthorizationResponse_t_123 */ + /* case MAKE_CASE(152, 24): len = 24; break; MicroTxnAuthorizationResponse_t_109 */ + case MAKE_CASE(209, 40): len = 32; break; /* GSReputation_t_123 */ + /* case MAKE_CASE(209, 40): len = 40; break; GSReputation_t_108 */ + case MAKE_CASE(513, 16): len = 12; break; /* LobbyCreated_t_123 */ + /* case MAKE_CASE(513, 16): len = 16; break; LobbyCreated_t_099u */ + case MAKE_CASE(1023, 40): len = 36; break; /* FileDetailsResult_t */ + case MAKE_CASE(1106, 32): len = 28; break; /* LeaderboardScoreUploaded_t_123 */ + /* case MAKE_CASE(1106, 32): len = 32; break; LeaderboardScoreUploaded_t_104 */ + case MAKE_CASE(1111, 16): len = 12; break; /* LeaderboardUGCSet_t_123 */ + /* case MAKE_CASE(1111, 16): len = 16; break; LeaderboardUGCSet_t_111x */ + case MAKE_CASE(1112, 24): len = 20; break; /* PS3TrophiesInstalled_t_123 */ + /* case MAKE_CASE(1112, 24): len = 24; break; PS3TrophiesInstalled_t_112x */ + case MAKE_CASE(1221, 712): len = 704; break; /* SteamNetConnectionStatusChangedCallback_t_153a */ + /* case MAKE_CASE(1221, 712): len = 704; break; SteamNetConnectionStatusChangedCallback_t_144 */ + case MAKE_CASE(1221, 584): len = 576; break; /* SteamNetConnectionStatusChangedCallback_t_151 */ + case MAKE_CASE(1303, 288): len = 280; break; /* RemoteStorageAppSyncProgress_t_123 */ + /* case MAKE_CASE(1303, 288): len = 288; break; RemoteStorageAppSyncProgress_t_111x */ + case MAKE_CASE(1307, 280): len = 272; break; /* RemoteStorageFileShareResult_t_128x */ + case MAKE_CASE(1307, 16): len = 12; break; /* RemoteStorageFileShareResult_t_123 */ + /* case MAKE_CASE(1307, 16): len = 16; break; RemoteStorageFileShareResult_t_111x */ + case MAKE_CASE(1308, 40): len = 40; break; /* RemoteStorageDownloadUGCResult_t_111x */ + case MAKE_CASE(1309, 24): len = 16; break; /* RemoteStoragePublishFileResult_t_125 */ + case MAKE_CASE(1309, 16): len = 12; break; /* RemoteStoragePublishFileResult_t_123 */ + /* case MAKE_CASE(1309, 16): len = 16; break; RemoteStoragePublishFileResult_t_116x */ + case MAKE_CASE(1310, 1744): len = 1744; break; /* RemoteStorageGetPublishedFileDetailsResult_t_116x */ + case MAKE_CASE(1311, 16): len = 12; break; /* RemoteStorageDeletePublishedFileResult_t_123 */ + /* case MAKE_CASE(1311, 16): len = 16; break; RemoteStorageDeletePublishedFileResult_t_116x */ + case MAKE_CASE(1312, 416): len = 412; break; /* RemoteStorageEnumerateUserPublishedFilesResult_t_123 */ + /* case MAKE_CASE(1312, 416): len = 416; break; RemoteStorageEnumerateUserPublishedFilesResult_t_116x */ + case MAKE_CASE(1313, 16): len = 12; break; /* RemoteStorageSubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1313, 4): len = 4; break; /* RemoteStorageSubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1314, 616): len = 612; break; /* RemoteStorageEnumerateUserSubscribedFilesResult_t_123 */ + /* case MAKE_CASE(1314, 616): len = 616; break; RemoteStorageEnumerateUserSubscribedFilesResult_t_116x */ + case MAKE_CASE(1315, 16): len = 12; break; /* RemoteStorageUnsubscribePublishedFileResult_t_123 */ + case MAKE_CASE(1315, 4): len = 4; break; /* RemoteStorageUnsubscribePublishedFileResult_t_116x */ + case MAKE_CASE(1316, 24): len = 16; break; /* RemoteStorageUpdatePublishedFileResult_t_125 */ + case MAKE_CASE(1316, 16): len = 12; break; /* RemoteStorageUpdatePublishedFileResult_t_123 */ + /* case MAKE_CASE(1316, 16): len = 16; break; RemoteStorageUpdatePublishedFileResult_t_116x */ + case MAKE_CASE(1317, 296): len = 288; break; /* RemoteStorageDownloadUGCResult_t_123 */ + /* case MAKE_CASE(1317, 296): len = 296; break; RemoteStorageDownloadUGCResult_t_116x */ + case MAKE_CASE(1318, 9760): len = 9748; break; /* RemoteStorageGetPublishedFileDetailsResult_t_126 */ + case MAKE_CASE(1318, 9752): len = 9744; break; /* RemoteStorageGetPublishedFileDetailsResult_t_123 */ + /* case MAKE_CASE(1318, 9752): len = 9752; break; RemoteStorageGetPublishedFileDetailsResult_t_119x */ + /* case MAKE_CASE(1318, 9752): len = 9752; break; RemoteStorageGetPublishedFileDetailsResult_t_119 */ + case MAKE_CASE(1318, 9496): len = 9496; break; /* RemoteStorageGetPublishedFileDetailsResult_t_118 */ + case MAKE_CASE(1319, 624): len = 620; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_125 */ + case MAKE_CASE(1319, 616): len = 612; break; /* RemoteStorageEnumerateWorkshopFilesResult_t_123 */ + /* case MAKE_CASE(1319, 616): len = 616; break; RemoteStorageEnumerateWorkshopFilesResult_t_119 */ + case MAKE_CASE(1320, 32): len = 28; break; /* RemoteStorageGetPublishedItemVoteDetailsResult_t_123 */ + /* case MAKE_CASE(1320, 32): len = 32; break; RemoteStorageGetPublishedItemVoteDetailsResult_t_119 */ + case MAKE_CASE(1324, 16): len = 12; break; /* RemoteStorageUpdateUserPublishedItemVoteResult_t_123 */ + /* case MAKE_CASE(1324, 16): len = 16; break; RemoteStorageUpdateUserPublishedItemVoteResult_t_119 */ + case MAKE_CASE(1325, 24): len = 16; break; /* RemoteStorageUserVoteDetails_t_123 */ + /* case MAKE_CASE(1325, 24): len = 24; break; RemoteStorageUserVoteDetails_t_119 */ + case MAKE_CASE(1326, 416): len = 412; break; /* RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 */ + /* case MAKE_CASE(1326, 416): len = 416; break; RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 */ + case MAKE_CASE(1327, 24): len = 16; break; /* RemoteStorageSetUserPublishedFileActionResult_t_123 */ + /* case MAKE_CASE(1327, 24): len = 24; break; RemoteStorageSetUserPublishedFileActionResult_t_119 */ + case MAKE_CASE(1330, 24): len = 20; break; /* RemoteStoragePublishedFileUpdated_t */ + case MAKE_CASE(2101, 32): len = 24; break; /* HTTPRequestCompleted_t_132x */ + case MAKE_CASE(2101, 24): len = 20; break; /* HTTPRequestCompleted_t_123 */ + /* case MAKE_CASE(2101, 24): len = 24; break; HTTPRequestCompleted_t_115 */ + case MAKE_CASE(2102, 16): len = 12; break; /* HTTPRequestHeadersReceived_t_123 */ + /* case MAKE_CASE(2102, 16): len = 16; break; HTTPRequestHeadersReceived_t_121x */ + case MAKE_CASE(2103, 24): len = 20; break; /* HTTPRequestDataReceived_t_123 */ + /* case MAKE_CASE(2103, 24): len = 24; break; HTTPRequestDataReceived_t_121x */ + case MAKE_CASE(2803, 40): len = 32; break; /* SteamInputConfigurationLoaded_t */ + case MAKE_CASE(2804, 32): len = 24; break; /* SteamInputGamepadSlotChange_t */ + case MAKE_CASE(3402, 9784): len = 9768; break; /* SteamUGCRequestUGCDetailsResult_t_128x */ + case MAKE_CASE(3402, 9776): len = 9764; break; /* SteamUGCRequestUGCDetailsResult_t_129 */ + case MAKE_CASE(3402, 9768): len = 9760; break; /* SteamUGCRequestUGCDetailsResult_t_126 */ + case MAKE_CASE(3403, 24): len = 16; break; /* CreateItemResult_t */ + case MAKE_CASE(3405, 16): len = 12; break; /* ItemInstalled_t */ + case MAKE_CASE(3406, 24): len = 16; break; /* DownloadItemResult_t */ + case MAKE_CASE(3412, 24): len = 20; break; /* AddUGCDependencyResult_t */ + case MAKE_CASE(3413, 24): len = 20; break; /* RemoveUGCDependencyResult_t */ + case MAKE_CASE(3414, 24): len = 16; break; /* AddAppDependencyResult_t */ + case MAKE_CASE(3415, 24): len = 16; break; /* RemoveAppDependencyResult_t */ + case MAKE_CASE(3416, 152): len = 148; break; /* GetAppDependenciesResult_t */ + case MAKE_CASE(3417, 16): len = 12; break; /* DeleteItemResult_t */ + case MAKE_CASE(4502, 56): len = 52; break; /* HTML_NeedsPaint_t */ + case MAKE_CASE(4503, 40): len = 32; break; /* HTML_StartRequest_t */ + case MAKE_CASE(4505, 48): len = 36; break; /* HTML_URLChanged_t */ + case MAKE_CASE(4506, 24): len = 20; break; /* HTML_FinishedRequest_t */ + case MAKE_CASE(4507, 16): len = 12; break; /* HTML_OpenLinkInNewTab_t */ + case MAKE_CASE(4508, 16): len = 12; break; /* HTML_ChangedTitle_t */ + case MAKE_CASE(4513, 32): len = 24; break; /* HTML_LinkAtPosition_t */ + case MAKE_CASE(4514, 16): len = 12; break; /* HTML_JSAlert_t */ + case MAKE_CASE(4515, 16): len = 12; break; /* HTML_JSConfirm_t */ + case MAKE_CASE(4516, 24): len = 20; break; /* HTML_FileOpenDialog_t */ + case MAKE_CASE(4517, 24): len = 20; break; /* HTML_ComboNeedsPaint_t */ + case MAKE_CASE(4521, 40): len = 32; break; /* HTML_NewWindow_t_132x */ + case MAKE_CASE(4521, 32): len = 28; break; /* HTML_NewWindow_t_130x */ + case MAKE_CASE(4523, 16): len = 12; break; /* HTML_StatusText_t */ + case MAKE_CASE(4524, 16): len = 12; break; /* HTML_ShowToolTip_t */ + case MAKE_CASE(4525, 16): len = 12; break; /* HTML_UpdateToolTip_t */ + case MAKE_CASE(4704, 24): len = 20; break; /* SteamInventoryStartPurchaseResult_t */ + case MAKE_CASE(5211, 16): len = 12; break; /* RequestPlayersForGameProgressCallback_t */ + case MAKE_CASE(5212, 64): len = 56; break; /* RequestPlayersForGameResultCallback_t */ + case MAKE_CASE(5213, 24): len = 20; break; /* RequestPlayersForGameFinalResultCallback_t */ + case MAKE_CASE(5214, 24): len = 20; break; /* SubmitPlayerResultResultCallback_t */ + case MAKE_CASE(5215, 16): len = 12; break; /* EndGameResultCallback_t */ + case MAKE_CASE(5301, 280): len = 276; break; /* JoinPartyCallback_t */ + case MAKE_CASE(5302, 16): len = 12; break; /* CreateBeaconCallback_t */ +#endif + default: return callback; + } +#undef MAKE_CASE + + callback = HeapAlloc( GetProcessHeap(), 0, len ); + *callback_len = len; + return callback; +} + +void convert_callback_utow(int id, void *u_callback, int u_callback_len, void *w_callback, int w_callback_len) +{ +#define MAKE_CASE(id, wlen, ulen) ((uint64_t)(id) << 48) | ((uint64_t)(wlen) << 24) | (uint64_t)(ulen) + switch (MAKE_CASE(id, w_callback_len, u_callback_len)) + { +#ifdef __i386__ + case MAKE_CASE(152, 24, 16): *(w_MicroTxnAuthorizationResponse_t_123 *)w_callback = *(u_MicroTxnAuthorizationResponse_t_123 *)u_callback; break; + /* case MAKE_CASE(152, 24, 16): *(w_MicroTxnAuthorizationResponse_t_109 *)w_callback = *(u_MicroTxnAuthorizationResponse_t_109 *)u_callback; break; */ + case MAKE_CASE(209, 40, 32): *(w_GSReputation_t_123 *)w_callback = *(u_GSReputation_t_123 *)u_callback; break; + /* case MAKE_CASE(209, 40, 32): *(w_GSReputation_t_108 *)w_callback = *(u_GSReputation_t_108 *)u_callback; break; */ + case MAKE_CASE(513, 16, 12): *(w_LobbyCreated_t_123 *)w_callback = *(u_LobbyCreated_t_123 *)u_callback; break; + /* case MAKE_CASE(513, 16, 12): *(w_LobbyCreated_t_099u *)w_callback = *(u_LobbyCreated_t_099u *)u_callback; break; */ + case MAKE_CASE(1023, 40, 36): *(w_FileDetailsResult_t *)w_callback = *(u_FileDetailsResult_t *)u_callback; break; + case MAKE_CASE(1106, 32, 28): *(w_LeaderboardScoreUploaded_t_123 *)w_callback = *(u_LeaderboardScoreUploaded_t_123 *)u_callback; break; + /* case MAKE_CASE(1106, 32, 28): *(w_LeaderboardScoreUploaded_t_104 *)w_callback = *(u_LeaderboardScoreUploaded_t_104 *)u_callback; break; */ + case MAKE_CASE(1111, 16, 12): *(w_LeaderboardUGCSet_t_123 *)w_callback = *(u_LeaderboardUGCSet_t_123 *)u_callback; break; + /* case MAKE_CASE(1111, 16, 12): *(w_LeaderboardUGCSet_t_111x *)w_callback = *(u_LeaderboardUGCSet_t_111x *)u_callback; break; */ + case MAKE_CASE(1112, 24, 20): *(w_PS3TrophiesInstalled_t_123 *)w_callback = *(u_PS3TrophiesInstalled_t_123 *)u_callback; break; + /* case MAKE_CASE(1112, 24, 20): *(w_PS3TrophiesInstalled_t_112x *)w_callback = *(u_PS3TrophiesInstalled_t_112x *)u_callback; break; */ + case MAKE_CASE(1221, 712, 704): *(w_SteamNetConnectionStatusChangedCallback_t_153a *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_153a *)u_callback; break; + /* case MAKE_CASE(1221, 712, 704): *(w_SteamNetConnectionStatusChangedCallback_t_144 *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_144 *)u_callback; break; */ + case MAKE_CASE(1221, 584, 576): *(w_SteamNetConnectionStatusChangedCallback_t_151 *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_151 *)u_callback; break; + case MAKE_CASE(1303, 288, 280): *(w_RemoteStorageAppSyncProgress_t_123 *)w_callback = *(u_RemoteStorageAppSyncProgress_t_123 *)u_callback; break; + /* case MAKE_CASE(1303, 288, 280): *(w_RemoteStorageAppSyncProgress_t_111x *)w_callback = *(u_RemoteStorageAppSyncProgress_t_111x *)u_callback; break; */ + case MAKE_CASE(1307, 280, 272): *(w_RemoteStorageFileShareResult_t_128x *)w_callback = *(u_RemoteStorageFileShareResult_t_128x *)u_callback; break; + case MAKE_CASE(1307, 16, 12): *(w_RemoteStorageFileShareResult_t_123 *)w_callback = *(u_RemoteStorageFileShareResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1307, 16, 12): *(w_RemoteStorageFileShareResult_t_111x *)w_callback = *(u_RemoteStorageFileShareResult_t_111x *)u_callback; break; */ + case MAKE_CASE(1308, 40, 32): *(w_RemoteStorageDownloadUGCResult_t_111x *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_111x *)u_callback; break; + case MAKE_CASE(1309, 24, 16): *(w_RemoteStoragePublishFileResult_t_125 *)w_callback = *(u_RemoteStoragePublishFileResult_t_125 *)u_callback; break; + case MAKE_CASE(1309, 16, 12): *(w_RemoteStoragePublishFileResult_t_123 *)w_callback = *(u_RemoteStoragePublishFileResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1309, 16, 12): *(w_RemoteStoragePublishFileResult_t_116x *)w_callback = *(u_RemoteStoragePublishFileResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1310, 1744, 1732): *(w_RemoteStorageGetPublishedFileDetailsResult_t_116x *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_116x *)u_callback; break; + case MAKE_CASE(1311, 16, 12): *(w_RemoteStorageDeletePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageDeletePublishedFileResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1311, 16, 12): *(w_RemoteStorageDeletePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageDeletePublishedFileResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1312, 416, 412): *(w_RemoteStorageEnumerateUserPublishedFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserPublishedFilesResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1312, 416, 412): *(w_RemoteStorageEnumerateUserPublishedFilesResult_t_116x *)w_callback = *(u_RemoteStorageEnumerateUserPublishedFilesResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1313, 16, 12): *(w_RemoteStorageSubscribePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageSubscribePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1313, 4, 4): *(w_RemoteStorageSubscribePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageSubscribePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1314, 616, 612): *(w_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1314, 616, 612): *(w_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x *)w_callback = *(u_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1315, 16, 12): *(w_RemoteStorageUnsubscribePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageUnsubscribePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1315, 4, 4): *(w_RemoteStorageUnsubscribePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageUnsubscribePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1316, 24, 16): *(w_RemoteStorageUpdatePublishedFileResult_t_125 *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_125 *)u_callback; break; + case MAKE_CASE(1316, 16, 12): *(w_RemoteStorageUpdatePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1316, 16, 12): *(w_RemoteStorageUpdatePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1317, 296, 288): *(w_RemoteStorageDownloadUGCResult_t_123 *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1317, 296, 288): *(w_RemoteStorageDownloadUGCResult_t_116x *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_116x *)u_callback; break; */ + case MAKE_CASE(1318, 9760, 9748): *(w_RemoteStorageGetPublishedFileDetailsResult_t_126 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_126 *)u_callback; break; + case MAKE_CASE(1318, 9752, 9744): *(w_RemoteStorageGetPublishedFileDetailsResult_t_123 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1318, 9752, 9744): *(w_RemoteStorageGetPublishedFileDetailsResult_t_119x *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_119x *)u_callback; break; */ + case MAKE_CASE(1318, 9752, 9740): *(w_RemoteStorageGetPublishedFileDetailsResult_t_119 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_119 *)u_callback; break; + case MAKE_CASE(1318, 9496, 9484): *(w_RemoteStorageGetPublishedFileDetailsResult_t_118 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_118 *)u_callback; break; + case MAKE_CASE(1319, 624, 620): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_125 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_125 *)u_callback; break; + case MAKE_CASE(1319, 616, 612): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1319, 616, 612): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_119 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1320, 32, 28): *(w_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 *)w_callback = *(u_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1320, 32, 28): *(w_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 *)w_callback = *(u_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1324, 16, 12): *(w_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 *)w_callback = *(u_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1324, 16, 12): *(w_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 *)w_callback = *(u_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1325, 24, 16): *(w_RemoteStorageUserVoteDetails_t_123 *)w_callback = *(u_RemoteStorageUserVoteDetails_t_123 *)u_callback; break; + /* case MAKE_CASE(1325, 24, 16): *(w_RemoteStorageUserVoteDetails_t_119 *)w_callback = *(u_RemoteStorageUserVoteDetails_t_119 *)u_callback; break; */ + case MAKE_CASE(1326, 416, 412): *(w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1326, 416, 412): *(w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 *)w_callback = *(u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1327, 24, 16): *(w_RemoteStorageSetUserPublishedFileActionResult_t_123 *)w_callback = *(u_RemoteStorageSetUserPublishedFileActionResult_t_123 *)u_callback; break; + /* case MAKE_CASE(1327, 24, 16): *(w_RemoteStorageSetUserPublishedFileActionResult_t_119 *)w_callback = *(u_RemoteStorageSetUserPublishedFileActionResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1330, 24, 20): *(w_RemoteStoragePublishedFileUpdated_t *)w_callback = *(u_RemoteStoragePublishedFileUpdated_t *)u_callback; break; + case MAKE_CASE(2101, 32, 24): *(w_HTTPRequestCompleted_t_132x *)w_callback = *(u_HTTPRequestCompleted_t_132x *)u_callback; break; + case MAKE_CASE(2101, 24, 20): *(w_HTTPRequestCompleted_t_123 *)w_callback = *(u_HTTPRequestCompleted_t_123 *)u_callback; break; + /* case MAKE_CASE(2101, 24, 20): *(w_HTTPRequestCompleted_t_115 *)w_callback = *(u_HTTPRequestCompleted_t_115 *)u_callback; break; */ + case MAKE_CASE(2102, 16, 12): *(w_HTTPRequestHeadersReceived_t_123 *)w_callback = *(u_HTTPRequestHeadersReceived_t_123 *)u_callback; break; + /* case MAKE_CASE(2102, 16, 12): *(w_HTTPRequestHeadersReceived_t_121x *)w_callback = *(u_HTTPRequestHeadersReceived_t_121x *)u_callback; break; */ + case MAKE_CASE(2103, 24, 20): *(w_HTTPRequestDataReceived_t_123 *)w_callback = *(u_HTTPRequestDataReceived_t_123 *)u_callback; break; + /* case MAKE_CASE(2103, 24, 20): *(w_HTTPRequestDataReceived_t_121x *)w_callback = *(u_HTTPRequestDataReceived_t_121x *)u_callback; break; */ + case MAKE_CASE(2803, 40, 32): *(w_SteamInputConfigurationLoaded_t *)w_callback = *(u_SteamInputConfigurationLoaded_t *)u_callback; break; + case MAKE_CASE(2804, 32, 24): *(w_SteamInputGamepadSlotChange_t *)w_callback = *(u_SteamInputGamepadSlotChange_t *)u_callback; break; + case MAKE_CASE(3402, 9784, 9768): *(w_SteamUGCRequestUGCDetailsResult_t_128x *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_128x *)u_callback; break; + case MAKE_CASE(3402, 9776, 9764): *(w_SteamUGCRequestUGCDetailsResult_t_129 *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_129 *)u_callback; break; + case MAKE_CASE(3402, 9768, 9760): *(w_SteamUGCRequestUGCDetailsResult_t_126 *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_126 *)u_callback; break; + case MAKE_CASE(3403, 24, 16): *(w_CreateItemResult_t *)w_callback = *(u_CreateItemResult_t *)u_callback; break; + case MAKE_CASE(3405, 16, 12): *(w_ItemInstalled_t *)w_callback = *(u_ItemInstalled_t *)u_callback; break; + case MAKE_CASE(3406, 24, 16): *(w_DownloadItemResult_t *)w_callback = *(u_DownloadItemResult_t *)u_callback; break; + case MAKE_CASE(3412, 24, 20): *(w_AddUGCDependencyResult_t *)w_callback = *(u_AddUGCDependencyResult_t *)u_callback; break; + case MAKE_CASE(3413, 24, 20): *(w_RemoveUGCDependencyResult_t *)w_callback = *(u_RemoveUGCDependencyResult_t *)u_callback; break; + case MAKE_CASE(3414, 24, 16): *(w_AddAppDependencyResult_t *)w_callback = *(u_AddAppDependencyResult_t *)u_callback; break; + case MAKE_CASE(3415, 24, 16): *(w_RemoveAppDependencyResult_t *)w_callback = *(u_RemoveAppDependencyResult_t *)u_callback; break; + case MAKE_CASE(3416, 152, 148): *(w_GetAppDependenciesResult_t *)w_callback = *(u_GetAppDependenciesResult_t *)u_callback; break; + case MAKE_CASE(3417, 16, 12): *(w_DeleteItemResult_t *)w_callback = *(u_DeleteItemResult_t *)u_callback; break; + case MAKE_CASE(4502, 48, 48): *(w_HTML_NeedsPaint_t *)w_callback = *(u_HTML_NeedsPaint_t *)u_callback; break; + case MAKE_CASE(4503, 20, 20): *(w_HTML_StartRequest_t *)w_callback = *(u_HTML_StartRequest_t *)u_callback; break; + case MAKE_CASE(4505, 24, 24): *(w_HTML_URLChanged_t *)w_callback = *(u_HTML_URLChanged_t *)u_callback; break; + case MAKE_CASE(4506, 12, 12): *(w_HTML_FinishedRequest_t *)w_callback = *(u_HTML_FinishedRequest_t *)u_callback; break; + case MAKE_CASE(4507, 8, 8): *(w_HTML_OpenLinkInNewTab_t *)w_callback = *(u_HTML_OpenLinkInNewTab_t *)u_callback; break; + case MAKE_CASE(4508, 8, 8): *(w_HTML_ChangedTitle_t *)w_callback = *(u_HTML_ChangedTitle_t *)u_callback; break; + case MAKE_CASE(4513, 20, 20): *(w_HTML_LinkAtPosition_t *)w_callback = *(u_HTML_LinkAtPosition_t *)u_callback; break; + case MAKE_CASE(4514, 8, 8): *(w_HTML_JSAlert_t *)w_callback = *(u_HTML_JSAlert_t *)u_callback; break; + case MAKE_CASE(4515, 8, 8): *(w_HTML_JSConfirm_t *)w_callback = *(u_HTML_JSConfirm_t *)u_callback; break; + case MAKE_CASE(4516, 12, 12): *(w_HTML_FileOpenDialog_t *)w_callback = *(u_HTML_FileOpenDialog_t *)u_callback; break; + case MAKE_CASE(4517, 16, 16): *(w_HTML_ComboNeedsPaint_t *)w_callback = *(u_HTML_ComboNeedsPaint_t *)u_callback; break; + case MAKE_CASE(4521, 28, 28): *(w_HTML_NewWindow_t_132x *)w_callback = *(u_HTML_NewWindow_t_132x *)u_callback; break; + case MAKE_CASE(4521, 24, 24): *(w_HTML_NewWindow_t_130x *)w_callback = *(u_HTML_NewWindow_t_130x *)u_callback; break; + case MAKE_CASE(4523, 8, 8): *(w_HTML_StatusText_t *)w_callback = *(u_HTML_StatusText_t *)u_callback; break; + case MAKE_CASE(4524, 8, 8): *(w_HTML_ShowToolTip_t *)w_callback = *(u_HTML_ShowToolTip_t *)u_callback; break; + case MAKE_CASE(4525, 8, 8): *(w_HTML_UpdateToolTip_t *)w_callback = *(u_HTML_UpdateToolTip_t *)u_callback; break; + case MAKE_CASE(4704, 24, 20): *(w_SteamInventoryStartPurchaseResult_t *)w_callback = *(u_SteamInventoryStartPurchaseResult_t *)u_callback; break; + case MAKE_CASE(5211, 16, 12): *(w_RequestPlayersForGameProgressCallback_t *)w_callback = *(u_RequestPlayersForGameProgressCallback_t *)u_callback; break; + case MAKE_CASE(5212, 64, 56): *(w_RequestPlayersForGameResultCallback_t *)w_callback = *(u_RequestPlayersForGameResultCallback_t *)u_callback; break; + case MAKE_CASE(5213, 24, 20): *(w_RequestPlayersForGameFinalResultCallback_t *)w_callback = *(u_RequestPlayersForGameFinalResultCallback_t *)u_callback; break; + case MAKE_CASE(5214, 24, 20): *(w_SubmitPlayerResultResultCallback_t *)w_callback = *(u_SubmitPlayerResultResultCallback_t *)u_callback; break; + case MAKE_CASE(5215, 16, 12): *(w_EndGameResultCallback_t *)w_callback = *(u_EndGameResultCallback_t *)u_callback; break; + case MAKE_CASE(5301, 280, 276): *(w_JoinPartyCallback_t *)w_callback = *(u_JoinPartyCallback_t *)u_callback; break; + case MAKE_CASE(5302, 16, 12): *(w_CreateBeaconCallback_t *)w_callback = *(u_CreateBeaconCallback_t *)u_callback; break; +#endif +#ifdef __x86_64__ + case MAKE_CASE(152, 24, 16): *(w_MicroTxnAuthorizationResponse_t_123 *)w_callback = *(u_MicroTxnAuthorizationResponse_t_123 *)u_callback; break; + case MAKE_CASE(152, 24, 24): *(w_MicroTxnAuthorizationResponse_t_109 *)w_callback = *(u_MicroTxnAuthorizationResponse_t_109 *)u_callback; break; + case MAKE_CASE(209, 40, 32): *(w_GSReputation_t_123 *)w_callback = *(u_GSReputation_t_123 *)u_callback; break; + case MAKE_CASE(209, 40, 40): *(w_GSReputation_t_108 *)w_callback = *(u_GSReputation_t_108 *)u_callback; break; + case MAKE_CASE(513, 16, 12): *(w_LobbyCreated_t_123 *)w_callback = *(u_LobbyCreated_t_123 *)u_callback; break; + case MAKE_CASE(513, 16, 16): *(w_LobbyCreated_t_099u *)w_callback = *(u_LobbyCreated_t_099u *)u_callback; break; + case MAKE_CASE(1023, 40, 36): *(w_FileDetailsResult_t *)w_callback = *(u_FileDetailsResult_t *)u_callback; break; + case MAKE_CASE(1106, 32, 28): *(w_LeaderboardScoreUploaded_t_123 *)w_callback = *(u_LeaderboardScoreUploaded_t_123 *)u_callback; break; + case MAKE_CASE(1106, 32, 32): *(w_LeaderboardScoreUploaded_t_104 *)w_callback = *(u_LeaderboardScoreUploaded_t_104 *)u_callback; break; + case MAKE_CASE(1111, 16, 12): *(w_LeaderboardUGCSet_t_123 *)w_callback = *(u_LeaderboardUGCSet_t_123 *)u_callback; break; + case MAKE_CASE(1111, 16, 16): *(w_LeaderboardUGCSet_t_111x *)w_callback = *(u_LeaderboardUGCSet_t_111x *)u_callback; break; + case MAKE_CASE(1112, 24, 20): *(w_PS3TrophiesInstalled_t_123 *)w_callback = *(u_PS3TrophiesInstalled_t_123 *)u_callback; break; + case MAKE_CASE(1112, 24, 24): *(w_PS3TrophiesInstalled_t_112x *)w_callback = *(u_PS3TrophiesInstalled_t_112x *)u_callback; break; + case MAKE_CASE(1221, 712, 704): *(w_SteamNetConnectionStatusChangedCallback_t_153a *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_153a *)u_callback; break; + /* case MAKE_CASE(1221, 712, 704): *(w_SteamNetConnectionStatusChangedCallback_t_144 *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_144 *)u_callback; break; */ + case MAKE_CASE(1221, 584, 576): *(w_SteamNetConnectionStatusChangedCallback_t_151 *)w_callback = *(u_SteamNetConnectionStatusChangedCallback_t_151 *)u_callback; break; + case MAKE_CASE(1303, 288, 280): *(w_RemoteStorageAppSyncProgress_t_123 *)w_callback = *(u_RemoteStorageAppSyncProgress_t_123 *)u_callback; break; + case MAKE_CASE(1303, 288, 288): *(w_RemoteStorageAppSyncProgress_t_111x *)w_callback = *(u_RemoteStorageAppSyncProgress_t_111x *)u_callback; break; + case MAKE_CASE(1307, 280, 272): *(w_RemoteStorageFileShareResult_t_128x *)w_callback = *(u_RemoteStorageFileShareResult_t_128x *)u_callback; break; + case MAKE_CASE(1307, 16, 12): *(w_RemoteStorageFileShareResult_t_123 *)w_callback = *(u_RemoteStorageFileShareResult_t_123 *)u_callback; break; + case MAKE_CASE(1307, 16, 16): *(w_RemoteStorageFileShareResult_t_111x *)w_callback = *(u_RemoteStorageFileShareResult_t_111x *)u_callback; break; + case MAKE_CASE(1308, 40, 40): *(w_RemoteStorageDownloadUGCResult_t_111x *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_111x *)u_callback; break; + case MAKE_CASE(1309, 24, 16): *(w_RemoteStoragePublishFileResult_t_125 *)w_callback = *(u_RemoteStoragePublishFileResult_t_125 *)u_callback; break; + case MAKE_CASE(1309, 16, 12): *(w_RemoteStoragePublishFileResult_t_123 *)w_callback = *(u_RemoteStoragePublishFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1309, 16, 16): *(w_RemoteStoragePublishFileResult_t_116x *)w_callback = *(u_RemoteStoragePublishFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1310, 1744, 1744): *(w_RemoteStorageGetPublishedFileDetailsResult_t_116x *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_116x *)u_callback; break; + case MAKE_CASE(1311, 16, 12): *(w_RemoteStorageDeletePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageDeletePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1311, 16, 16): *(w_RemoteStorageDeletePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageDeletePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1312, 416, 412): *(w_RemoteStorageEnumerateUserPublishedFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserPublishedFilesResult_t_123 *)u_callback; break; + case MAKE_CASE(1312, 416, 416): *(w_RemoteStorageEnumerateUserPublishedFilesResult_t_116x *)w_callback = *(u_RemoteStorageEnumerateUserPublishedFilesResult_t_116x *)u_callback; break; + case MAKE_CASE(1313, 16, 12): *(w_RemoteStorageSubscribePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageSubscribePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1313, 4, 4): *(w_RemoteStorageSubscribePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageSubscribePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1314, 616, 612): *(w_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserSubscribedFilesResult_t_123 *)u_callback; break; + case MAKE_CASE(1314, 616, 616): *(w_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x *)w_callback = *(u_RemoteStorageEnumerateUserSubscribedFilesResult_t_116x *)u_callback; break; + case MAKE_CASE(1315, 16, 12): *(w_RemoteStorageUnsubscribePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageUnsubscribePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1315, 4, 4): *(w_RemoteStorageUnsubscribePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageUnsubscribePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1316, 24, 16): *(w_RemoteStorageUpdatePublishedFileResult_t_125 *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_125 *)u_callback; break; + case MAKE_CASE(1316, 16, 12): *(w_RemoteStorageUpdatePublishedFileResult_t_123 *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_123 *)u_callback; break; + case MAKE_CASE(1316, 16, 16): *(w_RemoteStorageUpdatePublishedFileResult_t_116x *)w_callback = *(u_RemoteStorageUpdatePublishedFileResult_t_116x *)u_callback; break; + case MAKE_CASE(1317, 296, 288): *(w_RemoteStorageDownloadUGCResult_t_123 *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_123 *)u_callback; break; + case MAKE_CASE(1317, 296, 296): *(w_RemoteStorageDownloadUGCResult_t_116x *)w_callback = *(u_RemoteStorageDownloadUGCResult_t_116x *)u_callback; break; + case MAKE_CASE(1318, 9760, 9748): *(w_RemoteStorageGetPublishedFileDetailsResult_t_126 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_126 *)u_callback; break; + case MAKE_CASE(1318, 9752, 9744): *(w_RemoteStorageGetPublishedFileDetailsResult_t_123 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_123 *)u_callback; break; + case MAKE_CASE(1318, 9752, 9752): *(w_RemoteStorageGetPublishedFileDetailsResult_t_119x *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_119x *)u_callback; break; + /* case MAKE_CASE(1318, 9752, 9752): *(w_RemoteStorageGetPublishedFileDetailsResult_t_119 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_119 *)u_callback; break; */ + case MAKE_CASE(1318, 9496, 9496): *(w_RemoteStorageGetPublishedFileDetailsResult_t_118 *)w_callback = *(u_RemoteStorageGetPublishedFileDetailsResult_t_118 *)u_callback; break; + case MAKE_CASE(1319, 624, 620): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_125 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_125 *)u_callback; break; + case MAKE_CASE(1319, 616, 612): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_123 *)u_callback; break; + case MAKE_CASE(1319, 616, 616): *(w_RemoteStorageEnumerateWorkshopFilesResult_t_119 *)w_callback = *(u_RemoteStorageEnumerateWorkshopFilesResult_t_119 *)u_callback; break; + case MAKE_CASE(1320, 32, 28): *(w_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 *)w_callback = *(u_RemoteStorageGetPublishedItemVoteDetailsResult_t_123 *)u_callback; break; + case MAKE_CASE(1320, 32, 32): *(w_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 *)w_callback = *(u_RemoteStorageGetPublishedItemVoteDetailsResult_t_119 *)u_callback; break; + case MAKE_CASE(1324, 16, 12): *(w_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 *)w_callback = *(u_RemoteStorageUpdateUserPublishedItemVoteResult_t_123 *)u_callback; break; + case MAKE_CASE(1324, 16, 16): *(w_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 *)w_callback = *(u_RemoteStorageUpdateUserPublishedItemVoteResult_t_119 *)u_callback; break; + case MAKE_CASE(1325, 24, 16): *(w_RemoteStorageUserVoteDetails_t_123 *)w_callback = *(u_RemoteStorageUserVoteDetails_t_123 *)u_callback; break; + case MAKE_CASE(1325, 24, 24): *(w_RemoteStorageUserVoteDetails_t_119 *)w_callback = *(u_RemoteStorageUserVoteDetails_t_119 *)u_callback; break; + case MAKE_CASE(1326, 416, 412): *(w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 *)w_callback = *(u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_123 *)u_callback; break; + case MAKE_CASE(1326, 416, 416): *(w_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 *)w_callback = *(u_RemoteStorageEnumerateUserSharedWorkshopFilesResult_t_119 *)u_callback; break; + case MAKE_CASE(1327, 24, 16): *(w_RemoteStorageSetUserPublishedFileActionResult_t_123 *)w_callback = *(u_RemoteStorageSetUserPublishedFileActionResult_t_123 *)u_callback; break; + case MAKE_CASE(1327, 24, 24): *(w_RemoteStorageSetUserPublishedFileActionResult_t_119 *)w_callback = *(u_RemoteStorageSetUserPublishedFileActionResult_t_119 *)u_callback; break; + case MAKE_CASE(1330, 24, 20): *(w_RemoteStoragePublishedFileUpdated_t *)w_callback = *(u_RemoteStoragePublishedFileUpdated_t *)u_callback; break; + case MAKE_CASE(2101, 32, 24): *(w_HTTPRequestCompleted_t_132x *)w_callback = *(u_HTTPRequestCompleted_t_132x *)u_callback; break; + case MAKE_CASE(2101, 24, 20): *(w_HTTPRequestCompleted_t_123 *)w_callback = *(u_HTTPRequestCompleted_t_123 *)u_callback; break; + case MAKE_CASE(2101, 24, 24): *(w_HTTPRequestCompleted_t_115 *)w_callback = *(u_HTTPRequestCompleted_t_115 *)u_callback; break; + case MAKE_CASE(2102, 16, 12): *(w_HTTPRequestHeadersReceived_t_123 *)w_callback = *(u_HTTPRequestHeadersReceived_t_123 *)u_callback; break; + case MAKE_CASE(2102, 16, 16): *(w_HTTPRequestHeadersReceived_t_121x *)w_callback = *(u_HTTPRequestHeadersReceived_t_121x *)u_callback; break; + case MAKE_CASE(2103, 24, 20): *(w_HTTPRequestDataReceived_t_123 *)w_callback = *(u_HTTPRequestDataReceived_t_123 *)u_callback; break; + case MAKE_CASE(2103, 24, 24): *(w_HTTPRequestDataReceived_t_121x *)w_callback = *(u_HTTPRequestDataReceived_t_121x *)u_callback; break; + case MAKE_CASE(2803, 40, 32): *(w_SteamInputConfigurationLoaded_t *)w_callback = *(u_SteamInputConfigurationLoaded_t *)u_callback; break; + case MAKE_CASE(2804, 32, 24): *(w_SteamInputGamepadSlotChange_t *)w_callback = *(u_SteamInputGamepadSlotChange_t *)u_callback; break; + case MAKE_CASE(3402, 9784, 9768): *(w_SteamUGCRequestUGCDetailsResult_t_128x *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_128x *)u_callback; break; + case MAKE_CASE(3402, 9776, 9764): *(w_SteamUGCRequestUGCDetailsResult_t_129 *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_129 *)u_callback; break; + case MAKE_CASE(3402, 9768, 9760): *(w_SteamUGCRequestUGCDetailsResult_t_126 *)w_callback = *(u_SteamUGCRequestUGCDetailsResult_t_126 *)u_callback; break; + case MAKE_CASE(3403, 24, 16): *(w_CreateItemResult_t *)w_callback = *(u_CreateItemResult_t *)u_callback; break; + case MAKE_CASE(3405, 16, 12): *(w_ItemInstalled_t *)w_callback = *(u_ItemInstalled_t *)u_callback; break; + case MAKE_CASE(3406, 24, 16): *(w_DownloadItemResult_t *)w_callback = *(u_DownloadItemResult_t *)u_callback; break; + case MAKE_CASE(3412, 24, 20): *(w_AddUGCDependencyResult_t *)w_callback = *(u_AddUGCDependencyResult_t *)u_callback; break; + case MAKE_CASE(3413, 24, 20): *(w_RemoveUGCDependencyResult_t *)w_callback = *(u_RemoveUGCDependencyResult_t *)u_callback; break; + case MAKE_CASE(3414, 24, 16): *(w_AddAppDependencyResult_t *)w_callback = *(u_AddAppDependencyResult_t *)u_callback; break; + case MAKE_CASE(3415, 24, 16): *(w_RemoveAppDependencyResult_t *)w_callback = *(u_RemoveAppDependencyResult_t *)u_callback; break; + case MAKE_CASE(3416, 152, 148): *(w_GetAppDependenciesResult_t *)w_callback = *(u_GetAppDependenciesResult_t *)u_callback; break; + case MAKE_CASE(3417, 16, 12): *(w_DeleteItemResult_t *)w_callback = *(u_DeleteItemResult_t *)u_callback; break; + case MAKE_CASE(4502, 56, 52): *(w_HTML_NeedsPaint_t *)w_callback = *(u_HTML_NeedsPaint_t *)u_callback; break; + case MAKE_CASE(4503, 40, 32): *(w_HTML_StartRequest_t *)w_callback = *(u_HTML_StartRequest_t *)u_callback; break; + case MAKE_CASE(4505, 48, 36): *(w_HTML_URLChanged_t *)w_callback = *(u_HTML_URLChanged_t *)u_callback; break; + case MAKE_CASE(4506, 24, 20): *(w_HTML_FinishedRequest_t *)w_callback = *(u_HTML_FinishedRequest_t *)u_callback; break; + case MAKE_CASE(4507, 16, 12): *(w_HTML_OpenLinkInNewTab_t *)w_callback = *(u_HTML_OpenLinkInNewTab_t *)u_callback; break; + case MAKE_CASE(4508, 16, 12): *(w_HTML_ChangedTitle_t *)w_callback = *(u_HTML_ChangedTitle_t *)u_callback; break; + case MAKE_CASE(4513, 32, 24): *(w_HTML_LinkAtPosition_t *)w_callback = *(u_HTML_LinkAtPosition_t *)u_callback; break; + case MAKE_CASE(4514, 16, 12): *(w_HTML_JSAlert_t *)w_callback = *(u_HTML_JSAlert_t *)u_callback; break; + case MAKE_CASE(4515, 16, 12): *(w_HTML_JSConfirm_t *)w_callback = *(u_HTML_JSConfirm_t *)u_callback; break; + case MAKE_CASE(4516, 24, 20): *(w_HTML_FileOpenDialog_t *)w_callback = *(u_HTML_FileOpenDialog_t *)u_callback; break; + case MAKE_CASE(4517, 24, 20): *(w_HTML_ComboNeedsPaint_t *)w_callback = *(u_HTML_ComboNeedsPaint_t *)u_callback; break; + case MAKE_CASE(4521, 40, 32): *(w_HTML_NewWindow_t_132x *)w_callback = *(u_HTML_NewWindow_t_132x *)u_callback; break; + case MAKE_CASE(4521, 32, 28): *(w_HTML_NewWindow_t_130x *)w_callback = *(u_HTML_NewWindow_t_130x *)u_callback; break; + case MAKE_CASE(4523, 16, 12): *(w_HTML_StatusText_t *)w_callback = *(u_HTML_StatusText_t *)u_callback; break; + case MAKE_CASE(4524, 16, 12): *(w_HTML_ShowToolTip_t *)w_callback = *(u_HTML_ShowToolTip_t *)u_callback; break; + case MAKE_CASE(4525, 16, 12): *(w_HTML_UpdateToolTip_t *)w_callback = *(u_HTML_UpdateToolTip_t *)u_callback; break; + case MAKE_CASE(4704, 24, 20): *(w_SteamInventoryStartPurchaseResult_t *)w_callback = *(u_SteamInventoryStartPurchaseResult_t *)u_callback; break; + case MAKE_CASE(5211, 16, 12): *(w_RequestPlayersForGameProgressCallback_t *)w_callback = *(u_RequestPlayersForGameProgressCallback_t *)u_callback; break; + case MAKE_CASE(5212, 64, 56): *(w_RequestPlayersForGameResultCallback_t *)w_callback = *(u_RequestPlayersForGameResultCallback_t *)u_callback; break; + case MAKE_CASE(5213, 24, 20): *(w_RequestPlayersForGameFinalResultCallback_t *)w_callback = *(u_RequestPlayersForGameFinalResultCallback_t *)u_callback; break; + case MAKE_CASE(5214, 24, 20): *(w_SubmitPlayerResultResultCallback_t *)w_callback = *(u_SubmitPlayerResultResultCallback_t *)u_callback; break; + case MAKE_CASE(5215, 16, 12): *(w_EndGameResultCallback_t *)w_callback = *(u_EndGameResultCallback_t *)u_callback; break; + case MAKE_CASE(5301, 280, 276): *(w_JoinPartyCallback_t *)w_callback = *(u_JoinPartyCallback_t *)u_callback; break; + case MAKE_CASE(5302, 16, 12): *(w_CreateBeaconCallback_t *)w_callback = *(u_CreateBeaconCallback_t *)u_callback; break; +#endif + default: memcpy( w_callback, u_callback, u_callback_len ); break; + } +#undef MAKE_CASE +} diff --git a/lsteamclient/unixlib_generated.h b/lsteamclient/unixlib_generated.h new file mode 100644 index 000000000..c07e9648e --- /dev/null +++ b/lsteamclient/unixlib_generated.h @@ -0,0 +1,51435 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include + +struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pvecAppID; + uint32_t unMaxAppIDs; +}; + +struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + char *pchName; + int32_t cchNameMax; +}; + +struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + char *pchDirectory; + int32_t cchNameMax; +}; + +struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + const char *pchKey; + char *pchValue; + int32_t cchValueMax; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDLC; + uint32_t *pAppID; + int8_t *pbAvailable; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDLC; + uint32_t *pAppID; + int8_t *pbAvailable; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bMissingFilesOnly; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pvecDepots; + uint32_t cMaxDepots; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + char *pchFolder; + uint32_t cchFolderBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDLC; + uint32_t *pAppID; + int8_t *pbAvailable; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bMissingFilesOnly; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + uint32_t *pvecDepots; + uint32_t cMaxDepots; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + char *pchFolder; + uint32_t cchFolderBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchKey; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDLC; + uint32_t *pAppID; + int8_t *pbAvailable; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bMissingFilesOnly; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + uint32_t *pvecDepots; + uint32_t cMaxDepots; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + char *pchFolder; + uint32_t cchFolderBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchKey; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDLC; + uint32_t *pAppID; + int8_t *pbAvailable; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchName; + int32_t cchNameBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bMissingFilesOnly; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + uint32_t *pvecDepots; + uint32_t cMaxDepots; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t appID; + char *pchFolder; + uint32_t cchFolderBufferSize; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t appID; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchKey; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszFileName; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + char *pszCommandLine; + int32_t cubCommandLine; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *punSecondsAllowed; + uint32_t *punSecondsPlayed; +}; + +struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; +}; + +struct ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nAppID; + void *pvBuffer; + uint32_t cbBufferLength; + uint32_t *piAppId; + uint32_t *piSteamId; + uint32_t *piSignature; + uint32_t *pcbSignature; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchAbsolutePathToControllerConfigVDF; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unControllerIndex; + SteamControllerState001_t *pState; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint32_t unControllerIndex; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params +{ + struct u_steam_iface *linux_side; + const char *pchMode; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t unWidth; + uint32_t unHeight; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchScript; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t nDelta; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t cUnicodeChar; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bHasKeyFocus; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchSearchStr; + int8_t bCurrentlyInFind; + int8_t bReverse; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bAllowed; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bResult; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char **pchSelectedFiles; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t unWidth; + uint32_t unHeight; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchScript; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t nDelta; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t cUnicodeChar; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bHasKeyFocus; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchSearchStr; + int8_t bCurrentlyInFind; + int8_t bReverse; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params +{ + struct u_steam_iface *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + uint32_t nExpires; + int8_t bSecure; + int8_t bHTTPOnly; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flZoom; + int32_t nPointX; + int32_t nPointY; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bAllowed; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bResult; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char **pchSelectedFiles; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t unWidth; + uint32_t unHeight; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchScript; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t nDelta; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t cUnicodeChar; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bHasKeyFocus; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchSearchStr; + int8_t bCurrentlyInFind; + int8_t bReverse; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params +{ + struct u_steam_iface *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + uint32_t nExpires; + int8_t bSecure; + int8_t bHTTPOnly; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flZoom; + int32_t nPointX; + int32_t nPointY; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bBackgroundMode; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bAllowed; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bResult; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char **pchSelectedFiles; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t unWidth; + uint32_t unHeight; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchScript; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t nDelta; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t cUnicodeChar; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bHasKeyFocus; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchSearchStr; + int8_t bCurrentlyInFind; + int8_t bReverse; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params +{ + struct u_steam_iface *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + uint32_t nExpires; + int8_t bSecure; + int8_t bHTTPOnly; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flZoom; + int32_t nPointX; + int32_t nPointY; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bBackgroundMode; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flDPIScaling; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bAllowed; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bResult; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char **pchSelectedFiles; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchUserAgent; + const char *pchUserCSS; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchURL; + const char *pchPostData; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t unWidth; + uint32_t unHeight; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchScript; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t eMouseButton; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t nDelta; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; + int8_t bIsSystemKey; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nNativeKeyCode; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t cUnicodeChar; + uint32_t eHTMLKeyModifiers; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + uint32_t nAbsolutePixelScroll; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bHasKeyFocus; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char *pchSearchStr; + int8_t bCurrentlyInFind; + int8_t bReverse; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int32_t x; + int32_t y; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params +{ + struct u_steam_iface *linux_side; + const char *pchHostname; + const char *pchKey; + const char *pchValue; + const char *pchPath; + uint32_t nExpires; + int8_t bSecure; + int8_t bHTTPOnly; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flZoom; + int32_t nPointX; + int32_t nPointY; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bBackgroundMode; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + float flDPIScaling; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bAllowed; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + int8_t bResult; +}; + +struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params +{ + struct u_steam_iface *linux_side; + uint32_t unBrowserHandle; + const char **pchSelectedFiles; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t ulContextValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t unTimeoutSeconds; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchParamName; + const char *pchParamValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t *pCallHandle; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint32_t *unResponseHeaderSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint8_t *pHeaderValueBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t *unBodySize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint8_t *pBodyDataBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + float *pflPercentOut; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchContentType; + uint8_t *pubBody; + uint32_t unBodyLen; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t ulContextValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t unTimeoutSeconds; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchParamName; + const char *pchParamValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t *pCallHandle; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t *pCallHandle; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint32_t *unResponseHeaderSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint8_t *pHeaderValueBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t *unBodySize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint8_t *pBodyDataBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t cOffset; + uint8_t *pBodyDataBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + float *pflPercentOut; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchContentType; + uint8_t *pubBody; + uint32_t unBodyLen; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bAllowResponsesToModify; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hCookieContainer; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hCookieContainer; + const char *pchHost; + const char *pchUrl; + const char *pchCookie; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t hCookieContainer; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchUserAgentInfo; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + int8_t bRequireVerifiedCertificate; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t unMilliseconds; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + int8_t *pbWasTimedOut; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eHTTPRequestMethod; + const char *pchAbsoluteURL; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t ulContextValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t unTimeoutSeconds; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + const char *pchHeaderValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchParamName; + const char *pchParamValue; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t *pCallHandle; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint64_t *pCallHandle; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint32_t *unResponseHeaderSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchHeaderName; + uint8_t *pHeaderValueBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t *unBodySize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint8_t *pBodyDataBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t cOffset; + uint8_t *pBodyDataBuffer; + uint32_t unBufferSize; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + float *pflPercentOut; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchContentType; + uint8_t *pubBody; + uint32_t unBodyLen; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bAllowResponsesToModify; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hCookieContainer; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hCookieContainer; + const char *pchHost; + const char *pchUrl; + const char *pchCookie; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t hCookieContainer; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + const char *pchUserAgentInfo; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + int8_t bRequireVerifiedCertificate; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + uint32_t unMilliseconds; +}; + +struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hRequest; + int8_t *pbWasTimedOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32_t *punOutItemsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + CSteamID steamIDExpected; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params +{ + struct u_steam_iface *linux_side; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const uint64_t *pInstanceIDs; + uint32_t unCountInstanceIDs; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + void *pOutBuffer; + uint32_t *punOutBufferSize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pOutResultHandle; + const void *pBuffer; + uint32_t unBufferSize; + int8_t bRESERVED_MUST_BE_FALSE; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + const uint32_t *punArrayQuantity; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t itemDef; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemConsume; + uint32_t unQuantity; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayGenerate; + const uint32_t *punArrayGenerateQuantity; + uint32_t unArrayGenerateLength; + const uint64_t *pArrayDestroy; + const uint32_t *punArrayDestroyQuantity; + uint32_t unArrayDestroyLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemIdSource; + uint32_t unQuantity; + uint64_t itemIdDest; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t dropListDefinition; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + CSteamID steamIDTradePartner; + const uint64_t *pArrayGive; + const uint32_t *pArrayGiveQuantity; + uint32_t nArrayGiveLength; + const uint64_t *pArrayGet; + const uint32_t *pArrayGetQuantity; + uint32_t nArrayGetLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32_t *punValueBufferSizeOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32_t *punOutItemsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + uint32_t unItemIndex; + const char *pchPropertyName; + char *pchValueBuffer; + uint32_t *punValueBufferSizeOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + CSteamID steamIDExpected; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params +{ + struct u_steam_iface *linux_side; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const uint64_t *pInstanceIDs; + uint32_t unCountInstanceIDs; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + void *pOutBuffer; + uint32_t *punOutBufferSize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pOutResultHandle; + const void *pBuffer; + uint32_t unBufferSize; + int8_t bRESERVED_MUST_BE_FALSE; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + const uint32_t *punArrayQuantity; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t itemDef; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemConsume; + uint32_t unQuantity; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayGenerate; + const uint32_t *punArrayGenerateQuantity; + uint32_t unArrayGenerateLength; + const uint64_t *pArrayDestroy; + const uint32_t *punArrayDestroyQuantity; + uint32_t unArrayDestroyLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemIdSource; + uint32_t unQuantity; + uint64_t itemIdDest; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t dropListDefinition; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + CSteamID steamIDTradePartner; + const uint64_t *pArrayGive; + const uint32_t *pArrayGiveQuantity; + uint32_t nArrayGiveLength; + const uint64_t *pArrayGet; + const uint32_t *pArrayGetQuantity; + uint32_t nArrayGetLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32_t *punValueBufferSizeOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const int32_t *pArrayItemDefs; + const uint32_t *punArrayQuantity; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pArrayItemDefs; + uint64_t *pPrices; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDefinition; + uint64_t *pPrice; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + const char *pchPropertyValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + int8_t bValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + int64_t nValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + float flValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + SteamItemDetails_t *pOutItemsArray; + uint32_t *punOutItemsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + uint32_t unItemIndex; + const char *pchPropertyName; + char *pchValueBuffer; + uint32_t *punValueBufferSizeOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + CSteamID steamIDExpected; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params +{ + struct u_steam_iface *linux_side; + int32_t resultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const uint64_t *pInstanceIDs; + uint32_t unCountInstanceIDs; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t resultHandle; + void *pOutBuffer; + uint32_t *punOutBufferSize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pOutResultHandle; + const void *pBuffer; + uint32_t unBufferSize; + int8_t bRESERVED_MUST_BE_FALSE; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + const uint32_t *punArrayQuantity; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t itemDef; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayItemDefs; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemConsume; + uint32_t unQuantity; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const int32_t *pArrayGenerate; + const uint32_t *punArrayGenerateQuantity; + uint32_t unArrayGenerateLength; + const uint64_t *pArrayDestroy; + const uint32_t *punArrayDestroyQuantity; + uint32_t unArrayDestroyLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + uint64_t itemIdSource; + uint32_t unQuantity; + uint64_t itemIdDest; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + int32_t dropListDefinition; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + CSteamID steamIDTradePartner; + const uint64_t *pArrayGive; + const uint32_t *pArrayGiveQuantity; + uint32_t nArrayGiveLength; + const uint64_t *pArrayGet; + const uint32_t *pArrayGetQuantity; + uint32_t nArrayGetLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDefinition; + const char *pchPropertyName; + char *pchValueBuffer; + uint32_t *punValueBufferSizeOut; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + int32_t *pItemDefIDs; + uint32_t *punItemDefIDsArraySize; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const int32_t *pArrayItemDefs; + const uint32_t *punArrayQuantity; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pArrayItemDefs; + uint64_t *pCurrentPrices; + uint64_t *pBasePrices; + uint32_t unArrayLength; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iDefinition; + uint64_t *pCurrentPrice; + uint64_t *pBasePrice; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + const char *pchPropertyValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + int8_t bValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + int64_t nValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint64_t nItemID; + const char *pchPropertyName; + float flValue; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int32_t *pResultHandle; +}; + +struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pResultHandle; + const char *pchItemToken; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchDisplayName; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pvBuffer; + uint32_t cbBufferLength; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nStatus; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + float flValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAvailable; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchText; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nValue; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pvBuffer; + uint32_t cbBufferLength; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nID; + int32_t nPosition; + const char *pchEntryText; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nID; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nID; + int32_t nPosition; + const char *pchEntryText; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nID; +}; + +struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params +{ + struct u_steam_iface *linux_side; + float flVolume; +}; + +struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params +{ + struct u_steam_iface *linux_side; + float _ret; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eFeature; +}; + +struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eFeature; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t iSessionIndex; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unSessionID; + int32_t *pnResolutionX; + int32_t *pnResolutionY; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t iSessionIndex; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t unSessionID; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unSessionID; + int32_t *pnResolutionX; + int32_t *pnResolutionY; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bShowOverlay; +}; + +struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + w_RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchVideoURL; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t unMaxSecondsOld; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t unMaxSecondsOld; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const void *pvData; + uint32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + uint32_t nOffset; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hReadCall; + void *pvBuffer; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnTotalBytes; + int32_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t unMaxSecondsOld; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const void *pvData; + uint32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + uint32_t nOffset; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hReadCall; + void *pvBuffer; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t *pnTotalBytes; + uint64_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t unMaxSecondsOld; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; + void *pvData; + int32_t cubDataToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const void *pvData; + uint32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + uint32_t nOffset; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hReadCall; + void *pvBuffer; + uint32_t cubToRead; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; + uint32_t eRemoteStoragePlatform; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; + const void *pvData; + int32_t cubData; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t writeHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + int32_t *pnFileSizeInBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t *pnTotalBytes; + uint64_t *puAvailableBytes; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + int32_t *pnBytesDownloaded; + int32_t *pnBytesExpected; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hContent; + uint32_t *pnAppID; + char **ppchName; + int32_t *pnFileSizeInBytes; + CSteamID *pSteamIDOwner; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hContent; + void *pvData; + int32_t cubDataToRead; + uint32_t cOffset; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t iCachedContent; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchFile; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; + uint32_t eWorkshopFileType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchPreviewFile; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchTitle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + uint32_t eVisibility; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t updateHandle; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t unMaxSecondsOld; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const char *pchChangeDescription; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + int8_t bVoteUp; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamId; + uint32_t unStartIndex; + w_SteamParamStringArray_t *pRequiredTags; + w_SteamParamStringArray_t *pExcludedTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eVideoProvider; + const char *pchVideoAccount; + const char *pchVideoIdentifier; + const char *pchPreviewFile; + uint32_t nConsumerAppId; + const char *pchTitle; + const char *pchDescription; + uint32_t eVisibility; + w_SteamParamStringArray_t *pTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t unPublishedFileId; + uint32_t eAction; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eAction; + uint32_t unStartIndex; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eEnumerationType; + uint32_t unStartIndex; + uint32_t unCount; + uint32_t unDays; + w_SteamParamStringArray_t *pTags; + w_SteamParamStringArray_t *pUserTags; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hContent; + const char *pchLocation; + uint32_t unPriority; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int32_t iFile; + uint32_t *pEChangeType; + uint32_t *pEFilePathType; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pubRGB; + uint32_t cubRGB; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params +{ + struct u_steam_iface *linux_side; + int8_t bHook; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + const char *pchLocation; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + CSteamID steamID; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pubRGB; + uint32_t cubRGB; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params +{ + struct u_steam_iface *linux_side; + int8_t bHook; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + const char *pchLocation; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + CSteamID steamID; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + uint64_t unPublishedFileID; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pubRGB; + uint32_t cubRGB; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchFilename; + const char *pchThumbnailFilename; + int32_t nWidth; + int32_t nHeight; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params +{ + struct u_steam_iface *linux_side; + int8_t bHook; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + const char *pchLocation; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + CSteamID steamID; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hScreenshot; + uint64_t unPublishedFileID; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eType; + const char *pchFilename; + const char *pchVRFilename; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_126 *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t *pbNeedsUpdate; + int8_t *pbIsDownloading; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + int8_t *pbLegacyItem; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t *pbNeedsUpdate; + int8_t *pbIsDownloading; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint32_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + int8_t *pbIsImage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint32_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + int8_t *pbIsImage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint32_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + int8_t *pbIsImage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint32_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const w_SteamParamStringArray_t *pTagGroups; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const w_SteamParamStringArray_t *pTagGroups; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const w_SteamParamStringArray_t *pTagGroups; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; + uint32_t *pvecDescriptors; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const w_SteamParamStringArray_t *pTagGroups; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t descid; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t descid; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unAccountID; + uint32_t eListType; + uint32_t eMatchingUGCType; + uint32_t eSortOrder; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + uint32_t unPage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eQueryType; + uint32_t eMatchingeMatchingUGCTypeFileType; + uint32_t nCreatorAppID; + uint32_t nConsumerAppID; + const char *pchCursor; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + w_SteamUGCDetails_t_128x *pDetails; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t indexTag; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchURL; + uint32_t cchURLSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + char *pchMetadata; + uint32_t cchMetadatasize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t eStatType; + uint64_t *pStatValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t previewIndex; + char *pchURLOrVideoID; + uint32_t cchURLSize; + char *pchOriginalFileName; + uint32_t cchOriginalFileNameSize; + uint32_t *pPreviewType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + uint32_t keyValueTagIndex; + char *pchKey; + uint32_t cchKeySize; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pchKey; + char *pchValue; + uint32_t cchValueSize; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint32_t index; + uint32_t *pvecDescriptors; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const w_SteamParamStringArray_t *pTagGroups; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pTagName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnOnlyIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnKeyValueTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnLongDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnMetadata; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnChildren; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnAdditionalPreviews; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bReturnTotalOnly; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pMatchCloudFileName; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bMatchAnyTag; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pSearchText; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t unDays; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t rtStart; + uint32_t rtEnd; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pKey; + const char *pValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t unMaxAgeSeconds; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint32_t eFileType; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nConsumerAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchTitle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchDescription; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchLanguage; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchMetaData; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t eVisibility; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t updateHandle; + const w_SteamParamStringArray_t *pTags; + int8_t bAllowAdminTags; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszContentFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + int8_t bAllowLegacyUpload; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszPreviewFile; + uint32_t type; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszPreviewFile; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; + const char *pszVideoID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t index; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t descid; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t handle; + uint32_t descid; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t handle; + const char *pchChangeNote; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t handle; + uint64_t *punBytesProcessed; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + int8_t bVoteUp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t nAppId; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t cMaxEntries; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punSizeOnDisk; + char *pchFolder; + uint32_t cchFolderSize; + uint32_t *punTimeStamp; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + uint64_t *punBytesDownloaded; + uint64_t *punBytesTotal; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t nPublishedFileID; + int8_t bHighPriority; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unWorkshopDepotID; + const char *pszFolder; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params +{ + struct u_steam_iface *linux_side; + int8_t bSuspend; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t *pvecPublishedFileID; + uint32_t unNumPublishedFileIDs; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nParentPublishedFileID; + uint64_t nChildPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; + uint32_t nAppID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t nPublishedFileID; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pvecDescriptors; + uint32_t cMaxEntries; +}; + +struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchServiceMethod; + const void *pRequestBuffer; + uint32_t unRequestBufferSize; + uint64_t unContext; +}; + +struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hHandle; + uint32_t *punResponseSize; + uint32_t *peResult; +}; + +struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hHandle; + void *pResponseBuffer; + uint32_t unResponseBufferSize; + int8_t bAutoRelease; +}; + +struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hHandle; +}; + +struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchServiceNotification; + const void *pNotificationBuffer; + uint32_t unNotificationBufferSize; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + uint32_t iStat; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + uint32_t iAchievement; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + uint32_t iAchievement; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + uint32_t iStat; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + uint32_t iAchievement; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CGameID nGameID; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CGameID nGameID; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CGameID nGameID; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_104 *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + int32_t nScore; + int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_104 *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_104 *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_111x *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint64_t hUGC; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + CSteamID *prgUsers; + int32_t cUsers; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_111x *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint64_t hUGC; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + CSteamID *prgUsers; + int32_t cUsers; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_111x *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint64_t hUGC; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iIteratorPrevious; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pflPercent; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nHistoryDays; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + int64_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + double *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + int64_t *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + double *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t iAchievement; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + CSteamID *prgUsers; + int32_t cUsers; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_123 *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint64_t hUGC; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iIteratorPrevious; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pflPercent; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nHistoryDays; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + int64_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + double *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + int64_t *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + double *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t nData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float fData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + const char *pchName; + const char *pchKey; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + uint32_t nCurProgress; + uint32_t nMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t iAchievement; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; + uint32_t *punUnlockTime; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAchievementsToo; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; + uint32_t eLeaderboardSortMethod; + uint32_t eLeaderboardDisplayType; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchLeaderboardName; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamLeaderboard; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardDataRequest; + int32_t nRangeStart; + int32_t nRangeEnd; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + CSteamID *prgUsers; + int32_t cUsers; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamLeaderboardEntries; + int32_t index; + w_LeaderboardEntry_t_123 *pLeaderboardEntry; + int32_t *pDetails; + int32_t cDetailsMax; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint32_t eLeaderboardUploadScoreMethod; + int32_t nScore; + const int32_t *pScoreDetails; + int32_t cScoreDetailsCount; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t hSteamLeaderboard; + uint64_t hUGC; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iIteratorPrevious; + char *pchName; + uint32_t unNameBufLen; + float *pflPercent; + int8_t *pbAchieved; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pflPercent; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nHistoryDays; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + int64_t *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchStatName; + double *pData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + int64_t *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchStatName; + double *pData; + uint32_t cubData; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + int32_t *pnMinProgress; + int32_t *pnMaxProgress; +}; + +struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchName; + float *pfMinProgress; + float *pfMaxProgress; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unVideoAppID; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnNumViewers; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params +{ + struct u_steam_iface *linux_side; + uint32_t unVideoAppID; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pnNumViewers; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params +{ + struct u_steam_iface *linux_side; + uint32_t unVideoAppID; +}; + +struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unVideoAppID; + char *pchBuffer; + int32_t *pnBufferSize; +}; + +struct ISteamClient_SteamClient006_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient006_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient006_CreateGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; +}; + +struct ISteamClient_SteamClient006_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient006_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; +}; + +struct ISteamClient_SteamClient006_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient006_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetIVAC_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; +}; + +struct ISteamClient_SteamClient006_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient006_GetUniverseName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eUniverse; +}; + +struct ISteamClient_SteamClient006_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamBilling_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamContentServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamContentServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient006_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient006_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient007_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient007_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient007_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient007_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; +}; + +struct ISteamClient_SteamClient007_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient007_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient007_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamContentServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamContentServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient007_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient007_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient007_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient007_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient008_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient008_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient008_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient008_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient008_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient008_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient008_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient008_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient008_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient009_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient009_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient009_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient009_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient009_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient009_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient009_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient009_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient009_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient009_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient010_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient010_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient010_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient010_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient010_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient010_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient010_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient010_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient010_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient010_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient010_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient011_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient011_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient011_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient011_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient011_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient011_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamMasterServerUpdater_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMasterServerUpdater*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient011_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient011_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient011_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient011_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient012_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient012_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient012_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient012_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient012_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient012_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient012_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient012_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient012_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient012_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient013_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient013_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient013_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient013_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient013_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient013_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient013_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient013_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient013_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamInventory_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamVideo_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient013_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient014_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient014_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient014_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient014_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient014_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient014_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient014_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient014_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient014_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient014_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient015_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient015_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient015_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient015_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient015_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient015_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient015_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient015_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient015_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient015_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient016_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient016_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient016_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient016_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient016_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient016_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient016_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient016_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient016_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUnifiedMessages*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_GetISteamHTMLSurface_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL func)(uint64_t, void *, uint32_t, int32_t); +}; + +struct ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL func)(uint64_t, void *, uint32_t, int32_t); +}; + +struct ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + struct u_steam_iface *linux_side; + uint32_t (*W_STDCALL func)(int32_t); +}; + +struct ISteamClient_SteamClient017_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient017_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient017_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient017_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient017_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient017_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient017_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient017_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient017_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient017_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamHTMLSurface_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + struct u_steam_iface *linux_side; + uint32_t (*W_STDCALL func)(int32_t); +}; + +struct ISteamClient_SteamClient017_GetISteamInventory_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInventory*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamVideo_params +{ + struct u_steam_iface *linux_side; + void /*ISteamVideo*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient017_GetISteamParentalSettings_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParentalSettings*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient018_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient018_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient018_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient018_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient018_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient018_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamGameSearch_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameSearch*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient018_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient018_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient018_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamHTMLSurface_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + struct u_steam_iface *linux_side; + uint32_t (*W_STDCALL func)(int32_t); +}; + +struct ISteamClient_SteamClient018_GetISteamInventory_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInventory*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamVideo_params +{ + struct u_steam_iface *linux_side; + void /*ISteamVideo*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamParentalSettings_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParentalSettings*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamInput_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInput*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient018_GetISteamParties_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParties*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient019_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient019_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient019_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient019_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient019_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient019_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamGameSearch_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameSearch*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient019_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient019_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient019_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamHTMLSurface_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + struct u_steam_iface *linux_side; + uint32_t (*W_STDCALL func)(int32_t); +}; + +struct ISteamClient_SteamClient019_GetISteamInventory_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInventory*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamVideo_params +{ + struct u_steam_iface *linux_side; + void /*ISteamVideo*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamParentalSettings_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParentalSettings*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamInput_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInput*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamParties_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParties*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient019_GetISteamRemotePlay_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemotePlay*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_CreateSteamPipe_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamClient_SteamClient020_BReleaseSteamPipe_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient020_ConnectToGlobalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t hSteamPipe; +}; + +struct ISteamClient_SteamClient020_CreateLocalUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t *phSteamPipe; + uint32_t eAccountType; +}; + +struct ISteamClient_SteamClient020_ReleaseUser_params +{ + struct u_steam_iface *linux_side; + int32_t hSteamPipe; + int32_t hUser; +}; + +struct ISteamClient_SteamClient020_GetISteamUser_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUser*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamGameServer_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServer*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_SetLocalIPBinding_params +{ + struct u_steam_iface *linux_side; + const SteamIPAddress_t *unIP; + uint16_t usPort; +}; + +struct ISteamClient_SteamClient020_GetISteamFriends_params +{ + struct u_steam_iface *linux_side; + void /*ISteamFriends*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamUtils_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUtils*/ *_ret; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamMatchmaking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmaking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamMatchmakingServers_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMatchmakingServers*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamGenericInterface_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamUserStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUserStats*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamGameServerStats_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameServerStats*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamApps_params +{ + struct u_steam_iface *linux_side; + void /*ISteamApps*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamNetworking_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworking*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamRemoteStorage_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemoteStorage*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamScreenshots_params +{ + struct u_steam_iface *linux_side; + void /*ISteamScreenshots*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamGameSearch_params +{ + struct u_steam_iface *linux_side; + void /*ISteamGameSearch*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamClient_SteamClient020_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamClient_SteamClient020_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamClient_SteamClient020_GetISteamHTTP_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTTP*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params +{ + struct u_steam_iface *linux_side; + void *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamController_params +{ + struct u_steam_iface *linux_side; + void /*ISteamController*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamUGC_params +{ + struct u_steam_iface *linux_side; + void /*ISteamUGC*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamAppList_params +{ + struct u_steam_iface *linux_side; + void /*ISteamAppList*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamMusic_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusic*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamMusicRemote_params +{ + struct u_steam_iface *linux_side; + void /*ISteamMusicRemote*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamHTMLSurface_params +{ + struct u_steam_iface *linux_side; + void /*ISteamHTMLSurface*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL _a)(void); +}; + +struct ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params +{ + struct u_steam_iface *linux_side; + uint32_t (*W_CDECL func)(int32_t); +}; + +struct ISteamClient_SteamClient020_GetISteamInventory_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInventory*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamVideo_params +{ + struct u_steam_iface *linux_side; + void /*ISteamVideo*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamParentalSettings_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParentalSettings*/ *_ret; + int32_t hSteamuser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamInput_params +{ + struct u_steam_iface *linux_side; + void /*ISteamInput*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamParties_params +{ + struct u_steam_iface *linux_side; + void /*ISteamParties*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_GetISteamRemotePlay_params +{ + struct u_steam_iface *linux_side; + void /*ISteamRemotePlay*/ *_ret; + int32_t hSteamUser; + int32_t hSteamPipe; + const char *pchVersion; +}; + +struct ISteamClient_SteamClient020_DestroyAllInterfaces_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController003_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController003_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController003_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController003_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController003_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController003_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController003_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController003_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController003_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController003_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + ControllerDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController003_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController003_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController003_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + ControllerAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController003_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController003_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController003_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController003_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController004_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController004_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController004_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController004_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController004_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController004_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController004_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController004_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController004_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController004_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + ControllerDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController004_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController004_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController004_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + ControllerAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController004_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController004_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController004_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController004_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulControllerHandle; +}; + +struct ISteamController_SteamController004_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamController_SteamController004_GetMotionData_params +{ + struct u_steam_iface *linux_side; + ControllerMotionData_t *_ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController004_ShowDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController004_ShowAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController005_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController005_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController005_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController005_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController005_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController005_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController005_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController005_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController005_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController005_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + ControllerDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController005_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController005_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController005_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + ControllerAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController005_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController005_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController005_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController005_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamController_SteamController005_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamController_SteamController005_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulControllerHandle; +}; + +struct ISteamController_SteamController005_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamController_SteamController005_GetMotionData_params +{ + struct u_steam_iface *linux_side; + ControllerMotionData_t *_ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController005_ShowDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController005_ShowAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController005_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController005_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController006_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController006_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController006_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController006_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController006_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController006_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController006_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController006_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController006_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController006_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController006_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController006_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController006_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController006_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + ControllerDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController006_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController006_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController006_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + ControllerAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController006_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController006_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController006_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController006_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController006_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamController_SteamController006_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamController_SteamController006_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulControllerHandle; +}; + +struct ISteamController_SteamController006_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamController_SteamController006_GetMotionData_params +{ + struct u_steam_iface *linux_side; + ControllerMotionData_t *_ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController006_ShowDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController006_ShowAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; + float flScale; + float flXPosition; + float flYPosition; +}; + +struct ISteamController_SteamController006_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController006_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController006_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController007_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController007_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController007_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController007_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController007_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController007_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController007_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController007_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController007_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController007_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController007_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController007_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController007_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController007_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController007_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController007_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController007_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController007_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController007_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController007_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamController_SteamController007_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamController_SteamController007_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController007_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamController_SteamController007_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulControllerHandle; +}; + +struct ISteamController_SteamController007_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController007_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController007_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t controllerHandle; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController007_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamController_SteamController007_GetControllerBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamController_SteamController008_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController008_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamController_SteamController008_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamController_SteamController008_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController008_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamController_SteamController008_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetHandle; +}; + +struct ISteamController_SteamController008_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController008_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController008_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController008_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t *handlesOut; +}; + +struct ISteamController_SteamController008_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController008_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t controllerHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamController_SteamController008_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController008_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamController_SteamController008_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t controllerHandle; + uint64_t analogActionHandle; +}; + +struct ISteamController_SteamController008_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t controllerHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamController_SteamController008_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController008_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController008_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint64_t eAction; +}; + +struct ISteamController_SteamController008_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController008_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamController_SteamController008_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamController_SteamController008_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t controllerHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamController_SteamController008_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController008_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t controllerHandle; +}; + +struct ISteamController_SteamController008_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamController_SteamController008_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulControllerHandle; +}; + +struct ISteamController_SteamController008_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController008_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t controllerHandle; + uint32_t eOrigin; +}; + +struct ISteamController_SteamController008_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamController_SteamController008_GetControllerBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t controllerHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamFriends_SteamFriends001_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends001_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends001_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends001_SetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t ePersonaState; +}; + +struct ISteamFriends_SteamFriends001_AddFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_RemoveFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t *pnGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; +}; + +struct ISteamFriends_SteamFriends001_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_AddFriendByName_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchEmailOrAccountName; +}; + +struct ISteamFriends_SteamFriends001_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends001_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends001_SendMsgToFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; + uint32_t eChatEntryType; + const char *pchMsgBody; +}; + +struct ISteamFriends_SteamFriends001_SetFriendRegValue_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends001_GetFriendRegValue_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends001_GetChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iChatID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends001_SendMsgToFriend_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint32_t eChatEntryType; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_SetChatHistoryStart_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; + int32_t iChatID; +}; + +struct ISteamFriends_SteamFriends001_ClearChatHistory_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends001_InviteFriendByEmail_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchEmailAccount; +}; + +struct ISteamFriends_SteamFriends001_GetBlockedFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends001_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint64_t *pulGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; +}; + +struct ISteamFriends_SteamFriends001_GetFriendGamePlayed2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint64_t *pulGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; + uint16_t *pusQueryPort; +}; + +struct ISteamFriends_SteamFriends002_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends002_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends002_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends002_SetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t ePersonaState; +}; + +struct ISteamFriends_SteamFriends002_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends002_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends002_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_SetFriendRegValue_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends002_GetFriendRegValue_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends002_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint64_t *pulGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; + uint16_t *pusQueryPort; +}; + +struct ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends002_AddFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_RemoveFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends002_AddFriendByName_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const char *pchEmailOrAccountName; +}; + +struct ISteamFriends_SteamFriends002_InviteFriendByEmail_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchEmailAccount; +}; + +struct ISteamFriends_SteamFriends002_GetChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iChatID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends002_SendMsgToFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint32_t eChatEntryType; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_SetChatHistoryStart_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; + int32_t iChatID; +}; + +struct ISteamFriends_SteamFriends002_ClearChatHistory_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends002_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends002_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends002_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends002_InviteFriendToClan_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int8_t bAcceptOrDenyClanInvite; +}; + +struct ISteamFriends_SteamFriends002_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends003_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends003_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends003_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends003_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends003_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends003_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends003_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends003_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends003_GetFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends003_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint64_t *pulGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; + uint16_t *pusQueryPort; +}; + +struct ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends003_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends003_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends003_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends003_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends003_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends003_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends003_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends004_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends004_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends004_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends004_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends004_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends004_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends004_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends004_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends004_GetFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t eAvatarSize; +}; + +struct ISteamFriends_SteamFriends004_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + uint64_t *pulGameID; + uint32_t *punGameIP; + uint16_t *pusGamePort; + uint16_t *pusQueryPort; +}; + +struct ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends004_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends004_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends004_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends004_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends004_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends004_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends004_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends005_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends005_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends005_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends005_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends005_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends005_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends005_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends005_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends005_GetFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t eAvatarSize; +}; + +struct ISteamFriends_SteamFriends005_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends005_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends005_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends005_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends005_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends005_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends005_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends005_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends005_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends006_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends006_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends006_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends006_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends006_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends006_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends006_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends006_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends006_GetFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t eAvatarSize; +}; + +struct ISteamFriends_SteamFriends006_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends006_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends006_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends006_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends006_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends006_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends006_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends006_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends006_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends006_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends007_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends007_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends007_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends007_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends007_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends007_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends007_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends007_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends007_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends007_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends007_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends007_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends007_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends007_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends007_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends007_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends007_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends007_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends007_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends007_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends007_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends008_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends008_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends008_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends008_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends008_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends008_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends008_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends008_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends008_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends008_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends008_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends008_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends008_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends008_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends008_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends008_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends008_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends008_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends008_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends008_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends008_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends009_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends009_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends009_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends009_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends009_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends009_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends009_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends009_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends009_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends009_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends009_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends009_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends009_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends009_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends009_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends009_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends009_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends009_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends009_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends009_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends009_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends009_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends009_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends009_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends009_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends009_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends009_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends009_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends010_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends010_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends010_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends010_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends010_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends010_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends010_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends010_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends010_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends010_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends010_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends010_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends010_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends010_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends010_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends010_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends010_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends010_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends010_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends010_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends010_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends010_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends010_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends010_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends010_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends010_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *_e; + CSteamID *_f; +}; + +struct ISteamFriends_SteamFriends010_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends010_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends010_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends010_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends011_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends011_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends011_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends011_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends011_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends011_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends011_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends011_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends011_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends011_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends011_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends011_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends011_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends011_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends011_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends011_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends011_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends011_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends011_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends011_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends011_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends011_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends011_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends011_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends011_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends011_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends011_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *_e; + CSteamID *_f; +}; + +struct ISteamFriends_SteamFriends011_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends011_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends011_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends011_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends011_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends011_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends011_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends012_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends012_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends012_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends012_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends012_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends012_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends012_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends012_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends012_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends012_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends012_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends012_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends012_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamFriends_SteamFriends012_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends012_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends012_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends012_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends012_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends012_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends012_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends012_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends012_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends012_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends012_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends012_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends012_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends012_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *_e; + CSteamID *_f; +}; + +struct ISteamFriends_SteamFriends012_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends012_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends012_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends012_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends012_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends012_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends012_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends013_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends013_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends013_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends013_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends013_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends013_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends013_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends013_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends013_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends013_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends013_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends013_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends013_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; + uint32_t eFlag; +}; + +struct ISteamFriends_SteamFriends013_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends013_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends013_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends013_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends013_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends013_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends013_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends013_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends013_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends013_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends013_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends013_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends013_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends013_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *_e; + CSteamID *_f; +}; + +struct ISteamFriends_SteamFriends013_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends013_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends013_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends013_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends013_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends013_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends013_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends014_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends014_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends014_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends014_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends014_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends014_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends014_GetPlayerNickname_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; + +struct ISteamFriends_SteamFriends014_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends014_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends014_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends014_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends014_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends014_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends014_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; + uint32_t eFlag; +}; + +struct ISteamFriends_SteamFriends014_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends014_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends014_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends014_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends014_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends014_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends014_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends014_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends014_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends014_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends014_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends014_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends014_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends014_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *peChatEntryType; + CSteamID *psteamidChatter; +}; + +struct ISteamFriends_SteamFriends014_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends014_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends014_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends014_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends014_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends014_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends014_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends015_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends015_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends015_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends015_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends015_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends015_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends015_GetFriendSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetPlayerNickname_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; + +struct ISteamFriends_SteamFriends015_GetFriendsGroupCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params +{ + struct u_steam_iface *linux_side; + int16_t _ret; + int32_t iFG; +}; + +struct ISteamFriends_SteamFriends015_GetFriendsGroupName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int16_t friendsGroupID; +}; + +struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int16_t friendsGroupID; +}; + +struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params +{ + struct u_steam_iface *linux_side; + int16_t friendsGroupID; + CSteamID *pOutSteamIDMembers; + int32_t nMembersCount; +}; + +struct ISteamFriends_SteamFriends015_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends015_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends015_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends015_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends015_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends015_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends015_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; +}; + +struct ISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; + uint32_t eFlag; +}; + +struct ISteamFriends_SteamFriends015_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends015_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends015_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends015_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends015_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends015_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends015_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends015_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends015_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends015_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends015_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends015_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends015_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *peChatEntryType; + CSteamID *psteamidChatter; +}; + +struct ISteamFriends_SteamFriends015_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends015_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends015_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends015_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends015_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends015_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends015_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends015_IsClanPublic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamFriends_SteamFriends017_SetPersonaName_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchPersonaName; +}; + +struct ISteamFriends_SteamFriends017_GetPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_GetFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends017_GetFriendByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends017_GetFriendRelationship_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendPersonaState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendPersonaName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendGamePlayed_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + FriendGameInfo_t *pFriendGameInfo; +}; + +struct ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iPersonaName; +}; + +struct ISteamFriends_SteamFriends017_GetFriendSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetPlayerNickname_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDPlayer; +}; + +struct ISteamFriends_SteamFriends017_GetFriendsGroupCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params +{ + struct u_steam_iface *linux_side; + int16_t _ret; + int32_t iFG; +}; + +struct ISteamFriends_SteamFriends017_GetFriendsGroupName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + int16_t friendsGroupID; +}; + +struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int16_t friendsGroupID; +}; + +struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params +{ + struct u_steam_iface *linux_side; + int16_t friendsGroupID; + CSteamID *pOutSteamIDMembers; + int32_t nMembersCount; +}; + +struct ISteamFriends_SteamFriends017_HasFriend_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + int32_t iFriendFlags; +}; + +struct ISteamFriends_SteamFriends017_GetClanCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_GetClanByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanTag_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; + int32_t *pnOnline; + int32_t *pnInGame; + int32_t *pnChatting; +}; + +struct ISteamFriends_SteamFriends017_DownloadClanActivityCounts_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID *psteamIDClans; + int32_t cClansToRequest; +}; + +struct ISteamFriends_SteamFriends017_GetFriendCountFromSource_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDSource; + int32_t iFriend; +}; + +struct ISteamFriends_SteamFriends017_IsUserInSource_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDSource; +}; + +struct ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + int8_t bSpeaking; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlay_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params +{ + struct u_steam_iface *linux_side; + const char *pchDialog; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params +{ + struct u_steam_iface *linux_side; + const char *pchURL; + uint32_t eMode; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; + uint32_t eFlag; +}; + +struct ISteamFriends_SteamFriends017_SetPlayedWith_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUserPlayedWith; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends017_GetSmallFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetMediumFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetLargeFriendAvatar_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_RequestUserInformation_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + int8_t bRequireNameOnly; +}; + +struct ISteamFriends_SteamFriends017_RequestClanOfficerList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanOfficerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanOfficerByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iOfficer; +}; + +struct ISteamFriends_SteamFriends017_GetUserRestrictions_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_SetRichPresence_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamFriends_SteamFriends017_ClearRichPresence_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamFriends_SteamFriends017_GetFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + const char *pchKey; +}; + +struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDFriend; + int32_t iKey; +}; + +struct ISteamFriends_SteamFriends017_RequestFriendRichPresence_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_InviteUserToGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends017_GetCoplayFriendCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_GetCoplayFriend_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iCoplayFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendCoplayTime_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendCoplayGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDFriend; +}; + +struct ISteamFriends_SteamFriends017_JoinClanChatRoom_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_LeaveClanChatRoom_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetClanChatMemberCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetChatMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDClan; + int32_t iUser; +}; + +struct ISteamFriends_SteamFriends017_SendClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + const char *pchText; +}; + +struct ISteamFriends_SteamFriends017_GetClanChatMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDClanChat; + int32_t iMessage; + void *prgchText; + int32_t cchTextMax; + uint32_t *peChatEntryType; + CSteamID *psteamidChatter; +}; + +struct ISteamFriends_SteamFriends017_IsClanChatAdmin_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; + CSteamID steamIDUser; +}; + +struct ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClanChat; +}; + +struct ISteamFriends_SteamFriends017_SetListenForFriendsMessages_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bInterceptEnabled; +}; + +struct ISteamFriends_SteamFriends017_ReplyToFriendMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDFriend; + const char *pchMsgToSend; +}; + +struct ISteamFriends_SteamFriends017_GetFriendMessage_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDFriend; + int32_t iMessageID; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamFriends_SteamFriends017_GetFollowerCount_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends017_IsFollowing_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends017_EnumerateFollowingList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unStartIndex; +}; + +struct ISteamFriends_SteamFriends017_IsClanPublic_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchProtocol; +}; + +struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params +{ + struct u_steam_iface *linux_side; + const char *pchConnectString; +}; + +struct ISteamFriends_SteamFriends017_RequestEquippedProfileItems_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamID; +}; + +struct ISteamFriends_SteamFriends017_BHasEquippedProfileItem_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + uint32_t itemType; +}; + +struct ISteamFriends_SteamFriends017_GetProfileItemPropertyString_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamID; + uint32_t itemType; + uint32_t prop; +}; + +struct ISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t itemType; + uint32_t prop; +}; + +struct ISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t unMsgType; + const void *pubData; + uint32_t cubData; +}; + +struct ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pcubMsgSize; +}; + +struct ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *punMsgType; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamGameServer_SteamGameServer002_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer002_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer002_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer002_GSSetSpawnCount_params +{ + struct u_steam_iface *linux_side; + uint32_t ucSpawn; +}; + +struct ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pvEncryptionKey; + uint32_t *pcbEncryptionKey; + uint32_t cbMaxEncryptionKey; +}; + +struct ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unUserID; + const void *pvRawKey; + uint32_t unKeyLen; + uint32_t unIPPublic; + uint16_t usPort; + const void *pvCookie; + uint32_t cubCookie; +}; + +struct ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + uint32_t unIPPublic; + const void *pvCookie; + uint32_t cubCookie; +}; + +struct ISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unUserID; +}; + +struct ISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + uint32_t unUserID; +}; + +struct ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + int32_t nSecondsConnected; + int32_t nSecondsSinceLast; +}; + +struct ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nAppIdServed; + uint32_t unServerFlags; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + int32_t unGamePort; + const char *pchServerName; + const char *pchGameDir; + const char *pchMapName; + const char *pchVersion; +}; + +struct ISteamGameServer_SteamGameServer002_GSUpdateStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer002_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer002_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer002_GSSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameAppId; + uint32_t unServerFlags; + uint32_t unGameIP; + uint32_t unGamePort; + const char *pchGameDir; + const char *pchVersion; +}; + +struct ISteamGameServer_SteamGameServer002_GSSetServerType2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameAppId; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer002_GSUpdateStatus2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID *pSteamID; +}; + +struct ISteamGameServer_SteamGameServer002_GSSetUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pPlayerName; + uint32_t nFrags; +}; + +struct ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer002_GSSetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchType; +}; + +struct ISteamGameServer_SteamGameServer003_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer003_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer003_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer003_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer003_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pvEncryptionKey; + uint32_t *pcbEncryptionKey; + uint32_t cbMaxEncryptionKey; +}; + +struct ISteamGameServer_SteamGameServer003_GSSendUserConnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unUserID; + uint32_t unIPPublic; + uint16_t usPort; + const void *pvCookie; + uint32_t cubCookie; +}; + +struct ISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unUserID; +}; + +struct ISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + uint32_t unUserID; +}; + +struct ISteamGameServer_SteamGameServer003_GSSetSpawnCount_params +{ + struct u_steam_iface *linux_side; + uint32_t ucSpawn; +}; + +struct ISteamGameServer_SteamGameServer003_GSSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameAppId; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer003_GSUpdateStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID *pSteamID; +}; + +struct ISteamGameServer_SteamGameServer003_GSSetUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pPlayerName; + uint32_t nFrags; +}; + +struct ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer003_GSSetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchType; +}; + +struct ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pchAchievementName; +}; + +struct ISteamGameServer_SteamGameServer004_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer004_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer004_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer004_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer004_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; + uint32_t unIPClient; + void *pvAuthBlob; + uint32_t cubAuthBlobSize; +}; + +struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer004_BSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameAppId; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer004_SetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchGameType; +}; + +struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pchAchievementName; +}; + +struct ISteamGameServer_SteamGameServer005_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer005_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer005_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer005_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer005_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer005_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer005_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer005_BSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer005_UpdateServerStatus_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer005_SetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchGameType; +}; + +struct ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pchAchievementName; +}; + +struct ISteamGameServer_SteamGameServer008_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer008_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer008_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer008_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer008_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer008_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer008_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer008_BSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer008_UpdateServerStatus_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer008_SetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchGameType; +}; + +struct ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pchAchievementName; +}; + +struct ISteamGameServer_SteamGameServer008_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer008_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameServer_SteamGameServer009_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer009_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer009_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer009_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer009_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer009_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer009_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer009_BSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer009_UpdateServerStatus_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer009_SetGameType_params +{ + struct u_steam_iface *linux_side; + const char *pchGameType; +}; + +struct ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamID; + const char *pchAchievementName; +}; + +struct ISteamGameServer_SteamGameServer009_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer009_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameServer_SteamGameServer009_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer010_LogOn_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer010_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer010_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer010_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer010_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer010_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer010_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer010_BSetServerType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unServerFlags; + uint32_t unGameIP; + uint16_t unGamePort; + uint16_t unSpectatorPort; + uint16_t usQueryPort; + const char *pchGameDir; + const char *pchVersion; + int8_t bLANMode; +}; + +struct ISteamGameServer_SteamGameServer010_UpdateServerStatus_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayers; + int32_t cPlayersMax; + int32_t cBotPlayers; + const char *pchServerName; + const char *pSpectatorServerName; + const char *pchMapName; +}; + +struct ISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer010_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer010_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer010_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer010_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameServer_SteamGameServer010_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamGameServer_SteamGameServer010_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer010_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer010_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer011_InitGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIP; + uint16_t usGamePort; + uint16_t usQueryPort; + uint32_t unFlags; + uint32_t nGameAppId; + const char *pchVersionString; +}; + +struct ISteamGameServer_SteamGameServer011_SetProduct_params +{ + struct u_steam_iface *linux_side; + const char *pszProduct; +}; + +struct ISteamGameServer_SteamGameServer011_SetGameDescription_params +{ + struct u_steam_iface *linux_side; + const char *pszGameDescription; +}; + +struct ISteamGameServer_SteamGameServer011_SetModDir_params +{ + struct u_steam_iface *linux_side; + const char *pszModDir; +}; + +struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params +{ + struct u_steam_iface *linux_side; + int8_t bDedicated; +}; + +struct ISteamGameServer_SteamGameServer011_LogOn_params +{ + struct u_steam_iface *linux_side; + const char *pszAccountName; + const char *pszPassword; +}; + +struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer011_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer011_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer011_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer011_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayersMax; +}; + +struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cBotplayers; +}; + +struct ISteamGameServer_SteamGameServer011_SetServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszServerName; +}; + +struct ISteamGameServer_SteamGameServer011_SetMapName_params +{ + struct u_steam_iface *linux_side; + const char *pszMapName; +}; + +struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params +{ + struct u_steam_iface *linux_side; + int8_t bPasswordProtected; +}; + +struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszSpectatorServerName; +}; + +struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer011_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamGameServer_SteamGameServer011_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer011_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer011_SetRegion_params +{ + struct u_steam_iface *linux_side; + const char *pszRegion; +}; + +struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer011_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer011_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer011_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDNewPlayer; +}; + +struct ISteamGameServer_SteamGameServer012_InitGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIP; + uint16_t usGamePort; + uint16_t usQueryPort; + uint32_t unFlags; + uint32_t nGameAppId; + const char *pchVersionString; +}; + +struct ISteamGameServer_SteamGameServer012_SetProduct_params +{ + struct u_steam_iface *linux_side; + const char *pszProduct; +}; + +struct ISteamGameServer_SteamGameServer012_SetGameDescription_params +{ + struct u_steam_iface *linux_side; + const char *pszGameDescription; +}; + +struct ISteamGameServer_SteamGameServer012_SetModDir_params +{ + struct u_steam_iface *linux_side; + const char *pszModDir; +}; + +struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params +{ + struct u_steam_iface *linux_side; + int8_t bDedicated; +}; + +struct ISteamGameServer_SteamGameServer012_LogOn_params +{ + struct u_steam_iface *linux_side; + const char *pszToken; +}; + +struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer012_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer012_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer012_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer012_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayersMax; +}; + +struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cBotplayers; +}; + +struct ISteamGameServer_SteamGameServer012_SetServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszServerName; +}; + +struct ISteamGameServer_SteamGameServer012_SetMapName_params +{ + struct u_steam_iface *linux_side; + const char *pszMapName; +}; + +struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params +{ + struct u_steam_iface *linux_side; + int8_t bPasswordProtected; +}; + +struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszSpectatorServerName; +}; + +struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer012_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamGameServer_SteamGameServer012_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer012_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer012_SetRegion_params +{ + struct u_steam_iface *linux_side; + const char *pszRegion; +}; + +struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer012_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer012_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer012_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDNewPlayer; +}; + +struct ISteamGameServer_SteamGameServer013_InitGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIP; + uint16_t usGamePort; + uint16_t usQueryPort; + uint32_t unFlags; + uint32_t nGameAppId; + const char *pchVersionString; +}; + +struct ISteamGameServer_SteamGameServer013_SetProduct_params +{ + struct u_steam_iface *linux_side; + const char *pszProduct; +}; + +struct ISteamGameServer_SteamGameServer013_SetGameDescription_params +{ + struct u_steam_iface *linux_side; + const char *pszGameDescription; +}; + +struct ISteamGameServer_SteamGameServer013_SetModDir_params +{ + struct u_steam_iface *linux_side; + const char *pszModDir; +}; + +struct ISteamGameServer_SteamGameServer013_SetDedicatedServer_params +{ + struct u_steam_iface *linux_side; + int8_t bDedicated; +}; + +struct ISteamGameServer_SteamGameServer013_LogOn_params +{ + struct u_steam_iface *linux_side; + const char *pszToken; +}; + +struct ISteamGameServer_SteamGameServer013_LogOnAnonymous_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer013_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer013_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer013_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer013_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer013_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayersMax; +}; + +struct ISteamGameServer_SteamGameServer013_SetBotPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cBotplayers; +}; + +struct ISteamGameServer_SteamGameServer013_SetServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszServerName; +}; + +struct ISteamGameServer_SteamGameServer013_SetMapName_params +{ + struct u_steam_iface *linux_side; + const char *pszMapName; +}; + +struct ISteamGameServer_SteamGameServer013_SetPasswordProtected_params +{ + struct u_steam_iface *linux_side; + int8_t bPasswordProtected; +}; + +struct ISteamGameServer_SteamGameServer013_SetSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer013_SetSpectatorServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszSpectatorServerName; +}; + +struct ISteamGameServer_SteamGameServer013_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer013_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamGameServer_SteamGameServer013_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer013_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer013_SetRegion_params +{ + struct u_steam_iface *linux_side; + const char *pszRegion; +}; + +struct ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer013_SendUserDisconnect_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer013_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamGameServer_SteamGameServer013_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer013_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer013_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer013_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer013_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer013_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + SteamIPAddress_t *_ret; +}; + +struct ISteamGameServer_SteamGameServer013_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamGameServer_SteamGameServer013_EnableHeartbeats_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamGameServer_SteamGameServer013_ForceHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer013_AssociateWithClan_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDNewPlayer; +}; + +struct ISteamGameServer_SteamGameServer014_InitGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIP; + uint16_t usGamePort; + uint16_t usQueryPort; + uint32_t unFlags; + uint32_t nGameAppId; + const char *pchVersionString; +}; + +struct ISteamGameServer_SteamGameServer014_SetProduct_params +{ + struct u_steam_iface *linux_side; + const char *pszProduct; +}; + +struct ISteamGameServer_SteamGameServer014_SetGameDescription_params +{ + struct u_steam_iface *linux_side; + const char *pszGameDescription; +}; + +struct ISteamGameServer_SteamGameServer014_SetModDir_params +{ + struct u_steam_iface *linux_side; + const char *pszModDir; +}; + +struct ISteamGameServer_SteamGameServer014_SetDedicatedServer_params +{ + struct u_steam_iface *linux_side; + int8_t bDedicated; +}; + +struct ISteamGameServer_SteamGameServer014_LogOn_params +{ + struct u_steam_iface *linux_side; + const char *pszToken; +}; + +struct ISteamGameServer_SteamGameServer014_LogOnAnonymous_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer014_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer014_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer014_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer014_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer014_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayersMax; +}; + +struct ISteamGameServer_SteamGameServer014_SetBotPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cBotplayers; +}; + +struct ISteamGameServer_SteamGameServer014_SetServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszServerName; +}; + +struct ISteamGameServer_SteamGameServer014_SetMapName_params +{ + struct u_steam_iface *linux_side; + const char *pszMapName; +}; + +struct ISteamGameServer_SteamGameServer014_SetPasswordProtected_params +{ + struct u_steam_iface *linux_side; + int8_t bPasswordProtected; +}; + +struct ISteamGameServer_SteamGameServer014_SetSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer014_SetSpectatorServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszSpectatorServerName; +}; + +struct ISteamGameServer_SteamGameServer014_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer014_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamGameServer_SteamGameServer014_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer014_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer014_SetRegion_params +{ + struct u_steam_iface *linux_side; + const char *pszRegion; +}; + +struct ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamGameServer_SteamGameServer014_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer014_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer014_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer014_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer014_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer014_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + SteamIPAddress_t *_ret; +}; + +struct ISteamGameServer_SteamGameServer014_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamGameServer_SteamGameServer014_AssociateWithClan_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDNewPlayer; +}; + +struct ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer014_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer015_InitGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIP; + uint16_t usGamePort; + uint16_t usQueryPort; + uint32_t unFlags; + uint32_t nGameAppId; + const char *pchVersionString; +}; + +struct ISteamGameServer_SteamGameServer015_SetProduct_params +{ + struct u_steam_iface *linux_side; + const char *pszProduct; +}; + +struct ISteamGameServer_SteamGameServer015_SetGameDescription_params +{ + struct u_steam_iface *linux_side; + const char *pszGameDescription; +}; + +struct ISteamGameServer_SteamGameServer015_SetModDir_params +{ + struct u_steam_iface *linux_side; + const char *pszModDir; +}; + +struct ISteamGameServer_SteamGameServer015_SetDedicatedServer_params +{ + struct u_steam_iface *linux_side; + int8_t bDedicated; +}; + +struct ISteamGameServer_SteamGameServer015_LogOn_params +{ + struct u_steam_iface *linux_side; + const char *pszToken; +}; + +struct ISteamGameServer_SteamGameServer015_LogOnAnonymous_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer015_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer015_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer015_BSecure_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer015_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer015_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cPlayersMax; +}; + +struct ISteamGameServer_SteamGameServer015_SetBotPlayerCount_params +{ + struct u_steam_iface *linux_side; + int32_t cBotplayers; +}; + +struct ISteamGameServer_SteamGameServer015_SetServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszServerName; +}; + +struct ISteamGameServer_SteamGameServer015_SetMapName_params +{ + struct u_steam_iface *linux_side; + const char *pszMapName; +}; + +struct ISteamGameServer_SteamGameServer015_SetPasswordProtected_params +{ + struct u_steam_iface *linux_side; + int8_t bPasswordProtected; +}; + +struct ISteamGameServer_SteamGameServer015_SetSpectatorPort_params +{ + struct u_steam_iface *linux_side; + uint16_t unSpectatorPort; +}; + +struct ISteamGameServer_SteamGameServer015_SetSpectatorServerName_params +{ + struct u_steam_iface *linux_side; + const char *pszSpectatorServerName; +}; + +struct ISteamGameServer_SteamGameServer015_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer015_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamGameServer_SteamGameServer015_SetGameTags_params +{ + struct u_steam_iface *linux_side; + const char *pchGameTags; +}; + +struct ISteamGameServer_SteamGameServer015_SetGameData_params +{ + struct u_steam_iface *linux_side; + const char *pchGameData; +}; + +struct ISteamGameServer_SteamGameServer015_SetRegion_params +{ + struct u_steam_iface *linux_side; + const char *pszRegion; +}; + +struct ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; + const SteamNetworkingIdentity_144 *pSnid; +}; + +struct ISteamGameServer_SteamGameServer015_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer015_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamGameServer_SteamGameServer015_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + CSteamID steamIDGroup; +}; + +struct ISteamGameServer_SteamGameServer015_GetGameplayStats_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServer_SteamGameServer015_GetServerReputation_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamGameServer_SteamGameServer015_GetPublicIP_params +{ + struct u_steam_iface *linux_side; + SteamIPAddress_t *_ret; +}; + +struct ISteamGameServer_SteamGameServer015_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamGameServer_SteamGameServer015_AssociateWithClan_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDClan; +}; + +struct ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDNewPlayer; +}; + +struct ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unIPClient; + const void *pvAuthBlob; + uint32_t cubAuthBlobSize; + CSteamID *pSteamIDUser; +}; + +struct ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDUser; +}; + +struct ISteamGameServer_SteamGameServer015_BUpdateUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchPlayerName; + uint32_t uScore; +}; + +struct ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t *pData; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float *pData; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int8_t *pbAchieved; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + int32_t nData; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float fData; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; + float flCountThisSession; + double dSessionLength; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDUser; + const char *pchName; +}; + +struct ISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDUser; +}; + +struct ISteamGameStats_SteamGameStats001_GetNewSession_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int8_t nAccountType; + uint64_t ulAccountID; + int32_t nAppID; + uint32_t rtTimeStarted; +}; + +struct ISteamGameStats_SteamGameStats001_EndSession_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t ulSessionID; + uint32_t rtTimeEnded; + int32_t nReasonCode; +}; + +struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulSessionID; + const char *pstrName; + int32_t nData; +}; + +struct ISteamGameStats_SteamGameStats001_AddSessionAttributeString_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulSessionID; + const char *pstrName; + const char *pstrData; +}; + +struct ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulSessionID; + const char *pstrName; + float fData; +}; + +struct ISteamGameStats_SteamGameStats001_AddNewRow_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t *pulRowID; + uint64_t ulSessionID; + const char *pstrTableName; +}; + +struct ISteamGameStats_SteamGameStats001_CommitRow_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulRowID; +}; + +struct ISteamGameStats_SteamGameStats001_CommitOutstandingRows_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulSessionID; +}; + +struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulRowID; + const char *pstrName; + int32_t nData; +}; + +struct ISteamGameStats_SteamGameStats001_AddRowAtributeString_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulRowID; + const char *pstrName; + const char *pstrData; +}; + +struct ISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulRowID; + const char *pstrName; + float fData; +}; + +struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulSessionID; + const char *pstrName; + int64_t llData; +}; + +struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ulRowID; + const char *pstrName; + int64_t llData; +}; + +struct ISteamInput_SteamInput001_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput001_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput001_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInput_SteamInput001_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput001_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamInput_SteamInput001_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetHandle; +}; + +struct ISteamInput_SteamInput001_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput001_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput001_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput001_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput001_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput001_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput001_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t inputHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamInput_SteamInput001_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput001_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput001_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t inputHandle; + uint64_t analogActionHandle; +}; + +struct ISteamInput_SteamInput001_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput001_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput001_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput001_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t eAction; +}; + +struct ISteamInput_SteamInput001_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput001_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamInput_SteamInput001_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput001_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput001_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput001_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput001_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamInput_SteamInput001_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulinputHandle; +}; + +struct ISteamInput_SteamInput001_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput001_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput001_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamInput_SteamInput001_GetDeviceBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamInput_SteamInput001_GetRemotePlaySessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput002_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput002_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInput_SteamInput002_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput002_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamInput_SteamInput002_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetHandle; +}; + +struct ISteamInput_SteamInput002_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput002_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput002_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput002_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput002_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t inputHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamInput_SteamInput002_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput002_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput002_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t inputHandle; + uint64_t analogActionHandle; +}; + +struct ISteamInput_SteamInput002_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput002_GetGlyphForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput002_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput002_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t eAction; +}; + +struct ISteamInput_SteamInput002_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamInput_SteamInput002_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput002_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput002_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput002_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamInput_SteamInput002_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulinputHandle; +}; + +struct ISteamInput_SteamInput002_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput002_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput002_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamInput_SteamInput002_GetDeviceBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamInput_SteamInput002_GetRemotePlaySessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bExplicitlyCallRunFrame; +}; + +struct ISteamInput_SteamInput005_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchInputActionManifestAbsolutePath; +}; + +struct ISteamInput_SteamInput005_RunFrame_params +{ + struct u_steam_iface *linux_side; + int8_t bReservedValue; +}; + +struct ISteamInput_SteamInput005_BWaitForData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bWaitForever; + uint32_t unTimeout; +}; + +struct ISteamInput_SteamInput005_BNewDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput005_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInput_SteamInput005_EnableActionEventCallbacks_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL pCallback)(SteamInputActionEvent_t *); +}; + +struct ISteamInput_SteamInput005_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamInput_SteamInput005_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetHandle; +}; + +struct ISteamInput_SteamInput005_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput005_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput005_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t inputHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t eActionHandle; +}; + +struct ISteamInput_SteamInput005_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput005_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t inputHandle; + uint64_t analogActionHandle; +}; + +struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; + uint32_t eSize; + uint32_t unFlags; +}; + +struct ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; + uint32_t unFlags; +}; + +struct ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput005_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t eActionHandle; +}; + +struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t eAction; +}; + +struct ISteamInput_SteamInput005_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamInput_SteamInput005_TriggerVibrationExtended_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; + uint16_t usLeftTriggerSpeed; + uint16_t usRightTriggerSpeed; +}; + +struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eHapticLocation; + uint8_t nIntensity; + char nGainDB; + uint8_t nOtherIntensity; + char nOtherGainDB; +}; + +struct ISteamInput_SteamInput005_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput005_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamInput_SteamInput005_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulinputHandle; +}; + +struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput005_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput005_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamInput_SteamInput006_Init_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bExplicitlyCallRunFrame; +}; + +struct ISteamInput_SteamInput006_Shutdown_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchInputActionManifestAbsolutePath; +}; + +struct ISteamInput_SteamInput006_RunFrame_params +{ + struct u_steam_iface *linux_side; + int8_t bReservedValue; +}; + +struct ISteamInput_SteamInput006_BWaitForData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bWaitForever; + uint32_t unTimeout; +}; + +struct ISteamInput_SteamInput006_BNewDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamInput_SteamInput006_GetConnectedControllers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput006_EnableDeviceCallbacks_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamInput_SteamInput006_EnableActionEventCallbacks_params +{ + struct u_steam_iface *linux_side; + void (*W_STDCALL pCallback)(SteamInputActionEvent_t *); +}; + +struct ISteamInput_SteamInput006_GetActionSetHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionSetName; +}; + +struct ISteamInput_SteamInput006_ActivateActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetHandle; +}; + +struct ISteamInput_SteamInput006_GetCurrentActionSet_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_ActivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput006_DeactivateActionSetLayer_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t actionSetLayerHandle; +}; + +struct ISteamInput_SteamInput006_DeactivateAllActionSetLayers_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_GetActiveActionSetLayers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t *handlesOut; +}; + +struct ISteamInput_SteamInput006_GetDigitalActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput006_GetDigitalActionData_params +{ + struct u_steam_iface *linux_side; + InputDigitalActionData_t *_ret; + uint64_t inputHandle; + uint64_t digitalActionHandle; +}; + +struct ISteamInput_SteamInput006_GetDigitalActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput006_GetStringForDigitalActionName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t eActionHandle; +}; + +struct ISteamInput_SteamInput006_GetAnalogActionHandle_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pszActionName; +}; + +struct ISteamInput_SteamInput006_GetAnalogActionData_params +{ + struct u_steam_iface *linux_side; + InputAnalogActionData_t *_ret; + uint64_t inputHandle; + uint64_t analogActionHandle; +}; + +struct ISteamInput_SteamInput006_GetAnalogActionOrigins_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t inputHandle; + uint64_t actionSetHandle; + uint64_t analogActionHandle; + uint32_t *originsOut; +}; + +struct ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; + uint32_t eSize; + uint32_t unFlags; +}; + +struct ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; + uint32_t unFlags; +}; + +struct ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput006_GetStringForActionOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput006_GetStringForAnalogActionName_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint64_t eActionHandle; +}; + +struct ISteamInput_SteamInput006_StopAnalogActionMomentum_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint64_t eAction; +}; + +struct ISteamInput_SteamInput006_GetMotionData_params +{ + struct u_steam_iface *linux_side; + InputMotionData_t *_ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_TriggerVibration_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; +}; + +struct ISteamInput_SteamInput006_TriggerVibrationExtended_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint16_t usLeftSpeed; + uint16_t usRightSpeed; + uint16_t usLeftTriggerSpeed; + uint16_t usRightTriggerSpeed; +}; + +struct ISteamInput_SteamInput006_TriggerSimpleHapticEvent_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eHapticLocation; + uint8_t nIntensity; + char nGainDB; + uint8_t nOtherIntensity; + char nOtherGainDB; +}; + +struct ISteamInput_SteamInput006_SetLEDColor_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint8_t nColorR; + uint8_t nColorG; + uint8_t nColorB; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; +}; + +struct ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + uint32_t eTargetPad; + uint16_t usDurationMicroSec; + uint16_t usOffMicroSec; + uint16_t unRepeat; + uint32_t nFlags; +}; + +struct ISteamInput_SteamInput006_ShowBindingPanel_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_GetInputTypeForHandle_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_GetControllerForGamepadIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + int32_t nIndex; +}; + +struct ISteamInput_SteamInput006_GetGamepadIndexForController_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint64_t ulinputHandle; +}; + +struct ISteamInput_SteamInput006_GetStringForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput006_GetGlyphForXboxOrigin_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; + uint32_t eOrigin; +}; + +struct ISteamInput_SteamInput006_TranslateActionOrigin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eDestinationInputType; + uint32_t eSourceOrigin; +}; + +struct ISteamInput_SteamInput006_GetDeviceBindingRevision_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t inputHandle; + int32_t *pMajor; + int32_t *pMinor; +}; + +struct ISteamInput_SteamInput006_GetRemotePlaySessionID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t inputHandle; +}; + +struct ISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamInput_SteamInput006_SetDualSenseTriggerEffect_params +{ + struct u_steam_iface *linux_side; + uint64_t inputHandle; + const ScePadTriggerEffectParam *pParam; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params +{ + struct u_steam_iface *linux_side; + int8_t bActive; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params +{ + struct u_steam_iface *linux_side; + int32_t iHeartbeatInterval; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pData; + int32_t cbData; + uint32_t srcIP; + uint16_t srcPort; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pOut; + int32_t cbMaxOut; + uint32_t *pNetAdr; + uint16_t *pPort; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params +{ + struct u_steam_iface *linux_side; + uint16_t nProtocolVersion; + int8_t bDedicatedServer; + const char *pRegionName; + const char *pProductName; + uint16_t nMaxReportedClients; + int8_t bPasswordProtected; + const char *pGameDescription; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params +{ + struct u_steam_iface *linux_side; + const char *pKey; + const char *pValue; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pServerAddress; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pServerAddress; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t iServer; + char *pOut; + int32_t outBufferSize; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchKeyToFind; + const char *pchValuesToFind; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDLobby; + int32_t nPlayerMin; + int32_t nPlayerMax; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nPlayerMin; + int32_t nPlayerMax; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDHost; + char *pchConnectionDetails; + int32_t cubConnectionDetails; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchConnectionDetails; + int32_t cubConnectionDetails; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nPlayerMin; + int32_t nPlayerMax; + int32_t nMaxTeamSize; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ullUniqueGameID; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ullUniqueGameID; + CSteamID steamIDPlayer; + uint32_t EPlayerResult; +}; + +struct ISteamGameSearch_SteamMatchGameSearch001_EndGame_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t ullUniqueGameID; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; + uint64_t ulGameID; + MatchMakingKeyValuePair_t *pFilters; + uint32_t nFilters; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t ulGameID; + int8_t bPrivate; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_JoinLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID SteamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_CreateLobby_params +{ + struct u_steam_iface *linux_side; + int8_t bPrivate; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_JoinLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + int32_t nComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_CreateLobby_params +{ + struct u_steam_iface *linux_side; + int8_t bPrivate; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_JoinLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + int8_t bVoiceEnabled; +}; + +struct ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + int32_t nComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_CreateLobby_params +{ + struct u_steam_iface *linux_side; + int8_t bPrivate; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_JoinLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + int32_t nComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToBeCloseTo; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_JoinLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params +{ + struct u_steam_iface *linux_side; + float _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + int32_t nComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToBeCloseTo; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_JoinLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToBeCloseTo; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params +{ + struct u_steam_iface *linux_side; + int32_t nSlotsAvailable; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eLobbyType; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_JoinLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t iLobbyData; + char *pchKey; + int32_t cchKeyBufferSize; + char *pchValue; + int32_t cchValueBufferSize; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int8_t bLobbyJoinable; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToBeCloseTo; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params +{ + struct u_steam_iface *linux_side; + int32_t nSlotsAvailable; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params +{ + struct u_steam_iface *linux_side; + uint32_t eLobbyDistanceFilter; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params +{ + struct u_steam_iface *linux_side; + int32_t cMaxResults; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eLobbyType; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_JoinLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t iLobbyData; + char *pchKey; + int32_t cchKeyBufferSize; + char *pchValue; + int32_t cchValueBufferSize; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int8_t bLobbyJoinable; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iGame; + uint32_t *pnAppID; + uint32_t *pnIP; + uint16_t *pnConnPort; + uint16_t *pnQueryPort; + uint32_t *punFlags; + uint32_t *pRTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; + uint32_t rTime32LastPlayedOnServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nAppID; + uint32_t nIP; + uint16_t nConnPort; + uint16_t nQueryPort; + uint32_t unFlags; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + const char *pchValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToMatch; + uint32_t eComparisonType; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params +{ + struct u_steam_iface *linux_side; + const char *pchKeyToMatch; + int32_t nValueToBeCloseTo; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params +{ + struct u_steam_iface *linux_side; + int32_t nSlotsAvailable; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params +{ + struct u_steam_iface *linux_side; + uint32_t eLobbyDistanceFilter; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params +{ + struct u_steam_iface *linux_side; + int32_t cMaxResults; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + int32_t iLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_CreateLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t eLobbyType; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_JoinLobby_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDInvitee; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; + int32_t iMember; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t iLobbyData; + char *pchKey; + int32_t cchKeyBufferSize; + char *pchValue; + int32_t cchValueBufferSize; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + CSteamID steamIDLobby; + CSteamID steamIDUser; + const char *pchKey; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + const void *pvMsgBody; + int32_t cubMsgBody; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; + int32_t iChatID; + CSteamID *pSteamIDUser; + void *pvData; + int32_t cubData; + uint32_t *peChatEntryType; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDLobby; + uint32_t unGameServerIP; + uint16_t unGameServerPort; + CSteamID steamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t *punGameServerIP; + uint16_t *punGameServerPort; + CSteamID *psteamIDGameServer; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int32_t cMaxMembers; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + uint32_t eLobbyType; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + int8_t bLobbyJoinable; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; + CSteamID steamIDLobby; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDNewOwner; +}; + +struct ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDLobby; + CSteamID steamIDLobbyDependent; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params +{ + struct u_steam_iface *linux_side; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params +{ + struct u_steam_iface *linux_side; + gameserveritem_t_105 *_ret; + uint32_t eType; + int32_t iServer; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params +{ + struct u_steam_iface *linux_side; + uint32_t eType; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params +{ + struct u_steam_iface *linux_side; + uint32_t eType; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eType; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t eType; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params +{ + struct u_steam_iface *linux_side; + uint32_t eType; + int32_t iServer; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingPingResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingPlayersResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingRulesResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params +{ + struct u_steam_iface *linux_side; + int32_t hServerQuery; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params +{ + struct u_steam_iface *linux_side; + void *_ret; + uint32_t iApp; + MatchMakingKeyValuePair_t **ppchFilters; + uint32_t nFilters; + w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params +{ + struct u_steam_iface *linux_side; + void *hServerListRequest; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params +{ + struct u_steam_iface *linux_side; + gameserveritem_t_105 *_ret; + void *hRequest; + int32_t iServer; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params +{ + struct u_steam_iface *linux_side; + void *hRequest; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params +{ + struct u_steam_iface *linux_side; + void *hRequest; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *hRequest; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *hRequest; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params +{ + struct u_steam_iface *linux_side; + void *hRequest; + int32_t iServer; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingPingResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingPlayersResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t unIP; + uint16_t usPort; + w_ISteamMatchmakingRulesResponse *pRequestServersResponse; +}; + +struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params +{ + struct u_steam_iface *linux_side; + int32_t hServerQuery; +}; + +struct ISteamNetworking_SteamNetworking001_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + uint32_t nIP; + uint16_t nPort; +}; + +struct ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking001_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking001_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking001_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking001_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking001_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking001_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking001_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + uint32_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking001_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking002_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + uint32_t nIP; + uint16_t nPort; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking002_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking002_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking002_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking002_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking002_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking002_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking002_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + uint32_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking002_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking002_GetSocketConnectionType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking002_GetMaxPacketSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking003_SendP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32_t cubData; + uint32_t eP2PSendType; +}; + +struct ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking003_ReadP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + CSteamID *psteamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking003_GetP2PSessionState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; + +struct ISteamNetworking_SteamNetworking003_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + uint32_t nIP; + uint16_t nPort; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking003_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking003_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking003_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking003_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking003_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking003_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking003_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + uint32_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking003_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking003_GetSocketConnectionType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking003_GetMaxPacketSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking004_SendP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32_t cubData; + uint32_t eP2PSendType; + int32_t nVirtualPort; +}; + +struct ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pcubMsgSize; + int32_t nVirtualPort; +}; + +struct ISteamNetworking_SteamNetworking004_ReadP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + CSteamID *psteamIDRemote; + int32_t nVirtualPort; +}; + +struct ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking004_GetP2PSessionState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; + +struct ISteamNetworking_SteamNetworking004_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + uint32_t nIP; + uint16_t nPort; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking004_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking004_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking004_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking004_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking004_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking004_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking004_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + uint32_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking004_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking004_GetSocketConnectionType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking004_GetMaxPacketSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking005_SendP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32_t cubData; + uint32_t eP2PSendType; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pcubMsgSize; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking005_ReadP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + CSteamID *psteamIDRemote; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking005_GetP2PSessionState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; + +struct ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAllow; +}; + +struct ISteamNetworking_SteamNetworking005_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + uint32_t nIP; + uint16_t nPort; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking005_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking005_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking005_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking005_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking005_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking005_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking005_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + uint32_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking005_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking005_GetSocketConnectionType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking005_GetMaxPacketSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + const void *pubData; + uint32_t cubData; + uint32_t eP2PSendType; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pcubMsgSize; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + CSteamID *psteamIDRemote; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; +}; + +struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + int32_t nChannel; +}; + +struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + CSteamID steamIDRemote; + P2PSessionState_t *pConnectionState; +}; + +struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int8_t bAllow; +}; + +struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualP2PPort; + SteamIPAddress_t nIP; + uint16_t nPort; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamIDTarget; + int32_t nVirtualPort; + int32_t nTimeoutSec; + int8_t bAllowUseOfPacketRelay; +}; + +struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamIPAddress_t nIP; + uint16_t nPort; + int32_t nTimeoutSec; +}; + +struct ISteamNetworking_SteamNetworking006_DestroySocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + int8_t bNotifyRemoteEnd; +}; + +struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubData; + uint32_t cubData; + int8_t bReliable; +}; + +struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; +}; + +struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking006_RetrieveData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + void *pubDest; + uint32_t cubDest; + uint32_t *pcubMsgSize; + uint32_t *phSocket; +}; + +struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + CSteamID *pSteamIDRemote; + int32_t *peSocketStatus; + SteamIPAddress_t *punIPRemote; + uint16_t *punPortRemote; +}; + +struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hListenSocket; + SteamIPAddress_t *pnIP; + uint16_t *pnPort; +}; + +struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *remoteAddress; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; +}; + +struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + w_SteamNetworkingMessage_t_153a **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIPAddr *remoteAddress; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + const void *pubData; + uint32_t cubData; + int32_t nSendFlags; + int32_t nRemoteChannel; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nLocalChannel; + w_SteamNetworkingMessage_t_153a **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nLocalChannel; +}; + +struct ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + SteamNetConnectionInfo_t_153a *pConnectionInfo; + SteamNetConnectionRealTimeStatus_t *pQuickStatus; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_144 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; + w_SteamNetworkingMessage_t_144 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_144 *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_144 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; + w_SteamNetworkingMessage_t_144 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_144 *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int32_t *pcbSignedBlob; + void *pBlob; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; + int64_t *pOutMessageNumber; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages_params +{ + struct u_steam_iface *linux_side; + int32_t nMessages; + w_SteamNetworkingMessage_t_147 **pMessages; + int64_t *pOutMessageNumberOrResult; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hSocket; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_144 *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int32_t *pcbSignedBlob; + void *pBlob; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + w_ISteamNetworkingConnectionCustomSignaling *pSignaling; + const SteamNetworkingIdentity_144 *pPeerIdentity; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pMsg; + int32_t cbMsg; + w_ISteamNetworkingCustomSignalingRecvContext *pContext; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; + int64_t *pOutMessageNumber; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages_params +{ + struct u_steam_iface *linux_side; + int32_t nMessages; + w_SteamNetworkingMessage_t_147 *const *pMessages; + int64_t *pOutMessageNumberOrResult; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_144 *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hPollGroup; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int32_t *pcbSignedBlob; + void *pBlob; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + w_ISteamNetworkingConnectionCustomSignaling *pSignaling; + const SteamNetworkingIdentity_144 *pPeerIdentity; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pMsg; + int32_t cbMsg; + w_ISteamNetworkingCustomSignalingRecvContext *pContext; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pcbBlob; + void *pBlob; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pCertificate; + int32_t cbCertificate; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nLocalVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; + int64_t *pOutMessageNumber; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages_params +{ + struct u_steam_iface *linux_side; + int32_t nMessages; + w_SteamNetworkingMessage_t_147 *const *pMessages; + int64_t *pOutMessageNumberOrResult; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_144 *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetworkingQuickConnectionStatus *pStats; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hPollGroup; + w_SteamNetworkingMessage_t_147 **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nRemoteVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nLocalVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int32_t *pcbSignedBlob; + void *pBlob; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void /*ISteamNetworkingConnectionSignaling*/ *pSignaling; + const SteamNetworkingIdentity_144 *pPeerIdentity; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pMsg; + int32_t cbMsg; + void /*ISteamNetworkingSignalingRecvContext*/ *pContext; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pcbBlob; + void *pBlob; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pCertificate; + int32_t cbCertificate; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *localAddress; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *address; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nLocalVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityRemote; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int32_t nReason; + const char *pszDebug; + int8_t bEnableLinger; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + int64_t nUserData; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; + uint32_t hPeer; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params +{ + struct u_steam_iface *linux_side; + uint32_t hPeer; + const char *pszName; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPeer; + char *pszName; + int32_t nMaxLen; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + const void *pData; + uint32_t cbData; + int32_t nSendFlags; + int64_t *pOutMessageNumber; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params +{ + struct u_steam_iface *linux_side; + int32_t nMessages; + w_SteamNetworkingMessage_t_153a *const *pMessages; + int64_t *pOutMessageNumberOrResult; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + w_SteamNetworkingMessage_t_153a **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + SteamNetConnectionInfo_t_153a *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + SteamNetConnectionRealTimeStatus_t *pStatus; + int32_t nLanes; + SteamNetConnectionRealTimeLaneStatus_t *pLanes; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hConn; + char *pszBuf; + int32_t cbBuf; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hSocket; + SteamNetworkingIPAddr *address; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *pOutConnection1; + uint32_t *pOutConnection2; + int8_t bUseNetworkLoopback; + const SteamNetworkingIdentity_144 *pIdentity1; + const SteamNetworkingIdentity_144 *pIdentity2; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + int32_t nNumLanes; + const int32_t *pLanePriorities; + const uint16_t *pLaneWeights; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamNetAuthenticationStatus_t *pDetails; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t hConn; + uint32_t hPollGroup; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t hPollGroup; + w_SteamNetworkingMessage_t_153a **ppOutMessages; + int32_t nMaxMessages; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pvTicket; + int32_t cbTicket; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkingIdentity_144 *identityGameServer; + int32_t nRemoteVirtualPort; + SteamDatagramRelayAuthTicket *pOutParsedTicket; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIdentity_144 *identityTarget; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params +{ + struct u_steam_iface *linux_side; + uint16_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramHostedAddress *pRouting; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t nLocalVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamDatagramGameCoordinatorServerLogin *pLoginInfo; + int32_t *pcbSignedBlob; + void *pBlob; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void /*ISteamNetworkingConnectionSignaling*/ *pSignaling; + const SteamNetworkingIdentity_144 *pPeerIdentity; + int32_t nRemoteVirtualPort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pMsg; + int32_t cbMsg; + void /*ISteamNetworkingSignalingRecvContext*/ *pContext; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t *pcbBlob; + void *pBlob; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const void *pCertificate; + int32_t cbCertificate; + char (*errMsg)[1024]; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIdentity_144 *pIdentity; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nNumPorts; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params +{ + struct u_steam_iface *linux_side; + int32_t idxFirstPort; + SteamNetworkingFakeIPResult_t *pInfo; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int32_t idxFakePort; + int32_t nOptions; + const SteamNetworkingConfigValue_t *pOptions; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t hConn; + SteamNetworkingIPAddr *pOutAddr; +}; + +struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params +{ + struct u_steam_iface *linux_side; + void /*ISteamNetworkingFakeUDPPort*/ *_ret; + int32_t idxFakeServerPort; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDRemote; + uint32_t unConnectionIDSrc; + const void *pMsgRendezvous; + uint32_t cbRendezvous; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDRemote; + uint32_t unConnectionIDDest; + uint32_t nReason; + const char *pszReason; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params +{ + struct u_steam_iface *linux_side; + const void *pTicket; + uint32_t cbTicket; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t idxTicket; + void *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params +{ + struct u_steam_iface *linux_side; + const void *pMsg; + uint32_t cbMsg; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDRemote; + uint32_t unConnectionIDSrc; + const void *pMsgRendezvous; + uint32_t cbRendezvous; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDRemote; + uint32_t unConnectionIDDest; + uint32_t nReason; + const char *pszReason; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *buf; + uint32_t cbBuf; + const char *pszLauncherPartner; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params +{ + struct u_steam_iface *linux_side; + const void *pTicket; + uint32_t cbTicket; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t idxTicket; + void *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params +{ + struct u_steam_iface *linux_side; + const void *pMsg; + uint32_t cbMsg; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params +{ + struct u_steam_iface *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int32_t cchBufSize; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + float flMaxAgeSeconds; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; + uint32_t *pViaRelayPoP; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t *list; + int32_t nListSz; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params +{ + struct u_steam_iface *linux_side; + uint32_t eDetailLevel; + void (*W_STDCALL pfnFunc)(uint32_t, const char *); +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t eDataType; + const void *pArg; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t *pOutDataType; + void *pResult; + uint32_t *cbResult; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + const char **pOutName; + uint32_t *pOutDataType; + uint32_t *pOutScope; + uint32_t *pOutNextValue; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + uint32_t cbBuf; + int8_t bWithPort; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIdentity_144 *identity; + char *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamRelayNetworkStatus_t *pDetails; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params +{ + struct u_steam_iface *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int32_t cchBufSize; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + float flMaxAgeSeconds; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; + uint32_t *pViaRelayPoP; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t *list; + int32_t nListSz; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params +{ + struct u_steam_iface *linux_side; + uint32_t eDetailLevel; + void (*W_STDCALL pfnFunc)(uint32_t, const char *); +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t eDataType; + const void *pArg; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t *pOutDataType; + void *pResult; + uint32_t *cbResult; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + const char **pOutName; + uint32_t *pOutDataType; + uint32_t *pOutScope; + uint32_t *pOutNextValue; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + uint32_t cbBuf; + int8_t bWithPort; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIdentity_144 *identity; + char *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage_params +{ + struct u_steam_iface *linux_side; + w_SteamNetworkingMessage_t_147 *_ret; + int32_t cbAllocateBuffer; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamRelayNetworkStatus_t *pDetails; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params +{ + struct u_steam_iface *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int32_t cchBufSize; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + float flMaxAgeSeconds; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; + uint32_t *pViaRelayPoP; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t *list; + int32_t nListSz; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params +{ + struct u_steam_iface *linux_side; + uint32_t eDetailLevel; + void (*W_STDCALL pfnFunc)(uint32_t, const char *); +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t eDataType; + const void *pArg; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t *pOutDataType; + void *pResult; + uint32_t *cbResult; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + const char **pOutName; + uint32_t *pOutDataType; + uint32_t *pOutScope; + uint32_t *pOutNextValue; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + uint32_t cbBuf; + int8_t bWithPort; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIdentity_144 *identity; + char *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage_params +{ + struct u_steam_iface *linux_side; + w_SteamNetworkingMessage_t_153a *_ret; + int32_t cbAllocateBuffer; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + SteamRelayNetworkStatus_t *pDetails; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params +{ + struct u_steam_iface *linux_side; + float _ret; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *location1; + const SteamNetworkPingLocation_t *location2; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + const SteamNetworkPingLocation_t *remoteLocation; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkPingLocation_t *location; + char *pszBuf; + int32_t cchBufSize; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pszString; + SteamNetworkPingLocation_t *result; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + float flMaxAgeSeconds; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; + uint32_t *pViaRelayPoP; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t popID; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t *list; + int32_t nListSz; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params +{ + struct u_steam_iface *linux_side; + int64_t _ret; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params +{ + struct u_steam_iface *linux_side; + uint32_t eDetailLevel; + void (*W_STDCALL pfnFunc)(uint32_t, const char *); +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t nIPv4; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *fakeIP; + SteamNetworkingIdentity_144 *pOutRealIdentity; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t eDataType; + const void *pArg; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eValue; + uint32_t eScopeType; + int32_t scopeObj; + uint32_t *pOutDataType; + void *pResult; + uint32_t *cbResult; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params +{ + struct u_steam_iface *linux_side; + const char *_ret; + uint32_t eValue; + uint32_t *pOutDataType; + uint32_t *pOutScope; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eCurrent; + int8_t bEnumerateDevVars; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIPAddr *addr; + char *buf; + uint32_t cbBuf; + int8_t bWithPort; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIPAddr *pAddr; + const char *pszStr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const SteamNetworkingIPAddr *addr; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params +{ + struct u_steam_iface *linux_side; + const SteamNetworkingIdentity_144 *identity; + char *buf; + uint32_t cbBuf; +}; + +struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + SteamNetworkingIdentity_144 *pIdentity; + const char *pszStr; +}; + +struct ISteamParties_SteamParties002_GetNumActiveBeacons_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamParties_SteamParties002_GetBeaconByIndex_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unIndex; +}; + +struct ISteamParties_SteamParties002_GetBeaconDetails_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t ulBeaconID; + CSteamID *pSteamIDBeaconOwner; + w_SteamPartyBeaconLocation_t *pLocation; + char *pchMetadata; + int32_t cchMetadata; +}; + +struct ISteamParties_SteamParties002_JoinParty_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t ulBeaconID; +}; + +struct ISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *puNumLocations; +}; + +struct ISteamParties_SteamParties002_GetAvailableBeaconLocations_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + w_SteamPartyBeaconLocation_t *pLocationList; + uint32_t uMaxNumLocations; +}; + +struct ISteamParties_SteamParties002_CreateBeacon_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint32_t unOpenSlots; + w_SteamPartyBeaconLocation_t *pBeaconLocation; + const char *pchConnectString; + const char *pchMetadata; +}; + +struct ISteamParties_SteamParties002_OnReservationCompleted_params +{ + struct u_steam_iface *linux_side; + uint64_t ulBeacon; + CSteamID steamIDUser; +}; + +struct ISteamParties_SteamParties002_CancelReservation_params +{ + struct u_steam_iface *linux_side; + uint64_t ulBeacon; + CSteamID steamIDUser; +}; + +struct ISteamParties_SteamParties002_ChangeNumOpenSlots_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + uint64_t ulBeacon; + uint32_t unOpenSlots; +}; + +struct ISteamParties_SteamParties002_DestroyBeacon_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t ulBeacon; +}; + +struct ISteamParties_SteamParties002_GetBeaconLocationData_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + w_SteamPartyBeaconLocation_t BeaconLocation; + uint32_t eData; + char *pchDataStringOut; + int32_t cchDataStringOut; +}; + +struct ISteamUser_SteamUser004_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser004_LogOn_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser004_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser004_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser004_GetLogonState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser004_BConnected_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser004_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser004_IsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameID; +}; + +struct ISteamUser_SteamUser004_RequireShowVACBannedMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameID; +}; + +struct ISteamUser_SteamUser004_AcknowledgeVACBanning_params +{ + struct u_steam_iface *linux_side; + int32_t nGameID; +}; + +struct ISteamUser_SteamUser004_NClientGameIDAdd_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nGameID; +}; + +struct ISteamUser_SteamUser004_RemoveClientGame_params +{ + struct u_steam_iface *linux_side; + int32_t nClientGameID; +}; + +struct ISteamUser_SteamUser004_SetClientGameServer_params +{ + struct u_steam_iface *linux_side; + int32_t nClientGameID; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser004_SetSteam2Ticket_params +{ + struct u_steam_iface *linux_side; + uint8_t *pubTicket; + int32_t cubTicket; +}; + +struct ISteamUser_SteamUser004_AddServerNetAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t unPort; +}; + +struct ISteamUser_SteamUser004_SetEmail_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchEmail; +}; + +struct ISteamUser_SteamUser004_GetSteamGameConnectToken_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; +}; + +struct ISteamUser_SteamUser004_SetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUser_SteamUser004_GetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + char *pchValue; + int32_t cbValue; +}; + +struct ISteamUser_SteamUser004_SetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t iValue; +}; + +struct ISteamUser_SteamUser004_GetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t *piValue; +}; + +struct ISteamUser_SteamUser004_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; + CSteamID steamID; + int32_t nGameAppID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser004_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser004_IsPrimaryChatDestination_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser004_RequestLegacyCDKey_params +{ + struct u_steam_iface *linux_side; + uint32_t iAppID; +}; + +struct ISteamUser_SteamUser005_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser005_LogOn_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser005_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser005_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser005_GetLogonState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser005_BConnected_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser005_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser005_IsVACBanned_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nGameID; +}; + +struct ISteamUser_SteamUser005_RequireShowVACBannedMessage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t nAppID; +}; + +struct ISteamUser_SteamUser005_AcknowledgeVACBanning_params +{ + struct u_steam_iface *linux_side; + int32_t nAppID; +}; + +struct ISteamUser_SteamUser005_SetSteam2Ticket_params +{ + struct u_steam_iface *linux_side; + uint8_t *pubTicket; + int32_t cubTicket; +}; + +struct ISteamUser_SteamUser005_AddServerNetAddress_params +{ + struct u_steam_iface *linux_side; + uint32_t unIP; + uint16_t unPort; +}; + +struct ISteamUser_SteamUser005_SetEmail_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchEmail; +}; + +struct ISteamUser_SteamUser005_SetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUser_SteamUser005_GetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + char *pchValue; + int32_t cbValue; +}; + +struct ISteamUser_SteamUser005_SetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t iValue; +}; + +struct ISteamUser_SteamUser005_GetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t *piValue; +}; + +struct ISteamUser_SteamUser005_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser005_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser005_IsPrimaryChatDestination_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser005_RequestLegacyCDKey_params +{ + struct u_steam_iface *linux_side; + uint32_t nAppID; +}; + +struct ISteamUser_SteamUser005_SendGuestPassByEmail_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchEmailAccount; + uint64_t gidGuestPassID; + int8_t bResending; +}; + +struct ISteamUser_SteamUser005_SendGuestPassByAccountID_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t uAccountID; + uint64_t gidGuestPassID; + int8_t bResending; +}; + +struct ISteamUser_SteamUser005_AckGuestPass_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchGuestPassCode; +}; + +struct ISteamUser_SteamUser005_RedeemGuestPass_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchGuestPassCode; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToGiveCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToRedeemCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToGiveInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nPassIndex; + uint64_t *pgidGuestPassID; + uint32_t *pnPackageID; + uint32_t *pRTime32Created; + uint32_t *pRTime32Expiration; + uint32_t *pRTime32Sent; + uint32_t *pRTime32Redeemed; + char *pchRecipientAddress; + int32_t cRecipientAddressSize; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nPassIndex; + uint64_t *pgidGuestPassID; + uint32_t *pnPackageID; + uint32_t *pRTime32Created; + uint32_t *pRTime32Expiration; + uint32_t *pRTime32Sent; + uint32_t *pRTime32Redeemed; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nPassIndex; + char *pchSenderAddress; + int32_t cSenderAddressSize; +}; + +struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t nPassIndex; + char *pchSenderName; + int32_t cSenderNameSize; +}; + +struct ISteamUser_SteamUser005_AcknowledgeMessageByGID_params +{ + struct u_steam_iface *linux_side; + const char *pchMessageGID; +}; + +struct ISteamUser_SteamUser005_SetLanguage_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + const char *pchLanguage; +}; + +struct ISteamUser_SteamUser005_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser005_SetAccountName_params +{ + struct u_steam_iface *linux_side; + const char *pchAccountName; +}; + +struct ISteamUser_SteamUser005_SetPassword_params +{ + struct u_steam_iface *linux_side; + const char *pchPassword; +}; + +struct ISteamUser_SteamUser005_SetAccountCreationTime_params +{ + struct u_steam_iface *linux_side; + uint32_t rt; +}; + +struct ISteamUser_SteamUser006_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser006_LogOn_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser006_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser006_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser006_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser006_SetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUser_SteamUser006_GetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + char *pchValue; + int32_t cbValue; +}; + +struct ISteamUser_SteamUser006_SetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t iValue; +}; + +struct ISteamUser_SteamUser006_GetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t *piValue; +}; + +struct ISteamUser_SteamUser006_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser006_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser006_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser007_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser007_LogOn_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser007_LogOff_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser007_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser007_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser007_SetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + const char *pchValue; +}; + +struct ISteamUser_SteamUser007_GetRegistryString_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + char *pchValue; + int32_t cbValue; +}; + +struct ISteamUser_SteamUser007_SetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t iValue; +}; + +struct ISteamUser_SteamUser007_GetRegistryInt_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eRegistrySubTree; + const char *pchKey; + int32_t *piValue; +}; + +struct ISteamUser_SteamUser007_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; + void *pvSteam2GetEncryptionKey; + int32_t cbSteam2GetEncryptionKey; +}; + +struct ISteamUser_SteamUser007_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser007_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser007_RefreshSteam2Login_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser008_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser008_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser008_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser008_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pBlob; + int32_t cbMaxBlob; + CSteamID steamID; + CGameID gameID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; + void *pvSteam2GetEncryptionKey; + int32_t cbSteam2GetEncryptionKey; +}; + +struct ISteamUser_SteamUser008_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser008_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser008_RefreshSteam2Login_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser009_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser009_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser009_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser009_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + CGameID gameID; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser009_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser009_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser009_RefreshSteam2Login_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser010_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser010_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser010_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser010_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser010_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser010_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser011_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser011_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser011_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser011_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser011_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser011_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser011_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser011_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser011_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser011_GetCompressedVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser011_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser012_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser012_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser012_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser012_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser012_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser012_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser012_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser012_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser012_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser012_GetCompressedVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser012_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser012_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser012_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser012_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser012_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser012_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser013_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser013_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser013_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser013_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser013_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser013_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser013_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser013_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser013_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser013_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; +}; + +struct ISteamUser_SteamUser013_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; +}; + +struct ISteamUser_SteamUser013_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser013_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser013_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser013_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser013_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser013_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser014_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser014_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser014_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser014_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser014_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser014_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser014_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser014_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser014_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser014_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; +}; + +struct ISteamUser_SteamUser014_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; +}; + +struct ISteamUser_SteamUser014_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; +}; + +struct ISteamUser_SteamUser014_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser014_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser014_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser014_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser014_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser014_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser014_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser014_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser014_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser015_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser015_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser015_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser015_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser015_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser015_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser015_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser015_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser015_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser015_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; +}; + +struct ISteamUser_SteamUser015_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; +}; + +struct ISteamUser_SteamUser015_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser015_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser015_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser015_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser015_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser015_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser015_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser015_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser016_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser016_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser016_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser016_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser016_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser016_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser016_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser016_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser016_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser016_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser016_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser016_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser016_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser016_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser016_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser016_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser016_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser016_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser016_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser016_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser016_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser017_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser017_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser017_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser017_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser017_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser017_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser017_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser017_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser017_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser017_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser017_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser017_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser017_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser017_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser017_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser017_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser017_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser017_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser017_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser017_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser017_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser017_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser017_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser018_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser018_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser018_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser018_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser018_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser018_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser018_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser018_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser018_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser018_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser018_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed; + void *pUncompressedDestBuffer; + uint32_t cbUncompressedDestBufferSize; + uint32_t *nUncompressBytesWritten; + uint32_t nUncompressedVoiceDesiredSampleRate; +}; + +struct ISteamUser_SteamUser018_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser018_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser018_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser018_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser018_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser018_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser018_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser018_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser018_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser018_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser018_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser018_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser018_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser019_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser019_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser019_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser019_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser019_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser019_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser019_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser019_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser019_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser019_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser019_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32_t cbUncompressedDestBufferSize_Deprecated; + uint32_t *nUncompressBytesWritten_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser019_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser019_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser019_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser019_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser019_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser019_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser019_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser019_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser019_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser019_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser019_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser019_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser019_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser019_BIsPhoneVerified_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser019_BIsTwoFactorEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser019_BIsPhoneIdentifying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser019_BIsPhoneRequiringVerification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser020_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser020_InitiateGameConnection_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser020_TerminateGameConnection_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser020_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser020_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser020_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser020_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser020_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser020_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32_t cbUncompressedDestBufferSize_Deprecated; + uint32_t *nUncompressBytesWritten_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser020_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser020_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser020_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser020_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser020_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser020_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser020_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser020_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser020_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser020_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser020_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser020_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser020_BIsPhoneVerified_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_BIsTwoFactorEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_BIsPhoneIdentifying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_BIsPhoneRequiringVerification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser020_GetMarketEligibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser020_GetDurationControl_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser021_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser021_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser021_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser021_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser021_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser021_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser021_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser021_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32_t cbUncompressedDestBufferSize_Deprecated; + uint32_t *nUncompressBytesWritten_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser021_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser021_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser021_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser021_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser021_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser021_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser021_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser021_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser021_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser021_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser021_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser021_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser021_BIsPhoneVerified_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_BIsTwoFactorEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_BIsPhoneIdentifying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_BIsPhoneRequiringVerification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser021_GetMarketEligibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser021_GetDurationControl_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser021_BSetDurationControlOnlineState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eNewState; +}; + +struct ISteamUser_SteamUser022_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser022_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser022_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser022_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser022_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser022_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser022_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser022_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32_t cbUncompressedDestBufferSize_Deprecated; + uint32_t *nUncompressBytesWritten_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser022_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser022_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; + const SteamNetworkingIdentity_144 *pSteamNetworkingIdentity; +}; + +struct ISteamUser_SteamUser022_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser022_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser022_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser022_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser022_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser022_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser022_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser022_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser022_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser022_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser022_BIsPhoneVerified_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_BIsTwoFactorEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_BIsPhoneIdentifying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_BIsPhoneRequiringVerification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser022_GetMarketEligibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser022_GetDurationControl_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser022_BSetDurationControlOnlineState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eNewState; +}; + +struct ISteamUser_SteamUser023_GetHSteamUser_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser023_BLoggedOn_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_GetSteamID_params +{ + struct u_steam_iface *linux_side; + CSteamID *_ret; +}; + +struct ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + void *pAuthBlob; + int32_t cbMaxAuthBlob; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; + int8_t bSecure; +}; + +struct ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params +{ + struct u_steam_iface *linux_side; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser023_TrackAppUsageEvent_params +{ + struct u_steam_iface *linux_side; + CGameID gameID; + int32_t eAppUsageEvent; + const char *pchExtraInfo; +}; + +struct ISteamUser_SteamUser023_GetUserDataFolder_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchBuffer; + int32_t cubBuffer; +}; + +struct ISteamUser_SteamUser023_StartVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser023_StopVoiceRecording_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUser_SteamUser023_GetAvailableVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t *pcbCompressed; + uint32_t *pcbUncompressed_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser023_GetVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + int8_t bWantCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + int8_t bWantUncompressed_Deprecated; + void *pUncompressedDestBuffer_Deprecated; + uint32_t cbUncompressedDestBufferSize_Deprecated; + uint32_t *nUncompressBytesWritten_Deprecated; + uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated; +}; + +struct ISteamUser_SteamUser023_DecompressVoice_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pCompressed; + uint32_t cbCompressed; + void *pDestBuffer; + uint32_t cbDestBufferSize; + uint32_t *nBytesWritten; + uint32_t nDesiredSampleRate; +}; + +struct ISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUser_SteamUser023_GetAuthSessionTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; + const SteamNetworkingIdentity_144 *pSteamNetworkingIdentity; +}; + +struct ISteamUser_SteamUser023_GetAuthTicketForWebApi_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const char *pchIdentity; +}; + +struct ISteamUser_SteamUser023_BeginAuthSession_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + const void *pAuthTicket; + int32_t cbAuthTicket; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser023_EndAuthSession_params +{ + struct u_steam_iface *linux_side; + CSteamID steamID; +}; + +struct ISteamUser_SteamUser023_CancelAuthTicket_params +{ + struct u_steam_iface *linux_side; + uint32_t hAuthTicket; +}; + +struct ISteamUser_SteamUser023_UserHasLicenseForApp_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + CSteamID steamID; + uint32_t appID; +}; + +struct ISteamUser_SteamUser023_BIsBehindNAT_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_AdvertiseGame_params +{ + struct u_steam_iface *linux_side; + CSteamID steamIDGameServer; + uint32_t unIPServer; + uint16_t usPortServer; +}; + +struct ISteamUser_SteamUser023_RequestEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + void *pDataToInclude; + int32_t cbDataToInclude; +}; + +struct ISteamUser_SteamUser023_GetEncryptedAppTicket_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + void *pTicket; + int32_t cbMaxTicket; + uint32_t *pcbTicket; +}; + +struct ISteamUser_SteamUser023_GetGameBadgeLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + int32_t nSeries; + int8_t bFoil; +}; + +struct ISteamUser_SteamUser023_GetPlayerSteamLevel_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; +}; + +struct ISteamUser_SteamUser023_RequestStoreAuthURL_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *pchRedirectURL; +}; + +struct ISteamUser_SteamUser023_BIsPhoneVerified_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_BIsTwoFactorEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_BIsPhoneIdentifying_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_BIsPhoneRequiringVerification_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUser_SteamUser023_GetMarketEligibility_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser023_GetDurationControl_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; +}; + +struct ISteamUser_SteamUser023_BSetDurationControlOnlineState_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eNewState; +}; + +struct ISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils002_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils002_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils002_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils002_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils002_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils002_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils002_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils002_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils002_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils002_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils002_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils004_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils004_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils004_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils004_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils004_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils004_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils004_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils004_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils004_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils004_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils004_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils004_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils005_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils005_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils005_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils005_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils005_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils005_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils005_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; +}; + +struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils006_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils006_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils006_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils006_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils006_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils006_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils006_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils006_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils006_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils006_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils006_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils006_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils006_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; +}; + +struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils006_GetSteamUILanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils006_IsSteamRunningInVR_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils007_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils007_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils007_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils007_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils007_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils007_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils007_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils007_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils007_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils007_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils007_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils007_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils007_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; +}; + +struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils007_GetSteamUILanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils007_IsSteamRunningInVR_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils007_SetOverlayNotificationInset_params +{ + struct u_steam_iface *linux_side; + int32_t nHorizontalInset; + int32_t nVerticalInset; +}; + +struct ISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils008_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils008_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils008_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils008_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils008_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils008_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils008_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils008_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils008_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils008_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils008_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils008_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils008_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; +}; + +struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils008_GetSteamUILanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils008_IsSteamRunningInVR_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils008_SetOverlayNotificationInset_params +{ + struct u_steam_iface *linux_side; + int32_t nHorizontalInset; + int32_t nVerticalInset; +}; + +struct ISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils008_StartVRDashboard_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils009_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils009_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils009_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils009_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils009_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils009_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils009_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils009_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils009_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils009_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils009_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; +}; + +struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils009_GetSteamUILanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils009_IsSteamRunningInVR_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_SetOverlayNotificationInset_params +{ + struct u_steam_iface *linux_side; + int32_t nHorizontalInset; + int32_t nVerticalInset; +}; + +struct ISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_StartVRDashboard_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamUtils_SteamUtils009_IsSteamChinaLauncher_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_InitFilterText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils009_FilterText_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + char *pchOutFilteredText; + uint32_t nByteSizeOutFilteredText; + const char *pchInputMessage; + int8_t bLegalOnly; +}; + +struct ISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eProtocol; +}; + +struct ISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetConnectedUniverse_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetServerRealTime_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetIPCountry_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils010_GetImageSize_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct ISteamUtils_SteamUtils010_GetImageRGBA_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + int32_t iImage; + uint8_t *pubDest; + int32_t nDestBufferSize; +}; + +struct ISteamUtils_SteamUtils010_GetCSERIPPort_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t *unIP; + uint16_t *usPort; +}; + +struct ISteamUtils_SteamUtils010_GetCurrentBatteryPower_params +{ + struct u_steam_iface *linux_side; + uint8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetAppID_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params +{ + struct u_steam_iface *linux_side; + uint32_t eNotificationPosition; +}; + +struct ISteamUtils_SteamUtils010_IsAPICallCompleted_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils010_GetAPICallFailureReason_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint64_t hSteamAPICall; +}; + +struct ISteamUtils_SteamUtils010_GetAPICallResult_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint64_t hSteamAPICall; + void *pCallback; + int32_t cubCallback; + int32_t iCallbackExpected; + int8_t *pbFailed; +}; + +struct ISteamUtils_SteamUtils010_RunFrame_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils010_GetIPCCallCount_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_SetWarningMessageHook_params +{ + struct u_steam_iface *linux_side; + void (*W_CDECL pFunction)(int32_t, const char *); +}; + +struct ISteamUtils_SteamUtils010_IsOverlayEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_BOverlayNeedsPresent_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_CheckFileSignature_params +{ + struct u_steam_iface *linux_side; + uint64_t _ret; + const char *szFileName; +}; + +struct ISteamUtils_SteamUtils010_ShowGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; +}; + +struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; +}; + +struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct ISteamUtils_SteamUtils010_GetSteamUILanguage_params +{ + struct u_steam_iface *linux_side; + const char *_ret; +}; + +struct ISteamUtils_SteamUtils010_IsSteamRunningInVR_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_SetOverlayNotificationInset_params +{ + struct u_steam_iface *linux_side; + int32_t nHorizontalInset; + int32_t nVerticalInset; +}; + +struct ISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_StartVRDashboard_params +{ + struct u_steam_iface *linux_side; +}; + +struct ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params +{ + struct u_steam_iface *linux_side; + int8_t bEnabled; +}; + +struct ISteamUtils_SteamUtils010_IsSteamChinaLauncher_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_InitFilterText_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t unFilterOptions; +}; + +struct ISteamUtils_SteamUtils010_FilterText_params +{ + struct u_steam_iface *linux_side; + int32_t _ret; + uint32_t eContext; + CSteamID sourceSteamID; + const char *pchInputMessage; + char *pchOutFilteredText; + uint32_t nByteSizeOutFilteredText; +}; + +struct ISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params +{ + struct u_steam_iface *linux_side; + uint32_t _ret; + uint32_t eProtocol; +}; + +struct ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +struct ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; + uint32_t eKeyboardMode; + int32_t nTextFieldXPosition; + int32_t nTextFieldYPosition; + int32_t nTextFieldWidth; + int32_t nTextFieldHeight; +}; + +struct ISteamUtils_SteamUtils010_SetGameLauncherMode_params +{ + struct u_steam_iface *linux_side; + int8_t bLauncherMode; +}; + +struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params +{ + struct u_steam_iface *linux_side; + int8_t _ret; +}; + +#include + +enum unix_funcs +{ + unix_steamclient_init, + unix_steamclient_next_callback, + unix_steamclient_CreateInterface, + unix_steamclient_Steam_GetAPICallResult, + unix_steamclient_Steam_BGetCallback, + unix_steamclient_callback_message_receive, + unix_steamclient_Steam_FreeLastCallback, + unix_steamclient_Steam_ReleaseThreadLocalMemory, + unix_steamclient_Steam_IsKnownInterface, + unix_steamclient_Steam_NotifyMissingInterface, + unix_steamclient_networking_messages_receive_144, + unix_steamclient_networking_messages_receive_147, + unix_steamclient_networking_messages_receive_153a, + unix_steamclient_networking_message_release_147, + unix_steamclient_networking_message_release_153a, + unix_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps, + unix_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, + unix_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, + unix_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, + unix_ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial, + unix_ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext, + unix_ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, + unix_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse, + unix_ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, + unix_ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties, + unix_ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry, + unix_ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume, + unix_ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked, + unix_ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether, + unix_ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, + unix_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, + unix_ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus, + unix_ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences, + unix_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod, + unix_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo, + unix_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData, + unix_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod, + unix_ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, + unix_ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings, + unix_ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp, + unix_ISteamClient_SteamClient006_CreateSteamPipe, + unix_ISteamClient_SteamClient006_BReleaseSteamPipe, + unix_ISteamClient_SteamClient006_CreateGlobalUser, + unix_ISteamClient_SteamClient006_ConnectToGlobalUser, + unix_ISteamClient_SteamClient006_CreateLocalUser, + unix_ISteamClient_SteamClient006_ReleaseUser, + unix_ISteamClient_SteamClient006_GetISteamUser, + unix_ISteamClient_SteamClient006_GetIVAC, + unix_ISteamClient_SteamClient006_GetISteamGameServer, + unix_ISteamClient_SteamClient006_SetLocalIPBinding, + unix_ISteamClient_SteamClient006_GetUniverseName, + unix_ISteamClient_SteamClient006_GetISteamFriends, + unix_ISteamClient_SteamClient006_GetISteamUtils, + unix_ISteamClient_SteamClient006_GetISteamBilling, + unix_ISteamClient_SteamClient006_GetISteamMatchmaking, + unix_ISteamClient_SteamClient006_GetISteamApps, + unix_ISteamClient_SteamClient006_GetISteamContentServer, + unix_ISteamClient_SteamClient006_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient006_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient006_RunFrame, + unix_ISteamClient_SteamClient006_GetIPCCallCount, + unix_ISteamClient_SteamClient007_CreateSteamPipe, + unix_ISteamClient_SteamClient007_BReleaseSteamPipe, + unix_ISteamClient_SteamClient007_ConnectToGlobalUser, + unix_ISteamClient_SteamClient007_CreateLocalUser, + unix_ISteamClient_SteamClient007_ReleaseUser, + unix_ISteamClient_SteamClient007_GetISteamUser, + unix_ISteamClient_SteamClient007_GetISteamGameServer, + unix_ISteamClient_SteamClient007_SetLocalIPBinding, + unix_ISteamClient_SteamClient007_GetISteamFriends, + unix_ISteamClient_SteamClient007_GetISteamUtils, + unix_ISteamClient_SteamClient007_GetISteamMatchmaking, + unix_ISteamClient_SteamClient007_GetISteamContentServer, + unix_ISteamClient_SteamClient007_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient007_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient007_GetISteamGenericInterface, + unix_ISteamClient_SteamClient007_RunFrame, + unix_ISteamClient_SteamClient007_GetIPCCallCount, + unix_ISteamClient_SteamClient007_GetISteamUserStats, + unix_ISteamClient_SteamClient007_GetISteamApps, + unix_ISteamClient_SteamClient007_GetISteamNetworking, + unix_ISteamClient_SteamClient007_SetWarningMessageHook, + unix_ISteamClient_SteamClient007_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient008_CreateSteamPipe, + unix_ISteamClient_SteamClient008_BReleaseSteamPipe, + unix_ISteamClient_SteamClient008_ConnectToGlobalUser, + unix_ISteamClient_SteamClient008_CreateLocalUser, + unix_ISteamClient_SteamClient008_ReleaseUser, + unix_ISteamClient_SteamClient008_GetISteamUser, + unix_ISteamClient_SteamClient008_GetISteamGameServer, + unix_ISteamClient_SteamClient008_SetLocalIPBinding, + unix_ISteamClient_SteamClient008_GetISteamFriends, + unix_ISteamClient_SteamClient008_GetISteamUtils, + unix_ISteamClient_SteamClient008_GetISteamMatchmaking, + unix_ISteamClient_SteamClient008_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient008_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient008_GetISteamGenericInterface, + unix_ISteamClient_SteamClient008_GetISteamUserStats, + unix_ISteamClient_SteamClient008_GetISteamApps, + unix_ISteamClient_SteamClient008_GetISteamNetworking, + unix_ISteamClient_SteamClient008_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient008_RunFrame, + unix_ISteamClient_SteamClient008_GetIPCCallCount, + unix_ISteamClient_SteamClient008_SetWarningMessageHook, + unix_ISteamClient_SteamClient009_CreateSteamPipe, + unix_ISteamClient_SteamClient009_BReleaseSteamPipe, + unix_ISteamClient_SteamClient009_ConnectToGlobalUser, + unix_ISteamClient_SteamClient009_CreateLocalUser, + unix_ISteamClient_SteamClient009_ReleaseUser, + unix_ISteamClient_SteamClient009_GetISteamUser, + unix_ISteamClient_SteamClient009_GetISteamGameServer, + unix_ISteamClient_SteamClient009_SetLocalIPBinding, + unix_ISteamClient_SteamClient009_GetISteamFriends, + unix_ISteamClient_SteamClient009_GetISteamUtils, + unix_ISteamClient_SteamClient009_GetISteamMatchmaking, + unix_ISteamClient_SteamClient009_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient009_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient009_GetISteamGenericInterface, + unix_ISteamClient_SteamClient009_GetISteamUserStats, + unix_ISteamClient_SteamClient009_GetISteamGameServerStats, + unix_ISteamClient_SteamClient009_GetISteamApps, + unix_ISteamClient_SteamClient009_GetISteamNetworking, + unix_ISteamClient_SteamClient009_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient009_RunFrame, + unix_ISteamClient_SteamClient009_GetIPCCallCount, + unix_ISteamClient_SteamClient009_SetWarningMessageHook, + unix_ISteamClient_SteamClient010_CreateSteamPipe, + unix_ISteamClient_SteamClient010_BReleaseSteamPipe, + unix_ISteamClient_SteamClient010_ConnectToGlobalUser, + unix_ISteamClient_SteamClient010_CreateLocalUser, + unix_ISteamClient_SteamClient010_ReleaseUser, + unix_ISteamClient_SteamClient010_GetISteamUser, + unix_ISteamClient_SteamClient010_GetISteamGameServer, + unix_ISteamClient_SteamClient010_SetLocalIPBinding, + unix_ISteamClient_SteamClient010_GetISteamFriends, + unix_ISteamClient_SteamClient010_GetISteamUtils, + unix_ISteamClient_SteamClient010_GetISteamMatchmaking, + unix_ISteamClient_SteamClient010_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient010_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient010_GetISteamGenericInterface, + unix_ISteamClient_SteamClient010_GetISteamUserStats, + unix_ISteamClient_SteamClient010_GetISteamGameServerStats, + unix_ISteamClient_SteamClient010_GetISteamApps, + unix_ISteamClient_SteamClient010_GetISteamNetworking, + unix_ISteamClient_SteamClient010_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient010_RunFrame, + unix_ISteamClient_SteamClient010_GetIPCCallCount, + unix_ISteamClient_SteamClient010_SetWarningMessageHook, + unix_ISteamClient_SteamClient010_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient010_GetISteamHTTP, + unix_ISteamClient_SteamClient011_CreateSteamPipe, + unix_ISteamClient_SteamClient011_BReleaseSteamPipe, + unix_ISteamClient_SteamClient011_ConnectToGlobalUser, + unix_ISteamClient_SteamClient011_CreateLocalUser, + unix_ISteamClient_SteamClient011_ReleaseUser, + unix_ISteamClient_SteamClient011_GetISteamUser, + unix_ISteamClient_SteamClient011_GetISteamGameServer, + unix_ISteamClient_SteamClient011_SetLocalIPBinding, + unix_ISteamClient_SteamClient011_GetISteamFriends, + unix_ISteamClient_SteamClient011_GetISteamUtils, + unix_ISteamClient_SteamClient011_GetISteamMatchmaking, + unix_ISteamClient_SteamClient011_GetISteamMasterServerUpdater, + unix_ISteamClient_SteamClient011_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient011_GetISteamGenericInterface, + unix_ISteamClient_SteamClient011_GetISteamUserStats, + unix_ISteamClient_SteamClient011_GetISteamGameServerStats, + unix_ISteamClient_SteamClient011_GetISteamApps, + unix_ISteamClient_SteamClient011_GetISteamNetworking, + unix_ISteamClient_SteamClient011_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient011_GetISteamScreenshots, + unix_ISteamClient_SteamClient011_RunFrame, + unix_ISteamClient_SteamClient011_GetIPCCallCount, + unix_ISteamClient_SteamClient011_SetWarningMessageHook, + unix_ISteamClient_SteamClient011_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient011_GetISteamHTTP, + unix_ISteamClient_SteamClient012_CreateSteamPipe, + unix_ISteamClient_SteamClient012_BReleaseSteamPipe, + unix_ISteamClient_SteamClient012_ConnectToGlobalUser, + unix_ISteamClient_SteamClient012_CreateLocalUser, + unix_ISteamClient_SteamClient012_ReleaseUser, + unix_ISteamClient_SteamClient012_GetISteamUser, + unix_ISteamClient_SteamClient012_GetISteamGameServer, + unix_ISteamClient_SteamClient012_SetLocalIPBinding, + unix_ISteamClient_SteamClient012_GetISteamFriends, + unix_ISteamClient_SteamClient012_GetISteamUtils, + unix_ISteamClient_SteamClient012_GetISteamMatchmaking, + unix_ISteamClient_SteamClient012_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient012_GetISteamGenericInterface, + unix_ISteamClient_SteamClient012_GetISteamUserStats, + unix_ISteamClient_SteamClient012_GetISteamGameServerStats, + unix_ISteamClient_SteamClient012_GetISteamApps, + unix_ISteamClient_SteamClient012_GetISteamNetworking, + unix_ISteamClient_SteamClient012_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient012_GetISteamScreenshots, + unix_ISteamClient_SteamClient012_RunFrame, + unix_ISteamClient_SteamClient012_GetIPCCallCount, + unix_ISteamClient_SteamClient012_SetWarningMessageHook, + unix_ISteamClient_SteamClient012_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient012_GetISteamHTTP, + unix_ISteamClient_SteamClient012_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient012_GetISteamController, + unix_ISteamClient_SteamClient012_GetISteamUGC, + unix_ISteamClient_SteamClient013_CreateSteamPipe, + unix_ISteamClient_SteamClient013_BReleaseSteamPipe, + unix_ISteamClient_SteamClient013_ConnectToGlobalUser, + unix_ISteamClient_SteamClient013_CreateLocalUser, + unix_ISteamClient_SteamClient013_ReleaseUser, + unix_ISteamClient_SteamClient013_GetISteamUser, + unix_ISteamClient_SteamClient013_GetISteamGameServer, + unix_ISteamClient_SteamClient013_SetLocalIPBinding, + unix_ISteamClient_SteamClient013_GetISteamFriends, + unix_ISteamClient_SteamClient013_GetISteamUtils, + unix_ISteamClient_SteamClient013_GetISteamMatchmaking, + unix_ISteamClient_SteamClient013_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient013_GetISteamGenericInterface, + unix_ISteamClient_SteamClient013_GetISteamUserStats, + unix_ISteamClient_SteamClient013_GetISteamGameServerStats, + unix_ISteamClient_SteamClient013_GetISteamApps, + unix_ISteamClient_SteamClient013_GetISteamNetworking, + unix_ISteamClient_SteamClient013_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient013_GetISteamScreenshots, + unix_ISteamClient_SteamClient013_RunFrame, + unix_ISteamClient_SteamClient013_GetIPCCallCount, + unix_ISteamClient_SteamClient013_SetWarningMessageHook, + unix_ISteamClient_SteamClient013_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient013_GetISteamHTTP, + unix_ISteamClient_SteamClient013_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient013_GetISteamController, + unix_ISteamClient_SteamClient013_GetISteamUGC, + unix_ISteamClient_SteamClient013_GetISteamInventory, + unix_ISteamClient_SteamClient013_GetISteamVideo, + unix_ISteamClient_SteamClient013_GetISteamAppList, + unix_ISteamClient_SteamClient014_CreateSteamPipe, + unix_ISteamClient_SteamClient014_BReleaseSteamPipe, + unix_ISteamClient_SteamClient014_ConnectToGlobalUser, + unix_ISteamClient_SteamClient014_CreateLocalUser, + unix_ISteamClient_SteamClient014_ReleaseUser, + unix_ISteamClient_SteamClient014_GetISteamUser, + unix_ISteamClient_SteamClient014_GetISteamGameServer, + unix_ISteamClient_SteamClient014_SetLocalIPBinding, + unix_ISteamClient_SteamClient014_GetISteamFriends, + unix_ISteamClient_SteamClient014_GetISteamUtils, + unix_ISteamClient_SteamClient014_GetISteamMatchmaking, + unix_ISteamClient_SteamClient014_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient014_GetISteamGenericInterface, + unix_ISteamClient_SteamClient014_GetISteamUserStats, + unix_ISteamClient_SteamClient014_GetISteamGameServerStats, + unix_ISteamClient_SteamClient014_GetISteamApps, + unix_ISteamClient_SteamClient014_GetISteamNetworking, + unix_ISteamClient_SteamClient014_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient014_GetISteamScreenshots, + unix_ISteamClient_SteamClient014_RunFrame, + unix_ISteamClient_SteamClient014_GetIPCCallCount, + unix_ISteamClient_SteamClient014_SetWarningMessageHook, + unix_ISteamClient_SteamClient014_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient014_GetISteamHTTP, + unix_ISteamClient_SteamClient014_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient014_GetISteamController, + unix_ISteamClient_SteamClient014_GetISteamUGC, + unix_ISteamClient_SteamClient014_GetISteamAppList, + unix_ISteamClient_SteamClient014_GetISteamMusic, + unix_ISteamClient_SteamClient015_CreateSteamPipe, + unix_ISteamClient_SteamClient015_BReleaseSteamPipe, + unix_ISteamClient_SteamClient015_ConnectToGlobalUser, + unix_ISteamClient_SteamClient015_CreateLocalUser, + unix_ISteamClient_SteamClient015_ReleaseUser, + unix_ISteamClient_SteamClient015_GetISteamUser, + unix_ISteamClient_SteamClient015_GetISteamGameServer, + unix_ISteamClient_SteamClient015_SetLocalIPBinding, + unix_ISteamClient_SteamClient015_GetISteamFriends, + unix_ISteamClient_SteamClient015_GetISteamUtils, + unix_ISteamClient_SteamClient015_GetISteamMatchmaking, + unix_ISteamClient_SteamClient015_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient015_GetISteamGenericInterface, + unix_ISteamClient_SteamClient015_GetISteamUserStats, + unix_ISteamClient_SteamClient015_GetISteamGameServerStats, + unix_ISteamClient_SteamClient015_GetISteamApps, + unix_ISteamClient_SteamClient015_GetISteamNetworking, + unix_ISteamClient_SteamClient015_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient015_GetISteamScreenshots, + unix_ISteamClient_SteamClient015_RunFrame, + unix_ISteamClient_SteamClient015_GetIPCCallCount, + unix_ISteamClient_SteamClient015_SetWarningMessageHook, + unix_ISteamClient_SteamClient015_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient015_GetISteamHTTP, + unix_ISteamClient_SteamClient015_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient015_GetISteamController, + unix_ISteamClient_SteamClient015_GetISteamUGC, + unix_ISteamClient_SteamClient015_GetISteamAppList, + unix_ISteamClient_SteamClient015_GetISteamMusic, + unix_ISteamClient_SteamClient015_GetISteamMusicRemote, + unix_ISteamClient_SteamClient016_CreateSteamPipe, + unix_ISteamClient_SteamClient016_BReleaseSteamPipe, + unix_ISteamClient_SteamClient016_ConnectToGlobalUser, + unix_ISteamClient_SteamClient016_CreateLocalUser, + unix_ISteamClient_SteamClient016_ReleaseUser, + unix_ISteamClient_SteamClient016_GetISteamUser, + unix_ISteamClient_SteamClient016_GetISteamGameServer, + unix_ISteamClient_SteamClient016_SetLocalIPBinding, + unix_ISteamClient_SteamClient016_GetISteamFriends, + unix_ISteamClient_SteamClient016_GetISteamUtils, + unix_ISteamClient_SteamClient016_GetISteamMatchmaking, + unix_ISteamClient_SteamClient016_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient016_GetISteamGenericInterface, + unix_ISteamClient_SteamClient016_GetISteamUserStats, + unix_ISteamClient_SteamClient016_GetISteamGameServerStats, + unix_ISteamClient_SteamClient016_GetISteamApps, + unix_ISteamClient_SteamClient016_GetISteamNetworking, + unix_ISteamClient_SteamClient016_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient016_GetISteamScreenshots, + unix_ISteamClient_SteamClient016_RunFrame, + unix_ISteamClient_SteamClient016_GetIPCCallCount, + unix_ISteamClient_SteamClient016_SetWarningMessageHook, + unix_ISteamClient_SteamClient016_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient016_GetISteamHTTP, + unix_ISteamClient_SteamClient016_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient016_GetISteamController, + unix_ISteamClient_SteamClient016_GetISteamUGC, + unix_ISteamClient_SteamClient016_GetISteamAppList, + unix_ISteamClient_SteamClient016_GetISteamMusic, + unix_ISteamClient_SteamClient016_GetISteamMusicRemote, + unix_ISteamClient_SteamClient016_GetISteamHTMLSurface, + unix_ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + unix_ISteamClient_SteamClient017_CreateSteamPipe, + unix_ISteamClient_SteamClient017_BReleaseSteamPipe, + unix_ISteamClient_SteamClient017_ConnectToGlobalUser, + unix_ISteamClient_SteamClient017_CreateLocalUser, + unix_ISteamClient_SteamClient017_ReleaseUser, + unix_ISteamClient_SteamClient017_GetISteamUser, + unix_ISteamClient_SteamClient017_GetISteamGameServer, + unix_ISteamClient_SteamClient017_SetLocalIPBinding, + unix_ISteamClient_SteamClient017_GetISteamFriends, + unix_ISteamClient_SteamClient017_GetISteamUtils, + unix_ISteamClient_SteamClient017_GetISteamMatchmaking, + unix_ISteamClient_SteamClient017_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient017_GetISteamGenericInterface, + unix_ISteamClient_SteamClient017_GetISteamUserStats, + unix_ISteamClient_SteamClient017_GetISteamGameServerStats, + unix_ISteamClient_SteamClient017_GetISteamApps, + unix_ISteamClient_SteamClient017_GetISteamNetworking, + unix_ISteamClient_SteamClient017_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient017_GetISteamScreenshots, + unix_ISteamClient_SteamClient017_RunFrame, + unix_ISteamClient_SteamClient017_GetIPCCallCount, + unix_ISteamClient_SteamClient017_SetWarningMessageHook, + unix_ISteamClient_SteamClient017_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient017_GetISteamHTTP, + unix_ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient017_GetISteamController, + unix_ISteamClient_SteamClient017_GetISteamUGC, + unix_ISteamClient_SteamClient017_GetISteamAppList, + unix_ISteamClient_SteamClient017_GetISteamMusic, + unix_ISteamClient_SteamClient017_GetISteamMusicRemote, + unix_ISteamClient_SteamClient017_GetISteamHTMLSurface, + unix_ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + unix_ISteamClient_SteamClient017_GetISteamInventory, + unix_ISteamClient_SteamClient017_GetISteamVideo, + unix_ISteamClient_SteamClient017_GetISteamParentalSettings, + unix_ISteamClient_SteamClient018_CreateSteamPipe, + unix_ISteamClient_SteamClient018_BReleaseSteamPipe, + unix_ISteamClient_SteamClient018_ConnectToGlobalUser, + unix_ISteamClient_SteamClient018_CreateLocalUser, + unix_ISteamClient_SteamClient018_ReleaseUser, + unix_ISteamClient_SteamClient018_GetISteamUser, + unix_ISteamClient_SteamClient018_GetISteamGameServer, + unix_ISteamClient_SteamClient018_SetLocalIPBinding, + unix_ISteamClient_SteamClient018_GetISteamFriends, + unix_ISteamClient_SteamClient018_GetISteamUtils, + unix_ISteamClient_SteamClient018_GetISteamMatchmaking, + unix_ISteamClient_SteamClient018_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient018_GetISteamGenericInterface, + unix_ISteamClient_SteamClient018_GetISteamUserStats, + unix_ISteamClient_SteamClient018_GetISteamGameServerStats, + unix_ISteamClient_SteamClient018_GetISteamApps, + unix_ISteamClient_SteamClient018_GetISteamNetworking, + unix_ISteamClient_SteamClient018_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient018_GetISteamScreenshots, + unix_ISteamClient_SteamClient018_GetISteamGameSearch, + unix_ISteamClient_SteamClient018_RunFrame, + unix_ISteamClient_SteamClient018_GetIPCCallCount, + unix_ISteamClient_SteamClient018_SetWarningMessageHook, + unix_ISteamClient_SteamClient018_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient018_GetISteamHTTP, + unix_ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient018_GetISteamController, + unix_ISteamClient_SteamClient018_GetISteamUGC, + unix_ISteamClient_SteamClient018_GetISteamAppList, + unix_ISteamClient_SteamClient018_GetISteamMusic, + unix_ISteamClient_SteamClient018_GetISteamMusicRemote, + unix_ISteamClient_SteamClient018_GetISteamHTMLSurface, + unix_ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + unix_ISteamClient_SteamClient018_GetISteamInventory, + unix_ISteamClient_SteamClient018_GetISteamVideo, + unix_ISteamClient_SteamClient018_GetISteamParentalSettings, + unix_ISteamClient_SteamClient018_GetISteamInput, + unix_ISteamClient_SteamClient018_GetISteamParties, + unix_ISteamClient_SteamClient019_CreateSteamPipe, + unix_ISteamClient_SteamClient019_BReleaseSteamPipe, + unix_ISteamClient_SteamClient019_ConnectToGlobalUser, + unix_ISteamClient_SteamClient019_CreateLocalUser, + unix_ISteamClient_SteamClient019_ReleaseUser, + unix_ISteamClient_SteamClient019_GetISteamUser, + unix_ISteamClient_SteamClient019_GetISteamGameServer, + unix_ISteamClient_SteamClient019_SetLocalIPBinding, + unix_ISteamClient_SteamClient019_GetISteamFriends, + unix_ISteamClient_SteamClient019_GetISteamUtils, + unix_ISteamClient_SteamClient019_GetISteamMatchmaking, + unix_ISteamClient_SteamClient019_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient019_GetISteamGenericInterface, + unix_ISteamClient_SteamClient019_GetISteamUserStats, + unix_ISteamClient_SteamClient019_GetISteamGameServerStats, + unix_ISteamClient_SteamClient019_GetISteamApps, + unix_ISteamClient_SteamClient019_GetISteamNetworking, + unix_ISteamClient_SteamClient019_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient019_GetISteamScreenshots, + unix_ISteamClient_SteamClient019_GetISteamGameSearch, + unix_ISteamClient_SteamClient019_RunFrame, + unix_ISteamClient_SteamClient019_GetIPCCallCount, + unix_ISteamClient_SteamClient019_SetWarningMessageHook, + unix_ISteamClient_SteamClient019_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient019_GetISteamHTTP, + unix_ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient019_GetISteamController, + unix_ISteamClient_SteamClient019_GetISteamUGC, + unix_ISteamClient_SteamClient019_GetISteamAppList, + unix_ISteamClient_SteamClient019_GetISteamMusic, + unix_ISteamClient_SteamClient019_GetISteamMusicRemote, + unix_ISteamClient_SteamClient019_GetISteamHTMLSurface, + unix_ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + unix_ISteamClient_SteamClient019_GetISteamInventory, + unix_ISteamClient_SteamClient019_GetISteamVideo, + unix_ISteamClient_SteamClient019_GetISteamParentalSettings, + unix_ISteamClient_SteamClient019_GetISteamInput, + unix_ISteamClient_SteamClient019_GetISteamParties, + unix_ISteamClient_SteamClient019_GetISteamRemotePlay, + unix_ISteamClient_SteamClient020_CreateSteamPipe, + unix_ISteamClient_SteamClient020_BReleaseSteamPipe, + unix_ISteamClient_SteamClient020_ConnectToGlobalUser, + unix_ISteamClient_SteamClient020_CreateLocalUser, + unix_ISteamClient_SteamClient020_ReleaseUser, + unix_ISteamClient_SteamClient020_GetISteamUser, + unix_ISteamClient_SteamClient020_GetISteamGameServer, + unix_ISteamClient_SteamClient020_SetLocalIPBinding, + unix_ISteamClient_SteamClient020_GetISteamFriends, + unix_ISteamClient_SteamClient020_GetISteamUtils, + unix_ISteamClient_SteamClient020_GetISteamMatchmaking, + unix_ISteamClient_SteamClient020_GetISteamMatchmakingServers, + unix_ISteamClient_SteamClient020_GetISteamGenericInterface, + unix_ISteamClient_SteamClient020_GetISteamUserStats, + unix_ISteamClient_SteamClient020_GetISteamGameServerStats, + unix_ISteamClient_SteamClient020_GetISteamApps, + unix_ISteamClient_SteamClient020_GetISteamNetworking, + unix_ISteamClient_SteamClient020_GetISteamRemoteStorage, + unix_ISteamClient_SteamClient020_GetISteamScreenshots, + unix_ISteamClient_SteamClient020_GetISteamGameSearch, + unix_ISteamClient_SteamClient020_RunFrame, + unix_ISteamClient_SteamClient020_GetIPCCallCount, + unix_ISteamClient_SteamClient020_SetWarningMessageHook, + unix_ISteamClient_SteamClient020_BShutdownIfAllPipesClosed, + unix_ISteamClient_SteamClient020_GetISteamHTTP, + unix_ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages, + unix_ISteamClient_SteamClient020_GetISteamController, + unix_ISteamClient_SteamClient020_GetISteamUGC, + unix_ISteamClient_SteamClient020_GetISteamAppList, + unix_ISteamClient_SteamClient020_GetISteamMusic, + unix_ISteamClient_SteamClient020_GetISteamMusicRemote, + unix_ISteamClient_SteamClient020_GetISteamHTMLSurface, + unix_ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, + unix_ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess, + unix_ISteamClient_SteamClient020_GetISteamInventory, + unix_ISteamClient_SteamClient020_GetISteamVideo, + unix_ISteamClient_SteamClient020_GetISteamParentalSettings, + unix_ISteamClient_SteamClient020_GetISteamInput, + unix_ISteamClient_SteamClient020_GetISteamParties, + unix_ISteamClient_SteamClient020_GetISteamRemotePlay, + unix_ISteamClient_SteamClient020_DestroyAllInterfaces, + unix_ISteamController_SteamController003_Init, + unix_ISteamController_SteamController003_Shutdown, + unix_ISteamController_SteamController003_RunFrame, + unix_ISteamController_SteamController003_GetConnectedControllers, + unix_ISteamController_SteamController003_ShowBindingPanel, + unix_ISteamController_SteamController003_GetActionSetHandle, + unix_ISteamController_SteamController003_ActivateActionSet, + unix_ISteamController_SteamController003_GetCurrentActionSet, + unix_ISteamController_SteamController003_GetDigitalActionHandle, + unix_ISteamController_SteamController003_GetDigitalActionData, + unix_ISteamController_SteamController003_GetDigitalActionOrigins, + unix_ISteamController_SteamController003_GetAnalogActionHandle, + unix_ISteamController_SteamController003_GetAnalogActionData, + unix_ISteamController_SteamController003_GetAnalogActionOrigins, + unix_ISteamController_SteamController003_StopAnalogActionMomentum, + unix_ISteamController_SteamController003_TriggerHapticPulse, + unix_ISteamController_SteamController003_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController004_Init, + unix_ISteamController_SteamController004_Shutdown, + unix_ISteamController_SteamController004_RunFrame, + unix_ISteamController_SteamController004_GetConnectedControllers, + unix_ISteamController_SteamController004_ShowBindingPanel, + unix_ISteamController_SteamController004_GetActionSetHandle, + unix_ISteamController_SteamController004_ActivateActionSet, + unix_ISteamController_SteamController004_GetCurrentActionSet, + unix_ISteamController_SteamController004_GetDigitalActionHandle, + unix_ISteamController_SteamController004_GetDigitalActionData, + unix_ISteamController_SteamController004_GetDigitalActionOrigins, + unix_ISteamController_SteamController004_GetAnalogActionHandle, + unix_ISteamController_SteamController004_GetAnalogActionData, + unix_ISteamController_SteamController004_GetAnalogActionOrigins, + unix_ISteamController_SteamController004_StopAnalogActionMomentum, + unix_ISteamController_SteamController004_TriggerHapticPulse, + unix_ISteamController_SteamController004_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController004_GetGamepadIndexForController, + unix_ISteamController_SteamController004_GetControllerForGamepadIndex, + unix_ISteamController_SteamController004_GetMotionData, + unix_ISteamController_SteamController004_ShowDigitalActionOrigins, + unix_ISteamController_SteamController004_ShowAnalogActionOrigins, + unix_ISteamController_SteamController005_Init, + unix_ISteamController_SteamController005_Shutdown, + unix_ISteamController_SteamController005_RunFrame, + unix_ISteamController_SteamController005_GetConnectedControllers, + unix_ISteamController_SteamController005_ShowBindingPanel, + unix_ISteamController_SteamController005_GetActionSetHandle, + unix_ISteamController_SteamController005_ActivateActionSet, + unix_ISteamController_SteamController005_GetCurrentActionSet, + unix_ISteamController_SteamController005_GetDigitalActionHandle, + unix_ISteamController_SteamController005_GetDigitalActionData, + unix_ISteamController_SteamController005_GetDigitalActionOrigins, + unix_ISteamController_SteamController005_GetAnalogActionHandle, + unix_ISteamController_SteamController005_GetAnalogActionData, + unix_ISteamController_SteamController005_GetAnalogActionOrigins, + unix_ISteamController_SteamController005_StopAnalogActionMomentum, + unix_ISteamController_SteamController005_TriggerHapticPulse, + unix_ISteamController_SteamController005_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController005_TriggerVibration, + unix_ISteamController_SteamController005_SetLEDColor, + unix_ISteamController_SteamController005_GetGamepadIndexForController, + unix_ISteamController_SteamController005_GetControllerForGamepadIndex, + unix_ISteamController_SteamController005_GetMotionData, + unix_ISteamController_SteamController005_ShowDigitalActionOrigins, + unix_ISteamController_SteamController005_ShowAnalogActionOrigins, + unix_ISteamController_SteamController005_GetStringForActionOrigin, + unix_ISteamController_SteamController005_GetGlyphForActionOrigin, + unix_ISteamController_SteamController006_Init, + unix_ISteamController_SteamController006_Shutdown, + unix_ISteamController_SteamController006_RunFrame, + unix_ISteamController_SteamController006_GetConnectedControllers, + unix_ISteamController_SteamController006_ShowBindingPanel, + unix_ISteamController_SteamController006_GetActionSetHandle, + unix_ISteamController_SteamController006_ActivateActionSet, + unix_ISteamController_SteamController006_GetCurrentActionSet, + unix_ISteamController_SteamController006_ActivateActionSetLayer, + unix_ISteamController_SteamController006_DeactivateActionSetLayer, + unix_ISteamController_SteamController006_DeactivateAllActionSetLayers, + unix_ISteamController_SteamController006_GetActiveActionSetLayers, + unix_ISteamController_SteamController006_GetDigitalActionHandle, + unix_ISteamController_SteamController006_GetDigitalActionData, + unix_ISteamController_SteamController006_GetDigitalActionOrigins, + unix_ISteamController_SteamController006_GetAnalogActionHandle, + unix_ISteamController_SteamController006_GetAnalogActionData, + unix_ISteamController_SteamController006_GetAnalogActionOrigins, + unix_ISteamController_SteamController006_StopAnalogActionMomentum, + unix_ISteamController_SteamController006_TriggerHapticPulse, + unix_ISteamController_SteamController006_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController006_TriggerVibration, + unix_ISteamController_SteamController006_SetLEDColor, + unix_ISteamController_SteamController006_GetGamepadIndexForController, + unix_ISteamController_SteamController006_GetControllerForGamepadIndex, + unix_ISteamController_SteamController006_GetMotionData, + unix_ISteamController_SteamController006_ShowDigitalActionOrigins, + unix_ISteamController_SteamController006_ShowAnalogActionOrigins, + unix_ISteamController_SteamController006_GetStringForActionOrigin, + unix_ISteamController_SteamController006_GetGlyphForActionOrigin, + unix_ISteamController_SteamController006_GetInputTypeForHandle, + unix_ISteamController_SteamController007_Init, + unix_ISteamController_SteamController007_Shutdown, + unix_ISteamController_SteamController007_RunFrame, + unix_ISteamController_SteamController007_GetConnectedControllers, + unix_ISteamController_SteamController007_GetActionSetHandle, + unix_ISteamController_SteamController007_ActivateActionSet, + unix_ISteamController_SteamController007_GetCurrentActionSet, + unix_ISteamController_SteamController007_ActivateActionSetLayer, + unix_ISteamController_SteamController007_DeactivateActionSetLayer, + unix_ISteamController_SteamController007_DeactivateAllActionSetLayers, + unix_ISteamController_SteamController007_GetActiveActionSetLayers, + unix_ISteamController_SteamController007_GetDigitalActionHandle, + unix_ISteamController_SteamController007_GetDigitalActionData, + unix_ISteamController_SteamController007_GetDigitalActionOrigins, + unix_ISteamController_SteamController007_GetAnalogActionHandle, + unix_ISteamController_SteamController007_GetAnalogActionData, + unix_ISteamController_SteamController007_GetAnalogActionOrigins, + unix_ISteamController_SteamController007_GetGlyphForActionOrigin, + unix_ISteamController_SteamController007_GetStringForActionOrigin, + unix_ISteamController_SteamController007_StopAnalogActionMomentum, + unix_ISteamController_SteamController007_GetMotionData, + unix_ISteamController_SteamController007_TriggerHapticPulse, + unix_ISteamController_SteamController007_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController007_TriggerVibration, + unix_ISteamController_SteamController007_SetLEDColor, + unix_ISteamController_SteamController007_ShowBindingPanel, + unix_ISteamController_SteamController007_GetInputTypeForHandle, + unix_ISteamController_SteamController007_GetControllerForGamepadIndex, + unix_ISteamController_SteamController007_GetGamepadIndexForController, + unix_ISteamController_SteamController007_GetStringForXboxOrigin, + unix_ISteamController_SteamController007_GetGlyphForXboxOrigin, + unix_ISteamController_SteamController007_GetActionOriginFromXboxOrigin, + unix_ISteamController_SteamController007_TranslateActionOrigin, + unix_ISteamController_SteamController007_GetControllerBindingRevision, + unix_ISteamController_SteamController008_Init, + unix_ISteamController_SteamController008_Shutdown, + unix_ISteamController_SteamController008_RunFrame, + unix_ISteamController_SteamController008_GetConnectedControllers, + unix_ISteamController_SteamController008_GetActionSetHandle, + unix_ISteamController_SteamController008_ActivateActionSet, + unix_ISteamController_SteamController008_GetCurrentActionSet, + unix_ISteamController_SteamController008_ActivateActionSetLayer, + unix_ISteamController_SteamController008_DeactivateActionSetLayer, + unix_ISteamController_SteamController008_DeactivateAllActionSetLayers, + unix_ISteamController_SteamController008_GetActiveActionSetLayers, + unix_ISteamController_SteamController008_GetDigitalActionHandle, + unix_ISteamController_SteamController008_GetDigitalActionData, + unix_ISteamController_SteamController008_GetDigitalActionOrigins, + unix_ISteamController_SteamController008_GetAnalogActionHandle, + unix_ISteamController_SteamController008_GetAnalogActionData, + unix_ISteamController_SteamController008_GetAnalogActionOrigins, + unix_ISteamController_SteamController008_GetGlyphForActionOrigin, + unix_ISteamController_SteamController008_GetStringForActionOrigin, + unix_ISteamController_SteamController008_StopAnalogActionMomentum, + unix_ISteamController_SteamController008_GetMotionData, + unix_ISteamController_SteamController008_TriggerHapticPulse, + unix_ISteamController_SteamController008_TriggerRepeatedHapticPulse, + unix_ISteamController_SteamController008_TriggerVibration, + unix_ISteamController_SteamController008_SetLEDColor, + unix_ISteamController_SteamController008_ShowBindingPanel, + unix_ISteamController_SteamController008_GetInputTypeForHandle, + unix_ISteamController_SteamController008_GetControllerForGamepadIndex, + unix_ISteamController_SteamController008_GetGamepadIndexForController, + unix_ISteamController_SteamController008_GetStringForXboxOrigin, + unix_ISteamController_SteamController008_GetGlyphForXboxOrigin, + unix_ISteamController_SteamController008_GetActionOriginFromXboxOrigin, + unix_ISteamController_SteamController008_TranslateActionOrigin, + unix_ISteamController_SteamController008_GetControllerBindingRevision, + unix_ISteamFriends_SteamFriends001_GetPersonaName, + unix_ISteamFriends_SteamFriends001_SetPersonaName, + unix_ISteamFriends_SteamFriends001_GetPersonaState, + unix_ISteamFriends_SteamFriends001_SetPersonaState, + unix_ISteamFriends_SteamFriends001_AddFriend, + unix_ISteamFriends_SteamFriends001_RemoveFriend, + unix_ISteamFriends_SteamFriends001_HasFriend, + unix_ISteamFriends_SteamFriends001_GetFriendRelationship, + unix_ISteamFriends_SteamFriends001_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends001_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends001_AddFriendByName, + unix_ISteamFriends_SteamFriends001_GetFriendCount, + unix_ISteamFriends_SteamFriends001_GetFriendByIndex, + unix_ISteamFriends_SteamFriends001_SendMsgToFriend, + unix_ISteamFriends_SteamFriends001_SetFriendRegValue, + unix_ISteamFriends_SteamFriends001_GetFriendRegValue, + unix_ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends001_GetChatMessage, + unix_ISteamFriends_SteamFriends001_SendMsgToFriend_2, + unix_ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart, + unix_ISteamFriends_SteamFriends001_SetChatHistoryStart, + unix_ISteamFriends_SteamFriends001_ClearChatHistory, + unix_ISteamFriends_SteamFriends001_InviteFriendByEmail, + unix_ISteamFriends_SteamFriends001_GetBlockedFriendCount, + unix_ISteamFriends_SteamFriends001_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends001_GetFriendGamePlayed2, + unix_ISteamFriends_SteamFriends002_GetPersonaName, + unix_ISteamFriends_SteamFriends002_SetPersonaName, + unix_ISteamFriends_SteamFriends002_GetPersonaState, + unix_ISteamFriends_SteamFriends002_SetPersonaState, + unix_ISteamFriends_SteamFriends002_GetFriendCount, + unix_ISteamFriends_SteamFriends002_GetFriendByIndex, + unix_ISteamFriends_SteamFriends002_GetFriendRelationship, + unix_ISteamFriends_SteamFriends002_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends002_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends002_SetFriendRegValue, + unix_ISteamFriends_SteamFriends002_GetFriendRegValue, + unix_ISteamFriends_SteamFriends002_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends002_AddFriend, + unix_ISteamFriends_SteamFriends002_RemoveFriend, + unix_ISteamFriends_SteamFriends002_HasFriend, + unix_ISteamFriends_SteamFriends002_AddFriendByName, + unix_ISteamFriends_SteamFriends002_InviteFriendByEmail, + unix_ISteamFriends_SteamFriends002_GetChatMessage, + unix_ISteamFriends_SteamFriends002_SendMsgToFriend, + unix_ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart, + unix_ISteamFriends_SteamFriends002_SetChatHistoryStart, + unix_ISteamFriends_SteamFriends002_ClearChatHistory, + unix_ISteamFriends_SteamFriends002_GetClanCount, + unix_ISteamFriends_SteamFriends002_GetClanByIndex, + unix_ISteamFriends_SteamFriends002_GetClanName, + unix_ISteamFriends_SteamFriends002_InviteFriendToClan, + unix_ISteamFriends_SteamFriends002_AcknowledgeInviteToClan, + unix_ISteamFriends_SteamFriends002_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends003_GetPersonaName, + unix_ISteamFriends_SteamFriends003_SetPersonaName, + unix_ISteamFriends_SteamFriends003_GetPersonaState, + unix_ISteamFriends_SteamFriends003_GetFriendCount, + unix_ISteamFriends_SteamFriends003_GetFriendByIndex, + unix_ISteamFriends_SteamFriends003_GetFriendRelationship, + unix_ISteamFriends_SteamFriends003_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends003_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends003_GetFriendAvatar, + unix_ISteamFriends_SteamFriends003_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends003_HasFriend, + unix_ISteamFriends_SteamFriends003_GetClanCount, + unix_ISteamFriends_SteamFriends003_GetClanByIndex, + unix_ISteamFriends_SteamFriends003_GetClanName, + unix_ISteamFriends_SteamFriends003_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends003_IsUserInSource, + unix_ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends003_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends004_GetPersonaName, + unix_ISteamFriends_SteamFriends004_SetPersonaName, + unix_ISteamFriends_SteamFriends004_GetPersonaState, + unix_ISteamFriends_SteamFriends004_GetFriendCount, + unix_ISteamFriends_SteamFriends004_GetFriendByIndex, + unix_ISteamFriends_SteamFriends004_GetFriendRelationship, + unix_ISteamFriends_SteamFriends004_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends004_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends004_GetFriendAvatar, + unix_ISteamFriends_SteamFriends004_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends004_HasFriend, + unix_ISteamFriends_SteamFriends004_GetClanCount, + unix_ISteamFriends_SteamFriends004_GetClanByIndex, + unix_ISteamFriends_SteamFriends004_GetClanName, + unix_ISteamFriends_SteamFriends004_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends004_IsUserInSource, + unix_ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends004_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends005_GetPersonaName, + unix_ISteamFriends_SteamFriends005_SetPersonaName, + unix_ISteamFriends_SteamFriends005_GetPersonaState, + unix_ISteamFriends_SteamFriends005_GetFriendCount, + unix_ISteamFriends_SteamFriends005_GetFriendByIndex, + unix_ISteamFriends_SteamFriends005_GetFriendRelationship, + unix_ISteamFriends_SteamFriends005_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends005_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends005_GetFriendAvatar, + unix_ISteamFriends_SteamFriends005_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends005_HasFriend, + unix_ISteamFriends_SteamFriends005_GetClanCount, + unix_ISteamFriends_SteamFriends005_GetClanByIndex, + unix_ISteamFriends_SteamFriends005_GetClanName, + unix_ISteamFriends_SteamFriends005_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends005_IsUserInSource, + unix_ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends005_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends005_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends005_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends005_SetPlayedWith, + unix_ISteamFriends_SteamFriends006_GetPersonaName, + unix_ISteamFriends_SteamFriends006_SetPersonaName, + unix_ISteamFriends_SteamFriends006_GetPersonaState, + unix_ISteamFriends_SteamFriends006_GetFriendCount, + unix_ISteamFriends_SteamFriends006_GetFriendByIndex, + unix_ISteamFriends_SteamFriends006_GetFriendRelationship, + unix_ISteamFriends_SteamFriends006_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends006_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends006_GetFriendAvatar, + unix_ISteamFriends_SteamFriends006_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends006_HasFriend, + unix_ISteamFriends_SteamFriends006_GetClanCount, + unix_ISteamFriends_SteamFriends006_GetClanByIndex, + unix_ISteamFriends_SteamFriends006_GetClanName, + unix_ISteamFriends_SteamFriends006_GetClanTag, + unix_ISteamFriends_SteamFriends006_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends006_IsUserInSource, + unix_ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends006_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends006_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends006_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends006_SetPlayedWith, + unix_ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends007_GetPersonaName, + unix_ISteamFriends_SteamFriends007_SetPersonaName, + unix_ISteamFriends_SteamFriends007_GetPersonaState, + unix_ISteamFriends_SteamFriends007_GetFriendCount, + unix_ISteamFriends_SteamFriends007_GetFriendByIndex, + unix_ISteamFriends_SteamFriends007_GetFriendRelationship, + unix_ISteamFriends_SteamFriends007_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends007_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends007_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends007_HasFriend, + unix_ISteamFriends_SteamFriends007_GetClanCount, + unix_ISteamFriends_SteamFriends007_GetClanByIndex, + unix_ISteamFriends_SteamFriends007_GetClanName, + unix_ISteamFriends_SteamFriends007_GetClanTag, + unix_ISteamFriends_SteamFriends007_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends007_IsUserInSource, + unix_ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends007_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends007_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends007_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends007_SetPlayedWith, + unix_ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends007_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends007_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends007_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends008_GetPersonaName, + unix_ISteamFriends_SteamFriends008_SetPersonaName, + unix_ISteamFriends_SteamFriends008_GetPersonaState, + unix_ISteamFriends_SteamFriends008_GetFriendCount, + unix_ISteamFriends_SteamFriends008_GetFriendByIndex, + unix_ISteamFriends_SteamFriends008_GetFriendRelationship, + unix_ISteamFriends_SteamFriends008_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends008_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends008_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends008_HasFriend, + unix_ISteamFriends_SteamFriends008_GetClanCount, + unix_ISteamFriends_SteamFriends008_GetClanByIndex, + unix_ISteamFriends_SteamFriends008_GetClanName, + unix_ISteamFriends_SteamFriends008_GetClanTag, + unix_ISteamFriends_SteamFriends008_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends008_IsUserInSource, + unix_ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends008_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends008_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends008_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends008_SetPlayedWith, + unix_ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends008_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends008_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends008_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends008_RequestUserInformation, + unix_ISteamFriends_SteamFriends008_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends008_GetClanOwner, + unix_ISteamFriends_SteamFriends008_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends008_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends008_GetUserRestrictions, + unix_ISteamFriends_SteamFriends009_GetPersonaName, + unix_ISteamFriends_SteamFriends009_SetPersonaName, + unix_ISteamFriends_SteamFriends009_GetPersonaState, + unix_ISteamFriends_SteamFriends009_GetFriendCount, + unix_ISteamFriends_SteamFriends009_GetFriendByIndex, + unix_ISteamFriends_SteamFriends009_GetFriendRelationship, + unix_ISteamFriends_SteamFriends009_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends009_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends009_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends009_HasFriend, + unix_ISteamFriends_SteamFriends009_GetClanCount, + unix_ISteamFriends_SteamFriends009_GetClanByIndex, + unix_ISteamFriends_SteamFriends009_GetClanName, + unix_ISteamFriends_SteamFriends009_GetClanTag, + unix_ISteamFriends_SteamFriends009_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends009_IsUserInSource, + unix_ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends009_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends009_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends009_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends009_SetPlayedWith, + unix_ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends009_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends009_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends009_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends009_RequestUserInformation, + unix_ISteamFriends_SteamFriends009_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends009_GetClanOwner, + unix_ISteamFriends_SteamFriends009_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends009_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends009_GetUserRestrictions, + unix_ISteamFriends_SteamFriends009_SetRichPresence, + unix_ISteamFriends_SteamFriends009_ClearRichPresence, + unix_ISteamFriends_SteamFriends009_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends009_InviteUserToGame, + unix_ISteamFriends_SteamFriends009_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends009_GetCoplayFriend, + unix_ISteamFriends_SteamFriends009_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends009_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends010_GetPersonaName, + unix_ISteamFriends_SteamFriends010_SetPersonaName, + unix_ISteamFriends_SteamFriends010_GetPersonaState, + unix_ISteamFriends_SteamFriends010_GetFriendCount, + unix_ISteamFriends_SteamFriends010_GetFriendByIndex, + unix_ISteamFriends_SteamFriends010_GetFriendRelationship, + unix_ISteamFriends_SteamFriends010_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends010_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends010_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends010_HasFriend, + unix_ISteamFriends_SteamFriends010_GetClanCount, + unix_ISteamFriends_SteamFriends010_GetClanByIndex, + unix_ISteamFriends_SteamFriends010_GetClanName, + unix_ISteamFriends_SteamFriends010_GetClanTag, + unix_ISteamFriends_SteamFriends010_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends010_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends010_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends010_IsUserInSource, + unix_ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends010_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends010_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends010_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends010_SetPlayedWith, + unix_ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends010_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends010_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends010_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends010_RequestUserInformation, + unix_ISteamFriends_SteamFriends010_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends010_GetClanOwner, + unix_ISteamFriends_SteamFriends010_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends010_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends010_GetUserRestrictions, + unix_ISteamFriends_SteamFriends010_SetRichPresence, + unix_ISteamFriends_SteamFriends010_ClearRichPresence, + unix_ISteamFriends_SteamFriends010_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends010_InviteUserToGame, + unix_ISteamFriends_SteamFriends010_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends010_GetCoplayFriend, + unix_ISteamFriends_SteamFriends010_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends010_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends010_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends010_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends010_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends010_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends010_SendClanChatMessage, + unix_ISteamFriends_SteamFriends010_GetClanChatMessage, + unix_ISteamFriends_SteamFriends010_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends010_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends010_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends010_GetFriendMessage, + unix_ISteamFriends_SteamFriends011_GetPersonaName, + unix_ISteamFriends_SteamFriends011_SetPersonaName, + unix_ISteamFriends_SteamFriends011_GetPersonaState, + unix_ISteamFriends_SteamFriends011_GetFriendCount, + unix_ISteamFriends_SteamFriends011_GetFriendByIndex, + unix_ISteamFriends_SteamFriends011_GetFriendRelationship, + unix_ISteamFriends_SteamFriends011_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends011_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends011_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends011_HasFriend, + unix_ISteamFriends_SteamFriends011_GetClanCount, + unix_ISteamFriends_SteamFriends011_GetClanByIndex, + unix_ISteamFriends_SteamFriends011_GetClanName, + unix_ISteamFriends_SteamFriends011_GetClanTag, + unix_ISteamFriends_SteamFriends011_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends011_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends011_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends011_IsUserInSource, + unix_ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends011_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends011_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends011_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends011_SetPlayedWith, + unix_ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends011_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends011_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends011_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends011_RequestUserInformation, + unix_ISteamFriends_SteamFriends011_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends011_GetClanOwner, + unix_ISteamFriends_SteamFriends011_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends011_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends011_GetUserRestrictions, + unix_ISteamFriends_SteamFriends011_SetRichPresence, + unix_ISteamFriends_SteamFriends011_ClearRichPresence, + unix_ISteamFriends_SteamFriends011_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends011_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends011_InviteUserToGame, + unix_ISteamFriends_SteamFriends011_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends011_GetCoplayFriend, + unix_ISteamFriends_SteamFriends011_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends011_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends011_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends011_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends011_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends011_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends011_SendClanChatMessage, + unix_ISteamFriends_SteamFriends011_GetClanChatMessage, + unix_ISteamFriends_SteamFriends011_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends011_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends011_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends011_GetFriendMessage, + unix_ISteamFriends_SteamFriends011_GetFollowerCount, + unix_ISteamFriends_SteamFriends011_IsFollowing, + unix_ISteamFriends_SteamFriends011_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends012_GetPersonaName, + unix_ISteamFriends_SteamFriends012_SetPersonaName, + unix_ISteamFriends_SteamFriends012_GetPersonaState, + unix_ISteamFriends_SteamFriends012_GetFriendCount, + unix_ISteamFriends_SteamFriends012_GetFriendByIndex, + unix_ISteamFriends_SteamFriends012_GetFriendRelationship, + unix_ISteamFriends_SteamFriends012_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends012_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends012_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends012_HasFriend, + unix_ISteamFriends_SteamFriends012_GetClanCount, + unix_ISteamFriends_SteamFriends012_GetClanByIndex, + unix_ISteamFriends_SteamFriends012_GetClanName, + unix_ISteamFriends_SteamFriends012_GetClanTag, + unix_ISteamFriends_SteamFriends012_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends012_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends012_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends012_IsUserInSource, + unix_ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends012_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends012_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends012_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends012_SetPlayedWith, + unix_ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends012_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends012_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends012_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends012_RequestUserInformation, + unix_ISteamFriends_SteamFriends012_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends012_GetClanOwner, + unix_ISteamFriends_SteamFriends012_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends012_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends012_GetUserRestrictions, + unix_ISteamFriends_SteamFriends012_SetRichPresence, + unix_ISteamFriends_SteamFriends012_ClearRichPresence, + unix_ISteamFriends_SteamFriends012_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends012_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends012_InviteUserToGame, + unix_ISteamFriends_SteamFriends012_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends012_GetCoplayFriend, + unix_ISteamFriends_SteamFriends012_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends012_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends012_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends012_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends012_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends012_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends012_SendClanChatMessage, + unix_ISteamFriends_SteamFriends012_GetClanChatMessage, + unix_ISteamFriends_SteamFriends012_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends012_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends012_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends012_GetFriendMessage, + unix_ISteamFriends_SteamFriends012_GetFollowerCount, + unix_ISteamFriends_SteamFriends012_IsFollowing, + unix_ISteamFriends_SteamFriends012_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends013_GetPersonaName, + unix_ISteamFriends_SteamFriends013_SetPersonaName, + unix_ISteamFriends_SteamFriends013_GetPersonaState, + unix_ISteamFriends_SteamFriends013_GetFriendCount, + unix_ISteamFriends_SteamFriends013_GetFriendByIndex, + unix_ISteamFriends_SteamFriends013_GetFriendRelationship, + unix_ISteamFriends_SteamFriends013_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends013_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends013_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends013_HasFriend, + unix_ISteamFriends_SteamFriends013_GetClanCount, + unix_ISteamFriends_SteamFriends013_GetClanByIndex, + unix_ISteamFriends_SteamFriends013_GetClanName, + unix_ISteamFriends_SteamFriends013_GetClanTag, + unix_ISteamFriends_SteamFriends013_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends013_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends013_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends013_IsUserInSource, + unix_ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends013_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends013_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends013_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends013_SetPlayedWith, + unix_ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends013_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends013_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends013_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends013_RequestUserInformation, + unix_ISteamFriends_SteamFriends013_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends013_GetClanOwner, + unix_ISteamFriends_SteamFriends013_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends013_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends013_GetUserRestrictions, + unix_ISteamFriends_SteamFriends013_SetRichPresence, + unix_ISteamFriends_SteamFriends013_ClearRichPresence, + unix_ISteamFriends_SteamFriends013_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends013_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends013_InviteUserToGame, + unix_ISteamFriends_SteamFriends013_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends013_GetCoplayFriend, + unix_ISteamFriends_SteamFriends013_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends013_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends013_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends013_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends013_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends013_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends013_SendClanChatMessage, + unix_ISteamFriends_SteamFriends013_GetClanChatMessage, + unix_ISteamFriends_SteamFriends013_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends013_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends013_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends013_GetFriendMessage, + unix_ISteamFriends_SteamFriends013_GetFollowerCount, + unix_ISteamFriends_SteamFriends013_IsFollowing, + unix_ISteamFriends_SteamFriends013_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends014_GetPersonaName, + unix_ISteamFriends_SteamFriends014_SetPersonaName, + unix_ISteamFriends_SteamFriends014_GetPersonaState, + unix_ISteamFriends_SteamFriends014_GetFriendCount, + unix_ISteamFriends_SteamFriends014_GetFriendByIndex, + unix_ISteamFriends_SteamFriends014_GetFriendRelationship, + unix_ISteamFriends_SteamFriends014_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends014_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends014_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends014_GetPlayerNickname, + unix_ISteamFriends_SteamFriends014_HasFriend, + unix_ISteamFriends_SteamFriends014_GetClanCount, + unix_ISteamFriends_SteamFriends014_GetClanByIndex, + unix_ISteamFriends_SteamFriends014_GetClanName, + unix_ISteamFriends_SteamFriends014_GetClanTag, + unix_ISteamFriends_SteamFriends014_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends014_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends014_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends014_IsUserInSource, + unix_ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends014_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends014_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends014_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends014_SetPlayedWith, + unix_ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends014_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends014_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends014_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends014_RequestUserInformation, + unix_ISteamFriends_SteamFriends014_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends014_GetClanOwner, + unix_ISteamFriends_SteamFriends014_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends014_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends014_GetUserRestrictions, + unix_ISteamFriends_SteamFriends014_SetRichPresence, + unix_ISteamFriends_SteamFriends014_ClearRichPresence, + unix_ISteamFriends_SteamFriends014_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends014_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends014_InviteUserToGame, + unix_ISteamFriends_SteamFriends014_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends014_GetCoplayFriend, + unix_ISteamFriends_SteamFriends014_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends014_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends014_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends014_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends014_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends014_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends014_SendClanChatMessage, + unix_ISteamFriends_SteamFriends014_GetClanChatMessage, + unix_ISteamFriends_SteamFriends014_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends014_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends014_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends014_GetFriendMessage, + unix_ISteamFriends_SteamFriends014_GetFollowerCount, + unix_ISteamFriends_SteamFriends014_IsFollowing, + unix_ISteamFriends_SteamFriends014_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends015_GetPersonaName, + unix_ISteamFriends_SteamFriends015_SetPersonaName, + unix_ISteamFriends_SteamFriends015_GetPersonaState, + unix_ISteamFriends_SteamFriends015_GetFriendCount, + unix_ISteamFriends_SteamFriends015_GetFriendByIndex, + unix_ISteamFriends_SteamFriends015_GetFriendRelationship, + unix_ISteamFriends_SteamFriends015_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends015_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends015_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends015_GetFriendSteamLevel, + unix_ISteamFriends_SteamFriends015_GetPlayerNickname, + unix_ISteamFriends_SteamFriends015_GetFriendsGroupCount, + unix_ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex, + unix_ISteamFriends_SteamFriends015_GetFriendsGroupName, + unix_ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount, + unix_ISteamFriends_SteamFriends015_GetFriendsGroupMembersList, + unix_ISteamFriends_SteamFriends015_HasFriend, + unix_ISteamFriends_SteamFriends015_GetClanCount, + unix_ISteamFriends_SteamFriends015_GetClanByIndex, + unix_ISteamFriends_SteamFriends015_GetClanName, + unix_ISteamFriends_SteamFriends015_GetClanTag, + unix_ISteamFriends_SteamFriends015_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends015_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends015_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends015_IsUserInSource, + unix_ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends015_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends015_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends015_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends015_SetPlayedWith, + unix_ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends015_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends015_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends015_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends015_RequestUserInformation, + unix_ISteamFriends_SteamFriends015_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends015_GetClanOwner, + unix_ISteamFriends_SteamFriends015_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends015_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends015_GetUserRestrictions, + unix_ISteamFriends_SteamFriends015_SetRichPresence, + unix_ISteamFriends_SteamFriends015_ClearRichPresence, + unix_ISteamFriends_SteamFriends015_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends015_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends015_InviteUserToGame, + unix_ISteamFriends_SteamFriends015_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends015_GetCoplayFriend, + unix_ISteamFriends_SteamFriends015_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends015_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends015_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends015_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends015_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends015_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends015_SendClanChatMessage, + unix_ISteamFriends_SteamFriends015_GetClanChatMessage, + unix_ISteamFriends_SteamFriends015_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends015_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends015_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends015_GetFriendMessage, + unix_ISteamFriends_SteamFriends015_GetFollowerCount, + unix_ISteamFriends_SteamFriends015_IsFollowing, + unix_ISteamFriends_SteamFriends015_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends015_IsClanPublic, + unix_ISteamFriends_SteamFriends015_IsClanOfficialGameGroup, + unix_ISteamFriends_SteamFriends017_GetPersonaName, + unix_ISteamFriends_SteamFriends017_SetPersonaName, + unix_ISteamFriends_SteamFriends017_GetPersonaState, + unix_ISteamFriends_SteamFriends017_GetFriendCount, + unix_ISteamFriends_SteamFriends017_GetFriendByIndex, + unix_ISteamFriends_SteamFriends017_GetFriendRelationship, + unix_ISteamFriends_SteamFriends017_GetFriendPersonaState, + unix_ISteamFriends_SteamFriends017_GetFriendPersonaName, + unix_ISteamFriends_SteamFriends017_GetFriendGamePlayed, + unix_ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, + unix_ISteamFriends_SteamFriends017_GetFriendSteamLevel, + unix_ISteamFriends_SteamFriends017_GetPlayerNickname, + unix_ISteamFriends_SteamFriends017_GetFriendsGroupCount, + unix_ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex, + unix_ISteamFriends_SteamFriends017_GetFriendsGroupName, + unix_ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount, + unix_ISteamFriends_SteamFriends017_GetFriendsGroupMembersList, + unix_ISteamFriends_SteamFriends017_HasFriend, + unix_ISteamFriends_SteamFriends017_GetClanCount, + unix_ISteamFriends_SteamFriends017_GetClanByIndex, + unix_ISteamFriends_SteamFriends017_GetClanName, + unix_ISteamFriends_SteamFriends017_GetClanTag, + unix_ISteamFriends_SteamFriends017_GetClanActivityCounts, + unix_ISteamFriends_SteamFriends017_DownloadClanActivityCounts, + unix_ISteamFriends_SteamFriends017_GetFriendCountFromSource, + unix_ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex, + unix_ISteamFriends_SteamFriends017_IsUserInSource, + unix_ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlay, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayToUser, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayToStore, + unix_ISteamFriends_SteamFriends017_SetPlayedWith, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog, + unix_ISteamFriends_SteamFriends017_GetSmallFriendAvatar, + unix_ISteamFriends_SteamFriends017_GetMediumFriendAvatar, + unix_ISteamFriends_SteamFriends017_GetLargeFriendAvatar, + unix_ISteamFriends_SteamFriends017_RequestUserInformation, + unix_ISteamFriends_SteamFriends017_RequestClanOfficerList, + unix_ISteamFriends_SteamFriends017_GetClanOwner, + unix_ISteamFriends_SteamFriends017_GetClanOfficerCount, + unix_ISteamFriends_SteamFriends017_GetClanOfficerByIndex, + unix_ISteamFriends_SteamFriends017_GetUserRestrictions, + unix_ISteamFriends_SteamFriends017_SetRichPresence, + unix_ISteamFriends_SteamFriends017_ClearRichPresence, + unix_ISteamFriends_SteamFriends017_GetFriendRichPresence, + unix_ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount, + unix_ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, + unix_ISteamFriends_SteamFriends017_RequestFriendRichPresence, + unix_ISteamFriends_SteamFriends017_InviteUserToGame, + unix_ISteamFriends_SteamFriends017_GetCoplayFriendCount, + unix_ISteamFriends_SteamFriends017_GetCoplayFriend, + unix_ISteamFriends_SteamFriends017_GetFriendCoplayTime, + unix_ISteamFriends_SteamFriends017_GetFriendCoplayGame, + unix_ISteamFriends_SteamFriends017_JoinClanChatRoom, + unix_ISteamFriends_SteamFriends017_LeaveClanChatRoom, + unix_ISteamFriends_SteamFriends017_GetClanChatMemberCount, + unix_ISteamFriends_SteamFriends017_GetChatMemberByIndex, + unix_ISteamFriends_SteamFriends017_SendClanChatMessage, + unix_ISteamFriends_SteamFriends017_GetClanChatMessage, + unix_ISteamFriends_SteamFriends017_IsClanChatAdmin, + unix_ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam, + unix_ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam, + unix_ISteamFriends_SteamFriends017_SetListenForFriendsMessages, + unix_ISteamFriends_SteamFriends017_ReplyToFriendMessage, + unix_ISteamFriends_SteamFriends017_GetFriendMessage, + unix_ISteamFriends_SteamFriends017_GetFollowerCount, + unix_ISteamFriends_SteamFriends017_IsFollowing, + unix_ISteamFriends_SteamFriends017_EnumerateFollowingList, + unix_ISteamFriends_SteamFriends017_IsClanPublic, + unix_ISteamFriends_SteamFriends017_IsClanOfficialGameGroup, + unix_ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog, + unix_ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser, + unix_ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString, + unix_ISteamFriends_SteamFriends017_RequestEquippedProfileItems, + unix_ISteamFriends_SteamFriends017_BHasEquippedProfileItem, + unix_ISteamFriends_SteamFriends017_GetProfileItemPropertyString, + unix_ISteamFriends_SteamFriends017_GetProfileItemPropertyUint, + unix_ISteamGameCoordinator_SteamGameCoordinator001_SendMessage, + unix_ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, + unix_ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, + unix_ISteamGameServer_SteamGameServer002_LogOn, + unix_ISteamGameServer_SteamGameServer002_LogOff, + unix_ISteamGameServer_SteamGameServer002_BLoggedOn, + unix_ISteamGameServer_SteamGameServer002_GSSetSpawnCount, + unix_ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, + unix_ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, + unix_ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, + unix_ISteamGameServer_SteamGameServer002_GSRemoveUserConnect, + unix_ISteamGameServer_SteamGameServer002_GSSendUserDisconnect, + unix_ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, + unix_ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, + unix_ISteamGameServer_SteamGameServer002_GSUpdateStatus, + unix_ISteamGameServer_SteamGameServer002_BSecure, + unix_ISteamGameServer_SteamGameServer002_GetSteamID, + unix_ISteamGameServer_SteamGameServer002_GSSetServerType, + unix_ISteamGameServer_SteamGameServer002_GSSetServerType2, + unix_ISteamGameServer_SteamGameServer002_GSUpdateStatus2, + unix_ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, + unix_ISteamGameServer_SteamGameServer002_GSSetUserData, + unix_ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer002_GSSetGameType, + unix_ISteamGameServer_SteamGameServer003_LogOn, + unix_ISteamGameServer_SteamGameServer003_LogOff, + unix_ISteamGameServer_SteamGameServer003_BLoggedOn, + unix_ISteamGameServer_SteamGameServer003_BSecure, + unix_ISteamGameServer_SteamGameServer003_GetSteamID, + unix_ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient, + unix_ISteamGameServer_SteamGameServer003_GSSendUserConnect, + unix_ISteamGameServer_SteamGameServer003_GSRemoveUserConnect, + unix_ISteamGameServer_SteamGameServer003_GSSendUserDisconnect, + unix_ISteamGameServer_SteamGameServer003_GSSetSpawnCount, + unix_ISteamGameServer_SteamGameServer003_GSSetServerType, + unix_ISteamGameServer_SteamGameServer003_GSUpdateStatus, + unix_ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser, + unix_ISteamGameServer_SteamGameServer003_GSSetUserData, + unix_ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer003_GSSetGameType, + unix_ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus, + unix_ISteamGameServer_SteamGameServer004_LogOn, + unix_ISteamGameServer_SteamGameServer004_LogOff, + unix_ISteamGameServer_SteamGameServer004_BLoggedOn, + unix_ISteamGameServer_SteamGameServer004_BSecure, + unix_ISteamGameServer_SteamGameServer004_GetSteamID, + unix_ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer004_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer004_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer004_BSetServerType, + unix_ISteamGameServer_SteamGameServer004_UpdateServerStatus, + unix_ISteamGameServer_SteamGameServer004_UpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer004_SetGameType, + unix_ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus, + unix_ISteamGameServer_SteamGameServer005_LogOn, + unix_ISteamGameServer_SteamGameServer005_LogOff, + unix_ISteamGameServer_SteamGameServer005_BLoggedOn, + unix_ISteamGameServer_SteamGameServer005_BSecure, + unix_ISteamGameServer_SteamGameServer005_GetSteamID, + unix_ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer005_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer005_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer005_BSetServerType, + unix_ISteamGameServer_SteamGameServer005_UpdateServerStatus, + unix_ISteamGameServer_SteamGameServer005_UpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer005_SetGameType, + unix_ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus, + unix_ISteamGameServer_SteamGameServer008_LogOn, + unix_ISteamGameServer_SteamGameServer008_LogOff, + unix_ISteamGameServer_SteamGameServer008_BLoggedOn, + unix_ISteamGameServer_SteamGameServer008_BSecure, + unix_ISteamGameServer_SteamGameServer008_GetSteamID, + unix_ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer008_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer008_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer008_BSetServerType, + unix_ISteamGameServer_SteamGameServer008_UpdateServerStatus, + unix_ISteamGameServer_SteamGameServer008_UpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer008_SetGameType, + unix_ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus, + unix_ISteamGameServer_SteamGameServer008_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer008_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer008_GetPublicIP, + unix_ISteamGameServer_SteamGameServer009_LogOn, + unix_ISteamGameServer_SteamGameServer009_LogOff, + unix_ISteamGameServer_SteamGameServer009_BLoggedOn, + unix_ISteamGameServer_SteamGameServer009_BSecure, + unix_ISteamGameServer_SteamGameServer009_GetSteamID, + unix_ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer009_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer009_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer009_BSetServerType, + unix_ISteamGameServer_SteamGameServer009_UpdateServerStatus, + unix_ISteamGameServer_SteamGameServer009_UpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer009_SetGameType, + unix_ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus, + unix_ISteamGameServer_SteamGameServer009_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer009_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer009_GetPublicIP, + unix_ISteamGameServer_SteamGameServer009_SetGameData, + unix_ISteamGameServer_SteamGameServer009_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer010_LogOn, + unix_ISteamGameServer_SteamGameServer010_LogOff, + unix_ISteamGameServer_SteamGameServer010_BLoggedOn, + unix_ISteamGameServer_SteamGameServer010_BSecure, + unix_ISteamGameServer_SteamGameServer010_GetSteamID, + unix_ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer010_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer010_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer010_BSetServerType, + unix_ISteamGameServer_SteamGameServer010_UpdateServerStatus, + unix_ISteamGameServer_SteamGameServer010_UpdateSpectatorPort, + unix_ISteamGameServer_SteamGameServer010_SetGameTags, + unix_ISteamGameServer_SteamGameServer010_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer010_GetServerReputation, + unix_ISteamGameServer_SteamGameServer010_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer010_GetPublicIP, + unix_ISteamGameServer_SteamGameServer010_SetGameData, + unix_ISteamGameServer_SteamGameServer010_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer010_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer010_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer010_EndAuthSession, + unix_ISteamGameServer_SteamGameServer010_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer011_InitGameServer, + unix_ISteamGameServer_SteamGameServer011_SetProduct, + unix_ISteamGameServer_SteamGameServer011_SetGameDescription, + unix_ISteamGameServer_SteamGameServer011_SetModDir, + unix_ISteamGameServer_SteamGameServer011_SetDedicatedServer, + unix_ISteamGameServer_SteamGameServer011_LogOn, + unix_ISteamGameServer_SteamGameServer011_LogOnAnonymous, + unix_ISteamGameServer_SteamGameServer011_LogOff, + unix_ISteamGameServer_SteamGameServer011_BLoggedOn, + unix_ISteamGameServer_SteamGameServer011_BSecure, + unix_ISteamGameServer_SteamGameServer011_GetSteamID, + unix_ISteamGameServer_SteamGameServer011_WasRestartRequested, + unix_ISteamGameServer_SteamGameServer011_SetMaxPlayerCount, + unix_ISteamGameServer_SteamGameServer011_SetBotPlayerCount, + unix_ISteamGameServer_SteamGameServer011_SetServerName, + unix_ISteamGameServer_SteamGameServer011_SetMapName, + unix_ISteamGameServer_SteamGameServer011_SetPasswordProtected, + unix_ISteamGameServer_SteamGameServer011_SetSpectatorPort, + unix_ISteamGameServer_SteamGameServer011_SetSpectatorServerName, + unix_ISteamGameServer_SteamGameServer011_ClearAllKeyValues, + unix_ISteamGameServer_SteamGameServer011_SetKeyValue, + unix_ISteamGameServer_SteamGameServer011_SetGameTags, + unix_ISteamGameServer_SteamGameServer011_SetGameData, + unix_ISteamGameServer_SteamGameServer011_SetRegion, + unix_ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer011_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer011_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer011_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer011_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer011_EndAuthSession, + unix_ISteamGameServer_SteamGameServer011_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer011_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer011_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer011_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer011_GetServerReputation, + unix_ISteamGameServer_SteamGameServer011_GetPublicIP, + unix_ISteamGameServer_SteamGameServer011_HandleIncomingPacket, + unix_ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket, + unix_ISteamGameServer_SteamGameServer011_EnableHeartbeats, + unix_ISteamGameServer_SteamGameServer011_SetHeartbeatInterval, + unix_ISteamGameServer_SteamGameServer011_ForceHeartbeat, + unix_ISteamGameServer_SteamGameServer011_AssociateWithClan, + unix_ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility, + unix_ISteamGameServer_SteamGameServer012_InitGameServer, + unix_ISteamGameServer_SteamGameServer012_SetProduct, + unix_ISteamGameServer_SteamGameServer012_SetGameDescription, + unix_ISteamGameServer_SteamGameServer012_SetModDir, + unix_ISteamGameServer_SteamGameServer012_SetDedicatedServer, + unix_ISteamGameServer_SteamGameServer012_LogOn, + unix_ISteamGameServer_SteamGameServer012_LogOnAnonymous, + unix_ISteamGameServer_SteamGameServer012_LogOff, + unix_ISteamGameServer_SteamGameServer012_BLoggedOn, + unix_ISteamGameServer_SteamGameServer012_BSecure, + unix_ISteamGameServer_SteamGameServer012_GetSteamID, + unix_ISteamGameServer_SteamGameServer012_WasRestartRequested, + unix_ISteamGameServer_SteamGameServer012_SetMaxPlayerCount, + unix_ISteamGameServer_SteamGameServer012_SetBotPlayerCount, + unix_ISteamGameServer_SteamGameServer012_SetServerName, + unix_ISteamGameServer_SteamGameServer012_SetMapName, + unix_ISteamGameServer_SteamGameServer012_SetPasswordProtected, + unix_ISteamGameServer_SteamGameServer012_SetSpectatorPort, + unix_ISteamGameServer_SteamGameServer012_SetSpectatorServerName, + unix_ISteamGameServer_SteamGameServer012_ClearAllKeyValues, + unix_ISteamGameServer_SteamGameServer012_SetKeyValue, + unix_ISteamGameServer_SteamGameServer012_SetGameTags, + unix_ISteamGameServer_SteamGameServer012_SetGameData, + unix_ISteamGameServer_SteamGameServer012_SetRegion, + unix_ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer012_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer012_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer012_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer012_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer012_EndAuthSession, + unix_ISteamGameServer_SteamGameServer012_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer012_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer012_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer012_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer012_GetServerReputation, + unix_ISteamGameServer_SteamGameServer012_GetPublicIP, + unix_ISteamGameServer_SteamGameServer012_HandleIncomingPacket, + unix_ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket, + unix_ISteamGameServer_SteamGameServer012_EnableHeartbeats, + unix_ISteamGameServer_SteamGameServer012_SetHeartbeatInterval, + unix_ISteamGameServer_SteamGameServer012_ForceHeartbeat, + unix_ISteamGameServer_SteamGameServer012_AssociateWithClan, + unix_ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility, + unix_ISteamGameServer_SteamGameServer013_InitGameServer, + unix_ISteamGameServer_SteamGameServer013_SetProduct, + unix_ISteamGameServer_SteamGameServer013_SetGameDescription, + unix_ISteamGameServer_SteamGameServer013_SetModDir, + unix_ISteamGameServer_SteamGameServer013_SetDedicatedServer, + unix_ISteamGameServer_SteamGameServer013_LogOn, + unix_ISteamGameServer_SteamGameServer013_LogOnAnonymous, + unix_ISteamGameServer_SteamGameServer013_LogOff, + unix_ISteamGameServer_SteamGameServer013_BLoggedOn, + unix_ISteamGameServer_SteamGameServer013_BSecure, + unix_ISteamGameServer_SteamGameServer013_GetSteamID, + unix_ISteamGameServer_SteamGameServer013_WasRestartRequested, + unix_ISteamGameServer_SteamGameServer013_SetMaxPlayerCount, + unix_ISteamGameServer_SteamGameServer013_SetBotPlayerCount, + unix_ISteamGameServer_SteamGameServer013_SetServerName, + unix_ISteamGameServer_SteamGameServer013_SetMapName, + unix_ISteamGameServer_SteamGameServer013_SetPasswordProtected, + unix_ISteamGameServer_SteamGameServer013_SetSpectatorPort, + unix_ISteamGameServer_SteamGameServer013_SetSpectatorServerName, + unix_ISteamGameServer_SteamGameServer013_ClearAllKeyValues, + unix_ISteamGameServer_SteamGameServer013_SetKeyValue, + unix_ISteamGameServer_SteamGameServer013_SetGameTags, + unix_ISteamGameServer_SteamGameServer013_SetGameData, + unix_ISteamGameServer_SteamGameServer013_SetRegion, + unix_ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate, + unix_ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer013_SendUserDisconnect, + unix_ISteamGameServer_SteamGameServer013_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer013_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer013_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer013_EndAuthSession, + unix_ISteamGameServer_SteamGameServer013_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer013_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer013_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer013_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer013_GetServerReputation, + unix_ISteamGameServer_SteamGameServer013_GetPublicIP, + unix_ISteamGameServer_SteamGameServer013_HandleIncomingPacket, + unix_ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket, + unix_ISteamGameServer_SteamGameServer013_EnableHeartbeats, + unix_ISteamGameServer_SteamGameServer013_SetHeartbeatInterval, + unix_ISteamGameServer_SteamGameServer013_ForceHeartbeat, + unix_ISteamGameServer_SteamGameServer013_AssociateWithClan, + unix_ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility, + unix_ISteamGameServer_SteamGameServer014_InitGameServer, + unix_ISteamGameServer_SteamGameServer014_SetProduct, + unix_ISteamGameServer_SteamGameServer014_SetGameDescription, + unix_ISteamGameServer_SteamGameServer014_SetModDir, + unix_ISteamGameServer_SteamGameServer014_SetDedicatedServer, + unix_ISteamGameServer_SteamGameServer014_LogOn, + unix_ISteamGameServer_SteamGameServer014_LogOnAnonymous, + unix_ISteamGameServer_SteamGameServer014_LogOff, + unix_ISteamGameServer_SteamGameServer014_BLoggedOn, + unix_ISteamGameServer_SteamGameServer014_BSecure, + unix_ISteamGameServer_SteamGameServer014_GetSteamID, + unix_ISteamGameServer_SteamGameServer014_WasRestartRequested, + unix_ISteamGameServer_SteamGameServer014_SetMaxPlayerCount, + unix_ISteamGameServer_SteamGameServer014_SetBotPlayerCount, + unix_ISteamGameServer_SteamGameServer014_SetServerName, + unix_ISteamGameServer_SteamGameServer014_SetMapName, + unix_ISteamGameServer_SteamGameServer014_SetPasswordProtected, + unix_ISteamGameServer_SteamGameServer014_SetSpectatorPort, + unix_ISteamGameServer_SteamGameServer014_SetSpectatorServerName, + unix_ISteamGameServer_SteamGameServer014_ClearAllKeyValues, + unix_ISteamGameServer_SteamGameServer014_SetKeyValue, + unix_ISteamGameServer_SteamGameServer014_SetGameTags, + unix_ISteamGameServer_SteamGameServer014_SetGameData, + unix_ISteamGameServer_SteamGameServer014_SetRegion, + unix_ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, + unix_ISteamGameServer_SteamGameServer014_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer014_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer014_EndAuthSession, + unix_ISteamGameServer_SteamGameServer014_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer014_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer014_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer014_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer014_GetServerReputation, + unix_ISteamGameServer_SteamGameServer014_GetPublicIP, + unix_ISteamGameServer_SteamGameServer014_HandleIncomingPacket, + unix_ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, + unix_ISteamGameServer_SteamGameServer014_AssociateWithClan, + unix_ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, + unix_ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, + unix_ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, + unix_ISteamGameServer_SteamGameServer014_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, + unix_ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, + unix_ISteamGameServer_SteamGameServer015_InitGameServer, + unix_ISteamGameServer_SteamGameServer015_SetProduct, + unix_ISteamGameServer_SteamGameServer015_SetGameDescription, + unix_ISteamGameServer_SteamGameServer015_SetModDir, + unix_ISteamGameServer_SteamGameServer015_SetDedicatedServer, + unix_ISteamGameServer_SteamGameServer015_LogOn, + unix_ISteamGameServer_SteamGameServer015_LogOnAnonymous, + unix_ISteamGameServer_SteamGameServer015_LogOff, + unix_ISteamGameServer_SteamGameServer015_BLoggedOn, + unix_ISteamGameServer_SteamGameServer015_BSecure, + unix_ISteamGameServer_SteamGameServer015_GetSteamID, + unix_ISteamGameServer_SteamGameServer015_WasRestartRequested, + unix_ISteamGameServer_SteamGameServer015_SetMaxPlayerCount, + unix_ISteamGameServer_SteamGameServer015_SetBotPlayerCount, + unix_ISteamGameServer_SteamGameServer015_SetServerName, + unix_ISteamGameServer_SteamGameServer015_SetMapName, + unix_ISteamGameServer_SteamGameServer015_SetPasswordProtected, + unix_ISteamGameServer_SteamGameServer015_SetSpectatorPort, + unix_ISteamGameServer_SteamGameServer015_SetSpectatorServerName, + unix_ISteamGameServer_SteamGameServer015_ClearAllKeyValues, + unix_ISteamGameServer_SteamGameServer015_SetKeyValue, + unix_ISteamGameServer_SteamGameServer015_SetGameTags, + unix_ISteamGameServer_SteamGameServer015_SetGameData, + unix_ISteamGameServer_SteamGameServer015_SetRegion, + unix_ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, + unix_ISteamGameServer_SteamGameServer015_GetAuthSessionTicket, + unix_ISteamGameServer_SteamGameServer015_BeginAuthSession, + unix_ISteamGameServer_SteamGameServer015_EndAuthSession, + unix_ISteamGameServer_SteamGameServer015_CancelAuthTicket, + unix_ISteamGameServer_SteamGameServer015_UserHasLicenseForApp, + unix_ISteamGameServer_SteamGameServer015_RequestUserGroupStatus, + unix_ISteamGameServer_SteamGameServer015_GetGameplayStats, + unix_ISteamGameServer_SteamGameServer015_GetServerReputation, + unix_ISteamGameServer_SteamGameServer015_GetPublicIP, + unix_ISteamGameServer_SteamGameServer015_HandleIncomingPacket, + unix_ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, + unix_ISteamGameServer_SteamGameServer015_AssociateWithClan, + unix_ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, + unix_ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, + unix_ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, + unix_ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, + unix_ISteamGameServer_SteamGameServer015_BUpdateUserData, + unix_ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, + unix_ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, + unix_ISteamGameServerStats_SteamGameServerStats001_RequestUserStats, + unix_ISteamGameServerStats_SteamGameServerStats001_GetUserStat, + unix_ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, + unix_ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, + unix_ISteamGameServerStats_SteamGameServerStats001_SetUserStat, + unix_ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, + unix_ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, + unix_ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, + unix_ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, + unix_ISteamGameServerStats_SteamGameServerStats001_StoreUserStats, + unix_ISteamGameStats_SteamGameStats001_GetNewSession, + unix_ISteamGameStats_SteamGameStats001_EndSession, + unix_ISteamGameStats_SteamGameStats001_AddSessionAttributeInt, + unix_ISteamGameStats_SteamGameStats001_AddSessionAttributeString, + unix_ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, + unix_ISteamGameStats_SteamGameStats001_AddNewRow, + unix_ISteamGameStats_SteamGameStats001_CommitRow, + unix_ISteamGameStats_SteamGameStats001_CommitOutstandingRows, + unix_ISteamGameStats_SteamGameStats001_AddRowAttributeInt, + unix_ISteamGameStats_SteamGameStats001_AddRowAtributeString, + unix_ISteamGameStats_SteamGameStats001_AddRowAttributeFloat, + unix_ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, + unix_ISteamGameStats_SteamGameStats001_AddRowAttributeInt64, + unix_ISteamInput_SteamInput001_Init, + unix_ISteamInput_SteamInput001_Shutdown, + unix_ISteamInput_SteamInput001_RunFrame, + unix_ISteamInput_SteamInput001_GetConnectedControllers, + unix_ISteamInput_SteamInput001_GetActionSetHandle, + unix_ISteamInput_SteamInput001_ActivateActionSet, + unix_ISteamInput_SteamInput001_GetCurrentActionSet, + unix_ISteamInput_SteamInput001_ActivateActionSetLayer, + unix_ISteamInput_SteamInput001_DeactivateActionSetLayer, + unix_ISteamInput_SteamInput001_DeactivateAllActionSetLayers, + unix_ISteamInput_SteamInput001_GetActiveActionSetLayers, + unix_ISteamInput_SteamInput001_GetDigitalActionHandle, + unix_ISteamInput_SteamInput001_GetDigitalActionData, + unix_ISteamInput_SteamInput001_GetDigitalActionOrigins, + unix_ISteamInput_SteamInput001_GetAnalogActionHandle, + unix_ISteamInput_SteamInput001_GetAnalogActionData, + unix_ISteamInput_SteamInput001_GetAnalogActionOrigins, + unix_ISteamInput_SteamInput001_GetGlyphForActionOrigin, + unix_ISteamInput_SteamInput001_GetStringForActionOrigin, + unix_ISteamInput_SteamInput001_StopAnalogActionMomentum, + unix_ISteamInput_SteamInput001_GetMotionData, + unix_ISteamInput_SteamInput001_TriggerVibration, + unix_ISteamInput_SteamInput001_SetLEDColor, + unix_ISteamInput_SteamInput001_TriggerHapticPulse, + unix_ISteamInput_SteamInput001_TriggerRepeatedHapticPulse, + unix_ISteamInput_SteamInput001_ShowBindingPanel, + unix_ISteamInput_SteamInput001_GetInputTypeForHandle, + unix_ISteamInput_SteamInput001_GetControllerForGamepadIndex, + unix_ISteamInput_SteamInput001_GetGamepadIndexForController, + unix_ISteamInput_SteamInput001_GetStringForXboxOrigin, + unix_ISteamInput_SteamInput001_GetGlyphForXboxOrigin, + unix_ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin, + unix_ISteamInput_SteamInput001_TranslateActionOrigin, + unix_ISteamInput_SteamInput001_GetDeviceBindingRevision, + unix_ISteamInput_SteamInput001_GetRemotePlaySessionID, + unix_ISteamInput_SteamInput002_Init, + unix_ISteamInput_SteamInput002_Shutdown, + unix_ISteamInput_SteamInput002_RunFrame, + unix_ISteamInput_SteamInput002_GetConnectedControllers, + unix_ISteamInput_SteamInput002_GetActionSetHandle, + unix_ISteamInput_SteamInput002_ActivateActionSet, + unix_ISteamInput_SteamInput002_GetCurrentActionSet, + unix_ISteamInput_SteamInput002_ActivateActionSetLayer, + unix_ISteamInput_SteamInput002_DeactivateActionSetLayer, + unix_ISteamInput_SteamInput002_DeactivateAllActionSetLayers, + unix_ISteamInput_SteamInput002_GetActiveActionSetLayers, + unix_ISteamInput_SteamInput002_GetDigitalActionHandle, + unix_ISteamInput_SteamInput002_GetDigitalActionData, + unix_ISteamInput_SteamInput002_GetDigitalActionOrigins, + unix_ISteamInput_SteamInput002_GetAnalogActionHandle, + unix_ISteamInput_SteamInput002_GetAnalogActionData, + unix_ISteamInput_SteamInput002_GetAnalogActionOrigins, + unix_ISteamInput_SteamInput002_GetGlyphForActionOrigin, + unix_ISteamInput_SteamInput002_GetStringForActionOrigin, + unix_ISteamInput_SteamInput002_StopAnalogActionMomentum, + unix_ISteamInput_SteamInput002_GetMotionData, + unix_ISteamInput_SteamInput002_TriggerVibration, + unix_ISteamInput_SteamInput002_SetLEDColor, + unix_ISteamInput_SteamInput002_TriggerHapticPulse, + unix_ISteamInput_SteamInput002_TriggerRepeatedHapticPulse, + unix_ISteamInput_SteamInput002_ShowBindingPanel, + unix_ISteamInput_SteamInput002_GetInputTypeForHandle, + unix_ISteamInput_SteamInput002_GetControllerForGamepadIndex, + unix_ISteamInput_SteamInput002_GetGamepadIndexForController, + unix_ISteamInput_SteamInput002_GetStringForXboxOrigin, + unix_ISteamInput_SteamInput002_GetGlyphForXboxOrigin, + unix_ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin, + unix_ISteamInput_SteamInput002_TranslateActionOrigin, + unix_ISteamInput_SteamInput002_GetDeviceBindingRevision, + unix_ISteamInput_SteamInput002_GetRemotePlaySessionID, + unix_ISteamInput_SteamInput005_Init, + unix_ISteamInput_SteamInput005_Shutdown, + unix_ISteamInput_SteamInput005_SetInputActionManifestFilePath, + unix_ISteamInput_SteamInput005_RunFrame, + unix_ISteamInput_SteamInput005_BWaitForData, + unix_ISteamInput_SteamInput005_BNewDataAvailable, + unix_ISteamInput_SteamInput005_GetConnectedControllers, + unix_ISteamInput_SteamInput005_EnableDeviceCallbacks, + unix_ISteamInput_SteamInput005_EnableActionEventCallbacks, + unix_ISteamInput_SteamInput005_GetActionSetHandle, + unix_ISteamInput_SteamInput005_ActivateActionSet, + unix_ISteamInput_SteamInput005_GetCurrentActionSet, + unix_ISteamInput_SteamInput005_ActivateActionSetLayer, + unix_ISteamInput_SteamInput005_DeactivateActionSetLayer, + unix_ISteamInput_SteamInput005_DeactivateAllActionSetLayers, + unix_ISteamInput_SteamInput005_GetActiveActionSetLayers, + unix_ISteamInput_SteamInput005_GetDigitalActionHandle, + unix_ISteamInput_SteamInput005_GetDigitalActionData, + unix_ISteamInput_SteamInput005_GetDigitalActionOrigins, + unix_ISteamInput_SteamInput005_GetStringForDigitalActionName, + unix_ISteamInput_SteamInput005_GetAnalogActionHandle, + unix_ISteamInput_SteamInput005_GetAnalogActionData, + unix_ISteamInput_SteamInput005_GetAnalogActionOrigins, + unix_ISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, + unix_ISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, + unix_ISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, + unix_ISteamInput_SteamInput005_GetStringForActionOrigin, + unix_ISteamInput_SteamInput005_GetStringForAnalogActionName, + unix_ISteamInput_SteamInput005_StopAnalogActionMomentum, + unix_ISteamInput_SteamInput005_GetMotionData, + unix_ISteamInput_SteamInput005_TriggerVibration, + unix_ISteamInput_SteamInput005_TriggerVibrationExtended, + unix_ISteamInput_SteamInput005_TriggerSimpleHapticEvent, + unix_ISteamInput_SteamInput005_SetLEDColor, + unix_ISteamInput_SteamInput005_Legacy_TriggerHapticPulse, + unix_ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, + unix_ISteamInput_SteamInput005_ShowBindingPanel, + unix_ISteamInput_SteamInput005_GetInputTypeForHandle, + unix_ISteamInput_SteamInput005_GetControllerForGamepadIndex, + unix_ISteamInput_SteamInput005_GetGamepadIndexForController, + unix_ISteamInput_SteamInput005_GetStringForXboxOrigin, + unix_ISteamInput_SteamInput005_GetGlyphForXboxOrigin, + unix_ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, + unix_ISteamInput_SteamInput005_TranslateActionOrigin, + unix_ISteamInput_SteamInput005_GetDeviceBindingRevision, + unix_ISteamInput_SteamInput005_GetRemotePlaySessionID, + unix_ISteamInput_SteamInput005_GetSessionInputConfigurationSettings, + unix_ISteamInput_SteamInput006_Init, + unix_ISteamInput_SteamInput006_Shutdown, + unix_ISteamInput_SteamInput006_SetInputActionManifestFilePath, + unix_ISteamInput_SteamInput006_RunFrame, + unix_ISteamInput_SteamInput006_BWaitForData, + unix_ISteamInput_SteamInput006_BNewDataAvailable, + unix_ISteamInput_SteamInput006_GetConnectedControllers, + unix_ISteamInput_SteamInput006_EnableDeviceCallbacks, + unix_ISteamInput_SteamInput006_EnableActionEventCallbacks, + unix_ISteamInput_SteamInput006_GetActionSetHandle, + unix_ISteamInput_SteamInput006_ActivateActionSet, + unix_ISteamInput_SteamInput006_GetCurrentActionSet, + unix_ISteamInput_SteamInput006_ActivateActionSetLayer, + unix_ISteamInput_SteamInput006_DeactivateActionSetLayer, + unix_ISteamInput_SteamInput006_DeactivateAllActionSetLayers, + unix_ISteamInput_SteamInput006_GetActiveActionSetLayers, + unix_ISteamInput_SteamInput006_GetDigitalActionHandle, + unix_ISteamInput_SteamInput006_GetDigitalActionData, + unix_ISteamInput_SteamInput006_GetDigitalActionOrigins, + unix_ISteamInput_SteamInput006_GetStringForDigitalActionName, + unix_ISteamInput_SteamInput006_GetAnalogActionHandle, + unix_ISteamInput_SteamInput006_GetAnalogActionData, + unix_ISteamInput_SteamInput006_GetAnalogActionOrigins, + unix_ISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, + unix_ISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, + unix_ISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, + unix_ISteamInput_SteamInput006_GetStringForActionOrigin, + unix_ISteamInput_SteamInput006_GetStringForAnalogActionName, + unix_ISteamInput_SteamInput006_StopAnalogActionMomentum, + unix_ISteamInput_SteamInput006_GetMotionData, + unix_ISteamInput_SteamInput006_TriggerVibration, + unix_ISteamInput_SteamInput006_TriggerVibrationExtended, + unix_ISteamInput_SteamInput006_TriggerSimpleHapticEvent, + unix_ISteamInput_SteamInput006_SetLEDColor, + unix_ISteamInput_SteamInput006_Legacy_TriggerHapticPulse, + unix_ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse, + unix_ISteamInput_SteamInput006_ShowBindingPanel, + unix_ISteamInput_SteamInput006_GetInputTypeForHandle, + unix_ISteamInput_SteamInput006_GetControllerForGamepadIndex, + unix_ISteamInput_SteamInput006_GetGamepadIndexForController, + unix_ISteamInput_SteamInput006_GetStringForXboxOrigin, + unix_ISteamInput_SteamInput006_GetGlyphForXboxOrigin, + unix_ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin, + unix_ISteamInput_SteamInput006_TranslateActionOrigin, + unix_ISteamInput_SteamInput006_GetDeviceBindingRevision, + unix_ISteamInput_SteamInput006_GetRemotePlaySessionID, + unix_ISteamInput_SteamInput006_GetSessionInputConfigurationSettings, + unix_ISteamInput_SteamInput006_SetDualSenseTriggerEffect, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, + unix_ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, + unix_ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams, + unix_ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby, + unix_ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo, + unix_ISteamGameSearch_SteamMatchGameSearch001_AcceptGame, + unix_ISteamGameSearch_SteamMatchGameSearch001_DeclineGame, + unix_ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails, + unix_ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch, + unix_ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams, + unix_ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails, + unix_ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame, + unix_ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart, + unix_ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame, + unix_ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult, + unix_ISteamGameSearch_SteamMatchGameSearch001_EndGame, + unix_ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2, + unix_ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2, + unix_ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2, + unix_ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking001_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking001_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking001_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking001_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking001_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking002_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking002_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking002_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking002_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking002_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter, + unix_ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking003_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking003_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking003_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking003_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled, + unix_ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies, + unix_ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter, + unix_ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking004_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking004_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking004_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking004_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies, + unix_ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter, + unix_ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter, + unix_ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking005_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking005_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking005_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking005_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies, + unix_ISteamMatchmaking_SteamMatchMaking005_SetLobbyType, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance, + unix_ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter, + unix_ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking006_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking006_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking006_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking006_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking006_SetLobbyType, + unix_ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter, + unix_ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter, + unix_ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking007_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking007_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking007_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex, + unix_ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyType, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable, + unix_ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter, + unix_ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking008_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking008_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking008_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex, + unix_ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyType, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable, + unix_ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount, + unix_ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame, + unix_ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex, + unix_ISteamMatchmaking_SteamMatchMaking009_CreateLobby, + unix_ISteamMatchmaking_SteamMatchMaking009_JoinLobby, + unix_ISteamMatchmaking_SteamMatchMaking009_LeaveLobby, + unix_ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby, + unix_ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex, + unix_ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData, + unix_ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry, + unix_ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyType, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable, + unix_ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner, + unix_ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules, + unix_ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, + unix_ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, + unix_ISteamNetworking_SteamNetworking001_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking001_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking001_DestroySocket, + unix_ISteamNetworking_SteamNetworking001_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking001_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking001_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking001_RetrieveData, + unix_ISteamNetworking_SteamNetworking001_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking001_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking002_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking002_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking002_DestroySocket, + unix_ISteamNetworking_SteamNetworking002_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking002_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking002_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking002_RetrieveData, + unix_ISteamNetworking_SteamNetworking002_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking002_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking002_GetSocketConnectionType, + unix_ISteamNetworking_SteamNetworking002_GetMaxPacketSize, + unix_ISteamNetworking_SteamNetworking003_SendP2PPacket, + unix_ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable, + unix_ISteamNetworking_SteamNetworking003_ReadP2PPacket, + unix_ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking003_GetP2PSessionState, + unix_ISteamNetworking_SteamNetworking003_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking003_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking003_DestroySocket, + unix_ISteamNetworking_SteamNetworking003_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking003_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking003_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking003_RetrieveData, + unix_ISteamNetworking_SteamNetworking003_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking003_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking003_GetSocketConnectionType, + unix_ISteamNetworking_SteamNetworking003_GetMaxPacketSize, + unix_ISteamNetworking_SteamNetworking004_SendP2PPacket, + unix_ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable, + unix_ISteamNetworking_SteamNetworking004_ReadP2PPacket, + unix_ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking004_GetP2PSessionState, + unix_ISteamNetworking_SteamNetworking004_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking004_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking004_DestroySocket, + unix_ISteamNetworking_SteamNetworking004_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking004_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking004_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking004_RetrieveData, + unix_ISteamNetworking_SteamNetworking004_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking004_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking004_GetSocketConnectionType, + unix_ISteamNetworking_SteamNetworking004_GetMaxPacketSize, + unix_ISteamNetworking_SteamNetworking005_SendP2PPacket, + unix_ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable, + unix_ISteamNetworking_SteamNetworking005_ReadP2PPacket, + unix_ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser, + unix_ISteamNetworking_SteamNetworking005_GetP2PSessionState, + unix_ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay, + unix_ISteamNetworking_SteamNetworking005_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking005_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking005_DestroySocket, + unix_ISteamNetworking_SteamNetworking005_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking005_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking005_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking005_RetrieveData, + unix_ISteamNetworking_SteamNetworking005_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking005_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking005_GetSocketConnectionType, + unix_ISteamNetworking_SteamNetworking005_GetMaxPacketSize, + unix_ISteamNetworking_SteamNetworking006_SendP2PPacket, + unix_ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable, + unix_ISteamNetworking_SteamNetworking006_ReadP2PPacket, + unix_ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser, + unix_ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser, + unix_ISteamNetworking_SteamNetworking006_GetP2PSessionState, + unix_ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay, + unix_ISteamNetworking_SteamNetworking006_CreateListenSocket, + unix_ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket, + unix_ISteamNetworking_SteamNetworking006_CreateConnectionSocket, + unix_ISteamNetworking_SteamNetworking006_DestroySocket, + unix_ISteamNetworking_SteamNetworking006_DestroyListenSocket, + unix_ISteamNetworking_SteamNetworking006_SendDataOnSocket, + unix_ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket, + unix_ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket, + unix_ISteamNetworking_SteamNetworking006_IsDataAvailable, + unix_ISteamNetworking_SteamNetworking006_RetrieveData, + unix_ISteamNetworking_SteamNetworking006_GetSocketInfo, + unix_ISteamNetworking_SteamNetworking006_GetListenSocketInfo, + unix_ISteamNetworking_SteamNetworking006_GetSocketConnectionType, + unix_ISteamNetworking_SteamNetworking006_GetMaxPacketSize, + unix_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort, + unix_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP, + unix_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages, + unix_ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser, + unix_ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling, + unix_ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest, + unix_ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate, + unix_ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection, + unix_ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket, + unix_ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, + unix_ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, + unix_ISteamParties_SteamParties002_GetNumActiveBeacons, + unix_ISteamParties_SteamParties002_GetBeaconByIndex, + unix_ISteamParties_SteamParties002_GetBeaconDetails, + unix_ISteamParties_SteamParties002_JoinParty, + unix_ISteamParties_SteamParties002_GetNumAvailableBeaconLocations, + unix_ISteamParties_SteamParties002_GetAvailableBeaconLocations, + unix_ISteamParties_SteamParties002_CreateBeacon, + unix_ISteamParties_SteamParties002_OnReservationCompleted, + unix_ISteamParties_SteamParties002_CancelReservation, + unix_ISteamParties_SteamParties002_ChangeNumOpenSlots, + unix_ISteamParties_SteamParties002_DestroyBeacon, + unix_ISteamParties_SteamParties002_GetBeaconLocationData, + unix_ISteamUser_SteamUser004_GetHSteamUser, + unix_ISteamUser_SteamUser004_LogOn, + unix_ISteamUser_SteamUser004_LogOff, + unix_ISteamUser_SteamUser004_BLoggedOn, + unix_ISteamUser_SteamUser004_GetLogonState, + unix_ISteamUser_SteamUser004_BConnected, + unix_ISteamUser_SteamUser004_GetSteamID, + unix_ISteamUser_SteamUser004_IsVACBanned, + unix_ISteamUser_SteamUser004_RequireShowVACBannedMessage, + unix_ISteamUser_SteamUser004_AcknowledgeVACBanning, + unix_ISteamUser_SteamUser004_NClientGameIDAdd, + unix_ISteamUser_SteamUser004_RemoveClientGame, + unix_ISteamUser_SteamUser004_SetClientGameServer, + unix_ISteamUser_SteamUser004_SetSteam2Ticket, + unix_ISteamUser_SteamUser004_AddServerNetAddress, + unix_ISteamUser_SteamUser004_SetEmail, + unix_ISteamUser_SteamUser004_GetSteamGameConnectToken, + unix_ISteamUser_SteamUser004_SetRegistryString, + unix_ISteamUser_SteamUser004_GetRegistryString, + unix_ISteamUser_SteamUser004_SetRegistryInt, + unix_ISteamUser_SteamUser004_GetRegistryInt, + unix_ISteamUser_SteamUser004_InitiateGameConnection, + unix_ISteamUser_SteamUser004_TerminateGameConnection, + unix_ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination, + unix_ISteamUser_SteamUser004_IsPrimaryChatDestination, + unix_ISteamUser_SteamUser004_RequestLegacyCDKey, + unix_ISteamUser_SteamUser005_GetHSteamUser, + unix_ISteamUser_SteamUser005_LogOn, + unix_ISteamUser_SteamUser005_LogOff, + unix_ISteamUser_SteamUser005_BLoggedOn, + unix_ISteamUser_SteamUser005_GetLogonState, + unix_ISteamUser_SteamUser005_BConnected, + unix_ISteamUser_SteamUser005_GetSteamID, + unix_ISteamUser_SteamUser005_IsVACBanned, + unix_ISteamUser_SteamUser005_RequireShowVACBannedMessage, + unix_ISteamUser_SteamUser005_AcknowledgeVACBanning, + unix_ISteamUser_SteamUser005_SetSteam2Ticket, + unix_ISteamUser_SteamUser005_AddServerNetAddress, + unix_ISteamUser_SteamUser005_SetEmail, + unix_ISteamUser_SteamUser005_SetRegistryString, + unix_ISteamUser_SteamUser005_GetRegistryString, + unix_ISteamUser_SteamUser005_SetRegistryInt, + unix_ISteamUser_SteamUser005_GetRegistryInt, + unix_ISteamUser_SteamUser005_InitiateGameConnection, + unix_ISteamUser_SteamUser005_TerminateGameConnection, + unix_ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination, + unix_ISteamUser_SteamUser005_IsPrimaryChatDestination, + unix_ISteamUser_SteamUser005_RequestLegacyCDKey, + unix_ISteamUser_SteamUser005_SendGuestPassByEmail, + unix_ISteamUser_SteamUser005_SendGuestPassByAccountID, + unix_ISteamUser_SteamUser005_AckGuestPass, + unix_ISteamUser_SteamUser005_RedeemGuestPass, + unix_ISteamUser_SteamUser005_GetGuestPassToGiveCount, + unix_ISteamUser_SteamUser005_GetGuestPassToRedeemCount, + unix_ISteamUser_SteamUser005_GetGuestPassLastUpdateTime, + unix_ISteamUser_SteamUser005_GetGuestPassToGiveInfo, + unix_ISteamUser_SteamUser005_GetGuestPassToRedeemInfo, + unix_ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress, + unix_ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName, + unix_ISteamUser_SteamUser005_AcknowledgeMessageByGID, + unix_ISteamUser_SteamUser005_SetLanguage, + unix_ISteamUser_SteamUser005_TrackAppUsageEvent, + unix_ISteamUser_SteamUser005_SetAccountName, + unix_ISteamUser_SteamUser005_SetPassword, + unix_ISteamUser_SteamUser005_SetAccountCreationTime, + unix_ISteamUser_SteamUser006_GetHSteamUser, + unix_ISteamUser_SteamUser006_LogOn, + unix_ISteamUser_SteamUser006_LogOff, + unix_ISteamUser_SteamUser006_BLoggedOn, + unix_ISteamUser_SteamUser006_GetSteamID, + unix_ISteamUser_SteamUser006_SetRegistryString, + unix_ISteamUser_SteamUser006_GetRegistryString, + unix_ISteamUser_SteamUser006_SetRegistryInt, + unix_ISteamUser_SteamUser006_GetRegistryInt, + unix_ISteamUser_SteamUser006_InitiateGameConnection, + unix_ISteamUser_SteamUser006_TerminateGameConnection, + unix_ISteamUser_SteamUser006_TrackAppUsageEvent, + unix_ISteamUser_SteamUser007_GetHSteamUser, + unix_ISteamUser_SteamUser007_LogOn, + unix_ISteamUser_SteamUser007_LogOff, + unix_ISteamUser_SteamUser007_BLoggedOn, + unix_ISteamUser_SteamUser007_GetSteamID, + unix_ISteamUser_SteamUser007_SetRegistryString, + unix_ISteamUser_SteamUser007_GetRegistryString, + unix_ISteamUser_SteamUser007_SetRegistryInt, + unix_ISteamUser_SteamUser007_GetRegistryInt, + unix_ISteamUser_SteamUser007_InitiateGameConnection, + unix_ISteamUser_SteamUser007_TerminateGameConnection, + unix_ISteamUser_SteamUser007_TrackAppUsageEvent, + unix_ISteamUser_SteamUser007_RefreshSteam2Login, + unix_ISteamUser_SteamUser008_GetHSteamUser, + unix_ISteamUser_SteamUser008_BLoggedOn, + unix_ISteamUser_SteamUser008_GetSteamID, + unix_ISteamUser_SteamUser008_InitiateGameConnection, + unix_ISteamUser_SteamUser008_TerminateGameConnection, + unix_ISteamUser_SteamUser008_TrackAppUsageEvent, + unix_ISteamUser_SteamUser008_RefreshSteam2Login, + unix_ISteamUser_SteamUser009_GetHSteamUser, + unix_ISteamUser_SteamUser009_BLoggedOn, + unix_ISteamUser_SteamUser009_GetSteamID, + unix_ISteamUser_SteamUser009_InitiateGameConnection, + unix_ISteamUser_SteamUser009_TerminateGameConnection, + unix_ISteamUser_SteamUser009_TrackAppUsageEvent, + unix_ISteamUser_SteamUser009_RefreshSteam2Login, + unix_ISteamUser_SteamUser010_GetHSteamUser, + unix_ISteamUser_SteamUser010_BLoggedOn, + unix_ISteamUser_SteamUser010_GetSteamID, + unix_ISteamUser_SteamUser010_InitiateGameConnection, + unix_ISteamUser_SteamUser010_TerminateGameConnection, + unix_ISteamUser_SteamUser010_TrackAppUsageEvent, + unix_ISteamUser_SteamUser011_GetHSteamUser, + unix_ISteamUser_SteamUser011_BLoggedOn, + unix_ISteamUser_SteamUser011_GetSteamID, + unix_ISteamUser_SteamUser011_InitiateGameConnection, + unix_ISteamUser_SteamUser011_TerminateGameConnection, + unix_ISteamUser_SteamUser011_TrackAppUsageEvent, + unix_ISteamUser_SteamUser011_GetUserDataFolder, + unix_ISteamUser_SteamUser011_StartVoiceRecording, + unix_ISteamUser_SteamUser011_StopVoiceRecording, + unix_ISteamUser_SteamUser011_GetCompressedVoice, + unix_ISteamUser_SteamUser011_DecompressVoice, + unix_ISteamUser_SteamUser012_GetHSteamUser, + unix_ISteamUser_SteamUser012_BLoggedOn, + unix_ISteamUser_SteamUser012_GetSteamID, + unix_ISteamUser_SteamUser012_InitiateGameConnection, + unix_ISteamUser_SteamUser012_TerminateGameConnection, + unix_ISteamUser_SteamUser012_TrackAppUsageEvent, + unix_ISteamUser_SteamUser012_GetUserDataFolder, + unix_ISteamUser_SteamUser012_StartVoiceRecording, + unix_ISteamUser_SteamUser012_StopVoiceRecording, + unix_ISteamUser_SteamUser012_GetCompressedVoice, + unix_ISteamUser_SteamUser012_DecompressVoice, + unix_ISteamUser_SteamUser012_GetAuthSessionTicket, + unix_ISteamUser_SteamUser012_BeginAuthSession, + unix_ISteamUser_SteamUser012_EndAuthSession, + unix_ISteamUser_SteamUser012_CancelAuthTicket, + unix_ISteamUser_SteamUser012_UserHasLicenseForApp, + unix_ISteamUser_SteamUser013_GetHSteamUser, + unix_ISteamUser_SteamUser013_BLoggedOn, + unix_ISteamUser_SteamUser013_GetSteamID, + unix_ISteamUser_SteamUser013_InitiateGameConnection, + unix_ISteamUser_SteamUser013_TerminateGameConnection, + unix_ISteamUser_SteamUser013_TrackAppUsageEvent, + unix_ISteamUser_SteamUser013_GetUserDataFolder, + unix_ISteamUser_SteamUser013_StartVoiceRecording, + unix_ISteamUser_SteamUser013_StopVoiceRecording, + unix_ISteamUser_SteamUser013_GetAvailableVoice, + unix_ISteamUser_SteamUser013_GetVoice, + unix_ISteamUser_SteamUser013_DecompressVoice, + unix_ISteamUser_SteamUser013_GetAuthSessionTicket, + unix_ISteamUser_SteamUser013_BeginAuthSession, + unix_ISteamUser_SteamUser013_EndAuthSession, + unix_ISteamUser_SteamUser013_CancelAuthTicket, + unix_ISteamUser_SteamUser013_UserHasLicenseForApp, + unix_ISteamUser_SteamUser014_GetHSteamUser, + unix_ISteamUser_SteamUser014_BLoggedOn, + unix_ISteamUser_SteamUser014_GetSteamID, + unix_ISteamUser_SteamUser014_InitiateGameConnection, + unix_ISteamUser_SteamUser014_TerminateGameConnection, + unix_ISteamUser_SteamUser014_TrackAppUsageEvent, + unix_ISteamUser_SteamUser014_GetUserDataFolder, + unix_ISteamUser_SteamUser014_StartVoiceRecording, + unix_ISteamUser_SteamUser014_StopVoiceRecording, + unix_ISteamUser_SteamUser014_GetAvailableVoice, + unix_ISteamUser_SteamUser014_GetVoice, + unix_ISteamUser_SteamUser014_DecompressVoice, + unix_ISteamUser_SteamUser014_GetAuthSessionTicket, + unix_ISteamUser_SteamUser014_BeginAuthSession, + unix_ISteamUser_SteamUser014_EndAuthSession, + unix_ISteamUser_SteamUser014_CancelAuthTicket, + unix_ISteamUser_SteamUser014_UserHasLicenseForApp, + unix_ISteamUser_SteamUser014_BIsBehindNAT, + unix_ISteamUser_SteamUser014_AdvertiseGame, + unix_ISteamUser_SteamUser014_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser014_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser015_GetHSteamUser, + unix_ISteamUser_SteamUser015_BLoggedOn, + unix_ISteamUser_SteamUser015_GetSteamID, + unix_ISteamUser_SteamUser015_InitiateGameConnection, + unix_ISteamUser_SteamUser015_TerminateGameConnection, + unix_ISteamUser_SteamUser015_TrackAppUsageEvent, + unix_ISteamUser_SteamUser015_GetUserDataFolder, + unix_ISteamUser_SteamUser015_StartVoiceRecording, + unix_ISteamUser_SteamUser015_StopVoiceRecording, + unix_ISteamUser_SteamUser015_GetAvailableVoice, + unix_ISteamUser_SteamUser015_GetVoice, + unix_ISteamUser_SteamUser015_DecompressVoice, + unix_ISteamUser_SteamUser015_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser015_GetAuthSessionTicket, + unix_ISteamUser_SteamUser015_BeginAuthSession, + unix_ISteamUser_SteamUser015_EndAuthSession, + unix_ISteamUser_SteamUser015_CancelAuthTicket, + unix_ISteamUser_SteamUser015_UserHasLicenseForApp, + unix_ISteamUser_SteamUser015_BIsBehindNAT, + unix_ISteamUser_SteamUser015_AdvertiseGame, + unix_ISteamUser_SteamUser015_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser015_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser016_GetHSteamUser, + unix_ISteamUser_SteamUser016_BLoggedOn, + unix_ISteamUser_SteamUser016_GetSteamID, + unix_ISteamUser_SteamUser016_InitiateGameConnection, + unix_ISteamUser_SteamUser016_TerminateGameConnection, + unix_ISteamUser_SteamUser016_TrackAppUsageEvent, + unix_ISteamUser_SteamUser016_GetUserDataFolder, + unix_ISteamUser_SteamUser016_StartVoiceRecording, + unix_ISteamUser_SteamUser016_StopVoiceRecording, + unix_ISteamUser_SteamUser016_GetAvailableVoice, + unix_ISteamUser_SteamUser016_GetVoice, + unix_ISteamUser_SteamUser016_DecompressVoice, + unix_ISteamUser_SteamUser016_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser016_GetAuthSessionTicket, + unix_ISteamUser_SteamUser016_BeginAuthSession, + unix_ISteamUser_SteamUser016_EndAuthSession, + unix_ISteamUser_SteamUser016_CancelAuthTicket, + unix_ISteamUser_SteamUser016_UserHasLicenseForApp, + unix_ISteamUser_SteamUser016_BIsBehindNAT, + unix_ISteamUser_SteamUser016_AdvertiseGame, + unix_ISteamUser_SteamUser016_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser016_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser017_GetHSteamUser, + unix_ISteamUser_SteamUser017_BLoggedOn, + unix_ISteamUser_SteamUser017_GetSteamID, + unix_ISteamUser_SteamUser017_InitiateGameConnection, + unix_ISteamUser_SteamUser017_TerminateGameConnection, + unix_ISteamUser_SteamUser017_TrackAppUsageEvent, + unix_ISteamUser_SteamUser017_GetUserDataFolder, + unix_ISteamUser_SteamUser017_StartVoiceRecording, + unix_ISteamUser_SteamUser017_StopVoiceRecording, + unix_ISteamUser_SteamUser017_GetAvailableVoice, + unix_ISteamUser_SteamUser017_GetVoice, + unix_ISteamUser_SteamUser017_DecompressVoice, + unix_ISteamUser_SteamUser017_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser017_GetAuthSessionTicket, + unix_ISteamUser_SteamUser017_BeginAuthSession, + unix_ISteamUser_SteamUser017_EndAuthSession, + unix_ISteamUser_SteamUser017_CancelAuthTicket, + unix_ISteamUser_SteamUser017_UserHasLicenseForApp, + unix_ISteamUser_SteamUser017_BIsBehindNAT, + unix_ISteamUser_SteamUser017_AdvertiseGame, + unix_ISteamUser_SteamUser017_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser017_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser017_GetGameBadgeLevel, + unix_ISteamUser_SteamUser017_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser018_GetHSteamUser, + unix_ISteamUser_SteamUser018_BLoggedOn, + unix_ISteamUser_SteamUser018_GetSteamID, + unix_ISteamUser_SteamUser018_InitiateGameConnection, + unix_ISteamUser_SteamUser018_TerminateGameConnection, + unix_ISteamUser_SteamUser018_TrackAppUsageEvent, + unix_ISteamUser_SteamUser018_GetUserDataFolder, + unix_ISteamUser_SteamUser018_StartVoiceRecording, + unix_ISteamUser_SteamUser018_StopVoiceRecording, + unix_ISteamUser_SteamUser018_GetAvailableVoice, + unix_ISteamUser_SteamUser018_GetVoice, + unix_ISteamUser_SteamUser018_DecompressVoice, + unix_ISteamUser_SteamUser018_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser018_GetAuthSessionTicket, + unix_ISteamUser_SteamUser018_BeginAuthSession, + unix_ISteamUser_SteamUser018_EndAuthSession, + unix_ISteamUser_SteamUser018_CancelAuthTicket, + unix_ISteamUser_SteamUser018_UserHasLicenseForApp, + unix_ISteamUser_SteamUser018_BIsBehindNAT, + unix_ISteamUser_SteamUser018_AdvertiseGame, + unix_ISteamUser_SteamUser018_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser018_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser018_GetGameBadgeLevel, + unix_ISteamUser_SteamUser018_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser018_RequestStoreAuthURL, + unix_ISteamUser_SteamUser019_GetHSteamUser, + unix_ISteamUser_SteamUser019_BLoggedOn, + unix_ISteamUser_SteamUser019_GetSteamID, + unix_ISteamUser_SteamUser019_InitiateGameConnection, + unix_ISteamUser_SteamUser019_TerminateGameConnection, + unix_ISteamUser_SteamUser019_TrackAppUsageEvent, + unix_ISteamUser_SteamUser019_GetUserDataFolder, + unix_ISteamUser_SteamUser019_StartVoiceRecording, + unix_ISteamUser_SteamUser019_StopVoiceRecording, + unix_ISteamUser_SteamUser019_GetAvailableVoice, + unix_ISteamUser_SteamUser019_GetVoice, + unix_ISteamUser_SteamUser019_DecompressVoice, + unix_ISteamUser_SteamUser019_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser019_GetAuthSessionTicket, + unix_ISteamUser_SteamUser019_BeginAuthSession, + unix_ISteamUser_SteamUser019_EndAuthSession, + unix_ISteamUser_SteamUser019_CancelAuthTicket, + unix_ISteamUser_SteamUser019_UserHasLicenseForApp, + unix_ISteamUser_SteamUser019_BIsBehindNAT, + unix_ISteamUser_SteamUser019_AdvertiseGame, + unix_ISteamUser_SteamUser019_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser019_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser019_GetGameBadgeLevel, + unix_ISteamUser_SteamUser019_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser019_RequestStoreAuthURL, + unix_ISteamUser_SteamUser019_BIsPhoneVerified, + unix_ISteamUser_SteamUser019_BIsTwoFactorEnabled, + unix_ISteamUser_SteamUser019_BIsPhoneIdentifying, + unix_ISteamUser_SteamUser019_BIsPhoneRequiringVerification, + unix_ISteamUser_SteamUser020_GetHSteamUser, + unix_ISteamUser_SteamUser020_BLoggedOn, + unix_ISteamUser_SteamUser020_GetSteamID, + unix_ISteamUser_SteamUser020_InitiateGameConnection, + unix_ISteamUser_SteamUser020_TerminateGameConnection, + unix_ISteamUser_SteamUser020_TrackAppUsageEvent, + unix_ISteamUser_SteamUser020_GetUserDataFolder, + unix_ISteamUser_SteamUser020_StartVoiceRecording, + unix_ISteamUser_SteamUser020_StopVoiceRecording, + unix_ISteamUser_SteamUser020_GetAvailableVoice, + unix_ISteamUser_SteamUser020_GetVoice, + unix_ISteamUser_SteamUser020_DecompressVoice, + unix_ISteamUser_SteamUser020_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser020_GetAuthSessionTicket, + unix_ISteamUser_SteamUser020_BeginAuthSession, + unix_ISteamUser_SteamUser020_EndAuthSession, + unix_ISteamUser_SteamUser020_CancelAuthTicket, + unix_ISteamUser_SteamUser020_UserHasLicenseForApp, + unix_ISteamUser_SteamUser020_BIsBehindNAT, + unix_ISteamUser_SteamUser020_AdvertiseGame, + unix_ISteamUser_SteamUser020_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser020_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser020_GetGameBadgeLevel, + unix_ISteamUser_SteamUser020_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser020_RequestStoreAuthURL, + unix_ISteamUser_SteamUser020_BIsPhoneVerified, + unix_ISteamUser_SteamUser020_BIsTwoFactorEnabled, + unix_ISteamUser_SteamUser020_BIsPhoneIdentifying, + unix_ISteamUser_SteamUser020_BIsPhoneRequiringVerification, + unix_ISteamUser_SteamUser020_GetMarketEligibility, + unix_ISteamUser_SteamUser020_GetDurationControl, + unix_ISteamUser_SteamUser021_GetHSteamUser, + unix_ISteamUser_SteamUser021_BLoggedOn, + unix_ISteamUser_SteamUser021_GetSteamID, + unix_ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser021_TrackAppUsageEvent, + unix_ISteamUser_SteamUser021_GetUserDataFolder, + unix_ISteamUser_SteamUser021_StartVoiceRecording, + unix_ISteamUser_SteamUser021_StopVoiceRecording, + unix_ISteamUser_SteamUser021_GetAvailableVoice, + unix_ISteamUser_SteamUser021_GetVoice, + unix_ISteamUser_SteamUser021_DecompressVoice, + unix_ISteamUser_SteamUser021_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser021_GetAuthSessionTicket, + unix_ISteamUser_SteamUser021_BeginAuthSession, + unix_ISteamUser_SteamUser021_EndAuthSession, + unix_ISteamUser_SteamUser021_CancelAuthTicket, + unix_ISteamUser_SteamUser021_UserHasLicenseForApp, + unix_ISteamUser_SteamUser021_BIsBehindNAT, + unix_ISteamUser_SteamUser021_AdvertiseGame, + unix_ISteamUser_SteamUser021_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser021_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser021_GetGameBadgeLevel, + unix_ISteamUser_SteamUser021_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser021_RequestStoreAuthURL, + unix_ISteamUser_SteamUser021_BIsPhoneVerified, + unix_ISteamUser_SteamUser021_BIsTwoFactorEnabled, + unix_ISteamUser_SteamUser021_BIsPhoneIdentifying, + unix_ISteamUser_SteamUser021_BIsPhoneRequiringVerification, + unix_ISteamUser_SteamUser021_GetMarketEligibility, + unix_ISteamUser_SteamUser021_GetDurationControl, + unix_ISteamUser_SteamUser021_BSetDurationControlOnlineState, + unix_ISteamUser_SteamUser022_GetHSteamUser, + unix_ISteamUser_SteamUser022_BLoggedOn, + unix_ISteamUser_SteamUser022_GetSteamID, + unix_ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser022_TrackAppUsageEvent, + unix_ISteamUser_SteamUser022_GetUserDataFolder, + unix_ISteamUser_SteamUser022_StartVoiceRecording, + unix_ISteamUser_SteamUser022_StopVoiceRecording, + unix_ISteamUser_SteamUser022_GetAvailableVoice, + unix_ISteamUser_SteamUser022_GetVoice, + unix_ISteamUser_SteamUser022_DecompressVoice, + unix_ISteamUser_SteamUser022_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser022_GetAuthSessionTicket, + unix_ISteamUser_SteamUser022_BeginAuthSession, + unix_ISteamUser_SteamUser022_EndAuthSession, + unix_ISteamUser_SteamUser022_CancelAuthTicket, + unix_ISteamUser_SteamUser022_UserHasLicenseForApp, + unix_ISteamUser_SteamUser022_BIsBehindNAT, + unix_ISteamUser_SteamUser022_AdvertiseGame, + unix_ISteamUser_SteamUser022_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser022_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser022_GetGameBadgeLevel, + unix_ISteamUser_SteamUser022_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser022_RequestStoreAuthURL, + unix_ISteamUser_SteamUser022_BIsPhoneVerified, + unix_ISteamUser_SteamUser022_BIsTwoFactorEnabled, + unix_ISteamUser_SteamUser022_BIsPhoneIdentifying, + unix_ISteamUser_SteamUser022_BIsPhoneRequiringVerification, + unix_ISteamUser_SteamUser022_GetMarketEligibility, + unix_ISteamUser_SteamUser022_GetDurationControl, + unix_ISteamUser_SteamUser022_BSetDurationControlOnlineState, + unix_ISteamUser_SteamUser023_GetHSteamUser, + unix_ISteamUser_SteamUser023_BLoggedOn, + unix_ISteamUser_SteamUser023_GetSteamID, + unix_ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED, + unix_ISteamUser_SteamUser023_TrackAppUsageEvent, + unix_ISteamUser_SteamUser023_GetUserDataFolder, + unix_ISteamUser_SteamUser023_StartVoiceRecording, + unix_ISteamUser_SteamUser023_StopVoiceRecording, + unix_ISteamUser_SteamUser023_GetAvailableVoice, + unix_ISteamUser_SteamUser023_GetVoice, + unix_ISteamUser_SteamUser023_DecompressVoice, + unix_ISteamUser_SteamUser023_GetVoiceOptimalSampleRate, + unix_ISteamUser_SteamUser023_GetAuthSessionTicket, + unix_ISteamUser_SteamUser023_GetAuthTicketForWebApi, + unix_ISteamUser_SteamUser023_BeginAuthSession, + unix_ISteamUser_SteamUser023_EndAuthSession, + unix_ISteamUser_SteamUser023_CancelAuthTicket, + unix_ISteamUser_SteamUser023_UserHasLicenseForApp, + unix_ISteamUser_SteamUser023_BIsBehindNAT, + unix_ISteamUser_SteamUser023_AdvertiseGame, + unix_ISteamUser_SteamUser023_RequestEncryptedAppTicket, + unix_ISteamUser_SteamUser023_GetEncryptedAppTicket, + unix_ISteamUser_SteamUser023_GetGameBadgeLevel, + unix_ISteamUser_SteamUser023_GetPlayerSteamLevel, + unix_ISteamUser_SteamUser023_RequestStoreAuthURL, + unix_ISteamUser_SteamUser023_BIsPhoneVerified, + unix_ISteamUser_SteamUser023_BIsTwoFactorEnabled, + unix_ISteamUser_SteamUser023_BIsPhoneIdentifying, + unix_ISteamUser_SteamUser023_BIsPhoneRequiringVerification, + unix_ISteamUser_SteamUser023_GetMarketEligibility, + unix_ISteamUser_SteamUser023_GetDurationControl, + unix_ISteamUser_SteamUser023_BSetDurationControlOnlineState, + unix_ISteamUtils_SteamUtils002_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils002_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils002_GetServerRealTime, + unix_ISteamUtils_SteamUtils002_GetIPCountry, + unix_ISteamUtils_SteamUtils002_GetImageSize, + unix_ISteamUtils_SteamUtils002_GetImageRGBA, + unix_ISteamUtils_SteamUtils002_GetCSERIPPort, + unix_ISteamUtils_SteamUtils002_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils002_GetAppID, + unix_ISteamUtils_SteamUtils002_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils002_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils002_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils002_GetAPICallResult, + unix_ISteamUtils_SteamUtils004_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils004_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils004_GetServerRealTime, + unix_ISteamUtils_SteamUtils004_GetIPCountry, + unix_ISteamUtils_SteamUtils004_GetImageSize, + unix_ISteamUtils_SteamUtils004_GetImageRGBA, + unix_ISteamUtils_SteamUtils004_GetCSERIPPort, + unix_ISteamUtils_SteamUtils004_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils004_GetAppID, + unix_ISteamUtils_SteamUtils004_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils004_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils004_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils004_GetAPICallResult, + unix_ISteamUtils_SteamUtils004_RunFrame, + unix_ISteamUtils_SteamUtils004_GetIPCCallCount, + unix_ISteamUtils_SteamUtils004_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils004_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils005_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils005_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils005_GetServerRealTime, + unix_ISteamUtils_SteamUtils005_GetIPCountry, + unix_ISteamUtils_SteamUtils005_GetImageSize, + unix_ISteamUtils_SteamUtils005_GetImageRGBA, + unix_ISteamUtils_SteamUtils005_GetCSERIPPort, + unix_ISteamUtils_SteamUtils005_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils005_GetAppID, + unix_ISteamUtils_SteamUtils005_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils005_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils005_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils005_GetAPICallResult, + unix_ISteamUtils_SteamUtils005_RunFrame, + unix_ISteamUtils_SteamUtils005_GetIPCCallCount, + unix_ISteamUtils_SteamUtils005_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils005_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils005_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils005_CheckFileSignature, + unix_ISteamUtils_SteamUtils005_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils006_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils006_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils006_GetServerRealTime, + unix_ISteamUtils_SteamUtils006_GetIPCountry, + unix_ISteamUtils_SteamUtils006_GetImageSize, + unix_ISteamUtils_SteamUtils006_GetImageRGBA, + unix_ISteamUtils_SteamUtils006_GetCSERIPPort, + unix_ISteamUtils_SteamUtils006_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils006_GetAppID, + unix_ISteamUtils_SteamUtils006_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils006_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils006_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils006_GetAPICallResult, + unix_ISteamUtils_SteamUtils006_RunFrame, + unix_ISteamUtils_SteamUtils006_GetIPCCallCount, + unix_ISteamUtils_SteamUtils006_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils006_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils006_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils006_CheckFileSignature, + unix_ISteamUtils_SteamUtils006_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils006_GetSteamUILanguage, + unix_ISteamUtils_SteamUtils006_IsSteamRunningInVR, + unix_ISteamUtils_SteamUtils007_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils007_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils007_GetServerRealTime, + unix_ISteamUtils_SteamUtils007_GetIPCountry, + unix_ISteamUtils_SteamUtils007_GetImageSize, + unix_ISteamUtils_SteamUtils007_GetImageRGBA, + unix_ISteamUtils_SteamUtils007_GetCSERIPPort, + unix_ISteamUtils_SteamUtils007_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils007_GetAppID, + unix_ISteamUtils_SteamUtils007_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils007_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils007_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils007_GetAPICallResult, + unix_ISteamUtils_SteamUtils007_RunFrame, + unix_ISteamUtils_SteamUtils007_GetIPCCallCount, + unix_ISteamUtils_SteamUtils007_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils007_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils007_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils007_CheckFileSignature, + unix_ISteamUtils_SteamUtils007_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils007_GetSteamUILanguage, + unix_ISteamUtils_SteamUtils007_IsSteamRunningInVR, + unix_ISteamUtils_SteamUtils007_SetOverlayNotificationInset, + unix_ISteamUtils_SteamUtils008_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils008_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils008_GetServerRealTime, + unix_ISteamUtils_SteamUtils008_GetIPCountry, + unix_ISteamUtils_SteamUtils008_GetImageSize, + unix_ISteamUtils_SteamUtils008_GetImageRGBA, + unix_ISteamUtils_SteamUtils008_GetCSERIPPort, + unix_ISteamUtils_SteamUtils008_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils008_GetAppID, + unix_ISteamUtils_SteamUtils008_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils008_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils008_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils008_GetAPICallResult, + unix_ISteamUtils_SteamUtils008_RunFrame, + unix_ISteamUtils_SteamUtils008_GetIPCCallCount, + unix_ISteamUtils_SteamUtils008_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils008_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils008_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils008_CheckFileSignature, + unix_ISteamUtils_SteamUtils008_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils008_GetSteamUILanguage, + unix_ISteamUtils_SteamUtils008_IsSteamRunningInVR, + unix_ISteamUtils_SteamUtils008_SetOverlayNotificationInset, + unix_ISteamUtils_SteamUtils008_IsSteamInBigPictureMode, + unix_ISteamUtils_SteamUtils008_StartVRDashboard, + unix_ISteamUtils_SteamUtils009_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils009_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils009_GetServerRealTime, + unix_ISteamUtils_SteamUtils009_GetIPCountry, + unix_ISteamUtils_SteamUtils009_GetImageSize, + unix_ISteamUtils_SteamUtils009_GetImageRGBA, + unix_ISteamUtils_SteamUtils009_GetCSERIPPort, + unix_ISteamUtils_SteamUtils009_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils009_GetAppID, + unix_ISteamUtils_SteamUtils009_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils009_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils009_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils009_GetAPICallResult, + unix_ISteamUtils_SteamUtils009_RunFrame, + unix_ISteamUtils_SteamUtils009_GetIPCCallCount, + unix_ISteamUtils_SteamUtils009_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils009_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils009_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils009_CheckFileSignature, + unix_ISteamUtils_SteamUtils009_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils009_GetSteamUILanguage, + unix_ISteamUtils_SteamUtils009_IsSteamRunningInVR, + unix_ISteamUtils_SteamUtils009_SetOverlayNotificationInset, + unix_ISteamUtils_SteamUtils009_IsSteamInBigPictureMode, + unix_ISteamUtils_SteamUtils009_StartVRDashboard, + unix_ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, + unix_ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, + unix_ISteamUtils_SteamUtils009_IsSteamChinaLauncher, + unix_ISteamUtils_SteamUtils009_InitFilterText, + unix_ISteamUtils_SteamUtils009_FilterText, + unix_ISteamUtils_SteamUtils009_GetIPv6ConnectivityState, + unix_ISteamUtils_SteamUtils010_GetSecondsSinceAppActive, + unix_ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, + unix_ISteamUtils_SteamUtils010_GetConnectedUniverse, + unix_ISteamUtils_SteamUtils010_GetServerRealTime, + unix_ISteamUtils_SteamUtils010_GetIPCountry, + unix_ISteamUtils_SteamUtils010_GetImageSize, + unix_ISteamUtils_SteamUtils010_GetImageRGBA, + unix_ISteamUtils_SteamUtils010_GetCSERIPPort, + unix_ISteamUtils_SteamUtils010_GetCurrentBatteryPower, + unix_ISteamUtils_SteamUtils010_GetAppID, + unix_ISteamUtils_SteamUtils010_SetOverlayNotificationPosition, + unix_ISteamUtils_SteamUtils010_IsAPICallCompleted, + unix_ISteamUtils_SteamUtils010_GetAPICallFailureReason, + unix_ISteamUtils_SteamUtils010_GetAPICallResult, + unix_ISteamUtils_SteamUtils010_RunFrame, + unix_ISteamUtils_SteamUtils010_GetIPCCallCount, + unix_ISteamUtils_SteamUtils010_SetWarningMessageHook, + unix_ISteamUtils_SteamUtils010_IsOverlayEnabled, + unix_ISteamUtils_SteamUtils010_BOverlayNeedsPresent, + unix_ISteamUtils_SteamUtils010_CheckFileSignature, + unix_ISteamUtils_SteamUtils010_ShowGamepadTextInput, + unix_ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, + unix_ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, + unix_ISteamUtils_SteamUtils010_GetSteamUILanguage, + unix_ISteamUtils_SteamUtils010_IsSteamRunningInVR, + unix_ISteamUtils_SteamUtils010_SetOverlayNotificationInset, + unix_ISteamUtils_SteamUtils010_IsSteamInBigPictureMode, + unix_ISteamUtils_SteamUtils010_StartVRDashboard, + unix_ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, + unix_ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, + unix_ISteamUtils_SteamUtils010_IsSteamChinaLauncher, + unix_ISteamUtils_SteamUtils010_InitFilterText, + unix_ISteamUtils_SteamUtils010_FilterText, + unix_ISteamUtils_SteamUtils010_GetIPv6ConnectivityState, + unix_ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, + unix_ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, + unix_ISteamUtils_SteamUtils010_SetGameLauncherMode, + unix_ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/lsteamclient/winISteamAppList.c b/lsteamclient/winISteamAppList.c index d16c2bf2e..1e4b11b34 100644 --- a/lsteamclient/winISteamAppList.c +++ b/lsteamclient/winISteamAppList.c @@ -1,70 +1,83 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h" - -typedef struct __winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps, 4) -uint32 __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *_this) +DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, 12) +DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, 16) +DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, 16) +DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, 8) + +uint32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(struct w_steam_iface *_this) { + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps(_this->linux_side); + STEAMCLIENT_CALL( ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, 12) -uint32 __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *_this, AppId_t * pvecAppID, uint32 unMaxAppIDs) +uint32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(struct w_steam_iface *_this, uint32_t *pvecAppID, uint32_t unMaxAppIDs) { + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params params = + { + .linux_side = _this->u_iface, + .pvecAppID = pvecAppID, + .unMaxAppIDs = unMaxAppIDs, + }; TRACE("%p\n", _this); - return cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps(_this->linux_side, pvecAppID, unMaxAppIDs); + STEAMCLIENT_CALL( ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, 16) -int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *_this, AppId_t nAppID, char * pchName, int cchNameMax) +int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(struct w_steam_iface *_this, uint32_t nAppID, char *pchName, int32_t cchNameMax) { + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchName = pchName, + .cchNameMax = cchNameMax, + }; TRACE("%p\n", _this); - return cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName(_this->linux_side, nAppID, pchName, cchNameMax); + STEAMCLIENT_CALL( ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, 16) -int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *_this, AppId_t nAppID, char * pchDirectory, int cchNameMax) +int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(struct w_steam_iface *_this, uint32_t nAppID, char *pchDirectory, int32_t cchNameMax) { - uint32 path_result; + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchDirectory = pchDirectory, + .cchNameMax = cchNameMax, + }; TRACE("%p\n", _this); - path_result = cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir(_this->linux_side, nAppID, pchDirectory, cchNameMax); - path_result = steamclient_unix_path_to_dos_path(path_result, pchDirectory, pchDirectory, cchNameMax, 0); - return path_result; + STEAMCLIENT_CALL( ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, 8) -int __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *_this, AppId_t nAppID) +int32_t __thiscall winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId, ¶ms ); + return params._ret; } extern vtable_ptr winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001, 0, ".?AVISteamAppList@@") + +__ASM_BLOCK_BEGIN(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps) VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps) @@ -72,16 +85,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir) VTABLE_ADD_FUNC(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *u_iface) { - winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001), "STEAMAPPLIST_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPLIST_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_vtable, 5, "STEAMAPPLIST_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamAppList_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamAppTicket.c b/lsteamclient/winISteamAppTicket.c index 394f03f42..baa8b85ce 100644 --- a/lsteamclient/winISteamAppTicket.c +++ b/lsteamclient/winISteamAppTicket.c @@ -1,52 +1,50 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001.h" - -typedef struct __winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData, 32) -uint32 __thiscall winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 *_this, uint32 nAppID, void * pvBuffer, uint32 cbBufferLength, uint32 * piAppId, uint32 * piSteamId, uint32 * piSignature, uint32 * pcbSignature) + +uint32_t __thiscall winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(struct w_steam_iface *_this, uint32_t nAppID, void *pvBuffer, uint32_t cbBufferLength, uint32_t *piAppId, uint32_t *piSteamId, uint32_t *piSignature, uint32_t *pcbSignature) { + struct ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + .piAppId = piAppId, + .piSteamId = piSteamId, + .piSignature = piSignature, + .pcbSignature = pcbSignature, + }; TRACE("%p\n", _this); - return cppISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData(_this->linux_side, nAppID, pvBuffer, cbBufferLength, piAppId, piSteamId, piSignature, pcbSignature); + STEAMCLIENT_CALL( ISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData, ¶ms ); + return params._ret; } extern vtable_ptr winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001, 0, ".?AVISteamAppTicket@@") + +__ASM_BLOCK_BEGIN(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_GetAppOwnershipTicketData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *u_iface) { - winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001), "STEAMAPPTICKET_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPTICKET_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_vtable, 1, "STEAMAPPTICKET_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamAppTicket_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamApps.c b/lsteamclient/winISteamApps.c index 6d281684d..aa6968745 100644 --- a/lsteamclient/winISteamApps.c +++ b/lsteamclient/winISteamApps.c @@ -1,687 +1,1075 @@ /* This file is auto-generated, do not edit. */ -#include +#include "steamclient_private.h" -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cxx.h" +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, 20) -#include "steam_defs.h" +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(struct w_steam_iface *_this, uint32_t nAppID, const char *pchKey, char *pchValue, int32_t cchValueMax) +{ + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueMax = cchValueMax, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, ¶ms ); + return params._ret; +} -#include "steamclient_private.h" +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable; -#include "struct_converters.h" +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION001, 0, ".?AVISteamApps@@") -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData) + ); +__ASM_BLOCK_END -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION008.h" +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable, 1, "STEAMAPPS_INTERFACE_VERSION001"); + r->u_iface = u_iface; + return r; +} -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION008; +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp, 8) -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t appID) +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable; + +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION002, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION002, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(_this->linux_side, appID); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable, 7, "STEAMAPPS_INTERFACE_VERSION002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime, 8) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled, 8) + +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex, 24) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(_this->linux_side, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName, 12) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(_this->linux_side, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, bool bMissingFilesOnly) +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable; + +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION003, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(_this->linux_side, bMissingFilesOnly); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION003"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable, 8, "STEAMAPPS_INTERFACE_VERSION003"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex, 24) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC, 8) + +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(_this->linux_side, appID, pvecDepots, cMaxDepots); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(struct w_steam_iface *_this) { - uint32 path_result; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - path_result = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(_this->linux_side, appID, pchFolder, cchFolderBufferSize); - path_result = steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderBufferSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner, 8) -CSteamID *__thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, CSteamID *_r) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, 8) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, const char * pchKey) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(_this->linux_side, pchKey); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress, 16) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(_this->linux_side, nAppID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys, 4) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, 8) -SteamAPICall_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, const char * pszFileName) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, uint32_t nAppID) { - char lin_pszFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFileName, lin_pszFileName, 0); - uint32 path_result; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - path_result = cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(_this->linux_side, pszFileName ? lin_pszFileName : NULL); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine, 12) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, char * pszCommandLine, int cubCommandLine) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(_this->linux_side, pszCommandLine, cubCommandLine); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial, 12) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, uint32 * punSecondsAllowed, uint32 * punSecondsPlayed) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(struct w_steam_iface *_this, int32_t iDLC, uint32_t *pAppID, int8_t *pbAvailable, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(_this->linux_side, punSecondsAllowed, punSecondsPlayed); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC, ¶ms ); } -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION008, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext) - ); -#ifndef __GNUC__ -} -#endif - -winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *linux_side) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION008 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION008), "STEAMAPPS_INTERFACE_VERSION008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable, 30, "STEAMAPPS_INTERFACE_VERSION008"); - r->linux_side = linux_side; - return r; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC, ¶ms ); } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION007.h" +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable; -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION007; +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION004, 0, ".?AVISteamApps@@") -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) -{ - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(_this->linux_side); -} +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION004, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable, 14, "STEAMAPPS_INTERFACE_VERSION004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) -{ - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex, 24) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled, 8) -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t appID) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime, 8) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t nAppID) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex, 24) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(_this->linux_side, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t nAppID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t nAppID) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t nAppID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(struct w_steam_iface *_this, int32_t iDLC, uint32_t *pAppID, int8_t *pbAvailable, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName, 12) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, char * pchName, int cchNameBufferSize) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(_this->linux_side, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, bool bMissingFilesOnly) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(_this->linux_side, bMissingFilesOnly); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(_this->linux_side, appID, pvecDepots, cMaxDepots); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int32_t cchNameBufferSize) { - uint32 path_result; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - path_result = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(_this->linux_side, appID, pchFolder, cchFolderBufferSize); - path_result = steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderBufferSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(struct w_steam_iface *_this, int8_t bMissingFilesOnly) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner, 8) -CSteamID *__thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, CSteamID *_r) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(struct w_steam_iface *_this, uint32_t *pvecDepots, uint32_t cMaxDepots) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - *_r = cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, 8) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, const char * pchKey) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(struct w_steam_iface *_this, uint32_t appID, char *pchFolder, uint32_t cchFolderBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(_this->linux_side, pchKey); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress, 16) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(_this->linux_side, nAppID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *_this) -{ - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(_this->linux_side); -} +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable; -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable; +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION005, 0, ".?AVISteamApps@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION007, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId) +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION005, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007(void *linux_side) +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005(void *u_iface) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION007 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION007), "STEAMAPPS_INTERFACE_VERSION007"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION005"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable, 24, "STEAMAPPS_INTERFACE_VERSION007"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable, 20, "STEAMAPPS_INTERFACE_VERSION005"); + r->u_iface = u_iface; return r; } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION006.h" - -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION006; - DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex, 24) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, 8) + +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime, 8) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t nAppID) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetEarliestPurchaseUnixTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribedFromFreeWeekend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetDLCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex, 24) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(struct w_steam_iface *_this, int32_t iDLC, uint32_t *pAppID, int8_t *pbAvailable, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex(_this->linux_side, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BGetDLCDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_InstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_UninstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_RequestAppProofOfPurchaseKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName, 12) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName(_this->linux_side, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetCurrentBetaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, bool bMissingFilesOnly) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(struct w_steam_iface *_this, int8_t bMissingFilesOnly) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt(_this->linux_side, bMissingFilesOnly); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_MarkContentCorrupt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(struct w_steam_iface *_this, uint32_t appID, uint32_t *pvecDepots, uint32_t cMaxDepots) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots(_this->linux_side, appID, pvecDepots, cMaxDepots); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetInstalledDepots, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(struct w_steam_iface *_this, uint32_t appID, char *pchFolder, uint32_t cchFolderBufferSize) { - uint32 path_result; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - path_result = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir(_this->linux_side, appID, pchFolder, cchFolderBufferSize); - path_result = steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderBufferSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppInstallDir, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsAppInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner, 8) -CSteamID *__thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, CSteamID *_r) +CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_r = cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, 8) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *_this, const char * pchKey) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam(_this->linux_side, pchKey); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam, ¶ms ); + return params._ret; } extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION006, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtables) __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION006, VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsSubscribed) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_BIsLowViolence) @@ -706,554 +1094,818 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetAppOwner) VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION006_GetLaunchQueryParam) ); -#ifndef __GNUC__ +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable, 22, "STEAMAPPS_INTERFACE_VERSION006"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex, 24) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId, 4) + +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed(struct w_steam_iface *_this) +{ + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed, ¶ms ); + return params._ret; } -#endif -winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006(void *linux_side) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence(struct w_steam_iface *_this) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION006 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION006), "STEAMAPPS_INTERFACE_VERSION006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION006_vtable, 22, "STEAMAPPS_INTERFACE_VERSION006"); - r->linux_side = linux_side; - return r; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence, ¶ms ); + return params._ret; } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION005.h" +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe(struct w_steam_iface *_this) +{ + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe, ¶ms ); + return params._ret; +} -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION005; +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned(struct w_steam_iface *_this) +{ + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t appID) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex(struct w_steam_iface *_this, int32_t iDLC, uint32_t *pAppID, int8_t *pbAvailable, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime, 8) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex, 24) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex(_this->linux_side, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t nAppID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt(struct w_steam_iface *_this, int8_t bMissingFilesOnly) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t nAppID) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots(struct w_steam_iface *_this, uint32_t appID, uint32_t *pvecDepots, uint32_t cMaxDepots) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t nAppID) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir(struct w_steam_iface *_this, uint32_t appID, char *pchFolder, uint32_t cchFolderBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName, 12) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName(_this->linux_side, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, bool bMissingFilesOnly) +CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt(_this->linux_side, bMissingFilesOnly); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots, 12) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, DepotId_t * pvecDepots, uint32 cMaxDepots) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots(_this->linux_side, pvecDepots, cMaxDepots); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir, 16) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress(struct w_steam_iface *_this, uint32_t nAppID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { - uint32 path_result; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - path_result = cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir(_this->linux_side, appID, pchFolder, cchFolderBufferSize); - path_result = steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderBufferSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *_this, AppId_t appID) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable; +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION005, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedApp) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsDlcInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetEarliestPurchaseUnixTime) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsSubscribedFromFreeWeekend) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetDLCCount) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BGetDLCDataByIndex) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_InstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_UninstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_RequestAppProofOfPurchaseKey) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetCurrentBetaName) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_MarkContentCorrupt) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetInstalledDepots) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_GetAppInstallDir) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION005_BIsAppInstalled) +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION007, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION007, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedApp) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsDlcInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetEarliestPurchaseUnixTime) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsSubscribedFromFreeWeekend) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDLCCount) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BGetDLCDataByIndex) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_InstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_UninstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_RequestAppProofOfPurchaseKey) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetCurrentBetaName) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_MarkContentCorrupt) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetInstalledDepots) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppInstallDir) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_BIsAppInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppOwner) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetLaunchQueryParam) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetDlcDownloadProgress) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION007_GetAppBuildId) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005(void *linux_side) +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007(void *u_iface) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION005 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION005), "STEAMAPPS_INTERFACE_VERSION005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION007"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION005_vtable, 20, "STEAMAPPS_INTERFACE_VERSION005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION007_vtable, 24, "STEAMAPPS_INTERFACE_VERSION007"); + r->u_iface = u_iface; return r; } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION004.h" - -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION004; +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex, 24) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, 8) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing, 4) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial, 12) +DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext, 8) -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime, 8) -uint32 __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, AppId_t nAppID) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount, 4) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex, 24) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex(struct w_steam_iface *_this, int32_t iDLC, uint32_t *pAppID, int8_t *pbAvailable, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex_params params = + { + .linux_side = _this->u_iface, + .iDLC = iDLC, + .pAppID = pAppID, + .pbAvailable = pbAvailable, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex(_this->linux_side, iDLC, pAppID, pbAvailable, pchName, cchNameBufferSize); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC, 8) -void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *_this, AppId_t nAppID) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC(_this->linux_side, nAppID); -} - -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION004, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedApp) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsDlcInstalled) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetEarliestPurchaseUnixTime) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BIsSubscribedFromFreeWeekend) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_GetDLCCount) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_BGetDLCDataByIndex) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_InstallDLC) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION004_UninstallDLC) - ); -#ifndef __GNUC__ -} -#endif - -winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *linux_side) -{ - winISteamApps_STEAMAPPS_INTERFACE_VERSION004 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION004), "STEAMAPPS_INTERFACE_VERSION004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION004_vtable, 14, "STEAMAPPS_INTERFACE_VERSION004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC, ¶ms ); } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION003.h" - -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION003; - -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName(struct w_steam_iface *_this, char *pchName, int32_t cchNameBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .cchNameBufferSize = cchNameBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt(struct w_steam_iface *_this, int8_t bMissingFilesOnly) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt_params params = + { + .linux_side = _this->u_iface, + .bMissingFilesOnly = bMissingFilesOnly, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots(struct w_steam_iface *_this, uint32_t appID, uint32_t *pvecDepots, uint32_t cMaxDepots) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pvecDepots = pvecDepots, + .cMaxDepots = cMaxDepots, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +uint32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir(struct w_steam_iface *_this, uint32_t appID, char *pchFolder, uint32_t cchFolderBufferSize) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + .pchFolder = pchFolder, + .cchFolderBufferSize = cchFolderBufferSize, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled(struct w_steam_iface *_this, uint32_t appID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled_params params = + { + .linux_side = _this->u_iface, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this, AppId_t appID) +CSteamID * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *_this, AppId_t appID) +const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam(struct w_steam_iface *_this, const char *pchKey) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled(_this->linux_side, appID); -} - -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsSubscribedApp) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION003_BIsDlcInstalled) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam, ¶ms ); + return params._ret; } -#endif -winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003(void *linux_side) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress(struct w_steam_iface *_this, uint32_t nAppID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION003), "STEAMAPPS_INTERFACE_VERSION003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION003_vtable, 8, "STEAMAPPS_INTERFACE_VERSION003"); - r->linux_side = linux_side; - return r; + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress, ¶ms ); + return params._ret; } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION002.h" - -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION002; - -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +void __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +uint64_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails(struct w_steam_iface *_this, const char *pszFileName) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails_params params = + { + .linux_side = _this->u_iface, + .pszFileName = pszFileName, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned, 4) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +int32_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine(struct w_steam_iface *_this, char *pszCommandLine, int32_t cubCommandLine) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine_params params = + { + .linux_side = _this->u_iface, + .pszCommandLine = pszCommandLine, + .cubCommandLine = cubCommandLine, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing(struct w_steam_iface *_this) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages, 4) -const char * __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial(struct w_steam_iface *_this, uint32_t *punSecondsAllowed, uint32_t *punSecondsPlayed) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial_params params = + { + .linux_side = _this->u_iface, + .punSecondsAllowed = punSecondsAllowed, + .punSecondsPlayed = punSecondsPlayed, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages(_this->linux_side); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp, 8) -bool __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *_this, AppId_t appID) +int8_t __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp(_this->linux_side, appID); + STEAMCLIENT_CALL( ISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable; +extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION002, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetCurrentGameLanguage) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_GetAvailableGameLanguages) - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribedApp) +DEFINE_RTTI_DATA0(winISteamApps_STEAMAPPS_INTERFACE_VERSION008, 0, ".?AVISteamApps@@") + +__ASM_BLOCK_BEGIN(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtables) + __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION008, + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribed) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsLowViolence) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsCybercafe) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsVACBanned) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentGameLanguage) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAvailableGameLanguages) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedApp) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsDlcInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetEarliestPurchaseUnixTime) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFreeWeekend) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDLCCount) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BGetDLCDataByIndex) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_InstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_UninstallDLC) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAppProofOfPurchaseKey) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetCurrentBetaName) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_MarkContentCorrupt) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetInstalledDepots) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppInstallDir) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsAppInstalled) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppOwner) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchQueryParam) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetDlcDownloadProgress) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetAppBuildId) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_RequestAllProofOfPurchaseKeys) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetFileDetails) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_GetLaunchCommandLine) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsSubscribedFromFamilySharing) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_BIsTimedTrial) + VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION008_SetDlcContext) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002(void *linux_side) +struct w_steam_iface *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *u_iface) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION002), "STEAMAPPS_INTERFACE_VERSION002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMAPPS_INTERFACE_VERSION008"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION002_vtable, 7, "STEAMAPPS_INTERFACE_VERSION002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION008_vtable, 30, "STEAMAPPS_INTERFACE_VERSION008"); + r->u_iface = u_iface; return r; } -#include "cppISteamApps_STEAMAPPS_INTERFACE_VERSION001.h" - -typedef struct __winISteamApps_STEAMAPPS_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamApps_STEAMAPPS_INTERFACE_VERSION001; - -DEFINE_THISCALL_WRAPPER(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData, 20) -int __thiscall winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(winISteamApps_STEAMAPPS_INTERFACE_VERSION001 *_this, AppId_t nAppID, const char * pchKey, char * pchValue, int cchValueMax) -{ - TRACE("%p\n", _this); - return cppISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData(_this->linux_side, nAppID, pchKey, pchValue, cchValueMax); -} - -extern vtable_ptr winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamApps_STEAMAPPS_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamApps_STEAMAPPS_INTERFACE_VERSION001_GetAppData) - ); -#ifndef __GNUC__ -} -#endif - -winISteamApps_STEAMAPPS_INTERFACE_VERSION001 *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001(void *linux_side) +void init_winISteamApps_rtti( char *base ) { - winISteamApps_STEAMAPPS_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamApps_STEAMAPPS_INTERFACE_VERSION001), "STEAMAPPS_INTERFACE_VERSION001"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamApps_STEAMAPPS_INTERFACE_VERSION001_vtable, 1, "STEAMAPPS_INTERFACE_VERSION001"); - r->linux_side = linux_side; - return r; +#ifdef __x86_64__ + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION001_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION002_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION003_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION004_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION005_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION006_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION007_rtti( base ); + init_winISteamApps_STEAMAPPS_INTERFACE_VERSION008_rtti( base ); +#endif /* __x86_64__ */ } - diff --git a/lsteamclient/winISteamClient.c b/lsteamclient/winISteamClient.c index b6a2d3c4e..0edc77c51 100644 --- a/lsteamclient/winISteamClient.c +++ b/lsteamclient/winISteamClient.c @@ -1,2352 +1,3576 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamClient_SteamClient020.h" +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateLocalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetIVAC, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetUniverseName, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamBilling, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamContentServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetIPCCallCount, 4) -typedef struct __winISteamClient_SteamClient020 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient020; +int32_t __thiscall winISteamClient_SteamClient006_CreateSteamPipe(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient006_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_CreateSteamPipe, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient020_CreateSteamPipe(winISteamClient_SteamClient020 *_this) +int8_t __thiscall winISteamClient_SteamClient006_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient006_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient020_BReleaseSteamPipe(winISteamClient_SteamClient020 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient006_CreateGlobalUser(struct w_steam_iface *_this, int32_t *phSteamPipe) { + struct ISteamClient_SteamClient006_CreateGlobalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_CreateGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient020_ConnectToGlobalUser(winISteamClient_SteamClient020 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient006_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient006_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient020_CreateLocalUser(winISteamClient_SteamClient020 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +int32_t __thiscall winISteamClient_SteamClient006_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe) { + struct ISteamClient_SteamClient006_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient020_ReleaseUser(winISteamClient_SteamClient020 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient006_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient006_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient020_GetISteamUser(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient006_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient020_GetISteamGameServer(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient006_GetIVAC(struct w_steam_iface *_this, int32_t hSteamUser) { + struct ISteamClient_SteamClient006_GetIVAC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetIVAC, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient020_SetLocalIPBinding(winISteamClient_SteamClient020 *_this, const SteamIPAddress_t * unIP, uint16 usPort) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient006_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient020_GetISteamFriends(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient006_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient006_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient020_GetISteamUtils(winISteamClient_SteamClient020 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +const char * __thiscall winISteamClient_SteamClient006_GetUniverseName(struct w_steam_iface *_this, uint32_t eUniverse) { + struct ISteamClient_SteamClient006_GetUniverseName_params params = + { + .linux_side = _this->u_iface, + .eUniverse = eUniverse, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetUniverseName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient020_GetISteamMatchmaking(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient006_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient020_GetISteamMatchmakingServers(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient006_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient020_GetISteamGenericInterface(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient006_GetISteamBilling(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamBilling_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamBilling, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient020_GetISteamUserStats(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient006_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient020_GetISteamGameServerStats(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient006_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient020_GetISteamApps(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamContentServer*/ * __thiscall winISteamClient_SteamClient006_GetISteamContentServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamContentServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamContentServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient020_GetISteamNetworking(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient006_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient020_GetISteamRemoteStorage(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient006_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient006_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient020_GetISteamScreenshots(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient006_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameSearch, 16) -winISteamGameSearch * __thiscall winISteamClient_SteamClient020_GetISteamGameSearch(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient006_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient006_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamGameSearch(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient006_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_RunFrame, 4) -void __thiscall winISteamClient_SteamClient020_RunFrame(winISteamClient_SteamClient020 *_this) +extern vtable_ptr winISteamClient_SteamClient006_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient006, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient006_vtables) + __ASM_VTABLE(winISteamClient_SteamClient006, + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetIVAC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetUniverseName) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamBilling) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamContentServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetIPCCallCount) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient006_vtable, 21, "SteamClient006"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_CreateLocalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamContentServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamRemoteStorage, 16) + +int32_t __thiscall winISteamClient_SteamClient007_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient007_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient020_GetIPCCallCount(winISteamClient_SteamClient020 *_this) +int8_t __thiscall winISteamClient_SteamClient007_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient007_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient020_SetWarningMessageHook(winISteamClient_SteamClient020 *_this, SteamAPIWarningMessageHook_t pFunction) +int32_t __thiscall winISteamClient_SteamClient007_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient007_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient020_BShutdownIfAllPipesClosed(winISteamClient_SteamClient020 *_this) +int32_t __thiscall winISteamClient_SteamClient007_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe) { + struct ISteamClient_SteamClient007_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient020_GetISteamHTTP(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient007_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient007_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages, 16) -void * __thiscall winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient007_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient020_GetISteamController(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient007_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient020_GetISteamUGC(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient007_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient007_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient020_GetISteamAppList(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient007_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient020_GetISteamMusic(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient007_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient020_GetISteamMusicRemote(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient007_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamHTMLSurface, 16) -winISteamHTMLSurface * __thiscall winISteamClient_SteamClient020_GetISteamHTMLSurface(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamContentServer*/ * __thiscall winISteamClient_SteamClient007_GetISteamContentServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamContentServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamHTMLSurface(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamContentServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient020 *_this, void * _a) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient007_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient020 *_this, void * _a) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient007_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) -void __thiscall winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(winISteamClient_SteamClient020 *_this, SteamAPI_CheckCallbackRegistered_t func) +void * __thiscall winISteamClient_SteamClient007_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamInventory, 16) -winISteamInventory * __thiscall winISteamClient_SteamClient020_GetISteamInventory(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient007_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamInventory(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamVideo, 16) -winISteamVideo * __thiscall winISteamClient_SteamClient020_GetISteamVideo(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient007_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient007_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamVideo(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamParentalSettings, 16) -winISteamParentalSettings * __thiscall winISteamClient_SteamClient020_GetISteamParentalSettings(winISteamClient_SteamClient020 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient007_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamParentalSettings(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamInput, 16) -winISteamInput * __thiscall winISteamClient_SteamClient020_GetISteamInput(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient007_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamInput(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamParties, 16) -winISteamParties * __thiscall winISteamClient_SteamClient020_GetISteamParties(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient007_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamParties(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamRemotePlay, 16) -winISteamRemotePlay * __thiscall winISteamClient_SteamClient020_GetISteamRemotePlay(winISteamClient_SteamClient020 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient007_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient007_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient020_GetISteamRemotePlay(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DestroyAllInterfaces, 4) -void __thiscall winISteamClient_SteamClient020_DestroyAllInterfaces(winISteamClient_SteamClient020 *_this) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient007_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient007_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient020_DestroyAllInterfaces(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient007_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient020_vtable; +extern vtable_ptr winISteamClient_SteamClient007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient020, - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameSearch) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMusicRemote) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamHTMLSurface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamInventory) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamVideo) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamParentalSettings) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamInput) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamParties) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamRemotePlay) - VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DestroyAllInterfaces) +DEFINE_RTTI_DATA0(winISteamClient_SteamClient007, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient007_vtables) + __ASM_VTABLE(winISteamClient_SteamClient007, + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamContentServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamRemoteStorage) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamClient_SteamClient020 *create_winISteamClient_SteamClient020(void *linux_side) +struct w_steam_iface *create_winISteamClient_SteamClient007(void *u_iface) { - winISteamClient_SteamClient020 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient020), "SteamClient020"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient007"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient020_vtable, 42, "SteamClient020"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamClient_SteamClient007_vtable, 22, "SteamClient007"); + r->u_iface = u_iface; return r; } -#include "cppISteamClient_SteamClient019.h" - -typedef struct __winISteamClient_SteamClient019 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient019; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient019_CreateSteamPipe(winISteamClient_SteamClient019 *_this) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_CreateSteamPipe(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_SetWarningMessageHook, 8) -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient019_BReleaseSteamPipe(winISteamClient_SteamClient019 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient008_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient008_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient019_ConnectToGlobalUser(winISteamClient_SteamClient019 *_this, HSteamPipe hSteamPipe) +int8_t __thiscall winISteamClient_SteamClient008_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient008_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient019_CreateLocalUser(winISteamClient_SteamClient019 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +int32_t __thiscall winISteamClient_SteamClient008_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient008_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient019_ReleaseUser(winISteamClient_SteamClient019 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +int32_t __thiscall winISteamClient_SteamClient008_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient008_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient019_GetISteamUser(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient008_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient008_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient019_GetISteamGameServer(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient008_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient019_SetLocalIPBinding(winISteamClient_SteamClient019 *_this, uint32 unIP, uint16 usPort) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient008_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient019_GetISteamFriends(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient008_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient008_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient019_GetISteamUtils(winISteamClient_SteamClient019 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient008_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient019_GetISteamMatchmaking(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient008_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient019_GetISteamMatchmakingServers(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient008_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient019_GetISteamGenericInterface(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient008_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient019_GetISteamUserStats(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient008_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient019_GetISteamGameServerStats(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient008_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient019_GetISteamApps(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient008_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient019_GetISteamNetworking(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient008_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient019_GetISteamRemoteStorage(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient008_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient019_GetISteamScreenshots(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient008_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient008_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameSearch, 16) -winISteamGameSearch * __thiscall winISteamClient_SteamClient019_GetISteamGameSearch(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient008_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamGameSearch(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_RunFrame, 4) -void __thiscall winISteamClient_SteamClient019_RunFrame(winISteamClient_SteamClient019 *_this) +uint32_t __thiscall winISteamClient_SteamClient008_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient008_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient019_GetIPCCallCount(winISteamClient_SteamClient019 *_this) +void __thiscall winISteamClient_SteamClient008_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient008_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient008_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient019_SetWarningMessageHook(winISteamClient_SteamClient019 *_this, SteamAPIWarningMessageHook_t pFunction) -{ - TRACE("%p\n", _this); - cppISteamClient_SteamClient019_SetWarningMessageHook(_this->linux_side, pFunction); -} +extern vtable_ptr winISteamClient_SteamClient008_vtable; -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient019_BShutdownIfAllPipesClosed(winISteamClient_SteamClient019 *_this) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_BShutdownIfAllPipesClosed(_this->linux_side); -} +DEFINE_RTTI_DATA0(winISteamClient_SteamClient008, 0, ".?AVISteamClient@@") -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient019_GetISteamHTTP(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages, 16) -void * __thiscall winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient019_GetISteamController(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient008_vtables) + __ASM_VTABLE(winISteamClient_SteamClient008, + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient008_SetWarningMessageHook) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient019_GetISteamUGC(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +struct w_steam_iface *create_winISteamClient_SteamClient008(void *u_iface) { - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient008_vtable, 21, "SteamClient008"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient019_GetISteamAppList(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_SetWarningMessageHook, 8) -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient019_GetISteamMusic(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient009_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient009_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient019_GetISteamMusicRemote(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient009_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient009_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamHTMLSurface, 16) -winISteamHTMLSurface * __thiscall winISteamClient_SteamClient019_GetISteamHTMLSurface(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient009_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient009_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamHTMLSurface(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient019 *_this, void * _a) +int32_t __thiscall winISteamClient_SteamClient009_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient009_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient019 *_this, void * _a) +void __thiscall winISteamClient_SteamClient009_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient009_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) -void __thiscall winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(winISteamClient_SteamClient019 *_this, SteamAPI_CheckCallbackRegistered_t func) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient009_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamInventory, 16) -winISteamInventory * __thiscall winISteamClient_SteamClient019_GetISteamInventory(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient009_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamInventory(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamVideo, 16) -winISteamVideo * __thiscall winISteamClient_SteamClient019_GetISteamVideo(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient009_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient009_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamVideo(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamParentalSettings, 16) -winISteamParentalSettings * __thiscall winISteamClient_SteamClient019_GetISteamParentalSettings(winISteamClient_SteamClient019 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient009_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamParentalSettings(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamInput, 16) -winISteamInput * __thiscall winISteamClient_SteamClient019_GetISteamInput(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient009_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamInput(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamParties, 16) -winISteamParties * __thiscall winISteamClient_SteamClient019_GetISteamParties(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient009_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamParties(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamRemotePlay, 16) -winISteamRemotePlay * __thiscall winISteamClient_SteamClient019_GetISteamRemotePlay(winISteamClient_SteamClient019 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient009_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient019_GetISteamRemotePlay(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -extern vtable_ptr winISteamClient_SteamClient019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient019, - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameSearch) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMusicRemote) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamHTMLSurface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamInventory) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamVideo) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamParentalSettings) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamInput) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamParties) - VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamRemotePlay) - ); -#ifndef __GNUC__ -} -#endif - -winISteamClient_SteamClient019 *create_winISteamClient_SteamClient019(void *linux_side) -{ - winISteamClient_SteamClient019 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient019), "SteamClient019"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient019_vtable, 41, "SteamClient019"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient018.h" - -typedef struct __winISteamClient_SteamClient018 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient018; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient018_CreateSteamPipe(winISteamClient_SteamClient018 *_this) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient009_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient018_BReleaseSteamPipe(winISteamClient_SteamClient018 *_this, HSteamPipe hSteamPipe) +void * __thiscall winISteamClient_SteamClient009_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient018_ConnectToGlobalUser(winISteamClient_SteamClient018 *_this, HSteamPipe hSteamPipe) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient009_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient018_CreateLocalUser(winISteamClient_SteamClient018 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient009_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient018_ReleaseUser(winISteamClient_SteamClient018 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient009_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient018_GetISteamUser(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient009_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient018_GetISteamGameServer(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient009_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient009_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient018_SetLocalIPBinding(winISteamClient_SteamClient018 *_this, uint32 unIP, uint16 usPort) +void __thiscall winISteamClient_SteamClient009_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient009_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient018_GetISteamFriends(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient009_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient009_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient018_GetISteamUtils(winISteamClient_SteamClient018 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient009_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient009_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient009_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient018_GetISteamMatchmaking(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +extern vtable_ptr winISteamClient_SteamClient009_vtable; -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient018_GetISteamMatchmakingServers(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +DEFINE_RTTI_DATA0(winISteamClient_SteamClient009, 0, ".?AVISteamClient@@") -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient018_GetISteamGenericInterface(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient009_vtables) + __ASM_VTABLE(winISteamClient_SteamClient009, + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient009_SetWarningMessageHook) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient018_GetISteamUserStats(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +struct w_steam_iface *create_winISteamClient_SteamClient009(void *u_iface) { - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient009_vtable, 22, "SteamClient009"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient018_GetISteamGameServerStats(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamHTTP, 16) -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient018_GetISteamApps(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient010_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient010_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient018_GetISteamNetworking(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient010_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient010_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient018_GetISteamRemoteStorage(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient010_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient010_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient018_GetISteamScreenshots(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient010_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient010_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameSearch, 16) -winISteamGameSearch * __thiscall winISteamClient_SteamClient018_GetISteamGameSearch(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient010_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient010_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamGameSearch(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_RunFrame, 4) -void __thiscall winISteamClient_SteamClient018_RunFrame(winISteamClient_SteamClient018 *_this) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient010_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient018_GetIPCCallCount(winISteamClient_SteamClient018 *_this) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient010_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient018_SetWarningMessageHook(winISteamClient_SteamClient018 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamClient_SteamClient010_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient010_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient018_BShutdownIfAllPipesClosed(winISteamClient_SteamClient018 *_this) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient010_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient018_GetISteamHTTP(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient010_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages, 16) -void * __thiscall winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient010_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient018_GetISteamController(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient010_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient018_GetISteamUGC(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient010_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient018_GetISteamAppList(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient010_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient018_GetISteamMusic(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient010_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient018_GetISteamMusicRemote(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient010_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamHTMLSurface, 16) -winISteamHTMLSurface * __thiscall winISteamClient_SteamClient018_GetISteamHTMLSurface(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient010_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamHTMLSurface(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient018 *_this, void * _a) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient010_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient018 *_this, void * _a) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient010_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) -void __thiscall winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(winISteamClient_SteamClient018 *_this, SteamAPI_CheckCallbackRegistered_t func) +void __thiscall winISteamClient_SteamClient010_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient010_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamInventory, 16) -winISteamInventory * __thiscall winISteamClient_SteamClient018_GetISteamInventory(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient010_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient010_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamInventory(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamVideo, 16) -winISteamVideo * __thiscall winISteamClient_SteamClient018_GetISteamVideo(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient010_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient010_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamVideo(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamParentalSettings, 16) -winISteamParentalSettings * __thiscall winISteamClient_SteamClient018_GetISteamParentalSettings(winISteamClient_SteamClient018 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient010_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient010_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamParentalSettings(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamInput, 16) -winISteamInput * __thiscall winISteamClient_SteamClient018_GetISteamInput(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient010_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient010_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamInput(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient010_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamParties, 16) -winISteamParties * __thiscall winISteamClient_SteamClient018_GetISteamParties(winISteamClient_SteamClient018 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient018_GetISteamParties(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +extern vtable_ptr winISteamClient_SteamClient010_vtable; -extern vtable_ptr winISteamClient_SteamClient018_vtable; +DEFINE_RTTI_DATA0(winISteamClient_SteamClient010, 0, ".?AVISteamClient@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient018, - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameSearch) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMusicRemote) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamHTMLSurface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamInventory) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamVideo) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamParentalSettings) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamInput) - VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamParties) +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient010_vtables) + __ASM_VTABLE(winISteamClient_SteamClient010, + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamHTTP) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamClient_SteamClient018 *create_winISteamClient_SteamClient018(void *linux_side) +struct w_steam_iface *create_winISteamClient_SteamClient010(void *u_iface) { - winISteamClient_SteamClient018 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient018), "SteamClient018"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient010"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient018_vtable, 40, "SteamClient018"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamClient_SteamClient010_vtable, 24, "SteamClient010"); + r->u_iface = u_iface; return r; } -#include "cppISteamClient_SteamClient017.h" - -typedef struct __winISteamClient_SteamClient017 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient017; +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMasterServerUpdater, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamHTTP, 16) -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient017_CreateSteamPipe(winISteamClient_SteamClient017 *_this) +int32_t __thiscall winISteamClient_SteamClient011_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient011_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient017_BReleaseSteamPipe(winISteamClient_SteamClient017 *_this, HSteamPipe hSteamPipe) +int8_t __thiscall winISteamClient_SteamClient011_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient011_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient017_ConnectToGlobalUser(winISteamClient_SteamClient017 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient011_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient011_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient017_CreateLocalUser(winISteamClient_SteamClient017 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +int32_t __thiscall winISteamClient_SteamClient011_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient011_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient017_ReleaseUser(winISteamClient_SteamClient017 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient011_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient011_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient017_GetISteamUser(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient011_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient017_GetISteamGameServer(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient011_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient017_SetLocalIPBinding(winISteamClient_SteamClient017 *_this, uint32 unIP, uint16 usPort) +void __thiscall winISteamClient_SteamClient011_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient011_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient017_GetISteamFriends(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient011_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient017_GetISteamUtils(winISteamClient_SteamClient017 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient011_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient017_GetISteamMatchmaking(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient011_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient017_GetISteamMatchmakingServers(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMasterServerUpdater*/ * __thiscall winISteamClient_SteamClient011_GetISteamMasterServerUpdater(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamMasterServerUpdater_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamMasterServerUpdater, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient017_GetISteamGenericInterface(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient011_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient017_GetISteamUserStats(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient011_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient017_GetISteamGameServerStats(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient011_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient017_GetISteamApps(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient011_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient017_GetISteamNetworking(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient011_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient017_GetISteamRemoteStorage(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient011_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient017_GetISteamScreenshots(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient011_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_RunFrame, 4) -void __thiscall winISteamClient_SteamClient017_RunFrame(winISteamClient_SteamClient017 *_this) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient011_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient017_GetIPCCallCount(winISteamClient_SteamClient017 *_this) +void __thiscall winISteamClient_SteamClient011_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient011_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient017_SetWarningMessageHook(winISteamClient_SteamClient017 *_this, SteamAPIWarningMessageHook_t pFunction) +uint32_t __thiscall winISteamClient_SteamClient011_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient011_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient017_BShutdownIfAllPipesClosed(winISteamClient_SteamClient017 *_this) +void __thiscall winISteamClient_SteamClient011_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient011_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient017_GetISteamHTTP(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient011_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient011_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages, 16) -void * __thiscall winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient011_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient011_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient011_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient017_GetISteamController(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +extern vtable_ptr winISteamClient_SteamClient011_vtable; -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient017_GetISteamUGC(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} +DEFINE_RTTI_DATA0(winISteamClient_SteamClient011, 0, ".?AVISteamClient@@") -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient017_GetISteamAppList(winISteamClient_SteamClient017 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient011_vtables) + __ASM_VTABLE(winISteamClient_SteamClient011, + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMasterServerUpdater) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamHTTP) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient011(void *u_iface) { - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient011"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient011_vtable, 25, "SteamClient011"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient017_GetISteamMusic(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUGC, 16) + +int32_t __thiscall winISteamClient_SteamClient012_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient012_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient017_GetISteamMusicRemote(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient012_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient012_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamHTMLSurface, 16) -winISteamHTMLSurface * __thiscall winISteamClient_SteamClient017_GetISteamHTMLSurface(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient012_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient012_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamHTMLSurface(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient017 *_this, void * _a) +int32_t __thiscall winISteamClient_SteamClient012_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient012_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient017 *_this, void * _a) +void __thiscall winISteamClient_SteamClient012_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient012_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(_this->linux_side, _a); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) -void __thiscall winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(winISteamClient_SteamClient017 *_this, SteamAPI_CheckCallbackRegistered_t func) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient012_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamInventory, 16) -winISteamInventory * __thiscall winISteamClient_SteamClient017_GetISteamInventory(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient012_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamInventory(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamVideo, 16) -winISteamVideo * __thiscall winISteamClient_SteamClient017_GetISteamVideo(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient012_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient012_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamVideo(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamParentalSettings, 16) -winISteamParentalSettings * __thiscall winISteamClient_SteamClient017_GetISteamParentalSettings(winISteamClient_SteamClient017 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient012_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient017_GetISteamParentalSettings(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} - -extern vtable_ptr winISteamClient_SteamClient017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient017, - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMusicRemote) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamHTMLSurface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamInventory) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamVideo) - VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamParentalSettings) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient017 *create_winISteamClient_SteamClient017(void *linux_side) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient012_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient017 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient017), "SteamClient017"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient017_vtable, 37, "SteamClient017"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient012_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient016.h" - -typedef struct __winISteamClient_SteamClient016 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient016; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient016_CreateSteamPipe(winISteamClient_SteamClient016 *_this) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient012_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient016_BReleaseSteamPipe(winISteamClient_SteamClient016 *_this, HSteamPipe hSteamPipe) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient012_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient016_ConnectToGlobalUser(winISteamClient_SteamClient016 *_this, HSteamPipe hSteamPipe) +void * __thiscall winISteamClient_SteamClient012_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient016_CreateLocalUser(winISteamClient_SteamClient016 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient012_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient016_ReleaseUser(winISteamClient_SteamClient016 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient012_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient016_GetISteamUser(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient012_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient016_GetISteamGameServer(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient012_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient016_SetLocalIPBinding(winISteamClient_SteamClient016 *_this, uint32 unIP, uint16 usPort) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient012_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient016_GetISteamFriends(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient012_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient016_GetISteamUtils(winISteamClient_SteamClient016 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient012_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient012_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient016_GetISteamMatchmaking(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient012_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient012_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient016_GetISteamMatchmakingServers(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient012_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient012_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient016_GetISteamGenericInterface(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient012_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient012_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient016_GetISteamUserStats(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient012_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient016_GetISteamGameServerStats(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient012_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamUnifiedMessages, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient016_GetISteamApps(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient012_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient016_GetISteamNetworking(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient012_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient012_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient012_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient016_GetISteamRemoteStorage(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ +extern vtable_ptr winISteamClient_SteamClient012_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient012, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient012_vtables) + __ASM_VTABLE(winISteamClient_SteamClient012, + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUGC) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient012(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient012"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient012_vtable, 27, "SteamClient012"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamInventory, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamAppList, 16) + +int32_t __thiscall winISteamClient_SteamClient013_CreateSteamPipe(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient013_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient016_GetISteamScreenshots(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient013_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient013_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_RunFrame, 4) -void __thiscall winISteamClient_SteamClient016_RunFrame(winISteamClient_SteamClient016 *_this) +int32_t __thiscall winISteamClient_SteamClient013_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient013_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient016_GetIPCCallCount(winISteamClient_SteamClient016 *_this) +int32_t __thiscall winISteamClient_SteamClient013_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient013_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient016_SetWarningMessageHook(winISteamClient_SteamClient016 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamClient_SteamClient013_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient013_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient016_BShutdownIfAllPipesClosed(winISteamClient_SteamClient016 *_this) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient013_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient016_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient016_GetISteamHTTP(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient013_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUnifiedMessages, 16) -winISteamUnifiedMessages * __thiscall winISteamClient_SteamClient016_GetISteamUnifiedMessages(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient013_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient013_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient016_GetISteamController(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient013_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient016_GetISteamUGC(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient013_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient016_GetISteamAppList(winISteamClient_SteamClient016 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient013_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient016_GetISteamMusic(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient013_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient016_GetISteamMusicRemote(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient013_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamHTMLSurface, 16) -winISteamHTMLSurface * __thiscall winISteamClient_SteamClient016_GetISteamHTMLSurface(winISteamClient_SteamClient016 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient013_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient016_GetISteamHTMLSurface(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient016 *_this, SteamAPI_PostAPIResultInProcess_t func) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient013_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess, 8) -void __thiscall winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(winISteamClient_SteamClient016 *_this, SteamAPI_PostAPIResultInProcess_t func) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient013_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) -void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(winISteamClient_SteamClient016 *_this, SteamAPI_CheckCallbackRegistered_t func) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient013_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(_this->linux_side, func); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient016_vtable; +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient013_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient013_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient016, - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMusicRemote) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamHTMLSurface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess) - VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess) - ); -#ifndef __GNUC__ +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient013_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient013_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient016 *create_winISteamClient_SteamClient016(void *linux_side) +void __thiscall winISteamClient_SteamClient013_RunFrame(struct w_steam_iface *_this) { - winISteamClient_SteamClient016 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient016), "SteamClient016"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient016_vtable, 34, "SteamClient016"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient013_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_RunFrame, ¶ms ); } -#include "cppISteamClient_SteamClient015.h" +uint32_t __thiscall winISteamClient_SteamClient013_GetIPCCallCount(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient013_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetIPCCallCount, ¶ms ); + return params._ret; +} -typedef struct __winISteamClient_SteamClient015 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient015; +void __thiscall winISteamClient_SteamClient013_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) +{ + struct ISteamClient_SteamClient013_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_SetWarningMessageHook, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient015_CreateSteamPipe(winISteamClient_SteamClient015 *_this) +int8_t __thiscall winISteamClient_SteamClient013_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient013_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient015_BReleaseSteamPipe(winISteamClient_SteamClient015 *_this, HSteamPipe hSteamPipe) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient013_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient015_ConnectToGlobalUser(winISteamClient_SteamClient015 *_this, HSteamPipe hSteamPipe) +void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient013_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamUnifiedMessages, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient015_CreateLocalUser(winISteamClient_SteamClient015 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient013_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient015_ReleaseUser(winISteamClient_SteamClient015 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient013_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient015_GetISteamUser(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient013_GetISteamInventory(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamInventory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient015_GetISteamGameServer(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient013_GetISteamVideo(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient015_SetLocalIPBinding(winISteamClient_SteamClient015 *_this, uint32 unIP, uint16 usPort) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient013_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient013_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient013_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient015_GetISteamFriends(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +extern vtable_ptr winISteamClient_SteamClient013_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient013, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient013_vtables) + __ASM_VTABLE(winISteamClient_SteamClient013, + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamInventory) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamVideo) + VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamAppList) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient013(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient013"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient013_vtable, 30, "SteamClient013"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMusic, 16) + +int32_t __thiscall winISteamClient_SteamClient014_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient014_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient015_GetISteamUtils(winISteamClient_SteamClient015 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient014_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient014_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient015_GetISteamMatchmaking(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient014_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient014_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient015_GetISteamMatchmakingServers(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient014_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient014_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient015_GetISteamGenericInterface(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient014_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient014_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient015_GetISteamUserStats(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient014_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient015_GetISteamGameServerStats(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient014_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient015_GetISteamApps(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient014_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient014_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient015_GetISteamNetworking(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient014_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient015_GetISteamRemoteStorage(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient014_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient015_GetISteamScreenshots(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient014_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_RunFrame, 4) -void __thiscall winISteamClient_SteamClient015_RunFrame(winISteamClient_SteamClient015 *_this) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient014_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient015_GetIPCCallCount(winISteamClient_SteamClient015 *_this) +void * __thiscall winISteamClient_SteamClient014_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient015_SetWarningMessageHook(winISteamClient_SteamClient015 *_this, SteamAPIWarningMessageHook_t pFunction) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient014_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient015_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient015_BShutdownIfAllPipesClosed(winISteamClient_SteamClient015 *_this) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient014_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient015_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient015_GetISteamHTTP(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient014_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUnifiedMessages, 16) -winISteamUnifiedMessages * __thiscall winISteamClient_SteamClient015_GetISteamUnifiedMessages(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient014_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient015_GetISteamController(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient014_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient015_GetISteamUGC(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient014_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient015_GetISteamAppList(winISteamClient_SteamClient015 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient014_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient014_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient015_GetISteamMusic(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient014_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient014_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMusicRemote, 16) -winISteamMusicRemote * __thiscall winISteamClient_SteamClient015_GetISteamMusicRemote(winISteamClient_SteamClient015 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient014_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient014_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient015_GetISteamMusicRemote(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_SetWarningMessageHook, ¶ms ); } -extern vtable_ptr winISteamClient_SteamClient015_vtable; +int8_t __thiscall winISteamClient_SteamClient014_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient014_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient015, - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamAppList) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusic) - VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusicRemote) - ); -#ifndef __GNUC__ -} -#endif - -winISteamClient_SteamClient015 *create_winISteamClient_SteamClient015(void *linux_side) -{ - winISteamClient_SteamClient015 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient015), "SteamClient015"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient015_vtable, 30, "SteamClient015"); - r->linux_side = linux_side; - return r; -} - -#include "cppISteamClient_SteamClient014.h" - -typedef struct __winISteamClient_SteamClient014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient014; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient014_CreateSteamPipe(winISteamClient_SteamClient014 *_this) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_CreateSteamPipe(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient014_BReleaseSteamPipe(winISteamClient_SteamClient014 *_this, HSteamPipe hSteamPipe) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_BReleaseSteamPipe(_this->linux_side, hSteamPipe); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient014_ConnectToGlobalUser(winISteamClient_SteamClient014 *_this, HSteamPipe hSteamPipe) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_ConnectToGlobalUser(_this->linux_side, hSteamPipe); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient014_CreateLocalUser(winISteamClient_SteamClient014 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient014_ReleaseUser(winISteamClient_SteamClient014 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) -{ - TRACE("%p\n", _this); - cppISteamClient_SteamClient014_ReleaseUser(_this->linux_side, hSteamPipe, hUser); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient014_GetISteamUser(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient014_GetISteamGameServer(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient014_SetLocalIPBinding(winISteamClient_SteamClient014 *_this, uint32 unIP, uint16 usPort) -{ - TRACE("%p\n", _this); - cppISteamClient_SteamClient014_SetLocalIPBinding(_this->linux_side, unIP, usPort); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient014_GetISteamFriends(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient014_GetISteamUtils(winISteamClient_SteamClient014 *_this, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient014_GetISteamMatchmaking(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient014_GetISteamMatchmakingServers(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient014_GetISteamGenericInterface(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient014_GetISteamUserStats(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient014_GetISteamGameServerStats(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient014_GetISteamApps(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient014_GetISteamNetworking(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient014_GetISteamRemoteStorage(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient014_GetISteamScreenshots(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) -{ - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_RunFrame, 4) -void __thiscall winISteamClient_SteamClient014_RunFrame(winISteamClient_SteamClient014 *_this) -{ - TRACE("%p\n", _this); - cppISteamClient_SteamClient014_RunFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient014_GetIPCCallCount(winISteamClient_SteamClient014 *_this) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_GetIPCCallCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient014_SetWarningMessageHook(winISteamClient_SteamClient014 *_this, SteamAPIWarningMessageHook_t pFunction) -{ - TRACE("%p\n", _this); - cppISteamClient_SteamClient014_SetWarningMessageHook(_this->linux_side, pFunction); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient014_BShutdownIfAllPipesClosed(winISteamClient_SteamClient014 *_this) -{ - TRACE("%p\n", _this); - return cppISteamClient_SteamClient014_BShutdownIfAllPipesClosed(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient014_GetISteamHTTP(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient014_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUnifiedMessages, 16) -winISteamUnifiedMessages * __thiscall winISteamClient_SteamClient014_GetISteamUnifiedMessages(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient014_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamUnifiedMessages, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient014_GetISteamController(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient014_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient014_GetISteamUGC(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient014_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient014_GetISteamAppList(winISteamClient_SteamClient014 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient014_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient014_GetISteamMusic, 16) -winISteamMusic * __thiscall winISteamClient_SteamClient014_GetISteamMusic(winISteamClient_SteamClient014 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient014_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient014_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient014_GetISteamMusic(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient014_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } extern vtable_ptr winISteamClient_SteamClient014_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamClient_SteamClient014, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient014_vtables) __ASM_VTABLE(winISteamClient_SteamClient014, VTABLE_ADD_FUNC(winISteamClient_SteamClient014_CreateSteamPipe) VTABLE_ADD_FUNC(winISteamClient_SteamClient014_BReleaseSteamPipe) @@ -2378,1879 +3602,3671 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamClient_SteamClient014_GetISteamAppList) VTABLE_ADD_FUNC(winISteamClient_SteamClient014_GetISteamMusic) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamClient_SteamClient014 *create_winISteamClient_SteamClient014(void *linux_side) +struct w_steam_iface *create_winISteamClient_SteamClient014(void *u_iface) { - winISteamClient_SteamClient014 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient014), "SteamClient014"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient014"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamClient_SteamClient014_vtable, 29, "SteamClient014"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamClient_SteamClient013.h" - -typedef struct __winISteamClient_SteamClient013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient013; +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient015_GetISteamMusicRemote, 16) -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient013_CreateSteamPipe(winISteamClient_SteamClient013 *_this) +int32_t __thiscall winISteamClient_SteamClient015_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient015_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient013_BReleaseSteamPipe(winISteamClient_SteamClient013 *_this, HSteamPipe hSteamPipe) +int8_t __thiscall winISteamClient_SteamClient015_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient015_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient013_ConnectToGlobalUser(winISteamClient_SteamClient013 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient015_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient015_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient013_CreateLocalUser(winISteamClient_SteamClient013 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +int32_t __thiscall winISteamClient_SteamClient015_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient015_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient013_ReleaseUser(winISteamClient_SteamClient013 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient015_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient015_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient013_GetISteamUser(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient015_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient013_GetISteamGameServer(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient015_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient013_SetLocalIPBinding(winISteamClient_SteamClient013 *_this, uint32 unIP, uint16 usPort) +void __thiscall winISteamClient_SteamClient015_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient015_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient013_GetISteamFriends(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient015_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient013_GetISteamUtils(winISteamClient_SteamClient013 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient015_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient013_GetISteamMatchmaking(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient015_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient013_GetISteamMatchmakingServers(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient015_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient013_GetISteamGenericInterface(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient015_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient013_GetISteamUserStats(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient015_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient013_GetISteamGameServerStats(winISteamClient_SteamClient013 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient015_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient013_GetISteamApps(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient015_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient013_GetISteamNetworking(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient015_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient013_GetISteamRemoteStorage(winISteamClient_SteamClient013 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient015_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient013_GetISteamScreenshots(winISteamClient_SteamClient013 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient015_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_RunFrame, 4) -void __thiscall winISteamClient_SteamClient013_RunFrame(winISteamClient_SteamClient013 *_this) +void __thiscall winISteamClient_SteamClient015_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient015_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient013_GetIPCCallCount(winISteamClient_SteamClient013 *_this) +uint32_t __thiscall winISteamClient_SteamClient015_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient015_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient013_SetWarningMessageHook(winISteamClient_SteamClient013 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamClient_SteamClient015_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient015_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient013_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient013_BShutdownIfAllPipesClosed(winISteamClient_SteamClient013 *_this) +int8_t __thiscall winISteamClient_SteamClient015_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient015_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient013_GetISteamHTTP(winISteamClient_SteamClient013 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient015_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUnifiedMessages, 16) -winISteamUnifiedMessages * __thiscall winISteamClient_SteamClient013_GetISteamUnifiedMessages(winISteamClient_SteamClient013 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient015_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamUnifiedMessages, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient013_GetISteamController(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient015_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient013_GetISteamUGC(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient015_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamInventory, 16) -void * __thiscall winISteamClient_SteamClient013_GetISteamInventory(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient015_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_GetISteamInventory(_this->linux_side, hSteamUser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamVideo, 16) -void * __thiscall winISteamClient_SteamClient013_GetISteamVideo(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient015_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient013_GetISteamVideo(_this->linux_side, hSteamUser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient013_GetISteamAppList, 16) -winISteamAppList * __thiscall winISteamClient_SteamClient013_GetISteamAppList(winISteamClient_SteamClient013 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient015_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient015_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient013_GetISteamAppList(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient015_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient013, - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamUGC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamInventory) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamVideo) - VTABLE_ADD_FUNC(winISteamClient_SteamClient013_GetISteamAppList) - ); -#ifndef __GNUC__ -} -#endif +extern vtable_ptr winISteamClient_SteamClient015_vtable; -winISteamClient_SteamClient013 *create_winISteamClient_SteamClient013(void *linux_side) -{ - winISteamClient_SteamClient013 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient013), "SteamClient013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient013_vtable, 30, "SteamClient013"); - r->linux_side = linux_side; - return r; -} +DEFINE_RTTI_DATA0(winISteamClient_SteamClient015, 0, ".?AVISteamClient@@") -#include "cppISteamClient_SteamClient012.h" +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient015_vtables) + __ASM_VTABLE(winISteamClient_SteamClient015, + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient015_GetISteamMusicRemote) + ); +__ASM_BLOCK_END -typedef struct __winISteamClient_SteamClient012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient012; +struct w_steam_iface *create_winISteamClient_SteamClient015(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient015"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient015_vtable, 30, "SteamClient015"); + r->u_iface = u_iface; + return r; +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient012_CreateSteamPipe(winISteamClient_SteamClient012 *_this) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamMusicRemote, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_GetISteamHTMLSurface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) + +int32_t __thiscall winISteamClient_SteamClient016_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient016_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient012_BReleaseSteamPipe(winISteamClient_SteamClient012 *_this, HSteamPipe hSteamPipe) +int8_t __thiscall winISteamClient_SteamClient016_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient016_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient012_ConnectToGlobalUser(winISteamClient_SteamClient012 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient016_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient016_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient012_CreateLocalUser(winISteamClient_SteamClient012 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +int32_t __thiscall winISteamClient_SteamClient016_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient016_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient012_ReleaseUser(winISteamClient_SteamClient012 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient016_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient016_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient012_GetISteamUser(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient016_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient012_GetISteamGameServer(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient016_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient012_SetLocalIPBinding(winISteamClient_SteamClient012 *_this, uint32 unIP, uint16 usPort) +void __thiscall winISteamClient_SteamClient016_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient016_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient012_GetISteamFriends(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient016_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient012_GetISteamUtils(winISteamClient_SteamClient012 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient016_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient012_GetISteamMatchmaking(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient016_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient012_GetISteamMatchmakingServers(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient016_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient012_GetISteamGenericInterface(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient016_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient012_GetISteamUserStats(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient016_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient012_GetISteamGameServerStats(winISteamClient_SteamClient012 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient016_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient012_GetISteamApps(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient016_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient012_GetISteamNetworking(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient016_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient012_GetISteamRemoteStorage(winISteamClient_SteamClient012 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient016_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient012_GetISteamScreenshots(winISteamClient_SteamClient012 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient016_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_RunFrame, 4) -void __thiscall winISteamClient_SteamClient012_RunFrame(winISteamClient_SteamClient012 *_this) +void __thiscall winISteamClient_SteamClient016_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient016_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient012_GetIPCCallCount(winISteamClient_SteamClient012 *_this) +uint32_t __thiscall winISteamClient_SteamClient016_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient016_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient012_SetWarningMessageHook(winISteamClient_SteamClient012 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamClient_SteamClient016_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient016_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient012_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient012_BShutdownIfAllPipesClosed(winISteamClient_SteamClient012 *_this) +int8_t __thiscall winISteamClient_SteamClient016_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient016_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient012_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient012_GetISteamHTTP(winISteamClient_SteamClient012 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient016_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUnifiedMessages, 16) -winISteamUnifiedMessages * __thiscall winISteamClient_SteamClient012_GetISteamUnifiedMessages(winISteamClient_SteamClient012 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUnifiedMessages*/ * __thiscall winISteamClient_SteamClient016_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUnifiedMessages(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamUnifiedMessages, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamController, 16) -winISteamController * __thiscall winISteamClient_SteamClient012_GetISteamController(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient016_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamController(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient012_GetISteamUGC, 16) -winISteamUGC * __thiscall winISteamClient_SteamClient012_GetISteamUGC(winISteamClient_SteamClient012 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient016_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient016_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient012_GetISteamUGC(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient012_vtable; +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient016_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient016_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient012, - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamHTTP) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUnifiedMessages) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamController) - VTABLE_ADD_FUNC(winISteamClient_SteamClient012_GetISteamUGC) - ); -#ifndef __GNUC__ +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient016_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient016_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient012 *create_winISteamClient_SteamClient012(void *linux_side) +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient016_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient012 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient012), "SteamClient012"); + struct ISteamClient_SteamClient016_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient016_GetISteamHTMLSurface(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient016_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_GetISteamHTMLSurface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL func)(uint64_t, void *, uint32_t, int32_t)) +{ + struct ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess, ¶ms ); +} + +void __thiscall winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL func)(uint64_t, void *, uint32_t, int32_t)) +{ + struct ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess, ¶ms ); +} + +void __thiscall winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, uint32_t (*W_STDCALL func)(int32_t)) +{ + struct ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess, ¶ms ); +} + +extern vtable_ptr winISteamClient_SteamClient016_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient016, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient016_vtables) + __ASM_VTABLE(winISteamClient_SteamClient016, + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamMusicRemote) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_GetISteamHTMLSurface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Set_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Remove_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient016_Set_SteamAPI_CCheckCallbackRegisteredInProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient016(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient016"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient012_vtable, 27, "SteamClient012"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamClient_SteamClient016_vtable, 34, "SteamClient016"); + r->u_iface = u_iface; return r; } -#include "cppISteamClient_SteamClient011.h" +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamMusicRemote, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamHTMLSurface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamInventory, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient017_GetISteamParentalSettings, 16) -typedef struct __winISteamClient_SteamClient011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient011; +int32_t __thiscall winISteamClient_SteamClient017_CreateSteamPipe(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient017_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_CreateSteamPipe, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient011_CreateSteamPipe(winISteamClient_SteamClient011 *_this) +int8_t __thiscall winISteamClient_SteamClient017_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient017_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient011_BReleaseSteamPipe(winISteamClient_SteamClient011 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient017_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient017_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient011_ConnectToGlobalUser(winISteamClient_SteamClient011 *_this, HSteamPipe hSteamPipe) +int32_t __thiscall winISteamClient_SteamClient017_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient017_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient011_CreateLocalUser(winISteamClient_SteamClient011 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void __thiscall winISteamClient_SteamClient017_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient017_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient011_ReleaseUser(winISteamClient_SteamClient011 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient017_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient011_GetISteamUser(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient017_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient011_GetISteamGameServer(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient017_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient017_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient011_SetLocalIPBinding(winISteamClient_SteamClient011 *_this, uint32 unIP, uint16 usPort) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient017_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient011_GetISteamFriends(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient017_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient011_GetISteamUtils(winISteamClient_SteamClient011 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient017_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient011_GetISteamMatchmaking(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient017_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient011_GetISteamMasterServerUpdater(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient017_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient011_GetISteamMatchmakingServers(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient017_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient011_GetISteamGenericInterface(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient017_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient011_GetISteamUserStats(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient017_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient011_GetISteamGameServerStats(winISteamClient_SteamClient011 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient017_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient011_GetISteamApps(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient017_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient011_GetISteamNetworking(winISteamClient_SteamClient011 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient017_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient011_GetISteamRemoteStorage(winISteamClient_SteamClient011 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient017_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient017_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamScreenshots, 16) -winISteamScreenshots * __thiscall winISteamClient_SteamClient011_GetISteamScreenshots(winISteamClient_SteamClient011 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient017_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient017_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamScreenshots(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_RunFrame, 4) -void __thiscall winISteamClient_SteamClient011_RunFrame(winISteamClient_SteamClient011 *_this) +void __thiscall winISteamClient_SteamClient017_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient017_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient011_GetIPCCallCount(winISteamClient_SteamClient011 *_this) +int8_t __thiscall winISteamClient_SteamClient017_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient017_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient011_SetWarningMessageHook(winISteamClient_SteamClient011 *_this, SteamAPIWarningMessageHook_t pFunction) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient017_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient011_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient011_BShutdownIfAllPipesClosed(winISteamClient_SteamClient011 *_this) +void * __thiscall winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient011_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient011_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient011_GetISteamHTTP(winISteamClient_SteamClient011 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient017_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient017_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient011_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient011_vtable; +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient017_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient011, - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamScreenshots) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient011_GetISteamHTTP) - ); -#ifndef __GNUC__ +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient017_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient011 *create_winISteamClient_SteamClient011(void *linux_side) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient017_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient011 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient011), "SteamClient011"); + struct ISteamClient_SteamClient017_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient017_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient017_GetISteamHTMLSurface(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamHTMLSurface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void __thiscall winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) +{ + struct ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, ¶ms ); +} + +void __thiscall winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) +{ + struct ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, ¶ms ); +} + +void __thiscall winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, uint32_t (*W_STDCALL func)(int32_t)) +{ + struct ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess, ¶ms ); +} + +void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient017_GetISteamInventory(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamInventory, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient017_GetISteamVideo(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamVideo, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient017_GetISteamParentalSettings(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient017_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient017_GetISteamParentalSettings, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} + +extern vtable_ptr winISteamClient_SteamClient017_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient017, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient017_vtables) + __ASM_VTABLE(winISteamClient_SteamClient017, + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamMusicRemote) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamHTMLSurface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_Set_SteamAPI_CCheckCallbackRegisteredInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamInventory) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamVideo) + VTABLE_ADD_FUNC(winISteamClient_SteamClient017_GetISteamParentalSettings) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient017(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient017"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient011_vtable, 25, "SteamClient011"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamClient_SteamClient017_vtable, 37, "SteamClient017"); + r->u_iface = u_iface; return r; } -#include "cppISteamClient_SteamClient010.h" +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamGameSearch, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamMusicRemote, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamHTMLSurface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamInventory, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamParentalSettings, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamInput, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient018_GetISteamParties, 16) -typedef struct __winISteamClient_SteamClient010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient010; +int32_t __thiscall winISteamClient_SteamClient018_CreateSteamPipe(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient018_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_CreateSteamPipe, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient010_CreateSteamPipe(winISteamClient_SteamClient010 *_this) +int8_t __thiscall winISteamClient_SteamClient018_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) +{ + struct ISteamClient_SteamClient018_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_BReleaseSteamPipe, ¶ms ); + return params._ret; +} + +int32_t __thiscall winISteamClient_SteamClient018_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) +{ + struct ISteamClient_SteamClient018_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_ConnectToGlobalUser, ¶ms ); + return params._ret; +} + +int32_t __thiscall winISteamClient_SteamClient018_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient018_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient010_BReleaseSteamPipe(winISteamClient_SteamClient010 *_this, HSteamPipe hSteamPipe) +void __thiscall winISteamClient_SteamClient018_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient018_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient010_ConnectToGlobalUser(winISteamClient_SteamClient010 *_this, HSteamPipe hSteamPipe) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient018_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient010_CreateLocalUser(winISteamClient_SteamClient010 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient010_ReleaseUser(winISteamClient_SteamClient010 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient018_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient018_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient010_GetISteamUser(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient018_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient010_GetISteamGameServer(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient018_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient010_SetLocalIPBinding(winISteamClient_SteamClient010 *_this, uint32 unIP, uint16 usPort) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient018_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient010_GetISteamFriends(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient018_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient010_GetISteamUtils(winISteamClient_SteamClient010 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient018_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient010_GetISteamMatchmaking(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient018_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient010_GetISteamMasterServerUpdater(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient010_GetISteamMatchmakingServers(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient018_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient010_GetISteamGenericInterface(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient018_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient010_GetISteamUserStats(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient018_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient010_GetISteamGameServerStats(winISteamClient_SteamClient010 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient018_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient010_GetISteamApps(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient018_GetISteamGameSearch(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamGameSearch, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient010_GetISteamNetworking(winISteamClient_SteamClient010 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient018_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient018_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient010_GetISteamRemoteStorage(winISteamClient_SteamClient010 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient018_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient018_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_RunFrame, 4) -void __thiscall winISteamClient_SteamClient010_RunFrame(winISteamClient_SteamClient010 *_this) +void __thiscall winISteamClient_SteamClient018_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient018_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient010_GetIPCCallCount(winISteamClient_SteamClient010 *_this) +int8_t __thiscall winISteamClient_SteamClient018_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient018_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient010_SetWarningMessageHook(winISteamClient_SteamClient010 *_this, SteamAPIWarningMessageHook_t pFunction) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient018_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient010_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_BShutdownIfAllPipesClosed, 4) -bool __thiscall winISteamClient_SteamClient010_BShutdownIfAllPipesClosed(winISteamClient_SteamClient010 *_this) +void * __thiscall winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient010_BShutdownIfAllPipesClosed(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient010_GetISteamHTTP, 16) -winISteamHTTP * __thiscall winISteamClient_SteamClient010_GetISteamHTTP(winISteamClient_SteamClient010 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient018_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient010_GetISteamHTTP(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient010, - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_BShutdownIfAllPipesClosed) - VTABLE_ADD_FUNC(winISteamClient_SteamClient010_GetISteamHTTP) - ); -#ifndef __GNUC__ +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient018_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient018_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient010 *create_winISteamClient_SteamClient010(void *linux_side) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient018_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient010 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient010), "SteamClient010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient010_vtable, 24, "SteamClient010"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient018_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient009.h" - -typedef struct __winISteamClient_SteamClient009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient009; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient009_CreateSteamPipe(winISteamClient_SteamClient009 *_this) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient018_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient009_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient009_BReleaseSteamPipe(winISteamClient_SteamClient009 *_this, HSteamPipe hSteamPipe) +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient018_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient009_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient009_ConnectToGlobalUser(winISteamClient_SteamClient009 *_this, HSteamPipe hSteamPipe) +void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient018_GetISteamHTMLSurface(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient009_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamHTMLSurface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient009_CreateLocalUser(winISteamClient_SteamClient009 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void __thiscall winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) { + struct ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient009_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient009_ReleaseUser(winISteamClient_SteamClient009 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void __thiscall winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) { + struct ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient009_GetISteamUser(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, uint32_t (*W_STDCALL func)(int32_t)) { + struct ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient009_GetISteamGameServer(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient018_GetISteamInventory(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamInventory, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient009_SetLocalIPBinding(winISteamClient_SteamClient009 *_this, uint32 unIP, uint16 usPort) +void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient018_GetISteamVideo(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamVideo, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient009_GetISteamFriends(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient018_GetISteamParentalSettings(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamParentalSettings, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient009_GetISteamUtils(winISteamClient_SteamClient009 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient018_GetISteamInput(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamInput, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient009_GetISteamMatchmaking(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient018_GetISteamParties(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient018_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient018_GetISteamParties, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient009_GetISteamMasterServerUpdater(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +extern vtable_ptr winISteamClient_SteamClient018_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient018, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient018_vtables) + __ASM_VTABLE(winISteamClient_SteamClient018, + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamGameSearch) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamMusicRemote) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamHTMLSurface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_Set_SteamAPI_CCheckCallbackRegisteredInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamInventory) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamVideo) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamParentalSettings) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamInput) + VTABLE_ADD_FUNC(winISteamClient_SteamClient018_GetISteamParties) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient018(void *u_iface) { - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient018"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient018_vtable, 40, "SteamClient018"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient009_GetISteamMatchmakingServers(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamGameSearch, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamMusicRemote, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamHTMLSurface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamInventory, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamParentalSettings, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamInput, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamParties, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient019_GetISteamRemotePlay, 16) + +int32_t __thiscall winISteamClient_SteamClient019_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient019_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient009_GetISteamGenericInterface(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient019_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient019_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient009_GetISteamUserStats(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient019_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient019_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamGameServerStats, 16) -winISteamGameServerStats * __thiscall winISteamClient_SteamClient009_GetISteamGameServerStats(winISteamClient_SteamClient009 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient019_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient019_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamGameServerStats(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient009_GetISteamApps(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient019_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient019_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient009_GetISteamNetworking(winISteamClient_SteamClient009 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient019_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient009_GetISteamRemoteStorage(winISteamClient_SteamClient009 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient009_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_RunFrame, 4) -void __thiscall winISteamClient_SteamClient009_RunFrame(winISteamClient_SteamClient009 *_this) +void __thiscall winISteamClient_SteamClient019_SetLocalIPBinding(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort) { + struct ISteamClient_SteamClient019_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient009_GetIPCCallCount(winISteamClient_SteamClient009 *_this) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient019_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient009_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient009_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient009_SetWarningMessageHook(winISteamClient_SteamClient009 *_this, SteamAPIWarningMessageHook_t pFunction) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient019_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient009_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient009, - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamGameServerStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient009_SetWarningMessageHook) - ); -#ifndef __GNUC__ +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient019_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient019_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient009 *create_winISteamClient_SteamClient009(void *linux_side) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient019_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient009 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient009), "SteamClient009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient009_vtable, 22, "SteamClient009"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient019_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient008.h" - -typedef struct __winISteamClient_SteamClient008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient008; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient008_CreateSteamPipe(winISteamClient_SteamClient008 *_this) +void * __thiscall winISteamClient_SteamClient019_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient008_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient008_BReleaseSteamPipe(winISteamClient_SteamClient008 *_this, HSteamPipe hSteamPipe) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient019_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient008_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient008_ConnectToGlobalUser(winISteamClient_SteamClient008 *_this, HSteamPipe hSteamPipe) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient008_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_CreateLocalUser, 12) -HSteamUser __thiscall winISteamClient_SteamClient008_CreateLocalUser(winISteamClient_SteamClient008 *_this, HSteamPipe * phSteamPipe, EAccountType eAccountType) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient019_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient008_CreateLocalUser(_this->linux_side, phSteamPipe, eAccountType); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient008_ReleaseUser(winISteamClient_SteamClient008 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient019_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient008_GetISteamUser(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient019_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient008_GetISteamGameServer(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient019_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient008_SetLocalIPBinding(winISteamClient_SteamClient008 *_this, uint32 unIP, uint16 usPort) +void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient019_GetISteamGameSearch(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamGameSearch, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient008_GetISteamFriends(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient019_RunFrame(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient019_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient008_GetISteamUtils(winISteamClient_SteamClient008 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +uint32_t __thiscall winISteamClient_SteamClient019_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient019_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient008_GetISteamMatchmaking(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient019_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient019_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient008_GetISteamMasterServerUpdater(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int8_t __thiscall winISteamClient_SteamClient019_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient019_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient008_GetISteamMatchmakingServers(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient019_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient008_GetISteamGenericInterface(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient008_GetISteamUserStats(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient019_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient008_GetISteamApps(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient019_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient008_GetISteamNetworking(winISteamClient_SteamClient008 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient019_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient008_GetISteamRemoteStorage(winISteamClient_SteamClient008 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient019_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient008_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_RunFrame, 4) -void __thiscall winISteamClient_SteamClient008_RunFrame(winISteamClient_SteamClient008 *_this) +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient019_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient008_GetIPCCallCount(winISteamClient_SteamClient008 *_this) +void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient019_GetISteamHTMLSurface(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient008_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamHTMLSurface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient008_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient008_SetWarningMessageHook(winISteamClient_SteamClient008 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) { + struct ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient008_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, ¶ms ); } -extern vtable_ptr winISteamClient_SteamClient008_vtable; +void __thiscall winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) +{ + struct ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient008, - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetISteamRemoteStorage) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient008_SetWarningMessageHook) - ); -#ifndef __GNUC__ +void __thiscall winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, uint32_t (*W_STDCALL func)(int32_t)) +{ + struct ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess, ¶ms ); } -#endif -winISteamClient_SteamClient008 *create_winISteamClient_SteamClient008(void *linux_side) +void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient019_GetISteamInventory(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient008 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient008), "SteamClient008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient008_vtable, 21, "SteamClient008"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient019_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamInventory, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient007.h" - -typedef struct __winISteamClient_SteamClient007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient007; - -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient007_CreateSteamPipe(winISteamClient_SteamClient007 *_this) +void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient019_GetISteamVideo(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient007_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamVideo, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient007_BReleaseSteamPipe(winISteamClient_SteamClient007 *_this, HSteamPipe hSteamPipe) +void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient019_GetISteamParentalSettings(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient007_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamParentalSettings, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient007_ConnectToGlobalUser(winISteamClient_SteamClient007 *_this, HSteamPipe hSteamPipe) +void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient019_GetISteamInput(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient007_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamInput, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_CreateLocalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient007_CreateLocalUser(winISteamClient_SteamClient007 *_this, HSteamPipe * phSteamPipe) +void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient019_GetISteamParties(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient007_CreateLocalUser(_this->linux_side, phSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamParties, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient007_ReleaseUser(winISteamClient_SteamClient007 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamRemotePlay*/ * __thiscall winISteamClient_SteamClient019_GetISteamRemotePlay(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient019_GetISteamRemotePlay_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient019_GetISteamRemotePlay, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient007_GetISteamUser(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +extern vtable_ptr winISteamClient_SteamClient019_vtable; + +DEFINE_RTTI_DATA0(winISteamClient_SteamClient019, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient019_vtables) + __ASM_VTABLE(winISteamClient_SteamClient019, + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamGameSearch) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamMusicRemote) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamHTMLSurface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_Set_SteamAPI_CCheckCallbackRegisteredInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamInventory) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamVideo) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamParentalSettings) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamInput) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamParties) + VTABLE_ADD_FUNC(winISteamClient_SteamClient019_GetISteamRemotePlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamClient_SteamClient019(void *u_iface) { - TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient019"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamClient_SteamClient019_vtable, 41, "SteamClient019"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient007_GetISteamGameServer(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_CreateSteamPipe, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_BReleaseSteamPipe, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_ConnectToGlobalUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_CreateLocalUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_ReleaseUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_SetLocalIPBinding, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamFriends, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUtils, 12) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMatchmaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMatchmakingServers, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGenericInterface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUserStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameServerStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamApps, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamNetworking, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamRemoteStorage, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamScreenshots, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamGameSearch, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_BShutdownIfAllPipesClosed, 4) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamHTTP, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamController, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamUGC, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamAppList, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMusic, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamMusicRemote, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamHTMLSurface, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess, 8) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamInventory, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamParentalSettings, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamInput, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamParties, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_GetISteamRemotePlay, 16) +DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient020_DestroyAllInterfaces, 4) + +int32_t __thiscall winISteamClient_SteamClient020_CreateSteamPipe(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient020_CreateSteamPipe_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_CreateSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient007_SetLocalIPBinding(winISteamClient_SteamClient007 *_this, uint32 unIP, uint16 usPort) +int8_t __thiscall winISteamClient_SteamClient020_BReleaseSteamPipe(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient020_BReleaseSteamPipe_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_BReleaseSteamPipe, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient007_GetISteamFriends(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient020_ConnectToGlobalUser(struct w_steam_iface *_this, int32_t hSteamPipe) { + struct ISteamClient_SteamClient020_ConnectToGlobalUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_ConnectToGlobalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient007_GetISteamUtils(winISteamClient_SteamClient007 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +int32_t __thiscall winISteamClient_SteamClient020_CreateLocalUser(struct w_steam_iface *_this, int32_t *phSteamPipe, uint32_t eAccountType) { + struct ISteamClient_SteamClient020_CreateLocalUser_params params = + { + .linux_side = _this->u_iface, + .phSteamPipe = phSteamPipe, + .eAccountType = eAccountType, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_CreateLocalUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient007_GetISteamMatchmaking(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient020_ReleaseUser(struct w_steam_iface *_this, int32_t hSteamPipe, int32_t hUser) { + struct ISteamClient_SteamClient020_ReleaseUser_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .hUser = hUser, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_ReleaseUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamContentServer, 16) -winISteamContentServer * __thiscall winISteamClient_SteamClient007_GetISteamContentServer(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUser*/ * __thiscall winISteamClient_SteamClient020_GetISteamUser(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamUser_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamContentServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamUser, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient007_GetISteamMasterServerUpdater(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamGameServer*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameServer(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamGameServer_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamGameServer, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient007_GetISteamMatchmakingServers(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient020_SetLocalIPBinding(struct w_steam_iface *_this, const SteamIPAddress_t *unIP, uint16_t usPort) { + struct ISteamClient_SteamClient020_SetLocalIPBinding_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_SetLocalIPBinding, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamGenericInterface, 16) -void * __thiscall winISteamClient_SteamClient007_GetISteamGenericInterface(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamFriends*/ * __thiscall winISteamClient_SteamClient020_GetISteamFriends(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamFriends_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamGenericInterface(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamFriends, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_RunFrame, 4) -void __thiscall winISteamClient_SteamClient007_RunFrame(winISteamClient_SteamClient007 *_this) +void /*ISteamUtils*/ * __thiscall winISteamClient_SteamClient020_GetISteamUtils(struct w_steam_iface *_this, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamUtils_params params = + { + .linux_side = _this->u_iface, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamUtils, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient007_GetIPCCallCount(winISteamClient_SteamClient007 *_this) +void /*ISteamMatchmaking*/ * __thiscall winISteamClient_SteamClient020_GetISteamMatchmaking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamMatchmaking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient007_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamMatchmaking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamUserStats, 16) -winISteamUserStats * __thiscall winISteamClient_SteamClient007_GetISteamUserStats(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMatchmakingServers*/ * __thiscall winISteamClient_SteamClient020_GetISteamMatchmakingServers(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamMatchmakingServers_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamUserStats(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamMatchmakingServers, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient007_GetISteamApps(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void * __thiscall winISteamClient_SteamClient020_GetISteamGenericInterface(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamGenericInterface_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamGenericInterface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamNetworking, 16) -winISteamNetworking * __thiscall winISteamClient_SteamClient007_GetISteamNetworking(winISteamClient_SteamClient007 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUserStats*/ * __thiscall winISteamClient_SteamClient020_GetISteamUserStats(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamUserStats_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamNetworking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamUserStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_SetWarningMessageHook, 8) -void __thiscall winISteamClient_SteamClient007_SetWarningMessageHook(winISteamClient_SteamClient007 *_this, SteamAPIWarningMessageHook_t pFunction) +void /*ISteamGameServerStats*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameServerStats(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamGameServerStats_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient007_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamGameServerStats, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient007_GetISteamRemoteStorage, 16) -winISteamRemoteStorage * __thiscall winISteamClient_SteamClient007_GetISteamRemoteStorage(winISteamClient_SteamClient007 *_this, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamApps*/ * __thiscall winISteamClient_SteamClient020_GetISteamApps(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamApps_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient007_GetISteamRemoteStorage(_this->linux_side, hSteamuser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamApps, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -extern vtable_ptr winISteamClient_SteamClient007_vtable; +void /*ISteamNetworking*/ * __thiscall winISteamClient_SteamClient020_GetISteamNetworking(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient020_GetISteamNetworking_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamNetworking, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient007, - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamContentServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamGenericInterface) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamUserStats) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamNetworking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamClient_SteamClient007_GetISteamRemoteStorage) - ); -#ifndef __GNUC__ +void /*ISteamRemoteStorage*/ * __thiscall winISteamClient_SteamClient020_GetISteamRemoteStorage(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient020_GetISteamRemoteStorage_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamRemoteStorage, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#endif -winISteamClient_SteamClient007 *create_winISteamClient_SteamClient007(void *linux_side) +void /*ISteamScreenshots*/ * __thiscall winISteamClient_SteamClient020_GetISteamScreenshots(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { - winISteamClient_SteamClient007 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient007), "SteamClient007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient007_vtable, 22, "SteamClient007"); - r->linux_side = linux_side; - return r; + struct ISteamClient_SteamClient020_GetISteamScreenshots_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamScreenshots, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -#include "cppISteamClient_SteamClient006.h" +void /*ISteamGameSearch*/ * __thiscall winISteamClient_SteamClient020_GetISteamGameSearch(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) +{ + struct ISteamClient_SteamClient020_GetISteamGameSearch_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamGameSearch, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; +} -typedef struct __winISteamClient_SteamClient006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamClient_SteamClient006; +void __thiscall winISteamClient_SteamClient020_RunFrame(struct w_steam_iface *_this) +{ + struct ISteamClient_SteamClient020_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_RunFrame, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateSteamPipe, 4) -HSteamPipe __thiscall winISteamClient_SteamClient006_CreateSteamPipe(winISteamClient_SteamClient006 *_this) +uint32_t __thiscall winISteamClient_SteamClient020_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient020_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_CreateSteamPipe(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_BReleaseSteamPipe, 8) -bool __thiscall winISteamClient_SteamClient006_BReleaseSteamPipe(winISteamClient_SteamClient006 *_this, HSteamPipe hSteamPipe) +void __thiscall winISteamClient_SteamClient020_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamClient_SteamClient020_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_BReleaseSteamPipe(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient006_CreateGlobalUser(winISteamClient_SteamClient006 *_this, HSteamPipe * phSteamPipe) +int8_t __thiscall winISteamClient_SteamClient020_BShutdownIfAllPipesClosed(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient020_BShutdownIfAllPipesClosed_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_CreateGlobalUser(_this->linux_side, phSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_BShutdownIfAllPipesClosed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_ConnectToGlobalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient006_ConnectToGlobalUser(winISteamClient_SteamClient006 *_this, HSteamPipe hSteamPipe) +void /*ISteamHTTP*/ * __thiscall winISteamClient_SteamClient020_GetISteamHTTP(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamHTTP_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_ConnectToGlobalUser(_this->linux_side, hSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamHTTP, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_CreateLocalUser, 8) -HSteamUser __thiscall winISteamClient_SteamClient006_CreateLocalUser(winISteamClient_SteamClient006 *_this, HSteamPipe * phSteamPipe) +void * __thiscall winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_CreateLocalUser(_this->linux_side, phSteamPipe); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_ReleaseUser, 12) -void __thiscall winISteamClient_SteamClient006_ReleaseUser(winISteamClient_SteamClient006 *_this, HSteamPipe hSteamPipe, HSteamUser hUser) +void /*ISteamController*/ * __thiscall winISteamClient_SteamClient020_GetISteamController(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamController_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_ReleaseUser(_this->linux_side, hSteamPipe, hUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamController, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamUser, 16) -winISteamUser * __thiscall winISteamClient_SteamClient006_GetISteamUser(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamUGC*/ * __thiscall winISteamClient_SteamClient020_GetISteamUGC(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamUser(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamUGC, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetIVAC, 8) -void * __thiscall winISteamClient_SteamClient006_GetIVAC(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser) +void /*ISteamAppList*/ * __thiscall winISteamClient_SteamClient020_GetISteamAppList(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamAppList_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_GetIVAC(_this->linux_side, hSteamUser); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamAppList, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamGameServer, 16) -winISteamGameServer * __thiscall winISteamClient_SteamClient006_GetISteamGameServer(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamMusic*/ * __thiscall winISteamClient_SteamClient020_GetISteamMusic(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamMusic_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamGameServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamMusic, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_SetLocalIPBinding, 12) -void __thiscall winISteamClient_SteamClient006_SetLocalIPBinding(winISteamClient_SteamClient006 *_this, uint32 unIP, uint16 usPort) +void /*ISteamMusicRemote*/ * __thiscall winISteamClient_SteamClient020_GetISteamMusicRemote(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_SetLocalIPBinding(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamMusicRemote, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetUniverseName, 8) -const char * __thiscall winISteamClient_SteamClient006_GetUniverseName(winISteamClient_SteamClient006 *_this, EUniverse eUniverse) +void /*ISteamHTMLSurface*/ * __thiscall winISteamClient_SteamClient020_GetISteamHTMLSurface(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamHTMLSurface_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_GetUniverseName(_this->linux_side, eUniverse); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamHTMLSurface, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamFriends, 16) -winISteamFriends * __thiscall winISteamClient_SteamClient006_GetISteamFriends(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) { + struct ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamFriends(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamUtils, 12) -winISteamUtils * __thiscall winISteamClient_SteamClient006_GetISteamUtils(winISteamClient_SteamClient006 *_this, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess(struct w_steam_iface *_this, void (*W_STDCALL _a)(void)) { + struct ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess_params params = + { + .linux_side = _this->u_iface, + ._a = _a, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamUtils(_this->linux_side, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamBilling, 16) -void * __thiscall winISteamClient_SteamClient006_GetISteamBilling(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void __thiscall winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess(struct w_steam_iface *_this, uint32_t (*W_CDECL func)(int32_t)) { + struct ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess_params params = + { + .linux_side = _this->u_iface, + .func = func, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_GetISteamBilling(_this->linux_side, hSteamUser, hSteamPipe, pchVersion); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMatchmaking, 16) -winISteamMatchmaking * __thiscall winISteamClient_SteamClient006_GetISteamMatchmaking(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamInventory*/ * __thiscall winISteamClient_SteamClient020_GetISteamInventory(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamInventory_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMatchmaking(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamInventory, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamApps, 16) -winISteamApps * __thiscall winISteamClient_SteamClient006_GetISteamApps(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamVideo*/ * __thiscall winISteamClient_SteamClient020_GetISteamVideo(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamVideo_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamApps(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamVideo, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamContentServer, 16) -winISteamContentServer * __thiscall winISteamClient_SteamClient006_GetISteamContentServer(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamParentalSettings*/ * __thiscall winISteamClient_SteamClient020_GetISteamParentalSettings(struct w_steam_iface *_this, int32_t hSteamuser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamParentalSettings_params params = + { + .linux_side = _this->u_iface, + .hSteamuser = hSteamuser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamContentServer(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamParentalSettings, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMasterServerUpdater, 16) -winISteamMasterServerUpdater * __thiscall winISteamClient_SteamClient006_GetISteamMasterServerUpdater(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamInput*/ * __thiscall winISteamClient_SteamClient020_GetISteamInput(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamInput_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMasterServerUpdater(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamInput, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetISteamMatchmakingServers, 16) -winISteamMatchmakingServers * __thiscall winISteamClient_SteamClient006_GetISteamMatchmakingServers(winISteamClient_SteamClient006 *_this, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion) +void /*ISteamParties*/ * __thiscall winISteamClient_SteamClient020_GetISteamParties(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamParties_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - return create_win_interface(pchVersion, - cppISteamClient_SteamClient006_GetISteamMatchmakingServers(_this->linux_side, hSteamUser, hSteamPipe, pchVersion)); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamParties, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_RunFrame, 4) -void __thiscall winISteamClient_SteamClient006_RunFrame(winISteamClient_SteamClient006 *_this) +void /*ISteamRemotePlay*/ * __thiscall winISteamClient_SteamClient020_GetISteamRemotePlay(struct w_steam_iface *_this, int32_t hSteamUser, int32_t hSteamPipe, const char *pchVersion) { + struct ISteamClient_SteamClient020_GetISteamRemotePlay_params params = + { + .linux_side = _this->u_iface, + .hSteamUser = hSteamUser, + .hSteamPipe = hSteamPipe, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamClient_SteamClient006_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_GetISteamRemotePlay, ¶ms ); + params._ret = create_win_interface( pchVersion, params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamClient_SteamClient006_GetIPCCallCount, 4) -uint32 __thiscall winISteamClient_SteamClient006_GetIPCCallCount(winISteamClient_SteamClient006 *_this) +void __thiscall winISteamClient_SteamClient020_DestroyAllInterfaces(struct w_steam_iface *_this) { + struct ISteamClient_SteamClient020_DestroyAllInterfaces_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamClient_SteamClient006_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamClient_SteamClient020_DestroyAllInterfaces, ¶ms ); } -extern vtable_ptr winISteamClient_SteamClient006_vtable; +extern vtable_ptr winISteamClient_SteamClient020_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamClient_SteamClient006, - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_BReleaseSteamPipe) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_ConnectToGlobalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_CreateLocalUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_ReleaseUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamUser) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetIVAC) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamGameServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_SetLocalIPBinding) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetUniverseName) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamFriends) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamUtils) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamBilling) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMatchmaking) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamApps) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamContentServer) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMasterServerUpdater) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetISteamMatchmakingServers) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_RunFrame) - VTABLE_ADD_FUNC(winISteamClient_SteamClient006_GetIPCCallCount) +DEFINE_RTTI_DATA0(winISteamClient_SteamClient020, 0, ".?AVISteamClient@@") + +__ASM_BLOCK_BEGIN(winISteamClient_SteamClient020_vtables) + __ASM_VTABLE(winISteamClient_SteamClient020, + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_CreateSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_BReleaseSteamPipe) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_ConnectToGlobalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_CreateLocalUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_ReleaseUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUser) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameServer) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_SetLocalIPBinding) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamFriends) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUtils) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMatchmaking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMatchmakingServers) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGenericInterface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUserStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameServerStats) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamApps) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamNetworking) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamRemoteStorage) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamScreenshots) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamGameSearch) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_RunFrame) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_BShutdownIfAllPipesClosed) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamHTTP) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_GetISteamUnifiedMessages) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamController) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamUGC) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamAppList) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMusic) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamMusicRemote) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamHTMLSurface) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_Set_SteamAPI_CCheckCallbackRegisteredInProcess) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamInventory) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamVideo) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamParentalSettings) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamInput) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamParties) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_GetISteamRemotePlay) + VTABLE_ADD_FUNC(winISteamClient_SteamClient020_DestroyAllInterfaces) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamClient_SteamClient006 *create_winISteamClient_SteamClient006(void *linux_side) +struct w_steam_iface *create_winISteamClient_SteamClient020(void *u_iface) { - winISteamClient_SteamClient006 *r = alloc_mem_for_iface(sizeof(winISteamClient_SteamClient006), "SteamClient006"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamClient020"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamClient_SteamClient006_vtable, 21, "SteamClient006"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamClient_SteamClient020_vtable, 42, "SteamClient020"); + r->u_iface = u_iface; return r; } +void init_winISteamClient_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamClient_SteamClient006_rtti( base ); + init_winISteamClient_SteamClient007_rtti( base ); + init_winISteamClient_SteamClient008_rtti( base ); + init_winISteamClient_SteamClient009_rtti( base ); + init_winISteamClient_SteamClient010_rtti( base ); + init_winISteamClient_SteamClient011_rtti( base ); + init_winISteamClient_SteamClient012_rtti( base ); + init_winISteamClient_SteamClient013_rtti( base ); + init_winISteamClient_SteamClient014_rtti( base ); + init_winISteamClient_SteamClient015_rtti( base ); + init_winISteamClient_SteamClient016_rtti( base ); + init_winISteamClient_SteamClient017_rtti( base ); + init_winISteamClient_SteamClient018_rtti( base ); + init_winISteamClient_SteamClient019_rtti( base ); + init_winISteamClient_SteamClient020_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamController.c b/lsteamclient/winISteamController.c index ab53db906..e3073cac0 100644 --- a/lsteamclient/winISteamController.c +++ b/lsteamclient/winISteamController.c @@ -1,856 +1,1540 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamController_SteamController008.h" - -typedef struct __winISteamController_SteamController008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController008; +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, 8) -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Init, 4) -bool __thiscall winISteamController_SteamController008_Init(winISteamController_SteamController008 *_this) +int8_t __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(struct w_steam_iface *_this, const char *pchAbsolutePathToControllerConfigVDF) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params params = + { + .linux_side = _this->u_iface, + .pchAbsolutePathToControllerConfigVDF = pchAbsolutePathToControllerConfigVDF, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Shutdown, 4) -bool __thiscall winISteamController_SteamController008_Shutdown(winISteamController_SteamController008 *_this) +int8_t __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_RunFrame, 4) -void __thiscall winISteamController_SteamController008_RunFrame(winISteamController_SteamController008 *_this) +void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController008_GetConnectedControllers(winISteamController_SteamController008 *_this, ControllerHandle_t * handlesOut) +int8_t __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerIndex, SteamControllerState001_t *pState) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerIndex = unControllerIndex, + .pState = pState, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetActionSetHandle(winISteamController_SteamController008 *_this, const char * pszActionSetName) +void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerIndex, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerIndex = unControllerIndex, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController008_ActivateActionSet(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(struct w_steam_iface *_this, const char *pchMode) { + struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params params = + { + .linux_side = _this->u_iface, + .pchMode = pchMode, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetCurrentActionSet(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle) +extern vtable_ptr winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable; + +DEFINE_RTTI_DATA0(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtables) + __ASM_VTABLE(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION, + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init) + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown) + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame) + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState) + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetCurrentActionSet(_this->linux_side, controllerHandle); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMCONTROLLER_INTERFACE_VERSION"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable, 6, "STEAMCONTROLLER_INTERFACE_VERSION"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController008_ActivateActionSetLayer(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerRepeatedHapticPulse, 32) + +int8_t __thiscall winISteamController_SteamController003_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController003_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_ActivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController003_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController008_DeactivateActionSetLayer(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +int8_t __thiscall winISteamController_SteamController003_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController003_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_DeactivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController003_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamController_SteamController008_DeactivateAllActionSetLayers(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController003_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController003_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_DeactivateAllActionSetLayers(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController003_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActiveActionSetLayers, 16) -int __thiscall winISteamController_SteamController008_GetActiveActionSetLayers(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +int32_t __thiscall winISteamController_SteamController003_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController003_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetActiveActionSetLayers(_this->linux_side, controllerHandle, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController008_GetDigitalActionHandle(winISteamController_SteamController008 *_this, const char * pszActionName) +int8_t __thiscall winISteamController_SteamController003_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController003_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController003_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamController_SteamController008_GetDigitalActionData(winISteamController_SteamController008 *_this, InputDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +uint64_t __thiscall winISteamController_SteamController003_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController003_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController008_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController003_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController008_GetDigitalActionOrigins(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +void __thiscall winISteamController_SteamController003_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController003_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController003_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController008_GetAnalogActionHandle(winISteamController_SteamController008 *_this, const char * pszActionName) +uint64_t __thiscall winISteamController_SteamController003_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController003_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamController_SteamController008_GetAnalogActionData(winISteamController_SteamController008 *_this, InputAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +uint64_t __thiscall winISteamController_SteamController003_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController003_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController008_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController003_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController008_GetAnalogActionOrigins(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +ControllerDigitalActionData_t * __thiscall winISteamController_SteamController003_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) { + struct ISteamController_SteamController003_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController008_GetGlyphForActionOrigin(winISteamController_SteamController008 *_this, EControllerActionOrigin eOrigin) +int32_t __thiscall winISteamController_SteamController003_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController003_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetGlyphForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController008_GetStringForActionOrigin(winISteamController_SteamController008 *_this, EControllerActionOrigin eOrigin) +uint64_t __thiscall winISteamController_SteamController003_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController003_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController008_StopAnalogActionMomentum(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +ControllerAnalogActionData_t * __thiscall winISteamController_SteamController003_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController003_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController003_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamController_SteamController008_GetMotionData(winISteamController_SteamController008 *_this, InputMotionData_t *_r, ControllerHandle_t controllerHandle) +int32_t __thiscall winISteamController_SteamController003_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController003_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController008_GetMotionData(_this->linux_side, controllerHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController003_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController008_TriggerHapticPulse(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void __thiscall winISteamController_SteamController003_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController003_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController003_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController008_TriggerRepeatedHapticPulse(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void __thiscall winISteamController_SteamController003_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController003_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController003_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerVibration, 20) -void __thiscall winISteamController_SteamController008_TriggerVibration(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void __thiscall winISteamController_SteamController003_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController003_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController008_TriggerVibration(_this->linux_side, controllerHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamController_SteamController003_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_SetLEDColor, 28) -void __thiscall winISteamController_SteamController008_SetLEDColor(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +extern vtable_ptr winISteamController_SteamController003_vtable; + +DEFINE_RTTI_DATA0(winISteamController_SteamController003, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController003_vtables) + __ASM_VTABLE(winISteamController_SteamController003, + VTABLE_ADD_FUNC(winISteamController_SteamController003_Init) + VTABLE_ADD_FUNC(winISteamController_SteamController003_Shutdown) + VTABLE_ADD_FUNC(winISteamController_SteamController003_RunFrame) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamController_SteamController003_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController003_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController003_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerRepeatedHapticPulse) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamController_SteamController003(void *u_iface) { - TRACE("%p\n", _this); - cppISteamController_SteamController008_SetLEDColor(_this->linux_side, controllerHandle, nColorR, nColorG, nColorB, nFlags); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController003"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamController_SteamController003_vtable, 17, "SteamController003"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController008_ShowBindingPanel(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowAnalogActionOrigins, 32) + +int8_t __thiscall winISteamController_SteamController004_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController004_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamController_SteamController008_GetInputTypeForHandle(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle) +int8_t __thiscall winISteamController_SteamController004_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController004_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetInputTypeForHandle(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerForGamepadIndex, 8) -ControllerHandle_t __thiscall winISteamController_SteamController008_GetControllerForGamepadIndex(winISteamController_SteamController008 *_this, int nIndex) +void __thiscall winISteamController_SteamController004_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController004_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamController_SteamController004_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGamepadIndexForController, 12) -int __thiscall winISteamController_SteamController008_GetGamepadIndexForController(winISteamController_SteamController008 *_this, ControllerHandle_t ulControllerHandle) +int32_t __thiscall winISteamController_SteamController004_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController004_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetGamepadIndexForController(_this->linux_side, ulControllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamController_SteamController008_GetStringForXboxOrigin(winISteamController_SteamController008 *_this, EXboxOrigin eOrigin) +int8_t __thiscall winISteamController_SteamController004_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController004_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController004_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin(winISteamController_SteamController008 *_this, EXboxOrigin eOrigin) +uint64_t __thiscall winISteamController_SteamController004_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController004_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionOriginFromXboxOrigin, 16) -EControllerActionOrigin __thiscall winISteamController_SteamController008_GetActionOriginFromXboxOrigin(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +void __thiscall winISteamController_SteamController004_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController004_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetActionOriginFromXboxOrigin(_this->linux_side, controllerHandle, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController004_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TranslateActionOrigin, 12) -EControllerActionOrigin __thiscall winISteamController_SteamController008_TranslateActionOrigin(winISteamController_SteamController008 *_this, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +uint64_t __thiscall winISteamController_SteamController004_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController004_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerBindingRevision, 20) -bool __thiscall winISteamController_SteamController008_GetControllerBindingRevision(winISteamController_SteamController008 *_this, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +uint64_t __thiscall winISteamController_SteamController004_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController004_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController008_GetControllerBindingRevision(_this->linux_side, controllerHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetDigitalActionHandle, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamController_SteamController008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_SteamController008, - VTABLE_ADD_FUNC(winISteamController_SteamController008_Init) - VTABLE_ADD_FUNC(winISteamController_SteamController008_Shutdown) - VTABLE_ADD_FUNC(winISteamController_SteamController008_RunFrame) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetMotionData) - VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerVibration) - VTABLE_ADD_FUNC(winISteamController_SteamController008_SetLEDColor) - VTABLE_ADD_FUNC(winISteamController_SteamController008_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerBindingRevision) - ); -#ifndef __GNUC__ +ControllerDigitalActionData_t * __thiscall winISteamController_SteamController004_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) +{ + struct ISteamController_SteamController004_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetDigitalActionData, ¶ms ); + return params._ret; } -#endif -winISteamController_SteamController008 *create_winISteamController_SteamController008(void *linux_side) +int32_t __thiscall winISteamController_SteamController004_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { - winISteamController_SteamController008 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController008), "SteamController008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_SteamController008_vtable, 34, "SteamController008"); - r->linux_side = linux_side; - return r; + struct ISteamController_SteamController004_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -#include "cppISteamController_SteamController007.h" - -typedef struct __winISteamController_SteamController007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController007; - -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Init, 4) -bool __thiscall winISteamController_SteamController007_Init(winISteamController_SteamController007 *_this) +uint64_t __thiscall winISteamController_SteamController004_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController004_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Shutdown, 4) -bool __thiscall winISteamController_SteamController007_Shutdown(winISteamController_SteamController007 *_this) +ControllerAnalogActionData_t * __thiscall winISteamController_SteamController004_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController004_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_RunFrame, 4) -void __thiscall winISteamController_SteamController007_RunFrame(winISteamController_SteamController007 *_this) +int32_t __thiscall winISteamController_SteamController004_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController004_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController007_GetConnectedControllers(winISteamController_SteamController007 *_this, ControllerHandle_t * handlesOut) +void __thiscall winISteamController_SteamController004_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController004_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController004_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetActionSetHandle(winISteamController_SteamController007 *_this, const char * pszActionSetName) +void __thiscall winISteamController_SteamController004_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController004_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_SteamController004_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController007_ActivateActionSet(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void __thiscall winISteamController_SteamController004_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetCurrentActionSet(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle) +int32_t __thiscall winISteamController_SteamController004_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulControllerHandle) { + struct ISteamController_SteamController004_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetCurrentActionSet(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController007_ActivateActionSetLayer(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +uint64_t __thiscall winISteamController_SteamController004_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamController_SteamController004_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_ActivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController007_DeactivateActionSetLayer(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +ControllerMotionData_t * __thiscall winISteamController_SteamController004_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, uint64_t controllerHandle) { + struct ISteamController_SteamController004_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_DeactivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamController_SteamController007_DeactivateAllActionSetLayers(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle) +int8_t __thiscall winISteamController_SteamController004_ShowDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { + struct ISteamController_SteamController004_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_DeactivateAllActionSetLayers(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController004_ShowDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActiveActionSetLayers, 16) -int __thiscall winISteamController_SteamController007_GetActiveActionSetLayers(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +int8_t __thiscall winISteamController_SteamController004_ShowAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t analogActionHandle, float flScale, float flXPosition, float flYPosition) { + struct ISteamController_SteamController004_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetActiveActionSetLayers(_this->linux_side, controllerHandle, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController004_ShowAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController007_GetDigitalActionHandle(winISteamController_SteamController007 *_this, const char * pszActionName) +extern vtable_ptr winISteamController_SteamController004_vtable; + +DEFINE_RTTI_DATA0(winISteamController_SteamController004, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController004_vtables) + __ASM_VTABLE(winISteamController_SteamController004, + VTABLE_ADD_FUNC(winISteamController_SteamController004_Init) + VTABLE_ADD_FUNC(winISteamController_SteamController004_Shutdown) + VTABLE_ADD_FUNC(winISteamController_SteamController004_RunFrame) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController004_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController004_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamController_SteamController004_GetMotionData) + VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowAnalogActionOrigins) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamController_SteamController004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetDigitalActionHandle(_this->linux_side, pszActionName); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamController_SteamController004_vtable, 22, "SteamController004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamController_SteamController007_GetDigitalActionData(winISteamController_SteamController007 *_this, InputDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGlyphForActionOrigin, 8) + +int8_t __thiscall winISteamController_SteamController005_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController005_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController007_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController005_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController007_GetDigitalActionOrigins(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +int8_t __thiscall winISteamController_SteamController005_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController005_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController007_GetAnalogActionHandle(winISteamController_SteamController007 *_this, const char * pszActionName) +void __thiscall winISteamController_SteamController005_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController005_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController005_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamController_SteamController007_GetAnalogActionData(winISteamController_SteamController007 *_this, InputAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +int32_t __thiscall winISteamController_SteamController005_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController005_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController007_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController005_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController007_GetAnalogActionOrigins(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +int8_t __thiscall winISteamController_SteamController005_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController005_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController005_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController007_GetGlyphForActionOrigin(winISteamController_SteamController007 *_this, EControllerActionOrigin eOrigin) +uint64_t __thiscall winISteamController_SteamController005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetGlyphForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController007_GetStringForActionOrigin(winISteamController_SteamController007 *_this, EControllerActionOrigin eOrigin) +void __thiscall winISteamController_SteamController005_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController005_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController007_StopAnalogActionMomentum(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +uint64_t __thiscall winISteamController_SteamController005_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController005_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamController_SteamController007_GetMotionData(winISteamController_SteamController007 *_this, InputMotionData_t *_r, ControllerHandle_t controllerHandle) +uint64_t __thiscall winISteamController_SteamController005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController005_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController007_GetMotionData(_this->linux_side, controllerHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController005_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController007_TriggerHapticPulse(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +ControllerDigitalActionData_t * __thiscall winISteamController_SteamController005_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) { + struct ISteamController_SteamController005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController007_TriggerRepeatedHapticPulse(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +int32_t __thiscall winISteamController_SteamController005_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController005_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerVibration, 20) -void __thiscall winISteamController_SteamController007_TriggerVibration(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +uint64_t __thiscall winISteamController_SteamController005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController005_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_TriggerVibration(_this->linux_side, controllerHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_SetLEDColor, 28) -void __thiscall winISteamController_SteamController007_SetLEDColor(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +ControllerAnalogActionData_t * __thiscall winISteamController_SteamController005_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController007_SetLEDColor(_this->linux_side, controllerHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController007_ShowBindingPanel(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle) +int32_t __thiscall winISteamController_SteamController005_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController005_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamController_SteamController007_GetInputTypeForHandle(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController005_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController005_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetInputTypeForHandle(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController005_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerForGamepadIndex, 8) -ControllerHandle_t __thiscall winISteamController_SteamController007_GetControllerForGamepadIndex(winISteamController_SteamController007 *_this, int nIndex) +void __thiscall winISteamController_SteamController005_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController005_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamController_SteamController005_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGamepadIndexForController, 12) -int __thiscall winISteamController_SteamController007_GetGamepadIndexForController(winISteamController_SteamController007 *_this, ControllerHandle_t ulControllerHandle) +void __thiscall winISteamController_SteamController005_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetGamepadIndexForController(_this->linux_side, ulControllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController005_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamController_SteamController007_GetStringForXboxOrigin(winISteamController_SteamController007 *_this, EXboxOrigin eOrigin) +void __thiscall winISteamController_SteamController005_TriggerVibration(struct w_steam_iface *_this, uint64_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamController_SteamController005_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin(winISteamController_SteamController007 *_this, EXboxOrigin eOrigin) +void __thiscall winISteamController_SteamController005_SetLEDColor(struct w_steam_iface *_this, uint64_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamController_SteamController005_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionOriginFromXboxOrigin, 16) -EControllerActionOrigin __thiscall winISteamController_SteamController007_GetActionOriginFromXboxOrigin(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) +int32_t __thiscall winISteamController_SteamController005_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulControllerHandle) { + struct ISteamController_SteamController005_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetActionOriginFromXboxOrigin(_this->linux_side, controllerHandle, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TranslateActionOrigin, 12) -EControllerActionOrigin __thiscall winISteamController_SteamController007_TranslateActionOrigin(winISteamController_SteamController007 *_this, ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) +uint64_t __thiscall winISteamController_SteamController005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamController_SteamController005_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerBindingRevision, 20) -bool __thiscall winISteamController_SteamController007_GetControllerBindingRevision(winISteamController_SteamController007 *_this, ControllerHandle_t controllerHandle, int * pMajor, int * pMinor) +ControllerMotionData_t * __thiscall winISteamController_SteamController005_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, uint64_t controllerHandle) { + struct ISteamController_SteamController005_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController007_GetControllerBindingRevision(_this->linux_side, controllerHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetMotionData, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamController_SteamController007_vtable; +int8_t __thiscall winISteamController_SteamController005_ShowDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +{ + struct ISteamController_SteamController005_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamController_SteamController005_ShowDigitalActionOrigins, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_SteamController007, - VTABLE_ADD_FUNC(winISteamController_SteamController007_Init) - VTABLE_ADD_FUNC(winISteamController_SteamController007_Shutdown) - VTABLE_ADD_FUNC(winISteamController_SteamController007_RunFrame) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetMotionData) - VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerVibration) - VTABLE_ADD_FUNC(winISteamController_SteamController007_SetLEDColor) - VTABLE_ADD_FUNC(winISteamController_SteamController007_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerBindingRevision) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamController_SteamController005_ShowAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +{ + struct ISteamController_SteamController005_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamController_SteamController005_ShowAnalogActionOrigins, ¶ms ); + return params._ret; } -#endif -winISteamController_SteamController007 *create_winISteamController_SteamController007(void *linux_side) +const char * __thiscall winISteamController_SteamController005_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { - winISteamController_SteamController007 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController007), "SteamController007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_SteamController007_vtable, 34, "SteamController007"); - r->linux_side = linux_side; - return r; + struct ISteamController_SteamController005_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamController_SteamController005_GetStringForActionOrigin, ¶ms ); + return params._ret; } -#include "cppISteamController_SteamController006.h" +extern vtable_ptr winISteamController_SteamController005_vtable; -typedef struct __winISteamController_SteamController006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController006; +DEFINE_RTTI_DATA0(winISteamController_SteamController005, 0, ".?AVISteamController@@") -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_Init, 4) -bool __thiscall winISteamController_SteamController006_Init(winISteamController_SteamController006 *_this) +__ASM_BLOCK_BEGIN(winISteamController_SteamController005_vtables) + __ASM_VTABLE(winISteamController_SteamController005, + VTABLE_ADD_FUNC(winISteamController_SteamController005_Init) + VTABLE_ADD_FUNC(winISteamController_SteamController005_Shutdown) + VTABLE_ADD_FUNC(winISteamController_SteamController005_RunFrame) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController005_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController005_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerVibration) + VTABLE_ADD_FUNC(winISteamController_SteamController005_SetLEDColor) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetMotionData) + VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGlyphForActionOrigin) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamController_SteamController005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamController_SteamController006_Init(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamController_SteamController005_vtable, 26, "SteamController005"); + r->u_iface = u_iface; + return r; } +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_Init, 4) DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_Shutdown, 4) -bool __thiscall winISteamController_SteamController006_Shutdown(winISteamController_SteamController006 *_this) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGlyphForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetInputTypeForHandle, 12) + +int8_t __thiscall winISteamController_SteamController006_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController006_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController006_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_RunFrame, 4) -void __thiscall winISteamController_SteamController006_RunFrame(winISteamController_SteamController006 *_this) +int8_t __thiscall winISteamController_SteamController006_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController006_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController006_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController006_GetConnectedControllers(winISteamController_SteamController006 *_this, ControllerHandle_t * handlesOut) +void __thiscall winISteamController_SteamController006_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController006_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController006_ShowBindingPanel(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle) +int32_t __thiscall winISteamController_SteamController006_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController006_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetActionSetHandle(winISteamController_SteamController006 *_this, const char * pszActionSetName) +int8_t __thiscall winISteamController_SteamController006_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController006_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_SteamController006_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController006_ActivateActionSet(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +uint64_t __thiscall winISteamController_SteamController006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetCurrentActionSet(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController006_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController006_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetCurrentActionSet(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController006_ActivateActionSetLayer(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +uint64_t __thiscall winISteamController_SteamController006_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController006_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_ActivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateActionSetLayer, 20) -void __thiscall winISteamController_SteamController006_DeactivateActionSetLayer(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle) +void __thiscall winISteamController_SteamController006_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController006_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_DeactivateActionSetLayer(_this->linux_side, controllerHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamController_SteamController006_DeactivateAllActionSetLayers(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController006_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController006_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_DeactivateAllActionSetLayers(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActiveActionSetLayers, 16) -int __thiscall winISteamController_SteamController006_GetActiveActionSetLayers(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut) +void __thiscall winISteamController_SteamController006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController006_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetActiveActionSetLayers(_this->linux_side, controllerHandle, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController006_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController006_GetDigitalActionHandle(winISteamController_SteamController006 *_this, const char * pszActionName) +int32_t __thiscall winISteamController_SteamController006_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t *handlesOut) { + struct ISteamController_SteamController006_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionData, 24) -ControllerDigitalActionData_t *__thiscall winISteamController_SteamController006_GetDigitalActionData(winISteamController_SteamController006 *_this, ControllerDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +uint64_t __thiscall winISteamController_SteamController006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController006_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController006_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController006_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController006_GetDigitalActionOrigins(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +ControllerDigitalActionData_t * __thiscall winISteamController_SteamController006_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) { + struct ISteamController_SteamController006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController006_GetAnalogActionHandle(winISteamController_SteamController006 *_this, const char * pszActionName) +int32_t __thiscall winISteamController_SteamController006_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController006_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionData, 24) -ControllerAnalogActionData_t *__thiscall winISteamController_SteamController006_GetAnalogActionData(winISteamController_SteamController006 *_this, ControllerAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +uint64_t __thiscall winISteamController_SteamController006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController006_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController006_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController006_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController006_GetAnalogActionOrigins(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +ControllerAnalogActionData_t * __thiscall winISteamController_SteamController006_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController006_StopAnalogActionMomentum(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +int32_t __thiscall winISteamController_SteamController006_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController006_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController006_TriggerHapticPulse(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void __thiscall winISteamController_SteamController006_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController006_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController006_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController006_TriggerRepeatedHapticPulse(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +void __thiscall winISteamController_SteamController006_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController006_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController006_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerVibration, 20) -void __thiscall winISteamController_SteamController006_TriggerVibration(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void __thiscall winISteamController_SteamController006_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController006_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_TriggerVibration(_this->linux_side, controllerHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamController_SteamController006_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_SetLEDColor, 28) -void __thiscall winISteamController_SteamController006_SetLEDColor(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void __thiscall winISteamController_SteamController006_TriggerVibration(struct w_steam_iface *_this, uint64_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamController_SteamController006_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamController_SteamController006_SetLEDColor(_this->linux_side, controllerHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController006_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGamepadIndexForController, 12) -int __thiscall winISteamController_SteamController006_GetGamepadIndexForController(winISteamController_SteamController006 *_this, ControllerHandle_t ulControllerHandle) +void __thiscall winISteamController_SteamController006_SetLEDColor(struct w_steam_iface *_this, uint64_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamController_SteamController006_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetGamepadIndexForController(_this->linux_side, ulControllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetControllerForGamepadIndex, 8) -ControllerHandle_t __thiscall winISteamController_SteamController006_GetControllerForGamepadIndex(winISteamController_SteamController006 *_this, int nIndex) +int32_t __thiscall winISteamController_SteamController006_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulControllerHandle) { + struct ISteamController_SteamController006_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetMotionData, 16) -ControllerMotionData_t *__thiscall winISteamController_SteamController006_GetMotionData(winISteamController_SteamController006 *_this, ControllerMotionData_t *_r, ControllerHandle_t controllerHandle) +uint64_t __thiscall winISteamController_SteamController006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamController_SteamController006_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController006_GetMotionData(_this->linux_side, controllerHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController006_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowDigitalActionOrigins, 32) -bool __thiscall winISteamController_SteamController006_ShowDigitalActionOrigins(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +ControllerMotionData_t * __thiscall winISteamController_SteamController006_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, uint64_t controllerHandle) { + struct ISteamController_SteamController006_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_ShowDigitalActionOrigins(_this->linux_side, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowAnalogActionOrigins, 32) -bool __thiscall winISteamController_SteamController006_ShowAnalogActionOrigins(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +int8_t __thiscall winISteamController_SteamController006_ShowDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) { + struct ISteamController_SteamController006_ShowDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_ShowAnalogActionOrigins(_this->linux_side, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + STEAMCLIENT_CALL( ISteamController_SteamController006_ShowDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetStringForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController006_GetStringForActionOrigin(winISteamController_SteamController006 *_this, EControllerActionOrigin eOrigin) +int8_t __thiscall winISteamController_SteamController006_ShowAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t analogActionHandle, float flScale, float flXPosition, float flYPosition) { + struct ISteamController_SteamController006_ShowAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + .flScale = flScale, + .flXPosition = flXPosition, + .flYPosition = flYPosition, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController006_ShowAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController006_GetGlyphForActionOrigin(winISteamController_SteamController006 *_this, EControllerActionOrigin eOrigin) +const char * __thiscall winISteamController_SteamController006_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamController_SteamController006_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetGlyphForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamController_SteamController006_GetInputTypeForHandle(winISteamController_SteamController006 *_this, ControllerHandle_t controllerHandle) +uint32_t __thiscall winISteamController_SteamController006_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController006_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController006_GetInputTypeForHandle(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController006_GetInputTypeForHandle, ¶ms ); + return params._ret; } extern vtable_ptr winISteamController_SteamController006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamController_SteamController006, 0, ".?AVISteamController@@") + +__ASM_BLOCK_BEGIN(winISteamController_SteamController006_vtables) __ASM_VTABLE(winISteamController_SteamController006, VTABLE_ADD_FUNC(winISteamController_SteamController006_Init) VTABLE_ADD_FUNC(winISteamController_SteamController006_Shutdown) @@ -884,702 +1568,1008 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamController_SteamController006_GetGlyphForActionOrigin) VTABLE_ADD_FUNC(winISteamController_SteamController006_GetInputTypeForHandle) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamController_SteamController006 *create_winISteamController_SteamController006(void *linux_side) +struct w_steam_iface *create_winISteamController_SteamController006(void *u_iface) { - winISteamController_SteamController006 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController006), "SteamController006"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController006"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamController_SteamController006_vtable, 31, "SteamController006"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamController_SteamController005.h" - -typedef struct __winISteamController_SteamController005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController005; - -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Init, 4) -bool __thiscall winISteamController_SteamController005_Init(winISteamController_SteamController005 *_this) -{ - TRACE("%p\n", _this); - return cppISteamController_SteamController005_Init(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerBindingRevision, 20) -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Shutdown, 4) -bool __thiscall winISteamController_SteamController005_Shutdown(winISteamController_SteamController005 *_this) +int8_t __thiscall winISteamController_SteamController007_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController007_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController007_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_RunFrame, 4) -void __thiscall winISteamController_SteamController005_RunFrame(winISteamController_SteamController005 *_this) +int8_t __thiscall winISteamController_SteamController007_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController007_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController007_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController005_GetConnectedControllers(winISteamController_SteamController005 *_this, ControllerHandle_t * handlesOut) +void __thiscall winISteamController_SteamController007_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController007_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController005_ShowBindingPanel(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle) +int32_t __thiscall winISteamController_SteamController007_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController007_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetActionSetHandle(winISteamController_SteamController005 *_this, const char * pszActionSetName) +uint64_t __thiscall winISteamController_SteamController007_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController007_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController005_ActivateActionSet(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +void __thiscall winISteamController_SteamController007_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController007_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetCurrentActionSet(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle) +uint64_t __thiscall winISteamController_SteamController007_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController007_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetCurrentActionSet(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController005_GetDigitalActionHandle(winISteamController_SteamController005 *_this, const char * pszActionName) +void __thiscall winISteamController_SteamController007_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController007_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController007_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionData, 24) -ControllerDigitalActionData_t *__thiscall winISteamController_SteamController005_GetDigitalActionData(winISteamController_SteamController005 *_this, ControllerDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +void __thiscall winISteamController_SteamController007_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController007_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController005_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController007_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController005_GetDigitalActionOrigins(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +void __thiscall winISteamController_SteamController007_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController007_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController007_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController005_GetAnalogActionHandle(winISteamController_SteamController005 *_this, const char * pszActionName) +int32_t __thiscall winISteamController_SteamController007_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t *handlesOut) { + struct ISteamController_SteamController007_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionData, 24) -ControllerAnalogActionData_t *__thiscall winISteamController_SteamController005_GetAnalogActionData(winISteamController_SteamController005 *_this, ControllerAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +uint64_t __thiscall winISteamController_SteamController007_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController007_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController005_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController007_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController005_GetAnalogActionOrigins(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +InputDigitalActionData_t * __thiscall winISteamController_SteamController007_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) { + struct ISteamController_SteamController007_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController005_StopAnalogActionMomentum(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +int32_t __thiscall winISteamController_SteamController007_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController007_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController005_TriggerHapticPulse(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +uint64_t __thiscall winISteamController_SteamController007_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController007_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController005_TriggerRepeatedHapticPulse(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +InputAnalogActionData_t * __thiscall winISteamController_SteamController007_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController007_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerVibration, 20) -void __thiscall winISteamController_SteamController005_TriggerVibration(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +int32_t __thiscall winISteamController_SteamController007_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController007_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_TriggerVibration(_this->linux_side, controllerHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_SetLEDColor, 28) -void __thiscall winISteamController_SteamController005_SetLEDColor(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +const char * __thiscall winISteamController_SteamController007_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamController_SteamController007_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppISteamController_SteamController005_SetLEDColor(_this->linux_side, controllerHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGamepadIndexForController, 12) -int __thiscall winISteamController_SteamController005_GetGamepadIndexForController(winISteamController_SteamController005 *_this, ControllerHandle_t ulControllerHandle) +void __thiscall winISteamController_SteamController007_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController007_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetGamepadIndexForController(_this->linux_side, ulControllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetControllerForGamepadIndex, 8) -ControllerHandle_t __thiscall winISteamController_SteamController005_GetControllerForGamepadIndex(winISteamController_SteamController005 *_this, int nIndex) +InputMotionData_t * __thiscall winISteamController_SteamController007_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t controllerHandle) { + struct ISteamController_SteamController007_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetMotionData, 16) -ControllerMotionData_t *__thiscall winISteamController_SteamController005_GetMotionData(winISteamController_SteamController005 *_this, ControllerMotionData_t *_r, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController007_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController007_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController005_GetMotionData(_this->linux_side, controllerHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController007_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowDigitalActionOrigins, 32) -bool __thiscall winISteamController_SteamController005_ShowDigitalActionOrigins(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +void __thiscall winISteamController_SteamController007_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController007_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_ShowDigitalActionOrigins(_this->linux_side, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + STEAMCLIENT_CALL( ISteamController_SteamController007_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowAnalogActionOrigins, 32) -bool __thiscall winISteamController_SteamController005_ShowAnalogActionOrigins(winISteamController_SteamController005 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +void __thiscall winISteamController_SteamController007_TriggerVibration(struct w_steam_iface *_this, uint64_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamController_SteamController007_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_ShowAnalogActionOrigins(_this->linux_side, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); + STEAMCLIENT_CALL( ISteamController_SteamController007_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetStringForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController005_GetStringForActionOrigin(winISteamController_SteamController005 *_this, EControllerActionOrigin eOrigin) +void __thiscall winISteamController_SteamController007_SetLEDColor(struct w_steam_iface *_this, uint64_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamController_SteamController007_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamController_SteamController007_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamController_SteamController005_GetGlyphForActionOrigin(winISteamController_SteamController005 *_this, EControllerActionOrigin eOrigin) +int8_t __thiscall winISteamController_SteamController007_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController007_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController005_GetGlyphForActionOrigin(_this->linux_side, eOrigin); -} - -extern vtable_ptr winISteamController_SteamController005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_SteamController005, - VTABLE_ADD_FUNC(winISteamController_SteamController005_Init) - VTABLE_ADD_FUNC(winISteamController_SteamController005_Shutdown) - VTABLE_ADD_FUNC(winISteamController_SteamController005_RunFrame) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController005_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController005_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerVibration) - VTABLE_ADD_FUNC(winISteamController_SteamController005_SetLEDColor) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetMotionData) - VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGlyphForActionOrigin) - ); -#ifndef __GNUC__ -} -#endif - -winISteamController_SteamController005 *create_winISteamController_SteamController005(void *linux_side) -{ - winISteamController_SteamController005 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController005), "SteamController005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_SteamController005_vtable, 26, "SteamController005"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamController_SteamController007_ShowBindingPanel, ¶ms ); + return params._ret; } -#include "cppISteamController_SteamController004.h" - -typedef struct __winISteamController_SteamController004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController004; - -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Init, 4) -bool __thiscall winISteamController_SteamController004_Init(winISteamController_SteamController004 *_this) +uint32_t __thiscall winISteamController_SteamController007_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController007_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Shutdown, 4) -bool __thiscall winISteamController_SteamController004_Shutdown(winISteamController_SteamController004 *_this) +uint64_t __thiscall winISteamController_SteamController007_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamController_SteamController007_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_RunFrame, 4) -void __thiscall winISteamController_SteamController004_RunFrame(winISteamController_SteamController004 *_this) +int32_t __thiscall winISteamController_SteamController007_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulControllerHandle) { + struct ISteamController_SteamController007_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController004_GetConnectedControllers(winISteamController_SteamController004 *_this, ControllerHandle_t * handlesOut) +const char * __thiscall winISteamController_SteamController007_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamController_SteamController007_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController004_ShowBindingPanel(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle) +uint32_t __thiscall winISteamController_SteamController007_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eOrigin) { + struct ISteamController_SteamController007_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetActionSetHandle(winISteamController_SteamController004 *_this, const char * pszActionSetName) +uint32_t __thiscall winISteamController_SteamController007_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamController_SteamController007_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_SteamController007_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController004_ActivateActionSet(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +int8_t __thiscall winISteamController_SteamController007_GetControllerBindingRevision(struct w_steam_iface *_this, uint64_t controllerHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamController_SteamController007_GetControllerBindingRevision_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_SteamController007_GetControllerBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetCurrentActionSet(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle) -{ - TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetCurrentActionSet(_this->linux_side, controllerHandle); -} +extern vtable_ptr winISteamController_SteamController007_vtable; -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController004_GetDigitalActionHandle(winISteamController_SteamController004 *_this, const char * pszActionName) -{ - TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetDigitalActionHandle(_this->linux_side, pszActionName); -} +DEFINE_RTTI_DATA0(winISteamController_SteamController007, 0, ".?AVISteamController@@") -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionData, 24) -ControllerDigitalActionData_t *__thiscall winISteamController_SteamController004_GetDigitalActionData(winISteamController_SteamController004 *_this, ControllerDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) -{ - TRACE("%p\n", _this); - *_r = cppISteamController_SteamController004_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; -} +__ASM_BLOCK_BEGIN(winISteamController_SteamController007_vtables) + __ASM_VTABLE(winISteamController_SteamController007, + VTABLE_ADD_FUNC(winISteamController_SteamController007_Init) + VTABLE_ADD_FUNC(winISteamController_SteamController007_Shutdown) + VTABLE_ADD_FUNC(winISteamController_SteamController007_RunFrame) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetMotionData) + VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerVibration) + VTABLE_ADD_FUNC(winISteamController_SteamController007_SetLEDColor) + VTABLE_ADD_FUNC(winISteamController_SteamController007_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerBindingRevision) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController004_GetDigitalActionOrigins(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +struct w_steam_iface *create_winISteamController_SteamController007(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamController_SteamController007_vtable, 34, "SteamController007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController004_GetAnalogActionHandle(winISteamController_SteamController004 *_this, const char * pszActionName) -{ - TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetAnalogActionHandle(_this->linux_side, pszActionName); -} +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerBindingRevision, 20) -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionData, 24) -ControllerAnalogActionData_t *__thiscall winISteamController_SteamController004_GetAnalogActionData(winISteamController_SteamController004 *_this, ControllerAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +int8_t __thiscall winISteamController_SteamController008_Init(struct w_steam_iface *_this) { + struct ISteamController_SteamController008_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController004_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController008_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController004_GetAnalogActionOrigins(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +int8_t __thiscall winISteamController_SteamController008_Shutdown(struct w_steam_iface *_this) { + struct ISteamController_SteamController008_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController008_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController004_StopAnalogActionMomentum(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +void __thiscall winISteamController_SteamController008_RunFrame(struct w_steam_iface *_this) { + struct ISteamController_SteamController008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController008_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController004_TriggerHapticPulse(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +int32_t __thiscall winISteamController_SteamController008_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamController_SteamController008_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController004_TriggerRepeatedHapticPulse(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +uint64_t __thiscall winISteamController_SteamController008_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamController_SteamController008_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - cppISteamController_SteamController004_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetGamepadIndexForController, 12) -int __thiscall winISteamController_SteamController004_GetGamepadIndexForController(winISteamController_SteamController004 *_this, ControllerHandle_t ulControllerHandle) +void __thiscall winISteamController_SteamController008_ActivateActionSet(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle) { + struct ISteamController_SteamController008_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetGamepadIndexForController(_this->linux_side, ulControllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController008_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetControllerForGamepadIndex, 8) -ControllerHandle_t __thiscall winISteamController_SteamController004_GetControllerForGamepadIndex(winISteamController_SteamController004 *_this, int nIndex) +uint64_t __thiscall winISteamController_SteamController008_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController008_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetMotionData, 16) -ControllerMotionData_t *__thiscall winISteamController_SteamController004_GetMotionData(winISteamController_SteamController004 *_this, ControllerMotionData_t *_r, ControllerHandle_t controllerHandle) +void __thiscall winISteamController_SteamController008_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController008_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController004_GetMotionData(_this->linux_side, controllerHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController008_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowDigitalActionOrigins, 32) -bool __thiscall winISteamController_SteamController004_ShowDigitalActionOrigins(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition) +void __thiscall winISteamController_SteamController008_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetLayerHandle) { + struct ISteamController_SteamController008_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_ShowDigitalActionOrigins(_this->linux_side, controllerHandle, digitalActionHandle, flScale, flXPosition, flYPosition); + STEAMCLIENT_CALL( ISteamController_SteamController008_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowAnalogActionOrigins, 32) -bool __thiscall winISteamController_SteamController004_ShowAnalogActionOrigins(winISteamController_SteamController004 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition) +void __thiscall winISteamController_SteamController008_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController004_ShowAnalogActionOrigins(_this->linux_side, controllerHandle, analogActionHandle, flScale, flXPosition, flYPosition); -} - -extern vtable_ptr winISteamController_SteamController004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_SteamController004, - VTABLE_ADD_FUNC(winISteamController_SteamController004_Init) - VTABLE_ADD_FUNC(winISteamController_SteamController004_Shutdown) - VTABLE_ADD_FUNC(winISteamController_SteamController004_RunFrame) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController004_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController004_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamController_SteamController004_GetMotionData) - VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowAnalogActionOrigins) - ); -#ifndef __GNUC__ -} -#endif - -winISteamController_SteamController004 *create_winISteamController_SteamController004(void *linux_side) -{ - winISteamController_SteamController004 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController004), "SteamController004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_SteamController004_vtable, 22, "SteamController004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamController_SteamController008_DeactivateAllActionSetLayers, ¶ms ); } -#include "cppISteamController_SteamController003.h" - -typedef struct __winISteamController_SteamController003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_SteamController003; - -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Init, 4) -bool __thiscall winISteamController_SteamController003_Init(winISteamController_SteamController003 *_this) +int32_t __thiscall winISteamController_SteamController008_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t *handlesOut) { + struct ISteamController_SteamController008_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Shutdown, 4) -bool __thiscall winISteamController_SteamController003_Shutdown(winISteamController_SteamController003 *_this) +uint64_t __thiscall winISteamController_SteamController008_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController008_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_RunFrame, 4) -void __thiscall winISteamController_SteamController003_RunFrame(winISteamController_SteamController003 *_this) +InputDigitalActionData_t * __thiscall winISteamController_SteamController008_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t controllerHandle, uint64_t digitalActionHandle) { + struct ISteamController_SteamController008_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetConnectedControllers, 8) -int __thiscall winISteamController_SteamController003_GetConnectedControllers(winISteamController_SteamController003 *_this, ControllerHandle_t * handlesOut) +int32_t __thiscall winISteamController_SteamController008_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController008_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ShowBindingPanel, 12) -bool __thiscall winISteamController_SteamController003_ShowBindingPanel(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle) +uint64_t __thiscall winISteamController_SteamController008_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamController_SteamController008_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_ShowBindingPanel(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetActionSetHandle, 8) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetActionSetHandle(winISteamController_SteamController003 *_this, const char * pszActionSetName) +InputAnalogActionData_t * __thiscall winISteamController_SteamController008_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t controllerHandle, uint64_t analogActionHandle) { + struct ISteamController_SteamController008_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ActivateActionSet, 20) -void __thiscall winISteamController_SteamController003_ActivateActionSet(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle) +int32_t __thiscall winISteamController_SteamController008_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamController_SteamController008_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_ActivateActionSet(_this->linux_side, controllerHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetCurrentActionSet, 12) -ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetCurrentActionSet(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle) +const char * __thiscall winISteamController_SteamController008_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamController_SteamController008_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetCurrentActionSet(_this->linux_side, controllerHandle); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionHandle, 8) -ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController003_GetDigitalActionHandle(winISteamController_SteamController003 *_this, const char * pszActionName) +void __thiscall winISteamController_SteamController008_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t controllerHandle, uint64_t eAction) { + struct ISteamController_SteamController008_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController008_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionData, 24) -ControllerDigitalActionData_t *__thiscall winISteamController_SteamController003_GetDigitalActionData(winISteamController_SteamController003 *_this, ControllerDigitalActionData_t *_r, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle) +InputMotionData_t * __thiscall winISteamController_SteamController008_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t controllerHandle) { + struct ISteamController_SteamController008_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController003_GetDigitalActionData(_this->linux_side, controllerHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController008_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionOrigins, 32) -int __thiscall winISteamController_SteamController003_GetDigitalActionOrigins(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut) +void __thiscall winISteamController_SteamController008_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamController_SteamController008_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetDigitalActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController008_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionHandle, 8) -ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController003_GetAnalogActionHandle(winISteamController_SteamController003 *_this, const char * pszActionName) +void __thiscall winISteamController_SteamController008_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamController_SteamController008_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionData, 24) -ControllerAnalogActionData_t *__thiscall winISteamController_SteamController003_GetAnalogActionData(winISteamController_SteamController003 *_this, ControllerAnalogActionData_t *_r, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle) +void __thiscall winISteamController_SteamController008_TriggerVibration(struct w_steam_iface *_this, uint64_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamController_SteamController008_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - *_r = cppISteamController_SteamController003_GetAnalogActionData(_this->linux_side, controllerHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamController_SteamController008_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionOrigins, 32) -int __thiscall winISteamController_SteamController003_GetAnalogActionOrigins(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut) +void __thiscall winISteamController_SteamController008_SetLEDColor(struct w_steam_iface *_this, uint64_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamController_SteamController008_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamController_SteamController003_GetAnalogActionOrigins(_this->linux_side, controllerHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamController_SteamController008_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_StopAnalogActionMomentum, 20) -void __thiscall winISteamController_SteamController003_StopAnalogActionMomentum(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction) +int8_t __thiscall winISteamController_SteamController008_ShowBindingPanel(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController008_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_StopAnalogActionMomentum(_this->linux_side, controllerHandle, eAction); + STEAMCLIENT_CALL( ISteamController_SteamController008_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerHapticPulse, 20) -void __thiscall winISteamController_SteamController003_TriggerHapticPulse(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +uint32_t __thiscall winISteamController_SteamController008_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t controllerHandle) { + struct ISteamController_SteamController008_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_TriggerHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamController_SteamController003_TriggerRepeatedHapticPulse(winISteamController_SteamController003 *_this, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +uint64_t __thiscall winISteamController_SteamController008_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamController_SteamController008_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - cppISteamController_SteamController003_TriggerRepeatedHapticPulse(_this->linux_side, controllerHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); -} - -extern vtable_ptr winISteamController_SteamController003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_SteamController003, - VTABLE_ADD_FUNC(winISteamController_SteamController003_Init) - VTABLE_ADD_FUNC(winISteamController_SteamController003_Shutdown) - VTABLE_ADD_FUNC(winISteamController_SteamController003_RunFrame) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamController_SteamController003_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController003_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamController_SteamController003_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerRepeatedHapticPulse) - ); -#ifndef __GNUC__ -} -#endif - -winISteamController_SteamController003 *create_winISteamController_SteamController003(void *linux_side) -{ - winISteamController_SteamController003 *r = alloc_mem_for_iface(sizeof(winISteamController_SteamController003), "SteamController003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_SteamController003_vtable, 17, "SteamController003"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamController_SteamController008_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -#include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h" - -typedef struct __winISteamController_STEAMCONTROLLER_INTERFACE_VERSION { - vtable_ptr *vtable; - void *linux_side; -} winISteamController_STEAMCONTROLLER_INTERFACE_VERSION; - -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, 8) -bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this, const char * pchAbsolutePathToControllerConfigVDF) +int32_t __thiscall winISteamController_SteamController008_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulControllerHandle) { - char lin_pchAbsolutePathToControllerConfigVDF[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchAbsolutePathToControllerConfigVDF, lin_pchAbsolutePathToControllerConfigVDF, 0); + struct ISteamController_SteamController008_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulControllerHandle = ulControllerHandle, + }; TRACE("%p\n", _this); - return cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(_this->linux_side, pchAbsolutePathToControllerConfigVDF ? lin_pchAbsolutePathToControllerConfigVDF : NULL); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, 4) -bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this) +const char * __thiscall winISteamController_SteamController008_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamController_SteamController008_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, 4) -void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this) +uint32_t __thiscall winISteamController_SteamController008_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t controllerHandle, uint32_t eOrigin) { + struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, 12) -bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this, uint32 unControllerIndex, SteamControllerState001_t * pState) +uint32_t __thiscall winISteamController_SteamController008_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamController_SteamController008_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - return cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(_this->linux_side, unControllerIndex, pState); + STEAMCLIENT_CALL( ISteamController_SteamController008_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, 16) -void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this, uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +int8_t __thiscall winISteamController_SteamController008_GetControllerBindingRevision(struct w_steam_iface *_this, uint64_t controllerHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamController_SteamController008_GetControllerBindingRevision_params params = + { + .linux_side = _this->u_iface, + .controllerHandle = controllerHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(_this->linux_side, unControllerIndex, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamController_SteamController008_GetControllerBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, 8) -void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *_this, const char * pchMode) -{ - TRACE("%p\n", _this); - cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(_this->linux_side, pchMode); -} +extern vtable_ptr winISteamController_SteamController008_vtable; -extern vtable_ptr winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable; +DEFINE_RTTI_DATA0(winISteamController_SteamController008, 0, ".?AVISteamController@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION, - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init) - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown) - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame) - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState) - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode) +__ASM_BLOCK_BEGIN(winISteamController_SteamController008_vtables) + __ASM_VTABLE(winISteamController_SteamController008, + VTABLE_ADD_FUNC(winISteamController_SteamController008_Init) + VTABLE_ADD_FUNC(winISteamController_SteamController008_Shutdown) + VTABLE_ADD_FUNC(winISteamController_SteamController008_RunFrame) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetMotionData) + VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerVibration) + VTABLE_ADD_FUNC(winISteamController_SteamController008_SetLEDColor) + VTABLE_ADD_FUNC(winISteamController_SteamController008_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerBindingRevision) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *linux_side) +struct w_steam_iface *create_winISteamController_SteamController008(void *u_iface) { - winISteamController_STEAMCONTROLLER_INTERFACE_VERSION *r = alloc_mem_for_iface(sizeof(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION), "STEAMCONTROLLER_INTERFACE_VERSION"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController008"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable, 6, "STEAMCONTROLLER_INTERFACE_VERSION"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamController_SteamController008_vtable, 34, "SteamController008"); + r->u_iface = u_iface; return r; } +void init_winISteamController_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_rtti( base ); + init_winISteamController_SteamController003_rtti( base ); + init_winISteamController_SteamController004_rtti( base ); + init_winISteamController_SteamController005_rtti( base ); + init_winISteamController_SteamController006_rtti( base ); + init_winISteamController_SteamController007_rtti( base ); + init_winISteamController_SteamController008_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamFriends.c b/lsteamclient/winISteamFriends.c index 1ab6d3b35..9b3e78783 100644 --- a/lsteamclient/winISteamFriends.c +++ b/lsteamclient/winISteamFriends.c @@ -1,3386 +1,5493 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamFriends_SteamFriends017.h" - -typedef struct __winISteamFriends_SteamFriends017 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends017; +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetPersonaState, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_AddFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_RemoveFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_HasFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_AddFriendByName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SendMsgToFriend, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetFriendRegValue, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendRegValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetChatMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SendMsgToFriend_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetChatHistoryStart, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_ClearChatHistory, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_InviteFriendByEmail, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetBlockedFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendGamePlayed, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendGamePlayed2, 28) -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends017_GetPersonaName(winISteamFriends_SteamFriends017 *_this) +const char * __thiscall winISteamFriends_SteamFriends001_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends001_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetPersonaName, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_SetPersonaName(winISteamFriends_SteamFriends017 *_this, const char * pchPersonaName) +void __thiscall winISteamFriends_SteamFriends001_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends001_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends017_GetPersonaState(winISteamFriends_SteamFriends017 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends001_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends001_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends017_GetFriendCount(winISteamFriends_SteamFriends017 *_this, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends001_SetPersonaState(struct w_steam_iface *_this, uint32_t ePersonaState) { + struct ISteamFriends_SteamFriends001_SetPersonaState_params params = + { + .linux_side = _this->u_iface, + .ePersonaState = ePersonaState, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SetPersonaState, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetFriendByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends001_AddFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_AddFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_AddFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends017_GetFriendRelationship(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends001_RemoveFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_RemoveFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_RemoveFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaState(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends001_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaName(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends001_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends017_GetFriendGamePlayed(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +uint32_t __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, int iPersonaName) +int8_t __thiscall winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t *pnGameID, uint32_t *punGameIP, uint16_t *pusGamePort) { + struct ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pnGameID = pnGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendSteamLevel, 12) -int __thiscall winISteamFriends_SteamFriends017_GetFriendSteamLevel(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendSteamLevel(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPlayerNickname, 12) -const char * __thiscall winISteamFriends_SteamFriends017_GetPlayerNickname(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDPlayer) +int32_t __thiscall winISteamFriends_SteamFriends001_AddFriendByName(struct w_steam_iface *_this, const char *pchEmailOrAccountName) { + struct ISteamFriends_SteamFriends001_AddFriendByName_params params = + { + .linux_side = _this->u_iface, + .pchEmailOrAccountName = pchEmailOrAccountName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetPlayerNickname(_this->linux_side, steamIDPlayer); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_AddFriendByName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupCount, 4) -int __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupCount(winISteamFriends_SteamFriends017 *_this) +int32_t __thiscall winISteamFriends_SteamFriends001_GetFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends001_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendsGroupCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex, 8) -FriendsGroupID_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(winISteamFriends_SteamFriends017 *_this, int iFG) +CSteamID * __thiscall winISteamFriends_SteamFriends001_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend) { + struct ISteamFriends_SteamFriends001_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(_this->linux_side, iFG); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupName, 8) -const char * __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupName(winISteamFriends_SteamFriends017 *_this, FriendsGroupID_t friendsGroupID) +void __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, uint32_t eChatEntryType, const char *pchMsgBody) { + struct ISteamFriends_SteamFriends001_SendMsgToFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pchMsgBody = pchMsgBody, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendsGroupName(_this->linux_side, friendsGroupID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SendMsgToFriend, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount, 8) -int __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(winISteamFriends_SteamFriends017 *_this, FriendsGroupID_t friendsGroupID) +void __thiscall winISteamFriends_SteamFriends001_SetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends001_SetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(_this->linux_side, friendsGroupID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SetFriendRegValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupMembersList, 16) -void __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersList(winISteamFriends_SteamFriends017 *_this, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount) +const char * __thiscall winISteamFriends_SteamFriends001_GetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends001_GetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_GetFriendsGroupMembersList(_this->linux_side, friendsGroupID, pOutSteamIDMembers, nMembersCount); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendRegValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends017_HasFriend(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends017_GetClanCount(winISteamFriends_SteamFriends017 *_this) +int32_t __thiscall winISteamFriends_SteamFriends001_GetChatMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iChatID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends001_GetChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetClanByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, int iClan) +int8_t __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend_2(struct w_steam_iface *_this, CSteamID steamIDFriend, uint32_t eChatEntryType, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamFriends_SteamFriends001_SendMsgToFriend_2_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SendMsgToFriend_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends017_GetClanName(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends017_GetClanTag(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends001_SetChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iChatID) { + struct ISteamFriends_SteamFriends001_SetChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_SetChatHistoryStart, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends017_GetClanActivityCounts(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +void __thiscall winISteamFriends_SteamFriends001_ClearChatHistory(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends001_ClearChatHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_ClearChatHistory, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_DownloadClanActivityCounts(winISteamFriends_SteamFriends017 *_this, CSteamID * psteamIDClans, int cClansToRequest) +int8_t __thiscall winISteamFriends_SteamFriends001_InviteFriendByEmail(struct w_steam_iface *_this, const char *pchEmailAccount) { + struct ISteamFriends_SteamFriends001_InviteFriendByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_InviteFriendByEmail, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends017_GetFriendCountFromSource(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends001_GetBlockedFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends001_GetBlockedFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetBlockedFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int8_t __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort) { + struct ISteamFriends_SteamFriends001_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends017_IsUserInSource(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed2(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort, uint16_t *pusQueryPort) { + struct ISteamFriends_SteamFriends001_GetFriendGamePlayed2_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends001_GetFriendGamePlayed2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDUser, bool bSpeaking) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); -} +extern vtable_ptr winISteamFriends_SteamFriends001_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlay(winISteamFriends_SteamFriends017 *_this, const char * pchDialog) +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends001, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends001_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends001, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_AddFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_RemoveFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_AddFriendByName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SendMsgToFriend_2) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SendMsgToFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetFriendRegValue) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendRegValue) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetChatHistoryStart) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_ClearChatHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_InviteFriendByEmail) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetBlockedFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed2) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends001(void *u_iface) { - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlay(_this->linux_side, pchDialog); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends001_vtable, 27, "SteamFriends001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToUser(winISteamFriends_SteamFriends017 *_this, const char * pchDialog, CSteamID steamID) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetPersonaState, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetFriendRegValue, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendRegValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendGamePlayed, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AddFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_RemoveFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AddFriendByName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_InviteFriendByEmail, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetChatMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SendMsgToFriend, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetChatHistoryStart, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_ClearChatHistory, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_InviteFriendToClan, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AcknowledgeInviteToClan, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex, 20) + +const char * __thiscall winISteamFriends_SteamFriends002_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends002_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage, 12) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends017 *_this, const char * pchURL, EActivateGameOverlayToWebPageMode eMode) +void __thiscall winISteamFriends_SteamFriends002_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends002_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(_this->linux_side, pchURL, eMode); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToStore, 12) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToStore(winISteamFriends_SteamFriends017 *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) +uint32_t __thiscall winISteamFriends_SteamFriends002_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends002_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayToStore(_this->linux_side, nAppID, eFlag); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends017_SetPlayedWith(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends002_SetPersonaState(struct w_steam_iface *_this, uint32_t ePersonaState) { + struct ISteamFriends_SteamFriends002_SetPersonaState_params params = + { + .linux_side = _this->u_iface, + .ePersonaState = ePersonaState, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_SetPersonaState, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamFriends_SteamFriends002_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends002_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends017_GetSmallFriendAvatar(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends002_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends002_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends017_GetMediumFriendAvatar(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends002_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends017_GetLargeFriendAvatar(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends017_RequestUserInformation(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_RequestClanOfficerList(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends002_SetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends002_SetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_SetFriendRegValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetClanOwner(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends002_GetFriendRegValue(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends002_GetFriendRegValue_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendRegValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends017_GetClanOfficerCount(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends002_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort, uint16_t *pusQueryPort) { + struct ISteamFriends_SteamFriends002_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetClanOfficerByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends017_GetUserRestrictions(winISteamFriends_SteamFriends017 *_this) +int8_t __thiscall winISteamFriends_SteamFriends002_AddFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_AddFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_AddFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends017_SetRichPresence(winISteamFriends_SteamFriends017 *_this, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamFriends_SteamFriends002_RemoveFriend(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_RemoveFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_RemoveFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends017_ClearRichPresence(winISteamFriends_SteamFriends017 *_this) +int8_t __thiscall winISteamFriends_SteamFriends002_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends002_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresence(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, const char * pchKey) +int32_t __thiscall winISteamFriends_SteamFriends002_AddFriendByName(struct w_steam_iface *_this, const char *pchEmailOrAccountName) { + struct ISteamFriends_SteamFriends002_AddFriendByName_params params = + { + .linux_side = _this->u_iface, + .pchEmailOrAccountName = pchEmailOrAccountName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_AddFriendByName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends002_InviteFriendByEmail(struct w_steam_iface *_this, const char *pchEmailAccount) { + struct ISteamFriends_SteamFriends002_InviteFriendByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_InviteFriendByEmail, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, int iKey) +int32_t __thiscall winISteamFriends_SteamFriends002_GetChatMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iChatID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends002_GetChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends017_RequestFriendRichPresence(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends002_SendMsgToFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, uint32_t eChatEntryType, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamFriends_SteamFriends002_SendMsgToFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eChatEntryType = eChatEntryType, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_SendMsgToFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends017_InviteUserToGame(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, const char * pchConnectString) +int32_t __thiscall winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends017_GetCoplayFriendCount(winISteamFriends_SteamFriends017 *_this) +void __thiscall winISteamFriends_SteamFriends002_SetChatHistoryStart(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iChatID) { + struct ISteamFriends_SteamFriends002_SetChatHistoryStart_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iChatID = iChatID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_SetChatHistoryStart, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetCoplayFriend(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, int iCoplayFriend) +void __thiscall winISteamFriends_SteamFriends002_ClearChatHistory(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends002_ClearChatHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_ClearChatHistory, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayTime(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends002_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends002_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayGame(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends002_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends002_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_JoinClanChatRoom(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends002_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends002_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends017_LeaveClanChatRoom(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends002_InviteFriendToClan(struct w_steam_iface *_this, CSteamID steamIDFriend, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends002_InviteFriendToClan_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_InviteFriendToClan, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends017_GetClanChatMemberCount(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends002_AcknowledgeInviteToClan(struct w_steam_iface *_this, CSteamID steamIDClan, int8_t bAcceptOrDenyClanInvite) { + struct ISteamFriends_SteamFriends002_AcknowledgeInviteToClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .bAcceptOrDenyClanInvite = bAcceptOrDenyClanInvite, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_AcknowledgeInviteToClan, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends017_GetChatMemberByIndex(winISteamFriends_SteamFriends017 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +int32_t __thiscall winISteamFriends_SteamFriends002_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends002_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends017_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends017_SendClanChatMessage(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat, const char * pchText) +CSteamID * __thiscall winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends002_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends017_GetClanChatMessage(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +extern vtable_ptr winISteamFriends_SteamFriends002_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends002, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends002_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends002, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetFriendRegValue) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendRegValue) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AddFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_RemoveFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AddFriendByName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_InviteFriendByEmail) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SendMsgToFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetChatHistoryStart) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_ClearChatHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_InviteFriendToClan) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AcknowledgeInviteToClan) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends002_vtable, 30, "SteamFriends002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends017_IsClanChatAdmin(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendGamePlayed, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_ActivateGameOverlay, 8) + +const char * __thiscall winISteamFriends_SteamFriends003_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends003_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat) +void __thiscall winISteamFriends_SteamFriends003_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends003_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat) +uint32_t __thiscall winISteamFriends_SteamFriends003_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends003_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClanChat) +int32_t __thiscall winISteamFriends_SteamFriends003_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends003_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends017_SetListenForFriendsMessages(winISteamFriends_SteamFriends017 *_this, bool bInterceptEnabled) +CSteamID * __thiscall winISteamFriends_SteamFriends003_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends003_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends017_ReplyToFriendMessage(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +uint32_t __thiscall winISteamFriends_SteamFriends003_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends003_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends017_GetFriendMessage(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +uint32_t __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends003_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_GetFollowerCount(winISteamFriends_SteamFriends017 *_this, CSteamID steamID) +const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends003_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_IsFollowing(winISteamFriends_SteamFriends017 *_this, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends003_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends003_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_EnumerateFollowingList(winISteamFriends_SteamFriends017 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamFriends_SteamFriends003_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort, uint16_t *pusQueryPort) { + struct ISteamFriends_SteamFriends003_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_EnumerateFollowingList(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanPublic, 12) -bool __thiscall winISteamFriends_SteamFriends017_IsClanPublic(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsClanPublic(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanOfficialGameGroup, 12) -bool __thiscall winISteamFriends_SteamFriends017_IsClanOfficialGameGroup(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends003_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends003_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_IsClanOfficialGameGroup(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages, 4) -int __thiscall winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(winISteamFriends_SteamFriends017 *_this) +int32_t __thiscall winISteamFriends_SteamFriends003_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends003_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(winISteamFriends_SteamFriends017 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamFriends_SteamFriends003_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends003_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser, 8) -bool __thiscall winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(winISteamFriends_SteamFriends017 *_this, const char * pchProtocol) +const char * __thiscall winISteamFriends_SteamFriends003_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends003_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(_this->linux_side, pchProtocol); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString, 8) -void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(winISteamFriends_SteamFriends017 *_this, const char * pchConnectString) +int32_t __thiscall winISteamFriends_SteamFriends003_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends003_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(_this->linux_side, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestEquippedProfileItems, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends017_RequestEquippedProfileItems(winISteamFriends_SteamFriends017 *_this, CSteamID steamID) +CSteamID * __thiscall winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_RequestEquippedProfileItems(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_BHasEquippedProfileItem, 16) -bool __thiscall winISteamFriends_SteamFriends017_BHasEquippedProfileItem(winISteamFriends_SteamFriends017 *_this, CSteamID steamID, ECommunityProfileItemType itemType) +int8_t __thiscall winISteamFriends_SteamFriends003_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends003_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_BHasEquippedProfileItem(_this->linux_side, steamID, itemType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetProfileItemPropertyString, 20) -const char * __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyString(winISteamFriends_SteamFriends017 *_this, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +void __thiscall winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetProfileItemPropertyString(_this->linux_side, steamID, itemType, prop); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetProfileItemPropertyUint, 20) -uint32 __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyUint(winISteamFriends_SteamFriends017 *_this, CSteamID steamID, ECommunityProfileItemType itemType, ECommunityProfileItemProperty prop) +void __thiscall winISteamFriends_SteamFriends003_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends003_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends017_GetProfileItemPropertyUint(_this->linux_side, steamID, itemType, prop); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends003_ActivateGameOverlay, ¶ms ); } -extern vtable_ptr winISteamFriends_SteamFriends017_vtable; +extern vtable_ptr winISteamFriends_SteamFriends003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends017, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendSteamLevel) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPlayerNickname) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupMembersList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFollowerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsFollowing) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_EnumerateFollowingList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanPublic) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanOfficialGameGroup) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestEquippedProfileItems) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_BHasEquippedProfileItem) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyString) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyUint) +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends003, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends003_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends003, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_ActivateGameOverlay) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamFriends_SteamFriends017 *create_winISteamFriends_SteamFriends017(void *linux_side) +struct w_steam_iface *create_winISteamFriends_SteamFriends003(void *u_iface) { - winISteamFriends_SteamFriends017 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends017), "SteamFriends017"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends017_vtable, 80, "SteamFriends017"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends003_vtable, 20, "SteamFriends003"); + r->u_iface = u_iface; return r; } -#include "cppISteamFriends_SteamFriends015.h" - -typedef struct __winISteamFriends_SteamFriends015 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends015; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends015_GetPersonaName(winISteamFriends_SteamFriends015 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetPersonaName(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetPersonaName, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_SetPersonaName(winISteamFriends_SteamFriends015 *_this, const char * pchPersonaName) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_SetPersonaName(_this->linux_side, pchPersonaName); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends015_GetPersonaState(winISteamFriends_SteamFriends015 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetPersonaState(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendAvatar, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendGamePlayed, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_ActivateGameOverlay, 8) -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends015_GetFriendCount(winISteamFriends_SteamFriends015 *_this, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends004_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends004_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetFriendByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends004_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends004_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends015_GetFriendRelationship(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends004_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends004_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaState(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends004_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends004_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaName(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends004_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends004_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends015_GetFriendGamePlayed(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +uint32_t __thiscall winISteamFriends_SteamFriends004_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends004_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, int iPersonaName) +uint32_t __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends004_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendSteamLevel, 12) -int __thiscall winISteamFriends_SteamFriends015_GetFriendSteamLevel(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends004_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendSteamLevel(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPlayerNickname, 12) -const char * __thiscall winISteamFriends_SteamFriends015_GetPlayerNickname(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDPlayer) +int32_t __thiscall winISteamFriends_SteamFriends004_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) { + struct ISteamFriends_SteamFriends004_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetPlayerNickname(_this->linux_side, steamIDPlayer); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupCount, 4) -int __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupCount(winISteamFriends_SteamFriends015 *_this) +int8_t __thiscall winISteamFriends_SteamFriends004_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, uint64_t *pulGameID, uint32_t *punGameIP, uint16_t *pusGamePort, uint16_t *pusQueryPort) { + struct ISteamFriends_SteamFriends004_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pulGameID = pulGameID, + .punGameIP = punGameIP, + .pusGamePort = pusGamePort, + .pusQueryPort = pusQueryPort, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendsGroupCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex, 8) -FriendsGroupID_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(winISteamFriends_SteamFriends015 *_this, int iFG) +const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(_this->linux_side, iFG); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupName, 8) -const char * __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupName(winISteamFriends_SteamFriends015 *_this, FriendsGroupID_t friendsGroupID) +int8_t __thiscall winISteamFriends_SteamFriends004_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends004_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendsGroupName(_this->linux_side, friendsGroupID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount, 8) -int __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(winISteamFriends_SteamFriends015 *_this, FriendsGroupID_t friendsGroupID) +int32_t __thiscall winISteamFriends_SteamFriends004_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends004_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(_this->linux_side, friendsGroupID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupMembersList, 16) -void __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersList(winISteamFriends_SteamFriends015 *_this, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount) +CSteamID * __thiscall winISteamFriends_SteamFriends004_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends004_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_GetFriendsGroupMembersList(_this->linux_side, friendsGroupID, pOutSteamIDMembers, nMembersCount); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends015_HasFriend(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends004_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends004_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends015_GetClanCount(winISteamFriends_SteamFriends015 *_this) +int32_t __thiscall winISteamFriends_SteamFriends004_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends004_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetClanByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, int iClan) +CSteamID * __thiscall winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends015_GetClanName(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends004_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends004_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends015_GetClanTag(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends015_GetClanActivityCounts(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +void __thiscall winISteamFriends_SteamFriends004_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends004_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends004_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_DownloadClanActivityCounts(winISteamFriends_SteamFriends015 *_this, CSteamID * psteamIDClans, int cClansToRequest) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); -} +extern vtable_ptr winISteamFriends_SteamFriends004_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends015_GetFriendCountFromSource(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDSource) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendCountFromSource(_this->linux_side, steamIDSource); -} +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends004, 0, ".?AVISteamFriends@@") -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) -{ - TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; -} +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends004_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends004, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_ActivateGameOverlay) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends015_IsUserInSource(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +struct w_steam_iface *create_winISteamFriends_SteamFriends004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends004_vtable, 20, "SteamFriends004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDUser, bool bSpeaking) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); -} +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendAvatar, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetPlayedWith, 12) -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlay(winISteamFriends_SteamFriends015 *_this, const char * pchDialog) +const char * __thiscall winISteamFriends_SteamFriends005_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends005_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToUser(winISteamFriends_SteamFriends015 *_this, const char * pchDialog, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends005_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends005_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends015 *_this, const char * pchURL) +uint32_t __thiscall winISteamFriends_SteamFriends005_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends005_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToStore, 12) -void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToStore(winISteamFriends_SteamFriends015 *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) +int32_t __thiscall winISteamFriends_SteamFriends005_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends005_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayToStore(_this->linux_side, nAppID, eFlag); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends015_SetPlayedWith(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDUserPlayedWith) +CSteamID * __thiscall winISteamFriends_SteamFriends005_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends005_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDLobby) +uint32_t __thiscall winISteamFriends_SteamFriends005_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends005_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends015_GetSmallFriendAvatar(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends005_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends015_GetMediumFriendAvatar(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends005_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends015_GetLargeFriendAvatar(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends005_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) { + struct ISteamFriends_SteamFriends005_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends015_RequestUserInformation(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +int8_t __thiscall winISteamFriends_SteamFriends005_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends005_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_RequestClanOfficerList(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetClanOwner(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends005_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends005_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends015_GetClanOfficerCount(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends005_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends005_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetClanOfficerByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +CSteamID * __thiscall winISteamFriends_SteamFriends005_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends005_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends015_GetUserRestrictions(winISteamFriends_SteamFriends015 *_this) +const char * __thiscall winISteamFriends_SteamFriends005_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends005_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends015_SetRichPresence(winISteamFriends_SteamFriends015 *_this, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamFriends_SteamFriends005_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends005_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends015_ClearRichPresence(winISteamFriends_SteamFriends015 *_this) +CSteamID * __thiscall winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresence(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, const char * pchKey) +int8_t __thiscall winISteamFriends_SteamFriends005_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends005_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, int iKey) +void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends005_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends015_RequestFriendRichPresence(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends015_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends015_InviteUserToGame(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, const char * pchConnectString) +void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends015_GetCoplayFriendCount(winISteamFriends_SteamFriends015 *_this) +void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends005_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetCoplayFriend(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, int iCoplayFriend) +void __thiscall winISteamFriends_SteamFriends005_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends005_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends005_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayTime(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendCoplayTime(_this->linux_side, steamIDFriend); -} +extern vtable_ptr winISteamFriends_SteamFriends005_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayGame(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendCoplayGame(_this->linux_side, steamIDFriend); -} +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends005, 0, ".?AVISteamFriends@@") -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_JoinClanChatRoom(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_JoinClanChatRoom(_this->linux_side, steamIDClan); +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends005_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends005, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPlayedWith) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends005(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends005_vtable, 24, "SteamFriends005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends015_LeaveClanChatRoom(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendAvatar, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog, 12) + +const char * __thiscall winISteamFriends_SteamFriends006_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends006_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends015_GetClanChatMemberCount(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends006_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends006_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends015_GetChatMemberByIndex(winISteamFriends_SteamFriends015 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +uint32_t __thiscall winISteamFriends_SteamFriends006_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends006_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends015_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends015_SendClanChatMessage(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat, const char * pchText) +int32_t __thiscall winISteamFriends_SteamFriends006_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends006_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends015_GetClanChatMessage(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +CSteamID * __thiscall winISteamFriends_SteamFriends006_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends006_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends015_IsClanChatAdmin(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +uint32_t __thiscall winISteamFriends_SteamFriends006_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends006_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat) +uint32_t __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends006_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat) +const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends006_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClanChat) +int32_t __thiscall winISteamFriends_SteamFriends006_GetFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t eAvatarSize) { + struct ISteamFriends_SteamFriends006_GetFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .eAvatarSize = eAvatarSize, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends015_SetListenForFriendsMessages(winISteamFriends_SteamFriends015 *_this, bool bInterceptEnabled) +int8_t __thiscall winISteamFriends_SteamFriends006_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends006_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends015_ReplyToFriendMessage(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends015_GetFriendMessage(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamFriends_SteamFriends006_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends006_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_GetFollowerCount(winISteamFriends_SteamFriends015 *_this, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends006_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends006_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_IsFollowing(winISteamFriends_SteamFriends015 *_this, CSteamID steamID) +CSteamID * __thiscall winISteamFriends_SteamFriends006_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends006_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends015_EnumerateFollowingList(winISteamFriends_SteamFriends015 *_this, uint32 unStartIndex) +const char * __thiscall winISteamFriends_SteamFriends006_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends006_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_EnumerateFollowingList(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanPublic, 12) -bool __thiscall winISteamFriends_SteamFriends015_IsClanPublic(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends006_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends006_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsClanPublic(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup, 12) -bool __thiscall winISteamFriends_SteamFriends015_IsClanOfficialGameGroup(winISteamFriends_SteamFriends015 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends006_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends006_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends015_IsClanOfficialGameGroup(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendCountFromSource, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends015, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendSteamLevel) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPlayerNickname) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupMembersList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFollowerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsFollowing) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_EnumerateFollowingList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanPublic) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup) - ); -#ifndef __GNUC__ +CSteamID * __thiscall winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) +{ + struct ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends015 *create_winISteamFriends_SteamFriends015(void *linux_side) +int8_t __thiscall winISteamFriends_SteamFriends006_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { - winISteamFriends_SteamFriends015 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends015), "SteamFriends015"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends015_vtable, 72, "SteamFriends015"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends006_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_IsUserInSource, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends014.h" - -typedef struct __winISteamFriends_SteamFriends014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends014; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends014_GetPersonaName(winISteamFriends_SteamFriends014 *_this) +void __thiscall winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetPersonaName, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_SetPersonaName(winISteamFriends_SteamFriends014 *_this, const char * pchPersonaName) +void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends006_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends014_GetPersonaState(winISteamFriends_SteamFriends014 *_this) +void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends014_GetFriendCount(winISteamFriends_SteamFriends014 *_this, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetFriendByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends006_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends014_GetFriendRelationship(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends006_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends006_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaState(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaName(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +extern vtable_ptr winISteamFriends_SteamFriends006_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends006, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends006_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends006, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends006(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendPersonaName(_this->linux_side, steamIDFriend); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends006_vtable, 26, "SteamFriends006"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends014_GetFriendGamePlayed(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetLargeFriendAvatar, 12) + +const char * __thiscall winISteamFriends_SteamFriends007_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends007_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, int iPersonaName) +void __thiscall winISteamFriends_SteamFriends007_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends007_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPlayerNickname, 12) -const char * __thiscall winISteamFriends_SteamFriends014_GetPlayerNickname(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDPlayer) +uint32_t __thiscall winISteamFriends_SteamFriends007_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends007_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetPlayerNickname(_this->linux_side, steamIDPlayer); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends014_HasFriend(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends007_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends007_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends014_GetClanCount(winISteamFriends_SteamFriends014 *_this) +CSteamID * __thiscall winISteamFriends_SteamFriends007_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends007_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetClanByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, int iClan) +uint32_t __thiscall winISteamFriends_SteamFriends007_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends014_GetClanName(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +uint32_t __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends014_GetClanTag(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends014_GetClanActivityCounts(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +int8_t __thiscall winISteamFriends_SteamFriends007_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends007_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_DownloadClanActivityCounts(winISteamFriends_SteamFriends014 *_this, CSteamID * psteamIDClans, int cClansToRequest) +const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends014_GetFriendCountFromSource(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends007_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends007_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends007_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends007_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends014_IsUserInSource(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +CSteamID * __thiscall winISteamFriends_SteamFriends007_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends007_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDUser, bool bSpeaking) +const char * __thiscall winISteamFriends_SteamFriends007_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends007_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlay(winISteamFriends_SteamFriends014 *_this, const char * pchDialog) +const char * __thiscall winISteamFriends_SteamFriends007_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends007_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToUser(winISteamFriends_SteamFriends014 *_this, const char * pchDialog, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends007_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends007_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends014 *_this, const char * pchURL) +CSteamID * __thiscall winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToStore, 12) -void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToStore(winISteamFriends_SteamFriends014 *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) +int8_t __thiscall winISteamFriends_SteamFriends007_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends007_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(_this->linux_side, nAppID, eFlag); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends014_SetPlayedWith(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDLobby) +void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends007_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends014_GetSmallFriendAvatar(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends014_GetMediumFriendAvatar(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends014_GetLargeFriendAvatar(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends007_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends014_RequestUserInformation(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +void __thiscall winISteamFriends_SteamFriends007_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends007_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_RequestClanOfficerList(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetClanOwner(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends007_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends014_GetClanOfficerCount(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends007_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetClanOfficerByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +int32_t __thiscall winISteamFriends_SteamFriends007_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends007_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends007_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends014_GetUserRestrictions(winISteamFriends_SteamFriends014 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetUserRestrictions(_this->linux_side); -} +extern vtable_ptr winISteamFriends_SteamFriends007_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends014_SetRichPresence(winISteamFriends_SteamFriends014 *_this, const char * pchKey, const char * pchValue) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_SetRichPresence(_this->linux_side, pchKey, pchValue); -} +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends007, 0, ".?AVISteamFriends@@") -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends014_ClearRichPresence(winISteamFriends_SteamFriends014 *_this) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_ClearRichPresence(_this->linux_side); -} +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends007_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends007, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetLargeFriendAvatar) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresence(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, const char * pchKey) +struct w_steam_iface *create_winISteamFriends_SteamFriends007(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends007_vtable, 28, "SteamFriends007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); -} +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetUserRestrictions, 4) -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, int iKey) +const char * __thiscall winISteamFriends_SteamFriends008_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends008_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends014_RequestFriendRichPresence(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends008_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends008_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends014_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends014_InviteUserToGame(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, const char * pchConnectString) +uint32_t __thiscall winISteamFriends_SteamFriends008_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends008_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends014_GetCoplayFriendCount(winISteamFriends_SteamFriends014 *_this) +int32_t __thiscall winISteamFriends_SteamFriends008_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends008_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetCoplayFriend(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, int iCoplayFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends008_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends008_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayTime(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends008_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayGame(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_JoinClanChatRoom(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends014_LeaveClanChatRoom(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends008_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends008_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends014_GetClanChatMemberCount(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends014_GetChatMemberByIndex(winISteamFriends_SteamFriends014 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +int8_t __thiscall winISteamFriends_SteamFriends008_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends008_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends014_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends014_SendClanChatMessage(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat, const char * pchText) +int32_t __thiscall winISteamFriends_SteamFriends008_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends008_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends014_GetClanChatMessage(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter) +CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends008_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, peChatEntryType, psteamidChatter); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends014_IsClanChatAdmin(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +const char * __thiscall winISteamFriends_SteamFriends008_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends008_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat) +const char * __thiscall winISteamFriends_SteamFriends008_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends008_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat) +int32_t __thiscall winISteamFriends_SteamFriends008_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends008_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDClanChat) +CSteamID * __thiscall winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends014_SetListenForFriendsMessages(winISteamFriends_SteamFriends014 *_this, bool bInterceptEnabled) +int8_t __thiscall winISteamFriends_SteamFriends008_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends008_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends014_ReplyToFriendMessage(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +void __thiscall winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends014_GetFriendMessage(winISteamFriends_SteamFriends014 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends008_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_GetFollowerCount(winISteamFriends_SteamFriends014 *_this, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_IsFollowing(winISteamFriends_SteamFriends014 *_this, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends014_EnumerateFollowingList(winISteamFriends_SteamFriends014 *_this, uint32 unStartIndex) +void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends008_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends014_EnumerateFollowingList(_this->linux_side, unStartIndex); -} - -extern vtable_ptr winISteamFriends_SteamFriends014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends014, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPlayerNickname) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFollowerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsFollowing) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_EnumerateFollowingList) - ); -#ifndef __GNUC__ -} -#endif - -winISteamFriends_SteamFriends014 *create_winISteamFriends_SteamFriends014(void *linux_side) -{ - winISteamFriends_SteamFriends014 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends014), "SteamFriends014"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends014_vtable, 64, "SteamFriends014"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_ActivateGameOverlayToStore, ¶ms ); } -#include "cppISteamFriends_SteamFriends013.h" - -typedef struct __winISteamFriends_SteamFriends013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends013; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends013_GetPersonaName(winISteamFriends_SteamFriends013 *_this) +void __thiscall winISteamFriends_SteamFriends008_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends008_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetPersonaName, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_SetPersonaName(winISteamFriends_SteamFriends013 *_this, const char * pchPersonaName) +void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends013_GetPersonaState(winISteamFriends_SteamFriends013 *_this) +int32_t __thiscall winISteamFriends_SteamFriends008_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends013_GetFriendCount(winISteamFriends_SteamFriends013 *_this, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends008_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetFriendByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends008_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends008_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends013_GetFriendRelationship(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends008_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends008_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaState(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +uint64_t __thiscall winISteamFriends_SteamFriends008_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends008_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaName(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends008_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends013_GetFriendGamePlayed(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int32_t __thiscall winISteamFriends_SteamFriends008_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends008_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, int iPersonaName) +CSteamID * __thiscall winISteamFriends_SteamFriends008_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends008_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends013_HasFriend(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, int iFriendFlags) +uint32_t __thiscall winISteamFriends_SteamFriends008_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends008_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends008_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends013_GetClanCount(winISteamFriends_SteamFriends013 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanCount(_this->linux_side); -} +extern vtable_ptr winISteamFriends_SteamFriends008_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetClanByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, int iClan) -{ - TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetClanByIndex(_this->linux_side, iClan); - return _r; -} +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends008, 0, ".?AVISteamFriends@@") -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends013_GetClanName(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanName(_this->linux_side, steamIDClan); -} +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends008_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends008, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetUserRestrictions) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends013_GetClanTag(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +struct w_steam_iface *create_winISteamFriends_SteamFriends008(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanTag(_this->linux_side, steamIDClan); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends008_vtable, 34, "SteamFriends008"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends013_GetClanActivityCounts(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCoplayGame, 12) + +const char * __thiscall winISteamFriends_SteamFriends009_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_DownloadClanActivityCounts(winISteamFriends_SteamFriends013 *_this, CSteamID * psteamIDClans, int cClansToRequest) +void __thiscall winISteamFriends_SteamFriends009_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends009_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends013_GetFriendCountFromSource(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDSource) +uint32_t __thiscall winISteamFriends_SteamFriends009_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends009_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends013_IsUserInSource(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends009_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDUser, bool bSpeaking) +uint32_t __thiscall winISteamFriends_SteamFriends009_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlay(winISteamFriends_SteamFriends013 *_this, const char * pchDialog) +uint32_t __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToUser(winISteamFriends_SteamFriends013 *_this, const char * pchDialog, CSteamID steamID) +const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends013 *_this, const char * pchURL) +int8_t __thiscall winISteamFriends_SteamFriends009_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends009_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToStore, 12) -void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToStore(winISteamFriends_SteamFriends013 *_this, AppId_t nAppID, EOverlayToStoreFlag eFlag) +const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayToStore(_this->linux_side, nAppID, eFlag); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends013_SetPlayedWith(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDUserPlayedWith) +int8_t __thiscall winISteamFriends_SteamFriends009_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends009_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamFriends_SteamFriends009_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends013_GetSmallFriendAvatar(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends009_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends013_GetMediumFriendAvatar(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends009_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends009_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends013_GetLargeFriendAvatar(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends009_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends009_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends013_RequestUserInformation(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends009_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_RequestClanOfficerList(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetClanOwner(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends009_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends009_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends013_GetClanOfficerCount(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetClanOfficerByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends009_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends013_GetUserRestrictions(winISteamFriends_SteamFriends013 *_this) +void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends013_SetRichPresence(winISteamFriends_SteamFriends013 *_this, const char * pchKey, const char * pchValue) +void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends013_ClearRichPresence(winISteamFriends_SteamFriends013 *_this) +void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends009_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresence(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, const char * pchKey) +void __thiscall winISteamFriends_SteamFriends009_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends009_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, int iKey) +int32_t __thiscall winISteamFriends_SteamFriends009_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends013_RequestFriendRichPresence(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends009_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends013_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends013_InviteUserToGame(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, const char * pchConnectString) +int32_t __thiscall winISteamFriends_SteamFriends009_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends013_GetCoplayFriendCount(winISteamFriends_SteamFriends013 *_this) +int8_t __thiscall winISteamFriends_SteamFriends009_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends009_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetCoplayFriend(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, int iCoplayFriend) +uint64_t __thiscall winISteamFriends_SteamFriends009_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends009_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayTime(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends009_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayGame(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends009_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends009_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_JoinClanChatRoom(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends009_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends013_LeaveClanChatRoom(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +uint32_t __thiscall winISteamFriends_SteamFriends009_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends013_GetClanChatMemberCount(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends009_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends009_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends013_GetChatMemberByIndex(winISteamFriends_SteamFriends013 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +void __thiscall winISteamFriends_SteamFriends009_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends013_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends013_SendClanChatMessage(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat, const char * pchText) +const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends009_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends013_GetClanChatMessage(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, _a, _b); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends013_IsClanChatAdmin(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends009_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends009_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat) +int32_t __thiscall winISteamFriends_SteamFriends009_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends009_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDClanChat) +CSteamID * __thiscall winISteamFriends_SteamFriends009_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends009_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends013_SetListenForFriendsMessages(winISteamFriends_SteamFriends013 *_this, bool bInterceptEnabled) +int32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends013_ReplyToFriendMessage(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +uint32_t __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends009_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends009_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends013_GetFriendMessage(winISteamFriends_SteamFriends013 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +extern vtable_ptr winISteamFriends_SteamFriends009_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends009, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends009_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends009, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayGame) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends009(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends009_vtable, 44, "SteamFriends009"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendMessage, 28) + +const char * __thiscall winISteamFriends_SteamFriends010_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_GetFollowerCount(winISteamFriends_SteamFriends013 *_this, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends010_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends010_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_IsFollowing(winISteamFriends_SteamFriends013 *_this, CSteamID steamID) +uint32_t __thiscall winISteamFriends_SteamFriends010_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends013_EnumerateFollowingList(winISteamFriends_SteamFriends013 *_this, uint32 unStartIndex) +int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends010_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends013_EnumerateFollowingList(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendCount, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends013_vtable; +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) +{ + struct ISteamFriends_SteamFriends010_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendByIndex, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends013, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFollowerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsFollowing) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_EnumerateFollowingList) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamFriends_SteamFriends010_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends010_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRelationship, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends013 *create_winISteamFriends_SteamFriends013(void *linux_side) +uint32_t __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { - winISteamFriends_SteamFriends013 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends013), "SteamFriends013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends013_vtable, 63, "SteamFriends013"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends010_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendPersonaState, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends012.h" +const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends010_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendPersonaName, ¶ms ); + return params._ret; +} -typedef struct __winISteamFriends_SteamFriends012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends012; +int8_t __thiscall winISteamFriends_SteamFriends010_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +{ + struct ISteamFriends_SteamFriends010_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendGamePlayed, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends012_GetPersonaName(winISteamFriends_SteamFriends012 *_this) +const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetPersonaName, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_SetPersonaName(winISteamFriends_SteamFriends012 *_this, const char * pchPersonaName) +int8_t __thiscall winISteamFriends_SteamFriends010_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends010_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends012_GetPersonaState(winISteamFriends_SteamFriends012 *_this) +int32_t __thiscall winISteamFriends_SteamFriends010_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends012_GetFriendCount(winISteamFriends_SteamFriends012 *_this, int iFriendFlags) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends010_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetFriendByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends010_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends012_GetFriendRelationship(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends010_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaState(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends010_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaName(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +uint64_t __thiscall winISteamFriends_SteamFriends010_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends010_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends012_GetFriendGamePlayed(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends010_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, int iPersonaName) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends012_HasFriend(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends010_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends010_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends012_GetClanCount(winISteamFriends_SteamFriends012 *_this) +void __thiscall winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetClanByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, int iClan) +void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends010_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends012_GetClanName(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends012_GetClanTag(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends012_GetClanActivityCounts(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends010_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_DownloadClanActivityCounts(winISteamFriends_SteamFriends012 *_this, CSteamID * psteamIDClans, int cClansToRequest) +void __thiscall winISteamFriends_SteamFriends010_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends010_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends012_GetFriendCountFromSource(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDSource) +void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends010_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends012_IsUserInSource(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends010_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDUser, bool bSpeaking) +int32_t __thiscall winISteamFriends_SteamFriends010_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlay(winISteamFriends_SteamFriends012 *_this, const char * pchDialog) +int8_t __thiscall winISteamFriends_SteamFriends010_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends010_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToUser(winISteamFriends_SteamFriends012 *_this, const char * pchDialog, CSteamID steamID) +uint64_t __thiscall winISteamFriends_SteamFriends010_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends012 *_this, const char * pchURL) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToStore(winISteamFriends_SteamFriends012 *_this, AppId_t nAppID) +int32_t __thiscall winISteamFriends_SteamFriends010_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends012_SetPlayedWith(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDUserPlayedWith) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends010_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDLobby) +uint32_t __thiscall winISteamFriends_SteamFriends010_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends012_GetSmallFriendAvatar(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends010_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends012_GetMediumFriendAvatar(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends010_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends012_GetLargeFriendAvatar(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends010_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends012_RequestUserInformation(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_RequestClanOfficerList(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetClanOwner(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends010_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends010_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends012_GetClanOfficerCount(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends010_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends010_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetClanOfficerByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends010_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends012_GetUserRestrictions(winISteamFriends_SteamFriends012 *_this) +int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends012_SetRichPresence(winISteamFriends_SteamFriends012 *_this, const char * pchKey, const char * pchValue) +uint32_t __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends010_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends012_ClearRichPresence(winISteamFriends_SteamFriends012 *_this) +uint64_t __thiscall winISteamFriends_SteamFriends010_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresence(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, const char * pchKey) +int8_t __thiscall winISteamFriends_SteamFriends010_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends010_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends010_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, int iKey) +CSteamID * __thiscall winISteamFriends_SteamFriends010_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends010_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends012_RequestFriendRichPresence(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends010_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends012_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends012_InviteUserToGame(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, const char * pchConnectString) +int32_t __thiscall winISteamFriends_SteamFriends010_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *_e, CSteamID *_f) { + struct ISteamFriends_SteamFriends010_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends012_GetCoplayFriendCount(winISteamFriends_SteamFriends012 *_this) +int8_t __thiscall winISteamFriends_SteamFriends010_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends010_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetCoplayFriend(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, int iCoplayFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayTime(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayGame(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_JoinClanChatRoom(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends010_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends010_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends012_LeaveClanChatRoom(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends010_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends010_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends012_GetClanChatMemberCount(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends010_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends010_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends010_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends012_GetChatMemberByIndex(winISteamFriends_SteamFriends012 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +extern vtable_ptr winISteamFriends_SteamFriends010_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends010, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends010_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends010, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendMessage) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends010(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends010"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends010_vtable, 59, "SteamFriends010"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_EnumerateFollowingList, 8) + +const char * __thiscall winISteamFriends_SteamFriends011_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends012_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends012_SendClanChatMessage(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat, const char * pchText) +void __thiscall winISteamFriends_SteamFriends011_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends011_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SetPersonaName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends012_GetClanChatMessage(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +uint32_t __thiscall winISteamFriends_SteamFriends011_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, _a, _b); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends012_IsClanChatAdmin(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends011_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends011_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat) +uint32_t __thiscall winISteamFriends_SteamFriends011_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDClanChat) +uint32_t __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends012_SetListenForFriendsMessages(winISteamFriends_SteamFriends012 *_this, bool bInterceptEnabled) +const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends012_ReplyToFriendMessage(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +int8_t __thiscall winISteamFriends_SteamFriends011_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends011_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends012_GetFriendMessage(winISteamFriends_SteamFriends012 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_GetFollowerCount(winISteamFriends_SteamFriends012 *_this, CSteamID steamID) +int8_t __thiscall winISteamFriends_SteamFriends011_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends011_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_IsFollowing(winISteamFriends_SteamFriends012 *_this, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends011_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends012_EnumerateFollowingList(winISteamFriends_SteamFriends012 *_this, uint32 unStartIndex) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends011_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends012_EnumerateFollowingList(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanByIndex, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends012_vtable; +const char * __thiscall winISteamFriends_SteamFriends011_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) +{ + struct ISteamFriends_SteamFriends011_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanName, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends012, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFollowerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsFollowing) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_EnumerateFollowingList) - ); -#ifndef __GNUC__ -} -#endif - -winISteamFriends_SteamFriends012 *create_winISteamFriends_SteamFriends012(void *linux_side) -{ - winISteamFriends_SteamFriends012 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends012), "SteamFriends012"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends012_vtable, 63, "SteamFriends012"); - r->linux_side = linux_side; - return r; -} - -#include "cppISteamFriends_SteamFriends011.h" - -typedef struct __winISteamFriends_SteamFriends011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends011; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends011_GetPersonaName(winISteamFriends_SteamFriends011 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetPersonaName(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends011_SetPersonaName(winISteamFriends_SteamFriends011 *_this, const char * pchPersonaName) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetPersonaName(_this->linux_side, pchPersonaName); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends011_GetPersonaState(winISteamFriends_SteamFriends011 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetPersonaState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends011_GetFriendCount(winISteamFriends_SteamFriends011 *_this, int iFriendFlags) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendCount(_this->linux_side, iFriendFlags); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetFriendByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, int iFriend, int iFriendFlags) -{ - TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends011_GetFriendRelationship(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendRelationship(_this->linux_side, steamIDFriend); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaState(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendPersonaState(_this->linux_side, steamIDFriend); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaName(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendPersonaName(_this->linux_side, steamIDFriend); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends011_GetFriendGamePlayed(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +const char * __thiscall winISteamFriends_SteamFriends011_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, int iPersonaName) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends011_HasFriend(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, int iFriendFlags) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends011_GetClanCount(winISteamFriends_SteamFriends011 *_this) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetClanByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, int iClan) +int8_t __thiscall winISteamFriends_SteamFriends011_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends011_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends011_GetClanName(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanName(_this->linux_side, steamIDClan); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends011_GetClanTag(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanTag(_this->linux_side, steamIDClan); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends011_GetClanActivityCounts(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) -{ - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); -} - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_DownloadClanActivityCounts(winISteamFriends_SteamFriends011 *_this, CSteamID * psteamIDClans, int cClansToRequest) +uint64_t __thiscall winISteamFriends_SteamFriends011_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends011_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends011_GetFriendCountFromSource(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends011_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends011_IsUserInSource(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends011_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends011_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDUser, bool bSpeaking) +void __thiscall winISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlay(winISteamFriends_SteamFriends011 *_this, const char * pchDialog) +void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends011_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToUser(winISteamFriends_SteamFriends011 *_this, const char * pchDialog, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends011 *_this, const char * pchURL) +void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToStore(winISteamFriends_SteamFriends011 *_this, AppId_t nAppID) +void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends011_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends011_SetPlayedWith(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends011_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends011_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDLobby) +void __thiscall winISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends011_GetSmallFriendAvatar(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends011_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends011_GetMediumFriendAvatar(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends011_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends011_GetLargeFriendAvatar(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends011_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends011_RequestUserInformation(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +int8_t __thiscall winISteamFriends_SteamFriends011_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends011_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_RequestClanOfficerList(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) +uint64_t __thiscall winISteamFriends_SteamFriends011_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetClanOwner(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, CSteamID steamIDClan) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends011_GetClanOfficerCount(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends011_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetClanOfficerByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends011_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends011_GetUserRestrictions(winISteamFriends_SteamFriends011 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends011_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends011_SetRichPresence(winISteamFriends_SteamFriends011 *_this, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamFriends_SteamFriends011_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends011_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends011_ClearRichPresence(winISteamFriends_SteamFriends011 *_this) +void __thiscall winISteamFriends_SteamFriends011_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresence(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, const char * pchKey) +const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends011_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, int iKey) +const char * __thiscall winISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_RequestFriendRichPresence, 12) -void __thiscall winISteamFriends_SteamFriends011_RequestFriendRichPresence(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends011_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends011_RequestFriendRichPresence(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_RequestFriendRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends011_InviteUserToGame(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, const char * pchConnectString) +int8_t __thiscall winISteamFriends_SteamFriends011_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends011_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends011_GetCoplayFriendCount(winISteamFriends_SteamFriends011 *_this) +int32_t __thiscall winISteamFriends_SteamFriends011_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends011_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetCoplayFriend(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, int iCoplayFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends011_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayTime(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayGame(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends011_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends011_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_JoinClanChatRoom(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) +uint64_t __thiscall winISteamFriends_SteamFriends011_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends011_LeaveClanChatRoom(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends011_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends011_GetClanChatMemberCount(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends011_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends011_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends011_GetChatMemberByIndex(winISteamFriends_SteamFriends011 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +CSteamID * __thiscall winISteamFriends_SteamFriends011_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends011_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends011_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends011_SendClanChatMessage(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat, const char * pchText) +int8_t __thiscall winISteamFriends_SteamFriends011_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends011_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends011_GetClanChatMessage(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +int32_t __thiscall winISteamFriends_SteamFriends011_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *_e, CSteamID *_f) { + struct ISteamFriends_SteamFriends011_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, _a, _b); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends011_IsClanChatAdmin(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +int8_t __thiscall winISteamFriends_SteamFriends011_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends011_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends011_SetListenForFriendsMessages(winISteamFriends_SteamFriends011 *_this, bool bInterceptEnabled) +int8_t __thiscall winISteamFriends_SteamFriends011_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends011_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends011_ReplyToFriendMessage(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +int8_t __thiscall winISteamFriends_SteamFriends011_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends011_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends011_GetFriendMessage(winISteamFriends_SteamFriends011 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int32_t __thiscall winISteamFriends_SteamFriends011_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends011_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_GetFollowerCount, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_GetFollowerCount(winISteamFriends_SteamFriends011 *_this, CSteamID steamID) +uint64_t __thiscall winISteamFriends_SteamFriends011_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends011_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_GetFollowerCount(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_GetFollowerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_IsFollowing, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_IsFollowing(winISteamFriends_SteamFriends011 *_this, CSteamID steamID) +uint64_t __thiscall winISteamFriends_SteamFriends011_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends011_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_IsFollowing(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_IsFollowing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends011_EnumerateFollowingList, 8) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends011_EnumerateFollowingList(winISteamFriends_SteamFriends011 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamFriends_SteamFriends011_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamFriends_SteamFriends011_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends011_EnumerateFollowingList(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends011_EnumerateFollowingList, ¶ms ); + return params._ret; } extern vtable_ptr winISteamFriends_SteamFriends011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends011, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends011_vtables) __ASM_VTABLE(winISteamFriends_SteamFriends011, VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_GetPersonaName) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_SetPersonaName) @@ -3446,2819 +5553,5040 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_IsFollowing) VTABLE_ADD_FUNC(winISteamFriends_SteamFriends011_EnumerateFollowingList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamFriends_SteamFriends011 *create_winISteamFriends_SteamFriends011(void *linux_side) +struct w_steam_iface *create_winISteamFriends_SteamFriends011(void *u_iface) { - winISteamFriends_SteamFriends011 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends011), "SteamFriends011"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends011"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamFriends_SteamFriends011_vtable, 63, "SteamFriends011"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamFriends_SteamFriends010.h" - -typedef struct __winISteamFriends_SteamFriends010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends010; +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayToStore, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends012_EnumerateFollowingList, 8) -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends010_GetPersonaName(winISteamFriends_SteamFriends010 *_this) +const char * __thiscall winISteamFriends_SteamFriends012_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends010_SetPersonaName(winISteamFriends_SteamFriends010 *_this, const char * pchPersonaName) +uint64_t __thiscall winISteamFriends_SteamFriends012_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends012_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends010_GetPersonaState(winISteamFriends_SteamFriends010 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends012_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends010_GetFriendCount(winISteamFriends_SteamFriends010 *_this, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends012_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetFriendByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends012_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends010_GetFriendRelationship(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends012_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaState(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaName(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends010_GetFriendGamePlayed(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int8_t __thiscall winISteamFriends_SteamFriends012_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends012_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, int iPersonaName) +const char * __thiscall winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends010_HasFriend(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends012_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends012_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends010_GetClanCount(winISteamFriends_SteamFriends010 *_this) +int32_t __thiscall winISteamFriends_SteamFriends012_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetClanByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, int iClan) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends012_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends010_GetClanName(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends012_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends010_GetClanTag(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends012_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanActivityCounts, 24) -bool __thiscall winISteamFriends_SteamFriends010_GetClanActivityCounts(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting) +int8_t __thiscall winISteamFriends_SteamFriends012_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends012_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanActivityCounts(_this->linux_side, steamIDClan, pnOnline, pnInGame, pnChatting); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_DownloadClanActivityCounts, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_DownloadClanActivityCounts(winISteamFriends_SteamFriends010 *_this, CSteamID * psteamIDClans, int cClansToRequest) +uint64_t __thiscall winISteamFriends_SteamFriends012_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends012_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_DownloadClanActivityCounts(_this->linux_side, psteamIDClans, cClansToRequest); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends010_GetFriendCountFromSource(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends012_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends010_IsUserInSource(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends012_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends012_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDUser, bool bSpeaking) +void __thiscall winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlay(winISteamFriends_SteamFriends010 *_this, const char * pchDialog) +void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends012_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToUser(winISteamFriends_SteamFriends010 *_this, const char * pchDialog, CSteamID steamID) +void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends010 *_this, const char * pchURL) +void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayToStore(winISteamFriends_SteamFriends010 *_this, AppId_t nAppID) +void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamFriends_SteamFriends012_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends010_SetPlayedWith(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends012_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends012_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDLobby) +void __thiscall winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends010_GetSmallFriendAvatar(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends010_GetMediumFriendAvatar(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends010_GetLargeFriendAvatar(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends010_RequestUserInformation(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +int8_t __thiscall winISteamFriends_SteamFriends012_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends012_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_RequestClanOfficerList(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +uint64_t __thiscall winISteamFriends_SteamFriends012_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetClanOwner(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, CSteamID steamIDClan) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends010_GetClanOfficerCount(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends012_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetClanOfficerByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends012_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends010_GetUserRestrictions(winISteamFriends_SteamFriends010 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends012_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends010_SetRichPresence(winISteamFriends_SteamFriends010 *_this, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamFriends_SteamFriends012_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends012_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends010_ClearRichPresence(winISteamFriends_SteamFriends010 *_this) +void __thiscall winISteamFriends_SteamFriends012_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends010_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresence(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, const char * pchKey) +const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends012_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, int iKey) +const char * __thiscall winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends010_InviteUserToGame(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, const char * pchConnectString) +void __thiscall winISteamFriends_SteamFriends012_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_RequestFriendRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends010_GetCoplayFriendCount(winISteamFriends_SteamFriends010 *_this) +int8_t __thiscall winISteamFriends_SteamFriends012_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends012_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetCoplayFriend(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, int iCoplayFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends012_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayTime(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends012_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends010_GetFriendCoplayGame(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_JoinClanChatRoom, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends010_JoinClanChatRoom(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +uint32_t __thiscall winISteamFriends_SteamFriends012_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends012_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_JoinClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_LeaveClanChatRoom, 12) -bool __thiscall winISteamFriends_SteamFriends010_LeaveClanChatRoom(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +uint64_t __thiscall winISteamFriends_SteamFriends012_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_LeaveClanChatRoom(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanChatMemberCount, 12) -int __thiscall winISteamFriends_SteamFriends010_GetClanChatMemberCount(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends012_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanChatMemberCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetChatMemberByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends010_GetChatMemberByIndex(winISteamFriends_SteamFriends010 *_this, CSteamID *_r, CSteamID steamIDClan, int iUser) +int32_t __thiscall winISteamFriends_SteamFriends012_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends012_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends010_GetChatMemberByIndex(_this->linux_side, steamIDClan, iUser); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SendClanChatMessage, 16) -bool __thiscall winISteamFriends_SteamFriends010_SendClanChatMessage(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat, const char * pchText) +CSteamID * __thiscall winISteamFriends_SteamFriends012_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends012_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_SendClanChatMessage(_this->linux_side, steamIDClanChat, pchText); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetClanChatMessage, 32) -int __thiscall winISteamFriends_SteamFriends010_GetClanChatMessage(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * _a, CSteamID * _b) +int8_t __thiscall winISteamFriends_SteamFriends012_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends012_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetClanChatMessage(_this->linux_side, steamIDClanChat, iMessage, prgchText, cchTextMax, _a, _b); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsClanChatAdmin, 20) -bool __thiscall winISteamFriends_SteamFriends010_IsClanChatAdmin(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) +int32_t __thiscall winISteamFriends_SteamFriends012_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *_e, CSteamID *_f) { + struct ISteamFriends_SteamFriends012_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_IsClanChatAdmin(_this->linux_side, steamIDClanChat, steamIDUser); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends012_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends012_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_OpenClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam, 12) -bool __thiscall winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDClanChat) +int8_t __thiscall winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_CloseClanChatWindowInSteam(_this->linux_side, steamIDClanChat); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_SetListenForFriendsMessages, 8) -bool __thiscall winISteamFriends_SteamFriends010_SetListenForFriendsMessages(winISteamFriends_SteamFriends010 *_this, bool bInterceptEnabled) +int8_t __thiscall winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_SetListenForFriendsMessages(_this->linux_side, bInterceptEnabled); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_ReplyToFriendMessage, 16) -bool __thiscall winISteamFriends_SteamFriends010_ReplyToFriendMessage(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, const char * pchMsgToSend) +int8_t __thiscall winISteamFriends_SteamFriends012_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends012_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_ReplyToFriendMessage(_this->linux_side, steamIDFriend, pchMsgToSend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends010_GetFriendMessage, 28) -int __thiscall winISteamFriends_SteamFriends010_GetFriendMessage(winISteamFriends_SteamFriends010 *_this, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamFriends_SteamFriends012_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends012_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends010_GetFriendMessage(_this->linux_side, steamIDFriend, iMessageID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_ReplyToFriendMessage, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends010, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_DownloadClanActivityCounts) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendCoplayGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_JoinClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_LeaveClanChatRoom) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanChatMemberCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetChatMemberByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SendClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetClanChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsClanChatAdmin) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_IsClanChatWindowOpenInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_OpenClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_CloseClanChatWindowInSteam) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_SetListenForFriendsMessages) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_ReplyToFriendMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends010_GetFriendMessage) - ); -#ifndef __GNUC__ +int32_t __thiscall winISteamFriends_SteamFriends012_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) +{ + struct ISteamFriends_SteamFriends012_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFriendMessage, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends010 *create_winISteamFriends_SteamFriends010(void *linux_side) +uint64_t __thiscall winISteamFriends_SteamFriends012_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { - winISteamFriends_SteamFriends010 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends010), "SteamFriends010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends010_vtable, 59, "SteamFriends010"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends012_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_GetFollowerCount, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends009.h" - -typedef struct __winISteamFriends_SteamFriends009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends009; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends009_GetPersonaName(winISteamFriends_SteamFriends009 *_this) +uint64_t __thiscall winISteamFriends_SteamFriends012_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends012_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_IsFollowing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends009_SetPersonaName(winISteamFriends_SteamFriends009 *_this, const char * pchPersonaName) +uint64_t __thiscall winISteamFriends_SteamFriends012_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamFriends_SteamFriends012_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends012_EnumerateFollowingList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends009_GetPersonaState(winISteamFriends_SteamFriends009 *_this) +extern vtable_ptr winISteamFriends_SteamFriends012_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends012, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends012_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends012, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_RequestFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_GetFollowerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_IsFollowing) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends012_EnumerateFollowingList) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends012(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetPersonaState(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends012"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends012_vtable, 63, "SteamFriends012"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends009_GetFriendCount(winISteamFriends_SteamFriends009 *_this, int iFriendFlags) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayToStore, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends013_EnumerateFollowingList, 8) + +const char * __thiscall winISteamFriends_SteamFriends013_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetFriendByIndex(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +uint64_t __thiscall winISteamFriends_SteamFriends013_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends013_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends009_GetFriendRelationship(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends013_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaState(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends013_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaName(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends013_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends009_GetFriendGamePlayed(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +uint32_t __thiscall winISteamFriends_SteamFriends013_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, int iPersonaName) +uint32_t __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends009_HasFriend(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends009_GetClanCount(winISteamFriends_SteamFriends009 *_this) +int8_t __thiscall winISteamFriends_SteamFriends013_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends013_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetClanByIndex(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, int iClan) +const char * __thiscall winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends009_GetClanName(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends013_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends013_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends009_GetClanTag(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends013_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends009_GetFriendCountFromSource(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDSource) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends013_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +const char * __thiscall winISteamFriends_SteamFriends013_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends009_IsUserInSource(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +const char * __thiscall winISteamFriends_SteamFriends013_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDUser, bool bSpeaking) +int8_t __thiscall winISteamFriends_SteamFriends013_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends013_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlay(winISteamFriends_SteamFriends009 *_this, const char * pchDialog) +uint64_t __thiscall winISteamFriends_SteamFriends013_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends013_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToUser(winISteamFriends_SteamFriends009 *_this, const char * pchDialog, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends013_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends009 *_this, const char * pchURL) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayToStore(winISteamFriends_SteamFriends009 *_this, AppId_t nAppID) +int8_t __thiscall winISteamFriends_SteamFriends013_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends013_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends009_SetPlayedWith(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDLobby) +void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends013_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends009_GetSmallFriendAvatar(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends009_GetMediumFriendAvatar(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends009_GetLargeFriendAvatar(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID, uint32_t eFlag) { + struct ISteamFriends_SteamFriends013_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends009_RequestUserInformation(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +void __thiscall winISteamFriends_SteamFriends013_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends013_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends009_RequestClanOfficerList(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetClanOwner(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends013_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends009_GetClanOfficerCount(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends013_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetClanOfficerByIndex(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +int32_t __thiscall winISteamFriends_SteamFriends013_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends009_GetUserRestrictions(winISteamFriends_SteamFriends009 *_this) +int8_t __thiscall winISteamFriends_SteamFriends013_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends013_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetUserRestrictions(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_SetRichPresence, 12) -bool __thiscall winISteamFriends_SteamFriends009_SetRichPresence(winISteamFriends_SteamFriends009 *_this, const char * pchKey, const char * pchValue) +uint64_t __thiscall winISteamFriends_SteamFriends013_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_SetRichPresence(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_ClearRichPresence, 4) -void __thiscall winISteamFriends_SteamFriends009_ClearRichPresence(winISteamFriends_SteamFriends009 *_this) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends009_ClearRichPresence(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresence, 16) -const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresence(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, const char * pchKey) +int32_t __thiscall winISteamFriends_SteamFriends013_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendRichPresence(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount, 12) -int __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends013_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex, 16) -const char * __thiscall winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, int iKey) +uint32_t __thiscall winISteamFriends_SteamFriends013_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(_this->linux_side, steamIDFriend, iKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_InviteUserToGame, 16) -bool __thiscall winISteamFriends_SteamFriends009_InviteUserToGame(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend, const char * pchConnectString) +int8_t __thiscall winISteamFriends_SteamFriends013_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends013_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_InviteUserToGame(_this->linux_side, steamIDFriend, pchConnectString); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetCoplayFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends009_GetCoplayFriendCount(winISteamFriends_SteamFriends009 *_this) +void __thiscall winISteamFriends_SteamFriends013_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetCoplayFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetCoplayFriend, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends009_GetCoplayFriend(winISteamFriends_SteamFriends009 *_this, CSteamID *_r, int iCoplayFriend) +const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends013_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends009_GetCoplayFriend(_this->linux_side, iCoplayFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCoplayTime, 12) -int __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayTime(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendCoplayTime(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends009_GetFriendCoplayGame, 12) -AppId_t __thiscall winISteamFriends_SteamFriends009_GetFriendCoplayGame(winISteamFriends_SteamFriends009 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends009_GetFriendCoplayGame(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends009, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetUserRestrictions) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_SetRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_ClearRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresence) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_InviteUserToGame) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetCoplayFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetCoplayFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayTime) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends009_GetFriendCoplayGame) - ); -#ifndef __GNUC__ +void __thiscall winISteamFriends_SteamFriends013_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends013_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_RequestFriendRichPresence, ¶ms ); } -#endif -winISteamFriends_SteamFriends009 *create_winISteamFriends_SteamFriends009(void *linux_side) +int8_t __thiscall winISteamFriends_SteamFriends013_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { - winISteamFriends_SteamFriends009 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends009), "SteamFriends009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends009_vtable, 44, "SteamFriends009"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends013_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_InviteUserToGame, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends008.h" - -typedef struct __winISteamFriends_SteamFriends008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends008; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends008_GetPersonaName(winISteamFriends_SteamFriends008 *_this) +int32_t __thiscall winISteamFriends_SteamFriends013_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends013_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends008_SetPersonaName(winISteamFriends_SteamFriends008 *_this, const char * pchPersonaName) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends013_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends008_GetPersonaState(winISteamFriends_SteamFriends008 *_this) +int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends008_GetFriendCount(winISteamFriends_SteamFriends008 *_this, int iFriendFlags) +uint32_t __thiscall winISteamFriends_SteamFriends013_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends013_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends008_GetFriendByIndex(winISteamFriends_SteamFriends008 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +uint64_t __thiscall winISteamFriends_SteamFriends013_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends008_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends008_GetFriendRelationship(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends013_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaState(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends013_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends013_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaName(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends013_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends013_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends008_GetFriendGamePlayed(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int8_t __thiscall winISteamFriends_SteamFriends013_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends013_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend, int iPersonaName) +int32_t __thiscall winISteamFriends_SteamFriends013_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *_e, CSteamID *_f) { + struct ISteamFriends_SteamFriends013_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + ._e = _e, + ._f = _f, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends008_HasFriend(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends013_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends013_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends008_GetClanCount(winISteamFriends_SteamFriends008 *_this) +int8_t __thiscall winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends008_GetClanByIndex(winISteamFriends_SteamFriends008 *_this, CSteamID *_r, int iClan) +int8_t __thiscall winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends008_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends008_GetClanName(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends008_GetClanTag(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends013_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends013_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends008_GetFriendCountFromSource(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends013_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends013_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends008 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends013_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends013_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends008_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends008_IsUserInSource(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +uint64_t __thiscall winISteamFriends_SteamFriends013_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends013_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_GetFollowerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDUser, bool bSpeaking) +uint64_t __thiscall winISteamFriends_SteamFriends013_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends013_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_IsFollowing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlay(winISteamFriends_SteamFriends008 *_this, const char * pchDialog) +uint64_t __thiscall winISteamFriends_SteamFriends013_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamFriends_SteamFriends013_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends013_EnumerateFollowingList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToUser(winISteamFriends_SteamFriends008 *_this, const char * pchDialog, CSteamID steamID) +extern vtable_ptr winISteamFriends_SteamFriends013_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends013, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends013_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends013, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_RequestFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_GetFollowerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_IsFollowing) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends013_EnumerateFollowingList) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends013(void *u_iface) { - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends013"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends013_vtable, 63, "SteamFriends013"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends008 *_this, const char * pchURL) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetPlayerNickname, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayToStore, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends014_EnumerateFollowingList, 8) + +const char * __thiscall winISteamFriends_SteamFriends014_GetPersonaName(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayToStore(winISteamFriends_SteamFriends008 *_this, AppId_t nAppID) +uint64_t __thiscall winISteamFriends_SteamFriends014_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { + struct ISteamFriends_SteamFriends014_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SetPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends008_SetPlayedWith(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDUserPlayedWith) +uint32_t __thiscall winISteamFriends_SteamFriends014_GetPersonaState(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends014_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends008_GetSmallFriendAvatar(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends014_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends008_GetMediumFriendAvatar(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends014_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends008_GetLargeFriendAvatar(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_RequestUserInformation, 16) -bool __thiscall winISteamFriends_SteamFriends008_RequestUserInformation(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDUser, bool bRequireNameOnly) +const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_RequestUserInformation(_this->linux_side, steamIDUser, bRequireNameOnly); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_RequestClanOfficerList, 12) -SteamAPICall_t __thiscall winISteamFriends_SteamFriends008_RequestClanOfficerList(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends014_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends014_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_RequestClanOfficerList(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOwner, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends008_GetClanOwner(winISteamFriends_SteamFriends008 *_this, CSteamID *_r, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends008_GetClanOwner(_this->linux_side, steamIDClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOfficerCount, 12) -int __thiscall winISteamFriends_SteamFriends008_GetClanOfficerCount(winISteamFriends_SteamFriends008 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends014_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { + struct ISteamFriends_SteamFriends014_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetClanOfficerCount(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetPlayerNickname, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetClanOfficerByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends008_GetClanOfficerByIndex(winISteamFriends_SteamFriends008 *_this, CSteamID *_r, CSteamID steamIDClan, int iOfficer) +int8_t __thiscall winISteamFriends_SteamFriends014_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends014_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends008_GetClanOfficerByIndex(_this->linux_side, steamIDClan, iOfficer); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends008_GetUserRestrictions, 4) -uint32 __thiscall winISteamFriends_SteamFriends008_GetUserRestrictions(winISteamFriends_SteamFriends008 *_this) +int32_t __thiscall winISteamFriends_SteamFriends014_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends008_GetUserRestrictions(_this->linux_side); -} - -extern vtable_ptr winISteamFriends_SteamFriends008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends008, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetLargeFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_RequestUserInformation) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_RequestClanOfficerList) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOwner) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOfficerCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetClanOfficerByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends008_GetUserRestrictions) - ); -#ifndef __GNUC__ -} -#endif - -winISteamFriends_SteamFriends008 *create_winISteamFriends_SteamFriends008(void *linux_side) -{ - winISteamFriends_SteamFriends008 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends008), "SteamFriends008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends008_vtable, 34, "SteamFriends008"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanCount, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends007.h" - -typedef struct __winISteamFriends_SteamFriends007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends007; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends007_GetPersonaName(winISteamFriends_SteamFriends007 *_this) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends014_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends007_SetPersonaName(winISteamFriends_SteamFriends007 *_this, const char * pchPersonaName) +const char * __thiscall winISteamFriends_SteamFriends014_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends007_GetPersonaState(winISteamFriends_SteamFriends007 *_this) +const char * __thiscall winISteamFriends_SteamFriends014_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends007_GetFriendCount(winISteamFriends_SteamFriends007 *_this, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends014_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends014_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends007_GetFriendByIndex(winISteamFriends_SteamFriends007 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +uint64_t __thiscall winISteamFriends_SteamFriends014_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends014_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends007_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends007_GetFriendRelationship(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends014_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaState(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaName(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends014_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends014_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends007_GetFriendGamePlayed(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +void __thiscall winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend, int iPersonaName) +void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends014_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends007_HasFriend(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends007_GetClanCount(winISteamFriends_SteamFriends007 *_this) +void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends007_GetClanByIndex(winISteamFriends_SteamFriends007 *_this, CSteamID *_r, int iClan) +void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID, uint32_t eFlag) { + struct ISteamFriends_SteamFriends014_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends007_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends007_GetClanName(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends014_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends014_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends007_GetClanTag(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDClan) +void __thiscall winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends007_GetFriendCountFromSource(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends014_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends007 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends014_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends007_IsUserInSource(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends014_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDUser, bool bSpeaking) +int8_t __thiscall winISteamFriends_SteamFriends014_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends014_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlay(winISteamFriends_SteamFriends007 *_this, const char * pchDialog) +uint64_t __thiscall winISteamFriends_SteamFriends014_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToUser(winISteamFriends_SteamFriends007 *_this, const char * pchDialog, CSteamID steamID) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends007 *_this, const char * pchURL) +int32_t __thiscall winISteamFriends_SteamFriends014_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayToStore(winISteamFriends_SteamFriends007 *_this, AppId_t nAppID) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends014_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends007_SetPlayedWith(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDUserPlayedWith) +uint32_t __thiscall winISteamFriends_SteamFriends014_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamFriends_SteamFriends014_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends014_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetSmallFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends007_GetSmallFriendAvatar(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends014_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetMediumFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends007_GetMediumFriendAvatar(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends014_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends007_GetLargeFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends007_GetLargeFriendAvatar(winISteamFriends_SteamFriends007 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(_this->linux_side, steamIDFriend); -} - -extern vtable_ptr winISteamFriends_SteamFriends007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends007, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetSmallFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetMediumFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends007_GetLargeFriendAvatar) - ); -#ifndef __GNUC__ -} -#endif - -winISteamFriends_SteamFriends007 *create_winISteamFriends_SteamFriends007(void *linux_side) -{ - winISteamFriends_SteamFriends007 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends007), "SteamFriends007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends007_vtable, 28, "SteamFriends007"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends006.h" - -typedef struct __winISteamFriends_SteamFriends006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends006; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends006_GetPersonaName(winISteamFriends_SteamFriends006 *_this) +const char * __thiscall winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends006_SetPersonaName(winISteamFriends_SteamFriends006 *_this, const char * pchPersonaName) +void __thiscall winISteamFriends_SteamFriends014_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_RequestFriendRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends006_GetPersonaState(winISteamFriends_SteamFriends006 *_this) +int8_t __thiscall winISteamFriends_SteamFriends014_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends014_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends006_GetFriendCount(winISteamFriends_SteamFriends006 *_this, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends014_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends014_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends006_GetFriendByIndex(winISteamFriends_SteamFriends006 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends014_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends006_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends006_GetFriendRelationship(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendCoplayTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaState(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend) +uint32_t __thiscall winISteamFriends_SteamFriends014_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends014_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaName(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend) +uint64_t __thiscall winISteamFriends_SteamFriends014_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendAvatar, 16) -int __thiscall winISteamFriends_SteamFriends006_GetFriendAvatar(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend, int eAvatarSize) +int8_t __thiscall winISteamFriends_SteamFriends014_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendAvatar(_this->linux_side, steamIDFriend, eAvatarSize); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends006_GetFriendGamePlayed(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int32_t __thiscall winISteamFriends_SteamFriends014_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends014_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend, int iPersonaName) +CSteamID * __thiscall winISteamFriends_SteamFriends014_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends014_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends006_HasFriend(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends014_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends014_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends006_GetClanCount(winISteamFriends_SteamFriends006 *_this) +int32_t __thiscall winISteamFriends_SteamFriends014_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *peChatEntryType, CSteamID *psteamidChatter) { + struct ISteamFriends_SteamFriends014_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends006_GetClanByIndex(winISteamFriends_SteamFriends006 *_this, CSteamID *_r, int iClan) +int8_t __thiscall winISteamFriends_SteamFriends014_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends014_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends006_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends006_GetClanName(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetClanTag, 12) -const char * __thiscall winISteamFriends_SteamFriends006_GetClanTag(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetClanTag(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends006_GetFriendCountFromSource(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends006 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int8_t __thiscall winISteamFriends_SteamFriends014_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends014_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends006_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends006_IsUserInSource(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends014_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends014_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends006_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDUser, bool bSpeaking) +int32_t __thiscall winISteamFriends_SteamFriends014_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends014_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlay(winISteamFriends_SteamFriends006 *_this, const char * pchDialog) +uint64_t __thiscall winISteamFriends_SteamFriends014_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends014_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_GetFollowerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToUser(winISteamFriends_SteamFriends006 *_this, const char * pchDialog, CSteamID steamID) +uint64_t __thiscall winISteamFriends_SteamFriends014_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends014_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_IsFollowing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends006 *_this, const char * pchURL) +uint64_t __thiscall winISteamFriends_SteamFriends014_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamFriends_SteamFriends014_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends014_EnumerateFollowingList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayToStore(winISteamFriends_SteamFriends006 *_this, AppId_t nAppID) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayToStore(_this->linux_side, nAppID); -} +extern vtable_ptr winISteamFriends_SteamFriends014_vtable; -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends006_SetPlayedWith(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDUserPlayedWith) -{ - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); -} +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends014, 0, ".?AVISteamFriends@@") -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog, 12) -void __thiscall winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(winISteamFriends_SteamFriends006 *_this, CSteamID steamIDLobby) +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends014_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends014, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetPlayerNickname) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_RequestFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_GetFollowerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_IsFollowing) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends014_EnumerateFollowingList) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends014(void *u_iface) { - TRACE("%p\n", _this); - cppISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog(_this->linux_side, steamIDLobby); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends014"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends014_vtable, 64, "SteamFriends014"); + r->u_iface = u_iface; + return r; } -extern vtable_ptr winISteamFriends_SteamFriends006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends006, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetClanTag) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_SetPlayedWith) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends006_ActivateGameOverlayInviteDialog) - ); -#ifndef __GNUC__ +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendSteamLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetPlayerNickname, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendsGroupMembersList, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayToStore, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_EnumerateFollowingList, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanPublic, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup, 12) + +const char * __thiscall winISteamFriends_SteamFriends015_GetPersonaName(struct w_steam_iface *_this) +{ + struct ISteamFriends_SteamFriends015_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetPersonaName, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends006 *create_winISteamFriends_SteamFriends006(void *linux_side) +uint64_t __thiscall winISteamFriends_SteamFriends015_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) { - winISteamFriends_SteamFriends006 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends006), "SteamFriends006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends006_vtable, 26, "SteamFriends006"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends015_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SetPersonaName, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends005.h" +uint32_t __thiscall winISteamFriends_SteamFriends015_GetPersonaState(struct w_steam_iface *_this) +{ + struct ISteamFriends_SteamFriends015_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetPersonaState, ¶ms ); + return params._ret; +} -typedef struct __winISteamFriends_SteamFriends005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends005; +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) +{ + struct ISteamFriends_SteamFriends015_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendCount, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends005_GetPersonaName(winISteamFriends_SteamFriends005 *_this) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends015_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends005_SetPersonaName(winISteamFriends_SteamFriends005 *_this, const char * pchPersonaName) +uint32_t __thiscall winISteamFriends_SteamFriends015_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRelationship, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends005_GetPersonaState(winISteamFriends_SteamFriends005 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendPersonaState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends005_GetFriendCount(winISteamFriends_SteamFriends005 *_this, int iFriendFlags) +const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendPersonaName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends005_GetFriendByIndex(winISteamFriends_SteamFriends005 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends015_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) { + struct ISteamFriends_SteamFriends015_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends005_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendGamePlayed, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends005_GetFriendRelationship(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaState(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendSteamLevel(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendSteamLevel_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaName(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend) +const char * __thiscall winISteamFriends_SteamFriends015_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { + struct ISteamFriends_SteamFriends015_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetPlayerNickname, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendAvatar, 16) -int __thiscall winISteamFriends_SteamFriends005_GetFriendAvatar(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend, int eAvatarSize) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends015_GetFriendsGroupCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendAvatar(_this->linux_side, steamIDFriend, eAvatarSize); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendGamePlayed, 16) -bool __thiscall winISteamFriends_SteamFriends005_GetFriendGamePlayed(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo) +int16_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex(struct w_steam_iface *_this, int32_t iFG) { + struct ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex_params params = + { + .linux_side = _this->u_iface, + .iFG = iFG, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pFriendGameInfo); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend, int iPersonaName) +const char * __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupName(struct w_steam_iface *_this, int16_t friendsGroupID) { + struct ISteamFriends_SteamFriends015_GetFriendsGroupName_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends005_HasFriend(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDFriend, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount(struct w_steam_iface *_this, int16_t friendsGroupID) { + struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupMembersCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends005_GetClanCount(winISteamFriends_SteamFriends005 *_this) +void __thiscall winISteamFriends_SteamFriends015_GetFriendsGroupMembersList(struct w_steam_iface *_this, int16_t friendsGroupID, CSteamID *pOutSteamIDMembers, int32_t nMembersCount) { + struct ISteamFriends_SteamFriends015_GetFriendsGroupMembersList_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + .pOutSteamIDMembers = pOutSteamIDMembers, + .nMembersCount = nMembersCount, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendsGroupMembersList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends005_GetClanByIndex(winISteamFriends_SteamFriends005 *_this, CSteamID *_r, int iClan) +int8_t __thiscall winISteamFriends_SteamFriends015_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends015_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends005_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends005_GetClanName(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends015_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends015_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends005_GetFriendCountFromSource(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDSource) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) { + struct ISteamFriends_SteamFriends015_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends005 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +const char * __thiscall winISteamFriends_SteamFriends015_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends015_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends005_IsUserInSource(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +const char * __thiscall winISteamFriends_SteamFriends015_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends015_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends005_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDUser, bool bSpeaking) +int8_t __thiscall winISteamFriends_SteamFriends015_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends015_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlay(winISteamFriends_SteamFriends005 *_this, const char * pchDialog) +uint64_t __thiscall winISteamFriends_SteamFriends015_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends015_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToUser, 16) -void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToUser(winISteamFriends_SteamFriends005 *_this, const char * pchDialog, CSteamID steamID) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends015_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(_this->linux_side, pchDialog, steamID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage, 8) -void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(winISteamFriends_SteamFriends005 *_this, const char * pchURL) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(_this->linux_side, pchURL); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_ActivateGameOverlayToStore, 8) -void __thiscall winISteamFriends_SteamFriends005_ActivateGameOverlayToStore(winISteamFriends_SteamFriends005 *_this, AppId_t nAppID) +int8_t __thiscall winISteamFriends_SteamFriends015_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends015_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends005_SetPlayedWith, 12) -void __thiscall winISteamFriends_SteamFriends005_SetPlayedWith(winISteamFriends_SteamFriends005 *_this, CSteamID steamIDUserPlayedWith) +void __thiscall winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends005_SetPlayedWith(_this->linux_side, steamIDUserPlayedWith); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SetInGameVoiceSpeaking, ¶ms ); } -extern vtable_ptr winISteamFriends_SteamFriends005_vtable; +void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) +{ + struct ISteamFriends_SteamFriends015_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ActivateGameOverlay, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends005, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlay) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToUser) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_ActivateGameOverlayToStore) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends005_SetPlayedWith) - ); -#ifndef __GNUC__ +void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) +{ + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ActivateGameOverlayToUser, ¶ms ); } -#endif -winISteamFriends_SteamFriends005 *create_winISteamFriends_SteamFriends005(void *linux_side) +void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL) { - winISteamFriends_SteamFriends005 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends005), "SteamFriends005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends005_vtable, 24, "SteamFriends005"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage, ¶ms ); } -#include "cppISteamFriends_SteamFriends004.h" +void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID, uint32_t eFlag) +{ + struct ISteamFriends_SteamFriends015_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ActivateGameOverlayToStore, ¶ms ); +} -typedef struct __winISteamFriends_SteamFriends004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends004; +void __thiscall winISteamFriends_SteamFriends015_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) +{ + struct ISteamFriends_SteamFriends015_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SetPlayedWith, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends004_GetPersonaName(winISteamFriends_SteamFriends004 *_this) +void __thiscall winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends004_SetPersonaName(winISteamFriends_SteamFriends004 *_this, const char * pchPersonaName) +int32_t __thiscall winISteamFriends_SteamFriends015_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends004_GetPersonaState(winISteamFriends_SteamFriends004 *_this) +int32_t __thiscall winISteamFriends_SteamFriends015_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends004_GetFriendCount(winISteamFriends_SteamFriends004 *_this, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends015_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends004_GetFriendByIndex(winISteamFriends_SteamFriends004 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends015_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends015_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends004_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends004_GetFriendRelationship(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend) +uint64_t __thiscall winISteamFriends_SteamFriends015_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends015_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaState(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends015_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaName(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends015_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends015_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendAvatar, 16) -int __thiscall winISteamFriends_SteamFriends004_GetFriendAvatar(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend, int eAvatarSize) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends015_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendAvatar(_this->linux_side, steamIDFriend, eAvatarSize); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendGamePlayed, 28) -bool __thiscall winISteamFriends_SteamFriends004_GetFriendGamePlayed(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +uint32_t __thiscall winISteamFriends_SteamFriends015_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends015_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend, int iPersonaName) +int8_t __thiscall winISteamFriends_SteamFriends015_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends015_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends004_HasFriend(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDFriend, int iFriendFlags) +void __thiscall winISteamFriends_SteamFriends015_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends015_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends004_GetClanCount(winISteamFriends_SteamFriends004 *_this) +const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends015_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends004_GetClanByIndex(winISteamFriends_SteamFriends004 *_this, CSteamID *_r, int iClan) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends004_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends004_GetClanName(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends004_GetFriendCountFromSource(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDSource) +void __thiscall winISteamFriends_SteamFriends015_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_RequestFriendRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends004 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int8_t __thiscall winISteamFriends_SteamFriends015_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends015_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends004_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends004_IsUserInSource(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +int32_t __thiscall winISteamFriends_SteamFriends015_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends015_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends004_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetCoplayFriendCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends004 *_this, CSteamID steamIDUser, bool bSpeaking) +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) { + struct ISteamFriends_SteamFriends015_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetCoplayFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends004_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends004_ActivateGameOverlay(winISteamFriends_SteamFriends004 *_this, const char * pchDialog) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends015_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends004_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendCoplayTime, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends004_vtable; +uint32_t __thiscall winISteamFriends_SteamFriends015_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends015_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendCoplayGame, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends004, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends004_ActivateGameOverlay) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamFriends_SteamFriends015_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) +{ + struct ISteamFriends_SteamFriends015_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_JoinClanChatRoom, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends004 *create_winISteamFriends_SteamFriends004(void *linux_side) +int8_t __thiscall winISteamFriends_SteamFriends015_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { - winISteamFriends_SteamFriends004 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends004), "SteamFriends004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends004_vtable, 20, "SteamFriends004"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends015_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_LeaveClanChatRoom, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends003.h" +int32_t __thiscall winISteamFriends_SteamFriends015_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) +{ + struct ISteamFriends_SteamFriends015_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanChatMemberCount, ¶ms ); + return params._ret; +} -typedef struct __winISteamFriends_SteamFriends003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends003; +CSteamID * __thiscall winISteamFriends_SteamFriends015_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) +{ + struct ISteamFriends_SteamFriends015_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetChatMemberByIndex, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends003_GetPersonaName(winISteamFriends_SteamFriends003 *_this) +int8_t __thiscall winISteamFriends_SteamFriends015_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends015_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends003_SetPersonaName(winISteamFriends_SteamFriends003 *_this, const char * pchPersonaName) +int32_t __thiscall winISteamFriends_SteamFriends015_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *peChatEntryType, CSteamID *psteamidChatter) { + struct ISteamFriends_SteamFriends015_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends003_GetPersonaState(winISteamFriends_SteamFriends003 *_this) +int8_t __thiscall winISteamFriends_SteamFriends015_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends015_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends003_GetFriendCount(winISteamFriends_SteamFriends003 *_this, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends003_GetFriendByIndex(winISteamFriends_SteamFriends003 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends003_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends003_GetFriendRelationship(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaState(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends015_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends015_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaName(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends015_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends015_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendAvatar, 12) -int __thiscall winISteamFriends_SteamFriends003_GetFriendAvatar(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends015_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends015_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendAvatar(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendGamePlayed, 28) -bool __thiscall winISteamFriends_SteamFriends003_GetFriendGamePlayed(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +uint64_t __thiscall winISteamFriends_SteamFriends015_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends015_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_GetFollowerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend, int iPersonaName) +uint64_t __thiscall winISteamFriends_SteamFriends015_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) +{ + struct ISteamFriends_SteamFriends015_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsFollowing, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamFriends_SteamFriends015_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) +{ + struct ISteamFriends_SteamFriends015_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_EnumerateFollowingList, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamFriends_SteamFriends015_IsClanPublic(struct w_steam_iface *_this, CSteamID steamIDClan) +{ + struct ISteamFriends_SteamFriends015_IsClanPublic_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsClanPublic, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamFriends_SteamFriends015_IsClanOfficialGameGroup(struct w_steam_iface *_this, CSteamID steamIDClan) +{ + struct ISteamFriends_SteamFriends015_IsClanOfficialGameGroup_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends015_IsClanOfficialGameGroup, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamFriends_SteamFriends015_vtable; + +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends015, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends015_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends015, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendSteamLevel) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetPlayerNickname) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupIDByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupMembersCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendsGroupMembersList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_RequestFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_GetFollowerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsFollowing) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_EnumerateFollowingList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanPublic) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends015_IsClanOfficialGameGroup) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamFriends_SteamFriends015(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends015"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends015_vtable, 72, "SteamFriends015"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPersonaName, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetPersonaName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPersonaState, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRelationship, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaState, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendGamePlayed, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendSteamLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetPlayerNickname, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupName, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendsGroupMembersList, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_HasFriend, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanName, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanTag, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanActivityCounts, 24) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_DownloadClanActivityCounts, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCountFromSource, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsUserInSource, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlay, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayToStore, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetPlayedWith, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetSmallFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetMediumFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetLargeFriendAvatar, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestUserInformation, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestClanOfficerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOfficerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanOfficerByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetUserRestrictions, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ClearRichPresence, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresence, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestFriendRichPresence, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_InviteUserToGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetCoplayFriendCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetCoplayFriend, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCoplayTime, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendCoplayGame, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_JoinClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_LeaveClanChatRoom, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanChatMemberCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetChatMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SendClanChatMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetClanChatMessage, 32) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanChatAdmin, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_SetListenForFriendsMessages, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ReplyToFriendMessage, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFriendMessage, 28) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetFollowerCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsFollowing, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_EnumerateFollowingList, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanPublic, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_IsClanOfficialGameGroup, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages, 4) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString, 8) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_RequestEquippedProfileItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_BHasEquippedProfileItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetProfileItemPropertyString, 20) +DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends017_GetProfileItemPropertyUint, 20) + +const char * __thiscall winISteamFriends_SteamFriends017_GetPersonaName(struct w_steam_iface *_this) +{ + struct ISteamFriends_SteamFriends017_GetPersonaName_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetPersonaName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamFriends_SteamFriends017_SetPersonaName(struct w_steam_iface *_this, const char *pchPersonaName) +{ + struct ISteamFriends_SteamFriends017_SetPersonaName_params params = + { + .linux_side = _this->u_iface, + .pchPersonaName = pchPersonaName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SetPersonaName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamFriends_SteamFriends017_GetPersonaState(struct w_steam_iface *_this) +{ + struct ISteamFriends_SteamFriends017_GetPersonaState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetPersonaState, ¶ms ); + return params._ret; +} + +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendCount(struct w_steam_iface *_this, int32_t iFriendFlags) +{ + struct ISteamFriends_SteamFriends017_GetFriendCount_params params = + { + .linux_side = _this->u_iface, + .iFriendFlags = iFriendFlags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendCount, ¶ms ); + return params._ret; +} + +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetFriendByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iFriend, int32_t iFriendFlags) +{ + struct ISteamFriends_SteamFriends017_GetFriendByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iFriend = iFriend, + .iFriendFlags = iFriendFlags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamFriends_SteamFriends017_GetFriendRelationship(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends017_GetFriendRelationship_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRelationship, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaState(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends017_GetFriendPersonaState_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendPersonaState, ¶ms ); + return params._ret; +} + +const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaName(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamFriends_SteamFriends017_GetFriendPersonaName_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendPersonaName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamFriends_SteamFriends017_GetFriendGamePlayed(struct w_steam_iface *_this, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo) +{ + struct ISteamFriends_SteamFriends017_GetFriendGamePlayed_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pFriendGameInfo = pFriendGameInfo, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendGamePlayed, ¶ms ); + return params._ret; +} + +const char * __thiscall winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iPersonaName) { + struct ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iPersonaName = iPersonaName, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendPersonaNameHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends003_HasFriend(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDFriend, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendSteamLevel(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetFriendSteamLevel_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends003_GetClanCount(winISteamFriends_SteamFriends003 *_this) +const char * __thiscall winISteamFriends_SteamFriends017_GetPlayerNickname(struct w_steam_iface *_this, CSteamID steamIDPlayer) { + struct ISteamFriends_SteamFriends017_GetPlayerNickname_params params = + { + .linux_side = _this->u_iface, + .steamIDPlayer = steamIDPlayer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetPlayerNickname, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends003_GetClanByIndex(winISteamFriends_SteamFriends003 *_this, CSteamID *_r, int iClan) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_GetFriendsGroupCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends003_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends003_GetClanName(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDClan) +int16_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex(struct w_steam_iface *_this, int32_t iFG) { + struct ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex_params params = + { + .linux_side = _this->u_iface, + .iFG = iFG, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends003_GetFriendCountFromSource(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDSource) +const char * __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupName(struct w_steam_iface *_this, int16_t friendsGroupID) { + struct ISteamFriends_SteamFriends017_GetFriendsGroupName_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends003 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount(struct w_steam_iface *_this, int16_t friendsGroupID) { + struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends003_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupMembersCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_IsUserInSource, 20) -bool __thiscall winISteamFriends_SteamFriends003_IsUserInSource(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDUser, CSteamID steamIDSource) +void __thiscall winISteamFriends_SteamFriends017_GetFriendsGroupMembersList(struct w_steam_iface *_this, int16_t friendsGroupID, CSteamID *pOutSteamIDMembers, int32_t nMembersCount) { + struct ISteamFriends_SteamFriends017_GetFriendsGroupMembersList_params params = + { + .linux_side = _this->u_iface, + .friendsGroupID = friendsGroupID, + .pOutSteamIDMembers = pOutSteamIDMembers, + .nMembersCount = nMembersCount, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends003_IsUserInSource(_this->linux_side, steamIDUser, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendsGroupMembersList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking, 16) -void __thiscall winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(winISteamFriends_SteamFriends003 *_this, CSteamID steamIDUser, bool bSpeaking) +int8_t __thiscall winISteamFriends_SteamFriends017_HasFriend(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iFriendFlags) { + struct ISteamFriends_SteamFriends017_HasFriend_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iFriendFlags = iFriendFlags, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_SetInGameVoiceSpeaking(_this->linux_side, steamIDUser, bSpeaking); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_HasFriend, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends003_ActivateGameOverlay, 8) -void __thiscall winISteamFriends_SteamFriends003_ActivateGameOverlay(winISteamFriends_SteamFriends003 *_this, const char * pchDialog) +int32_t __thiscall winISteamFriends_SteamFriends017_GetClanCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_GetClanCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends003_ActivateGameOverlay(_this->linux_side, pchDialog); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanCount, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends003, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendAvatar) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_GetFriendFromSourceByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_IsUserInSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_SetInGameVoiceSpeaking) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends003_ActivateGameOverlay) - ); -#ifndef __GNUC__ +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iClan) +{ + struct ISteamFriends_SteamFriends017_GetClanByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iClan = iClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanByIndex, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends003 *create_winISteamFriends_SteamFriends003(void *linux_side) +const char * __thiscall winISteamFriends_SteamFriends017_GetClanName(struct w_steam_iface *_this, CSteamID steamIDClan) { - winISteamFriends_SteamFriends003 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends003), "SteamFriends003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends003_vtable, 20, "SteamFriends003"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends017_GetClanName_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanName, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends002.h" - -typedef struct __winISteamFriends_SteamFriends002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends002; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends002_GetPersonaName(winISteamFriends_SteamFriends002 *_this) +const char * __thiscall winISteamFriends_SteamFriends017_GetClanTag(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_GetClanTag_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends002_SetPersonaName(winISteamFriends_SteamFriends002 *_this, const char * pchPersonaName) +int8_t __thiscall winISteamFriends_SteamFriends017_GetClanActivityCounts(struct w_steam_iface *_this, CSteamID steamIDClan, int32_t *pnOnline, int32_t *pnInGame, int32_t *pnChatting) { + struct ISteamFriends_SteamFriends017_GetClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + .pnOnline = pnOnline, + .pnInGame = pnInGame, + .pnChatting = pnChatting, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends002_GetPersonaState(winISteamFriends_SteamFriends002 *_this) +uint64_t __thiscall winISteamFriends_SteamFriends017_DownloadClanActivityCounts(struct w_steam_iface *_this, CSteamID *psteamIDClans, int32_t cClansToRequest) { + struct ISteamFriends_SteamFriends017_DownloadClanActivityCounts_params params = + { + .linux_side = _this->u_iface, + .psteamIDClans = psteamIDClans, + .cClansToRequest = cClansToRequest, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_DownloadClanActivityCounts, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetPersonaState, 8) -void __thiscall winISteamFriends_SteamFriends002_SetPersonaState(winISteamFriends_SteamFriends002 *_this, EPersonaState ePersonaState) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendCountFromSource(struct w_steam_iface *_this, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends017_GetFriendCountFromSource_params params = + { + .linux_side = _this->u_iface, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetPersonaState(_this->linux_side, ePersonaState); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendCountFromSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendCount, 8) -int __thiscall winISteamFriends_SteamFriends002_GetFriendCount(winISteamFriends_SteamFriends002 *_this, int iFriendFlags) +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDSource, int32_t iFriend) { + struct ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDSource = steamIDSource, + .iFriend = iFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendCount(_this->linux_side, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendFromSourceByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendByIndex, 16) -CSteamID *__thiscall winISteamFriends_SteamFriends002_GetFriendByIndex(winISteamFriends_SteamFriends002 *_this, CSteamID *_r, int iFriend, int iFriendFlags) +int8_t __thiscall winISteamFriends_SteamFriends017_IsUserInSource(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDSource) { + struct ISteamFriends_SteamFriends017_IsUserInSource_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDSource = steamIDSource, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends002_GetFriendByIndex(_this->linux_side, iFriend, iFriendFlags); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsUserInSource, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends002_GetFriendRelationship(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bSpeaking) { + struct ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bSpeaking = bSpeaking, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SetInGameVoiceSpeaking, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaState(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlay(struct w_steam_iface *_this, const char *pchDialog) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlay_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlay, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaName(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToUser(struct w_steam_iface *_this, const char *pchDialog, CSteamID steamID) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToUser_params params = + { + .linux_side = _this->u_iface, + .pchDialog = pchDialog, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayToUser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetFriendRegValue, 20) -void __thiscall winISteamFriends_SteamFriends002_SetFriendRegValue(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, const char * pchKey, const char * pchValue) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage(struct w_steam_iface *_this, const char *pchURL, uint32_t eMode) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params params = + { + .linux_side = _this->u_iface, + .pchURL = pchURL, + .eMode = eMode, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetFriendRegValue(_this->linux_side, steamIDFriend, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendRegValue, 16) -const char * __thiscall winISteamFriends_SteamFriends002_GetFriendRegValue(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, const char * pchKey) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayToStore(struct w_steam_iface *_this, uint32_t nAppID, uint32_t eFlag) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayToStore_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .eFlag = eFlag, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendRegValue(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayToStore, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendGamePlayed, 28) -bool __thiscall winISteamFriends_SteamFriends002_GetFriendGamePlayed(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +void __thiscall winISteamFriends_SteamFriends017_SetPlayedWith(struct w_steam_iface *_this, CSteamID steamIDUserPlayedWith) { + struct ISteamFriends_SteamFriends017_SetPlayedWith_params params = + { + .linux_side = _this->u_iface, + .steamIDUserPlayedWith = steamIDUserPlayedWith, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SetPlayedWith, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, int iPersonaName) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AddFriend, 12) -bool __thiscall winISteamFriends_SteamFriends002_AddFriend(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetSmallFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetSmallFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_AddFriend(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetSmallFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_RemoveFriend, 12) -bool __thiscall winISteamFriends_SteamFriends002_RemoveFriend(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetMediumFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetMediumFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_RemoveFriend(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetMediumFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_HasFriend, 16) -bool __thiscall winISteamFriends_SteamFriends002_HasFriend(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, int iFriendFlags) +int32_t __thiscall winISteamFriends_SteamFriends017_GetLargeFriendAvatar(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetLargeFriendAvatar_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_HasFriend(_this->linux_side, steamIDFriend, iFriendFlags); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetLargeFriendAvatar, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AddFriendByName, 8) -int32 __thiscall winISteamFriends_SteamFriends002_AddFriendByName(winISteamFriends_SteamFriends002 *_this, const char * pchEmailOrAccountName) +int8_t __thiscall winISteamFriends_SteamFriends017_RequestUserInformation(struct w_steam_iface *_this, CSteamID steamIDUser, int8_t bRequireNameOnly) { + struct ISteamFriends_SteamFriends017_RequestUserInformation_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .bRequireNameOnly = bRequireNameOnly, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_AddFriendByName(_this->linux_side, pchEmailOrAccountName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_RequestUserInformation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_InviteFriendByEmail, 8) -bool __thiscall winISteamFriends_SteamFriends002_InviteFriendByEmail(winISteamFriends_SteamFriends002 *_this, const char * pchEmailAccount) +uint64_t __thiscall winISteamFriends_SteamFriends017_RequestClanOfficerList(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_RequestClanOfficerList_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_InviteFriendByEmail(_this->linux_side, pchEmailAccount); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_RequestClanOfficerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetChatMessage, 28) -int __thiscall winISteamFriends_SteamFriends002_GetChatMessage(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, int iChatID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_GetClanOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetChatMessage(_this->linux_side, steamIDFriend, iChatID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SendMsgToFriend, 24) -bool __thiscall winISteamFriends_SteamFriends002_SendMsgToFriend(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void * pvMsgBody, int cubMsgBody) +int32_t __thiscall winISteamFriends_SteamFriends017_GetClanOfficerCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_GetClanOfficerCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_SendMsgToFriend(_this->linux_side, steamIDFriend, eChatEntryType, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanOfficerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart, 12) -int __thiscall winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetClanOfficerByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iOfficer) { + struct ISteamFriends_SteamFriends017_GetClanOfficerByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iOfficer = iOfficer, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanOfficerByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_SetChatHistoryStart, 16) -void __thiscall winISteamFriends_SteamFriends002_SetChatHistoryStart(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, int iChatID) +uint32_t __thiscall winISteamFriends_SteamFriends017_GetUserRestrictions(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_GetUserRestrictions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_SetChatHistoryStart(_this->linux_side, steamIDFriend, iChatID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetUserRestrictions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_ClearChatHistory, 12) -void __thiscall winISteamFriends_SteamFriends002_ClearChatHistory(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends017_SetRichPresence(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamFriends_SteamFriends017_SetRichPresence_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends002_ClearChatHistory(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SetRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanCount, 4) -int __thiscall winISteamFriends_SteamFriends002_GetClanCount(winISteamFriends_SteamFriends002 *_this) +void __thiscall winISteamFriends_SteamFriends017_ClearRichPresence(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_ClearRichPresence_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetClanCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ClearRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends002_GetClanByIndex(winISteamFriends_SteamFriends002 *_this, CSteamID *_r, int iClan) +const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchKey) { + struct ISteamFriends_SteamFriends017_GetFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends002_GetClanByIndex(_this->linux_side, iClan); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRichPresence, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetClanName, 12) -const char * __thiscall winISteamFriends_SteamFriends002_GetClanName(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDClan) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetClanName(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_InviteFriendToClan, 20) -bool __thiscall winISteamFriends_SteamFriends002_InviteFriendToClan(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDFriend, CSteamID steamIDClan) +const char * __thiscall winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iKey) { + struct ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iKey = iKey, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_InviteFriendToClan(_this->linux_side, steamIDFriend, steamIDClan); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_AcknowledgeInviteToClan, 16) -bool __thiscall winISteamFriends_SteamFriends002_AcknowledgeInviteToClan(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDClan, bool bAcceptOrDenyClanInvite) +void __thiscall winISteamFriends_SteamFriends017_RequestFriendRichPresence(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_RequestFriendRichPresence_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_AcknowledgeInviteToClan(_this->linux_side, steamIDClan, bAcceptOrDenyClanInvite); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_RequestFriendRichPresence, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendCountFromSource, 12) -int __thiscall winISteamFriends_SteamFriends002_GetFriendCountFromSource(winISteamFriends_SteamFriends002 *_this, CSteamID steamIDSource) +int8_t __thiscall winISteamFriends_SteamFriends017_InviteUserToGame(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchConnectString) { + struct ISteamFriends_SteamFriends017_InviteUserToGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends002_GetFriendCountFromSource(_this->linux_side, steamIDSource); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_InviteUserToGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex, 20) -CSteamID *__thiscall winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(winISteamFriends_SteamFriends002 *_this, CSteamID *_r, CSteamID steamIDSource, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetCoplayFriendCount(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_GetCoplayFriendCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends002_GetFriendFromSourceByIndex(_this->linux_side, steamIDSource, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetCoplayFriendCount, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends002, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetFriendRegValue) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendRegValue) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AddFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_RemoveFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AddFriendByName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_InviteFriendByEmail) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SendMsgToFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetChatIDOfChatHistoryStart) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_SetChatHistoryStart) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_ClearChatHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetClanName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_InviteFriendToClan) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_AcknowledgeInviteToClan) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendCountFromSource) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends002_GetFriendFromSourceByIndex) - ); -#ifndef __GNUC__ +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetCoplayFriend(struct w_steam_iface *_this, CSteamID *_ret, int32_t iCoplayFriend) +{ + struct ISteamFriends_SteamFriends017_GetCoplayFriend_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iCoplayFriend = iCoplayFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetCoplayFriend, ¶ms ); + return params._ret; } -#endif -winISteamFriends_SteamFriends002 *create_winISteamFriends_SteamFriends002(void *linux_side) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayTime(struct w_steam_iface *_this, CSteamID steamIDFriend) { - winISteamFriends_SteamFriends002 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends002), "SteamFriends002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends002_vtable, 30, "SteamFriends002"); - r->linux_side = linux_side; - return r; + struct ISteamFriends_SteamFriends017_GetFriendCoplayTime_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendCoplayTime, ¶ms ); + return params._ret; } -#include "cppISteamFriends_SteamFriends001.h" - -typedef struct __winISteamFriends_SteamFriends001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamFriends_SteamFriends001; - -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetPersonaName, 4) -const char * __thiscall winISteamFriends_SteamFriends001_GetPersonaName(winISteamFriends_SteamFriends001 *_this) +uint32_t __thiscall winISteamFriends_SteamFriends017_GetFriendCoplayGame(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamFriends_SteamFriends017_GetFriendCoplayGame_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetPersonaName(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendCoplayGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetPersonaName, 8) -void __thiscall winISteamFriends_SteamFriends001_SetPersonaName(winISteamFriends_SteamFriends001 *_this, const char * pchPersonaName) +uint64_t __thiscall winISteamFriends_SteamFriends017_JoinClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_JoinClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetPersonaName(_this->linux_side, pchPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_JoinClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetPersonaState, 4) -EPersonaState __thiscall winISteamFriends_SteamFriends001_GetPersonaState(winISteamFriends_SteamFriends001 *_this) +int8_t __thiscall winISteamFriends_SteamFriends017_LeaveClanChatRoom(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_LeaveClanChatRoom_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetPersonaState(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_LeaveClanChatRoom, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetPersonaState, 8) -void __thiscall winISteamFriends_SteamFriends001_SetPersonaState(winISteamFriends_SteamFriends001 *_this, EPersonaState ePersonaState) +int32_t __thiscall winISteamFriends_SteamFriends017_GetClanChatMemberCount(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_GetClanChatMemberCount_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetPersonaState(_this->linux_side, ePersonaState); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanChatMemberCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_AddFriend, 12) -bool __thiscall winISteamFriends_SteamFriends001_AddFriend(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +CSteamID * __thiscall winISteamFriends_SteamFriends017_GetChatMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDClan, int32_t iUser) { + struct ISteamFriends_SteamFriends017_GetChatMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDClan = steamIDClan, + .iUser = iUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_AddFriend(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetChatMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_RemoveFriend, 12) -bool __thiscall winISteamFriends_SteamFriends001_RemoveFriend(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends017_SendClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, const char *pchText) { + struct ISteamFriends_SteamFriends017_SendClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_RemoveFriend(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SendClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_HasFriend, 12) -bool __thiscall winISteamFriends_SteamFriends001_HasFriend(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetClanChatMessage(struct w_steam_iface *_this, CSteamID steamIDClanChat, int32_t iMessage, void *prgchText, int32_t cchTextMax, uint32_t *peChatEntryType, CSteamID *psteamidChatter) { + struct ISteamFriends_SteamFriends017_GetClanChatMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .iMessage = iMessage, + .prgchText = prgchText, + .cchTextMax = cchTextMax, + .peChatEntryType = peChatEntryType, + .psteamidChatter = psteamidChatter, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_HasFriend(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetClanChatMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendRelationship, 12) -EFriendRelationship __thiscall winISteamFriends_SteamFriends001_GetFriendRelationship(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends017_IsClanChatAdmin(struct w_steam_iface *_this, CSteamID steamIDClanChat, CSteamID steamIDUser) { + struct ISteamFriends_SteamFriends017_IsClanChatAdmin_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendRelationship(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsClanChatAdmin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaState, 12) -EPersonaState __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaState(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendPersonaState(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed, 24) -bool __thiscall winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, int32 * pnGameID, uint32 * punGameIP, uint16 * pusGamePort) +int8_t __thiscall winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pnGameID, punGameIP, pusGamePort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_OpenClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaName, 12) -const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaName(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam(struct w_steam_iface *_this, CSteamID steamIDClanChat) { + struct ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam_params params = + { + .linux_side = _this->u_iface, + .steamIDClanChat = steamIDClanChat, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendPersonaName(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_CloseClanChatWindowInSteam, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_AddFriendByName, 8) -int32 __thiscall winISteamFriends_SteamFriends001_AddFriendByName(winISteamFriends_SteamFriends001 *_this, const char * pchEmailOrAccountName) +int8_t __thiscall winISteamFriends_SteamFriends017_SetListenForFriendsMessages(struct w_steam_iface *_this, int8_t bInterceptEnabled) { + struct ISteamFriends_SteamFriends017_SetListenForFriendsMessages_params params = + { + .linux_side = _this->u_iface, + .bInterceptEnabled = bInterceptEnabled, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_AddFriendByName(_this->linux_side, pchEmailOrAccountName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_SetListenForFriendsMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends001_GetFriendCount(winISteamFriends_SteamFriends001 *_this) +int8_t __thiscall winISteamFriends_SteamFriends017_ReplyToFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, const char *pchMsgToSend) { + struct ISteamFriends_SteamFriends017_ReplyToFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .pchMsgToSend = pchMsgToSend, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ReplyToFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendByIndex, 12) -CSteamID *__thiscall winISteamFriends_SteamFriends001_GetFriendByIndex(winISteamFriends_SteamFriends001 *_this, CSteamID *_r, int iFriend) +int32_t __thiscall winISteamFriends_SteamFriends017_GetFriendMessage(struct w_steam_iface *_this, CSteamID steamIDFriend, int32_t iMessageID, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamFriends_SteamFriends017_GetFriendMessage_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + .iMessageID = iMessageID, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - *_r = cppISteamFriends_SteamFriends001_GetFriendByIndex(_this->linux_side, iFriend); - return _r; + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFriendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SendMsgToFriend, 20) -void __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const char * pchMsgBody) +uint64_t __thiscall winISteamFriends_SteamFriends017_GetFollowerCount(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends017_GetFollowerCount_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SendMsgToFriend(_this->linux_side, steamIDFriend, eChatEntryType, pchMsgBody); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetFollowerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetFriendRegValue, 20) -void __thiscall winISteamFriends_SteamFriends001_SetFriendRegValue(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, const char * pchKey, const char * pchValue) +uint64_t __thiscall winISteamFriends_SteamFriends017_IsFollowing(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends017_IsFollowing_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetFriendRegValue(_this->linux_side, steamIDFriend, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsFollowing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendRegValue, 16) -const char * __thiscall winISteamFriends_SteamFriends001_GetFriendRegValue(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, const char * pchKey) +uint64_t __thiscall winISteamFriends_SteamFriends017_EnumerateFollowingList(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamFriends_SteamFriends017_EnumerateFollowingList_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendRegValue(_this->linux_side, steamIDFriend, pchKey); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_EnumerateFollowingList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory, 16) -const char * __thiscall winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, int iPersonaName) +int8_t __thiscall winISteamFriends_SteamFriends017_IsClanPublic(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_IsClanPublic_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendPersonaNameHistory(_this->linux_side, steamIDFriend, iPersonaName); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsClanPublic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetChatMessage, 28) -int __thiscall winISteamFriends_SteamFriends001_GetChatMessage(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, int iChatID, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamFriends_SteamFriends017_IsClanOfficialGameGroup(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamFriends_SteamFriends017_IsClanOfficialGameGroup_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetChatMessage(_this->linux_side, steamIDFriend, iChatID, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_IsClanOfficialGameGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SendMsgToFriend_2, 24) -bool __thiscall winISteamFriends_SteamFriends001_SendMsgToFriend_2(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, EChatEntryType eChatEntryType, const void * pvMsgBody, int cubMsgBody) +int32_t __thiscall winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages(struct w_steam_iface *_this) { + struct ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_SendMsgToFriend_2(_this->linux_side, steamIDFriend, eChatEntryType, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart, 12) -int __thiscall winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_SetChatHistoryStart, 16) -void __thiscall winISteamFriends_SteamFriends001_SetChatHistoryStart(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, int iChatID) +int8_t __thiscall winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser(struct w_steam_iface *_this, const char *pchProtocol) { + struct ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser_params params = + { + .linux_side = _this->u_iface, + .pchProtocol = pchProtocol, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_SetChatHistoryStart(_this->linux_side, steamIDFriend, iChatID); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_ClearChatHistory, 12) -void __thiscall winISteamFriends_SteamFriends001_ClearChatHistory(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend) +void __thiscall winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString(struct w_steam_iface *_this, const char *pchConnectString) { + struct ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString_params params = + { + .linux_side = _this->u_iface, + .pchConnectString = pchConnectString, + }; TRACE("%p\n", _this); - cppISteamFriends_SteamFriends001_ClearChatHistory(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_InviteFriendByEmail, 8) -bool __thiscall winISteamFriends_SteamFriends001_InviteFriendByEmail(winISteamFriends_SteamFriends001 *_this, const char * pchEmailAccount) +uint64_t __thiscall winISteamFriends_SteamFriends017_RequestEquippedProfileItems(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamFriends_SteamFriends017_RequestEquippedProfileItems_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_InviteFriendByEmail(_this->linux_side, pchEmailAccount); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_RequestEquippedProfileItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetBlockedFriendCount, 4) -int __thiscall winISteamFriends_SteamFriends001_GetBlockedFriendCount(winISteamFriends_SteamFriends001 *_this) +int8_t __thiscall winISteamFriends_SteamFriends017_BHasEquippedProfileItem(struct w_steam_iface *_this, CSteamID steamID, uint32_t itemType) { + struct ISteamFriends_SteamFriends017_BHasEquippedProfileItem_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetBlockedFriendCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_BHasEquippedProfileItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendGamePlayed, 24) -bool __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort) +const char * __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyString(struct w_steam_iface *_this, CSteamID steamID, uint32_t itemType, uint32_t prop) { + struct ISteamFriends_SteamFriends017_GetProfileItemPropertyString_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + .prop = prop, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendGamePlayed(_this->linux_side, steamIDFriend, pulGameID, punGameIP, pusGamePort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetProfileItemPropertyString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamFriends_SteamFriends001_GetFriendGamePlayed2, 28) -bool __thiscall winISteamFriends_SteamFriends001_GetFriendGamePlayed2(winISteamFriends_SteamFriends001 *_this, CSteamID steamIDFriend, uint64 * pulGameID, uint32 * punGameIP, uint16 * pusGamePort, uint16 * pusQueryPort) +uint32_t __thiscall winISteamFriends_SteamFriends017_GetProfileItemPropertyUint(struct w_steam_iface *_this, CSteamID steamID, uint32_t itemType, uint32_t prop) { + struct ISteamFriends_SteamFriends017_GetProfileItemPropertyUint_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .itemType = itemType, + .prop = prop, + }; TRACE("%p\n", _this); - return cppISteamFriends_SteamFriends001_GetFriendGamePlayed2(_this->linux_side, steamIDFriend, pulGameID, punGameIP, pusGamePort, pusQueryPort); + STEAMCLIENT_CALL( ISteamFriends_SteamFriends017_GetProfileItemPropertyUint, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamFriends_SteamFriends001_vtable; +extern vtable_ptr winISteamFriends_SteamFriends017_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamFriends_SteamFriends001, - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_AddFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_RemoveFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_HasFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendRelationship) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaState) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_Deprecated_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_AddFriendByName) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendByIndex) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SendMsgToFriend_2) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SendMsgToFriend) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetFriendRegValue) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendRegValue) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendPersonaNameHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetChatMessage) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetChatIDOfChatHistoryStart) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_SetChatHistoryStart) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_ClearChatHistory) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_InviteFriendByEmail) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetBlockedFriendCount) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed) - VTABLE_ADD_FUNC(winISteamFriends_SteamFriends001_GetFriendGamePlayed2) +DEFINE_RTTI_DATA0(winISteamFriends_SteamFriends017, 0, ".?AVISteamFriends@@") + +__ASM_BLOCK_BEGIN(winISteamFriends_SteamFriends017_vtables) + __ASM_VTABLE(winISteamFriends_SteamFriends017, + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRelationship) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaState) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendGamePlayed) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendPersonaNameHistory) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendSteamLevel) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetPlayerNickname) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupIDByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupMembersCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendsGroupMembersList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_HasFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanName) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanTag) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_DownloadClanActivityCounts) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCountFromSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendFromSourceByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsUserInSource) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetInGameVoiceSpeaking) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlay) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToUser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayToStore) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetPlayedWith) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetSmallFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetMediumFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetLargeFriendAvatar) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestUserInformation) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestClanOfficerList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOwner) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOfficerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanOfficerByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetUserRestrictions) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ClearRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendRichPresenceKeyByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestFriendRichPresence) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_InviteUserToGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetCoplayFriendCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetCoplayFriend) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCoplayTime) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendCoplayGame) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_JoinClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_LeaveClanChatRoom) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanChatMemberCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetChatMemberByIndex) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SendClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetClanChatMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanChatAdmin) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanChatWindowOpenInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_OpenClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_CloseClanChatWindowInSteam) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_SetListenForFriendsMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ReplyToFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFriendMessage) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetFollowerCount) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsFollowing) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_EnumerateFollowingList) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanPublic) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_IsClanOfficialGameGroup) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetNumChatsWithUnreadPriorityMessages) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayRemotePlayTogetherInviteDialog) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RegisterProtocolInOverlayBrowser) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_ActivateGameOverlayInviteDialogConnectString) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_RequestEquippedProfileItems) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_BHasEquippedProfileItem) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyString) + VTABLE_ADD_FUNC(winISteamFriends_SteamFriends017_GetProfileItemPropertyUint) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamFriends_SteamFriends001 *create_winISteamFriends_SteamFriends001(void *linux_side) +struct w_steam_iface *create_winISteamFriends_SteamFriends017(void *u_iface) { - winISteamFriends_SteamFriends001 *r = alloc_mem_for_iface(sizeof(winISteamFriends_SteamFriends001), "SteamFriends001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamFriends017"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamFriends_SteamFriends001_vtable, 27, "SteamFriends001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamFriends_SteamFriends017_vtable, 80, "SteamFriends017"); + r->u_iface = u_iface; return r; } +void init_winISteamFriends_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamFriends_SteamFriends001_rtti( base ); + init_winISteamFriends_SteamFriends002_rtti( base ); + init_winISteamFriends_SteamFriends003_rtti( base ); + init_winISteamFriends_SteamFriends004_rtti( base ); + init_winISteamFriends_SteamFriends005_rtti( base ); + init_winISteamFriends_SteamFriends006_rtti( base ); + init_winISteamFriends_SteamFriends007_rtti( base ); + init_winISteamFriends_SteamFriends008_rtti( base ); + init_winISteamFriends_SteamFriends009_rtti( base ); + init_winISteamFriends_SteamFriends010_rtti( base ); + init_winISteamFriends_SteamFriends011_rtti( base ); + init_winISteamFriends_SteamFriends012_rtti( base ); + init_winISteamFriends_SteamFriends013_rtti( base ); + init_winISteamFriends_SteamFriends014_rtti( base ); + init_winISteamFriends_SteamFriends015_rtti( base ); + init_winISteamFriends_SteamFriends017_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameCoordinator.c b/lsteamclient/winISteamGameCoordinator.c index eeed0c5e1..ee6844b6f 100644 --- a/lsteamclient/winISteamGameCoordinator.c +++ b/lsteamclient/winISteamGameCoordinator.c @@ -1,68 +1,77 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamGameCoordinator_SteamGameCoordinator001.h" - -typedef struct __winISteamGameCoordinator_SteamGameCoordinator001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameCoordinator_SteamGameCoordinator001; - DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_SendMessage, 16) -EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_SendMessage(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 unMsgType, const void * pubData, uint32 cubData) +DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, 20) + +uint32_t __thiscall winISteamGameCoordinator_SteamGameCoordinator001_SendMessage(struct w_steam_iface *_this, uint32_t unMsgType, const void *pubData, uint32_t cubData) { + struct ISteamGameCoordinator_SteamGameCoordinator001_SendMessage_params params = + { + .linux_side = _this->u_iface, + .unMsgType = unMsgType, + .pubData = pubData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamGameCoordinator_SteamGameCoordinator001_SendMessage(_this->linux_side, unMsgType, pubData, cubData); + STEAMCLIENT_CALL( ISteamGameCoordinator_SteamGameCoordinator001_SendMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, 8) -bool __thiscall winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 * pcubMsgSize) +int8_t __thiscall winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(struct w_steam_iface *_this, uint32_t *pcubMsgSize) { + struct ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable(_this->linux_side, pcubMsgSize); + STEAMCLIENT_CALL( ISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, 20) -EGCResults __thiscall winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(winISteamGameCoordinator_SteamGameCoordinator001 *_this, uint32 * punMsgType, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +uint32_t __thiscall winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(struct w_steam_iface *_this, uint32_t *punMsgType, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage_params params = + { + .linux_side = _this->u_iface, + .punMsgType = punMsgType, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage(_this->linux_side, punMsgType, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage, ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameCoordinator_SteamGameCoordinator001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameCoordinator_SteamGameCoordinator001, 0, ".?AVISteamGameCoordinator@@") + +__ASM_BLOCK_BEGIN(winISteamGameCoordinator_SteamGameCoordinator001_vtables) __ASM_VTABLE(winISteamGameCoordinator_SteamGameCoordinator001, VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_SendMessage) VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_IsMessageAvailable) VTABLE_ADD_FUNC(winISteamGameCoordinator_SteamGameCoordinator001_RetrieveMessage) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameCoordinator_SteamGameCoordinator001 *create_winISteamGameCoordinator_SteamGameCoordinator001(void *linux_side) +struct w_steam_iface *create_winISteamGameCoordinator_SteamGameCoordinator001(void *u_iface) { - winISteamGameCoordinator_SteamGameCoordinator001 *r = alloc_mem_for_iface(sizeof(winISteamGameCoordinator_SteamGameCoordinator001), "SteamGameCoordinator001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameCoordinator001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamGameCoordinator_SteamGameCoordinator001_vtable, 3, "SteamGameCoordinator001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamGameCoordinator_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameCoordinator_SteamGameCoordinator001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameSearch.c b/lsteamclient/winISteamGameSearch.c index 274032122..74a81605d 100644 --- a/lsteamclient/winISteamGameSearch.c +++ b/lsteamclient/winISteamGameSearch.c @@ -1,130 +1,204 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamGameSearch_SteamMatchGameSearch001.h" - -typedef struct __winISteamGameSearch_SteamMatchGameSearch001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameSearch_SteamMatchGameSearch001; - DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(winISteamGameSearch_SteamMatchGameSearch001 *_this, const char * pchKeyToFind, const char * pchValuesToFind) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_AcceptGame, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_DeclineGame, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_EndGameSearch, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_EndGame, 12) + +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(struct w_steam_iface *_this, const char *pchKeyToFind, const char *pchValuesToFind) { + struct ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams_params params = + { + .linux_side = _this->u_iface, + .pchKeyToFind = pchKeyToFind, + .pchValuesToFind = pchValuesToFind, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams(_this->linux_side, pchKeyToFind, pchValuesToFind); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby, 20) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(winISteamGameSearch_SteamMatchGameSearch001 *_this, CSteamID steamIDLobby, int nPlayerMin, int nPlayerMax) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t nPlayerMin, int32_t nPlayerMax) { + struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby(_this->linux_side, steamIDLobby, nPlayerMin, nPlayerMax); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(winISteamGameSearch_SteamMatchGameSearch001 *_this, int nPlayerMin, int nPlayerMax) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(struct w_steam_iface *_this, int32_t nPlayerMin, int32_t nPlayerMax) { + struct ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo_params params = + { + .linux_side = _this->u_iface, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo(_this->linux_side, nPlayerMin, nPlayerMax); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_SearchForGameSolo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_AcceptGame, 4) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AcceptGame(winISteamGameSearch_SteamMatchGameSearch001 *_this) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_AcceptGame(struct w_steam_iface *_this) { + struct ISteamGameSearch_SteamMatchGameSearch001_AcceptGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_AcceptGame(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_AcceptGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_DeclineGame, 4) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_DeclineGame(winISteamGameSearch_SteamMatchGameSearch001 *_this) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_DeclineGame(struct w_steam_iface *_this) { + struct ISteamGameSearch_SteamMatchGameSearch001_DeclineGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_DeclineGame(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_DeclineGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails, 20) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(winISteamGameSearch_SteamMatchGameSearch001 *_this, CSteamID steamIDHost, char * pchConnectionDetails, int cubConnectionDetails) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(struct w_steam_iface *_this, CSteamID steamIDHost, char *pchConnectionDetails, int32_t cubConnectionDetails) { + struct ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails_params params = + { + .linux_side = _this->u_iface, + .steamIDHost = steamIDHost, + .pchConnectionDetails = pchConnectionDetails, + .cubConnectionDetails = cubConnectionDetails, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails(_this->linux_side, steamIDHost, pchConnectionDetails, cubConnectionDetails); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_RetrieveConnectionDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_EndGameSearch, 4) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(winISteamGameSearch_SteamMatchGameSearch001 *_this) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(struct w_steam_iface *_this) { + struct ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_EndGameSearch(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_EndGameSearch, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(winISteamGameSearch_SteamMatchGameSearch001 *_this, const char * pchKey, const char * pchValue) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(struct w_steam_iface *_this, const char *pchKey, const char *pchValue) { + struct ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams_params params = + { + .linux_side = _this->u_iface, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams(_this->linux_side, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_SetGameHostParams, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(winISteamGameSearch_SteamMatchGameSearch001 *_this, const char * pchConnectionDetails, int cubConnectionDetails) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(struct w_steam_iface *_this, const char *pchConnectionDetails, int32_t cubConnectionDetails) { + struct ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails_params params = + { + .linux_side = _this->u_iface, + .pchConnectionDetails = pchConnectionDetails, + .cubConnectionDetails = cubConnectionDetails, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails(_this->linux_side, pchConnectionDetails, cubConnectionDetails); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_SetConnectionDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame, 16) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(winISteamGameSearch_SteamMatchGameSearch001 *_this, int nPlayerMin, int nPlayerMax, int nMaxTeamSize) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(struct w_steam_iface *_this, int32_t nPlayerMin, int32_t nPlayerMax, int32_t nMaxTeamSize) { + struct ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame_params params = + { + .linux_side = _this->u_iface, + .nPlayerMin = nPlayerMin, + .nPlayerMax = nPlayerMax, + .nMaxTeamSize = nMaxTeamSize, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame(_this->linux_side, nPlayerMin, nPlayerMax, nMaxTeamSize); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_RequestPlayersForGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(winISteamGameSearch_SteamMatchGameSearch001 *_this, uint64 ullUniqueGameID) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(struct w_steam_iface *_this, uint64_t ullUniqueGameID) { + struct ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart(_this->linux_side, ullUniqueGameID); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_HostConfirmGameStart, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame, 4) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(winISteamGameSearch_SteamMatchGameSearch001 *_this) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(struct w_steam_iface *_this) { + struct ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_CancelRequestPlayersForGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult, 24) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(winISteamGameSearch_SteamMatchGameSearch001 *_this, uint64 ullUniqueGameID, CSteamID steamIDPlayer, EPlayerResult_t EPlayerResult) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(struct w_steam_iface *_this, uint64_t ullUniqueGameID, CSteamID steamIDPlayer, uint32_t EPlayerResult) { + struct ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + .steamIDPlayer = steamIDPlayer, + .EPlayerResult = EPlayerResult, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult(_this->linux_side, ullUniqueGameID, steamIDPlayer, EPlayerResult); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameSearch_SteamMatchGameSearch001_EndGame, 12) -EGameSearchErrorCode_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGame(winISteamGameSearch_SteamMatchGameSearch001 *_this, uint64 ullUniqueGameID) +uint32_t __thiscall winISteamGameSearch_SteamMatchGameSearch001_EndGame(struct w_steam_iface *_this, uint64_t ullUniqueGameID) { + struct ISteamGameSearch_SteamMatchGameSearch001_EndGame_params params = + { + .linux_side = _this->u_iface, + .ullUniqueGameID = ullUniqueGameID, + }; TRACE("%p\n", _this); - return cppISteamGameSearch_SteamMatchGameSearch001_EndGame(_this->linux_side, ullUniqueGameID); + STEAMCLIENT_CALL( ISteamGameSearch_SteamMatchGameSearch001_EndGame, ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameSearch_SteamMatchGameSearch001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameSearch_SteamMatchGameSearch001, 0, ".?AVISteamGameSearch@@") + +__ASM_BLOCK_BEGIN(winISteamGameSearch_SteamMatchGameSearch001_vtables) __ASM_VTABLE(winISteamGameSearch_SteamMatchGameSearch001, VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_AddGameSearchParams) VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_SearchForGameWithLobby) @@ -141,16 +215,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_SubmitPlayerResult) VTABLE_ADD_FUNC(winISteamGameSearch_SteamMatchGameSearch001_EndGame) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameSearch_SteamMatchGameSearch001 *create_winISteamGameSearch_SteamMatchGameSearch001(void *linux_side) +struct w_steam_iface *create_winISteamGameSearch_SteamMatchGameSearch001(void *u_iface) { - winISteamGameSearch_SteamMatchGameSearch001 *r = alloc_mem_for_iface(sizeof(winISteamGameSearch_SteamMatchGameSearch001), "SteamMatchGameSearch001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchGameSearch001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamGameSearch_SteamMatchGameSearch001_vtable, 14, "SteamMatchGameSearch001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamGameSearch_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameSearch_SteamMatchGameSearch001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameServer.c b/lsteamclient/winISteamGameServer.c index f35cb0644..ef24759ab 100644 --- a/lsteamclient/winISteamGameServer.c +++ b/lsteamclient/winISteamGameServer.c @@ -1,3126 +1,5106 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamGameServer_SteamGameServer015.h" - -typedef struct __winISteamGameServer_SteamGameServer015 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer015; +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetSpawnCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, 32) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, 44) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType2, 40) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus2, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetGameType, 8) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_InitGameServer, 28) -bool __thiscall winISteamGameServer_SteamGameServer015_InitGameServer(winISteamGameServer_SteamGameServer015 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +void __thiscall winISteamGameServer_SteamGameServer002_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer002_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetProduct, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetProduct(winISteamGameServer_SteamGameServer015 *_this, const char * pszProduct) +void __thiscall winISteamGameServer_SteamGameServer002_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer002_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetProduct(_this->linux_side, pszProduct); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameDescription, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetGameDescription(winISteamGameServer_SteamGameServer015 *_this, const char * pszGameDescription) +int8_t __thiscall winISteamGameServer_SteamGameServer002_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer002_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameDescription(_this->linux_side, pszGameDescription); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetModDir, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetModDir(winISteamGameServer_SteamGameServer015 *_this, const char * pszModDir) +void __thiscall winISteamGameServer_SteamGameServer002_GSSetSpawnCount(struct w_steam_iface *_this, uint32_t ucSpawn) { + struct ISteamGameServer_SteamGameServer002_GSSetSpawnCount_params params = + { + .linux_side = _this->u_iface, + .ucSpawn = ucSpawn, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetModDir(_this->linux_side, pszModDir); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSetSpawnCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetDedicatedServer, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetDedicatedServer(winISteamGameServer_SteamGameServer015 *_this, bool bDedicated) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(struct w_steam_iface *_this, void *pvEncryptionKey, uint32_t *pcbEncryptionKey, uint32_t cbMaxEncryptionKey) { + struct ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient_params params = + { + .linux_side = _this->u_iface, + .pvEncryptionKey = pvEncryptionKey, + .pcbEncryptionKey = pcbEncryptionKey, + .cbMaxEncryptionKey = cbMaxEncryptionKey, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetDedicatedServer(_this->linux_side, bDedicated); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOn, 8) -void __thiscall winISteamGameServer_SteamGameServer015_LogOn(winISteamGameServer_SteamGameServer015 *_this, const char * pszToken) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(struct w_steam_iface *_this, uint32_t unUserID, const void *pvRawKey, uint32_t unKeyLen, uint32_t unIPPublic, uint16_t usPort, const void *pvCookie, uint32_t cubCookie) { + struct ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + .pvRawKey = pvRawKey, + .unKeyLen = unKeyLen, + .unIPPublic = unIPPublic, + .usPort = usPort, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOn(_this->linux_side, pszToken); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOnAnonymous, 4) -void __thiscall winISteamGameServer_SteamGameServer015_LogOnAnonymous(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(struct w_steam_iface *_this, CSteamID steamID, uint32_t unIPPublic, const void *pvCookie, uint32_t cubCookie) { + struct ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unIPPublic = unIPPublic, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOnAnonymous(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer015_LogOff(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSRemoveUserConnect(struct w_steam_iface *_this, uint32_t unUserID) { + struct ISteamGameServer_SteamGameServer002_GSRemoveUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSRemoveUserConnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer015_BLoggedOn(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSendUserDisconnect(struct w_steam_iface *_this, CSteamID steamID, uint32_t unUserID) { + struct ISteamGameServer_SteamGameServer002_GSSendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSendUserDisconnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer015_BSecure(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(struct w_steam_iface *_this, CSteamID steamID, int32_t nSecondsConnected, int32_t nSecondsSinceLast) { + struct ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .nSecondsConnected = nSecondsConnected, + .nSecondsSinceLast = nSecondsSinceLast, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer015_GetSteamID(winISteamGameServer_SteamGameServer015 *_this, CSteamID *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(struct w_steam_iface *_this, int32_t nAppIdServed, uint32_t unServerFlags, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, int32_t unGamePort, const char *pchServerName, const char *pchGameDir, const char *pchMapName, const char *pchVersion) { + struct ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus_params params = + { + .linux_side = _this->u_iface, + .nAppIdServed = nAppIdServed, + .unServerFlags = unServerFlags, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .unGamePort = unGamePort, + .pchServerName = pchServerName, + .pchGameDir = pchGameDir, + .pchMapName = pchMapName, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer015_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_WasRestartRequested, 4) -bool __thiscall winISteamGameServer_SteamGameServer015_WasRestartRequested(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer002_GSUpdateStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_WasRestartRequested(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSUpdateStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetMaxPlayerCount(winISteamGameServer_SteamGameServer015 *_this, int cPlayersMax) +int8_t __thiscall winISteamGameServer_SteamGameServer002_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer002_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMaxPlayerCount(_this->linux_side, cPlayersMax); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetBotPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetBotPlayerCount(winISteamGameServer_SteamGameServer015 *_this, int cBotplayers) +CSteamID * __thiscall winISteamGameServer_SteamGameServer002_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer002_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetBotPlayerCount(_this->linux_side, cBotplayers); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetServerName(winISteamGameServer_SteamGameServer015 *_this, const char * pszServerName) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType(struct w_steam_iface *_this, int32_t nGameAppId, uint32_t unServerFlags, uint32_t unGameIP, uint32_t unGamePort, const char *pchGameDir, const char *pchVersion) { + struct ISteamGameServer_SteamGameServer002_GSSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetServerName(_this->linux_side, pszServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMapName, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetMapName(winISteamGameServer_SteamGameServer015 *_this, const char * pszMapName) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType2(struct w_steam_iface *_this, int32_t nGameAppId, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer002_GSSetServerType2_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMapName(_this->linux_side, pszMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSetServerType2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetPasswordProtected, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetPasswordProtected(winISteamGameServer_SteamGameServer015 *_this, bool bPasswordProtected) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus2(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer002_GSUpdateStatus2_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetPasswordProtected(_this->linux_side, bPasswordProtected); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSUpdateStatus2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorPort(winISteamGameServer_SteamGameServer015 *_this, uint16 unSpectatorPort) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(struct w_steam_iface *_this, CSteamID *pSteamID) { + struct ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser_params params = + { + .linux_side = _this->u_iface, + .pSteamID = pSteamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorServerName(winISteamGameServer_SteamGameServer015 *_this, const char * pszSpectatorServerName) +int8_t __thiscall winISteamGameServer_SteamGameServer002_GSSetUserData(struct w_steam_iface *_this, CSteamID steamID, const char *pPlayerName, uint32_t nFrags) { + struct ISteamGameServer_SteamGameServer002_GSSetUserData_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pPlayerName = pPlayerName, + .nFrags = nFrags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSetUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ClearAllKeyValues, 4) -void __thiscall winISteamGameServer_SteamGameServer015_ClearAllKeyValues(winISteamGameServer_SteamGameServer015 *_this) +void __thiscall winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetKeyValue, 12) -void __thiscall winISteamGameServer_SteamGameServer015_SetKeyValue(winISteamGameServer_SteamGameServer015 *_this, const char * pKey, const char * pValue) +void __thiscall winISteamGameServer_SteamGameServer002_GSSetGameType(struct w_steam_iface *_this, const char *pchType) { + struct ISteamGameServer_SteamGameServer002_GSSetGameType_params params = + { + .linux_side = _this->u_iface, + .pchType = pchType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer002_GSSetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetGameTags(winISteamGameServer_SteamGameServer015 *_this, const char * pchGameTags) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameTags(_this->linux_side, pchGameTags); -} +extern vtable_ptr winISteamGameServer_SteamGameServer002_vtable; -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetGameData(winISteamGameServer_SteamGameServer015 *_this, const char * pchGameData) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetGameData(_this->linux_side, pchGameData); -} +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer002, 0, ".?AVISteamGameServer@@") -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetRegion, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetRegion(winISteamGameServer_SteamGameServer015 *_this, const char * pszRegion) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetRegion(_this->linux_side, pszRegion); -} +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer002_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer002, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetSpawnCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType2) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus2) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetGameType) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(winISteamGameServer_SteamGameServer015 *_this, bool bActive) +struct w_steam_iface *create_winISteamGameServer_SteamGameServer002(void *u_iface) { - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(_this->linux_side, bActive); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer002_vtable, 21, "SteamGameServer002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket, 20) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer015_GetAuthSessionTicket(winISteamGameServer_SteamGameServer015 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSnid) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket, pSnid); -} +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSendUserConnect, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSRemoveUserConnect, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSendUserDisconnect, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetSpawnCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetServerType, 40) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSUpdateStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetGameType, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus, 16) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer015_BeginAuthSession(winISteamGameServer_SteamGameServer015 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer003_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer003_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer015_EndAuthSession(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer003_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer003_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer015_CancelAuthTicket(winISteamGameServer_SteamGameServer015 *_this, HAuthTicket hAuthTicket) +int8_t __thiscall winISteamGameServer_SteamGameServer003_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer003_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer015_UserHasLicenseForApp(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamID, AppId_t appID) +int8_t __thiscall winISteamGameServer_SteamGameServer003_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer003_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer015_RequestUserGroupStatus(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +CSteamID * __thiscall winISteamGameServer_SteamGameServer003_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer003_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer015_GetGameplayStats(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(struct w_steam_iface *_this, void *pvEncryptionKey, uint32_t *pcbEncryptionKey, uint32_t cbMaxEncryptionKey) { + struct ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient_params params = + { + .linux_side = _this->u_iface, + .pvEncryptionKey = pvEncryptionKey, + .pcbEncryptionKey = pcbEncryptionKey, + .cbMaxEncryptionKey = cbMaxEncryptionKey, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_GetServerReputation(winISteamGameServer_SteamGameServer015 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSSendUserConnect(struct w_steam_iface *_this, uint32_t unUserID, uint32_t unIPPublic, uint16_t usPort, const void *pvCookie, uint32_t cubCookie) { + struct ISteamGameServer_SteamGameServer003_GSSendUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + .unIPPublic = unIPPublic, + .usPort = usPort, + .pvCookie = pvCookie, + .cubCookie = cubCookie, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_GetServerReputation(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSendUserConnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetPublicIP, 8) -SteamIPAddress_t *__thiscall winISteamGameServer_SteamGameServer015_GetPublicIP(winISteamGameServer_SteamGameServer015 *_this, SteamIPAddress_t *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSRemoveUserConnect(struct w_steam_iface *_this, uint32_t unUserID) { + struct ISteamGameServer_SteamGameServer003_GSRemoveUserConnect_params params = + { + .linux_side = _this->u_iface, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer015_GetPublicIP(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSRemoveUserConnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_HandleIncomingPacket, 20) -bool __thiscall winISteamGameServer_SteamGameServer015_HandleIncomingPacket(winISteamGameServer_SteamGameServer015 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSSendUserDisconnect(struct w_steam_iface *_this, CSteamID steamID, uint32_t unUserID) { + struct ISteamGameServer_SteamGameServer003_GSSendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .unUserID = unUserID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSendUserDisconnect, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, 20) -int __thiscall winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer015 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +void __thiscall winISteamGameServer_SteamGameServer003_GSSetSpawnCount(struct w_steam_iface *_this, uint32_t ucSpawn) { + struct ISteamGameServer_SteamGameServer003_GSSetSpawnCount_params params = + { + .linux_side = _this->u_iface, + .ucSpawn = ucSpawn, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSetSpawnCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_AssociateWithClan, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_AssociateWithClan(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSSetServerType(struct w_steam_iface *_this, int32_t nGameAppId, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer003_GSSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_AssociateWithClan(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDNewPlayer) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSUpdateStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer003_GSUpdateStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSUpdateStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, 20) -bool __thiscall winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(struct w_steam_iface *_this, CSteamID *pSteamID) { + struct ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser_params params = + { + .linux_side = _this->u_iface, + .pSteamID = pSteamID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer015 *_this, CSteamID *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSSetUserData(struct w_steam_iface *_this, CSteamID steamID, const char *pPlayerName, uint32_t nFrags) { + struct ISteamGameServer_SteamGameServer003_GSSetUserData_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pPlayerName = pPlayerName, + .nFrags = nFrags, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSetUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, 12) -void __thiscall winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer015_BUpdateUserData(winISteamGameServer_SteamGameServer015 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer003_GSSetGameType(struct w_steam_iface *_this, const char *pchType) { + struct ISteamGameServer_SteamGameServer003_GSSetGameType_params params = + { + .linux_side = _this->u_iface, + .pchType = pchType, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer015_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSSetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, 8) -void __thiscall winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this, int iHeartbeatInterval) +int8_t __thiscall winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { + struct ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, 4) -void __thiscall winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(winISteamGameServer_SteamGameServer015 *_this) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(_this->linux_side); -} +extern vtable_ptr winISteamGameServer_SteamGameServer003_vtable; -extern vtable_ptr winISteamGameServer_SteamGameServer015_vtable; +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer003, 0, ".?AVISteamGameServer@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer015, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_InitGameServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetProduct) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameDescription) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetModDir) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetDedicatedServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOnAnonymous) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_WasRestartRequested) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetBotPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMapName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetPasswordProtected) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ClearAllKeyValues) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetKeyValue) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetRegion) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_HandleIncomingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_AssociateWithClan) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED) +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer003_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer003, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSendUserConnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSRemoveUserConnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetSpawnCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSUpdateStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetGameType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameServer_SteamGameServer015 *create_winISteamGameServer_SteamGameServer015(void *linux_side) +struct w_steam_iface *create_winISteamGameServer_SteamGameServer003(void *u_iface) { - winISteamGameServer_SteamGameServer015 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer015), "SteamGameServer015"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer015_vtable, 44, "SteamGameServer015"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer003_vtable, 17, "SteamGameServer003"); + r->u_iface = u_iface; return r; } -#include "cppISteamGameServer_SteamGameServer014.h" - -typedef struct __winISteamGameServer_SteamGameServer014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer014; +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BSetServerType, 40) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_UpdateServerStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_UpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SetGameType, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus, 16) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_InitGameServer, 28) -bool __thiscall winISteamGameServer_SteamGameServer014_InitGameServer(winISteamGameServer_SteamGameServer014 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +void __thiscall winISteamGameServer_SteamGameServer004_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer004_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetProduct, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetProduct(winISteamGameServer_SteamGameServer014 *_this, const char * pszProduct) +void __thiscall winISteamGameServer_SteamGameServer004_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer004_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetProduct(_this->linux_side, pszProduct); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameDescription, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetGameDescription(winISteamGameServer_SteamGameServer014 *_this, const char * pszGameDescription) +int8_t __thiscall winISteamGameServer_SteamGameServer004_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer004_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameDescription(_this->linux_side, pszGameDescription); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetModDir, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetModDir(winISteamGameServer_SteamGameServer014 *_this, const char * pszModDir) +int8_t __thiscall winISteamGameServer_SteamGameServer004_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer004_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetModDir(_this->linux_side, pszModDir); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetDedicatedServer, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetDedicatedServer(winISteamGameServer_SteamGameServer014 *_this, bool bDedicated) +CSteamID * __thiscall winISteamGameServer_SteamGameServer004_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer004_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetDedicatedServer(_this->linux_side, bDedicated); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOn, 8) -void __thiscall winISteamGameServer_SteamGameServer014_LogOn(winISteamGameServer_SteamGameServer014 *_this, const char * pszToken) +void __thiscall winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, CSteamID steamIDUser, uint32_t unIPClient, void *pvAuthBlob, uint32_t cubAuthBlobSize) { + struct ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOn(_this->linux_side, pszToken); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOnAnonymous, 4) -void __thiscall winISteamGameServer_SteamGameServer014_LogOnAnonymous(winISteamGameServer_SteamGameServer014 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOnAnonymous(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer014_LogOff(winISteamGameServer_SteamGameServer014 *_this) +void __thiscall winISteamGameServer_SteamGameServer004_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer004_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer014_BLoggedOn(winISteamGameServer_SteamGameServer014 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer004_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer004_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer014_BSecure(winISteamGameServer_SteamGameServer014 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer004_BSetServerType(struct w_steam_iface *_this, int32_t nGameAppId, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer004_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .nGameAppId = nGameAppId, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_BSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer014_GetSteamID(winISteamGameServer_SteamGameServer014 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer004_UpdateServerStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer004_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer014_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_UpdateServerStatus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_WasRestartRequested, 4) -bool __thiscall winISteamGameServer_SteamGameServer014_WasRestartRequested(winISteamGameServer_SteamGameServer014 *_this) +void __thiscall winISteamGameServer_SteamGameServer004_UpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer004_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_WasRestartRequested(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_UpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetMaxPlayerCount(winISteamGameServer_SteamGameServer014 *_this, int cPlayersMax) +void __thiscall winISteamGameServer_SteamGameServer004_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct ISteamGameServer_SteamGameServer004_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMaxPlayerCount(_this->linux_side, cPlayersMax); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_SetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetBotPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetBotPlayerCount(winISteamGameServer_SteamGameServer014 *_this, int cBotplayers) +int8_t __thiscall winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { + struct ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetBotPlayerCount(_this->linux_side, cBotplayers); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer004_BGetUserAchievementStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetServerName(winISteamGameServer_SteamGameServer014 *_this, const char * pszServerName) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetServerName(_this->linux_side, pszServerName); -} +extern vtable_ptr winISteamGameServer_SteamGameServer004_vtable; -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMapName, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetMapName(winISteamGameServer_SteamGameServer014 *_this, const char * pszMapName) +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer004, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer004_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer004, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_UpdateServerStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_UpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SetGameType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer004(void *u_iface) { - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMapName(_this->linux_side, pszMapName); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer004_vtable, 14, "SteamGameServer004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetPasswordProtected, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetPasswordProtected(winISteamGameServer_SteamGameServer014 *_this, bool bPasswordProtected) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetPasswordProtected(_this->linux_side, bPasswordProtected); -} - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorPort(winISteamGameServer_SteamGameServer014 *_this, uint16 unSpectatorPort) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetSpectatorPort(_this->linux_side, unSpectatorPort); -} +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BSetServerType, 36) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_UpdateServerStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_UpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SetGameType, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus, 16) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorServerName(winISteamGameServer_SteamGameServer014 *_this, const char * pszSpectatorServerName) +void __thiscall winISteamGameServer_SteamGameServer005_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer005_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ClearAllKeyValues, 4) -void __thiscall winISteamGameServer_SteamGameServer014_ClearAllKeyValues(winISteamGameServer_SteamGameServer014 *_this) +void __thiscall winISteamGameServer_SteamGameServer005_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer005_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetKeyValue, 12) -void __thiscall winISteamGameServer_SteamGameServer014_SetKeyValue(winISteamGameServer_SteamGameServer014 *_this, const char * pKey, const char * pValue) +int8_t __thiscall winISteamGameServer_SteamGameServer005_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer005_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetGameTags(winISteamGameServer_SteamGameServer014 *_this, const char * pchGameTags) +int8_t __thiscall winISteamGameServer_SteamGameServer005_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer005_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameTags(_this->linux_side, pchGameTags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetGameData(winISteamGameServer_SteamGameServer014 *_this, const char * pchGameData) +CSteamID * __thiscall winISteamGameServer_SteamGameServer005_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer005_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetRegion, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetRegion(winISteamGameServer_SteamGameServer014 *_this, const char * pszRegion) +int8_t __thiscall winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetRegion(_this->linux_side, pszRegion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(winISteamGameServer_SteamGameServer014 *_this, bool bActive) +CSteamID * __thiscall winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(_this->linux_side, bActive); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer014_GetAuthSessionTicket(winISteamGameServer_SteamGameServer014 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamGameServer_SteamGameServer005_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer005_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer014_BeginAuthSession(winISteamGameServer_SteamGameServer014 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +int8_t __thiscall winISteamGameServer_SteamGameServer005_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer005_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer014_EndAuthSession(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamID) +int8_t __thiscall winISteamGameServer_SteamGameServer005_BSetServerType(struct w_steam_iface *_this, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer005_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_BSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer014_CancelAuthTicket(winISteamGameServer_SteamGameServer014 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamGameServer_SteamGameServer005_UpdateServerStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer005_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_UpdateServerStatus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer014_UserHasLicenseForApp(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamID, AppId_t appID) +void __thiscall winISteamGameServer_SteamGameServer005_UpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer005_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_UpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer014_RequestUserGroupStatus(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +void __thiscall winISteamGameServer_SteamGameServer005_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct ISteamGameServer_SteamGameServer005_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_SetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer014_GetGameplayStats(winISteamGameServer_SteamGameServer014 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { + struct ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer005_BGetUserAchievementStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_GetServerReputation(winISteamGameServer_SteamGameServer014 *_this) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_GetServerReputation(_this->linux_side); -} +extern vtable_ptr winISteamGameServer_SteamGameServer005_vtable; -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetPublicIP, 8) -SteamIPAddress_t *__thiscall winISteamGameServer_SteamGameServer014_GetPublicIP(winISteamGameServer_SteamGameServer014 *_this, SteamIPAddress_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer014_GetPublicIP(_this->linux_side); - return _r; -} +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer005, 0, ".?AVISteamGameServer@@") -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_HandleIncomingPacket, 20) -bool __thiscall winISteamGameServer_SteamGameServer014_HandleIncomingPacket(winISteamGameServer_SteamGameServer014 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); -} +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer005_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer005, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_UpdateServerStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_UpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SetGameType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, 20) -int __thiscall winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer014 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +struct w_steam_iface *create_winISteamGameServer_SteamGameServer005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer005_vtable, 14, "SteamGameServer005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_AssociateWithClan, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_AssociateWithClan(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDClan) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_AssociateWithClan(_this->linux_side, steamIDClan); -} +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BSetServerType, 36) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_UpdateServerStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_UpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SetGameType, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetPublicIP, 4) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDNewPlayer) +void __thiscall winISteamGameServer_SteamGameServer008_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, 20) -bool __thiscall winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +void __thiscall winISteamGameServer_SteamGameServer008_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer014 *_this, CSteamID *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer008_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, 12) -void __thiscall winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamGameServer_SteamGameServer008_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer014_BUpdateUserData(winISteamGameServer_SteamGameServer014 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +CSteamID * __thiscall winISteamGameServer_SteamGameServer008_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer008_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer014_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, 8) -void __thiscall winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this, int iHeartbeatInterval) +int8_t __thiscall winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, 4) -void __thiscall winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(winISteamGameServer_SteamGameServer014 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(_this->linux_side); -} - -extern vtable_ptr winISteamGameServer_SteamGameServer014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer014, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_InitGameServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetProduct) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameDescription) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetModDir) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetDedicatedServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOnAnonymous) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_WasRestartRequested) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetBotPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMapName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetPasswordProtected) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ClearAllKeyValues) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetKeyValue) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetRegion) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_HandleIncomingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_AssociateWithClan) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED) - ); -#ifndef __GNUC__ -} -#endif - -winISteamGameServer_SteamGameServer014 *create_winISteamGameServer_SteamGameServer014(void *linux_side) -{ - winISteamGameServer_SteamGameServer014 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer014), "SteamGameServer014"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer014_vtable, 44, "SteamGameServer014"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -#include "cppISteamGameServer_SteamGameServer013.h" - -typedef struct __winISteamGameServer_SteamGameServer013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer013; - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_InitGameServer, 28) -bool __thiscall winISteamGameServer_SteamGameServer013_InitGameServer(winISteamGameServer_SteamGameServer013 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +void __thiscall winISteamGameServer_SteamGameServer008_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer008_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetProduct, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetProduct(winISteamGameServer_SteamGameServer013 *_this, const char * pszProduct) +int8_t __thiscall winISteamGameServer_SteamGameServer008_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer008_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetProduct(_this->linux_side, pszProduct); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameDescription, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetGameDescription(winISteamGameServer_SteamGameServer013 *_this, const char * pszGameDescription) +int8_t __thiscall winISteamGameServer_SteamGameServer008_BSetServerType(struct w_steam_iface *_this, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer008_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameDescription(_this->linux_side, pszGameDescription); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_BSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetModDir, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetModDir(winISteamGameServer_SteamGameServer013 *_this, const char * pszModDir) +void __thiscall winISteamGameServer_SteamGameServer008_UpdateServerStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer008_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetModDir(_this->linux_side, pszModDir); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_UpdateServerStatus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetDedicatedServer, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetDedicatedServer(winISteamGameServer_SteamGameServer013 *_this, bool bDedicated) +void __thiscall winISteamGameServer_SteamGameServer008_UpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer008_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetDedicatedServer(_this->linux_side, bDedicated); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_UpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOn, 8) -void __thiscall winISteamGameServer_SteamGameServer013_LogOn(winISteamGameServer_SteamGameServer013 *_this, const char * pszToken) +void __thiscall winISteamGameServer_SteamGameServer008_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct ISteamGameServer_SteamGameServer008_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOn(_this->linux_side, pszToken); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_SetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOnAnonymous, 4) -void __thiscall winISteamGameServer_SteamGameServer013_LogOnAnonymous(winISteamGameServer_SteamGameServer013 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { + struct ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOnAnonymous(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_BGetUserAchievementStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer013_LogOff(winISteamGameServer_SteamGameServer013 *_this) +void __thiscall winISteamGameServer_SteamGameServer008_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer013_BLoggedOn(winISteamGameServer_SteamGameServer013 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer008_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer008_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer013_BSecure(winISteamGameServer_SteamGameServer013 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer008_GetPublicIP(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer008_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer008_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer013_GetSteamID(winISteamGameServer_SteamGameServer013 *_this, CSteamID *_r) -{ - TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer013_GetSteamID(_this->linux_side); - return _r; -} +extern vtable_ptr winISteamGameServer_SteamGameServer008_vtable; -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_WasRestartRequested, 4) -bool __thiscall winISteamGameServer_SteamGameServer013_WasRestartRequested(winISteamGameServer_SteamGameServer013 *_this) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_WasRestartRequested(_this->linux_side); -} +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer008, 0, ".?AVISteamGameServer@@") -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetMaxPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetMaxPlayerCount(winISteamGameServer_SteamGameServer013 *_this, int cPlayersMax) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetMaxPlayerCount(_this->linux_side, cPlayersMax); -} +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer008_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer008, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_UpdateServerStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_UpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SetGameType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetPublicIP) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetBotPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetBotPlayerCount(winISteamGameServer_SteamGameServer013 *_this, int cBotplayers) +struct w_steam_iface *create_winISteamGameServer_SteamGameServer008(void *u_iface) { - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetBotPlayerCount(_this->linux_side, cBotplayers); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer008_vtable, 17, "SteamGameServer008"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetServerName(winISteamGameServer_SteamGameServer013 *_this, const char * pszServerName) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetServerName(_this->linux_side, pszServerName); -} +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BSetServerType, 36) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UpdateServerStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SetGameType, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetPublicIP, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UserHasLicenseForApp, 16) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetMapName, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetMapName(winISteamGameServer_SteamGameServer013 *_this, const char * pszMapName) +void __thiscall winISteamGameServer_SteamGameServer009_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetMapName(_this->linux_side, pszMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetPasswordProtected, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetPasswordProtected(winISteamGameServer_SteamGameServer013 *_this, bool bPasswordProtected) +void __thiscall winISteamGameServer_SteamGameServer009_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetPasswordProtected(_this->linux_side, bPasswordProtected); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorPort(winISteamGameServer_SteamGameServer013 *_this, uint16 unSpectatorPort) +int8_t __thiscall winISteamGameServer_SteamGameServer009_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetSpectatorServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorServerName(winISteamGameServer_SteamGameServer013 *_this, const char * pszSpectatorServerName) +int8_t __thiscall winISteamGameServer_SteamGameServer009_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ClearAllKeyValues, 4) -void __thiscall winISteamGameServer_SteamGameServer013_ClearAllKeyValues(winISteamGameServer_SteamGameServer013 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer009_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer009_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetKeyValue, 12) -void __thiscall winISteamGameServer_SteamGameServer013_SetKeyValue(winISteamGameServer_SteamGameServer013 *_this, const char * pKey, const char * pValue) +int8_t __thiscall winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetGameTags(winISteamGameServer_SteamGameServer013 *_this, const char * pchGameTags) +CSteamID * __thiscall winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameTags(_this->linux_side, pchGameTags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetGameData(winISteamGameServer_SteamGameServer013 *_this, const char * pchGameData) +void __thiscall winISteamGameServer_SteamGameServer009_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer009_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetRegion, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetRegion(winISteamGameServer_SteamGameServer013 *_this, const char * pszRegion) +int8_t __thiscall winISteamGameServer_SteamGameServer009_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer009_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetRegion(_this->linux_side, pszRegion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer013 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +int8_t __thiscall winISteamGameServer_SteamGameServer009_BSetServerType(struct w_steam_iface *_this, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) { + struct ISteamGameServer_SteamGameServer009_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_BSetServerType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer013 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer009_UpdateServerStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { + struct ISteamGameServer_SteamGameServer009_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_UpdateServerStatus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer013_SendUserDisconnect(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer009_UpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer009_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_UpdateSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer013_BUpdateUserData(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer009_SetGameType(struct w_steam_iface *_this, const char *pchGameType) { + struct ISteamGameServer_SteamGameServer009_SetGameType_params params = + { + .linux_side = _this->u_iface, + .pchGameType = pchGameType, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_SetGameType, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer013_GetAuthSessionTicket(winISteamGameServer_SteamGameServer013 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int8_t __thiscall winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(struct w_steam_iface *_this, CSteamID steamID, const char *pchAchievementName) { + struct ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pchAchievementName = pchAchievementName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_BGetUserAchievementStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer013_BeginAuthSession(winISteamGameServer_SteamGameServer013 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer009_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer013_EndAuthSession(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamID) +int8_t __thiscall winISteamGameServer_SteamGameServer009_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer009_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer013_CancelAuthTicket(winISteamGameServer_SteamGameServer013 *_this, HAuthTicket hAuthTicket) +uint32_t __thiscall winISteamGameServer_SteamGameServer009_GetPublicIP(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer009_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer013_UserHasLicenseForApp(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamID, AppId_t appID) +void __thiscall winISteamGameServer_SteamGameServer009_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer009_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer013_RequestUserGroupStatus(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +uint32_t __thiscall winISteamGameServer_SteamGameServer009_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer009_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer009_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer013_GetGameplayStats(winISteamGameServer_SteamGameServer013 *_this) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_GetGameplayStats(_this->linux_side); -} +extern vtable_ptr winISteamGameServer_SteamGameServer009_vtable; -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_GetServerReputation(winISteamGameServer_SteamGameServer013 *_this) -{ - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_GetServerReputation(_this->linux_side); -} +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer009, 0, ".?AVISteamGameServer@@") -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetPublicIP, 8) -SteamIPAddress_t *__thiscall winISteamGameServer_SteamGameServer013_GetPublicIP(winISteamGameServer_SteamGameServer013 *_this, SteamIPAddress_t *_r) +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer009_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer009, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UpdateServerStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SetGameType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UserHasLicenseForApp) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer009(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer009_vtable, 19, "SteamGameServer009"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_LogOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BSetServerType, 36) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UpdateServerStatus, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UpdateSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetPublicIP, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_CancelAuthTicket, 8) + +void __thiscall winISteamGameServer_SteamGameServer010_LogOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_LogOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer013_GetPublicIP(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_HandleIncomingPacket, 20) -bool __thiscall winISteamGameServer_SteamGameServer013_HandleIncomingPacket(winISteamGameServer_SteamGameServer013 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +void __thiscall winISteamGameServer_SteamGameServer010_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket, 20) -int __thiscall winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer013 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +int8_t __thiscall winISteamGameServer_SteamGameServer010_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_EnableHeartbeats, 8) -void __thiscall winISteamGameServer_SteamGameServer013_EnableHeartbeats(winISteamGameServer_SteamGameServer013 *_this, bool bActive) +int8_t __thiscall winISteamGameServer_SteamGameServer010_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_EnableHeartbeats(_this->linux_side, bActive); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetHeartbeatInterval, 8) -void __thiscall winISteamGameServer_SteamGameServer013_SetHeartbeatInterval(winISteamGameServer_SteamGameServer013 *_this, int iHeartbeatInterval) +CSteamID * __thiscall winISteamGameServer_SteamGameServer010_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer010_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_SetHeartbeatInterval(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ForceHeartbeat, 4) -void __thiscall winISteamGameServer_SteamGameServer013_ForceHeartbeat(winISteamGameServer_SteamGameServer013 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer013_ForceHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_AssociateWithClan, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_AssociateWithClan(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamIDClan) +CSteamID * __thiscall winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_AssociateWithClan(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer013 *_this, CSteamID steamIDNewPlayer) +void __thiscall winISteamGameServer_SteamGameServer010_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer010_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_SendUserDisconnect, ¶ms ); } -extern vtable_ptr winISteamGameServer_SteamGameServer013_vtable; +int8_t __thiscall winISteamGameServer_SteamGameServer010_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) +{ + struct ISteamGameServer_SteamGameServer010_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_BUpdateUserData, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer013, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_InitGameServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetProduct) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameDescription) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetModDir) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetDedicatedServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOnAnonymous) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_WasRestartRequested) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetMaxPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetBotPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetMapName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetPasswordProtected) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetSpectatorServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ClearAllKeyValues) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetKeyValue) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetRegion) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_HandleIncomingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_EnableHeartbeats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetHeartbeatInterval) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ForceHeartbeat) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_AssociateWithClan) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamGameServer_SteamGameServer010_BSetServerType(struct w_steam_iface *_this, uint32_t unServerFlags, uint32_t unGameIP, uint16_t unGamePort, uint16_t unSpectatorPort, uint16_t usQueryPort, const char *pchGameDir, const char *pchVersion, int8_t bLANMode) +{ + struct ISteamGameServer_SteamGameServer010_BSetServerType_params params = + { + .linux_side = _this->u_iface, + .unServerFlags = unServerFlags, + .unGameIP = unGameIP, + .unGamePort = unGamePort, + .unSpectatorPort = unSpectatorPort, + .usQueryPort = usQueryPort, + .pchGameDir = pchGameDir, + .pchVersion = pchVersion, + .bLANMode = bLANMode, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_BSetServerType, ¶ms ); + return params._ret; } -#endif -winISteamGameServer_SteamGameServer013 *create_winISteamGameServer_SteamGameServer013(void *linux_side) +void __thiscall winISteamGameServer_SteamGameServer010_UpdateServerStatus(struct w_steam_iface *_this, int32_t cPlayers, int32_t cPlayersMax, int32_t cBotPlayers, const char *pchServerName, const char *pSpectatorServerName, const char *pchMapName) { - winISteamGameServer_SteamGameServer013 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer013), "SteamGameServer013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer013_vtable, 44, "SteamGameServer013"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer010_UpdateServerStatus_params params = + { + .linux_side = _this->u_iface, + .cPlayers = cPlayers, + .cPlayersMax = cPlayersMax, + .cBotPlayers = cBotPlayers, + .pchServerName = pchServerName, + .pSpectatorServerName = pSpectatorServerName, + .pchMapName = pchMapName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_UpdateServerStatus, ¶ms ); } -#include "cppISteamGameServer_SteamGameServer012.h" +void __thiscall winISteamGameServer_SteamGameServer010_UpdateSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) +{ + struct ISteamGameServer_SteamGameServer010_UpdateSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_UpdateSpectatorPort, ¶ms ); +} -typedef struct __winISteamGameServer_SteamGameServer012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer012; +void __thiscall winISteamGameServer_SteamGameServer010_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) +{ + struct ISteamGameServer_SteamGameServer010_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_SetGameTags, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_InitGameServer, 28) -bool __thiscall winISteamGameServer_SteamGameServer012_InitGameServer(winISteamGameServer_SteamGameServer012 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +void __thiscall winISteamGameServer_SteamGameServer010_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetProduct, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetProduct(winISteamGameServer_SteamGameServer012 *_this, const char * pszProduct) +uint64_t __thiscall winISteamGameServer_SteamGameServer010_GetServerReputation(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetProduct(_this->linux_side, pszProduct); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_GetServerReputation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameDescription, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetGameDescription(winISteamGameServer_SteamGameServer012 *_this, const char * pszGameDescription) +int8_t __thiscall winISteamGameServer_SteamGameServer010_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer010_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameDescription(_this->linux_side, pszGameDescription); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetModDir, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetModDir(winISteamGameServer_SteamGameServer012 *_this, const char * pszModDir) +uint32_t __thiscall winISteamGameServer_SteamGameServer010_GetPublicIP(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer010_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetModDir(_this->linux_side, pszModDir); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetDedicatedServer, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetDedicatedServer(winISteamGameServer_SteamGameServer012 *_this, bool bDedicated) +void __thiscall winISteamGameServer_SteamGameServer010_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer010_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetDedicatedServer(_this->linux_side, bDedicated); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOn, 8) -void __thiscall winISteamGameServer_SteamGameServer012_LogOn(winISteamGameServer_SteamGameServer012 *_this, const char * pszToken) +uint32_t __thiscall winISteamGameServer_SteamGameServer010_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer010_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOn(_this->linux_side, pszToken); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOnAnonymous, 4) -void __thiscall winISteamGameServer_SteamGameServer012_LogOnAnonymous(winISteamGameServer_SteamGameServer012 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer010_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamGameServer_SteamGameServer010_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOnAnonymous(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer012_LogOff(winISteamGameServer_SteamGameServer012 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer010_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer010_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer012_BLoggedOn(winISteamGameServer_SteamGameServer012 *_this) +void __thiscall winISteamGameServer_SteamGameServer010_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer010_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer012_BSecure(winISteamGameServer_SteamGameServer012 *_this) +void __thiscall winISteamGameServer_SteamGameServer010_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer010_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer010_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer012_GetSteamID(winISteamGameServer_SteamGameServer012 *_this, CSteamID *_r) +extern vtable_ptr winISteamGameServer_SteamGameServer010_vtable; + +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer010, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer010_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer010, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BSetServerType) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UpdateServerStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UpdateSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_CancelAuthTicket) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer010(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer010"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer010_vtable, 23, "SteamGameServer010"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_InitGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetProduct, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameDescription, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetModDir, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetDedicatedServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOn, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOnAnonymous, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetMaxPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetBotPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetMapName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetPasswordProtected, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetSpectatorServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetRegion, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetPublicIP, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_EnableHeartbeats, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetHeartbeatInterval, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ForceHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_AssociateWithClan, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility, 12) + +int8_t __thiscall winISteamGameServer_SteamGameServer011_InitGameServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usGamePort, uint16_t usQueryPort, uint32_t unFlags, uint32_t nGameAppId, const char *pchVersionString) { + struct ISteamGameServer_SteamGameServer011_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer012_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_InitGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_WasRestartRequested, 4) -bool __thiscall winISteamGameServer_SteamGameServer012_WasRestartRequested(winISteamGameServer_SteamGameServer012 *_this) +void __thiscall winISteamGameServer_SteamGameServer011_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct ISteamGameServer_SteamGameServer011_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_WasRestartRequested(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetProduct, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetMaxPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetMaxPlayerCount(winISteamGameServer_SteamGameServer012 *_this, int cPlayersMax) +void __thiscall winISteamGameServer_SteamGameServer011_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct ISteamGameServer_SteamGameServer011_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetMaxPlayerCount(_this->linux_side, cPlayersMax); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetGameDescription, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetBotPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetBotPlayerCount(winISteamGameServer_SteamGameServer012 *_this, int cBotplayers) +void __thiscall winISteamGameServer_SteamGameServer011_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct ISteamGameServer_SteamGameServer011_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetBotPlayerCount(_this->linux_side, cBotplayers); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetModDir, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetServerName(winISteamGameServer_SteamGameServer012 *_this, const char * pszServerName) +void __thiscall winISteamGameServer_SteamGameServer011_SetDedicatedServer(struct w_steam_iface *_this, int8_t bDedicated) { + struct ISteamGameServer_SteamGameServer011_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetServerName(_this->linux_side, pszServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetDedicatedServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetMapName, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetMapName(winISteamGameServer_SteamGameServer012 *_this, const char * pszMapName) +void __thiscall winISteamGameServer_SteamGameServer011_LogOn(struct w_steam_iface *_this, const char *pszAccountName, const char *pszPassword) { + struct ISteamGameServer_SteamGameServer011_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszAccountName = pszAccountName, + .pszPassword = pszPassword, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetMapName(_this->linux_side, pszMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetPasswordProtected, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetPasswordProtected(winISteamGameServer_SteamGameServer012 *_this, bool bPasswordProtected) +void __thiscall winISteamGameServer_SteamGameServer011_LogOnAnonymous(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetPasswordProtected(_this->linux_side, bPasswordProtected); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_LogOnAnonymous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorPort(winISteamGameServer_SteamGameServer012 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer011_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetSpectatorServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorServerName(winISteamGameServer_SteamGameServer012 *_this, const char * pszSpectatorServerName) +int8_t __thiscall winISteamGameServer_SteamGameServer011_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ClearAllKeyValues, 4) -void __thiscall winISteamGameServer_SteamGameServer012_ClearAllKeyValues(winISteamGameServer_SteamGameServer012 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer011_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetKeyValue, 12) -void __thiscall winISteamGameServer_SteamGameServer012_SetKeyValue(winISteamGameServer_SteamGameServer012 *_this, const char * pKey, const char * pValue) +CSteamID * __thiscall winISteamGameServer_SteamGameServer011_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer011_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetGameTags(winISteamGameServer_SteamGameServer012 *_this, const char * pchGameTags) +int8_t __thiscall winISteamGameServer_SteamGameServer011_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameTags(_this->linux_side, pchGameTags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetGameData(winISteamGameServer_SteamGameServer012 *_this, const char * pchGameData) +void __thiscall winISteamGameServer_SteamGameServer011_SetMaxPlayerCount(struct w_steam_iface *_this, int32_t cPlayersMax) { + struct ISteamGameServer_SteamGameServer011_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetMaxPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetRegion, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetRegion(winISteamGameServer_SteamGameServer012 *_this, const char * pszRegion) +void __thiscall winISteamGameServer_SteamGameServer011_SetBotPlayerCount(struct w_steam_iface *_this, int32_t cBotplayers) { + struct ISteamGameServer_SteamGameServer011_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetRegion(_this->linux_side, pszRegion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetBotPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer012 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +void __thiscall winISteamGameServer_SteamGameServer011_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct ISteamGameServer_SteamGameServer011_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer012 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer011_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct ISteamGameServer_SteamGameServer011_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetMapName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer012_SendUserDisconnect(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer011_SetPasswordProtected(struct w_steam_iface *_this, int8_t bPasswordProtected) { + struct ISteamGameServer_SteamGameServer011_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetPasswordProtected, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer012_BUpdateUserData(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer011_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer012_GetAuthSessionTicket(winISteamGameServer_SteamGameServer012 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct ISteamGameServer_SteamGameServer011_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetSpectatorServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer012_BeginAuthSession(winISteamGameServer_SteamGameServer012 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer011_ClearAllKeyValues(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_ClearAllKeyValues, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer012_EndAuthSession(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer011_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamGameServer_SteamGameServer011_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer012_CancelAuthTicket(winISteamGameServer_SteamGameServer012 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamGameServer_SteamGameServer011_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct ISteamGameServer_SteamGameServer011_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetGameTags, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer012_UserHasLicenseForApp(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamID, AppId_t appID) +void __thiscall winISteamGameServer_SteamGameServer011_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer011_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer012_RequestUserGroupStatus(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +void __thiscall winISteamGameServer_SteamGameServer011_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct ISteamGameServer_SteamGameServer011_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetRegion, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer012_GetGameplayStats(winISteamGameServer_SteamGameServer012 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_GetServerReputation(winISteamGameServer_SteamGameServer012 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_GetServerReputation(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetPublicIP, 4) -uint32 __thiscall winISteamGameServer_SteamGameServer012_GetPublicIP(winISteamGameServer_SteamGameServer012 *_this) +void __thiscall winISteamGameServer_SteamGameServer011_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer011_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_GetPublicIP(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_HandleIncomingPacket, 20) -bool __thiscall winISteamGameServer_SteamGameServer012_HandleIncomingPacket(winISteamGameServer_SteamGameServer012 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +int8_t __thiscall winISteamGameServer_SteamGameServer011_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer011_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket, 20) -int __thiscall winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer012 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +uint32_t __thiscall winISteamGameServer_SteamGameServer011_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamGameServer_SteamGameServer011_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_EnableHeartbeats, 8) -void __thiscall winISteamGameServer_SteamGameServer012_EnableHeartbeats(winISteamGameServer_SteamGameServer012 *_this, bool bActive) +uint32_t __thiscall winISteamGameServer_SteamGameServer011_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer011_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_EnableHeartbeats(_this->linux_side, bActive); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetHeartbeatInterval, 8) -void __thiscall winISteamGameServer_SteamGameServer012_SetHeartbeatInterval(winISteamGameServer_SteamGameServer012 *_this, int iHeartbeatInterval) +void __thiscall winISteamGameServer_SteamGameServer011_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer011_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_SetHeartbeatInterval(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ForceHeartbeat, 4) -void __thiscall winISteamGameServer_SteamGameServer012_ForceHeartbeat(winISteamGameServer_SteamGameServer012 *_this) +void __thiscall winISteamGameServer_SteamGameServer011_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer011_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer012_ForceHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_AssociateWithClan, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_AssociateWithClan(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamIDClan) +uint32_t __thiscall winISteamGameServer_SteamGameServer011_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer011_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_AssociateWithClan(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer012 *_this, CSteamID steamIDNewPlayer) +int8_t __thiscall winISteamGameServer_SteamGameServer011_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer011_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_RequestUserGroupStatus, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamGameServer_SteamGameServer012_vtable; +void __thiscall winISteamGameServer_SteamGameServer011_GetGameplayStats(struct w_steam_iface *_this) +{ + struct ISteamGameServer_SteamGameServer011_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetGameplayStats, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer012, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_InitGameServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetProduct) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameDescription) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetModDir) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetDedicatedServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOnAnonymous) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_WasRestartRequested) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetMaxPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetBotPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetMapName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetPasswordProtected) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetSpectatorServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ClearAllKeyValues) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetKeyValue) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetRegion) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_HandleIncomingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_EnableHeartbeats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetHeartbeatInterval) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ForceHeartbeat) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_AssociateWithClan) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility) - ); -#ifndef __GNUC__ -} -#endif - -winISteamGameServer_SteamGameServer012 *create_winISteamGameServer_SteamGameServer012(void *linux_side) +uint64_t __thiscall winISteamGameServer_SteamGameServer011_GetServerReputation(struct w_steam_iface *_this) { - winISteamGameServer_SteamGameServer012 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer012), "SteamGameServer012"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer012_vtable, 44, "SteamGameServer012"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer011_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetServerReputation, ¶ms ); + return params._ret; } -#include "cppISteamGameServer_SteamGameServer011.h" - -typedef struct __winISteamGameServer_SteamGameServer011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer011; - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_InitGameServer, 28) -bool __thiscall winISteamGameServer_SteamGameServer011_InitGameServer(winISteamGameServer_SteamGameServer011 *_this, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString) +uint32_t __thiscall winISteamGameServer_SteamGameServer011_GetPublicIP(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_InitGameServer(_this->linux_side, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetProduct, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetProduct(winISteamGameServer_SteamGameServer011 *_this, const char * pszProduct) +int8_t __thiscall winISteamGameServer_SteamGameServer011_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) { + struct ISteamGameServer_SteamGameServer011_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetProduct(_this->linux_side, pszProduct); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_HandleIncomingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameDescription, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetGameDescription(winISteamGameServer_SteamGameServer011 *_this, const char * pszGameDescription) +int32_t __thiscall winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) { + struct ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameDescription(_this->linux_side, pszGameDescription); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetModDir, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetModDir(winISteamGameServer_SteamGameServer011 *_this, const char * pszModDir) +void __thiscall winISteamGameServer_SteamGameServer011_EnableHeartbeats(struct w_steam_iface *_this, int8_t bActive) { + struct ISteamGameServer_SteamGameServer011_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetModDir(_this->linux_side, pszModDir); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_EnableHeartbeats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetDedicatedServer, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetDedicatedServer(winISteamGameServer_SteamGameServer011 *_this, bool bDedicated) +void __thiscall winISteamGameServer_SteamGameServer011_SetHeartbeatInterval(struct w_steam_iface *_this, int32_t iHeartbeatInterval) { + struct ISteamGameServer_SteamGameServer011_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetDedicatedServer(_this->linux_side, bDedicated); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_SetHeartbeatInterval, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOn, 12) -void __thiscall winISteamGameServer_SteamGameServer011_LogOn(winISteamGameServer_SteamGameServer011 *_this, const char * pszAccountName, const char * pszPassword) +void __thiscall winISteamGameServer_SteamGameServer011_ForceHeartbeat(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer011_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOn(_this->linux_side, pszAccountName, pszPassword); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_ForceHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOnAnonymous, 4) -void __thiscall winISteamGameServer_SteamGameServer011_LogOnAnonymous(winISteamGameServer_SteamGameServer011 *_this) +uint64_t __thiscall winISteamGameServer_SteamGameServer011_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamGameServer_SteamGameServer011_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOnAnonymous(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_AssociateWithClan, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer011_LogOff(winISteamGameServer_SteamGameServer011 *_this) +uint64_t __thiscall winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { + struct ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer011_BLoggedOn(winISteamGameServer_SteamGameServer011 *_this) +extern vtable_ptr winISteamGameServer_SteamGameServer011_vtable; + +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer011, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer011_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer011, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_EnableHeartbeats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetHeartbeatInterval) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ForceHeartbeat) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer011(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_BLoggedOn(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer011"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer011_vtable, 44, "SteamGameServer011"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer011_BSecure(winISteamGameServer_SteamGameServer011 *_this) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_InitGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetProduct, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameDescription, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetModDir, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetDedicatedServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOn, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOnAnonymous, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetMaxPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetBotPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetMapName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetPasswordProtected, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetSpectatorServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetRegion, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetPublicIP, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_EnableHeartbeats, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_SetHeartbeatInterval, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ForceHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_AssociateWithClan, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility, 12) + +int8_t __thiscall winISteamGameServer_SteamGameServer012_InitGameServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usGamePort, uint16_t usQueryPort, uint32_t unFlags, uint32_t nGameAppId, const char *pchVersionString) { + struct ISteamGameServer_SteamGameServer012_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_InitGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer011_GetSteamID(winISteamGameServer_SteamGameServer011 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer012_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct ISteamGameServer_SteamGameServer012_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer011_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetProduct, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_WasRestartRequested, 4) -bool __thiscall winISteamGameServer_SteamGameServer011_WasRestartRequested(winISteamGameServer_SteamGameServer011 *_this) +void __thiscall winISteamGameServer_SteamGameServer012_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct ISteamGameServer_SteamGameServer012_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_WasRestartRequested(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetGameDescription, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetMaxPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetMaxPlayerCount(winISteamGameServer_SteamGameServer011 *_this, int cPlayersMax) +void __thiscall winISteamGameServer_SteamGameServer012_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct ISteamGameServer_SteamGameServer012_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetMaxPlayerCount(_this->linux_side, cPlayersMax); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetModDir, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetBotPlayerCount, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetBotPlayerCount(winISteamGameServer_SteamGameServer011 *_this, int cBotplayers) +void __thiscall winISteamGameServer_SteamGameServer012_SetDedicatedServer(struct w_steam_iface *_this, int8_t bDedicated) { + struct ISteamGameServer_SteamGameServer012_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetBotPlayerCount(_this->linux_side, cBotplayers); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetDedicatedServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetServerName(winISteamGameServer_SteamGameServer011 *_this, const char * pszServerName) +void __thiscall winISteamGameServer_SteamGameServer012_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct ISteamGameServer_SteamGameServer012_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetServerName(_this->linux_side, pszServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetMapName, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetMapName(winISteamGameServer_SteamGameServer011 *_this, const char * pszMapName) +void __thiscall winISteamGameServer_SteamGameServer012_LogOnAnonymous(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetMapName(_this->linux_side, pszMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_LogOnAnonymous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetPasswordProtected, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetPasswordProtected(winISteamGameServer_SteamGameServer011 *_this, bool bPasswordProtected) +void __thiscall winISteamGameServer_SteamGameServer012_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetPasswordProtected(_this->linux_side, bPasswordProtected); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorPort(winISteamGameServer_SteamGameServer011 *_this, uint16 unSpectatorPort) +int8_t __thiscall winISteamGameServer_SteamGameServer012_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetSpectatorServerName, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetSpectatorServerName(winISteamGameServer_SteamGameServer011 *_this, const char * pszSpectatorServerName) +int8_t __thiscall winISteamGameServer_SteamGameServer012_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetSpectatorServerName(_this->linux_side, pszSpectatorServerName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ClearAllKeyValues, 4) -void __thiscall winISteamGameServer_SteamGameServer011_ClearAllKeyValues(winISteamGameServer_SteamGameServer011 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer012_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer012_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetKeyValue, 12) -void __thiscall winISteamGameServer_SteamGameServer011_SetKeyValue(winISteamGameServer_SteamGameServer011 *_this, const char * pKey, const char * pValue) +int8_t __thiscall winISteamGameServer_SteamGameServer012_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetGameTags(winISteamGameServer_SteamGameServer011 *_this, const char * pchGameTags) +void __thiscall winISteamGameServer_SteamGameServer012_SetMaxPlayerCount(struct w_steam_iface *_this, int32_t cPlayersMax) { + struct ISteamGameServer_SteamGameServer012_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameTags(_this->linux_side, pchGameTags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetMaxPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetGameData(winISteamGameServer_SteamGameServer011 *_this, const char * pchGameData) +void __thiscall winISteamGameServer_SteamGameServer012_SetBotPlayerCount(struct w_steam_iface *_this, int32_t cBotplayers) { + struct ISteamGameServer_SteamGameServer012_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetBotPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetRegion, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetRegion(winISteamGameServer_SteamGameServer011 *_this, const char * pszRegion) +void __thiscall winISteamGameServer_SteamGameServer012_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct ISteamGameServer_SteamGameServer012_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetRegion(_this->linux_side, pszRegion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer011 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +void __thiscall winISteamGameServer_SteamGameServer012_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct ISteamGameServer_SteamGameServer012_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetMapName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer011 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer012_SetPasswordProtected(struct w_steam_iface *_this, int8_t bPasswordProtected) { + struct ISteamGameServer_SteamGameServer012_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetPasswordProtected, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer011_SendUserDisconnect(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer012_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer011_BUpdateUserData(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer012_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct ISteamGameServer_SteamGameServer012_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetSpectatorServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer011_GetAuthSessionTicket(winISteamGameServer_SteamGameServer011 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamGameServer_SteamGameServer012_ClearAllKeyValues(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_ClearAllKeyValues, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer011_BeginAuthSession(winISteamGameServer_SteamGameServer011 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer012_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamGameServer_SteamGameServer012_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer011_EndAuthSession(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer012_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct ISteamGameServer_SteamGameServer012_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetGameTags, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer011_CancelAuthTicket(winISteamGameServer_SteamGameServer011 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamGameServer_SteamGameServer012_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer012_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer011_UserHasLicenseForApp(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamID, AppId_t appID) +void __thiscall winISteamGameServer_SteamGameServer012_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct ISteamGameServer_SteamGameServer012_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetRegion, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer011_RequestUserGroupStatus(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +int8_t __thiscall winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer011_GetGameplayStats(winISteamGameServer_SteamGameServer011 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_GetServerReputation(winISteamGameServer_SteamGameServer011 *_this) +void __thiscall winISteamGameServer_SteamGameServer012_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer012_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_GetServerReputation(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetPublicIP, 4) -uint32 __thiscall winISteamGameServer_SteamGameServer011_GetPublicIP(winISteamGameServer_SteamGameServer011 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer012_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer012_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_GetPublicIP(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_HandleIncomingPacket, 20) -bool __thiscall winISteamGameServer_SteamGameServer011_HandleIncomingPacket(winISteamGameServer_SteamGameServer011 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +uint32_t __thiscall winISteamGameServer_SteamGameServer012_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamGameServer_SteamGameServer012_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket, 20) -int __thiscall winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(winISteamGameServer_SteamGameServer011 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +uint32_t __thiscall winISteamGameServer_SteamGameServer012_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer012_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_EnableHeartbeats, 8) -void __thiscall winISteamGameServer_SteamGameServer011_EnableHeartbeats(winISteamGameServer_SteamGameServer011 *_this, bool bActive) +void __thiscall winISteamGameServer_SteamGameServer012_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer012_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_EnableHeartbeats(_this->linux_side, bActive); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_SetHeartbeatInterval, 8) -void __thiscall winISteamGameServer_SteamGameServer011_SetHeartbeatInterval(winISteamGameServer_SteamGameServer011 *_this, int iHeartbeatInterval) +void __thiscall winISteamGameServer_SteamGameServer012_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer012_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_SetHeartbeatInterval(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ForceHeartbeat, 4) -void __thiscall winISteamGameServer_SteamGameServer011_ForceHeartbeat(winISteamGameServer_SteamGameServer011 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer012_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer012_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer011_ForceHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_AssociateWithClan, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_AssociateWithClan(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamIDClan) +int8_t __thiscall winISteamGameServer_SteamGameServer012_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer012_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_AssociateWithClan(_this->linux_side, steamIDClan); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility, 12) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(winISteamGameServer_SteamGameServer011 *_this, CSteamID steamIDNewPlayer) +void __thiscall winISteamGameServer_SteamGameServer012_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility(_this->linux_side, steamIDNewPlayer); -} - -extern vtable_ptr winISteamGameServer_SteamGameServer011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer011, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_InitGameServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetProduct) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameDescription) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetModDir) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetDedicatedServer) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOnAnonymous) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_WasRestartRequested) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetMaxPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetBotPlayerCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetMapName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetPasswordProtected) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetSpectatorServerName) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ClearAllKeyValues) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetKeyValue) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetRegion) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_HandleIncomingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_GetNextOutgoingPacket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_EnableHeartbeats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_SetHeartbeatInterval) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ForceHeartbeat) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_AssociateWithClan) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer011_ComputeNewPlayerCompatibility) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetGameplayStats, ¶ms ); } -#endif -winISteamGameServer_SteamGameServer011 *create_winISteamGameServer_SteamGameServer011(void *linux_side) +uint64_t __thiscall winISteamGameServer_SteamGameServer012_GetServerReputation(struct w_steam_iface *_this) { - winISteamGameServer_SteamGameServer011 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer011), "SteamGameServer011"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer011_vtable, 44, "SteamGameServer011"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer012_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetServerReputation, ¶ms ); + return params._ret; } -#include "cppISteamGameServer_SteamGameServer010.h" - -typedef struct __winISteamGameServer_SteamGameServer010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer010; - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer010_LogOn(winISteamGameServer_SteamGameServer010 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer012_GetPublicIP(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer010_LogOff(winISteamGameServer_SteamGameServer010 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer012_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) { + struct ISteamGameServer_SteamGameServer012_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_HandleIncomingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer010_BLoggedOn(winISteamGameServer_SteamGameServer010 *_this) +int32_t __thiscall winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) { + struct ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer010_BSecure(winISteamGameServer_SteamGameServer010 *_this) +void __thiscall winISteamGameServer_SteamGameServer012_EnableHeartbeats(struct w_steam_iface *_this, int8_t bActive) { + struct ISteamGameServer_SteamGameServer012_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_EnableHeartbeats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer010_GetSteamID(winISteamGameServer_SteamGameServer010 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer012_SetHeartbeatInterval(struct w_steam_iface *_this, int32_t iHeartbeatInterval) { + struct ISteamGameServer_SteamGameServer012_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer010_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_SetHeartbeatInterval, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer010 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +void __thiscall winISteamGameServer_SteamGameServer012_ForceHeartbeat(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer012_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_ForceHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer010 *_this, CSteamID *_r) +uint64_t __thiscall winISteamGameServer_SteamGameServer012_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamGameServer_SteamGameServer012_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_AssociateWithClan, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer010_SendUserDisconnect(winISteamGameServer_SteamGameServer010 *_this, CSteamID steamIDUser) +uint64_t __thiscall winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { + struct ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer010_BUpdateUserData(winISteamGameServer_SteamGameServer010 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) -{ +extern vtable_ptr winISteamGameServer_SteamGameServer012_vtable; + +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer012, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer012_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer012, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_EnableHeartbeats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_SetHeartbeatInterval) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ForceHeartbeat) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer012_ComputeNewPlayerCompatibility) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer012(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer012"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer012_vtable, 44, "SteamGameServer012"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_InitGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetProduct, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameDescription, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetModDir, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetDedicatedServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOn, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOnAnonymous, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetMaxPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetBotPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetMapName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetPasswordProtected, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetSpectatorServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetRegion, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SendUserDisconnect, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetPublicIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_EnableHeartbeats, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_SetHeartbeatInterval, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ForceHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_AssociateWithClan, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility, 12) + +int8_t __thiscall winISteamGameServer_SteamGameServer013_InitGameServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usGamePort, uint16_t usQueryPort, uint32_t unFlags, uint32_t nGameAppId, const char *pchVersionString) +{ + struct ISteamGameServer_SteamGameServer013_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_InitGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BSetServerType, 36) -bool __thiscall winISteamGameServer_SteamGameServer010_BSetServerType(winISteamGameServer_SteamGameServer010 *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +void __thiscall winISteamGameServer_SteamGameServer013_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct ISteamGameServer_SteamGameServer013_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_BSetServerType(_this->linux_side, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetProduct, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UpdateServerStatus, 28) -void __thiscall winISteamGameServer_SteamGameServer010_UpdateServerStatus(winISteamGameServer_SteamGameServer010 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +void __thiscall winISteamGameServer_SteamGameServer013_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct ISteamGameServer_SteamGameServer013_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_UpdateServerStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetGameDescription, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer010_UpdateSpectatorPort(winISteamGameServer_SteamGameServer010 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer013_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct ISteamGameServer_SteamGameServer013_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_UpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetModDir, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SetGameTags, 8) -void __thiscall winISteamGameServer_SteamGameServer010_SetGameTags(winISteamGameServer_SteamGameServer010 *_this, const char * pchGameTags) +void __thiscall winISteamGameServer_SteamGameServer013_SetDedicatedServer(struct w_steam_iface *_this, int8_t bDedicated) { + struct ISteamGameServer_SteamGameServer013_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SetGameTags(_this->linux_side, pchGameTags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetDedicatedServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer010_GetGameplayStats(winISteamGameServer_SteamGameServer010 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct ISteamGameServer_SteamGameServer013_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetServerReputation, 4) -SteamAPICall_t __thiscall winISteamGameServer_SteamGameServer010_GetServerReputation(winISteamGameServer_SteamGameServer010 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_LogOnAnonymous(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_GetServerReputation(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_LogOnAnonymous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer010_RequestUserGroupStatus(winISteamGameServer_SteamGameServer010 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +void __thiscall winISteamGameServer_SteamGameServer013_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetPublicIP, 4) -uint32 __thiscall winISteamGameServer_SteamGameServer010_GetPublicIP(winISteamGameServer_SteamGameServer010 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer013_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_GetPublicIP(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer010_SetGameData(winISteamGameServer_SteamGameServer010 *_this, const char * pchGameData) +int8_t __thiscall winISteamGameServer_SteamGameServer013_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer010_UserHasLicenseForApp(winISteamGameServer_SteamGameServer010 *_this, CSteamID steamID, AppId_t appID) +CSteamID * __thiscall winISteamGameServer_SteamGameServer013_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer013_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamGameServer_SteamGameServer010_GetAuthSessionTicket(winISteamGameServer_SteamGameServer010 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int8_t __thiscall winISteamGameServer_SteamGameServer013_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamGameServer_SteamGameServer010_BeginAuthSession(winISteamGameServer_SteamGameServer010 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer013_SetMaxPlayerCount(struct w_steam_iface *_this, int32_t cPlayersMax) { + struct ISteamGameServer_SteamGameServer013_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer010_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetMaxPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_EndAuthSession, 12) -void __thiscall winISteamGameServer_SteamGameServer010_EndAuthSession(winISteamGameServer_SteamGameServer010 *_this, CSteamID steamID) +void __thiscall winISteamGameServer_SteamGameServer013_SetBotPlayerCount(struct w_steam_iface *_this, int32_t cBotplayers) { + struct ISteamGameServer_SteamGameServer013_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetBotPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer010_CancelAuthTicket, 8) -void __thiscall winISteamGameServer_SteamGameServer010_CancelAuthTicket(winISteamGameServer_SteamGameServer010 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamGameServer_SteamGameServer013_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct ISteamGameServer_SteamGameServer013_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer010_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetServerName, ¶ms ); } -extern vtable_ptr winISteamGameServer_SteamGameServer010_vtable; +void __thiscall winISteamGameServer_SteamGameServer013_SetMapName(struct w_steam_iface *_this, const char *pszMapName) +{ + struct ISteamGameServer_SteamGameServer013_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetMapName, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer010, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UpdateServerStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SetGameTags) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetServerReputation) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_EndAuthSession) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer010_CancelAuthTicket) - ); -#ifndef __GNUC__ +void __thiscall winISteamGameServer_SteamGameServer013_SetPasswordProtected(struct w_steam_iface *_this, int8_t bPasswordProtected) +{ + struct ISteamGameServer_SteamGameServer013_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetPasswordProtected, ¶ms ); } -#endif -winISteamGameServer_SteamGameServer010 *create_winISteamGameServer_SteamGameServer010(void *linux_side) +void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { - winISteamGameServer_SteamGameServer010 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer010), "SteamGameServer010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer010_vtable, 23, "SteamGameServer010"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer013_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetSpectatorPort, ¶ms ); } -#include "cppISteamGameServer_SteamGameServer009.h" +void __thiscall winISteamGameServer_SteamGameServer013_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) +{ + struct ISteamGameServer_SteamGameServer013_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetSpectatorServerName, ¶ms ); +} -typedef struct __winISteamGameServer_SteamGameServer009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer009; +void __thiscall winISteamGameServer_SteamGameServer013_ClearAllKeyValues(struct w_steam_iface *_this) +{ + struct ISteamGameServer_SteamGameServer013_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_ClearAllKeyValues, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer009_LogOn(winISteamGameServer_SteamGameServer009 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamGameServer_SteamGameServer013_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer009_LogOff(winISteamGameServer_SteamGameServer009 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct ISteamGameServer_SteamGameServer013_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetGameTags, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer009_BLoggedOn(winISteamGameServer_SteamGameServer009 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer013_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer009_BSecure(winISteamGameServer_SteamGameServer009 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct ISteamGameServer_SteamGameServer013_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetRegion, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer009_GetSteamID(winISteamGameServer_SteamGameServer009 *_this, CSteamID *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer009_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer009 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +CSteamID * __thiscall winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer009 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer013_SendUserDisconnect(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer013_SendUserDisconnect_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SendUserDisconnect, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer009_SendUserDisconnect(winISteamGameServer_SteamGameServer009 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamGameServer_SteamGameServer013_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer013_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer009_BUpdateUserData(winISteamGameServer_SteamGameServer009 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +uint32_t __thiscall winISteamGameServer_SteamGameServer013_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamGameServer_SteamGameServer013_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BSetServerType, 36) -bool __thiscall winISteamGameServer_SteamGameServer009_BSetServerType(winISteamGameServer_SteamGameServer009 *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +uint32_t __thiscall winISteamGameServer_SteamGameServer013_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer013_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_BSetServerType(_this->linux_side, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UpdateServerStatus, 28) -void __thiscall winISteamGameServer_SteamGameServer009_UpdateServerStatus(winISteamGameServer_SteamGameServer009 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +void __thiscall winISteamGameServer_SteamGameServer013_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer013_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_UpdateServerStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer009_UpdateSpectatorPort(winISteamGameServer_SteamGameServer009 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer013_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer013_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_UpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer009_SetGameType(winISteamGameServer_SteamGameServer009 *_this, const char * pchGameType) +uint32_t __thiscall winISteamGameServer_SteamGameServer013_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer013_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SetGameType(_this->linux_side, pchGameType); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus, 16) -bool __thiscall winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(winISteamGameServer_SteamGameServer009 *_this, CSteamID steamID, const char * pchAchievementName) +int8_t __thiscall winISteamGameServer_SteamGameServer013_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer013_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_BGetUserAchievementStatus(_this->linux_side, steamID, pchAchievementName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer009_GetGameplayStats(winISteamGameServer_SteamGameServer009 *_this) +void __thiscall winISteamGameServer_SteamGameServer013_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer009_RequestUserGroupStatus(winISteamGameServer_SteamGameServer009 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +uint64_t __thiscall winISteamGameServer_SteamGameServer013_GetServerReputation(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer013_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetServerReputation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_GetPublicIP, 4) -uint32 __thiscall winISteamGameServer_SteamGameServer009_GetPublicIP(winISteamGameServer_SteamGameServer009 *_this) +SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer013_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct ISteamGameServer_SteamGameServer013_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_GetPublicIP(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_SetGameData, 8) -void __thiscall winISteamGameServer_SteamGameServer009_SetGameData(winISteamGameServer_SteamGameServer009 *_this, const char * pchGameData) +int8_t __thiscall winISteamGameServer_SteamGameServer013_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) { + struct ISteamGameServer_SteamGameServer013_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer009_SetGameData(_this->linux_side, pchGameData); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_HandleIncomingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer009_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamGameServer_SteamGameServer009_UserHasLicenseForApp(winISteamGameServer_SteamGameServer009 *_this, CSteamID steamID, AppId_t appID) +int32_t __thiscall winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) { + struct ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer009_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamGameServer_SteamGameServer009_vtable; +void __thiscall winISteamGameServer_SteamGameServer013_EnableHeartbeats(struct w_steam_iface *_this, int8_t bActive) +{ + struct ISteamGameServer_SteamGameServer013_EnableHeartbeats_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_EnableHeartbeats, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer009, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UpdateServerStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SetGameType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_BGetUserAchievementStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_GetPublicIP) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_SetGameData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer009_UserHasLicenseForApp) - ); -#ifndef __GNUC__ +void __thiscall winISteamGameServer_SteamGameServer013_SetHeartbeatInterval(struct w_steam_iface *_this, int32_t iHeartbeatInterval) +{ + struct ISteamGameServer_SteamGameServer013_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_SetHeartbeatInterval, ¶ms ); +} + +void __thiscall winISteamGameServer_SteamGameServer013_ForceHeartbeat(struct w_steam_iface *_this) +{ + struct ISteamGameServer_SteamGameServer013_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_ForceHeartbeat, ¶ms ); } -#endif -winISteamGameServer_SteamGameServer009 *create_winISteamGameServer_SteamGameServer009(void *linux_side) +uint64_t __thiscall winISteamGameServer_SteamGameServer013_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - winISteamGameServer_SteamGameServer009 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer009), "SteamGameServer009"); + struct ISteamGameServer_SteamGameServer013_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_AssociateWithClan, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) +{ + struct ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamGameServer_SteamGameServer013_vtable; + +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer013, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer013_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer013, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SendUserConnectAndAuthenticate) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SendUserDisconnect) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_EnableHeartbeats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_SetHeartbeatInterval) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ForceHeartbeat) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer013_ComputeNewPlayerCompatibility) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer013(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer013"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer009_vtable, 19, "SteamGameServer009"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer013_vtable, 44, "SteamGameServer013"); + r->u_iface = u_iface; return r; } -#include "cppISteamGameServer_SteamGameServer008.h" - -typedef struct __winISteamGameServer_SteamGameServer008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer008; +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_InitGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetProduct, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameDescription, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetModDir, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetDedicatedServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOn, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOnAnonymous, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetBotPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMapName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetPasswordProtected, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetSpectatorServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetRegion, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetPublicIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_AssociateWithClan, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, 4) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer008_LogOn(winISteamGameServer_SteamGameServer008 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer014_InitGameServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usGamePort, uint16_t usQueryPort, uint32_t unFlags, uint32_t nGameAppId, const char *pchVersionString) { + struct ISteamGameServer_SteamGameServer014_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_InitGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer008_LogOff(winISteamGameServer_SteamGameServer008 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct ISteamGameServer_SteamGameServer014_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetProduct, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer008_BLoggedOn(winISteamGameServer_SteamGameServer008 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct ISteamGameServer_SteamGameServer014_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetGameDescription, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer008_BSecure(winISteamGameServer_SteamGameServer008 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct ISteamGameServer_SteamGameServer014_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetModDir, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer008_GetSteamID(winISteamGameServer_SteamGameServer008 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer014_SetDedicatedServer(struct w_steam_iface *_this, int8_t bDedicated) { + struct ISteamGameServer_SteamGameServer014_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer008_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetDedicatedServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer008 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +void __thiscall winISteamGameServer_SteamGameServer014_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct ISteamGameServer_SteamGameServer014_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer008 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer014_LogOnAnonymous(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_LogOnAnonymous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer008_SendUserDisconnect(winISteamGameServer_SteamGameServer008 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer014_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer008_BUpdateUserData(winISteamGameServer_SteamGameServer008 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +int8_t __thiscall winISteamGameServer_SteamGameServer014_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BSetServerType, 36) -bool __thiscall winISteamGameServer_SteamGameServer008_BSetServerType(winISteamGameServer_SteamGameServer008 *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +int8_t __thiscall winISteamGameServer_SteamGameServer014_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_BSetServerType(_this->linux_side, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_UpdateServerStatus, 28) -void __thiscall winISteamGameServer_SteamGameServer008_UpdateServerStatus(winISteamGameServer_SteamGameServer008 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +CSteamID * __thiscall winISteamGameServer_SteamGameServer014_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer014_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_UpdateServerStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_UpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer008_UpdateSpectatorPort(winISteamGameServer_SteamGameServer008 *_this, uint16 unSpectatorPort) +int8_t __thiscall winISteamGameServer_SteamGameServer014_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_UpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_SetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer008_SetGameType(winISteamGameServer_SteamGameServer008 *_this, const char * pchGameType) +void __thiscall winISteamGameServer_SteamGameServer014_SetMaxPlayerCount(struct w_steam_iface *_this, int32_t cPlayersMax) { + struct ISteamGameServer_SteamGameServer014_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_SetGameType(_this->linux_side, pchGameType); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetMaxPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus, 16) -bool __thiscall winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(winISteamGameServer_SteamGameServer008 *_this, CSteamID steamID, const char * pchAchievementName) +void __thiscall winISteamGameServer_SteamGameServer014_SetBotPlayerCount(struct w_steam_iface *_this, int32_t cBotplayers) { + struct ISteamGameServer_SteamGameServer014_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_BGetUserAchievementStatus(_this->linux_side, steamID, pchAchievementName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetBotPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetGameplayStats, 4) -void __thiscall winISteamGameServer_SteamGameServer008_GetGameplayStats(winISteamGameServer_SteamGameServer008 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct ISteamGameServer_SteamGameServer014_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer008_GetGameplayStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_RequestUserGroupStatus, 20) -bool __thiscall winISteamGameServer_SteamGameServer008_RequestUserGroupStatus(winISteamGameServer_SteamGameServer008 *_this, CSteamID steamIDUser, CSteamID steamIDGroup) +void __thiscall winISteamGameServer_SteamGameServer014_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct ISteamGameServer_SteamGameServer014_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_RequestUserGroupStatus(_this->linux_side, steamIDUser, steamIDGroup); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetMapName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer008_GetPublicIP, 4) -uint32 __thiscall winISteamGameServer_SteamGameServer008_GetPublicIP(winISteamGameServer_SteamGameServer008 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetPasswordProtected(struct w_steam_iface *_this, int8_t bPasswordProtected) { + struct ISteamGameServer_SteamGameServer014_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer008_GetPublicIP(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetPasswordProtected, ¶ms ); } -extern vtable_ptr winISteamGameServer_SteamGameServer008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer008, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_UpdateServerStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_UpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_SetGameType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_BGetUserAchievementStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetGameplayStats) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_RequestUserGroupStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer008_GetPublicIP) - ); -#ifndef __GNUC__ +void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) +{ + struct ISteamGameServer_SteamGameServer014_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetSpectatorPort, ¶ms ); } -#endif -winISteamGameServer_SteamGameServer008 *create_winISteamGameServer_SteamGameServer008(void *linux_side) +void __thiscall winISteamGameServer_SteamGameServer014_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { - winISteamGameServer_SteamGameServer008 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer008), "SteamGameServer008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer008_vtable, 17, "SteamGameServer008"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer014_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetSpectatorServerName, ¶ms ); } -#include "cppISteamGameServer_SteamGameServer005.h" - -typedef struct __winISteamGameServer_SteamGameServer005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer005; +void __thiscall winISteamGameServer_SteamGameServer014_ClearAllKeyValues(struct w_steam_iface *_this) +{ + struct ISteamGameServer_SteamGameServer014_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_ClearAllKeyValues, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer005_LogOn(winISteamGameServer_SteamGameServer005 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamGameServer_SteamGameServer014_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer005_LogOff(winISteamGameServer_SteamGameServer005 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct ISteamGameServer_SteamGameServer014_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetGameTags, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer005_BLoggedOn(winISteamGameServer_SteamGameServer005 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer014_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer005_BSecure(winISteamGameServer_SteamGameServer005 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct ISteamGameServer_SteamGameServer014_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetRegion, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer005_GetSteamID(winISteamGameServer_SteamGameServer005 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive(struct w_steam_iface *_this, int8_t bActive) { + struct ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer005_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetAdvertiseServerActive, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate, 20) -bool __thiscall winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer005 *_this, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser) +uint32_t __thiscall winISteamGameServer_SteamGameServer014_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamGameServer_SteamGameServer014_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate(_this->linux_side, unIPClient, pvAuthBlob, cubAuthBlobSize, pSteamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer005 *_this, CSteamID *_r) +uint32_t __thiscall winISteamGameServer_SteamGameServer014_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer014_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer005_SendUserDisconnect(winISteamGameServer_SteamGameServer005 *_this, CSteamID steamIDUser) +void __thiscall winISteamGameServer_SteamGameServer014_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer014_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer005_BUpdateUserData(winISteamGameServer_SteamGameServer005 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer014_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer014_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BSetServerType, 36) -bool __thiscall winISteamGameServer_SteamGameServer005_BSetServerType(winISteamGameServer_SteamGameServer005 *_this, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +uint32_t __thiscall winISteamGameServer_SteamGameServer014_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer014_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_BSetServerType(_this->linux_side, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_UpdateServerStatus, 28) -void __thiscall winISteamGameServer_SteamGameServer005_UpdateServerStatus(winISteamGameServer_SteamGameServer005 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +int8_t __thiscall winISteamGameServer_SteamGameServer014_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer014_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_UpdateServerStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_UpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer005_UpdateSpectatorPort(winISteamGameServer_SteamGameServer005 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer014_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_UpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_SetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer005_SetGameType(winISteamGameServer_SteamGameServer005 *_this, const char * pchGameType) +uint64_t __thiscall winISteamGameServer_SteamGameServer014_GetServerReputation(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer005_SetGameType(_this->linux_side, pchGameType); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetServerReputation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus, 16) -bool __thiscall winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(winISteamGameServer_SteamGameServer005 *_this, CSteamID steamID, const char * pchAchievementName) +SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer014_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct ISteamGameServer_SteamGameServer014_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer005_BGetUserAchievementStatus(_this->linux_side, steamID, pchAchievementName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetPublicIP, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamGameServer_SteamGameServer005_vtable; +int8_t __thiscall winISteamGameServer_SteamGameServer014_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) +{ + struct ISteamGameServer_SteamGameServer014_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_HandleIncomingPacket, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer005, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_UpdateServerStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_UpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_SetGameType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer005_BGetUserAchievementStatus) - ); -#ifndef __GNUC__ +int32_t __thiscall winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) +{ + struct ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -#endif -winISteamGameServer_SteamGameServer005 *create_winISteamGameServer_SteamGameServer005(void *linux_side) +uint64_t __thiscall winISteamGameServer_SteamGameServer014_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { - winISteamGameServer_SteamGameServer005 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer005), "SteamGameServer005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer005_vtable, 14, "SteamGameServer005"); - r->linux_side = linux_side; - return r; + struct ISteamGameServer_SteamGameServer014_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_AssociateWithClan, ¶ms ); + return params._ret; } -#include "cppISteamGameServer_SteamGameServer004.h" +uint64_t __thiscall winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) +{ + struct ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility, ¶ms ); + return params._ret; +} -typedef struct __winISteamGameServer_SteamGameServer004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer004; +int8_t __thiscall winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) +{ + struct ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer004_LogOn(winISteamGameServer_SteamGameServer004 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer004_LogOff(winISteamGameServer_SteamGameServer004 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer004_BLoggedOn(winISteamGameServer_SteamGameServer004 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer014_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer014_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer004_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer004_BSecure(winISteamGameServer_SteamGameServer004 *_this) +void __thiscall winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED(struct w_steam_iface *_this, int32_t iHeartbeatInterval) { + struct ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer004_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer004_GetSteamID(winISteamGameServer_SteamGameServer004 *_this, CSteamID *_r) +void __thiscall winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer004_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate, 24) -void __thiscall winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(winISteamGameServer_SteamGameServer004 *_this, CSteamID steamIDUser, uint32 unIPClient, void * pvAuthBlob, uint32 cubAuthBlobSize) +extern vtable_ptr winISteamGameServer_SteamGameServer014_vtable; + +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer014, 0, ".?AVISteamGameServer@@") + +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer014_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer014, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetAdvertiseServerActive) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ComputeNewPlayerCompatibility) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserConnectAndAuthenticate_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SendUserDisconnect_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_SetMasterServerHeartbeatInterval_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer014_ForceMasterServerHeartbeat_DEPRECATED) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamGameServer_SteamGameServer014(void *u_iface) { - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate(_this->linux_side, steamIDUser, unIPClient, pvAuthBlob, cubAuthBlobSize); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer014"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer014_vtable, 44, "SteamGameServer014"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(winISteamGameServer_SteamGameServer004 *_this, CSteamID *_r) -{ - TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection(_this->linux_side); - return _r; -} +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_InitGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetProduct, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameDescription, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetModDir, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetDedicatedServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOn, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOnAnonymous, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BSecure, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetBotPlayerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMapName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetPasswordProtected, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetSpectatorServerName, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameTags, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetGameData, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetRegion, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetGameplayStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetServerReputation, 4) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetPublicIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_AssociateWithClan, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_BUpdateUserData, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, 8) +DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, 4) -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SendUserDisconnect, 12) -void __thiscall winISteamGameServer_SteamGameServer004_SendUserDisconnect(winISteamGameServer_SteamGameServer004 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamGameServer_SteamGameServer015_InitGameServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usGamePort, uint16_t usQueryPort, uint32_t unFlags, uint32_t nGameAppId, const char *pchVersionString) { + struct ISteamGameServer_SteamGameServer015_InitGameServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usGamePort = usGamePort, + .usQueryPort = usQueryPort, + .unFlags = unFlags, + .nGameAppId = nGameAppId, + .pchVersionString = pchVersionString, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SendUserDisconnect(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_InitGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BUpdateUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer004_BUpdateUserData(winISteamGameServer_SteamGameServer004 *_this, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore) +void __thiscall winISteamGameServer_SteamGameServer015_SetProduct(struct w_steam_iface *_this, const char *pszProduct) { + struct ISteamGameServer_SteamGameServer015_SetProduct_params params = + { + .linux_side = _this->u_iface, + .pszProduct = pszProduct, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer004_BUpdateUserData(_this->linux_side, steamIDUser, pchPlayerName, uScore); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetProduct, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BSetServerType, 40) -bool __thiscall winISteamGameServer_SteamGameServer004_BSetServerType(winISteamGameServer_SteamGameServer004 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameDescription(struct w_steam_iface *_this, const char *pszGameDescription) { + struct ISteamGameServer_SteamGameServer015_SetGameDescription_params params = + { + .linux_side = _this->u_iface, + .pszGameDescription = pszGameDescription, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer004_BSetServerType(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetGameDescription, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_UpdateServerStatus, 28) -void __thiscall winISteamGameServer_SteamGameServer004_UpdateServerStatus(winISteamGameServer_SteamGameServer004 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +void __thiscall winISteamGameServer_SteamGameServer015_SetModDir(struct w_steam_iface *_this, const char *pszModDir) { + struct ISteamGameServer_SteamGameServer015_SetModDir_params params = + { + .linux_side = _this->u_iface, + .pszModDir = pszModDir, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_UpdateServerStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetModDir, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_UpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer004_UpdateSpectatorPort(winISteamGameServer_SteamGameServer004 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer015_SetDedicatedServer(struct w_steam_iface *_this, int8_t bDedicated) { + struct ISteamGameServer_SteamGameServer015_SetDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .bDedicated = bDedicated, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_UpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetDedicatedServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_SetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer004_SetGameType(winISteamGameServer_SteamGameServer004 *_this, const char * pchGameType) +void __thiscall winISteamGameServer_SteamGameServer015_LogOn(struct w_steam_iface *_this, const char *pszToken) { + struct ISteamGameServer_SteamGameServer015_LogOn_params params = + { + .linux_side = _this->u_iface, + .pszToken = pszToken, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer004_SetGameType(_this->linux_side, pchGameType); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus, 16) -bool __thiscall winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(winISteamGameServer_SteamGameServer004 *_this, CSteamID steamID, const char * pchAchievementName) +void __thiscall winISteamGameServer_SteamGameServer015_LogOnAnonymous(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_LogOnAnonymous_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer004_BGetUserAchievementStatus(_this->linux_side, steamID, pchAchievementName); -} - -extern vtable_ptr winISteamGameServer_SteamGameServer004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer004, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SendUserConnectAndAuthenticate) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_CreateUnauthenticatedUserConnection) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BUpdateUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_UpdateServerStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_UpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_SetGameType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer004_BGetUserAchievementStatus) - ); -#ifndef __GNUC__ -} -#endif - -winISteamGameServer_SteamGameServer004 *create_winISteamGameServer_SteamGameServer004(void *linux_side) -{ - winISteamGameServer_SteamGameServer004 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer004), "SteamGameServer004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer004_vtable, 14, "SteamGameServer004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_LogOnAnonymous, ¶ms ); } -#include "cppISteamGameServer_SteamGameServer003.h" - -typedef struct __winISteamGameServer_SteamGameServer003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer003; - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer003_LogOn(winISteamGameServer_SteamGameServer003 *_this) +void __thiscall winISteamGameServer_SteamGameServer015_LogOff(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer003_LogOff(winISteamGameServer_SteamGameServer003 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer015_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer003_BLoggedOn(winISteamGameServer_SteamGameServer003 *_this) +int8_t __thiscall winISteamGameServer_SteamGameServer015_BSecure(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_BSecure_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_BSecure, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer003_BSecure(winISteamGameServer_SteamGameServer003 *_this) +CSteamID * __thiscall winISteamGameServer_SteamGameServer015_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer015_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer003_GetSteamID(winISteamGameServer_SteamGameServer003 *_this, CSteamID *_r) +int8_t __thiscall winISteamGameServer_SteamGameServer015_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer003_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient, 16) -bool __thiscall winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(winISteamGameServer_SteamGameServer003 *_this, void * pvEncryptionKey, uint32 * pcbEncryptionKey, uint32 cbMaxEncryptionKey) +void __thiscall winISteamGameServer_SteamGameServer015_SetMaxPlayerCount(struct w_steam_iface *_this, int32_t cPlayersMax) { + struct ISteamGameServer_SteamGameServer015_SetMaxPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cPlayersMax = cPlayersMax, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient(_this->linux_side, pvEncryptionKey, pcbEncryptionKey, cbMaxEncryptionKey); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetMaxPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSendUserConnect, 24) -bool __thiscall winISteamGameServer_SteamGameServer003_GSSendUserConnect(winISteamGameServer_SteamGameServer003 *_this, uint32 unUserID, uint32 unIPPublic, uint16 usPort, const void * pvCookie, uint32 cubCookie) +void __thiscall winISteamGameServer_SteamGameServer015_SetBotPlayerCount(struct w_steam_iface *_this, int32_t cBotplayers) { + struct ISteamGameServer_SteamGameServer015_SetBotPlayerCount_params params = + { + .linux_side = _this->u_iface, + .cBotplayers = cBotplayers, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSSendUserConnect(_this->linux_side, unUserID, unIPPublic, usPort, pvCookie, cubCookie); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetBotPlayerCount, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSRemoveUserConnect, 8) -bool __thiscall winISteamGameServer_SteamGameServer003_GSRemoveUserConnect(winISteamGameServer_SteamGameServer003 *_this, uint32 unUserID) +void __thiscall winISteamGameServer_SteamGameServer015_SetServerName(struct w_steam_iface *_this, const char *pszServerName) { + struct ISteamGameServer_SteamGameServer015_SetServerName_params params = + { + .linux_side = _this->u_iface, + .pszServerName = pszServerName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSRemoveUserConnect(_this->linux_side, unUserID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSendUserDisconnect, 16) -bool __thiscall winISteamGameServer_SteamGameServer003_GSSendUserDisconnect(winISteamGameServer_SteamGameServer003 *_this, CSteamID steamID, uint32 unUserID) +void __thiscall winISteamGameServer_SteamGameServer015_SetMapName(struct w_steam_iface *_this, const char *pszMapName) { + struct ISteamGameServer_SteamGameServer015_SetMapName_params params = + { + .linux_side = _this->u_iface, + .pszMapName = pszMapName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSSendUserDisconnect(_this->linux_side, steamID, unUserID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetMapName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetSpawnCount, 8) -void __thiscall winISteamGameServer_SteamGameServer003_GSSetSpawnCount(winISteamGameServer_SteamGameServer003 *_this, uint32 ucSpawn) +void __thiscall winISteamGameServer_SteamGameServer015_SetPasswordProtected(struct w_steam_iface *_this, int8_t bPasswordProtected) { + struct ISteamGameServer_SteamGameServer015_SetPasswordProtected_params params = + { + .linux_side = _this->u_iface, + .bPasswordProtected = bPasswordProtected, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSSetSpawnCount(_this->linux_side, ucSpawn); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetPasswordProtected, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetServerType, 40) -bool __thiscall winISteamGameServer_SteamGameServer003_GSSetServerType(winISteamGameServer_SteamGameServer003 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorPort(struct w_steam_iface *_this, uint16_t unSpectatorPort) { + struct ISteamGameServer_SteamGameServer015_SetSpectatorPort_params params = + { + .linux_side = _this->u_iface, + .unSpectatorPort = unSpectatorPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSSetServerType(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetSpectatorPort, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSUpdateStatus, 28) -bool __thiscall winISteamGameServer_SteamGameServer003_GSUpdateStatus(winISteamGameServer_SteamGameServer003 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +void __thiscall winISteamGameServer_SteamGameServer015_SetSpectatorServerName(struct w_steam_iface *_this, const char *pszSpectatorServerName) { + struct ISteamGameServer_SteamGameServer015_SetSpectatorServerName_params params = + { + .linux_side = _this->u_iface, + .pszSpectatorServerName = pszSpectatorServerName, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSUpdateStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetSpectatorServerName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser, 8) -bool __thiscall winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(winISteamGameServer_SteamGameServer003 *_this, CSteamID * pSteamID) +void __thiscall winISteamGameServer_SteamGameServer015_ClearAllKeyValues(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser(_this->linux_side, pSteamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_ClearAllKeyValues, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer003_GSSetUserData(winISteamGameServer_SteamGameServer003 *_this, CSteamID steamID, const char * pPlayerName, uint32 nFrags) +void __thiscall winISteamGameServer_SteamGameServer015_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamGameServer_SteamGameServer015_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSSetUserData(_this->linux_side, steamID, pPlayerName, nFrags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(winISteamGameServer_SteamGameServer003 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameTags(struct w_steam_iface *_this, const char *pchGameTags) { + struct ISteamGameServer_SteamGameServer015_SetGameTags_params params = + { + .linux_side = _this->u_iface, + .pchGameTags = pchGameTags, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetGameTags, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSSetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer003_GSSetGameType(winISteamGameServer_SteamGameServer003 *_this, const char * pchType) +void __thiscall winISteamGameServer_SteamGameServer015_SetGameData(struct w_steam_iface *_this, const char *pchGameData) { + struct ISteamGameServer_SteamGameServer015_SetGameData_params params = + { + .linux_side = _this->u_iface, + .pchGameData = pchGameData, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer003_GSSetGameType(_this->linux_side, pchType); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetGameData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus, 16) -bool __thiscall winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(winISteamGameServer_SteamGameServer003 *_this, CSteamID steamID, const char * pchAchievementName) +void __thiscall winISteamGameServer_SteamGameServer015_SetRegion(struct w_steam_iface *_this, const char *pszRegion) { + struct ISteamGameServer_SteamGameServer015_SetRegion_params params = + { + .linux_side = _this->u_iface, + .pszRegion = pszRegion, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus(_this->linux_side, steamID, pchAchievementName); -} - -extern vtable_ptr winISteamGameServer_SteamGameServer003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer003, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSGetSteam2GetEncryptionKeyToSendToNewClient) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSendUserConnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSRemoveUserConnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetSpawnCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSUpdateStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSCreateUnauthenticatedUser) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSUpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSSetGameType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer003_GSGetUserAchievementStatus) - ); -#ifndef __GNUC__ -} -#endif - -winISteamGameServer_SteamGameServer003 *create_winISteamGameServer_SteamGameServer003(void *linux_side) -{ - winISteamGameServer_SteamGameServer003 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer003), "SteamGameServer003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer003_vtable, 17, "SteamGameServer003"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetRegion, ¶ms ); } -#include "cppISteamGameServer_SteamGameServer002.h" - -typedef struct __winISteamGameServer_SteamGameServer002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServer_SteamGameServer002; - -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOn, 4) -void __thiscall winISteamGameServer_SteamGameServer002_LogOn(winISteamGameServer_SteamGameServer002 *_this) +void __thiscall winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive(struct w_steam_iface *_this, int8_t bActive) { + struct ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_LogOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetAdvertiseServerActive, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_LogOff, 4) -void __thiscall winISteamGameServer_SteamGameServer002_LogOff(winISteamGameServer_SteamGameServer002 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer015_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket, const SteamNetworkingIdentity_144 *pSnid) { + struct ISteamGameServer_SteamGameServer015_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSnid = pSnid, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BLoggedOn, 4) -bool __thiscall winISteamGameServer_SteamGameServer002_BLoggedOn(winISteamGameServer_SteamGameServer002 *_this) +uint32_t __thiscall winISteamGameServer_SteamGameServer015_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer015_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetSpawnCount, 8) -void __thiscall winISteamGameServer_SteamGameServer002_GSSetSpawnCount(winISteamGameServer_SteamGameServer002 *_this, uint32 ucSpawn) +void __thiscall winISteamGameServer_SteamGameServer015_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamGameServer_SteamGameServer015_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSSetSpawnCount(_this->linux_side, ucSpawn); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient, 16) -bool __thiscall winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(winISteamGameServer_SteamGameServer002 *_this, void * pvEncryptionKey, uint32 * pcbEncryptionKey, uint32 cbMaxEncryptionKey) +void __thiscall winISteamGameServer_SteamGameServer015_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamGameServer_SteamGameServer015_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient(_this->linux_side, pvEncryptionKey, pcbEncryptionKey, cbMaxEncryptionKey); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect, 32) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(winISteamGameServer_SteamGameServer002 *_this, uint32 unUserID, const void * pvRawKey, uint32 unKeyLen, uint32 unIPPublic, uint16 usPort, const void * pvCookie, uint32 cubCookie) +uint32_t __thiscall winISteamGameServer_SteamGameServer015_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamGameServer_SteamGameServer015_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect(_this->linux_side, unUserID, pvRawKey, unKeyLen, unIPPublic, usPort, pvCookie, cubCookie); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect, 24) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, uint32 unIPPublic, const void * pvCookie, uint32 cubCookie) +int8_t __thiscall winISteamGameServer_SteamGameServer015_RequestUserGroupStatus(struct w_steam_iface *_this, CSteamID steamIDUser, CSteamID steamIDGroup) { + struct ISteamGameServer_SteamGameServer015_RequestUserGroupStatus_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .steamIDGroup = steamIDGroup, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect(_this->linux_side, steamID, unIPPublic, pvCookie, cubCookie); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_RequestUserGroupStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect, 8) -bool __thiscall winISteamGameServer_SteamGameServer002_GSRemoveUserConnect(winISteamGameServer_SteamGameServer002 *_this, uint32 unUserID) +void __thiscall winISteamGameServer_SteamGameServer015_GetGameplayStats(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_GetGameplayStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSRemoveUserConnect(_this->linux_side, unUserID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetGameplayStats, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect, 16) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserDisconnect(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, uint32 unUserID) +uint64_t __thiscall winISteamGameServer_SteamGameServer015_GetServerReputation(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_GetServerReputation_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSendUserDisconnect(_this->linux_side, steamID, unUserID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetServerReputation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse, 20) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, int nSecondsConnected, int nSecondsSinceLast) +SteamIPAddress_t * __thiscall winISteamGameServer_SteamGameServer015_GetPublicIP(struct w_steam_iface *_this, SteamIPAddress_t *_ret) { + struct ISteamGameServer_SteamGameServer015_GetPublicIP_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSendUserStatusResponse(_this->linux_side, steamID, nSecondsConnected, nSecondsSinceLast); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetPublicIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus, 44) -bool __thiscall winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(winISteamGameServer_SteamGameServer002 *_this, int32 nAppIdServed, uint32 unServerFlags, int cPlayers, int cPlayersMax, int cBotPlayers, int unGamePort, const char * pchServerName, const char * pchGameDir, const char * pchMapName, const char * pchVersion) +int8_t __thiscall winISteamGameServer_SteamGameServer015_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) { + struct ISteamGameServer_SteamGameServer015_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus(_this->linux_side, nAppIdServed, unServerFlags, cPlayers, cPlayersMax, cBotPlayers, unGamePort, pchServerName, pchGameDir, pchMapName, pchVersion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_HandleIncomingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus, 24) -bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus(winISteamGameServer_SteamGameServer002 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pchMapName) +int32_t __thiscall winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) { + struct ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSUpdateStatus(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_BSecure, 4) -bool __thiscall winISteamGameServer_SteamGameServer002_BSecure(winISteamGameServer_SteamGameServer002 *_this) +uint64_t __thiscall winISteamGameServer_SteamGameServer015_AssociateWithClan(struct w_steam_iface *_this, CSteamID steamIDClan) { + struct ISteamGameServer_SteamGameServer015_AssociateWithClan_params params = + { + .linux_side = _this->u_iface, + .steamIDClan = steamIDClan, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_BSecure(_this->linux_side); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_AssociateWithClan, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GetSteamID, 8) -CSteamID *__thiscall winISteamGameServer_SteamGameServer002_GetSteamID(winISteamGameServer_SteamGameServer002 *_this, CSteamID *_r) +uint64_t __thiscall winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility(struct w_steam_iface *_this, CSteamID steamIDNewPlayer) { + struct ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility_params params = + { + .linux_side = _this->u_iface, + .steamIDNewPlayer = steamIDNewPlayer, + }; TRACE("%p\n", _this); - *_r = cppISteamGameServer_SteamGameServer002_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType, 28) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType(winISteamGameServer_SteamGameServer002 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint32 unGamePort, const char * pchGameDir, const char * pchVersion) +int8_t __thiscall winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED(struct w_steam_iface *_this, uint32_t unIPClient, const void *pvAuthBlob, uint32_t cubAuthBlobSize, CSteamID *pSteamIDUser) { + struct ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPClient = unIPClient, + .pvAuthBlob = pvAuthBlob, + .cubAuthBlobSize = cubAuthBlobSize, + .pSteamIDUser = pSteamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSetServerType(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, pchGameDir, pchVersion); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetServerType2, 40) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSetServerType2(winISteamGameServer_SteamGameServer002 *_this, int32 nGameAppId, uint32 unServerFlags, uint32 unGameIP, uint16 unGamePort, uint16 unSpectatorPort, uint16 usQueryPort, const char * pchGameDir, const char * pchVersion, bool bLANMode) +CSteamID * __thiscall winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSetServerType2(_this->linux_side, nGameAppId, unServerFlags, unGameIP, unGamePort, unSpectatorPort, usQueryPort, pchGameDir, pchVersion, bLANMode); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateStatus2, 28) -bool __thiscall winISteamGameServer_SteamGameServer002_GSUpdateStatus2(winISteamGameServer_SteamGameServer002 *_this, int cPlayers, int cPlayersMax, int cBotPlayers, const char * pchServerName, const char * pSpectatorServerName, const char * pchMapName) +void __thiscall winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSUpdateStatus2(_this->linux_side, cPlayers, cPlayersMax, cBotPlayers, pchServerName, pSpectatorServerName, pchMapName); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser, 8) -bool __thiscall winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(winISteamGameServer_SteamGameServer002 *_this, CSteamID * pSteamID) +int8_t __thiscall winISteamGameServer_SteamGameServer015_BUpdateUserData(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchPlayerName, uint32_t uScore) { + struct ISteamGameServer_SteamGameServer015_BUpdateUserData_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchPlayerName = pchPlayerName, + .uScore = uScore, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser(_this->linux_side, pSteamID); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_BUpdateUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetUserData, 20) -bool __thiscall winISteamGameServer_SteamGameServer002_GSSetUserData(winISteamGameServer_SteamGameServer002 *_this, CSteamID steamID, const char * pPlayerName, uint32 nFrags) +void __thiscall winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED(struct w_steam_iface *_this, int32_t iHeartbeatInterval) { + struct ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - return cppISteamGameServer_SteamGameServer002_GSSetUserData(_this->linux_side, steamID, pPlayerName, nFrags); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort, 8) -void __thiscall winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(winISteamGameServer_SteamGameServer002 *_this, uint16 unSpectatorPort) +void __thiscall winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED(struct w_steam_iface *_this) { + struct ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort(_this->linux_side, unSpectatorPort); + STEAMCLIENT_CALL( ISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamGameServer_SteamGameServer002_GSSetGameType, 8) -void __thiscall winISteamGameServer_SteamGameServer002_GSSetGameType(winISteamGameServer_SteamGameServer002 *_this, const char * pchType) -{ - TRACE("%p\n", _this); - cppISteamGameServer_SteamGameServer002_GSSetGameType(_this->linux_side, pchType); -} +extern vtable_ptr winISteamGameServer_SteamGameServer015_vtable; -extern vtable_ptr winISteamGameServer_SteamGameServer002_vtable; +DEFINE_RTTI_DATA0(winISteamGameServer_SteamGameServer015, 0, ".?AVISteamGameServer@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamGameServer_SteamGameServer002, - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_LogOff) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BLoggedOn) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetSpawnCount) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSGetSteam2GetEncryptionKeyToSendToNewClient) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam2UserConnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendSteam3UserConnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSRemoveUserConnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserDisconnect) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSendUserStatusResponse) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_Obsolete_GSSetStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_BSecure) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GetSteamID) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetServerType2) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateStatus2) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSCreateUnauthenticatedUser) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetUserData) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSUpdateSpectatorPort) - VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer002_GSSetGameType) +__ASM_BLOCK_BEGIN(winISteamGameServer_SteamGameServer015_vtables) + __ASM_VTABLE(winISteamGameServer_SteamGameServer015, + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_InitGameServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetProduct) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameDescription) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetModDir) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetDedicatedServer) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOnAnonymous) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_LogOff) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BLoggedOn) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BSecure) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetSteamID) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_WasRestartRequested) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMaxPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetBotPlayerCount) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMapName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetPasswordProtected) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorPort) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetSpectatorServerName) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ClearAllKeyValues) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetKeyValue) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameTags) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetGameData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetRegion) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetAdvertiseServerActive) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_EndAuthSession) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_RequestUserGroupStatus) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetGameplayStats) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetServerReputation) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetPublicIP) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_HandleIncomingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_GetNextOutgoingPacket) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_AssociateWithClan) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ComputeNewPlayerCompatibility) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserConnectAndAuthenticate_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_CreateUnauthenticatedUserConnection) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SendUserDisconnect_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_BUpdateUserData) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_SetMasterServerHeartbeatInterval_DEPRECATED) + VTABLE_ADD_FUNC(winISteamGameServer_SteamGameServer015_ForceMasterServerHeartbeat_DEPRECATED) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameServer_SteamGameServer002 *create_winISteamGameServer_SteamGameServer002(void *linux_side) +struct w_steam_iface *create_winISteamGameServer_SteamGameServer015(void *u_iface) { - winISteamGameServer_SteamGameServer002 *r = alloc_mem_for_iface(sizeof(winISteamGameServer_SteamGameServer002), "SteamGameServer002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServer015"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer002_vtable, 21, "SteamGameServer002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamGameServer_SteamGameServer015_vtable, 44, "SteamGameServer015"); + r->u_iface = u_iface; return r; } +void init_winISteamGameServer_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameServer_SteamGameServer002_rtti( base ); + init_winISteamGameServer_SteamGameServer003_rtti( base ); + init_winISteamGameServer_SteamGameServer004_rtti( base ); + init_winISteamGameServer_SteamGameServer005_rtti( base ); + init_winISteamGameServer_SteamGameServer008_rtti( base ); + init_winISteamGameServer_SteamGameServer009_rtti( base ); + init_winISteamGameServer_SteamGameServer010_rtti( base ); + init_winISteamGameServer_SteamGameServer011_rtti( base ); + init_winISteamGameServer_SteamGameServer012_rtti( base ); + init_winISteamGameServer_SteamGameServer013_rtti( base ); + init_winISteamGameServer_SteamGameServer014_rtti( base ); + init_winISteamGameServer_SteamGameServer015_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameServerStats.c b/lsteamclient/winISteamGameServerStats.c index f06b9cb35..45e0e3bba 100644 --- a/lsteamclient/winISteamGameServerStats.c +++ b/lsteamclient/winISteamGameServerStats.c @@ -1,102 +1,159 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamGameServerStats_SteamGameServerStats001.h" - -typedef struct __winISteamGameServerStats_SteamGameServerStats001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameServerStats_SteamGameServerStats001; - DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_RequestUserStats(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, 28) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats, 12) + +uint64_t __thiscall winISteamGameServerStats_SteamGameServerStats001_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServerStats_SteamGameServerStats001_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat, 20) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, 20) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, 20) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat, 20) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, int32 nData) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t nData) { + struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_SetUserStat(_this->linux_side, steamIDUser, pchName, nData); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_SetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, 20) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, float fData) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float fData) { + struct ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_SetUserStat_2(_this->linux_side, steamIDUser, pchName, fData); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_SetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, 28) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat(_this->linux_side, steamIDUser, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_UpdateUserAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, 16) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName) { + struct ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_SetUserAchievement(_this->linux_side, steamIDUser, pchName); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_SetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, 16) -bool __thiscall winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser, const char * pchName) +int8_t __thiscall winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName) { + struct ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement(_this->linux_side, steamIDUser, pchName); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats, 12) -SteamAPICall_t __thiscall winISteamGameServerStats_SteamGameServerStats001_StoreUserStats(winISteamGameServerStats_SteamGameServerStats001 *_this, CSteamID steamIDUser) +uint64_t __thiscall winISteamGameServerStats_SteamGameServerStats001_StoreUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamGameServerStats_SteamGameServerStats001_StoreUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamGameServerStats_SteamGameServerStats001_StoreUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamGameServerStats_SteamGameServerStats001_StoreUserStats, ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameServerStats_SteamGameServerStats001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameServerStats_SteamGameServerStats001, 0, ".?AVISteamGameServerStats@@") + +__ASM_BLOCK_BEGIN(winISteamGameServerStats_SteamGameServerStats001_vtables) __ASM_VTABLE(winISteamGameServerStats_SteamGameServerStats001, VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_RequestUserStats) VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_GetUserStat_2) @@ -109,16 +166,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_ClearUserAchievement) VTABLE_ADD_FUNC(winISteamGameServerStats_SteamGameServerStats001_StoreUserStats) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameServerStats_SteamGameServerStats001 *create_winISteamGameServerStats_SteamGameServerStats001(void *linux_side) +struct w_steam_iface *create_winISteamGameServerStats_SteamGameServerStats001(void *u_iface) { - winISteamGameServerStats_SteamGameServerStats001 *r = alloc_mem_for_iface(sizeof(winISteamGameServerStats_SteamGameServerStats001), "SteamGameServerStats001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameServerStats001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamGameServerStats_SteamGameServerStats001_vtable, 10, "SteamGameServerStats001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamGameServerStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameServerStats_SteamGameServerStats001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamGameStats.c b/lsteamclient/winISteamGameStats.c index c45f567c8..bc70c2a6a 100644 --- a/lsteamclient/winISteamGameStats.c +++ b/lsteamclient/winISteamGameStats.c @@ -1,123 +1,206 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamGameStats_SteamGameStats001.h" - -typedef struct __winISteamGameStats_SteamGameStats001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamGameStats_SteamGameStats001; - DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_GetNewSession, 24) -SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_GetNewSession(winISteamGameStats_SteamGameStats001 *_this, int8 nAccountType, uint64 ulAccountID, int32 nAppID, RTime32 rtTimeStarted) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_EndSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeString, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddNewRow, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitRow, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitOutstandingRows, 12) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAtributeString, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeFloat, 20) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, 24) +DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64, 24) + +uint64_t __thiscall winISteamGameStats_SteamGameStats001_GetNewSession(struct w_steam_iface *_this, int8_t nAccountType, uint64_t ulAccountID, int32_t nAppID, uint32_t rtTimeStarted) { + struct ISteamGameStats_SteamGameStats001_GetNewSession_params params = + { + .linux_side = _this->u_iface, + .nAccountType = nAccountType, + .ulAccountID = ulAccountID, + .nAppID = nAppID, + .rtTimeStarted = rtTimeStarted, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_GetNewSession(_this->linux_side, nAccountType, ulAccountID, nAppID, rtTimeStarted); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_GetNewSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_EndSession, 20) -SteamAPICall_t __thiscall winISteamGameStats_SteamGameStats001_EndSession(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, RTime32 rtTimeEnded, int nReasonCode) +uint64_t __thiscall winISteamGameStats_SteamGameStats001_EndSession(struct w_steam_iface *_this, uint64_t ulSessionID, uint32_t rtTimeEnded, int32_t nReasonCode) { + struct ISteamGameStats_SteamGameStats001_EndSession_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .rtTimeEnded = rtTimeEnded, + .nReasonCode = nReasonCode, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_EndSession(_this->linux_side, ulSessionID, rtTimeEnded, nReasonCode); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_EndSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, int32 nData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, int32_t nData) { + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt(_this->linux_side, ulSessionID, pstrName, nData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeString, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeString(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, const char * pstrData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeString(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, const char *pstrData) { + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeString_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .pstrData = pstrData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddSessionAttributeString(_this->linux_side, ulSessionID, pstrName, pstrData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, float fData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, float fData) { + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddSessionAttributeFloat(_this->linux_side, ulSessionID, pstrName, fData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeFloat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddNewRow, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddNewRow(winISteamGameStats_SteamGameStats001 *_this, uint64 * pulRowID, uint64 ulSessionID, const char * pstrTableName) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddNewRow(struct w_steam_iface *_this, uint64_t *pulRowID, uint64_t ulSessionID, const char *pstrTableName) { + struct ISteamGameStats_SteamGameStats001_AddNewRow_params params = + { + .linux_side = _this->u_iface, + .pulRowID = pulRowID, + .ulSessionID = ulSessionID, + .pstrTableName = pstrTableName, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddNewRow(_this->linux_side, pulRowID, ulSessionID, pstrTableName); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddNewRow, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitRow, 12) -EResult __thiscall winISteamGameStats_SteamGameStats001_CommitRow(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_CommitRow(struct w_steam_iface *_this, uint64_t ulRowID) { + struct ISteamGameStats_SteamGameStats001_CommitRow_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_CommitRow(_this->linux_side, ulRowID); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_CommitRow, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_CommitOutstandingRows, 12) -EResult __thiscall winISteamGameStats_SteamGameStats001_CommitOutstandingRows(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_CommitOutstandingRows(struct w_steam_iface *_this, uint64_t ulSessionID) { + struct ISteamGameStats_SteamGameStats001_CommitOutstandingRows_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_CommitOutstandingRows(_this->linux_side, ulSessionID); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_CommitOutstandingRows, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, int32 nData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, int32_t nData) { + struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddRowAttributeInt(_this->linux_side, ulRowID, pstrName, nData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAtributeString, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAtributeString(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, const char * pstrData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAtributeString(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, const char *pstrData) { + struct ISteamGameStats_SteamGameStats001_AddRowAtributeString_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .pstrData = pstrData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddRowAtributeString(_this->linux_side, ulRowID, pstrName, pstrData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAtributeString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeFloat, 20) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeFloat(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, float fData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeFloat(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, float fData) { + struct ISteamGameStats_SteamGameStats001_AddRowAttributeFloat_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddRowAttributeFloat(_this->linux_side, ulRowID, pstrName, fData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeFloat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, 24) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(winISteamGameStats_SteamGameStats001 *_this, uint64 ulSessionID, const char * pstrName, int64 llData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(struct w_steam_iface *_this, uint64_t ulSessionID, const char *pstrName, int64_t llData) { + struct ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64_params params = + { + .linux_side = _this->u_iface, + .ulSessionID = ulSessionID, + .pstrName = pstrName, + .llData = llData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddSessionAttributeInt64(_this->linux_side, ulSessionID, pstrName, llData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddSessionAttributeInt64, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64, 24) -EResult __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(winISteamGameStats_SteamGameStats001 *_this, uint64 ulRowID, const char * pstrName, int64 llData) +uint32_t __thiscall winISteamGameStats_SteamGameStats001_AddRowAttributeInt64(struct w_steam_iface *_this, uint64_t ulRowID, const char *pstrName, int64_t llData) { + struct ISteamGameStats_SteamGameStats001_AddRowAttributeInt64_params params = + { + .linux_side = _this->u_iface, + .ulRowID = ulRowID, + .pstrName = pstrName, + .llData = llData, + }; TRACE("%p\n", _this); - return cppISteamGameStats_SteamGameStats001_AddRowAttributeInt64(_this->linux_side, ulRowID, pstrName, llData); + STEAMCLIENT_CALL( ISteamGameStats_SteamGameStats001_AddRowAttributeInt64, ¶ms ); + return params._ret; } extern vtable_ptr winISteamGameStats_SteamGameStats001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamGameStats_SteamGameStats001, 0, ".?AVISteamGameStats@@") + +__ASM_BLOCK_BEGIN(winISteamGameStats_SteamGameStats001_vtables) __ASM_VTABLE(winISteamGameStats_SteamGameStats001, VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_GetNewSession) VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_EndSession) @@ -133,16 +216,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddSessionAttributeInt64) VTABLE_ADD_FUNC(winISteamGameStats_SteamGameStats001_AddRowAttributeInt64) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamGameStats_SteamGameStats001 *create_winISteamGameStats_SteamGameStats001(void *linux_side) +struct w_steam_iface *create_winISteamGameStats_SteamGameStats001(void *u_iface) { - winISteamGameStats_SteamGameStats001 *r = alloc_mem_for_iface(sizeof(winISteamGameStats_SteamGameStats001), "SteamGameStats001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamGameStats001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamGameStats_SteamGameStats001_vtable, 13, "SteamGameStats001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamGameStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamGameStats_SteamGameStats001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamHTMLSurface.c b/lsteamclient/winISteamHTMLSurface.c index 3d92a9334..a45a0205a 100644 --- a/lsteamclient/winISteamHTMLSurface.c +++ b/lsteamclient/winISteamHTMLSurface.c @@ -1,941 +1,1459 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005.h" - -typedef struct __winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005; +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, 12) -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor, 4) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor(struct w_steam_iface *_this) {/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this) -{ - TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this) -{ - TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser, 12) -SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, const char * pchUserAgent, const char * pchUserCSS) -{ - TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(_this->linux_side, pchUserAgent, pchUserCSS); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) -{ - TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(_this->linux_side, unBrowserHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(struct w_steam_iface *_this) { - char lin_pchURL[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchURL, lin_pchURL, 1); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(_this->linux_side, unBrowserHandle, pchURL ? lin_pchURL : NULL, pchPostData); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(_this->linux_side, unBrowserHandle, unWidth, unHeight); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +uint64_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchURL, const char *pchPostData) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(_this->linux_side, unBrowserHandle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, const char * pchScript) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(_this->linux_side, unBrowserHandle, pchScript); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchKey, const char *pchValue) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchScript) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(_this->linux_side, unBrowserHandle, nDelta); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers, bool bIsSystemKey) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers, bIsSystemKey); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(_this->linux_side, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t nDelta) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(_this->linux_side, unBrowserHandle, bHasKeyFocus); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t cUnicodeChar, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bHasKeyFocus) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(_this->linux_side, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie, 32) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(_this->linux_side, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchSearchStr, int8_t bCurrentlyInFind, int8_t bReverse) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(_this->linux_side, unBrowserHandle, flZoom, nPointX, nPointY); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(_this->linux_side, unBrowserHandle, bBackgroundMode); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, float flDPIScaling) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(_this->linux_side, unBrowserHandle, flDPIScaling); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bAllowed) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bResult) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(_this->linux_side, unBrowserHandle, bAllowed); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, bool bResult) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char **pchSelectedFiles) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(_this->linux_side, unBrowserHandle, bResult); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *_this, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) -{ - const char **lin_pchSelectedFiles = steamclient_dos_to_unix_stringlist(pchSelectedFiles); - TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(_this->linux_side, unBrowserHandle, pchSelectedFiles ? lin_pchSelectedFiles : NULL); - steamclient_free_stringlist(lin_pchSelectedFiles); -} +extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable; -extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable; +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001, 0, ".?AVISteamHTMLSurface@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005, - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse) +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtables) + __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001, + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *linux_side) +struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001(void *u_iface) { - winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005 *r = alloc_mem_for_iface(sizeof(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005), "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTMLSURFACE_INTERFACE_VERSION_001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable, 38, "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable, 33, "STEAMHTMLSURFACE_INTERFACE_VERSION_001"); + r->u_iface = u_iface; return r; } -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004.h" - -typedef struct __winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004; +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie, 32) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, 12) -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor, 4) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor(struct w_steam_iface *_this) {/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this) -{ - TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser, 12) -SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, const char * pchUserAgent, const char * pchUserCSS) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(_this->linux_side, pchUserAgent, pchUserCSS); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +uint64_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(struct w_steam_iface *_this, uint32_t unBrowserHandle) { - char lin_pchURL[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchURL, lin_pchURL, 1); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(_this->linux_side, unBrowserHandle, pchURL ? lin_pchURL : NULL, pchPostData); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchURL, const char *pchPostData) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(_this->linux_side, unBrowserHandle, unWidth, unHeight); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(_this->linux_side, unBrowserHandle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, const char * pchScript) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchKey, const char *pchValue) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(_this->linux_side, unBrowserHandle, pchScript); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchScript) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(_this->linux_side, unBrowserHandle, nDelta); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t nDelta) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(_this->linux_side, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t cUnicodeChar, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(_this->linux_side, unBrowserHandle, bHasKeyFocus); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bHasKeyFocus) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(_this->linux_side, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchSearchStr, int8_t bCurrentlyInFind, int8_t bReverse) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie, 32) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(_this->linux_side, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, uint32_t nExpires, int8_t bSecure, int8_t bHTTPOnly) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(_this->linux_side, unBrowserHandle, flZoom, nPointX, nPointY); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flZoom, int32_t nPointX, int32_t nPointY) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(_this->linux_side, unBrowserHandle, bBackgroundMode); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, float flDPIScaling) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bAllowed) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(_this->linux_side, unBrowserHandle, flDPIScaling); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bResult) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(_this->linux_side, unBrowserHandle, bAllowed); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, bool bResult) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char **pchSelectedFiles) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(_this->linux_side, unBrowserHandle, bResult); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *_this, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) -{ - const char **lin_pchSelectedFiles = steamclient_dos_to_unix_stringlist(pchSelectedFiles); - TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(_this->linux_side, unBrowserHandle, pchSelectedFiles ? lin_pchSelectedFiles : NULL); - steamclient_free_stringlist(lin_pchSelectedFiles); -} +extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable; -extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable; +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002, 0, ".?AVISteamHTMLSurface@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004, - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse) +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtables) + __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002, + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004(void *linux_side) +struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002(void *u_iface) { - winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004 *r = alloc_mem_for_iface(sizeof(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004), "STEAMHTMLSURFACE_INTERFACE_VERSION_004"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTMLSURFACE_INTERFACE_VERSION_002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable, 37, "STEAMHTMLSURFACE_INTERFACE_VERSION_004"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable, 35, "STEAMHTMLSURFACE_INTERFACE_VERSION_002"); + r->u_iface = u_iface; return r; } -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003.h" - -typedef struct __winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003; - DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_destructor, 4) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_destructor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie, 32) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, 12) + +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_destructor(struct w_steam_iface *_this) {/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser, 12) -SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, const char * pchUserAgent, const char * pchUserCSS) +uint64_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser(_this->linux_side, pchUserAgent, pchUserCSS); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CreateBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_RemoveBrowser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchURL, const char *pchPostData) { - char lin_pchURL[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchURL, lin_pchURL, 1); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL(_this->linux_side, unBrowserHandle, pchURL ? lin_pchURL : NULL, pchPostData); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_LoadURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize(_this->linux_side, unBrowserHandle, unWidth, unHeight); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetSize, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopLoad, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Reload, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoBack, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GoForward, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchKey, const char *pchValue) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader(_this->linux_side, unBrowserHandle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AddHeader, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, const char * pchScript) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchScript) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript(_this->linux_side, unBrowserHandle, pchScript); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ExecuteJavascript, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseDoubleClick, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseMove, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t nDelta) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel(_this->linux_side, unBrowserHandle, nDelta); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_MouseWheel, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t cUnicodeChar, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar(_this->linux_side, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_KeyChar, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetHorizontalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetVerticalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bHasKeyFocus) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus(_this->linux_side, unBrowserHandle, bHasKeyFocus); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetKeyFocus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_ViewSource, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_CopyToClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_PasteFromClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchSearchStr, int8_t bCurrentlyInFind, int8_t bReverse) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find(_this->linux_side, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Find, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_StopFind, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_GetLinkAtPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie, 32) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, uint32_t nExpires, int8_t bSecure, int8_t bHTTPOnly) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie(_this->linux_side, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetCookie, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flZoom, int32_t nPointX, int32_t nPointY) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor(_this->linux_side, unBrowserHandle, flZoom, nPointX, nPointY); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetPageScaleFactor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, bool bBackgroundMode) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bBackgroundMode) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode(_this->linux_side, unBrowserHandle, bBackgroundMode); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_SetBackgroundMode, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bAllowed) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest(_this->linux_side, unBrowserHandle, bAllowed); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_AllowStartRequest, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, bool bResult) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bResult) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse(_this->linux_side, unBrowserHandle, bResult); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *_this, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char **pchSelectedFiles) { - const char **lin_pchSelectedFiles = steamclient_dos_to_unix_stringlist(pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse(_this->linux_side, unBrowserHandle, pchSelectedFiles ? lin_pchSelectedFiles : NULL); - steamclient_free_stringlist(lin_pchSelectedFiles); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse, ¶ms ); } extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtables) __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003, VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_destructor) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_Init) @@ -974,616 +1492,1108 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_JSDialogResponse) VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_FileLoadDialogResponse) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003(void *linux_side) +struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003(void *u_iface) { - winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003 *r = alloc_mem_for_iface(sizeof(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003), "STEAMHTMLSURFACE_INTERFACE_VERSION_003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTMLSURFACE_INTERFACE_VERSION_003"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_vtable, 36, "STEAMHTMLSURFACE_INTERFACE_VERSION_003"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002.h" - -typedef struct __winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002; +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie, 32) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, 12) -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor, 4) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor(struct w_steam_iface *_this) {/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser, 12) -SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, const char * pchUserAgent, const char * pchUserCSS) +uint64_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser(_this->linux_side, pchUserAgent, pchUserCSS); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchURL, const char *pchPostData) { - char lin_pchURL[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchURL, lin_pchURL, 1); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL(_this->linux_side, unBrowserHandle, pchURL ? lin_pchURL : NULL, pchPostData); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize(_this->linux_side, unBrowserHandle, unWidth, unHeight); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchKey, const char *pchValue) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader(_this->linux_side, unBrowserHandle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, const char * pchScript) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchScript) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript(_this->linux_side, unBrowserHandle, pchScript); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t nDelta) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel(_this->linux_side, unBrowserHandle, nDelta); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t cUnicodeChar, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar(_this->linux_side, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bHasKeyFocus) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus(_this->linux_side, unBrowserHandle, bHasKeyFocus); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchSearchStr, int8_t bCurrentlyInFind, int8_t bReverse) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find(_this->linux_side, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie, 32) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, uint32_t nExpires, int8_t bSecure, int8_t bHTTPOnly) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie(_this->linux_side, pchHostname, pchKey, pchValue, pchPath, nExpires, bSecure, bHTTPOnly); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flZoom, int32_t nPointX, int32_t nPointY) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor(_this->linux_side, unBrowserHandle, flZoom, nPointX, nPointY); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bBackgroundMode) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest(_this->linux_side, unBrowserHandle, bAllowed); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, bool bResult) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flDPIScaling) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flDPIScaling = flDPIScaling, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse(_this->linux_side, unBrowserHandle, bResult); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *_this, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bAllowed) { - const char **lin_pchSelectedFiles = steamclient_dos_to_unix_stringlist(pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse(_this->linux_side, unBrowserHandle, pchSelectedFiles ? lin_pchSelectedFiles : NULL); - steamclient_free_stringlist(lin_pchSelectedFiles); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest, ¶ms ); } -extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable; +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bResult) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002, - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_destructor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Init) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Shutdown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CreateBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_RemoveBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_LoadURL) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetSize) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopLoad) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Reload) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoBack) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GoForward) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AddHeader) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ExecuteJavascript) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseDoubleClick) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseMove) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_MouseWheel) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_KeyChar) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetHorizontalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetVerticalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetKeyFocus) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_ViewSource) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_CopyToClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_PasteFromClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_Find) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_StopFind) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_GetLinkAtPosition) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetCookie) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_SetPageScaleFactor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_AllowStartRequest) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_JSDialogResponse) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_FileLoadDialogResponse) - ); -#ifndef __GNUC__ +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char **pchSelectedFiles) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse, ¶ms ); } -#endif -winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002(void *linux_side) +extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable; + +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtables) + __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004, + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_destructor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Init) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Shutdown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CreateBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_RemoveBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_LoadURL) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetSize) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopLoad) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Reload) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoBack) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GoForward) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AddHeader) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ExecuteJavascript) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseDoubleClick) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseMove) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_MouseWheel) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_KeyChar) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetHorizontalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetVerticalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetKeyFocus) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_ViewSource) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_CopyToClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_PasteFromClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_Find) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_StopFind) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_GetLinkAtPosition) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetCookie) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetPageScaleFactor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetBackgroundMode) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_SetDPIScalingFactor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_AllowStartRequest) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_JSDialogResponse) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_FileLoadDialogResponse) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004(void *u_iface) { - winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002 *r = alloc_mem_for_iface(sizeof(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002), "STEAMHTMLSURFACE_INTERFACE_VERSION_002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTMLSURFACE_INTERFACE_VERSION_004"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_vtable, 35, "STEAMHTMLSURFACE_INTERFACE_VERSION_002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_vtable, 37, "STEAMHTMLSURFACE_INTERFACE_VERSION_004"); + r->u_iface = u_iface; return r; } -#include "cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001.h" - -typedef struct __winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001; +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie, 32) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, 12) -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor, 4) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor(struct w_steam_iface *_this) {/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown, 4) -bool __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this) +int8_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown(struct w_steam_iface *_this) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser, 12) -SteamAPICall_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, const char * pchUserAgent, const char * pchUserCSS) +uint64_t __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser(struct w_steam_iface *_this, const char *pchUserAgent, const char *pchUserCSS) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser_params params = + { + .linux_side = _this->u_iface, + .pchUserAgent = pchUserAgent, + .pchUserCSS = pchUserCSS, + }; TRACE("%p\n", _this); - return cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser(_this->linux_side, pchUserAgent, pchUserCSS); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchURL, const char *pchPostData) { - char lin_pchURL[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchURL, lin_pchURL, 1); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchURL = pchURL, + .pchPostData = pchPostData, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL(_this->linux_side, unBrowserHandle, pchURL ? lin_pchURL : NULL, pchPostData); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t unWidth, uint32_t unHeight) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .unWidth = unWidth, + .unHeight = unHeight, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize(_this->linux_side, unBrowserHandle, unWidth, unHeight); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchKey, const char *pchValue) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader(_this->linux_side, unBrowserHandle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, const char * pchScript) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchScript) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchScript = pchScript, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript(_this->linux_side, unBrowserHandle, pchScript); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, EHTMLMouseButton eMouseButton) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t eMouseButton) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .eMouseButton = eMouseButton, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick(_this->linux_side, unBrowserHandle, eMouseButton); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, int32 nDelta) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t nDelta) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nDelta = nDelta, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel(_this->linux_side, unBrowserHandle, nDelta); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers, int8_t bIsSystemKey) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + .bIsSystemKey = bIsSystemKey, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nNativeKeyCode, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nNativeKeyCode = nNativeKeyCode, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp(_this->linux_side, unBrowserHandle, nNativeKeyCode, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, EHTMLKeyModifiers eHTMLKeyModifiers) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t cUnicodeChar, uint32_t eHTMLKeyModifiers) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .cUnicodeChar = cUnicodeChar, + .eHTMLKeyModifiers = eHTMLKeyModifiers, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar(_this->linux_side, unBrowserHandle, cUnicodeChar, eHTMLKeyModifiers); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll(struct w_steam_iface *_this, uint32_t unBrowserHandle, uint32_t nAbsolutePixelScroll) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .nAbsolutePixelScroll = nAbsolutePixelScroll, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll(_this->linux_side, unBrowserHandle, nAbsolutePixelScroll); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bHasKeyFocus) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bHasKeyFocus = bHasKeyFocus, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus(_this->linux_side, unBrowserHandle, bHasKeyFocus); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find, 20) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char *pchSearchStr, int8_t bCurrentlyInFind, int8_t bReverse) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSearchStr = pchSearchStr, + .bCurrentlyInFind = bCurrentlyInFind, + .bReverse = bReverse, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find(_this->linux_side, unBrowserHandle, pchSearchStr, bCurrentlyInFind, bReverse); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind, 8) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind(struct w_steam_iface *_this, uint32_t unBrowserHandle) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind(_this->linux_side, unBrowserHandle); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition, 16) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, int x, int y) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition(struct w_steam_iface *_this, uint32_t unBrowserHandle, int32_t x, int32_t y) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .x = x, + .y = y, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition(_this->linux_side, unBrowserHandle, x, y); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, bool bAllowed) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie(struct w_steam_iface *_this, const char *pchHostname, const char *pchKey, const char *pchValue, const char *pchPath, uint32_t nExpires, int8_t bSecure, int8_t bHTTPOnly) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie_params params = + { + .linux_side = _this->u_iface, + .pchHostname = pchHostname, + .pchKey = pchKey, + .pchValue = pchValue, + .pchPath = pchPath, + .nExpires = nExpires, + .bSecure = bSecure, + .bHTTPOnly = bHTTPOnly, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest(_this->linux_side, unBrowserHandle, bAllowed); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, bool bResult) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flZoom, int32_t nPointX, int32_t nPointY) { + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flZoom = flZoom, + .nPointX = nPointX, + .nPointY = nPointY, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse(_this->linux_side, unBrowserHandle, bResult); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse, 12) -void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *_this, HHTMLBrowser unBrowserHandle, const char ** pchSelectedFiles) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bBackgroundMode) { - const char **lin_pchSelectedFiles = steamclient_dos_to_unix_stringlist(pchSelectedFiles); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bBackgroundMode = bBackgroundMode, + }; TRACE("%p\n", _this); - cppISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse(_this->linux_side, unBrowserHandle, pchSelectedFiles ? lin_pchSelectedFiles : NULL); - steamclient_free_stringlist(lin_pchSelectedFiles); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode, ¶ms ); } -extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable; +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor(struct w_steam_iface *_this, uint32_t unBrowserHandle, float flDPIScaling) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .flDPIScaling = flDPIScaling, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001, - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_destructor) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Init) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Shutdown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CreateBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_RemoveBrowser) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_LoadURL) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetSize) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopLoad) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Reload) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoBack) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GoForward) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AddHeader) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ExecuteJavascript) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseDoubleClick) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseMove) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_MouseWheel) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyDown) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyUp) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_KeyChar) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetHorizontalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetVerticalScroll) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_SetKeyFocus) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_ViewSource) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_CopyToClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_PasteFromClipboard) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_Find) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_StopFind) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_GetLinkAtPosition) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_AllowStartRequest) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_JSDialogResponse) - VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_FileLoadDialogResponse) - ); -#ifndef __GNUC__ +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools(struct w_steam_iface *_this, uint32_t unBrowserHandle) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools, ¶ms ); } -#endif -winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001(void *linux_side) +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bAllowed) { - winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001 *r = alloc_mem_for_iface(sizeof(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001), "STEAMHTMLSURFACE_INTERFACE_VERSION_001"); + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bAllowed = bAllowed, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest, ¶ms ); +} + +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, int8_t bResult) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .bResult = bResult, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse, ¶ms ); +} + +void __thiscall winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse(struct w_steam_iface *_this, uint32_t unBrowserHandle, const char **pchSelectedFiles) +{ + struct ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse_params params = + { + .linux_side = _this->u_iface, + .unBrowserHandle = unBrowserHandle, + .pchSelectedFiles = pchSelectedFiles, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse, ¶ms ); +} + +extern vtable_ptr winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable; + +DEFINE_RTTI_DATA0(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005, 0, ".?AVISteamHTMLSurface@@") + +__ASM_BLOCK_BEGIN(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtables) + __ASM_VTABLE(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005, + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_destructor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Init) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Shutdown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CreateBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_RemoveBrowser) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_LoadURL) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetSize) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopLoad) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Reload) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoBack) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GoForward) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AddHeader) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ExecuteJavascript) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseDoubleClick) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseMove) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_MouseWheel) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyDown) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyUp) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_KeyChar) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetHorizontalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetVerticalScroll) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetKeyFocus) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_ViewSource) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_CopyToClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_PasteFromClipboard) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_Find) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_StopFind) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_GetLinkAtPosition) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetCookie) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetPageScaleFactor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetBackgroundMode) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_SetDPIScalingFactor) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_OpenDeveloperTools) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_AllowStartRequest) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_JSDialogResponse) + VTABLE_ADD_FUNC(winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_FileLoadDialogResponse) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_vtable, 33, "STEAMHTMLSURFACE_INTERFACE_VERSION_001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_vtable, 38, "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); + r->u_iface = u_iface; return r; } +void init_winISteamHTMLSurface_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004_rtti( base ); + init_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamHTTP.c b/lsteamclient/winISteamHTTP.c index 4078ce07b..76e4156cd 100644 --- a/lsteamclient/winISteamHTTP.c +++ b/lsteamclient/winISteamHTTP.c @@ -1,434 +1,620 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003.h" - -typedef struct __winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003; - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, 12) -HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(_this->linux_side, eHTTPRequestMethod, pchAbsoluteURL); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(_this->linux_side, hRequest, ulContextValue); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(_this->linux_side, hRequest, unTimeoutSeconds); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(_this->linux_side, hRequest, pchHeaderName, pchHeaderValue); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(_this->linux_side, hRequest, pchParamName, pchParamValue); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(_this->linux_side, hRequest, pCallHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(_this->linux_side, hRequest, pCallHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(_this->linux_side, hRequest); -} +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, 20) -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest) +uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(_this->linux_side, hRequest, pchHeaderName, unResponseHeaderSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(_this->linux_side, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint32 * unBodySize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(_this->linux_side, hRequest, unBodySize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(_this->linux_side, hRequest, pBodyDataBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(_this->linux_side, hRequest, cOffset, pBodyDataBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, float * pflPercentOut) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(_this->linux_side, hRequest, pflPercentOut); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(_this->linux_side, hRequest, pchContentType, pubBody, unBodyLen); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, 8) -HTTPCookieContainerHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, bool bAllowResponsesToModify) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(_this->linux_side, bAllowResponsesToModify); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPCookieContainerHandle hCookieContainer) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(_this->linux_side, hCookieContainer); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(_this->linux_side, hCookieContainer, pchHost, pchUrl, pchCookie); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(_this->linux_side, hRequest, hCookieContainer); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, const char * pchUserAgentInfo) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(_this->linux_side, hRequest, pchUserAgentInfo); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(_this->linux_side, hRequest, bRequireVerifiedCertificate); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, uint32 unMilliseconds) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(_this->linux_side, hRequest, unMilliseconds); -} - -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *_this, HTTPRequestHandle hRequest, bool * pbWasTimedOut) -{ - TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(_this->linux_side, hRequest, pbWasTimedOut); -} +extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable; -extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable; +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, 0, ".?AVISteamHTTP@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut) +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *linux_side) +struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *u_iface) { - winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003), "STEAMHTTP_INTERFACE_VERSION003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable, 25, "STEAMHTTP_INTERFACE_VERSION003"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable, 15, "STEAMHTTP_INTERFACE_VERSION001"); + r->u_iface = u_iface; return r; } -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002.h" - -typedef struct __winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002; - DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, 12) -HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, 12) + +uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(_this->linux_side, eHTTPRequestMethod, pchAbsoluteURL); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(_this->linux_side, hRequest, ulContextValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(_this->linux_side, hRequest, unTimeoutSeconds); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(_this->linux_side, hRequest, pchHeaderName, pchHeaderValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(_this->linux_side, hRequest, pchParamName, pchParamValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(_this->linux_side, hRequest, pCallHandle); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(_this->linux_side, hRequest, pCallHandle); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(_this->linux_side, hRequest, pchHeaderName, unResponseHeaderSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(_this->linux_side, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint32 * unBodySize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(_this->linux_side, hRequest, unBodySize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(_this->linux_side, hRequest, pBodyDataBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint32_t cOffset, uint8_t *pBodyDataBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .cOffset = cOffset, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(_this->linux_side, hRequest, cOffset, pBodyDataBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, float * pflPercentOut) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(_this->linux_side, hRequest, pflPercentOut); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(_this->linux_side, hRequest, pchContentType, pubBody, unBodyLen); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, 8) -HTTPCookieContainerHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, bool bAllowResponsesToModify) +uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(struct w_steam_iface *_this, int8_t bAllowResponsesToModify) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params params = + { + .linux_side = _this->u_iface, + .bAllowResponsesToModify = bAllowResponsesToModify, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(_this->linux_side, bAllowResponsesToModify); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPCookieContainerHandle hCookieContainer) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(struct w_steam_iface *_this, uint32_t hCookieContainer) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(_this->linux_side, hCookieContainer); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(struct w_steam_iface *_this, uint32_t hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + .pchHost = pchHost, + .pchUrl = pchUrl, + .pchCookie = pchCookie, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(_this->linux_side, hCookieContainer, pchHost, pchUrl, pchCookie); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, uint32_t hRequest, uint32_t hCookieContainer) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .hCookieContainer = hCookieContainer, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(_this->linux_side, hRequest, hCookieContainer); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, const char * pchUserAgentInfo) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, uint32_t hRequest, const char *pchUserAgentInfo) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchUserAgentInfo = pchUserAgentInfo, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(_this->linux_side, hRequest, pchUserAgentInfo); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, uint32_t hRequest, int8_t bRequireVerifiedCertificate) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .bRequireVerifiedCertificate = bRequireVerifiedCertificate, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(_this->linux_side, hRequest, bRequireVerifiedCertificate); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, uint32 unMilliseconds) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unMilliseconds) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unMilliseconds = unMilliseconds, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(_this->linux_side, hRequest, unMilliseconds); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *_this, HTTPRequestHandle hRequest, bool * pbWasTimedOut) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, uint32_t hRequest, int8_t *pbWasTimedOut) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pbWasTimedOut = pbWasTimedOut, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(_this->linux_side, hRequest, pbWasTimedOut); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, ¶ms ); + return params._ret; } extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002, 0, ".?AVISteamHTTP@@") + +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue) @@ -456,163 +642,423 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS) VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *linux_side) +struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *u_iface) { - winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002), "STEAMHTTP_INTERFACE_VERSION002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable, 25, "STEAMHTTP_INTERFACE_VERSION002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001.h" +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, 8) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, 20) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, 12) +DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, 12) -typedef struct __winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001; +uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .eHTTPRequestMethod = eHTTPRequestMethod, + .pchAbsoluteURL = pchAbsoluteURL, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, 12) -HTTPRequestHandle __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .ulContextValue = ulContextValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(_this->linux_side, eHTTPRequestMethod, pchAbsoluteURL); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, uint64 ulContextValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unTimeoutSeconds = unTimeoutSeconds, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(_this->linux_side, hRequest, ulContextValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pchHeaderValue = pchHeaderValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(_this->linux_side, hRequest, unTimeoutSeconds); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchParamName = pchParamName, + .pchParamValue = pchParamValue, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(_this->linux_side, hRequest, pchHeaderName, pchHeaderValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(_this->linux_side, hRequest, pchParamName, pchParamValue); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pCallHandle = pCallHandle, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(_this->linux_side, hRequest, pCallHandle); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .unResponseHeaderSize = unResponseHeaderSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(_this->linux_side, hRequest, pchHeaderName, unResponseHeaderSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchHeaderName = pchHeaderName, + .pHeaderValueBuffer = pHeaderValueBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(_this->linux_side, hRequest, pchHeaderName, pHeaderValueBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, uint32 * unBodySize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unBodySize = unBodySize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(_this->linux_side, hRequest, unBodySize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, 16) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(_this->linux_side, hRequest, pBodyDataBuffer, unBufferSize); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, 8) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint32_t cOffset, uint8_t *pBodyDataBuffer, uint32_t unBufferSize) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .cOffset = cOffset, + .pBodyDataBuffer = pBodyDataBuffer, + .unBufferSize = unBufferSize, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, 12) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, float * pflPercentOut) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(_this->linux_side, hRequest, pflPercentOut); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, 20) -bool __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *_this, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut) { + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pflPercentOut = pflPercentOut, + }; TRACE("%p\n", _this); - return cppISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(_this->linux_side, hRequest, pchContentType, pubBody, unBodyLen); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable; +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchContentType = pchContentType, + .pubBody = pubBody, + .unBodyLen = unBodyLen, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct) - VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(struct w_steam_iface *_this, int8_t bAllowResponsesToModify) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params params = + { + .linux_side = _this->u_iface, + .bAllowResponsesToModify = bAllowResponsesToModify, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(struct w_steam_iface *_this, uint32_t hCookieContainer) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(struct w_steam_iface *_this, uint32_t hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params params = + { + .linux_side = _this->u_iface, + .hCookieContainer = hCookieContainer, + .pchHost = pchHost, + .pchUrl = pchUrl, + .pchCookie = pchCookie, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, uint32_t hRequest, uint32_t hCookieContainer) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .hCookieContainer = hCookieContainer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, uint32_t hRequest, const char *pchUserAgentInfo) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pchUserAgentInfo = pchUserAgentInfo, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, uint32_t hRequest, int8_t bRequireVerifiedCertificate) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .bRequireVerifiedCertificate = bRequireVerifiedCertificate, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unMilliseconds) +{ + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .unMilliseconds = unMilliseconds, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, ¶ms ); + return params._ret; } -#endif -winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *linux_side) +int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, uint32_t hRequest, int8_t *pbWasTimedOut) { - winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001), "STEAMHTTP_INTERFACE_VERSION001"); + struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .pbWasTimedOut = pbWasTimedOut, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable; + +DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, 0, ".?AVISteamHTTP@@") + +__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS) + VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable, 15, "STEAMHTTP_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable, 25, "STEAMHTTP_INTERFACE_VERSION003"); + r->u_iface = u_iface; return r; } +void init_winISteamHTTP_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_rtti( base ); + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_rtti( base ); + init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamInput.c b/lsteamclient/winISteamInput.c index 3befacd92..a3d7235e4 100644 --- a/lsteamclient/winISteamInput.c +++ b/lsteamclient/winISteamInput.c @@ -1,1461 +1,2346 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamInput_SteamInput006.h" - -typedef struct __winISteamInput_SteamInput006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInput_SteamInput006; +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGlyphForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDeviceBindingRevision, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetRemotePlaySessionID, 12) -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Init, 8) -bool __thiscall winISteamInput_SteamInput006_Init(winISteamInput_SteamInput006 *_this, bool bExplicitlyCallRunFrame) +int8_t __thiscall winISteamInput_SteamInput001_Init(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput001_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_Init(_this->linux_side, bExplicitlyCallRunFrame); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Shutdown, 4) -bool __thiscall winISteamInput_SteamInput006_Shutdown(winISteamInput_SteamInput006 *_this) +int8_t __thiscall winISteamInput_SteamInput001_Shutdown(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput001_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetInputActionManifestFilePath, 8) -bool __thiscall winISteamInput_SteamInput006_SetInputActionManifestFilePath(winISteamInput_SteamInput006 *_this, const char * pchInputActionManifestAbsolutePath) +void __thiscall winISteamInput_SteamInput001_RunFrame(struct w_steam_iface *_this) { - char lin_pchInputActionManifestAbsolutePath[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchInputActionManifestAbsolutePath, lin_pchInputActionManifestAbsolutePath, 0); + struct ISteamInput_SteamInput001_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_SetInputActionManifestFilePath(_this->linux_side, pchInputActionManifestAbsolutePath ? lin_pchInputActionManifestAbsolutePath : NULL); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_RunFrame, 8) -void __thiscall winISteamInput_SteamInput006_RunFrame(winISteamInput_SteamInput006 *_this, bool bReservedValue) +int32_t __thiscall winISteamInput_SteamInput001_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamInput_SteamInput001_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_RunFrame(_this->linux_side, bReservedValue); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_BWaitForData, 12) -bool __thiscall winISteamInput_SteamInput006_BWaitForData(winISteamInput_SteamInput006 *_this, bool bWaitForever, uint32 unTimeout) +uint64_t __thiscall winISteamInput_SteamInput001_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamInput_SteamInput001_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_BWaitForData(_this->linux_side, bWaitForever, unTimeout); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_BNewDataAvailable, 4) -bool __thiscall winISteamInput_SteamInput006_BNewDataAvailable(winISteamInput_SteamInput006 *_this) +void __thiscall winISteamInput_SteamInput001_ActivateActionSet(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle) { + struct ISteamInput_SteamInput001_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_BNewDataAvailable(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetConnectedControllers, 8) -int __thiscall winISteamInput_SteamInput006_GetConnectedControllers(winISteamInput_SteamInput006 *_this, InputHandle_t * handlesOut) +uint64_t __thiscall winISteamInput_SteamInput001_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_EnableDeviceCallbacks, 4) -void __thiscall winISteamInput_SteamInput006_EnableDeviceCallbacks(winISteamInput_SteamInput006 *_this) +void __thiscall winISteamInput_SteamInput001_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput001_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_EnableDeviceCallbacks(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_EnableActionEventCallbacks, 8) -void __thiscall winISteamInput_SteamInput006_EnableActionEventCallbacks(winISteamInput_SteamInput006 *_this, SteamInputActionEventCallbackPointer pCallback) +void __thiscall winISteamInput_SteamInput001_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput001_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_EnableActionEventCallbacks(_this->linux_side, pCallback); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActionSetHandle, 8) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput006_GetActionSetHandle(winISteamInput_SteamInput006 *_this, const char * pszActionSetName) +void __thiscall winISteamInput_SteamInput001_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ActivateActionSet, 20) -void __thiscall winISteamInput_SteamInput006_ActivateActionSet(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +int32_t __thiscall winISteamInput_SteamInput001_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t *handlesOut) { + struct ISteamInput_SteamInput001_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_ActivateActionSet(_this->linux_side, inputHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetCurrentActionSet, 12) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput006_GetCurrentActionSet(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle) +uint64_t __thiscall winISteamInput_SteamInput001_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput001_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetCurrentActionSet(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ActivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput006_ActivateActionSetLayer(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +InputDigitalActionData_t * __thiscall winISteamInput_SteamInput001_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t inputHandle, uint64_t digitalActionHandle) { + struct ISteamInput_SteamInput001_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_ActivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_DeactivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput006_DeactivateActionSetLayer(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +int32_t __thiscall winISteamInput_SteamInput001_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput001_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_DeactivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamInput_SteamInput006_DeactivateAllActionSetLayers(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle) +uint64_t __thiscall winISteamInput_SteamInput001_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput001_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_DeactivateAllActionSetLayers(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActiveActionSetLayers, 16) -int __thiscall winISteamInput_SteamInput006_GetActiveActionSetLayers(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +InputAnalogActionData_t * __thiscall winISteamInput_SteamInput001_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t inputHandle, uint64_t analogActionHandle) { + struct ISteamInput_SteamInput001_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetActiveActionSetLayers(_this->linux_side, inputHandle, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionHandle, 8) -InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput006_GetDigitalActionHandle(winISteamInput_SteamInput006 *_this, const char * pszActionName) +int32_t __thiscall winISteamInput_SteamInput001_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput001_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamInput_SteamInput006_GetDigitalActionData(winISteamInput_SteamInput006 *_this, InputDigitalActionData_t *_r, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +const char * __thiscall winISteamInput_SteamInput001_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput001_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput006_GetDigitalActionData(_this->linux_side, inputHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionOrigins, 32) -int __thiscall winISteamInput_SteamInput006_GetDigitalActionOrigins(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +void __thiscall winISteamInput_SteamInput001_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t eAction) { + struct ISteamInput_SteamInput001_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetDigitalActionOrigins(_this->linux_side, inputHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForDigitalActionName, 12) -const char * __thiscall winISteamInput_SteamInput006_GetStringForDigitalActionName(winISteamInput_SteamInput006 *_this, InputDigitalActionHandle_t eActionHandle) +InputMotionData_t * __thiscall winISteamInput_SteamInput001_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetStringForDigitalActionName(_this->linux_side, eActionHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionHandle, 8) -InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput006_GetAnalogActionHandle(winISteamInput_SteamInput006 *_this, const char * pszActionName) +void __thiscall winISteamInput_SteamInput001_TriggerVibration(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamInput_SteamInput001_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamInput_SteamInput006_GetAnalogActionData(winISteamInput_SteamInput006 *_this, InputAnalogActionData_t *_r, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void __thiscall winISteamInput_SteamInput001_SetLEDColor(struct w_steam_iface *_this, uint64_t inputHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamInput_SteamInput001_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput006_GetAnalogActionData(_this->linux_side, inputHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput001_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionOrigins, 32) -int __thiscall winISteamInput_SteamInput006_GetAnalogActionOrigins(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +void __thiscall winISteamInput_SteamInput001_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamInput_SteamInput001_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetAnalogActionOrigins(_this->linux_side, inputHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, 16) -const char * __thiscall winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(winISteamInput_SteamInput006 *_this, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +void __thiscall winISteamInput_SteamInput001_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetGlyphPNGForActionOrigin(_this->linux_side, eOrigin, eSize, unFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, 12) -const char * __thiscall winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(winISteamInput_SteamInput006 *_this, EInputActionOrigin eOrigin, uint32 unFlags) +int8_t __thiscall winISteamInput_SteamInput001_ShowBindingPanel(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetGlyphSVGForActionOrigin(_this->linux_side, eOrigin, unFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, 8) -const char * __thiscall winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(winISteamInput_SteamInput006 *_this, EInputActionOrigin eOrigin) +uint32_t __thiscall winISteamInput_SteamInput001_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput006_GetStringForActionOrigin(winISteamInput_SteamInput006 *_this, EInputActionOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput001_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamInput_SteamInput001_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForAnalogActionName, 12) -const char * __thiscall winISteamInput_SteamInput006_GetStringForAnalogActionName(winISteamInput_SteamInput006 *_this, InputAnalogActionHandle_t eActionHandle) +int32_t __thiscall winISteamInput_SteamInput001_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulinputHandle) { + struct ISteamInput_SteamInput001_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetStringForAnalogActionName(_this->linux_side, eActionHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_StopAnalogActionMomentum, 20) -void __thiscall winISteamInput_SteamInput006_StopAnalogActionMomentum(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +const char * __thiscall winISteamInput_SteamInput001_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput001_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_StopAnalogActionMomentum(_this->linux_side, inputHandle, eAction); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamInput_SteamInput006_GetMotionData(winISteamInput_SteamInput006 *_this, InputMotionData_t *_r, InputHandle_t inputHandle) +uint32_t __thiscall winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eOrigin) { + struct ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput006_GetMotionData(_this->linux_side, inputHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerVibration, 20) -void __thiscall winISteamInput_SteamInput006_TriggerVibration(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +uint32_t __thiscall winISteamInput_SteamInput001_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamInput_SteamInput001_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerVibration(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerVibrationExtended, 28) -void __thiscall winISteamInput_SteamInput006_TriggerVibrationExtended(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +int8_t __thiscall winISteamInput_SteamInput001_GetDeviceBindingRevision(struct w_steam_iface *_this, uint64_t inputHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamInput_SteamInput001_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerVibrationExtended(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed, usLeftTriggerSpeed, usRightTriggerSpeed); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetDeviceBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerSimpleHapticEvent, 32) -void __thiscall winISteamInput_SteamInput006_TriggerSimpleHapticEvent(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +uint32_t __thiscall winISteamInput_SteamInput001_GetRemotePlaySessionID(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput001_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_TriggerSimpleHapticEvent(_this->linux_side, inputHandle, eHapticLocation, nIntensity, nGainDB, nOtherIntensity, nOtherGainDB); + STEAMCLIENT_CALL( ISteamInput_SteamInput001_GetRemotePlaySessionID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetLEDColor, 28) -void __thiscall winISteamInput_SteamInput006_SetLEDColor(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) -{ - TRACE("%p\n", _this); - cppISteamInput_SteamInput006_SetLEDColor(_this->linux_side, inputHandle, nColorR, nColorG, nColorB, nFlags); -} +extern vtable_ptr winISteamInput_SteamInput001_vtable; -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Legacy_TriggerHapticPulse, 20) -void __thiscall winISteamInput_SteamInput006_Legacy_TriggerHapticPulse(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppISteamInput_SteamInput006_Legacy_TriggerHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec); -} +DEFINE_RTTI_DATA0(winISteamInput_SteamInput001, 0, ".?AVISteamInput@@") -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput001_vtables) + __ASM_VTABLE(winISteamInput_SteamInput001, + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Init) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Shutdown) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_RunFrame) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGlyphForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetMotionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerVibration) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_SetLEDColor) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDeviceBindingRevision) + VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetRemotePlaySessionID) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamInput_SteamInput001(void *u_iface) { - TRACE("%p\n", _this); - cppISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamInput001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamInput_SteamInput001_vtable, 35, "SteamInput001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ShowBindingPanel, 12) -bool __thiscall winISteamInput_SteamInput006_ShowBindingPanel(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_Init, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGlyphForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDeviceBindingRevision, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetRemotePlaySessionID, 12) + +int8_t __thiscall winISteamInput_SteamInput002_Init(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput002_Init_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_ShowBindingPanel(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamInput_SteamInput006_GetInputTypeForHandle(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle) +int8_t __thiscall winISteamInput_SteamInput002_Shutdown(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput002_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetInputTypeForHandle(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetControllerForGamepadIndex, 8) -InputHandle_t __thiscall winISteamInput_SteamInput006_GetControllerForGamepadIndex(winISteamInput_SteamInput006 *_this, int nIndex) +void __thiscall winISteamInput_SteamInput002_RunFrame(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput002_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGamepadIndexForController, 12) -int __thiscall winISteamInput_SteamInput006_GetGamepadIndexForController(winISteamInput_SteamInput006 *_this, InputHandle_t ulinputHandle) +int32_t __thiscall winISteamInput_SteamInput002_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamInput_SteamInput002_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetGamepadIndexForController(_this->linux_side, ulinputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput006_GetStringForXboxOrigin(winISteamInput_SteamInput006 *_this, EXboxOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput002_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamInput_SteamInput002_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput006_GetGlyphForXboxOrigin(winISteamInput_SteamInput006 *_this, EXboxOrigin eOrigin) +void __thiscall winISteamInput_SteamInput002_ActivateActionSet(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle) { + struct ISteamInput_SteamInput002_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin, 16) -EInputActionOrigin __thiscall winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput002_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(_this->linux_side, inputHandle, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TranslateActionOrigin, 12) -EInputActionOrigin __thiscall winISteamInput_SteamInput006_TranslateActionOrigin(winISteamInput_SteamInput006 *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void __thiscall winISteamInput_SteamInput002_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput002_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDeviceBindingRevision, 20) -bool __thiscall winISteamInput_SteamInput006_GetDeviceBindingRevision(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +void __thiscall winISteamInput_SteamInput002_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput002_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetRemotePlaySessionID, 12) -uint32 __thiscall winISteamInput_SteamInput006_GetRemotePlaySessionID(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle) +void __thiscall winISteamInput_SteamInput002_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetRemotePlaySessionID(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetSessionInputConfigurationSettings, 4) -uint16 __thiscall winISteamInput_SteamInput006_GetSessionInputConfigurationSettings(winISteamInput_SteamInput006 *_this) +int32_t __thiscall winISteamInput_SteamInput002_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t *handlesOut) { + struct ISteamInput_SteamInput002_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput006_GetSessionInputConfigurationSettings(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetDualSenseTriggerEffect, 16) -void __thiscall winISteamInput_SteamInput006_SetDualSenseTriggerEffect(winISteamInput_SteamInput006 *_this, InputHandle_t inputHandle, const ScePadTriggerEffectParam * pParam) +uint64_t __thiscall winISteamInput_SteamInput002_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput002_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput006_SetDualSenseTriggerEffect(_this->linux_side, inputHandle, pParam); -} - -extern vtable_ptr winISteamInput_SteamInput006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInput_SteamInput006, - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Init) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Shutdown) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetInputActionManifestFilePath) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_RunFrame) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_BWaitForData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_BNewDataAvailable) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_EnableDeviceCallbacks) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_EnableActionEventCallbacks) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForDigitalActionName) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForAnalogActionName) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetMotionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerVibration) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerVibrationExtended) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerSimpleHapticEvent) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetLEDColor) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Legacy_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDeviceBindingRevision) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetRemotePlaySessionID) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetSessionInputConfigurationSettings) - VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetDualSenseTriggerEffect) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetDigitalActionHandle, ¶ms ); + return params._ret; } -#endif -winISteamInput_SteamInput006 *create_winISteamInput_SteamInput006(void *linux_side) +InputDigitalActionData_t * __thiscall winISteamInput_SteamInput002_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t inputHandle, uint64_t digitalActionHandle) { - winISteamInput_SteamInput006 *r = alloc_mem_for_iface(sizeof(winISteamInput_SteamInput006), "SteamInput006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInput_SteamInput006_vtable, 48, "SteamInput006"); - r->linux_side = linux_side; - return r; + struct ISteamInput_SteamInput002_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetDigitalActionData, ¶ms ); + return params._ret; } -#include "cppISteamInput_SteamInput005.h" - -typedef struct __winISteamInput_SteamInput005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInput_SteamInput005; - -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Init, 8) -bool __thiscall winISteamInput_SteamInput005_Init(winISteamInput_SteamInput005 *_this, bool bExplicitlyCallRunFrame) +int32_t __thiscall winISteamInput_SteamInput002_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput002_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_Init(_this->linux_side, bExplicitlyCallRunFrame); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Shutdown, 4) -bool __thiscall winISteamInput_SteamInput005_Shutdown(winISteamInput_SteamInput005 *_this) +uint64_t __thiscall winISteamInput_SteamInput002_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput002_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetInputActionManifestFilePath, 8) -bool __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(winISteamInput_SteamInput005 *_this, const char * pchInputActionManifestAbsolutePath) +InputAnalogActionData_t * __thiscall winISteamInput_SteamInput002_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t inputHandle, uint64_t analogActionHandle) { - char lin_pchInputActionManifestAbsolutePath[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchInputActionManifestAbsolutePath, lin_pchInputActionManifestAbsolutePath, 0); + struct ISteamInput_SteamInput002_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_SetInputActionManifestFilePath(_this->linux_side, pchInputActionManifestAbsolutePath ? lin_pchInputActionManifestAbsolutePath : NULL); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_RunFrame, 8) -void __thiscall winISteamInput_SteamInput005_RunFrame(winISteamInput_SteamInput005 *_this, bool bReservedValue) +int32_t __thiscall winISteamInput_SteamInput002_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput002_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_RunFrame(_this->linux_side, bReservedValue); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BWaitForData, 12) -bool __thiscall winISteamInput_SteamInput005_BWaitForData(winISteamInput_SteamInput005 *_this, bool bWaitForever, uint32 unTimeout) +const char * __thiscall winISteamInput_SteamInput002_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput002_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_BWaitForData(_this->linux_side, bWaitForever, unTimeout); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BNewDataAvailable, 4) -bool __thiscall winISteamInput_SteamInput005_BNewDataAvailable(winISteamInput_SteamInput005 *_this) +void __thiscall winISteamInput_SteamInput002_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t eAction) { + struct ISteamInput_SteamInput002_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_BNewDataAvailable(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetConnectedControllers, 8) -int __thiscall winISteamInput_SteamInput005_GetConnectedControllers(winISteamInput_SteamInput005 *_this, InputHandle_t * handlesOut) +InputMotionData_t * __thiscall winISteamInput_SteamInput002_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableDeviceCallbacks, 4) -void __thiscall winISteamInput_SteamInput005_EnableDeviceCallbacks(winISteamInput_SteamInput005 *_this) +void __thiscall winISteamInput_SteamInput002_TriggerVibration(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamInput_SteamInput002_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_EnableDeviceCallbacks(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableActionEventCallbacks, 8) -void __thiscall winISteamInput_SteamInput005_EnableActionEventCallbacks(winISteamInput_SteamInput005 *_this, SteamInputActionEventCallbackPointer pCallback) +void __thiscall winISteamInput_SteamInput002_SetLEDColor(struct w_steam_iface *_this, uint64_t inputHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamInput_SteamInput002_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_EnableActionEventCallbacks(_this->linux_side, pCallback); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionSetHandle, 8) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetActionSetHandle(winISteamInput_SteamInput005 *_this, const char * pszActionSetName) +void __thiscall winISteamInput_SteamInput002_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamInput_SteamInput002_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSet, 20) -void __thiscall winISteamInput_SteamInput005_ActivateActionSet(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void __thiscall winISteamInput_SteamInput002_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamInput_SteamInput002_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_ActivateActionSet(_this->linux_side, inputHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetCurrentActionSet, 12) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput005_GetCurrentActionSet(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +int8_t __thiscall winISteamInput_SteamInput002_ShowBindingPanel(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetCurrentActionSet(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput005_ActivateActionSetLayer(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +uint32_t __thiscall winISteamInput_SteamInput002_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_ActivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput005_DeactivateActionSetLayer(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +uint64_t __thiscall winISteamInput_SteamInput002_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamInput_SteamInput002_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_DeactivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamInput_SteamInput005_DeactivateAllActionSetLayers(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +int32_t __thiscall winISteamInput_SteamInput002_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulinputHandle) { + struct ISteamInput_SteamInput002_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_DeactivateAllActionSetLayers(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActiveActionSetLayers, 16) -int __thiscall winISteamInput_SteamInput005_GetActiveActionSetLayers(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +const char * __thiscall winISteamInput_SteamInput002_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput002_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetActiveActionSetLayers(_this->linux_side, inputHandle, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionHandle, 8) -InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput005_GetDigitalActionHandle(winISteamInput_SteamInput005 *_this, const char * pszActionName) +uint32_t __thiscall winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eOrigin) { + struct ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamInput_SteamInput005_GetDigitalActionData(winISteamInput_SteamInput005 *_this, InputDigitalActionData_t *_r, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +uint32_t __thiscall winISteamInput_SteamInput002_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamInput_SteamInput002_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput005_GetDigitalActionData(_this->linux_side, inputHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput002_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionOrigins, 32) -int __thiscall winISteamInput_SteamInput005_GetDigitalActionOrigins(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +int8_t __thiscall winISteamInput_SteamInput002_GetDeviceBindingRevision(struct w_steam_iface *_this, uint64_t inputHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamInput_SteamInput002_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetDigitalActionOrigins(_this->linux_side, inputHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetDeviceBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForDigitalActionName, 12) -const char * __thiscall winISteamInput_SteamInput005_GetStringForDigitalActionName(winISteamInput_SteamInput005 *_this, InputDigitalActionHandle_t eActionHandle) +uint32_t __thiscall winISteamInput_SteamInput002_GetRemotePlaySessionID(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput002_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetStringForDigitalActionName(_this->linux_side, eActionHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput002_GetRemotePlaySessionID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionHandle, 8) -InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput005_GetAnalogActionHandle(winISteamInput_SteamInput005 *_this, const char * pszActionName) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetAnalogActionHandle(_this->linux_side, pszActionName); -} +extern vtable_ptr winISteamInput_SteamInput002_vtable; -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamInput_SteamInput005_GetAnalogActionData(winISteamInput_SteamInput005 *_this, InputAnalogActionData_t *_r, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) -{ - TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput005_GetAnalogActionData(_this->linux_side, inputHandle, analogActionHandle); - return _r; -} +DEFINE_RTTI_DATA0(winISteamInput_SteamInput002, 0, ".?AVISteamInput@@") -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionOrigins, 32) -int __thiscall winISteamInput_SteamInput005_GetAnalogActionOrigins(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetAnalogActionOrigins(_this->linux_side, inputHandle, actionSetHandle, analogActionHandle, originsOut); -} +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput002_vtables) + __ASM_VTABLE(winISteamInput_SteamInput002, + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Init) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Shutdown) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_RunFrame) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGlyphForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetMotionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerVibration) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_SetLEDColor) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDeviceBindingRevision) + VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetRemotePlaySessionID) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, 16) -const char * __thiscall winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin, ESteamInputGlyphSize eSize, uint32 unFlags) +struct w_steam_iface *create_winISteamInput_SteamInput002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetGlyphPNGForActionOrigin(_this->linux_side, eOrigin, eSize, unFlags); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamInput002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamInput_SteamInput002_vtable, 35, "SteamInput002"); + r->u_iface = u_iface; + return r; } +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Init, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetInputActionManifestFilePath, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_RunFrame, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BWaitForData, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_BNewDataAvailable, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableDeviceCallbacks, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_EnableActionEventCallbacks, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForDigitalActionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin, 16) DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin, 12) -const char * __thiscall winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin, uint32 unFlags) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetGlyphSVGForActionOrigin(_this->linux_side, eOrigin, unFlags); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy, 8) -const char * __thiscall winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy(_this->linux_side, eOrigin); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput005_GetStringForActionOrigin(winISteamInput_SteamInput005 *_this, EInputActionOrigin eOrigin) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetStringForActionOrigin(_this->linux_side, eOrigin); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForAnalogActionName, 12) -const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionName(winISteamInput_SteamInput005 *_this, InputAnalogActionHandle_t eActionHandle) -{ - TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetStringForAnalogActionName(_this->linux_side, eActionHandle); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_StopAnalogActionMomentum, 20) -void __thiscall winISteamInput_SteamInput005_StopAnalogActionMomentum(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) -{ - TRACE("%p\n", _this); - cppISteamInput_SteamInput005_StopAnalogActionMomentum(_this->linux_side, inputHandle, eAction); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamInput_SteamInput005_GetMotionData(winISteamInput_SteamInput005 *_this, InputMotionData_t *_r, InputHandle_t inputHandle) -{ - TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput005_GetMotionData(_this->linux_side, inputHandle); - return _r; -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerVibration, 20) -void __thiscall winISteamInput_SteamInput005_TriggerVibration(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) -{ - TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerVibration(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed); -} - DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerVibrationExtended, 28) -void __thiscall winISteamInput_SteamInput005_TriggerVibrationExtended(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed, unsigned short usLeftTriggerSpeed, unsigned short usRightTriggerSpeed) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerSimpleHapticEvent, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDeviceBindingRevision, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetRemotePlaySessionID, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings, 4) + +int8_t __thiscall winISteamInput_SteamInput005_Init(struct w_steam_iface *_this, int8_t bExplicitlyCallRunFrame) { + struct ISteamInput_SteamInput005_Init_params params = + { + .linux_side = _this->u_iface, + .bExplicitlyCallRunFrame = bExplicitlyCallRunFrame, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerVibrationExtended(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed, usLeftTriggerSpeed, usRightTriggerSpeed); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TriggerSimpleHapticEvent, 32) -void __thiscall winISteamInput_SteamInput005_TriggerSimpleHapticEvent(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, EControllerHapticLocation eHapticLocation, uint8 nIntensity, char nGainDB, uint8 nOtherIntensity, char nOtherGainDB) +int8_t __thiscall winISteamInput_SteamInput005_Shutdown(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput005_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_TriggerSimpleHapticEvent(_this->linux_side, inputHandle, eHapticLocation, nIntensity, nGainDB, nOtherIntensity, nOtherGainDB); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetLEDColor, 28) -void __thiscall winISteamInput_SteamInput005_SetLEDColor(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +int8_t __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(struct w_steam_iface *_this, const char *pchInputActionManifestAbsolutePath) { + struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params params = + { + .linux_side = _this->u_iface, + .pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_SetLEDColor(_this->linux_side, inputHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_SetInputActionManifestFilePath, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse, 20) -void __thiscall winISteamInput_SteamInput005_Legacy_TriggerHapticPulse(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void __thiscall winISteamInput_SteamInput005_RunFrame(struct w_steam_iface *_this, int8_t bReservedValue) { + struct ISteamInput_SteamInput005_RunFrame_params params = + { + .linux_side = _this->u_iface, + .bReservedValue = bReservedValue, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +int8_t __thiscall winISteamInput_SteamInput005_BWaitForData(struct w_steam_iface *_this, int8_t bWaitForever, uint32_t unTimeout) { + struct ISteamInput_SteamInput005_BWaitForData_params params = + { + .linux_side = _this->u_iface, + .bWaitForever = bWaitForever, + .unTimeout = unTimeout, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_BWaitForData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_ShowBindingPanel, 12) -bool __thiscall winISteamInput_SteamInput005_ShowBindingPanel(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +int8_t __thiscall winISteamInput_SteamInput005_BNewDataAvailable(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput005_BNewDataAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_ShowBindingPanel(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_BNewDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamInput_SteamInput005_GetInputTypeForHandle(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +int32_t __thiscall winISteamInput_SteamInput005_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamInput_SteamInput005_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetInputTypeForHandle(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetControllerForGamepadIndex, 8) -InputHandle_t __thiscall winISteamInput_SteamInput005_GetControllerForGamepadIndex(winISteamInput_SteamInput005 *_this, int nIndex) +void __thiscall winISteamInput_SteamInput005_EnableDeviceCallbacks(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_EnableDeviceCallbacks, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGamepadIndexForController, 12) -int __thiscall winISteamInput_SteamInput005_GetGamepadIndexForController(winISteamInput_SteamInput005 *_this, InputHandle_t ulinputHandle) +void __thiscall winISteamInput_SteamInput005_EnableActionEventCallbacks(struct w_steam_iface *_this, void (*W_STDCALL pCallback)(SteamInputActionEvent_t *)) { + struct ISteamInput_SteamInput005_EnableActionEventCallbacks_params params = + { + .linux_side = _this->u_iface, + .pCallback = pCallback, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetGamepadIndexForController(_this->linux_side, ulinputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_EnableActionEventCallbacks, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput005_GetStringForXboxOrigin(winISteamInput_SteamInput005 *_this, EXboxOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamInput_SteamInput005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput005_GetGlyphForXboxOrigin(winISteamInput_SteamInput005 *_this, EXboxOrigin eOrigin) +void __thiscall winISteamInput_SteamInput005_ActivateActionSet(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle) { + struct ISteamInput_SteamInput005_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, 16) -EInputActionOrigin __thiscall winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput005_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(_this->linux_side, inputHandle, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_TranslateActionOrigin, 12) -EInputActionOrigin __thiscall winISteamInput_SteamInput005_TranslateActionOrigin(winISteamInput_SteamInput005 *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +void __thiscall winISteamInput_SteamInput005_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput005_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetDeviceBindingRevision, 20) -bool __thiscall winISteamInput_SteamInput005_GetDeviceBindingRevision(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +void __thiscall winISteamInput_SteamInput005_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetRemotePlaySessionID, 12) -uint32 __thiscall winISteamInput_SteamInput005_GetRemotePlaySessionID(winISteamInput_SteamInput005 *_this, InputHandle_t inputHandle) +void __thiscall winISteamInput_SteamInput005_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetRemotePlaySessionID(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings, 4) -uint16 __thiscall winISteamInput_SteamInput005_GetSessionInputConfigurationSettings(winISteamInput_SteamInput005 *_this) +int32_t __thiscall winISteamInput_SteamInput005_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t *handlesOut) { + struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings(_this->linux_side); -} - -extern vtable_ptr winISteamInput_SteamInput005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInput_SteamInput005, - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Init) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Shutdown) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetInputActionManifestFilePath) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_RunFrame) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BWaitForData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BNewDataAvailable) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableDeviceCallbacks) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableActionEventCallbacks) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForDigitalActionName) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForAnalogActionName) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetMotionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibration) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibrationExtended) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerSimpleHapticEvent) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetLEDColor) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDeviceBindingRevision) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetRemotePlaySessionID) - VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -#endif -winISteamInput_SteamInput005 *create_winISteamInput_SteamInput005(void *linux_side) +uint64_t __thiscall winISteamInput_SteamInput005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { - winISteamInput_SteamInput005 *r = alloc_mem_for_iface(sizeof(winISteamInput_SteamInput005), "SteamInput005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInput_SteamInput005_vtable, 47, "SteamInput005"); - r->linux_side = linux_side; - return r; + struct ISteamInput_SteamInput005_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetDigitalActionHandle, ¶ms ); + return params._ret; } -#include "cppISteamInput_SteamInput002.h" - -typedef struct __winISteamInput_SteamInput002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInput_SteamInput002; - -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_Init, 4) -bool __thiscall winISteamInput_SteamInput002_Init(winISteamInput_SteamInput002 *_this) +InputDigitalActionData_t * __thiscall winISteamInput_SteamInput005_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t inputHandle, uint64_t digitalActionHandle) { + struct ISteamInput_SteamInput005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_Shutdown, 4) -bool __thiscall winISteamInput_SteamInput002_Shutdown(winISteamInput_SteamInput002 *_this) +int32_t __thiscall winISteamInput_SteamInput005_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_RunFrame, 4) -void __thiscall winISteamInput_SteamInput002_RunFrame(winISteamInput_SteamInput002 *_this) +const char * __thiscall winISteamInput_SteamInput005_GetStringForDigitalActionName(struct w_steam_iface *_this, uint64_t eActionHandle) { + struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForDigitalActionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetConnectedControllers, 8) -int __thiscall winISteamInput_SteamInput002_GetConnectedControllers(winISteamInput_SteamInput002 *_this, InputHandle_t * handlesOut) +uint64_t __thiscall winISteamInput_SteamInput005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput005_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActionSetHandle, 8) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput002_GetActionSetHandle(winISteamInput_SteamInput002 *_this, const char * pszActionSetName) +InputAnalogActionData_t * __thiscall winISteamInput_SteamInput005_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t inputHandle, uint64_t analogActionHandle) { + struct ISteamInput_SteamInput005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ActivateActionSet, 20) -void __thiscall winISteamInput_SteamInput002_ActivateActionSet(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +int32_t __thiscall winISteamInput_SteamInput005_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_ActivateActionSet(_this->linux_side, inputHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetCurrentActionSet, 12) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput002_GetCurrentActionSet(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle) +const char * __thiscall winISteamInput_SteamInput005_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput005_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetCurrentActionSet(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ActivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput002_ActivateActionSetLayer(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +const char * __thiscall winISteamInput_SteamInput005_GetStringForAnalogActionName(struct w_steam_iface *_this, uint64_t eActionHandle) { + struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_ActivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForAnalogActionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_DeactivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput002_DeactivateActionSetLayer(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +void __thiscall winISteamInput_SteamInput005_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t eAction) { + struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_DeactivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamInput_SteamInput002_DeactivateAllActionSetLayers(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle) +InputMotionData_t * __thiscall winISteamInput_SteamInput005_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_DeactivateAllActionSetLayers(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActiveActionSetLayers, 16) -int __thiscall winISteamInput_SteamInput002_GetActiveActionSetLayers(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +void __thiscall winISteamInput_SteamInput005_TriggerVibration(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamInput_SteamInput005_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetActiveActionSetLayers(_this->linux_side, inputHandle, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionHandle, 8) -InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput002_GetDigitalActionHandle(winISteamInput_SteamInput002 *_this, const char * pszActionName) +void __thiscall winISteamInput_SteamInput005_TriggerVibrationExtended(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed, uint16_t usLeftTriggerSpeed, uint16_t usRightTriggerSpeed) { + struct ISteamInput_SteamInput005_TriggerVibrationExtended_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + .usLeftTriggerSpeed = usLeftTriggerSpeed, + .usRightTriggerSpeed = usRightTriggerSpeed, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_TriggerVibrationExtended, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamInput_SteamInput002_GetDigitalActionData(winISteamInput_SteamInput002 *_this, InputDigitalActionData_t *_r, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +void __thiscall winISteamInput_SteamInput005_TriggerSimpleHapticEvent(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eHapticLocation, uint8_t nIntensity, char nGainDB, uint8_t nOtherIntensity, char nOtherGainDB) { + struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eHapticLocation = eHapticLocation, + .nIntensity = nIntensity, + .nGainDB = nGainDB, + .nOtherIntensity = nOtherIntensity, + .nOtherGainDB = nOtherGainDB, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput002_GetDigitalActionData(_this->linux_side, inputHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput005_TriggerSimpleHapticEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDigitalActionOrigins, 32) -int __thiscall winISteamInput_SteamInput002_GetDigitalActionOrigins(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +void __thiscall winISteamInput_SteamInput005_SetLEDColor(struct w_steam_iface *_this, uint64_t inputHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamInput_SteamInput005_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetDigitalActionOrigins(_this->linux_side, inputHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionHandle, 8) -InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput002_GetAnalogActionHandle(winISteamInput_SteamInput002 *_this, const char * pszActionName) +void __thiscall winISteamInput_SteamInput005_Legacy_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_Legacy_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamInput_SteamInput002_GetAnalogActionData(winISteamInput_SteamInput002 *_this, InputAnalogActionData_t *_r, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +void __thiscall winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput002_GetAnalogActionData(_this->linux_side, inputHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetAnalogActionOrigins, 32) -int __thiscall winISteamInput_SteamInput002_GetAnalogActionOrigins(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +int8_t __thiscall winISteamInput_SteamInput005_ShowBindingPanel(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetAnalogActionOrigins(_this->linux_side, inputHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput002_GetGlyphForActionOrigin(winISteamInput_SteamInput002 *_this, EInputActionOrigin eOrigin) +uint32_t __thiscall winISteamInput_SteamInput005_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetGlyphForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetStringForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput002_GetStringForActionOrigin(winISteamInput_SteamInput002 *_this, EInputActionOrigin eOrigin) +uint64_t __thiscall winISteamInput_SteamInput005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_StopAnalogActionMomentum, 20) -void __thiscall winISteamInput_SteamInput002_StopAnalogActionMomentum(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +int32_t __thiscall winISteamInput_SteamInput005_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulinputHandle) { + struct ISteamInput_SteamInput005_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_StopAnalogActionMomentum(_this->linux_side, inputHandle, eAction); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamInput_SteamInput002_GetMotionData(winISteamInput_SteamInput002 *_this, InputMotionData_t *_r, InputHandle_t inputHandle) +const char * __thiscall winISteamInput_SteamInput005_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput002_GetMotionData(_this->linux_side, inputHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerVibration, 20) -void __thiscall winISteamInput_SteamInput002_TriggerVibration(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +uint32_t __thiscall winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eOrigin) { + struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerVibration(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_SetLEDColor, 28) -void __thiscall winISteamInput_SteamInput002_SetLEDColor(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +uint32_t __thiscall winISteamInput_SteamInput005_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamInput_SteamInput005_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_SetLEDColor(_this->linux_side, inputHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerHapticPulse, 20) -void __thiscall winISteamInput_SteamInput002_TriggerHapticPulse(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +int8_t __thiscall winISteamInput_SteamInput005_GetDeviceBindingRevision(struct w_steam_iface *_this, uint64_t inputHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetDeviceBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamInput_SteamInput002_TriggerRepeatedHapticPulse(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +uint32_t __thiscall winISteamInput_SteamInput005_GetRemotePlaySessionID(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput002_TriggerRepeatedHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetRemotePlaySessionID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_ShowBindingPanel, 12) -bool __thiscall winISteamInput_SteamInput002_ShowBindingPanel(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle) +uint16_t __thiscall winISteamInput_SteamInput005_GetSessionInputConfigurationSettings(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_ShowBindingPanel(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput005_GetSessionInputConfigurationSettings, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamInput_SteamInput002_GetInputTypeForHandle(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle) +extern vtable_ptr winISteamInput_SteamInput005_vtable; + +DEFINE_RTTI_DATA0(winISteamInput_SteamInput005, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput005_vtables) + __ASM_VTABLE(winISteamInput_SteamInput005, + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Init) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Shutdown) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetInputActionManifestFilePath) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_RunFrame) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BWaitForData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_BNewDataAvailable) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableDeviceCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_EnableActionEventCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForDigitalActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphPNGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphSVGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForActionOrigin_Legacy) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForAnalogActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetMotionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibration) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerVibrationExtended) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TriggerSimpleHapticEvent) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_SetLEDColor) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetDeviceBindingRevision) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetRemotePlaySessionID) + VTABLE_ADD_FUNC(winISteamInput_SteamInput005_GetSessionInputConfigurationSettings) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamInput_SteamInput005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetInputTypeForHandle(_this->linux_side, inputHandle); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamInput005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamInput_SteamInput005_vtable, 47, "SteamInput005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetControllerForGamepadIndex, 8) -InputHandle_t __thiscall winISteamInput_SteamInput002_GetControllerForGamepadIndex(winISteamInput_SteamInput002 *_this, int nIndex) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Init, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Shutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetInputActionManifestFilePath, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_RunFrame, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_BWaitForData, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_BNewDataAvailable, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetConnectedControllers, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_EnableDeviceCallbacks, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_EnableActionEventCallbacks, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActionSetHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ActivateActionSet, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetCurrentActionSet, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ActivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_DeactivateActionSetLayer, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_DeactivateAllActionSetLayers, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActiveActionSetLayers, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDigitalActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForDigitalActionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionData, 24) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetAnalogActionOrigins, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForActionOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForAnalogActionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_StopAnalogActionMomentum, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetMotionData, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerVibration, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerVibrationExtended, 28) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TriggerSimpleHapticEvent, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetLEDColor, 28) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Legacy_TriggerHapticPulse, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse, 32) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_ShowBindingPanel, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetInputTypeForHandle, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetControllerForGamepadIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGamepadIndexForController, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetStringForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetGlyphForXboxOrigin, 8) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin, 16) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_TranslateActionOrigin, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetDeviceBindingRevision, 20) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetRemotePlaySessionID, 12) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_GetSessionInputConfigurationSettings, 4) +DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput006_SetDualSenseTriggerEffect, 16) + +int8_t __thiscall winISteamInput_SteamInput006_Init(struct w_steam_iface *_this, int8_t bExplicitlyCallRunFrame) { + struct ISteamInput_SteamInput006_Init_params params = + { + .linux_side = _this->u_iface, + .bExplicitlyCallRunFrame = bExplicitlyCallRunFrame, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_Init, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGamepadIndexForController, 12) -int __thiscall winISteamInput_SteamInput002_GetGamepadIndexForController(winISteamInput_SteamInput002 *_this, InputHandle_t ulinputHandle) +int8_t __thiscall winISteamInput_SteamInput006_Shutdown(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput006_Shutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetGamepadIndexForController(_this->linux_side, ulinputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_Shutdown, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput002_GetStringForXboxOrigin(winISteamInput_SteamInput002 *_this, EXboxOrigin eOrigin) +int8_t __thiscall winISteamInput_SteamInput006_SetInputActionManifestFilePath(struct w_steam_iface *_this, const char *pchInputActionManifestAbsolutePath) { + struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params params = + { + .linux_side = _this->u_iface, + .pchInputActionManifestAbsolutePath = pchInputActionManifestAbsolutePath, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_SetInputActionManifestFilePath, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput002_GetGlyphForXboxOrigin(winISteamInput_SteamInput002 *_this, EXboxOrigin eOrigin) +void __thiscall winISteamInput_SteamInput006_RunFrame(struct w_steam_iface *_this, int8_t bReservedValue) { + struct ISteamInput_SteamInput006_RunFrame_params params = + { + .linux_side = _this->u_iface, + .bReservedValue = bReservedValue, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin, 16) -EInputActionOrigin __thiscall winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) +int8_t __thiscall winISteamInput_SteamInput006_BWaitForData(struct w_steam_iface *_this, int8_t bWaitForever, uint32_t unTimeout) { + struct ISteamInput_SteamInput006_BWaitForData_params params = + { + .linux_side = _this->u_iface, + .bWaitForever = bWaitForever, + .unTimeout = unTimeout, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetActionOriginFromXboxOrigin(_this->linux_side, inputHandle, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_BWaitForData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_TranslateActionOrigin, 12) -EInputActionOrigin __thiscall winISteamInput_SteamInput002_TranslateActionOrigin(winISteamInput_SteamInput002 *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +int8_t __thiscall winISteamInput_SteamInput006_BNewDataAvailable(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput006_BNewDataAvailable_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_BNewDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetDeviceBindingRevision, 20) -bool __thiscall winISteamInput_SteamInput002_GetDeviceBindingRevision(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +int32_t __thiscall winISteamInput_SteamInput006_GetConnectedControllers(struct w_steam_iface *_this, uint64_t *handlesOut) { + struct ISteamInput_SteamInput006_GetConnectedControllers_params params = + { + .linux_side = _this->u_iface, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetConnectedControllers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput002_GetRemotePlaySessionID, 12) -uint32 __thiscall winISteamInput_SteamInput002_GetRemotePlaySessionID(winISteamInput_SteamInput002 *_this, InputHandle_t inputHandle) +void __thiscall winISteamInput_SteamInput006_EnableDeviceCallbacks(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput006_EnableDeviceCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput002_GetRemotePlaySessionID(_this->linux_side, inputHandle); -} - -extern vtable_ptr winISteamInput_SteamInput002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInput_SteamInput002, - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Init) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_Shutdown) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_RunFrame) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGlyphForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetMotionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerVibration) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_SetLEDColor) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetDeviceBindingRevision) - VTABLE_ADD_FUNC(winISteamInput_SteamInput002_GetRemotePlaySessionID) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamInput_SteamInput006_EnableDeviceCallbacks, ¶ms ); } -#endif -winISteamInput_SteamInput002 *create_winISteamInput_SteamInput002(void *linux_side) +void __thiscall winISteamInput_SteamInput006_EnableActionEventCallbacks(struct w_steam_iface *_this, void (*W_STDCALL pCallback)(SteamInputActionEvent_t *)) { - winISteamInput_SteamInput002 *r = alloc_mem_for_iface(sizeof(winISteamInput_SteamInput002), "SteamInput002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInput_SteamInput002_vtable, 35, "SteamInput002"); - r->linux_side = linux_side; - return r; + struct ISteamInput_SteamInput006_EnableActionEventCallbacks_params params = + { + .linux_side = _this->u_iface, + .pCallback = pCallback, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_EnableActionEventCallbacks, ¶ms ); } -#include "cppISteamInput_SteamInput001.h" - -typedef struct __winISteamInput_SteamInput001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInput_SteamInput001; - -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_Init, 4) -bool __thiscall winISteamInput_SteamInput001_Init(winISteamInput_SteamInput001 *_this) +uint64_t __thiscall winISteamInput_SteamInput006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName) { + struct ISteamInput_SteamInput006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionSetName = pszActionSetName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_Init(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetActionSetHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_Shutdown, 4) -bool __thiscall winISteamInput_SteamInput001_Shutdown(winISteamInput_SteamInput001 *_this) +void __thiscall winISteamInput_SteamInput006_ActivateActionSet(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle) { + struct ISteamInput_SteamInput006_ActivateActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_Shutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_ActivateActionSet, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_RunFrame, 4) -void __thiscall winISteamInput_SteamInput001_RunFrame(winISteamInput_SteamInput001 *_this) +uint64_t __thiscall winISteamInput_SteamInput006_GetCurrentActionSet(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_GetCurrentActionSet_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetCurrentActionSet, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetConnectedControllers, 8) -int __thiscall winISteamInput_SteamInput001_GetConnectedControllers(winISteamInput_SteamInput001 *_this, InputHandle_t * handlesOut) +void __thiscall winISteamInput_SteamInput006_ActivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput006_ActivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetConnectedControllers(_this->linux_side, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_ActivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActionSetHandle, 8) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput001_GetActionSetHandle(winISteamInput_SteamInput001 *_this, const char * pszActionSetName) +void __thiscall winISteamInput_SteamInput006_DeactivateActionSetLayer(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetLayerHandle) { + struct ISteamInput_SteamInput006_DeactivateActionSetLayer_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetLayerHandle = actionSetLayerHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetActionSetHandle(_this->linux_side, pszActionSetName); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_DeactivateActionSetLayer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ActivateActionSet, 20) -void __thiscall winISteamInput_SteamInput001_ActivateActionSet(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle) +void __thiscall winISteamInput_SteamInput006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_DeactivateAllActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_ActivateActionSet(_this->linux_side, inputHandle, actionSetHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_DeactivateAllActionSetLayers, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetCurrentActionSet, 12) -InputActionSetHandle_t __thiscall winISteamInput_SteamInput001_GetCurrentActionSet(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle) +int32_t __thiscall winISteamInput_SteamInput006_GetActiveActionSetLayers(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t *handlesOut) { + struct ISteamInput_SteamInput006_GetActiveActionSetLayers_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .handlesOut = handlesOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetCurrentActionSet(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetActiveActionSetLayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ActivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput001_ActivateActionSetLayer(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +uint64_t __thiscall winISteamInput_SteamInput006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput006_GetDigitalActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_ActivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetDigitalActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_DeactivateActionSetLayer, 20) -void __thiscall winISteamInput_SteamInput001_DeactivateActionSetLayer(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetLayerHandle) +InputDigitalActionData_t * __thiscall winISteamInput_SteamInput006_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, uint64_t inputHandle, uint64_t digitalActionHandle) { + struct ISteamInput_SteamInput006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .digitalActionHandle = digitalActionHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_DeactivateActionSetLayer(_this->linux_side, inputHandle, actionSetLayerHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetDigitalActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_DeactivateAllActionSetLayers, 12) -void __thiscall winISteamInput_SteamInput001_DeactivateAllActionSetLayers(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle) +int32_t __thiscall winISteamInput_SteamInput006_GetDigitalActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput006_GetDigitalActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_DeactivateAllActionSetLayers(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetDigitalActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActiveActionSetLayers, 16) -int __thiscall winISteamInput_SteamInput001_GetActiveActionSetLayers(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t * handlesOut) +const char * __thiscall winISteamInput_SteamInput006_GetStringForDigitalActionName(struct w_steam_iface *_this, uint64_t eActionHandle) { + struct ISteamInput_SteamInput006_GetStringForDigitalActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetActiveActionSetLayers(_this->linux_side, inputHandle, handlesOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForDigitalActionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionHandle, 8) -InputDigitalActionHandle_t __thiscall winISteamInput_SteamInput001_GetDigitalActionHandle(winISteamInput_SteamInput001 *_this, const char * pszActionName) +uint64_t __thiscall winISteamInput_SteamInput006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName) { + struct ISteamInput_SteamInput006_GetAnalogActionHandle_params params = + { + .linux_side = _this->u_iface, + .pszActionName = pszActionName, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetDigitalActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetAnalogActionHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionData, 24) -InputDigitalActionData_t *__thiscall winISteamInput_SteamInput001_GetDigitalActionData(winISteamInput_SteamInput001 *_this, InputDigitalActionData_t *_r, InputHandle_t inputHandle, InputDigitalActionHandle_t digitalActionHandle) +InputAnalogActionData_t * __thiscall winISteamInput_SteamInput006_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, uint64_t inputHandle, uint64_t analogActionHandle) { + struct ISteamInput_SteamInput006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + .analogActionHandle = analogActionHandle, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput001_GetDigitalActionData(_this->linux_side, inputHandle, digitalActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetAnalogActionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDigitalActionOrigins, 32) -int __thiscall winISteamInput_SteamInput001_GetDigitalActionOrigins(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputDigitalActionHandle_t digitalActionHandle, EInputActionOrigin * originsOut) +int32_t __thiscall winISteamInput_SteamInput006_GetAnalogActionOrigins(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t actionSetHandle, uint64_t analogActionHandle, uint32_t *originsOut) { + struct ISteamInput_SteamInput006_GetAnalogActionOrigins_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .actionSetHandle = actionSetHandle, + .analogActionHandle = analogActionHandle, + .originsOut = originsOut, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetDigitalActionOrigins(_this->linux_side, inputHandle, actionSetHandle, digitalActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetAnalogActionOrigins, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionHandle, 8) -InputAnalogActionHandle_t __thiscall winISteamInput_SteamInput001_GetAnalogActionHandle(winISteamInput_SteamInput001 *_this, const char * pszActionName) +const char * __thiscall winISteamInput_SteamInput006_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput006_GetStringForActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetAnalogActionHandle(_this->linux_side, pszActionName); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionData, 24) -InputAnalogActionData_t *__thiscall winISteamInput_SteamInput001_GetAnalogActionData(winISteamInput_SteamInput001 *_this, InputAnalogActionData_t *_r, InputHandle_t inputHandle, InputAnalogActionHandle_t analogActionHandle) +const char * __thiscall winISteamInput_SteamInput006_GetStringForAnalogActionName(struct w_steam_iface *_this, uint64_t eActionHandle) { + struct ISteamInput_SteamInput006_GetStringForAnalogActionName_params params = + { + .linux_side = _this->u_iface, + .eActionHandle = eActionHandle, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput001_GetAnalogActionData(_this->linux_side, inputHandle, analogActionHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForAnalogActionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetAnalogActionOrigins, 32) -int __thiscall winISteamInput_SteamInput001_GetAnalogActionOrigins(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputActionSetHandle_t actionSetHandle, InputAnalogActionHandle_t analogActionHandle, EInputActionOrigin * originsOut) +void __thiscall winISteamInput_SteamInput006_StopAnalogActionMomentum(struct w_steam_iface *_this, uint64_t inputHandle, uint64_t eAction) { + struct ISteamInput_SteamInput006_StopAnalogActionMomentum_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetAnalogActionOrigins(_this->linux_side, inputHandle, actionSetHandle, analogActionHandle, originsOut); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_StopAnalogActionMomentum, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGlyphForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput001_GetGlyphForActionOrigin(winISteamInput_SteamInput001 *_this, EInputActionOrigin eOrigin) +InputMotionData_t * __thiscall winISteamInput_SteamInput006_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_GetMotionData_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetGlyphForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetMotionData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetStringForActionOrigin, 8) -const char * __thiscall winISteamInput_SteamInput001_GetStringForActionOrigin(winISteamInput_SteamInput001 *_this, EInputActionOrigin eOrigin) +void __thiscall winISteamInput_SteamInput006_TriggerVibration(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed) { + struct ISteamInput_SteamInput006_TriggerVibration_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetStringForActionOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_TriggerVibration, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_StopAnalogActionMomentum, 20) -void __thiscall winISteamInput_SteamInput001_StopAnalogActionMomentum(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, InputAnalogActionHandle_t eAction) +void __thiscall winISteamInput_SteamInput006_TriggerVibrationExtended(struct w_steam_iface *_this, uint64_t inputHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed, uint16_t usLeftTriggerSpeed, uint16_t usRightTriggerSpeed) { + struct ISteamInput_SteamInput006_TriggerVibrationExtended_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .usLeftSpeed = usLeftSpeed, + .usRightSpeed = usRightSpeed, + .usLeftTriggerSpeed = usLeftTriggerSpeed, + .usRightTriggerSpeed = usRightTriggerSpeed, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_StopAnalogActionMomentum(_this->linux_side, inputHandle, eAction); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_TriggerVibrationExtended, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetMotionData, 16) -InputMotionData_t *__thiscall winISteamInput_SteamInput001_GetMotionData(winISteamInput_SteamInput001 *_this, InputMotionData_t *_r, InputHandle_t inputHandle) +void __thiscall winISteamInput_SteamInput006_TriggerSimpleHapticEvent(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eHapticLocation, uint8_t nIntensity, char nGainDB, uint8_t nOtherIntensity, char nOtherGainDB) { + struct ISteamInput_SteamInput006_TriggerSimpleHapticEvent_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eHapticLocation = eHapticLocation, + .nIntensity = nIntensity, + .nGainDB = nGainDB, + .nOtherIntensity = nOtherIntensity, + .nOtherGainDB = nOtherGainDB, + }; TRACE("%p\n", _this); - *_r = cppISteamInput_SteamInput001_GetMotionData(_this->linux_side, inputHandle); - return _r; + STEAMCLIENT_CALL( ISteamInput_SteamInput006_TriggerSimpleHapticEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerVibration, 20) -void __thiscall winISteamInput_SteamInput001_TriggerVibration(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed) +void __thiscall winISteamInput_SteamInput006_SetLEDColor(struct w_steam_iface *_this, uint64_t inputHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags) { + struct ISteamInput_SteamInput006_SetLEDColor_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .nColorR = nColorR, + .nColorG = nColorG, + .nColorB = nColorB, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerVibration(_this->linux_side, inputHandle, usLeftSpeed, usRightSpeed); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_SetLEDColor, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_SetLEDColor, 28) -void __thiscall winISteamInput_SteamInput001_SetLEDColor(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags) +void __thiscall winISteamInput_SteamInput006_Legacy_TriggerHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec) { + struct ISteamInput_SteamInput006_Legacy_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_SetLEDColor(_this->linux_side, inputHandle, nColorR, nColorG, nColorB, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_Legacy_TriggerHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerHapticPulse, 20) -void __thiscall winISteamInput_SteamInput001_TriggerHapticPulse(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec) +void __thiscall winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags) { + struct ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eTargetPad = eTargetPad, + .usDurationMicroSec = usDurationMicroSec, + .usOffMicroSec = usOffMicroSec, + .unRepeat = unRepeat, + .nFlags = nFlags, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TriggerRepeatedHapticPulse, 32) -void __thiscall winISteamInput_SteamInput001_TriggerRepeatedHapticPulse(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags) +int8_t __thiscall winISteamInput_SteamInput006_ShowBindingPanel(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_ShowBindingPanel_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse(_this->linux_side, inputHandle, eTargetPad, usDurationMicroSec, usOffMicroSec, unRepeat, nFlags); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_ShowBindingPanel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_ShowBindingPanel, 12) -bool __thiscall winISteamInput_SteamInput001_ShowBindingPanel(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle) +uint32_t __thiscall winISteamInput_SteamInput006_GetInputTypeForHandle(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_GetInputTypeForHandle_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_ShowBindingPanel(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetInputTypeForHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetInputTypeForHandle, 12) -ESteamInputType __thiscall winISteamInput_SteamInput001_GetInputTypeForHandle(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle) +uint64_t __thiscall winISteamInput_SteamInput006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex) { + struct ISteamInput_SteamInput006_GetControllerForGamepadIndex_params params = + { + .linux_side = _this->u_iface, + .nIndex = nIndex, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetInputTypeForHandle(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetControllerForGamepadIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetControllerForGamepadIndex, 8) -InputHandle_t __thiscall winISteamInput_SteamInput001_GetControllerForGamepadIndex(winISteamInput_SteamInput001 *_this, int nIndex) +int32_t __thiscall winISteamInput_SteamInput006_GetGamepadIndexForController(struct w_steam_iface *_this, uint64_t ulinputHandle) { + struct ISteamInput_SteamInput006_GetGamepadIndexForController_params params = + { + .linux_side = _this->u_iface, + .ulinputHandle = ulinputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetControllerForGamepadIndex(_this->linux_side, nIndex); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetGamepadIndexForController, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGamepadIndexForController, 12) -int __thiscall winISteamInput_SteamInput001_GetGamepadIndexForController(winISteamInput_SteamInput001 *_this, InputHandle_t ulinputHandle) +const char * __thiscall winISteamInput_SteamInput006_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin) { + struct ISteamInput_SteamInput006_GetStringForXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetGamepadIndexForController(_this->linux_side, ulinputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetStringForXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetStringForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput001_GetStringForXboxOrigin(winISteamInput_SteamInput001 *_this, EXboxOrigin eOrigin) +uint32_t __thiscall winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, uint64_t inputHandle, uint32_t eOrigin) { + struct ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .eOrigin = eOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetStringForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetActionOriginFromXboxOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetGlyphForXboxOrigin, 8) -const char * __thiscall winISteamInput_SteamInput001_GetGlyphForXboxOrigin(winISteamInput_SteamInput001 *_this, EXboxOrigin eOrigin) +uint32_t __thiscall winISteamInput_SteamInput006_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin) { + struct ISteamInput_SteamInput006_TranslateActionOrigin_params params = + { + .linux_side = _this->u_iface, + .eDestinationInputType = eDestinationInputType, + .eSourceOrigin = eSourceOrigin, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetGlyphForXboxOrigin(_this->linux_side, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_TranslateActionOrigin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin, 16) -EInputActionOrigin __thiscall winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, EXboxOrigin eOrigin) +int8_t __thiscall winISteamInput_SteamInput006_GetDeviceBindingRevision(struct w_steam_iface *_this, uint64_t inputHandle, int32_t *pMajor, int32_t *pMinor) { + struct ISteamInput_SteamInput006_GetDeviceBindingRevision_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pMajor = pMajor, + .pMinor = pMinor, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin(_this->linux_side, inputHandle, eOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetDeviceBindingRevision, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_TranslateActionOrigin, 12) -EInputActionOrigin __thiscall winISteamInput_SteamInput001_TranslateActionOrigin(winISteamInput_SteamInput001 *_this, ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) +uint32_t __thiscall winISteamInput_SteamInput006_GetRemotePlaySessionID(struct w_steam_iface *_this, uint64_t inputHandle) { + struct ISteamInput_SteamInput006_GetRemotePlaySessionID_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_TranslateActionOrigin(_this->linux_side, eDestinationInputType, eSourceOrigin); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetRemotePlaySessionID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetDeviceBindingRevision, 20) -bool __thiscall winISteamInput_SteamInput001_GetDeviceBindingRevision(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle, int * pMajor, int * pMinor) +uint16_t __thiscall winISteamInput_SteamInput006_GetSessionInputConfigurationSettings(struct w_steam_iface *_this) { + struct ISteamInput_SteamInput006_GetSessionInputConfigurationSettings_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetDeviceBindingRevision(_this->linux_side, inputHandle, pMajor, pMinor); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_GetSessionInputConfigurationSettings, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput001_GetRemotePlaySessionID, 12) -uint32 __thiscall winISteamInput_SteamInput001_GetRemotePlaySessionID(winISteamInput_SteamInput001 *_this, InputHandle_t inputHandle) +void __thiscall winISteamInput_SteamInput006_SetDualSenseTriggerEffect(struct w_steam_iface *_this, uint64_t inputHandle, const ScePadTriggerEffectParam *pParam) { + struct ISteamInput_SteamInput006_SetDualSenseTriggerEffect_params params = + { + .linux_side = _this->u_iface, + .inputHandle = inputHandle, + .pParam = pParam, + }; TRACE("%p\n", _this); - return cppISteamInput_SteamInput001_GetRemotePlaySessionID(_this->linux_side, inputHandle); + STEAMCLIENT_CALL( ISteamInput_SteamInput006_SetDualSenseTriggerEffect, ¶ms ); } -extern vtable_ptr winISteamInput_SteamInput001_vtable; +extern vtable_ptr winISteamInput_SteamInput006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInput_SteamInput001, - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Init) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_Shutdown) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_RunFrame) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetConnectedControllers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActionSetHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ActivateActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetCurrentActionSet) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ActivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_DeactivateActionSetLayer) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_DeactivateAllActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActiveActionSetLayers) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDigitalActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetAnalogActionOrigins) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGlyphForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetStringForActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_StopAnalogActionMomentum) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetMotionData) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerVibration) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_SetLEDColor) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TriggerRepeatedHapticPulse) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_ShowBindingPanel) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetInputTypeForHandle) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetControllerForGamepadIndex) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGamepadIndexForController) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetStringForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetGlyphForXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetActionOriginFromXboxOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_TranslateActionOrigin) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetDeviceBindingRevision) - VTABLE_ADD_FUNC(winISteamInput_SteamInput001_GetRemotePlaySessionID) +DEFINE_RTTI_DATA0(winISteamInput_SteamInput006, 0, ".?AVISteamInput@@") + +__ASM_BLOCK_BEGIN(winISteamInput_SteamInput006_vtables) + __ASM_VTABLE(winISteamInput_SteamInput006, + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Init) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Shutdown) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetInputActionManifestFilePath) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_RunFrame) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_BWaitForData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_BNewDataAvailable) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetConnectedControllers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_EnableDeviceCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_EnableActionEventCallbacks) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActionSetHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ActivateActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetCurrentActionSet) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ActivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_DeactivateActionSetLayer) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_DeactivateAllActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActiveActionSetLayers) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDigitalActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForDigitalActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetAnalogActionOrigins) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphPNGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphSVGForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphForActionOrigin_Legacy) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForAnalogActionName) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_StopAnalogActionMomentum) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetMotionData) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerVibration) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerVibrationExtended) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TriggerSimpleHapticEvent) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetLEDColor) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Legacy_TriggerHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_Legacy_TriggerRepeatedHapticPulse) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_ShowBindingPanel) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetInputTypeForHandle) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetControllerForGamepadIndex) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGamepadIndexForController) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetStringForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetGlyphForXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetActionOriginFromXboxOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_TranslateActionOrigin) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetDeviceBindingRevision) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetRemotePlaySessionID) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_GetSessionInputConfigurationSettings) + VTABLE_ADD_FUNC(winISteamInput_SteamInput006_SetDualSenseTriggerEffect) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamInput_SteamInput001 *create_winISteamInput_SteamInput001(void *linux_side) +struct w_steam_iface *create_winISteamInput_SteamInput006(void *u_iface) { - winISteamInput_SteamInput001 *r = alloc_mem_for_iface(sizeof(winISteamInput_SteamInput001), "SteamInput001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamInput006"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInput_SteamInput001_vtable, 35, "SteamInput001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamInput_SteamInput006_vtable, 48, "SteamInput006"); + r->u_iface = u_iface; return r; } +void init_winISteamInput_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamInput_SteamInput001_rtti( base ); + init_winISteamInput_SteamInput002_rtti( base ); + init_winISteamInput_SteamInput005_rtti( base ); + init_winISteamInput_SteamInput006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamInventory.c b/lsteamclient/winISteamInventory.c index ac7a4c740..dc725d27b 100644 --- a/lsteamclient/winISteamInventory.c +++ b/lsteamclient/winISteamInventory.c @@ -1,622 +1,945 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V003.h" - -typedef struct __winISteamInventory_STEAMINVENTORY_INTERFACE_V003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInventory_STEAMINVENTORY_INTERFACE_V003; - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus, 8) -EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(_this->linux_side, resultHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(_this->linux_side, resultHandle, pOutItemsArray, punOutItemsArraySize); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty, 24) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(_this->linux_side, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp, 8) -uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(_this->linux_side, resultHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(_this->linux_side, resultHandle, steamIDExpected); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult, 8) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle) -{ - TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(_this->linux_side, resultHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(_this->linux_side, pResultHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(_this->linux_side, pResultHandle, pInstanceIDs, unCountInstanceIDs); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(_this->linux_side, resultHandle, pOutBuffer, punOutBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(_this->linux_side, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(_this->linux_side, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(_this->linux_side, pResultHandle); -} +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems, 32) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems, 40) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs, 20) -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(_this->linux_side, pResultHandle, itemDef); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(struct w_steam_iface *_this, int32_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32_t *punOutItemsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(_this->linux_side, pResultHandle, pArrayItemDefs, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(_this->linux_side, pResultHandle, itemConsume, unQuantity); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems, 32) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(struct w_steam_iface *_this, int32_t resultHandle, CSteamID steamIDExpected) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(_this->linux_side, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(_this->linux_side, pResultHandle, itemIdSource, unQuantity, itemIdDest); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat, 4) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(struct w_steam_iface *_this, int32_t *pResultHandle, const uint64_t *pInstanceIDs, uint32_t unCountInstanceIDs) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(_this->linux_side, pResultHandle, dropListDefinition); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems, 40) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(struct w_steam_iface *_this, int32_t resultHandle, void *pOutBuffer, uint32_t *punOutBufferSize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(_this->linux_side, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions, 4) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(struct w_steam_iface *_this, int32_t *pOutResultHandle, const void *pBuffer, uint32_t unBufferSize, int8_t bRESERVED_MUST_BE_FALSE) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, const uint32_t *punArrayQuantity, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(_this->linux_side, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(_this->linux_side, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs, 12) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, CSteamID steamID) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t itemDef) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(_this->linux_side, steamID, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase, 16) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemConsume, uint32_t unQuantity) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(_this->linux_side, pArrayItemDefs, punArrayQuantity, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices, 4) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayGenerate, const uint32_t *punArrayGenerateQuantity, uint32_t unArrayGenerateLength, const uint64_t *pArrayDestroy, const uint32_t *punArrayDestroyQuantity, uint32_t unArrayDestroyLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices, 4) -uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemIdSource, uint32_t unQuantity, uint64_t itemIdDest) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamItemDef_t * pArrayItemDefs, uint64 * pCurrentPrices, uint64 * pBasePrices, uint32 unArrayLength) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(_this->linux_side, pArrayItemDefs, pCurrentPrices, pBasePrices, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamItemDef_t iDefinition, uint64 * pCurrentPrice, uint64 * pBasePrice) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t dropListDefinition) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(_this->linux_side, iDefinition, pCurrentPrice, pBasePrice); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties, 4) -SteamInventoryUpdateHandle_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(struct w_steam_iface *_this, int32_t *pResultHandle, CSteamID steamIDTradePartner, const uint64_t *pArrayGive, const uint32_t *pArrayGiveQuantity, uint32_t nArrayGiveLength, const uint64_t *pArrayGet, const uint32_t *pArrayGetQuantity, uint32_t nArrayGetLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty, 24) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(_this->linux_side, handle, nItemID, pchPropertyName); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(struct w_steam_iface *_this, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(_this->linux_side, handle, nItemID, pchPropertyName, pchPropertyValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(struct w_steam_iface *_this, int32_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32_t *punValueBufferSizeOut) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(_this->linux_side, handle, nItemID, pchPropertyName, bValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3, 32) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(_this->linux_side, handle, nItemID, pchPropertyName, nValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(_this->linux_side, handle, nItemID, pchPropertyName, flValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(_this->linux_side, handle, pResultHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *_this, SteamInventoryResult_t * pResultHandle, const char * pchItemToken) -{ - TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(_this->linux_side, pResultHandle, pchItemToken); -} +extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable; -extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable; +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V001, 0, ".?AVISteamInventory@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V003, - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem) +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtables) + __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V001, + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *linux_side) +struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001(void *u_iface) { - winISteamInventory_STEAMINVENTORY_INTERFACE_V003 *r = alloc_mem_for_iface(sizeof(winISteamInventory_STEAMINVENTORY_INTERFACE_V003), "STEAMINVENTORY_INTERFACE_V003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMINVENTORY_INTERFACE_V001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable, 38, "STEAMINVENTORY_INTERFACE_V003"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable, 24, "STEAMINVENTORY_INTERFACE_V001"); + r->u_iface = u_iface; return r; } -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V002.h" - -typedef struct __winISteamInventory_STEAMINVENTORY_INTERFACE_V002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInventory_STEAMINVENTORY_INTERFACE_V002; - DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus, 8) -EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty, 24) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems, 32) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems, 40) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty, 24) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3, 32) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties, 16) + +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(struct w_steam_iface *_this, int32_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32_t *punOutItemsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems(_this->linux_side, resultHandle, pOutItemsArray, punOutItemsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty, 24) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(struct w_steam_iface *_this, int32_t resultHandle, uint32_t unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32_t *punValueBufferSizeOut) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .unItemIndex = unItemIndex, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty(_this->linux_side, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItemProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp, 8) -uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle) +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(struct w_steam_iface *_this, int32_t resultHandle, CSteamID steamIDExpected) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID(_this->linux_side, resultHandle, steamIDExpected); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_CheckResultSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult, 8) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DestroyResult, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems(_this->linux_side, pResultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(struct w_steam_iface *_this, int32_t *pResultHandle, const uint64_t *pInstanceIDs, uint32_t unCountInstanceIDs) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID(_this->linux_side, pResultHandle, pInstanceIDs, unCountInstanceIDs); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsByID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(struct w_steam_iface *_this, int32_t resultHandle, void *pOutBuffer, uint32_t *punOutBufferSize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult(_this->linux_side, resultHandle, pOutBuffer, punOutBufferSize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SerializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(struct w_steam_iface *_this, int32_t *pOutResultHandle, const void *pBuffer, uint32_t unBufferSize, int8_t bRESERVED_MUST_BE_FALSE) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult(_this->linux_side, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_DeserializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, const uint32_t *punArrayQuantity, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems(_this->linux_side, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GenerateItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems(_this->linux_side, pResultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GrantPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t itemDef) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem(_this->linux_side, pResultHandle, itemDef); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems(_this->linux_side, pResultHandle, pArrayItemDefs, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_AddPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemConsume, uint32_t unQuantity) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem(_this->linux_side, pResultHandle, itemConsume, unQuantity); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ConsumeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems, 32) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayGenerate, const uint32_t *punArrayGenerateQuantity, uint32_t unArrayGenerateLength, const uint64_t *pArrayDestroy, const uint32_t *punArrayDestroyQuantity, uint32_t unArrayDestroyLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems(_this->linux_side, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_ExchangeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemIdSource, uint32_t unQuantity, uint64_t itemIdDest) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity(_this->linux_side, pResultHandle, itemIdSource, unQuantity, itemIdDest); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TransferItemQuantity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat, 4) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SendItemDropHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t dropListDefinition) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop(_this->linux_side, pResultHandle, dropListDefinition); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TriggerItemDrop, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems, 40) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(struct w_steam_iface *_this, int32_t *pResultHandle, CSteamID steamIDTradePartner, const uint64_t *pArrayGive, const uint32_t *pArrayGiveQuantity, uint32_t nArrayGiveLength, const uint64_t *pArrayGet, const uint32_t *pArrayGetQuantity, uint32_t nArrayGetLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems(_this->linux_side, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_TradeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions, 4) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_LoadItemDefinitions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(struct w_steam_iface *_this, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs(_this->linux_side, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(struct w_steam_iface *_this, int32_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32_t *punValueBufferSizeOut) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty(_this->linux_side, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemDefinitionProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs, 12) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, CSteamID steamID) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestEligiblePromoItemDefinitionsIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs(_this->linux_side, steamID, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetEligiblePromoItemDefinitionIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase, 16) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(struct w_steam_iface *_this, const int32_t *pArrayItemDefs, const uint32_t *punArrayQuantity, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase(_this->linux_side, pArrayItemDefs, punArrayQuantity, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartPurchase, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices, 4) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RequestPrices, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices, 4) -uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this) +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetNumItemsWithPrices, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamItemDef_t * pArrayItemDefs, uint64 * pPrices, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(struct w_steam_iface *_this, int32_t *pArrayItemDefs, uint64_t *pPrices, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .pPrices = pPrices, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices(_this->linux_side, pArrayItemDefs, pPrices, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemsWithPrices, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamItemDef_t iDefinition, uint64 * pPrice) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(struct w_steam_iface *_this, int32_t iDefinition, uint64_t *pPrice) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pPrice = pPrice, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice(_this->linux_side, iDefinition, pPrice); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetItemPrice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties, 4) -SteamInventoryUpdateHandle_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_StartUpdateProperties, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty, 24) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty(_this->linux_side, handle, nItemID, pchPropertyName); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_RemoveProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .pchPropertyValue = pchPropertyValue, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty(_this->linux_side, handle, nItemID, pchPropertyName, pchPropertyValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, int8_t bValue) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2(_this->linux_side, handle, nItemID, pchPropertyName, bValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3, 32) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, int64_t nValue) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .nValue = nValue, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3(_this->linux_side, handle, nItemID, pchPropertyName, nValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_3, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, float flValue) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .flValue = flValue, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4(_this->linux_side, handle, nItemID, pchPropertyName, flValue); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty_4, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *_this, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(struct w_steam_iface *_this, uint64_t handle, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties(_this->linux_side, handle, pResultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties, ¶ms ); + return params._ret; } extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V002, 0, ".?AVISteamInventory@@") + +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtables) __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V002, VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultStatus) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_GetResultItems) @@ -656,235 +979,634 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SetProperty) VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V002_SubmitUpdateProperties) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002(void *linux_side) +struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002(void *u_iface) { - winISteamInventory_STEAMINVENTORY_INTERFACE_V002 *r = alloc_mem_for_iface(sizeof(winISteamInventory_STEAMINVENTORY_INTERFACE_V002), "STEAMINVENTORY_INTERFACE_V002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMINVENTORY_INTERFACE_V002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamInventory_STEAMINVENTORY_INTERFACE_V002_vtable, 37, "STEAMINVENTORY_INTERFACE_V002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamInventory_STEAMINVENTORY_INTERFACE_V001.h" +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty, 24) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems, 8) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems, 32) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems, 40) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs, 12) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices, 20) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties, 4) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty, 24) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3, 32) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4, 28) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties, 16) +DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem, 12) -typedef struct __winISteamInventory_STEAMINVENTORY_INTERFACE_V001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamInventory_STEAMINVENTORY_INTERFACE_V001; +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus(struct w_steam_iface *_this, int32_t resultHandle) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus, 8) -EResult __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems(struct w_steam_iface *_this, int32_t resultHandle, SteamItemDetails_t *pOutItemsArray, uint32_t *punOutItemsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutItemsArray = pOutItemsArray, + .punOutItemsArraySize = punOutItemsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty(struct w_steam_iface *_this, int32_t resultHandle, uint32_t unItemIndex, const char *pchPropertyName, char *pchValueBuffer, uint32_t *punValueBufferSizeOut) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .unItemIndex = unItemIndex, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems(_this->linux_side, resultHandle, pOutItemsArray, punOutItemsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp, 8) -uint32 __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle) +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID(struct w_steam_iface *_this, int32_t resultHandle, CSteamID steamIDExpected) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .steamIDExpected = steamIDExpected, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID(_this->linux_side, resultHandle, steamIDExpected); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult, 8) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult(struct w_steam_iface *_this, int32_t resultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult(_this->linux_side, resultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems(_this->linux_side, pResultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID(struct w_steam_iface *_this, int32_t *pResultHandle, const uint64_t *pInstanceIDs, uint32_t unCountInstanceIDs) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pInstanceIDs = pInstanceIDs, + .unCountInstanceIDs = unCountInstanceIDs, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID(_this->linux_side, pResultHandle, pInstanceIDs, unCountInstanceIDs); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult(struct w_steam_iface *_this, int32_t resultHandle, void *pOutBuffer, uint32_t *punOutBufferSize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult_params params = + { + .linux_side = _this->u_iface, + .resultHandle = resultHandle, + .pOutBuffer = pOutBuffer, + .punOutBufferSize = punOutBufferSize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult(_this->linux_side, resultHandle, pOutBuffer, punOutBufferSize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult(struct w_steam_iface *_this, int32_t *pOutResultHandle, const void *pBuffer, uint32_t unBufferSize, int8_t bRESERVED_MUST_BE_FALSE) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult_params params = + { + .linux_side = _this->u_iface, + .pOutResultHandle = pOutResultHandle, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .bRESERVED_MUST_BE_FALSE = bRESERVED_MUST_BE_FALSE, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult(_this->linux_side, pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, const uint32_t *punArrayQuantity, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems(_this->linux_side, pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems, 8) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems(_this->linux_side, pResultHandle); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t itemDef) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemDef = itemDef, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem(_this->linux_side, pResultHandle, itemDef); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems, 16) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayItemDefs, uint32_t unArrayLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayItemDefs = pArrayItemDefs, + .unArrayLength = unArrayLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems(_this->linux_side, pResultHandle, pArrayItemDefs, unArrayLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemConsume, uint32_t unQuantity) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemConsume = itemConsume, + .unQuantity = unQuantity, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem(_this->linux_side, pResultHandle, itemConsume, unQuantity); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems, 32) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems(struct w_steam_iface *_this, int32_t *pResultHandle, const int32_t *pArrayGenerate, const uint32_t *punArrayGenerateQuantity, uint32_t unArrayGenerateLength, const uint64_t *pArrayDestroy, const uint32_t *punArrayDestroyQuantity, uint32_t unArrayDestroyLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pArrayGenerate = pArrayGenerate, + .punArrayGenerateQuantity = punArrayGenerateQuantity, + .unArrayGenerateLength = unArrayGenerateLength, + .pArrayDestroy = pArrayDestroy, + .punArrayDestroyQuantity = punArrayDestroyQuantity, + .unArrayDestroyLength = unArrayDestroyLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems(_this->linux_side, pResultHandle, pArrayGenerate, punArrayGenerateQuantity, unArrayGenerateLength, pArrayDestroy, punArrayDestroyQuantity, unArrayDestroyLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity, 28) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity(struct w_steam_iface *_this, int32_t *pResultHandle, uint64_t itemIdSource, uint32_t unQuantity, uint64_t itemIdDest) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .itemIdSource = itemIdSource, + .unQuantity = unQuantity, + .itemIdDest = itemIdDest, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity(_this->linux_side, pResultHandle, itemIdSource, unQuantity, itemIdDest); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat, 4) -void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this) +void __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop(struct w_steam_iface *_this, int32_t *pResultHandle, int32_t dropListDefinition) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .dropListDefinition = dropListDefinition, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop(_this->linux_side, pResultHandle, dropListDefinition); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems, 40) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems(struct w_steam_iface *_this, int32_t *pResultHandle, CSteamID steamIDTradePartner, const uint64_t *pArrayGive, const uint32_t *pArrayGiveQuantity, uint32_t nArrayGiveLength, const uint64_t *pArrayGet, const uint32_t *pArrayGetQuantity, uint32_t nArrayGetLength) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .steamIDTradePartner = steamIDTradePartner, + .pArrayGive = pArrayGive, + .pArrayGiveQuantity = pArrayGiveQuantity, + .nArrayGiveLength = nArrayGiveLength, + .pArrayGet = pArrayGet, + .pArrayGetQuantity = pArrayGetQuantity, + .nArrayGetLength = nArrayGetLength, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems(_this->linux_side, pResultHandle, steamIDTradePartner, pArrayGive, pArrayGiveQuantity, nArrayGiveLength, pArrayGet, pArrayGetQuantity, nArrayGetLength); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions, 4) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions(struct w_steam_iface *_this) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions(_this->linux_side); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs, 12) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs(struct w_steam_iface *_this, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs(_this->linux_side, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty(struct w_steam_iface *_this, int32_t iDefinition, const char *pchPropertyName, char *pchValueBuffer, uint32_t *punValueBufferSizeOut) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pchPropertyName = pchPropertyName, + .pchValueBuffer = pchValueBuffer, + .punValueBufferSizeOut = punValueBufferSizeOut, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty(_this->linux_side, iDefinition, pchPropertyName, pchValueBuffer, punValueBufferSizeOut); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs, 12) -SteamAPICall_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, CSteamID steamID) +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs, 20) -bool __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *_this, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs(struct w_steam_iface *_this, CSteamID steamID, int32_t *pItemDefIDs, uint32_t *punItemDefIDsArraySize) { + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .pItemDefIDs = pItemDefIDs, + .punItemDefIDsArraySize = punItemDefIDsArraySize, + }; TRACE("%p\n", _this); - return cppISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs(_this->linux_side, steamID, pItemDefIDs, punItemDefIDsArraySize); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable; +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase(struct w_steam_iface *_this, const int32_t *pArrayItemDefs, const uint32_t *punArrayQuantity, uint32_t unArrayLength) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .punArrayQuantity = punArrayQuantity, + .unArrayLength = unArrayLength, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V001, - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultStatus) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetResultTimestamp) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_CheckResultSteamID) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DestroyResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetAllItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemsByID) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SerializeResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_DeserializeResult) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GenerateItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GrantPromoItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItem) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_AddPromoItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ConsumeItem) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_ExchangeItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TransferItemQuantity) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_SendItemDropHeartbeat) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TriggerItemDrop) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_TradeItems) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_LoadItemDefinitions) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionIDs) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetItemDefinitionProperty) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_RequestEligiblePromoItemDefinitionsIDs) - VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V001_GetEligiblePromoItemDefinitionIDs) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices(struct w_steam_iface *_this) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices(struct w_steam_iface *_this) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices(struct w_steam_iface *_this, int32_t *pArrayItemDefs, uint64_t *pCurrentPrices, uint64_t *pBasePrices, uint32_t unArrayLength) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices_params params = + { + .linux_side = _this->u_iface, + .pArrayItemDefs = pArrayItemDefs, + .pCurrentPrices = pCurrentPrices, + .pBasePrices = pBasePrices, + .unArrayLength = unArrayLength, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice(struct w_steam_iface *_this, int32_t iDefinition, uint64_t *pCurrentPrice, uint64_t *pBasePrice) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice_params params = + { + .linux_side = _this->u_iface, + .iDefinition = iDefinition, + .pCurrentPrice = pCurrentPrice, + .pBasePrice = pBasePrice, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties(struct w_steam_iface *_this) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, const char *pchPropertyValue) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .pchPropertyValue = pchPropertyValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, int8_t bValue) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .bValue = bValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, int64_t nValue) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .nValue = nValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4(struct w_steam_iface *_this, uint64_t handle, uint64_t nItemID, const char *pchPropertyName, float flValue) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .nItemID = nItemID, + .pchPropertyName = pchPropertyName, + .flValue = flValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties(struct w_steam_iface *_this, uint64_t handle, int32_t *pResultHandle) +{ + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pResultHandle = pResultHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties, ¶ms ); + return params._ret; } -#endif -winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001(void *linux_side) +int8_t __thiscall winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem(struct w_steam_iface *_this, int32_t *pResultHandle, const char *pchItemToken) { - winISteamInventory_STEAMINVENTORY_INTERFACE_V001 *r = alloc_mem_for_iface(sizeof(winISteamInventory_STEAMINVENTORY_INTERFACE_V001), "STEAMINVENTORY_INTERFACE_V001"); + struct ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem_params params = + { + .linux_side = _this->u_iface, + .pResultHandle = pResultHandle, + .pchItemToken = pchItemToken, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable; + +DEFINE_RTTI_DATA0(winISteamInventory_STEAMINVENTORY_INTERFACE_V003, 0, ".?AVISteamInventory@@") + +__ASM_BLOCK_BEGIN(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtables) + __ASM_VTABLE(winISteamInventory_STEAMINVENTORY_INTERFACE_V003, + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultStatus) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultItemProperty) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetResultTimestamp) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_CheckResultSteamID) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DestroyResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetAllItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsByID) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SerializeResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_DeserializeResult) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GenerateItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GrantPromoItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItem) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_AddPromoItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ConsumeItem) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_ExchangeItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TransferItemQuantity) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SendItemDropHeartbeat) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TriggerItemDrop) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_TradeItems) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_LoadItemDefinitions) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionIDs) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemDefinitionProperty) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestEligiblePromoItemDefinitionsIDs) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetEligiblePromoItemDefinitionIDs) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartPurchase) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RequestPrices) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetNumItemsWithPrices) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemsWithPrices) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_GetItemPrice) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_StartUpdateProperties) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_RemoveProperty) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_4) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_3) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty_2) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SetProperty) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_SubmitUpdateProperties) + VTABLE_ADD_FUNC(winISteamInventory_STEAMINVENTORY_INTERFACE_V003_InspectItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMINVENTORY_INTERFACE_V003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamInventory_STEAMINVENTORY_INTERFACE_V001_vtable, 24, "STEAMINVENTORY_INTERFACE_V001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamInventory_STEAMINVENTORY_INTERFACE_V003_vtable, 38, "STEAMINVENTORY_INTERFACE_V003"); + r->u_iface = u_iface; return r; } +void init_winISteamInventory_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V001_rtti( base ); + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V002_rtti( base ); + init_winISteamInventory_STEAMINVENTORY_INTERFACE_V003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMasterServerUpdater.c b/lsteamclient/winISteamMasterServerUpdater.c index ae658dad4..dbb57af18 100644 --- a/lsteamclient/winISteamMasterServerUpdater.c +++ b/lsteamclient/winISteamMasterServerUpdater.c @@ -1,130 +1,199 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamMasterServerUpdater_SteamMasterServerUpdater001.h" - -typedef struct __winISteamMasterServerUpdater_SteamMasterServerUpdater001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMasterServerUpdater_SteamMasterServerUpdater001; - DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, 8) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, bool bActive) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, 8) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, 32) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, 4) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, 12) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, 4) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, 4) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, 4) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, 8) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, 4) +DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, 16) + +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(struct w_steam_iface *_this, int8_t bActive) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive_params params = + { + .linux_side = _this->u_iface, + .bActive = bActive, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive(_this->linux_side, bActive); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, 8) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, int iHeartbeatInterval) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(struct w_steam_iface *_this, int32_t iHeartbeatInterval) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval_params params = + { + .linux_side = _this->u_iface, + .iHeartbeatInterval = iHeartbeatInterval, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval(_this->linux_side, iHeartbeatInterval); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, 20) -bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, const void * pData, int cbData, uint32 srcIP, uint16 srcPort) +int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(struct w_steam_iface *_this, const void *pData, int32_t cbData, uint32_t srcIP, uint16_t srcPort) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket_params params = + { + .linux_side = _this->u_iface, + .pData = pData, + .cbData = cbData, + .srcIP = srcIP, + .srcPort = srcPort, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket(_this->linux_side, pData, cbData, srcIP, srcPort); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_HandleIncomingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, 20) -int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort) +int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(struct w_steam_iface *_this, void *pOut, int32_t cbMaxOut, uint32_t *pNetAdr, uint16_t *pPort) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket_params params = + { + .linux_side = _this->u_iface, + .pOut = pOut, + .cbMaxOut = cbMaxOut, + .pNetAdr = pNetAdr, + .pPort = pPort, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket(_this->linux_side, pOut, cbMaxOut, pNetAdr, pPort); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNextOutgoingPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, 32) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, unsigned short nProtocolVersion, bool bDedicatedServer, const char * pRegionName, const char * pProductName, unsigned short nMaxReportedClients, bool bPasswordProtected, const char * pGameDescription) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(struct w_steam_iface *_this, uint16_t nProtocolVersion, int8_t bDedicatedServer, const char *pRegionName, const char *pProductName, uint16_t nMaxReportedClients, int8_t bPasswordProtected, const char *pGameDescription) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData_params params = + { + .linux_side = _this->u_iface, + .nProtocolVersion = nProtocolVersion, + .bDedicatedServer = bDedicatedServer, + .pRegionName = pRegionName, + .pProductName = pProductName, + .nMaxReportedClients = nMaxReportedClients, + .bPasswordProtected = bPasswordProtected, + .pGameDescription = pGameDescription, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData(_this->linux_side, nProtocolVersion, bDedicatedServer, pRegionName, pProductName, nMaxReportedClients, bPasswordProtected, pGameDescription); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetBasicServerData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, 4) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(struct w_steam_iface *_this) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues(_this->linux_side); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_ClearAllKeyValues, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, 12) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, const char * pKey, const char * pValue) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(struct w_steam_iface *_this, const char *pKey, const char *pValue) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue_params params = + { + .linux_side = _this->u_iface, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue(_this->linux_side, pKey, pValue); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_SetKeyValue, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, 4) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(struct w_steam_iface *_this) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown(_this->linux_side); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_NotifyShutdown, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, 4) -bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this) +int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(struct w_steam_iface *_this) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested(_this->linux_side); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_WasRestartRequested, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, 4) -void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this) +void __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(struct w_steam_iface *_this) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat(_this->linux_side); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_ForceHeartbeat, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, 8) -bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, const char * pServerAddress) +int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(struct w_steam_iface *_this, const char *pServerAddress) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer_params params = + { + .linux_side = _this->u_iface, + .pServerAddress = pServerAddress, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer(_this->linux_side, pServerAddress); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_AddMasterServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, 8) -bool __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, const char * pServerAddress) +int8_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(struct w_steam_iface *_this, const char *pServerAddress) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer_params params = + { + .linux_side = _this->u_iface, + .pServerAddress = pServerAddress, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer(_this->linux_side, pServerAddress); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_RemoveMasterServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, 4) -int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this) +int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(struct w_steam_iface *_this) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers(_this->linux_side); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, 16) -int __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(winISteamMasterServerUpdater_SteamMasterServerUpdater001 *_this, int iServer, char * pOut, int outBufferSize) +int32_t __thiscall winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(struct w_steam_iface *_this, int32_t iServer, char *pOut, int32_t outBufferSize) { + struct ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress_params params = + { + .linux_side = _this->u_iface, + .iServer = iServer, + .pOut = pOut, + .outBufferSize = outBufferSize, + }; TRACE("%p\n", _this); - return cppISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress(_this->linux_side, iServer, pOut, outBufferSize); + STEAMCLIENT_CALL( ISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress, ¶ms ); + return params._ret; } extern vtable_ptr winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMasterServerUpdater_SteamMasterServerUpdater001, 0, ".?AVISteamMasterServerUpdater@@") + +__ASM_BLOCK_BEGIN(winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtables) __ASM_VTABLE(winISteamMasterServerUpdater_SteamMasterServerUpdater001, VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetActive) VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_SetHeartbeatInterval) @@ -141,16 +210,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetNumMasterServers) VTABLE_ADD_FUNC(winISteamMasterServerUpdater_SteamMasterServerUpdater001_GetMasterServerAddress) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMasterServerUpdater_SteamMasterServerUpdater001 *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *linux_side) +struct w_steam_iface *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *u_iface) { - winISteamMasterServerUpdater_SteamMasterServerUpdater001 *r = alloc_mem_for_iface(sizeof(winISteamMasterServerUpdater_SteamMasterServerUpdater001), "SteamMasterServerUpdater001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMasterServerUpdater001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamMasterServerUpdater_SteamMasterServerUpdater001_vtable, 14, "SteamMasterServerUpdater001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamMasterServerUpdater_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMasterServerUpdater_SteamMasterServerUpdater001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMatchmaking.c b/lsteamclient/winISteamMatchmaking.c index 84bccb5e1..dcf569d88 100644 --- a/lsteamclient/winISteamMatchmaking.c +++ b/lsteamclient/winISteamMatchmaking.c @@ -1,2395 +1,4224 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" +#include "steamclient_private.h" -#include "steam_defs.h" +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "steamclient_private.h" +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_CreateLobby, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData, 12) -#include "struct_converters.h" +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(struct w_steam_iface *_this) +{ + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount, ¶ms ); + return params._ret; +} -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) +{ + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame, ¶ms ); + return params._ret; +} -#include "cppISteamMatchmaking_SteamMatchMaking009.h" +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) +{ + struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame, ¶ms ); + return params._ret; +} -typedef struct __winISteamMatchmaking_SteamMatchMaking009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking009; +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint32_t unFlags) +{ + struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .unFlags = unFlags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking009 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking009 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking009 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking009 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(struct w_steam_iface *_this, uint64_t ulGameID, MatchMakingKeyValuePair_t *pFilters, uint32_t nFilters) { + struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + .ulGameID = ulGameID, + .pFilters = pFilters, + .nFilters = nFilters, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_RequestLobbyList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList, 4) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking009 *_this) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking001_CreateLobby(struct w_steam_iface *_this, uint64_t ulGameID, int8_t bPrivate) { + struct ISteamMatchmaking_SteamMatchMaking001_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .ulGameID = ulGameID, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch, eComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_CreateLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking001_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking001_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, eComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_JoinLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, const char * pchKeyToMatch, int nValueToBeCloseTo) +void __thiscall winISteamMatchmaking_SteamMatchMaking001_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking001_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(_this->linux_side, pchKeyToMatch, nValueToBeCloseTo); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(winISteamMatchmaking_SteamMatchMaking009 *_this, int nSlotsAvailable) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(_this->linux_side, nSlotsAvailable); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, ELobbyDistanceFilter eLobbyDistanceFilter) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(_this->linux_side, eLobbyDistanceFilter); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, int cMaxResults) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(_this->linux_side, cMaxResults); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyData(struct w_steam_iface *_this, CSteamID SteamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .SteamIDLobby = SteamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID *_r, int iLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_CreateLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_CreateLobby(winISteamMatchmaking_SteamMatchMaking009 *_this, ELobbyType eLobbyType, int cMaxMembers) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_CreateLobby(_this->linux_side, eLobbyType, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_JoinLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking009_JoinLobby(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_LeaveLobby(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking001_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking001_vtable; + +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking001, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking001_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking001, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking001(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking001_vtable, 22, "SteamMatchMaking001"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_CreateLobby, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer, 28) + +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(_this->linux_side, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_RequestLobbyList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, const char * pchKey) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_CreateLobby(struct w_steam_iface *_this, int8_t bPrivate) { + struct ISteamMatchmaking_SteamMatchMaking002_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_CreateLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking002_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_JoinLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking002_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, int cMaxMembers) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyType, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyType(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLobbyType(_this->linux_side, steamIDLobby, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, bool bLobbyJoinable) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(_this->linux_side, steamIDLobby, bLobbyJoinable); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner, 16) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID *_r, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(_this->linux_side, steamIDLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(_this->linux_side, steamIDLobby, steamIDNewOwner); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(winISteamMatchmaking_SteamMatchMaking009 *_this, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) +void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(_this->linux_side, steamIDLobby, steamIDLobbyDependent); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer, ¶ms ); } -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking009_vtable; +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking009, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyType) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby) +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking002, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking002_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking002, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmaking_SteamMatchMaking009 *create_winISteamMatchmaking_SteamMatchMaking009(void *linux_side) +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking002(void *u_iface) { - winISteamMatchmaking_SteamMatchMaking009 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking009), "SteamMatchMaking009"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking009_vtable, 38, "SteamMatchMaking009"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking002_vtable, 20, "SteamMatchMaking002"); + r->u_iface = u_iface; return r; } -#include "cppISteamMatchmaking_SteamMatchMaking008.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking008; +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_CreateLobby, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies, 4) -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking008 *_this) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking008 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking008 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking008 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList, 4) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking008 *_this) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_RequestLobbyList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(winISteamMatchmaking_SteamMatchMaking008 *_this, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch, eComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking008 *_this, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, int32_t nComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, eComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(winISteamMatchmaking_SteamMatchMaking008 *_this, const char * pchKeyToMatch, int nValueToBeCloseTo) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(_this->linux_side, pchKeyToMatch, nValueToBeCloseTo); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(winISteamMatchmaking_SteamMatchMaking008 *_this, int nSlotsAvailable) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(_this->linux_side, nSlotsAvailable); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(winISteamMatchmaking_SteamMatchMaking008 *_this, ELobbyDistanceFilter eLobbyDistanceFilter) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_CreateLobby(struct w_steam_iface *_this, int8_t bPrivate) { + struct ISteamMatchmaking_SteamMatchMaking003_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(_this->linux_side, eLobbyDistanceFilter); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_CreateLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(winISteamMatchmaking_SteamMatchMaking008 *_this, int cMaxResults) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(_this->linux_side, cMaxResults); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_JoinLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID *_r, int iLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_CreateLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_CreateLobby(winISteamMatchmaking_SteamMatchMaking008 *_this, ELobbyType eLobbyType, int cMaxMembers) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_CreateLobby(_this->linux_side, eLobbyType, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_JoinLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking008_JoinLobby(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_LeaveLobby(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(_this->linux_side, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(struct w_steam_iface *_this, CSteamID steamIDLobby, int8_t bVoiceEnabled) { + struct ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bVoiceEnabled = bVoiceEnabled, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) -{ - TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, int cMaxMembers) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyType, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyType(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SetLobbyType(_this->linux_side, steamIDLobby, eLobbyType); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, bool bLobbyJoinable) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(_this->linux_side, steamIDLobby, bLobbyJoinable); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner, 16) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID *_r, CSteamID steamIDLobby) -{ - TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(_this->linux_side, steamIDLobby); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(winISteamMatchmaking_SteamMatchMaking008 *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(_this->linux_side, steamIDLobby, steamIDNewOwner); -} +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking003_vtable; -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking008_vtable; +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking003, 0, ".?AVISteamMatchmaking@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking008, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyType) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner) +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking003_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking003, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmaking_SteamMatchMaking008 *create_winISteamMatchmaking_SteamMatchMaking008(void *linux_side) +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking003(void *u_iface) { - winISteamMatchmaking_SteamMatchMaking008 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking008), "SteamMatchMaking008"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking008_vtable, 36, "SteamMatchMaking008"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking003_vtable, 28, "SteamMatchMaking003"); + r->u_iface = u_iface; return r; } -#include "cppISteamMatchmaking_SteamMatchMaking007.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking007; - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking007 *_this) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking007 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking007 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking007 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList, 4) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking007 *_this) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(winISteamMatchmaking_SteamMatchMaking007 *_this, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType) -{ - TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch, eComparisonType); -} +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_CreateLobby, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies, 4) -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking007 *_this, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, eComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(winISteamMatchmaking_SteamMatchMaking007 *_this, const char * pchKeyToMatch, int nValueToBeCloseTo) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(_this->linux_side, pchKeyToMatch, nValueToBeCloseTo); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(winISteamMatchmaking_SteamMatchMaking007 *_this, int nSlotsAvailable) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(_this->linux_side, nSlotsAvailable); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID *_r, int iLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_CreateLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_CreateLobby(winISteamMatchmaking_SteamMatchMaking007 *_this, ELobbyType eLobbyType, int cMaxMembers) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_CreateLobby(_this->linux_side, eLobbyType, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_RequestLobbyList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_JoinLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking007_JoinLobby(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_LeaveLobby(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, int32_t nComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_CreateLobby(struct w_steam_iface *_this, int8_t bPrivate) { + struct ISteamMatchmaking_SteamMatchMaking004_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .bPrivate = bPrivate, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_CreateLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_JoinLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(_this->linux_side, steamIDLobby, iLobbyData, pchKey, cchKeyBufferSize, pchValue, cchValueBufferSize); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, const char * pchKey) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, int cMaxMembers) +void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyType, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyType(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SetLobbyType(_this->linux_side, steamIDLobby, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, bool bLobbyJoinable) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(_this->linux_side, steamIDLobby, bLobbyJoinable); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner, 16) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID *_r, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(_this->linux_side, steamIDLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(winISteamMatchmaking_SteamMatchMaking007 *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) -{ - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(_this->linux_side, steamIDLobby, steamIDNewOwner); -} +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking004_vtable; -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking007_vtable; +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking004, 0, ".?AVISteamMatchmaking@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking007, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyType) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner) +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking004_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking004, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmaking_SteamMatchMaking007 *create_winISteamMatchmaking_SteamMatchMaking007(void *linux_side) +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking004(void *u_iface) { - winISteamMatchmaking_SteamMatchMaking007 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking007), "SteamMatchMaking007"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking004"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking007_vtable, 34, "SteamMatchMaking007"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking004_vtable, 27, "SteamMatchMaking004"); + r->u_iface = u_iface; return r; } -#include "cppISteamMatchmaking_SteamMatchMaking006.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking006; +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_CreateLobby, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyType, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance, 12) -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking006 *_this) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking006 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking006 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking006 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList, 4) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking006 *_this) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_RequestLobbyList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(winISteamMatchmaking_SteamMatchMaking006 *_this, const char * pchKeyToMatch, const char * pchValueToMatch) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking006 *_this, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, int32_t nComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, nComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(winISteamMatchmaking_SteamMatchMaking006 *_this, const char * pchKeyToMatch, int nValueToBeCloseTo) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(_this->linux_side, pchKeyToMatch, nValueToBeCloseTo); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID *_r, int iLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToBeCloseTo) { + struct ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_CreateLobby, 8) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_CreateLobby(winISteamMatchmaking_SteamMatchMaking006 *_this, ELobbyType eLobbyType) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_CreateLobby(_this->linux_side, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_JoinLobby, 12) -SteamAPICall_t __thiscall winISteamMatchmaking_SteamMatchMaking006_JoinLobby(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_CreateLobby(struct w_steam_iface *_this, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking005_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_CreateLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_LeaveLobby(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_JoinLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyData(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, const char * pchKey) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyData(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, int cMaxMembers) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyType, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyType(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking006_SetLobbyType(_this->linux_side, steamIDLobby, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, 16) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(winISteamMatchmaking_SteamMatchMaking006 *_this, CSteamID *_r, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(_this->linux_side, steamIDLobby); - return _r; -} - -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking006, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyType) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies, ¶ms ); + return params._ret; } -#endif -winISteamMatchmaking_SteamMatchMaking006 *create_winISteamMatchmaking_SteamMatchMaking006(void *linux_side) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t eLobbyType) { - winISteamMatchmaking_SteamMatchMaking006 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking006), "SteamMatchMaking006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking006_vtable, 28, "SteamMatchMaking006"); - r->linux_side = linux_side; - return r; + struct ISteamMatchmaking_SteamMatchMaking005_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_SetLobbyType, ¶ms ); + return params._ret; } -#include "cppISteamMatchmaking_SteamMatchMaking005.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking005; - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking005 *_this) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking005 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +float __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking005 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking005_vtable; + +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking005, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking005_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking005, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyType) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking005_vtable, 31, "SteamMatchMaking005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking005 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_CreateLobby, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_SetLobbyType, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, 16) + +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking005 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(winISteamMatchmaking_SteamMatchMaking005 *_this, const char * pchKeyToMatch, const char * pchValueToMatch) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking005 *_this, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, nComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(winISteamMatchmaking_SteamMatchMaking005 *_this) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_RequestLobbyList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(winISteamMatchmaking_SteamMatchMaking005 *_this, const char * pchKeyToMatch, int nValueToBeCloseTo) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch) { + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter(_this->linux_side, pchKeyToMatch, nValueToBeCloseTo); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID *_r, int iLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, int32_t nComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .nComparisonType = nComparisonType, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_CreateLobby, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_CreateLobby(winISteamMatchmaking_SteamMatchMaking005 *_this, ELobbyType eLobbyType) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToBeCloseTo) { + struct ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_CreateLobby(_this->linux_side, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_JoinLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_JoinLobby(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_LeaveLobby(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking006_CreateLobby(struct w_steam_iface *_this, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking006_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_CreateLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking006_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_JoinLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyData(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, const char * pchKey) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyData(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, int cMaxMembers) +void __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies, 4) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(winISteamMatchmaking_SteamMatchMaking005 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_SetLobbyType, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking005_SetLobbyType(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby, ELobbyType eLobbyType) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_SetLobbyType(_this->linux_side, steamIDLobby, eLobbyType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner, 16) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID *_r, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking006_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking006_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner(_this->linux_side, steamIDLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_SetLobbyType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance, 12) -float __thiscall winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(winISteamMatchmaking_SteamMatchMaking005 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking005_vtable; +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking006_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking005, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListSlotsAvailableFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_AddRequestLobbyListNearValueFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_RequestFriendsLobbies) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_SetLobbyType) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyOwner) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking005_GetLobbyDistance) +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking006, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking006_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking006, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_AddRequestLobbyListNearValueFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_SetLobbyType) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking006_GetLobbyOwner) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmaking_SteamMatchMaking005 *create_winISteamMatchmaking_SteamMatchMaking005(void *linux_side) +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking006(void *u_iface) { - winISteamMatchmaking_SteamMatchMaking005 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking005), "SteamMatchMaking005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking006"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking005_vtable, 31, "SteamMatchMaking005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking006_vtable, 28, "SteamMatchMaking006"); + r->u_iface = u_iface; return r; } -#include "cppISteamMatchmaking_SteamMatchMaking004.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking004; +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_CreateLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyType, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, 20) -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking004 *_this) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking004 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking004 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking004 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking004 *_this) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_RequestLobbyList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(winISteamMatchmaking_SteamMatchMaking004 *_this, const char * pchKeyToMatch, const char * pchValueToMatch) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking004 *_this, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, nComparisonType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(winISteamMatchmaking_SteamMatchMaking004 *_this) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToBeCloseTo) { + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID *_r, int iLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int32_t nSlotsAvailable) { + struct ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_CreateLobby, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_CreateLobby(winISteamMatchmaking_SteamMatchMaking004 *_this, bool bPrivate) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_CreateLobby(_this->linux_side, bPrivate); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_JoinLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_JoinLobby(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking007_CreateLobby(struct w_steam_iface *_this, uint32_t eLobbyType, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking007_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_CreateLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_LeaveLobby(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking007_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_JoinLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyData(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, const char * pchKey) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyData(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iLobbyData, char *pchKey, int32_t cchKeyBufferSize, char *pchValue, int32_t cchValueBufferSize) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby, int cMaxMembers) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking004 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies, 4) -bool __thiscall winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(winISteamMatchmaking_SteamMatchMaking004 *_this) +void __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies(_this->linux_side); -} - -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking004, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_AddRequestLobbyListSlotsAvailableFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking004_RequestFriendsLobbies) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer, ¶ms ); } -#endif -winISteamMatchmaking_SteamMatchMaking004 *create_winISteamMatchmaking_SteamMatchMaking004(void *linux_side) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { - winISteamMatchmaking_SteamMatchMaking004 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking004), "SteamMatchMaking004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking004_vtable, 27, "SteamMatchMaking004"); - r->linux_side = linux_side; - return r; + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer, ¶ms ); + return params._ret; } -#include "cppISteamMatchmaking_SteamMatchMaking003.h" - -typedef struct __winISteamMatchmaking_SteamMatchMaking003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking003; - -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking003 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking003 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking003 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking003 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, int8_t bLobbyJoinable) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking003 *_this) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(winISteamMatchmaking_SteamMatchMaking003 *_this, const char * pchKeyToMatch, const char * pchValueToMatch) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) { + struct ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter(_this->linux_side, pchKeyToMatch, pchValueToMatch); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(winISteamMatchmaking_SteamMatchMaking003 *_this, const char * pchKeyToMatch, int nValueToMatch, int nComparisonType) +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking007_vtable; + +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking007, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking007_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking007, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListStringFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListNearValueFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_AddRequestLobbyListFilterSlotsAvailable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyDataByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_DeleteLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyType) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyJoinable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_GetLobbyOwner) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking007_SetLobbyOwner) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking007(void *u_iface) { - TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter(_this->linux_side, pchKeyToMatch, nValueToMatch, nComparisonType); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking007_vtable, 34, "SteamMatchMaking007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(winISteamMatchmaking_SteamMatchMaking003 *_this) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_CreateLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyType, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, 20) + +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID *_r, int iLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_CreateLobby, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_CreateLobby(winISteamMatchmaking_SteamMatchMaking003 *_this, bool bPrivate) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_CreateLobby(_this->linux_side, bPrivate); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_JoinLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_JoinLobby(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_LeaveLobby(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_RequestLobbyList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToBeCloseTo) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyData(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int32_t nSlotsAvailable) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyData(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter(struct w_steam_iface *_this, uint32_t eLobbyDistanceFilter) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter_params params = + { + .linux_side = _this->u_iface, + .eLobbyDistanceFilter = eLobbyDistanceFilter, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter(struct w_steam_iface *_this, int32_t cMaxResults) { + struct ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter_params params = + { + .linux_side = _this->u_iface, + .cMaxResults = cMaxResults, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking008_CreateLobby(struct w_steam_iface *_this, uint32_t eLobbyType, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking008_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_CreateLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking008_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_JoinLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer(_this->linux_side, steamIDLobby, punGameServerIP, punGameServerPort, psteamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit, 16) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, int cMaxMembers) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit(_this->linux_side, steamIDLobby, cMaxMembers); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(winISteamMatchmaking_SteamMatchMaking003 *_this, CSteamID steamIDLobby, bool bVoiceEnabled) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled(_this->linux_side, steamIDLobby, bVoiceEnabled); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies, 4) -bool __thiscall winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(winISteamMatchmaking_SteamMatchMaking003 *_this) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking003, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListNumericalFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_AddRequestLobbyListSlotsAvailableFilter) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyGameServer) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_GetLobbyMemberLimit) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_SetLobbyVoiceEnabled) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking003_RequestFriendsLobbies) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iLobbyData, char *pchKey, int32_t cchKeyBufferSize, char *pchValue, int32_t cchValueBufferSize) +{ + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex, ¶ms ); + return params._ret; } -#endif -winISteamMatchmaking_SteamMatchMaking003 *create_winISteamMatchmaking_SteamMatchMaking003(void *linux_side) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { - winISteamMatchmaking_SteamMatchMaking003 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking003), "SteamMatchMaking003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking003_vtable, 28, "SteamMatchMaking003"); - r->linux_side = linux_side; - return r; + struct ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData, ¶ms ); + return params._ret; } -#include "cppISteamMatchmaking_SteamMatchMaking002.h" +const char * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) +{ + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData, ¶ms ); + return params._ret; +} -typedef struct __winISteamMatchmaking_SteamMatchMaking002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking002; +void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) +{ + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData, ¶ms ); +} -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking002 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking002 *_this, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking002 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking002 *_this, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +void __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList, 4) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking002 *_this) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyList(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID *_r, int iLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_CreateLobby, 8) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_CreateLobby(winISteamMatchmaking_SteamMatchMaking002 *_this, bool bPrivate) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_CreateLobby(_this->linux_side, bPrivate); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_JoinLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_JoinLobby(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_LeaveLobby(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, int8_t bLobbyJoinable) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) { + struct ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking008_vtable; + +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking008, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking008_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking008, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListStringFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListNearValueFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListFilterSlotsAvailable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListDistanceFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_AddRequestLobbyListResultCountFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyDataByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_DeleteLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyType) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyJoinable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_GetLobbyOwner) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking008_SetLobbyOwner) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking008(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking008_vtable, 36, "SteamMatchMaking008"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList, 4) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_CreateLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_JoinLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_LeaveLobby, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry, 32) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer, 28) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer, 24) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyType, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, 20) + +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyData(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame(struct w_steam_iface *_this, int32_t iGame, uint32_t *pnAppID, uint32_t *pnIP, uint16_t *pnConnPort, uint16_t *pnQueryPort, uint32_t *punFlags, uint32_t *pRTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .iGame = iGame, + .pnAppID = pnAppID, + .pnIP = pnIP, + .pnConnPort = pnConnPort, + .pnQueryPort = pnQueryPort, + .punFlags = punFlags, + .pRTime32LastPlayedOnServer = pRTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetLobbyData(_this->linux_side, steamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyData(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags, uint32_t rTime32LastPlayedOnServer) { + struct ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + .rTime32LastPlayedOnServer = rTime32LastPlayedOnServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame(struct w_steam_iface *_this, uint32_t nAppID, uint32_t nIP, uint16_t nConnPort, uint16_t nQueryPort, uint32_t unFlags) { + struct ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + .nIP = nIP, + .nConnPort = nConnPort, + .nQueryPort = nQueryPort, + .unFlags = unFlags, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList(struct w_steam_iface *_this) { + struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_RequestLobbyList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, const char *pchValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .pchValueToMatch = pchValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToMatch, uint32_t eComparisonType) { + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToMatch = nValueToMatch, + .eComparisonType = eComparisonType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter(struct w_steam_iface *_this, const char *pchKeyToMatch, int32_t nValueToBeCloseTo) { + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter_params params = + { + .linux_side = _this->u_iface, + .pchKeyToMatch = pchKeyToMatch, + .nValueToBeCloseTo = nValueToBeCloseTo, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking002_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer, 28) -void __thiscall winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(winISteamMatchmaking_SteamMatchMaking002 *_this, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable(struct w_steam_iface *_this, int32_t nSlotsAvailable) { + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable_params params = + { + .linux_side = _this->u_iface, + .nSlotsAvailable = nSlotsAvailable, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer(_this->linux_side, steamIDLobby, unGameServerIP, unGameServerPort, steamIDGameServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable, ¶ms ); } -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking002_vtable; +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter(struct w_steam_iface *_this, uint32_t eLobbyDistanceFilter) +{ + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter_params params = + { + .linux_side = _this->u_iface, + .eLobbyDistanceFilter = eLobbyDistanceFilter, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking002, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_RequestLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking002_SetLobbyGameServer) - ); -#ifndef __GNUC__ +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter(struct w_steam_iface *_this, int32_t cMaxResults) +{ + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter_params params = + { + .linux_side = _this->u_iface, + .cMaxResults = cMaxResults, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter, ¶ms ); } -#endif -winISteamMatchmaking_SteamMatchMaking002 *create_winISteamMatchmaking_SteamMatchMaking002(void *linux_side) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter(struct w_steam_iface *_this, CSteamID steamIDLobby) { - winISteamMatchmaking_SteamMatchMaking002 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking002), "SteamMatchMaking002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking002_vtable, 20, "SteamMatchMaking002"); - r->linux_side = linux_side; - return r; + struct ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter, ¶ms ); } -#include "cppISteamMatchmaking_SteamMatchMaking001.h" +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex(struct w_steam_iface *_this, CSteamID *_ret, int32_t iLobby) +{ + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .iLobby = iLobby, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex, ¶ms ); + return params._ret; +} -typedef struct __winISteamMatchmaking_SteamMatchMaking001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmaking_SteamMatchMaking001; +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking009_CreateLobby(struct w_steam_iface *_this, uint32_t eLobbyType, int32_t cMaxMembers) +{ + struct ISteamMatchmaking_SteamMatchMaking009_CreateLobby_params params = + { + .linux_side = _this->u_iface, + .eLobbyType = eLobbyType, + .cMaxMembers = cMaxMembers, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_CreateLobby, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount, 4) -int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(winISteamMatchmaking_SteamMatchMaking001 *_this) +uint64_t __thiscall winISteamMatchmaking_SteamMatchMaking009_JoinLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_JoinLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_JoinLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame, 28) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(winISteamMatchmaking_SteamMatchMaking001 *_this, int iGame, uint32 * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_LeaveLobby(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_LeaveLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_LeaveLobby, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame, 24) -int __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(winISteamMatchmaking_SteamMatchMaking001 *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) { + struct ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDInvitee = steamIDInvitee, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(winISteamMatchmaking_SteamMatchMaking001 *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint32 unFlags) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame(_this->linux_side, nAppID, nIP, nConnPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2, 32) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(winISteamMatchmaking_SteamMatchMaking001 *_this, int iGame, uint32 * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby, int32_t iMember) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + .iMember = iMember, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2(_this->linux_side, iGame, pnAppID, pnIP, pnConnPort, pnQueryPort, punFlags, pRTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2, 28) -int __thiscall winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(winISteamMatchmaking_SteamMatchMaking001 *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2, 24) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(winISteamMatchmaking_SteamMatchMaking001 *_this, uint32 nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2(_this->linux_side, nAppID, nIP, nConnPort, nQueryPort, unFlags); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList, 20) -void __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(winISteamMatchmaking_SteamMatchMaking001 *_this, uint64 ulGameID, MatchMakingKeyValuePair_t * pFilters, uint32 nFilters) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyList(_this->linux_side, ulGameID, pFilters, nFilters); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex, 12) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID *_r, int iLobby) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iLobbyData, char *pchKey, int32_t cchKeyBufferSize, char *pchValue, int32_t cchValueBufferSize) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iLobbyData = iLobbyData, + .pchKey = pchKey, + .cchKeyBufferSize = cchKeyBufferSize, + .pchValue = pchValue, + .cchValueBufferSize = cchValueBufferSize, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex(_this->linux_side, iLobby); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_CreateLobby, 16) -void __thiscall winISteamMatchmaking_SteamMatchMaking001_CreateLobby(winISteamMatchmaking_SteamMatchMaking001 *_this, uint64 ulGameID, bool bPrivate) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_CreateLobby(_this->linux_side, ulGameID, bPrivate); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_JoinLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking001_JoinLobby(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby) +const char * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char *pchKey) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDUser = steamIDUser, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_JoinLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_LeaveLobby, 12) -void __thiscall winISteamMatchmaking_SteamMatchMaking001_LeaveLobby(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData(struct w_steam_iface *_this, CSteamID steamIDLobby, const char *pchKey, const char *pchValue) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamMatchmaking_SteamMatchMaking001_LeaveLobby(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, CSteamID steamIDInvitee) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg(struct w_steam_iface *_this, CSteamID steamIDLobby, const void *pvMsgBody, int32_t cubMsgBody) { + struct ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .pvMsgBody = pvMsgBody, + .cubMsgBody = cubMsgBody, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby(_this->linux_side, steamIDLobby, steamIDInvitee); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers, 12) -int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t iChatID, CSteamID *pSteamIDUser, void *pvData, int32_t cubData, uint32_t *peChatEntryType) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .iChatID = iChatID, + .pSteamIDUser = pSteamIDUser, + .pvData = pvData, + .cubData = cubData, + .peChatEntryType = peChatEntryType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex, 20) -CSteamID *__thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID *_r, CSteamID steamIDLobby, int iMember) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - *_r = cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex(_this->linux_side, steamIDLobby, iMember); - return _r; + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_RequestLobbyData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyData, 16) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyData(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID SteamIDLobby, const char * pchKey) +void __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t unGameServerIP, uint16_t unGameServerPort, CSteamID steamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .unGameServerIP = unGameServerIP, + .unGameServerPort = unGameServerPort, + .steamIDGameServer = steamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetLobbyData(_this->linux_side, SteamIDLobby, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SetLobbyData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyData(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t *punGameServerIP, uint16_t *punGameServerPort, CSteamID *psteamIDGameServer) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .punGameServerIP = punGameServerIP, + .punGameServerPort = punGameServerPort, + .psteamIDGameServer = psteamIDGameServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_SetLobbyData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData, 24) -const char * __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby, int32_t cMaxMembers) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .cMaxMembers = cMaxMembers, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData(_this->linux_side, steamIDLobby, steamIDUser, pchKey); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit(struct w_steam_iface *_this, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData(_this->linux_side, steamIDLobby, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg, 20) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyType(struct w_steam_iface *_this, CSteamID steamIDLobby, uint32_t eLobbyType) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyType_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .eLobbyType = eLobbyType, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg(_this->linux_side, steamIDLobby, pvMsgBody, cubMsgBody); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry, 32) -int __thiscall winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType) +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable(struct w_steam_iface *_this, CSteamID steamIDLobby, int8_t bLobbyJoinable) { + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .bLobbyJoinable = bLobbyJoinable, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry(_this->linux_side, steamIDLobby, iChatID, pSteamIDUser, pvData, cubData, peChatEntryType); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData, 12) -bool __thiscall winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(winISteamMatchmaking_SteamMatchMaking001 *_this, CSteamID steamIDLobby) +CSteamID * __thiscall winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner(struct w_steam_iface *_this, CSteamID *_ret, CSteamID steamIDLobby) { + struct ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .steamIDLobby = steamIDLobby, + }; TRACE("%p\n", _this); - return cppISteamMatchmaking_SteamMatchMaking001_RequestLobbyData(_this->linux_side, steamIDLobby); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamMatchmaking_SteamMatchMaking001_vtable; +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDNewOwner) +{ + struct ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDNewOwner = steamIDNewOwner, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking001, - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGameCount) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetFavoriteGame2) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_AddFavoriteGame2) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RemoveFavoriteGame2) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyList) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_CreateLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_JoinLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_LeaveLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_InviteUserToLobby) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetNumLobbyMembers) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberByIndex) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SetLobbyData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SetLobbyMemberData) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_SendLobbyChatMsg) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_GetLobbyChatEntry) - VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking001_RequestLobbyData) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby(struct w_steam_iface *_this, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent) +{ + struct ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby_params params = + { + .linux_side = _this->u_iface, + .steamIDLobby = steamIDLobby, + .steamIDLobbyDependent = steamIDLobbyDependent, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby, ¶ms ); + return params._ret; } -#endif -winISteamMatchmaking_SteamMatchMaking001 *create_winISteamMatchmaking_SteamMatchMaking001(void *linux_side) +extern vtable_ptr winISteamMatchmaking_SteamMatchMaking009_vtable; + +DEFINE_RTTI_DATA0(winISteamMatchmaking_SteamMatchMaking009, 0, ".?AVISteamMatchmaking@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmaking_SteamMatchMaking009_vtables) + __ASM_VTABLE(winISteamMatchmaking_SteamMatchMaking009, + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGameCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RemoveFavoriteGame) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyList) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListStringFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNumericalFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListNearValueFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListFilterSlotsAvailable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListDistanceFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListResultCountFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_AddRequestLobbyListCompatibleMembersFilter) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_CreateLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_JoinLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_LeaveLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_InviteUserToLobby) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetNumLobbyMembers) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataCount) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyDataByIndex) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_DeleteLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SendLobbyChatMsg) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyChatEntry) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_RequestLobbyData) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyGameServer) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyMemberLimit) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyType) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyJoinable) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_GetLobbyOwner) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLobbyOwner) + VTABLE_ADD_FUNC(winISteamMatchmaking_SteamMatchMaking009_SetLinkedLobby) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamMatchmaking_SteamMatchMaking009(void *u_iface) { - winISteamMatchmaking_SteamMatchMaking001 *r = alloc_mem_for_iface(sizeof(winISteamMatchmaking_SteamMatchMaking001), "SteamMatchMaking001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMaking009"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking001_vtable, 22, "SteamMatchMaking001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmaking_SteamMatchMaking009_vtable, 38, "SteamMatchMaking009"); + r->u_iface = u_iface; return r; } +void init_winISteamMatchmaking_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMatchmaking_SteamMatchMaking001_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking002_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking003_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking004_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking005_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking006_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking007_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking008_rtti( base ); + init_winISteamMatchmaking_SteamMatchMaking009_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMatchmakingServers.c b/lsteamclient/winISteamMatchmakingServers.c index 91e8bf833..46882a94d 100644 --- a/lsteamclient/winISteamMatchmakingServers.c +++ b/lsteamclient/winISteamMatchmakingServers.c @@ -1,335 +1,545 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamMatchmakingServers_SteamMatchMakingServers002.h" - -typedef struct __winISteamMatchmakingServers_SteamMatchMakingServers002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmakingServers_SteamMatchMakingServers002; +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery, 8) -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList, 20) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList, 12) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(struct w_steam_iface *_this, uint32_t iApp, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(_this->linux_side, iApp, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList, 20) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList, 20) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList, 20) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList, 20) -HServerListRequest __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_099u *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hServerListRequest) +gameserveritem_t_105 * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(struct w_steam_iface *_this, uint32_t eType, int32_t iServer) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .iServer = iServer, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(_this->linux_side, hServerListRequest); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails, 12) -gameserveritem_t * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest, int iServer) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(struct w_steam_iface *_this, uint32_t eType) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(_this->linux_side, hRequest, iServer); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(struct w_steam_iface *_this, uint32_t eType) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest) +int8_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(struct w_steam_iface *_this, uint32_t eType) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing, 8) -bool __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(struct w_steam_iface *_this, uint32_t eType) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount, 8) -int __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(struct w_steam_iface *_this, uint32_t eType, int32_t iServer) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .iServer = iServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(_this->linux_side, hRequest); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer, 12) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerListRequest hRequest, int iServer) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingPingResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(_this->linux_side, hRequest, iServer); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_PingServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingPlayersResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingRulesResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(struct w_steam_iface *_this, int32_t hServerQuery) { + struct ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery_params params = + { + .linux_side = _this->u_iface, + .hServerQuery = hServerQuery, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers002")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(winISteamMatchmakingServers_SteamMatchMakingServers002 *_this, HServerQuery hServerQuery) -{ - TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(_this->linux_side, hServerQuery); -} +extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers001_vtable; -extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers002_vtable; +DEFINE_RTTI_DATA0(winISteamMatchmakingServers_SteamMatchMakingServers001, 0, ".?AVISteamMatchmakingServers@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers002, - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery) +__ASM_BLOCK_BEGIN(winISteamMatchmakingServers_SteamMatchMakingServers001_vtables) + __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers001, + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmakingServers_SteamMatchMakingServers002 *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *linux_side) +struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *u_iface) { - winISteamMatchmakingServers_SteamMatchMakingServers002 *r = alloc_mem_for_iface(sizeof(winISteamMatchmakingServers_SteamMatchMakingServers002), "SteamMatchMakingServers002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMakingServers001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmakingServers_SteamMatchMakingServers002_vtable, 17, "SteamMatchMakingServers002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmakingServers_SteamMatchMakingServers001_vtable, 16, "SteamMatchMakingServers001"); + r->u_iface = u_iface; return r; } -#include "cppISteamMatchmakingServers_SteamMatchMakingServers001.h" +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList, 20) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount, 8) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, 16) +DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, 8) -typedef struct __winISteamMatchmakingServers_SteamMatchMakingServers001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMatchmakingServers_SteamMatchMakingServers001; +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList, 20) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList(struct w_steam_iface *_this, uint32_t iApp, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList, 12) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList(_this->linux_side, iApp, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList, 20) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList, 20) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList, 20) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList(struct w_steam_iface *_this, uint32_t iApp, MatchMakingKeyValuePair_t **ppchFilters, uint32_t nFilters, w_ISteamMatchmakingServerListResponse_106 *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList_params params = + { + .linux_side = _this->u_iface, + .iApp = iApp, + .ppchFilters = ppchFilters, + .nFilters = nFilters, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList, 20) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest(struct w_steam_iface *_this, void *hServerListRequest) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params params = + { + .linux_side = _this->u_iface, + .hServerListRequest = hServerListRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList(_this->linux_side, iApp, ppchFilters, nFilters, create_LinuxISteamMatchmakingServerListResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails, 12) -gameserveritem_t * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType, int iServer) +gameserveritem_t_105 * __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails(struct w_steam_iface *_this, void *hRequest, int32_t iServer) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .iServer = iServer, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails(_this->linux_side, eType, iServer); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery(struct w_steam_iface *_this, void *hRequest) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery(_this->linux_side, eType); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery(struct w_steam_iface *_this, void *hRequest) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery(_this->linux_side, eType); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing, 8) -bool __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType) +int8_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing(struct w_steam_iface *_this, void *hRequest) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing(_this->linux_side, eType); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount, 8) -int __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount(struct w_steam_iface *_this, void *hRequest) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount(_this->linux_side, eType); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer, 12) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, EMatchMakingType eType, int iServer) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer(struct w_steam_iface *_this, void *hRequest, int32_t iServer) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer_params params = + { + .linux_side = _this->u_iface, + .hRequest = hRequest, + .iServer = iServer, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer(_this->linux_side, eType, iServer); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingPingResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_PingServer(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingPingResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_PingServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingPlayersResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingPlayersResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules, 16) -HServerQuery __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse) +int32_t __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules(struct w_steam_iface *_this, uint32_t unIP, uint16_t usPort, w_ISteamMatchmakingRulesResponse *pRequestServersResponse) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + .pRequestServersResponse = pRequestServersResponse, + }; TRACE("%p\n", _this); - return cppISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules(_this->linux_side, unIP, usPort, create_LinuxISteamMatchmakingRulesResponse(pRequestServersResponse, "winISteamMatchmakingServers_SteamMatchMakingServers001")); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery, 8) -void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(winISteamMatchmakingServers_SteamMatchMakingServers001 *_this, HServerQuery hServerQuery) +void __thiscall winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery(struct w_steam_iface *_this, int32_t hServerQuery) { + struct ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery_params params = + { + .linux_side = _this->u_iface, + .hServerQuery = hServerQuery, + }; TRACE("%p\n", _this); - cppISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery(_this->linux_side, hServerQuery); + STEAMCLIENT_CALL( ISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery, ¶ms ); } -extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers001_vtable; +extern vtable_ptr winISteamMatchmakingServers_SteamMatchMakingServers002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers001, - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestInternetServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestLANServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFriendsServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestFavoritesServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestHistoryServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RequestSpectatorServerList) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerDetails) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelQuery) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshQuery) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_IsRefreshing) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_GetServerCount) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_RefreshServer) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_PingServer) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_PlayerDetails) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_ServerRules) - VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers001_CancelServerQuery) +DEFINE_RTTI_DATA0(winISteamMatchmakingServers_SteamMatchMakingServers002, 0, ".?AVISteamMatchmakingServers@@") + +__ASM_BLOCK_BEGIN(winISteamMatchmakingServers_SteamMatchMakingServers002_vtables) + __ASM_VTABLE(winISteamMatchmakingServers_SteamMatchMakingServers002, + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestInternetServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestLANServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFriendsServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestFavoritesServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestHistoryServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RequestSpectatorServerList) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelQuery) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshQuery) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_IsRefreshing) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_GetServerCount) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_RefreshServer) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_PingServer) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_PlayerDetails) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules) + VTABLE_ADD_FUNC(winISteamMatchmakingServers_SteamMatchMakingServers002_CancelServerQuery) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMatchmakingServers_SteamMatchMakingServers001 *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *linux_side) +struct w_steam_iface *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *u_iface) { - winISteamMatchmakingServers_SteamMatchMakingServers001 *r = alloc_mem_for_iface(sizeof(winISteamMatchmakingServers_SteamMatchMakingServers001), "SteamMatchMakingServers001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamMatchMakingServers002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamMatchmakingServers_SteamMatchMakingServers001_vtable, 16, "SteamMatchMakingServers001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamMatchmakingServers_SteamMatchMakingServers002_vtable, 17, "SteamMatchMakingServers002"); + r->u_iface = u_iface; return r; } +void init_winISteamMatchmakingServers_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMatchmakingServers_SteamMatchMakingServers001_rtti( base ); + init_winISteamMatchmakingServers_SteamMatchMakingServers002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMusic.c b/lsteamclient/winISteamMusic.c index 87374567b..f9f97b5d6 100644 --- a/lsteamclient/winISteamMusic.c +++ b/lsteamclient/winISteamMusic.c @@ -1,95 +1,118 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h" - -typedef struct __winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled, 4) -bool __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume, 4) + +int8_t __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying, 4) -bool __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus, 4) -AudioPlayback_Status __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +uint32_t __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play, 4) -void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause, 4) -void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious, 4) -void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext, 4) -void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume, 8) -void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this, float flVolume) +void __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(struct w_steam_iface *_this, float flVolume) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume_params params = + { + .linux_side = _this->u_iface, + .flVolume = flVolume, + }; TRACE("%p\n", _this); - cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(_this->linux_side, flVolume); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume, 4) -float __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *_this) +float __thiscall winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(struct w_steam_iface *_this) { + struct ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume, ¶ms ); + return params._ret; } extern vtable_ptr winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001, 0, ".?AVISteamMusic@@") + +__ASM_BLOCK_BEGIN(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled) VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying) @@ -101,16 +124,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume) VTABLE_ADD_FUNC(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *u_iface) { - winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001), "STEAMMUSIC_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMMUSIC_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_vtable, 9, "STEAMMUSIC_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamMusic_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamMusicRemote.c b/lsteamclient/winISteamMusicRemote.c index 795d57303..2fee98151 100644 --- a/lsteamclient/winISteamMusicRemote.c +++ b/lsteamclient/winISteamMusicRemote.c @@ -1,256 +1,426 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001.h" - -typedef struct __winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, const char * pchName) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64, 12) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt, 12) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry, 16) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries, 4) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry, 16) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry, 8) +DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange, 4) + +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(struct w_steam_iface *_this, const char *pchName) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BIsCurrentMusicRemote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_BActivationSuccess, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, const char * pchDisplayName) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(struct w_steam_iface *_this, const char *pchDisplayName) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName_params params = + { + .linux_side = _this->u_iface, + .pchDisplayName = pchDisplayName, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName(_this->linux_side, pchDisplayName); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetDisplayName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64, 12) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, void * pvBuffer, uint32 cbBufferLength) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(struct w_steam_iface *_this, void *pvBuffer, uint32_t cbBufferLength) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64_params params = + { + .linux_side = _this->u_iface, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64(_this->linux_side, pvBuffer, cbBufferLength); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPNGIcon_64x64, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayPrevious, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlayNext, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableShuffled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableLooped, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnableQueue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_EnablePlaylists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, AudioPlayback_Status nStatus) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(struct w_steam_iface *_this, uint32_t nStatus) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus_params params = + { + .linux_side = _this->u_iface, + .nStatus = nStatus, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus(_this->linux_side, nStatus); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdatePlaybackStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateShuffled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(struct w_steam_iface *_this, int8_t bValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped_params params = + { + .linux_side = _this->u_iface, + .bValue = bValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped(_this->linux_side, bValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateLooped, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, float flValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(struct w_steam_iface *_this, float flValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume_params params = + { + .linux_side = _this->u_iface, + .flValue = flValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume(_this->linux_side, flValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateVolume, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryWillChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, bool bAvailable) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(struct w_steam_iface *_this, int8_t bAvailable) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable_params params = + { + .linux_side = _this->u_iface, + .bAvailable = bAvailable, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable(_this->linux_side, bAvailable); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryIsAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, const char * pchText) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(struct w_steam_iface *_this, const char *pchText) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText(_this->linux_side, pchText); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, int nValue) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(struct w_steam_iface *_this, int32_t nValue) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds_params params = + { + .linux_side = _this->u_iface, + .nValue = nValue, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds(_this->linux_side, nValue); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryElapsedSeconds, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt, 12) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, void * pvBuffer, uint32 cbBufferLength) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(struct w_steam_iface *_this, void *pvBuffer, uint32_t cbBufferLength) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt_params params = + { + .linux_side = _this->u_iface, + .pvBuffer = pvBuffer, + .cbBufferLength = cbBufferLength, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt(_this->linux_side, pvBuffer, cbBufferLength); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_UpdateCurrentEntryCoverArt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_CurrentEntryDidChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueWillChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetQueueEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry, 16) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, int nID, int nPosition, const char * pchEntryText) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(struct w_steam_iface *_this, int32_t nID, int32_t nPosition, const char *pchEntryText) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + .nPosition = nPosition, + .pchEntryText = pchEntryText, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry(_this->linux_side, nID, nPosition, pchEntryText); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetQueueEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, int nID) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(struct w_steam_iface *_this, int32_t nID) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry(_this->linux_side, nID); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentQueueEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_QueueDidChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistWillChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_ResetPlaylistEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry, 16) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, int nID, int nPosition, const char * pchEntryText) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(struct w_steam_iface *_this, int32_t nID, int32_t nPosition, const char *pchEntryText) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + .nPosition = nPosition, + .pchEntryText = pchEntryText, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry(_this->linux_side, nID, nPosition, pchEntryText); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetPlaylistEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry, 8) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this, int nID) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(struct w_steam_iface *_this, int32_t nID) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry_params params = + { + .linux_side = _this->u_iface, + .nID = nID, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry(_this->linux_side, nID); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange, 4) -bool __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(struct w_steam_iface *_this) { + struct ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange(_this->linux_side); + STEAMCLIENT_CALL( ISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange, ¶ms ); + return params._ret; } extern vtable_ptr winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001, 0, ".?AVISteamMusicRemote@@") + +__ASM_BLOCK_BEGIN(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_RegisterSteamMusicRemote) VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_DeregisterSteamMusicRemote) @@ -285,16 +455,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_SetCurrentPlaylistEntry) VTABLE_ADD_FUNC(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_PlaylistDidChange) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *u_iface) { - winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001), "STEAMMUSICREMOTE_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMMUSICREMOTE_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_vtable, 32, "STEAMMUSICREMOTE_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamMusicRemote_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworking.c b/lsteamclient/winISteamNetworking.c index 8c9acef54..d51171eba 100644 --- a/lsteamclient/winISteamNetworking.c +++ b/lsteamclient/winISteamNetworking.c @@ -1,578 +1,1106 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworking_SteamNetworking006.h" - -typedef struct __winISteamNetworking_SteamNetworking006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking006; +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateConnectionSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_GetListenSocketInfo, 16) -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_SendP2PPacket, 28) -bool __thiscall winISteamNetworking_SteamNetworking006_SendP2PPacket(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +uint32_t __thiscall winISteamNetworking_SteamNetworking001_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, uint32_t nIP, uint16_t nPort) { + struct ISteamNetworking_SteamNetworking001_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_SendP2PPacket(_this->linux_side, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(winISteamNetworking_SteamNetworking006 *_this, uint32 * pcubMsgSize, int nChannel) +uint32_t __thiscall winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(_this->linux_side, pcubMsgSize, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_ReadP2PPacket, 24) -bool __thiscall winISteamNetworking_SteamNetworking006_ReadP2PPacket(winISteamNetworking_SteamNetworking006 *_this, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel) +uint32_t __thiscall winISteamNetworking_SteamNetworking001_CreateConnectionSocket(struct w_steam_iface *_this, uint32_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking001_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_ReadP2PPacket(_this->linux_side, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_CreateConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking001_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking001_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking001_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking001_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser, 16) -bool __thiscall winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDRemote, int nChannel) +int8_t __thiscall winISteamNetworking_SteamNetworking001_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking001_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(_this->linux_side, steamIDRemote, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetP2PSessionState, 16) -bool __thiscall winISteamNetworking_SteamNetworking006_GetP2PSessionState(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +int8_t __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_GetP2PSessionState(_this->linux_side, steamIDRemote, pConnectionState); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay, 8) -bool __thiscall winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(winISteamNetworking_SteamNetworking006 *_this, bool bAllow) +int8_t __thiscall winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(_this->linux_side, bAllow); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateListenSocket, 36) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateListenSocket(winISteamNetworking_SteamNetworking006 *_this, int nVirtualP2PPort, SteamIPAddress_t nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +int8_t __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking001_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_IsDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket, 24) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking006 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +int8_t __thiscall winISteamNetworking_SteamNetworking001_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking001_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_RetrieveData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateConnectionSocket, 32) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking006_CreateConnectionSocket(winISteamNetworking_SteamNetworking006 *_this, SteamIPAddress_t nIP, uint16 nPort, int nTimeoutSec) +int8_t __thiscall winISteamNetworking_SteamNetworking001_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, uint32_t *punIPRemote, uint16_t *punPortRemote) { + struct ISteamNetworking_SteamNetworking001_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_GetSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_DestroySocket(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking001_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pnIP, uint16_t *pnPort) { + struct ISteamNetworking_SteamNetworking001_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking001_GetListenSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_DestroyListenSocket(winISteamNetworking_SteamNetworking006 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +extern vtable_ptr winISteamNetworking_SteamNetworking001_vtable; + +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking001, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking001_vtables) + __ASM_VTABLE(winISteamNetworking_SteamNetworking001, + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_DestroySocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_DestroyListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_SendDataOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_IsDataAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_RetrieveData) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetListenSocketInfo) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamNetworking_SteamNetworking001(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking001_vtable, 12, "SteamNetworking001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking006_SendDataOnSocket(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateListenSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateConnectionSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetListenSocketInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetSocketConnectionType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetMaxPacketSize, 8) + +uint32_t __thiscall winISteamNetworking_SteamNetworking002_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, uint32_t nIP, uint16_t nPort, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking002_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +uint32_t __thiscall winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +uint32_t __thiscall winISteamNetworking_SteamNetworking002_CreateConnectionSocket(struct w_steam_iface *_this, uint32_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking002_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_CreateConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailable(winISteamNetworking_SteamNetworking006 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking002_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking002_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking006_RetrieveData(winISteamNetworking_SteamNetworking006 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking002_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking002_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking006_GetSocketInfo(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, SteamIPAddress_t * punIPRemote, uint16 * punPortRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking002_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking002_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking006_GetListenSocketInfo(winISteamNetworking_SteamNetworking006 *_this, SNetListenSocket_t hListenSocket, SteamIPAddress_t * pnIP, uint16 * pnPort) +int8_t __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetSocketConnectionType, 8) -ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking006_GetSocketConnectionType(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_GetSocketConnectionType(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetMaxPacketSize, 8) -int __thiscall winISteamNetworking_SteamNetworking006_GetMaxPacketSize(winISteamNetworking_SteamNetworking006 *_this, SNetSocket_t hSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking002_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking006_GetMaxPacketSize(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_IsDataAvailable, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamNetworking_SteamNetworking006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworking_SteamNetworking006, - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_SendP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_ReadP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetP2PSessionState) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_DestroySocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_DestroyListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_SendDataOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsDataAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_RetrieveData) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetListenSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetSocketConnectionType) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetMaxPacketSize) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamNetworking_SteamNetworking002_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) +{ + struct ISteamNetworking_SteamNetworking002_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_RetrieveData, ¶ms ); + return params._ret; } -#endif -winISteamNetworking_SteamNetworking006 *create_winISteamNetworking_SteamNetworking006(void *linux_side) +int8_t __thiscall winISteamNetworking_SteamNetworking002_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, uint32_t *punIPRemote, uint16_t *punPortRemote) { - winISteamNetworking_SteamNetworking006 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking006), "SteamNetworking006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking006_vtable, 22, "SteamNetworking006"); - r->linux_side = linux_side; - return r; + struct ISteamNetworking_SteamNetworking002_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_GetSocketInfo, ¶ms ); + return params._ret; } -#include "cppISteamNetworking_SteamNetworking005.h" - -typedef struct __winISteamNetworking_SteamNetworking005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking005; +int8_t __thiscall winISteamNetworking_SteamNetworking002_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pnIP, uint16_t *pnPort) +{ + struct ISteamNetworking_SteamNetworking002_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_GetListenSocketInfo, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_SendP2PPacket, 28) -bool __thiscall winISteamNetworking_SteamNetworking005_SendP2PPacket(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel) +uint32_t __thiscall winISteamNetworking_SteamNetworking002_GetSocketConnectionType(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking002_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_SendP2PPacket(_this->linux_side, steamIDRemote, pubData, cubData, eP2PSendType, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_GetSocketConnectionType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(winISteamNetworking_SteamNetworking005 *_this, uint32 * pcubMsgSize, int nChannel) +int32_t __thiscall winISteamNetworking_SteamNetworking002_GetMaxPacketSize(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking002_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(_this->linux_side, pcubMsgSize, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking002_GetMaxPacketSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_ReadP2PPacket, 24) -bool __thiscall winISteamNetworking_SteamNetworking005_ReadP2PPacket(winISteamNetworking_SteamNetworking005 *_this, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel) +extern vtable_ptr winISteamNetworking_SteamNetworking002_vtable; + +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking002, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking002_vtables) + __ASM_VTABLE(winISteamNetworking_SteamNetworking002, + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_DestroySocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_DestroyListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_SendDataOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_IsDataAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_RetrieveData) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetListenSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetSocketConnectionType) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetMaxPacketSize) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamNetworking_SteamNetworking002(void *u_iface) { + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking002_vtable, 14, "SteamNetworking002"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_SendP2PPacket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_ReadP2PPacket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetP2PSessionState, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateListenSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateConnectionSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetListenSocketInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetSocketConnectionType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetMaxPacketSize, 8) + +int8_t __thiscall winISteamNetworking_SteamNetworking003_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32_t cubData, uint32_t eP2PSendType) +{ + struct ISteamNetworking_SteamNetworking003_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_ReadP2PPacket(_this->linux_side, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_SendP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_IsP2PPacketAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking003_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, CSteamID *psteamIDRemote) { + struct ISteamNetworking_SteamNetworking003_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_ReadP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser, 16) -bool __thiscall winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDRemote, int nChannel) +int8_t __thiscall winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(_this->linux_side, steamIDRemote, nChannel); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetP2PSessionState, 16) -bool __thiscall winISteamNetworking_SteamNetworking005_GetP2PSessionState(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +int8_t __thiscall winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_GetP2PSessionState(_this->linux_side, steamIDRemote, pConnectionState); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay, 8) -bool __thiscall winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(winISteamNetworking_SteamNetworking005 *_this, bool bAllow) +int8_t __thiscall winISteamNetworking_SteamNetworking003_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { + struct ISteamNetworking_SteamNetworking003_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(_this->linux_side, bAllow); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_GetP2PSessionState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateListenSocket, 20) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateListenSocket(winISteamNetworking_SteamNetworking005 *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +uint32_t __thiscall winISteamNetworking_SteamNetworking003_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, uint32_t nIP, uint16_t nPort, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking003_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket, 24) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking005 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +uint32_t __thiscall winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateConnectionSocket, 16) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking005_CreateConnectionSocket(winISteamNetworking_SteamNetworking005 *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) +uint32_t __thiscall winISteamNetworking_SteamNetworking003_CreateConnectionSocket(struct w_steam_iface *_this, uint32_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking003_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_CreateConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_DestroySocket(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking003_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking003_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_DestroyListenSocket(winISteamNetworking_SteamNetworking005 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking003_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking003_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking005_SendDataOnSocket(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +int8_t __thiscall winISteamNetworking_SteamNetworking003_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking003_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailable(winISteamNetworking_SteamNetworking005 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking003_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_IsDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking005_RetrieveData(winISteamNetworking_SteamNetworking005 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking003_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking003_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_RetrieveData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking005_GetSocketInfo(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking003_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, uint32_t *punIPRemote, uint16_t *punPortRemote) { + struct ISteamNetworking_SteamNetworking003_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_GetSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking005_GetListenSocketInfo(winISteamNetworking_SteamNetworking005 *_this, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +int8_t __thiscall winISteamNetworking_SteamNetworking003_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pnIP, uint16_t *pnPort) { + struct ISteamNetworking_SteamNetworking003_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_GetListenSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetSocketConnectionType, 8) -ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking005_GetSocketConnectionType(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket) +uint32_t __thiscall winISteamNetworking_SteamNetworking003_GetSocketConnectionType(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking003_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_GetSocketConnectionType(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_GetSocketConnectionType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetMaxPacketSize, 8) -int __thiscall winISteamNetworking_SteamNetworking005_GetMaxPacketSize(winISteamNetworking_SteamNetworking005 *_this, SNetSocket_t hSocket) +int32_t __thiscall winISteamNetworking_SteamNetworking003_GetMaxPacketSize(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking003_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking005_GetMaxPacketSize(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking003_GetMaxPacketSize, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamNetworking_SteamNetworking005_vtable; +extern vtable_ptr winISteamNetworking_SteamNetworking003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworking_SteamNetworking005, - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_SendP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_ReadP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetP2PSessionState) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_DestroySocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_DestroyListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_SendDataOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsDataAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_RetrieveData) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetListenSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetSocketConnectionType) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetMaxPacketSize) +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking003, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking003_vtables) + __ASM_VTABLE(winISteamNetworking_SteamNetworking003, + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_SendP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_ReadP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetP2PSessionState) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_DestroySocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_DestroyListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_SendDataOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsDataAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_RetrieveData) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetListenSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetSocketConnectionType) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworking_SteamNetworking005 *create_winISteamNetworking_SteamNetworking005(void *linux_side) +struct w_steam_iface *create_winISteamNetworking_SteamNetworking003(void *u_iface) { - winISteamNetworking_SteamNetworking005 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking005), "SteamNetworking005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking005_vtable, 22, "SteamNetworking005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking003_vtable, 20, "SteamNetworking003"); + r->u_iface = u_iface; return r; } -#include "cppISteamNetworking_SteamNetworking004.h" - -typedef struct __winISteamNetworking_SteamNetworking004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking004; - DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_SendP2PPacket, 28) -bool __thiscall winISteamNetworking_SteamNetworking004_SendP2PPacket(winISteamNetworking_SteamNetworking004 *_this, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nVirtualPort) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_ReadP2PPacket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetP2PSessionState, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateListenSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateConnectionSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetListenSocketInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetSocketConnectionType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetMaxPacketSize, 8) + +int8_t __thiscall winISteamNetworking_SteamNetworking004_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32_t cubData, uint32_t eP2PSendType, int32_t nVirtualPort) { + struct ISteamNetworking_SteamNetworking004_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_SendP2PPacket(_this->linux_side, steamIDRemote, pubData, cubData, eP2PSendType, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_SendP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(winISteamNetworking_SteamNetworking004 *_this, uint32 * pcubMsgSize, int nVirtualPort) +int8_t __thiscall winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32_t *pcubMsgSize, int32_t nVirtualPort) { + struct ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable(_this->linux_side, pcubMsgSize, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_IsP2PPacketAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_ReadP2PPacket, 24) -bool __thiscall winISteamNetworking_SteamNetworking004_ReadP2PPacket(winISteamNetworking_SteamNetworking004 *_this, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nVirtualPort) +int8_t __thiscall winISteamNetworking_SteamNetworking004_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, CSteamID *psteamIDRemote, int32_t nVirtualPort) { + struct ISteamNetworking_SteamNetworking004_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_ReadP2PPacket(_this->linux_side, pubDest, cubDest, pcubMsgSize, psteamIDRemote, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_ReadP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(winISteamNetworking_SteamNetworking004 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(winISteamNetworking_SteamNetworking004 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetP2PSessionState, 16) -bool __thiscall winISteamNetworking_SteamNetworking004_GetP2PSessionState(winISteamNetworking_SteamNetworking004 *_this, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +int8_t __thiscall winISteamNetworking_SteamNetworking004_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { + struct ISteamNetworking_SteamNetworking004_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_GetP2PSessionState(_this->linux_side, steamIDRemote, pConnectionState); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_GetP2PSessionState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateListenSocket, 20) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateListenSocket(winISteamNetworking_SteamNetworking004 *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +uint32_t __thiscall winISteamNetworking_SteamNetworking004_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, uint32_t nIP, uint16_t nPort, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking004_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket, 24) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking004 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +uint32_t __thiscall winISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_CreateConnectionSocket, 16) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking004_CreateConnectionSocket(winISteamNetworking_SteamNetworking004 *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) +uint32_t __thiscall winISteamNetworking_SteamNetworking004_CreateConnectionSocket(struct w_steam_iface *_this, uint32_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking004_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_CreateConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_DestroySocket(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking004_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking004_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_DestroyListenSocket(winISteamNetworking_SteamNetworking004 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking004_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking004_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking004_SendDataOnSocket(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +int8_t __thiscall winISteamNetworking_SteamNetworking004_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking004_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailable(winISteamNetworking_SteamNetworking004 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking004_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking004_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_IsDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking004_RetrieveData(winISteamNetworking_SteamNetworking004 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking004_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking004_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_RetrieveData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking004_GetSocketInfo(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking004_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, uint32_t *punIPRemote, uint16_t *punPortRemote) { + struct ISteamNetworking_SteamNetworking004_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_GetSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking004_GetListenSocketInfo(winISteamNetworking_SteamNetworking004 *_this, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +int8_t __thiscall winISteamNetworking_SteamNetworking004_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pnIP, uint16_t *pnPort) { + struct ISteamNetworking_SteamNetworking004_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_GetListenSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetSocketConnectionType, 8) -ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking004_GetSocketConnectionType(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket) +uint32_t __thiscall winISteamNetworking_SteamNetworking004_GetSocketConnectionType(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking004_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_GetSocketConnectionType(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_GetSocketConnectionType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking004_GetMaxPacketSize, 8) -int __thiscall winISteamNetworking_SteamNetworking004_GetMaxPacketSize(winISteamNetworking_SteamNetworking004 *_this, SNetSocket_t hSocket) +int32_t __thiscall winISteamNetworking_SteamNetworking004_GetMaxPacketSize(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking004_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking004_GetMaxPacketSize(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking004_GetMaxPacketSize, ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworking_SteamNetworking004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking004, 0, ".?AVISteamNetworking@@") + +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking004_vtables) __ASM_VTABLE(winISteamNetworking_SteamNetworking004, VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_SendP2PPacket) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_IsP2PPacketAvailable) @@ -595,465 +1123,759 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_GetSocketConnectionType) VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking004_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworking_SteamNetworking004 *create_winISteamNetworking_SteamNetworking004(void *linux_side) +struct w_steam_iface *create_winISteamNetworking_SteamNetworking004(void *u_iface) { - winISteamNetworking_SteamNetworking004 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking004), "SteamNetworking004"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking004"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking004_vtable, 20, "SteamNetworking004"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamNetworking_SteamNetworking003.h" - -typedef struct __winISteamNetworking_SteamNetworking003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking003; +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_SendP2PPacket, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_ReadP2PPacket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetP2PSessionState, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateListenSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_CreateConnectionSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetListenSocketInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetSocketConnectionType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking005_GetMaxPacketSize, 8) -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_SendP2PPacket, 24) -bool __thiscall winISteamNetworking_SteamNetworking003_SendP2PPacket(winISteamNetworking_SteamNetworking003 *_this, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType) +int8_t __thiscall winISteamNetworking_SteamNetworking005_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32_t cubData, uint32_t eP2PSendType, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking005_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_SendP2PPacket(_this->linux_side, steamIDRemote, pubData, cubData, eP2PSendType); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_SendP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable, 8) -bool __thiscall winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(winISteamNetworking_SteamNetworking003 *_this, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32_t *pcubMsgSize, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_IsP2PPacketAvailable(_this->linux_side, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_IsP2PPacketAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_ReadP2PPacket, 20) -bool __thiscall winISteamNetworking_SteamNetworking003_ReadP2PPacket(winISteamNetworking_SteamNetworking003 *_this, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking005_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, CSteamID *psteamIDRemote, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking005_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_ReadP2PPacket(_this->linux_side, pubDest, cubDest, pcubMsgSize, psteamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_ReadP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(winISteamNetworking_SteamNetworking003 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser, 12) -bool __thiscall winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(winISteamNetworking_SteamNetworking003 *_this, CSteamID steamIDRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser(_this->linux_side, steamIDRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetP2PSessionState, 16) -bool __thiscall winISteamNetworking_SteamNetworking003_GetP2PSessionState(winISteamNetworking_SteamNetworking003 *_this, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState) +int8_t __thiscall winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_GetP2PSessionState(_this->linux_side, steamIDRemote, pConnectionState); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateListenSocket, 20) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateListenSocket(winISteamNetworking_SteamNetworking003 *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) +int8_t __thiscall winISteamNetworking_SteamNetworking005_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { + struct ISteamNetworking_SteamNetworking005_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_GetP2PSessionState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket, 24) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking003 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +int8_t __thiscall winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay(struct w_steam_iface *_this, int8_t bAllow) { + struct ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params params = + { + .linux_side = _this->u_iface, + .bAllow = bAllow, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_AllowP2PPacketRelay, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_CreateConnectionSocket, 16) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking003_CreateConnectionSocket(winISteamNetworking_SteamNetworking003 *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) +uint32_t __thiscall winISteamNetworking_SteamNetworking005_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, uint32_t nIP, uint16_t nPort, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking005_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking003_DestroySocket(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +uint32_t __thiscall winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking003_DestroyListenSocket(winISteamNetworking_SteamNetworking003 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +uint32_t __thiscall winISteamNetworking_SteamNetworking005_CreateConnectionSocket(struct w_steam_iface *_this, uint32_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking005_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_CreateConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking003_SendDataOnSocket(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +int8_t __thiscall winISteamNetworking_SteamNetworking005_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking005_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking005_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking005_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking005_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking005_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking003_IsDataAvailable(winISteamNetworking_SteamNetworking003 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking003_RetrieveData(winISteamNetworking_SteamNetworking003 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking003_GetSocketInfo(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking005_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking005_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_IsDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking003_GetListenSocketInfo(winISteamNetworking_SteamNetworking003 *_this, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +int8_t __thiscall winISteamNetworking_SteamNetworking005_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking005_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_RetrieveData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetSocketConnectionType, 8) -ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking003_GetSocketConnectionType(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking005_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, uint32_t *punIPRemote, uint16_t *punPortRemote) { + struct ISteamNetworking_SteamNetworking005_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_GetSocketConnectionType(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_GetSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking003_GetMaxPacketSize, 8) -int __thiscall winISteamNetworking_SteamNetworking003_GetMaxPacketSize(winISteamNetworking_SteamNetworking003 *_this, SNetSocket_t hSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking005_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pnIP, uint16_t *pnPort) { + struct ISteamNetworking_SteamNetworking005_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking003_GetMaxPacketSize(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_GetListenSocketInfo, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamNetworking_SteamNetworking003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworking_SteamNetworking003, - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_SendP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsP2PPacketAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_ReadP2PPacket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_AcceptP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CloseP2PSessionWithUser) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetP2PSessionState) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateP2PConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_CreateConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_DestroySocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_DestroyListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_SendDataOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsDataAvailableOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_RetrieveDataFromSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_IsDataAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_RetrieveData) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetListenSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetSocketConnectionType) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking003_GetMaxPacketSize) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamNetworking_SteamNetworking005_GetSocketConnectionType(struct w_steam_iface *_this, uint32_t hSocket) +{ + struct ISteamNetworking_SteamNetworking005_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_GetSocketConnectionType, ¶ms ); + return params._ret; } -#endif -winISteamNetworking_SteamNetworking003 *create_winISteamNetworking_SteamNetworking003(void *linux_side) +int32_t __thiscall winISteamNetworking_SteamNetworking005_GetMaxPacketSize(struct w_steam_iface *_this, uint32_t hSocket) { - winISteamNetworking_SteamNetworking003 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking003), "SteamNetworking003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking003_vtable, 20, "SteamNetworking003"); - r->linux_side = linux_side; - return r; + struct ISteamNetworking_SteamNetworking005_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking005_GetMaxPacketSize, ¶ms ); + return params._ret; } -#include "cppISteamNetworking_SteamNetworking002.h" +extern vtable_ptr winISteamNetworking_SteamNetworking005_vtable; -typedef struct __winISteamNetworking_SteamNetworking002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking002; +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking005, 0, ".?AVISteamNetworking@@") -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateListenSocket, 20) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateListenSocket(winISteamNetworking_SteamNetworking002 *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay) -{ - TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort, bAllowUseOfPacketRelay); -} +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking005_vtables) + __ASM_VTABLE(winISteamNetworking_SteamNetworking005, + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_SendP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsP2PPacketAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_ReadP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetP2PSessionState) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_AllowP2PPacketRelay) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_CreateConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_DestroySocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_DestroyListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_SendDataOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_RetrieveDataFromSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_IsDataAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_RetrieveData) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetListenSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetSocketConnectionType) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking005_GetMaxPacketSize) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket, 24) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking002 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay) +struct w_steam_iface *create_winISteamNetworking_SteamNetworking005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec, bAllowUseOfPacketRelay); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking005_vtable, 22, "SteamNetworking005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_CreateConnectionSocket, 16) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking002_CreateConnectionSocket(winISteamNetworking_SteamNetworking002 *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) -{ - TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); -} +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_SendP2PPacket, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_ReadP2PPacket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetP2PSessionState, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateListenSocket, 36) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_CreateConnectionSocket, 32) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_DestroySocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_DestroyListenSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_SendDataOnSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_IsDataAvailable, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_RetrieveData, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetSocketInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetListenSocketInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetSocketConnectionType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking006_GetMaxPacketSize, 8) -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking002_DestroySocket(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking006_SendP2PPacket(struct w_steam_iface *_this, CSteamID steamIDRemote, const void *pubData, uint32_t cubData, uint32_t eP2PSendType, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking006_SendP2PPacket_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pubData = pubData, + .cubData = cubData, + .eP2PSendType = eP2PSendType, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_SendP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking002_DestroyListenSocket(winISteamNetworking_SteamNetworking002 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable(struct w_steam_iface *_this, uint32_t *pcubMsgSize, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable_params params = + { + .linux_side = _this->u_iface, + .pcubMsgSize = pcubMsgSize, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_IsP2PPacketAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking002_SendDataOnSocket(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +int8_t __thiscall winISteamNetworking_SteamNetworking006_ReadP2PPacket(struct w_steam_iface *_this, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, CSteamID *psteamIDRemote, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking006_ReadP2PPacket_params params = + { + .linux_side = _this->u_iface, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .psteamIDRemote = psteamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_ReadP2PPacket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote) { + struct ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking002_IsDataAvailable(winISteamNetworking_SteamNetworking002 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser(struct w_steam_iface *_this, CSteamID steamIDRemote, int32_t nChannel) { + struct ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .nChannel = nChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking002_RetrieveData(winISteamNetworking_SteamNetworking002 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking006_GetP2PSessionState(struct w_steam_iface *_this, CSteamID steamIDRemote, P2PSessionState_t *pConnectionState) { + struct ISteamNetworking_SteamNetworking006_GetP2PSessionState_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .pConnectionState = pConnectionState, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_GetP2PSessionState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking002_GetSocketInfo(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +int8_t __thiscall winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay(struct w_steam_iface *_this, int8_t bAllow) { + struct ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay_params params = + { + .linux_side = _this->u_iface, + .bAllow = bAllow, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_AllowP2PPacketRelay, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking002_GetListenSocketInfo(winISteamNetworking_SteamNetworking002 *_this, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) +uint32_t __thiscall winISteamNetworking_SteamNetworking006_CreateListenSocket(struct w_steam_iface *_this, int32_t nVirtualP2PPort, SteamIPAddress_t nIP, uint16_t nPort, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking006_CreateListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualP2PPort = nVirtualP2PPort, + .nIP = nIP, + .nPort = nPort, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_CreateListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetSocketConnectionType, 8) -ESNetSocketConnectionType __thiscall winISteamNetworking_SteamNetworking002_GetSocketConnectionType(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket) +uint32_t __thiscall winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket(struct w_steam_iface *_this, CSteamID steamIDTarget, int32_t nVirtualPort, int32_t nTimeoutSec, int8_t bAllowUseOfPacketRelay) { + struct ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .steamIDTarget = steamIDTarget, + .nVirtualPort = nVirtualPort, + .nTimeoutSec = nTimeoutSec, + .bAllowUseOfPacketRelay = bAllowUseOfPacketRelay, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_GetSocketConnectionType(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking002_GetMaxPacketSize, 8) -int __thiscall winISteamNetworking_SteamNetworking002_GetMaxPacketSize(winISteamNetworking_SteamNetworking002 *_this, SNetSocket_t hSocket) +uint32_t __thiscall winISteamNetworking_SteamNetworking006_CreateConnectionSocket(struct w_steam_iface *_this, SteamIPAddress_t nIP, uint16_t nPort, int32_t nTimeoutSec) { + struct ISteamNetworking_SteamNetworking006_CreateConnectionSocket_params params = + { + .linux_side = _this->u_iface, + .nIP = nIP, + .nPort = nPort, + .nTimeoutSec = nTimeoutSec, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking002_GetMaxPacketSize(_this->linux_side, hSocket); -} - -extern vtable_ptr winISteamNetworking_SteamNetworking002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworking_SteamNetworking002, - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateP2PConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_CreateConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_DestroySocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_DestroyListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_SendDataOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_IsDataAvailableOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_RetrieveDataFromSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_IsDataAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_RetrieveData) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetListenSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetSocketConnectionType) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking002_GetMaxPacketSize) - ); -#ifndef __GNUC__ -} -#endif - -winISteamNetworking_SteamNetworking002 *create_winISteamNetworking_SteamNetworking002(void *linux_side) -{ - winISteamNetworking_SteamNetworking002 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking002), "SteamNetworking002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking002_vtable, 14, "SteamNetworking002"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_CreateConnectionSocket, ¶ms ); + return params._ret; } -#include "cppISteamNetworking_SteamNetworking001.h" - -typedef struct __winISteamNetworking_SteamNetworking001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworking_SteamNetworking001; - -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateListenSocket, 16) -SNetListenSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateListenSocket(winISteamNetworking_SteamNetworking001 *_this, int nVirtualP2PPort, uint32 nIP, uint16 nPort) +int8_t __thiscall winISteamNetworking_SteamNetworking006_DestroySocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking006_DestroySocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_CreateListenSocket(_this->linux_side, nVirtualP2PPort, nIP, nPort); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_DestroySocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket, 20) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(winISteamNetworking_SteamNetworking001 *_this, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec) +int8_t __thiscall winISteamNetworking_SteamNetworking006_DestroyListenSocket(struct w_steam_iface *_this, uint32_t hSocket, int8_t bNotifyRemoteEnd) { + struct ISteamNetworking_SteamNetworking006_DestroyListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .bNotifyRemoteEnd = bNotifyRemoteEnd, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket(_this->linux_side, steamIDTarget, nVirtualPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_DestroyListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_CreateConnectionSocket, 16) -SNetSocket_t __thiscall winISteamNetworking_SteamNetworking001_CreateConnectionSocket(winISteamNetworking_SteamNetworking001 *_this, uint32 nIP, uint16 nPort, int nTimeoutSec) +int8_t __thiscall winISteamNetworking_SteamNetworking006_SendDataOnSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubData, uint32_t cubData, int8_t bReliable) { + struct ISteamNetworking_SteamNetworking006_SendDataOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubData = pubData, + .cubData = cubData, + .bReliable = bReliable, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_CreateConnectionSocket(_this->linux_side, nIP, nPort, nTimeoutSec); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_SendDataOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_DestroySocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking001_DestroySocket(winISteamNetworking_SteamNetworking001 *_this, SNetSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket(struct w_steam_iface *_this, uint32_t hSocket, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_DestroySocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_DestroyListenSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking001_DestroyListenSocket(winISteamNetworking_SteamNetworking001 *_this, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd) +int8_t __thiscall winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket(struct w_steam_iface *_this, uint32_t hSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize) { + struct ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_DestroyListenSocket(_this->linux_side, hSocket, bNotifyRemoteEnd); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_RetrieveDataFromSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_SendDataOnSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking001_SendDataOnSocket(winISteamNetworking_SteamNetworking001 *_this, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable) +int8_t __thiscall winISteamNetworking_SteamNetworking006_IsDataAvailable(struct w_steam_iface *_this, uint32_t hListenSocket, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking006_IsDataAvailable_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_SendDataOnSocket(_this->linux_side, hSocket, pubData, cubData, bReliable); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_IsDataAvailable, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket, 12) -bool __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(winISteamNetworking_SteamNetworking001 *_this, SNetSocket_t hSocket, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking006_RetrieveData(struct w_steam_iface *_this, uint32_t hListenSocket, void *pubDest, uint32_t cubDest, uint32_t *pcubMsgSize, uint32_t *phSocket) { + struct ISteamNetworking_SteamNetworking006_RetrieveData_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pubDest = pubDest, + .cubDest = cubDest, + .pcubMsgSize = pcubMsgSize, + .phSocket = phSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket(_this->linux_side, hSocket, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_RetrieveData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket, 20) -bool __thiscall winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(winISteamNetworking_SteamNetworking001 *_this, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize) +int8_t __thiscall winISteamNetworking_SteamNetworking006_GetSocketInfo(struct w_steam_iface *_this, uint32_t hSocket, CSteamID *pSteamIDRemote, int32_t *peSocketStatus, SteamIPAddress_t *punIPRemote, uint16_t *punPortRemote) { + struct ISteamNetworking_SteamNetworking006_GetSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .pSteamIDRemote = pSteamIDRemote, + .peSocketStatus = peSocketStatus, + .punIPRemote = punIPRemote, + .punPortRemote = punPortRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_RetrieveDataFromSocket(_this->linux_side, hSocket, pubDest, cubDest, pcubMsgSize); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_GetSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_IsDataAvailable, 16) -bool __thiscall winISteamNetworking_SteamNetworking001_IsDataAvailable(winISteamNetworking_SteamNetworking001 *_this, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +int8_t __thiscall winISteamNetworking_SteamNetworking006_GetListenSocketInfo(struct w_steam_iface *_this, uint32_t hListenSocket, SteamIPAddress_t *pnIP, uint16_t *pnPort) { + struct ISteamNetworking_SteamNetworking006_GetListenSocketInfo_params params = + { + .linux_side = _this->u_iface, + .hListenSocket = hListenSocket, + .pnIP = pnIP, + .pnPort = pnPort, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_IsDataAvailable(_this->linux_side, hListenSocket, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_GetListenSocketInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_RetrieveData, 24) -bool __thiscall winISteamNetworking_SteamNetworking001_RetrieveData(winISteamNetworking_SteamNetworking001 *_this, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket) +uint32_t __thiscall winISteamNetworking_SteamNetworking006_GetSocketConnectionType(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking006_GetSocketConnectionType_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_RetrieveData(_this->linux_side, hListenSocket, pubDest, cubDest, pcubMsgSize, phSocket); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_GetSocketConnectionType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_GetSocketInfo, 24) -bool __thiscall winISteamNetworking_SteamNetworking001_GetSocketInfo(winISteamNetworking_SteamNetworking001 *_this, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote) +int32_t __thiscall winISteamNetworking_SteamNetworking006_GetMaxPacketSize(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworking_SteamNetworking006_GetMaxPacketSize_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_GetSocketInfo(_this->linux_side, hSocket, pSteamIDRemote, peSocketStatus, punIPRemote, punPortRemote); + STEAMCLIENT_CALL( ISteamNetworking_SteamNetworking006_GetMaxPacketSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworking_SteamNetworking001_GetListenSocketInfo, 16) -bool __thiscall winISteamNetworking_SteamNetworking001_GetListenSocketInfo(winISteamNetworking_SteamNetworking001 *_this, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort) -{ - TRACE("%p\n", _this); - return cppISteamNetworking_SteamNetworking001_GetListenSocketInfo(_this->linux_side, hListenSocket, pnIP, pnPort); -} +extern vtable_ptr winISteamNetworking_SteamNetworking006_vtable; -extern vtable_ptr winISteamNetworking_SteamNetworking001_vtable; +DEFINE_RTTI_DATA0(winISteamNetworking_SteamNetworking006, 0, ".?AVISteamNetworking@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworking_SteamNetworking001, - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateP2PConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_CreateConnectionSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_DestroySocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_DestroyListenSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_SendDataOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_IsDataAvailableOnSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_RetrieveDataFromSocket) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_IsDataAvailable) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_RetrieveData) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetSocketInfo) - VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking001_GetListenSocketInfo) +__ASM_BLOCK_BEGIN(winISteamNetworking_SteamNetworking006_vtables) + __ASM_VTABLE(winISteamNetworking_SteamNetworking006, + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_SendP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsP2PPacketAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_ReadP2PPacket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_AcceptP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CloseP2PSessionWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CloseP2PChannelWithUser) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetP2PSessionState) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_AllowP2PPacketRelay) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateP2PConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_CreateConnectionSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_DestroySocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_DestroyListenSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_SendDataOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsDataAvailableOnSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_RetrieveDataFromSocket) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_IsDataAvailable) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_RetrieveData) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetListenSocketInfo) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetSocketConnectionType) + VTABLE_ADD_FUNC(winISteamNetworking_SteamNetworking006_GetMaxPacketSize) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworking_SteamNetworking001 *create_winISteamNetworking_SteamNetworking001(void *linux_side) +struct w_steam_iface *create_winISteamNetworking_SteamNetworking006(void *u_iface) { - winISteamNetworking_SteamNetworking001 *r = alloc_mem_for_iface(sizeof(winISteamNetworking_SteamNetworking001), "SteamNetworking001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworking006"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking001_vtable, 12, "SteamNetworking001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworking_SteamNetworking006_vtable, 22, "SteamNetworking006"); + r->u_iface = u_iface; return r; } +void init_winISteamNetworking_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworking_SteamNetworking001_rtti( base ); + init_winISteamNetworking_SteamNetworking002_rtti( base ); + init_winISteamNetworking_SteamNetworking003_rtti( base ); + init_winISteamNetworking_SteamNetworking004_rtti( base ); + init_winISteamNetworking_SteamNetworking005_rtti( base ); + init_winISteamNetworking_SteamNetworking006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingFakeUDPPort.c b/lsteamclient/winISteamNetworkingFakeUDPPort.c index 114912d1b..06d96ec85 100644 --- a/lsteamclient/winISteamNetworkingFakeUDPPort.c +++ b/lsteamclient/winISteamNetworkingFakeUDPPort.c @@ -1,76 +1,64 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001.h" - -typedef struct __winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001; - DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort, 4) -void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this) -{ - TRACE("%p\n", _this); - cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort(_this->linux_side); -} - DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP, 20) -EResult __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this, const SteamNetworkingIPAddr * remoteAddress, const void * pData, uint32 cbData, int nSendFlags) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(_this->linux_side, remoteAddress, pData, cbData, nSendFlags); -} - DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages, 12) -int __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this, winSteamNetworkingMessage_t_157 ** ppOutMessages, int nMaxMessages) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup, 8) + +uint32_t __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *remoteAddress, const void *pData, uint32_t cbData, int32_t nSendFlags) { + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP_params params = + { + .linux_side = _this->u_iface, + .remoteAddress = remoteAddress, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - return cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages(_this->linux_side, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup, 8) -void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *_this, const SteamNetworkingIPAddr * remoteAddress) +void __thiscall winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(struct w_steam_iface *_this, const SteamNetworkingIPAddr *remoteAddress) { + struct ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup_params params = + { + .linux_side = _this->u_iface, + .remoteAddress = remoteAddress, + }; TRACE("%p\n", _this); - cppISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup(_this->linux_side, remoteAddress); + STEAMCLIENT_CALL( ISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup, ¶ms ); } extern vtable_ptr winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, 0, ".?AVISteamNetworkingFakeUDPPort@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtables) __ASM_VTABLE(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001, VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_DestroyFakeUDPPort) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_SendMessageToFakeIP) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ReceiveMessages) VTABLE_ADD_FUNC(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_ScheduleCleanup) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *u_iface) { - winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001 *r = HeapAlloc(GetProcessHeap(), 0, sizeof(winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001)); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingFakeUDPPort001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_vtable, 4, "SteamNetworkingFakeUDPPort001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamNetworkingFakeUDPPort_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingMessages.c b/lsteamclient/winISteamNetworkingMessages.c index d75a13920..97c374f9c 100644 --- a/lsteamclient/winISteamNetworkingMessages.c +++ b/lsteamclient/winISteamNetworkingMessages.c @@ -1,74 +1,87 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworkingMessages_SteamNetworkingMessages002.h" - -typedef struct __winISteamNetworkingMessages_SteamNetworkingMessages002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingMessages_SteamNetworkingMessages002; - DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser, 24) -EResult __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, const SteamNetworkingIdentity * identityRemote, const void * pubData, uint32 cubData, int nSendFlags, int nRemoteChannel) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(_this->linux_side, identityRemote, pubData, cubData, nSendFlags, nRemoteChannel); -} - DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel, 16) -int __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, int nLocalChannel, winSteamNetworkingMessage_t_157 ** ppOutMessages, int nMaxMessages) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo, 16) + +uint32_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, const void *pubData, uint32_t cubData, int32_t nSendFlags, int32_t nRemoteChannel) { + struct ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .pubData = pubData, + .cubData = cubData, + .nSendFlags = nSendFlags, + .nRemoteChannel = nRemoteChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel(_this->linux_side, nLocalChannel, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser, 8) -bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, const SteamNetworkingIdentity * identityRemote) +int8_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote) { + struct ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser(_this->linux_side, identityRemote); + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_AcceptSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser, 8) -bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, const SteamNetworkingIdentity * identityRemote) +int8_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote) { + struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + }; TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser(_this->linux_side, identityRemote); + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_CloseSessionWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser, 12) -bool __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, const SteamNetworkingIdentity * identityRemote, int nLocalChannel) +int8_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nLocalChannel) { + struct ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nLocalChannel = nLocalChannel, + }; TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser(_this->linux_side, identityRemote, nLocalChannel); + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo, 16) -ESteamNetworkingConnectionState __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(winISteamNetworkingMessages_SteamNetworkingMessages002 *_this, const SteamNetworkingIdentity * identityRemote, SteamNetConnectionInfo_t * pConnectionInfo, SteamNetConnectionRealTimeStatus_t * pQuickStatus) +uint32_t __thiscall winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, SteamNetConnectionInfo_t_153a *pConnectionInfo, SteamNetConnectionRealTimeStatus_t *pQuickStatus) { + struct ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .pConnectionInfo = pConnectionInfo, + .pQuickStatus = pQuickStatus, + }; TRACE("%p\n", _this); - return cppISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo(_this->linux_side, identityRemote, pConnectionInfo, pQuickStatus); + STEAMCLIENT_CALL( ISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo, ¶ms ); + return params._ret; } extern vtable_ptr winISteamNetworkingMessages_SteamNetworkingMessages002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingMessages_SteamNetworkingMessages002, 0, ".?AVISteamNetworkingMessages@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingMessages_SteamNetworkingMessages002_vtables) __ASM_VTABLE(winISteamNetworkingMessages_SteamNetworkingMessages002, VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_SendMessageToUser) VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_ReceiveMessagesOnChannel) @@ -77,16 +90,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_CloseChannelWithUser) VTABLE_ADD_FUNC(winISteamNetworkingMessages_SteamNetworkingMessages002_GetSessionConnectionInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingMessages_SteamNetworkingMessages002 *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *u_iface) { - winISteamNetworkingMessages_SteamNetworkingMessages002 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingMessages_SteamNetworkingMessages002), "SteamNetworkingMessages002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingMessages002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamNetworkingMessages_SteamNetworkingMessages002_vtable, 6, "SteamNetworkingMessages002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamNetworkingMessages_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingMessages_SteamNetworkingMessages002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingSockets.c b/lsteamclient/winISteamNetworkingSockets.c index ba597981e..bab1da462 100644 --- a/lsteamclient/winISteamNetworkingSockets.c +++ b/lsteamclient/winISteamNetworkingSockets.c @@ -1,1069 +1,1910 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworkingSockets_SteamNetworkingSockets012.h" - -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets012; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(_this->linux_side, localAddress, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress, 16) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(_this->linux_side, address, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(_this->linux_side, nLocalVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIdentity * identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(_this->linux_side, identityRemote, nRemoteVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamListenSocket hSocket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hPeer, int64 nUserData) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(_this->linux_side, hPeer, nUserData); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hPeer) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(_this->linux_side, hPeer); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hPeer, const char * pszName) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(_this->linux_side, hPeer, pszName); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection, 24) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags, pOutMessageNumber); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nMessages, winSteamNetworkingMessage_t_157 *const * pMessages, int64 * pOutMessageNumberOrResult) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_144 *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_157 ** ppOutMessages, int nMaxMessages) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingQuickConnectionStatus *pStats) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(_this->linux_side, hConn, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus, 20) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, SteamNetConnectionRealTimeStatus_t * pStatus, int nLanes, SteamNetConnectionRealTimeLaneStatus_t * pLanes) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(_this->linux_side, hConn, pStatus, nLanes, pLanes); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes, 20) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, int nNumLanes, const int * pLanePriorities, const uint16 * pLaneWeights) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(_this->linux_side, hConn, nNumLanes, pLanePriorities, pLaneWeights); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, SteamNetworkingIdentity * pIdentity) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication, 4) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, SteamNetAuthenticationStatus_t * pDetails) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup, 4) -HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetPollGroup hPollGroup) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(_this->linux_side, hPollGroup); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(_this->linux_side, hConn, hPollGroup); -} +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_destructor(struct w_steam_iface *_this) +{/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_157 ** ppOutMessages, int nMaxMessages) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup(_this->linux_side, hPollGroup, ppOutMessages, nMaxMessages); -} +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets002_vtable; -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); -} +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets002, 0, ".?AVISteamNetworkingSockets@@") -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIdentity * identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nRemoteVirtualPort, pOutParsedTicket); -} +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets002_vtables) + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets002, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_destructor) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIdentity * identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nRemoteVirtualPort, nOptions, pOptions); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets002_vtable, 29, "SteamNetworkingSockets002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, SteamDatagramHostedAddress * pRouting) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(_this->linux_side, nLocalVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin, 16) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling, 24) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(_this->linux_side, pSignaling, pPeerIdentity, nRemoteVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(_this->linux_side, pMsg, cbMsg, pContext); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(_this->linux_side, pcbBlob, pBlob, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(_this->linux_side, pCertificate, cbCertificate, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity, 8) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, const SteamNetworkingIdentity * pIdentity) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int nNumPorts) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(_this->linux_side, nNumPorts); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int idxFirstPort, SteamNetworkingFakeIPResult_t * pInfo) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(_this->linux_side, idxFirstPort, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int idxFakePort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(_this->linux_side, idxFakePort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection, 12) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, HSteamNetConnection hConn, SteamNetworkingIPAddr * pOutAddr) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_144 *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(_this->linux_side, hConn, pOutAddr); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort, 8) -winISteamNetworkingFakeUDPPort * __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this, int idxFakeServerPort) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingQuickConnectionStatus *pStats) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(_this->linux_side, idxFakeServerPort); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_destructor(winISteamNetworkingSockets_SteamNetworkingSockets012 *_this) -{/* never called */} - -extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets012, - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_destructor) - ); -#ifndef __GNUC__ -} -#endif - -winISteamNetworkingSockets_SteamNetworkingSockets012 *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *linux_side) -{ - winISteamNetworkingSockets_SteamNetworkingSockets012 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets012), "SteamNetworkingSockets012"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets012_vtable, 48, "SteamNetworkingSockets012"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus, ¶ms ); + return params._ret; } -#include "cppISteamNetworkingSockets_SteamNetworkingSockets009.h" - -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets009; - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(_this->linux_side, localAddress, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress, 16) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(_this->linux_side, address, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(_this->linux_side, nLocalVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const SteamNetworkingIdentity * identityRemote, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(_this->linux_side, identityRemote, nRemoteVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamListenSocket hSocket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hPeer, int64 nUserData) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(_this->linux_side, hPeer, nUserData); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hPeer) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(_this->linux_side, hPeer); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hPeer, const char * pszName) +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(_this->linux_side, hPeer, pszName); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection, 24) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags, pOutMessageNumber); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int nMessages, winSteamNetworkingMessage_t_152 *const * pMessages, int64 * pOutMessageNumberOrResult) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nVirtualPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int32_t *pcbSignedBlob, void *pBlob) { + struct ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_152 ** ppOutMessages, int nMaxMessages) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); -} +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_destructor(struct w_steam_iface *_this) +{/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(_this->linux_side, hConn, pInfo); -} +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets004_vtable; -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets004, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets004_vtables) + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets004, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_destructor) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets004_vtable, 32, "SteamNetworkingSockets004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_destructor, 4) + +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, SteamNetworkingIdentity * pIdentity) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication, 4) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, SteamNetAuthenticationStatus_t * pDetails) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup, 4) -HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetPollGroup hPollGroup) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(_this->linux_side, hPollGroup); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(_this->linux_side, hConn, hPollGroup); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_152 ** ppOutMessages, int nMaxMessages) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup(_this->linux_side, hPollGroup, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const SteamNetworkingIdentity * identityGameServer, int nRemoteVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags, int64_t *pOutMessageNumber) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nRemoteVirtualPort, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const SteamNetworkingIdentity * identityTarget, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nRemoteVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_144 *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingQuickConnectionStatus *pStats) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, SteamDatagramHostedAddress * pRouting) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int nLocalVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(_this->linux_side, nLocalVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin, 16) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling, 24) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, ISteamNetworkingConnectionSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nRemoteVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(_this->linux_side, pSignaling, pPeerIdentity, nRemoteVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const void * pMsg, int cbMsg, ISteamNetworkingSignalingRecvContext * pContext) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(_this->linux_side, pMsg, cbMsg, pContext); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(_this->linux_side, pcbBlob, pBlob, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(_this->linux_side, pCertificate, cbCertificate, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_destructor(winISteamNetworkingSockets_SteamNetworkingSockets009 *_this) -{/* never called */} - -extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets009_vtable; +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets009, - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_destructor) - ); -#ifndef __GNUC__ +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(struct w_steam_iface *_this) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -#endif -winISteamNetworkingSockets_SteamNetworkingSockets009 *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *linux_side) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { - winISteamNetworkingSockets_SteamNetworkingSockets009 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets009), "SteamNetworkingSockets009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets009_vtable, 41, "SteamNetworkingSockets009"); - r->linux_side = linux_side; - return r; + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -#include "cppISteamNetworkingSockets_SteamNetworkingSockets008.h" +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; +} -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets008; +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) +{ + struct ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int32_t *pcbSignedBlob, void *pBlob) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(_this->linux_side, localAddress, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress, 16) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(struct w_steam_iface *_this, w_ISteamNetworkingConnectionCustomSignaling *pSignaling, const SteamNetworkingIdentity_144 *pPeerIdentity, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(_this->linux_side, address, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int32_t cbMsg, w_ISteamNetworkingCustomSignalingRecvContext *pContext) { + struct ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(_this->linux_side, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal, ¶ms ); + return params._ret; +} + +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_destructor(struct w_steam_iface *_this) +{/* never called */} + +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets006_vtable; + +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets006, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets006_vtables) + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets006, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_destructor) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets006_vtable, 35, "SteamNetworkingSockets006"); + r->u_iface = u_iface; + return r; } +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P, 16) DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const SteamNetworkingIdentity * identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_destructor, 4) + +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(_this->linux_side, identityRemote, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamListenSocket hSocket) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hPeer, int64 nUserData) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(_this->linux_side, hPeer, nUserData); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hPeer) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(_this->linux_side, hPeer); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hPeer, const char * pszName) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(_this->linux_side, hPeer, pszName); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection, 24) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags, pOutMessageNumber); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, int nMessages, winSteamNetworkingMessage_t_149 *const * pMessages, int64 * pOutMessageNumberOrResult) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets008_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_149 ** ppOutMessages, int nMaxMessages) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags, int64_t *pOutMessageNumber) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(_this->linux_side, hConn, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_144 *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingQuickConnectionStatus *pStats) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetQuickConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, SteamNetworkingIdentity * pIdentity) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication, 4) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, SteamNetAuthenticationStatus_t * pDetails) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_InitAuthentication, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup, 4) -HSteamNetPollGroup __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetAuthenticationStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetPollGroup hPollGroup) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(_this->linux_side, hPollGroup); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CreatePollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetConnection hConn, HSteamNetPollGroup hPollGroup) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup(struct w_steam_iface *_this, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(_this->linux_side, hConn, hPollGroup); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_DestroyPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, HSteamNetPollGroup hPollGroup, winSteamNetworkingMessage_t_149 ** ppOutMessages, int nMaxMessages) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup(struct w_steam_iface *_this, uint32_t hConn, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceiveMessagesOnPollGroup(_this->linux_side, hPollGroup, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SetConnectionPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nVirtualPort = nVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nVirtualPort, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const SteamNetworkingIdentity * identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this) +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, SteamDatagramHostedAddress * pRouting) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nVirtualPort = nVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket(_this->linux_side, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin, 16) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int32_t *pcbSignedBlob, void *pBlob) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetGameCoordinatorServerLogin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, ISteamNetworkingConnectionCustomSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(struct w_steam_iface *_this, w_ISteamNetworkingConnectionCustomSignaling *pSignaling, const SteamNetworkingIdentity_144 *pPeerIdentity, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling(_this->linux_side, pSignaling, pPeerIdentity, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ConnectP2PCustomSignaling, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const void * pMsg, int cbMsg, ISteamNetworkingCustomSignalingRecvContext * pContext) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int32_t cbMsg, w_ISteamNetworkingCustomSignalingRecvContext *pContext) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal(_this->linux_side, pMsg, cbMsg, pContext); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_ReceivedP2PCustomSignal, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, int * pcbBlob, void * pBlob, SteamNetworkingErrMsg * errMsg) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(struct w_steam_iface *_this, int32_t *pcbBlob, void *pBlob, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest(_this->linux_side, pcbBlob, pBlob, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_GetCertificateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this, const void * pCertificate, int cbCertificate, SteamNetworkingErrMsg * errMsg) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int32_t cbCertificate, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate(_this->linux_side, pCertificate, cbCertificate, errMsg); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets008_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_destructor(winISteamNetworkingSockets_SteamNetworkingSockets008 *_this) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets008_destructor(struct w_steam_iface *_this) {/* never called */} extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets008, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets008_vtables) __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets008, VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_CreateListenSocketIP) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_ConnectByIPAddress) @@ -1106,856 +1947,1315 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_SetCertificate) VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets008_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingSockets_SteamNetworkingSockets008 *create_winISteamNetworkingSockets_SteamNetworkingSockets008(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets008(void *u_iface) { - winISteamNetworkingSockets_SteamNetworkingSockets008 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets008), "SteamNetworkingSockets008"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets008"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets008_vtable, 40, "SteamNetworkingSockets008"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamNetworkingSockets_SteamNetworkingSockets006.h" - -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets006; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets009_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const SteamNetworkingIPAddr * localAddress, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP(_this->linux_side, localAddress, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress, 16) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const SteamNetworkingIPAddr * address, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress(_this->linux_side, address, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nLocalVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P(_this->linux_side, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const SteamNetworkingIdentity * identityRemote, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P(_this->linux_side, identityRemote, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamListenSocket hSocket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hPeer, int64 nUserData) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData(_this->linux_side, hPeer, nUserData); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hPeer) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData(_this->linux_side, hPeer); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hPeer, const char * pszName) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName(_this->linux_side, hPeer, pszName); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection, 24) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags, int64 * pOutMessageNumber) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags, int64_t *pOutMessageNumber) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags, pOutMessageNumber); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages, 16) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, int nMessages, winSteamNetworkingMessage_t_147 ** pMessages, int64 * pOutMessageNumberOrResult) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages(_this->linux_side, nMessages, pMessages, pOutMessageNumberOrResult); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_144 *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_147 ** ppOutMessages, int nMaxMessages) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingQuickConnectionStatus *pStats) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStats = pStats, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_147 ** ppOutMessages, int nMaxMessages) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket(_this->linux_side, hSocket, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo(_this->linux_side, hConn, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, SteamNetworkingIdentity * pIdentity) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication, 4) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup(struct w_steam_iface *_this, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, SteamNetAuthenticationStatus_t * pDetails) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup(struct w_steam_iface *_this, uint32_t hConn, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nRemoteVirtualPort = nRemoteVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nVirtualPort, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const SteamNetworkingIdentity * identityTarget, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this) +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, SteamDatagramHostedAddress * pRouting) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket, 16) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, int nVirtualPort, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nLocalVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket(_this->linux_side, nVirtualPort, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin, 16) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int32_t *pcbSignedBlob, void *pBlob) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling, 20) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, ISteamNetworkingConnectionCustomSignaling * pSignaling, const SteamNetworkingIdentity * pPeerIdentity, int nOptions, const SteamNetworkingConfigValue_t * pOptions) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity_144 *pPeerIdentity, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling(_this->linux_side, pSignaling, pPeerIdentity, nOptions, pOptions); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this, const void * pMsg, int cbMsg, ISteamNetworkingCustomSignalingRecvContext * pContext) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int32_t cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal(_this->linux_side, pMsg, cbMsg, pContext); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets006_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets006_destructor(winISteamNetworkingSockets_SteamNetworkingSockets006 *_this) -{/* never called */} - -extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets006, - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectByIPAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateListenSocketP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_AcceptConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CloseListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessageToConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_SendMessages) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_FlushMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceiveMessagesOnListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetConnectionInfo) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetQuickConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetDetailedConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetListenSocketAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateSocketPair) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_InitAuthentication) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetAuthenticationStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedRelayAuthTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_FindRelayAuthTicketForServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectToHostedDedicatedServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerPOPID) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetHostedDedicatedServerAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_CreateHostedDedicatedServerListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_GetGameCoordinatorServerLogin) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_ReceivedP2PCustomSignal) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets006_destructor) - ); -#ifndef __GNUC__ -} -#endif - -winISteamNetworkingSockets_SteamNetworkingSockets006 *create_winISteamNetworkingSockets_SteamNetworkingSockets006(void *linux_side) -{ - winISteamNetworkingSockets_SteamNetworkingSockets006 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets006), "SteamNetworkingSockets006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets006_vtable, 35, "SteamNetworkingSockets006"); - r->linux_side = linux_side; - return r; -} - -#include "cppISteamNetworkingSockets_SteamNetworkingSockets004.h" - -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets004; - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const SteamNetworkingIPAddr * localAddress) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP(_this->linux_side, localAddress); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress, 8) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const SteamNetworkingIPAddr * address) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest(struct w_steam_iface *_this, int32_t *pcbBlob, void *pBlob, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress(_this->linux_side, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, int nVirtualPort) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int32_t cbCertificate, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P(_this->linux_side, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P, 12) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P(_this->linux_side, identityRemote, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection(_this->linux_side, hConn); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamListenSocket hSocket) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket(_this->linux_side, hSocket); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hPeer, int64 nUserData) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData(_this->linux_side, hPeer, nUserData); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hPeer) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData(_this->linux_side, hPeer); -} +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets009_destructor(struct w_steam_iface *_this) +{/* never called */} -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hPeer, const char * pszName) -{ - TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName(_this->linux_side, hPeer, pszName); -} +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets009_vtable; -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); -} +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets009, 0, ".?AVISteamNetworkingSockets@@") -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection, 20) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection(_this->linux_side, hConn); -} +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets009_vtables) + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets009, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SendMessages) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetQuickConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_InitAuthentication) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetAuthenticationStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreatePollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_DestroyPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetConnectionPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceiveMessagesOnPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetGameCoordinatorServerLogin) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ConnectP2PCustomSignaling) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_ReceivedP2PCustomSignal) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_GetCertificateRequest) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_SetCertificate) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_RunCallbacks) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets009_destructor) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_146 ** ppOutMessages, int nMaxMessages) +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets009_vtable, 41, "SteamNetworkingSockets009"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_146 ** ppOutMessages, int nMaxMessages) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket(_this->linux_side, hSocket, ppOutMessages, nMaxMessages); -} +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets012_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *localAddress, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params params = + { + .linux_side = _this->u_iface, + .localAddress = localAddress, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo(_this->linux_side, hConn, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress(struct w_steam_iface *_this, const SteamNetworkingIPAddr *address, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params params = + { + .linux_side = _this->u_iface, + .address = address, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P(struct w_steam_iface *_this, int32_t nLocalVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityRemote, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params params = + { + .linux_side = _this->u_iface, + .identityRemote = identityRemote, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, SteamNetworkingIdentity * pIdentity) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection(struct w_steam_iface *_this, uint32_t hPeer, int32_t nReason, const char *pszDebug, int8_t bEnableLinger) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nReason = nReason, + .pszDebug = pszDebug, + .bEnableLinger = bEnableLinger, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication, 4) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket(struct w_steam_iface *_this, uint32_t hSocket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, SteamNetAuthenticationStatus_t * pDetails) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer, int64_t nUserData) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .nUserData = nUserData, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +int64_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData(struct w_steam_iface *_this, uint32_t hPeer) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, const char *pszName) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nVirtualPort, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer, 12) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName(struct w_steam_iface *_this, uint32_t hPeer, char *pszName, int32_t nMaxLen) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params params = + { + .linux_side = _this->u_iface, + .hPeer = hPeer, + .pszName = pszName, + .nMaxLen = nMaxLen, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection(struct w_steam_iface *_this, uint32_t hConn, const void *pData, uint32_t cbData, int32_t nSendFlags, int64_t *pOutMessageNumber) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pData = pData, + .cbData = cbData, + .nSendFlags = nSendFlags, + .pOutMessageNumber = pOutMessageNumber, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection(struct w_steam_iface *_this, uint32_t hConn) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, SteamDatagramHostedAddress * pRouting) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionInfo_t_153a *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, int nVirtualPort) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus(struct w_steam_iface *_this, uint32_t hConn, SteamNetConnectionRealTimeStatus_t *pStatus, int32_t nLanes, SteamNetConnectionRealTimeLaneStatus_t *pLanes) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pStatus = pStatus, + .nLanes = nLanes, + .pLanes = pLanes, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket(_this->linux_side, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin, 16) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this, SteamDatagramGameCoordinatorServerLogin * pLoginInfo, int * pcbSignedBlob, void * pBlob) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus(struct w_steam_iface *_this, uint32_t hConn, char *pszBuf, int32_t cbBuf) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pszBuf = pszBuf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin(_this->linux_side, pLoginInfo, pcbSignedBlob, pBlob); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets004_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets004_destructor(winISteamNetworkingSockets_SteamNetworkingSockets004 *_this) -{/* never called */} - -extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets004, - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets004_destructor) - ); -#ifndef __GNUC__ -} -#endif - -winISteamNetworkingSockets_SteamNetworkingSockets004 *create_winISteamNetworkingSockets_SteamNetworkingSockets004(void *linux_side) -{ - winISteamNetworkingSockets_SteamNetworkingSockets004 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets004), "SteamNetworkingSockets004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets004_vtable, 32, "SteamNetworkingSockets004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus, ¶ms ); + return params._ret; } -#include "cppISteamNetworkingSockets_SteamNetworkingSockets002.h" - -typedef struct __winISteamNetworkingSockets_SteamNetworkingSockets002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSockets_SteamNetworkingSockets002; - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const SteamNetworkingIPAddr * localAddress) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress(struct w_steam_iface *_this, uint32_t hSocket, SteamNetworkingIPAddr *address) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params params = + { + .linux_side = _this->u_iface, + .hSocket = hSocket, + .address = address, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP(_this->linux_side, localAddress); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress, 8) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const SteamNetworkingIPAddr * address) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair(struct w_steam_iface *_this, uint32_t *pOutConnection1, uint32_t *pOutConnection2, int8_t bUseNetworkLoopback, const SteamNetworkingIdentity_144 *pIdentity1, const SteamNetworkingIdentity_144 *pIdentity2) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params params = + { + .linux_side = _this->u_iface, + .pOutConnection1 = pOutConnection1, + .pOutConnection2 = pOutConnection2, + .bUseNetworkLoopback = bUseNetworkLoopback, + .pIdentity1 = pIdentity1, + .pIdentity2 = pIdentity2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress(_this->linux_side, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, int nVirtualPort) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes(struct w_steam_iface *_this, uint32_t hConn, int32_t nNumLanes, const int32_t *pLanePriorities, const uint16_t *pLaneWeights) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .nNumLanes = nNumLanes, + .pLanePriorities = pLanePriorities, + .pLaneWeights = pLaneWeights, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P(_this->linux_side, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P, 12) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const SteamNetworkingIdentity * identityRemote, int nVirtualPort) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P(_this->linux_side, identityRemote, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection, 20) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hPeer, int nReason, const char * pszDebug, bool bEnableLinger) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus(struct w_steam_iface *_this, SteamNetAuthenticationStatus_t *pDetails) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection(_this->linux_side, hPeer, nReason, pszDebug, bEnableLinger); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamListenSocket hSocket) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket(_this->linux_side, hSocket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hPeer, int64 nUserData) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup(struct w_steam_iface *_this, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params params = + { + .linux_side = _this->u_iface, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData(_this->linux_side, hPeer, nUserData); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData, 8) -int64 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hPeer) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup(struct w_steam_iface *_this, uint32_t hConn, uint32_t hPollGroup) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .hPollGroup = hPollGroup, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData(_this->linux_side, hPeer); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName, 12) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hPeer, const char * pszName) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket(struct w_steam_iface *_this, const void *pvTicket, int32_t cbTicket, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params params = + { + .linux_side = _this->u_iface, + .pvTicket = pvTicket, + .cbTicket = cbTicket, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName(_this->linux_side, hPeer, pszName); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hPeer, char * pszName, int nMaxLen) +int32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityGameServer, int32_t nRemoteVirtualPort, SteamDatagramRelayAuthTicket *pOutParsedTicket) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params params = + { + .linux_side = _this->u_iface, + .identityGameServer = identityGameServer, + .nRemoteVirtualPort = nRemoteVirtualPort, + .pOutParsedTicket = pOutParsedTicket, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName(_this->linux_side, hPeer, pszName, nMaxLen); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection, 20) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn, const void * pData, uint32 cbData, int nSendFlags) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identityTarget, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params params = + { + .linux_side = _this->u_iface, + .identityTarget = identityTarget, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection(_this->linux_side, hConn, pData, cbData, nSendFlags); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection, 8) -EResult __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn) +uint16_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection(_this->linux_side, hConn); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn, winSteamNetworkingMessage_t_144 ** ppOutMessages, int nMaxMessages) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection(_this->linux_side, hConn, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamListenSocket hSocket, winSteamNetworkingMessage_t_144 ** ppOutMessages, int nMaxMessages) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress(struct w_steam_iface *_this, SteamDatagramHostedAddress *pRouting) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params params = + { + .linux_side = _this->u_iface, + .pRouting = pRouting, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket(_this->linux_side, hSocket, ppOutMessages, nMaxMessages); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn, SteamNetConnectionInfo_t * pInfo) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket(struct w_steam_iface *_this, int32_t nLocalVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params params = + { + .linux_side = _this->u_iface, + .nLocalVirtualPort = nLocalVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo(_this->linux_side, hConn, pInfo); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn, SteamNetworkingQuickConnectionStatus * pStats) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin(struct w_steam_iface *_this, SteamDatagramGameCoordinatorServerLogin *pLoginInfo, int32_t *pcbSignedBlob, void *pBlob) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params params = + { + .linux_side = _this->u_iface, + .pLoginInfo = pLoginInfo, + .pcbSignedBlob = pcbSignedBlob, + .pBlob = pBlob, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus(_this->linux_side, hConn, pStats); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection hConn, char * pszBuf, int cbBuf) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling(struct w_steam_iface *_this, void /*ISteamNetworkingConnectionSignaling*/ *pSignaling, const SteamNetworkingIdentity_144 *pPeerIdentity, int32_t nRemoteVirtualPort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params params = + { + .linux_side = _this->u_iface, + .pSignaling = pSignaling, + .pPeerIdentity = pPeerIdentity, + .nRemoteVirtualPort = nRemoteVirtualPort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus(_this->linux_side, hConn, pszBuf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress, 12) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamListenSocket hSocket, SteamNetworkingIPAddr * address) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal(struct w_steam_iface *_this, const void *pMsg, int32_t cbMsg, void /*ISteamNetworkingSignalingRecvContext*/ *pContext) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + .pContext = pContext, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress(_this->linux_side, hSocket, address); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair, 24) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, HSteamNetConnection * pOutConnection1, HSteamNetConnection * pOutConnection2, bool bUseNetworkLoopback, const SteamNetworkingIdentity * pIdentity1, const SteamNetworkingIdentity * pIdentity2) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest(struct w_steam_iface *_this, int32_t *pcbBlob, void *pBlob, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params params = + { + .linux_side = _this->u_iface, + .pcbBlob = pcbBlob, + .pBlob = pBlob, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair(_this->linux_side, pOutConnection1, pOutConnection2, bUseNetworkLoopback, pIdentity1, pIdentity2); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, SteamNetworkingIdentity * pIdentity) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate(struct w_steam_iface *_this, const void *pCertificate, int32_t cbCertificate, char (*errMsg)[1024]) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params params = + { + .linux_side = _this->u_iface, + .pCertificate = pCertificate, + .cbCertificate = cbCertificate, + .errMsg = errMsg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity(_this->linux_side, pIdentity); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket, 16) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const void * pvTicket, int cbTicket, SteamDatagramRelayAuthTicket * pOutParsedTicket) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *pIdentity) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket(_this->linux_side, pvTicket, cbTicket, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer, 16) -int __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const SteamNetworkingIdentity * identityGameServer, int nVirtualPort, SteamDatagramRelayAuthTicket * pOutParsedTicket) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks(struct w_steam_iface *_this) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer(_this->linux_side, identityGameServer, nVirtualPort, pOutParsedTicket); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer, 12) -HSteamNetConnection __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, const SteamNetworkingIdentity * identityTarget, int nVirtualPort) +int8_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP(struct w_steam_iface *_this, int32_t nNumPorts) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params params = + { + .linux_side = _this->u_iface, + .nNumPorts = nNumPorts, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer(_this->linux_side, identityTarget, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort, 4) -uint16 __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP(struct w_steam_iface *_this, int32_t idxFirstPort, SteamNetworkingFakeIPResult_t *pInfo) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params params = + { + .linux_side = _this->u_iface, + .idxFirstPort = idxFirstPort, + .pInfo = pInfo, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID, 4) -SteamNetworkingPOPID __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP(struct w_steam_iface *_this, int32_t idxFakePort, int32_t nOptions, const SteamNetworkingConfigValue_t *pOptions) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params params = + { + .linux_side = _this->u_iface, + .idxFakePort = idxFakePort, + .nOptions = nOptions, + .pOptions = pOptions, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress, 8) -bool __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, SteamDatagramHostedAddress * pRouting) +uint32_t __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection(struct w_steam_iface *_this, uint32_t hConn, SteamNetworkingIPAddr *pOutAddr) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params params = + { + .linux_side = _this->u_iface, + .hConn = hConn, + .pOutAddr = pOutAddr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress(_this->linux_side, pRouting); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket, 8) -HSteamListenSocket __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this, int nVirtualPort) +void /*ISteamNetworkingFakeUDPPort*/ * __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort(struct w_steam_iface *_this, int32_t idxFakeServerPort) { + struct ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params params = + { + .linux_side = _this->u_iface, + .idxFakeServerPort = idxFakeServerPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket(_this->linux_side, nVirtualPort); + STEAMCLIENT_CALL( ISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort, ¶ms ); + params._ret = create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( params._ret ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSockets_SteamNetworkingSockets002_destructor, 4) -void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets002_destructor(winISteamNetworkingSockets_SteamNetworkingSockets002 *_this) +void __thiscall winISteamNetworkingSockets_SteamNetworkingSockets012_destructor(struct w_steam_iface *_this) {/* never called */} -extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets002_vtable; +extern vtable_ptr winISteamNetworkingSockets_SteamNetworkingSockets012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets002, - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket) - VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets002_destructor) +DEFINE_RTTI_DATA0(winISteamNetworkingSockets_SteamNetworkingSockets012, 0, ".?AVISteamNetworkingSockets@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSockets_SteamNetworkingSockets012_vtables) + __ASM_VTABLE(winISteamNetworkingSockets_SteamNetworkingSockets012, + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort) + VTABLE_ADD_FUNC(winISteamNetworkingSockets_SteamNetworkingSockets012_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingSockets_SteamNetworkingSockets002 *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *u_iface) { - winISteamNetworkingSockets_SteamNetworkingSockets002 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSockets_SteamNetworkingSockets002), "SteamNetworkingSockets002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSockets012"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets002_vtable, 29, "SteamNetworkingSockets002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingSockets_SteamNetworkingSockets012_vtable, 48, "SteamNetworkingSockets012"); + r->u_iface = u_iface; return r; } +void init_winISteamNetworkingSockets_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingSockets_SteamNetworkingSockets002_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets004_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets006_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets008_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets009_rtti( base ); + init_winISteamNetworkingSockets_SteamNetworkingSockets012_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingSocketsSerialized.c b/lsteamclient/winISteamNetworkingSocketsSerialized.c index d330945c0..fa98d64d6 100644 --- a/lsteamclient/winISteamNetworkingSocketsSerialized.c +++ b/lsteamclient/winISteamNetworkingSocketsSerialized.c @@ -1,199 +1,285 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003.h" - -typedef struct __winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg, 12) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous, 24) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32_t unConnectionIDSrc, const void *pMsgRendezvous, uint32_t cbRendezvous) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDSrc = unConnectionIDSrc, + .pMsgRendezvous = pMsgRendezvous, + .cbRendezvous = cbRendezvous, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(_this->linux_side, steamIDRemote, unConnectionIDSrc, pMsgRendezvous, cbRendezvous); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, 24) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char * pszReason) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32_t unConnectionIDDest, uint32_t nReason, const char *pszReason) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDDest = unConnectionIDDest, + .nReason = nReason, + .pszReason = pszReason, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(_this->linux_side, steamIDRemote, unConnectionIDDest, nReason, pszReason); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync, 4) -SteamAPICall_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this) +uint64_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(struct w_steam_iface *_this) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, 16) -int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, void * buf, uint32 cbBuf, const char * pszLauncherPartner) +int32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(struct w_steam_iface *_this, void *buf, uint32_t cbBuf) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON_params params = + { + .linux_side = _this->u_iface, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(_this->linux_side, buf, cbBuf, pszLauncherPartner); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket, 12) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, const void * pTicket, uint32 cbTicket) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(struct w_steam_iface *_this, const void *pTicket, uint32_t cbTicket) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbTicket = cbTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(_this->linux_side, pTicket, cbTicket); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount, 4) -uint32 __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this) +uint32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(struct w_steam_iface *_this) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket, 16) -int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, uint32 idxTicket, void * buf, uint32 cbBuf) +int32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(struct w_steam_iface *_this, uint32_t idxTicket, void *buf, uint32_t cbBuf) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket_params params = + { + .linux_side = _this->u_iface, + .idxTicket = idxTicket, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(_this->linux_side, idxTicket, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg, 12) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *_this, const void * pMsg, uint32 cbMsg) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(struct w_steam_iface *_this, const void *pMsg, uint32_t cbMsg) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(_this->linux_side, pMsg, cbMsg); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg, ¶ms ); } -extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable; +extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003, - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg) +DEFINE_RTTI_DATA0(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002, 0, ".?AVISteamNetworkingSocketsSerialized@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtables) + __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002, + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002(void *u_iface) { - winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003), "SteamNetworkingSocketsSerialized003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSocketsSerialized002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable, 8, "SteamNetworkingSocketsSerialized003"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable, 8, "SteamNetworkingSocketsSerialized002"); + r->u_iface = u_iface; return r; } -#include "cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002.h" - -typedef struct __winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg, 12) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous, 24) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, CSteamID steamIDRemote, uint32 unConnectionIDSrc, const void * pMsgRendezvous, uint32 cbRendezvous) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32_t unConnectionIDSrc, const void *pMsgRendezvous, uint32_t cbRendezvous) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDSrc = unConnectionIDSrc, + .pMsgRendezvous = pMsgRendezvous, + .cbRendezvous = cbRendezvous, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous(_this->linux_side, steamIDRemote, unConnectionIDSrc, pMsgRendezvous, cbRendezvous); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, 24) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, CSteamID steamIDRemote, uint32 unConnectionIDDest, uint32 nReason, const char * pszReason) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure(struct w_steam_iface *_this, CSteamID steamIDRemote, uint32_t unConnectionIDDest, uint32_t nReason, const char *pszReason) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure_params params = + { + .linux_side = _this->u_iface, + .steamIDRemote = steamIDRemote, + .unConnectionIDDest = unConnectionIDDest, + .nReason = nReason, + .pszReason = pszReason, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure(_this->linux_side, steamIDRemote, unConnectionIDDest, nReason, pszReason); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync, 4) -SteamAPICall_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this) +uint64_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync(struct w_steam_iface *_this) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON, 12) -int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, void * buf, uint32 cbBuf) +int32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON(struct w_steam_iface *_this, void *buf, uint32_t cbBuf, const char *pszLauncherPartner) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON_params params = + { + .linux_side = _this->u_iface, + .buf = buf, + .cbBuf = cbBuf, + .pszLauncherPartner = pszLauncherPartner, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON(_this->linux_side, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket, 12) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, const void * pTicket, uint32 cbTicket) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket(struct w_steam_iface *_this, const void *pTicket, uint32_t cbTicket) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbTicket = cbTicket, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket(_this->linux_side, pTicket, cbTicket); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount, 4) -uint32 __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this) +uint32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount(struct w_steam_iface *_this) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket, 16) -int __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, uint32 idxTicket, void * buf, uint32 cbBuf) +int32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket(struct w_steam_iface *_this, uint32_t idxTicket, void *buf, uint32_t cbBuf) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket_params params = + { + .linux_side = _this->u_iface, + .idxTicket = idxTicket, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket(_this->linux_side, idxTicket, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg, 12) -void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *_this, const void * pMsg, uint32 cbMsg) +void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg(struct w_steam_iface *_this, const void *pMsg, uint32_t cbMsg) { + struct ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg_params params = + { + .linux_side = _this->u_iface, + .pMsg = pMsg, + .cbMsg = cbMsg, + }; TRACE("%p\n", _this); - cppISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg(_this->linux_side, pMsg, cbMsg); + STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg, ¶ms ); } -extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable; +extern vtable_ptr winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002, - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PRendezvous) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCertAsync) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetNetworkConfigJSON) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_CacheRelayTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicketCount) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_GetCachedRelayTicket) - VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_PostConnectionStateMsg) +DEFINE_RTTI_DATA0(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003, 0, ".?AVISteamNetworkingSocketsSerialized@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtables) + __ASM_VTABLE(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003, + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PRendezvous) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCertAsync) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_CacheRelayTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicketCount) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetCachedRelayTicket) + VTABLE_ADD_FUNC(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_PostConnectionStateMsg) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *u_iface) { - winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002), "SteamNetworkingSocketsSerialized002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingSocketsSerialized003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_vtable, 8, "SteamNetworkingSocketsSerialized002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_vtable, 8, "SteamNetworkingSocketsSerialized003"); + r->u_iface = u_iface; return r; } +void init_winISteamNetworkingSocketsSerialized_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_rtti( base ); + init_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamNetworkingUtils.c b/lsteamclient/winISteamNetworkingUtils.c index 8869d3ce9..1cbc352a4 100644 --- a/lsteamclient/winISteamNetworkingUtils.c +++ b/lsteamclient/winISteamNetworkingUtils.c @@ -1,857 +1,1412 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamNetworkingUtils_SteamNetworkingUtils004.h" - -typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingUtils_SteamNetworkingUtils004; - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, 8) -SteamNetworkingMessage_t * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, int cbAllocateBuffer) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage(_this->linux_side, cbAllocateBuffer); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamRelayNetworkStatus_t * pDetails) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(_this->linux_side, pDetails); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, 8) -float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkPingLocation_t * result) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(_this->linux_side, result); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) -{ - TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(_this->linux_side, location1, location2); -} +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkPingLocation_t * remoteLocation) +float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(_this->linux_side, remoteLocation); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(_this->linux_side, location, pszBuf, cchBufSize); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const char * pszString, SteamNetworkPingLocation_t * result) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(_this->linux_side, pszString, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, 8) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, float flMaxAgeSeconds) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(_this->linux_side, flMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(_this->linux_side, popID, pViaRelayPoP); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkingPOPID popID) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(_this->linux_side, popID); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, 4) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkingPOPID * list, int nListSz) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(_this->linux_side, list, nListSz); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, 4) -SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, 12) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(_this->linux_side, eDetailLevel, pfnFunc); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, 8) -ESteamNetworkingFakeIPType __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, uint32 nIPv4) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(_this->linux_side, nIPv4); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, 12) -EResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkingIPAddr * fakeIP, SteamNetworkingIdentity * pOutRealIdentity) +int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(_this->linux_side, fakeIP, pOutRealIdentity); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*W_STDCALL pfnFunc)(uint32_t, const char *)) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, eDataType, pArg); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, 28) -ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, 16) -const char * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(_this->linux_side, eValue, pOutDataType, pOutScope); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, 12) -ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, ESteamNetworkingConfigValue eCurrent, bool bEnumerateDevVars) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(_this->linux_side, eCurrent, bEnumerateDevVars); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, 20) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(_this->linux_side, addr, buf, cbBuf, bWithPort); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkingIPAddr * pAddr, const char * pszStr) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, int8_t bWithPort) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(_this->linux_side, pAddr, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, 8) -ESteamNetworkingFakeIPType __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkingIPAddr * addr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(_this->linux_side, addr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identity, char *buf, uint32_t cbBuf) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(_this->linux_side, identity, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this, SteamNetworkingIdentity * pIdentity, const char * pszStr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(_this->linux_side, pIdentity, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor, 4) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_destructor(winISteamNetworkingUtils_SteamNetworkingUtils004 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_destructor(struct w_steam_iface *_this) {/* never called */} -extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils004_vtable; +extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils004, - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor) +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils001, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils001_vtables) + __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils001, + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingUtils_SteamNetworkingUtils004 *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *u_iface) { - winISteamNetworkingUtils_SteamNetworkingUtils004 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingUtils_SteamNetworkingUtils004), "SteamNetworkingUtils004"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils004_vtable, 26, "SteamNetworkingUtils004"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils001_vtable, 22, "SteamNetworkingUtils001"); + r->u_iface = u_iface; return r; } -#include "cppISteamNetworkingUtils_SteamNetworkingUtils003.h" - -typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingUtils_SteamNetworkingUtils003; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, 8) -SteamNetworkingMessage_t * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, int cbAllocateBuffer) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage(_this->linux_side, cbAllocateBuffer); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamRelayNetworkStatus_t * pDetails) +float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, 8) -float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkPingLocation_t * result) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(_this->linux_side, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(_this->linux_side, location1, location2); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const SteamNetworkPingLocation_t * remoteLocation) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(_this->linux_side, remoteLocation); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(_this->linux_side, location, pszBuf, cchBufSize); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const char * pszString, SteamNetworkPingLocation_t * result) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(_this->linux_side, pszString, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, 8) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, float flMaxAgeSeconds) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(_this->linux_side, flMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(_this->linux_side, popID, pViaRelayPoP); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkingPOPID popID) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(_this->linux_side, popID); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, 4) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkingPOPID * list, int nListSz) +int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(_this->linux_side, list, nListSz); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, 4) -SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*W_STDCALL pfnFunc)(uint32_t, const char *)) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, 12) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(_this->linux_side, eDetailLevel, pfnFunc); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, eDataType, pArg); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, 28) -ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(_this->linux_side, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, 4) -ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, int8_t bWithPort) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, 20) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(_this->linux_side, addr, buf, cbBuf, bWithPort); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkingIPAddr * pAddr, const char * pszStr) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identity, char *buf, uint32_t cbBuf) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(_this->linux_side, pAddr, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) -{ - TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(_this->linux_side, identity, buf, cbBuf); -} - -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this, SteamNetworkingIdentity * pIdentity, const char * pszStr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(_this->linux_side, pIdentity, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor, 4) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_destructor(winISteamNetworkingUtils_SteamNetworkingUtils003 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(struct w_steam_iface *_this) {/* never called */} -extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils003_vtable; +extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils003, - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor) +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils002, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils002_vtables) + __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils002, + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingUtils_SteamNetworkingUtils003 *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *u_iface) { - winISteamNetworkingUtils_SteamNetworkingUtils003 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingUtils_SteamNetworkingUtils003), "SteamNetworkingUtils003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils003_vtable, 23, "SteamNetworkingUtils003"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils002_vtable, 22, "SteamNetworkingUtils002"); + r->u_iface = u_iface; return r; } -#include "cppISteamNetworkingUtils_SteamNetworkingUtils002.h" - -typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingUtils_SteamNetworkingUtils002; +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor, 4) -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus, 8) -ESteamNetworkingAvailability __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamRelayNetworkStatus_t * pDetails) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus(_this->linux_side, pDetails); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation, 8) -float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkPingLocation_t * result) +float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation(_this->linux_side, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations(_this->linux_side, location1, location2); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * remoteLocation) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost(_this->linux_side, remoteLocation); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString(_this->linux_side, location, pszBuf, cchBufSize); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const char * pszString, SteamNetworkPingLocation_t * result) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString(_this->linux_side, pszString, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate, 8) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, float flMaxAgeSeconds) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate(_this->linux_side, flMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter(_this->linux_side, popID, pViaRelayPoP); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID popID) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP(_this->linux_side, popID); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount, 4) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingPOPID * list, int nListSz) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList(_this->linux_side, list, nListSz); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp, 4) -SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction, 12) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*W_STDCALL pfnFunc)(uint32_t, const char *)) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction(_this->linux_side, eDetailLevel, pfnFunc); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, eDataType, pArg); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue, 28) -ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, const char **pOutName, uint32_t *pOutDataType, uint32_t *pOutScope, uint32_t *pOutNextValue) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutName = pOutName, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + .pOutNextValue = pOutNextValue, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo(_this->linux_side, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue, 4) -ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString, 20) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, int8_t bWithPort) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString(_this->linux_side, addr, buf, cbBuf, bWithPort); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingIPAddr * pAddr, const char * pszStr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString(_this->linux_side, pAddr, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identity, char *buf, uint32_t cbBuf) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString(_this->linux_side, identity, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this, SteamNetworkingIdentity * pIdentity, const char * pszStr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString(_this->linux_side, pIdentity, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor, 4) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils002_destructor(winISteamNetworkingUtils_SteamNetworkingUtils002 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils003_destructor(struct w_steam_iface *_this) {/* never called */} -extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils002_vtable; +extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils003_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils002, - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetRelayNetworkStatus) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalPingLocation) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeBetweenTwoLocations) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_EstimatePingTimeFromLocalHost) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ConvertPingLocationToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_ParsePingLocationString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_CheckPingDataUpToDate) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPingToDataCenter) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetDirectPingToPOP) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPCount) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetPOPList) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetLocalTimestamp) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetDebugOutputFunction) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetConfigValueInfo) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_GetFirstConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIPAddr_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_SteamNetworkingIdentity_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils002_destructor) +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils003, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils003_vtables) + __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils003, + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_AllocateMessage) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetRelayNetworkStatus) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalPingLocation) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeBetweenTwoLocations) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_EstimatePingTimeFromLocalHost) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ConvertPingLocationToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_ParsePingLocationString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_CheckPingDataUpToDate) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPingToDataCenter) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetDirectPingToPOP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPCount) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetPOPList) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetLocalTimestamp) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetDebugOutputFunction) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetConfigValueInfo) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_GetFirstConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIPAddr_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_SteamNetworkingIdentity_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils003_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingUtils_SteamNetworkingUtils002 *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *u_iface) { - winISteamNetworkingUtils_SteamNetworkingUtils002 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingUtils_SteamNetworkingUtils002), "SteamNetworkingUtils002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils002_vtable, 22, "SteamNetworkingUtils002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils003_vtable, 23, "SteamNetworkingUtils003"); + r->u_iface = u_iface; return r; } -#include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h" +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, 4) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, 24) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, 28) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, 20) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, 8) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, 16) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, 12) +DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor, 4) + +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus(struct w_steam_iface *_this, SteamRelayNetworkStatus_t *pDetails) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus_params params = + { + .linux_side = _this->u_iface, + .pDetails = pDetails, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus, ¶ms ); + return params._ret; +} + +float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation(struct w_steam_iface *_this, SteamNetworkPingLocation_t *result) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation_params params = + { + .linux_side = _this->u_iface, + .result = result, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation, ¶ms ); + return params._ret; +} -typedef struct __winISteamNetworkingUtils_SteamNetworkingUtils001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamNetworkingUtils_SteamNetworkingUtils001; +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location1, const SteamNetworkPingLocation_t *location2) +{ + struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations_params params = + { + .linux_side = _this->u_iface, + .location1 = location1, + .location2 = location2, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation, 8) -float __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkPingLocation_t * result) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *remoteLocation) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost_params params = + { + .linux_side = _this->u_iface, + .remoteLocation = remoteLocation, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation(_this->linux_side, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const SteamNetworkPingLocation_t * location1, const SteamNetworkPingLocation_t * location2) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString(struct w_steam_iface *_this, const SteamNetworkPingLocation_t *location, char *pszBuf, int32_t cchBufSize) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString_params params = + { + .linux_side = _this->u_iface, + .location = location, + .pszBuf = pszBuf, + .cchBufSize = cchBufSize, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations(_this->linux_side, location1, location2); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const SteamNetworkPingLocation_t * remoteLocation) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString(struct w_steam_iface *_this, const char *pszString, SteamNetworkPingLocation_t *result) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString_params params = + { + .linux_side = _this->u_iface, + .pszString = pszString, + .result = result, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost(_this->linux_side, remoteLocation); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const SteamNetworkPingLocation_t * location, char * pszBuf, int cchBufSize) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate(struct w_steam_iface *_this, float flMaxAgeSeconds) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate_params params = + { + .linux_side = _this->u_iface, + .flMaxAgeSeconds = flMaxAgeSeconds, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString(_this->linux_side, location, pszBuf, cchBufSize); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const char * pszString, SteamNetworkPingLocation_t * result) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter(struct w_steam_iface *_this, uint32_t popID, uint32_t *pViaRelayPoP) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + .pViaRelayPoP = pViaRelayPoP, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString(_this->linux_side, pszString, result); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate, 8) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, float flMaxAgeSeconds) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP(struct w_steam_iface *_this, uint32_t popID) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP_params params = + { + .linux_side = _this->u_iface, + .popID = popID, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate(_this->linux_side, flMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress, 4) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkingPOPID popID, SteamNetworkingPOPID * pViaRelayPoP) +int32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList(struct w_steam_iface *_this, uint32_t *list, int32_t nListSz) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList_params params = + { + .linux_side = _this->u_iface, + .list = list, + .nListSz = nListSz, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter(_this->linux_side, popID, pViaRelayPoP); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP, 8) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkingPOPID popID) +int64_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp(struct w_steam_iface *_this) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP(_this->linux_side, popID); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount, 4) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction(struct w_steam_iface *_this, uint32_t eDetailLevel, void (*W_STDCALL pfnFunc)(uint32_t, const char *)) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction_params params = + { + .linux_side = _this->u_iface, + .eDetailLevel = eDetailLevel, + .pfnFunc = pfnFunc, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList, 12) -int __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkingPOPID * list, int nListSz) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType(struct w_steam_iface *_this, uint32_t nIPv4) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType_params params = + { + .linux_side = _this->u_iface, + .nIPv4 = nIPv4, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList(_this->linux_side, list, nListSz); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp, 4) -SteamNetworkingMicroseconds __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP(struct w_steam_iface *_this, const SteamNetworkingIPAddr *fakeIP, SteamNetworkingIdentity_144 *pOutRealIdentity) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP_params params = + { + .linux_side = _this->u_iface, + .fakeIP = fakeIP, + .pOutRealIdentity = pOutRealIdentity, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction, 12) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, ESteamNetworkingSocketsDebugOutputType eDetailLevel, FSteamNetworkingSocketsDebugOutput pfnFunc) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t eDataType, const void *pArg) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .eDataType = eDataType, + .pArg = pArg, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction(_this->linux_side, eDetailLevel, pfnFunc); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType eDataType, const void * pArg) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue(struct w_steam_iface *_this, uint32_t eValue, uint32_t eScopeType, int32_t scopeObj, uint32_t *pOutDataType, void *pResult, uint32_t *cbResult) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .eScopeType = eScopeType, + .scopeObj = scopeObj, + .pOutDataType = pOutDataType, + .pResult = pResult, + .cbResult = cbResult, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, eDataType, pArg); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue, 28) -ESteamNetworkingGetConfigValueResult __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigScope eScopeType, intptr_t scopeObj, ESteamNetworkingConfigDataType * pOutDataType, void * pResult, size_t * cbResult) +const char * __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo(struct w_steam_iface *_this, uint32_t eValue, uint32_t *pOutDataType, uint32_t *pOutScope) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo_params params = + { + .linux_side = _this->u_iface, + .eValue = eValue, + .pOutDataType = pOutDataType, + .pOutScope = pOutScope, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue(_this->linux_side, eValue, eScopeType, scopeObj, pOutDataType, pResult, cbResult); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo, 24) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, ESteamNetworkingConfigValue eValue, const char ** pOutName, ESteamNetworkingConfigDataType * pOutDataType, ESteamNetworkingConfigScope * pOutScope, ESteamNetworkingConfigValue * pOutNextValue) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues(struct w_steam_iface *_this, uint32_t eCurrent, int8_t bEnumerateDevVars) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues_params params = + { + .linux_side = _this->u_iface, + .eCurrent = eCurrent, + .bEnumerateDevVars = bEnumerateDevVars, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo(_this->linux_side, eValue, pOutName, pOutDataType, pOutScope, pOutNextValue); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue, 4) -ESteamNetworkingConfigValue __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr, char *buf, uint32_t cbBuf, int8_t bWithPort) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + .buf = buf, + .cbBuf = cbBuf, + .bWithPort = bWithPort, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue(_this->linux_side); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString, 20) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const SteamNetworkingIPAddr * addr, char * buf, size_t cbBuf, bool bWithPort) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString(struct w_steam_iface *_this, SteamNetworkingIPAddr *pAddr, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString_params params = + { + .linux_side = _this->u_iface, + .pAddr = pAddr, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString(_this->linux_side, addr, buf, cbBuf, bWithPort); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkingIPAddr * pAddr, const char * pszStr) +uint32_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType(struct w_steam_iface *_this, const SteamNetworkingIPAddr *addr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType_params params = + { + .linux_side = _this->u_iface, + .addr = addr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString(_this->linux_side, pAddr, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString, 16) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, const SteamNetworkingIdentity * identity, char * buf, size_t cbBuf) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString(struct w_steam_iface *_this, const SteamNetworkingIdentity_144 *identity, char *buf, uint32_t cbBuf) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString_params params = + { + .linux_side = _this->u_iface, + .identity = identity, + .buf = buf, + .cbBuf = cbBuf, + }; TRACE("%p\n", _this); - cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString(_this->linux_side, identity, buf, cbBuf); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString, 12) -bool __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this, SteamNetworkingIdentity * pIdentity, const char * pszStr) +int8_t __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString(struct w_steam_iface *_this, SteamNetworkingIdentity_144 *pIdentity, const char *pszStr) { + struct ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString_params params = + { + .linux_side = _this->u_iface, + .pIdentity = pIdentity, + .pszStr = pszStr, + }; TRACE("%p\n", _this); - return cppISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString(_this->linux_side, pIdentity, pszStr); + STEAMCLIENT_CALL( ISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor, 4) -void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils001_destructor(winISteamNetworkingUtils_SteamNetworkingUtils001 *_this) +void __thiscall winISteamNetworkingUtils_SteamNetworkingUtils004_destructor(struct w_steam_iface *_this) {/* never called */} -extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils001_vtable; +extern vtable_ptr winISteamNetworkingUtils_SteamNetworkingUtils004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils001, - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeBetweenTwoLocations) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_EstimatePingTimeFromLocalHost) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ConvertPingLocationToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_ParsePingLocationString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_CheckPingDataUpToDate) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_IsPingMeasurementInProgress) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPingToDataCenter) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetDirectPingToPOP) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPCount) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetPOPList) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalTimestamp) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetDebugOutputFunction) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetConfigValueInfo) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_GetFirstConfigValue) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIPAddr_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ToString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_SteamNetworkingIdentity_ParseString) - VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils001_destructor) +DEFINE_RTTI_DATA0(winISteamNetworkingUtils_SteamNetworkingUtils004, 0, ".?AVISteamNetworkingUtils@@") + +__ASM_BLOCK_BEGIN(winISteamNetworkingUtils_SteamNetworkingUtils004_vtables) + __ASM_VTABLE(winISteamNetworkingUtils_SteamNetworkingUtils004, + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_AllocateMessage) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRelayNetworkStatus) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalPingLocation) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeBetweenTwoLocations) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_EstimatePingTimeFromLocalHost) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ConvertPingLocationToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_ParsePingLocationString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_CheckPingDataUpToDate) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPingToDataCenter) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetDirectPingToPOP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPCount) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetPOPList) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetLocalTimestamp) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetDebugOutputFunction) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetIPv4FakeIPType) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetRealIdentityForFakeIP) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValue) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_GetConfigValueInfo) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_IterateGenericEditableConfigValues) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIPAddr_GetFakeIPType) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ToString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_SteamNetworkingIdentity_ParseString) + VTABLE_ADD_FUNC(winISteamNetworkingUtils_SteamNetworkingUtils004_destructor) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamNetworkingUtils_SteamNetworkingUtils001 *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *linux_side) +struct w_steam_iface *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *u_iface) { - winISteamNetworkingUtils_SteamNetworkingUtils001 *r = alloc_mem_for_iface(sizeof(winISteamNetworkingUtils_SteamNetworkingUtils001), "SteamNetworkingUtils001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamNetworkingUtils004"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils001_vtable, 22, "SteamNetworkingUtils001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamNetworkingUtils_SteamNetworkingUtils004_vtable, 26, "SteamNetworkingUtils004"); + r->u_iface = u_iface; return r; } +void init_winISteamNetworkingUtils_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamNetworkingUtils_SteamNetworkingUtils001_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils002_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils003_rtti( base ); + init_winISteamNetworkingUtils_SteamNetworkingUtils004_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamParentalSettings.c b/lsteamclient/winISteamParentalSettings.c index f51a960a8..cd399f4b8 100644 --- a/lsteamclient/winISteamParentalSettings.c +++ b/lsteamclient/winISteamParentalSettings.c @@ -1,74 +1,90 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001.h" - -typedef struct __winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled, 4) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this) +DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked, 4) +DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked, 8) +DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList, 8) +DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked, 8) +DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList, 8) + +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(struct w_steam_iface *_this) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked, 4) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this) +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(struct w_steam_iface *_this) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked(_this->linux_side); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked, 8) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this, AppId_t nAppID) +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppBlocked, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList, 8) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this, AppId_t nAppID) +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsAppInBlockList, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked, 8) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this, EParentalFeature eFeature) +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(struct w_steam_iface *_this, uint32_t eFeature) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked_params params = + { + .linux_side = _this->u_iface, + .eFeature = eFeature, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked(_this->linux_side, eFeature); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList, 8) -bool __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *_this, EParentalFeature eFeature) +int8_t __thiscall winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(struct w_steam_iface *_this, uint32_t eFeature) { + struct ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList_params params = + { + .linux_side = _this->u_iface, + .eFeature = eFeature, + }; TRACE("%p\n", _this); - return cppISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList(_this->linux_side, eFeature); + STEAMCLIENT_CALL( ISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList, ¶ms ); + return params._ret; } extern vtable_ptr winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001, 0, ".?AVISteamParentalSettings@@") + +__ASM_BLOCK_BEGIN(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockEnabled) VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsParentalLockLocked) @@ -77,16 +93,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureBlocked) VTABLE_ADD_FUNC(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_BIsFeatureInBlockList) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *u_iface) { - winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001), "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_vtable, 6, "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamParentalSettings_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamParties.c b/lsteamclient/winISteamParties.c index 6584f8df6..ebabf6b41 100644 --- a/lsteamclient/winISteamParties.c +++ b/lsteamclient/winISteamParties.c @@ -1,116 +1,181 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamParties_SteamParties002.h" - -typedef struct __winISteamParties_SteamParties002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamParties_SteamParties002; - DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumActiveBeacons, 4) -uint32 __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(winISteamParties_SteamParties002 *_this) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconByIndex, 8) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_JoinParty, 12) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations, 8) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_OnReservationCompleted, 20) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CancelReservation, 20) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_ChangeNumOpenSlots, 16) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_DestroyBeacon, 12) +DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28) + +uint32_t __thiscall winISteamParties_SteamParties002_GetNumActiveBeacons(struct w_steam_iface *_this) { + struct ISteamParties_SteamParties002_GetNumActiveBeacons_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetNumActiveBeacons(_this->linux_side); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetNumActiveBeacons, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconByIndex, 8) -PartyBeaconID_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(winISteamParties_SteamParties002 *_this, uint32 unIndex) +uint64_t __thiscall winISteamParties_SteamParties002_GetBeaconByIndex(struct w_steam_iface *_this, uint32_t unIndex) { + struct ISteamParties_SteamParties002_GetBeaconByIndex_params params = + { + .linux_side = _this->u_iface, + .unIndex = unIndex, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetBeaconByIndex(_this->linux_side, unIndex); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconByIndex, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconDetails, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconDetails(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID, CSteamID * pSteamIDBeaconOwner, winSteamPartyBeaconLocation_t_157 * pLocation, char * pchMetadata, int cchMetadata) +int8_t __thiscall winISteamParties_SteamParties002_GetBeaconDetails(struct w_steam_iface *_this, uint64_t ulBeaconID, CSteamID *pSteamIDBeaconOwner, w_SteamPartyBeaconLocation_t *pLocation, char *pchMetadata, int32_t cchMetadata) { + struct ISteamParties_SteamParties002_GetBeaconDetails_params params = + { + .linux_side = _this->u_iface, + .ulBeaconID = ulBeaconID, + .pSteamIDBeaconOwner = pSteamIDBeaconOwner, + .pLocation = pLocation, + .pchMetadata = pchMetadata, + .cchMetadata = cchMetadata, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetBeaconDetails(_this->linux_side, ulBeaconID, pSteamIDBeaconOwner, pLocation, pchMetadata, cchMetadata); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_JoinParty, 12) -SteamAPICall_t __thiscall winISteamParties_SteamParties002_JoinParty(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeaconID) +uint64_t __thiscall winISteamParties_SteamParties002_JoinParty(struct w_steam_iface *_this, uint64_t ulBeaconID) { + struct ISteamParties_SteamParties002_JoinParty_params params = + { + .linux_side = _this->u_iface, + .ulBeaconID = ulBeaconID, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_JoinParty(_this->linux_side, ulBeaconID); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_JoinParty, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetNumAvailableBeaconLocations, 8) -bool __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, uint32 * puNumLocations) +int8_t __thiscall winISteamParties_SteamParties002_GetNumAvailableBeaconLocations(struct w_steam_iface *_this, uint32_t *puNumLocations) { + struct ISteamParties_SteamParties002_GetNumAvailableBeaconLocations_params params = + { + .linux_side = _this->u_iface, + .puNumLocations = puNumLocations, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetNumAvailableBeaconLocations(_this->linux_side, puNumLocations); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetNumAvailableBeaconLocations, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetAvailableBeaconLocations, 12) -bool __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_157 * pLocationList, uint32 uMaxNumLocations) +int8_t __thiscall winISteamParties_SteamParties002_GetAvailableBeaconLocations(struct w_steam_iface *_this, w_SteamPartyBeaconLocation_t *pLocationList, uint32_t uMaxNumLocations) { + struct ISteamParties_SteamParties002_GetAvailableBeaconLocations_params params = + { + .linux_side = _this->u_iface, + .pLocationList = pLocationList, + .uMaxNumLocations = uMaxNumLocations, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetAvailableBeaconLocations(_this->linux_side, pLocationList, uMaxNumLocations); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetAvailableBeaconLocations, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CreateBeacon, 20) -SteamAPICall_t __thiscall winISteamParties_SteamParties002_CreateBeacon(winISteamParties_SteamParties002 *_this, uint32 unOpenSlots, winSteamPartyBeaconLocation_t_157 * pBeaconLocation, const char * pchConnectString, const char * pchMetadata) +uint64_t __thiscall winISteamParties_SteamParties002_CreateBeacon(struct w_steam_iface *_this, uint32_t unOpenSlots, w_SteamPartyBeaconLocation_t *pBeaconLocation, const char *pchConnectString, const char *pchMetadata) { + struct ISteamParties_SteamParties002_CreateBeacon_params params = + { + .linux_side = _this->u_iface, + .unOpenSlots = unOpenSlots, + .pBeaconLocation = pBeaconLocation, + .pchConnectString = pchConnectString, + .pchMetadata = pchMetadata, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_CreateBeacon(_this->linux_side, unOpenSlots, pBeaconLocation, pchConnectString, pchMetadata); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_CreateBeacon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_OnReservationCompleted, 20) -void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +void __thiscall winISteamParties_SteamParties002_OnReservationCompleted(struct w_steam_iface *_this, uint64_t ulBeacon, CSteamID steamIDUser) { + struct ISteamParties_SteamParties002_OnReservationCompleted_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamParties_SteamParties002_OnReservationCompleted(_this->linux_side, ulBeacon, steamIDUser); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_OnReservationCompleted, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_CancelReservation, 20) -void __thiscall winISteamParties_SteamParties002_CancelReservation(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, CSteamID steamIDUser) +void __thiscall winISteamParties_SteamParties002_CancelReservation(struct w_steam_iface *_this, uint64_t ulBeacon, CSteamID steamIDUser) { + struct ISteamParties_SteamParties002_CancelReservation_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - cppISteamParties_SteamParties002_CancelReservation(_this->linux_side, ulBeacon, steamIDUser); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_CancelReservation, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_ChangeNumOpenSlots, 16) -SteamAPICall_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon, uint32 unOpenSlots) +uint64_t __thiscall winISteamParties_SteamParties002_ChangeNumOpenSlots(struct w_steam_iface *_this, uint64_t ulBeacon, uint32_t unOpenSlots) { + struct ISteamParties_SteamParties002_ChangeNumOpenSlots_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + .unOpenSlots = unOpenSlots, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_ChangeNumOpenSlots(_this->linux_side, ulBeacon, unOpenSlots); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_ChangeNumOpenSlots, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_DestroyBeacon, 12) -bool __thiscall winISteamParties_SteamParties002_DestroyBeacon(winISteamParties_SteamParties002 *_this, PartyBeaconID_t ulBeacon) +int8_t __thiscall winISteamParties_SteamParties002_DestroyBeacon(struct w_steam_iface *_this, uint64_t ulBeacon) { + struct ISteamParties_SteamParties002_DestroyBeacon_params params = + { + .linux_side = _this->u_iface, + .ulBeacon = ulBeacon, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_DestroyBeacon(_this->linux_side, ulBeacon); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_DestroyBeacon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamParties_SteamParties002_GetBeaconLocationData, 28) -bool __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(winISteamParties_SteamParties002 *_this, winSteamPartyBeaconLocation_t_157 BeaconLocation, ESteamPartyBeaconLocationData eData, char * pchDataStringOut, int cchDataStringOut) +int8_t __thiscall winISteamParties_SteamParties002_GetBeaconLocationData(struct w_steam_iface *_this, w_SteamPartyBeaconLocation_t BeaconLocation, uint32_t eData, char *pchDataStringOut, int32_t cchDataStringOut) { + struct ISteamParties_SteamParties002_GetBeaconLocationData_params params = + { + .linux_side = _this->u_iface, + .BeaconLocation = BeaconLocation, + .eData = eData, + .pchDataStringOut = pchDataStringOut, + .cchDataStringOut = cchDataStringOut, + }; TRACE("%p\n", _this); - return cppISteamParties_SteamParties002_GetBeaconLocationData(_this->linux_side, BeaconLocation, eData, pchDataStringOut, cchDataStringOut); + STEAMCLIENT_CALL( ISteamParties_SteamParties002_GetBeaconLocationData, ¶ms ); + return params._ret; } extern vtable_ptr winISteamParties_SteamParties002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamParties_SteamParties002, 0, ".?AVISteamParties@@") + +__ASM_BLOCK_BEGIN(winISteamParties_SteamParties002_vtables) __ASM_VTABLE(winISteamParties_SteamParties002, VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetNumActiveBeacons) VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconByIndex) @@ -125,16 +190,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamParties_SteamParties002_DestroyBeacon) VTABLE_ADD_FUNC(winISteamParties_SteamParties002_GetBeaconLocationData) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamParties_SteamParties002 *create_winISteamParties_SteamParties002(void *linux_side) +struct w_steam_iface *create_winISteamParties_SteamParties002(void *u_iface) { - winISteamParties_SteamParties002 *r = alloc_mem_for_iface(sizeof(winISteamParties_SteamParties002), "SteamParties002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamParties002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamParties_SteamParties002_vtable, 12, "SteamParties002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamParties_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamParties_SteamParties002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamRemotePlay.c b/lsteamclient/winISteamRemotePlay.c index 4527b6eea..411f2a618 100644 --- a/lsteamclient/winISteamRemotePlay.c +++ b/lsteamclient/winISteamRemotePlay.c @@ -1,82 +1,107 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001.h" - -typedef struct __winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount, 4) -uint32 __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite, 12) + +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(struct w_steam_iface *_this) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID, 8) -RemotePlaySessionID_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, int iSessionIndex) +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(struct w_steam_iface *_this, int32_t iSessionIndex) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID_params params = + { + .linux_side = _this->u_iface, + .iSessionIndex = iSessionIndex, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID(_this->linux_side, iSessionIndex); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID, 12) -CSteamID *__thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, CSteamID *_r, RemotePlaySessionID_t unSessionID) +CSteamID * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(struct w_steam_iface *_this, CSteamID *_ret, uint32_t unSessionID) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - *_r = cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID(_this->linux_side, unSessionID); - return _r; + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, 8) -const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, RemotePlaySessionID_t unSessionID) +const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(struct w_steam_iface *_this, uint32_t unSessionID) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName(_this->linux_side, unSessionID); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor, 8) -ESteamDeviceFormFactor __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, RemotePlaySessionID_t unSessionID) +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(struct w_steam_iface *_this, uint32_t unSessionID) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor(_this->linux_side, unSessionID); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionClientFormFactor, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution, 16) -bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, RemotePlaySessionID_t unSessionID, int * pnResolutionX, int * pnResolutionY) +int8_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(struct w_steam_iface *_this, uint32_t unSessionID, int32_t *pnResolutionX, int32_t *pnResolutionY) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + .pnResolutionX = pnResolutionX, + .pnResolutionY = pnResolutionY, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution(_this->linux_side, unSessionID, pnResolutionX, pnResolutionY); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite, 12) -bool __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *_this, CSteamID steamIDFriend) +int8_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(struct w_steam_iface *_this, CSteamID steamIDFriend) { + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; TRACE("%p\n", _this); - return cppISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite(_this->linux_side, steamIDFriend); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite, ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001, 0, ".?AVISteamRemotePlay@@") + +__ASM_BLOCK_BEGIN(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionCount) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_GetSessionID) @@ -86,16 +111,154 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BGetSessionClientResolution) VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_BSendRemotePlayTogetherInvite) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *u_iface) { - winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001), "STEAMREMOTEPLAY_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTEPLAY_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_vtable, 7, "STEAMREMOTEPLAY_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite, 12) + +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount(struct w_steam_iface *_this) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID(struct w_steam_iface *_this, int32_t iSessionIndex) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID_params params = + { + .linux_side = _this->u_iface, + .iSessionIndex = iSessionIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID, ¶ms ); + return params._ret; +} + +CSteamID * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID(struct w_steam_iface *_this, CSteamID *_ret, uint32_t unSessionID) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unSessionID = unSessionID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID, ¶ms ); + return params._ret; +} + +const char * __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName(struct w_steam_iface *_this, uint32_t unSessionID) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor(struct w_steam_iface *_this, uint32_t unSessionID) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution(struct w_steam_iface *_this, uint32_t unSessionID, int32_t *pnResolutionX, int32_t *pnResolutionY) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution_params params = + { + .linux_side = _this->u_iface, + .unSessionID = unSessionID, + .pnResolutionX = pnResolutionX, + .pnResolutionY = pnResolutionY, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether(struct w_steam_iface *_this, int8_t bShowOverlay) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether_params params = + { + .linux_side = _this->u_iface, + .bShowOverlay = bShowOverlay, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite(struct w_steam_iface *_this, CSteamID steamIDFriend) +{ + struct ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite_params params = + { + .linux_side = _this->u_iface, + .steamIDFriend = steamIDFriend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtable; + +DEFINE_RTTI_DATA0(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002, 0, ".?AVISteamRemotePlay@@") + +__ASM_BLOCK_BEGIN(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtables) + __ASM_VTABLE(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002, + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionCount) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionID) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionSteamID) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientName) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_GetSessionClientFormFactor) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BGetSessionClientResolution) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BStartRemotePlayTogether) + VTABLE_ADD_FUNC(winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_BSendRemotePlayTogetherInvite) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTEPLAY_INTERFACE_VERSION002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_vtable, 8, "STEAMREMOTEPLAY_INTERFACE_VERSION002"); + r->u_iface = u_iface; return r; } +void init_winISteamRemotePlay_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001_rtti( base ); + init_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamRemoteStorage.c b/lsteamclient/winISteamRemoteStorage.c index 30154624a..0875bab51 100644 --- a/lsteamclient/winISteamRemoteStorage.c +++ b/lsteamclient/winISteamRemoteStorage.c @@ -1,2787 +1,5105 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016; +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota, 12) -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const void * pvData, uint32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, uint32 nOffset, uint32 cubToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(_this->linux_side, pchFile, nOffset, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(_this->linux_side, hReadCall, pvBuffer, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable, 8, "STEAMREMOTESTORAGE_INTERFACE_VERSION001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota, 12) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(_this->linux_side, pchFile); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable, 7, "STEAMREMOTESTORAGE_INTERFACE_VERSION002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle, 8) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, bool bEnabled) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, uint32 unPriority) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, 28) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(struct w_steam_iface *_this) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION003"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable, 20, "STEAMREMOTESTORAGE_INTERFACE_VERSION003"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle, 8) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, 16) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this, int iFile, ERemoteStorageLocalFileChange * pEChangeType, ERemoteStorageFilePathType * pEFilePathType) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(_this->linux_side, iFile, pEChangeType, pEFilePathType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch) - ); -#ifndef __GNUC__ -} -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004, 0, ".?AVISteamRemoteStorage@@") -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *linux_side) +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004(void *u_iface) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016), "STEAMREMOTESTORAGE_INTERFACE_VERSION016"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION004"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable, 59, "STEAMREMOTESTORAGE_INTERFACE_VERSION016"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable, 22, "STEAMREMOTESTORAGE_INTERFACE_VERSION004"); + r->u_iface = u_iface; return r; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014.h" +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile, 32) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile, 44) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile, 12) -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014; +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, const void * pvData, int32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, const void * pvData, uint32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, uint32 nOffset, uint32 cubToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(_this->linux_side, pchFile, nOffset, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(_this->linux_side, hReadCall, pvBuffer, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCFileWriteStreamHandle_t writeHandle) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, int iFile, int32 * pnFileSizeInBytes) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, uint64 * pnTotalBytes, uint64 * puAvailableBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(struct w_steam_iface *_this, w_RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile_params params = + { + .linux_side = _this->u_iface, + .updatePublishedFileRequest = updatePublishedFileRequest, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCHandle_t hContent, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead, 28) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, int32 iCachedContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable, 31, "STEAMREMOTESTORAGE_INTERFACE_VERSION005"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, 32) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles, 28) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, uint32 unStartIndex) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable; +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *linux_side) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014), "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable, 55, "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, const void * pvData, uint32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, uint32 nOffset, uint32 cubToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(_this->linux_side, pchFile, nOffset, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(_this->linux_side, hReadCall, pvBuffer, cubToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(struct w_steam_iface *_this, const char *pchVideoURL, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .pchVideoURL = pchVideoURL, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, int iFile, int32 * pnFileSizeInBytes) +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable, 47, "STEAMREMOTESTORAGE_INTERFACE_VERSION006"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles, 28) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, bool bEnabled) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCHandle_t hContent, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead, 28) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, int32 iCachedContent) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, uint32 unStartIndex) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile, ¶ms ); + return params._ret; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013(void *linux_side) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013), "STEAMREMOTESTORAGE_INTERFACE_VERSION013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable, 55, "STEAMREMOTESTORAGE_INTERFACE_VERSION013"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCFileWriteStreamHandle_t writeHandle) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(_this->linux_side, writeHandle); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(_this->linux_side, pchFile); -} +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable; -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(_this->linux_side, pchFile); -} +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007, 0, ".?AVISteamRemoteStorage@@") -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(_this->linux_side, pchFile); -} +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile) +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(_this->linux_side, pchFile); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable, 47, "STEAMREMOTESTORAGE_INTERFACE_VERSION007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles, 28) -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCHandle_t hContent, uint32 unPriority) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead, 28) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, uint32 unStartIndex) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation) - ); -#ifndef __GNUC__ -} -#endif - -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012(void *linux_side) -{ - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012), "STEAMREMOTESTORAGE_INTERFACE_VERSION012"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION012"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(_this->linux_side); -} +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable; -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, int iFile, int32 * pnFileSizeInBytes) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); -} +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008, 0, ".?AVISteamRemoteStorage@@") -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) -{ +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable, 51, "STEAMREMOTESTORAGE_INTERFACE_VERSION008"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles, 28) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, bool bEnabled) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCHandle_t hContent, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead, 24) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(_this->linux_side, unPublishedFileId, unMaxSecondsOld); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(struct w_steam_iface *_this, uint64_t hContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable; +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails, ¶ms ); + return params._ret; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011(void *linux_side) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011), "STEAMREMOTESTORAGE_INTERFACE_VERSION011"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION011"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010.h" +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; +} -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010; +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCFileWriteStreamHandle_t writeHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable; + +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable, 51, "STEAMREMOTESTORAGE_INTERFACE_VERSION009"); + r->u_iface = u_iface; + return r; } +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists, 8) DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, 20) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, bool bEnabled) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCHandle_t hContent, uint32 unPriority) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(_this->linux_side, hContent, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead, 24) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, int32 iCachedContent) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp(struct w_steam_iface *_this) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, 20) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *_this, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UnsubscribePublishedFile, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { - char lin_pchLocation[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchLocation, lin_pchLocation, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(_this->linux_side, hContent, pchLocation ? lin_pchLocation : NULL, unPriority); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_PublishVideo, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_SetUserPublishedFileAction, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) +{ + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation, ¶ms ); + return params._ret; } extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtables) __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010, VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileWrite) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_FileRead) @@ -2836,2575 +5154,4222 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_EnumeratePublishedWorkshopFiles) VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_UGCDownloadToLocation) ); -#ifndef __GNUC__ +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION010"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION010"); + r->u_iface = u_iface; + return r; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010(void *linux_side) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, 20) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010), "STEAMREMOTESTORAGE_INTERFACE_VERSION010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION010"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile, const void * pvData, int32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCHandle_t hContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead, 24) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead, cOffset); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, int32 iCachedContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t unMaxSecondsOld) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable; +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_EnumeratePublishedWorkshopFiles) +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_UGCDownloadToLocation) ); -#ifndef __GNUC__ +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION011"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION011"); + r->u_iface = u_iface; + return r; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009(void *linux_side) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, 20) + +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009), "STEAMREMOTESTORAGE_INTERFACE_VERSION009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_vtable, 51, "STEAMREMOTESTORAGE_INTERFACE_VERSION009"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile, const void * pvData, int32 cubData) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen, 8) -UGCFileWriteStreamHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk(_this->linux_side, writeHandle, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCFileWriteStreamHandle_t writeHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel(_this->linux_side, writeHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCHandle_t hContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, int32 iCachedContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t unMaxSecondsOld) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable; +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamOpen) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamWriteChunk) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamClose) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileWriteStreamCancel) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_EnumeratePublishedWorkshopFiles) +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008(void *linux_side) +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012(void *u_iface) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008), "STEAMREMOTESTORAGE_INTERFACE_VERSION008"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION012"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_vtable, 51, "STEAMREMOTESTORAGE_INTERFACE_VERSION008"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_vtable, 52, "STEAMREMOTESTORAGE_INTERFACE_VERSION012"); + r->u_iface = u_iface; return r; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile, const void * pvData, int32 cubData) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite(_this->linux_side, pchFile, pvData, cubData); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget(_this->linux_side, pchFile); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete(_this->linux_side, pchFile); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare(_this->linux_side, pchFile); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists(_this->linux_side, pchFile); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted(_this->linux_side, pchFile); -} - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize(_this->linux_side, pchFile); -} +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, 20) -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, int iFile, int32 * pnFileSizeInBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32_t nOffset, uint32_t cubToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete(struct w_steam_iface *_this, uint64_t hReadCall, void *pvBuffer, uint32_t cubToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, UGCHandle_t hContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota(struct w_steam_iface *_this, int32_t *pnTotalBytes, int32_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, uint32 unStartIndex) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo, 40) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo(_this->linux_side, eVideoProvider, pchVideoAccount, pchVideoIdentifier, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_EnumeratePublishedWorkshopFiles) - ); -#ifndef __GNUC__ -} -#endif - -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007(void *linux_side) -{ - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007), "STEAMREMOTESTORAGE_INTERFACE_VERSION007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_vtable, 47, "STEAMREMOTESTORAGE_INTERFACE_VERSION007"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t unMaxSecondsOld) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, int iFile, int32 * pnFileSizeInBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, UGCHandle_t hContent) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload(_this->linux_side, hContent); -} +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable; -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress, 20) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress(_this->linux_side, hContent, pnBytesDownloaded, pnBytesExpected); -} +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013, 0, ".?AVISteamRemoteStorage@@") -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); -} +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileReadAsyncComplete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_UGCDownloadToLocation) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION013"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_vtable, 55, "STEAMREMOTESTORAGE_INTERFACE_VERSION013"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, 20) -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile, 36) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags, eWorkshopFileType); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest, 12) -PublishedFileUpdateHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32_t nOffset, uint32_t cubToRead) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile(_this->linux_side, updateHandle, pchFile ? lin_pchFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete(struct w_steam_iface *_this, uint64_t hReadCall, void *pvBuffer, uint32_t cubToRead) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile(_this->linux_side, updateHandle, pchPreviewFile ? lin_pchPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle(_this->linux_side, updateHandle, pchTitle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription(_this->linux_side, updateHandle, pchDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility(_this->linux_side, updateHandle, eVisibility); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate(_this->linux_side, updateHandle); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, uint32 unStartIndex) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription(_this->linux_side, updateHandle, pchChangeDescription); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId, bool bVoteUp) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote(_this->linux_side, unPublishedFileId, bVoteUp); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles, 24) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota(struct w_steam_iface *_this, uint64_t *pnTotalBytes, uint64_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles(_this->linux_side, steamId, unStartIndex, pRequiredTags, pExcludedTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo, 32) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, const char * pchVideoURL, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount(struct w_steam_iface *_this) { - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo(_this->linux_side, pchVideoURL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction, 16) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction(_this->linux_side, unPublishedFileId, eAction); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, EWorkshopFileAction eAction, uint32 unStartIndex) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction(_this->linux_side, eAction, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *_this, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles(_this->linux_side, eEnumerationType, unStartIndex, unCount, unDays, pTags, pUserTags); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDownloadProgress) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CreatePublishedFileUpdateRequest) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFilePreviewFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTitle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileVisibility) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileTags) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_CommitPublishedFileUpdate) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UnsubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdatePublishedFileSetChangeDescription) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_UpdateUserPublishedItemVote) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_GetUserPublishedItemVoteDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumerateUserSharedWorkshopFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_PublishVideo) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_SetUserPublishedFileAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedFilesByUserAction) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_EnumeratePublishedWorkshopFiles) - ); -#ifndef __GNUC__ -} -#endif - -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006(void *linux_side) -{ - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006), "STEAMREMOTESTORAGE_INTERFACE_VERSION006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_vtable, 47, "STEAMREMOTESTORAGE_INTERFACE_VERSION006"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t unMaxSecondsOld) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, bool bEnabled) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, UGCHandle_t hContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, int32 iCachedContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle(_this->linux_side, iCachedContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile, 32) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile(_this->linux_side, pchFile, pchPreviewFile, nConsumerAppId, pchTitle, pchDescription, eVisibility, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile, 28) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - char lin_pchFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFile, lin_pchFile, 0); - char lin_pchPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchPreviewFile, lin_pchPreviewFile, 0); + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile(_this->linux_side, pchFile ? lin_pchFile : NULL, pchPreviewFile ? lin_pchPreviewFile : NULL, nConsumerAppId, pchTitle, pchDescription, pTags); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile, 44) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, RemoteStorageUpdatePublishedFileRequest_t updatePublishedFileRequest) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile(_this->linux_side, updatePublishedFileRequest); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, PublishedFileId_t unPublishedFileId) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile(_this->linux_side, unPublishedFileId); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, uint32 unStartIndex) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles(_this->linux_side, unStartIndex); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *_this, PublishedFileId_t unPublishedFileId) -{ - TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile(_this->linux_side, unPublishedFileId); -} +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable; -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable; +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014, 0, ".?AVISteamRemoteStorage@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetCachedUGCHandle) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_PublishWorkshopFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UpdatePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_GetPublishedFileDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_DeletePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserPublishedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_SubscribePublishedFile) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_EnumerateUserSubscribedFiles) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_UnsubscribePublishedFile) +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileReadAsyncComplete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_UGCDownloadToLocation) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *linux_side) +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *u_iface) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005), "STEAMREMOTESTORAGE_INTERFACE_VERSION005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_vtable, 31, "STEAMREMOTESTORAGE_INTERFACE_VERSION005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_vtable, 55, "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); + r->u_iface = u_iface; return r; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004; +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, 36) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, 8) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, 24) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, 40) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, 12) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, 28) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, 20) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, 16) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, 4) +DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, 4) -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite(struct w_steam_iface *_this, const char *pchFile, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead(struct w_steam_iface *_this, const char *pchFile, void *pvData, int32_t cubDataToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync(struct w_steam_iface *_this, const char *pchFile, const void *pvData, uint32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync(struct w_steam_iface *_this, const char *pchFile, uint32_t nOffset, uint32_t cubToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .nOffset = nOffset, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete(struct w_steam_iface *_this, uint64_t hReadCall, void *pvBuffer, uint32_t cubToRead) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete_params params = + { + .linux_side = _this->u_iface, + .hReadCall = hReadCall, + .pvBuffer = pvBuffer, + .cubToRead = cubToRead, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms(_this->linux_side, pchFile, eRemoteStoragePlatform); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile, uint32_t eRemoteStoragePlatform) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .eRemoteStoragePlatform = eRemoteStoragePlatform, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms, 8) -ERemoteStoragePlatform __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk(struct w_steam_iface *_this, uint64_t writeHandle, const void *pvData, int32_t cubData) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + .pvData = pvData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel(struct w_steam_iface *_this, uint64_t writeHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel_params params = + { + .linux_side = _this->u_iface, + .writeHandle = writeHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, bool bEnabled) +int64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, UGCHandle_t hContent) +uint32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms(struct w_steam_iface *_this, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize(struct w_steam_iface *_this, int32_t iFile, int32_t *pnFileSizeInBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pnFileSizeInBytes = pnFileSizeInBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota(struct w_steam_iface *_this, uint64_t *pnTotalBytes, uint64_t *puAvailableBytes) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota_params params = + { + .linux_side = _this->u_iface, + .pnTotalBytes = pnTotalBytes, + .puAvailableBytes = puAvailableBytes, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *_this, int32 iCachedContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle(_this->linux_side, iCachedContent); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetSyncPlatforms) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_GetCachedUGCHandle) - ); -#ifndef __GNUC__ -} -#endif - -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004(void *linux_side) -{ - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004), "STEAMREMOTESTORAGE_INTERFACE_VERSION004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_vtable, 22, "STEAMREMOTESTORAGE_INTERFACE_VERSION004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile, const void * pvData, int32 cubData) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload(struct w_steam_iface *_this, uint64_t hContent, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress(struct w_steam_iface *_this, uint64_t hContent, int32_t *pnBytesDownloaded, int32_t *pnBytesExpected) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnBytesDownloaded = pnBytesDownloaded, + .pnBytesExpected = pnBytesExpected, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare, 8) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails(struct w_steam_iface *_this, uint64_t hContent, uint32_t *pnAppID, char **ppchName, int32_t *pnFileSizeInBytes, CSteamID *pSteamIDOwner) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pnAppID = pnAppID, + .ppchName = ppchName, + .pnFileSizeInBytes = pnFileSizeInBytes, + .pSteamIDOwner = pSteamIDOwner, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead(struct w_steam_iface *_this, uint64_t hContent, void *pvData, int32_t cubDataToRead, uint32_t cOffset, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pvData = pvData, + .cubDataToRead = cubDataToRead, + .cOffset = cOffset, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle(struct w_steam_iface *_this, int32_t iCachedContent) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle_params params = + { + .linux_side = _this->u_iface, + .iCachedContent = iCachedContent, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp, 8) -int64 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile(struct w_steam_iface *_this, const char *pchFile, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags, uint32_t eWorkshopFileType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile_params params = + { + .linux_side = _this->u_iface, + .pchFile = pchFile, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + .eWorkshopFileType = eWorkshopFileType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchFile = pchFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchPreviewFile) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchPreviewFile = pchPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchTitle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp, 4) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp, 8) -void __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, bool bEnabled) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility(struct w_steam_iface *_this, uint64_t updateHandle, uint32_t eVisibility) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload, 12) -SteamAPICall_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, UGCHandle_t hContent) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags(struct w_steam_iface *_this, uint64_t updateHandle, w_SteamParamStringArray_t *pTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload(_this->linux_side, hContent); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails, 28) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate(struct w_steam_iface *_this, uint64_t updateHandle) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails(_this->linux_side, hContent, pnAppID, ppchName, pnFileSizeInBytes, pSteamIDOwner); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead, 20) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, UGCHandle_t hContent, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t unMaxSecondsOld) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .unMaxSecondsOld = unMaxSecondsOld, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead(_this->linux_side, hContent, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle, 8) -UGCHandle_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *_this, int32 iCachedContent) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle(_this->linux_side, iCachedContent); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileForget) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileShare) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_FilePersisted) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileTimestamp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetQuota) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForAccount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_IsCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_SetCloudEnabledForApp) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCDownload) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetUGCDetails) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_UGCRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_GetCachedUGCHandle) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles, ¶ms ); + return params._ret; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003(void *linux_side) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003), "STEAMREMOTESTORAGE_INTERFACE_VERSION003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_vtable, 20, "STEAMREMOTESTORAGE_INTERFACE_VERSION003"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles(struct w_steam_iface *_this, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles_params params = + { + .linux_side = _this->u_iface, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription(struct w_steam_iface *_this, uint64_t updateHandle, const char *pchChangeDescription) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pchChangeDescription = pchChangeDescription, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote(struct w_steam_iface *_this, uint64_t unPublishedFileId, int8_t bVoteUp) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, int iFile, int32 * pnFileSizeInBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails(struct w_steam_iface *_this, uint64_t unPublishedFileId) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles(struct w_steam_iface *_this, CSteamID steamId, uint32_t unStartIndex, w_SteamParamStringArray_t *pRequiredTags, w_SteamParamStringArray_t *pExcludedTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .steamId = steamId, + .unStartIndex = unStartIndex, + .pRequiredTags = pRequiredTags, + .pExcludedTags = pExcludedTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); -} - -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles, ¶ms ); + return params._ret; } -#endif -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002(void *linux_side) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo(struct w_steam_iface *_this, uint32_t eVideoProvider, const char *pchVideoAccount, const char *pchVideoIdentifier, const char *pchPreviewFile, uint32_t nConsumerAppId, const char *pchTitle, const char *pchDescription, uint32_t eVisibility, w_SteamParamStringArray_t *pTags) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002), "STEAMREMOTESTORAGE_INTERFACE_VERSION002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_vtable, 7, "STEAMREMOTESTORAGE_INTERFACE_VERSION002"); - r->linux_side = linux_side; - return r; + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo_params params = + { + .linux_side = _this->u_iface, + .eVideoProvider = eVideoProvider, + .pchVideoAccount = pchVideoAccount, + .pchVideoIdentifier = pchVideoIdentifier, + .pchPreviewFile = pchPreviewFile, + .nConsumerAppId = nConsumerAppId, + .pchTitle = pchTitle, + .pchDescription = pchDescription, + .eVisibility = eVisibility, + .pTags = pTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo, ¶ms ); + return params._ret; } -#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001.h" - -typedef struct __winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001; - -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite, 16) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, const char * pchFile, const void * pvData, int32 cubData) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction(struct w_steam_iface *_this, uint64_t unPublishedFileId, uint32_t eAction) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction_params params = + { + .linux_side = _this->u_iface, + .unPublishedFileId = unPublishedFileId, + .eAction = eAction, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite(_this->linux_side, pchFile, pvData, cubData); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize, 8) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction(struct w_steam_iface *_this, uint32_t eAction, uint32_t unStartIndex) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction_params params = + { + .linux_side = _this->u_iface, + .eAction = eAction, + .unStartIndex = unStartIndex, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead, 16) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, const char * pchFile, void * pvData, int32 cubDataToRead) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles(struct w_steam_iface *_this, uint32_t eEnumerationType, uint32_t unStartIndex, uint32_t unCount, uint32_t unDays, w_SteamParamStringArray_t *pTags, w_SteamParamStringArray_t *pUserTags) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles_params params = + { + .linux_side = _this->u_iface, + .eEnumerationType = eEnumerationType, + .unStartIndex = unStartIndex, + .unCount = unCount, + .unDays = unDays, + .pTags = pTags, + .pUserTags = pUserTags, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead(_this->linux_side, pchFile, pvData, cubDataToRead); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, const char * pchFile) +uint64_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation(struct w_steam_iface *_this, uint64_t hContent, const char *pchLocation, uint32_t unPriority) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation_params params = + { + .linux_side = _this->u_iface, + .hContent = hContent, + .pchLocation = pchLocation, + .unPriority = unPriority, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete, 8) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, const char * pchFile) +int32_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete(_this->linux_side, pchFile); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount, 4) -int32 __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this) +const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange(struct w_steam_iface *_this, int32_t iFile, uint32_t *pEChangeType, uint32_t *pEFilePathType) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange_params params = + { + .linux_side = _this->u_iface, + .iFile = iFile, + .pEChangeType = pEChangeType, + .pEFilePathType = pEFilePathType, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize, 12) -const char * __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, int iFile, int32 * pnFileSizeInBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize(_this->linux_side, iFile, pnFileSizeInBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota, 12) -bool __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *_this, int32 * pnTotalBytes, int32 * puAvailableBytes) +int8_t __thiscall winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch(struct w_steam_iface *_this) { + struct ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota(_this->linux_side, pnTotalBytes, puAvailableBytes); + STEAMCLIENT_CALL( ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable; +extern vtable_ptr winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileWrite) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileRead) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileExists) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_FileDelete) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileCount) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetFileNameAndSize) - VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_GetQuota) +DEFINE_RTTI_DATA0(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, 0, ".?AVISteamRemoteStorage@@") + +__ASM_BLOCK_BEGIN(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtables) + __ASM_VTABLE(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016, + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWrite) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsync) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileReadAsyncComplete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileForget) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileDelete) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileShare) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamOpen) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamWriteChunk) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamClose) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileWriteStreamCancel) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FileExists) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_FilePersisted) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileTimestamp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetSyncPlatforms) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetFileNameAndSize) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetQuota) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForAccount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_IsCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetCloudEnabledForApp) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownload) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDownloadProgress) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUGCDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCRead) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetCachedUGCHandle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishWorkshopFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CreatePublishedFileUpdateRequest) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFilePreviewFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTitle) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileVisibility) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileTags) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_CommitPublishedFileUpdate) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedFileDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_DeletePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserPublishedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSubscribedFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UnsubscribePublishedFile) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdatePublishedFileSetChangeDescription) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UpdateUserPublishedItemVote) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetUserPublishedItemVoteDetails) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumerateUserSharedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_PublishVideo) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_SetUserPublishedFileAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedFilesByUserAction) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EnumeratePublishedWorkshopFiles) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_UGCDownloadToLocation) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChangeCount) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_GetLocalFileChange) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_BeginFileWriteBatch) + VTABLE_ADD_FUNC(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_EndFileWriteBatch) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *u_iface) { - winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001), "STEAMREMOTESTORAGE_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMREMOTESTORAGE_INTERFACE_VERSION016"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_vtable, 8, "STEAMREMOTESTORAGE_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_vtable, 59, "STEAMREMOTESTORAGE_INTERFACE_VERSION016"); + r->u_iface = u_iface; return r; } +void init_winISteamRemoteStorage_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014_rtti( base ); + init_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamScreenshots.c b/lsteamclient/winISteamScreenshots.c index 73369dfe7..a83b4805c 100644 --- a/lsteamclient/winISteamScreenshots.c +++ b/lsteamclient/winISteamScreenshots.c @@ -1,192 +1,219 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003.h" - -typedef struct __winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003; - -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) -{ - TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(_this->linux_side, pubRGB, cubRGB, nWidth, nHeight); -} - -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) -{ - char lin_pchFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFilename, lin_pchFilename, 0); - char lin_pchThumbnailFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchThumbnailFilename, lin_pchThumbnailFilename, 0); - TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(_this->linux_side, pchFilename ? lin_pchFilename : NULL, pchThumbnailFilename ? lin_pchThumbnailFilename : NULL, nWidth, nHeight); -} +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, 20) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, 20) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, 4) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, 8) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, 12) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, 16) -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, 4) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this) +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(_this->linux_side); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, 8) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, bool bHook) +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(_this->linux_side, bHook); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, 12) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, ScreenshotHandle hScreenshot, const char * pchLocation) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(struct w_steam_iface *_this) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(_this->linux_side, hScreenshot, pchLocation); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, 16) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, ScreenshotHandle hScreenshot, CSteamID steamID) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(struct w_steam_iface *_this, int8_t bHook) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(_this->linux_side, hScreenshot, steamID); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, 16) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(_this->linux_side, hScreenshot, unPublishedFileID); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, 4) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(_this->linux_side); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, 16) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *_this, EVRScreenshotType eType, const char * pchFilename, const char * pchVRFilename) -{ - char lin_pchFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFilename, lin_pchFilename, 0); - char lin_pchVRFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchVRFilename, lin_pchVRFilename, 0); - TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(_this->linux_side, eType, pchFilename ? lin_pchFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); -} +extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable; -extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable; +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, 0, ".?AVISteamScreenshots@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary) +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *linux_side) +struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *u_iface) { - winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003), "STEAMSCREENSHOTS_INTERFACE_VERSION003"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION001"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable, 9, "STEAMSCREENSHOTS_INTERFACE_VERSION003"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable, 6, "STEAMSCREENSHOTS_INTERFACE_VERSION001"); + r->u_iface = u_iface; return r; } -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002.h" - -typedef struct __winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002; - DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, 20) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, 4) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, 8) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, 12) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, 16) + +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot(_this->linux_side, pubRGB, cubRGB, nWidth, nHeight); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight) { - char lin_pchFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFilename, lin_pchFilename, 0); - char lin_pchThumbnailFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchThumbnailFilename, lin_pchThumbnailFilename, 0); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary(_this->linux_side, pchFilename ? lin_pchFilename : NULL, pchThumbnailFilename ? lin_pchThumbnailFilename : NULL, nWidth, nHeight); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, 4) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(struct w_steam_iface *_this) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot(_this->linux_side); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TriggerScreenshot, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, 8) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, bool bHook) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(struct w_steam_iface *_this, int8_t bHook) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots(_this->linux_side, bHook); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_HookScreenshots, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, 12) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, ScreenshotHandle hScreenshot, const char * pchLocation) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation(_this->linux_side, hScreenshot, pchLocation); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_SetLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, 16) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, ScreenshotHandle hScreenshot, CSteamID steamID) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser(_this->linux_side, hScreenshot, steamID); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, 16) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *_this, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(struct w_steam_iface *_this, uint32_t hScreenshot, uint64_t unPublishedFileID) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .unPublishedFileID = unPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile(_this->linux_side, hScreenshot, unPublishedFileID); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile, ¶ms ); + return params._ret; } extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002, 0, ".?AVISteamScreenshots@@") + +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtables) __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002, VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_WriteScreenshot) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_AddScreenshotToLibrary) @@ -196,95 +223,174 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagUser) VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_TagPublishedFile) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *linux_side) +struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *u_iface) { - winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002), "STEAMSCREENSHOTS_INTERFACE_VERSION002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_vtable, 7, "STEAMSCREENSHOTS_INTERFACE_VERSION002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h" +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, 20) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, 20) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, 4) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, 8) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, 12) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, 16) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, 16) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, 4) +DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, 16) -typedef struct __winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001; +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot(struct w_steam_iface *_this, void *pubRGB, uint32_t cubRGB, int32_t nWidth, int32_t nHeight) +{ + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot_params params = + { + .linux_side = _this->u_iface, + .pubRGB = pubRGB, + .cubRGB = cubRGB, + .nWidth = nWidth, + .nHeight = nHeight, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight) +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary(struct w_steam_iface *_this, const char *pchFilename, const char *pchThumbnailFilename, int32_t nWidth, int32_t nHeight) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .pchFilename = pchFilename, + .pchThumbnailFilename = pchThumbnailFilename, + .nWidth = nWidth, + .nHeight = nHeight, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(_this->linux_side, pubRGB, cubRGB, nWidth, nHeight); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary, 20) -ScreenshotHandle __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot(struct w_steam_iface *_this) { - char lin_pchFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchFilename, lin_pchFilename, 0); - char lin_pchThumbnailFilename[PATH_MAX]; - steamclient_dos_path_to_unix_path(pchThumbnailFilename, lin_pchThumbnailFilename, 0); + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(_this->linux_side, pchFilename ? lin_pchFilename : NULL, pchThumbnailFilename ? lin_pchThumbnailFilename : NULL, nWidth, nHeight); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot, 4) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this) +void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots(struct w_steam_iface *_this, int8_t bHook) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots_params params = + { + .linux_side = _this->u_iface, + .bHook = bHook, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(_this->linux_side); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots, 8) -void __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this, bool bHook) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation(struct w_steam_iface *_this, uint32_t hScreenshot, const char *pchLocation) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .pchLocation = pchLocation, + }; TRACE("%p\n", _this); - cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(_this->linux_side, bHook); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation, 12) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this, ScreenshotHandle hScreenshot, const char * pchLocation) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser(struct w_steam_iface *_this, uint32_t hScreenshot, CSteamID steamID) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(_this->linux_side, hScreenshot, pchLocation); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser, 16) -bool __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *_this, ScreenshotHandle hScreenshot, CSteamID steamID) +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile(struct w_steam_iface *_this, uint32_t hScreenshot, uint64_t unPublishedFileID) { + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile_params params = + { + .linux_side = _this->u_iface, + .hScreenshot = hScreenshot, + .unPublishedFileID = unPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(_this->linux_side, hScreenshot, steamID); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable; +int8_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked(struct w_steam_iface *_this) +{ + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation) - VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary(struct w_steam_iface *_this, uint32_t eType, const char *pchFilename, const char *pchVRFilename) +{ + struct ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pchFilename = pchFilename, + .pchVRFilename = pchVRFilename, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary, ¶ms ); + return params._ret; } -#endif -winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *linux_side) +extern vtable_ptr winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable; + +DEFINE_RTTI_DATA0(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, 0, ".?AVISteamScreenshots@@") + +__ASM_BLOCK_BEGIN(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_WriteScreenshot) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddScreenshotToLibrary) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TriggerScreenshot) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_HookScreenshots) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_SetLocation) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagUser) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_TagPublishedFile) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_IsScreenshotsHooked) + VTABLE_ADD_FUNC(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_AddVRScreenshotToLibrary) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *u_iface) { - winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001), "STEAMSCREENSHOTS_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMSCREENSHOTS_INTERFACE_VERSION003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_vtable, 6, "STEAMSCREENSHOTS_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_vtable, 9, "STEAMSCREENSHOTS_INTERFACE_VERSION003"); + r->u_iface = u_iface; return r; } +void init_winISteamScreenshots_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_rtti( base ); + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002_rtti( base ); + init_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUGC.c b/lsteamclient/winISteamUGC.c index 3a5f4886f..f6688c012 100644 --- a/lsteamclient/winISteamUGC.c +++ b/lsteamclient/winISteamUGC.c @@ -1,8318 +1,16475 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION017.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION017 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION017; +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails, 12) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_126 *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_157 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) -{ - bool path_result; - TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION001, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); -} +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable, 14, "STEAMUGC_INTERFACE_VERSION001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, 24) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 index, EUGCContentDescriptorID * pvecDescriptors, uint32 cMaxEntries) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(_this->linux_side, handle, index, pvecDescriptors, cMaxEntries); -} +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo, 28) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(_this->linux_side, handle, pTagGroups); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(_this->linux_side, handle, rtStart, rtEnd); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(_this->linux_side, handle, rtStart, rtEnd); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t *pbNeedsUpdate, int8_t *pbIsDownloading, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .pbNeedsUpdate = pbNeedsUpdate, + .pbIsDownloading = pbIsDownloading, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) -{ - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION002, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(_this->linux_side, handle); -} +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION002, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchKey) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable, 31, "STEAMUGC_INTERFACE_VERSION002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); -} +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo, 28) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(_this->linux_side, handle, descid); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, EUGCContentDescriptorID descid) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(_this->linux_side, handle, descid); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, bool bSuspend) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, int8_t *pbLegacyItem) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .pbLegacyItem = pbLegacyItem, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t *pbNeedsUpdate, int8_t *pbIsDownloading, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .pbNeedsUpdate = pbNeedsUpdate, + .pbIsDownloading = pbIsDownloading, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this, PublishedFileId_t nPublishedFileID) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(_this->linux_side, nPublishedFileID); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, 4) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(_this->linux_side); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable; +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION003, 0, ".?AVISteamUGC@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus) +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *linux_side) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003(void *u_iface) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION017 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION017), "STEAMUGC_INTERFACE_VERSION017"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION003"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable, 89, "STEAMUGC_INTERFACE_VERSION017"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable, 31, "STEAMUGC_INTERFACE_VERSION003"); + r->u_iface = u_iface; return r; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION016.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION016 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION016; +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, 16) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_155 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(_this->linux_side, handle, pTagGroups); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 unDays) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pSearchText) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(_this->linux_side, handle, pSearchText); -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION004, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, uint32 unDays) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(_this->linux_side, handle, unDays); -} +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION004, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(_this->linux_side, handle, rtStart, rtEnd); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable, 33, "STEAMUGC_INTERFACE_VERSION004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, RTime32 rtStart, RTime32 rtEnd) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, 16) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(_this->linux_side, handle, rtStart, rtEnd); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint32_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, int8_t *pbIsImage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchKey) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this, PublishedFileId_t nPublishedFileID) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION005, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION005, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable, 46, "STEAMUGC_INTERFACE_VERSION005"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, 16) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA, 4) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable; +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION016, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *linux_side) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION016 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION016), "STEAMUGC_INTERFACE_VERSION016"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable, 86, "STEAMUGC_INTERFACE_VERSION016"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION015.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION015 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION015; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint32_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, int8_t *pbIsImage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_152 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, uint32 indexTag, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(_this->linux_side, handle, index, indexTag, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(_this->linux_side, handle, pTagGroups); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 unDays) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, uint32 unDays) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION006, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION006, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable, 50, "STEAMUGC_INTERFACE_VERSION006"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads, 8) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchKey) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint32_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, int8_t *pbIsImage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pbIsImage = pbIsImage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, 4) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION015, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *linux_side) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION015 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION015), "STEAMUGC_INTERFACE_VERSION015"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable, 84, "STEAMUGC_INTERFACE_VERSION015"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION014.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION014; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_150 * pDetails) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION007, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION007, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(_this->linux_side, handle); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable, 58, "STEAMUGC_INTERFACE_VERSION007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pTagName) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads, 8) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const SteamParamStringArray_t * pTagGroups) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(_this->linux_side, handle, pTagGroups); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint32_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchKey) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *_this, PublishedFileId_t nPublishedFileID) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads, ¶ms ); } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable; +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION014, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem) +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION008, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION008, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *linux_side) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008(void *u_iface) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION014 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION014), "STEAMUGC_INTERFACE_VERSION014"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION008"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable, 79, "STEAMUGC_INTERFACE_VERSION014"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable, 63, "STEAMUGC_INTERFACE_VERSION008"); + r->u_iface = u_iface; return r; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION013.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION013; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(_this->linux_side, handle); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_146 * pDetails) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) -{ - bool path_result; - TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 index, const char * pchKey, char * pchValue, uint32 cchValueSize) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(_this->linux_side, handle, index, pchKey, pchValue, cchValueSize); -} +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems, 4) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchKey) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(_this->linux_side, nPublishedFileID); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION013 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION013), "STEAMUGC_INTERFACE_VERSION013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable, 78, "STEAMUGC_INTERFACE_VERSION013"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION012.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION012; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, const char * pchCursor) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(_this->linux_side, handle); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_144 * pDetails) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION009, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION009, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable, 67, "STEAMUGC_INTERFACE_VERSION009"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, 12) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, bool bAllowLegacyUpload) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(_this->linux_side, handle, bAllowLegacyUpload); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchKey) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, bool bSuspend) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable; +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION012, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *linux_side) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION010, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION010, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010(void *u_iface) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION012 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION012), "STEAMUGC_INTERFACE_VERSION012"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION010"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable, 76, "STEAMUGC_INTERFACE_VERSION012"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable, 74, "STEAMUGC_INTERFACE_VERSION010"); + r->u_iface = u_iface; return r; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION010.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION010; +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, 12) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_142 * pDetails) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) -{ - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) -{ - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchKey) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) -{ - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) -{ - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency, 20) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency(_this->linux_side, nParentPublishedFileID, nChildPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID, AppId_t nAppID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency(_this->linux_side, nPublishedFileID, nAppID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *_this, PublishedFileId_t nPublishedFileID) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem(_this->linux_side, nPublishedFileID); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION010, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetReturnPlaytimeStats) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_StopPlaytimeTrackingForAllItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_AddAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_RemoveAppDependency) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_GetAppDependencies) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION010_DeleteItem) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION010 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION010), "STEAMUGC_INTERFACE_VERSION010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION010_vtable, 74, "STEAMUGC_INTERFACE_VERSION010"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads, ¶ms ); } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION009.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION009; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_139 * pDetails) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) -{ - bool path_result; - TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION012, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); -} +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION012, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION012_DeleteItem) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION012"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION012_vtable, 76, "STEAMUGC_INTERFACE_VERSION012"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest(_this->linux_side, handle); -} - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pTagName) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag(_this->linux_side, handle, pTagName); -} +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, 12) -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnOnlyIDs) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs(_this->linux_side, handle, bReturnOnlyIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchKey) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, bool bSuspend) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems, 4) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems(_this->linux_side); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION009, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnOnlyIDs) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_SuspendDownloads) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StartPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTracking) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION009_StopPlaytimeTrackingForAllItems) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION009 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION009), "STEAMUGC_INTERFACE_VERSION009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION009_vtable, 67, "STEAMUGC_INTERFACE_VERSION009"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION008.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION008; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_137 * pDetails) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview, 40) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pchOriginalFileName, cchOriginalFileNameSize, pPreviewType); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pSearchText) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText(_this->linux_side, handle, pSearchText); -} +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, uint32 unDays) -{ - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays(_this->linux_side, handle, unDays); -} +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, 0, ".?AVISteamUGC@@") -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) -{ +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION013, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION013_DeleteItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION013"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION013_vtable, 78, "STEAMUGC_INTERFACE_VERSION013"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, 12) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchKey) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL, type); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo(_this->linux_side, handle, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile(_this->linux_side, handle, index, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup(struct w_steam_iface *_this, uint64_t handle, const w_SteamParamStringArray_t *pTagGroups) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo(_this->linux_side, handle, index, pszVideoID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *_this, bool bSuspend) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable; +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION008, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewFile) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UpdateItemPreviewVideo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION008_SuspendDownloads) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008(void *linux_side) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION008 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION008), "STEAMUGC_INTERFACE_VERSION008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION008_vtable, 63, "STEAMUGC_INTERFACE_VERSION008"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION007.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION007; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_136 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview, 32) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag, 36) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag(_this->linux_side, handle, index, keyValueTagIndex, pchKey, cchKeySize, pchValue, cchValueSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnKeyValueTags) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags(_this->linux_side, handle, bReturnKeyValueTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCQueryHandle_t handle, const char * pKey, const char * pValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag(_this->linux_side, handle, pKey, pValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchKey) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags(_this->linux_side, handle, pchKey); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION014, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION014, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION014_DeleteItem) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag(_this->linux_side, handle, pchKey, pchValue); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION014"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION014_vtable, 79, "STEAMUGC_INTERFACE_VERSION014"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, 4) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, DepotId_t unWorkshopDepotID, const char * pszFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { - char lin_pszFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszFolder, lin_pszFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer(_this->linux_side, unWorkshopDepotID, pszFolder ? lin_pszFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads, 8) -void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *_this, bool bSuspend) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - cppISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads(_this->linux_side, bSuspend); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION007, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCNumKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddRequiredKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemKeyValueTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemKeyValueTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_DownloadItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_BInitWorkshopForGameServer) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION007_SuspendDownloads) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007(void *linux_side) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION007 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION007), "STEAMUGC_INTERFACE_VERSION007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION007_vtable, 58, "STEAMUGC_INTERFACE_VERSION007"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION006.h" +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag, ¶ms ); + return params._ret; +} -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION006; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup(struct w_steam_iface *_this, uint64_t handle, const w_SteamParamStringArray_t *pTagGroups) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133x * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview, 32) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pchLanguage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage(_this->linux_side, handle, pchLanguage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID, bool bVoteUp) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote(_this->linux_side, nPublishedFileID, bVoteUp); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION006, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemUpdateLanguage) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetUserItemVote) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION006_DownloadItem) - ); -#ifndef __GNUC__ +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads, ¶ms ); +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION015, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION015, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCTagDisplayName) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION015_GetWorkshopEULAStatus) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION015"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION015_vtable, 84, "STEAMUGC_INTERFACE_VERSION015"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus, 4) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup(struct w_steam_iface *_this, uint64_t handle, const w_SteamParamStringArray_t *pTagGroups) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer, ¶ms ); + return params._ret; +} + +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads, ¶ms ); +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION016, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION016, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCTagDisplayName) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeCreatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetTimeUpdatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION016_GetWorkshopEULAStatus) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION016"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION016_vtable, 86, "STEAMUGC_INTERFACE_VERSION016"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, 4) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006(void *linux_side) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION006 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION006), "STEAMUGC_INTERFACE_VERSION006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION006_vtable, 50, "STEAMUGC_INTERFACE_VERSION006"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION005.h" +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; +} -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION005; +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest, 12) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest(_this->linux_side, pvecPublishedFileID, unNumPublishedFileIDs); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_133b * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL(_this->linux_side, handle, index, pchURL, cchURLSize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata(_this->linux_side, handle, index, pchMetadata, cchMetadatasize); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren(_this->linux_side, handle, index, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint32 * pStatValue) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic(_this->linux_side, handle, index, eStatType, pStatValue); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews, 16) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews(_this->linux_side, handle, index); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview, 32) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, bool * pbIsImage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview(_this->linux_side, handle, index, previewIndex, pchURLOrVideoID, cchURLSize, pbIsImage); - steamclient_unix_path_to_dos_path(path_result, pchURLOrVideoID, pchURLOrVideoID, cchURLSize, 1); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t *pvecDescriptors, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bReturnMetadata) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata(_this->linux_side, handle, bReturnMetadata); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bReturnChildren) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup(struct w_steam_iface *_this, uint64_t handle, const w_SteamParamStringArray_t *pTagGroups) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren(_this->linux_side, handle, bReturnChildren); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews(_this->linux_side, handle, bReturnAdditionalPreviews); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pchMetaData) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata(_this->linux_side, handle, pchMetaData); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, AppId_t nAppId, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites(_this->linux_side, nAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION005, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateQueryUGCDetailsRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCPreviewURL) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCStatistic) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCNumAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetQueryUGCAdditionalPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnChildren) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnAdditionalPreviews) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemMetadata) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_AddItemToFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_RemoveItemFromFavorites) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION005_DownloadItem) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; } -#endif -winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005(void *linux_side) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION005 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION005), "STEAMUGC_INTERFACE_VERSION005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION005_vtable, 46, "STEAMUGC_INTERFACE_VERSION005"); - r->linux_side = linux_side; - return r; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION004.h" +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag, ¶ms ); + return params._ret; +} -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION004; +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132x * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor(struct w_steam_iface *_this, uint64_t handle, uint32_t descid) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor(struct w_steam_iface *_this, uint64_t handle, uint32_t descid) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCQueryHandle_t handle, uint32 unDays) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this) +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION017, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCTagDisplayName) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetQueryUGCContentDescriptors) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeCreatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetTimeUpdatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION017_GetWorkshopEULAStatus) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION017"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION017_vtable, 89, "STEAMUGC_INTERFACE_VERSION017"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) -{ +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest, 32) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview, 40) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag, 36) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors, 24) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo, 28) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads, 8) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency, 20) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency, 16) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem, 12) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus, 4) +DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences, 12) + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest(struct w_steam_iface *_this, uint32_t unAccountID, uint32_t eListType, uint32_t eMatchingUGCType, uint32_t eSortOrder, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest_params params = + { + .linux_side = _this->u_iface, + .unAccountID = unAccountID, + .eListType = eListType, + .eMatchingUGCType = eMatchingUGCType, + .eSortOrder = eSortOrder, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, uint32_t unPage) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .unPage = unPage, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2(struct w_steam_iface *_this, uint32_t eQueryType, uint32_t eMatchingeMatchingUGCTypeFileType, uint32_t nCreatorAppID, uint32_t nConsumerAppID, const char *pchCursor) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2_params params = + { + .linux_side = _this->u_iface, + .eQueryType = eQueryType, + .eMatchingeMatchingUGCTypeFileType = eMatchingeMatchingUGCTypeFileType, + .nCreatorAppID = nCreatorAppID, + .nConsumerAppID = nConsumerAppID, + .pchCursor = pchCursor, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult(struct w_steam_iface *_this, uint64_t handle, uint32_t index, w_SteamUGCDetails_t_128x *pDetails) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pDetails = pDetails, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, punTimeStamp); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t indexTag, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .indexTag = indexTag, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo(_this->linux_side, nPublishedFileID, punBytesDownloaded, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *_this, PublishedFileId_t nPublishedFileID, bool bHighPriority) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchURL, uint32_t cchURLSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchURL = pchURL, + .cchURLSize = cchURLSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem(_this->linux_side, nPublishedFileID, bHighPriority); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION004, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemState) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_GetItemDownloadInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION004_DownloadItem) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION004 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION004), "STEAMUGC_INTERFACE_VERSION004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION004_vtable, 33, "STEAMUGC_INTERFACE_VERSION004"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION003.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION003; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata(struct w_steam_iface *_this, uint64_t handle, uint32_t index, char *pchMetadata, uint32_t cchMetadatasize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchMetadata = pchMetadata, + .cchMetadatasize = cchMetadatasize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t eStatType, uint64_t *pStatValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .eStatType = eStatType, + .pStatValue = pStatValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_132 * pDetails) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t previewIndex, char *pchURLOrVideoID, uint32_t cchURLSize, char *pchOriginalFileName, uint32_t cchOriginalFileNameSize, uint32_t *pPreviewType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .previewIndex = previewIndex, + .pchURLOrVideoID = pchURLOrVideoID, + .cchURLSize = cchURLSize, + .pchOriginalFileName = pchOriginalFileName, + .cchOriginalFileNameSize = cchOriginalFileNameSize, + .pPreviewType = pPreviewType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t keyValueTagIndex, char *pchKey, uint32_t cchKeySize, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .keyValueTagIndex = keyValueTagIndex, + .pchKey = pchKey, + .cchKeySize = cchKeySize, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pchKey, char *pchValue, uint32_t cchValueSize) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pchKey = pchKey, + .pchValue = pchValue, + .cchValueSize = cchValueSize, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors(struct w_steam_iface *_this, uint64_t handle, uint32_t index, uint32_t *pvecDescriptors, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup(struct w_steam_iface *_this, uint64_t handle, const w_SteamParamStringArray_t *pTagGroups) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagGroups = pTagGroups, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag(struct w_steam_iface *_this, uint64_t handle, const char *pTagName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pTagName = pTagName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnOnlyIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnOnlyIDs = bReturnOnlyIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnKeyValueTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnKeyValueTags = bReturnKeyValueTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnLongDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnLongDescription = bReturnLongDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnMetadata) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnMetadata = bReturnMetadata, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnChildren) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnChildren = bReturnChildren, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnAdditionalPreviews) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnAdditionalPreviews = bReturnAdditionalPreviews, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly(struct w_steam_iface *_this, uint64_t handle, int8_t bReturnTotalOnly) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bReturnTotalOnly = bReturnTotalOnly, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse(struct w_steam_iface *_this, uint64_t handle, uint32_t unMaxAgeSeconds) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter(struct w_steam_iface *_this, uint64_t handle, const char *pMatchCloudFileName) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pMatchCloudFileName = pMatchCloudFileName, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag(struct w_steam_iface *_this, uint64_t handle, int8_t bMatchAnyTag) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bMatchAnyTag = bMatchAnyTag, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText(struct w_steam_iface *_this, uint64_t handle, const char *pSearchText) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pSearchText = pSearchText, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays(struct w_steam_iface *_this, uint64_t handle, uint32_t unDays) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .unDays = unDays, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange(struct w_steam_iface *_this, uint64_t handle, uint32_t rtStart, uint32_t rtEnd) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .rtStart = rtStart, + .rtEnd = rtEnd, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, bool * pbLegacyItem) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pKey, const char *pValue) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pKey = pKey, + .pValue = pValue, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize, pbLegacyItem); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *_this, PublishedFileId_t nPublishedFileID, bool * pbNeedsUpdate, bool * pbIsDownloading, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t unMaxAgeSeconds) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .unMaxAgeSeconds = unMaxAgeSeconds, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo(_this->linux_side, nPublishedFileID, pbNeedsUpdate, pbIsDownloading, punBytesDownloaded, punBytesTotal); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION003_GetItemUpdateInfo) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION003), "STEAMUGC_INTERFACE_VERSION003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION003_vtable, 31, "STEAMUGC_INTERFACE_VERSION003"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION002.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION002; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint32_t eFileType) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .eFileType = eFileType, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate(struct w_steam_iface *_this, uint32_t nConsumerAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate_params params = + { + .linux_side = _this->u_iface, + .nConsumerAppId = nConsumerAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle(struct w_steam_iface *_this, uint64_t handle, const char *pchTitle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchTitle = pchTitle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_130 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription(struct w_steam_iface *_this, uint64_t handle, const char *pchDescription) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchDescription = pchDescription, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage(struct w_steam_iface *_this, uint64_t handle, const char *pchLanguage) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata(struct w_steam_iface *_this, uint64_t handle, const char *pchMetaData) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchMetaData = pchMetaData, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, const char * pTagName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility(struct w_steam_iface *_this, uint64_t handle, uint32_t eVisibility) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .eVisibility = eVisibility, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags(struct w_steam_iface *_this, uint64_t updateHandle, const w_SteamParamStringArray_t *pTags, int8_t bAllowAdminTags) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags_params params = + { + .linux_side = _this->u_iface, + .updateHandle = updateHandle, + .pTags = pTags, + .bAllowAdminTags = bAllowAdminTags, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent(struct w_steam_iface *_this, uint64_t handle, const char *pszContentFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszContentFolder = pszContentFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse(_this->linux_side, handle, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload(struct w_steam_iface *_this, uint64_t handle, int8_t bAllowLegacyUpload) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .bAllowLegacyUpload = bAllowLegacyUpload, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, const char * pSearchText) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags(struct w_steam_iface *_this, uint64_t handle, const char *pchKey) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCQueryHandle_t handle, uint32 unDays) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag(struct w_steam_iface *_this, uint64_t handle, const char *pchKey, const char *pchValue) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, const char *pszPreviewFile, uint32_t type) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszPreviewFile = pszPreviewFile, + .type = type, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails(_this->linux_side, nPublishedFileID, unMaxAgeSeconds); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, AppId_t nConsumerAppId, EWorkshopFileType eFileType) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem(_this->linux_side, nConsumerAppId, eFileType); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate, 16) -UGCUpdateHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszPreviewFile) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszPreviewFile = pszPreviewFile, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate(_this->linux_side, nConsumerAppId, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, const char * pchTitle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo(struct w_steam_iface *_this, uint64_t handle, uint32_t index, const char *pszVideoID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + .pszVideoID = pszVideoID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle(_this->linux_side, handle, pchTitle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, const char * pchDescription) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview(struct w_steam_iface *_this, uint64_t handle, uint32_t index) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .index = index, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription(_this->linux_side, handle, pchDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor(struct w_steam_iface *_this, uint64_t handle, uint32_t descid) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility(_this->linux_side, handle, eVisibility); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor(struct w_steam_iface *_this, uint64_t handle, uint32_t descid) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .descid = descid, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags(_this->linux_side, updateHandle, pTags); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, const char * pszContentFolder) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate(struct w_steam_iface *_this, uint64_t handle, const char *pchChangeNote) { - char lin_pszContentFolder[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszContentFolder, lin_pszContentFolder, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .pchChangeNote = pchChangeNote, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent(_this->linux_side, handle, pszContentFolder ? lin_pszContentFolder : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, const char * pszPreviewFile) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress(struct w_steam_iface *_this, uint64_t handle, uint64_t *punBytesProcessed, uint64_t *punBytesTotal) { - char lin_pszPreviewFile[PATH_MAX]; - steamclient_dos_path_to_unix_path(pszPreviewFile, lin_pszPreviewFile, 0); + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress_params params = + { + .linux_side = _this->u_iface, + .handle = handle, + .punBytesProcessed = punBytesProcessed, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview(_this->linux_side, handle, pszPreviewFile ? lin_pszPreviewFile : NULL); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate, 16) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, const char * pchChangeNote) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bVoteUp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bVoteUp = bVoteUp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate(_this->linux_side, handle, pchChangeNote); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress, 20) -EItemUpdateStatus __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress(_this->linux_side, handle, punBytesProcessed, punBytesTotal); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites(struct w_steam_iface *_this, uint32_t nAppId, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites_params params = + { + .linux_side = _this->u_iface, + .nAppId = nAppId, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems, 4) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems(_this->linux_side); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems, 12) -uint32 __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems(_this->linux_side, pvecPublishedFileID, cMaxEntries); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo, 24) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems(struct w_steam_iface *_this) { - bool path_result; + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - path_result = cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo(_this->linux_side, nPublishedFileID, punSizeOnDisk, pchFolder, cchFolderSize); - steamclient_unix_path_to_dos_path(path_result, pchFolder, pchFolder, cchFolderSize, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo, 28) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *_this, PublishedFileId_t nPublishedFileID, bool * pbNeedsUpdate, bool * pbIsDownloading, uint64 * punBytesDownloaded, uint64 * punBytesTotal) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t cMaxEntries) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .cMaxEntries = cMaxEntries, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo(_this->linux_side, nPublishedFileID, pbNeedsUpdate, pbIsDownloading, punBytesDownloaded, punBytesTotal); -} - -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION002, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetAllowCachedResponse) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_RequestUGCDetails) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_CreateItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_StartItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTitle) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemVisibility) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemTags) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemContent) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SetItemPreview) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubmitItemUpdate) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateProgress) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_SubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_UnsubscribeItem) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetNumSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetSubscribedItems) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemInstallInfo) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION002_GetItemUpdateInfo) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002(void *linux_side) -{ - winISteamUGC_STEAMUGC_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION002), "STEAMUGC_INTERFACE_VERSION002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION002_vtable, 31, "STEAMUGC_INTERFACE_VERSION002"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems, ¶ms ); + return params._ret; } -#include "cppISteamUGC_STEAMUGC_INTERFACE_VERSION001.h" - -typedef struct __winISteamUGC_STEAMUGC_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUGC_STEAMUGC_INTERFACE_VERSION001; - -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest, 32) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest(_this->linux_side, unAccountID, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest, 24) -UGCQueryHandle_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punSizeOnDisk, char *pchFolder, uint32_t cchFolderSize, uint32_t *punTimeStamp) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punSizeOnDisk = punSizeOnDisk, + .pchFolder = pchFolder, + .cchFolderSize = cchFolderSize, + .punTimeStamp = punTimeStamp, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest(_this->linux_side, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint64_t *punBytesDownloaded, uint64_t *punBytesTotal) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .punBytesDownloaded = punBytesDownloaded, + .punBytesTotal = punBytesTotal, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult, 20) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, uint32 index, winSteamUGCDetails_t_128 * pDetails) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem(struct w_steam_iface *_this, uint64_t nPublishedFileID, int8_t bHighPriority) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .bHighPriority = bHighPriority, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult(_this->linux_side, handle, index, pDetails); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest, 12) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle) +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer(struct w_steam_iface *_this, uint32_t unWorkshopDepotID, const char *pszFolder) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer_params params = + { + .linux_side = _this->u_iface, + .unWorkshopDepotID = unWorkshopDepotID, + .pszFolder = pszFolder, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest(_this->linux_side, handle); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, const char * pTagName) +void __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads(struct w_steam_iface *_this, int8_t bSuspend) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, const char * pTagName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag(_this->linux_side, handle, pTagName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, bool bReturnLongDescription) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking(struct w_steam_iface *_this, uint64_t *pvecPublishedFileID, uint32_t unNumPublishedFileIDs) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking_params params = + { + .linux_side = _this->u_iface, + .pvecPublishedFileID = pvecPublishedFileID, + .unNumPublishedFileIDs = unNumPublishedFileIDs, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription(_this->linux_side, handle, bReturnLongDescription); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, bool bReturnTotalOnly) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems(struct w_steam_iface *_this) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly(_this->linux_side, handle, bReturnTotalOnly); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, const char * pMatchCloudFileName) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter(_this->linux_side, handle, pMatchCloudFileName); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, bool bMatchAnyTag) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency(struct w_steam_iface *_this, uint64_t nParentPublishedFileID, uint64_t nChildPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency_params params = + { + .linux_side = _this->u_iface, + .nParentPublishedFileID = nParentPublishedFileID, + .nChildPublishedFileID = nChildPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag(_this->linux_side, handle, bMatchAnyTag); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, const char * pSearchText) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText(_this->linux_side, handle, pSearchText); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays, 16) -bool __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, UGCQueryHandle_t handle, uint32 unDays) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency(struct w_steam_iface *_this, uint64_t nPublishedFileID, uint32_t nAppID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays(_this->linux_side, handle, unDays); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails, 12) -SteamAPICall_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *_this, PublishedFileId_t nPublishedFileID) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies(struct w_steam_iface *_this, uint64_t nPublishedFileID) { + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; TRACE("%p\n", _this); - return cppISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails(_this->linux_side, nPublishedFileID); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryUserUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_CreateQueryAllUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SendQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_GetQueryUGCResult) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_ReleaseQueryUGCRequest) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddRequiredTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_AddExcludedTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnLongDescription) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetReturnTotalOnly) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetCloudFileNameFilter) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetMatchAnyTag) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetSearchText) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_SetRankedByTrendDays) - VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION001_RequestUGCDetails) +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem(struct w_steam_iface *_this, uint64_t nPublishedFileID) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem_params params = + { + .linux_side = _this->u_iface, + .nPublishedFileID = nPublishedFileID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus(struct w_steam_iface *_this) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences(struct w_steam_iface *_this, uint32_t *pvecDescriptors, uint32_t cMaxEntries) +{ + struct ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences_params params = + { + .linux_side = _this->u_iface, + .pvecDescriptors = pvecDescriptors, + .cMaxEntries = cMaxEntries, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences, ¶ms ); + return params._ret; +} + +extern vtable_ptr winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtable; + +DEFINE_RTTI_DATA0(winISteamUGC_STEAMUGC_INTERFACE_VERSION018, 0, ".?AVISteamUGC@@") + +__ASM_BLOCK_BEGIN(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtables) + __ASM_VTABLE(winISteamUGC_STEAMUGC_INTERFACE_VERSION018, + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUserUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryAllUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateQueryUGCDetailsRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SendQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCResult) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCTagDisplayName) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCPreviewURL) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCStatistic) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCAdditionalPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCNumKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag_2) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetQueryUGCContentDescriptors) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ReleaseQueryUGCRequest) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredTagGroup) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddExcludedTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnOnlyIDs) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnLongDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnChildren) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnAdditionalPreviews) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnTotalOnly) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetReturnPlaytimeStats) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowCachedResponse) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetCloudFileNameFilter) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetMatchAnyTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetSearchText) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetRankedByTrendDays) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeCreatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetTimeUpdatedDateRange) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddRequiredKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RequestUGCDetails) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_CreateItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTitle) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemDescription) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemUpdateLanguage) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemMetadata) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemVisibility) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemContent) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetAllowLegacyUpload) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAllItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemKeyValueTags) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemKeyValueTag) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewFile) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UpdateItemPreviewVideo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemPreview) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveContentDescriptor) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubmitItemUpdate) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemUpdateProgress) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserItemVote) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddItemToFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveItemFromFavorites) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_UnsubscribeItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetNumSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetSubscribedItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemState) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemInstallInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetItemDownloadInfo) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DownloadItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_BInitWorkshopForGameServer) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_SuspendDownloads) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StartPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTracking) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_StopPlaytimeTrackingForAllItems) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_AddAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_RemoveAppDependency) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetAppDependencies) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_DeleteItem) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_ShowWorkshopEULA) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetWorkshopEULAStatus) + VTABLE_ADD_FUNC(winISteamUGC_STEAMUGC_INTERFACE_VERSION018_GetUserContentDescriptorPreferences) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION018(void *u_iface) { - winISteamUGC_STEAMUGC_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamUGC_STEAMUGC_INTERFACE_VERSION001), "STEAMUGC_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUGC_INTERFACE_VERSION018"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION001_vtable, 14, "STEAMUGC_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUGC_STEAMUGC_INTERFACE_VERSION018_vtable, 90, "STEAMUGC_INTERFACE_VERSION018"); + r->u_iface = u_iface; return r; } +void init_winISteamUGC_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION001_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION002_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION003_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION004_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION005_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION006_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION007_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION008_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION009_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION010_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION012_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION013_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION014_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION015_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION016_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION017_rtti( base ); + init_winISteamUGC_STEAMUGC_INTERFACE_VERSION018_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUnifiedMessages.c b/lsteamclient/winISteamUnifiedMessages.c index 82377b85a..52e7f9664 100644 --- a/lsteamclient/winISteamUnifiedMessages.c +++ b/lsteamclient/winISteamUnifiedMessages.c @@ -1,67 +1,89 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001.h" - -typedef struct __winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001; - DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod, 24) -ClientUnifiedMessageHandle __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *_this, const char * pchServiceMethod, const void * pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext) +DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData, 24) +DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification, 16) + +uint64_t __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(struct w_steam_iface *_this, const char *pchServiceMethod, const void *pRequestBuffer, uint32_t unRequestBufferSize, uint64_t unContext) { + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod_params params = + { + .linux_side = _this->u_iface, + .pchServiceMethod = pchServiceMethod, + .pRequestBuffer = pRequestBuffer, + .unRequestBufferSize = unRequestBufferSize, + .unContext = unContext, + }; TRACE("%p\n", _this); - return cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod(_this->linux_side, pchServiceMethod, pRequestBuffer, unRequestBufferSize, unContext); + STEAMCLIENT_CALL( ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo, 20) -bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *_this, ClientUnifiedMessageHandle hHandle, uint32 * punResponseSize, EResult * peResult) +int8_t __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(struct w_steam_iface *_this, uint64_t hHandle, uint32_t *punResponseSize, uint32_t *peResult) { + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + .punResponseSize = punResponseSize, + .peResult = peResult, + }; TRACE("%p\n", _this); - return cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo(_this->linux_side, hHandle, punResponseSize, peResult); + STEAMCLIENT_CALL( ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData, 24) -bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *_this, ClientUnifiedMessageHandle hHandle, void * pResponseBuffer, uint32 unResponseBufferSize, bool bAutoRelease) +int8_t __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(struct w_steam_iface *_this, uint64_t hHandle, void *pResponseBuffer, uint32_t unResponseBufferSize, int8_t bAutoRelease) { + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + .pResponseBuffer = pResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + .bAutoRelease = bAutoRelease, + }; TRACE("%p\n", _this); - return cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData(_this->linux_side, hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); + STEAMCLIENT_CALL( ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseData, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod, 12) -bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *_this, ClientUnifiedMessageHandle hHandle) +int8_t __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(struct w_steam_iface *_this, uint64_t hHandle) { + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod_params params = + { + .linux_side = _this->u_iface, + .hHandle = hHandle, + }; TRACE("%p\n", _this); - return cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod(_this->linux_side, hHandle); + STEAMCLIENT_CALL( ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification, 16) -bool __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *_this, const char * pchServiceNotification, const void * pNotificationBuffer, uint32 unNotificationBufferSize) +int8_t __thiscall winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(struct w_steam_iface *_this, const char *pchServiceNotification, const void *pNotificationBuffer, uint32_t unNotificationBufferSize) { + struct ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification_params params = + { + .linux_side = _this->u_iface, + .pchServiceNotification = pchServiceNotification, + .pNotificationBuffer = pNotificationBuffer, + .unNotificationBufferSize = unNotificationBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification(_this->linux_side, pchServiceNotification, pNotificationBuffer, unNotificationBufferSize); + STEAMCLIENT_CALL( ISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification, ¶ms ); + return params._ret; } extern vtable_ptr winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001, 0, ".?AVISteamUnifiedMessages@@") + +__ASM_BLOCK_BEGIN(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtables) __ASM_VTABLE(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001, VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendMethod) VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_GetMethodResponseInfo) @@ -69,16 +91,20 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_ReleaseMethod) VTABLE_ADD_FUNC(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_SendNotification) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001(void *u_iface) { - winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001), "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_vtable, 5, "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } +void init_winISteamUnifiedMessages_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUser.c b/lsteamclient/winISteamUser.c index 010ab350d..fe50b2803 100644 --- a/lsteamclient/winISteamUser.c +++ b/lsteamclient/winISteamUser.c @@ -1,4016 +1,6630 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamUser_SteamUser023.h" - -typedef struct __winISteamUser_SteamUser023 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser023; +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_LogOn, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetLogonState, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_BConnected, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_IsVACBanned, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RequireShowVACBannedMessage, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_AcknowledgeVACBanning, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_NClientGameIDAdd, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RemoveClientGame, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetClientGameServer, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetSteam2Ticket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_AddServerNetAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetEmail, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetSteamGameConnectToken, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetRegistryString, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetRegistryString, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_InitiateGameConnection, 36) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_IsPrimaryChatDestination, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RequestLegacyCDKey, 8) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser023_GetHSteamUser(winISteamUser_SteamUser023 *_this) +int32_t __thiscall winISteamUser_SteamUser004_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser023_BLoggedOn(winISteamUser_SteamUser023 *_this) +void __thiscall winISteamUser_SteamUser004_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser004_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser023_GetSteamID(winISteamUser_SteamUser023 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser004_LogOff(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser023_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser004_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED, 32) -int __thiscall winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(winISteamUser_SteamUser023 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser004_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED, 12) -void __thiscall winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(winISteamUser_SteamUser023 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser004_GetLogonState(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_GetLogonState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetLogonState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser023_TrackAppUsageEvent(winISteamUser_SteamUser023 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser004_BConnected(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_BConnected_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_BConnected, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser023_GetUserDataFolder(winISteamUser_SteamUser023 *_this, char * pchBuffer, int cubBuffer) +CSteamID * __thiscall winISteamUser_SteamUser004_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { - bool path_result; + struct ISteamUser_SteamUser004_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser023_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser023_StartVoiceRecording(winISteamUser_SteamUser023 *_this) +int8_t __thiscall winISteamUser_SteamUser004_IsVACBanned(struct w_steam_iface *_this, int32_t nGameID) { + struct ISteamUser_SteamUser004_IsVACBanned_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_IsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser023_StopVoiceRecording(winISteamUser_SteamUser023 *_this) +int8_t __thiscall winISteamUser_SteamUser004_RequireShowVACBannedMessage(struct w_steam_iface *_this, int32_t nGameID) { + struct ISteamUser_SteamUser004_RequireShowVACBannedMessage_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_RequireShowVACBannedMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser023_GetAvailableVoice(winISteamUser_SteamUser023 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void __thiscall winISteamUser_SteamUser004_AcknowledgeVACBanning(struct w_steam_iface *_this, int32_t nGameID) { + struct ISteamUser_SteamUser004_AcknowledgeVACBanning_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_AcknowledgeVACBanning, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser023_GetVoice(winISteamUser_SteamUser023 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +int32_t __thiscall winISteamUser_SteamUser004_NClientGameIDAdd(struct w_steam_iface *_this, int32_t nGameID) { + struct ISteamUser_SteamUser004_NClientGameIDAdd_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_NClientGameIDAdd, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser023_DecompressVoice(winISteamUser_SteamUser023 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +void __thiscall winISteamUser_SteamUser004_RemoveClientGame(struct w_steam_iface *_this, int32_t nClientGameID) { + struct ISteamUser_SteamUser004_RemoveClientGame_params params = + { + .linux_side = _this->u_iface, + .nClientGameID = nClientGameID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_RemoveClientGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser023_GetVoiceOptimalSampleRate(winISteamUser_SteamUser023 *_this) +void __thiscall winISteamUser_SteamUser004_SetClientGameServer(struct w_steam_iface *_this, int32_t nClientGameID, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser004_SetClientGameServer_params params = + { + .linux_side = _this->u_iface, + .nClientGameID = nClientGameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetClientGameServer, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAuthSessionTicket, 20) -HAuthTicket __thiscall winISteamUser_SteamUser023_GetAuthSessionTicket(winISteamUser_SteamUser023 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +void __thiscall winISteamUser_SteamUser004_SetSteam2Ticket(struct w_steam_iface *_this, uint8_t *pubTicket, int32_t cubTicket) { + struct ISteamUser_SteamUser004_SetSteam2Ticket_params params = + { + .linux_side = _this->u_iface, + .pubTicket = pubTicket, + .cubTicket = cubTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket, pSteamNetworkingIdentity); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetSteam2Ticket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAuthTicketForWebApi, 8) -HAuthTicket __thiscall winISteamUser_SteamUser023_GetAuthTicketForWebApi(winISteamUser_SteamUser023 *_this, const char * pchIdentity) +void __thiscall winISteamUser_SteamUser004_AddServerNetAddress(struct w_steam_iface *_this, uint32_t unIP, uint16_t unPort) { + struct ISteamUser_SteamUser004_AddServerNetAddress_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .unPort = unPort, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetAuthTicketForWebApi(_this->linux_side, pchIdentity); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_AddServerNetAddress, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser023_BeginAuthSession(winISteamUser_SteamUser023 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +int8_t __thiscall winISteamUser_SteamUser004_SetEmail(struct w_steam_iface *_this, const char *pchEmail) { + struct ISteamUser_SteamUser004_SetEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmail = pchEmail, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetEmail, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser023_EndAuthSession(winISteamUser_SteamUser023 *_this, CSteamID steamID) +int32_t __thiscall winISteamUser_SteamUser004_GetSteamGameConnectToken(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob) { + struct ISteamUser_SteamUser004_GetSteamGameConnectToken_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetSteamGameConnectToken, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser023_CancelAuthTicket(winISteamUser_SteamUser023 *_this, HAuthTicket hAuthTicket) +int8_t __thiscall winISteamUser_SteamUser004_SetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, const char *pchValue) { + struct ISteamUser_SteamUser004_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser023_UserHasLicenseForApp(winISteamUser_SteamUser023 *_this, CSteamID steamID, AppId_t appID) +int8_t __thiscall winISteamUser_SteamUser004_GetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, char *pchValue, int32_t cbValue) { + struct ISteamUser_SteamUser004_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser023_BIsBehindNAT(winISteamUser_SteamUser023 *_this) +int8_t __thiscall winISteamUser_SteamUser004_SetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t iValue) { + struct ISteamUser_SteamUser004_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser023_AdvertiseGame(winISteamUser_SteamUser023 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser004_GetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t *piValue) { + struct ISteamUser_SteamUser004_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser023_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_GetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser023_RequestEncryptedAppTicket(winISteamUser_SteamUser023 *_this, void * pDataToInclude, int cbDataToInclude) +int32_t __thiscall winISteamUser_SteamUser004_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob, CSteamID steamID, int32_t nGameAppID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser004_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .nGameAppID = nGameAppID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser023_GetEncryptedAppTicket(winISteamUser_SteamUser023 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamUser_SteamUser004_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser004_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser023_GetGameBadgeLevel(winISteamUser_SteamUser023 *_this, int nSeries, bool bFoil) +void __thiscall winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser023_GetPlayerSteamLevel(winISteamUser_SteamUser023 *_this) +int8_t __thiscall winISteamUser_SteamUser004_IsPrimaryChatDestination(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser004_IsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_IsPrimaryChatDestination, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser023_RequestStoreAuthURL(winISteamUser_SteamUser023 *_this, const char * pchRedirectURL) +void __thiscall winISteamUser_SteamUser004_RequestLegacyCDKey(struct w_steam_iface *_this, uint32_t iAppID) { + struct ISteamUser_SteamUser004_RequestLegacyCDKey_params params = + { + .linux_side = _this->u_iface, + .iAppID = iAppID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); + STEAMCLIENT_CALL( ISteamUser_SteamUser004_RequestLegacyCDKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneVerified, 4) -bool __thiscall winISteamUser_SteamUser023_BIsPhoneVerified(winISteamUser_SteamUser023 *_this) +extern vtable_ptr winISteamUser_SteamUser004_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser004, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser004_vtables) + __ASM_VTABLE(winISteamUser_SteamUser004, + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_LogOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_LogOff) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetLogonState) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_BConnected) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_IsVACBanned) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RequireShowVACBannedMessage) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_AcknowledgeVACBanning) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_NClientGameIDAdd) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RemoveClientGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetClientGameServer) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetSteam2Ticket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_AddServerNetAddress) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetEmail) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetSteamGameConnectToken) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_IsPrimaryChatDestination) + VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RequestLegacyCDKey) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BIsPhoneVerified(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser004_vtable, 26, "SteamUser004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsTwoFactorEnabled, 4) -bool __thiscall winISteamUser_SteamUser023_BIsTwoFactorEnabled(winISteamUser_SteamUser023 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_LogOn, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetLogonState, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_BConnected, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_IsVACBanned, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RequireShowVACBannedMessage, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AcknowledgeVACBanning, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetSteam2Ticket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AddServerNetAddress, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetEmail, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetRegistryString, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetRegistryString, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_InitiateGameConnection, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_IsPrimaryChatDestination, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RequestLegacyCDKey, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SendGuestPassByEmail, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SendGuestPassByAccountID, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AckGuestPass, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RedeemGuestPass, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToGiveCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassLastUpdateTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToGiveInfo, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemInfo, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AcknowledgeMessageByGID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetLanguage, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetAccountName, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetPassword, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetAccountCreationTime, 8) + +int32_t __thiscall winISteamUser_SteamUser005_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BIsTwoFactorEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneIdentifying, 4) -bool __thiscall winISteamUser_SteamUser023_BIsPhoneIdentifying(winISteamUser_SteamUser023 *_this) +void __thiscall winISteamUser_SteamUser005_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser005_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BIsPhoneIdentifying(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneRequiringVerification, 4) -bool __thiscall winISteamUser_SteamUser023_BIsPhoneRequiringVerification(winISteamUser_SteamUser023 *_this) +void __thiscall winISteamUser_SteamUser005_LogOff(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BIsPhoneRequiringVerification(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetMarketEligibility, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser023_GetMarketEligibility(winISteamUser_SteamUser023 *_this) +int8_t __thiscall winISteamUser_SteamUser005_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetMarketEligibility(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetDurationControl, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser023_GetDurationControl(winISteamUser_SteamUser023 *_this) +uint32_t __thiscall winISteamUser_SteamUser005_GetLogonState(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_GetLogonState_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_GetDurationControl(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetLogonState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BSetDurationControlOnlineState, 8) -bool __thiscall winISteamUser_SteamUser023_BSetDurationControlOnlineState(winISteamUser_SteamUser023 *_this, EDurationControlOnlineState eNewState) +int8_t __thiscall winISteamUser_SteamUser005_BConnected(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_BConnected_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser023_BSetDurationControlOnlineState(_this->linux_side, eNewState); -} - -extern vtable_ptr winISteamUser_SteamUser023_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser023, - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAuthTicketForWebApi) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_RequestStoreAuthURL) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneVerified) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsTwoFactorEnabled) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneIdentifying) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneRequiringVerification) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetMarketEligibility) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetDurationControl) - VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BSetDurationControlOnlineState) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamUser_SteamUser005_BConnected, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser023 *create_winISteamUser_SteamUser023(void *linux_side) +CSteamID * __thiscall winISteamUser_SteamUser005_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { - winISteamUser_SteamUser023 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser023), "SteamUser023"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser023_vtable, 33, "SteamUser023"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser005_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetSteamID, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser022.h" - -typedef struct __winISteamUser_SteamUser022 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser022; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser022_GetHSteamUser(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_IsVACBanned(struct w_steam_iface *_this, int32_t nGameID) { + struct ISteamUser_SteamUser005_IsVACBanned_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_IsVACBanned, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser022_BLoggedOn(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_RequireShowVACBannedMessage(struct w_steam_iface *_this, int32_t nAppID) { + struct ISteamUser_SteamUser005_RequireShowVACBannedMessage_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_RequireShowVACBannedMessage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser022_GetSteamID(winISteamUser_SteamUser022 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser005_AcknowledgeVACBanning(struct w_steam_iface *_this, int32_t nAppID) { + struct ISteamUser_SteamUser005_AcknowledgeVACBanning_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser022_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser005_AcknowledgeVACBanning, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, 32) -int __thiscall winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(winISteamUser_SteamUser022 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void __thiscall winISteamUser_SteamUser005_SetSteam2Ticket(struct w_steam_iface *_this, uint8_t *pubTicket, int32_t cubTicket) { + struct ISteamUser_SteamUser005_SetSteam2Ticket_params params = + { + .linux_side = _this->u_iface, + .pubTicket = pubTicket, + .cubTicket = cubTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetSteam2Ticket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, 12) -void __thiscall winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(winISteamUser_SteamUser022 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser005_AddServerNetAddress(struct w_steam_iface *_this, uint32_t unIP, uint16_t unPort) { + struct ISteamUser_SteamUser005_AddServerNetAddress_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .unPort = unPort, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_AddServerNetAddress, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser022_TrackAppUsageEvent(winISteamUser_SteamUser022 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser005_SetEmail(struct w_steam_iface *_this, const char *pchEmail) { + struct ISteamUser_SteamUser005_SetEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmail = pchEmail, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetEmail, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser022_GetUserDataFolder(winISteamUser_SteamUser022 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser005_SetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, const char *pchValue) { - bool path_result; + struct ISteamUser_SteamUser005_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser022_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser022_StartVoiceRecording(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_GetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, char *pchValue, int32_t cbValue) { + struct ISteamUser_SteamUser005_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser022_StopVoiceRecording(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_SetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t iValue) { + struct ISteamUser_SteamUser005_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser022_GetAvailableVoice(winISteamUser_SteamUser022 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +int8_t __thiscall winISteamUser_SteamUser005_GetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t *piValue) { + struct ISteamUser_SteamUser005_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser022_GetVoice(winISteamUser_SteamUser022 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +int32_t __thiscall winISteamUser_SteamUser005_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob, CSteamID steamID, CGameID gameID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser005_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser022_DecompressVoice(winISteamUser_SteamUser022 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +void __thiscall winISteamUser_SteamUser005_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser005_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser022_GetVoiceOptimalSampleRate(winISteamUser_SteamUser022 *_this) +void __thiscall winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAuthSessionTicket, 20) -HAuthTicket __thiscall winISteamUser_SteamUser022_GetAuthSessionTicket(winISteamUser_SteamUser022 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket, const SteamNetworkingIdentity * pSteamNetworkingIdentity) +int8_t __thiscall winISteamUser_SteamUser005_IsPrimaryChatDestination(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_IsPrimaryChatDestination_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket, pSteamNetworkingIdentity); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_IsPrimaryChatDestination, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser022_BeginAuthSession(winISteamUser_SteamUser022 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamUser_SteamUser005_RequestLegacyCDKey(struct w_steam_iface *_this, uint32_t nAppID) { + struct ISteamUser_SteamUser005_RequestLegacyCDKey_params params = + { + .linux_side = _this->u_iface, + .nAppID = nAppID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_RequestLegacyCDKey, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser022_EndAuthSession(winISteamUser_SteamUser022 *_this, CSteamID steamID) +int8_t __thiscall winISteamUser_SteamUser005_SendGuestPassByEmail(struct w_steam_iface *_this, const char *pchEmailAccount, uint64_t gidGuestPassID, int8_t bResending) { + struct ISteamUser_SteamUser005_SendGuestPassByEmail_params params = + { + .linux_side = _this->u_iface, + .pchEmailAccount = pchEmailAccount, + .gidGuestPassID = gidGuestPassID, + .bResending = bResending, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SendGuestPassByEmail, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser022_CancelAuthTicket(winISteamUser_SteamUser022 *_this, HAuthTicket hAuthTicket) +int8_t __thiscall winISteamUser_SteamUser005_SendGuestPassByAccountID(struct w_steam_iface *_this, uint32_t uAccountID, uint64_t gidGuestPassID, int8_t bResending) { + struct ISteamUser_SteamUser005_SendGuestPassByAccountID_params params = + { + .linux_side = _this->u_iface, + .uAccountID = uAccountID, + .gidGuestPassID = gidGuestPassID, + .bResending = bResending, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SendGuestPassByAccountID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser022_UserHasLicenseForApp(winISteamUser_SteamUser022 *_this, CSteamID steamID, AppId_t appID) +int8_t __thiscall winISteamUser_SteamUser005_AckGuestPass(struct w_steam_iface *_this, const char *pchGuestPassCode) { + struct ISteamUser_SteamUser005_AckGuestPass_params params = + { + .linux_side = _this->u_iface, + .pchGuestPassCode = pchGuestPassCode, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_AckGuestPass, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser022_BIsBehindNAT(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_RedeemGuestPass(struct w_steam_iface *_this, const char *pchGuestPassCode) { + struct ISteamUser_SteamUser005_RedeemGuestPass_params params = + { + .linux_side = _this->u_iface, + .pchGuestPassCode = pchGuestPassCode, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_RedeemGuestPass, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser022_AdvertiseGame(winISteamUser_SteamUser022 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveCount(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_GetGuestPassToGiveCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser022_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToGiveCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestEncryptedAppTicket(winISteamUser_SteamUser022 *_this, void * pDataToInclude, int cbDataToInclude) +uint32_t __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemCount(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_GetGuestPassToRedeemCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToRedeemCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser022_GetEncryptedAppTicket(winISteamUser_SteamUser022 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +uint32_t __thiscall winISteamUser_SteamUser005_GetGuestPassLastUpdateTime(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser005_GetGuestPassLastUpdateTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassLastUpdateTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser022_GetGameBadgeLevel(winISteamUser_SteamUser022 *_this, int nSeries, bool bFoil) +int8_t __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveInfo(struct w_steam_iface *_this, uint32_t nPassIndex, uint64_t *pgidGuestPassID, uint32_t *pnPackageID, uint32_t *pRTime32Created, uint32_t *pRTime32Expiration, uint32_t *pRTime32Sent, uint32_t *pRTime32Redeemed, char *pchRecipientAddress, int32_t cRecipientAddressSize) { + struct ISteamUser_SteamUser005_GetGuestPassToGiveInfo_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pgidGuestPassID = pgidGuestPassID, + .pnPackageID = pnPackageID, + .pRTime32Created = pRTime32Created, + .pRTime32Expiration = pRTime32Expiration, + .pRTime32Sent = pRTime32Sent, + .pRTime32Redeemed = pRTime32Redeemed, + .pchRecipientAddress = pchRecipientAddress, + .cRecipientAddressSize = cRecipientAddressSize, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToGiveInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser022_GetPlayerSteamLevel(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemInfo(struct w_steam_iface *_this, uint32_t nPassIndex, uint64_t *pgidGuestPassID, uint32_t *pnPackageID, uint32_t *pRTime32Created, uint32_t *pRTime32Expiration, uint32_t *pRTime32Sent, uint32_t *pRTime32Redeemed) { + struct ISteamUser_SteamUser005_GetGuestPassToRedeemInfo_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pgidGuestPassID = pgidGuestPassID, + .pnPackageID = pnPackageID, + .pRTime32Created = pRTime32Created, + .pRTime32Expiration = pRTime32Expiration, + .pRTime32Sent = pRTime32Sent, + .pRTime32Redeemed = pRTime32Redeemed, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToRedeemInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser022_RequestStoreAuthURL(winISteamUser_SteamUser022 *_this, const char * pchRedirectURL) +int8_t __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(struct w_steam_iface *_this, uint32_t nPassIndex, char *pchSenderAddress, int32_t cSenderAddressSize) { + struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pchSenderAddress = pchSenderAddress, + .cSenderAddressSize = cSenderAddressSize, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneVerified, 4) -bool __thiscall winISteamUser_SteamUser022_BIsPhoneVerified(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(struct w_steam_iface *_this, uint32_t nPassIndex, char *pchSenderName, int32_t cSenderNameSize) { + struct ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName_params params = + { + .linux_side = _this->u_iface, + .nPassIndex = nPassIndex, + .pchSenderName = pchSenderName, + .cSenderNameSize = cSenderNameSize, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BIsPhoneVerified(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_GetGuestPassToRedeemSenderName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsTwoFactorEnabled, 4) -bool __thiscall winISteamUser_SteamUser022_BIsTwoFactorEnabled(winISteamUser_SteamUser022 *_this) +void __thiscall winISteamUser_SteamUser005_AcknowledgeMessageByGID(struct w_steam_iface *_this, const char *pchMessageGID) { + struct ISteamUser_SteamUser005_AcknowledgeMessageByGID_params params = + { + .linux_side = _this->u_iface, + .pchMessageGID = pchMessageGID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BIsTwoFactorEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_AcknowledgeMessageByGID, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneIdentifying, 4) -bool __thiscall winISteamUser_SteamUser022_BIsPhoneIdentifying(winISteamUser_SteamUser022 *_this) +int8_t __thiscall winISteamUser_SteamUser005_SetLanguage(struct w_steam_iface *_this, const char *pchLanguage) { + struct ISteamUser_SteamUser005_SetLanguage_params params = + { + .linux_side = _this->u_iface, + .pchLanguage = pchLanguage, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BIsPhoneIdentifying(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetLanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneRequiringVerification, 4) -bool __thiscall winISteamUser_SteamUser022_BIsPhoneRequiringVerification(winISteamUser_SteamUser022 *_this) +void __thiscall winISteamUser_SteamUser005_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser005_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BIsPhoneRequiringVerification(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetMarketEligibility, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetMarketEligibility(winISteamUser_SteamUser022 *_this) +void __thiscall winISteamUser_SteamUser005_SetAccountName(struct w_steam_iface *_this, const char *pchAccountName) { + struct ISteamUser_SteamUser005_SetAccountName_params params = + { + .linux_side = _this->u_iface, + .pchAccountName = pchAccountName, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetMarketEligibility(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetAccountName, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetDurationControl, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser022_GetDurationControl(winISteamUser_SteamUser022 *_this) +void __thiscall winISteamUser_SteamUser005_SetPassword(struct w_steam_iface *_this, const char *pchPassword) { + struct ISteamUser_SteamUser005_SetPassword_params params = + { + .linux_side = _this->u_iface, + .pchPassword = pchPassword, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_GetDurationControl(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetPassword, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BSetDurationControlOnlineState, 8) -bool __thiscall winISteamUser_SteamUser022_BSetDurationControlOnlineState(winISteamUser_SteamUser022 *_this, EDurationControlOnlineState eNewState) +void __thiscall winISteamUser_SteamUser005_SetAccountCreationTime(struct w_steam_iface *_this, uint32_t rt) { + struct ISteamUser_SteamUser005_SetAccountCreationTime_params params = + { + .linux_side = _this->u_iface, + .rt = rt, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser022_BSetDurationControlOnlineState(_this->linux_side, eNewState); + STEAMCLIENT_CALL( ISteamUser_SteamUser005_SetAccountCreationTime, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser022_vtable; +extern vtable_ptr winISteamUser_SteamUser005_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser022, - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestStoreAuthURL) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneVerified) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsTwoFactorEnabled) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneIdentifying) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneRequiringVerification) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetMarketEligibility) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetDurationControl) - VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BSetDurationControlOnlineState) - ); -#ifndef __GNUC__ -} -#endif +DEFINE_RTTI_DATA0(winISteamUser_SteamUser005, 0, ".?AVISteamUser@@") -winISteamUser_SteamUser022 *create_winISteamUser_SteamUser022(void *linux_side) -{ - winISteamUser_SteamUser022 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser022), "SteamUser022"); +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser005_vtables) + __ASM_VTABLE(winISteamUser_SteamUser005, + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_LogOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_LogOff) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetLogonState) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_BConnected) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_IsVACBanned) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RequireShowVACBannedMessage) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AcknowledgeVACBanning) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetSteam2Ticket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AddServerNetAddress) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetEmail) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_IsPrimaryChatDestination) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RequestLegacyCDKey) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SendGuestPassByEmail) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SendGuestPassByAccountID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AckGuestPass) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RedeemGuestPass) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToGiveCount) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemCount) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassLastUpdateTime) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToGiveInfo) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemInfo) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AcknowledgeMessageByGID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetLanguage) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetAccountName) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetPassword) + VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetAccountCreationTime) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser005(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser005"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser022_vtable, 32, "SteamUser022"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser005_vtable, 39, "SteamUser005"); + r->u_iface = u_iface; return r; } -#include "cppISteamUser_SteamUser021.h" - -typedef struct __winISteamUser_SteamUser021 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser021; +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_LogOn, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_SetRegistryString, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetRegistryString, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_SetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_InitiateGameConnection, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_TrackAppUsageEvent, 20) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser021_GetHSteamUser(winISteamUser_SteamUser021 *_this) +int32_t __thiscall winISteamUser_SteamUser006_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser006_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser021_BLoggedOn(winISteamUser_SteamUser021 *_this) +void __thiscall winISteamUser_SteamUser006_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser006_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser021_GetSteamID(winISteamUser_SteamUser021 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser006_LogOff(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser006_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser021_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser006_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, 32) -int __thiscall winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(winISteamUser_SteamUser021 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser006_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser006_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, 12) -void __thiscall winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(winISteamUser_SteamUser021 *_this, uint32 unIPServer, uint16 usPortServer) +CSteamID * __thiscall winISteamUser_SteamUser006_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser006_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser021_TrackAppUsageEvent(winISteamUser_SteamUser021 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser006_SetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, const char *pchValue) { + struct ISteamUser_SteamUser006_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_SetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser021_GetUserDataFolder(winISteamUser_SteamUser021 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser006_GetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, char *pchValue, int32_t cbValue) { - bool path_result; + struct ISteamUser_SteamUser006_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser021_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser006_GetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser021_StartVoiceRecording(winISteamUser_SteamUser021 *_this) +int8_t __thiscall winISteamUser_SteamUser006_SetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t iValue) { + struct ISteamUser_SteamUser006_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_SetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser021_StopVoiceRecording(winISteamUser_SteamUser021 *_this) +int8_t __thiscall winISteamUser_SteamUser006_GetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t *piValue) { + struct ISteamUser_SteamUser006_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_GetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser021_GetAvailableVoice(winISteamUser_SteamUser021 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +int32_t __thiscall winISteamUser_SteamUser006_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob, CSteamID steamID, CGameID gameID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser006_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser021_GetVoice(winISteamUser_SteamUser021 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +void __thiscall winISteamUser_SteamUser006_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser006_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser021_DecompressVoice(winISteamUser_SteamUser021 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +void __thiscall winISteamUser_SteamUser006_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser006_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser006_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser021_GetVoiceOptimalSampleRate(winISteamUser_SteamUser021 *_this) +extern vtable_ptr winISteamUser_SteamUser006_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser006, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser006_vtables) + __ASM_VTABLE(winISteamUser_SteamUser006, + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_LogOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_LogOff) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_SetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_SetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TrackAppUsageEvent) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser006_vtable, 12, "SteamUser006"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_LogOn, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_LogOff, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_SetRegistryString, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetRegistryString, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_SetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetRegistryInt, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_InitiateGameConnection, 48) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_RefreshSteam2Login, 4) + +int32_t __thiscall winISteamUser_SteamUser007_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser007_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser021_GetAuthSessionTicket(winISteamUser_SteamUser021 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamUser_SteamUser007_LogOn(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser007_LogOn_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_LogOn, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser021_BeginAuthSession(winISteamUser_SteamUser021 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamUser_SteamUser007_LogOff(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser007_LogOff_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_LogOff, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser021_EndAuthSession(winISteamUser_SteamUser021 *_this, CSteamID steamID) +int8_t __thiscall winISteamUser_SteamUser007_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser007_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser021_CancelAuthTicket(winISteamUser_SteamUser021 *_this, HAuthTicket hAuthTicket) +CSteamID * __thiscall winISteamUser_SteamUser007_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser007_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser021_UserHasLicenseForApp(winISteamUser_SteamUser021 *_this, CSteamID steamID, AppId_t appID) +int8_t __thiscall winISteamUser_SteamUser007_SetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, const char *pchValue) { + struct ISteamUser_SteamUser007_SetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_SetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser021_BIsBehindNAT(winISteamUser_SteamUser021 *_this) +int8_t __thiscall winISteamUser_SteamUser007_GetRegistryString(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, char *pchValue, int32_t cbValue) { + struct ISteamUser_SteamUser007_GetRegistryString_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .pchValue = pchValue, + .cbValue = cbValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_GetRegistryString, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser021_AdvertiseGame(winISteamUser_SteamUser021 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser007_SetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t iValue) { + struct ISteamUser_SteamUser007_SetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .iValue = iValue, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser021_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_SetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser021_RequestEncryptedAppTicket(winISteamUser_SteamUser021 *_this, void * pDataToInclude, int cbDataToInclude) +int8_t __thiscall winISteamUser_SteamUser007_GetRegistryInt(struct w_steam_iface *_this, uint32_t eRegistrySubTree, const char *pchKey, int32_t *piValue) { + struct ISteamUser_SteamUser007_GetRegistryInt_params params = + { + .linux_side = _this->u_iface, + .eRegistrySubTree = eRegistrySubTree, + .pchKey = pchKey, + .piValue = piValue, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_GetRegistryInt, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser021_GetEncryptedAppTicket(winISteamUser_SteamUser021 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int32_t __thiscall winISteamUser_SteamUser007_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob, CSteamID steamID, CGameID gameID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure, void *pvSteam2GetEncryptionKey, int32_t cbSteam2GetEncryptionKey) { + struct ISteamUser_SteamUser007_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + .pvSteam2GetEncryptionKey = pvSteam2GetEncryptionKey, + .cbSteam2GetEncryptionKey = cbSteam2GetEncryptionKey, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser021_GetGameBadgeLevel(winISteamUser_SteamUser021 *_this, int nSeries, bool bFoil) +void __thiscall winISteamUser_SteamUser007_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser007_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser021_GetPlayerSteamLevel(winISteamUser_SteamUser021 *_this) +void __thiscall winISteamUser_SteamUser007_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser007_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser021_RequestStoreAuthURL(winISteamUser_SteamUser021 *_this, const char * pchRedirectURL) +void __thiscall winISteamUser_SteamUser007_RefreshSteam2Login(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser007_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); + STEAMCLIENT_CALL( ISteamUser_SteamUser007_RefreshSteam2Login, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneVerified, 4) -bool __thiscall winISteamUser_SteamUser021_BIsPhoneVerified(winISteamUser_SteamUser021 *_this) +extern vtable_ptr winISteamUser_SteamUser007_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser007, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser007_vtables) + __ASM_VTABLE(winISteamUser_SteamUser007, + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_LogOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_LogOff) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_SetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetRegistryString) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_SetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetRegistryInt) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser007_RefreshSteam2Login) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser007(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser007_vtable, 13, "SteamUser007"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_InitiateGameConnection, 48) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_RefreshSteam2Login, 4) + +int32_t __thiscall winISteamUser_SteamUser008_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser008_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BIsPhoneVerified(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsTwoFactorEnabled, 4) -bool __thiscall winISteamUser_SteamUser021_BIsTwoFactorEnabled(winISteamUser_SteamUser021 *_this) +int8_t __thiscall winISteamUser_SteamUser008_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser008_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BIsTwoFactorEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneIdentifying, 4) -bool __thiscall winISteamUser_SteamUser021_BIsPhoneIdentifying(winISteamUser_SteamUser021 *_this) +CSteamID * __thiscall winISteamUser_SteamUser008_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser008_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BIsPhoneIdentifying(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneRequiringVerification, 4) -bool __thiscall winISteamUser_SteamUser021_BIsPhoneRequiringVerification(winISteamUser_SteamUser021 *_this) +int32_t __thiscall winISteamUser_SteamUser008_InitiateGameConnection(struct w_steam_iface *_this, void *pBlob, int32_t cbMaxBlob, CSteamID steamID, CGameID gameID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure, void *pvSteam2GetEncryptionKey, int32_t cbSteam2GetEncryptionKey) { + struct ISteamUser_SteamUser008_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pBlob = pBlob, + .cbMaxBlob = cbMaxBlob, + .steamID = steamID, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + .pvSteam2GetEncryptionKey = pvSteam2GetEncryptionKey, + .cbSteam2GetEncryptionKey = cbSteam2GetEncryptionKey, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BIsPhoneRequiringVerification(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetMarketEligibility, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser021_GetMarketEligibility(winISteamUser_SteamUser021 *_this) +void __thiscall winISteamUser_SteamUser008_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser008_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetMarketEligibility(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetDurationControl, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser021_GetDurationControl(winISteamUser_SteamUser021 *_this) +void __thiscall winISteamUser_SteamUser008_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser008_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_GetDurationControl(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BSetDurationControlOnlineState, 8) -bool __thiscall winISteamUser_SteamUser021_BSetDurationControlOnlineState(winISteamUser_SteamUser021 *_this, EDurationControlOnlineState eNewState) +void __thiscall winISteamUser_SteamUser008_RefreshSteam2Login(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser008_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser021_BSetDurationControlOnlineState(_this->linux_side, eNewState); + STEAMCLIENT_CALL( ISteamUser_SteamUser008_RefreshSteam2Login, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser021_vtable; +extern vtable_ptr winISteamUser_SteamUser008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser021, - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_RequestStoreAuthURL) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneVerified) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsTwoFactorEnabled) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneIdentifying) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneRequiringVerification) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetMarketEligibility) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetDurationControl) - VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BSetDurationControlOnlineState) +DEFINE_RTTI_DATA0(winISteamUser_SteamUser008, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser008_vtables) + __ASM_VTABLE(winISteamUser_SteamUser008, + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser008_RefreshSteam2Login) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUser_SteamUser021 *create_winISteamUser_SteamUser021(void *linux_side) +struct w_steam_iface *create_winISteamUser_SteamUser008(void *u_iface) { - winISteamUser_SteamUser021 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser021), "SteamUser021"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser008"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser021_vtable, 32, "SteamUser021"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser008_vtable, 7, "SteamUser008"); + r->u_iface = u_iface; return r; } -#include "cppISteamUser_SteamUser020.h" - -typedef struct __winISteamUser_SteamUser020 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser020; +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_InitiateGameConnection, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_RefreshSteam2Login, 4) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser020_GetHSteamUser(winISteamUser_SteamUser020 *_this) +int32_t __thiscall winISteamUser_SteamUser009_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser009_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser009_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser020_BLoggedOn(winISteamUser_SteamUser020 *_this) +int8_t __thiscall winISteamUser_SteamUser009_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser009_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser009_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser020_GetSteamID(winISteamUser_SteamUser020 *_this, CSteamID *_r) +CSteamID * __thiscall winISteamUser_SteamUser009_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser009_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser020_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser009_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser020_InitiateGameConnection(winISteamUser_SteamUser020 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int32_t __thiscall winISteamUser_SteamUser009_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser009_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .gameID = gameID, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser009_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser020_TerminateGameConnection(winISteamUser_SteamUser020 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser009_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser009_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser009_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser020_TrackAppUsageEvent(winISteamUser_SteamUser020 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +void __thiscall winISteamUser_SteamUser009_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser009_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser009_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser020_GetUserDataFolder(winISteamUser_SteamUser020 *_this, char * pchBuffer, int cubBuffer) +void __thiscall winISteamUser_SteamUser009_RefreshSteam2Login(struct w_steam_iface *_this) { - bool path_result; + struct ISteamUser_SteamUser009_RefreshSteam2Login_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser020_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser009_RefreshSteam2Login, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser020_StartVoiceRecording(winISteamUser_SteamUser020 *_this) +extern vtable_ptr winISteamUser_SteamUser009_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser009, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser009_vtables) + __ASM_VTABLE(winISteamUser_SteamUser009, + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser009_RefreshSteam2Login) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser009(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUser_SteamUser020_StartVoiceRecording(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser009"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser009_vtable, 7, "SteamUser009"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser020_StopVoiceRecording(winISteamUser_SteamUser020 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_TrackAppUsageEvent, 20) + +int32_t __thiscall winISteamUser_SteamUser010_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser010_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser020_GetAvailableVoice(winISteamUser_SteamUser020 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +int8_t __thiscall winISteamUser_SteamUser010_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser010_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser020_GetVoice(winISteamUser_SteamUser020 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +CSteamID * __thiscall winISteamUser_SteamUser010_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser010_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser020_DecompressVoice(winISteamUser_SteamUser020 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +int32_t __thiscall winISteamUser_SteamUser010_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser010_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser020_GetVoiceOptimalSampleRate(winISteamUser_SteamUser020 *_this) +void __thiscall winISteamUser_SteamUser010_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser010_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser020_GetAuthSessionTicket(winISteamUser_SteamUser020 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamUser_SteamUser010_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser010_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser010_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser020_BeginAuthSession(winISteamUser_SteamUser020 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); -} +extern vtable_ptr winISteamUser_SteamUser010_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser020_EndAuthSession(winISteamUser_SteamUser020 *_this, CSteamID steamID) -{ - TRACE("%p\n", _this); - cppISteamUser_SteamUser020_EndAuthSession(_this->linux_side, steamID); -} +DEFINE_RTTI_DATA0(winISteamUser_SteamUser010, 0, ".?AVISteamUser@@") -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser020_CancelAuthTicket(winISteamUser_SteamUser020 *_this, HAuthTicket hAuthTicket) -{ - TRACE("%p\n", _this); - cppISteamUser_SteamUser020_CancelAuthTicket(_this->linux_side, hAuthTicket); -} +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser010_vtables) + __ASM_VTABLE(winISteamUser_SteamUser010, + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TrackAppUsageEvent) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser020_UserHasLicenseForApp(winISteamUser_SteamUser020 *_this, CSteamID steamID, AppId_t appID) +struct w_steam_iface *create_winISteamUser_SteamUser010(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_UserHasLicenseForApp(_this->linux_side, steamID, appID); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser010"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser010_vtable, 6, "SteamUser010"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser020_BIsBehindNAT(winISteamUser_SteamUser020 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BIsBehindNAT(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetCompressedVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_DecompressVoice, 24) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser020_AdvertiseGame(winISteamUser_SteamUser020 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +int32_t __thiscall winISteamUser_SteamUser011_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser011_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser020_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser020_RequestEncryptedAppTicket(winISteamUser_SteamUser020 *_this, void * pDataToInclude, int cbDataToInclude) +int8_t __thiscall winISteamUser_SteamUser011_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser011_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser020_GetEncryptedAppTicket(winISteamUser_SteamUser020 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +CSteamID * __thiscall winISteamUser_SteamUser011_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser011_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser020_GetGameBadgeLevel(winISteamUser_SteamUser020 *_this, int nSeries, bool bFoil) +int32_t __thiscall winISteamUser_SteamUser011_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser011_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser020_GetPlayerSteamLevel(winISteamUser_SteamUser020 *_this) +void __thiscall winISteamUser_SteamUser011_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser011_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser020_RequestStoreAuthURL(winISteamUser_SteamUser020 *_this, const char * pchRedirectURL) +void __thiscall winISteamUser_SteamUser011_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser011_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneVerified, 4) -bool __thiscall winISteamUser_SteamUser020_BIsPhoneVerified(winISteamUser_SteamUser020 *_this) +int8_t __thiscall winISteamUser_SteamUser011_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser011_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BIsPhoneVerified(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsTwoFactorEnabled, 4) -bool __thiscall winISteamUser_SteamUser020_BIsTwoFactorEnabled(winISteamUser_SteamUser020 *_this) +void __thiscall winISteamUser_SteamUser011_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser011_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BIsTwoFactorEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneIdentifying, 4) -bool __thiscall winISteamUser_SteamUser020_BIsPhoneIdentifying(winISteamUser_SteamUser020 *_this) +void __thiscall winISteamUser_SteamUser011_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser011_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BIsPhoneIdentifying(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneRequiringVerification, 4) -bool __thiscall winISteamUser_SteamUser020_BIsPhoneRequiringVerification(winISteamUser_SteamUser020 *_this) +uint32_t __thiscall winISteamUser_SteamUser011_GetCompressedVoice(struct w_steam_iface *_this, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser011_GetCompressedVoice_params params = + { + .linux_side = _this->u_iface, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_BIsPhoneRequiringVerification(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_GetCompressedVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetMarketEligibility, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetMarketEligibility(winISteamUser_SteamUser020 *_this) +uint32_t __thiscall winISteamUser_SteamUser011_DecompressVoice(struct w_steam_iface *_this, void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser011_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetMarketEligibility(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser011_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetDurationControl, 4) -SteamAPICall_t __thiscall winISteamUser_SteamUser020_GetDurationControl(winISteamUser_SteamUser020 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser020_GetDurationControl(_this->linux_side); -} +extern vtable_ptr winISteamUser_SteamUser011_vtable; -extern vtable_ptr winISteamUser_SteamUser020_vtable; +DEFINE_RTTI_DATA0(winISteamUser_SteamUser011, 0, ".?AVISteamUser@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser020, - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_RequestStoreAuthURL) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneVerified) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsTwoFactorEnabled) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneIdentifying) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneRequiringVerification) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetMarketEligibility) - VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetDurationControl) +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser011_vtables) + __ASM_VTABLE(winISteamUser_SteamUser011, + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetCompressedVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser011_DecompressVoice) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUser_SteamUser020 *create_winISteamUser_SteamUser020(void *linux_side) +struct w_steam_iface *create_winISteamUser_SteamUser011(void *u_iface) { - winISteamUser_SteamUser020 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser020), "SteamUser020"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser011"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser020_vtable, 31, "SteamUser020"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser011_vtable, 11, "SteamUser011"); + r->u_iface = u_iface; return r; } -#include "cppISteamUser_SteamUser019.h" - -typedef struct __winISteamUser_SteamUser019 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser019; +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetCompressedVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_DecompressVoice, 24) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_UserHasLicenseForApp, 16) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser019_GetHSteamUser(winISteamUser_SteamUser019 *_this) +int32_t __thiscall winISteamUser_SteamUser012_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser012_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser019_BLoggedOn(winISteamUser_SteamUser019 *_this) +int8_t __thiscall winISteamUser_SteamUser012_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser012_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser019_GetSteamID(winISteamUser_SteamUser019 *_this, CSteamID *_r) +CSteamID * __thiscall winISteamUser_SteamUser012_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser012_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser019_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser012_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser019_InitiateGameConnection(winISteamUser_SteamUser019 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int32_t __thiscall winISteamUser_SteamUser012_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser012_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser019_TerminateGameConnection(winISteamUser_SteamUser019 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser012_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser012_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser019_TrackAppUsageEvent(winISteamUser_SteamUser019 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +void __thiscall winISteamUser_SteamUser012_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser012_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser019_GetUserDataFolder(winISteamUser_SteamUser019 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser012_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { - bool path_result; + struct ISteamUser_SteamUser012_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser019_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser012_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser019_StartVoiceRecording(winISteamUser_SteamUser019 *_this) +void __thiscall winISteamUser_SteamUser012_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser012_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser019_StopVoiceRecording(winISteamUser_SteamUser019 *_this) +void __thiscall winISteamUser_SteamUser012_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser012_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser019_GetAvailableVoice(winISteamUser_SteamUser019 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +uint32_t __thiscall winISteamUser_SteamUser012_GetCompressedVoice(struct w_steam_iface *_this, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser012_GetCompressedVoice_params params = + { + .linux_side = _this->u_iface, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_GetCompressedVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser019_GetVoice(winISteamUser_SteamUser019 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated) +uint32_t __thiscall winISteamUser_SteamUser012_DecompressVoice(struct w_steam_iface *_this, void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser012_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed_Deprecated, pUncompressedDestBuffer_Deprecated, cbUncompressedDestBufferSize_Deprecated, nUncompressBytesWritten_Deprecated, nUncompressedVoiceDesiredSampleRate_Deprecated); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser019_DecompressVoice(winISteamUser_SteamUser019 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +uint32_t __thiscall winISteamUser_SteamUser012_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser012_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser019_GetVoiceOptimalSampleRate(winISteamUser_SteamUser019 *_this) +uint32_t __thiscall winISteamUser_SteamUser012_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser012_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser019_GetAuthSessionTicket(winISteamUser_SteamUser019 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamUser_SteamUser012_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser012_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser019_BeginAuthSession(winISteamUser_SteamUser019 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +void __thiscall winISteamUser_SteamUser012_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser012_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser019_EndAuthSession(winISteamUser_SteamUser019 *_this, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser012_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser012_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser019_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser012_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser019_CancelAuthTicket(winISteamUser_SteamUser019 *_this, HAuthTicket hAuthTicket) -{ - TRACE("%p\n", _this); - cppISteamUser_SteamUser019_CancelAuthTicket(_this->linux_side, hAuthTicket); -} +extern vtable_ptr winISteamUser_SteamUser012_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser019_UserHasLicenseForApp(winISteamUser_SteamUser019 *_this, CSteamID steamID, AppId_t appID) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_UserHasLicenseForApp(_this->linux_side, steamID, appID); -} +DEFINE_RTTI_DATA0(winISteamUser_SteamUser012, 0, ".?AVISteamUser@@") -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser019_BIsBehindNAT(winISteamUser_SteamUser019 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BIsBehindNAT(_this->linux_side); -} +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser012_vtables) + __ASM_VTABLE(winISteamUser_SteamUser012, + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetCompressedVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser012_UserHasLicenseForApp) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser019_AdvertiseGame(winISteamUser_SteamUser019 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +struct w_steam_iface *create_winISteamUser_SteamUser012(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUser_SteamUser019_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser012"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser012_vtable, 16, "SteamUser012"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser019_RequestEncryptedAppTicket(winISteamUser_SteamUser019 *_this, void * pDataToInclude, int cbDataToInclude) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); -} +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetAvailableVoice, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetVoice, 36) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_DecompressVoice, 24) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_UserHasLicenseForApp, 16) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser019_GetEncryptedAppTicket(winISteamUser_SteamUser019 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int32_t __thiscall winISteamUser_SteamUser013_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser013_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser019_GetGameBadgeLevel(winISteamUser_SteamUser019 *_this, int nSeries, bool bFoil) +int8_t __thiscall winISteamUser_SteamUser013_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser013_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser019_GetPlayerSteamLevel(winISteamUser_SteamUser019 *_this) +CSteamID * __thiscall winISteamUser_SteamUser013_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser013_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser019_RequestStoreAuthURL(winISteamUser_SteamUser019 *_this, const char * pchRedirectURL) +int32_t __thiscall winISteamUser_SteamUser013_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser013_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneVerified, 4) -bool __thiscall winISteamUser_SteamUser019_BIsPhoneVerified(winISteamUser_SteamUser019 *_this) +void __thiscall winISteamUser_SteamUser013_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser013_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BIsPhoneVerified(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsTwoFactorEnabled, 4) -bool __thiscall winISteamUser_SteamUser019_BIsTwoFactorEnabled(winISteamUser_SteamUser019 *_this) +void __thiscall winISteamUser_SteamUser013_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser013_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BIsTwoFactorEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneIdentifying, 4) -bool __thiscall winISteamUser_SteamUser019_BIsPhoneIdentifying(winISteamUser_SteamUser019 *_this) +int8_t __thiscall winISteamUser_SteamUser013_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser013_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BIsPhoneIdentifying(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneRequiringVerification, 4) -bool __thiscall winISteamUser_SteamUser019_BIsPhoneRequiringVerification(winISteamUser_SteamUser019 *_this) +void __thiscall winISteamUser_SteamUser013_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser013_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser019_BIsPhoneRequiringVerification(_this->linux_side); -} - -extern vtable_ptr winISteamUser_SteamUser019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser019, - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_RequestStoreAuthURL) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneVerified) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsTwoFactorEnabled) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneIdentifying) - VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneRequiringVerification) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUser_SteamUser019 *create_winISteamUser_SteamUser019(void *linux_side) -{ - winISteamUser_SteamUser019 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser019), "SteamUser019"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser019_vtable, 29, "SteamUser019"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUser_SteamUser013_StartVoiceRecording, ¶ms ); } -#include "cppISteamUser_SteamUser018.h" - -typedef struct __winISteamUser_SteamUser018 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser018; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser018_GetHSteamUser(winISteamUser_SteamUser018 *_this) +void __thiscall winISteamUser_SteamUser013_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser013_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser018_BLoggedOn(winISteamUser_SteamUser018 *_this) +uint32_t __thiscall winISteamUser_SteamUser013_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed) { + struct ISteamUser_SteamUser013_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser018_GetSteamID(winISteamUser_SteamUser018 *_this, CSteamID *_r) +uint32_t __thiscall winISteamUser_SteamUser013_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten) { + struct ISteamUser_SteamUser013_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser018_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser018_InitiateGameConnection(winISteamUser_SteamUser018 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +uint32_t __thiscall winISteamUser_SteamUser013_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser013_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser018_TerminateGameConnection(winISteamUser_SteamUser018 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser013_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser013_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser018_TrackAppUsageEvent(winISteamUser_SteamUser018 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +uint32_t __thiscall winISteamUser_SteamUser013_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser013_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser018_GetUserDataFolder(winISteamUser_SteamUser018 *_this, char * pchBuffer, int cubBuffer) +void __thiscall winISteamUser_SteamUser013_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { - bool path_result; + struct ISteamUser_SteamUser013_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser018_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser013_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser018_StartVoiceRecording(winISteamUser_SteamUser018 *_this) +void __thiscall winISteamUser_SteamUser013_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser013_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser018_StopVoiceRecording(winISteamUser_SteamUser018 *_this) +uint32_t __thiscall winISteamUser_SteamUser013_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser013_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser013_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser018_GetAvailableVoice(winISteamUser_SteamUser018 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); -} +extern vtable_ptr winISteamUser_SteamUser013_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser018_GetVoice(winISteamUser_SteamUser018 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); -} +DEFINE_RTTI_DATA0(winISteamUser_SteamUser013, 0, ".?AVISteamUser@@") -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser018_DecompressVoice(winISteamUser_SteamUser018 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); -} +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser013_vtables) + __ASM_VTABLE(winISteamUser_SteamUser013, + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser013_UserHasLicenseForApp) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser018_GetVoiceOptimalSampleRate(winISteamUser_SteamUser018 *_this) +struct w_steam_iface *create_winISteamUser_SteamUser013(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetVoiceOptimalSampleRate(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser013"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser013_vtable, 17, "SteamUser013"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser018_GetAuthSessionTicket(winISteamUser_SteamUser018 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); -} +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetAvailableVoice, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetVoice, 36) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_DecompressVoice, 24) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetEncryptedAppTicket, 16) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser018_BeginAuthSession(winISteamUser_SteamUser018 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +int32_t __thiscall winISteamUser_SteamUser014_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser014_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser018_EndAuthSession(winISteamUser_SteamUser018 *_this, CSteamID steamID) +int8_t __thiscall winISteamUser_SteamUser014_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser014_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser018_CancelAuthTicket(winISteamUser_SteamUser018 *_this, HAuthTicket hAuthTicket) +CSteamID * __thiscall winISteamUser_SteamUser014_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser014_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser018_UserHasLicenseForApp(winISteamUser_SteamUser018 *_this, CSteamID steamID, AppId_t appID) +int32_t __thiscall winISteamUser_SteamUser014_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser014_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser018_BIsBehindNAT(winISteamUser_SteamUser018 *_this) +void __thiscall winISteamUser_SteamUser014_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser014_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser018_AdvertiseGame(winISteamUser_SteamUser018 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser014_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser014_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser018_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser018_RequestEncryptedAppTicket(winISteamUser_SteamUser018 *_this, void * pDataToInclude, int cbDataToInclude) +int8_t __thiscall winISteamUser_SteamUser014_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser014_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser018_GetEncryptedAppTicket(winISteamUser_SteamUser018 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +void __thiscall winISteamUser_SteamUser014_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser014_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser018_GetGameBadgeLevel(winISteamUser_SteamUser018 *_this, int nSeries, bool bFoil) +void __thiscall winISteamUser_SteamUser014_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser014_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser018_GetPlayerSteamLevel(winISteamUser_SteamUser018 *_this) +uint32_t __thiscall winISteamUser_SteamUser014_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed) { + struct ISteamUser_SteamUser014_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_GetPlayerSteamLevel(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_RequestStoreAuthURL, 8) -SteamAPICall_t __thiscall winISteamUser_SteamUser018_RequestStoreAuthURL(winISteamUser_SteamUser018 *_this, const char * pchRedirectURL) +uint32_t __thiscall winISteamUser_SteamUser014_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten) { + struct ISteamUser_SteamUser014_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser018_RequestStoreAuthURL(_this->linux_side, pchRedirectURL); -} - -extern vtable_ptr winISteamUser_SteamUser018_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser018, - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetPlayerSteamLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser018_RequestStoreAuthURL) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUser_SteamUser018 *create_winISteamUser_SteamUser018(void *linux_side) -{ - winISteamUser_SteamUser018 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser018), "SteamUser018"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser018_vtable, 25, "SteamUser018"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetVoice, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser017.h" - -typedef struct __winISteamUser_SteamUser017 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser017; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser017_GetHSteamUser(winISteamUser_SteamUser017 *_this) +uint32_t __thiscall winISteamUser_SteamUser014_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten) { + struct ISteamUser_SteamUser014_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser017_BLoggedOn(winISteamUser_SteamUser017 *_this) +uint32_t __thiscall winISteamUser_SteamUser014_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser014_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser017_GetSteamID(winISteamUser_SteamUser017 *_this, CSteamID *_r) +uint32_t __thiscall winISteamUser_SteamUser014_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser014_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser017_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser014_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser017_InitiateGameConnection(winISteamUser_SteamUser017 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void __thiscall winISteamUser_SteamUser014_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser014_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser017_TerminateGameConnection(winISteamUser_SteamUser017 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser014_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser014_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser017_TrackAppUsageEvent(winISteamUser_SteamUser017 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +uint32_t __thiscall winISteamUser_SteamUser014_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser014_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser017_GetUserDataFolder(winISteamUser_SteamUser017 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser014_BIsBehindNAT(struct w_steam_iface *_this) { - bool path_result; + struct ISteamUser_SteamUser014_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser017_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser014_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser017_StartVoiceRecording(winISteamUser_SteamUser017 *_this) +void __thiscall winISteamUser_SteamUser014_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser014_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser017_StopVoiceRecording(winISteamUser_SteamUser017 *_this) +uint64_t __thiscall winISteamUser_SteamUser014_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser014_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser017_GetAvailableVoice(winISteamUser_SteamUser017 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +int8_t __thiscall winISteamUser_SteamUser014_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser014_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser014_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser017_GetVoice(winISteamUser_SteamUser017 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); -} +extern vtable_ptr winISteamUser_SteamUser014_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser017_DecompressVoice(winISteamUser_SteamUser017 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); -} +DEFINE_RTTI_DATA0(winISteamUser_SteamUser014, 0, ".?AVISteamUser@@") -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser017_GetVoiceOptimalSampleRate(winISteamUser_SteamUser017 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetVoiceOptimalSampleRate(_this->linux_side); -} +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser014_vtables) + __ASM_VTABLE(winISteamUser_SteamUser014, + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetEncryptedAppTicket) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser017_GetAuthSessionTicket(winISteamUser_SteamUser017 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +struct w_steam_iface *create_winISteamUser_SteamUser014(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser014"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser014_vtable, 21, "SteamUser014"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser017_BeginAuthSession(winISteamUser_SteamUser017 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); -} +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetAvailableVoice, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetVoice, 36) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetEncryptedAppTicket, 16) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser017_EndAuthSession(winISteamUser_SteamUser017 *_this, CSteamID steamID) +int32_t __thiscall winISteamUser_SteamUser015_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser017_CancelAuthTicket(winISteamUser_SteamUser017 *_this, HAuthTicket hAuthTicket) +int8_t __thiscall winISteamUser_SteamUser015_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser017_UserHasLicenseForApp(winISteamUser_SteamUser017 *_this, CSteamID steamID, AppId_t appID) +CSteamID * __thiscall winISteamUser_SteamUser015_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser015_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser017_BIsBehindNAT(winISteamUser_SteamUser017 *_this) +int32_t __thiscall winISteamUser_SteamUser015_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser015_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser017_AdvertiseGame(winISteamUser_SteamUser017 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser015_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser015_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser017_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser017_RequestEncryptedAppTicket(winISteamUser_SteamUser017 *_this, void * pDataToInclude, int cbDataToInclude) +void __thiscall winISteamUser_SteamUser015_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser015_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser017_GetEncryptedAppTicket(winISteamUser_SteamUser017 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int8_t __thiscall winISteamUser_SteamUser015_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser015_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetGameBadgeLevel, 12) -int __thiscall winISteamUser_SteamUser017_GetGameBadgeLevel(winISteamUser_SteamUser017 *_this, int nSeries, bool bFoil) +void __thiscall winISteamUser_SteamUser015_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetGameBadgeLevel(_this->linux_side, nSeries, bFoil); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetPlayerSteamLevel, 4) -int __thiscall winISteamUser_SteamUser017_GetPlayerSteamLevel(winISteamUser_SteamUser017 *_this) +void __thiscall winISteamUser_SteamUser015_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser017_GetPlayerSteamLevel(_this->linux_side); -} - -extern vtable_ptr winISteamUser_SteamUser017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser017, - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetGameBadgeLevel) - VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetPlayerSteamLevel) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUser_SteamUser017 *create_winISteamUser_SteamUser017(void *linux_side) -{ - winISteamUser_SteamUser017 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser017), "SteamUser017"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser017_vtable, 24, "SteamUser017"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUser_SteamUser015_StopVoiceRecording, ¶ms ); } -#include "cppISteamUser_SteamUser016.h" - -typedef struct __winISteamUser_SteamUser016 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser016; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser016_GetHSteamUser(winISteamUser_SteamUser016 *_this) +uint32_t __thiscall winISteamUser_SteamUser015_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed) { + struct ISteamUser_SteamUser015_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser016_BLoggedOn(winISteamUser_SteamUser016 *_this) +uint32_t __thiscall winISteamUser_SteamUser015_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten) { + struct ISteamUser_SteamUser015_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser016_GetSteamID(winISteamUser_SteamUser016 *_this, CSteamID *_r) +uint32_t __thiscall winISteamUser_SteamUser015_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser015_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser016_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser015_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser016_InitiateGameConnection(winISteamUser_SteamUser016 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +uint32_t __thiscall winISteamUser_SteamUser015_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser016_TerminateGameConnection(winISteamUser_SteamUser016 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser015_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser015_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser016_TrackAppUsageEvent(winISteamUser_SteamUser016 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +uint32_t __thiscall winISteamUser_SteamUser015_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser015_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser016_GetUserDataFolder(winISteamUser_SteamUser016 *_this, char * pchBuffer, int cubBuffer) +void __thiscall winISteamUser_SteamUser015_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { - bool path_result; + struct ISteamUser_SteamUser015_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser016_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser015_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser016_StartVoiceRecording(winISteamUser_SteamUser016 *_this) +void __thiscall winISteamUser_SteamUser015_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser015_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser016_StopVoiceRecording(winISteamUser_SteamUser016 *_this) +uint32_t __thiscall winISteamUser_SteamUser015_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser015_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser016_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetAvailableVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser016_GetAvailableVoice(winISteamUser_SteamUser016 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed, uint32 nUncompressedVoiceDesiredSampleRate) +int8_t __thiscall winISteamUser_SteamUser015_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser015_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed, nUncompressedVoiceDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetVoice, 40) -EVoiceResult __thiscall winISteamUser_SteamUser016_GetVoice(winISteamUser_SteamUser016 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten, uint32 nUncompressedVoiceDesiredSampleRate) +void __thiscall winISteamUser_SteamUser015_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser015_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten, nUncompressedVoiceDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser016_DecompressVoice(winISteamUser_SteamUser016 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +uint64_t __thiscall winISteamUser_SteamUser015_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser015_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser016_GetVoiceOptimalSampleRate(winISteamUser_SteamUser016 *_this) +int8_t __thiscall winISteamUser_SteamUser015_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser015_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser015_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser016_GetAuthSessionTicket(winISteamUser_SteamUser016 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); -} +extern vtable_ptr winISteamUser_SteamUser015_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser016_BeginAuthSession(winISteamUser_SteamUser016 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); -} +DEFINE_RTTI_DATA0(winISteamUser_SteamUser015, 0, ".?AVISteamUser@@") -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser016_EndAuthSession(winISteamUser_SteamUser016 *_this, CSteamID steamID) -{ - TRACE("%p\n", _this); - cppISteamUser_SteamUser016_EndAuthSession(_this->linux_side, steamID); -} +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser015_vtables) + __ASM_VTABLE(winISteamUser_SteamUser015, + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetEncryptedAppTicket) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser016_CancelAuthTicket(winISteamUser_SteamUser016 *_this, HAuthTicket hAuthTicket) +struct w_steam_iface *create_winISteamUser_SteamUser015(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUser_SteamUser016_CancelAuthTicket(_this->linux_side, hAuthTicket); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser015"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser015_vtable, 22, "SteamUser015"); + r->u_iface = u_iface; + return r; } +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_CancelAuthTicket, 8) DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser016_UserHasLicenseForApp(winISteamUser_SteamUser016 *_this, CSteamID steamID, AppId_t appID) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_UserHasLicenseForApp(_this->linux_side, steamID, appID); -} - DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser016_BIsBehindNAT(winISteamUser_SteamUser016 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_BIsBehindNAT(_this->linux_side); -} - DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser016_AdvertiseGame(winISteamUser_SteamUser016 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) -{ - TRACE("%p\n", _this); - cppISteamUser_SteamUser016_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); -} - DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser016_RequestEncryptedAppTicket(winISteamUser_SteamUser016 *_this, void * pDataToInclude, int cbDataToInclude) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); -} - DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser016_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser016_GetEncryptedAppTicket(winISteamUser_SteamUser016 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) -{ - TRACE("%p\n", _this); - return cppISteamUser_SteamUser016_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); -} - -extern vtable_ptr winISteamUser_SteamUser016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser016, - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetEncryptedAppTicket) - ); -#ifndef __GNUC__ -} -#endif -winISteamUser_SteamUser016 *create_winISteamUser_SteamUser016(void *linux_side) -{ - winISteamUser_SteamUser016 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser016), "SteamUser016"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser016_vtable, 22, "SteamUser016"); - r->linux_side = linux_side; - return r; -} - -#include "cppISteamUser_SteamUser015.h" - -typedef struct __winISteamUser_SteamUser015 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser015; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser015_GetHSteamUser(winISteamUser_SteamUser015 *_this) +int32_t __thiscall winISteamUser_SteamUser016_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser015_BLoggedOn(winISteamUser_SteamUser015 *_this) +int8_t __thiscall winISteamUser_SteamUser016_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser015_GetSteamID(winISteamUser_SteamUser015 *_this, CSteamID *_r) +CSteamID * __thiscall winISteamUser_SteamUser016_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser016_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser015_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser015_InitiateGameConnection(winISteamUser_SteamUser015 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int32_t __thiscall winISteamUser_SteamUser016_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser016_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser015_TerminateGameConnection(winISteamUser_SteamUser015 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser016_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser016_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser015_TrackAppUsageEvent(winISteamUser_SteamUser015 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +void __thiscall winISteamUser_SteamUser016_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser016_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser015_GetUserDataFolder(winISteamUser_SteamUser015 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser016_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { - bool path_result; + struct ISteamUser_SteamUser016_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser015_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser015_StartVoiceRecording(winISteamUser_SteamUser015 *_this) +void __thiscall winISteamUser_SteamUser016_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser015_StopVoiceRecording(winISteamUser_SteamUser015 *_this) +void __thiscall winISteamUser_SteamUser016_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetAvailableVoice, 12) -EVoiceResult __thiscall winISteamUser_SteamUser015_GetAvailableVoice(winISteamUser_SteamUser015 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed) +uint32_t __thiscall winISteamUser_SteamUser016_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser016_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetVoice, 36) -EVoiceResult __thiscall winISteamUser_SteamUser015_GetVoice(winISteamUser_SteamUser015 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +uint32_t __thiscall winISteamUser_SteamUser016_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser016_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_DecompressVoice, 28) -EVoiceResult __thiscall winISteamUser_SteamUser015_DecompressVoice(winISteamUser_SteamUser015 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate) +uint32_t __thiscall winISteamUser_SteamUser016_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser016_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, nDesiredSampleRate); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetVoiceOptimalSampleRate, 4) -uint32 __thiscall winISteamUser_SteamUser015_GetVoiceOptimalSampleRate(winISteamUser_SteamUser015 *_this) +uint32_t __thiscall winISteamUser_SteamUser016_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetVoiceOptimalSampleRate(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser015_GetAuthSessionTicket(winISteamUser_SteamUser015 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +uint32_t __thiscall winISteamUser_SteamUser016_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser016_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser015_BeginAuthSession(winISteamUser_SteamUser015 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser016_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser016_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser015_EndAuthSession(winISteamUser_SteamUser015 *_this, CSteamID steamID) +void __thiscall winISteamUser_SteamUser016_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser016_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser015_CancelAuthTicket(winISteamUser_SteamUser015 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamUser_SteamUser016_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser016_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser015_UserHasLicenseForApp(winISteamUser_SteamUser015 *_this, CSteamID steamID, AppId_t appID) +uint32_t __thiscall winISteamUser_SteamUser016_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser016_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser015_BIsBehindNAT(winISteamUser_SteamUser015 *_this) +int8_t __thiscall winISteamUser_SteamUser016_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser016_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser015_AdvertiseGame(winISteamUser_SteamUser015 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser016_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser016_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser015_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser015_RequestEncryptedAppTicket(winISteamUser_SteamUser015 *_this, void * pDataToInclude, int cbDataToInclude) +uint64_t __thiscall winISteamUser_SteamUser016_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser016_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser015_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser015_GetEncryptedAppTicket(winISteamUser_SteamUser015 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +int8_t __thiscall winISteamUser_SteamUser016_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser016_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser015_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser016_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser015_vtable; +extern vtable_ptr winISteamUser_SteamUser016_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser015, - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetVoiceOptimalSampleRate) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser015_GetEncryptedAppTicket) +DEFINE_RTTI_DATA0(winISteamUser_SteamUser016, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser016_vtables) + __ASM_VTABLE(winISteamUser_SteamUser016, + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser016_GetEncryptedAppTicket) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUser_SteamUser015 *create_winISteamUser_SteamUser015(void *linux_side) +struct w_steam_iface *create_winISteamUser_SteamUser016(void *u_iface) { - winISteamUser_SteamUser015 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser015), "SteamUser015"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser016"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser015_vtable, 22, "SteamUser015"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser016_vtable, 22, "SteamUser016"); + r->u_iface = u_iface; return r; } -#include "cppISteamUser_SteamUser014.h" - -typedef struct __winISteamUser_SteamUser014 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser014; +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser017_GetPlayerSteamLevel, 4) -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser014_GetHSteamUser(winISteamUser_SteamUser014 *_this) +int32_t __thiscall winISteamUser_SteamUser017_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser014_BLoggedOn(winISteamUser_SteamUser014 *_this) +int8_t __thiscall winISteamUser_SteamUser017_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser014_GetSteamID(winISteamUser_SteamUser014 *_this, CSteamID *_r) +CSteamID * __thiscall winISteamUser_SteamUser017_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser017_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser014_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser014_InitiateGameConnection(winISteamUser_SteamUser014 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int32_t __thiscall winISteamUser_SteamUser017_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser017_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser014_TerminateGameConnection(winISteamUser_SteamUser014 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser017_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser017_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser014_TrackAppUsageEvent(winISteamUser_SteamUser014 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +void __thiscall winISteamUser_SteamUser017_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser017_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser014_GetUserDataFolder(winISteamUser_SteamUser014 *_this, char * pchBuffer, int cubBuffer) +int8_t __thiscall winISteamUser_SteamUser017_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { - bool path_result; + struct ISteamUser_SteamUser017_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser014_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser014_StartVoiceRecording(winISteamUser_SteamUser014 *_this) +void __thiscall winISteamUser_SteamUser017_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser014_StopVoiceRecording(winISteamUser_SteamUser014 *_this) +void __thiscall winISteamUser_SteamUser017_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetAvailableVoice, 12) -EVoiceResult __thiscall winISteamUser_SteamUser014_GetAvailableVoice(winISteamUser_SteamUser014 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed) +uint32_t __thiscall winISteamUser_SteamUser017_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser017_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetVoice, 36) -EVoiceResult __thiscall winISteamUser_SteamUser014_GetVoice(winISteamUser_SteamUser014 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +uint32_t __thiscall winISteamUser_SteamUser017_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser017_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_DecompressVoice, 24) -EVoiceResult __thiscall winISteamUser_SteamUser014_DecompressVoice(winISteamUser_SteamUser014 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +uint32_t __thiscall winISteamUser_SteamUser017_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser017_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser014_GetAuthSessionTicket(winISteamUser_SteamUser014 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +uint32_t __thiscall winISteamUser_SteamUser017_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser014_BeginAuthSession(winISteamUser_SteamUser014 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser017_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser017_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser014_EndAuthSession(winISteamUser_SteamUser014 *_this, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser017_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser017_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser014_CancelAuthTicket(winISteamUser_SteamUser014 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamUser_SteamUser017_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser017_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser014_UserHasLicenseForApp(winISteamUser_SteamUser014 *_this, CSteamID steamID, AppId_t appID) +void __thiscall winISteamUser_SteamUser017_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser017_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_BIsBehindNAT, 4) -bool __thiscall winISteamUser_SteamUser014_BIsBehindNAT(winISteamUser_SteamUser014 *_this) +uint32_t __thiscall winISteamUser_SteamUser017_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser017_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_BIsBehindNAT(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_AdvertiseGame, 20) -void __thiscall winISteamUser_SteamUser014_AdvertiseGame(winISteamUser_SteamUser014 *_this, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser017_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser014_AdvertiseGame(_this->linux_side, steamIDGameServer, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_RequestEncryptedAppTicket, 12) -SteamAPICall_t __thiscall winISteamUser_SteamUser014_RequestEncryptedAppTicket(winISteamUser_SteamUser014 *_this, void * pDataToInclude, int cbDataToInclude) +void __thiscall winISteamUser_SteamUser017_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser017_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_RequestEncryptedAppTicket(_this->linux_side, pDataToInclude, cbDataToInclude); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser014_GetEncryptedAppTicket, 16) -bool __thiscall winISteamUser_SteamUser014_GetEncryptedAppTicket(winISteamUser_SteamUser014 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +uint64_t __thiscall winISteamUser_SteamUser017_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser017_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser014_GetEncryptedAppTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser014, - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_UserHasLicenseForApp) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_BIsBehindNAT) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_AdvertiseGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_RequestEncryptedAppTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser014_GetEncryptedAppTicket) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUser_SteamUser017_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) +{ + struct ISteamUser_SteamUser017_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser014 *create_winISteamUser_SteamUser014(void *linux_side) +int32_t __thiscall winISteamUser_SteamUser017_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { - winISteamUser_SteamUser014 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser014), "SteamUser014"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser014_vtable, 21, "SteamUser014"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser017_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetGameBadgeLevel, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser013.h" - -typedef struct __winISteamUser_SteamUser013 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser013; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser013_GetHSteamUser(winISteamUser_SteamUser013 *_this) +int32_t __thiscall winISteamUser_SteamUser017_GetPlayerSteamLevel(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser017_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser017_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser013_BLoggedOn(winISteamUser_SteamUser013 *_this) +extern vtable_ptr winISteamUser_SteamUser017_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser017, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser017_vtables) + __ASM_VTABLE(winISteamUser_SteamUser017, + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser017_GetPlayerSteamLevel) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser017(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_BLoggedOn(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser017"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser017_vtable, 24, "SteamUser017"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser013_GetSteamID(winISteamUser_SteamUser013 *_this, CSteamID *_r) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser018_RequestStoreAuthURL, 8) + +int32_t __thiscall winISteamUser_SteamUser018_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser013_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser013_InitiateGameConnection(winISteamUser_SteamUser013 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser018_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser013_TerminateGameConnection(winISteamUser_SteamUser013 *_this, uint32 unIPServer, uint16 usPortServer) +CSteamID * __thiscall winISteamUser_SteamUser018_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser018_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser013_TrackAppUsageEvent(winISteamUser_SteamUser013 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int32_t __thiscall winISteamUser_SteamUser018_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser018_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser013_GetUserDataFolder(winISteamUser_SteamUser013 *_this, char * pchBuffer, int cubBuffer) +void __thiscall winISteamUser_SteamUser018_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { - bool path_result; + struct ISteamUser_SteamUser018_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser013_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser018_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser013_StartVoiceRecording(winISteamUser_SteamUser013 *_this) +void __thiscall winISteamUser_SteamUser018_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser018_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser013_StopVoiceRecording(winISteamUser_SteamUser013 *_this) +int8_t __thiscall winISteamUser_SteamUser018_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser018_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetAvailableVoice, 12) -EVoiceResult __thiscall winISteamUser_SteamUser013_GetAvailableVoice(winISteamUser_SteamUser013 *_this, uint32 * pcbCompressed, uint32 * pcbUncompressed) +void __thiscall winISteamUser_SteamUser018_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_GetAvailableVoice(_this->linux_side, pcbCompressed, pcbUncompressed); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetVoice, 36) -EVoiceResult __thiscall winISteamUser_SteamUser013_GetVoice(winISteamUser_SteamUser013 *_this, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed, void * pUncompressedDestBuffer, uint32 cbUncompressedDestBufferSize, uint32 * nUncompressBytesWritten) +void __thiscall winISteamUser_SteamUser018_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_GetVoice(_this->linux_side, bWantCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten, bWantUncompressed, pUncompressedDestBuffer, cbUncompressedDestBufferSize, nUncompressBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_DecompressVoice, 24) -EVoiceResult __thiscall winISteamUser_SteamUser013_DecompressVoice(winISteamUser_SteamUser013 *_this, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +uint32_t __thiscall winISteamUser_SteamUser018_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser018_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed = pcbUncompressed, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser013_GetAuthSessionTicket(winISteamUser_SteamUser013 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +uint32_t __thiscall winISteamUser_SteamUser018_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed, void *pUncompressedDestBuffer, uint32_t cbUncompressedDestBufferSize, uint32_t *nUncompressBytesWritten, uint32_t nUncompressedVoiceDesiredSampleRate) { + struct ISteamUser_SteamUser018_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed = bWantUncompressed, + .pUncompressedDestBuffer = pUncompressedDestBuffer, + .cbUncompressedDestBufferSize = cbUncompressedDestBufferSize, + .nUncompressBytesWritten = nUncompressBytesWritten, + .nUncompressedVoiceDesiredSampleRate = nUncompressedVoiceDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser013_BeginAuthSession(winISteamUser_SteamUser013 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser018_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser018_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser013_EndAuthSession(winISteamUser_SteamUser013 *_this, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser018_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser013_CancelAuthTicket(winISteamUser_SteamUser013 *_this, HAuthTicket hAuthTicket) +uint32_t __thiscall winISteamUser_SteamUser018_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser018_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser013_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser013_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser013_UserHasLicenseForApp(winISteamUser_SteamUser013 *_this, CSteamID steamID, AppId_t appID) +uint32_t __thiscall winISteamUser_SteamUser018_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser018_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser013_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_BeginAuthSession, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser013, - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetAvailableVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser013_UserHasLicenseForApp) - ); -#ifndef __GNUC__ +void __thiscall winISteamUser_SteamUser018_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) +{ + struct ISteamUser_SteamUser018_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_EndAuthSession, ¶ms ); } -#endif -winISteamUser_SteamUser013 *create_winISteamUser_SteamUser013(void *linux_side) +void __thiscall winISteamUser_SteamUser018_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { - winISteamUser_SteamUser013 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser013), "SteamUser013"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser013_vtable, 17, "SteamUser013"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser018_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_CancelAuthTicket, ¶ms ); } -#include "cppISteamUser_SteamUser012.h" - -typedef struct __winISteamUser_SteamUser012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser012; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser012_GetHSteamUser(winISteamUser_SteamUser012 *_this) +uint32_t __thiscall winISteamUser_SteamUser018_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser018_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser012_BLoggedOn(winISteamUser_SteamUser012 *_this) +int8_t __thiscall winISteamUser_SteamUser018_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser018_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser012_GetSteamID(winISteamUser_SteamUser012 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser018_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser018_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser012_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser018_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser012_InitiateGameConnection(winISteamUser_SteamUser012 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +uint64_t __thiscall winISteamUser_SteamUser018_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser018_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser012_TerminateGameConnection(winISteamUser_SteamUser012 *_this, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser018_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser018_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser012_TrackAppUsageEvent(winISteamUser_SteamUser012 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int32_t __thiscall winISteamUser_SteamUser018_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { + struct ISteamUser_SteamUser018_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetGameBadgeLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser012_GetUserDataFolder(winISteamUser_SteamUser012 *_this, char * pchBuffer, int cubBuffer) +int32_t __thiscall winISteamUser_SteamUser018_GetPlayerSteamLevel(struct w_steam_iface *_this) { - bool path_result; + struct ISteamUser_SteamUser018_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser012_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser018_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser012_StartVoiceRecording(winISteamUser_SteamUser012 *_this) +uint64_t __thiscall winISteamUser_SteamUser018_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { + struct ISteamUser_SteamUser018_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser018_RequestStoreAuthURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser012_StopVoiceRecording(winISteamUser_SteamUser012 *_this) +extern vtable_ptr winISteamUser_SteamUser018_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser018, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser018_vtables) + __ASM_VTABLE(winISteamUser_SteamUser018, + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser018_RequestStoreAuthURL) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser018(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUser_SteamUser012_StopVoiceRecording(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser018"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser018_vtable, 25, "SteamUser018"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetCompressedVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser012_GetCompressedVoice(winISteamUser_SteamUser012 *_this, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_RequestStoreAuthURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneVerified, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsTwoFactorEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneIdentifying, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser019_BIsPhoneRequiringVerification, 4) + +int32_t __thiscall winISteamUser_SteamUser019_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_GetCompressedVoice(_this->linux_side, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_DecompressVoice, 24) -EVoiceResult __thiscall winISteamUser_SteamUser012_DecompressVoice(winISteamUser_SteamUser012 *_this, void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +int8_t __thiscall winISteamUser_SteamUser019_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_GetAuthSessionTicket, 16) -HAuthTicket __thiscall winISteamUser_SteamUser012_GetAuthSessionTicket(winISteamUser_SteamUser012 *_this, void * pTicket, int cbMaxTicket, uint32 * pcbTicket) +CSteamID * __thiscall winISteamUser_SteamUser019_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser019_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_GetAuthSessionTicket(_this->linux_side, pTicket, cbMaxTicket, pcbTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_BeginAuthSession, 20) -EBeginAuthSessionResult __thiscall winISteamUser_SteamUser012_BeginAuthSession(winISteamUser_SteamUser012 *_this, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID) +int32_t __thiscall winISteamUser_SteamUser019_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser019_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_BeginAuthSession(_this->linux_side, pAuthTicket, cbAuthTicket, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_EndAuthSession, 12) -void __thiscall winISteamUser_SteamUser012_EndAuthSession(winISteamUser_SteamUser012 *_this, CSteamID steamID) +void __thiscall winISteamUser_SteamUser019_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser019_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_EndAuthSession(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_CancelAuthTicket, 8) -void __thiscall winISteamUser_SteamUser012_CancelAuthTicket(winISteamUser_SteamUser012 *_this, HAuthTicket hAuthTicket) +void __thiscall winISteamUser_SteamUser019_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser019_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser012_CancelAuthTicket(_this->linux_side, hAuthTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser012_UserHasLicenseForApp, 16) -EUserHasLicenseForAppResult __thiscall winISteamUser_SteamUser012_UserHasLicenseForApp(winISteamUser_SteamUser012 *_this, CSteamID steamID, AppId_t appID) +int8_t __thiscall winISteamUser_SteamUser019_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser019_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser012_UserHasLicenseForApp(_this->linux_side, steamID, appID); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetUserDataFolder, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser012, - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetCompressedVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_DecompressVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_GetAuthSessionTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_BeginAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_EndAuthSession) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_CancelAuthTicket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser012_UserHasLicenseForApp) - ); -#ifndef __GNUC__ +void __thiscall winISteamUser_SteamUser019_StartVoiceRecording(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser019_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_StartVoiceRecording, ¶ms ); } -#endif -winISteamUser_SteamUser012 *create_winISteamUser_SteamUser012(void *linux_side) +void __thiscall winISteamUser_SteamUser019_StopVoiceRecording(struct w_steam_iface *_this) { - winISteamUser_SteamUser012 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser012), "SteamUser012"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser012_vtable, 16, "SteamUser012"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser019_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_StopVoiceRecording, ¶ms ); } -#include "cppISteamUser_SteamUser011.h" - -typedef struct __winISteamUser_SteamUser011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser011; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser011_GetHSteamUser(winISteamUser_SteamUser011 *_this) +uint32_t __thiscall winISteamUser_SteamUser019_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser019_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser011_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser011_BLoggedOn(winISteamUser_SteamUser011 *_this) +uint32_t __thiscall winISteamUser_SteamUser019_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32_t cbUncompressedDestBufferSize_Deprecated, uint32_t *nUncompressBytesWritten_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser019_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser011_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser011_GetSteamID(winISteamUser_SteamUser011 *_this, CSteamID *_r) +uint32_t __thiscall winISteamUser_SteamUser019_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser019_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser011_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser019_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser011_InitiateGameConnection(winISteamUser_SteamUser011 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +uint32_t __thiscall winISteamUser_SteamUser019_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser011_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser011_TerminateGameConnection(winISteamUser_SteamUser011 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser019_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser019_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser011_TrackAppUsageEvent(winISteamUser_SteamUser011 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +uint32_t __thiscall winISteamUser_SteamUser019_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser019_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetUserDataFolder, 12) -bool __thiscall winISteamUser_SteamUser011_GetUserDataFolder(winISteamUser_SteamUser011 *_this, char * pchBuffer, int cubBuffer) +void __thiscall winISteamUser_SteamUser019_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { - bool path_result; + struct ISteamUser_SteamUser019_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - path_result = cppISteamUser_SteamUser011_GetUserDataFolder(_this->linux_side, pchBuffer, cubBuffer); - steamclient_unix_path_to_dos_path(path_result, pchBuffer, pchBuffer, cubBuffer, 0); - return path_result; + STEAMCLIENT_CALL( ISteamUser_SteamUser019_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_StartVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser011_StartVoiceRecording(winISteamUser_SteamUser011 *_this) +void __thiscall winISteamUser_SteamUser019_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser019_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_StartVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_StopVoiceRecording, 4) -void __thiscall winISteamUser_SteamUser011_StopVoiceRecording(winISteamUser_SteamUser011 *_this) +uint32_t __thiscall winISteamUser_SteamUser019_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser019_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser011_StopVoiceRecording(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_GetCompressedVoice, 16) -EVoiceResult __thiscall winISteamUser_SteamUser011_GetCompressedVoice(winISteamUser_SteamUser011 *_this, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +int8_t __thiscall winISteamUser_SteamUser019_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser011_GetCompressedVoice(_this->linux_side, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser011_DecompressVoice, 24) -EVoiceResult __thiscall winISteamUser_SteamUser011_DecompressVoice(winISteamUser_SteamUser011 *_this, void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten) +void __thiscall winISteamUser_SteamUser019_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser019_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser011_DecompressVoice(_this->linux_side, pCompressed, cbCompressed, pDestBuffer, cbDestBufferSize, nBytesWritten); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_AdvertiseGame, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser011, - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetUserDataFolder) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_StartVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_StopVoiceRecording) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_GetCompressedVoice) - VTABLE_ADD_FUNC(winISteamUser_SteamUser011_DecompressVoice) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamUser_SteamUser019_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) +{ + struct ISteamUser_SteamUser019_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser011 *create_winISteamUser_SteamUser011(void *linux_side) +int8_t __thiscall winISteamUser_SteamUser019_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { - winISteamUser_SteamUser011 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser011), "SteamUser011"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser011_vtable, 11, "SteamUser011"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser019_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser010.h" - -typedef struct __winISteamUser_SteamUser010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser010; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser010_GetHSteamUser(winISteamUser_SteamUser010 *_this) +int32_t __thiscall winISteamUser_SteamUser019_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { + struct ISteamUser_SteamUser019_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser010_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetGameBadgeLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser010_BLoggedOn(winISteamUser_SteamUser010 *_this) +int32_t __thiscall winISteamUser_SteamUser019_GetPlayerSteamLevel(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser010_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser010_GetSteamID(winISteamUser_SteamUser010 *_this, CSteamID *_r) +uint64_t __thiscall winISteamUser_SteamUser019_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { + struct ISteamUser_SteamUser019_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser010_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser019_RequestStoreAuthURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_InitiateGameConnection, 32) -int __thiscall winISteamUser_SteamUser010_InitiateGameConnection(winISteamUser_SteamUser010 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser019_BIsPhoneVerified(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser010_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BIsPhoneVerified, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser010_TerminateGameConnection(winISteamUser_SteamUser010 *_this, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser019_BIsTwoFactorEnabled(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser010_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BIsTwoFactorEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser010_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser010_TrackAppUsageEvent(winISteamUser_SteamUser010 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser019_BIsPhoneIdentifying(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser019_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser010_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BIsPhoneIdentifying, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser010_vtable; +int8_t __thiscall winISteamUser_SteamUser019_BIsPhoneRequiringVerification(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser019_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser019_BIsPhoneRequiringVerification, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser010, - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser010_TrackAppUsageEvent) +extern vtable_ptr winISteamUser_SteamUser019_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser019, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser019_vtables) + __ASM_VTABLE(winISteamUser_SteamUser019, + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser019_BIsPhoneRequiringVerification) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUser_SteamUser010 *create_winISteamUser_SteamUser010(void *linux_side) +struct w_steam_iface *create_winISteamUser_SteamUser019(void *u_iface) { - winISteamUser_SteamUser010 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser010), "SteamUser010"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser019"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser010_vtable, 6, "SteamUser010"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser019_vtable, 29, "SteamUser019"); + r->u_iface = u_iface; return r; } -#include "cppISteamUser_SteamUser009.h" +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_InitiateGameConnection, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_TerminateGameConnection, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_RequestStoreAuthURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneVerified, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsTwoFactorEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneIdentifying, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_BIsPhoneRequiringVerification, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetMarketEligibility, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser020_GetDurationControl, 4) -typedef struct __winISteamUser_SteamUser009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser009; +int32_t __thiscall winISteamUser_SteamUser020_GetHSteamUser(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser020_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetHSteamUser, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser009_GetHSteamUser(winISteamUser_SteamUser009 *_this) +int8_t __thiscall winISteamUser_SteamUser020_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser009_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser009_BLoggedOn(winISteamUser_SteamUser009 *_this) +CSteamID * __thiscall winISteamUser_SteamUser020_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser020_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser009_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser009_GetSteamID(winISteamUser_SteamUser009 *_this, CSteamID *_r) +int32_t __thiscall winISteamUser_SteamUser020_InitiateGameConnection(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser020_InitiateGameConnection_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser009_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser020_InitiateGameConnection, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_InitiateGameConnection, 40) -int __thiscall winISteamUser_SteamUser009_InitiateGameConnection(winISteamUser_SteamUser009 *_this, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void __thiscall winISteamUser_SteamUser020_TerminateGameConnection(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser020_TerminateGameConnection_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser009_InitiateGameConnection(_this->linux_side, pAuthBlob, cbMaxAuthBlob, steamIDGameServer, gameID, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_TerminateGameConnection, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser009_TerminateGameConnection(winISteamUser_SteamUser009 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser020_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser020_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser009_TrackAppUsageEvent(winISteamUser_SteamUser009 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser020_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser020_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser009_RefreshSteam2Login, 4) -void __thiscall winISteamUser_SteamUser009_RefreshSteam2Login(winISteamUser_SteamUser009 *_this) +void __thiscall winISteamUser_SteamUser020_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser009_RefreshSteam2Login(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_StartVoiceRecording, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser009_vtable; +void __thiscall winISteamUser_SteamUser020_StopVoiceRecording(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser020_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_StopVoiceRecording, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser009, - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser009_RefreshSteam2Login) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamUser_SteamUser020_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + struct ISteamUser_SteamUser020_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetAvailableVoice, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser009 *create_winISteamUser_SteamUser009(void *linux_side) +uint32_t __thiscall winISteamUser_SteamUser020_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32_t cbUncompressedDestBufferSize_Deprecated, uint32_t *nUncompressBytesWritten_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { - winISteamUser_SteamUser009 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser009), "SteamUser009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser009_vtable, 7, "SteamUser009"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser020_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetVoice, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser008.h" +uint32_t __thiscall winISteamUser_SteamUser020_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) +{ + struct ISteamUser_SteamUser020_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_DecompressVoice, ¶ms ); + return params._ret; +} -typedef struct __winISteamUser_SteamUser008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser008; +uint32_t __thiscall winISteamUser_SteamUser020_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser020_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser008_GetHSteamUser(winISteamUser_SteamUser008 *_this) +uint32_t __thiscall winISteamUser_SteamUser020_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser020_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser008_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser008_BLoggedOn(winISteamUser_SteamUser008 *_this) +uint32_t __thiscall winISteamUser_SteamUser020_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser020_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser008_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser008_GetSteamID(winISteamUser_SteamUser008 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser020_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser020_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser008_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser020_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_InitiateGameConnection, 48) -int __thiscall winISteamUser_SteamUser008_InitiateGameConnection(winISteamUser_SteamUser008 *_this, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void * pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) +void __thiscall winISteamUser_SteamUser020_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser020_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser008_InitiateGameConnection(_this->linux_side, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser008_TerminateGameConnection(winISteamUser_SteamUser008 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser020_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser020_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser008_TrackAppUsageEvent(winISteamUser_SteamUser008 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser020_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser008_RefreshSteam2Login, 4) -void __thiscall winISteamUser_SteamUser008_RefreshSteam2Login(winISteamUser_SteamUser008 *_this) +void __thiscall winISteamUser_SteamUser020_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser020_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser008_RefreshSteam2Login(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_AdvertiseGame, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser008_vtable; +uint64_t __thiscall winISteamUser_SteamUser020_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) +{ + struct ISteamUser_SteamUser020_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_RequestEncryptedAppTicket, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser008, - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser008_RefreshSteam2Login) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUser_SteamUser020_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) +{ + struct ISteamUser_SteamUser020_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser008 *create_winISteamUser_SteamUser008(void *linux_side) +int32_t __thiscall winISteamUser_SteamUser020_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { - winISteamUser_SteamUser008 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser008), "SteamUser008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser008_vtable, 7, "SteamUser008"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser020_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetGameBadgeLevel, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser007.h" +int32_t __thiscall winISteamUser_SteamUser020_GetPlayerSteamLevel(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser020_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetPlayerSteamLevel, ¶ms ); + return params._ret; +} -typedef struct __winISteamUser_SteamUser007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser007; +uint64_t __thiscall winISteamUser_SteamUser020_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) +{ + struct ISteamUser_SteamUser020_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_RequestStoreAuthURL, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser007_GetHSteamUser(winISteamUser_SteamUser007 *_this) +int8_t __thiscall winISteamUser_SteamUser020_BIsPhoneVerified(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BIsPhoneVerified, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_LogOn, 12) -void __thiscall winISteamUser_SteamUser007_LogOn(winISteamUser_SteamUser007 *_this, CSteamID steamID) +int8_t __thiscall winISteamUser_SteamUser020_BIsTwoFactorEnabled(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_LogOn(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BIsTwoFactorEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_LogOff, 4) -void __thiscall winISteamUser_SteamUser007_LogOff(winISteamUser_SteamUser007 *_this) +int8_t __thiscall winISteamUser_SteamUser020_BIsPhoneIdentifying(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BIsPhoneIdentifying, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser007_BLoggedOn(winISteamUser_SteamUser007 *_this) +int8_t __thiscall winISteamUser_SteamUser020_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_BIsPhoneRequiringVerification, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser007_GetSteamID(winISteamUser_SteamUser007 *_this, CSteamID *_r) +uint64_t __thiscall winISteamUser_SteamUser020_GetMarketEligibility(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser007_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetMarketEligibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_SetRegistryString, 16) -bool __thiscall winISteamUser_SteamUser007_SetRegistryString(winISteamUser_SteamUser007 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +uint64_t __thiscall winISteamUser_SteamUser020_GetDurationControl(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser020_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_SetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser020_GetDurationControl, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetRegistryString, 20) -bool __thiscall winISteamUser_SteamUser007_GetRegistryString(winISteamUser_SteamUser007 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +extern vtable_ptr winISteamUser_SteamUser020_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser020, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser020_vtables) + __ASM_VTABLE(winISteamUser_SteamUser020, + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_InitiateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_TerminateGameConnection) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_BIsPhoneRequiringVerification) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser020_GetDurationControl) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser020(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser020"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser020_vtable, 31, "SteamUser020"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetAuthSessionTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_RequestStoreAuthURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneVerified, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsTwoFactorEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneIdentifying, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BIsPhoneRequiringVerification, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetMarketEligibility, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_GetDurationControl, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser021_BSetDurationControlOnlineState, 8) + +int32_t __thiscall winISteamUser_SteamUser021_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_GetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue, cbValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_SetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser007_SetRegistryInt(winISteamUser_SteamUser007 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +int8_t __thiscall winISteamUser_SteamUser021_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_SetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, iValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_GetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser007_GetRegistryInt(winISteamUser_SteamUser007 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +CSteamID * __thiscall winISteamUser_SteamUser021_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser021_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_GetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, piValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_InitiateGameConnection, 48) -int __thiscall winISteamUser_SteamUser007_InitiateGameConnection(winISteamUser_SteamUser007 *_this, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure, void * pvSteam2GetEncryptionKey, int cbSteam2GetEncryptionKey) +int32_t __thiscall winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser007_InitiateGameConnection(_this->linux_side, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure, pvSteam2GetEncryptionKey, cbSteam2GetEncryptionKey); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser007_TerminateGameConnection(winISteamUser_SteamUser007 *_this, uint32 unIPServer, uint16 usPortServer) +void __thiscall winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser007_TrackAppUsageEvent(winISteamUser_SteamUser007 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +void __thiscall winISteamUser_SteamUser021_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser021_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser007_RefreshSteam2Login, 4) -void __thiscall winISteamUser_SteamUser007_RefreshSteam2Login(winISteamUser_SteamUser007 *_this) +int8_t __thiscall winISteamUser_SteamUser021_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser021_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser007_RefreshSteam2Login(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetUserDataFolder, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser007_vtable; +void __thiscall winISteamUser_SteamUser021_StartVoiceRecording(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser021_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_StartVoiceRecording, ¶ms ); +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser007, - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_LogOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_LogOff) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_SetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_SetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_GetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser007_RefreshSteam2Login) - ); -#ifndef __GNUC__ +void __thiscall winISteamUser_SteamUser021_StopVoiceRecording(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser021_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_StopVoiceRecording, ¶ms ); } -#endif -winISteamUser_SteamUser007 *create_winISteamUser_SteamUser007(void *linux_side) +uint32_t __thiscall winISteamUser_SteamUser021_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { - winISteamUser_SteamUser007 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser007), "SteamUser007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser007_vtable, 13, "SteamUser007"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser021_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetAvailableVoice, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser006.h" +uint32_t __thiscall winISteamUser_SteamUser021_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32_t cbUncompressedDestBufferSize_Deprecated, uint32_t *nUncompressBytesWritten_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) +{ + struct ISteamUser_SteamUser021_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetVoice, ¶ms ); + return params._ret; +} -typedef struct __winISteamUser_SteamUser006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser006; +uint32_t __thiscall winISteamUser_SteamUser021_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) +{ + struct ISteamUser_SteamUser021_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_DecompressVoice, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser006_GetHSteamUser(winISteamUser_SteamUser006 *_this) +uint32_t __thiscall winISteamUser_SteamUser021_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_LogOn, 12) -void __thiscall winISteamUser_SteamUser006_LogOn(winISteamUser_SteamUser006 *_this, CSteamID steamID) +uint32_t __thiscall winISteamUser_SteamUser021_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser021_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_LogOn(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_LogOff, 4) -void __thiscall winISteamUser_SteamUser006_LogOff(winISteamUser_SteamUser006 *_this) +uint32_t __thiscall winISteamUser_SteamUser021_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser021_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser006_BLoggedOn(winISteamUser_SteamUser006 *_this) +void __thiscall winISteamUser_SteamUser021_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser021_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser006_GetSteamID(winISteamUser_SteamUser006 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser021_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser021_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser006_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser021_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_SetRegistryString, 16) -bool __thiscall winISteamUser_SteamUser006_SetRegistryString(winISteamUser_SteamUser006 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +uint32_t __thiscall winISteamUser_SteamUser021_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser021_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_SetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetRegistryString, 20) -bool __thiscall winISteamUser_SteamUser006_GetRegistryString(winISteamUser_SteamUser006 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +int8_t __thiscall winISteamUser_SteamUser021_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_GetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue, cbValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_SetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser006_SetRegistryInt(winISteamUser_SteamUser006 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +void __thiscall winISteamUser_SteamUser021_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser021_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_SetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, iValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_GetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser006_GetRegistryInt(winISteamUser_SteamUser006 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +uint64_t __thiscall winISteamUser_SteamUser021_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser021_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_GetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, piValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_InitiateGameConnection, 40) -int __thiscall winISteamUser_SteamUser006_InitiateGameConnection(winISteamUser_SteamUser006 *_this, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser021_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser021_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser006_InitiateGameConnection(_this->linux_side, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser006_TerminateGameConnection(winISteamUser_SteamUser006 *_this, uint32 unIPServer, uint16 usPortServer) +int32_t __thiscall winISteamUser_SteamUser021_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { + struct ISteamUser_SteamUser021_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetGameBadgeLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser006_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser006_TrackAppUsageEvent(winISteamUser_SteamUser006 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int32_t __thiscall winISteamUser_SteamUser021_GetPlayerSteamLevel(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser006_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser006_vtable; +uint64_t __thiscall winISteamUser_SteamUser021_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) +{ + struct ISteamUser_SteamUser021_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_RequestStoreAuthURL, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser006, - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_LogOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_LogOff) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_SetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_SetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_GetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser006_TrackAppUsageEvent) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUser_SteamUser021_BIsPhoneVerified(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser021_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BIsPhoneVerified, ¶ms ); + return params._ret; } -#endif -winISteamUser_SteamUser006 *create_winISteamUser_SteamUser006(void *linux_side) +int8_t __thiscall winISteamUser_SteamUser021_BIsTwoFactorEnabled(struct w_steam_iface *_this) { - winISteamUser_SteamUser006 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser006), "SteamUser006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser006_vtable, 12, "SteamUser006"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser021_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BIsTwoFactorEnabled, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser005.h" +int8_t __thiscall winISteamUser_SteamUser021_BIsPhoneIdentifying(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser021_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BIsPhoneIdentifying, ¶ms ); + return params._ret; +} -typedef struct __winISteamUser_SteamUser005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser005; +int8_t __thiscall winISteamUser_SteamUser021_BIsPhoneRequiringVerification(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser021_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BIsPhoneRequiringVerification, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser005_GetHSteamUser(winISteamUser_SteamUser005 *_this) +uint64_t __thiscall winISteamUser_SteamUser021_GetMarketEligibility(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetMarketEligibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_LogOn, 12) -void __thiscall winISteamUser_SteamUser005_LogOn(winISteamUser_SteamUser005 *_this, CSteamID steamID) +uint64_t __thiscall winISteamUser_SteamUser021_GetDurationControl(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser021_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_LogOn(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_GetDurationControl, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_LogOff, 4) -void __thiscall winISteamUser_SteamUser005_LogOff(winISteamUser_SteamUser005 *_this) +int8_t __thiscall winISteamUser_SteamUser021_BSetDurationControlOnlineState(struct w_steam_iface *_this, uint32_t eNewState) { + struct ISteamUser_SteamUser021_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser021_BSetDurationControlOnlineState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser005_BLoggedOn(winISteamUser_SteamUser005 *_this) +extern vtable_ptr winISteamUser_SteamUser021_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser021, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser021_vtables) + __ASM_VTABLE(winISteamUser_SteamUser021, + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_InitiateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TerminateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BIsPhoneRequiringVerification) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_GetDurationControl) + VTABLE_ADD_FUNC(winISteamUser_SteamUser021_BSetDurationControlOnlineState) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser021(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser021"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser021_vtable, 32, "SteamUser021"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetAuthSessionTicket, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_RequestStoreAuthURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneVerified, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsTwoFactorEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneIdentifying, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BIsPhoneRequiringVerification, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetMarketEligibility, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_GetDurationControl, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser022_BSetDurationControlOnlineState, 8) + +int32_t __thiscall winISteamUser_SteamUser022_GetHSteamUser(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser022_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetHSteamUser, ¶ms ); + return params._ret; +} + +int8_t __thiscall winISteamUser_SteamUser022_BLoggedOn(struct w_steam_iface *_this) +{ + struct ISteamUser_SteamUser022_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BLoggedOn, ¶ms ); + return params._ret; +} + +CSteamID * __thiscall winISteamUser_SteamUser022_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser022_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetLogonState, 4) -ELogonState __thiscall winISteamUser_SteamUser005_GetLogonState(winISteamUser_SteamUser005 *_this) +int32_t __thiscall winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetLogonState(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_BConnected, 4) -bool __thiscall winISteamUser_SteamUser005_BConnected(winISteamUser_SteamUser005 *_this) +void __thiscall winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_BConnected(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser005_GetSteamID(winISteamUser_SteamUser005 *_this, CSteamID *_r) +void __thiscall winISteamUser_SteamUser022_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) { + struct ISteamUser_SteamUser022_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser005_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser022_TrackAppUsageEvent, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_IsVACBanned, 8) -bool __thiscall winISteamUser_SteamUser005_IsVACBanned(winISteamUser_SteamUser005 *_this, int nGameID) +int8_t __thiscall winISteamUser_SteamUser022_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { + struct ISteamUser_SteamUser022_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_IsVACBanned(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetUserDataFolder, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RequireShowVACBannedMessage, 8) -bool __thiscall winISteamUser_SteamUser005_RequireShowVACBannedMessage(winISteamUser_SteamUser005 *_this, int nAppID) +void __thiscall winISteamUser_SteamUser022_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_RequireShowVACBannedMessage(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AcknowledgeVACBanning, 8) -void __thiscall winISteamUser_SteamUser005_AcknowledgeVACBanning(winISteamUser_SteamUser005 *_this, int nAppID) +void __thiscall winISteamUser_SteamUser022_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AcknowledgeVACBanning(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetSteam2Ticket, 12) -void __thiscall winISteamUser_SteamUser005_SetSteam2Ticket(winISteamUser_SteamUser005 *_this, uint8 * pubTicket, int cubTicket) +uint32_t __thiscall winISteamUser_SteamUser022_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser022_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetSteam2Ticket(_this->linux_side, pubTicket, cubTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AddServerNetAddress, 12) -void __thiscall winISteamUser_SteamUser005_AddServerNetAddress(winISteamUser_SteamUser005 *_this, uint32 unIP, uint16 unPort) +uint32_t __thiscall winISteamUser_SteamUser022_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32_t cbUncompressedDestBufferSize_Deprecated, uint32_t *nUncompressBytesWritten_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser022_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AddServerNetAddress(_this->linux_side, unIP, unPort); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetEmail, 8) -bool __thiscall winISteamUser_SteamUser005_SetEmail(winISteamUser_SteamUser005 *_this, const char * pchEmail) +uint32_t __thiscall winISteamUser_SteamUser022_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser022_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SetEmail(_this->linux_side, pchEmail); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetRegistryString, 16) -bool __thiscall winISteamUser_SteamUser005_SetRegistryString(winISteamUser_SteamUser005 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +uint32_t __thiscall winISteamUser_SteamUser022_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetRegistryString, 20) -bool __thiscall winISteamUser_SteamUser005_GetRegistryString(winISteamUser_SteamUser005 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +uint32_t __thiscall winISteamUser_SteamUser022_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket, const SteamNetworkingIdentity_144 *pSteamNetworkingIdentity) { + struct ISteamUser_SteamUser022_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSteamNetworkingIdentity = pSteamNetworkingIdentity, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue, cbValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser005_SetRegistryInt(winISteamUser_SteamUser005 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +uint32_t __thiscall winISteamUser_SteamUser022_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser022_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, iValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser005_GetRegistryInt(winISteamUser_SteamUser005 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +void __thiscall winISteamUser_SteamUser022_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser022_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, piValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_InitiateGameConnection, 40) -int __thiscall winISteamUser_SteamUser005_InitiateGameConnection(winISteamUser_SteamUser005 *_this, void * pBlob, int cbMaxBlob, CSteamID steamID, CGameID gameID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +void __thiscall winISteamUser_SteamUser022_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser022_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_InitiateGameConnection(_this->linux_side, pBlob, cbMaxBlob, steamID, gameID, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser005_TerminateGameConnection(winISteamUser_SteamUser005 *_this, uint32 unIPServer, uint16 usPortServer) +uint32_t __thiscall winISteamUser_SteamUser022_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser022_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination, 4) -void __thiscall winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(winISteamUser_SteamUser005 *_this) +int8_t __thiscall winISteamUser_SteamUser022_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_IsPrimaryChatDestination, 4) -bool __thiscall winISteamUser_SteamUser005_IsPrimaryChatDestination(winISteamUser_SteamUser005 *_this) +void __thiscall winISteamUser_SteamUser022_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser022_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_IsPrimaryChatDestination(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RequestLegacyCDKey, 8) -void __thiscall winISteamUser_SteamUser005_RequestLegacyCDKey(winISteamUser_SteamUser005 *_this, uint32 nAppID) +uint64_t __thiscall winISteamUser_SteamUser022_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser022_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_RequestLegacyCDKey(_this->linux_side, nAppID); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SendGuestPassByEmail, 20) -bool __thiscall winISteamUser_SteamUser005_SendGuestPassByEmail(winISteamUser_SteamUser005 *_this, const char * pchEmailAccount, GID_t gidGuestPassID, bool bResending) +int8_t __thiscall winISteamUser_SteamUser022_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser022_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SendGuestPassByEmail(_this->linux_side, pchEmailAccount, gidGuestPassID, bResending); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SendGuestPassByAccountID, 20) -bool __thiscall winISteamUser_SteamUser005_SendGuestPassByAccountID(winISteamUser_SteamUser005 *_this, uint32 uAccountID, GID_t gidGuestPassID, bool bResending) +int32_t __thiscall winISteamUser_SteamUser022_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { + struct ISteamUser_SteamUser022_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SendGuestPassByAccountID(_this->linux_side, uAccountID, gidGuestPassID, bResending); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetGameBadgeLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AckGuestPass, 8) -bool __thiscall winISteamUser_SteamUser005_AckGuestPass(winISteamUser_SteamUser005 *_this, const char * pchGuestPassCode) +int32_t __thiscall winISteamUser_SteamUser022_GetPlayerSteamLevel(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_AckGuestPass(_this->linux_side, pchGuestPassCode); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_RedeemGuestPass, 8) -bool __thiscall winISteamUser_SteamUser005_RedeemGuestPass(winISteamUser_SteamUser005 *_this, const char * pchGuestPassCode) +uint64_t __thiscall winISteamUser_SteamUser022_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { + struct ISteamUser_SteamUser022_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_RedeemGuestPass(_this->linux_side, pchGuestPassCode); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_RequestStoreAuthURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToGiveCount, 4) -uint32 __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveCount(winISteamUser_SteamUser005 *_this) +int8_t __thiscall winISteamUser_SteamUser022_BIsPhoneVerified(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToGiveCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BIsPhoneVerified, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemCount, 4) -uint32 __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemCount(winISteamUser_SteamUser005 *_this) +int8_t __thiscall winISteamUser_SteamUser022_BIsTwoFactorEnabled(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToRedeemCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BIsTwoFactorEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassLastUpdateTime, 4) -RTime32 __thiscall winISteamUser_SteamUser005_GetGuestPassLastUpdateTime(winISteamUser_SteamUser005 *_this) +int8_t __thiscall winISteamUser_SteamUser022_BIsPhoneIdentifying(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassLastUpdateTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BIsPhoneIdentifying, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToGiveInfo, 40) -bool __thiscall winISteamUser_SteamUser005_GetGuestPassToGiveInfo(winISteamUser_SteamUser005 *_this, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed, char * pchRecipientAddress, int cRecipientAddressSize) +int8_t __thiscall winISteamUser_SteamUser022_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToGiveInfo(_this->linux_side, nPassIndex, pgidGuestPassID, pnPackageID, pRTime32Created, pRTime32Expiration, pRTime32Sent, pRTime32Redeemed, pchRecipientAddress, cRecipientAddressSize); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BIsPhoneRequiringVerification, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemInfo, 32) -bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemInfo(winISteamUser_SteamUser005 *_this, uint32 nPassIndex, GID_t * pgidGuestPassID, PackageId_t * pnPackageID, RTime32 * pRTime32Created, RTime32 * pRTime32Expiration, RTime32 * pRTime32Sent, RTime32 * pRTime32Redeemed) +uint64_t __thiscall winISteamUser_SteamUser022_GetMarketEligibility(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToRedeemInfo(_this->linux_side, nPassIndex, pgidGuestPassID, pnPackageID, pRTime32Created, pRTime32Expiration, pRTime32Sent, pRTime32Redeemed); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetMarketEligibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress, 16) -bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(winISteamUser_SteamUser005 *_this, uint32 nPassIndex, char * pchSenderAddress, int cSenderAddressSize) +uint64_t __thiscall winISteamUser_SteamUser022_GetDurationControl(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser022_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress(_this->linux_side, nPassIndex, pchSenderAddress, cSenderAddressSize); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_GetDurationControl, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName, 16) -bool __thiscall winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(winISteamUser_SteamUser005 *_this, uint32 nPassIndex, char * pchSenderName, int cSenderNameSize) +int8_t __thiscall winISteamUser_SteamUser022_BSetDurationControlOnlineState(struct w_steam_iface *_this, uint32_t eNewState) { + struct ISteamUser_SteamUser022_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_GetGuestPassToRedeemSenderName(_this->linux_side, nPassIndex, pchSenderName, cSenderNameSize); + STEAMCLIENT_CALL( ISteamUser_SteamUser022_BSetDurationControlOnlineState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_AcknowledgeMessageByGID, 8) -void __thiscall winISteamUser_SteamUser005_AcknowledgeMessageByGID(winISteamUser_SteamUser005 *_this, const char * pchMessageGID) +extern vtable_ptr winISteamUser_SteamUser022_vtable; + +DEFINE_RTTI_DATA0(winISteamUser_SteamUser022, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser022_vtables) + __ASM_VTABLE(winISteamUser_SteamUser022, + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_InitiateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TerminateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BIsPhoneRequiringVerification) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_GetDurationControl) + VTABLE_ADD_FUNC(winISteamUser_SteamUser022_BSetDurationControlOnlineState) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUser_SteamUser022(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUser_SteamUser005_AcknowledgeMessageByGID(_this->linux_side, pchMessageGID); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser022"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUser_SteamUser022_vtable, 32, "SteamUser022"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetLanguage, 8) -bool __thiscall winISteamUser_SteamUser005_SetLanguage(winISteamUser_SteamUser005 *_this, const char * pchLanguage) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetHSteamUser, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BLoggedOn, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetSteamID, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED, 32) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_TrackAppUsageEvent, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetUserDataFolder, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_StartVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_StopVoiceRecording, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAvailableVoice, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetVoice, 40) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_DecompressVoice, 28) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetVoiceOptimalSampleRate, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAuthSessionTicket, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetAuthTicketForWebApi, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BeginAuthSession, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_EndAuthSession, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_CancelAuthTicket, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_UserHasLicenseForApp, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsBehindNAT, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_AdvertiseGame, 20) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_RequestEncryptedAppTicket, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetEncryptedAppTicket, 16) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetGameBadgeLevel, 12) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetPlayerSteamLevel, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_RequestStoreAuthURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneVerified, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsTwoFactorEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneIdentifying, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BIsPhoneRequiringVerification, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetMarketEligibility, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_GetDurationControl, 4) +DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser023_BSetDurationControlOnlineState, 8) + +int32_t __thiscall winISteamUser_SteamUser023_GetHSteamUser(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_GetHSteamUser_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser005_SetLanguage(_this->linux_side, pchLanguage); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetHSteamUser, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_TrackAppUsageEvent, 20) -void __thiscall winISteamUser_SteamUser005_TrackAppUsageEvent(winISteamUser_SteamUser005 *_this, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo) +int8_t __thiscall winISteamUser_SteamUser023_BLoggedOn(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BLoggedOn_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_TrackAppUsageEvent(_this->linux_side, gameID, eAppUsageEvent, pchExtraInfo); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BLoggedOn, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetAccountName, 8) -void __thiscall winISteamUser_SteamUser005_SetAccountName(winISteamUser_SteamUser005 *_this, const char * pchAccountName) +CSteamID * __thiscall winISteamUser_SteamUser023_GetSteamID(struct w_steam_iface *_this, CSteamID *_ret) { + struct ISteamUser_SteamUser023_GetSteamID_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetAccountName(_this->linux_side, pchAccountName); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetSteamID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetPassword, 8) -void __thiscall winISteamUser_SteamUser005_SetPassword(winISteamUser_SteamUser005 *_this, const char * pchPassword) +int32_t __thiscall winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED(struct w_steam_iface *_this, void *pAuthBlob, int32_t cbMaxAuthBlob, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer, int8_t bSecure) { + struct ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .pAuthBlob = pAuthBlob, + .cbMaxAuthBlob = cbMaxAuthBlob, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + .bSecure = bSecure, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetPassword(_this->linux_side, pchPassword); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser005_SetAccountCreationTime, 8) -void __thiscall winISteamUser_SteamUser005_SetAccountCreationTime(winISteamUser_SteamUser005 *_this, RTime32 rt) +void __thiscall winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED(struct w_steam_iface *_this, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED_params params = + { + .linux_side = _this->u_iface, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser005_SetAccountCreationTime(_this->linux_side, rt); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED, ¶ms ); } -extern vtable_ptr winISteamUser_SteamUser005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser005, - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_LogOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_LogOff) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetLogonState) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_BConnected) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_IsVACBanned) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RequireShowVACBannedMessage) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AcknowledgeVACBanning) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetSteam2Ticket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AddServerNetAddress) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetEmail) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetSelfAsPrimaryChatDestination) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_IsPrimaryChatDestination) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RequestLegacyCDKey) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SendGuestPassByEmail) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SendGuestPassByAccountID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AckGuestPass) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_RedeemGuestPass) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToGiveCount) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemCount) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassLastUpdateTime) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToGiveInfo) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemInfo) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderAddress) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_GetGuestPassToRedeemSenderName) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_AcknowledgeMessageByGID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetLanguage) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_TrackAppUsageEvent) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetAccountName) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetPassword) - VTABLE_ADD_FUNC(winISteamUser_SteamUser005_SetAccountCreationTime) - ); -#ifndef __GNUC__ +void __thiscall winISteamUser_SteamUser023_TrackAppUsageEvent(struct w_steam_iface *_this, CGameID gameID, int32_t eAppUsageEvent, const char *pchExtraInfo) +{ + struct ISteamUser_SteamUser023_TrackAppUsageEvent_params params = + { + .linux_side = _this->u_iface, + .gameID = gameID, + .eAppUsageEvent = eAppUsageEvent, + .pchExtraInfo = pchExtraInfo, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_TrackAppUsageEvent, ¶ms ); } -#endif -winISteamUser_SteamUser005 *create_winISteamUser_SteamUser005(void *linux_side) +int8_t __thiscall winISteamUser_SteamUser023_GetUserDataFolder(struct w_steam_iface *_this, char *pchBuffer, int32_t cubBuffer) { - winISteamUser_SteamUser005 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser005), "SteamUser005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser005_vtable, 39, "SteamUser005"); - r->linux_side = linux_side; - return r; + struct ISteamUser_SteamUser023_GetUserDataFolder_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .cubBuffer = cubBuffer, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetUserDataFolder, ¶ms ); + return params._ret; } -#include "cppISteamUser_SteamUser004.h" - -typedef struct __winISteamUser_SteamUser004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUser_SteamUser004; - -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetHSteamUser, 4) -HSteamUser __thiscall winISteamUser_SteamUser004_GetHSteamUser(winISteamUser_SteamUser004 *_this) +void __thiscall winISteamUser_SteamUser023_StartVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_StartVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_GetHSteamUser(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_StartVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_LogOn, 12) -void __thiscall winISteamUser_SteamUser004_LogOn(winISteamUser_SteamUser004 *_this, CSteamID steamID) +void __thiscall winISteamUser_SteamUser023_StopVoiceRecording(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_StopVoiceRecording_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_LogOn(_this->linux_side, steamID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_StopVoiceRecording, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_LogOff, 4) -void __thiscall winISteamUser_SteamUser004_LogOff(winISteamUser_SteamUser004 *_this) +uint32_t __thiscall winISteamUser_SteamUser023_GetAvailableVoice(struct w_steam_iface *_this, uint32_t *pcbCompressed, uint32_t *pcbUncompressed_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser023_GetAvailableVoice_params params = + { + .linux_side = _this->u_iface, + .pcbCompressed = pcbCompressed, + .pcbUncompressed_Deprecated = pcbUncompressed_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_LogOff(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetAvailableVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_BLoggedOn, 4) -bool __thiscall winISteamUser_SteamUser004_BLoggedOn(winISteamUser_SteamUser004 *_this) +uint32_t __thiscall winISteamUser_SteamUser023_GetVoice(struct w_steam_iface *_this, int8_t bWantCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, int8_t bWantUncompressed_Deprecated, void *pUncompressedDestBuffer_Deprecated, uint32_t cbUncompressedDestBufferSize_Deprecated, uint32_t *nUncompressBytesWritten_Deprecated, uint32_t nUncompressedVoiceDesiredSampleRate_Deprecated) { + struct ISteamUser_SteamUser023_GetVoice_params params = + { + .linux_side = _this->u_iface, + .bWantCompressed = bWantCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .bWantUncompressed_Deprecated = bWantUncompressed_Deprecated, + .pUncompressedDestBuffer_Deprecated = pUncompressedDestBuffer_Deprecated, + .cbUncompressedDestBufferSize_Deprecated = cbUncompressedDestBufferSize_Deprecated, + .nUncompressBytesWritten_Deprecated = nUncompressBytesWritten_Deprecated, + .nUncompressedVoiceDesiredSampleRate_Deprecated = nUncompressedVoiceDesiredSampleRate_Deprecated, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_BLoggedOn(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetLogonState, 4) -ELogonState __thiscall winISteamUser_SteamUser004_GetLogonState(winISteamUser_SteamUser004 *_this) +uint32_t __thiscall winISteamUser_SteamUser023_DecompressVoice(struct w_steam_iface *_this, const void *pCompressed, uint32_t cbCompressed, void *pDestBuffer, uint32_t cbDestBufferSize, uint32_t *nBytesWritten, uint32_t nDesiredSampleRate) { + struct ISteamUser_SteamUser023_DecompressVoice_params params = + { + .linux_side = _this->u_iface, + .pCompressed = pCompressed, + .cbCompressed = cbCompressed, + .pDestBuffer = pDestBuffer, + .cbDestBufferSize = cbDestBufferSize, + .nBytesWritten = nBytesWritten, + .nDesiredSampleRate = nDesiredSampleRate, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_GetLogonState(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_DecompressVoice, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_BConnected, 4) -bool __thiscall winISteamUser_SteamUser004_BConnected(winISteamUser_SteamUser004 *_this) +uint32_t __thiscall winISteamUser_SteamUser023_GetVoiceOptimalSampleRate(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_GetVoiceOptimalSampleRate_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_BConnected(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetVoiceOptimalSampleRate, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetSteamID, 8) -CSteamID *__thiscall winISteamUser_SteamUser004_GetSteamID(winISteamUser_SteamUser004 *_this, CSteamID *_r) +uint32_t __thiscall winISteamUser_SteamUser023_GetAuthSessionTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket, const SteamNetworkingIdentity_144 *pSteamNetworkingIdentity) { + struct ISteamUser_SteamUser023_GetAuthSessionTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + .pSteamNetworkingIdentity = pSteamNetworkingIdentity, + }; TRACE("%p\n", _this); - *_r = cppISteamUser_SteamUser004_GetSteamID(_this->linux_side); - return _r; + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetAuthSessionTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_IsVACBanned, 8) -bool __thiscall winISteamUser_SteamUser004_IsVACBanned(winISteamUser_SteamUser004 *_this, int nGameID) +uint32_t __thiscall winISteamUser_SteamUser023_GetAuthTicketForWebApi(struct w_steam_iface *_this, const char *pchIdentity) { + struct ISteamUser_SteamUser023_GetAuthTicketForWebApi_params params = + { + .linux_side = _this->u_iface, + .pchIdentity = pchIdentity, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_IsVACBanned(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetAuthTicketForWebApi, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RequireShowVACBannedMessage, 8) -bool __thiscall winISteamUser_SteamUser004_RequireShowVACBannedMessage(winISteamUser_SteamUser004 *_this, int nGameID) +uint32_t __thiscall winISteamUser_SteamUser023_BeginAuthSession(struct w_steam_iface *_this, const void *pAuthTicket, int32_t cbAuthTicket, CSteamID steamID) { + struct ISteamUser_SteamUser023_BeginAuthSession_params params = + { + .linux_side = _this->u_iface, + .pAuthTicket = pAuthTicket, + .cbAuthTicket = cbAuthTicket, + .steamID = steamID, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_RequireShowVACBannedMessage(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BeginAuthSession, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_AcknowledgeVACBanning, 8) -void __thiscall winISteamUser_SteamUser004_AcknowledgeVACBanning(winISteamUser_SteamUser004 *_this, int nGameID) +void __thiscall winISteamUser_SteamUser023_EndAuthSession(struct w_steam_iface *_this, CSteamID steamID) { + struct ISteamUser_SteamUser023_EndAuthSession_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_AcknowledgeVACBanning(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_EndAuthSession, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_NClientGameIDAdd, 8) -int __thiscall winISteamUser_SteamUser004_NClientGameIDAdd(winISteamUser_SteamUser004 *_this, int nGameID) +void __thiscall winISteamUser_SteamUser023_CancelAuthTicket(struct w_steam_iface *_this, uint32_t hAuthTicket) { + struct ISteamUser_SteamUser023_CancelAuthTicket_params params = + { + .linux_side = _this->u_iface, + .hAuthTicket = hAuthTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_NClientGameIDAdd(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_CancelAuthTicket, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RemoveClientGame, 8) -void __thiscall winISteamUser_SteamUser004_RemoveClientGame(winISteamUser_SteamUser004 *_this, int nClientGameID) +uint32_t __thiscall winISteamUser_SteamUser023_UserHasLicenseForApp(struct w_steam_iface *_this, CSteamID steamID, uint32_t appID) { + struct ISteamUser_SteamUser023_UserHasLicenseForApp_params params = + { + .linux_side = _this->u_iface, + .steamID = steamID, + .appID = appID, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_RemoveClientGame(_this->linux_side, nClientGameID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_UserHasLicenseForApp, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetClientGameServer, 16) -void __thiscall winISteamUser_SteamUser004_SetClientGameServer(winISteamUser_SteamUser004 *_this, int nClientGameID, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser023_BIsBehindNAT(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BIsBehindNAT_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetClientGameServer(_this->linux_side, nClientGameID, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BIsBehindNAT, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetSteam2Ticket, 12) -void __thiscall winISteamUser_SteamUser004_SetSteam2Ticket(winISteamUser_SteamUser004 *_this, uint8 * pubTicket, int cubTicket) +void __thiscall winISteamUser_SteamUser023_AdvertiseGame(struct w_steam_iface *_this, CSteamID steamIDGameServer, uint32_t unIPServer, uint16_t usPortServer) { + struct ISteamUser_SteamUser023_AdvertiseGame_params params = + { + .linux_side = _this->u_iface, + .steamIDGameServer = steamIDGameServer, + .unIPServer = unIPServer, + .usPortServer = usPortServer, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetSteam2Ticket(_this->linux_side, pubTicket, cubTicket); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_AdvertiseGame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_AddServerNetAddress, 12) -void __thiscall winISteamUser_SteamUser004_AddServerNetAddress(winISteamUser_SteamUser004 *_this, uint32 unIP, uint16 unPort) +uint64_t __thiscall winISteamUser_SteamUser023_RequestEncryptedAppTicket(struct w_steam_iface *_this, void *pDataToInclude, int32_t cbDataToInclude) { + struct ISteamUser_SteamUser023_RequestEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pDataToInclude = pDataToInclude, + .cbDataToInclude = cbDataToInclude, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_AddServerNetAddress(_this->linux_side, unIP, unPort); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_RequestEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetEmail, 8) -bool __thiscall winISteamUser_SteamUser004_SetEmail(winISteamUser_SteamUser004 *_this, const char * pchEmail) +int8_t __thiscall winISteamUser_SteamUser023_GetEncryptedAppTicket(struct w_steam_iface *_this, void *pTicket, int32_t cbMaxTicket, uint32_t *pcbTicket) { + struct ISteamUser_SteamUser023_GetEncryptedAppTicket_params params = + { + .linux_side = _this->u_iface, + .pTicket = pTicket, + .cbMaxTicket = cbMaxTicket, + .pcbTicket = pcbTicket, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_SetEmail(_this->linux_side, pchEmail); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetEncryptedAppTicket, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetSteamGameConnectToken, 12) -int __thiscall winISteamUser_SteamUser004_GetSteamGameConnectToken(winISteamUser_SteamUser004 *_this, void * pBlob, int cbMaxBlob) +int32_t __thiscall winISteamUser_SteamUser023_GetGameBadgeLevel(struct w_steam_iface *_this, int32_t nSeries, int8_t bFoil) { + struct ISteamUser_SteamUser023_GetGameBadgeLevel_params params = + { + .linux_side = _this->u_iface, + .nSeries = nSeries, + .bFoil = bFoil, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_GetSteamGameConnectToken(_this->linux_side, pBlob, cbMaxBlob); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetGameBadgeLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetRegistryString, 16) -bool __thiscall winISteamUser_SteamUser004_SetRegistryString(winISteamUser_SteamUser004 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, const char * pchValue) +int32_t __thiscall winISteamUser_SteamUser023_GetPlayerSteamLevel(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_GetPlayerSteamLevel_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_SetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetPlayerSteamLevel, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetRegistryString, 20) -bool __thiscall winISteamUser_SteamUser004_GetRegistryString(winISteamUser_SteamUser004 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, char * pchValue, int cbValue) +uint64_t __thiscall winISteamUser_SteamUser023_RequestStoreAuthURL(struct w_steam_iface *_this, const char *pchRedirectURL) { + struct ISteamUser_SteamUser023_RequestStoreAuthURL_params params = + { + .linux_side = _this->u_iface, + .pchRedirectURL = pchRedirectURL, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_GetRegistryString(_this->linux_side, eRegistrySubTree, pchKey, pchValue, cbValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_RequestStoreAuthURL, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser004_SetRegistryInt(winISteamUser_SteamUser004 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int iValue) +int8_t __thiscall winISteamUser_SteamUser023_BIsPhoneVerified(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BIsPhoneVerified_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_SetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, iValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BIsPhoneVerified, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_GetRegistryInt, 16) -bool __thiscall winISteamUser_SteamUser004_GetRegistryInt(winISteamUser_SteamUser004 *_this, EConfigSubTree eRegistrySubTree, const char * pchKey, int * piValue) +int8_t __thiscall winISteamUser_SteamUser023_BIsTwoFactorEnabled(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BIsTwoFactorEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_GetRegistryInt(_this->linux_side, eRegistrySubTree, pchKey, piValue); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BIsTwoFactorEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_InitiateGameConnection, 36) -int __thiscall winISteamUser_SteamUser004_InitiateGameConnection(winISteamUser_SteamUser004 *_this, void * pBlob, int cbMaxBlob, CSteamID steamID, int nGameAppID, uint32 unIPServer, uint16 usPortServer, bool bSecure) +int8_t __thiscall winISteamUser_SteamUser023_BIsPhoneIdentifying(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BIsPhoneIdentifying_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_InitiateGameConnection(_this->linux_side, pBlob, cbMaxBlob, steamID, nGameAppID, unIPServer, usPortServer, bSecure); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BIsPhoneIdentifying, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_TerminateGameConnection, 12) -void __thiscall winISteamUser_SteamUser004_TerminateGameConnection(winISteamUser_SteamUser004 *_this, uint32 unIPServer, uint16 usPortServer) +int8_t __thiscall winISteamUser_SteamUser023_BIsPhoneRequiringVerification(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_BIsPhoneRequiringVerification_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_TerminateGameConnection(_this->linux_side, unIPServer, usPortServer); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BIsPhoneRequiringVerification, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination, 4) -void __thiscall winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(winISteamUser_SteamUser004 *_this) +uint64_t __thiscall winISteamUser_SteamUser023_GetMarketEligibility(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_GetMarketEligibility_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetMarketEligibility, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_IsPrimaryChatDestination, 4) -bool __thiscall winISteamUser_SteamUser004_IsPrimaryChatDestination(winISteamUser_SteamUser004 *_this) +uint64_t __thiscall winISteamUser_SteamUser023_GetDurationControl(struct w_steam_iface *_this) { + struct ISteamUser_SteamUser023_GetDurationControl_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUser_SteamUser004_IsPrimaryChatDestination(_this->linux_side); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_GetDurationControl, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUser_SteamUser004_RequestLegacyCDKey, 8) -void __thiscall winISteamUser_SteamUser004_RequestLegacyCDKey(winISteamUser_SteamUser004 *_this, uint32 iAppID) +int8_t __thiscall winISteamUser_SteamUser023_BSetDurationControlOnlineState(struct w_steam_iface *_this, uint32_t eNewState) { + struct ISteamUser_SteamUser023_BSetDurationControlOnlineState_params params = + { + .linux_side = _this->u_iface, + .eNewState = eNewState, + }; TRACE("%p\n", _this); - cppISteamUser_SteamUser004_RequestLegacyCDKey(_this->linux_side, iAppID); + STEAMCLIENT_CALL( ISteamUser_SteamUser023_BSetDurationControlOnlineState, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUser_SteamUser004_vtable; +extern vtable_ptr winISteamUser_SteamUser023_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUser_SteamUser004, - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetHSteamUser) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_LogOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_LogOff) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_BLoggedOn) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetLogonState) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_BConnected) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetSteamID) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_IsVACBanned) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RequireShowVACBannedMessage) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_AcknowledgeVACBanning) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_NClientGameIDAdd) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RemoveClientGame) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetClientGameServer) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetSteam2Ticket) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_AddServerNetAddress) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetEmail) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetSteamGameConnectToken) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetRegistryString) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_GetRegistryInt) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_InitiateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_TerminateGameConnection) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_SetSelfAsPrimaryChatDestination) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_IsPrimaryChatDestination) - VTABLE_ADD_FUNC(winISteamUser_SteamUser004_RequestLegacyCDKey) +DEFINE_RTTI_DATA0(winISteamUser_SteamUser023, 0, ".?AVISteamUser@@") + +__ASM_BLOCK_BEGIN(winISteamUser_SteamUser023_vtables) + __ASM_VTABLE(winISteamUser_SteamUser023, + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetHSteamUser) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BLoggedOn) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetSteamID) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_InitiateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_TerminateGameConnection_DEPRECATED) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_TrackAppUsageEvent) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetUserDataFolder) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_StartVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_StopVoiceRecording) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAvailableVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_DecompressVoice) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetVoiceOptimalSampleRate) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAuthSessionTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetAuthTicketForWebApi) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BeginAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_EndAuthSession) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_CancelAuthTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_UserHasLicenseForApp) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsBehindNAT) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_AdvertiseGame) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_RequestEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetEncryptedAppTicket) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetGameBadgeLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetPlayerSteamLevel) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_RequestStoreAuthURL) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneVerified) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsTwoFactorEnabled) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneIdentifying) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BIsPhoneRequiringVerification) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetMarketEligibility) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_GetDurationControl) + VTABLE_ADD_FUNC(winISteamUser_SteamUser023_BSetDurationControlOnlineState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUser_SteamUser004 *create_winISteamUser_SteamUser004(void *linux_side) +struct w_steam_iface *create_winISteamUser_SteamUser023(void *u_iface) { - winISteamUser_SteamUser004 *r = alloc_mem_for_iface(sizeof(winISteamUser_SteamUser004), "SteamUser004"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUser023"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUser_SteamUser004_vtable, 26, "SteamUser004"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUser_SteamUser023_vtable, 33, "SteamUser023"); + r->u_iface = u_iface; return r; } +void init_winISteamUser_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUser_SteamUser004_rtti( base ); + init_winISteamUser_SteamUser005_rtti( base ); + init_winISteamUser_SteamUser006_rtti( base ); + init_winISteamUser_SteamUser007_rtti( base ); + init_winISteamUser_SteamUser008_rtti( base ); + init_winISteamUser_SteamUser009_rtti( base ); + init_winISteamUser_SteamUser010_rtti( base ); + init_winISteamUser_SteamUser011_rtti( base ); + init_winISteamUser_SteamUser012_rtti( base ); + init_winISteamUser_SteamUser013_rtti( base ); + init_winISteamUser_SteamUser014_rtti( base ); + init_winISteamUser_SteamUser015_rtti( base ); + init_winISteamUser_SteamUser016_rtti( base ); + init_winISteamUser_SteamUser017_rtti( base ); + init_winISteamUser_SteamUser018_rtti( base ); + init_winISteamUser_SteamUser019_rtti( base ); + init_winISteamUser_SteamUser020_rtti( base ); + init_winISteamUser_SteamUser021_rtti( base ); + init_winISteamUser_SteamUser022_rtti( base ); + init_winISteamUser_SteamUser023_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUserStats.c b/lsteamclient/winISteamUserStats.c index 029f3d880..fa78cc018 100644 --- a/lsteamclient/winISteamUserStats.c +++ b/lsteamclient/winISteamUserStats.c @@ -1,1645 +1,2907 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012; +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, 20) -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, int32 * pData) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iStat) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iStat = iStat, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, float * pData) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, int32 nData) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, float fData) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, bool * pbAchieved) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, const char * pchKey) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, 4) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, 8) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, uint32 iAchievement) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(_this->linux_side, iAchievement); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, bool bAchievementsToo) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); -} +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchLeaderboardName) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(_this->linux_side, pchLeaderboardName); -} +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, 0, ".?AVISteamUserStats@@") -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); -} +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable, 22, "STEAMUSERSTATS_INTERFACE_VERSION001"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); -} +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, 24) -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iStat) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iStat = iStat, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(_this->linux_side, hSteamLeaderboard, prgUsers, cUsers); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_157 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(struct w_steam_iface *_this, CGameID nGameID, uint32_t iAchievement) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(_this->linux_side, hSteamLeaderboard, hUGC); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, 20) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(_this->linux_side, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, 24) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(_this->linux_side, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, float * pflPercent) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(_this->linux_side, pchName, pflPercent); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, int nHistoryDays) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(_this->linux_side, nHistoryDays); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchStatName, int64 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchStatName, double * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchStatName, int64 * pData, uint32 cubData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(struct w_steam_iface *_this, CGameID nGameID) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchStatName, double * pData, uint32 cubData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(struct w_steam_iface *_this, CGameID nGameID, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, int32 * pnMinProgress, int32 * pnMaxProgress) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(_this->linux_side, pchName, pnMinProgress, pnMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *_this, const char * pchName, float * pfMinProgress, float * pfMaxProgress) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(struct w_steam_iface *_this, CGameID nGameID, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .nGameID = nGameID, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(_this->linux_side, pchName, pfMinProgress, pfMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable; +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits) +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *linux_side) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *u_iface) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012), "STEAMUSERSTATS_INTERFACE_VERSION012"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION002"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable, 45, "STEAMUSERSTATS_INTERFACE_VERSION012"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable, 18, "STEAMUSERSTATS_INTERFACE_VERSION002"); + r->u_iface = u_iface; return r; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011; +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, 16) -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, const char * pchKey) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); -} +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, 4) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(_this->linux_side); -} +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, 0, ".?AVISteamUserStats@@") -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, 8) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, uint32 iAchievement) +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(_this->linux_side, iAchievement); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION003"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable, 13, "STEAMUSERSTATS_INTERFACE_VERSION003"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, CSteamID steamIDUser) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, 20) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchLeaderboardName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(_this->linux_side, hSteamLeaderboard, prgUsers, cUsers); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_148a * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(_this->linux_side, hSteamLeaderboard, hUGC); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION004"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable, 17, "STEAMUSERSTATS_INTERFACE_VERSION004"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, 24) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, 20) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(_this->linux_side, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, 24) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(_this->linux_side, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchName, float * pflPercent) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(_this->linux_side, pchName, pflPercent); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, int nHistoryDays) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(_this->linux_side, nHistoryDays); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchStatName, int64 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchStatName, double * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchStatName, int64 * pData, uint32 cubData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *_this, const char * pchStatName, double * pData, uint32 cubData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, ¶ms ); + return params._ret; } -#endif -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *linux_side) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011), "STEAMUSERSTATS_INTERFACE_VERSION011"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable, 43, "STEAMUSERSTATS_INTERFACE_VERSION011"); - r->linux_side = linux_side; - return r; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, float * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, const char * pchKey) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, int32_t nScore, int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable, 27, "STEAMUSERSTATS_INTERFACE_VERSION005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, 4) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchLeaderboardName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(_this->linux_side, hSteamLeaderboard, prgUsers, cUsers); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_119 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(_this->linux_side, hSteamLeaderboard, hUGC); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, 20) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(_this->linux_side, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, 24) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(_this->linux_side, iIteratorPrevious, pchName, unNameBufLen, pflPercent, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchName, float * pflPercent) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(_this->linux_side, pchName, pflPercent); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, int nHistoryDays) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(_this->linux_side, nHistoryDays); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchStatName, int64 * pData) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchStatName, double * pData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(_this->linux_side, pchStatName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchStatName, int64 * pData, uint32 cubData) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, 16) -int32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *_this, const char * pchStatName, double * pData, uint32 cubData) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(_this->linux_side, pchStatName, pData, cubData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -#endif -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *linux_side) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010), "STEAMUSERSTATS_INTERFACE_VERSION010"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable, 41, "STEAMUSERSTATS_INTERFACE_VERSION010"); - r->linux_side = linux_side; - return r; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, int32 * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, float * pData) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable, 28, "STEAMUSERSTATS_INTERFACE_VERSION006"); + r->u_iface = u_iface; + return r; +} + +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, 4) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, const char * pchKey) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, CSteamID steamIDUser) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, const char * pchLeaderboardName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(_this->linux_side, hSteamLeaderboard, prgUsers, cUsers); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_113 * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_104 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(_this->linux_side, hSteamLeaderboard, hUGC); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable; +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers) +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *linux_side) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *u_iface) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009), "STEAMUSERSTATS_INTERFACE_VERSION009"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION007"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable, 32, "STEAMUSERSTATS_INTERFACE_VERSION009"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable, 30, "STEAMUSERSTATS_INTERFACE_VERSION007"); + r->u_iface = u_iface; return r; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008; - DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, 4) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, const char * pchKey) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, CSteamID steamIDUser) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, const char * pchLeaderboardName) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, winLeaderboardEntry_t_111x * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, 20) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC(_this->linux_side, hSteamLeaderboard, hUGC); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; } extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtables) __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008, VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_RequestCurrentStats) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetStat_2) @@ -1673,1445 +2935,2538 @@ void __asm_dummy_vtables(void) { VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_AttachLeaderboardUGC) VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *linux_side) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *u_iface) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008), "STEAMUSERSTATS_INTERFACE_VERSION008"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION008"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_vtable, 31, "STEAMUSERSTATS_INTERFACE_VERSION008"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007.h" +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, 4) -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007; +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime(_this->linux_side, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, const char * pchKey) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime(_this->linux_side, steamIDUser, pchName, pbAchieved, punUnlockTime); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, bool bAchievementsToo) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, const char * pchLeaderboardName) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable; +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetUserAchievementAndUnlockTime) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_GetNumberOfCurrentPlayers) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetUserAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_DownloadLeaderboardEntriesForUsers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_AttachLeaderboardUGC) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_GetNumberOfCurrentPlayers) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *linux_side) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *u_iface) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007), "STEAMUSERSTATS_INTERFACE_VERSION007"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION009"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_vtable, 30, "STEAMUSERSTATS_INTERFACE_VERSION007"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_vtable, 32, "STEAMUSERSTATS_INTERFACE_VERSION009"); + r->u_iface = u_iface; return r; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006; +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, 16) -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, const char * pchKey) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, CSteamID steamIDUser) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, const char * pchLeaderboardName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore, 28) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers, 4) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers(_this->linux_side); -} - -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_UploadLeaderboardScore) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_GetNumberOfCurrentPlayers) - ); -#ifndef __GNUC__ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers, ¶ms ); + return params._ret; } -#endif -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *linux_side) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_111x *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006), "STEAMUSERSTATS_INTERFACE_VERSION006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_vtable, 28, "STEAMUSERSTATS_INTERFACE_VERSION006"); - r->linux_side = linux_side; - return r; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, int32 * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, float * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, int32 nData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, float fData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, const char * pchKey) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetUserAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_DownloadLeaderboardEntriesForUsers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_AttachLeaderboardUGC) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNumberOfCurrentPlayers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalAchievementPercentages) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetNextMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetAchievementAchievedPercent) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_RequestGlobalStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_GetGlobalStatHistory) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION010"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_vtable, 41, "STEAMUSERSTATS_INTERFACE_VERSION010"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, CSteamID steamIDUser) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, 16) + +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, bool bAchievementsToo) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats(_this->linux_side, bAchievementsToo); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard, 16) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard(_this->linux_side, pchLeaderboardName, eLeaderboardSortMethod, eLeaderboardDisplayType); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard, 8) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, const char * pchLeaderboardName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard(_this->linux_side, pchLeaderboardName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount, 12) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod, 12) -ELeaderboardSortMethod __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType, 12) -ELeaderboardDisplayType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType(_this->linux_side, hSteamLeaderboard); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries(_this->linux_side, hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry(_this->linux_side, hSteamLeaderboardEntries, index, pLeaderboardEntry, pDetails, cDetailsMax); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore, 24) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *_this, SteamLeaderboard_t hSteamLeaderboard, int32 nScore, int32 * pScoreDetails, int cScoreDetailsCount) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore(_this->linux_side, hSteamLeaderboard, nScore, pScoreDetails, cScoreDetailsCount); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetUserAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_ResetAllStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindOrCreateLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_FindLeaderboard) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardEntryCount) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardSortMethod) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetLeaderboardDisplayType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_DownloadLeaderboardEntries) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_GetDownloadedLeaderboardEntry) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_UploadLeaderboardScore) - ); -#ifndef __GNUC__ +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements, ¶ms ); + return params._ret; } -#endif -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *linux_side) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName(struct w_steam_iface *_this, uint32_t iAchievement) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005), "STEAMUSERSTATS_INTERFACE_VERSION005"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_vtable, 27, "STEAMUSERSTATS_INTERFACE_VERSION005"); - r->linux_side = linux_side; - return r; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .iAchievement = iAchievement, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, int32 nData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, float fData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, bool * pbAchieved) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement(_this->linux_side, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, const char * pchKey) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats, 12) -SteamAPICall_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, CSteamID steamIDUser) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats(_this->linux_side, steamIDUser); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, CSteamID steamIDUser, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_123 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, CSteamID steamIDUser, const char * pchName, float * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2(_this->linux_side, steamIDUser, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *_this, CSteamID steamIDUser, const char * pchName, bool * pbAchieved) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement(_this->linux_side, steamIDUser, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable; +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_IndicateAchievementProgress) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_RequestUserStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_GetUserAchievement) - ); -#ifndef __GNUC__ +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages, ¶ms ); + return params._ret; } -#endif -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *linux_side) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004), "STEAMUSERSTATS_INTERFACE_VERSION004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_vtable, 17, "STEAMUSERSTATS_INTERFACE_VERSION004"); - r->linux_side = linux_side; - return r; + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003.h" +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo, ¶ms ); + return params._ret; +} -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003; +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) +{ + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, int32 * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2(_this->linux_side, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, int32 nData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat(_this->linux_side, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, float fData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2(_this->linux_side, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, float flCountThisSession, double dSessionLength) +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable; + +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, 0, ".?AVISteamUserStats@@") + +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumAchievements) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetUserAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_DownloadLeaderboardEntriesForUsers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_AttachLeaderboardUGC) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNumberOfCurrentPlayers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalAchievementPercentages) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetNextMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetAchievementAchievedPercent) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_RequestGlobalStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_GetGlobalStatHistory) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat(_this->linux_side, pchName, flCountThisSession, dSessionLength); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION011"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_vtable, 43, "STEAMUSERSTATS_INTERFACE_VERSION011"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, bool * pbAchieved) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement(_this->linux_side, pchName, pbAchieved); -} +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, 28) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, 4) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, 20) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, 24) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, 8) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, 12) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, 16) +DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, 16) -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement, 8) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat(struct w_steam_iface *_this, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats, 4) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2(struct w_steam_iface *_this, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats(_this->linux_side); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon, 8) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat(struct w_steam_iface *_this, const char *pchName, int32_t nData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nData = nData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon(_this->linux_side, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute, 12) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, const char * pchKey) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2(struct w_steam_iface *_this, const char *pchName, float fData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .fData = fData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute(_this->linux_side, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *_this, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat(struct w_steam_iface *_this, const char *pchName, float flCountThisSession, double dSessionLength) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .flCountThisSession = flCountThisSession, + .dSessionLength = dSessionLength, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress(_this->linux_side, pchName, nCurProgress, nMaxProgress); -} - -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_IndicateAchievementProgress) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *linux_side) -{ - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003), "STEAMUSERSTATS_INTERFACE_VERSION003"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_vtable, 13, "STEAMUSERSTATS_INTERFACE_VERSION003"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats, 12) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName, 16) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, uint32 iStat) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName(_this->linux_side, nGameID, iStat); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType, 16) -ESteamUserStatType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements, 12) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime(struct w_steam_iface *_this, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName, 16) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, uint32 iAchievement) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName(_this->linux_side, nGameID, iAchievement); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon(struct w_steam_iface *_this, const char *pchName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, int32 * pData) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute(struct w_steam_iface *_this, const char *pchName, const char *pchKey) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pchKey = pchKey, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat(_this->linux_side, nGameID, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, float * pData) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress(struct w_steam_iface *_this, const char *pchName, uint32_t nCurProgress, uint32_t nMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .nCurProgress = nCurProgress, + .nMaxProgress = nMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2(_this->linux_side, nGameID, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, int32 nData) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat(_this->linux_side, nGameID, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, float fData) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName(struct w_steam_iface *_this, uint32_t iAchievement) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName_params params = + { + .linux_side = _this->u_iface, + .iAchievement = iAchievement, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2(_this->linux_side, nGameID, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, float flCountThisSession, double dSessionLength) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats(struct w_steam_iface *_this, CSteamID steamIDUser) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat(_this->linux_side, nGameID, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int32_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement(_this->linux_side, nGameID, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, float *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime(struct w_steam_iface *_this, CSteamID steamIDUser, const char *pchName, int8_t *pbAchieved, uint32_t *punUnlockTime) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime_params params = + { + .linux_side = _this->u_iface, + .steamIDUser = steamIDUser, + .pchName = pchName, + .pbAchieved = pbAchieved, + .punUnlockTime = punUnlockTime, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon, 16) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats(struct w_steam_iface *_this, int8_t bAchievementsToo) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats_params params = + { + .linux_side = _this->u_iface, + .bAchievementsToo = bAchievementsToo, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute, 20) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, const char * pchKey) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName, uint32_t eLeaderboardSortMethod, uint32_t eLeaderboardDisplayType) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + .eLeaderboardSortMethod = eLeaderboardSortMethod, + .eLeaderboardDisplayType = eLeaderboardDisplayType, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute(_this->linux_side, nGameID, pchName, pchKey); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress, 24) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *_this, CGameID nGameID, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard(struct w_steam_iface *_this, const char *pchLeaderboardName) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard_params params = + { + .linux_side = _this->u_iface, + .pchLeaderboardName = pchLeaderboardName, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress(_this->linux_side, nGameID, pchName, nCurProgress, nMaxProgress); -} - -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStatType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetNumAchievements) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_GetAchievementDisplayAttribute) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_IndicateAchievementProgress) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *linux_side) -{ - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002), "STEAMUSERSTATS_INTERFACE_VERSION002"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_vtable, 18, "STEAMUSERSTATS_INTERFACE_VERSION002"); - r->linux_side = linux_side; - return r; + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard, ¶ms ); + return params._ret; } -#include "cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001.h" - -typedef struct __winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001; - -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats, 12) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID) +const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName, 16) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, uint32 iStat) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName(_this->linux_side, nGameID, iStat); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType, 16) -ESteamUserStatType __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements, 12) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID) +uint32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType(struct w_steam_iface *_this, uint64_t hSteamLeaderboard) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName, 16) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, uint32 iAchievement) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardDataRequest, int32_t nRangeStart, int32_t nRangeEnd) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardDataRequest = eLeaderboardDataRequest, + .nRangeStart = nRangeStart, + .nRangeEnd = nRangeEnd, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName(_this->linux_side, nGameID, iAchievement); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements, 12) -uint32 __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, CSteamID *prgUsers, int32_t cUsers) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .prgUsers = prgUsers, + .cUsers = cUsers, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName, 16) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, uint32 iAchievement) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry(struct w_steam_iface *_this, uint64_t hSteamLeaderboardEntries, int32_t index, w_LeaderboardEntry_t_123 *pLeaderboardEntry, int32_t *pDetails, int32_t cDetailsMax) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboardEntries = hSteamLeaderboardEntries, + .index = index, + .pLeaderboardEntry = pLeaderboardEntry, + .pDetails = pDetails, + .cDetailsMax = cDetailsMax, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName(_this->linux_side, nGameID, iAchievement); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint32_t eLeaderboardUploadScoreMethod, int32_t nScore, const int32_t *pScoreDetails, int32_t cScoreDetailsCount) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .eLeaderboardUploadScoreMethod = eLeaderboardUploadScoreMethod, + .nScore = nScore, + .pScoreDetails = pScoreDetails, + .cScoreDetailsCount = cScoreDetailsCount, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, int32 * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC(struct w_steam_iface *_this, uint64_t hSteamLeaderboard, uint64_t hUGC) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC_params params = + { + .linux_side = _this->u_iface, + .hSteamLeaderboard = hSteamLeaderboard, + .hUGC = hUGC, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat(_this->linux_side, nGameID, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, float * pData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2(_this->linux_side, nGameID, pchName, pData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, int32 nData) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages(struct w_steam_iface *_this) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat(_this->linux_side, nGameID, pchName, nData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, float fData) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo(struct w_steam_iface *_this, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2(_this->linux_side, nGameID, pchName, fData); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat, 28) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, float flCountThisSession, double dSessionLength) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo(struct w_steam_iface *_this, int32_t iIteratorPrevious, char *pchName, uint32_t unNameBufLen, float *pflPercent, int8_t *pbAchieved) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo_params params = + { + .linux_side = _this->u_iface, + .iIteratorPrevious = iIteratorPrevious, + .pchName = pchName, + .unNameBufLen = unNameBufLen, + .pflPercent = pflPercent, + .pbAchieved = pbAchieved, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat(_this->linux_side, nGameID, pchName, flCountThisSession, dSessionLength); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, bool * pbAchieved) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent(struct w_steam_iface *_this, const char *pchName, float *pflPercent) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pflPercent = pflPercent, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement(_this->linux_side, nGameID, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement, 20) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, bool * pbAchieved) +uint64_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats(struct w_steam_iface *_this, int32_t nHistoryDays) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats_params params = + { + .linux_side = _this->u_iface, + .nHistoryDays = nHistoryDays, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement(_this->linux_side, nGameID, pchName, pbAchieved); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2(struct w_steam_iface *_this, const char *pchStatName, double *pData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats, 12) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory(struct w_steam_iface *_this, const char *pchStatName, int64_t *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats(_this->linux_side, nGameID); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +int32_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2(struct w_steam_iface *_this, const char *pchStatName, double *pData, uint32_t cubData) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2_params params = + { + .linux_side = _this->u_iface, + .pchStatName = pchStatName, + .pData = pData, + .cubData = cubData, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement, 16) -bool __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits(struct w_steam_iface *_this, const char *pchName, int32_t *pnMinProgress, int32_t *pnMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pnMinProgress = pnMinProgress, + .pnMaxProgress = pnMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon, 16) -int __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName) +int8_t __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2(struct w_steam_iface *_this, const char *pchName, float *pfMinProgress, float *pfMaxProgress) { + struct ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2_params params = + { + .linux_side = _this->u_iface, + .pchName = pchName, + .pfMinProgress = pfMinProgress, + .pfMaxProgress = pfMaxProgress, + }; TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon(_this->linux_side, nGameID, pchName); + STEAMCLIENT_CALL( ISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute, 20) -const char * __thiscall winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *_this, CGameID nGameID, const char * pchName, const char * pchKey) -{ - TRACE("%p\n", _this); - return cppISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute(_this->linux_side, nGameID, pchName, pchKey); -} +extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable; -extern vtable_ptr winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable; +DEFINE_RTTI_DATA0(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, 0, ".?AVISteamUserStats@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001, - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStatType) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumAchievements) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetNumGroupAchievements) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievementName) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_RequestCurrentStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat_2) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_UpdateAvgRateStat) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetGroupAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_SetGroupAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_StoreStats) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_ClearGroupAchievement) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementIcon) - VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_GetAchievementDisplayAttribute) +__ASM_BLOCK_BEGIN(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtables) + __ASM_VTABLE(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012, + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestCurrentStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UpdateAvgRateStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_SetAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ClearAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_StoreStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementIcon) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementDisplayAttribute) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_IndicateAchievementProgress) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumAchievements) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestUserStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievement) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetUserAchievementAndUnlockTime) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_ResetAllStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindOrCreateLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_FindLeaderboard) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardName) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardEntryCount) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardSortMethod) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetLeaderboardDisplayType) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntries) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_DownloadLeaderboardEntriesForUsers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetDownloadedLeaderboardEntry) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_UploadLeaderboardScore) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_AttachLeaderboardUGC) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNumberOfCurrentPlayers) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalAchievementPercentages) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetNextMostAchievedAchievementInfo) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementAchievedPercent) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_RequestGlobalStats) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStat) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetGlobalStatHistory) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits_2) + VTABLE_ADD_FUNC(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_GetAchievementProgressLimits) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *linux_side) +struct w_steam_iface *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *u_iface) { - winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001 *r = alloc_mem_for_iface(sizeof(winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001), "STEAMUSERSTATS_INTERFACE_VERSION001"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMUSERSTATS_INTERFACE_VERSION012"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_vtable, 22, "STEAMUSERSTATS_INTERFACE_VERSION001"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_vtable, 45, "STEAMUSERSTATS_INTERFACE_VERSION012"); + r->u_iface = u_iface; return r; } +void init_winISteamUserStats_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011_rtti( base ); + init_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamUtils.c b/lsteamclient/winISteamUtils.c index 01c0415a1..9ab8f81eb 100644 --- a/lsteamclient/winISteamUtils.c +++ b/lsteamclient/winISteamUtils.c @@ -1,1893 +1,3033 @@ /* This file is auto-generated, do not edit. */ -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "steam_defs.h" - #include "steamclient_private.h" -#include "struct_converters.h" - WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cppISteamUtils_SteamUtils010.h" - -typedef struct __winISteamUtils_SteamUtils010 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils010; +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallResult, 28) -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceAppActive(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils010_GetConnectedUniverse(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetServerRealTime(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils010_GetIPCountry(winISteamUtils_SteamUtils010 *_this) +const char * __thiscall winISteamUtils_SteamUtils002_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils010_GetImageSize(winISteamUtils_SteamUtils010 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +int8_t __thiscall winISteamUtils_SteamUtils002_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils002_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils010_GetImageRGBA(winISteamUtils_SteamUtils010 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils002_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils002_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils010_GetCSERIPPort(winISteamUtils_SteamUtils010 *_this, uint32 * unIP, uint16 * usPort) +int8_t __thiscall winISteamUtils_SteamUtils002_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils002_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils010_GetCurrentBatteryPower(winISteamUtils_SteamUtils010 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils002_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetAppID(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils002_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationPosition(winISteamUtils_SteamUtils010 *_this, ENotificationPosition eNotificationPosition) +void __thiscall winISteamUtils_SteamUtils002_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils002_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils010_IsAPICallCompleted(winISteamUtils_SteamUtils010 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils002_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils002_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils010_GetAPICallFailureReason(winISteamUtils_SteamUtils010 *_this, SteamAPICall_t hSteamAPICall) +uint32_t __thiscall winISteamUtils_SteamUtils002_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils002_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils010_GetAPICallResult(winISteamUtils_SteamUtils010 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils002_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils002_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils010_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils002_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils010_RunFrame(winISteamUtils_SteamUtils010 *_this) -{ - TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_RunFrame(_this->linux_side); -} +extern vtable_ptr winISteamUtils_SteamUtils002_vtable; -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetIPCCallCount(winISteamUtils_SteamUtils010 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetIPCCallCount(_this->linux_side); -} +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils002, 0, ".?AVISteamUtils@@") -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils010_SetWarningMessageHook(winISteamUtils_SteamUtils010 *_this, SteamAPIWarningMessageHook_t pFunction) -{ - TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetWarningMessageHook(_this->linux_side, pFunction); -} +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils002_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils002, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallResult) + ); +__ASM_BLOCK_END -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsOverlayEnabled(winISteamUtils_SteamUtils010 *_this) +struct w_steam_iface *create_winISteamUtils_SteamUtils002(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsOverlayEnabled(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils002"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils002_vtable, 14, "SteamUtils002"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils010_BOverlayNeedsPresent(winISteamUtils_SteamUtils010 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_BOverlayNeedsPresent(_this->linux_side); -} +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsOverlayEnabled, 4) -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils010_CheckFileSignature(winISteamUtils_SteamUtils010 *_this, const char * szFileName) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceAppActive(struct w_steam_iface *_this) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils004_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowGamepadTextInput, 24) -bool __thiscall winISteamUtils_SteamUtils010_ShowGamepadTextInput(winISteamUtils_SteamUtils010 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils010 *_this, char * pchText, uint32 cchText) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSteamUILanguage, 4) -const char * __thiscall winISteamUtils_SteamUtils010_GetSteamUILanguage(winISteamUtils_SteamUtils010 *_this) +const char * __thiscall winISteamUtils_SteamUtils004_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetSteamUILanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningInVR, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningInVR(winISteamUtils_SteamUtils010 *_this) +int8_t __thiscall winISteamUtils_SteamUtils004_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils004_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsSteamRunningInVR(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationInset, 12) -void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationInset(winISteamUtils_SteamUtils010 *_this, int nHorizontalInset, int nVerticalInset) +int8_t __thiscall winISteamUtils_SteamUtils004_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils004_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetOverlayNotificationInset(_this->linux_side, nHorizontalInset, nVerticalInset); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsSteamInBigPictureMode(winISteamUtils_SteamUtils010 *_this) +int8_t __thiscall winISteamUtils_SteamUtils004_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils004_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsSteamInBigPictureMode(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_StartVRDashboard, 4) -void __thiscall winISteamUtils_SteamUtils010_StartVRDashboard(winISteamUtils_SteamUtils010 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils004_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_StartVRDashboard(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, 8) -void __thiscall winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(winISteamUtils_SteamUtils010 *_this, bool bEnabled) +void __thiscall winISteamUtils_SteamUtils004_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils004_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamChinaLauncher, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsSteamChinaLauncher(winISteamUtils_SteamUtils010 *_this) +int8_t __thiscall winISteamUtils_SteamUtils004_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils004_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsSteamChinaLauncher(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_InitFilterText, 8) -bool __thiscall winISteamUtils_SteamUtils010_InitFilterText(winISteamUtils_SteamUtils010 *_this, uint32 unFilterOptions) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils004_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_InitFilterText(_this->linux_side, unFilterOptions); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_FilterText, 28) -int __thiscall winISteamUtils_SteamUtils010_FilterText(winISteamUtils_SteamUtils010 *_this, ETextFilteringContext eContext, CSteamID sourceSteamID, const char * pchInputMessage, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText) +int8_t __thiscall winISteamUtils_SteamUtils004_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils004_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_FilterText(_this->linux_side, eContext, sourceSteamID, pchInputMessage, pchOutFilteredText, nByteSizeOutFilteredText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState, 8) -ESteamIPv6ConnectivityState __thiscall winISteamUtils_SteamUtils010_GetIPv6ConnectivityState(winISteamUtils_SteamUtils010 *_this, ESteamIPv6ConnectivityProtocol eProtocol) +void __thiscall winISteamUtils_SteamUtils004_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_GetIPv6ConnectivityState(_this->linux_side, eProtocol); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, 4) -bool __thiscall winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(winISteamUtils_SteamUtils010 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils004_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, 24) -bool __thiscall winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(winISteamUtils_SteamUtils010 *_this, EFloatingGamepadTextInputMode eKeyboardMode, int nTextFieldXPosition, int nTextFieldYPosition, int nTextFieldWidth, int nTextFieldHeight) +void __thiscall winISteamUtils_SteamUtils004_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils004_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(_this->linux_side, eKeyboardMode, nTextFieldXPosition, nTextFieldYPosition, nTextFieldWidth, nTextFieldHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetGameLauncherMode, 8) -void __thiscall winISteamUtils_SteamUtils010_SetGameLauncherMode(winISteamUtils_SteamUtils010 *_this, bool bLauncherMode) +int8_t __thiscall winISteamUtils_SteamUtils004_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils004_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils010_SetGameLauncherMode(_this->linux_side, bLauncherMode); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils004_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, 4) -bool __thiscall winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(winISteamUtils_SteamUtils010 *_this) -{ - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(_this->linux_side); -} +extern vtable_ptr winISteamUtils_SteamUtils004_vtable; -extern vtable_ptr winISteamUtils_SteamUtils010_vtable; +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils004, 0, ".?AVISteamUtils@@") -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils010, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSteamUILanguage) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningInVR) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationInset) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_StartVRDashboard) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamChinaLauncher) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_InitFilterText) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_FilterText) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetGameLauncherMode) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput) +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils004_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils004, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsOverlayEnabled) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUtils_SteamUtils010 *create_winISteamUtils_SteamUtils010(void *linux_side) +struct w_steam_iface *create_winISteamUtils_SteamUtils004(void *u_iface) { - winISteamUtils_SteamUtils010 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils010), "SteamUtils010"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils004"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils010_vtable, 38, "SteamUtils010"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils004_vtable, 18, "SteamUtils004"); + r->u_iface = u_iface; return r; } -#include "cppISteamUtils_SteamUtils009.h" - -typedef struct __winISteamUtils_SteamUtils009 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils009; +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_ShowGamepadTextInput, 20) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, 12) -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceAppActive(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils009_GetConnectedUniverse(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetServerRealTime(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils009_GetIPCountry(winISteamUtils_SteamUtils009 *_this) +const char * __thiscall winISteamUtils_SteamUtils005_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils009_GetImageSize(winISteamUtils_SteamUtils009 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +int8_t __thiscall winISteamUtils_SteamUtils005_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils005_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils009_GetImageRGBA(winISteamUtils_SteamUtils009 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils005_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils005_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils009_GetCSERIPPort(winISteamUtils_SteamUtils009 *_this, uint32 * unIP, uint16 * usPort) +int8_t __thiscall winISteamUtils_SteamUtils005_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils005_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils009_GetCurrentBatteryPower(winISteamUtils_SteamUtils009 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils005_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetAppID(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationPosition(winISteamUtils_SteamUtils009 *_this, ENotificationPosition eNotificationPosition) +void __thiscall winISteamUtils_SteamUtils005_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils005_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils009_IsAPICallCompleted(winISteamUtils_SteamUtils009 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils005_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils005_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils009_GetAPICallFailureReason(winISteamUtils_SteamUtils009 *_this, SteamAPICall_t hSteamAPICall) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils005_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils009_GetAPICallResult(winISteamUtils_SteamUtils009 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils005_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils005_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils009_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils009_RunFrame(winISteamUtils_SteamUtils009 *_this) +void __thiscall winISteamUtils_SteamUtils005_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetIPCCallCount(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils009_SetWarningMessageHook(winISteamUtils_SteamUtils009 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamUtils_SteamUtils005_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils005_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils009_IsOverlayEnabled(winISteamUtils_SteamUtils009 *_this) +int8_t __thiscall winISteamUtils_SteamUtils005_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils009_BOverlayNeedsPresent(winISteamUtils_SteamUtils009 *_this) +int8_t __thiscall winISteamUtils_SteamUtils005_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_BOverlayNeedsPresent(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils009_CheckFileSignature(winISteamUtils_SteamUtils009 *_this, const char * szFileName) +uint64_t __thiscall winISteamUtils_SteamUtils005_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils005_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_CheckFileSignature, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_ShowGamepadTextInput, 24) -bool __thiscall winISteamUtils_SteamUtils009_ShowGamepadTextInput(winISteamUtils_SteamUtils009 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +int8_t __thiscall winISteamUtils_SteamUtils005_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax) { + struct ISteamUtils_SteamUtils005_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_ShowGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils009 *_this, char * pchText, uint32 cchText) +int8_t __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { + struct ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSteamUILanguage, 4) -const char * __thiscall winISteamUtils_SteamUtils009_GetSteamUILanguage(winISteamUtils_SteamUtils009 *_this) +extern vtable_ptr winISteamUtils_SteamUtils005_vtable; + +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils005, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils005_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils005, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUtils_SteamUtils005(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetSteamUILanguage(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils005"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils005_vtable, 23, "SteamUtils005"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamRunningInVR, 4) -bool __thiscall winISteamUtils_SteamUtils009_IsSteamRunningInVR(winISteamUtils_SteamUtils009 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_ShowGamepadTextInput, 20) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSteamUILanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsSteamRunningInVR, 4) + +uint32_t __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsSteamRunningInVR(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationInset, 12) -void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationInset(winISteamUtils_SteamUtils009 *_this, int nHorizontalInset, int nVerticalInset) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetOverlayNotificationInset(_this->linux_side, nHorizontalInset, nVerticalInset); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode, 4) -bool __thiscall winISteamUtils_SteamUtils009_IsSteamInBigPictureMode(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsSteamInBigPictureMode(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_StartVRDashboard, 4) -void __thiscall winISteamUtils_SteamUtils009_StartVRDashboard(winISteamUtils_SteamUtils009 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_StartVRDashboard(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(winISteamUtils_SteamUtils009 *_this) +const char * __thiscall winISteamUtils_SteamUtils006_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, 8) -void __thiscall winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(winISteamUtils_SteamUtils009 *_this, bool bEnabled) +int8_t __thiscall winISteamUtils_SteamUtils006_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils006_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(_this->linux_side, bEnabled); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamChinaLauncher, 4) -bool __thiscall winISteamUtils_SteamUtils009_IsSteamChinaLauncher(winISteamUtils_SteamUtils009 *_this) +int8_t __thiscall winISteamUtils_SteamUtils006_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils006_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_IsSteamChinaLauncher(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_InitFilterText, 4) -bool __thiscall winISteamUtils_SteamUtils009_InitFilterText(winISteamUtils_SteamUtils009 *_this) +int8_t __thiscall winISteamUtils_SteamUtils006_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils006_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_InitFilterText(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_FilterText, 20) -int __thiscall winISteamUtils_SteamUtils009_FilterText(winISteamUtils_SteamUtils009 *_this, char * pchOutFilteredText, uint32 nByteSizeOutFilteredText, const char * pchInputMessage, bool bLegalOnly) +uint8_t __thiscall winISteamUtils_SteamUtils006_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_FilterText(_this->linux_side, pchOutFilteredText, nByteSizeOutFilteredText, pchInputMessage, bLegalOnly); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState, 8) -ESteamIPv6ConnectivityState __thiscall winISteamUtils_SteamUtils009_GetIPv6ConnectivityState(winISteamUtils_SteamUtils009 *_this, ESteamIPv6ConnectivityProtocol eProtocol) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils009_GetIPv6ConnectivityState(_this->linux_side, eProtocol); -} - -extern vtable_ptr winISteamUtils_SteamUtils009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils009, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSteamUILanguage) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamRunningInVR) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationInset) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_StartVRDashboard) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamChinaLauncher) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_InitFilterText) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_FilterText) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetAppID, ¶ms ); + return params._ret; } -#endif -winISteamUtils_SteamUtils009 *create_winISteamUtils_SteamUtils009(void *linux_side) +void __thiscall winISteamUtils_SteamUtils006_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { - winISteamUtils_SteamUtils009 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils009), "SteamUtils009"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils009_vtable, 34, "SteamUtils009"); - r->linux_side = linux_side; - return r; + struct ISteamUtils_SteamUtils006_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_SetOverlayNotificationPosition, ¶ms ); } -#include "cppISteamUtils_SteamUtils008.h" - -typedef struct __winISteamUtils_SteamUtils008 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils008; - -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceAppActive(winISteamUtils_SteamUtils008 *_this) +int8_t __thiscall winISteamUtils_SteamUtils006_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils006_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils006_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils008_GetConnectedUniverse(winISteamUtils_SteamUtils008 *_this) +int8_t __thiscall winISteamUtils_SteamUtils006_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils006_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetServerRealTime(winISteamUtils_SteamUtils008 *_this) +void __thiscall winISteamUtils_SteamUtils006_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils008_GetIPCountry(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils008_GetImageSize(winISteamUtils_SteamUtils008 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +void __thiscall winISteamUtils_SteamUtils006_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils006_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils008_GetImageRGBA(winISteamUtils_SteamUtils008 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils006_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils008_GetCSERIPPort(winISteamUtils_SteamUtils008 *_this, uint32 * unIP, uint16 * usPort) +int8_t __thiscall winISteamUtils_SteamUtils006_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils008_GetCurrentBatteryPower(winISteamUtils_SteamUtils008 *_this) +uint64_t __thiscall winISteamUtils_SteamUtils006_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { + struct ISteamUtils_SteamUtils006_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_CheckFileSignature, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetAppID(winISteamUtils_SteamUtils008 *_this) +int8_t __thiscall winISteamUtils_SteamUtils006_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax) { + struct ISteamUtils_SteamUtils006_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_ShowGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationPosition(winISteamUtils_SteamUtils008 *_this, ENotificationPosition eNotificationPosition) +uint32_t __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils008_IsAPICallCompleted(winISteamUtils_SteamUtils008 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { + struct ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils008_GetAPICallFailureReason(winISteamUtils_SteamUtils008 *_this, SteamAPICall_t hSteamAPICall) +const char * __thiscall winISteamUtils_SteamUtils006_GetSteamUILanguage(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_GetSteamUILanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils008_GetAPICallResult(winISteamUtils_SteamUtils008 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils006_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils008_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils006_IsSteamRunningInVR, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils008_RunFrame(winISteamUtils_SteamUtils008 *_this) +extern vtable_ptr winISteamUtils_SteamUtils006_vtable; + +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils006, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils006_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils006, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSteamUILanguage) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsSteamRunningInVR) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUtils_SteamUtils006(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_RunFrame(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils006"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils006_vtable, 25, "SteamUtils006"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetIPCCallCount(winISteamUtils_SteamUtils008 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_ShowGamepadTextInput, 24) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSteamUILanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsSteamRunningInVR, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationInset, 12) + +uint32_t __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils008_SetWarningMessageHook(winISteamUtils_SteamUtils008 *_this, SteamAPIWarningMessageHook_t pFunction) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils008_IsOverlayEnabled(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils008_BOverlayNeedsPresent(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_BOverlayNeedsPresent(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils008_CheckFileSignature(winISteamUtils_SteamUtils008 *_this, const char * szFileName) +const char * __thiscall winISteamUtils_SteamUtils007_GetIPCountry(struct w_steam_iface *_this) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils007_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_ShowGamepadTextInput, 24) -bool __thiscall winISteamUtils_SteamUtils008_ShowGamepadTextInput(winISteamUtils_SteamUtils008 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +int8_t __thiscall winISteamUtils_SteamUtils007_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils007_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils008 *_this) +int8_t __thiscall winISteamUtils_SteamUtils007_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils007_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils008 *_this, char * pchText, uint32 cchText) +int8_t __thiscall winISteamUtils_SteamUtils007_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils007_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSteamUILanguage, 4) -const char * __thiscall winISteamUtils_SteamUtils008_GetSteamUILanguage(winISteamUtils_SteamUtils008 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils007_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_GetSteamUILanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamRunningInVR, 4) -bool __thiscall winISteamUtils_SteamUtils008_IsSteamRunningInVR(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_IsSteamRunningInVR(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationInset, 12) -void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationInset(winISteamUtils_SteamUtils008 *_this, int nHorizontalInset, int nVerticalInset) +void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils007_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_SetOverlayNotificationInset(_this->linux_side, nHorizontalInset, nVerticalInset); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode, 4) -bool __thiscall winISteamUtils_SteamUtils008_IsSteamInBigPictureMode(winISteamUtils_SteamUtils008 *_this) +int8_t __thiscall winISteamUtils_SteamUtils007_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils007_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils008_IsSteamInBigPictureMode(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_StartVRDashboard, 4) -void __thiscall winISteamUtils_SteamUtils008_StartVRDashboard(winISteamUtils_SteamUtils008 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils007_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils008_StartVRDashboard(_this->linux_side); -} - -extern vtable_ptr winISteamUtils_SteamUtils008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils008, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSteamUILanguage) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamRunningInVR) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationInset) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_StartVRDashboard) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetAPICallFailureReason, ¶ms ); + return params._ret; } -#endif -winISteamUtils_SteamUtils008 *create_winISteamUtils_SteamUtils008(void *linux_side) +int8_t __thiscall winISteamUtils_SteamUtils007_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { - winISteamUtils_SteamUtils008 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils008), "SteamUtils008"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils008_vtable, 28, "SteamUtils008"); - r->linux_side = linux_side; - return r; + struct ISteamUtils_SteamUtils007_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetAPICallResult, ¶ms ); + return params._ret; } -#include "cppISteamUtils_SteamUtils007.h" - -typedef struct __winISteamUtils_SteamUtils007 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils007; - -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceAppActive(winISteamUtils_SteamUtils007 *_this) +void __thiscall winISteamUtils_SteamUtils007_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils007 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils007_GetConnectedUniverse(winISteamUtils_SteamUtils007 *_this) +void __thiscall winISteamUtils_SteamUtils007_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils007_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetServerRealTime(winISteamUtils_SteamUtils007 *_this) +int8_t __thiscall winISteamUtils_SteamUtils007_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils007_GetIPCountry(winISteamUtils_SteamUtils007 *_this) +int8_t __thiscall winISteamUtils_SteamUtils007_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils007_GetImageSize(winISteamUtils_SteamUtils007 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +uint64_t __thiscall winISteamUtils_SteamUtils007_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { + struct ISteamUtils_SteamUtils007_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_CheckFileSignature, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils007_GetImageRGBA(winISteamUtils_SteamUtils007 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils007_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText) { + struct ISteamUtils_SteamUtils007_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_ShowGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils007_GetCSERIPPort(winISteamUtils_SteamUtils007 *_this, uint32 * unIP, uint16 * usPort) +uint32_t __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils007_GetCurrentBatteryPower(winISteamUtils_SteamUtils007 *_this) +int8_t __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { + struct ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetAppID(winISteamUtils_SteamUtils007 *_this) +const char * __thiscall winISteamUtils_SteamUtils007_GetSteamUILanguage(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_GetSteamUILanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationPosition(winISteamUtils_SteamUtils007 *_this, ENotificationPosition eNotificationPosition) +int8_t __thiscall winISteamUtils_SteamUtils007_IsSteamRunningInVR(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils007_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_IsSteamRunningInVR, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils007_IsAPICallCompleted(winISteamUtils_SteamUtils007 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset) { + struct ISteamUtils_SteamUtils007_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils007_SetOverlayNotificationInset, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils007_GetAPICallFailureReason(winISteamUtils_SteamUtils007 *_this, SteamAPICall_t hSteamAPICall) +extern vtable_ptr winISteamUtils_SteamUtils007_vtable; + +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils007, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils007_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils007, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSteamUILanguage) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsSteamRunningInVR) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationInset) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUtils_SteamUtils007(void *u_iface) { - TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils007"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils007_vtable, 26, "SteamUtils007"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils007_GetAPICallResult(winISteamUtils_SteamUtils007 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_ShowGamepadTextInput, 24) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_GetSteamUILanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamRunningInVR, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_SetOverlayNotificationInset, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils008_StartVRDashboard, 4) + +uint32_t __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils007_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils007_RunFrame(winISteamUtils_SteamUtils007 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetIPCCallCount(winISteamUtils_SteamUtils007 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils007_SetWarningMessageHook(winISteamUtils_SteamUtils007 *_this, SteamAPIWarningMessageHook_t pFunction) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils007_IsOverlayEnabled(winISteamUtils_SteamUtils007 *_this) +const char * __thiscall winISteamUtils_SteamUtils008_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils007_BOverlayNeedsPresent(winISteamUtils_SteamUtils007 *_this) +int8_t __thiscall winISteamUtils_SteamUtils008_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils008_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_BOverlayNeedsPresent(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils007_CheckFileSignature(winISteamUtils_SteamUtils007 *_this, const char * szFileName) +int8_t __thiscall winISteamUtils_SteamUtils008_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils008_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_ShowGamepadTextInput, 24) -bool __thiscall winISteamUtils_SteamUtils007_ShowGamepadTextInput(winISteamUtils_SteamUtils007 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText) +int8_t __thiscall winISteamUtils_SteamUtils008_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils008_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils007 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils008_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils007 *_this, char * pchText, uint32 cchText) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_GetSteamUILanguage, 4) -const char * __thiscall winISteamUtils_SteamUtils007_GetSteamUILanguage(winISteamUtils_SteamUtils007 *_this) +void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils008_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_GetSteamUILanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_IsSteamRunningInVR, 4) -bool __thiscall winISteamUtils_SteamUtils007_IsSteamRunningInVR(winISteamUtils_SteamUtils007 *_this) +int8_t __thiscall winISteamUtils_SteamUtils008_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils008_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils007_IsSteamRunningInVR(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils007_SetOverlayNotificationInset, 12) -void __thiscall winISteamUtils_SteamUtils007_SetOverlayNotificationInset(winISteamUtils_SteamUtils007 *_this, int nHorizontalInset, int nVerticalInset) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils008_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils007_SetOverlayNotificationInset(_this->linux_side, nHorizontalInset, nVerticalInset); -} - -extern vtable_ptr winISteamUtils_SteamUtils007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils007, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetEnteredGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_GetSteamUILanguage) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_IsSteamRunningInVR) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils007_SetOverlayNotificationInset) - ); -#ifndef __GNUC__ + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetAPICallFailureReason, ¶ms ); + return params._ret; } -#endif -winISteamUtils_SteamUtils007 *create_winISteamUtils_SteamUtils007(void *linux_side) +int8_t __thiscall winISteamUtils_SteamUtils008_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { - winISteamUtils_SteamUtils007 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils007), "SteamUtils007"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils007_vtable, 26, "SteamUtils007"); - r->linux_side = linux_side; - return r; + struct ISteamUtils_SteamUtils008_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetAPICallResult, ¶ms ); + return params._ret; } -#include "cppISteamUtils_SteamUtils006.h" - -typedef struct __winISteamUtils_SteamUtils006 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils006; - -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceAppActive(winISteamUtils_SteamUtils006 *_this) +void __thiscall winISteamUtils_SteamUtils008_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils006 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils006_GetConnectedUniverse(winISteamUtils_SteamUtils006 *_this) +void __thiscall winISteamUtils_SteamUtils008_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils008_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetServerRealTime(winISteamUtils_SteamUtils006 *_this) +int8_t __thiscall winISteamUtils_SteamUtils008_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils006_GetIPCountry(winISteamUtils_SteamUtils006 *_this) +int8_t __thiscall winISteamUtils_SteamUtils008_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils006_GetImageSize(winISteamUtils_SteamUtils006 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +uint64_t __thiscall winISteamUtils_SteamUtils008_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { + struct ISteamUtils_SteamUtils008_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_CheckFileSignature, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils006_GetImageRGBA(winISteamUtils_SteamUtils006 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils008_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText) { + struct ISteamUtils_SteamUtils008_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_ShowGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils006_GetCSERIPPort(winISteamUtils_SteamUtils006 *_this, uint32 * unIP, uint16 * usPort) +uint32_t __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils006_GetCurrentBatteryPower(winISteamUtils_SteamUtils006 *_this) +int8_t __thiscall winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { + struct ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetAppID(winISteamUtils_SteamUtils006 *_this) +const char * __thiscall winISteamUtils_SteamUtils008_GetSteamUILanguage(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_GetSteamUILanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils006_SetOverlayNotificationPosition(winISteamUtils_SteamUtils006 *_this, ENotificationPosition eNotificationPosition) +int8_t __thiscall winISteamUtils_SteamUtils008_IsSteamRunningInVR(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_IsSteamRunningInVR, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils006_IsAPICallCompleted(winISteamUtils_SteamUtils006 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +void __thiscall winISteamUtils_SteamUtils008_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset) { + struct ISteamUtils_SteamUtils008_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_SetOverlayNotificationInset, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils006_GetAPICallFailureReason(winISteamUtils_SteamUtils006 *_this, SteamAPICall_t hSteamAPICall) +int8_t __thiscall winISteamUtils_SteamUtils008_IsSteamInBigPictureMode(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_IsSteamInBigPictureMode, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils006_GetAPICallResult(winISteamUtils_SteamUtils006 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +void __thiscall winISteamUtils_SteamUtils008_StartVRDashboard(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils008_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils006_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils008_StartVRDashboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils006_RunFrame(winISteamUtils_SteamUtils006 *_this) +extern vtable_ptr winISteamUtils_SteamUtils008_vtable; + +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils008, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils008_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils008, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetEnteredGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_GetSteamUILanguage) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamRunningInVR) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_SetOverlayNotificationInset) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_IsSteamInBigPictureMode) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils008_StartVRDashboard) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winISteamUtils_SteamUtils008(void *u_iface) { - TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_RunFrame(_this->linux_side); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils008"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils008_vtable, 28, "SteamUtils008"); + r->u_iface = u_iface; + return r; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetIPCCallCount(winISteamUtils_SteamUtils006 *_this) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_ShowGamepadTextInput, 24) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetSteamUILanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamRunningInVR, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetOverlayNotificationInset, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_StartVRDashboard, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_IsSteamChinaLauncher, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_InitFilterText, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_FilterText, 20) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState, 8) + +uint32_t __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceAppActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetSecondsSinceAppActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils006_SetWarningMessageHook(winISteamUtils_SteamUtils006 *_this, SteamAPIWarningMessageHook_t pFunction) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils006_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils006_IsOverlayEnabled(winISteamUtils_SteamUtils006 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils006_BOverlayNeedsPresent(winISteamUtils_SteamUtils006 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_BOverlayNeedsPresent(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils006_CheckFileSignature(winISteamUtils_SteamUtils006 *_this, const char * szFileName) +const char * __thiscall winISteamUtils_SteamUtils009_GetIPCountry(struct w_steam_iface *_this) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils009_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_ShowGamepadTextInput, 20) -bool __thiscall winISteamUtils_SteamUtils006_ShowGamepadTextInput(winISteamUtils_SteamUtils006 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax) +int8_t __thiscall winISteamUtils_SteamUtils009_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils009_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils006 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils009_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils006 *_this, char * pchText, uint32 cchText) +int8_t __thiscall winISteamUtils_SteamUtils009_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils009_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_GetSteamUILanguage, 4) -const char * __thiscall winISteamUtils_SteamUtils006_GetSteamUILanguage(winISteamUtils_SteamUtils006 *_this) +uint8_t __thiscall winISteamUtils_SteamUtils009_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_GetSteamUILanguage(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils006_IsSteamRunningInVR, 4) -bool __thiscall winISteamUtils_SteamUtils006_IsSteamRunningInVR(winISteamUtils_SteamUtils006 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils006_IsSteamRunningInVR(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetAppID, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUtils_SteamUtils006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils006, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetEnteredGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_GetSteamUILanguage) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils006_IsSteamRunningInVR) - ); -#ifndef __GNUC__ -} -#endif - -winISteamUtils_SteamUtils006 *create_winISteamUtils_SteamUtils006(void *linux_side) +void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { - winISteamUtils_SteamUtils006 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils006), "SteamUtils006"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils006_vtable, 25, "SteamUtils006"); - r->linux_side = linux_side; - return r; + struct ISteamUtils_SteamUtils009_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_SetOverlayNotificationPosition, ¶ms ); } -#include "cppISteamUtils_SteamUtils005.h" - -typedef struct __winISteamUtils_SteamUtils005 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils005; - -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceAppActive(winISteamUtils_SteamUtils005 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils009_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils005 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils009_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils005_GetConnectedUniverse(winISteamUtils_SteamUtils005 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils009_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetServerRealTime(winISteamUtils_SteamUtils005 *_this) +void __thiscall winISteamUtils_SteamUtils009_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils005_GetIPCountry(winISteamUtils_SteamUtils005 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils005_GetImageSize(winISteamUtils_SteamUtils005 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +void __thiscall winISteamUtils_SteamUtils009_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils009_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils005_GetImageRGBA(winISteamUtils_SteamUtils005 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils009_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils005_GetCSERIPPort(winISteamUtils_SteamUtils005 *_this, uint32 * unIP, uint16 * usPort) +int8_t __thiscall winISteamUtils_SteamUtils009_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils005_GetCurrentBatteryPower(winISteamUtils_SteamUtils005 *_this) +uint64_t __thiscall winISteamUtils_SteamUtils009_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) { + struct ISteamUtils_SteamUtils009_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_CheckFileSignature, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetAppID(winISteamUtils_SteamUtils005 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText) { + struct ISteamUtils_SteamUtils009_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_ShowGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils005_SetOverlayNotificationPosition(winISteamUtils_SteamUtils005 *_this, ENotificationPosition eNotificationPosition) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils005_IsAPICallCompleted(winISteamUtils_SteamUtils005 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) { + struct ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils005_GetAPICallFailureReason(winISteamUtils_SteamUtils005 *_this, SteamAPICall_t hSteamAPICall) +const char * __thiscall winISteamUtils_SteamUtils009_GetSteamUILanguage(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetSteamUILanguage, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils005_GetAPICallResult(winISteamUtils_SteamUtils005 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils009_IsSteamRunningInVR(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils005_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsSteamRunningInVR, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils005_RunFrame(winISteamUtils_SteamUtils005 *_this) +void __thiscall winISteamUtils_SteamUtils009_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset) { + struct ISteamUtils_SteamUtils009_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_SetOverlayNotificationInset, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetIPCCallCount(winISteamUtils_SteamUtils005 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_IsSteamInBigPictureMode(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsSteamInBigPictureMode, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils005_SetWarningMessageHook(winISteamUtils_SteamUtils005 *_this, SteamAPIWarningMessageHook_t pFunction) +void __thiscall winISteamUtils_SteamUtils009_StartVRDashboard(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils005_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_StartVRDashboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils005_IsOverlayEnabled(winISteamUtils_SteamUtils005 *_this) +int8_t __thiscall winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_BOverlayNeedsPresent, 4) -bool __thiscall winISteamUtils_SteamUtils005_BOverlayNeedsPresent(winISteamUtils_SteamUtils005 *_this) +void __thiscall winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_BOverlayNeedsPresent(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_CheckFileSignature, 8) -SteamAPICall_t __thiscall winISteamUtils_SteamUtils005_CheckFileSignature(winISteamUtils_SteamUtils005 *_this, const char * szFileName) +int8_t __thiscall winISteamUtils_SteamUtils009_IsSteamChinaLauncher(struct w_steam_iface *_this) { - char lin_szFileName[PATH_MAX]; - steamclient_dos_path_to_unix_path(szFileName, lin_szFileName, 0); + struct ISteamUtils_SteamUtils009_IsSteamChinaLauncher_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_CheckFileSignature(_this->linux_side, szFileName ? lin_szFileName : NULL); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_IsSteamChinaLauncher, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_ShowGamepadTextInput, 20) -bool __thiscall winISteamUtils_SteamUtils005_ShowGamepadTextInput(winISteamUtils_SteamUtils005 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax) +int8_t __thiscall winISteamUtils_SteamUtils009_InitFilterText(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils009_InitFilterText_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_ShowGamepadTextInput(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_InitFilterText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength, 4) -uint32 __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(winISteamUtils_SteamUtils005 *_this) +int32_t __thiscall winISteamUtils_SteamUtils009_FilterText(struct w_steam_iface *_this, char *pchOutFilteredText, uint32_t nByteSizeOutFilteredText, const char *pchInputMessage, int8_t bLegalOnly) { + struct ISteamUtils_SteamUtils009_FilterText_params params = + { + .linux_side = _this->u_iface, + .pchOutFilteredText = pchOutFilteredText, + .nByteSizeOutFilteredText = nByteSizeOutFilteredText, + .pchInputMessage = pchInputMessage, + .bLegalOnly = bLegalOnly, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetEnteredGamepadTextLength(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_FilterText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput, 12) -bool __thiscall winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(winISteamUtils_SteamUtils005 *_this, char * pchText, uint32 cchText) +uint32_t __thiscall winISteamUtils_SteamUtils009_GetIPv6ConnectivityState(struct w_steam_iface *_this, uint32_t eProtocol) { + struct ISteamUtils_SteamUtils009_GetIPv6ConnectivityState_params params = + { + .linux_side = _this->u_iface, + .eProtocol = eProtocol, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils005_GetEnteredGamepadTextInput(_this->linux_side, pchText, cchText); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils009_GetIPv6ConnectivityState, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUtils_SteamUtils005_vtable; +extern vtable_ptr winISteamUtils_SteamUtils009_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils005, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_IsOverlayEnabled) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_BOverlayNeedsPresent) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_CheckFileSignature) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_ShowGamepadTextInput) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextLength) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils005_GetEnteredGamepadTextInput) +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils009, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils009_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils009, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetEnteredGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetSteamUILanguage) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamRunningInVR) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetOverlayNotificationInset) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamInBigPictureMode) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_StartVRDashboard) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsVRHeadsetStreamingEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_SetVRHeadsetStreamingEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_IsSteamChinaLauncher) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_InitFilterText) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_FilterText) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils009_GetIPv6ConnectivityState) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUtils_SteamUtils005 *create_winISteamUtils_SteamUtils005(void *linux_side) +struct w_steam_iface *create_winISteamUtils_SteamUtils009(void *u_iface) { - winISteamUtils_SteamUtils005 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils005), "SteamUtils005"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils009"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils005_vtable, 23, "SteamUtils005"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils009_vtable, 34, "SteamUtils009"); + r->u_iface = u_iface; return r; } -#include "cppISteamUtils_SteamUtils004.h" +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetConnectedUniverse, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetServerRealTime, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCountry, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageSize, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetImageRGBA, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCSERIPPort, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetCurrentBatteryPower, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAppID, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsAPICallCompleted, 16) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallFailureReason, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetAPICallResult, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_RunFrame, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPCCallCount, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetWarningMessageHook, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsOverlayEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_BOverlayNeedsPresent, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_CheckFileSignature, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowGamepadTextInput, 24) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetSteamUILanguage, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningInVR, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetOverlayNotificationInset, 12) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_StartVRDashboard, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamChinaLauncher, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_InitFilterText, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_FilterText, 28) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, 4) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, 24) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_SetGameLauncherMode, 8) +DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, 4) -typedef struct __winISteamUtils_SteamUtils004 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils004; +uint32_t __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceAppActive(struct w_steam_iface *_this) +{ + struct ISteamUtils_SteamUtils010_GetSecondsSinceAppActive_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetSecondsSinceAppActive, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceAppActive(winISteamUtils_SteamUtils004 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetSecondsSinceComputerActive, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils004 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetConnectedUniverse(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetConnectedUniverse_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetConnectedUniverse, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils004_GetConnectedUniverse(winISteamUtils_SteamUtils004 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetServerRealTime(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetServerRealTime_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetServerRealTime, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils004_GetServerRealTime(winISteamUtils_SteamUtils004 *_this) +const char * __thiscall winISteamUtils_SteamUtils010_GetIPCountry(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetIPCountry_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetIPCountry, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils004_GetIPCountry(winISteamUtils_SteamUtils004 *_this) +int8_t __thiscall winISteamUtils_SteamUtils010_GetImageSize(struct w_steam_iface *_this, int32_t iImage, uint32_t *pnWidth, uint32_t *pnHeight) { + struct ISteamUtils_SteamUtils010_GetImageSize_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetImageSize, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils004_GetImageSize(winISteamUtils_SteamUtils004 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +int8_t __thiscall winISteamUtils_SteamUtils010_GetImageRGBA(struct w_steam_iface *_this, int32_t iImage, uint8_t *pubDest, int32_t nDestBufferSize) { + struct ISteamUtils_SteamUtils010_GetImageRGBA_params params = + { + .linux_side = _this->u_iface, + .iImage = iImage, + .pubDest = pubDest, + .nDestBufferSize = nDestBufferSize, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetImageRGBA, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils004_GetImageRGBA(winISteamUtils_SteamUtils004 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils010_GetCSERIPPort(struct w_steam_iface *_this, uint32_t *unIP, uint16_t *usPort) { + struct ISteamUtils_SteamUtils010_GetCSERIPPort_params params = + { + .linux_side = _this->u_iface, + .unIP = unIP, + .usPort = usPort, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetCSERIPPort, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils004_GetCSERIPPort(winISteamUtils_SteamUtils004 *_this, uint32 * unIP, uint16 * usPort) +uint8_t __thiscall winISteamUtils_SteamUtils010_GetCurrentBatteryPower(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetCurrentBatteryPower_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetCurrentBatteryPower, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils004_GetCurrentBatteryPower(winISteamUtils_SteamUtils004 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetAppID(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetAppID_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetAppID, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils004_GetAppID(winISteamUtils_SteamUtils004 *_this) +void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationPosition(struct w_steam_iface *_this, uint32_t eNotificationPosition) { + struct ISteamUtils_SteamUtils010_SetOverlayNotificationPosition_params params = + { + .linux_side = _this->u_iface, + .eNotificationPosition = eNotificationPosition, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_SetOverlayNotificationPosition, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils004_SetOverlayNotificationPosition(winISteamUtils_SteamUtils004 *_this, ENotificationPosition eNotificationPosition) +int8_t __thiscall winISteamUtils_SteamUtils010_IsAPICallCompleted(struct w_steam_iface *_this, uint64_t hSteamAPICall, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils010_IsAPICallCompleted_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsAPICallCompleted, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils004_IsAPICallCompleted(winISteamUtils_SteamUtils004 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetAPICallFailureReason(struct w_steam_iface *_this, uint64_t hSteamAPICall) { + struct ISteamUtils_SteamUtils010_GetAPICallFailureReason_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetAPICallFailureReason, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils004_GetAPICallFailureReason(winISteamUtils_SteamUtils004 *_this, SteamAPICall_t hSteamAPICall) +int8_t __thiscall winISteamUtils_SteamUtils010_GetAPICallResult(struct w_steam_iface *_this, uint64_t hSteamAPICall, void *pCallback, int32_t cubCallback, int32_t iCallbackExpected, int8_t *pbFailed) { + struct ISteamUtils_SteamUtils010_GetAPICallResult_params params = + { + .linux_side = _this->u_iface, + .hSteamAPICall = hSteamAPICall, + .pCallback = pCallback, + .cubCallback = cubCallback, + .iCallbackExpected = iCallbackExpected, + .pbFailed = pbFailed, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetAPICallResult, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils004_GetAPICallResult(winISteamUtils_SteamUtils004 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +void __thiscall winISteamUtils_SteamUtils010_RunFrame(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_RunFrame_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils004_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_RunFrame, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_RunFrame, 4) -void __thiscall winISteamUtils_SteamUtils004_RunFrame(winISteamUtils_SteamUtils004 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetIPCCallCount(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_GetIPCCallCount_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_RunFrame(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetIPCCallCount, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_GetIPCCallCount, 4) -uint32 __thiscall winISteamUtils_SteamUtils004_GetIPCCallCount(winISteamUtils_SteamUtils004 *_this) +void __thiscall winISteamUtils_SteamUtils010_SetWarningMessageHook(struct w_steam_iface *_this, void (*W_CDECL pFunction)(int32_t, const char *)) { + struct ISteamUtils_SteamUtils010_SetWarningMessageHook_params params = + { + .linux_side = _this->u_iface, + .pFunction = pFunction, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_GetIPCCallCount(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_SetWarningMessageHook, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_SetWarningMessageHook, 8) -void __thiscall winISteamUtils_SteamUtils004_SetWarningMessageHook(winISteamUtils_SteamUtils004 *_this, SteamAPIWarningMessageHook_t pFunction) +int8_t __thiscall winISteamUtils_SteamUtils010_IsOverlayEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsOverlayEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils004_SetWarningMessageHook(_this->linux_side, pFunction); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsOverlayEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils004_IsOverlayEnabled, 4) -bool __thiscall winISteamUtils_SteamUtils004_IsOverlayEnabled(winISteamUtils_SteamUtils004 *_this) +int8_t __thiscall winISteamUtils_SteamUtils010_BOverlayNeedsPresent(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_BOverlayNeedsPresent_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils004_IsOverlayEnabled(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_BOverlayNeedsPresent, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUtils_SteamUtils004_vtable; +uint64_t __thiscall winISteamUtils_SteamUtils010_CheckFileSignature(struct w_steam_iface *_this, const char *szFileName) +{ + struct ISteamUtils_SteamUtils010_CheckFileSignature_params params = + { + .linux_side = _this->u_iface, + .szFileName = szFileName, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_CheckFileSignature, ¶ms ); + return params._ret; +} -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils004, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetAPICallResult) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_RunFrame) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_GetIPCCallCount) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_SetWarningMessageHook) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils004_IsOverlayEnabled) - ); -#ifndef __GNUC__ +int8_t __thiscall winISteamUtils_SteamUtils010_ShowGamepadTextInput(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText) +{ + struct ISteamUtils_SteamUtils010_ShowGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_ShowGamepadTextInput, ¶ms ); + return params._ret; } -#endif -winISteamUtils_SteamUtils004 *create_winISteamUtils_SteamUtils004(void *linux_side) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength(struct w_steam_iface *_this) { - winISteamUtils_SteamUtils004 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils004), "SteamUtils004"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils004_vtable, 18, "SteamUtils004"); - r->linux_side = linux_side; - return r; + struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetEnteredGamepadTextLength, ¶ms ); + return params._ret; } -#include "cppISteamUtils_SteamUtils002.h" +int8_t __thiscall winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetEnteredGamepadTextInput, ¶ms ); + return params._ret; +} -typedef struct __winISteamUtils_SteamUtils002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamUtils_SteamUtils002; +const char * __thiscall winISteamUtils_SteamUtils010_GetSteamUILanguage(struct w_steam_iface *_this) +{ + struct ISteamUtils_SteamUtils010_GetSteamUILanguage_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetSteamUILanguage, ¶ms ); + return params._ret; +} -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceAppActive(winISteamUtils_SteamUtils002 *_this) +int8_t __thiscall winISteamUtils_SteamUtils010_IsSteamRunningInVR(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsSteamRunningInVR_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetSecondsSinceAppActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsSteamRunningInVR, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive, 4) -uint32 __thiscall winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(winISteamUtils_SteamUtils002 *_this) +void __thiscall winISteamUtils_SteamUtils010_SetOverlayNotificationInset(struct w_steam_iface *_this, int32_t nHorizontalInset, int32_t nVerticalInset) { + struct ISteamUtils_SteamUtils010_SetOverlayNotificationInset_params params = + { + .linux_side = _this->u_iface, + .nHorizontalInset = nHorizontalInset, + .nVerticalInset = nVerticalInset, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetSecondsSinceComputerActive(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_SetOverlayNotificationInset, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetConnectedUniverse, 4) -EUniverse __thiscall winISteamUtils_SteamUtils002_GetConnectedUniverse(winISteamUtils_SteamUtils002 *_this) +int8_t __thiscall winISteamUtils_SteamUtils010_IsSteamInBigPictureMode(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsSteamInBigPictureMode_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetConnectedUniverse(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsSteamInBigPictureMode, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetServerRealTime, 4) -uint32 __thiscall winISteamUtils_SteamUtils002_GetServerRealTime(winISteamUtils_SteamUtils002 *_this) +void __thiscall winISteamUtils_SteamUtils010_StartVRDashboard(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_StartVRDashboard_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetServerRealTime(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_StartVRDashboard, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetIPCountry, 4) -const char * __thiscall winISteamUtils_SteamUtils002_GetIPCountry(winISteamUtils_SteamUtils002 *_this) +int8_t __thiscall winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetIPCountry(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageSize, 16) -bool __thiscall winISteamUtils_SteamUtils002_GetImageSize(winISteamUtils_SteamUtils002 *_this, int iImage, uint32 * pnWidth, uint32 * pnHeight) +void __thiscall winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled(struct w_steam_iface *_this, int8_t bEnabled) { + struct ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled_params params = + { + .linux_side = _this->u_iface, + .bEnabled = bEnabled, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetImageSize(_this->linux_side, iImage, pnWidth, pnHeight); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetImageRGBA, 16) -bool __thiscall winISteamUtils_SteamUtils002_GetImageRGBA(winISteamUtils_SteamUtils002 *_this, int iImage, uint8 * pubDest, int nDestBufferSize) +int8_t __thiscall winISteamUtils_SteamUtils010_IsSteamChinaLauncher(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsSteamChinaLauncher_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetImageRGBA(_this->linux_side, iImage, pubDest, nDestBufferSize); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsSteamChinaLauncher, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCSERIPPort, 12) -bool __thiscall winISteamUtils_SteamUtils002_GetCSERIPPort(winISteamUtils_SteamUtils002 *_this, uint32 * unIP, uint16 * usPort) +int8_t __thiscall winISteamUtils_SteamUtils010_InitFilterText(struct w_steam_iface *_this, uint32_t unFilterOptions) { + struct ISteamUtils_SteamUtils010_InitFilterText_params params = + { + .linux_side = _this->u_iface, + .unFilterOptions = unFilterOptions, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetCSERIPPort(_this->linux_side, unIP, usPort); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_InitFilterText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetCurrentBatteryPower, 4) -uint8 __thiscall winISteamUtils_SteamUtils002_GetCurrentBatteryPower(winISteamUtils_SteamUtils002 *_this) +int32_t __thiscall winISteamUtils_SteamUtils010_FilterText(struct w_steam_iface *_this, uint32_t eContext, CSteamID sourceSteamID, const char *pchInputMessage, char *pchOutFilteredText, uint32_t nByteSizeOutFilteredText) { + struct ISteamUtils_SteamUtils010_FilterText_params params = + { + .linux_side = _this->u_iface, + .eContext = eContext, + .sourceSteamID = sourceSteamID, + .pchInputMessage = pchInputMessage, + .pchOutFilteredText = pchOutFilteredText, + .nByteSizeOutFilteredText = nByteSizeOutFilteredText, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetCurrentBatteryPower(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_FilterText, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAppID, 4) -uint32 __thiscall winISteamUtils_SteamUtils002_GetAppID(winISteamUtils_SteamUtils002 *_this) +uint32_t __thiscall winISteamUtils_SteamUtils010_GetIPv6ConnectivityState(struct w_steam_iface *_this, uint32_t eProtocol) { + struct ISteamUtils_SteamUtils010_GetIPv6ConnectivityState_params params = + { + .linux_side = _this->u_iface, + .eProtocol = eProtocol, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetAppID(_this->linux_side); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_GetIPv6ConnectivityState, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition, 8) -void __thiscall winISteamUtils_SteamUtils002_SetOverlayNotificationPosition(winISteamUtils_SteamUtils002 *_this, ENotificationPosition eNotificationPosition) +int8_t __thiscall winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - cppISteamUtils_SteamUtils002_SetOverlayNotificationPosition(_this->linux_side, eNotificationPosition); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_IsAPICallCompleted, 16) -bool __thiscall winISteamUtils_SteamUtils002_IsAPICallCompleted(winISteamUtils_SteamUtils002 *_this, SteamAPICall_t hSteamAPICall, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput(struct w_steam_iface *_this, uint32_t eKeyboardMode, int32_t nTextFieldXPosition, int32_t nTextFieldYPosition, int32_t nTextFieldWidth, int32_t nTextFieldHeight) { + struct ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + .eKeyboardMode = eKeyboardMode, + .nTextFieldXPosition = nTextFieldXPosition, + .nTextFieldYPosition = nTextFieldYPosition, + .nTextFieldWidth = nTextFieldWidth, + .nTextFieldHeight = nTextFieldHeight, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_IsAPICallCompleted(_this->linux_side, hSteamAPICall, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallFailureReason, 12) -ESteamAPICallFailure __thiscall winISteamUtils_SteamUtils002_GetAPICallFailureReason(winISteamUtils_SteamUtils002 *_this, SteamAPICall_t hSteamAPICall) +void __thiscall winISteamUtils_SteamUtils010_SetGameLauncherMode(struct w_steam_iface *_this, int8_t bLauncherMode) { + struct ISteamUtils_SteamUtils010_SetGameLauncherMode_params params = + { + .linux_side = _this->u_iface, + .bLauncherMode = bLauncherMode, + }; TRACE("%p\n", _this); - return cppISteamUtils_SteamUtils002_GetAPICallFailureReason(_this->linux_side, hSteamAPICall); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_SetGameLauncherMode, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamUtils_SteamUtils002_GetAPICallResult, 28) -bool __thiscall winISteamUtils_SteamUtils002_GetAPICallResult(winISteamUtils_SteamUtils002 *_this, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed) +int8_t __thiscall winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput(struct w_steam_iface *_this) { + struct ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput_params params = + { + .linux_side = _this->u_iface, + }; TRACE("%p\n", _this); - return do_cb_wrap(0, _this->linux_side, &cppISteamUtils_SteamUtils002_GetAPICallResult, hSteamAPICall, pCallback, cubCallback, iCallbackExpected, pbFailed); + STEAMCLIENT_CALL( ISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput, ¶ms ); + return params._ret; } -extern vtable_ptr winISteamUtils_SteamUtils002_vtable; +extern vtable_ptr winISteamUtils_SteamUtils010_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamUtils_SteamUtils002, - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceAppActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetSecondsSinceComputerActive) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetConnectedUniverse) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetServerRealTime) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetIPCountry) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageSize) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetImageRGBA) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCSERIPPort) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetCurrentBatteryPower) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAppID) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_SetOverlayNotificationPosition) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_IsAPICallCompleted) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallFailureReason) - VTABLE_ADD_FUNC(winISteamUtils_SteamUtils002_GetAPICallResult) +DEFINE_RTTI_DATA0(winISteamUtils_SteamUtils010, 0, ".?AVISteamUtils@@") + +__ASM_BLOCK_BEGIN(winISteamUtils_SteamUtils010_vtables) + __ASM_VTABLE(winISteamUtils_SteamUtils010, + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceAppActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSecondsSinceComputerActive) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetConnectedUniverse) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetServerRealTime) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCountry) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageSize) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetImageRGBA) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCSERIPPort) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetCurrentBatteryPower) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAppID) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationPosition) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsAPICallCompleted) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallFailureReason) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetAPICallResult) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_RunFrame) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPCCallCount) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetWarningMessageHook) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsOverlayEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_BOverlayNeedsPresent) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_CheckFileSignature) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextLength) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetEnteredGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetSteamUILanguage) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningInVR) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetOverlayNotificationInset) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamInBigPictureMode) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_StartVRDashboard) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsVRHeadsetStreamingEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetVRHeadsetStreamingEnabled) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamChinaLauncher) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_InitFilterText) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_FilterText) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_GetIPv6ConnectivityState) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_IsSteamRunningOnSteamDeck) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_ShowFloatingGamepadTextInput) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_SetGameLauncherMode) + VTABLE_ADD_FUNC(winISteamUtils_SteamUtils010_DismissFloatingGamepadTextInput) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamUtils_SteamUtils002 *create_winISteamUtils_SteamUtils002(void *linux_side) +struct w_steam_iface *create_winISteamUtils_SteamUtils010(void *u_iface) { - winISteamUtils_SteamUtils002 *r = alloc_mem_for_iface(sizeof(winISteamUtils_SteamUtils002), "SteamUtils002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamUtils010"); TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamUtils_SteamUtils002_vtable, 14, "SteamUtils002"); - r->linux_side = linux_side; + r->vtable = alloc_vtable(&winISteamUtils_SteamUtils010_vtable, 38, "SteamUtils010"); + r->u_iface = u_iface; return r; } +void init_winISteamUtils_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winISteamUtils_SteamUtils002_rtti( base ); + init_winISteamUtils_SteamUtils004_rtti( base ); + init_winISteamUtils_SteamUtils005_rtti( base ); + init_winISteamUtils_SteamUtils006_rtti( base ); + init_winISteamUtils_SteamUtils007_rtti( base ); + init_winISteamUtils_SteamUtils008_rtti( base ); + init_winISteamUtils_SteamUtils009_rtti( base ); + init_winISteamUtils_SteamUtils010_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/lsteamclient/winISteamVideo.c b/lsteamclient/winISteamVideo.c index 65f37f32f..f5b518389 100644 --- a/lsteamclient/winISteamVideo.c +++ b/lsteamclient/winISteamVideo.c @@ -1,119 +1,133 @@ /* This file is auto-generated, do not edit. */ -#include +#include "steamclient_private.h" -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" +WINE_DEFAULT_DEBUG_CHANNEL(steamclient); -#include "cxx.h" +DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL, 8) +DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, 8) -#include "steam_defs.h" +void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(struct w_steam_iface *_this, uint32_t unVideoAppID) +{ + struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL, ¶ms ); +} -#include "steamclient_private.h" +int8_t __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(struct w_steam_iface *_this, int32_t *pnNumViewers) +{ + struct ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting_params params = + { + .linux_side = _this->u_iface, + .pnNumViewers = pnNumViewers, + }; + TRACE("%p\n", _this); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, ¶ms ); + return params._ret; +} -#include "struct_converters.h" +extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable; -WINE_DEFAULT_DEBUG_CHANNEL(steamclient); +DEFINE_RTTI_DATA0(winISteamVideo_STEAMVIDEO_INTERFACE_V001, 0, ".?AVISteamVideo@@") -#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h" +__ASM_BLOCK_BEGIN(winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtables) + __ASM_VTABLE(winISteamVideo_STEAMVIDEO_INTERFACE_V001, + VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL) + VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting) + ); +__ASM_BLOCK_END -typedef struct __winISteamVideo_STEAMVIDEO_INTERFACE_V002 { - vtable_ptr *vtable; - void *linux_side; -} winISteamVideo_STEAMVIDEO_INTERFACE_V002; +struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V001(void *u_iface) +{ + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMVIDEO_INTERFACE_V001"); + TRACE("-> %p\n", r); + r->vtable = alloc_vtable(&winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable, 2, "STEAMVIDEO_INTERFACE_V001"); + r->u_iface = u_iface; + return r; +} DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL, 8) -void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(winISteamVideo_STEAMVIDEO_INTERFACE_V002 *_this, AppId_t unVideoAppID) +DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting, 8) +DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings, 8) +DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp, 16) + +void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(struct w_steam_iface *_this, uint32_t unVideoAppID) { + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(_this->linux_side, unVideoAppID); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting, 8) -bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(winISteamVideo_STEAMVIDEO_INTERFACE_V002 *_this, int * pnNumViewers) +int8_t __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(struct w_steam_iface *_this, int32_t *pnNumViewers) { + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting_params params = + { + .linux_side = _this->u_iface, + .pnNumViewers = pnNumViewers, + }; TRACE("%p\n", _this); - return cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(_this->linux_side, pnNumViewers); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting, ¶ms ); + return params._ret; } -DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings, 8) -void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(winISteamVideo_STEAMVIDEO_INTERFACE_V002 *_this, AppId_t unVideoAppID) +void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(struct w_steam_iface *_this, uint32_t unVideoAppID) { + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + }; TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(_this->linux_side, unVideoAppID); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings, ¶ms ); } -DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp, 16) -bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(winISteamVideo_STEAMVIDEO_INTERFACE_V002 *_this, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize) +int8_t __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(struct w_steam_iface *_this, uint32_t unVideoAppID, char *pchBuffer, int32_t *pnBufferSize) { + struct ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp_params params = + { + .linux_side = _this->u_iface, + .unVideoAppID = unVideoAppID, + .pchBuffer = pchBuffer, + .pnBufferSize = pnBufferSize, + }; TRACE("%p\n", _this); - return cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(_this->linux_side, unVideoAppID, pchBuffer, pnBufferSize); + STEAMCLIENT_CALL( ISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp, ¶ms ); + return params._ret; } extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtable; -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif +DEFINE_RTTI_DATA0(winISteamVideo_STEAMVIDEO_INTERFACE_V002, 0, ".?AVISteamVideo@@") + +__ASM_BLOCK_BEGIN(winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtables) __ASM_VTABLE(winISteamVideo_STEAMVIDEO_INTERFACE_V002, VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings) VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp) ); -#ifndef __GNUC__ -} -#endif +__ASM_BLOCK_END -winISteamVideo_STEAMVIDEO_INTERFACE_V002 *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *linux_side) +struct w_steam_iface *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *u_iface) { - winISteamVideo_STEAMVIDEO_INTERFACE_V002 *r = alloc_mem_for_iface(sizeof(winISteamVideo_STEAMVIDEO_INTERFACE_V002), "STEAMVIDEO_INTERFACE_V002"); + struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMVIDEO_INTERFACE_V002"); TRACE("-> %p\n", r); r->vtable = alloc_vtable(&winISteamVideo_STEAMVIDEO_INTERFACE_V002_vtable, 4, "STEAMVIDEO_INTERFACE_V002"); - r->linux_side = linux_side; + r->u_iface = u_iface; return r; } -#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V001.h" - -typedef struct __winISteamVideo_STEAMVIDEO_INTERFACE_V001 { - vtable_ptr *vtable; - void *linux_side; -} winISteamVideo_STEAMVIDEO_INTERFACE_V001; - -DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL, 8) -void __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(winISteamVideo_STEAMVIDEO_INTERFACE_V001 *_this, AppId_t unVideoAppID) -{ - TRACE("%p\n", _this); - cppISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL(_this->linux_side, unVideoAppID); -} - -DEFINE_THISCALL_WRAPPER(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting, 8) -bool __thiscall winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(winISteamVideo_STEAMVIDEO_INTERFACE_V001 *_this, int * pnNumViewers) +void init_winISteamVideo_rtti( char *base ) { - TRACE("%p\n", _this); - return cppISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting(_this->linux_side, pnNumViewers); +#ifdef __x86_64__ + init_winISteamVideo_STEAMVIDEO_INTERFACE_V001_rtti( base ); + init_winISteamVideo_STEAMVIDEO_INTERFACE_V002_rtti( base ); +#endif /* __x86_64__ */ } - -extern vtable_ptr winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winISteamVideo_STEAMVIDEO_INTERFACE_V001, - VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_GetVideoURL) - VTABLE_ADD_FUNC(winISteamVideo_STEAMVIDEO_INTERFACE_V001_IsBroadcasting) - ); -#ifndef __GNUC__ -} -#endif - -winISteamVideo_STEAMVIDEO_INTERFACE_V001 *create_winISteamVideo_STEAMVIDEO_INTERFACE_V001(void *linux_side) -{ - winISteamVideo_STEAMVIDEO_INTERFACE_V001 *r = alloc_mem_for_iface(sizeof(winISteamVideo_STEAMVIDEO_INTERFACE_V001), "STEAMVIDEO_INTERFACE_V001"); - TRACE("-> %p\n", r); - r->vtable = alloc_vtable(&winISteamVideo_STEAMVIDEO_INTERFACE_V001_vtable, 2, "STEAMVIDEO_INTERFACE_V001"); - r->linux_side = linux_side; - return r; -} - diff --git a/lsteamclient/win_constructors.h b/lsteamclient/win_constructors.h deleted file mode 100644 index e6545e7c6..000000000 --- a/lsteamclient/win_constructors.h +++ /dev/null @@ -1,193 +0,0 @@ -extern void *create_winISteamClient_SteamClient020(void *); -extern void *create_winISteamUser_SteamUser023(void *); -extern void *create_winISteamFriends_SteamFriends017(void *); -extern void *create_winISteamUtils_SteamUtils010(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking009(void *); -extern void *create_winISteamMatchmakingServers_SteamMatchMakingServers002(void *); -extern void *create_winISteamGameSearch_SteamMatchGameSearch001(void *); -extern void *create_winISteamParties_SteamParties002(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION016(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION012(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION008(void *); -extern void *create_winISteamNetworking_SteamNetworking006(void *); -extern void *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION003(void *); -extern void *create_winISteamMusic_STEAMMUSIC_INTERFACE_VERSION001(void *); -extern void *create_winISteamMusicRemote_STEAMMUSICREMOTE_INTERFACE_VERSION001(void *); -extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *); -extern void *create_winISteamInput_SteamInput006(void *); -extern void *create_winISteamController_SteamController008(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION017(void *); -extern void *create_winISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001(void *); -extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_005(void *); -extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V003(void *); -extern void *create_winISteamVideo_STEAMVIDEO_INTERFACE_V002(void *); -extern void *create_winISteamParentalSettings_STEAMPARENTALSETTINGS_INTERFACE_VERSION001(void *); -extern void *create_winISteamRemotePlay_STEAMREMOTEPLAY_INTERFACE_VERSION001(void *); -extern void *create_winISteamNetworkingMessages_SteamNetworkingMessages002(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets012(void *); -extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils004(void *); -extern void *create_winISteamAppTicket_STEAMAPPTICKET_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer015(void *); -extern void *create_winISteamGameServerStats_SteamGameServerStats001(void *); -extern void *create_winISteamGameCoordinator_SteamGameCoordinator001(void *); -extern void *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001(void *); -extern void *create_winISteamUser_SteamUser022(void *); -extern void *create_winISteamUser_SteamUser021(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION016(void *); -extern void *create_winISteamGameServer_SteamGameServer014(void *); -extern void *create_winISteamInput_SteamInput005(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION015(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets009(void *); -extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils003(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION014(void *); -extern void *create_winISteamInput_SteamInput002(void *); -extern void *create_winISteamGameServer_SteamGameServer013(void *); -extern void *create_winISteamInput_SteamInput001(void *); -extern void *create_winISteamController_SteamController007(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION014(void *); -extern void *create_winISteamUtils_SteamUtils009(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets008(void *); -extern void *create_winISteamUser_SteamUser020(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION011(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets006(void *); -extern void *create_winISteamClient_SteamClient019(void *); -extern void *create_winISteamNetworking_SteamNetworking005(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION013(void *); -extern void *create_winISteamGameServer_SteamGameServer012(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets004(void *); -extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils002(void *); -extern void *create_winISteamClient_SteamClient018(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION012(void *); -extern void *create_winISteamNetworkingSockets_SteamNetworkingSockets002(void *); -extern void *create_winISteamNetworkingUtils_SteamNetworkingUtils001(void *); -extern void *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003(void *); -extern void *create_winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002(void *); -extern void *create_winISteamClient_SteamClient017(void *); -extern void *create_winISteamUser_SteamUser019(void *); -extern void *create_winISteamFriends_SteamFriends015(void *); -extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *); -extern void *create_winISteamController_SteamController006(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION010(void *); -extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_004(void *); -extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V002(void *); -extern void *create_winISteamUnifiedMessages_STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001(void *); -extern void *create_winISteamController_SteamController005(void *); -extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_003(void *); -extern void *create_winISteamUtils_SteamUtils008(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION009(void *); -extern void *create_winISteamInventory_STEAMINVENTORY_INTERFACE_V001(void *); -extern void *create_winISteamVideo_STEAMVIDEO_INTERFACE_V001(void *); -extern void *create_winISteamController_SteamController004(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION013(void *); -extern void *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION002(void *); -extern void *create_winISteamController_SteamController003(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION008(void *); -extern void *create_winISteamUser_SteamUser018(void *); -extern void *create_winISteamUtils_SteamUtils007(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION007(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION007(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION012(void *); -extern void *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION006(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION005(void *); -extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_002(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION004(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION003(void *); -extern void *create_winISteamClient_SteamClient016(void *); -extern void *create_winISteamUser_SteamUser017(void *); -extern void *create_winISteamFriends_SteamFriends014(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION006(void *); -extern void *create_winISteamHTMLSurface_STEAMHTMLSURFACE_INTERFACE_VERSION_001(void *); -extern void *create_winISteamClient_SteamClient015(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION002(void *); -extern void *create_winISteamClient_SteamClient014(void *); -extern void *create_winISteamClient_SteamClient013(void *); -extern void *create_winISteamClient_SteamClient012(void *); -extern void *create_winISteamUtils_SteamUtils006(void *); -extern void *create_winISteamUGC_STEAMUGC_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer011(void *); -extern void *create_winISteamFriends_SteamFriends013(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION011(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION005(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION010(void *); -extern void *create_winISteamUser_SteamUser016(void *); -extern void *create_winISteamUtils_SteamUtils005(void *); -extern void *create_winISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION009(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION008(void *); -extern void *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *); -extern void *create_winISteamFriends_SteamFriends012(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION007(void *); -extern void *create_winISteamFriends_SteamFriends011(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION006(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION010(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION005(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION004(void *); -extern void *create_winISteamGameStats_SteamGameStats001(void *); -extern void *create_winISteamFriends_SteamFriends010(void *); -extern void *create_winISteamClient_SteamClient011(void *); -extern void *create_winISteamFriends_SteamFriends009(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking008(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION004(void *); -extern void *create_winISteamGameServer_SteamGameServer010(void *); -extern void *create_winISteamMasterServerUpdater_SteamMasterServerUpdater001(void *); -extern void *create_winISteamClient_SteamClient010(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION009(void *); -extern void *create_winISteamUser_SteamUser015(void *); -extern void *create_winISteamUser_SteamUser014(void *); -extern void *create_winISteamFriends_SteamFriends008(void *); -extern void *create_winISteamNetworking_SteamNetworking004(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION003(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION008(void *); -extern void *create_winISteamClient_SteamClient009(void *); -extern void *create_winISteamFriends_SteamFriends007(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION007(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION003(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002(void *); -extern void *create_winISteamUser_SteamUser013(void *); -extern void *create_winISteamFriends_SteamFriends006(void *); -extern void *create_winISteamNetworking_SteamNetworking003(void *); -extern void *create_winISteamFriends_SteamFriends005(void *); -extern void *create_winISteamClient_SteamClient008(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking007(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION006(void *); -extern void *create_winISteamGameServer_SteamGameServer009(void *); -extern void *create_winISteamUtils_SteamUtils004(void *); -extern void *create_winISteamUser_SteamUser012(void *); -extern void *create_winISteamMatchmakingServers_SteamMatchMakingServers001(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking006(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION005(void *); -extern void *create_winISteamNetworking_SteamNetworking002(void *); -extern void *create_winISteamGameServer_SteamGameServer008(void *); -extern void *create_winISteamClient_SteamClient007(void *); -extern void *create_winISteamUser_SteamUser011(void *); -extern void *create_winISteamUtils_SteamUtils002(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION004(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION002(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking005(void *); -extern void *create_winISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION001(void *); -extern void *create_winISteamFriends_SteamFriends004(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking004(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION003(void *); -extern void *create_winISteamNetworking_SteamNetworking001(void *); -extern void *create_winISteamGameServer_SteamGameServer005(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking003(void *); -extern void *create_winISteamUser_SteamUser010(void *); -extern void *create_winISteamFriends_SteamFriends003(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking002(void *); -extern void *create_winISteamUser_SteamUser009(void *); -extern void *create_winISteamApps_STEAMAPPS_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer004(void *); -extern void *create_winISteamClient_SteamClient006(void *); -extern void *create_winISteamUser_SteamUser008(void *); -extern void *create_winISteamFriends_SteamFriends002(void *); -extern void *create_winISteamMatchmaking_SteamMatchMaking001(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION002(void *); -extern void *create_winISteamGameServer_SteamGameServer003(void *); -extern void *create_winISteamUser_SteamUser007(void *); -extern void *create_winISteamFriends_SteamFriends001(void *); -extern void *create_winISteamUserStats_STEAMUSERSTATS_INTERFACE_VERSION001(void *); -extern void *create_winISteamGameServer_SteamGameServer002(void *); -extern void *create_winISteamUser_SteamUser006(void *); -extern void *create_winISteamUser_SteamUser005(void *); -extern void *create_winISteamUser_SteamUser004(void *); diff --git a/make/rules-autoconf.mk b/make/rules-autoconf.mk index ad04eeb81..1f5fb9e9d 100644 --- a/make/rules-autoconf.mk +++ b/make/rules-autoconf.mk @@ -31,8 +31,8 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 - cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ - $$(MAKE) + +cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ + $$(BEAR) $$(MAKE) cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ $$(MAKE) install touch $$@ diff --git a/make/rules-common.mk b/make/rules-common.mk index b057bb72f..00a1b4ff9 100644 --- a/make/rules-common.mk +++ b/make/rules-common.mk @@ -49,6 +49,10 @@ $$(OBJ)/.$(1)-dist$(3): $$(OBJ)/.$(1)-post-build$(3) ifneq ($(UNSTRIPPED_BUILD),) $$(OBJ)/.$(1)-dist$(3): @echo ":: installing $(3)bit $(1)..." >&2 + if [ -f "$$($(2)_OBJ$(3))/compile_commands.json" ]; then \ + mkdir -p "$$(OBJ)/compile_commands/$(1)$(3)/"; \ + sed "s#$$($(2)_SRC)#$$($(2)_ORIGIN)#g" "$$($(2)_OBJ$(3))/compile_commands.json" > "$$(OBJ)/compile_commands/$(1)$(3)/compile_commands.json"; \ + fi mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/ cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a @@ -62,6 +66,10 @@ $$(OBJ)/.$(1)-dist$(3): else $$(OBJ)/.$(1)-dist$(3): @echo ":: installing $(3)bit $(1)..." >&2 + if [ -f "$$($(2)_OBJ$(3))/compile_commands.json" ]; then \ + mkdir -p "$$(OBJ)/compile_commands/$(1)$(3)/"; \ + sed "s#$$($(2)_SRC)#$$($(2)_ORIGIN)#g" "$$($(2)_OBJ$(3))/compile_commands.json" > "$$(OBJ)/compile_commands/$(1)$(3)/compile_commands.json"; \ + fi mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/ cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a diff --git a/make/rules-configure.mk b/make/rules-configure.mk index 29eee1328..a2205c1cb 100644 --- a/make/rules-configure.mk +++ b/make/rules-configure.mk @@ -24,8 +24,8 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 - cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ - $$(MAKE) + +cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ + $$(BEAR) $$(MAKE) cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ $$(MAKE) install touch $$@ diff --git a/make/rules-makedep.mk b/make/rules-makedep.mk new file mode 100644 index 000000000..140cb8ea7 --- /dev/null +++ b/make/rules-makedep.mk @@ -0,0 +1,54 @@ +# parameters: +# $(1): lowercase package name +# $(2): uppercase package name +# $(3): 32/64, build type +# +define create-rules-makedep +$(call create-rules-common,$(1),$(2),$(3)) + +$$(OBJ)/.$(1)-configure$(3): + @echo ":: configuring $(3)bit $(1)..." >&2 + + sed -e '/^all:$$$$/,$$$$c all:' \ + -e '/^SUBDIRS/,/[^\\]$$$$/c SUBDIRS = $$($(2)_SRC)' \ + \ + -e '/^srcdir/a objdir = $$(WINE_OBJ$(3))' \ + -e '/^prefix/c prefix = $$($(2)_DST$(3))' \ + -e '/^libdir/c libdir = $$($(2)_LIBDIR$(3))' \ + -e '/^toolsdir/c toolsdir = $$(WINE_OBJ$(3))' \ + \ + -e '/^CFLAGS/c CFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^CPPFLAGS/c CPPFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CPPFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^CXXFLAGS/c CXXFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CXXFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3)) -std=c++17' \ + -e '/^LDFLAGS/c LDFLAGS = $$($(2)_LIBFLAGS$(3)) $$($(2)_LDFLAGS$(3)) $$($(2)_LDFLAGS) $$($(4)LDFLAGS)' \ + \ + -e '/^x86_64_CC/a x86_64_CXX = $$(TARGET_CROSS64)-g++' \ + -e '/^x86_64_CFLAGS/c x86_64_CFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^x86_64_CPPFLAGS/c x86_64_CPPFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CPPFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^x86_64_CXXFLAGS/c x86_64_CXXFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CXXFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3)) -std=c++17' \ + -e '/^x86_64_LDFLAGS/c x86_64_LDFLAGS = $$($(2)_LIBFLAGS$(3)) $$($(2)_LDFLAGS$(3)) $$($(2)_LDFLAGS) $$(CROSSLDFLAGS)' \ + \ + -e '/^i386_CC/a i386_CXX = $$(TARGET_CROSS32)-g++' \ + -e '/^i386_CFLAGS/c i386_CFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^i386_CPPFLAGS/c i386_CPPFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CPPFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3))' \ + -e '/^i386_CXXFLAGS/c i386_CXXFLAGS = $$($(2)_INCFLAGS$(3)) $$($(2)_CXXFLAGS) $$(COMMON_FLAGS) $$(COMMON_FLAGS$(3)) -std=c++17' \ + -e '/^i386_LDFLAGS/c i386_LDFLAGS = $$($(2)_LIBFLAGS$(3)) $$($(2)_LDFLAGS$(3)) $$($(2)_LDFLAGS) $$(CROSSLDFLAGS)' \ + \ + -e 's@UNIXLDFLAGS =@UNIXLDFLAGS = -L$$(WINE_LIBDIR$(3))/$$(LIBDIR_WINE_$(3)) -l:ntdll.so@' \ + $$(WINE_OBJ$(3))/Makefile > $$($(2)_OBJ$(3))/Makefile + + cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ + $$(WINE_OBJ$(3))/tools/makedep + + touch $$@ + +$$(OBJ)/.$(1)-build$(3): + @echo ":: building $(3)bit $(1)..." >&2 + +cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ + $$(BEAR) $$(MAKE) + cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \ + $$(MAKE) install + touch $$@ +endef + +rules-makedep = $(call create-rules-makedep,$(1),$(call toupper,$(1)),$(2)) diff --git a/make/rules-source.mk b/make/rules-source.mk index 4903de0b3..f9257df10 100644 --- a/make/rules-source.mk +++ b/make/rules-source.mk @@ -8,12 +8,14 @@ # # outputs: # $($(2)_SRC): variable, absolute rsynced source folder +# $($(2)_ORIGIN): variable, absolute origin source folder # $(1)-rebuild: target, call it to force package rebuild # $(1)-source: target, tracking package source changes # $(1)-clean: target, clean package and force rebuild # define create-rules-source $(2)_SRC = $$(OBJ)/src-$(1) +$(2)_ORIGIN = $(3) $(1)-rebuild: .PHONY: $(1)-rebuild @@ -21,10 +23,10 @@ $(1)-rebuild: $$(OBJ)/.$(1)-source: SHELL := $$(SHELL) $$(OBJ)/.$(1)-source: $$(if $$(NO_MAKEFILE_DEPENDENCY),,$$(MAKEFILE_LIST)) $$(OBJ)/.$(1)-source: $$(shell echo -n 'syncing $(1)... ' >&2 && \ - rsync --dry-run --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" | \ + rsync --dry-run --filter=:C --exclude '*~' --exclude .git --exclude compile_commands.json $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" | \ grep -v -e ^$$$$ 2>/dev/null | grep -q ^ && echo $(1)-rebuild && \ echo 'done, dirty' >&2 || echo 'done' >&2) - rsync --filter=:C --exclude '*~' --exclude .git $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" $(--quiet?) + rsync --filter=:C --exclude '*~' --exclude .git --exclude compile_commands.json $$($(2)_SOURCE_ARGS) --info=name -Oarx --delete "$$(abspath $(3))/" "$$($(2)_SRC)" $(--quiet?) touch $$@ $$(OBJ)/.$(1)-post-source: $$(OBJ)/.$(1)-source diff --git a/openfst b/openfst new file mode 160000 index 000000000..7dfd80819 --- /dev/null +++ b/openfst @@ -0,0 +1 @@ +Subproject commit 7dfd808194105162f20084bb4d8e4ee4b65266d5 diff --git a/openvr b/openvr index 08de3821d..5e45960cf 160000 --- a/openvr +++ b/openvr @@ -1 +1 @@ -Subproject commit 08de3821dfd3aa46f778376680c68f33b9fdcb6c +Subproject commit 5e45960cf44d6eb19bbadcae4a3d32578a380c17 diff --git a/proton b/proton index 43dd50c4e..651c08fb1 100755 --- a/proton +++ b/proton @@ -40,7 +40,7 @@ from random import randrange #To enable debug logging, copy "user_settings.sample.py" to "user_settings.py" #and edit it if needed. -CURRENT_PREFIX_VERSION="8.0-103" +CURRENT_PREFIX_VERSION="8.0-104" PFX="Proton: " ld_path_var = "LD_LIBRARY_PATH" @@ -410,15 +410,15 @@ def set_dir_casefold_bit(dir_path): class Proton: def __init__(self, base_dir): self.base_dir = base_dir + "/" - self.dist_dir = self.path("dist/") - self.bin_dir = self.path("dist/bin/") - self.lib_dir = self.path("dist/lib/") - self.lib64_dir = self.path("dist/lib64/") - self.fonts_dir = self.path("dist/share/fonts/") - self.wine_fonts_dir = self.path("dist/share/wine/fonts/") - self.wine_inf = self.path("dist/share/wine/wine.inf") + self.dist_dir = self.path("files/") + self.bin_dir = self.path("files/bin/") + self.lib_dir = self.path("files/lib/") + self.lib64_dir = self.path("files/lib64/") + self.fonts_dir = self.path("files/share/fonts/") + self.wine_fonts_dir = self.path("files/share/wine/fonts/") + self.wine_inf = self.path("files/share/wine/wine.inf") self.version_file = self.path("version") - self.default_pfx_dir = self.path("dist/share/default_pfx/") + self.default_pfx_dir = self.path("files/share/default_pfx/") self.user_settings_file = self.path("user_settings.py") self.wine_bin = self.bin_dir + "wine" self.wine64_bin = self.bin_dir + "wine64" @@ -428,28 +428,34 @@ class Proton: def path(self, d): return self.base_dir + d - def need_tarball_extraction(self): - '''Checks if the proton_dist tarball archive must be extracted. Returns true if extraction is needed, false otherwise''' - return not file_exists(self.dist_dir, follow_symlinks=True) or \ - not file_exists(self.path("dist/version"), follow_symlinks=True) or \ - not filecmp.cmp(self.version_file, self.path("dist/version")) + def cleanup_legacy_dist(self): + old_dist_dir = self.path("dist/") + if file_exists(old_dist_dir, follow_symlinks=True): + with self.dist_lock: + if file_exists(old_dist_dir, follow_symlinks=True): + shutil.rmtree(old_dist_dir) - def extract_tarball(self): - with self.dist_lock: - if self.need_tarball_extraction(): - if file_exists(self.dist_dir, follow_symlinks=True): - shutil.rmtree(self.dist_dir) - tar = None - for sf in ["", ".xz", ".bz2", ".gz"]: - if file_exists(self.path("proton_dist.tar" + sf), follow_symlinks=True): - tar = tarfile.open(self.path("proton_dist.tar" + sf), mode="r:*") - break - if not tar: - log("No proton_dist tarball??") - sys.exit(1) - tar.extractall(path=self.dist_dir) - tar.close() - try_copy(self.version_file, self.dist_dir) + def do_steampipe_fixups(self): + fixups_json = self.path("steampipe_fixups.json") + fixups_mtime = self.path("files/steampipe_fixups_mtime") + + if file_exists(fixups_json, follow_symlinks=True): + with self.dist_lock: + import steampipe_fixups + + current_fixup_mtime = None + if file_exists(fixups_mtime, follow_symlinks=True): + with open(fixups_mtime, "r") as f: + current_fixup_mtime = f.readline().strip() + + new_fixup_mtime = getmtimestr(fixups_json) + + if current_fixup_mtime != new_fixup_mtime: + result_code = steampipe_fixups.do_restore(self.base_dir, fixups_json) + + if result_code == 0: + with open(fixups_mtime, "w") as f: + f.write(new_fixup_mtime + "\n") def missing_default_prefix(self): '''Check if the default prefix dir is missing. Returns true if missing, false if present''' @@ -785,10 +791,10 @@ class CompatData: self.migrate_user_paths() - if not os.path.lexists(self.prefix_dir + "/dosdevices/c:"): + if not file_exists(self.prefix_dir + "/dosdevices/c:", follow_symlinks=False): os.symlink("../drive_c", self.prefix_dir + "/dosdevices/c:") - if not os.path.lexists(self.prefix_dir + "/dosdevices/z:"): + if not file_exists(self.prefix_dir + "/dosdevices/z:", follow_symlinks=False): os.symlink("/", self.prefix_dir + "/dosdevices/z:") # collect configuration info @@ -797,7 +803,7 @@ class CompatData: use_wined3d = "wined3d" in g_session.compat_config use_dxvk_dxgi = not use_wined3d and \ not ("WINEDLLOVERRIDES" in g_session.env and "dxgi=b" in g_session.env["WINEDLLOVERRIDES"]) - use_nvapi = 'enablenvapi' in g_session.compat_config + use_nvapi = 'enablenvapi' in g_session.compat_config or 'forcenvapi' in g_session.compat_config builtin_dll_copy = os.environ.get("PROTON_DLL_COPY", #dxsetup redist @@ -942,13 +948,10 @@ class CompatData: g_session.dlloverrides[f] = "n" for f in vkd3d_protonfiles: - optional = False - if f == "d3d12core": - optional = True try_copy(g_proton.lib64_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/system32", - prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional) + prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) try_copy(g_proton.lib_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/syswow64", - prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional) + prefix=self.prefix_dir, track_file=tracked_files, link_debug=True) g_session.dlloverrides[f] = "n" # If the user requested the NVAPI be available, copy it into place. @@ -1058,7 +1061,10 @@ def default_compat_config(): ]: ret.add("noopwr") - if appid == "1621680": + if appid in [ + "1621680", + "359870", + ]: ret.add("noforcelgadd") if appid in [ @@ -1078,6 +1084,7 @@ def default_compat_config(): "202990", #Call of Duty: Black Ops II - Multiplayer "212910", #Call of Duty: Black Ops II - Zombies "499100", #Dark Parables: The Exiled Prince Collector's Edition (499100) + "1404090", #Trivia Tricks ]: ret.add("heapdelayfree") @@ -1219,6 +1226,12 @@ def default_compat_config(): "1358700", #STRANGER OF PARADISE FINAL FANTASY ORIGIN "1446780", #monster hunter rise "2379390", #Rainbow Six Extraction + "883710", #Resident Evil 2 + "952060", #Resident Evil 3 + "1196590", #Resident Evil Village + "418370", #Resident Evil 7 Biohazard + "990080", #Hogwarts Legacy + "526870", #Satisfactory ]: ret.add("enablenvapi") @@ -1227,9 +1240,19 @@ def default_compat_config(): "1888160", #Armored Core VI "814380", #Sekiro: Shadows Die Twice "2379390", #Rainbow Six Extraction + "883710", #Resident Evil 2 + "952060", #Resident Evil 3 + "1196590", #Resident Evil Village + "418370", #Resident Evil 7 Biohazard + "990080", #Hogwarts Legacy ]: ret.add("enableamdags") + if appid in [ + "2395210" #Tony Hawk's Pro Skater 1 + 2 + ]: + ret.add("forcenvapi") + return ret class Session: @@ -1400,6 +1423,7 @@ class Session: self.check_environment("PROTON_NO_XIM", "noxim") self.check_environment("PROTON_HEAP_DELAY_FREE", "heapdelayfree") self.check_environment("PROTON_ENABLE_NVAPI", "enablenvapi") + self.check_environment("PROTON_FORCE_NVAPI", "forcenvapi") self.check_environment("PROTON_ENABLE_AMD_AGS", "enableamdags") if "noesync" in self.compat_config: @@ -1426,6 +1450,9 @@ class Session: if "forcelgadd" in self.compat_config: self.env["WINE_LARGE_ADDRESS_AWARE"] = "1" + else: + if "noforcelgadd" in self.compat_config: + self.env["WINE_LARGE_ADDRESS_AWARE"] = "0" if "heapdelayfree" in self.compat_config: self.env["WINE_HEAP_DELAY_FREE"] = "1" @@ -1438,7 +1465,7 @@ class Session: self.env["VKD3D_FEATURE_LEVEL"] = "12_0" # enablenvapi beats hidenvgpu - if "hidenvgpu" in self.compat_config and "enablenvapi" not in self.compat_config: + if "hidenvgpu" in self.compat_config and "enablenvapi" not in self.compat_config and "forcenvapi" not in self.compat_config: self.env["WINE_HIDE_NVIDIA_GPU"] = "1" if "usenativexinput13" in self.compat_config: @@ -1514,9 +1541,17 @@ class Session: if "nativevulkanloader" in self.compat_config: self.dlloverrides["vulkan-1"] = "n" - if "enablenvapi" in self.compat_config: + if "enablenvapi" in self.compat_config or "forcenvapi" in self.compat_config: self.env["DXVK_ENABLE_NVAPI"] = "1" + if "forcenvapi" in self.compat_config: + self.env["DXVK_NVAPI_ALLOW_OTHER_DRIVERS"] = "1" + self.env["DXVK_NVAPI_DRIVER_VERSION"] = "99999" + self.env["WINE_HIDE_AMD_GPU"] = "1" + if "DXVK_CONFIG" not in self.env: + self.env["DXVK_CONFIG"] = ";" + self.env["DXVK_CONFIG"] = "dxgi.hideAmdGpu = True" + if "enableamdags" in self.compat_config: self.dlloverrides["amd_ags_x64"] = "b" @@ -1695,8 +1730,8 @@ if __name__ == "__main__": g_proton = Proton(os.path.dirname(sys.argv[0])) - if g_proton.need_tarball_extraction(): - g_proton.extract_tarball() + g_proton.cleanup_legacy_dist() + g_proton.do_steampipe_fixups() g_compatdata = CompatData(os.environ["STEAM_COMPAT_DATA_PATH"]) diff --git a/steam_helper/Makefile.in b/steam_helper/Makefile.in new file mode 100644 index 000000000..a35d32af0 --- /dev/null +++ b/steam_helper/Makefile.in @@ -0,0 +1,9 @@ +MODULE = steam.exe +IMPORTS = user32 advapi32 shlwapi shell32 msi ole32 + +EXTRADLLFLAGS = -mwindows -mcygwin -static-libgcc -static-libstdc++ -ldl +EXTRADEFS = -DWINE_NO_LONG_TYPES + +SOURCES = \ + jsoncpp.cpp \ + steam.cpp \ diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index 65b9c179e..7a39dfc19 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -36,6 +36,7 @@ #define WIN32_NO_STATUS #include #include +#include #include #include #include @@ -46,15 +47,21 @@ #pragma push_macro("_WIN32") #pragma push_macro("__cdecl") +#pragma push_macro("strncpy") #undef _WIN32 #undef __cdecl +#undef strncpy #include "steam_api.h" #pragma pop_macro("_WIN32") #pragma pop_macro("__cdecl") +#pragma pop_macro("strncpy") #include "wine/debug.h" +#pragma push_macro("wcsncpy") +#undef wcsncpy #include "json/json.h" +#pragma pop_macro("wcsncpy") #include "wine/unixlib.h" #include "wine/heap.h" @@ -66,7 +73,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(steam); -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) +static const WCHAR PROTON_VR_RUNTIME_W[] = {'P','R','O','T','O','N','_','V','R','_','R','U','N','T','I','M','E',0}; +static const WCHAR VR_PATHREG_OVERRIDE_W[] = {'V','R','_','P','A','T','H','R','E','G','_','O','V','E','R','R','I','D','E',0}; +static const WCHAR VR_OVERRIDE_W[] = {'V','R','_','O','V','E','R','R','I','D','E',0}; +static const WCHAR VR_CONFIG_PATH_W[] = {'V','R','_','C','O','N','F','I','G','_','P','A','T','H',0}; +static const WCHAR VR_LOG_PATH_W[] = {'V','R','_','L','O','G','_','P','A','T','H',0}; static bool env_nonzero(const char *env) { @@ -97,7 +108,7 @@ static DWORD WINAPI create_steam_window(void *arg) while (GetMessageW(&msg, NULL, 0, 0)) { TranslateMessage(&msg); - DispatchMessage(&msg); + DispatchMessageW(&msg); } return 0; @@ -246,16 +257,19 @@ static std::string get_linux_vr_path(void) static bool get_windows_vr_path(WCHAR *out_path, bool create) { + static const WCHAR openvrpathsW[] = {'\\','o','p','e','n','v','r','p','a','t','h','s','.','v','r','p','a','t','h',0}; + static const WCHAR openvrW[] = {'\\','o','p','e','n','v','r',0}; + if(FAILED(SHGetFolderPathW(NULL, CSIDL_LOCAL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, out_path))) return false; - lstrcatW(out_path, L"\\openvr"); + lstrcatW(out_path, openvrW); if(create) CreateDirectoryW(out_path, NULL); - lstrcatW(out_path, L"\\openvrpaths.vrpath"); + lstrcatW(out_path, openvrpathsW); return true; } @@ -463,11 +477,11 @@ static bool convert_linux_vrpaths(void) const char *vr_override = getenv("VR_OVERRIDE"); if(vr_override) { - set_env_from_unix(L"PROTON_VR_RUNTIME", vr_override); + set_env_from_unix(PROTON_VR_RUNTIME_W, vr_override); } else if(root.isMember("runtime") && root["runtime"].isArray() && root["runtime"].size() > 0) { - set_env_from_unix(L"PROTON_VR_RUNTIME", root["runtime"][0].asString()); + set_env_from_unix(PROTON_VR_RUNTIME_W, root["runtime"][0].asString()); } /* set hard-coded paths */ @@ -486,10 +500,10 @@ static bool convert_linux_vrpaths(void) root["external_drivers"] = Json::Value(Json::ValueType::nullValue); /* write out windows vrpaths */ - SetEnvironmentVariableW(L"VR_PATHREG_OVERRIDE", NULL); - SetEnvironmentVariableW(L"VR_OVERRIDE", NULL); - convert_environment_path("VR_CONFIG_PATH", L"VR_CONFIG_PATH"); - convert_environment_path("VR_LOG_PATH", L"VR_LOG_PATH"); + SetEnvironmentVariableW(VR_PATHREG_OVERRIDE_W, NULL); + SetEnvironmentVariableW(VR_OVERRIDE_W, NULL); + convert_environment_path("VR_CONFIG_PATH", VR_CONFIG_PATH_W); + convert_environment_path("VR_LOG_PATH", VR_LOG_PATH_W); Json::StyledWriter writer; WCHAR windows_vrpaths[MAX_PATH]; @@ -550,7 +564,7 @@ void* load_vrclient(void) #endif /* PROTON_VR_RUNTIME is provided by the proton setup script */ - if(!GetEnvironmentVariableW(L"PROTON_VR_RUNTIME", pathW, ARRAY_SIZE(pathW))) + if(!GetEnvironmentVariableW(PROTON_VR_RUNTIME_W, pathW, ARRAY_SIZE(pathW))) { WINE_TRACE("Linux OpenVR runtime is not available\n"); return 0; @@ -703,7 +717,7 @@ static DWORD WINAPI initialize_vr_data(void *arg) if (!(vrclient_VRClientCoreFactory = reinterpret_cast (dlsym(lib_vrclient, "VRClientCoreFactory")))) { - WINE_ERR("Could not find function %s.\n", vrclient_VRClientCoreFactory); + WINE_ERR("Could not find function VRClientCoreFactory.\n"); goto done; } if (!(client_core = vrclient_VRClientCoreFactory(vr::IVRClientCore_Version, &return_code))) @@ -780,7 +794,7 @@ static DWORD WINAPI initialize_vr_data(void *arg) (dlsym(unix_handle, "__wine_get_native_VkPhysicalDevice")); dlclose(unix_handle); - if (!__wine_get_native_VkPhysicalDevice) + if (!p__wine_get_native_VkPhysicalDevice) { WINE_ERR("__wine_get_native_VkPhysicalDevice not found.\n"); goto done; @@ -933,9 +947,9 @@ static void setup_vr_registry(void) return; } - if(GetEnvironmentVariableW(L"PROTON_VR_RUNTIME", pathW, ARRAY_SIZE(pathW))) + if(GetEnvironmentVariableW(PROTON_VR_RUNTIME_W, pathW, ARRAY_SIZE(pathW))) { - if ((status = RegSetValueExW(vr_key, L"PROTON_VR_RUNTIME", 0, REG_SZ, + if ((status = RegSetValueExW(vr_key, PROTON_VR_RUNTIME_W, 0, REG_SZ, (BYTE *)pathW, (lstrlenW(pathW) + 1) * sizeof(WCHAR)))) { WINE_ERR("Could not set PROTON_VR_RUNTIME value, status %#x.\n", status); @@ -1028,22 +1042,33 @@ static BOOL streq_niw(const WCHAR *l, const WCHAR *r, size_t len) return TRUE; } -static BOOL should_use_shell_execute(const WCHAR *cmdline) +static WCHAR* get_end_of_excutable_name(WCHAR *cmdline) { - BOOL use_shell_execute = TRUE; BOOL quoted = FALSE; - const WCHAR *executable_name_end = cmdline; + WCHAR *executable_name_end = cmdline; /* find the end of the first arg...*/ while (*executable_name_end != '\0' && - (*executable_name_end != ' ' || quoted) && - (*executable_name_end != '"' || !quoted)) + (*executable_name_end != ' ' || quoted)) { quoted ^= *executable_name_end == '"'; executable_name_end++; } + return executable_name_end; +} + +static BOOL should_use_shell_execute(WCHAR *cmdline) +{ + BOOL use_shell_execute = TRUE; + const WCHAR *executable_name_end = (const WCHAR*)get_end_of_excutable_name(cmdline); + + /* if the executable is quoted backtrack a bit */ + if (*(executable_name_end - 1) == '"') + --executable_name_end; + + /* backtrack to before the end of the arg * and check if we end in .exe or not * and determine whether to use ShellExecute @@ -1063,6 +1088,22 @@ static BOOL should_use_shell_execute(const WCHAR *cmdline) static HANDLE run_process(BOOL *should_await, BOOL game_process) { + static const WCHAR link2eaW[] = {'l','i','n','k','2','e','a',':','/','/',0}; + static const WCHAR link2ea_pathW[] = + { + 'S','o','f','t','w','a','r','e','\\','C','l','a','s','s','e','s','\\','l','i','n','k','2','e','a',0 + }; + static const WCHAR ea_desktop_pathW[] = + { + 'S','o','f','t','w','a','r','e','\\','E','l','e','c','t','r','o','n','i','c',' ','A','r','t','s', + '\\','E','A',' ','D','e','s','k','t','o','p',0 + }; + static const WCHAR ea_core_pathW[] = + { + 'S','o','f','t','w','a','r','e','\\','E','l','e','c','t','r','o','n','i','c',' ','A','r','t','s', + '\\','E','A',' ','C','o','r','e',0 + }; + static const WCHAR IsUnavailableW[] = {'I','s','U','n','a','v','a','i','l','a','b','l','e',0}; WCHAR *cmdline = GetCommandLineW(); STARTUPINFOW si = { sizeof(si) }; PROCESS_INFORMATION pi; @@ -1174,7 +1215,7 @@ static HANDLE run_process(BOOL *should_await, BOOL game_process) SetConsoleCtrlHandler( console_ctrl_handler, TRUE ); use_shell_execute = should_use_shell_execute(cmdline); - if (use_shell_execute && lstrlenW(cmdline) > 10 && !memcmp(cmdline, L"link2ea://", 10 *sizeof(WCHAR))) + if (use_shell_execute && lstrlenW(cmdline) > 10 && !memcmp(cmdline, link2eaW, 10 *sizeof(WCHAR))) { HDESK desktop = GetThreadDesktop(GetCurrentThreadId()); DWORD is_unavailable, type, size; @@ -1185,15 +1226,15 @@ static HANDLE run_process(BOOL *should_await, BOOL game_process) if (!SetUserObjectInformationA(desktop, 1000, &timeout, sizeof(timeout))) WINE_ERR("Failed to set desktop timeout, err %u.\n", GetLastError()); - if (!RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"Software\\Electronic Arts\\EA Desktop", 0, KEY_ALL_ACCESS, &eakey)) + if (!RegOpenKeyExW(HKEY_LOCAL_MACHINE, ea_desktop_pathW, 0, KEY_ALL_ACCESS, &eakey)) { size = sizeof(is_unavailable); - if (!RegQueryValueExW(eakey, L"IsUnavailable", NULL, &type, (BYTE *)&is_unavailable, &size) + if (!RegQueryValueExW(eakey, IsUnavailableW, NULL, &type, (BYTE *)&is_unavailable, &size) && type == REG_DWORD && is_unavailable) { WINE_ERR("EA Desktop\\IsUnavailable is set, clearing.\n"); is_unavailable = 0; - RegSetValueExW(eakey, L"IsUnavailable", 0, REG_DWORD, (BYTE *)&is_unavailable, sizeof(is_unavailable)); + RegSetValueExW(eakey, IsUnavailableW, 0, REG_DWORD, (BYTE *)&is_unavailable, sizeof(is_unavailable)); } RegCloseKey(eakey); } @@ -1211,22 +1252,32 @@ static HANDLE run_process(BOOL *should_await, BOOL game_process) if (use_shell_execute) { + WCHAR *param = NULL; + WCHAR *executable_name_end = get_end_of_excutable_name(cmdline); + if (*executable_name_end != '\0') + { + *executable_name_end = '\0'; + param = executable_name_end+1; + } static const WCHAR verb[] = { 'o', 'p', 'e', 'n', 0 }; INT_PTR ret; - if ((ret = (INT_PTR)ShellExecuteW(NULL, verb, cmdline, NULL, NULL, hide_window ? SW_HIDE : SW_SHOWNORMAL)) < 32) + if ((ret = (INT_PTR)ShellExecuteW(NULL, verb, cmdline, param, NULL, hide_window ? SW_HIDE : SW_SHOWNORMAL)) < 32) { WINE_ERR("Failed to execture %s, ret %u.\n", wine_dbgstr_w(cmdline), (unsigned int)ret); if (game_process && ret == SE_ERR_NOASSOC && link2ea) { + static const WCHAR msi_guidW[] = {'{','C','2','6','2','2','0','8','5','-','A','B','D','2','-','4','9','E','5','-','8','A','B','9','-','D','3','D','6','A','6','4','2','C','0','9','1','}',0}; + static const WCHAR REMOVE_ALL_W[] = {'R','E','M','O','V','E','=','A','L','L',0}; + /* Try to uninstall EA desktop so it is set up from prerequisites on the next run. */ - UINT ret = MsiConfigureProductExW(L"{C2622085-ABD2-49E5-8AB9-D3D6A642C091}", 0, INSTALLSTATE_DEFAULT, L"REMOVE=ALL"); + UINT ret = MsiConfigureProductExW(msi_guidW, 0, INSTALLSTATE_DEFAULT, REMOVE_ALL_W); WINE_TRACE("MsiConfigureProductExW ret %u.\n", ret); /* If uninstall failed this should trigger interactive repair window on the EA setup run. */ - RegDeleteTreeW(HKEY_LOCAL_MACHINE, L"Software\\Classes\\link2ea"); - RegDeleteTreeW(HKEY_LOCAL_MACHINE, L"Software\\Electronic Arts\\EA Desktop"); - RegDeleteTreeW(HKEY_LOCAL_MACHINE, L"Software\\Electronic Arts\\EA Core"); + RegDeleteTreeW(HKEY_LOCAL_MACHINE, link2ea_pathW); + RegDeleteTreeW(HKEY_LOCAL_MACHINE, ea_desktop_pathW); + RegDeleteTreeW(HKEY_LOCAL_MACHINE, ea_core_pathW); } } return INVALID_HANDLE_VALUE; @@ -1316,16 +1367,28 @@ static BOOL steam_command_handler(int argc, char *argv[]) WINE_ERR("Forwarding"); for (i = 0; i < argc; ++i) WINE_ERR(" %s", wine_dbgstr_a(argv[i])); - WINE_ERR(" to native steam failed, status %#lx.\n", status); + WINE_ERR(" to native steam failed, status %#x.\n", status); } return TRUE; } static void setup_steam_files(void) { - static const WCHAR config_pathW[] = L"C:\\Program Files (x86)\\Steam\\config"; - static const WCHAR steamapps_pathW[] = L"C:\\Program Files (x86)\\Steam\\steamapps"; - static const WCHAR libraryfolders_nameW[] = L"C:\\Program Files (x86)\\Steam\\steamapps\\libraryfolders.vdf"; + static const WCHAR config_pathW[] = + { + 'C',':','\\','P','r','o','g','r','a','m',' ','F','i','l','e','s',' ','(','x','8','6',')','\\','S','t','e','a','m', + '\\','c','o','n','f','i','g',0, + }; + static const WCHAR steamapps_pathW[] = + { + 'C',':','\\','P','r','o','g','r','a','m',' ','F','i','l','e','s',' ','(','x','8','6',')','\\','S','t','e','a','m', + '\\','s','t','e','a','m','a','p','p','s',0, + }; + static const WCHAR libraryfolders_nameW[] = + { + 'C',':','\\','P','r','o','g','r','a','m',' ','F','i','l','e','s',' ','(','x','8','6',')','\\','S','t','e','a','m', + '\\','s','t','e','a','m','a','p','p','s','\\','l','i','b','r','a','r','y','f','o','l','d','e','r','s','.','v','d','f',0, + }; const char *steam_install_path = getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH"); const char *steam_library_paths = getenv("STEAM_COMPAT_LIBRARY_PATHS"); const char *start, *end, *next; @@ -1432,8 +1495,8 @@ static void setup_steam_files(void) static HANDLE find_ack_event(void) { - static const WCHAR steam_ack_event[] = L"STEAM_START_ACK_EVENT"; - static const WCHAR name[] = L"\\BaseNamedObjects\\Session\\1"; + static const WCHAR steam_ack_event[] = {'S','T','E','A','M','_','S','T','A','R','T','_','A','C','K','_','E','V','E','N','T',0}; + static const WCHAR name[] = {'\\','B','a','s','e','N','a','m','e','d','O','b','j','e','c','t','s','\\','S','e','s','s','i','o','n','\\','1',0}; DIRECTORY_BASIC_INFORMATION *di; OBJECT_ATTRIBUTES attr; HANDLE dir, ret = NULL; diff --git a/steampipe_fixups.py b/steampipe_fixups.py new file mode 100755 index 000000000..e5646ebe6 --- /dev/null +++ b/steampipe_fixups.py @@ -0,0 +1,116 @@ +#!/usr/bin/env python3 + +#Steampipe doesn't support certain unix-y things which may be required by +#native Linux applications. This file will process a directory of Linux files +#and store the file properties into a manifest file. After a round trip through +#Steampipe, the original file properties can be restored using this same +#script. + +import json +import os +import secrets +import stat + +DEFAULT_MANIFEST_NAME = "steampipe_fixups.json" + +def usage(): + print("Usage:") + print("\t" + sys.argv[0] + "\tprepare\t\t[manifest output file]") + print("\t\tProcess the given path and output the manifest file to the given path, or if unspecified.") + print("") + print("\t" + sys.argv[0] + "\trestore\t\t[manifest file]") + print("\t\tRestore the given path using the manifest file, or if unspecified.") + +empty_dirs = [] +no_write_paths = [] + +def canonicalize(path, prefix): + return path.replace(prefix, "", 1).lstrip('/') + +def process_dir(path): + for root, subdirs, files in os.walk(path): + if len(subdirs) == 0 and len(files) == 0: + empty_dirs.append(canonicalize(root, path)) + + for file_ in files: + this_file = os.path.join(root, file_) + stat_result = os.lstat(this_file) + if (stat_result.st_mode & stat.S_IWUSR) == 0: + no_write_paths.append(canonicalize(this_file, path)) + + return 0 + +def write_manifest(manifest): + out = open(manifest, "w") + json.dump( + { + "id": str(secrets.randbits(32)), #we need steampipe to update this file for every build + "empty_dirs": empty_dirs, + "no_write_paths": no_write_paths, + }, + out, + indent = 4, + sort_keys = True + ) + return 0 + +def do_process(path, manifest): + if os.path.exists(manifest): + os.remove(manifest) + + ret = process_dir(path) + if ret != 0: + return ret + + #output should be deterministic + empty_dirs.sort() + no_write_paths.sort() + + ret = write_manifest(manifest) + if ret != 0: + return ret + + return 0 + +def do_restore(path, manifest): + loaded = json.load(open(manifest, "r")) + + empty_dirs = loaded["empty_dirs"] + no_write_paths = loaded["no_write_paths"] + + for empty_dir in empty_dirs: + try: + os.makedirs(os.path.join(path, empty_dir)) + except OSError: + #already exists + pass + + for file_ in no_write_paths: + this_file = os.path.join(path, file_) + stat_result = os.lstat(this_file) + os.chmod(this_file, + stat_result.st_mode & ~(stat.S_IWUSR | stat.S_IWGRP | stat.S_IWOTH)) + + return 0 + +if __name__ == '__main__': + import sys + if len(sys.argv) < 3 or len(sys.argv) > 4: + usage() + sys.exit(1) + + verb = sys.argv[1] + path = sys.argv[2] + if len(sys.argv) >= 4: + manifest = sys.argv[3] + else: + manifest = os.path.join(path, DEFAULT_MANIFEST_NAME) + + if verb == "process": + sys.exit(do_process(path, manifest)) + + if verb == "restore": + sys.exit(do_restore(path, manifest)) + + usage() + sys.exit(1) diff --git a/symstore/Makefile b/symstore/Makefile new file mode 100644 index 000000000..2dc420859 --- /dev/null +++ b/symstore/Makefile @@ -0,0 +1,4 @@ +all: symstore + +symstore: symstore.c + $(CC) -o $@ symstore.c $(SYMSTORE_CFLAGS) -D__WINESRC__ -DWINE_UNIX_LIB -Wall -g -Wall -Wno-packed-not-aligned diff --git a/symstore/guidelines-deploy.md b/symstore/guidelines-deploy.md new file mode 100644 index 000000000..d2a740133 --- /dev/null +++ b/symstore/guidelines-deploy.md @@ -0,0 +1,17 @@ +# Building the symbol server + +From a Proton build environment, after building Proton, run +``` +make symstore-tarball +``` +This will create in /symstore a .zip file, named after the +release being built (-symstore.zip). + +# Requirements for symbol server + +This requires mapping a directory (and all its sub-hierarchy) at +a given URI. + +There are two strong requirements: +- all files in must be served as binary, +- the mapping of must be case insensitive. diff --git a/symstore/guidelines.md b/symstore/guidelines.md new file mode 100644 index 000000000..58c57b7b1 --- /dev/null +++ b/symstore/guidelines.md @@ -0,0 +1,74 @@ +This small note to describe how a windows developer can inject +minidump files generated from a crash of a game running under Proton +Steam (desktop or Deck). + +Note: this doesn't apply if the application is running managed code as +it's required more compabilities between .NET and Mono. So, from now +on, we only consider native (non managed) code. + +These minidumps are fully reloadable under Microsoft tools (WinDbg or +Visual Studio) when the binaries of the Proton system files are made +available to the debugging tool. +It's mandatory for reloading a minidump created with a given Proton +version that the very same Proton system files are made avaiable to +the machine running the debugging tool. + +If the right version is not installed, the debugging tool will likely +emit warnings (like "couldn't match module", or "invalid time +stamp"). This means the debugging tool will report likely bogus +information, and your setup must be fixed before going any further. + +# Installing on dev machine + +Each new released proton version (starting at Proton 8.0-4) will also be +available as a zip package to be installed inside symbol store. + +The .zip file is available as a part of GitHub release and is named +-symstore.zip. + +You must create a top directory (referred as below) and +extract the zip file with as the parent directory. + +Each time a new Proton's version is released, this extraction scheme +has to be done in order to have proper access to minidumps generated +from this Proton version. + +# Setting up the debugging tools + +## WinDbg + +In the WinDbg "File > Settings" menu, in the "Symbols path" pane, add +``` +srv* +``` +Of course, one can add also the paths to the application being +debugged. + +## Visual Studio + +In Visual Studio: +- Open the minidump from the "File > Open > File" menu +- Open the "Set Symbol paths" item, and add a (.pdb) store pointing to + +- Depending on your project settings, you could also have another + store pointing to your own application +- Then start debugging by using the "Debug with..." appropriate to + your project. + +## Other debugging tool + +If the tool supports symbol stores, then there's should be a similar +configuration as described above for MS tools. + +[[ Note: the settings above should work also if we're able to generate +.pdb files along side the images ]] + +# Public store + +A Proton symbol store is available at . + +Then no local installation is required, only setting the +``` +srv* +``` +in the debugging tools would be required. diff --git a/symstore/symstore.c b/symstore/symstore.c new file mode 100644 index 000000000..91347ae83 --- /dev/null +++ b/symstore/symstore.c @@ -0,0 +1,383 @@ +/* + * Eric Pouech for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "config.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +#define _XOPEN_SOURCE 700 +#include +#include +#include + + +#include "windef.h" +#include "winbase.h" +#include "winnt.h" + +static BOOL verbose; +static BOOL skip_managed_code; +static unsigned skipped_files; +static unsigned inserted_files; +static unsigned conflict_files; +static enum {MAP_ASIS, MAP_LOWERCASE, MAP_UPPERCASE} case_sensitivity; + +static void usage(const char* error, ...) +{ + if (error) + { + va_list valist; + + va_start( valist, error ); + vfprintf( stderr, error, valist ); + va_end( valist ); + } + fprintf(stderr, + "symstore [options] \n" + " the top of a Proton dist tree\n" + " the top of a symstore-like tree generated from \n"); + fprintf(stderr, + "options:\n" + " -v prints verbose information\n" + " --lower-case write every filename in in lower case\n" + " --upper-case write every filename in in upper case\n" + " (by default, case of filename is preserved\n"); + + exit(1); +} + +static BOOL ensure_path_exists(const char* in) +{ + char path[MAX_PATH]; + char* p; + + p = strcpy(path, in); + if (*p == '/') p++; + for (;;) + { + p = strchr(p, '/'); + if (!p) break; + *p = '\0'; + if (mkdir(path, 0777) < 0) + { + struct stat st; + if (errno != EEXIST || stat(path, &st) < 0 || (st.st_mode & S_IFMT) != S_IFDIR) + { + printf("failed to create %s from %s\n", path, in); + return FALSE; + } + } + *p++ = '/'; + } + return TRUE; +} + +static BOOL copy_file(const char* from, const char* to) +{ + struct stat st; + FILE* f1; + FILE* f2; + BOOL ret = FALSE; + + if (stat(to, &st) == 0) return FALSE; + f1 = fopen(from, "rb"); + f2 = fopen(to, "wb"); + if (f1 && f2) + { + char buffer[512]; + size_t len1, len2; + + while ((len1 = fread(buffer, 1, ARRAYSIZE(buffer), f1))) + { + len2 = fwrite(buffer, 1, len1, f2); + if (len1 != len2) break; + } + ret = feof(f1); + } + if (f1) fclose(f1); + if (f2) fclose(f2); + return ret; +} + +static BOOL files_same_content(const char* file1, const char* file2) +{ + FILE* f1 = fopen(file1, "rb"); + FILE* f2 = fopen(file2, "rb"); + BOOL ret = FALSE; + + if (f1 && f2) + { + char buffer1[512], buffer2[512]; + size_t len1, len2; + + for (;;) + { + len1 = fread(buffer1, 1, ARRAYSIZE(buffer1), f1); + len2 = fread(buffer2, 1, ARRAYSIZE(buffer2), f2); + if (len1 != len2) break; + if (len1 && memcmp(buffer1, buffer2, len1)) break; + if ((ret = (feof(f1) && feof(f2)))) break; + } + } + if (f1) fclose(f1); + if (f2) fclose(f2); + return ret; +} + +static BOOL validate_proton_dist(const char* src) +{ + char buffer[MAX_PATH]; + struct stat st; + BOOL allgood = TRUE; + + snprintf(buffer, ARRAYSIZE(buffer), "%s/%s", src, "version"); + allgood = stat(buffer, &st) == 0 && (st.st_mode & S_IFMT) == S_IFREG; + + snprintf(buffer, ARRAYSIZE(buffer), "%s/%s", src, "files"); + allgood = allgood && stat(buffer, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR; + + return allgood; +} + +static const IMAGE_DATA_DIRECTORY* get_directory(const IMAGE_NT_HEADERS64* nthdr, unsigned entry) +{ + if (nthdr->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC) + return entry < nthdr->OptionalHeader.NumberOfRvaAndSizes ? + &nthdr->OptionalHeader.DataDirectory[entry] : NULL; + if (nthdr->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC) + { + const IMAGE_NT_HEADERS32* nthdr32 = (const IMAGE_NT_HEADERS32*)nthdr; + return entry < nthdr32->OptionalHeader.NumberOfRvaAndSizes ? + &nthdr32->OptionalHeader.DataDirectory[entry] : NULL; + } + return NULL; +} + +static BOOL get_pe_srvinfo(const char* from, unsigned* timestamp, unsigned* size) +{ + static char header_buffer[1024]; + int fd; + ssize_t header_read; + const IMAGE_DOS_HEADER* dos; + const IMAGE_NT_HEADERS64* nthdr; + BOOL ret = FALSE; + + /* HACK!!! */ + /* find a better way to drop out debug only PE images */ + if (strlen(from) > 6 && !strcasecmp(from + strlen(from) - 6, ".debug")) return FALSE; + + if ((fd = open(from, O_RDONLY/* | O_BINARY */)) == -1) return FALSE; + header_read = read(fd, header_buffer, sizeof(header_buffer)); + if (header_read >= 0) + { +#define X(t, p) (((p) + sizeof(t) < header_read) ? (const t*)(header_buffer + p) : NULL) + + if ((dos = X(IMAGE_DOS_HEADER, 0)) != NULL && + dos->e_magic == IMAGE_DOS_SIGNATURE && + (nthdr = X(IMAGE_NT_HEADERS64, dos->e_lfanew)) != NULL && + nthdr->Signature == IMAGE_NT_SIGNATURE) + { + const IMAGE_DATA_DIRECTORY* dir = get_directory(nthdr, IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR); + *timestamp = nthdr->FileHeader.TimeDateStamp; + + ret = !(skip_managed_code && dir && dir->Size); + + if (nthdr->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC) + { + *size = nthdr->OptionalHeader.SizeOfImage; + } + else if (nthdr->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC) + { + const IMAGE_NT_HEADERS32* nthdr32 = (const IMAGE_NT_HEADERS32*)nthdr; + *size = nthdr32->OptionalHeader.SizeOfImage; + } + else ret = FALSE; + } +#undef X + } + close(fd); + return ret; +} + +static BOOL get_discriminant(const char* from, char* buffer, unsigned len) +{ + unsigned timestamp, size; + + if (get_pe_srvinfo(from, ×tamp, &size)) + { + /* PE image */ + if (timestamp && size) + return snprintf(buffer, len, "%X%x", timestamp, size) < len; + if (!timestamp && size) + fprintf(stderr, "Image %s has 0-timestamp\n", from); + } +#if 0 + static GUID null_guid; + /* PDB DS */ + if (!IsEqualGUID(&info.guid, &null_guid) && info.age) + return snprintf(buffer, len, "%08x%04x%04x%02x%02x%02x%02x%02x%02x%02x%02x%lx", + info.guid.Data1, info.guid.Data2, info.guid.Data3, + info.guid.Data4[0], info.guid.Data4[1], + info.guid.Data4[2], info.guid.Data4[3], + info.guid.Data4[4], info.guid.Data4[5], + info.guid.Data4[6], info.guid.Data4[7], + info.age) < len; + + /* PDS JG and DBG are likely not needed */ + + } +#endif + if (verbose) + fprintf(stderr, "Not a MS image or debug file %s\n", from); + skipped_files++; + + return FALSE; +} + +static void insert(const char* from, const char* dst) +{ + char discrim[64]; + + if (get_discriminant(from, discrim, ARRAYSIZE(discrim))) + { + char out[MAX_PATH]; + const char* last = strrchr(from, '/'); + assert(last); + + snprintf(out, ARRAYSIZE(out), "%s/%s/%s/%s", dst, last + 1, discrim, last + 1); + + if (verbose) + printf("Copying %s into %s\n", from, out); + if (!ensure_path_exists(out)) + { + fprintf(stderr, "Couldn't create directories for %s\n", out); + } + else if (copy_file(from, out) || files_same_content(from, out)) + inserted_files++; + else + { + fprintf(stderr, "Conflict for file %s (%s)\n", out, from); + conflict_files++; + } + } +} + +static void recurse(char* buffer, const char* dst) +{ + DIR* dp; + struct dirent* ep; + size_t at; + struct stat st; + + if (verbose > 1) + fprintf(stderr, "Recursing into %s\n", buffer); + + at = strlen(buffer); + + if ((dp = opendir(buffer)) == NULL) + { + fprintf(stderr, "'%s' doesn't exist\n", buffer); + usage(NULL); + } + while ((ep = readdir(dp)) != NULL) + { + if (!strcmp(ep->d_name, ".") || !strcmp(ep->d_name, "..")) continue; + + if (at + 1 + strlen(ep->d_name) < MAX_PATH) + { + char* ptr; + + buffer[at] = '/'; + strcpy(buffer + at + 1, ep->d_name); + switch (case_sensitivity) + { + case MAP_ASIS: + break; + case MAP_LOWERCASE: + for (ptr = buffer + at; *ptr; ptr++) + *ptr = tolower(*ptr); + break; + case MAP_UPPERCASE: + for (ptr = buffer + at; *ptr; ptr++) + *ptr = toupper(*ptr); + break; + } + if (stat(buffer, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) + recurse(buffer, dst); + else + insert(buffer, dst); + } + else + { + fprintf(stderr, "Too long filename at %s %s\n", buffer, ep->d_name); + } + } + closedir (dp); + buffer[at] = '\0'; +} + +int main(int argc, char* argv[]) +{ + char src_buffer[MAX_PATH]; + const char* src = NULL; + const char* dst = NULL; + int i; + + for (i = 1; i < argc; i++) + { + if (argv[i][0] == '-') + { + if (!strcmp(argv[i], "-v")) verbose++; + else if (!strcmp(argv[i], "--skip-managed")) skip_managed_code = TRUE; + else if (!strcmp(argv[i], "--lower-case")) case_sensitivity = MAP_LOWERCASE; + else if (!strcmp(argv[i], "--upper-case")) case_sensitivity = MAP_UPPERCASE; + else usage("Unknown option %s\n", argv[i]); + } + else + { + if (!src) src = argv[i]; + else if (!dst) dst = argv[i]; + else usage("Incorrect argument %s\n", argv[i]); + } + } + if (!dst) usage("Missing argument\n"); + if (!validate_proton_dist(src)) usage("%s isn't a Proton directory\n", src); + + strcpy(src_buffer, src); + if (src_buffer[strlen(src_buffer) - 1] == '/') src_buffer[strlen(src_buffer) - 1] = '\0'; + + recurse(src_buffer, dst); + + printf("Status for inserting %s into %s\n", src, dst); + printf(" %4u files copied\n", inserted_files); + printf(" %4u files skipped\n", skipped_files); + if (conflict_files) + printf(" %4u files in conflict\n", conflict_files); + + return 0; +} diff --git a/vkd3d b/vkd3d index 28c93a47d..a16b9dffd 160000 --- a/vkd3d +++ b/vkd3d @@ -1 +1 @@ -Subproject commit 28c93a47d59add6df25f932a025f647c327dafa7 +Subproject commit a16b9dffda9becb1dbcad476c38b78f2144f35b4 diff --git a/vkd3d-proton b/vkd3d-proton index f52e6482b..eb4b41173 160000 --- a/vkd3d-proton +++ b/vkd3d-proton @@ -1 +1 @@ -Subproject commit f52e6482bc63d907054025c5eaf8c0d71a7a9f28 +Subproject commit eb4b411734f8de04912c4a950f407f25a92f35ab diff --git a/vosk-api b/vosk-api new file mode 160000 index 000000000..12f29a341 --- /dev/null +++ b/vosk-api @@ -0,0 +1 @@ +Subproject commit 12f29a3415e4967e088ed09202bfb0007e5a1787 diff --git a/vrclient_x64/Makefile.in b/vrclient_x64/Makefile.in new file mode 100644 index 000000000..fdcb344b0 --- /dev/null +++ b/vrclient_x64/Makefile.in @@ -0,0 +1,153 @@ +MODULE = vrclient.dll +MODULE_x64 = vrclient_x64.dll +IMPORTS = advapi32 + +EXTRADLLFLAGS = -mcygwin -static-libgcc -static-libstdc++ -ldl +EXTRADEFS = -DWINE_NO_LONG_TYPES -DGNUC + +SOURCES = \ + flatapi.c \ + vrclient_generated.c \ + vrclient_main.c \ + vrcompositor_manual.c \ + vrinput_manual.c \ + vroverlay_manual.c \ + vrsystem_manual.c \ + vrrendermodels_manual.c \ + winIVRApplications.c \ + winIVRChaperone.c \ + winIVRChaperoneSetup.c \ + winIVRClientCore.c \ + winIVRCompositor.c \ + winIVRControlPanel.c \ + winIVRDriverManager.c \ + winIVRExtendedDisplay.c \ + winIVRHeadsetView.c \ + winIVRInput.c \ + winIVRIOBuffer.c \ + winIVRMailbox.c \ + winIVRNotifications.c \ + winIVROverlay.c \ + winIVROverlayView.c \ + winIVRRenderModels.c \ + winIVRResources.c \ + winIVRScreenshots.c \ + winIVRSettings.c \ + winIVRSystem.c \ + winIVRTrackedCamera.c \ + cppIVRApplications_IVRApplications_001.cpp \ + cppIVRApplications_IVRApplications_002.cpp \ + cppIVRApplications_IVRApplications_003.cpp \ + cppIVRApplications_IVRApplications_004.cpp \ + cppIVRApplications_IVRApplications_005.cpp \ + cppIVRApplications_IVRApplications_006.cpp \ + cppIVRApplications_IVRApplications_007.cpp \ + cppIVRChaperone_IVRChaperone_002.cpp \ + cppIVRChaperone_IVRChaperone_003.cpp \ + cppIVRChaperone_IVRChaperone_004.cpp \ + cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp \ + cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp \ + cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp \ + cppIVRClientCore_IVRClientCore_002.cpp \ + cppIVRClientCore_IVRClientCore_003.cpp \ + cppIVRCompositor_IVRCompositor_005.cpp \ + cppIVRCompositor_IVRCompositor_006.cpp \ + cppIVRCompositor_IVRCompositor_007.cpp \ + cppIVRCompositor_IVRCompositor_008.cpp \ + cppIVRCompositor_IVRCompositor_009.cpp \ + cppIVRCompositor_IVRCompositor_010.cpp \ + cppIVRCompositor_IVRCompositor_011.cpp \ + cppIVRCompositor_IVRCompositor_012.cpp \ + cppIVRCompositor_IVRCompositor_013.cpp \ + cppIVRCompositor_IVRCompositor_014.cpp \ + cppIVRCompositor_IVRCompositor_015.cpp \ + cppIVRCompositor_IVRCompositor_016.cpp \ + cppIVRCompositor_IVRCompositor_017.cpp \ + cppIVRCompositor_IVRCompositor_018.cpp \ + cppIVRCompositor_IVRCompositor_019.cpp \ + cppIVRCompositor_IVRCompositor_020.cpp \ + cppIVRCompositor_IVRCompositor_021.cpp \ + cppIVRCompositor_IVRCompositor_022.cpp \ + cppIVRCompositor_IVRCompositor_024.cpp \ + cppIVRCompositor_IVRCompositor_026.cpp \ + cppIVRCompositor_IVRCompositor_027.cpp \ + cppIVRControlPanel_IVRControlPanel_006.cpp \ + cppIVRDriverManager_IVRDriverManager_001.cpp \ + cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp \ + cppIVRHeadsetView_IVRHeadsetView_001.cpp \ + cppIVRInput_IVRInput_003.cpp \ + cppIVRInput_IVRInput_004.cpp \ + cppIVRInput_IVRInput_005.cpp \ + cppIVRInput_IVRInput_006.cpp \ + cppIVRInput_IVRInput_007.cpp \ + cppIVRInput_IVRInput_010.cpp \ + cppIVRIOBuffer_IVRIOBuffer_001.cpp \ + cppIVRIOBuffer_IVRIOBuffer_002.cpp \ + cppIVRMailbox_IVRMailbox_001.cpp \ + cppIVRNotifications_IVRNotifications_001.cpp \ + cppIVRNotifications_IVRNotifications_002.cpp \ + cppIVROverlay_IVROverlay_001.cpp \ + cppIVROverlay_IVROverlay_002.cpp \ + cppIVROverlay_IVROverlay_003.cpp \ + cppIVROverlay_IVROverlay_004.cpp \ + cppIVROverlay_IVROverlay_005.cpp \ + cppIVROverlay_IVROverlay_007.cpp \ + cppIVROverlay_IVROverlay_008.cpp \ + cppIVROverlay_IVROverlay_010.cpp \ + cppIVROverlay_IVROverlay_011.cpp \ + cppIVROverlay_IVROverlay_012.cpp \ + cppIVROverlay_IVROverlay_013.cpp \ + cppIVROverlay_IVROverlay_014.cpp \ + cppIVROverlay_IVROverlay_016.cpp \ + cppIVROverlay_IVROverlay_017.cpp \ + cppIVROverlay_IVROverlay_018.cpp \ + cppIVROverlay_IVROverlay_019.cpp \ + cppIVROverlay_IVROverlay_020.cpp \ + cppIVROverlay_IVROverlay_021.cpp \ + cppIVROverlay_IVROverlay_022.cpp \ + cppIVROverlay_IVROverlay_024.cpp \ + cppIVROverlay_IVROverlay_025.cpp \ + cppIVROverlay_IVROverlay_026.cpp \ + cppIVROverlay_IVROverlay_027.cpp \ + cppIVROverlayView_IVROverlayView_003.cpp \ + cppIVRRenderModels_IVRRenderModels_001.cpp \ + cppIVRRenderModels_IVRRenderModels_002.cpp \ + cppIVRRenderModels_IVRRenderModels_004.cpp \ + cppIVRRenderModels_IVRRenderModels_005.cpp \ + cppIVRRenderModels_IVRRenderModels_006.cpp \ + cppIVRResources_IVRResources_001.cpp \ + cppIVRScreenshots_IVRScreenshots_001.cpp \ + cppIVRSettings_IVRSettings_001.cpp \ + cppIVRSettings_IVRSettings_002.cpp \ + cppIVRSettings_IVRSettings_003.cpp \ + cppIVRSystem_IVRSystem_003.cpp \ + cppIVRSystem_IVRSystem_004.cpp \ + cppIVRSystem_IVRSystem_005.cpp \ + cppIVRSystem_IVRSystem_006.cpp \ + cppIVRSystem_IVRSystem_009.cpp \ + cppIVRSystem_IVRSystem_010.cpp \ + cppIVRSystem_IVRSystem_011.cpp \ + cppIVRSystem_IVRSystem_012.cpp \ + cppIVRSystem_IVRSystem_014.cpp \ + cppIVRSystem_IVRSystem_015.cpp \ + cppIVRSystem_IVRSystem_016.cpp \ + cppIVRSystem_IVRSystem_017.cpp \ + cppIVRSystem_IVRSystem_019.cpp \ + cppIVRSystem_IVRSystem_020.cpp \ + cppIVRSystem_IVRSystem_021.cpp \ + cppIVRSystem_IVRSystem_022.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_001.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_002.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_003.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_004.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_005.cpp \ + cppIVRTrackedCamera_IVRTrackedCamera_006.cpp \ + json_converter.cpp \ + jsoncpp.cpp \ + unix_vrclientcore_manual.cpp \ + unix_vrcompositor_manual.cpp \ + unix_vroverlay_manual.cpp \ + unix_vrrendermodels_manual.cpp \ + unix_vrsystem_manual.cpp \ + unixlib.cpp \ + unixlib_generated.cpp \ diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp new file mode 100644 index 000000000..b2a8687c7 --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp @@ -0,0 +1,175 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_001_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_001_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_001_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_001_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_001_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_001_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_001_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_001_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_001_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_001_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_001_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_001_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_001_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetHomeApplication( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetHomeApplication_params *params = (struct IVRApplications_IVRApplications_001_GetHomeApplication_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetHomeApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_SetHomeApplication( void *args ) +{ + struct IVRApplications_IVRApplications_001_SetHomeApplication_params *params = (struct IVRApplications_IVRApplications_001_SetHomeApplication_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->SetHomeApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_001_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_001_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_001 *iface = (struct u_IVRApplications_IVRApplications_001 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp new file mode 100644 index 000000000..589272812 --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp @@ -0,0 +1,167 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_002_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_002_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_002_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_002_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_002_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_002_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_002_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_002_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_002_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_002_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_002_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_002_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_002_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_002_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_002_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_002_IsQuitUserPromptRequested( void *args ) +{ + struct IVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params *)args; + struct u_IVRApplications_IVRApplications_002 *iface = (struct u_IVRApplications_IVRApplications_002 *)params->linux_side; + params->_ret = iface->IsQuitUserPromptRequested( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp new file mode 100644 index 000000000..1b135737f --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp @@ -0,0 +1,175 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_003_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_003_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_003_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_003_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_003_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_003_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_003_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_003_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_003_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_003_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_003_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_003_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_003_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyUint64( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_003_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_003_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_003_IsQuitUserPromptRequested( void *args ) +{ + struct IVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params *)args; + struct u_IVRApplications_IVRApplications_003 *iface = (struct u_IVRApplications_IVRApplications_003 *)params->linux_side; + params->_ret = iface->IsQuitUserPromptRequested( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp new file mode 100644 index 000000000..5db82041e --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp @@ -0,0 +1,191 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_004_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_004_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_004_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_004_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_004_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_CancelApplicationLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_004_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_004_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyUint64( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_004_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_004_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_IsQuitUserPromptRequested( void *args ) +{ + struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->IsQuitUserPromptRequested( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_004_LaunchInternalProcess( void *args ) +{ + struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params *)args; + struct u_IVRApplications_IVRApplications_004 *iface = (struct u_IVRApplications_IVRApplications_004 *)params->linux_side; + params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp new file mode 100644 index 000000000..3df2a9b73 --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp @@ -0,0 +1,199 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_005_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_005_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_005_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_005_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_005_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_LaunchTemplateApplication( void *args ) +{ + struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params *params = (struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_CancelApplicationLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_005_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_005_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyUint64( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_005_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_005_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_IsQuitUserPromptRequested( void *args ) +{ + struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->IsQuitUserPromptRequested( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_005_LaunchInternalProcess( void *args ) +{ + struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params *)args; + struct u_IVRApplications_IVRApplications_005 *iface = (struct u_IVRApplications_IVRApplications_005 *)params->linux_side; + params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp new file mode 100644 index 000000000..c632f8220 --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp @@ -0,0 +1,255 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_006_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_006_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_006_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_006_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_006_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_006_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_006_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_006_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_006_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_LaunchTemplateApplication( void *args ) +{ + struct IVRApplications_IVRApplications_006_LaunchTemplateApplication_params *params = (struct IVRApplications_IVRApplications_006_LaunchTemplateApplication_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params *params = (struct IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_006_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_006_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_CancelApplicationLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_006_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_006_CancelApplicationLaunch_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_006_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_006_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyUint64( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params *params = (struct IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params *params = (struct IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationLaunchArguments( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_006_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetTransitionState( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetTransitionState_params *params = (struct IVRApplications_IVRApplications_006_GetTransitionState_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetTransitionState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetApplicationsTransitionStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_IsQuitUserPromptRequested( void *args ) +{ + struct IVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params *params = (struct IVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->IsQuitUserPromptRequested( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_LaunchInternalProcess( void *args ) +{ + struct IVRApplications_IVRApplications_006_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_006_LaunchInternalProcess_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_006_GetCurrentSceneProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *params = (struct IVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params *)args; + struct u_IVRApplications_IVRApplications_006 *iface = (struct u_IVRApplications_IVRApplications_006 *)params->linux_side; + params->_ret = iface->GetCurrentSceneProcessId( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp b/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp new file mode 100644 index 000000000..00bff2d00 --- /dev/null +++ b/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp @@ -0,0 +1,247 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRApplications_IVRApplications_007_AddApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_007_AddApplicationManifest_params *params = (struct IVRApplications_IVRApplications_007_AddApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->AddApplicationManifest( u_pchApplicationManifestFullPath, params->bTemporary ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_RemoveApplicationManifest( void *args ) +{ + struct IVRApplications_IVRApplications_007_RemoveApplicationManifest_params *params = (struct IVRApplications_IVRApplications_007_RemoveApplicationManifest_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + char *u_pchApplicationManifestFullPath = vrclient_dos_to_unix_path( params->pchApplicationManifestFullPath ); + params->_ret = iface->RemoveApplicationManifest( u_pchApplicationManifestFullPath ); + vrclient_free_path( u_pchApplicationManifestFullPath ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_IsApplicationInstalled( void *args ) +{ + struct IVRApplications_IVRApplications_007_IsApplicationInstalled_params *params = (struct IVRApplications_IVRApplications_007_IsApplicationInstalled_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->IsApplicationInstalled( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationCount( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationCount_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationCount_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationCount( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationKeyByIndex( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByIndex( params->unApplicationIndex, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationKeyByProcessId( params->unProcessId, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_LaunchApplication( void *args ) +{ + struct IVRApplications_IVRApplications_007_LaunchApplication_params *params = (struct IVRApplications_IVRApplications_007_LaunchApplication_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->LaunchApplication( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_LaunchTemplateApplication( void *args ) +{ + struct IVRApplications_IVRApplications_007_LaunchTemplateApplication_params *params = (struct IVRApplications_IVRApplications_007_LaunchTemplateApplication_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->LaunchTemplateApplication( params->pchTemplateAppKey, params->pchNewAppKey, params->pKeys, params->unKeys ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params *params = (struct IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->LaunchApplicationFromMimeType( params->pchMimeType, params->pchArgs ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_LaunchDashboardOverlay( void *args ) +{ + struct IVRApplications_IVRApplications_007_LaunchDashboardOverlay_params *params = (struct IVRApplications_IVRApplications_007_LaunchDashboardOverlay_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->LaunchDashboardOverlay( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_CancelApplicationLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_007_CancelApplicationLaunch_params *params = (struct IVRApplications_IVRApplications_007_CancelApplicationLaunch_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->CancelApplicationLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_IdentifyApplication( void *args ) +{ + struct IVRApplications_IVRApplications_007_IdentifyApplication_params *params = (struct IVRApplications_IVRApplications_007_IdentifyApplication_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->IdentifyApplication( params->unProcessId, params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationProcessId_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationProcessId_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationProcessId( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationsErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyString( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyString_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationPropertyString_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyString( params->pchAppKey, params->eProperty, params->pchPropertyValueBuffer, params->unPropertyValueBufferLen, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyBool( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyBool_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationPropertyBool_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyBool( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyUint64( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationPropertyUint64( params->pchAppKey, params->eProperty, params->peError ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_SetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->SetApplicationAutoLaunch( params->pchAppKey, params->bAutoLaunch ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationAutoLaunch( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationAutoLaunch( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params *params = (struct IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->SetDefaultApplicationForMimeType( params->pchAppKey, params->pchMimeType ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params *params = (struct IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetDefaultApplicationForMimeType( params->pchMimeType, params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationSupportedMimeTypes( params->pchAppKey, params->pchMimeTypesBuffer, params->unMimeTypesBuffer ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationsThatSupportMimeType( params->pchMimeType, params->pchAppKeysThatSupportBuffer, params->unAppKeysThatSupportBuffer ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationLaunchArguments( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params *params = (struct IVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetApplicationLaunchArguments( params->unHandle, params->pchArgs, params->unArgs ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetStartingApplication( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetStartingApplication_params *params = (struct IVRApplications_IVRApplications_007_GetStartingApplication_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetStartingApplication( params->pchAppKeyBuffer, params->unAppKeyBufferLen ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetSceneApplicationState( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetSceneApplicationState_params *params = (struct IVRApplications_IVRApplications_007_GetSceneApplicationState_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetSceneApplicationState( ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( void *args ) +{ + struct IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params *params = (struct IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->PerformApplicationPrelaunchCheck( params->pchAppKey ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params *params = (struct IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetSceneApplicationStateNameFromEnum( params->state ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_LaunchInternalProcess( void *args ) +{ + struct IVRApplications_IVRApplications_007_LaunchInternalProcess_params *params = (struct IVRApplications_IVRApplications_007_LaunchInternalProcess_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->LaunchInternalProcess( params->pchBinaryPath, params->pchArguments, params->pchWorkingDirectory ); + return 0; +} + +NTSTATUS IVRApplications_IVRApplications_007_GetCurrentSceneProcessId( void *args ) +{ + struct IVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *params = (struct IVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params *)args; + struct u_IVRApplications_IVRApplications_007 *iface = (struct u_IVRApplications_IVRApplications_007 *)params->linux_side; + params->_ret = iface->GetCurrentSceneProcessId( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp new file mode 100644 index 000000000..3c4442e38 --- /dev/null +++ b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp @@ -0,0 +1,131 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->CommitWorkingCopy( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->RevertWorkingCopy( ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->ReloadFromDisk( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + iface->SetWorkingWallTagInfo( params->pTagsBuffer, params->unTagCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 *)params->linux_side; + params->_ret = iface->GetLiveWallTagInfo( params->pTagsBuffer, params->punTagCount ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp new file mode 100644 index 000000000..1483c6162 --- /dev/null +++ b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp @@ -0,0 +1,163 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->CommitWorkingCopy( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->RevertWorkingCopy( ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->ReloadFromDisk( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + iface->SetWorkingCollisionBoundsTagsInfo( params->pTagsBuffer, params->unTagCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetLiveCollisionBoundsTagsInfo( params->pTagsBuffer, params->punTagCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->SetWorkingPhysicalBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->GetLivePhysicalBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 *)params->linux_side; + params->_ret = iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp new file mode 100644 index 000000000..76c7a0f71 --- /dev/null +++ b/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp @@ -0,0 +1,163 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->CommitWorkingCopy( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->RevertWorkingCopy( ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaSize( params->pSizeX, params->pSizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetWorkingPlayAreaRect( params->rect ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetLiveCollisionBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetWorkingSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetWorkingStandingZeroPoseToRawTrackingPose( params->pmatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->SetWorkingPlayAreaSize( params->sizeX, params->sizeZ ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->SetWorkingCollisionBoundsInfo( params->pQuadsBuffer, params->unQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->SetWorkingPerimeter( params->pPointBuffer, params->unPointCount ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->SetWorkingSeatedZeroPoseToRawTrackingPose( params->pMatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->SetWorkingStandingZeroPoseToRawTrackingPose( params->pMatStandingZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->ReloadFromDisk( params->configFile ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->GetLiveSeatedZeroPoseToRawTrackingPose( params->pmatSeatedZeroPoseToRawTrackingPose ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->ExportLiveToBuffer( params->pBuffer, params->pnBufferLength ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + params->_ret = iface->ImportFromBufferToWorking( params->pBuffer, params->nImportFlags ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->ShowWorkingSetPreview( ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->HideWorkingSetPreview( ); + return 0; +} + +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( void *args ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *params = (struct IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params *)args; + struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *iface = (struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 *)params->linux_side; + iface->RoomSetupStarting( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp b/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp new file mode 100644 index 000000000..751f3a9c2 --- /dev/null +++ b/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp @@ -0,0 +1,75 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperone_IVRChaperone_002_GetCalibrationState( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_GetCalibrationState_params *params = (struct IVRChaperone_IVRChaperone_002_GetCalibrationState_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = iface->GetCalibrationState( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params *params = (struct IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = iface->GetSoftBoundsInfo( params->pInfo ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_GetHardBoundsInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params *params = (struct IVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = iface->GetHardBoundsInfo( params->pQuadsBuffer, params->punQuadsCount ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params *params = (struct IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = iface->GetSeatedBoundsInfo( params->pInfo ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_ReloadInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_ReloadInfo_params *params = (struct IVRChaperone_IVRChaperone_002_ReloadInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + iface->ReloadInfo( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_SetSceneColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_SetSceneColor_params *params = (struct IVRChaperone_IVRChaperone_002_SetSceneColor_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + iface->SetSceneColor( params->color ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_GetBoundsColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_GetBoundsColor_params *params = (struct IVRChaperone_IVRChaperone_002_GetBoundsColor_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_AreBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_AreBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_002_AreBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + params->_ret = iface->AreBoundsVisible( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_002_ForceBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_002_ForceBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_002 *iface = (struct u_IVRChaperone_IVRChaperone_002 *)params->linux_side; + iface->ForceBoundsVisible( params->bForce ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp b/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp new file mode 100644 index 000000000..997702bfd --- /dev/null +++ b/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp @@ -0,0 +1,67 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperone_IVRChaperone_003_GetCalibrationState( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_GetCalibrationState_params *params = (struct IVRChaperone_IVRChaperone_003_GetCalibrationState_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = iface->GetCalibrationState( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_GetPlayAreaSize( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_GetPlayAreaSize_params *params = (struct IVRChaperone_IVRChaperone_003_GetPlayAreaSize_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_GetPlayAreaRect( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_GetPlayAreaRect_params *params = (struct IVRChaperone_IVRChaperone_003_GetPlayAreaRect_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = iface->GetPlayAreaRect( params->rect ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_ReloadInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_ReloadInfo_params *params = (struct IVRChaperone_IVRChaperone_003_ReloadInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + iface->ReloadInfo( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_SetSceneColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_SetSceneColor_params *params = (struct IVRChaperone_IVRChaperone_003_SetSceneColor_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + iface->SetSceneColor( params->color ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_GetBoundsColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_GetBoundsColor_params *params = (struct IVRChaperone_IVRChaperone_003_GetBoundsColor_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors, params->flCollisionBoundsFadeDistance, params->pOutputCameraColor ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_AreBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_AreBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_003_AreBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + params->_ret = iface->AreBoundsVisible( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_003_ForceBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_003_ForceBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_003 *iface = (struct u_IVRChaperone_IVRChaperone_003 *)params->linux_side; + iface->ForceBoundsVisible( params->bForce ); + return 0; +} + diff --git a/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp b/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp new file mode 100644 index 000000000..67312d00e --- /dev/null +++ b/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp @@ -0,0 +1,75 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRChaperone_IVRChaperone_004_GetCalibrationState( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params *params = (struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = iface->GetCalibrationState( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaSize( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *params = (struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaRect( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *params = (struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = iface->GetPlayAreaRect( params->rect ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_ReloadInfo( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_ReloadInfo_params *params = (struct IVRChaperone_IVRChaperone_004_ReloadInfo_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + iface->ReloadInfo( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_SetSceneColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_SetSceneColor_params *params = (struct IVRChaperone_IVRChaperone_004_SetSceneColor_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + iface->SetSceneColor( params->color ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_GetBoundsColor( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_GetBoundsColor_params *params = (struct IVRChaperone_IVRChaperone_004_GetBoundsColor_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + iface->GetBoundsColor( params->pOutputColorArray, params->nNumOutputColors, params->flCollisionBoundsFadeDistance, params->pOutputCameraColor ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_AreBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + params->_ret = iface->AreBoundsVisible( ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_ForceBoundsVisible( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_ForceBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_004_ForceBoundsVisible_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + iface->ForceBoundsVisible( params->bForce ); + return 0; +} + +NTSTATUS IVRChaperone_IVRChaperone_004_ResetZeroPose( void *args ) +{ + struct IVRChaperone_IVRChaperone_004_ResetZeroPose_params *params = (struct IVRChaperone_IVRChaperone_004_ResetZeroPose_params *)args; + struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side; + iface->ResetZeroPose( params->eTrackingUniverseOrigin ); + return 0; +} + diff --git a/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp b/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp new file mode 100644 index 000000000..670a3f5c5 --- /dev/null +++ b/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp @@ -0,0 +1,51 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRClientCore_IVRClientCore_002_Cleanup( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_Cleanup_params *params = (struct IVRClientCore_IVRClientCore_002_Cleanup_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + iface->Cleanup( ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params *params = (struct IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_002_GetGenericInterface( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_GetGenericInterface_params *params = (struct IVRClientCore_IVRClientCore_002_GetGenericInterface_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_002_BIsHmdPresent( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_BIsHmdPresent_params *params = (struct IVRClientCore_IVRClientCore_002_BIsHmdPresent_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = iface->BIsHmdPresent( ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params *params = (struct IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = iface->GetEnglishStringForHmdError( params->eError ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_002_GetIDForVRInitError( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *params = (struct IVRClientCore_IVRClientCore_002_GetIDForVRInitError_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = iface->GetIDForVRInitError( params->eError ); + return 0; +} + diff --git a/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp b/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp new file mode 100644 index 000000000..dcfc32118 --- /dev/null +++ b/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp @@ -0,0 +1,51 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRClientCore_IVRClientCore_003_Cleanup( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_Cleanup_params *params = (struct IVRClientCore_IVRClientCore_003_Cleanup_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + iface->Cleanup( ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params *params = (struct IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = iface->IsInterfaceVersionValid( params->pchInterfaceVersion ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_GetGenericInterface( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_GetGenericInterface_params *params = (struct IVRClientCore_IVRClientCore_003_GetGenericInterface_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = iface->GetGenericInterface( params->pchNameAndVersion, params->peError ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_BIsHmdPresent( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_BIsHmdPresent_params *params = (struct IVRClientCore_IVRClientCore_003_BIsHmdPresent_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = iface->BIsHmdPresent( ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params *params = (struct IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = iface->GetEnglishStringForHmdError( params->eError ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_GetIDForVRInitError( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *params = (struct IVRClientCore_IVRClientCore_003_GetIDForVRInitError_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + params->_ret = iface->GetIDForVRInitError( params->eError ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp new file mode 100644 index 000000000..dc19bec37 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp @@ -0,0 +1,200 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_005_GetLastError( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetLastError_params *params = (struct IVRCompositor_IVRCompositor_005_GetLastError_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetVSync_params *params = (struct IVRCompositor_IVRCompositor_005_SetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetVSync( params->bVSync ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_GetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetVSync_params *params = (struct IVRCompositor_IVRCompositor_005_GetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->GetVSync( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetGamma_params *params = (struct IVRCompositor_IVRCompositor_005_SetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetGamma( params->fGamma ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_GetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetGamma_params *params = (struct IVRCompositor_IVRCompositor_005_GetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->GetGamma( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetGraphicsDevice( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetGraphicsDevice_params *params = (struct IVRCompositor_IVRCompositor_005_SetGraphicsDevice_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetGraphicsDevice( params->eType, params->pDevice ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_005_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->WaitGetPoses( params->pPoseArray, params->unPoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_Submit_params *params = (struct IVRCompositor_IVRCompositor_005_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->Submit( params->eEye, params->pTexture, params->pBounds ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_GetOverlayDefaults( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetOverlayDefaults_params *params = (struct IVRCompositor_IVRCompositor_005_GetOverlayDefaults_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->GetOverlayDefaults( params->pSettings ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlay( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlay_params *params = (struct IVRCompositor_IVRCompositor_005_SetOverlay_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetOverlay( params->pTexture, params->pSettings ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlayRaw( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlayRaw_params *params = (struct IVRCompositor_IVRCompositor_005_SetOverlayRaw_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetOverlayRaw( params->buffer, params->width, params->height, params->depth, params->pSettings ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlayFromFile( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlayFromFile_params *params = (struct IVRCompositor_IVRCompositor_005_SetOverlayFromFile_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + iface->SetOverlayFromFile( u_pchFilePath, params->pSettings ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_ClearOverlay( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_ClearOverlay_params *params = (struct IVRCompositor_IVRCompositor_005_ClearOverlay_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->ClearOverlay( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_005_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + u_Compositor_FrameTiming_090 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_005_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_005_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_005_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_005_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_005_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_005_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params *params = (struct IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->pSettings, params->fAspectRatio, params->eOrigin, params->vSource, params->vDirection, params->pvecIntersectionUV, params->pvecIntersectionTrackingSpace ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_005_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_005_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_005_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_005_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_005 *iface = (struct u_IVRCompositor_IVRCompositor_005 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp new file mode 100644 index 000000000..8af84dd72 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp @@ -0,0 +1,166 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_006_GetLastError( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetLastError_params *params = (struct IVRCompositor_IVRCompositor_006_GetLastError_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_SetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_SetVSync_params *params = (struct IVRCompositor_IVRCompositor_006_SetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->SetVSync( params->bVSync ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_GetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetVSync_params *params = (struct IVRCompositor_IVRCompositor_006_GetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->GetVSync( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_SetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_SetGamma_params *params = (struct IVRCompositor_IVRCompositor_006_SetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->SetGamma( params->fGamma ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_GetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetGamma_params *params = (struct IVRCompositor_IVRCompositor_006_GetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->GetGamma( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_SetGraphicsDevice( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *params = (struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->SetGraphicsDevice( params->eType, params->pDevice ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_Submit_params *params = (struct IVRCompositor_IVRCompositor_006_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + u_Compositor_FrameTiming_090 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_006_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_006_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_006_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_006_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_006_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_006_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp new file mode 100644 index 000000000..320318069 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp @@ -0,0 +1,158 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_007_GetLastError( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetLastError_params *params = (struct IVRCompositor_IVRCompositor_007_GetLastError_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_SetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_SetVSync_params *params = (struct IVRCompositor_IVRCompositor_007_SetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->SetVSync( params->bVSync ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_GetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetVSync_params *params = (struct IVRCompositor_IVRCompositor_007_GetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->GetVSync( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_SetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_SetGamma_params *params = (struct IVRCompositor_IVRCompositor_007_SetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->SetGamma( params->fGamma ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_GetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetGamma_params *params = (struct IVRCompositor_IVRCompositor_007_GetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->GetGamma( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_007_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_Submit_params *params = (struct IVRCompositor_IVRCompositor_007_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_007_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + u_Compositor_FrameTiming_093 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_007_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_007_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_007_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_007_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_007_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_007_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_007_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_007_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_007_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_007_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_007_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_007 *iface = (struct u_IVRCompositor_IVRCompositor_007 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp new file mode 100644 index 000000000..a43993347 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp @@ -0,0 +1,214 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_008_GetLastError( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetLastError_params *params = (struct IVRCompositor_IVRCompositor_008_GetLastError_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_SetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_SetVSync_params *params = (struct IVRCompositor_IVRCompositor_008_SetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->SetVSync( params->bVSync ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetVSync( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetVSync_params *params = (struct IVRCompositor_IVRCompositor_008_GetVSync_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetVSync( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_SetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_SetGamma_params *params = (struct IVRCompositor_IVRCompositor_008_SetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->SetGamma( params->fGamma ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetGamma( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetGamma_params *params = (struct IVRCompositor_IVRCompositor_008_GetGamma_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetGamma( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_008_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_Submit_params *params = (struct IVRCompositor_IVRCompositor_008_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->Submit( params->eEye, params->eTextureType, params->pTexture, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_008_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + u_Compositor_FrameTiming_093 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_008_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_008_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_008_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->SetSkyboxOverride( params->eTextureType, params->pFront, params->pBack, params->pLeft, params->pRight, params->pTop, params->pBottom ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_008_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_008_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_008_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_008_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_008_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_008_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_008_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_008_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_008_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_008_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_008_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_008 *iface = (struct u_IVRCompositor_IVRCompositor_008 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp new file mode 100644 index 000000000..59498f097 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp @@ -0,0 +1,182 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_009_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_009_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_009_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_009_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_009_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_009_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_009_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + u_Compositor_FrameTiming_0913 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_009_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_009_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_009_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_009_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_009_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_009_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_009_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_009_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_009_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_009_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp new file mode 100644 index 000000000..371918b9a --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp @@ -0,0 +1,182 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_010_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_010_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + u_Compositor_FrameTiming_0914 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_010_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_010_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_010_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_010_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp new file mode 100644 index 000000000..0fd30e3ce --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp @@ -0,0 +1,179 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_011_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_011_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_011_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_011_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_011_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_011_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_011_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_011_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_011_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_011_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_011_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_011_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_011_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_011_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_011_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_011_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_011_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp new file mode 100644 index 000000000..5b90bc0c3 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp @@ -0,0 +1,195 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_012_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_012_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_012_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_012_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_012_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_012_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_012_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_012_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_012_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_012_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_012_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_012_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_012_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_012_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_012_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_012_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_012_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp new file mode 100644 index 000000000..208321756 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp @@ -0,0 +1,203 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_013_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_013_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_013_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_013_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_013_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_013_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_013_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_013_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_013_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_013_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_013_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_013_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_013_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_013_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_013_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_013_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_013_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp new file mode 100644 index 000000000..527a325ed --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp @@ -0,0 +1,219 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_014_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_014_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_014_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_014_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_014_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_014_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_014_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_014_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_014_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_014_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_014_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_014_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_014_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_014_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_014_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_014_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_014_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_014_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_014_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp new file mode 100644 index 000000000..f84b7b056 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp @@ -0,0 +1,283 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_015_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_015_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_015_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_015_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_015_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_015_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_015_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_015_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_015_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_015_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_015_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_015_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_015_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_015_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_015_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_015_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_015_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_015_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_015_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_015_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_RequestScreenshot( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_RequestScreenshot_params *params = (struct IVRCompositor_IVRCompositor_015_RequestScreenshot_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->RequestScreenshot( params->type, params->pchDestinationFileName, params->pchVRDestinationFileName ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params *params = (struct IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetCurrentScreenshotType( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp new file mode 100644 index 000000000..997abddb5 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp @@ -0,0 +1,270 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_016_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + u_Compositor_FrameTiming_102 u_pTiming; + if (params->pTiming) u_pTiming = *params->pTiming; + params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo ); + if (params->pTiming) *params->pTiming = u_pTiming; + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_016_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_016_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_016_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_016_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_016_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp new file mode 100644 index 000000000..483c083ad --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp @@ -0,0 +1,275 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_017_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_017_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_017_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_017_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_017_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_017_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_017_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_017_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_017_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_017_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_017_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_017_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_017_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_017_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_017_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_017_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_017_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_017_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_017_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_017_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_017_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp new file mode 100644 index 000000000..5557067f8 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp @@ -0,0 +1,291 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_018_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_018_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_018_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_018_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_018_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_018_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_018_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_018_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_018_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_018_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_018_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_018_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_018_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_018_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_018_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_018_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_018_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_018_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_018_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_018_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_018_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp new file mode 100644 index 000000000..deb09e5a4 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp @@ -0,0 +1,299 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_019_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_019_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_019_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_019_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_019_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_019_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_019_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_019_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_019_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_019_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_019_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_019_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_019_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_019_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_019_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_019_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_019_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_019_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_019_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_019_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_019_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp new file mode 100644 index 000000000..61601a8c0 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp @@ -0,0 +1,307 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_020_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_020_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_020_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_020_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_020_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_020_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_020_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_020_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_020_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_020_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_020_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_020_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_020_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_020_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_020_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_020_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_020_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_020_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_020_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_020_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_020_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp new file mode 100644 index 000000000..9afbc4405 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp @@ -0,0 +1,323 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_021_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_021_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_021_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_021_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_021_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_021_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_021_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_021_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_021_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_021_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_021_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_021_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_021_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_021_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_021_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_021_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_021_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_021_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_021_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_021_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_021_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_SetExplicitTimingMode( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + iface->SetExplicitTimingMode( params->bExplicitTimingMode ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + params->_ret = iface->SubmitExplicitTimingData( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp new file mode 100644 index 000000000..1f8e92e8c --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp @@ -0,0 +1,347 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_022_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_022_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_022_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_022_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_022_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_022_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_022_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_022_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_022_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_022_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_022_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_022_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_022_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_022_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_022_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_022_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_022_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_022_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_022_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_022_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_022_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_SetExplicitTimingMode( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + iface->SetExplicitTimingMode( params->eTimingMode ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->SubmitExplicitTimingData( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params *params = (struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingEnabled( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params *params = (struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingSupported( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *params = (struct IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp new file mode 100644 index 000000000..6012e96b5 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp @@ -0,0 +1,365 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_024_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_024_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_024_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_024_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_024_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_024_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_SetExplicitTimingMode( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->SetExplicitTimingMode( params->eTimingMode ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->SubmitExplicitTimingData( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *params = (struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingEnabled( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *params = (struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingSupported( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *params = (struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_SetStageOverride_Async( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *params = (struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + char *u_pchRenderModelPath = vrclient_dos_to_unix_path( params->pchRenderModelPath ); + params->_ret = iface->SetStageOverride_Async( u_pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + vrclient_free_path( u_pchRenderModelPath ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_ClearStageOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params *params = (struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + iface->ClearStageOverride( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp new file mode 100644 index 000000000..5dfa5f1f6 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp @@ -0,0 +1,389 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_026_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_026_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_026_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_026_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_026_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_026_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_026_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_026_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_026_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_026_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_026_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_026_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_026_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_026_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_026_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_026_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_026_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_026_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_026_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_026_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_026_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_SetExplicitTimingMode( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->SetExplicitTimingMode( params->eTimingMode ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->SubmitExplicitTimingData( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params *params = (struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingEnabled( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params *params = (struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingSupported( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params *params = (struct IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_SetStageOverride_Async( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SetStageOverride_Async_params *params = (struct IVRCompositor_IVRCompositor_026_SetStageOverride_Async_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + char *u_pchRenderModelPath = vrclient_dos_to_unix_path( params->pchRenderModelPath ); + params->_ret = iface->SetStageOverride_Async( u_pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + vrclient_free_path( u_pchRenderModelPath ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_ClearStageOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_ClearStageOverride_params *params = (struct IVRCompositor_IVRCompositor_026_ClearStageOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + iface->ClearStageOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params *params = (struct IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params *params = (struct IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetPosesForFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetPosesForFrame_params *params = (struct IVRCompositor_IVRCompositor_026_GetPosesForFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + params->_ret = iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); + return 0; +} + diff --git a/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp b/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp new file mode 100644 index 000000000..469aaf4f5 --- /dev/null +++ b/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp @@ -0,0 +1,389 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRCompositor_IVRCompositor_027_SetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_027_SetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->SetTrackingSpace( params->eOrigin ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetTrackingSpace( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_027_GetTrackingSpace_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetTrackingSpace( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_WaitGetPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_027_WaitGetPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPoses( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_027_GetLastPoses_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ClearLastSubmittedFrame( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_PostPresentHandoff( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_027_PostPresentHandoff_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->PostPresentHandoff( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTiming( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_027_GetFrameTiming_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTimings( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_027_GetFrameTimings_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetFrameTimeRemaining( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetCumulativeStats( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_027_GetCumulativeStats_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_FadeToColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_027_FadeToColor_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentFadeColor( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + *params->_ret = iface->GetCurrentFadeColor( params->bBackground ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_FadeGrid( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_027_FadeGrid_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->FadeGrid( params->fSeconds, params->bFadeGridIn ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetCurrentGridAlpha( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ClearSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ClearSkyboxOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorBringToFront( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_027_CompositorBringToFront_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->CompositorBringToFront( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorGoToBack( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_027_CompositorGoToBack_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->CompositorGoToBack( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorQuit( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_027_CompositorQuit_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->CompositorQuit( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_IsFullscreen( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_027_IsFullscreen_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->IsFullscreen( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetCurrentSceneFocusProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastFrameRenderer( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetLastFrameRenderer( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_CanRenderScene( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_027_CanRenderScene_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->CanRenderScene( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ShowMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_027_ShowMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ShowMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_HideMirrorWindow( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_027_HideMirrorWindow_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->HideMirrorWindow( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->IsMirrorWindowVisible( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorDumpImages( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_027_CompositorDumpImages_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->CompositorDumpImages( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->ShouldAppRenderWithLowResources( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ForceInterleavedReprojectionOn( params->bOverride ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ForceReconnectProcess( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_027_ForceReconnectProcess_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ForceReconnectProcess( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_SuspendRendering( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_027_SuspendRendering_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->SuspendRendering( params->bSuspend ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetMirrorTextureGL( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_SetExplicitTimingMode( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->SetExplicitTimingMode( params->eTimingMode ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->SubmitExplicitTimingData( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params *params = (struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingEnabled( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params *params = (struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->IsMotionSmoothingSupported( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params *params = (struct IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->IsCurrentSceneFocusAppLoading( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_SetStageOverride_Async( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SetStageOverride_Async_params *params = (struct IVRCompositor_IVRCompositor_027_SetStageOverride_Async_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + char *u_pchRenderModelPath = vrclient_dos_to_unix_path( params->pchRenderModelPath ); + params->_ret = iface->SetStageOverride_Async( u_pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings ); + vrclient_free_path( u_pchRenderModelPath ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_ClearStageOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_ClearStageOverride_params *params = (struct IVRCompositor_IVRCompositor_027_ClearStageOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + iface->ClearStageOverride( ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params *params = (struct IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetCompositorBenchmarkResults( params->pBenchmarkResults, params->nSizeOfBenchmarkResults ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params *params = (struct IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetLastPosePredictionIDs( params->pRenderPosePredictionID, params->pGamePosePredictionID ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetPosesForFrame( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetPosesForFrame_params *params = (struct IVRCompositor_IVRCompositor_027_GetPosesForFrame_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + params->_ret = iface->GetPosesForFrame( params->unPosePredictionID, params->pPoseArray, params->unPoseArrayCount ); + return 0; +} + diff --git a/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp b/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp new file mode 100644 index 000000000..45b2dbeaa --- /dev/null +++ b/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp @@ -0,0 +1,231 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc1( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc1_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc1_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc1( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc2( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc2_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc2_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc2( params->a, params->b, params->c ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc3( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc3_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc3_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc3( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc4( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc4_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc4_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc4( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc5( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc5_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc5_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc5( params->a, params->b, params->c, params->d ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc6( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc6_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc6_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc6( params->a, params->b, params->c, params->d ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc7( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc7_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc7_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc7( params->a, params->b, params->c, params->d ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc8( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc8_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc8_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc8( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc9( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc9_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc9_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc9( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc10( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc10_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc10_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc10( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc11( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc11_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc11_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc11( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc12( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc12_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc12_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc12( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc13( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc13_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc13_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc13( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc14( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc14_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc14_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc14( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc15( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc15_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc15_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc15( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc16( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc16_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc16_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc16( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc17( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc17_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc17_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc17( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc18( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc18_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc18_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc18( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc19( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc19_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc19_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc19( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc20( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc20_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc20_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc20( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc21( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc21_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc21_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc21( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc22( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc22_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc22_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc22( params->a, params->b, params->c, params->d, params->e ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc23( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc23_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc23_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + char *u_a = vrclient_dos_to_unix_path( params->a ); + params->_ret = iface->undoc23( u_a ); + vrclient_free_path( u_a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc24( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc24_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc24_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc24( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc25( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc25_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc25_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc25( params->a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc26( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc26_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc26_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + params->_ret = iface->undoc26( ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc27( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc27_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc27_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + char *u_a = vrclient_dos_to_unix_path( params->a ); + params->_ret = iface->undoc27( u_a ); + vrclient_free_path( u_a ); + return 0; +} + +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc28( void *args ) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc28_params *params = (struct IVRControlPanel_IVRControlPanel_006_undoc28_params *)args; + struct u_IVRControlPanel_IVRControlPanel_006 *iface = (struct u_IVRControlPanel_IVRControlPanel_006 *)params->linux_side; + iface->undoc28( params->a ); + return 0; +} + diff --git a/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp b/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp new file mode 100644 index 000000000..fa8ad1be7 --- /dev/null +++ b/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp @@ -0,0 +1,35 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverCount( void *args ) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverCount_params *params = (struct IVRDriverManager_IVRDriverManager_001_GetDriverCount_params *)args; + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = iface->GetDriverCount( ); + return 0; +} + +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverName( void *args ) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverName_params *params = (struct IVRDriverManager_IVRDriverManager_001_GetDriverName_params *)args; + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = iface->GetDriverName( params->nDriver, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverHandle( void *args ) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverHandle_params *params = (struct IVRDriverManager_IVRDriverManager_001_GetDriverHandle_params *)args; + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = iface->GetDriverHandle( params->pchDriverName ); + return 0; +} + +NTSTATUS IVRDriverManager_IVRDriverManager_001_IsEnabled( void *args ) +{ + struct IVRDriverManager_IVRDriverManager_001_IsEnabled_params *params = (struct IVRDriverManager_IVRDriverManager_001_IsEnabled_params *)args; + struct u_IVRDriverManager_IVRDriverManager_001 *iface = (struct u_IVRDriverManager_IVRDriverManager_001 *)params->linux_side; + params->_ret = iface->IsEnabled( params->nDriver ); + return 0; +} + diff --git a/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp b/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp new file mode 100644 index 000000000..11fe04bc3 --- /dev/null +++ b/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp @@ -0,0 +1,27 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( void *args ) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params *params = (struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params *)args; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( void *args ) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params *params = (struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params *)args; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( void *args ) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *params = (struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params *)args; + struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *iface = (struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); + return 0; +} + diff --git a/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp b/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp new file mode 100644 index 000000000..f58861c18 --- /dev/null +++ b/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp @@ -0,0 +1,75 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->SetHeadsetViewSize( params->nWidth, params->nHeight ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->GetHeadsetViewSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->SetHeadsetViewMode( params->eHeadsetViewMode ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = iface->GetHeadsetViewMode( ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->SetHeadsetViewCropped( params->bCropped ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = iface->GetHeadsetViewCropped( ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + params->_ret = iface->GetHeadsetViewAspectRatio( ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->SetHeadsetViewBlendRange( params->flStartPct, params->flEndPct ); + return 0; +} + +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( void *args ) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *params = (struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params *)args; + struct u_IVRHeadsetView_IVRHeadsetView_001 *iface = (struct u_IVRHeadsetView_IVRHeadsetView_001 *)params->linux_side; + iface->GetHeadsetViewBlendRange( params->pStartPct, params->pEndPct ); + return 0; +} + diff --git a/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp b/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp new file mode 100644 index 000000000..a8ac1dd74 --- /dev/null +++ b/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp @@ -0,0 +1,43 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Open( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Open_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Open_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Close( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Close_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Close_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = iface->Close( params->ulBuffer ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Read( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Read_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Read_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Write( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Write_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_Write_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_PropertyContainer( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *params = (struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_001 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_001 *)params->linux_side; + params->_ret = iface->PropertyContainer( params->ulBuffer ); + return 0; +} + diff --git a/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp b/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp new file mode 100644 index 000000000..ff6586430 --- /dev/null +++ b/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp @@ -0,0 +1,51 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Open( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Open_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_Open_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->Open( params->pchPath, params->mode, params->unElementSize, params->unElements, params->pulBuffer ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Close( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Close_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_Close_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->Close( params->ulBuffer ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Read( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Read_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_Read_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->Read( params->ulBuffer, params->pDst, params->unBytes, params->punRead ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Write( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Write_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_Write_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->Write( params->ulBuffer, params->pSrc, params->unBytes ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_PropertyContainer( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->PropertyContainer( params->ulBuffer ); + return 0; +} + +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_HasReaders( void *args ) +{ + struct IVRIOBuffer_IVRIOBuffer_002_HasReaders_params *params = (struct IVRIOBuffer_IVRIOBuffer_002_HasReaders_params *)args; + struct u_IVRIOBuffer_IVRIOBuffer_002 *iface = (struct u_IVRIOBuffer_IVRIOBuffer_002 *)params->linux_side; + params->_ret = iface->HasReaders( params->ulBuffer ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_003.cpp b/vrclient_x64/cppIVRInput_IVRInput_003.cpp new file mode 100644 index 000000000..7dd79d2b1 --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_003.cpp @@ -0,0 +1,160 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_003_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_003_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_003_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_003_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_003_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_003_GetActionHandle_params *params = (struct IVRInput_IVRInput_003_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_003_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_003_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_003_UpdateActionState_params *params = (struct IVRInput_IVRInput_003_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_003_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_003_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_003_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_003_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetPoseActionData( void *args ) +{ + struct IVRInput_IVRInput_003_GetPoseActionData_params *params = (struct IVRInput_IVRInput_003_GetPoseActionData_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_003_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_003_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputSkeletonActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + params->_ret = iface->GetSkeletalActionData( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, params->unActionDataSize, params->pTransformArray, params->unTransformArrayCount ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetSkeletalActionDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params *params = (struct IVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetSkeletalActionDataCompressed( params->action, params->eBoneParent, params->fPredictedSecondsFromNow, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_UncompressSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_003_UncompressSkeletalActionData_params *params = (struct IVRInput_IVRInput_003_UncompressSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->UncompressSkeletalActionData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peBoneParent, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_003_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_003_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_003_GetActionOrigins_params *params = (struct IVRInput_IVRInput_003_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_003_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_003_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_003_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_003_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_003_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_003_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_003_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_003 *iface = (struct u_IVRInput_IVRInput_003 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_004.cpp b/vrclient_x64/cppIVRInput_IVRInput_004.cpp new file mode 100644 index 000000000..fce3da12e --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_004.cpp @@ -0,0 +1,169 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_004_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_004_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_004_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_004_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_004_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_004_GetActionHandle_params *params = (struct IVRInput_IVRInput_004_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_004_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_004_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_004_UpdateActionState_params *params = (struct IVRInput_IVRInput_004_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_004_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_004_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_004_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_004_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetPoseActionData( void *args ) +{ + struct IVRInput_IVRInput_004_GetPoseActionData_params *params = (struct IVRInput_IVRInput_004_GetPoseActionData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_004_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_004_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputSkeletalActionData_t_1016 u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_004_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_004_GetSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eTransformSpace, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_DecompressSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_004_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_004_DecompressSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->peTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_004_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_004_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_004_GetActionOrigins_params *params = (struct IVRInput_IVRInput_004_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_004_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_004_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_004_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_004_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_004_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_004_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_004_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_004 *iface = (struct u_IVRInput_IVRInput_004 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_005.cpp b/vrclient_x64/cppIVRInput_IVRInput_005.cpp new file mode 100644 index 000000000..709d2a675 --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_005.cpp @@ -0,0 +1,225 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_005_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_005_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_005_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_005_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_005_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_005_GetActionHandle_params *params = (struct IVRInput_IVRInput_005_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_005_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_005_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_005_UpdateActionState_params *params = (struct IVRInput_IVRInput_005_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_005_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_005_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_005_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_005_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetPoseActionData( void *args ) +{ + struct IVRInput_IVRInput_005_GetPoseActionData_params *params = (struct IVRInput_IVRInput_005_GetPoseActionData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionData( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_005_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetBoneCount( void *args ) +{ + struct IVRInput_IVRInput_005_GetBoneCount_params *params = (struct IVRInput_IVRInput_005_GetBoneCount_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetBoneHierarchy( void *args ) +{ + struct IVRInput_IVRInput_005_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_005_GetBoneHierarchy_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetBoneName( void *args ) +{ + struct IVRInput_IVRInput_005_GetBoneName_params *params = (struct IVRInput_IVRInput_005_GetBoneName_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalReferenceTransforms( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalTrackingLevel( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_005_GetSkeletalTrackingLevel_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_005_GetSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalSummaryData( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_005_GetSkeletalSummaryData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetSkeletalSummaryData( params->action, params->pSkeletalSummaryData ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_DecompressSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_005_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_005_DecompressSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_005_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_005_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_005_GetActionOrigins_params *params = (struct IVRInput_IVRInput_005_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_005_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_005_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_005_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_005_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_005_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_005_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_005_IsUsingLegacyInput( void *args ) +{ + struct IVRInput_IVRInput_005_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_005_IsUsingLegacyInput_params *)args; + struct u_IVRInput_IVRInput_005 *iface = (struct u_IVRInput_IVRInput_005 *)params->linux_side; + params->_ret = iface->IsUsingLegacyInput( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_006.cpp b/vrclient_x64/cppIVRInput_IVRInput_006.cpp new file mode 100644 index 000000000..8c79651a2 --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_006.cpp @@ -0,0 +1,237 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_006_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_006_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_006_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_006_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_006_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_006_GetActionHandle_params *params = (struct IVRInput_IVRInput_006_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_006_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_006_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_006_UpdateActionState_params *params = (struct IVRInput_IVRInput_006_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_006_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_006_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_006_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_006_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( void *args ) +{ + struct IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params *params = (struct IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetPoseActionDataForNextFrame( void *args ) +{ + struct IVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params *params = (struct IVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_006_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetBoneCount( void *args ) +{ + struct IVRInput_IVRInput_006_GetBoneCount_params *params = (struct IVRInput_IVRInput_006_GetBoneCount_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetBoneHierarchy( void *args ) +{ + struct IVRInput_IVRInput_006_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_006_GetBoneHierarchy_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetBoneName( void *args ) +{ + struct IVRInput_IVRInput_006_GetBoneName_params *params = (struct IVRInput_IVRInput_006_GetBoneName_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalReferenceTransforms( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalTrackingLevel( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_006_GetSkeletalTrackingLevel_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_006_GetSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalSummaryData( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_006_GetSkeletalSummaryData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_DecompressSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_006_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_006_DecompressSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_006_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_006_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_006_GetActionOrigins_params *params = (struct IVRInput_IVRInput_006_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_006_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_006_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_006_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_006_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_006_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_006_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_006_IsUsingLegacyInput( void *args ) +{ + struct IVRInput_IVRInput_006_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_006_IsUsingLegacyInput_params *)args; + struct u_IVRInput_IVRInput_006 *iface = (struct u_IVRInput_IVRInput_006 *)params->linux_side; + params->_ret = iface->IsUsingLegacyInput( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_007.cpp b/vrclient_x64/cppIVRInput_IVRInput_007.cpp new file mode 100644 index 000000000..384c926f3 --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_007.cpp @@ -0,0 +1,253 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_007_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_007_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_007_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_007_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_007_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_007_GetActionHandle_params *params = (struct IVRInput_IVRInput_007_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_007_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_007_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_007_UpdateActionState_params *params = (struct IVRInput_IVRInput_007_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_007_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_007_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_007_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_007_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( void *args ) +{ + struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *params = (struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataForNextFrame( void *args ) +{ + struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *params = (struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetBoneCount( void *args ) +{ + struct IVRInput_IVRInput_007_GetBoneCount_params *params = (struct IVRInput_IVRInput_007_GetBoneCount_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetBoneHierarchy( void *args ) +{ + struct IVRInput_IVRInput_007_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_007_GetBoneHierarchy_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetBoneName( void *args ) +{ + struct IVRInput_IVRInput_007_GetBoneName_params *params = (struct IVRInput_IVRInput_007_GetBoneName_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalReferenceTransforms( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalTrackingLevel( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalSummaryData( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_DecompressSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_007_GetActionOrigins_params *params = (struct IVRInput_IVRInput_007_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_007_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_007_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_GetActionBindingInfo( void *args ) +{ + struct IVRInput_IVRInput_007_GetActionBindingInfo_params *params = (struct IVRInput_IVRInput_007_GetActionBindingInfo_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_007_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_007_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_IsUsingLegacyInput( void *args ) +{ + struct IVRInput_IVRInput_007_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_007_IsUsingLegacyInput_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->IsUsingLegacyInput( ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_007_OpenBindingUI( void *args ) +{ + struct IVRInput_IVRInput_007_OpenBindingUI_params *params = (struct IVRInput_IVRInput_007_OpenBindingUI_params *)args; + struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side; + params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); + return 0; +} + diff --git a/vrclient_x64/cppIVRInput_IVRInput_010.cpp b/vrclient_x64/cppIVRInput_IVRInput_010.cpp new file mode 100644 index 000000000..a71d5d336 --- /dev/null +++ b/vrclient_x64/cppIVRInput_IVRInput_010.cpp @@ -0,0 +1,285 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRInput_IVRInput_010_SetActionManifestPath( void *args ) +{ + struct IVRInput_IVRInput_010_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_010_SetActionManifestPath_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath ); + params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath ); + vrclient_free_path( u_pchActionManifestPath ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetActionSetHandle( void *args ) +{ + struct IVRInput_IVRInput_010_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_010_GetActionSetHandle_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetActionHandle( void *args ) +{ + struct IVRInput_IVRInput_010_GetActionHandle_params *params = (struct IVRInput_IVRInput_010_GetActionHandle_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetInputSourceHandle( void *args ) +{ + struct IVRInput_IVRInput_010_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_010_GetInputSourceHandle_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_UpdateActionState( void *args ) +{ + struct IVRInput_IVRInput_010_UpdateActionState_params *params = (struct IVRInput_IVRInput_010_UpdateActionState_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetDigitalActionData( void *args ) +{ + struct IVRInput_IVRInput_010_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_010_GetDigitalActionData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputDigitalActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetAnalogActionData( void *args ) +{ + struct IVRInput_IVRInput_010_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_010_GetAnalogActionData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputAnalogActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( void *args ) +{ + struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *params = (struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataForNextFrame( void *args ) +{ + struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *params = (struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputPoseActionData_t u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalActionData( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalActionData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputSkeletalActionData_t_113b u_pActionData; + if (params->pActionData) u_pActionData = *params->pActionData; + uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0; + params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize ); + if (params->pActionData) *params->pActionData = u_pActionData; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetDominantHand( void *args ) +{ + struct IVRInput_IVRInput_010_GetDominantHand_params *params = (struct IVRInput_IVRInput_010_GetDominantHand_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetDominantHand( params->peDominantHand ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_SetDominantHand( void *args ) +{ + struct IVRInput_IVRInput_010_SetDominantHand_params *params = (struct IVRInput_IVRInput_010_SetDominantHand_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->SetDominantHand( params->eDominantHand ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetBoneCount( void *args ) +{ + struct IVRInput_IVRInput_010_GetBoneCount_params *params = (struct IVRInput_IVRInput_010_GetBoneCount_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetBoneCount( params->action, params->pBoneCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetBoneHierarchy( void *args ) +{ + struct IVRInput_IVRInput_010_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_010_GetBoneHierarchy_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetBoneName( void *args ) +{ + struct IVRInput_IVRInput_010_GetBoneName_params *params = (struct IVRInput_IVRInput_010_GetBoneName_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalReferenceTransforms( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalTrackingLevel( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalSummaryData( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( void *args ) +{ + struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_DecompressSkeletalBoneData( void *args ) +{ + struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_TriggerHapticVibrationAction( void *args ) +{ + struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_010_GetActionOrigins_params *params = (struct IVRInput_IVRInput_010_GetActionOrigins_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetOriginLocalizedName( void *args ) +{ + struct IVRInput_IVRInput_010_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_010_GetOriginLocalizedName_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( void *args ) +{ + struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + u_InputOriginInfo_t u_pOriginInfo; + if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo; + uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0; + params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize ); + if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo; + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetActionBindingInfo( void *args ) +{ + struct IVRInput_IVRInput_010_GetActionBindingInfo_params *params = (struct IVRInput_IVRInput_010_GetActionBindingInfo_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_ShowActionOrigins( void *args ) +{ + struct IVRInput_IVRInput_010_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_010_ShowActionOrigins_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_ShowBindingsForActionSet( void *args ) +{ + struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetComponentStateForBinding( void *args ) +{ + struct IVRInput_IVRInput_010_GetComponentStateForBinding_params *params = (struct IVRInput_IVRInput_010_GetComponentStateForBinding_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetComponentStateForBinding( params->pchRenderModelName, params->pchComponentName, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->pComponentState ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_IsUsingLegacyInput( void *args ) +{ + struct IVRInput_IVRInput_010_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_010_IsUsingLegacyInput_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->IsUsingLegacyInput( ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_OpenBindingUI( void *args ) +{ + struct IVRInput_IVRInput_010_OpenBindingUI_params *params = (struct IVRInput_IVRInput_010_OpenBindingUI_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop ); + return 0; +} + +NTSTATUS IVRInput_IVRInput_010_GetBindingVariant( void *args ) +{ + struct IVRInput_IVRInput_010_GetBindingVariant_params *params = (struct IVRInput_IVRInput_010_GetBindingVariant_params *)args; + struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side; + params->_ret = iface->GetBindingVariant( params->ulDevicePath, params->pchVariantArray, params->unVariantArraySize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp b/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp new file mode 100644 index 000000000..b07fe0e79 --- /dev/null +++ b/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp @@ -0,0 +1,27 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRMailbox_IVRMailbox_001_undoc1( void *args ) +{ + struct IVRMailbox_IVRMailbox_001_undoc1_params *params = (struct IVRMailbox_IVRMailbox_001_undoc1_params *)args; + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = iface->undoc1( params->a, params->b ); + return 0; +} + +NTSTATUS IVRMailbox_IVRMailbox_001_undoc2( void *args ) +{ + struct IVRMailbox_IVRMailbox_001_undoc2_params *params = (struct IVRMailbox_IVRMailbox_001_undoc2_params *)args; + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = iface->undoc2( params->a ); + return 0; +} + +NTSTATUS IVRMailbox_IVRMailbox_001_undoc4( void *args ) +{ + struct IVRMailbox_IVRMailbox_001_undoc4_params *params = (struct IVRMailbox_IVRMailbox_001_undoc4_params *)args; + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + params->_ret = iface->undoc4( params->a, params->b, params->c, params->d ); + return 0; +} + diff --git a/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp b/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp new file mode 100644 index 000000000..4d2f6f57e --- /dev/null +++ b/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp @@ -0,0 +1,27 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRNotifications_IVRNotifications_001_GetErrorString( void *args ) +{ + struct IVRNotifications_IVRNotifications_001_GetErrorString_params *params = (struct IVRNotifications_IVRNotifications_001_GetErrorString_params *)args; + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = iface->GetErrorString( params->error, params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRNotifications_IVRNotifications_001_CreateNotification( void *args ) +{ + struct IVRNotifications_IVRNotifications_001_CreateNotification_params *params = (struct IVRNotifications_IVRNotifications_001_CreateNotification_params *)args; + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->strType, params->strText, params->strCategory, params->photo, params->notificationId ); + return 0; +} + +NTSTATUS IVRNotifications_IVRNotifications_001_DismissNotification( void *args ) +{ + struct IVRNotifications_IVRNotifications_001_DismissNotification_params *params = (struct IVRNotifications_IVRNotifications_001_DismissNotification_params *)args; + struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side; + params->_ret = iface->DismissNotification( params->notificationId ); + return 0; +} + diff --git a/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp b/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp new file mode 100644 index 000000000..2d073921e --- /dev/null +++ b/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp @@ -0,0 +1,19 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRNotifications_IVRNotifications_002_CreateNotification( void *args ) +{ + struct IVRNotifications_IVRNotifications_002_CreateNotification_params *params = (struct IVRNotifications_IVRNotifications_002_CreateNotification_params *)args; + struct u_IVRNotifications_IVRNotifications_002 *iface = (struct u_IVRNotifications_IVRNotifications_002 *)params->linux_side; + params->_ret = iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->type, params->pchText, params->style, params->pImage, params->pNotificationId ); + return 0; +} + +NTSTATUS IVRNotifications_IVRNotifications_002_RemoveNotification( void *args ) +{ + struct IVRNotifications_IVRNotifications_002_RemoveNotification_params *params = (struct IVRNotifications_IVRNotifications_002_RemoveNotification_params *)args; + struct u_IVRNotifications_IVRNotifications_002 *iface = (struct u_IVRNotifications_IVRNotifications_002 *)params->linux_side; + params->_ret = iface->RemoveNotification( params->notificationId ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp b/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp new file mode 100644 index 000000000..083ce98ea --- /dev/null +++ b/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp @@ -0,0 +1,43 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlayView_IVROverlayView_003_AcquireOverlayView( void *args ) +{ + struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params *)args; + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VROverlayView_t u_pOverlayView; + if (params->pOverlayView) u_pOverlayView = *params->pOverlayView; + params->_ret = iface->AcquireOverlayView( params->ulOverlayHandle, params->pNativeDevice, params->pOverlayView ? &u_pOverlayView : nullptr, params->unOverlayViewSize ); + if (params->pOverlayView) *params->pOverlayView = u_pOverlayView; + return 0; +} + +NTSTATUS IVROverlayView_IVROverlayView_003_ReleaseOverlayView( void *args ) +{ + struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *params = (struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params *)args; + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VROverlayView_t u_pOverlayView; + if (params->pOverlayView) u_pOverlayView = *params->pOverlayView; + params->_ret = iface->ReleaseOverlayView( params->pOverlayView ? &u_pOverlayView : nullptr ); + if (params->pOverlayView) *params->pOverlayView = u_pOverlayView; + return 0; +} + +NTSTATUS IVROverlayView_IVROverlayView_003_PostOverlayEvent( void *args ) +{ + struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *params = (struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params *)args; + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + u_VREvent_t_1168 u_pvrEvent; + if (params->pvrEvent) u_pvrEvent = *params->pvrEvent; + iface->PostOverlayEvent( params->ulOverlayHandle, params->pvrEvent ? &u_pvrEvent : nullptr ); + return 0; +} + +NTSTATUS IVROverlayView_IVROverlayView_003_IsViewingPermitted( void *args ) +{ + struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *params = (struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params *)args; + struct u_IVROverlayView_IVROverlayView_003 *iface = (struct u_IVROverlayView_IVROverlayView_003 *)params->linux_side; + params->_ret = iface->IsViewingPermitted( params->ulOverlayHandle ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp new file mode 100644 index 000000000..158f2bab5 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp @@ -0,0 +1,320 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_001_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_FindOverlay_params *params = (struct IVROverlay_IVROverlay_001_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_001_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_001_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_001_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_001_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayVisibility( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayVisibility_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayVisibility_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayVisibility( params->ulOverlayHandle, params->peOverlayVisibility ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayVisibility( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayVisibility_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayVisibility_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayVisibility( params->ulOverlayHandle, params->eOverlayVisibility ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_001_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_HideOverlay_params *params = (struct IVROverlay_IVROverlay_001_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_001_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_001_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_001_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_001_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_001_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_001_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_001_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_IsSystemOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_001_IsSystemOverlayVisible_params *params = (struct IVROverlay_IVROverlay_001_IsSystemOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->IsSystemOverlayVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_IsActiveSystemOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_001_IsActiveSystemOverlay_params *params = (struct IVROverlay_IVROverlay_001_IsActiveSystemOverlay_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->IsActiveSystemOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->SetSystemOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + params->_ret = iface->GetSystemOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp new file mode 100644 index 000000000..fe6af7050 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp @@ -0,0 +1,336 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_002_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_FindOverlay_params *params = (struct IVROverlay_IVROverlay_002_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_002_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_002_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_002_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_002_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_002_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_HideOverlay_params *params = (struct IVROverlay_IVROverlay_002_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_002_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_002_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_002_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_002_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + u_VREvent_t_093 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_002_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_002_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_002_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_002_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_002_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_002_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp new file mode 100644 index 000000000..ea15f35d9 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp @@ -0,0 +1,368 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_003_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_FindOverlay_params *params = (struct IVROverlay_IVROverlay_003_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_003_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_003_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_003_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_003_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_003_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_HideOverlay_params *params = (struct IVROverlay_IVROverlay_003_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_003_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_003_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_003_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_003_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_003_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_003_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_003_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_003_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_003_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_003_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_003_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_003_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp new file mode 100644 index 000000000..8892f12a1 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp @@ -0,0 +1,384 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_004_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_FindOverlay_params *params = (struct IVROverlay_IVROverlay_004_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_004_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_004_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_004_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_HideOverlay_params *params = (struct IVROverlay_IVROverlay_004_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_004_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_004_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_004_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_004_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_004_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_004_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp new file mode 100644 index 000000000..d06b528a5 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp @@ -0,0 +1,416 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_005_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_FindOverlay_params *params = (struct IVROverlay_IVROverlay_005_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_005_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_005_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_005_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_005_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayGamma( params->ulOverlayHandle, params->fGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayGamma( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayGamma_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayGamma_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayGamma( params->ulOverlayHandle, params->pfGamma ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_005_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_HideOverlay_params *params = (struct IVROverlay_IVROverlay_005_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_005_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_005_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_005_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_005_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_005_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_005_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_005_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_IsFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_IsFocusOverlay_params *params = (struct IVROverlay_IVROverlay_005_IsFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->IsFocusOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_005_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_005_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_005_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_005_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_005_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_005_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_005_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_005_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_005_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_005_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_005_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp new file mode 100644 index 000000000..c7d9b0ede --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp @@ -0,0 +1,456 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_007_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_FindOverlay_params *params = (struct IVROverlay_IVROverlay_007_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_007_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_007_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_007_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_007_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_007_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_HideOverlay_params *params = (struct IVROverlay_IVROverlay_007_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_007_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_007_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_007_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_007_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_007_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_007_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_007_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_007_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_007_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_007_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_007_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_007_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_007_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_007_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_007_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_007_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_007_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_007_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_007_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp new file mode 100644 index 000000000..d06f17e37 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp @@ -0,0 +1,480 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_008_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_FindOverlay_params *params = (struct IVROverlay_IVROverlay_008_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_008_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_008_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_008_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_008_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_008_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_HideOverlay_params *params = (struct IVROverlay_IVROverlay_008_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_008_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_008_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_008_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_008_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_008_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_008_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_008_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_008_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_008_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_008_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_008_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_008_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_008_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_008_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_008_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_008_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_008_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_008_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_008_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp new file mode 100644 index 000000000..2515884bb --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp @@ -0,0 +1,505 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_010_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_FindOverlay_params *params = (struct IVROverlay_IVROverlay_010_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_010_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_010_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_010_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_010_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_010_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_HideOverlay_params *params = (struct IVROverlay_IVROverlay_010_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_010_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_010_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_010_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_010_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_010_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_010_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_010_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_010_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_010_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_010_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_010_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_010_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_010_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_010_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_010_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_010_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_010_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_010_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_010_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp new file mode 100644 index 000000000..51db5fb3d --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp @@ -0,0 +1,537 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_011_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_FindOverlay_params *params = (struct IVROverlay_IVROverlay_011_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_011_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_011_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_011_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_HideOverlay_params *params = (struct IVROverlay_IVROverlay_011_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_011_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_011_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_011_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_011_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_011_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_011_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_011_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_011_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_011_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_011_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_011_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_011_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp new file mode 100644 index 000000000..2b819a74a --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp @@ -0,0 +1,545 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_012_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_FindOverlay_params *params = (struct IVROverlay_IVROverlay_012_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_012_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_012_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_012_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_012_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_012_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_HideOverlay_params *params = (struct IVROverlay_IVROverlay_012_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_012_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_012_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_012_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_012_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + u_VREvent_t_101 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_012_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_012_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_012_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_012_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_012_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_012_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_012_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_012_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_012_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_012_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_012_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_012_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_012_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_012_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_012_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp new file mode 100644 index 000000000..b4576ffb0 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp @@ -0,0 +1,585 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_013_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_FindOverlay_params *params = (struct IVROverlay_IVROverlay_013_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_013_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_013_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_013_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_013_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_013_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_013_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_013_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_HideOverlay_params *params = (struct IVROverlay_IVROverlay_013_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_013_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_013_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_013_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_013_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_013_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_013_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_013_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPI, params->pColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_013_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_013_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_013_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_013_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_013_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_013_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_013_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_013_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_013_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_013_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_013_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_013_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp new file mode 100644 index 000000000..3b8068b3b --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp @@ -0,0 +1,601 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_014_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_FindOverlay_params *params = (struct IVROverlay_IVROverlay_014_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_014_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_014_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_014_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_014_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_014_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_014_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_014_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_HideOverlay_params *params = (struct IVROverlay_IVROverlay_014_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_014_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_014_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_014_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_014_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_014_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_014_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_014_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_014_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_014_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_014_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_014_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_014_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_014_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_014_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_014_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_014_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_014_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_014_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_014_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_014_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_014_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp new file mode 100644 index 000000000..08aa0d217 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp @@ -0,0 +1,649 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_016_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_FindOverlay_params *params = (struct IVROverlay_IVROverlay_016_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_016_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_016_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_016_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_016_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_016_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_016_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_016_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_HideOverlay_params *params = (struct IVROverlay_IVROverlay_016_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_016_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_016_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_016_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_016_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_016_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_016_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_016_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_016_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_016_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_016_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_016_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_016_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_016_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_016_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_016_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_016_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_016_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_016_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_016_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_016_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_016_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_016_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp new file mode 100644 index 000000000..8afd9b58c --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp @@ -0,0 +1,665 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_017_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_FindOverlay_params *params = (struct IVROverlay_IVROverlay_017_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_017_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_017_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_017_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_017_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_017_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_017_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_017_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_HideOverlay_params *params = (struct IVROverlay_IVROverlay_017_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_017_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_017_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_017_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_017_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_017_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_017_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->ulOverlayHandle, params->unControllerDeviceIndex ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_017_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_017_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_017_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_017_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_017_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_017_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_017_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_017_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_017_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_017_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_017_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_017_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_017_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_017_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_017_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_017_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp new file mode 100644 index 000000000..9e307caad --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp @@ -0,0 +1,657 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_018_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_FindOverlay_params *params = (struct IVROverlay_IVROverlay_018_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_018_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_018_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_018_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_018_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_018_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_018_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_018_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_HideOverlay_params *params = (struct IVROverlay_IVROverlay_018_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_018_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_018_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_018_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_018_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + u_VREvent_t_1016 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_018_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_018_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_018_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->vCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_018_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_018_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_018_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_018_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_018_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_018_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_018_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_018_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_018_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_018_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_018_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_018_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_018_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_018_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_018_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp new file mode 100644 index 000000000..616175ff0 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp @@ -0,0 +1,657 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_019_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_FindOverlay_params *params = (struct IVROverlay_IVROverlay_019_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_019_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_019_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_019_SetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetHighQualityOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetHighQualityOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetHighQualityOverlay_params *params = (struct IVROverlay_IVROverlay_019_GetHighQualityOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetHighQualityOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_019_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_019_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_019_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_HideOverlay_params *params = (struct IVROverlay_IVROverlay_019_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_019_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_019_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_019_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_019_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_019_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_019_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_019_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_019_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_019_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_019_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_019_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_019_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_019_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_019_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_019_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_019_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_019_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_019_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_019_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_019_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_019_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_019_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp new file mode 100644 index 000000000..b3080e085 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp @@ -0,0 +1,641 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_020_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_FindOverlay_params *params = (struct IVROverlay_IVROverlay_020_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_020_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_020_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_020_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_020_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->fMinDistanceInMeters, params->fMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayAutoCurveDistanceRangeInMeters( params->ulOverlayHandle, params->pfMinDistanceInMeters, params->pfMaxDistanceInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_020_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_HideOverlay_params *params = (struct IVROverlay_IVROverlay_020_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_020_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_020_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_020_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_020_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_020_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_020_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_020_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetGamepadFocusOverlay( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetGamepadFocusOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params *params = (struct IVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetGamepadFocusOverlay( params->ulNewFocusOverlay ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayNeighbor_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayNeighbor( params->eDirection, params->ulFrom, params->ulTo ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( void *args ) +{ + struct IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params *params = (struct IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->MoveGamepadFocusToNeighbor( params->eDirection, params->ulFrom ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_020_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_020_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_020_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_020_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_020_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_020_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_020_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_020_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_020_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_020_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_020_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_020_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_020_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_020_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_020_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp new file mode 100644 index 000000000..b5dde4af2 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp @@ -0,0 +1,609 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_021_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_FindOverlay_params *params = (struct IVROverlay_IVROverlay_021_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_021_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_021_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_021_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_021_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_021_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_HideOverlay_params *params = (struct IVROverlay_IVROverlay_021_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_021_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_021_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_021_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_021_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_021_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_021_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_021_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unDepth ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_021_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_021_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_021_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_021_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_021_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_021_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_021_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_021_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_021_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_021_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_021_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_021_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_021_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_021_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_021_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp new file mode 100644 index 000000000..8c51430db --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp @@ -0,0 +1,657 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_022_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_FindOverlay_params *params = (struct IVROverlay_IVROverlay_022_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_022_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_022_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_022_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_022_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayRenderModel( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pColor, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRenderModel( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRenderModel_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayRenderModel_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayRenderModel( params->ulOverlayHandle, params->pchRenderModel, params->pColor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_022_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_HideOverlay_params *params = (struct IVROverlay_IVROverlay_022_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_022_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_022_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_022_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_022_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_022_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_022_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_022_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->fRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayDualAnalogTransform( params->ulOverlay, params->eWhich, params->pvCenter, params->pfRadius ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( void *args ) +{ + struct IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params *params = (struct IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCursor( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCursor_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayCursor_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_022_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_022_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_022_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_022_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_022_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_022_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_022_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_022_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->pchDescription, params->unCharMax, params->pchExistingText, params->bUseMinimalMode, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_022_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_022_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_022_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_022_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_022_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_022_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_022_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp new file mode 100644 index 000000000..61d773dae --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp @@ -0,0 +1,625 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_024_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_FindOverlay_params *params = (struct IVROverlay_IVROverlay_024_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_024_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_024_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_024_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_024_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_024_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_HideOverlay_params *params = (struct IVROverlay_IVROverlay_024_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_024_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_024_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_024_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_024_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_024_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_024_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_024_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( void *args ) +{ + struct IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params *params = (struct IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCursor( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCursor_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayCursor_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_024_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_024_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_024_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_024_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_024_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_024_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_024_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_024_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_024_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_024_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_024_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_024_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_024_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_024_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_024_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp new file mode 100644 index 000000000..118f7feb6 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp @@ -0,0 +1,633 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_025_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_FindOverlay_params *params = (struct IVROverlay_IVROverlay_025_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_025_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_025_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_025_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_025_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformProjection( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformProjection_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTransformProjection_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_025_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_HideOverlay_params *params = (struct IVROverlay_IVROverlay_025_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_025_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_025_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_025_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_025_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_025_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_025_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_025_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( void *args ) +{ + struct IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params *params = (struct IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCursor( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCursor_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayCursor_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_025_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_025_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_025_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_025_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_025_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_025_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_025_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_025_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_025_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_025_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_025_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_025_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_025_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_025_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_025_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp new file mode 100644 index 000000000..9511e6191 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp @@ -0,0 +1,657 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_026_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_FindOverlay_params *params = (struct IVROverlay_IVROverlay_026_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_026_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_026_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_026_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_026_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformOverlayRelative( params->ulOverlayHandle, params->ulOverlayHandleParent, params->pmatParentOverlayToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformProjection( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformProjection_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTransformProjection_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_026_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_HideOverlay_params *params = (struct IVROverlay_IVROverlay_026_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_026_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_026_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_WaitFrameSync( void *args ) +{ + struct IVROverlay_IVROverlay_026_WaitFrameSync_params *params = (struct IVROverlay_IVROverlay_026_WaitFrameSync_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->WaitFrameSync( params->nTimeoutMs ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_026_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_026_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_026_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_026_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_026_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( void *args ) +{ + struct IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params *params = (struct IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCursor( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCursor_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayCursor_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_026_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_026_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_026_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_026_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_026_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_026_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_026_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_026_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_026_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_026_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_026_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_026_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_026_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_026_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_026_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp b/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp new file mode 100644 index 000000000..71818d7b1 --- /dev/null +++ b/vrclient_x64/cppIVROverlay_IVROverlay_027.cpp @@ -0,0 +1,641 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVROverlay_IVROverlay_027_FindOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_FindOverlay_params *params = (struct IVROverlay_IVROverlay_027_FindOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->FindOverlay( params->pchOverlayKey, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_CreateOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_CreateOverlay_params *params = (struct IVROverlay_IVROverlay_027_CreateOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->CreateOverlay( params->pchOverlayKey, params->pchOverlayName, params->pOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_DestroyOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_DestroyOverlay_params *params = (struct IVROverlay_IVROverlay_027_DestroyOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->DestroyOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayKey( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayKey_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayKey_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayKey( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayName_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayName( params->ulOverlayHandle, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayName( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayName_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayName_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayName( params->ulOverlayHandle, params->pchName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayImageData( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayImageData_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayImageData_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayImageData( params->ulOverlayHandle, params->pvBuffer, params->unBufferSize, params->punWidth, params->punHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayRenderingPid( params->ulOverlayHandle, params->unPID ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayRenderingPid( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayRenderingPid_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayRenderingPid_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayRenderingPid( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->bEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayFlag( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayFlag_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayFlag_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayFlag( params->ulOverlayHandle, params->eOverlayFlag, params->pbEnabled ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayFlags( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayFlags_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayFlags_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayFlags( params->ulOverlayHandle, params->pFlags ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayColor_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayColor( params->ulOverlayHandle, params->fRed, params->fGreen, params->fBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayColor( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayColor_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayColor_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayColor( params->ulOverlayHandle, params->pfRed, params->pfGreen, params->pfBlue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayAlpha( params->ulOverlayHandle, params->fAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayAlpha( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayAlpha_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayAlpha_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayAlpha( params->ulOverlayHandle, params->pfAlpha ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTexelAspect( params->ulOverlayHandle, params->fTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTexelAspect( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTexelAspect_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTexelAspect_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTexelAspect( params->ulOverlayHandle, params->pfTexelAspect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_027_SetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlaySortOrder( params->ulOverlayHandle, params->unSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlaySortOrder( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlaySortOrder_params *params = (struct IVROverlay_IVROverlay_027_GetOverlaySortOrder_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlaySortOrder( params->ulOverlayHandle, params->punSortOrder ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayWidthInMeters( params->ulOverlayHandle, params->fWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayWidthInMeters( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayWidthInMeters( params->ulOverlayHandle, params->pfWidthInMeters ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayCurvature( params->ulOverlayHandle, params->fCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayCurvature( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayCurvature_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayCurvature_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayCurvature( params->ulOverlayHandle, params->pfCurvature ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayPreCurvePitch( params->ulOverlayHandle, params->fRadians ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayPreCurvePitch( params->ulOverlayHandle, params->pfRadians ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTextureColorSpace( params->ulOverlayHandle, params->eTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTextureColorSpace( params->ulOverlayHandle, params->peTextureColorSpace ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureBounds( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureBounds_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTextureBounds_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTextureBounds( params->ulOverlayHandle, params->pOverlayTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformType( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformType_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTransformType_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTransformType( params->ulOverlayHandle, params->peTransformType ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTransformAbsolute( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTransformAbsolute( params->ulOverlayHandle, params->peTrackingOrigin, params->pmatTrackingOriginToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->unTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceRelative( params->ulOverlayHandle, params->punTrackedDevice, params->pmatTrackedDeviceToOverlayTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->unDeviceIndex, params->pchComponentName ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTransformTrackedDeviceComponent( params->ulOverlayHandle, params->punDeviceIndex, params->pchComponentName, params->unComponentNameSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTransformCursor( params->ulCursorOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformCursor( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformCursor_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTransformCursor_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTransformCursor( params->ulOverlayHandle, params->pvHotspot ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformProjection( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformProjection_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTransformProjection_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayTransformProjection( params->ulOverlayHandle, params->eTrackingOrigin, params->pmatTrackingOriginToOverlayTransform, params->pProjection, params->eEye ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ShowOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_ShowOverlay_params *params = (struct IVROverlay_IVROverlay_027_ShowOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ShowOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_HideOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_HideOverlay_params *params = (struct IVROverlay_IVROverlay_027_HideOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->HideOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_IsOverlayVisible( void *args ) +{ + struct IVROverlay_IVROverlay_027_IsOverlayVisible_params *params = (struct IVROverlay_IVROverlay_027_IsOverlayVisible_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->IsOverlayVisible( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params *params = (struct IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetTransformForOverlayCoordinates( params->ulOverlayHandle, params->eTrackingOrigin, params->coordinatesInOverlay, params->pmatTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_WaitFrameSync( void *args ) +{ + struct IVROverlay_IVROverlay_027_WaitFrameSync_params *params = (struct IVROverlay_IVROverlay_027_WaitFrameSync_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->WaitFrameSync( params->nTimeoutMs ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_PollNextOverlayEvent( void *args ) +{ + struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params *params = (struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextOverlayEvent( params->ulOverlayHandle, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayInputMethod( params->ulOverlayHandle, params->peInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayInputMethod( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayInputMethod_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayInputMethod_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayInputMethod( params->ulOverlayHandle, params->eInputMethod ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayMouseScale( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayMouseScale_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayMouseScale_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayMouseScale( params->ulOverlayHandle, params->pvecMouseScale ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ComputeOverlayIntersection( void *args ) +{ + struct IVROverlay_IVROverlay_027_ComputeOverlayIntersection_params *params = (struct IVROverlay_IVROverlay_027_ComputeOverlayIntersection_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ComputeOverlayIntersection( params->ulOverlayHandle, params->pParams, params->pResults ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_IsHoverTargetOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_IsHoverTargetOverlay_params *params = (struct IVROverlay_IVROverlay_027_IsHoverTargetOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->IsHoverTargetOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayIntersectionMask( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayIntersectionMask( params->ulOverlayHandle, params->pMaskPrimitives, params->unNumMaskPrimitives, params->unPrimitiveSize ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( void *args ) +{ + struct IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params *params = (struct IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->TriggerLaserMouseHapticVibration( params->ulOverlayHandle, params->fDurationSeconds, params->fFrequency, params->fAmplitude ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCursor( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCursor_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayCursor_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayCursor( params->ulOverlayHandle, params->ulCursorHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayCursorPositionOverride( params->ulOverlayHandle, params->pvCursor ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( void *args ) +{ + struct IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params *params = (struct IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ClearOverlayCursorPositionOverride( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ClearOverlayTexture( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayRaw( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayRaw_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayRaw_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetOverlayRaw( params->ulOverlayHandle, params->pvBuffer, params->unWidth, params->unHeight, params->unBytesPerPixel ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayFromFile( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayFromFile_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayFromFile_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + char *u_pchFilePath = vrclient_dos_to_unix_path( params->pchFilePath ); + params->_ret = iface->SetOverlayFromFile( params->ulOverlayHandle, u_pchFilePath ); + vrclient_free_path( u_pchFilePath ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTexture( params->ulOverlayHandle, params->pNativeTextureHandle, params->pNativeTextureRef, params->pWidth, params->pHeight, params->pNativeFormat, params->pAPIType, params->pColorSpace, params->pTextureBounds ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( void *args ) +{ + struct IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params *params = (struct IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ReleaseNativeOverlayHandle( params->ulOverlayHandle, params->pNativeTextureHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureSize( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureSize_params *params = (struct IVROverlay_IVROverlay_027_GetOverlayTextureSize_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetOverlayTextureSize( params->ulOverlayHandle, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_CreateDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_CreateDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_027_CreateDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->CreateDashboardOverlay( params->pchOverlayKey, params->pchOverlayFriendlyName, params->pMainHandle, params->pThumbnailHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_IsDashboardVisible( void *args ) +{ + struct IVROverlay_IVROverlay_027_IsDashboardVisible_params *params = (struct IVROverlay_IVROverlay_027_IsDashboardVisible_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->IsDashboardVisible( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_IsActiveDashboardOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params *params = (struct IVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->IsActiveDashboardOverlay( params->ulOverlayHandle ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->SetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->unProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params *params = (struct IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetDashboardOverlaySceneProcess( params->ulOverlayHandle, params->punProcessId ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ShowDashboard( void *args ) +{ + struct IVROverlay_IVROverlay_027_ShowDashboard_params *params = (struct IVROverlay_IVROverlay_027_ShowDashboard_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + iface->ShowDashboard( params->pchOverlayToShow ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params *params = (struct IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetPrimaryDashboardDevice( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ShowKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_027_ShowKeyboard_params *params = (struct IVROverlay_IVROverlay_027_ShowKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ShowKeyboard( params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ShowKeyboardForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params *params = (struct IVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ShowKeyboardForOverlay( params->ulOverlayHandle, params->eInputMode, params->eLineInputMode, params->unFlags, params->pchDescription, params->unCharMax, params->pchExistingText, params->uUserValue ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_GetKeyboardText( void *args ) +{ + struct IVROverlay_IVROverlay_027_GetKeyboardText_params *params = (struct IVROverlay_IVROverlay_027_GetKeyboardText_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->GetKeyboardText( params->pchText, params->cchText ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_HideKeyboard( void *args ) +{ + struct IVROverlay_IVROverlay_027_HideKeyboard_params *params = (struct IVROverlay_IVROverlay_027_HideKeyboard_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + iface->HideKeyboard( ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params *params = (struct IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + iface->SetKeyboardTransformAbsolute( params->eTrackingOrigin, params->pmatTrackingOriginToKeyboardTransform ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params *params = (struct IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + iface->SetKeyboardPositionForOverlay( params->ulOverlayHandle, params->avoidRect ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_ShowMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_ShowMessageOverlay_params *params = (struct IVROverlay_IVROverlay_027_ShowMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + params->_ret = iface->ShowMessageOverlay( params->pchText, params->pchCaption, params->pchButton0Text, params->pchButton1Text, params->pchButton2Text, params->pchButton3Text ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_CloseMessageOverlay( void *args ) +{ + struct IVROverlay_IVROverlay_027_CloseMessageOverlay_params *params = (struct IVROverlay_IVROverlay_027_CloseMessageOverlay_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + iface->CloseMessageOverlay( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp new file mode 100644 index 000000000..8fa4fa04c --- /dev/null +++ b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp @@ -0,0 +1,41 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRRenderModels_IVRRenderModels_001_LoadRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + u_RenderModel_t_090 u_pRenderModel; + if (params->pRenderModel) u_pRenderModel = *params->pRenderModel; + params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->pRenderModel ? &u_pRenderModel : nullptr ); + if (params->pRenderModel) *params->pRenderModel = u_pRenderModel; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_001_FreeRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + u_RenderModel_t_090 u_pRenderModel; + if (params->pRenderModel) u_pRenderModel = *params->pRenderModel; + iface->FreeRenderModel( params->pRenderModel ? &u_pRenderModel : nullptr ); + if (params->pRenderModel) *params->pRenderModel = u_pRenderModel; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_001 *iface = (struct u_IVRRenderModels_IVRRenderModels_001 *)params->linux_side; + params->_ret = iface->GetRenderModelCount( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp new file mode 100644 index 000000000..f0682a2f2 --- /dev/null +++ b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp @@ -0,0 +1,69 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetRenderModelCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetRenderModelCount( ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetComponentCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetComponentName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentState( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_002_GetComponentState_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pComponentState ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + diff --git a/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp new file mode 100644 index 000000000..76e17ef87 --- /dev/null +++ b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp @@ -0,0 +1,85 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *params = (struct IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + iface->FreeTextureD3D11( params->pD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetRenderModelCount( ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentState( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + diff --git a/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp new file mode 100644 index 000000000..a632f1c0b --- /dev/null +++ b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp @@ -0,0 +1,117 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params *params = (struct IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + iface->FreeTextureD3D11( params->pD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetRenderModelCount( ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetComponentCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetComponentName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentState( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetComponentState_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *params = (struct IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + params->_ret = iface->GetRenderModelErrorNameFromEnum( params->error ); + return 0; +} + diff --git a/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp new file mode 100644 index 000000000..b8714f952 --- /dev/null +++ b/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp @@ -0,0 +1,125 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->LoadTextureD3D11_Async( params->textureId, params->pD3D11Device, params->ppD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->LoadIntoTextureD3D11_Async( params->textureId, params->pDstTexture ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *params = (struct IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + iface->FreeTextureD3D11( params->pD3D11Texture2D ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetRenderModelName( params->unRenderModelIndex, params->pchRenderModelName, params->unRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetRenderModelCount( ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentCount( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetComponentCount( params->pchRenderModelName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetComponentName( params->pchRenderModelName, params->unComponentIndex, params->pchComponentName, params->unComponentNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetComponentButtonMask( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetComponentRenderModelName( params->pchRenderModelName, params->pchComponentName, params->pchComponentRenderModelName, params->unComponentRenderModelNameLen ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetComponentStateForDevicePath( params->pchRenderModelName, params->pchComponentName, params->devicePath, params->pState, params->pComponentState ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentState( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetComponentState( params->pchRenderModelName, params->pchComponentName, params->pControllerState ? &u_pControllerState : nullptr, params->pState, params->pComponentState ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *params = (struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->RenderModelHasComponent( params->pchRenderModelName, params->pchComponentName ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetRenderModelThumbnailURL( params->pchRenderModelName, params->pchThumbnailURL, params->unThumbnailURLLen, params->peError ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetRenderModelOriginalPath( params->pchRenderModelName, params->pchOriginalPath, params->unOriginalPathLen, params->peError ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *params = (struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + params->_ret = iface->GetRenderModelErrorNameFromEnum( params->error ); + return 0; +} + diff --git a/vrclient_x64/cppIVRResources_IVRResources_001.cpp b/vrclient_x64/cppIVRResources_IVRResources_001.cpp new file mode 100644 index 000000000..b02a6ff65 --- /dev/null +++ b/vrclient_x64/cppIVRResources_IVRResources_001.cpp @@ -0,0 +1,19 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRResources_IVRResources_001_LoadSharedResource( void *args ) +{ + struct IVRResources_IVRResources_001_LoadSharedResource_params *params = (struct IVRResources_IVRResources_001_LoadSharedResource_params *)args; + struct u_IVRResources_IVRResources_001 *iface = (struct u_IVRResources_IVRResources_001 *)params->linux_side; + params->_ret = iface->LoadSharedResource( params->pchResourceName, params->pchBuffer, params->unBufferLen ); + return 0; +} + +NTSTATUS IVRResources_IVRResources_001_GetResourceFullPath( void *args ) +{ + struct IVRResources_IVRResources_001_GetResourceFullPath_params *params = (struct IVRResources_IVRResources_001_GetResourceFullPath_params *)args; + struct u_IVRResources_IVRResources_001 *iface = (struct u_IVRResources_IVRResources_001 *)params->linux_side; + params->_ret = iface->GetResourceFullPath( params->pchResourceName, params->pchResourceTypeDirectory, params->pchPathBuffer, params->unBufferLen ); + return 0; +} + diff --git a/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp b/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp new file mode 100644 index 000000000..308135e23 --- /dev/null +++ b/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp @@ -0,0 +1,72 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRScreenshots_IVRScreenshots_001_RequestScreenshot( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_RequestScreenshot_params *params = (struct IVRScreenshots_IVRScreenshots_001_RequestScreenshot_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + char *u_pchPreviewFilename = vrclient_dos_to_unix_path( params->pchPreviewFilename ); + char *u_pchVRFilename = vrclient_dos_to_unix_path( params->pchVRFilename ); + params->_ret = iface->RequestScreenshot( params->pOutScreenshotHandle, params->type, u_pchPreviewFilename, u_pchVRFilename ); + vrclient_free_path( u_pchPreviewFilename ); + vrclient_free_path( u_pchVRFilename ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_HookScreenshot( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_HookScreenshot_params *params = (struct IVRScreenshots_IVRScreenshots_001_HookScreenshot_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = iface->HookScreenshot( params->pSupportedTypes, params->numTypes ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params *params = (struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = iface->GetScreenshotPropertyType( params->screenshotHandle, params->pError ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params *params = (struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = iface->GetScreenshotPropertyFilename( params->screenshotHandle, params->filenameType, params->pchFilename, params->cchFilename, params->pError ); + params->_ret = vrclient_unix_path_to_dos_path( params->_ret, params->pchFilename, params->pchFilename, params->cchFilename ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params *params = (struct IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + params->_ret = iface->UpdateScreenshotProgress( params->screenshotHandle, params->flProgress ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params *params = (struct IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + char *u_pchPreviewFilename = vrclient_dos_to_unix_path( params->pchPreviewFilename ); + char *u_pchVRFilename = vrclient_dos_to_unix_path( params->pchVRFilename ); + params->_ret = iface->TakeStereoScreenshot( params->pOutScreenshotHandle, u_pchPreviewFilename, u_pchVRFilename ); + vrclient_free_path( u_pchPreviewFilename ); + vrclient_free_path( u_pchVRFilename ); + return 0; +} + +NTSTATUS IVRScreenshots_IVRScreenshots_001_SubmitScreenshot( void *args ) +{ + struct IVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *params = (struct IVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params *)args; + struct u_IVRScreenshots_IVRScreenshots_001 *iface = (struct u_IVRScreenshots_IVRScreenshots_001 *)params->linux_side; + char *u_pchSourcePreviewFilename = vrclient_dos_to_unix_path( params->pchSourcePreviewFilename ); + char *u_pchSourceVRFilename = vrclient_dos_to_unix_path( params->pchSourceVRFilename ); + params->_ret = iface->SubmitScreenshot( params->screenshotHandle, params->type, u_pchSourcePreviewFilename, u_pchSourceVRFilename ); + vrclient_free_path( u_pchSourcePreviewFilename ); + vrclient_free_path( u_pchSourceVRFilename ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp b/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp new file mode 100644 index 000000000..6d0d915f9 --- /dev/null +++ b/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp @@ -0,0 +1,99 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( void *args ) +{ + struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *params = (struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_Sync( void *args ) +{ + struct IVRSettings_IVRSettings_001_Sync_params *params = (struct IVRSettings_IVRSettings_001_Sync_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = iface->Sync( params->bForce, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_GetBool( void *args ) +{ + struct IVRSettings_IVRSettings_001_GetBool_params *params = (struct IVRSettings_IVRSettings_001_GetBool_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->bDefaultValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_SetBool( void *args ) +{ + struct IVRSettings_IVRSettings_001_SetBool_params *params = (struct IVRSettings_IVRSettings_001_SetBool_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_GetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_001_GetInt32_params *params = (struct IVRSettings_IVRSettings_001_GetInt32_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->nDefaultValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_SetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_001_SetInt32_params *params = (struct IVRSettings_IVRSettings_001_SetInt32_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_GetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_001_GetFloat_params *params = (struct IVRSettings_IVRSettings_001_GetFloat_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->flDefaultValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_SetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_001_SetFloat_params *params = (struct IVRSettings_IVRSettings_001_SetFloat_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_GetString( void *args ) +{ + struct IVRSettings_IVRSettings_001_GetString_params *params = (struct IVRSettings_IVRSettings_001_GetString_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->pchDefaultValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_SetString( void *args ) +{ + struct IVRSettings_IVRSettings_001_SetString_params *params = (struct IVRSettings_IVRSettings_001_SetString_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_RemoveSection( void *args ) +{ + struct IVRSettings_IVRSettings_001_RemoveSection_params *params = (struct IVRSettings_IVRSettings_001_RemoveSection_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->RemoveSection( params->pchSection, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_001_RemoveKeyInSection( void *args ) +{ + struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params *params = (struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params *)args; + struct u_IVRSettings_IVRSettings_001 *iface = (struct u_IVRSettings_IVRSettings_001 *)params->linux_side; + iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp b/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp new file mode 100644 index 000000000..176518dcd --- /dev/null +++ b/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp @@ -0,0 +1,99 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( void *args ) +{ + struct IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params *params = (struct IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_Sync( void *args ) +{ + struct IVRSettings_IVRSettings_002_Sync_params *params = (struct IVRSettings_IVRSettings_002_Sync_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = iface->Sync( params->bForce, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_SetBool( void *args ) +{ + struct IVRSettings_IVRSettings_002_SetBool_params *params = (struct IVRSettings_IVRSettings_002_SetBool_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_SetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_002_SetInt32_params *params = (struct IVRSettings_IVRSettings_002_SetInt32_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_SetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_002_SetFloat_params *params = (struct IVRSettings_IVRSettings_002_SetFloat_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_SetString( void *args ) +{ + struct IVRSettings_IVRSettings_002_SetString_params *params = (struct IVRSettings_IVRSettings_002_SetString_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_GetBool( void *args ) +{ + struct IVRSettings_IVRSettings_002_GetBool_params *params = (struct IVRSettings_IVRSettings_002_GetBool_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_GetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_002_GetInt32_params *params = (struct IVRSettings_IVRSettings_002_GetInt32_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_GetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_002_GetFloat_params *params = (struct IVRSettings_IVRSettings_002_GetFloat_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_GetString( void *args ) +{ + struct IVRSettings_IVRSettings_002_GetString_params *params = (struct IVRSettings_IVRSettings_002_GetString_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_RemoveSection( void *args ) +{ + struct IVRSettings_IVRSettings_002_RemoveSection_params *params = (struct IVRSettings_IVRSettings_002_RemoveSection_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->RemoveSection( params->pchSection, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_002_RemoveKeyInSection( void *args ) +{ + struct IVRSettings_IVRSettings_002_RemoveKeyInSection_params *params = (struct IVRSettings_IVRSettings_002_RemoveKeyInSection_params *)args; + struct u_IVRSettings_IVRSettings_002 *iface = (struct u_IVRSettings_IVRSettings_002 *)params->linux_side; + iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp b/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp new file mode 100644 index 000000000..297c69652 --- /dev/null +++ b/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp @@ -0,0 +1,91 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( void *args ) +{ + struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *params = (struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = iface->GetSettingsErrorNameFromEnum( params->eError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_SetBool( void *args ) +{ + struct IVRSettings_IVRSettings_003_SetBool_params *params = (struct IVRSettings_IVRSettings_003_SetBool_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->SetBool( params->pchSection, params->pchSettingsKey, params->bValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_SetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_003_SetInt32_params *params = (struct IVRSettings_IVRSettings_003_SetInt32_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->SetInt32( params->pchSection, params->pchSettingsKey, params->nValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_SetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_003_SetFloat_params *params = (struct IVRSettings_IVRSettings_003_SetFloat_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->SetFloat( params->pchSection, params->pchSettingsKey, params->flValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_SetString( void *args ) +{ + struct IVRSettings_IVRSettings_003_SetString_params *params = (struct IVRSettings_IVRSettings_003_SetString_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->SetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_GetBool( void *args ) +{ + struct IVRSettings_IVRSettings_003_GetBool_params *params = (struct IVRSettings_IVRSettings_003_GetBool_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = iface->GetBool( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_GetInt32( void *args ) +{ + struct IVRSettings_IVRSettings_003_GetInt32_params *params = (struct IVRSettings_IVRSettings_003_GetInt32_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = iface->GetInt32( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_GetFloat( void *args ) +{ + struct IVRSettings_IVRSettings_003_GetFloat_params *params = (struct IVRSettings_IVRSettings_003_GetFloat_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + params->_ret = iface->GetFloat( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_GetString( void *args ) +{ + struct IVRSettings_IVRSettings_003_GetString_params *params = (struct IVRSettings_IVRSettings_003_GetString_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->GetString( params->pchSection, params->pchSettingsKey, params->pchValue, params->unValueLen, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_RemoveSection( void *args ) +{ + struct IVRSettings_IVRSettings_003_RemoveSection_params *params = (struct IVRSettings_IVRSettings_003_RemoveSection_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->RemoveSection( params->pchSection, params->peError ); + return 0; +} + +NTSTATUS IVRSettings_IVRSettings_003_RemoveKeyInSection( void *args ) +{ + struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params *params = (struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params *)args; + struct u_IVRSettings_IVRSettings_003 *iface = (struct u_IVRSettings_IVRSettings_003 *)params->linux_side; + iface->RemoveKeyInSection( params->pchSection, params->pchSettingsKey, params->peError ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp new file mode 100644 index 000000000..6762023fc --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp @@ -0,0 +1,325 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_003_GetWindowBounds( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetWindowBounds_params *params = (struct IVRSystem_IVRSystem_003_GetWindowBounds_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetEyeOutputViewport( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetEyeOutputViewport_params *params = (struct IVRSystem_IVRSystem_003_GetEyeOutputViewport_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_003_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_003_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_003_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_003_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_003_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_003_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_AttachToWindow( void *args ) +{ + struct IVRSystem_IVRSystem_003_AttachToWindow_params *params = (struct IVRSystem_IVRSystem_003_AttachToWindow_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->AttachToWindow( params->hWnd ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_003_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_003_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_LoadRenderModel( void *args ) +{ + struct IVRSystem_IVRSystem_003_LoadRenderModel_params *params = (struct IVRSystem_IVRSystem_003_LoadRenderModel_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_RenderModel_t_090 u_pRenderModel; + if (params->pRenderModel) u_pRenderModel = *params->pRenderModel; + params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->pRenderModel ? &u_pRenderModel : nullptr ); + if (params->pRenderModel) *params->pRenderModel = u_pRenderModel; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_FreeRenderModel( void *args ) +{ + struct IVRSystem_IVRSystem_003_FreeRenderModel_params *params = (struct IVRSystem_IVRSystem_003_FreeRenderModel_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_RenderModel_t_090 u_pRenderModel; + if (params->pRenderModel) u_pRenderModel = *params->pRenderModel; + iface->FreeRenderModel( params->pRenderModel ? &u_pRenderModel : nullptr ); + if (params->pRenderModel) *params->pRenderModel = u_pRenderModel; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_003_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_003_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_003_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VREvent_t_090 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_003_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_003_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VREvent_t_090 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_003_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetControllerState_params *params = (struct IVRSystem_IVRSystem_003_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_003_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_003_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_003_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( void *args ) +{ + struct IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params *params = (struct IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->HandleControllerOverlayInteractionAsMouse( params->overlaySettings, params->vecWindowClientPositionOnScreen, params->vecWindowClientSize, params->unControllerDeviceIndex, params->eOutputType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_003_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_003_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_003_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_003_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_003 *iface = (struct u_IVRSystem_IVRSystem_003 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp new file mode 100644 index 000000000..0c2af6814 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp @@ -0,0 +1,303 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_004_GetWindowBounds( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetWindowBounds_params *params = (struct IVRSystem_IVRSystem_004_GetWindowBounds_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetEyeOutputViewport( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetEyeOutputViewport_params *params = (struct IVRSystem_IVRSystem_004_GetEyeOutputViewport_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_004_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_004_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_004_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_004_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_004_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_004_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_AttachToWindow( void *args ) +{ + struct IVRSystem_IVRSystem_004_AttachToWindow_params *params = (struct IVRSystem_IVRSystem_004_AttachToWindow_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->AttachToWindow( params->hWnd ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_004_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_004_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_004_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_004_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_004_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_004_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_004_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VREvent_t_092 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_004_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetControllerState_params *params = (struct IVRSystem_IVRSystem_004_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_004_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_004_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_004_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_004_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_004_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_004_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_004_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_004_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_004_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_004_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_004 *iface = (struct u_IVRSystem_IVRSystem_004 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp new file mode 100644 index 000000000..f583a3597 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp @@ -0,0 +1,311 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_005_GetWindowBounds( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetWindowBounds_params *params = (struct IVRSystem_IVRSystem_005_GetWindowBounds_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetEyeOutputViewport( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetEyeOutputViewport_params *params = (struct IVRSystem_IVRSystem_005_GetEyeOutputViewport_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_005_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_005_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_005_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_005_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_005_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_005_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_AttachToWindow( void *args ) +{ + struct IVRSystem_IVRSystem_005_AttachToWindow_params *params = (struct IVRSystem_IVRSystem_005_AttachToWindow_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->AttachToWindow( params->hWnd ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_005_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_005_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_005_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_005_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_005_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_005_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VREvent_t_097 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_005_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetControllerState_params *params = (struct IVRSystem_IVRSystem_005_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_005_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_005_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_005_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_005_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_005_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_005_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_005_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_005_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_005_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_005_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_005 *iface = (struct u_IVRSystem_IVRSystem_005 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp new file mode 100644 index 000000000..40629d898 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp @@ -0,0 +1,351 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_006_GetWindowBounds( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetWindowBounds_params *params = (struct IVRSystem_IVRSystem_006_GetWindowBounds_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetWindowBounds( params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetEyeOutputViewport( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetEyeOutputViewport_params *params = (struct IVRSystem_IVRSystem_006_GetEyeOutputViewport_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetEyeOutputViewport( params->eEye, params->pnX, params->pnY, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_006_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_006_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_006_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_006_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_006_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_006_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex, params->pnAdapterOutputIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_AttachToWindow( void *args ) +{ + struct IVRSystem_IVRSystem_006_AttachToWindow_params *params = (struct IVRSystem_IVRSystem_006_AttachToWindow_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->AttachToWindow( params->hWnd ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_006_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_006_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_006_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_006_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_006_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VREvent_t_0910 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_006_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetControllerState_params *params = (struct IVRSystem_IVRSystem_006_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_006_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_006_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_006_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_006_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_006_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_006_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_006_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_006_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_006_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_006_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_006_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_006_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_006_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_006_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_006_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_006_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_006 *iface = (struct u_IVRSystem_IVRSystem_006 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp new file mode 100644 index 000000000..7116ab861 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp @@ -0,0 +1,351 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_009_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_009_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_009_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_009_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_009_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_009_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_009_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_009_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_009_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_009_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_009_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_009_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_009_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_009_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_009_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_009_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_009_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VREvent_t_0912 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_009_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetControllerState_params *params = (struct IVRSystem_IVRSystem_009_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_009_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_009_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_009_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_009_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_009_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_009_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_009_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_009_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_009_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_009_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_009_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_009 *iface = (struct u_IVRSystem_IVRSystem_009 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp new file mode 100644 index 000000000..aaae130bd --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp @@ -0,0 +1,383 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_010_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_010_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_010_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_010_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_010_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_010_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_010_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_010_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_010_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_010_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_010_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_010_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_010_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_010_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_010_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_010_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_010_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VREvent_t_0914 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_010_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetControllerState_params *params = (struct IVRSystem_IVRSystem_010_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_010_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_010_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_010_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_010_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_010_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_010_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_010_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_010_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_010_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_010_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_010_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_PerformanceTestEnableCapture( void *args ) +{ + struct IVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params *params = (struct IVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->PerformanceTestEnableCapture( params->bEnable ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( void *args ) +{ + struct IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *params = (struct IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params *)args; + struct u_IVRSystem_IVRSystem_010 *iface = (struct u_IVRSystem_IVRSystem_010 *)params->linux_side; + iface->PerformanceTestReportFidelityLevelChange( params->nFidelityLevel ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp new file mode 100644 index 000000000..3e0e2aa7f --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp @@ -0,0 +1,385 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_011_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_011_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_011_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_011_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_011_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_011_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_011_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_011_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_011_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_011_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_011_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_011_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_011_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_011_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_011_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_011_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_011_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VREvent_t_0918 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_011_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetControllerState_params *params = (struct IVRSystem_IVRSystem_011_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_011_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_011_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_011_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_011_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_011_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_011_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_011_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_011_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_011_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_011_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_011_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_PerformanceTestEnableCapture( void *args ) +{ + struct IVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params *params = (struct IVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->PerformanceTestEnableCapture( params->bEnable ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( void *args ) +{ + struct IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *params = (struct IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params *)args; + struct u_IVRSystem_IVRSystem_011 *iface = (struct u_IVRSystem_IVRSystem_011 *)params->linux_side; + iface->PerformanceTestReportFidelityLevelChange( params->nFidelityLevel ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp new file mode 100644 index 000000000..a3d5d3725 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp @@ -0,0 +1,369 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_012_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_012_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_012_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_012_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_012_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_012_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_012_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_012_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_012_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_012_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_012_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_012_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_012_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_012_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_012_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_012_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_012_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_012_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetControllerState_params *params = (struct IVRSystem_IVRSystem_012_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_012_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_012_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_012_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_012_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_012_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_012_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_012_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_012_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_012_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_012_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_012_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_012 *iface = (struct u_IVRSystem_IVRSystem_012 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp new file mode 100644 index 000000000..5177b8719 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp @@ -0,0 +1,371 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_014_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ, params->eProjType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_014_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_014_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_014_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_014_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_014_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_014_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_014_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_014_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_014_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_014_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_014_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VREvent_t_103 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_014_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetControllerState_params *params = (struct IVRSystem_IVRSystem_014_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_014_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_014_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_014_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_014_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_014_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_014_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_014_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_014_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_014_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_014 *iface = (struct u_IVRSystem_IVRSystem_014 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp new file mode 100644 index 000000000..743337048 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp @@ -0,0 +1,371 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_015_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_015_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_015_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_015_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_015_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_015_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_015_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_015_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_015_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_015_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_015_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetControllerState_params *params = (struct IVRSystem_IVRSystem_015_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_015_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_015_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_015_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_015_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_015_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_015_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_015_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_015_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_015_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_015 *iface = (struct u_IVRSystem_IVRSystem_015 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp new file mode 100644 index 000000000..5d1de9303 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp @@ -0,0 +1,379 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_016_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_016_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_016_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_016_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_016_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_016_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_016_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->GetOutputDevice( params->pnDevice, params->textureType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_016_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_016_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_016_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_016_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_016_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_016_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_016_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_016_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_016_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_016_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_016_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VREvent_t_106 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_016_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetControllerState_params *params = (struct IVRSystem_IVRSystem_016_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_016_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_016_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_016_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_016_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_016_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_016_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_016_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_016_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_016_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_016_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_016_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_016 *iface = (struct u_IVRSystem_IVRSystem_016 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp new file mode 100644 index 000000000..7410198e2 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp @@ -0,0 +1,371 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_017_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_017_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_017_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_017_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_017_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_017_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_017_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_017_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_017_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_017_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_017_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_017_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_017_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_017_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_017_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_017_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_017_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VREvent_t_1011 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_017_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetControllerState_params *params = (struct IVRSystem_IVRSystem_017_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_017_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_017_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_017_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_CaptureInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_017_CaptureInputFocus_params *params = (struct IVRSystem_IVRSystem_017_CaptureInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->CaptureInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_ReleaseInputFocus( void *args ) +{ + struct IVRSystem_IVRSystem_017_ReleaseInputFocus_params *params = (struct IVRSystem_IVRSystem_017_ReleaseInputFocus_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->ReleaseInputFocus( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( void *args ) +{ + struct IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params *params = (struct IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->IsInputFocusCapturedByAnotherProcess( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_017_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_017_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_017_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_017_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp new file mode 100644 index 000000000..d3d4c0451 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp @@ -0,0 +1,387 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_019_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_019_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_019_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_019_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_019_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_019_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_019_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_019_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_019_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_019_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_019_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_019_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_019_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_019_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_019_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_019_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_019_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_019_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetControllerState_params *params = (struct IVRSystem_IVRSystem_019_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_019_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_019_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_019_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_IsInputAvailable( void *args ) +{ + struct IVRSystem_IVRSystem_019_IsInputAvailable_params *params = (struct IVRSystem_IVRSystem_019_IsInputAvailable_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->IsInputAvailable( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( void *args ) +{ + struct IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params *params = (struct IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->IsSteamVRDrawingControllers( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_ShouldApplicationPause( void *args ) +{ + struct IVRSystem_IVRSystem_019_ShouldApplicationPause_params *params = (struct IVRSystem_IVRSystem_019_ShouldApplicationPause_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->ShouldApplicationPause( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( void *args ) +{ + struct IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params *params = (struct IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_DriverDebugRequest( void *args ) +{ + struct IVRSystem_IVRSystem_019_DriverDebugRequest_params *params = (struct IVRSystem_IVRSystem_019_DriverDebugRequest_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_019_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_019_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp new file mode 100644 index 000000000..6d5588677 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp @@ -0,0 +1,395 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_020_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_020_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_020_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_020_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_020_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_020_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_020_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VREvent_t_1322 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetControllerState_params *params = (struct IVRSystem_IVRSystem_020_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_IsInputAvailable( void *args ) +{ + struct IVRSystem_IVRSystem_020_IsInputAvailable_params *params = (struct IVRSystem_IVRSystem_020_IsInputAvailable_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->IsInputAvailable( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( void *args ) +{ + struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *params = (struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->IsSteamVRDrawingControllers( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationPause( void *args ) +{ + struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params *params = (struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->ShouldApplicationPause( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( void *args ) +{ + struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *params = (struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( void *args ) +{ + struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + iface->AcknowledgeQuit_UserPrompt( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetAppContainerFilePaths( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *params = (struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetRuntimeVersion( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params *params = (struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + params->_ret = iface->GetRuntimeVersion( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp new file mode 100644 index 000000000..1d1c60e7e --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp @@ -0,0 +1,387 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_021_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_021_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_021_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_021_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_021_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_021_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_021_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_021_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_021_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_021_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_ResetSeatedZeroPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_021_ResetSeatedZeroPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->ResetSeatedZeroPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_021_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_021_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_021_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_021_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_021_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_021_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VREvent_t_11030 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_021_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetControllerState_params *params = (struct IVRSystem_IVRSystem_021_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_021_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_021_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_021_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_IsInputAvailable( void *args ) +{ + struct IVRSystem_IVRSystem_021_IsInputAvailable_params *params = (struct IVRSystem_IVRSystem_021_IsInputAvailable_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->IsInputAvailable( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( void *args ) +{ + struct IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params *params = (struct IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->IsSteamVRDrawingControllers( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_ShouldApplicationPause( void *args ) +{ + struct IVRSystem_IVRSystem_021_ShouldApplicationPause_params *params = (struct IVRSystem_IVRSystem_021_ShouldApplicationPause_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->ShouldApplicationPause( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( void *args ) +{ + struct IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params *params = (struct IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_021_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_021_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetAppContainerFilePaths( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetAppContainerFilePaths_params *params = (struct IVRSystem_IVRSystem_021_GetAppContainerFilePaths_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetRuntimeVersion( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetRuntimeVersion_params *params = (struct IVRSystem_IVRSystem_021_GetRuntimeVersion_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + params->_ret = iface->GetRuntimeVersion( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp b/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp new file mode 100644 index 000000000..544d34fb3 --- /dev/null +++ b/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp @@ -0,0 +1,379 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetProjectionMatrix( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_022_GetProjectionMatrix_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetProjectionRaw( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_022_GetProjectionRaw_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_ComputeDistortion( void *args ) +{ + struct IVRSystem_IVRSystem_022_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_022_ComputeDistortion_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetEyeToHeadTransform( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_022_GetEyeToHeadTransform_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetEyeToHeadTransform( params->eEye ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetTimeSinceLastVsync( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetD3D9AdapterIndex( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetD3D9AdapterIndex( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetDXGIOutputInfo( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_022_GetDXGIOutputInfo_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->GetDXGIOutputInfo( params->pnAdapterIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_IsDisplayOnDesktop( void *args ) +{ + struct IVRSystem_IVRSystem_022_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_022_IsDisplayOnDesktop_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->IsDisplayOnDesktop( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_SetDisplayVisibility( void *args ) +{ + struct IVRSystem_IVRSystem_022_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_022_SetDisplayVisibility_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_ApplyTransform( void *args ) +{ + struct IVRSystem_IVRSystem_022_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_022_ApplyTransform_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceClass( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_022_GetTrackedDeviceClass_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_IsTrackedDeviceConnected( void *args ) +{ + struct IVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetPropErrorNameFromEnum( params->error ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_PollNextEvent( void *args ) +{ + struct IVRSystem_IVRSystem_022_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_022_PollNextEvent_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_PollNextEventWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VREvent_t_1168 u_pEvent; + if (params->pEvent) u_pEvent = *params->pEvent; + uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0; + params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose ); + if (params->pEvent) *params->pEvent = u_pEvent; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetEventTypeNameFromEnum( params->eType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetHiddenAreaMesh( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_022_GetHiddenAreaMesh_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + *params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetControllerState( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetControllerState_params *params = (struct IVRSystem_IVRSystem_022_GetControllerState_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetControllerStateWithPose( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_022_GetControllerStateWithPose_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + u_VRControllerState001_t u_pControllerState; + if (params->pControllerState) u_pControllerState = *params->pControllerState; + uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0; + params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose ); + if (params->pControllerState) *params->pControllerState = u_pControllerState; + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_TriggerHapticPulse( void *args ) +{ + struct IVRSystem_IVRSystem_022_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_022_TriggerHapticPulse_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_IsInputAvailable( void *args ) +{ + struct IVRSystem_IVRSystem_022_IsInputAvailable_params *params = (struct IVRSystem_IVRSystem_022_IsInputAvailable_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->IsInputAvailable( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( void *args ) +{ + struct IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params *params = (struct IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->IsSteamVRDrawingControllers( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_ShouldApplicationPause( void *args ) +{ + struct IVRSystem_IVRSystem_022_ShouldApplicationPause_params *params = (struct IVRSystem_IVRSystem_022_ShouldApplicationPause_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->ShouldApplicationPause( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( void *args ) +{ + struct IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params *params = (struct IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->ShouldApplicationReduceRenderingWork( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_PerformFirmwareUpdate( void *args ) +{ + struct IVRSystem_IVRSystem_022_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_022_PerformFirmwareUpdate_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( void *args ) +{ + struct IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + iface->AcknowledgeQuit_Exiting( ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetAppContainerFilePaths( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetAppContainerFilePaths_params *params = (struct IVRSystem_IVRSystem_022_GetAppContainerFilePaths_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetRuntimeVersion( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetRuntimeVersion_params *params = (struct IVRSystem_IVRSystem_022_GetRuntimeVersion_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + params->_ret = iface->GetRuntimeVersion( ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp new file mode 100644 index 000000000..eb4a32c50 --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp @@ -0,0 +1,141 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetCameraFirmwareDescription( params->nDeviceIndex, params->pBuffer, params->nBufferLen ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetCameraFrameDimensions( params->nDeviceIndex, params->nVideoStreamFormat, params->pWidth, params->pHeight ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->SetCameraVideoStreamFormat( params->nDeviceIndex, params->nVideoStreamFormat ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetCameraVideoStreamFormat( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->EnableCameraForStreaming( params->nDeviceIndex, params->bEnable ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->StartVideoStream( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->StopVideoStream( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->IsVideoStreamActive( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetVideoStreamElapsedTime( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + u_CameraVideoStreamFrame_t_0914 u_pFrameImage; + if (params->pFrameImage) u_pFrameImage = *params->pFrameImage; + params->_ret = iface->ReleaseVideoStreamFrame( params->nDeviceIndex, params->pFrameImage ? &u_pFrameImage : nullptr ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->SetAutoExposure( params->nDeviceIndex, params->bEnable ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->PauseVideoStream( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->ResumeVideoStream( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->IsVideoStreamPaused( params->nDeviceIndex ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetCameraDistortion( params->nDeviceIndex, params->flInputU, params->flInputV, params->pflOutputU, params->pflOutputV ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->flWidthPixels, params->flHeightPixels, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp new file mode 100644 index 000000000..abdf5f8ce --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp @@ -0,0 +1,67 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->GetCameraIntrinisics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_002 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_002 *)params->linux_side; + params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp new file mode 100644 index 000000000..86eec9739 --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp @@ -0,0 +1,99 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader, params->nFrameHeaderSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader, params->nFrameHeaderSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader, params->nFrameHeaderSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_003 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_003 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp new file mode 100644 index 000000000..14f5e7597 --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp @@ -0,0 +1,111 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_004 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_004 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp new file mode 100644 index 000000000..957787110 --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp @@ -0,0 +1,111 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_005 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_005 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + return 0; +} + diff --git a/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp new file mode 100644 index 000000000..a3c7577aa --- /dev/null +++ b/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp @@ -0,0 +1,127 @@ +/* This file is auto-generated, do not edit. */ +#include "unix_private.h" + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetCameraErrorNameFromEnum( params->eCameraError ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_HasCamera( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->HasCamera( params->nDeviceIndex, params->pHasCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetCameraFrameSize( params->nDeviceIndex, params->eFrameType, params->pnWidth, params->pnHeight, params->pnFrameBufferSize ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetCameraIntrinsics( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->pFocalLength, params->pCenter ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetCameraProjection( params->nDeviceIndex, params->nCameraIndex, params->eFrameType, params->flZNear, params->flZFar, params->pProjection ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->AcquireVideoStreamingService( params->nDeviceIndex, params->pHandle ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamingService( params->hTrackedCamera ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamFrameBuffer( params->hTrackedCamera, params->eFrameType, params->pFrameBuffer, params->nFrameBufferSize, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetVideoStreamTextureSize( params->nDeviceIndex, params->eFrameType, params->pTextureBounds, params->pnWidth, params->pnHeight ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureD3D11( params->hTrackedCamera, params->eFrameType, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + u_CameraVideoStreamFrameHeader_t_1017 u_pFrameHeader; + if (params->pFrameHeader) u_pFrameHeader = *params->pFrameHeader; + uint32_t u_nFrameHeaderSize = params->nFrameHeaderSize ? sizeof(u_pFrameHeader) : 0; + params->_ret = iface->GetVideoStreamTextureGL( params->hTrackedCamera, params->eFrameType, params->pglTextureId, params->pFrameHeader ? &u_pFrameHeader : nullptr, u_nFrameHeaderSize ); + if (params->pFrameHeader) *params->pFrameHeader = u_pFrameHeader; + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->ReleaseVideoStreamTextureGL( params->hTrackedCamera, params->glTextureId ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + iface->SetCameraTrackingSpace( params->eUniverse ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_006 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_006 *)params->linux_side; + params->_ret = iface->GetCameraTrackingSpace( ); + return 0; +} + diff --git a/vrclient_x64/vrclient_x64/cxx.h b/vrclient_x64/cxx.h similarity index 77% rename from vrclient_x64/vrclient_x64/cxx.h rename to vrclient_x64/cxx.h index ef46ded98..701ab02fc 100644 --- a/vrclient_x64/vrclient_x64/cxx.h +++ b/vrclient_x64/cxx.h @@ -16,44 +16,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -/* Copied from dlls/msvcrt/cxx.h */ -#undef __thiscall - -#define __ASM_CFI(str) str - -#ifdef __APPLE__ -# define __ASM_NAME(name) "_" name -# define FORCE_ALIGN -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl _" #name suffix "\n\t\n_" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#else -# define __ASM_NAME(name) name -# define FORCE_ALIGN __attribute__((__force_align_arg_pointer__)) -# define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t.globl " #name suffix "\n\t.type " #name suffix ",@function\n" #name suffix ":\n\t.cfi_startproc\n\t" code "\n\t.cfi_endproc\n\t.previous"); -#endif - -#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,"",code) -#define __ASM_STDCALL(args) "" - -#ifdef __i386__ /* thiscall functions are i386-specific */ - -#define THISCALL(func) __thiscall_ ## func -#define THISCALL_NAME(func) __ASM_NAME("__thiscall_" #func) -#define __thiscall __stdcall FORCE_ALIGN -#define DEFINE_THISCALL_WRAPPER(func,args) \ - extern void THISCALL(func)(void); \ - __ASM_GLOBAL_FUNC(__thiscall_ ## func, \ - "popl %eax\n\t" \ - "pushl %ecx\n\t" \ - "pushl %eax\n\t" \ - "jmp " __ASM_NAME(#func) __ASM_STDCALL(args) ) -#else /* __i386__ */ - -#define THISCALL(func) func -#define THISCALL_NAME(func) __ASM_NAME(#func) -#define __thiscall __cdecl FORCE_ALIGN -#define DEFINE_THISCALL_WRAPPER(func,args) /* nothing */ - -#endif /* __i386__ */ +#include "wine/asm.h" #ifdef _WIN64 @@ -61,8 +24,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 8\n" \ - "\t.quad 0\n" \ + "\t.balign 8\n" \ + "\t.quad " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -73,8 +36,8 @@ #define __ASM_VTABLE(name,funcs) \ __asm__(".data\n" \ - "\t.align 4\n" \ - "\t.long 0\n" \ + "\t.balign 4\n" \ + "\t.long " __ASM_NAME(#name "_rtti") "\n" \ "\t.globl " __ASM_NAME(#name "_vtable") "\n" \ __ASM_NAME(#name "_vtable") ":\n" \ funcs "\n\t.text") @@ -83,9 +46,9 @@ #ifndef __x86_64__ -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -95,7 +58,10 @@ static const rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static const rtti_base_array name ## _rtti_base_array = { \ { \ @@ -127,22 +93,26 @@ const rtti_object_locator name ## _rtti = { \ &name ## _hierarchy \ }; -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static const cxx_type_info type ## _cxx_type_info = { \ 0, \ & type ##_type_info, \ { 0, -1, 0 }, \ sizeof(type), \ - (cxx_copy_ctor)THISCALL(MSVCP_ ## type ##_copy_ctor) \ -}; \ + (cxx_copy_ctor)THISCALL(type ##_copy_ctor) \ +}; + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +DEFINE_CXX_TYPE_INFO(type) \ \ static const cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ & type ## _cxx_type_info, \ cl1, \ - cl2 \ + cl2, \ + cl3, \ + cl4 \ } \ }; \ \ @@ -155,9 +125,9 @@ static const cxx_exception_type type ## _cxx_type = { \ #else -#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ - static const type_info name ## _type_info = { \ - &MSVCP_type_info_vtable, \ +#define __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + static type_info name ## _type_info = { \ + &type_info_vtable, \ NULL, \ mangled_name \ }; \ @@ -167,7 +137,18 @@ static rtti_base_descriptor name ## _rtti_base_descriptor = { \ base_classes_no, \ { 0, -1, 0}, \ 64 \ -}; \ +}; + +#define DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ + \ + static void init_ ## name ## _rtti(char *base) \ + { \ + name ## _rtti_base_descriptor.type_descriptor = (char*)&name ## _type_info - base; \ + } + +#define DEFINE_RTTI_DATA(name, off, base_classes_no, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ + __DEFINE_RTTI_BASE(name, base_classes_no, mangled_name) \ \ static rtti_base_array name ## _rtti_base_array = { \ { \ @@ -219,8 +200,7 @@ static void init_ ## name ## _rtti(char *base) \ name ## _rtti.object_locator = (char*)&name ## _rtti - base; \ } -#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, dtor) \ -\ +#define DEFINE_CXX_TYPE_INFO(type) \ static cxx_type_info type ## _cxx_type_info = { \ 0, \ 0xdeadbeef, \ @@ -229,9 +209,21 @@ static cxx_type_info type ## _cxx_type_info = { \ 0xdeadbeef \ }; \ \ +static void init_ ## type ## _cxx_type_info(char *base) \ +{ \ + type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ + type ## _cxx_type_info.copy_ctor = (char *)type ## _copy_ctor - base; \ +} + +#define DEFINE_CXX_DATA(type, base_no, cl1, cl2, cl3, cl4, dtor) \ +\ +DEFINE_CXX_TYPE_INFO(type) \ +\ static cxx_type_info_table type ## _cxx_type_table = { \ base_no+1, \ { \ + 0xdeadbeef, \ + 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef, \ 0xdeadbeef \ @@ -247,11 +239,12 @@ static cxx_exception_type type ##_cxx_type = { \ \ static void init_ ## type ## _cxx(char *base) \ { \ - type ## _cxx_type_info.type_info = (char *)&type ## _type_info - base; \ - type ## _cxx_type_info.copy_ctor = (char *)MSVCP_ ## type ## _copy_ctor - base; \ + init_ ## type ## _cxx_type_info(base); \ type ## _cxx_type_table.info[0] = (char *)&type ## _cxx_type_info - base; \ type ## _cxx_type_table.info[1] = (char *)cl1 - base; \ type ## _cxx_type_table.info[2] = (char *)cl2 - base; \ + type ## _cxx_type_table.info[3] = (char *)cl3 - base; \ + type ## _cxx_type_table.info[4] = (char *)cl4 - base; \ type ## _cxx_type.destructor = (char *)dtor - base; \ type ## _cxx_type.type_info_table = (char *)&type ## _cxx_type_table - base; \ } @@ -268,19 +261,25 @@ static void init_ ## type ## _cxx(char *base) \ DEFINE_RTTI_DATA(name, off, 3, cl1, cl2, cl3, NULL, NULL, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA4(name, off, cl1, cl2, cl3, cl4, mangled_name) \ DEFINE_RTTI_DATA(name, off, 4, cl1, cl2, cl3, cl4, NULL, NULL, NULL, NULL, NULL, mangled_name) +#define DEFINE_RTTI_DATA5(name, off, cl1, cl2, cl3, cl4, cl5, mangled_name) \ + DEFINE_RTTI_DATA(name, off, 5, cl1, cl2, cl3, cl4, cl5, NULL, NULL, NULL, NULL, mangled_name) #define DEFINE_RTTI_DATA8(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, mangled_name) \ DEFINE_RTTI_DATA(name, off, 8, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, NULL, mangled_name) #define DEFINE_RTTI_DATA9(name, off, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) \ DEFINE_RTTI_DATA(name, off, 9, cl1, cl2, cl3, cl4, cl5, cl6, cl7, cl8, cl9, mangled_name) #define DEFINE_CXX_DATA0(name, dtor) \ - DEFINE_CXX_DATA(name, 0, NULL, NULL, dtor) + DEFINE_CXX_DATA(name, 0, NULL, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA1(name, cl1, dtor) \ - DEFINE_CXX_DATA(name, 1, cl1, NULL, dtor) + DEFINE_CXX_DATA(name, 1, cl1, NULL, NULL, NULL, dtor) #define DEFINE_CXX_DATA2(name, cl1, cl2, dtor) \ - DEFINE_CXX_DATA(name, 2, cl1, cl2, dtor) + DEFINE_CXX_DATA(name, 2, cl1, cl2, NULL, NULL, dtor) +#define DEFINE_CXX_DATA3(name, cl1, cl2, cl3, dtor) \ + DEFINE_CXX_DATA(name, 3, cl1, cl2, cl3, NULL, dtor) +#define DEFINE_CXX_DATA4(name, cl1, cl2, cl3, cl4, dtor) \ + DEFINE_CXX_DATA(name, 4, cl1, cl2, cl3, cl4, dtor) -#ifdef __i386__ +#ifdef __ASM_USE_THISCALL_WRAPPER #define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (WINAPI*)type)&vtbl_wrapper_##off)args @@ -302,7 +301,7 @@ extern void *vtbl_wrapper_56; #else -#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__cdecl***)type)this)[0][off/4]args +#define CALL_VTBL_FUNC(this, off, ret, type, args) ((ret (__thiscall***)type)this)[0][off/4]args #endif @@ -315,21 +314,6 @@ typedef struct __exception int do_free; /* Whether to free 'name' in our dtor */ } exception; -/* Internal: throws selected exception */ -typedef enum __exception_type { - EXCEPTION_RERAISE, - EXCEPTION, - EXCEPTION_BAD_ALLOC, - EXCEPTION_BAD_CAST, - EXCEPTION_LOGIC_ERROR, - EXCEPTION_LENGTH_ERROR, - EXCEPTION_OUT_OF_RANGE, - EXCEPTION_INVALID_ARGUMENT, - EXCEPTION_RUNTIME_ERROR, - EXCEPTION_FAILURE, -} exception_type; -void throw_exception(exception_type, const char *); - /* rtti */ typedef struct __type_info { @@ -338,7 +322,7 @@ typedef struct __type_info char mangled[128]; /* Variable length, but we declare it large enough for static RTTI */ } type_info; -extern const vtable_ptr MSVCP_type_info_vtable; +extern const vtable_ptr type_info_vtable; /* offsets for computing the this pointer */ typedef struct @@ -395,7 +379,7 @@ typedef struct typedef struct { UINT count; - const cxx_type_info *info[3]; + const cxx_type_info *info[5]; } cxx_type_info_table; typedef struct @@ -451,7 +435,7 @@ typedef struct typedef struct { UINT count; - unsigned int info[3]; + unsigned int info[5]; } cxx_type_info_table; typedef struct @@ -463,3 +447,30 @@ typedef struct } cxx_exception_type; #endif + +#define CREATE_TYPE_INFO_VTABLE \ +DEFINE_THISCALL_WRAPPER(type_info_vector_dtor,8) \ +void * __thiscall type_info_vector_dtor(type_info * _this, unsigned int flags) \ +{ \ + if (flags & 2) \ + { \ + /* we have an array, with the number of elements stored before the first object */ \ + INT_PTR i, *ptr = (INT_PTR *)_this - 1; \ +\ + for (i = *ptr - 1; i >= 0; i--) free(_this[i].name); \ + free(ptr); \ + } \ + else \ + { \ + free(_this->name); \ + if (flags & 1) free(_this); \ + } \ + return _this; \ +} \ +\ +DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" ) \ +\ +__ASM_BLOCK_BEGIN(type_info_vtables) \ + __ASM_VTABLE(type_info, \ + VTABLE_ADD_FUNC(type_info_vector_dtor)); \ +__ASM_BLOCK_END diff --git a/vrclient_x64/vrclient_x64/dxvk-interop.h b/vrclient_x64/dxvk-interop.h similarity index 100% rename from vrclient_x64/vrclient_x64/dxvk-interop.h rename to vrclient_x64/dxvk-interop.h diff --git a/vrclient_x64/vrclient_x64/flatapi.c b/vrclient_x64/flatapi.c similarity index 100% rename from vrclient_x64/vrclient_x64/flatapi.c rename to vrclient_x64/flatapi.c diff --git a/vrclient_x64/vrclient_x64/flatapi.h b/vrclient_x64/flatapi.h similarity index 100% rename from vrclient_x64/vrclient_x64/flatapi.h rename to vrclient_x64/flatapi.h diff --git a/vrclient_x64/gen.sh b/vrclient_x64/gen.sh index 847e104ce..5dd2920b8 100755 --- a/vrclient_x64/gen.sh +++ b/vrclient_x64/gen.sh @@ -1,12 +1,12 @@ #!/bin/bash -rm vrclient_x64/win*.h -rm vrclient_x64/win*.c -rm vrclient_x64/win*.dat -rm vrclient_x64/cpp*.cpp -rm vrclient_x64/cpp*.h -rm vrclient_x64/struct*.h -rm vrclient_x64/struct*.cpp +rm win*.h +rm win*.c +rm win*.dat +rm cpp*.cpp +rm cpp*.h +rm struct*.h +rm struct*.cpp rm tests/*_autogen.c rm tests/*_autogen.h diff --git a/vrclient_x64/gen_wrapper.py b/vrclient_x64/gen_wrapper.py index 4dea64184..aa74d5c9f 100755 --- a/vrclient_x64/gen_wrapper.py +++ b/vrclient_x64/gen_wrapper.py @@ -3,17 +3,15 @@ #NOTE: If you make modifications here, consider whether they should #be duplicated in ../lsteamclient/gen_wrapper.py -from __future__ import print_function - CLANG_PATH='/usr/lib/clang/15' -from clang.cindex import CursorKind, Index, Type, TypeKind -import pprint -import sys +from clang.cindex import Cursor, CursorKind, Index, TypeKind +import concurrent.futures import os import re -sdk_versions = [ +SDK_VERSIONS = [ + "v1.26.7", "v1.23.7", "v1.16.8", "v1.14.15", @@ -72,344 +70,523 @@ "0.9.0", ] -files = [ - ("ivrclientcore.h", +ABIS = ['u32', 'u64', 'w32', 'w64'] + +SDK_SOURCES = { + "ivrclientcore.h": [ [ #classes - "IVRApplications", - "IVRChaperone", - "IVRChaperoneSetup", - "IVRCompositor", - "IVRControlPanel", - "IVRDriverManager", - "IVRExtendedDisplay", - "IVRNotifications", - "IVRInput", - "IVRIOBuffer", - "IVRMailbox", - "IVROverlay", - "IVRRenderModels", - "IVRResources", - "IVRScreenshots", - "IVRSettings", - "IVRSystem", - "IVRTrackedCamera", - "IVRHeadsetView", - "IVROverlayView", - "IVRClientCore", - ], [ #vrclient-allocated structs - "RenderModel_t", - "RenderModel_TextureMap_t", + "IVRApplications", + "IVRChaperone", + "IVRChaperoneSetup", + "IVRCompositor", + "IVRControlPanel", + "IVRDriverManager", + "IVRExtendedDisplay", + "IVRNotifications", + "IVRInput", + "IVRIOBuffer", + "IVRMailbox", + "IVROverlay", + "IVRRenderModels", + "IVRResources", + "IVRScreenshots", + "IVRSettings", + "IVRSystem", + "IVRTrackedCamera", + "IVRHeadsetView", + "IVROverlayView", + "IVRClientCore", ] - ), -] + ], +} + +SDK_CLASSES = {klass: source for source, value in SDK_SOURCES.items() + for klass in value[0]} + +# these structs are manually confirmed to be equivalent +EXEMPT_STRUCTS = { + "HmdColor_t", + "HmdMatrix33_t", + "HmdMatrix34_t", + "HmdMatrix44_t", + "HmdQuad_t", + "HmdQuaternion_t", + "HmdQuaternionf_t", + "HmdVector2_t", + "HmdVector3_t", + "HmdVector3d_t", + "HmdVector4_t", + "IntersectionMaskCircle_t", + "IntersectionMaskRectangle_t", + "CVRSettingHelper", +} + +# structs for which the size is important, either because of arrays or size parameters +SIZED_STRUCTS = { + "CameraVideoStreamFrameHeader_t", + "Compositor_BenchmarkResults", + "Compositor_CumulativeStats", + "Compositor_StageRenderSettings", + "InputAnalogActionData_t", + "InputBindingInfo_t", + "InputDigitalActionData_t", + "InputOriginInfo_t", + "InputPoseActionData_t", + "InputSkeletalActionData_t", + "InputSkeletonActionData_t", + "Texture_t", + "TrackedDevicePose_t", + "VRActiveActionSet_t", + "VRBoneTransform_t", + "VRControllerState001_t", + "VREvent_t", + "VROverlayIntersectionMaskPrimitive_t", + "VROverlayView_t", +} -next_is_size_structs = [ - "VREvent_t", - "VRControllerState001_t", - "InputAnalogActionData_t", - "InputDigitalActionData_t", - "InputPoseActionData_t", - "InputSkeletalActionData_t", - "CameraVideoStreamFrameHeader_t", - "Compositor_CumulativeStats", - "VRActiveActionSet_t", - "InputOriginInfo_t", - "InputBindingInfo_t", +STRUCTS_NEXT_IS_SIZE = [ + "VREvent_t", + "VRControllerState001_t", + "InputAnalogActionData_t", + "InputDigitalActionData_t", + "InputPoseActionData_t", + "InputSkeletalActionData_t", + "CameraVideoStreamFrameHeader_t", + "Compositor_CumulativeStats", + "VRActiveActionSet_t", + "InputOriginInfo_t", + "InputBindingInfo_t", ] -unhandled_next_is_size_structs = [ - "VROverlayIntersectionMaskPrimitive_t" # not next, but next-next uint32 is the size +STRUCTS_NEXT_IS_SIZE_UNHANDLED = [ + "VROverlayIntersectionMaskPrimitive_t" # not next, but next-next uint32 is the size ] -struct_size_fields = { - "Compositor_OverlaySettings": ["size"], - "Compositor_FrameTiming": ["size", "m_nSize"], - "DriverDirectMode_FrameTiming": ["m_nSize"], +STRUCTS_SIZE_FIELD = { + "Compositor_OverlaySettings": ["size"], + "Compositor_FrameTiming": ["size", "m_nSize"], + "DriverDirectMode_FrameTiming": ["m_nSize"], } -path_conversions = [ - { - "parent_name": "SetActionManifestPath", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchActionManifestPath"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "SetOverlayFromFile", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchFilePath"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "AddApplicationManifest", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchApplicationManifestFullPath"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "RemoveApplicationManifest", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchApplicationManifestFullPath"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "RequestScreenshot", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchPreviewFilename", "pchVRFilename"], - "w2l_arrays": [False, False], - "return_is_size": False - }, - { - "parent_name": "TakeStereoScreenshot", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchPreviewFilename", "pchVRFilename"], - "w2l_arrays": [False, False], - "return_is_size": False - }, - { - "parent_name": "SubmitScreenshot", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchSourcePreviewFilename", "pchSourceVRFilename"], - "w2l_arrays": [False, False], - "return_is_size": False - }, - { - "parent_name": "GetScreenshotPropertyFilename", - "l2w_names":["pchFilename"], - "l2w_lens":["cchFilename"], - "w2l_names": [], - "w2l_arrays": [], - "return_is_size": True - }, - { - "parent_name": "undoc23", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["a"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "undoc27", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["a"], - "w2l_arrays": [False], - "return_is_size": False - }, - { - "parent_name": "SetStageOverride_Async", - "l2w_names":[], - "l2w_lens":[], - "w2l_names": ["pchRenderModelPath"], - "w2l_arrays": [False], - "return_is_size": False +PATH_CONV_METHODS_UTOW = { + "IVRScreenshots_GetScreenshotPropertyFilename": { + "pchFilename": {"len": "cchFilename"}, + "ret_size": True, }, -# {#maybe? -# "parent_name": "GetRenderModelOriginalPath", -# "l2w_names":[pchOriginalPath], -# "l2w_lens":[unOriginalPathLen], -# "w2l_names": [], -# "w2l_arrays": [], -# "return_is_size": False +# maybe? +# "IVRRenderModels_GetRenderModelOriginalPath": { +# "pchOriginalPath": {"len": unOriginalPathLen}, # }, -# {#maybe? -# "parent_name": "GetResourceFullPath", -# "l2w_names":[pchPathBuffer], -# "l2w_lens":[unBufferLen], -# "w2l_names": [pchResourceTypeDirectory], -# "w2l_arrays": [False], -# "return_is_size": False +# "IVRResources_GetResourceFullPath": { +# "pchPathBuffer": {"len": unBufferLen}, # }, - #IVRInput::GetInputSourceHandle - #IVRIOBuffer::Open +# IVRInput::GetInputSourceHandle +# IVRIOBuffer::Open +# TODO: LaunchInternalProcess, need steam cooperation +} + +PATH_CONV_METHODS_WTOU = { + "IVRInput_SetActionManifestPath": {"pchActionManifestPath"}, + "IVRCompositor_SetOverlayFromFile": {"pchFilePath"}, + "IVROverlay_SetOverlayFromFile": {"pchFilePath"}, + "IVRApplications_AddApplicationManifest": {"pchApplicationManifestFullPath"}, + "IVRApplications_RemoveApplicationManifest": {"pchApplicationManifestFullPath"}, + "IVRScreenshots_RequestScreenshot": {"pchVRFilename", "pchPreviewFilename"}, + "IVRScreenshots_TakeStereoScreenshot": {"pchVRFilename", "pchPreviewFilename"}, + "IVRScreenshots_SubmitScreenshot": {"pchSourcePreviewFilename", "pchSourceVRFilename"}, + "IVRControlPanel_undoc23": {"a"}, + "IVRControlPanel_undoc27": {"a"}, + "IVRCompositor_SetStageOverride_Async": {"pchRenderModelPath"}, + +# maybe? +# "IVRResources_GetResourceFullPath": {"pchResourceTypeDirectory"}, +# IVRInput::GetInputSourceHandle +# IVRIOBuffer::Open +# TODO: LaunchInternalProcess, need steam cooperation +} - #TODO: LaunchInternalProcess, need steam cooperation +all_classes = {} +all_records = {} +all_structs = {} +all_sources = {} +all_versions = {} +unique_structs = [] + + +UNIX_FUNCS = [ + 'vrclient_init', + 'vrclient_HmdSystemFactory', + 'vrclient_VRClientCoreFactory', ] -aliases = { - #Some interface versions are not present in the public SDK - #headers, but are actually requested by games. It would be nice - #to verify that these interface versions are actually binary - #compatible. Lacking that, we hope the next highest version - #is compatible. -# "SteamClient012":["SteamClient013"], -# "SteamUtils004":["SteamUtils003"], # TimeShift uses SteamUtils003 - - - #leaving these commented-out. let's see if they turn up in practice, - #and handle them correctly if so. - -# "SteamFriends011":["SteamFriends010"], -# "SteamFriends013":["SteamFriends012"], -# "SteamGameServer008":["SteamGameServer007", "SteamGameServer006"], -# "SteamMatchMaking004":["SteamMatchMaking003"], -# "SteamMatchMaking006":["SteamMatchMaking005"], -# "STEAMREMOTESTORAGE_INTERFACE_VERSION004":["STEAMREMOTESTORAGE_INTERFACE_VERSION003"], -# "STEAMREMOTESTORAGE_INTERFACE_VERSION008":["STEAMREMOTESTORAGE_INTERFACE_VERSION007"], -# "STEAMREMOTESTORAGE_INTERFACE_VERSION010":["STEAMREMOTESTORAGE_INTERFACE_VERSION009"], -# "STEAMUGC_INTERFACE_VERSION005":["STEAMUGC_INTERFACE_VERSION004"], -# "STEAMUGC_INTERFACE_VERSION007":["STEAMUGC_INTERFACE_VERSION006"], -# "SteamUser016":["SteamUser015"], -# "STEAMUSERSTATS_INTERFACE_VERSION009":["STEAMUSERSTATS_INTERFACE_VERSION008"], +MANUAL_METHODS = { + "IVRClientCore_BIsHmdPresent": lambda ver, abi: abi == 'w', + "IVRClientCore_Init": lambda ver, abi: True, + "IVRClientCore_GetGenericInterface": lambda ver, abi: abi == 'w', + "IVRClientCore_Cleanup": lambda ver, abi: abi == 'w', + "IVRSystem_GetDXGIOutputInfo": lambda ver, abi: abi == 'w', + "IVRSystem_GetOutputDevice": lambda ver, abi: abi == 'u' and ver > 16, + "IVRCompositor_Submit": lambda ver, abi: ver > 8, + "IVRCompositor_SetSkyboxOverride": lambda ver, abi: ver > 8, + "IVRCompositor_PostPresentHandoff": lambda ver, abi: abi == 'w', + "IVRCompositor_WaitGetPoses": lambda ver, abi: abi == 'w' and ver > 15 and ver < 27, + "IVRCompositor_GetVulkanDeviceExtensionsRequired": lambda ver, abi: abi == 'u', + "IVRRenderModels_LoadTextureD3D11_Async": lambda ver, abi: abi == 'w', + "IVRRenderModels_FreeTextureD3D11": lambda ver, abi: abi == 'w', + "IVRRenderModels_LoadIntoTextureD3D11_Async": lambda ver, abi: abi == 'w', + "IVRRenderModels_LoadTexture": True, + "IVRRenderModels_LoadTexture_Async": True, + "IVRRenderModels_FreeTexture": True, + "IVRRenderModels_LoadRenderModel": lambda ver, abi: ver > 1, + "IVRRenderModels_LoadRenderModel_Async": True, + "IVRRenderModels_FreeRenderModel": lambda ver, abi: ver > 1, + "IVRMailbox_undoc3": lambda ver, abi: abi == 'u', + "IVROverlay_SetOverlayTexture": True, + "IVRInput_GetDigitalActionData": lambda ver, abi: abi == 'w' and ver > 3, + "IVRTrackedCamera_GetVideoStreamFrame": True, } -# TODO: we could do this automatically by creating temp files and -# having clang parse those and detect when the MS-style padding results -# in identical struct widths. But there's only a couple, so let's cheat... -skip_structs = [ -# "RemoteStorageGetPublishedFileDetailsResult_t_9740", -# "SteamUGCQueryCompleted_t_20", -# "SteamUGCRequestUGCDetailsResult_t_9764" -] -struct_conversion_cache = {} -struct_needs_size_adjustment_cache = {} - -print_sizes = [] - -class_versions = {} - -def get_params(f): - return [p for p in f.get_children() if p.kind == CursorKind.PARM_DECL] - -def ivrclientcore_is_hmd_present(cppname, method): - return "ivrclientcore_is_hmd_present" - -def ivrclientcore_init(cppname, method): - if "002" in cppname: - return "ivrclientcore_002_init" - return "ivrclientcore_init" - -def ivrclientcore_get_generic_interface(cppname, method): - return "ivrclientcore_get_generic_interface" - -def ivrclientcore_cleanup(cppname, method): - return "ivrclientcore_cleanup" - -def ivrsystem_get_dxgi_output_info(cppname, method): - param_count = len(get_params(method)) - return { - 1: "get_dxgi_output_info", - 2: "get_dxgi_output_info2" - }.get(param_count, "unhandled_get_dxgi_output_info_method") - -def ivrsystem_get_output_device(cppname, method): - #introduced in 016, changed in 017 - if "016" in cppname: - return "ivrsystem_016_get_output_device" - return "ivrsystem_get_output_device" - -def ivrcompositor_submit(cppname, method): - if "005" in cppname: - return "ivrcompositor_005_submit" - if "006" in cppname: - return "ivrcompositor_006_submit" - if "007" in cppname: - return "ivrcompositor_007_submit" - if "008" in cppname: - return "ivrcompositor_008_submit" - return "ivrcompositor_submit" - -def ivrcompositor_set_skybox_override(cppname, method): - if "008" in cppname: - return "ivrcompositor_008_set_skybox_override" - return "ivrcompositor_set_skybox_override" - -def ivrcompositor_post_present_handoff(cppname, method): - return "ivrcompositor_post_present_handoff" - -def ivrcompositor_wait_get_poses(cppname, method): - for version in ["016", "017", "018", "019", "020", "021", "022", "024", "026"]: - if version in cppname: - return "ivrcompositor_wait_get_poses" - return None - -def ivrcompositor_get_vulkan_device_extensions_required(cppname, method): - return "ivrcompositor_get_vulkan_device_extensions_required" - -def ivrrendermodels_load_texture_d3d11_async(cppname, method): - assert "004" in cppname or "005" in cppname or "006" in cppname - return "ivrrendermodels_load_texture_d3d11_async" - -def ivrrendermodels_free_texture_d3d11(cppname, method): - assert "004" in cppname or "005" in cppname or "006" in cppname - return "ivrrendermodels_free_texture_d3d11" - -def ivrrendermodels_load_into_texture_d3d11_async(cppname, method): - assert "005" in cppname or "006" in cppname - return "ivrrendermodels_load_into_texture_d3d11_async" - -def ivrmailbox_undoc3(cppname, method): - assert "001" in cppname - return "ivrmailbox_undoc3" - -def ivroverlay_set_overlay_texture(cppname, method): - if "001" in cppname: - return "ivroverlay_001_set_overlay_texture" - for version in ["002", "003", "004", "005"]: - if version in cppname: - return "ivroverlay_005_set_overlay_texture" - assert \ - "007" in cppname or \ - "008" in cppname or \ - "010" in cppname or \ - "011" in cppname or \ - "012" in cppname or \ - "013" in cppname or \ - "014" in cppname or \ - "016" in cppname or \ - "017" in cppname or \ - "018" in cppname or \ - "019" in cppname or \ - "020" in cppname or \ - "021" in cppname or \ - "022" in cppname or \ - "024" in cppname or \ - "025" in cppname or \ - "026" in cppname - return "ivroverlay_set_overlay_texture" - -def ivrinput_get_digital_action_data(cppname, method): - if "003" in cppname: - return None - return "ivrinput_get_digital_action_data" - -method_overrides = [ - ("IVRClientCore", "BIsHmdPresent", ivrclientcore_is_hmd_present), - ("IVRClientCore", "Init", ivrclientcore_init), - ("IVRClientCore", "GetGenericInterface", ivrclientcore_get_generic_interface), - ("IVRClientCore", "Cleanup", ivrclientcore_cleanup), - ("IVRSystem", "GetDXGIOutputInfo", ivrsystem_get_dxgi_output_info), - ("IVRSystem", "GetOutputDevice", ivrsystem_get_output_device), - ("IVRCompositor", "Submit", ivrcompositor_submit), - ("IVRCompositor", "SetSkyboxOverride", ivrcompositor_set_skybox_override), - ("IVRCompositor", "PostPresentHandoff", ivrcompositor_post_present_handoff), - ("IVRCompositor", "WaitGetPoses", ivrcompositor_wait_get_poses), - ("IVRCompositor", "GetVulkanDeviceExtensionsRequired", ivrcompositor_get_vulkan_device_extensions_required), - ("IVRRenderModels", "LoadTextureD3D11_Async", ivrrendermodels_load_texture_d3d11_async), - ("IVRRenderModels", "FreeTextureD3D11", ivrrendermodels_free_texture_d3d11), - ("IVRRenderModels", "LoadIntoTextureD3D11_Async", ivrrendermodels_load_into_texture_d3d11_async), - ("IVRMailbox", "undoc3", ivrmailbox_undoc3), - ("IVROverlay", "SetOverlayTexture", ivroverlay_set_overlay_texture), - ("IVRInput", "GetDigitalActionData", ivrinput_get_digital_action_data), -] +def is_manual_method(klass, method, abi): + version = re.search(r'(\d+)$', klass.version) + + key = f'{klass.name}_{method.name}' + needs_manual = MANUAL_METHODS.get(key, False) + + if callable(needs_manual) and version: + return needs_manual(int(version[0]), abi) + return needs_manual + + +class Padding: + def __init__(self, offset, size): + self.offset = offset + self.size = size + + +class Field: + def __init__(self, cursor, struct, type, offset, name=None): + self._cursor = cursor + self._type = type + + self.name = cursor.spelling if not name else name + self.type = cursor.type + self.size = self.type.get_size() + self.offset = offset + + def needs_conversion(self, other): + return self._type.needs_conversion(other._type) + + +class BasicType: + def __init__(self, type, abi): + self._type = type.get_canonical() + self._abi = abi + self._decl_order = 0 + self._conv_cache = {} + + self.size = self._type.get_size() + self.id = self._type.spelling + + @property + def order(self): + return self._decl_order + + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order + + def needs_conversion(self, other): + if self._type.kind == TypeKind.POINTER and self._type.get_pointee().kind == TypeKind.FUNCTIONPROTO: + return self._abi != other._abi + return False + + +class Struct: + def __init__(self, sdkver, abi, cursor): + self._cursor = cursor + self._sdkver = sdkver + self._abi = abi + self._fields = None + self._decl_order = 0 + self._conv_cache = {} + + self.name = canonical_typename(self._cursor) + self.name = self.name.removeprefix("vr::") + self.type = self._cursor.type.get_canonical() + self.size = self.type.get_size() + self.align = self.type.get_align() + self.id = f'{abi}_{self.name}_{sdkver}' + + if self._cursor.spelling in EXEMPT_STRUCTS: + self._fields = [Padding(0, self.size)] + + @property + def order(self): + return self._decl_order + + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order + [f._type.set_used(order - 1) for f in self.fields] + + @property + def padded_fields(self): + if self._fields: return self._fields + + size, self._fields = 0, [] + for cursor in self._cursor.get_children(): + if cursor.kind == CursorKind.CXX_BASE_SPECIFIER \ + and len(list(cursor.type.get_fields())) > 0: + base_type = Type(cursor.type, self._sdkver, self._abi) + self._fields += base_type.padded_fields + size = cursor.type.get_size() + break + + for cursor in self.type.get_fields(): + assert not cursor.is_bitfield() + offset = self.type.get_offset(cursor.spelling) + assert offset % 8 == 0 + offset = offset // 8 + # assert offset >= size or type(self) is Union + + if size < offset: self._fields.append(Padding(size, offset - size)) + field_type = Type(cursor.type, self._sdkver, self._abi) + self._fields.append(Field(cursor, self, field_type, offset)) + size = max(size, offset + cursor.type.get_size()) + + if size < self.size: self._fields.append(Padding(size, self.size - size)) + return self._fields + + @property + def fields(self): + return [f for f in self.padded_fields if type(f) is not Padding] + + def write_definition(self, out, prefix, converters): + version = all_versions[sdkver][self.name] + kind = 'union' if type(self) is Union else 'struct' + wrapped = len(prefix) > 0 + + out(f'#pragma pack( push, {self.align} )\n') + out(f'{kind} {prefix}{version}\n') + out(u'{\n') + for f in self.padded_fields: + if type(f) is Field: + out(f' {declspec(f._cursor, f.name, prefix, wrapped)};\n') + else: + out(f' uint8_t __pad_{f.offset}[{f.size}];\n') + for conv in converters: + out(u'#ifdef __cplusplus\n') + out(f' operator {conv}{version}() const;\n') + out(u'#endif /* __cplusplus */\n') + out(u'};\n') + out(u'#pragma pack( pop )\n\n') + + def write_checks(self, out, prefix): + version = all_versions[sdkver][self.name] + + out(f'C_ASSERT( sizeof({prefix}{version}) >= {self.size} );\n') + for f in self.fields: + out(f'C_ASSERT( offsetof({prefix}{version}, {f.name}) == {f.offset} );\n') + out(f'C_ASSERT( sizeof({prefix}{version}().{f.name}) >= {f.size} );\n') + out(u'\n') + + def write_converter(self, prefix): + version = all_versions[sdkver][self.name] + out(f'{self._abi}_{version}::operator {prefix}{version}() const\n') + out(u'{\n') + out(f' {prefix}{version} ret;\n') + for field in self.fields: + out(f' ret.{field.name} = this->{field.name};\n') + out(u' return ret;\n') + out(u'}\n') + + def needs_conversion(self, other): + if other.id in self._conv_cache: + return self._conv_cache[other.id] + self._conv_cache[other.id] = other._conv_cache[self.id] = True + + if self.name in SIZED_STRUCTS and self.size != other.size: + return True + if len(self.fields) != len(other.fields): + return True + if any([a.offset != b.offset or a.needs_conversion(b) + for a, b in zip(self.fields, other.fields)]): + return True + + self._conv_cache[other.id] = other._conv_cache[self.id] = False + return False + + def get_children(self): + return self._cursor.get_children() + + +class Union(Struct): + def __init__(self, sdkver, abi, cursor): + super().__init__(sdkver, abi, cursor) + + +class Method: + def __init__(self, sdkver, abi, cursor, klass, index, override): + self._sdkver = sdkver + self._abi = abi + + self._cursor = cursor + self._klass = klass + self._index = index + self._override = override + + self.result_type = cursor.result_type + self.spelling = cursor.spelling + + @property + def name(self): + if self._override > 1: return f'{self.spelling}_{self._override}' + return self.spelling + + @property + def full_name(self): + return f'{self._klass.full_name}_{self.name}' + + def get_arguments(self): + return self._cursor.get_arguments() + + def write_params(self, out): + returns_record = self.result_type.get_canonical().kind == TypeKind.RECORD + + ret = "*_ret" if returns_record else "_ret" + ret = f'{declspec(self.result_type, ret, "w_")}' + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(self.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(self.get_arguments())] + + if self.result_type.kind != TypeKind.VOID: + params = [ret] + params + names = ['_ret'] + names + + params = ['void *linux_side'] + params + names = ['linux_side'] + names + + out(f'struct {self.full_name}_params\n') + out(u'{\n') + for param in params: + out(f' {param};\n') + out(u'};\n\n') + + def get_children(self): + return self._cursor.get_children() + + +class Destructor(Method): + def __init__(self, sdkver, abi, cursor, klass, index, override): + super().__init__(sdkver, abi, cursor, klass, index, override) + + @property + def name(self): + if self._override > 1: return f'destructor_{self._override}' + return 'destructor' + + def write_params(self, out): + pass + + +class Class: + def __init__(self, sdkver, abi, cursor): + self._cursor = cursor + self._sdkver = sdkver + self._abi = abi + self._methods = None + self._decl_order = 0 + + self.name = cursor.spelling + self.filename = SDK_CLASSES.get(self.name, None) + versions = all_versions[sdkver] + self.version = versions.get(self.name, "") + + self.type = self._cursor.type.get_canonical() + self.id = f'{abi}_{self.name}_{sdkver}' + + @property + def methods(self): + if self._methods: + return self._methods + + overrides = {} + is_method = lambda c: c.kind == CursorKind.CXX_METHOD and c.is_virtual_method() + in_vtable = lambda c: is_method(c) or c.kind == CursorKind.DESTRUCTOR + + self._methods = [] + for i, method in enumerate(filter(in_vtable, self._cursor.get_children())): + index, override = overrides.get(method.spelling, (i, 1)) + overrides[method.spelling] = (index, override + 1) + if method.kind == CursorKind.DESTRUCTOR: + self._methods.append(Destructor(self._sdkver, self._abi, method, self, index, override)) + else: + self._methods.append(Method(self._sdkver, self._abi, method, self, index, override)) + + return self._methods + + @property + def full_name(self): + if len(self.version) == 0: + return self.name + return f'{self.name}_{self.version}' + + @property + def order(self): + return self._decl_order + + def set_used(self, order=-1): + if self._decl_order <= order: + return + self._decl_order = order + + def needs_conversion(self, other): + return self._abi[0] != other._abi[0] + + def __eq__(self, other): + return self._abi[0] == other._abi[0] + + def write_definition(self, out, prefix): + out(f'struct {prefix}{self.full_name}\n') + out(u'{\n') + out(u'#ifdef __cplusplus\n') + for method in self.methods: + types = [declspec(p, "", prefix) for p in method.get_arguments()] + if type(method) is Destructor: + out(f' virtual ~{prefix}{self.full_name}( {", ".join(types)} ) = 0;\n') + else: + method_name = f'{declspec(method.result_type, "", prefix)} {method.spelling}' + out(f' virtual {method_name}( {", ".join(types)} ) = 0;\n') + out(u'#endif /* __cplusplus */\n') + out(u'};\n\n') + + def get_children(self): + return self._cursor.get_children() + + +def Record(sdkver, abi, cursor): + if cursor.type.get_declaration().kind == CursorKind.UNION_DECL: + return Union(sdkver, abi, cursor) + + method_kinds = (CursorKind.CXX_METHOD, CursorKind.DESTRUCTOR) + is_method = lambda c: c.kind in method_kinds and c.is_virtual_method() + for _ in filter(is_method, cursor.get_children()): + return Class(sdkver, abi, cursor) + + return Struct(sdkver, abi, cursor) + + +def Type(decl, sdkver, abi): + name = strip_ns(canonical_typename(decl)) + if name not in all_structs: + return BasicType(decl, abi) + return all_structs[name][sdkver][abi] -method_overrides_data = [ - ("IVRClientCore", "struct client_core_data", None), -] def display_sdkver(s): if s.startswith("v"): @@ -419,660 +596,455 @@ def display_sdkver(s): def strip_ns(name): return name.replace("vr::","") -def get_path_converter(parent): - for conv in path_conversions: - if conv["parent_name"] in parent.spelling: - if None in conv["l2w_names"]: - return conv - if type(parent) == Type: - children = list(parent.get_fields()) - else: - children = list(parent.get_children()) - for child in children: - if child.spelling in conv["w2l_names"] or \ - child.spelling in conv["l2w_names"]: - return conv - return None - -def handle_method(cfile, classname, winclassname, cppname, method, cpp, cpp_h, existing_methods, iface_version): - used_name = method.spelling - if used_name in existing_methods: - number = '2' - while used_name in existing_methods: - idx = existing_methods.index(used_name) - used_name = "%s_%s" % (method.spelling, number) - number = chr(ord(number) + 1) - existing_methods.insert(idx, used_name) - else: - existing_methods.append(used_name) + +def underlying_type(decl): + if type(decl) is Cursor: + decl = decl.type + decl = decl.get_canonical() + if decl.kind == TypeKind.LVALUEREFERENCE: return underlying_type(decl.get_pointee()) + if decl.kind == TypeKind.CONSTANTARRAY: return underlying_type(decl.element_type) + if decl.kind == TypeKind.POINTER: return underlying_type(decl.get_pointee()) + return decl + + +def param_needs_conversion(decl): + decl = underlying_type(decl) + return decl.kind == TypeKind.RECORD and \ + struct_needs_conversion(decl) + + +def callconv(cursor, prefix): + if type(cursor) is not Cursor: + return '' + canon = cursor.type.get_canonical() + if canon.kind != TypeKind.POINTER: + return '' + canon = canon.get_pointee() + if canon.kind != TypeKind.FUNCTIONPROTO: + return '' + if cursor.type.kind == TypeKind.TYPEDEF: + cursor = cursor.type.get_declaration() + + tokens = cursor.get_tokens() + while next(tokens).spelling != '(': pass + token = next(tokens).spelling.strip('_') + token = token.replace('*', 'stdcall') + token = token.replace('S_CALLTYPE', 'cdecl') + return f'{prefix[0].upper()}_{token.upper()} ' + + +def declspec_func(decl, name, prefix): + ret = declspec(decl.get_result(), "", prefix, False) + params = [declspec(a, "", prefix, False) for a in decl.argument_types()] + params = ", ".join(params) if len(params) else "void" + return f'{ret} ({name})({params})' + + +def declspec(decl, name, prefix, wrapped=False): + call = callconv(decl, prefix) + if type(decl) is Cursor: + decl = decl.type + decl = decl.get_canonical() + + const = 'const ' if decl.is_const_qualified() else '' + if decl.kind == TypeKind.FUNCTIONPROTO: + return declspec_func(decl, name, prefix) + if decl.kind in (TypeKind.POINTER, TypeKind.LVALUEREFERENCE): + decl = decl.get_pointee() + spec = declspec(decl, f"*{call}{const}{name}", prefix, False) + if wrapped: + return f'{prefix.upper()}PTR({spec}, {name})' + return spec + if decl.kind == TypeKind.CONSTANTARRAY: + decl, count = decl.element_type, decl.element_count + if wrapped: + spec = declspec(decl, const, prefix, False) + return f'{prefix.upper()}ARRAY({spec}, {count}, {name})' + return declspec(decl, f"({const}{name})[{count}]", prefix, False) + + if len(name): + name = f' {name}' + + if decl.kind in (TypeKind.UNEXPOSED, TypeKind.FUNCTIONPROTO): + return f'void{name}' + if decl.kind == TypeKind.ENUM: + return f'uint{decl.get_size() * 8}_t{name}' + + type_name = decl.spelling + type_name = type_name.removeprefix("const ") + type_name = type_name.removeprefix("vr::") + if type_name.startswith(('IVR', 'ID3D')): + return f'{const}void /*{type_name}*/{name}' + + if decl.kind == TypeKind.RECORD \ + and type_name in all_versions[sdkver] \ + and type_name not in EXEMPT_STRUCTS: + if type_name in unique_structs: + return f'{const}{all_versions[sdkver][type_name]}{name}' + return f'{const}{prefix}{all_versions[sdkver][type_name]}{name}' + + real_name = canonical_typename(decl) + real_name = real_name.removeprefix("const ") + real_name = real_name.removeprefix("vr::") + + if type_name in ('void', 'char', 'float', 'double'): + return f'{const}{type_name}{name}' + if type_name.startswith(('bool', 'int', 'long', 'short', 'signed')): + return f'{const}int{decl.get_size() * 8}_t{name}' + if type_name.startswith(('uint', 'unsigned')): + return f'{const}uint{decl.get_size() * 8}_t{name}' + + return f'{const}{type_name}{name}' + + +def handle_method_cpp(method, classname, out): + returns_void = method.result_type.kind == TypeKind.VOID returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - if returns_record: - parambytes = 8 #_this + return pointer - else: - parambytes = 4 #_this - for param in get_params(method): - parambytes += param.type.get_size() - cfile.write("DEFINE_THISCALL_WRAPPER(%s_%s, %s)\n" % (winclassname, used_name, parambytes)) - cpp_h.write("extern ") - if strip_ns(method.result_type.spelling).startswith("IVR"): - cfile.write("win%s " % (strip_ns(method.result_type.spelling))) - cpp.write("void *") - cpp_h.write("void *") - elif returns_record: - cfile.write("%s *" % strip_ns(method.result_type.spelling)) - cpp.write("%s " % method.result_type.spelling) - cpp_h.write("%s " % strip_ns(method.result_type.spelling)) - else: - cfile.write("%s " % strip_ns(method.result_type.spelling)) - cpp.write("%s " % method.result_type.spelling) - cpp_h.write("%s " % strip_ns(method.result_type.spelling)) - cfile.write('__thiscall %s_%s(%s *_this' % (winclassname, used_name, winclassname)) - cpp.write("%s_%s(void *linux_side" % (cppname, used_name)) - cpp_h.write("%s_%s(void *" % (cppname, used_name)) - if returns_record: - cfile.write(", %s *_r" % strip_ns(method.result_type.spelling)) - unnamed = 'a' - do_lin_to_win = None - do_win_to_lin = None - do_size_fixup = None - do_wrap = None - do_unwrap = None - need_convert = [] - for param in get_params(method): - if param.type.kind == TypeKind.POINTER and \ - param.type.get_pointee().kind == TypeKind.UNEXPOSED: - #unspecified function pointer - typename = "void *" - else: - typename = param.type.spelling.split("::")[-1].replace("&", "*") - real_type = param.type; - while real_type.kind == TypeKind.POINTER: - real_type = real_type.get_pointee() - if param.type.kind == TypeKind.POINTER: - if strip_ns(param.type.get_pointee().get_canonical().spelling) in system_structs: - do_unwrap = (strip_ns(param.type.get_pointee().get_canonical().spelling), param.spelling) - typename = "win" + do_unwrap[0] + "_" + display_sdkver(sdkver) + " *" - elif param.type.get_pointee().get_canonical().kind == TypeKind.POINTER and \ - strip_ns(param.type.get_pointee().get_pointee().get_canonical().spelling) in system_structs: - do_wrap = (strip_ns(param.type.get_pointee().get_pointee().get_canonical().spelling), param.spelling) - typename = "win" + do_wrap[0] + "_" + display_sdkver(sdkver) + " **" - elif real_type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(real_type.get_canonical()): - do_win_to_lin = (strip_const(strip_ns(real_type.get_canonical().spelling)), param.spelling) - if not real_type.is_const_qualified(): - do_lin_to_win = (strip_const(strip_ns(real_type.get_canonical().spelling)), param.spelling) - #preserve pointers - typename = typename.replace(strip_ns(real_type.spelling), "win%s_%s" % (strip_ns(real_type.get_canonical().spelling), display_sdkver(sdkver))) - elif real_type.get_canonical().kind == TypeKind.RECORD and \ - strip_ns(real_type.spelling) in next_is_size_structs and \ - struct_needs_size_adjustment(real_type.get_canonical()): - do_size_fixup = (strip_const(strip_ns(real_type.get_canonical().spelling)), param.spelling) - - if param.spelling == "": - cfile.write(", %s _%s" % (typename, unnamed)) - cpp.write(", %s _%s" % (typename, unnamed)) - cpp_h.write(", %s" % typename) - unnamed = chr(ord(unnamed) + 1) - else: - cfile.write(", %s %s" % (typename, param.spelling)) - cpp.write(", %s %s" % (typename, param.spelling)) - cpp_h.write(", %s" % (typename)) - cfile.write(")\n{\n") - cpp.write(")\n{\n") - cpp_h.write(");\n") - - path_conv = get_path_converter(method) - - if path_conv: - for i in range(len(path_conv["w2l_names"])): - if path_conv["w2l_arrays"][i]: - cfile.write(" const char **lin_%s = vrclient_dos_to_unix_stringlist(%s);\n" % (path_conv["w2l_names"][i], path_conv["w2l_names"][i])) - # TODO - pass - else: - cfile.write(" char lin_%s[PATH_MAX];\n" % path_conv["w2l_names"][i]) - cfile.write(" vrclient_dos_path_to_unix_path(%s, lin_%s);\n" % (path_conv["w2l_names"][i], path_conv["w2l_names"][i])) - if None in path_conv["l2w_names"]: - cfile.write(" const char *path_result;\n") - elif path_conv["return_is_size"]: - cfile.write(" uint32_t path_result;\n") - elif len(path_conv["l2w_names"]) > 0: - cfile.write(" %s path_result;\n" % method.result_type.spelling) - - if do_lin_to_win or do_win_to_lin: - if do_lin_to_win: - cpp.write(" %s lin;\n" % do_lin_to_win[0]) - else: - cpp.write(" %s lin;\n" % do_win_to_lin[0]) - if not method.result_type.kind == TypeKind.VOID: - cpp.write(" %s _ret;\n" % method.result_type.spelling) - - if do_wrap: - cpp.write(" %s *lin;\n" % do_wrap[0]) - if not method.result_type.kind == TypeKind.VOID: - cpp.write(" %s _ret;\n" % method.result_type.spelling) - - cfile.write(" TRACE(\"%p\\n\", _this);\n") - - if do_win_to_lin: - #XXX we should pass the struct size here - cpp.write(" if(%s)\n" % do_win_to_lin[1]) - cpp.write(" struct_%s_%s_win_to_lin(%s, &lin);\n" % (strip_ns(do_win_to_lin[0]), display_sdkver(sdkver), do_win_to_lin[1])) - - if method.result_type.kind == TypeKind.VOID: - cfile.write(" ") - cpp.write(" ") - elif path_conv and (len(path_conv["l2w_names"]) > 0 or path_conv["return_is_size"]): - cfile.write(" path_result = ") - cpp.write(" return ") + + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + + need_convert = {n: p for n, p in zip(names, method.get_arguments()) + if param_needs_conversion(p)} + + names = ['linux_side'] + names + + out(f'NTSTATUS {method.full_name}( void *args )\n') + out(u'{\n') + out(f' struct {method.full_name}_params *params = (struct {method.full_name}_params *)args;\n') + out(f' struct u_{klass.full_name} *iface = (struct u_{klass.full_name} *)params->linux_side;\n') + + params = list(zip(names[1:], method.get_arguments())) + for i, (name, param) in enumerate(params[:-1]): + if underlying_type(param).kind != TypeKind.RECORD: + continue + next_name, next_param = params[i + 1] + if not any(w in next_name.lower() for w in ('count', 'len', 'size', 'num')): + continue + assert strip_ns(underlying_typename(param)) in SIZED_STRUCTS | EXEMPT_STRUCTS + + for i, (name, param) in enumerate(params[1:]): + if underlying_type(param).kind != TypeKind.RECORD: + continue + prev_name, prev_param = params[i - 1] + if not any(w in prev_name.lower() for w in ('count', 'len', 'size', 'num')): + continue + if strip_ns(underlying_typename(param)) not in SIZED_STRUCTS | EXEMPT_STRUCTS: + print('Warning:', strip_ns(underlying_typename(param)), name, 'following', prev_name) + + path_conv_wtou = PATH_CONV_METHODS_WTOU.get(f'{klass.name}_{method.spelling}', {}) + for name in filter(lambda x: x in names, sorted(path_conv_wtou)): + out(f' char *u_{name} = vrclient_dos_to_unix_path( params->{name} );\n') + + need_output = {} + + for name, param in sorted(need_convert.items()): + if param.type.kind != TypeKind.POINTER: + out(f' {declspec(param, f"u_{name}", "u_")} = params->{name};\n') + continue + + pointee = param.type.get_pointee() + if pointee.kind == TypeKind.POINTER: + need_output[name] = param + out(f' {declspec(pointee, f"u_{name}", "u_")};\n') + continue + + if not pointee.is_const_qualified(): + need_output[name] = param + + out(f' {declspec(pointee, f"u_{name}", "u_").removeprefix("const ")};\n') + out(f' if (params->{name}) u_{name} = *params->{name};\n') + + size_fixup = {} + size_param = {} + size_fixup = {} + params = list(zip(names[1:], method.get_arguments())) + params += [(None, None)] # for next_name, next_param + for i, (name, param) in enumerate(params[:-1]): + real_type = underlying_type(param) + if strip_ns(real_type.spelling) not in STRUCTS_NEXT_IS_SIZE: + continue + + next_name, next_param = params[i + 1] + if not next_param or next_param.type.spelling != "uint32_t": + size_param[name] = ', -1' + elif struct_needs_size_adjustment(real_type.get_canonical()): + real_name = real_type.spelling + out(f' uint32_t u_{next_name} = std::min( params->{next_name}, (uint32_t)sizeof({real_name}) );\n') + size_param[name] = f', params->{next_name}' + size_fixup[next_name] = True + elif name in need_convert: + assert name not in STRUCTS_NEXT_IS_SIZE_UNHANDLED + out(f' uint32_t u_{next_name} = params->{next_name} ? sizeof(u_{name}) : 0;\n') + size_param[name] = f', params->{next_name}' + size_fixup[next_name] = True + + if returns_void: + out(u' ') elif returns_record: - cfile.write(" *_r = ") - cpp.write(" return ") - elif do_lin_to_win or do_win_to_lin: - cfile.write(" return ") - cpp.write(" _ret = ") - elif do_wrap: - cfile.write(" return ") - cpp.write(" _ret = ") - else: - cfile.write(" return ") - cpp.write(" return ") - - should_gen_wrapper = strip_ns(method.result_type.spelling).startswith("IVR") - if should_gen_wrapper: - cfile.write("create_win_interface(pchNameAndVersion,\n ") - - is_method_overridden = False - for classname_pattern, methodname, override_generator in method_overrides: - if used_name == methodname and classname_pattern in classname: - fn_name = override_generator(cppname, method) - if fn_name: - cfile.write("%s(%s_%s, _this->linux_side" % (fn_name, cppname, used_name)) - is_method_overridden = True - break + out(u' *params->_ret = ') else: - cfile.write("%s_%s(_this->linux_side" % (cppname, used_name)) - - cpp.write("((%s*)linux_side)->%s(" % (classname, method.spelling)) - unnamed = 'a' - first = True - next_is_size = False - next_is_size_no_conv = False - convert_size_param = "" - for param in get_params(method): - if not first: - cpp.write(", ") - else: - first = False - if param.spelling == "": - cfile.write(", _%s" % unnamed) - cpp.write("(%s)_%s" % (param.type.spelling, unnamed)) - unnamed = chr(ord(unnamed) + 1) - else: - if do_lin_to_win and do_lin_to_win[1] == param.spelling or \ - do_win_to_lin and do_win_to_lin[1] == param.spelling or \ - do_wrap and do_wrap[1] == param.spelling: - cfile.write(", %s" % param.spelling) - cpp.write("%s ? &lin : nullptr" % param.spelling) - if do_win_to_lin: - assert(not do_win_to_lin[0] in unhandled_next_is_size_structs) - if do_win_to_lin[0] in next_is_size_structs: - next_is_size = True - elif do_unwrap and do_unwrap[1] == param.spelling: - cfile.write(", %s" % param.spelling) - cpp.write("struct_%s_%s_unwrap(%s)" % (strip_ns(do_unwrap[0]), display_sdkver(sdkver), do_unwrap[1])) - elif path_conv and param.spelling in path_conv["w2l_names"]: - cfile.write(", %s ? lin_%s : NULL" % (param.spelling, param.spelling)) - cpp.write("(%s)%s" % (param.type.spelling, param.spelling)) - elif do_size_fixup and do_size_fixup[1] == param.spelling: - next_is_size = True - next_is_size_no_conv = True - cfile.write(", %s" % param.spelling) - cpp.write("(%s)%s" % (param.type.spelling, param.spelling)) - elif next_is_size: - cfile.write(", %s" % param.spelling) - next_is_size = False - if next_is_size_no_conv and param.type.spelling == "uint32_t": - cpp.write("std::min(%s, (uint32_t)sizeof(vr::%s))" % (param.spelling, do_size_fixup[0])) - convert_size_param = ", " + param.spelling - elif param.type.spelling == "uint32_t": - cpp.write("%s ? sizeof(lin) : 0" % param.spelling) - convert_size_param = ", " + param.spelling - else: - cpp.write("(%s)%s" % (param.type.spelling, param.spelling)) - convert_size_param = ", -1" - next_is_size_no_conv = False - elif "&" in param.type.spelling: - cfile.write(", %s" % param.spelling) - cpp.write("*%s" % param.spelling) - else: - cfile.write(", %s" % param.spelling) - cpp.write("(%s)%s" % (param.type.spelling, param.spelling)) - if should_gen_wrapper: - cfile.write(")") - if is_method_overridden: - cfile.write(", %s" % iface_version[iface_version.find("_") + 1:].lstrip("0")) - for classname_pattern, user_data_type, _ in method_overrides_data: - if classname_pattern in classname: - cfile.write(", &_this->user_data") - break - cfile.write(");\n") - cpp.write(");\n") - if returns_record: - cfile.write(" return _r;\n") - if path_conv and len(path_conv["l2w_names"]) > 0: - for i in range(len(path_conv["l2w_names"])): - assert(path_conv["l2w_names"][i]) #otherwise, no name means string is in return value. needs special handling. - cfile.write(" ") - if path_conv["return_is_size"]: - cfile.write("path_result = ") - cfile.write("vrclient_unix_path_to_dos_path(path_result, %s, %s, %s);\n" % (path_conv["l2w_names"][i], path_conv["l2w_names"][i], path_conv["l2w_lens"][i])) - cfile.write(" return path_result;\n") - if path_conv: - for i in range(len(path_conv["w2l_names"])): - if path_conv["w2l_arrays"][i]: - cfile.write(" vrclient_free_stringlist(lin_%s);\n" % path_conv["w2l_names"][i]) - if do_lin_to_win: - if next_is_size and not convert_size_param: - convert_size_param = ", -1" - cpp.write(" if(%s)\n" % do_lin_to_win[1]) - cpp.write(" struct_%s_%s_lin_to_win(&lin, %s%s);\n" % (strip_ns(do_lin_to_win[0]), display_sdkver(sdkver), do_lin_to_win[1], convert_size_param)) - if do_lin_to_win or do_win_to_lin: - if not method.result_type.kind == TypeKind.VOID: - cpp.write(" return _ret;\n") - if do_wrap and not method.result_type.kind == TypeKind.VOID: - cpp.write(" if(_ret == 0)\n") - cpp.write(" *%s = struct_%s_%s_wrap(lin);\n" % (do_wrap[1], strip_ns(do_wrap[0]), display_sdkver(sdkver))) - cpp.write(" return _ret;\n") - cfile.write("}\n\n") - cpp.write("}\n\n") - -def get_iface_version(classname): - if classname in iface_versions.keys(): - ver = iface_versions[classname] - else: - ver = "UNVERSIONED" - if classname in class_versions.keys() and ver in class_versions[classname]: - return (ver, True) - if not classname in class_versions.keys(): - class_versions[classname] = [] - class_versions[classname].append(ver) - return (ver, False) + out(u' params->_ret = ') -max_c_api_param_count = 0 + def param_call(name, param): + pfx = '&' if param.type.kind == TypeKind.POINTER else '' + if name in size_fixup: return f"u_{name}" + if name in path_conv_wtou: return f"u_{name}" + if name in need_convert: return f"params->{name} ? {pfx}u_{name} : nullptr" + return f'params->{name}' -def get_capi_thunk_params(method): - def toBOOL(x): - return "TRUE" if x else "FALSE" - returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - param_types = [x.type for x in get_params(method)] - if returns_record: - param_types.insert(0, method.result_type) - param_count = len(param_types) - has_float_params = any(x.spelling == "float" for x in param_types) - is_4th_float = param_count >= 4 and param_types[3].spelling == "float" - return "%s, %s, %s" % (param_count, toBOOL(has_float_params), toBOOL(is_4th_float)) + params = [param_call(n, p) for n, p in zip(names[1:], method.get_arguments())] + out(f'iface->{method.spelling}( {", ".join(params)} );\n') -def handle_class(sdkver, classnode): - print("handle_class: " + classnode.displayname) - children = list(classnode.get_children()) - if len(children) == 0: - return - (iface_version, already_generated) = get_iface_version(classnode.spelling) - if already_generated: - return - winname = "win%s" % classnode.spelling - cppname = "cpp%s_%s" % (classnode.spelling, iface_version) + for name, param in sorted(need_output.items()): + out(f' if (params->{name}) *params->{name} = u_{name};\n') - file_exists = os.path.isfile("vrclient_x64/%s.c" % winname) - cfile = open("vrclient_x64/%s.c" % winname, "a") - if not file_exists: - cfile.write("""/* This file is auto-generated, do not edit. */ -#include -#include + path_conv_utow = PATH_CONV_METHODS_UTOW.get(f'{klass.name}_{method.spelling}', {}) -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" + for name, conv in filter(lambda x: x[0] in names, path_conv_utow.items()): + out(u' ') + if "ret_size" in path_conv_utow: + out(u'params->_ret = ') + out(f'vrclient_unix_path_to_dos_path( params->_ret, params->{name}, params->{name}, params->{conv["len"]} );\n') -#include "cxx.h" + for name in filter(lambda x: x in names, sorted(path_conv_wtou)): + out(f' vrclient_free_path( u_{name} );\n') -#include "vrclient_defs.h" + out(u' return 0;\n') + out(u'}\n\n') -#include "vrclient_private.h" -#include "struct_converters.h" +def handle_thiscall_wrapper(klass, method, out): + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD -#include "flatapi.h" + def param_stack_size(param): + if param.type.kind == TypeKind.LVALUEREFERENCE: return 4 + return ((param.type.get_size() + 3) // 4) * 4 -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + size = 4 + sum(param_stack_size(p) for p in method.get_arguments()) + if returns_record: size += 4 -""") + name = f'win{klass.full_name}_{method.name}' + out(f'DEFINE_THISCALL_WRAPPER({name}, {size})\n') - cpp = open("vrclient_x64/%s.cpp" % cppname, "w") - cpp.write("#include \"vrclient_private.h\"\n") - cpp.write("#include \"vrclient_defs.h\"\n") - if os.path.isfile("openvr_%s/ivrclientcore.h" % sdkver): - cpp.write("#include \"openvr_%s/ivrclientcore.h\"\n" % sdkver) - else: - cpp.write("#include \"openvr_%s/openvr.h\"\n" % sdkver) - cpp.write("using namespace vr;\n") - cpp.write("extern \"C\" {\n") - cpp.write("#include \"struct_converters.h\"\n") - cpp.write("}\n") - cpp.write("#include \"%s.h\"\n" % cppname) - cpp.write("#ifdef __cplusplus\nextern \"C\" {\n#endif\n") - - cpp_h = open("vrclient_x64/%s.h" % cppname, "w") - cpp_h.write("#ifdef __cplusplus\nextern \"C\" {\n#endif\n") - - 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") # 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: - cfile.write(" %s user_data;\n" % user_data_type) - break - cfile.write("} %s;\n\n" % winclassname) - methods = [] - method_names = [] - for child in children: - if child.kind == CursorKind.CXX_METHOD: - handle_method(cfile, classnode.spelling, winclassname, cppname, child, cpp, cpp_h, method_names, iface_version) - methods.append(child) - - cfile.write("extern vtable_ptr %s_vtable;\n\n" % winclassname) - cfile.write("#ifndef __GNUC__\n") - cfile.write("void __asm_dummy_vtables(void) {\n") - cfile.write("#endif\n") - cfile.write(" __ASM_VTABLE(%s,\n" % winclassname) - for method in method_names: - cfile.write(" VTABLE_ADD_FUNC(%s_%s)\n" % (winclassname, method)) - cfile.write(" );\n") - cfile.write("#ifndef __GNUC__\n") - cfile.write("}\n") - cfile.write("#endif\n\n") - cfile.write("%s *create_%s(void *linux_side)\n{\n" % (winclassname, winclassname)) - cfile.write(" %s *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(%s));\n" % (winclassname, winclassname)) - cfile.write(" TRACE(\"-> %p\\n\", r);\n") - cfile.write(" r->vtable = &%s_vtable;\n" % winclassname) - cfile.write(" r->linux_side = linux_side;\n") - cfile.write(" return r;\n}\n\n") - cfile.write("void destroy_%s(void *object)\n{\n" % winclassname) - cfile.write(" TRACE(\"%p\\n\", 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(" struct __%s *win_object = object;\n" % winclassname) - cfile.write(" %s(&win_object->user_data);\n" % user_data_destructor) - 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)): - thunk_params = get_capi_thunk_params(methods[i]) - global max_c_api_param_count - max_c_api_param_count = max(len(get_params(methods[i])), max_c_api_param_count) - cfile.write(" init_thunk(&thunks[%d], r, %s_%s, %s);\n" % (i, winclassname, method_names[i], thunk_params)) - 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("vrclient_x64/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("vrclient_x64/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("vrclient_x64/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, &destroy_%s}, /* alias */\n" % (alias, winclassname, winclassname)) - constructors.write(" {\"FnTable:%s\", &create_%s_FnTable, &destroy_%s_FnTable},\n" % (alias, winclassname, winclassname)) - - generate_c_api_thunk_tests(winclassname, methods, method_names) - -def strip_const(typename): - return typename.replace("const ", "", 1) - -windows_structs32 = {} -def find_windows_struct(struct): - return windows_structs32.get(strip_const(struct.spelling), None) - -windows_structs64 = {} -def find_windows64_struct(struct): - return windows_structs64.get(strip_const(struct.spelling), None) - -linux_structs64 = {} -def find_linux64_struct(struct): - return linux_structs64.get(strip_const(struct.spelling), None) - -def struct_needs_conversion_nocache(struct): -# if strip_const(struct.spelling) in exempt_structs: -# return False -# if strip_const(struct.spelling) in manually_handled_structs: -# return True - - needs_size_adjustment = False - - #check 32-bit compat - windows_struct = find_windows_struct(struct) - assert(not windows_struct is None) #must find windows_struct - for field in struct.get_fields(): - if struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): - return True, False - if field.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(field.type.get_canonical()): - return True, False - - assert(struct.get_size() <= windows_struct.get_size()) - if struct.get_size() < windows_struct.get_size(): - needs_size_adjustment = True - - #check 64-bit compat - windows_struct = find_windows64_struct(struct) - assert(not windows_struct is None) #must find windows_struct - lin64_struct = find_linux64_struct(struct) - assert(not lin64_struct is None) #must find lin64_struct - for field in lin64_struct.get_fields(): - if lin64_struct.get_offset(field.spelling) != windows_struct.get_offset(field.spelling): - return True, False - if field.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(field.type.get_canonical()): - return True, False - - assert(lin64_struct.get_size() <= windows_struct.get_size()) - if lin64_struct.get_size() < windows_struct.get_size(): - needs_size_adjustment = True - - return False, needs_size_adjustment -def struct_needs_conversion(struct): - if not sdkver in struct_conversion_cache: - struct_conversion_cache[sdkver] = {} - struct_needs_size_adjustment_cache[sdkver] = {} +def handle_method_c(klass, method, winclassname, out): + returns_void = method.result_type.kind == TypeKind.VOID + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - if not strip_const(struct.spelling) in struct_conversion_cache[sdkver]: - struct_conversion_cache[sdkver][strip_const(struct.spelling)], \ - struct_needs_size_adjustment_cache[sdkver][strip_const(struct.spelling)] = \ - struct_needs_conversion_nocache(struct) + ret = "*" if returns_record else "" + ret = f'{declspec(method.result_type, ret, "w_")} ' - return struct_conversion_cache[sdkver][strip_const(struct.spelling)] + names = [p.spelling if p.spelling != "" else f'_{chr(0x61 + i)}' + for i, p in enumerate(method.get_arguments())] + params = [declspec(p, names[i], "w_") for i, p in enumerate(method.get_arguments())] -def struct_needs_size_adjustment(struct): - return not struct_needs_conversion(struct) and struct_needs_size_adjustment_cache[sdkver][strip_const(struct.spelling)] + if returns_record: + params = [f'{declspec(method.result_type, "*_ret", "w_")}'] + params + names = ['_ret'] + names -def get_field_attribute_str(field): - ftype = field.type.get_canonical() - if ftype.kind != TypeKind.RECORD: - return "" - win_struct = find_windows_struct(ftype) - align = win_struct.get_align() - return " __attribute__((aligned(" + str(align) + ")))" + params = ['struct w_steam_iface *_this'] + params + names = ['_this'] + names -generated_struct_handlers = [] -cpp_files_need_close_brace = [] + if is_manual_method(klass, method, 'w'): + out(f'extern {ret}__thiscall {winclassname}_{method.name}({", ".join(params)});\n\n') + return -LIN_TO_WIN=1 -WIN_TO_LIN=2 -WRAPPERS=3 + out(f'{ret}__thiscall {winclassname}_{method.name}({", ".join(params)})\n') + out(u'{\n') -#because of struct packing differences between win32 and linux, we -#need to convert these structs from their linux layout to the win32 -#layout. -def handle_struct(sdkver, struct): - handler_name = "%s_%s" % (struct.displayname, display_sdkver(sdkver)) + out(f' struct {method.full_name}_params params =\n') + out(u' {\n') + out(u' .linux_side = _this->u_iface,\n') + for name in names[1:]: + out(f' .{name} = {name},\n') + out(u' };\n') - if handler_name in generated_struct_handlers: - # we already have a handler for the struct struct of this size - return + out(u' TRACE("%p\\n", _this);\n') - which = set() + if 'eTextureType' in names: + out(u' if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\\n" );\n') - if struct_needs_conversion(struct.type.get_canonical()): - which.add(LIN_TO_WIN) - which.add(WIN_TO_LIN) + out(f' VRCLIENT_CALL( {method.full_name}, ¶ms );\n') - if strip_ns(struct.displayname) in system_structs: - which.add(WRAPPERS) + if not returns_void: + out(u' return params._ret;\n') + out(u'}\n\n') - if len(which) == 0: - return - filename_base = "struct_converters_%s" % display_sdkver(sdkver) - cppname = "vrclient_x64/%s.cpp" % filename_base - file_exists = os.path.isfile(cppname) - cppfile = open(cppname, "a") - if not file_exists: - cppfile.write("#include \n"); - cppfile.write("#include \n"); - cppfile.write("#include \"vrclient_private.h\"\n") - cppfile.write("#include \"vrclient_defs.h\"\n") - cppfile.write("#include \"openvr_%s/openvr.h\"\n" % sdkver) - cppfile.write("using namespace vr;\n") - cppfile.write("extern \"C\" {\n") - cppfile.write("#include \"struct_converters.h\"\n") - cpp_files_need_close_brace.append(cppname) - - hfile = open("vrclient_x64/struct_converters.h", "a") - - hfile.write("typedef struct win%s win%s;\n" % (handler_name, handler_name)) - - cppfile.write("#pragma pack(push, 8)\n") - cppfile.write("struct win%s {\n" % handler_name) - for m in struct.get_children(): - if m.kind == CursorKind.FIELD_DECL: - if m.type.get_canonical().kind == TypeKind.CONSTANTARRAY: - cppfile.write(" %s %s[%u]" % (m.type.element_type.spelling, m.displayname, m.type.element_count)) - elif m.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type.get_canonical()): - cppfile.write(" win%s_%s %s" % (strip_ns(m.type.spelling), display_sdkver(sdkver), m.displayname)) - else: - if m.type.get_canonical().kind == TypeKind.POINTER and \ - m.type.get_pointee().kind == TypeKind.FUNCTIONPROTO: - cppfile.write(" void *%s /*fn pointer*/ " % m.displayname) - else: - cppfile.write(" %s %s" % (m.type.spelling, m.displayname)) - cppfile.write(get_field_attribute_str(m) + ";\n") - if WRAPPERS in which: - cppfile.write("\n %s *linux_side;\n" % struct.displayname) - cppfile.write("} __attribute__ ((ms_struct));\n") - cppfile.write("#pragma pack(pop)\n\n") - - def dump_converter(src, dst, size): - for m in struct.get_children(): - if m.kind == CursorKind.FIELD_DECL: - if m.type.get_canonical().kind == TypeKind.CONSTANTARRAY: - #TODO: if this is a struct, or packed differently, we'll have to - # copy each element in a for-loop - cppfile.write(" memcpy(" + dst + "->" + m.displayname + ", " + src + "->" + m.displayname + ", sizeof(" + dst + "->" + m.displayname + "));\n") - elif m.type.get_canonical().kind == TypeKind.RECORD and \ - struct_needs_conversion(m.type.get_canonical()): - cppfile.write(" struct_" + strip_ns(m.type.spelling) + "_" + display_sdkver(sdkver) + "_" + src + "_to_" + dst + \ - "(&" + src + "->" + m.displayname + ", &" + dst + "->" + m.displayname + ");\n") - elif struct.displayname in struct_size_fields and \ - m.displayname in struct_size_fields[struct.displayname]: - cppfile.write(" " + dst + "->" + m.displayname + " = sizeof(*" + dst + ");\n") - elif size and strip_ns(m.type.get_canonical().spelling) == "VREvent_Data_t": - #truncate variable-length data struct at the end of the parent struct - #XXX: dumb hard-coding. are the other types with lengths variable length? - cppfile.write(" memcpy(&" + dst + "->data, &" + src + "->data, " + size + " - (((char*)&" + dst + "->data) - ((char*)" + dst + ")));\n") - else: - cppfile.write(" " + dst + "->" + m.displayname + " = " + src + "->" + m.displayname + ";\n") - - if strip_ns(struct.displayname) in next_is_size_structs: - size_arg = "sz" - size_arg_type = ", uint32_t sz" - else: - size_arg = None - size_arg_type = "" +max_c_api_param_count = 0 + +def get_capi_thunk_params(method): + def toBOOL(x): + return "TRUE" if x else "FALSE" + returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD + param_types = [x.type for x in method.get_arguments()] + if returns_record: + param_types.insert(0, method.result_type) + param_count = len(param_types) + has_float_params = any(x.spelling == "float" for x in param_types) + is_4th_float = param_count >= 4 and param_types[3].spelling == "float" + return "%s, %s, %s" % (param_count, toBOOL(has_float_params), toBOOL(is_4th_float)) - if LIN_TO_WIN in which: - hfile.write("extern void struct_%s_lin_to_win(void *l, void *w%s);\n" % (handler_name, size_arg_type)) - cppfile.write("void struct_%s_lin_to_win(void *l, void *w%s)\n{\n" % (handler_name, size_arg_type)) - cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) - dump_converter("lin", "win", size_arg) - cppfile.write("}\n\n") - if WIN_TO_LIN in which: - #XXX: should pass size param here, too - hfile.write("extern void struct_%s_win_to_lin(void *w, void *l);\n" % handler_name) - cppfile.write("void struct_%s_win_to_lin(void *w, void *l)\n{\n" % handler_name) - cppfile.write(" struct win%s *win = (struct win%s *)w;\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) - dump_converter("win", "lin", None) - cppfile.write("}\n\n") +def handle_class(klass): + cppname = f"cpp{klass.full_name}" + + with open(f"{cppname}.cpp", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include "unix_private.h"\n\n') + + for method in klass.methods: + if type(method) is Destructor: + continue + if is_manual_method(klass, method, "u"): + continue + handle_method_cpp(method, klass.name, out) + + winclassname = f'win{klass.full_name}' + with open(f'win{klass.name}.c', 'a') as file: + out = file.write + + for method in klass.methods: + handle_thiscall_wrapper(klass, method, out) + out('\n') + + for method in klass.methods: + if type(method) is Destructor: + continue + handle_method_c(klass, method, winclassname, out) + + out(f'extern vtable_ptr {winclassname}_vtable;\n') + out(u'\n') + out(f'DEFINE_RTTI_DATA0({winclassname}, 0, \".?AV{klass.name}@@\")\n') + out(u'\n') + out(f'__ASM_BLOCK_BEGIN({winclassname}_vtables)\n') + out(f' __ASM_VTABLE({winclassname},\n') + for method in sorted(klass.methods, key=lambda x: (x._index, -x._override)): + out(f' VTABLE_ADD_FUNC({winclassname}_{method.name})\n') + out(u' );\n') + out(u'__ASM_BLOCK_END\n') + out(u'\n') + out(f'struct w_steam_iface *create_{winclassname}(void *u_iface)\n') + out(u'{\n') + out(u' struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));\n') + out(u' TRACE("-> %p\\n", r);\n') + out(f' r->vtable = &{winclassname}_vtable;\n') + out(u' r->u_iface = u_iface;\n') + out(u' return r;\n') + out(u'}\n\n') + out(f'void destroy_{winclassname}(struct w_steam_iface *object)\n') + out(u'{\n') + out(u' TRACE("%p\\n", object);\n') + out(u' HeapFree(GetProcessHeap(), 0, object);\n') + out(u'}\n\n') + + # flat (FnTable) API + out(f'struct w_steam_iface *create_{winclassname}_FnTable(void *u_iface)\n') + out(u'{\n') + out(u' struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r));\n') + out(f' struct thunk *thunks = alloc_thunks({len(klass.methods)});\n') + out(f' struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, {len(klass.methods)} * sizeof(*vtable));\n') + out(u' int i;\n\n') + out(u' TRACE("-> %p, vtable %p, thunks %p\\n", r, vtable, thunks);\n') + for i, method in enumerate(klass.methods): + thunk_params = get_capi_thunk_params(method) + arguments = list(method.get_arguments()) + global max_c_api_param_count + max_c_api_param_count = max(len(arguments), max_c_api_param_count) + out(f' init_thunk(&thunks[{i}], r, {winclassname}_{method.name}, {thunk_params});\n') + out(f' for (i = 0; i < {len(klass.methods)}; i++)\n') + out(u' vtable[i] = &thunks[i];\n') + out(u' r->u_iface = u_iface;\n') + out(u' r->vtable = (void *)vtable;\n') + out(u' return r;\n') + out(u'}\n\n') + out(f'void destroy_{winclassname}_FnTable(struct w_steam_iface *object)\n') + out(u'{\n') + out(u' TRACE("%p\\n", object);\n') + out(u' VirtualFree(object->vtable[0], 0, MEM_RELEASE);\n') + out(u' HeapFree(GetProcessHeap(), 0, object->vtable);\n') + out(u' HeapFree(GetProcessHeap(), 0, object);\n') + out(u'}\n\n') + + +def canonical_typename(cursor): + if type(cursor) in (Cursor, Struct): + return canonical_typename(cursor.type) + + name = cursor.get_canonical().spelling + return name.removeprefix("const ") + + +def underlying_typename(decl): + return canonical_typename(underlying_type(decl)) + + +def find_struct_abis(name): + name = strip_ns(name) + if not name in all_structs: + return None + structs = all_structs[name] + if not sdkver in structs: + return None + return structs[sdkver] - if WRAPPERS in which: - hfile.write("extern struct win%s *struct_%s_wrap(void *l);\n" % (handler_name, handler_name)) - cppfile.write("struct win%s *struct_%s_wrap(void *l)\n{\n" % (handler_name, handler_name)) - cppfile.write(" struct win%s *win = (struct win%s *)malloc(sizeof(*win));\n" % (handler_name, handler_name)) - cppfile.write(" %s *lin = (%s *)l;\n" % (struct.displayname, struct.displayname)) +def struct_needs_conversion(struct): + name = canonical_typename(struct) - dump_converter("lin", "win", None) + abis = find_struct_abis(name) + if abis is None: + return False + if abis['w32'].needs_conversion(abis['u32']): + return True + if abis['w64'].needs_conversion(abis['u64']): + return True - cppfile.write(" win->linux_side = lin;\n"); - cppfile.write(" return win;\n") + assert abis['u32'].size <= abis['w32'].size + if abis['u32'].size < abis['w32'].size: + return False + assert abis['u64'].size <= abis['w64'].size + if abis['u64'].size < abis['w64'].size: + return False - cppfile.write("}\n\n") + return False - hfile.write("extern %s *struct_%s_unwrap(win%s *w);\n" % (struct.displayname, handler_name, handler_name)) - cppfile.write("struct %s *struct_%s_unwrap(win%s *w)\n{\n" % (struct.displayname, handler_name, handler_name)) - cppfile.write(" %s *ret = w->linux_side;\n" % struct.displayname) - cppfile.write(" free(w);\n") - cppfile.write(" return ret;\n") - cppfile.write("}\n\n") +def struct_needs_size_adjustment(struct): + name = canonical_typename(struct) + if name in EXEMPT_STRUCTS: + return False - generated_struct_handlers.append(handler_name) + abis = find_struct_abis(name) + if abis is None: + return False + if abis['w32'].needs_conversion(abis['u32']): + return False + if abis['w64'].needs_conversion(abis['u64']): + return False + + assert abis['u32'].size <= abis['w32'].size + if abis['u32'].size < abis['w32'].size: + return True + assert abis['u64'].size <= abis['w64'].size + if abis['u64'].size < abis['w64'].size: + return True + + return False + + +def get_field_attribute_str(field): + ftype = field.type.get_canonical() + if ftype.kind != TypeKind.RECORD: + return "" + name = canonical_typename(ftype) + abis = find_struct_abis(name) + if not abis: + return " __attribute__((aligned(8)))" + return f" __attribute__((aligned({abis['w32'].align})))" def generate_x64_call_flat_method(cfile, param_count, has_floats, is_4th_float): @@ -1123,7 +1095,7 @@ def l(line): l(r'extern void %s(void);' % name); def generate_flatapi_c(): - with open("vrclient_x64/flatapi.c", "w") as f: + with open("flatapi.c", "w") as f: f.write(r"""/* This file is auto-generated, do not edit. */ #include @@ -1195,189 +1167,41 @@ def generate_flatapi_c(): f.write("#endif\n") -def generate_c_api_method_test(f, header, thunks_c, class_name, method_name, method): - thunk_params = get_capi_thunk_params(method) - f.write("\n init_thunk(t, this_ptr_value, %s_%s, %s);\n" % (class_name, method_name, thunk_params)) - f.write(" ") - header.write("\n") - thunks_c.write("\n") - returns_record = method.result_type.get_canonical().kind == TypeKind.RECORD - if returns_record: - f.write("%s *" % strip_ns(method.result_type.spelling)) - header.write("%s *" % strip_ns(method.result_type.spelling)) - thunks_c.write("%s *" % strip_ns(method.result_type.spelling)) - else: - f.write("%s " % strip_ns(method.result_type.spelling)) - header.write("%s " % strip_ns(method.result_type.spelling)) - thunks_c.write("%s " % strip_ns(method.result_type.spelling)) - first_param = True - f.write('(__stdcall *capi_%s_%s)(' % (class_name, method_name)) - header.write('__thiscall %s_%s(void *_this' % (class_name, method_name)) - thunks_c.write('__thiscall %s_%s(void *_this' % (class_name, method_name)) - if returns_record: - f.write("%s *_r" % strip_ns(method.result_type.spelling)) - first_param = False - header.write(", %s *_r" % strip_ns(method.result_type.spelling)) - thunks_c.write(", %s *_r" % strip_ns(method.result_type.spelling)) - - for param in get_params(method): - if param.type.kind == TypeKind.POINTER \ - and param.type.get_pointee().kind == TypeKind.UNEXPOSED: - typename = "void *" - else: - typename = param.type.spelling.split("::")[-1].replace("&", "*"); - if not first_param: - f.write(", ") - first_param = False - f.write("%s %s" % (typename, param.spelling)) - header.write(", %s %s" % (typename, param.spelling)) - thunks_c.write(", %s %s" % (typename, param.spelling)) - f.write(") = (void *)t;\n") - header.write(");\n") - thunks_c.write(")\n{\n") - - def get_param_typename(param): - param_size = param.type.get_size() - if param.type.kind == TypeKind.POINTER \ - or param.type.spelling.endswith("&") \ - or param.type.spelling == "vr::glSharedTextureHandle_t": - return "ptr" - elif param.type.spelling == "bool": - return "bool" - elif param.type.spelling == "float": - return "float" - elif param.type.spelling == "vr::HmdRect2_t": - return "HmdRect2" - elif param.type.spelling == "vr::HmdVector2_t": - return "HmdVector2" - elif param.type.spelling == "vr::HmdVector3_t": - return "HmdVector3" - elif param.type.spelling == "vr::HmdColor_t": - return "HmdColor" - elif param_size == 8: - return "uint64" - elif param_size == 4 or param_size == 2: - return "uint32" - else: - return "unknown" - thunks_c.write(" push_ptr_parameter(_this);\n") - if returns_record: - thunks_c.write(" push_ptr_parameter(_r);\n") - for param in get_params(method): - typename = get_param_typename(param) - thunks_c.write(" push_%s_parameter(%s);\n" % (typename, param.spelling)) - if method.result_type.kind != TypeKind.VOID: - thunks_c.write(" return 0;\n") - thunks_c.write("}\n") - - parameter_checks = [] - def add_parameter_check(typename, value): - parameter_checks.append("check_%s_parameter(\"%s_%s\", %s)" % (typename, class_name, method_name, value)) - add_parameter_check("ptr", "this_ptr_value") - f.write("\n") - f.write(" clear_parameters();\n") - f.write(" capi_%s_%s(" % (class_name, method_name)) - first_param = True - if returns_record: - f.write("data_ptr_value") - first_param = False - add_parameter_check("ptr", "data_ptr_value") - for i, param in enumerate(get_params(method)): - i += 1 - typename = get_param_typename(param) - if typename == "ptr": - v = "(void *)%s" % i - elif typename == "bool": - v = "1" - elif typename == "float": - v = "%s.0f" % i - elif typename == "HmdRect2": - v = "DEFAULT_RECT" - elif typename == "HmdVector2": - v = "DEFAULT_VECTOR2" - elif typename == "HmdVector3": - v = "DEFAULT_VECTOR3" - elif typename == "HmdColor": - v = "DEFAULT_COLOR" - else: - v = str(i) - if not first_param: - f.write(", ") - first_param = False - f.write(v) - add_parameter_check(typename, v) - f.write(");\n") - for c in parameter_checks: - f.write(" %s;\n" % c) - -def generate_c_api_thunk_tests(winclassname, methods, method_names): - class_name = re.sub(r'^win[A-Za-z]+_', '', winclassname) - - filename = "tests/capi_thunks_autogen.h" - file_exists = os.path.isfile(filename) - header = open(filename, "a") - if not file_exists: - header.write("""/* This file is auto-generated, do not edit. */ -#include -#include +def enumerate_structs(cursor, vr_only=False): + for child in cursor.get_children(): + if child.kind == CursorKind.NAMESPACE \ + and child.displayname == "vr": + yield from child.get_children() + elif not vr_only: + yield child -#include "windef.h" -#include "winbase.h" -#include "cxx.h" -#include "flatapi.h" -#include "vrclient_defs.h" +def parse(sources, sdkver, abi): + args = [f'-m{abi[1:]}', '-I' + CLANG_PATH + '/include/'] + if abi[0] == 'w': + args += ["-D_WIN32", "-U__linux__"] + args += ["-fms-extensions", "-mms-bitfields"] + args += ["-Wno-ignored-attributes", "-Wno-incompatible-ms-struct"] + if abi[0] == 'u': + args += ["-DGNUC"] -#include "capi_thunks.h" -""") - header.write("\nvoid test_capi_thunks_%s(void);\n" % class_name) - - filename = "tests/capi_thunks_autogen.c" - file_exists = os.path.isfile(filename) - thunks_c = open(filename, "a") - if not file_exists: - thunks_c.write("""/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" -""") + index = Index.create() + build = index.parse("source.cpp", args=args, unsaved_files=sources.items()) + diagnostics = list(build.diagnostics) + for diag in diagnostics: print(diag) + assert len(diagnostics) == 0 - filename = "tests/capi_thunks_tests_autogen.c" - file_exists = os.path.isfile(filename) - with open(filename, "a") as f: - if not file_exists: - f.write("""/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" -""") - f.write("\nvoid test_capi_thunks_%s(void)\n{\n" % class_name) - f.write(" struct thunk *t = alloc_thunks(1);\n"); - for i in range(len(methods)): - generate_c_api_method_test(f, header, thunks_c, class_name, method_names[i], methods[i]) - f.write(" VirtualFree(t, 0, MEM_RELEASE);\n") - f.write("}\n") - - filename = "tests/main_autogen.c" - file_exists = os.path.isfile(filename) - with open(filename, "a") as f: - if not file_exists: - f.write("""/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" - -#include - -int main(void) -{ -""") - f.write(" test_capi_thunks_%s();\n" % class_name) + return sdkver, abi, build -prog = re.compile("^.*const\s*char.* \*?(\w*)_Version.*\"(.*)\"") -for sdkver in sdk_versions: - print(f'parsing SDK version {sdkver}...') +def load(sdkver): + prog = re.compile("^.*const\s*char.* \*?(\w*)_Version.*\"(.*)\"") sdkdir = f'openvr_{sdkver}' sources = {} - iface_versions = {} + versions = {} has_vrclientcore = False for file in os.listdir(sdkdir): x = open(f"{sdkdir}/{file}", "r") @@ -1389,73 +1213,466 @@ def generate_c_api_thunk_tests(winclassname, methods, method_names): result = prog.match(l) if result: iface, version = result.group(1, 2) - iface_versions[iface] = version + versions[iface] = version if not has_vrclientcore: source = [f'#include "{sdkdir}/openvr.h"'] else: - source = [f'#include "{sdkdir}/{file}"' for file, _, _ in files] - + source = [f'#include "{sdkdir}/{file}"' + for file in SDK_SOURCES.keys()] sources["source.cpp"] = "\n".join(source) - windows_args = ["-D_WIN32", "-fms-extensions", "-Wno-ignored-attributes", - "-mms-bitfields", "-U__linux__", "-Wno-incompatible-ms-struct"] - windows_args += ['-I' + CLANG_PATH + '/include/'] - linux_args = ["-DGNUC"] - linux_args += ['-I' + CLANG_PATH + '/include/'] - index = Index.create() + return versions, sources - linux_build32 = index.parse("source.cpp", args=linux_args + ["-m32"], unsaved_files=sources.items()) - diagnostics = list(linux_build32.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 - linux_build64 = index.parse("source.cpp", args=linux_args + ["-m64"], unsaved_files=sources.items()) - diagnostics = list(linux_build64.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 +def classify_struct(name): + if name in EXEMPT_STRUCTS: + return None + structs = all_structs[name] - windows_build32 = index.parse("source.cpp", args=windows_args + ["-m32"], unsaved_files=sources.items()) - diagnostics = list(windows_build32.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 + prev = [] + versions = {} + unique = True - windows_build64 = index.parse("source.cpp", args=windows_args + ["-m64"], unsaved_files=sources.items()) - diagnostics = list(windows_build64.diagnostics) - for diag in diagnostics: print(diag) - assert len(diagnostics) == 0 + for sdkver in filter(lambda v: v in structs, reversed(SDK_VERSIONS)): + abis = [structs[sdkver][a] for a in ABIS] + + if any(abis[0].needs_conversion(a) for a in abis[1:]): + unique = False + + def is_always_compatible(other): + for a, b in zip(abis, other): + if a.needs_conversion(b): + return False + return True + + compat = next((k for k, v in prev if is_always_compatible(v)), None) + if compat: + versions[sdkver] = versions[compat] + else: + [abi.set_used() for abi in abis] # make sure order is computed + versions[sdkver] = f"{name}_{display_sdkver(sdkver)}" + prev += [(sdkver, abis)] + + if unique: + unique_structs.append(name) + + if len(set(versions.values())) == 1: + versions = {sdkver: name for sdkver in versions.keys()} + return versions + + +for i, sdkver in enumerate(SDK_VERSIONS): + print(f'loading SDKs... {i * 100 // len(SDK_VERSIONS)}%', end='\r') + all_versions[sdkver], all_sources[sdkver] = load(sdkver) +print(u'loading SDKs... 100%') + + +tmp_classes = {} + +with concurrent.futures.ThreadPoolExecutor() as executor: + arg0 = [sdkver for sdkver in SDK_VERSIONS for abi in ABIS] + arg1 = [abi for sdkver in SDK_VERSIONS for abi in ABIS] + def parse_map(sdkver, abi): + return parse(all_sources[sdkver], sdkver, abi) + + results = executor.map(parse_map, arg0, arg1) + for i, result in enumerate(results): + print(f'parsing SDKs... {i * 100 // len(arg0)}%', end='\r') + sdkver, abi, build = result + if sdkver not in all_records: all_records[sdkver] = {} + if sdkver not in tmp_classes: tmp_classes[sdkver] = {} + + versions = all_versions[sdkver] + + structs = enumerate_structs(build.cursor, vr_only=True) + structs = filter(lambda c: c.is_definition(), structs) + structs = filter(lambda c: c.type.get_canonical().kind == TypeKind.RECORD, structs) + structs = filter(lambda c: c.kind != CursorKind.TYPEDEF_DECL, structs) + structs = filter(lambda c: c.spelling not in SDK_CLASSES, structs) + structs = [Record(sdkver, abi, c) for c in structs] + structs = {c.name: c for c in structs} + + classes = enumerate_structs(build.cursor, vr_only=True) + classes = filter(lambda c: c.is_definition(), classes) + classes = filter(lambda c: c.kind == CursorKind.CLASS_DECL, classes) + classes = filter(lambda c: c.spelling in SDK_CLASSES, classes) + classes = filter(lambda c: c.spelling in versions, classes) + classes = [Class(sdkver, abi, c) for c in classes] + classes = {c.version: c for c in classes} + + all_records[sdkver][abi] = structs + tmp_classes[sdkver][abi] = classes - classes = sum([e for _, e, _ in files], []) - system_structs = sum([e for _, _, e in files], []) - - def enumerate_structs(cursor, vr_only=False): - for child in cursor.get_children(): - if child.kind == CursorKind.NAMESPACE and child.displayname == "vr": - yield from child.get_children() - elif not vr_only: - yield child - - windows_structs32 = dict(reversed([(child.type.spelling, child.type) for child - in enumerate_structs(windows_build32.cursor)])) - windows_structs64 = dict(reversed([(child.type.spelling, child.type) for child - in enumerate_structs(windows_build64.cursor)])) - linux_structs64 = dict(reversed([(child.type.spelling, child.type) for child - in enumerate_structs(linux_build64.cursor)])) - - for child in enumerate_structs(linux_build32.cursor, vr_only=True): - if child.kind == CursorKind.CLASS_DECL and child.displayname in classes: - handle_class(sdkver, child) - if child.kind in [CursorKind.STRUCT_DECL, CursorKind.CLASS_DECL]: - handle_struct(sdkver, child) - if child.displayname in print_sizes: - sys.stdout.write("size of %s is %u\n" % (child.displayname, child.type.get_size())) - -for f in cpp_files_need_close_brace: - m = open(f, "a") - m.write("\n}\n") - -with open("tests/main_autogen.c", "a") as f: - f.write(" printf(\"All tests executed.\\n\");\n") - f.write("}\n") + for name, struct in structs.items(): + if name not in all_structs: + all_structs[name] = {} + if sdkver not in all_structs[name]: + all_structs[name][sdkver] = {} + all_structs[name][sdkver][abi] = struct + +for i, sdkver in enumerate(reversed(SDK_VERSIONS)): + all_classes.update(tmp_classes[sdkver]['u32']) + +print('parsing SDKs... 100%') + + +tmp_structs = {} + +for i, name in enumerate(all_structs.keys()): + print(f'classifying structs... {i * 100 // len(all_structs.keys())}%', end='\r') + versions = classify_struct(name) + for sdkver in SDK_VERSIONS: + if not versions or sdkver not in versions: continue + all_versions[sdkver][name] = versions[sdkver] + +def struct_order(x): + name, structs = x if type(x) is tuple else (x, all_structs[x]) + order = (struct.order for abis in structs.values() + for struct in abis.values()) + return (min(order), name) + +for name, structs in sorted(all_structs.items(), key=struct_order): + tmp_structs[name] = {} + for sdkver in filter(lambda v: v in structs, SDK_VERSIONS): + tmp_structs[name][sdkver] = {a: structs[sdkver][a] for a in ABIS} + +all_structs = tmp_structs + +print('classifying structs... 100%') + + +for klass in all_classes.values(): + with open(f"win{klass.name}.c", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include \n') + out(u'#include \n') + out(u'\n') + out(u'#include "vrclient_private.h"\n') + out(u'\n') + out(u'#include "flatapi.h"\n') + out(u'\n') + out(u'WINE_DEFAULT_DEBUG_CHANNEL(vrclient);\n') + out(u'\n') + + +for _, klass in sorted(all_classes.items()): + sdkver = klass._sdkver + handle_class(klass) generate_flatapi_c() + + +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(f'void init_win{name}_rtti( char *base )\n') + out(u'{\n') + out(u'#ifdef __x86_64__\n') + +for _, klass in sorted(all_classes.items()): + with open(f"win{klass.name}.c", "a") as file: + out = file.write + out(f' init_win{klass.full_name}_rtti( base );\n') + +for name in sorted(set(k.name for k in all_classes.values())): + with open(f"win{name}.c", "a") as file: + out = file.write + out(u'#endif /* __x86_64__ */\n') + out(u'}\n') + + +with open("vrclient_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + + for _, klass in sorted(all_classes.items()): + out(f"extern struct w_steam_iface *create_win{klass.full_name}(void *);\n") + out(f"extern struct w_steam_iface *create_win{klass.full_name}_FnTable(void *);\n") + out(f"extern void destroy_win{klass.full_name}(struct w_steam_iface *);\n") + out(f"extern void destroy_win{klass.full_name}_FnTable(struct w_steam_iface *);\n") + + +with open("vrclient_generated.c", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#include "vrclient_private.h"\n\n') + + out(u'static const struct { const char *iface_version; iface_constructor ctor; } constructors[] =\n') + out(u'{\n') + for _, klass in sorted(all_classes.items()): + out(f' {{"{klass.version}", create_win{klass.full_name}}},\n') + out(f' {{"FnTable:{klass.version}", create_win{klass.full_name}_FnTable}},\n') + out(u'};\n') + out(u'\n') + out(u'iface_constructor find_iface_constructor( const char *iface_version )\n') + out(u'{\n') + out(u' int i;\n') + out(u' for (i = 0; i < ARRAYSIZE(constructors); ++i)\n') + out(u' if (!strcmp( iface_version, constructors[i].iface_version ))\n') + out(u' return constructors[i].ctor;\n') + out(u' return NULL;\n') + out(u'}\n') + out(u'\n') + out(u'static const struct { const char *iface_version; iface_destructor dtor; } destructors[] =\n') + out(u'{\n') + for _, klass in sorted(all_classes.items()): + out(f' {{"{klass.version}", destroy_win{klass.full_name}}},\n') + out(f' {{"FnTable:{klass.version}", destroy_win{klass.full_name}_FnTable}},\n') + out(u'};\n') + out(u'\n') + out(u'iface_destructor find_iface_destructor( const char *iface_version )\n') + out(u'{\n') + out(u' int i;\n') + out(u' for (i = 0; i < ARRAYSIZE(destructors); ++i)\n') + out(u' if (!strcmp( iface_version, destructors[i].iface_version ))\n') + out(u' return destructors[i].dtor;\n') + out(u' return NULL;\n') + out(u'}\n\n') + + for name in sorted(set(k.name for k in all_classes.values())): + out(f'extern void init_win{name}_rtti( char * );\n') + out(u'\n') + out(u'void init_rtti( char *base )\n') + out(u'{\n') + for name in sorted(set(k.name for k in all_classes.values())): + out(f' init_win{name}_rtti( base );\n') + out(u'}\n') + + +for name, klasses in all_classes.items(): + if name not in SDK_CLASSES: continue + for sdkver, klass in klasses.items(): + version = all_versions[sdkver][name[1:].upper()] + handle_class(sdkver, klass, version, SDK_CLASSES[name]) + +declared = {} + +with open('vrclient_structs_generated.h', 'w') as file: + out = file.write + + for name in sorted(unique_structs, key=struct_order): + if name in EXEMPT_STRUCTS: continue + for sdkver, abis in all_structs[name].items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version}' in declared: continue + declared[f'struct {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + out(f'typedef {kind} {version} {version};\n') + abis['w64'].write_definition(out, "", []) + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'typedef {version}' in declared: continue + declared[f'typedef {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + if type(abis['w64']) is Class: + out(f'typedef {kind} u_{version} u_{version};\n') + out(f'typedef {kind} u_{version} u64_{version};\n') + out(f'typedef {kind} u_{version} u32_{version};\n') + out(f'typedef {kind} w_{version} w_{version};\n') + out(f'typedef {kind} w_{version} w64_{version};\n') + out(f'typedef {kind} w_{version} w32_{version};\n') + continue + + if abis["w64"].needs_conversion(abis["u64"]): + out(f'typedef {kind} u64_{version} u64_{version};\n') + else: + out(f'typedef {kind} w64_{version} u64_{version};\n') + out(f'typedef {kind} w64_{version} w64_{version};\n') + + if abis["w32"].needs_conversion(abis["u32"]): + out(f'typedef {kind} u32_{version} u32_{version};\n') + else: + out(f'typedef {kind} w32_{version} u32_{version};\n') + out(f'typedef {kind} w32_{version} w32_{version};\n') + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version}' in declared: continue + declared[f'struct {version}'] = True + + kind = 'union' if type(abis['w64']) is Union else 'struct' + + if type(abis['w64']) is Class: + abis['w64'].write_definition(out, "w_") + abis['u64'].write_definition(out, "u_") + continue + + if not abis["w64"].needs_conversion(abis["u64"]): + abis['w64'].write_definition(out, "w64_", []) + else: + abis['w64'].write_definition(out, "w64_", ["u64_"]) + abis['u64'].write_definition(out, "u64_", ["w64_"]) + + if not abis["w32"].needs_conversion(abis["u32"]): + abis['w32'].write_definition(out, "w32_", []) + else: + abis['w32'].write_definition(out, "w32_", ["u32_"]) + abis['u32'].write_definition(out, "u32_", ["w32_"]) + + out(u'#ifdef __i386__\n') + out(f'typedef w32_{version} w_{version};\n') + out(f'typedef u32_{version} u_{version};\n') + out(u'#endif\n') + out(u'#ifdef __x86_64__\n') + out(f'typedef w64_{version} w_{version};\n') + out(f'typedef u64_{version} u_{version};\n') + out(u'#endif\n') + out(u'\n') + + +all_methods = [(k, m) for _, k in sorted(all_classes.items()) + for m in k.methods] + +with open("unix_private_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#ifdef __cplusplus\n') + out(u'extern "C" {\n') + out(u'#endif /* __cplusplus */\n') + out(u'\n') + + for klass in all_classes.values(): + sdkver = klass._sdkver + klass.write_definition(out, "u_") + out(u'\n') + + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f'NTSTATUS {method.full_name}( void * );\n') + out(u'\n') + + out(u'#ifdef __cplusplus\n') + out(u'} /* extern "C" */\n') + out(u'#endif /* __cplusplus */\n') + + +with open(u"unixlib_generated.h", "w") as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n') + out(u'#include \n') + out(u'#include \n') + out(u'#include \n') + out(u'\n') + out(u'#ifdef __cplusplus\n') + out(u'extern "C" {\n') + out(u'#endif /* __cplusplus */\n') + out(u'\n') + + out(u'#include \n\n') + for klass, method in all_methods: + sdkver = klass._sdkver + method.write_params(out) + out(u'#include \n\n') + + out(u'enum unix_funcs\n') + out(u'{\n') + for func in UNIX_FUNCS: + out(f' unix_{func},\n') + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f' unix_{method.full_name},\n') + out(u'};\n') + out(u'\n') + + out(u'#ifdef __cplusplus\n') + out(u'} /* extern "C" */\n') + out(u'#endif /* __cplusplus */\n') + + +with open('unixlib_generated.cpp', 'w') as file: + out = file.write + + out(u'/* This file is auto-generated, do not edit. */\n\n') + out(u'#include "unix_private.h"\n\n') + + out(u'extern "C" const unixlib_entry_t __wine_unix_call_funcs[] =\n') + out(u'{\n') + for func in UNIX_FUNCS: + out(f' {func},\n') + for klass, method in all_methods: + sdkver = klass._sdkver + if type(method) is Destructor: + continue + out(f' {method.full_name},\n') + out(u'};\n') + out(u'\n') + + for name in sorted(unique_structs, key=struct_order): + for sdkver, abis in all_structs[name].items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'checks {version}' in declared: continue + declared[f'checks {version}'] = True + + abis['w64'].write_checks(out, "") + + for name, structs in all_structs.items(): + if name in EXEMPT_STRUCTS: continue + if name in unique_structs: continue + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'checks {version}' in declared: continue + declared[f'checks {version}'] = True + + if type(abis['w64']) is Class: + continue + + abis['w64'].write_checks(out, "w64_") + abis['u64'].write_checks(out, "u64_") + abis['w32'].write_checks(out, "w32_") + abis['u32'].write_checks(out, "u32_") + + for sdkver, abis in structs.items(): + if name not in all_versions[sdkver]: continue + + version = all_versions[sdkver][name] + if f'struct {version} convert' in declared: continue + declared[f'struct {version} convert'] = True + + if type(abis['w64']) in (Class, Union): + continue + + if abis["w64"].needs_conversion(abis["u64"]): + out(u'#ifdef __x86_64__\n') + abis['w64'].write_converter('u64_') + out(u'\n') + abis['u64'].write_converter('w64_') + out(u'#endif\n\n') + + if abis["w32"].needs_conversion(abis["u32"]): + out(u'#ifdef __i386__\n') + abis['w32'].write_converter('u32_') + out(u'\n') + abis['u32'].write_converter('w32_') + out(u'#endif\n\n') diff --git a/vrclient_x64/vrclient_x64/json/json-forwards.h b/vrclient_x64/json/json-forwards.h similarity index 100% rename from vrclient_x64/vrclient_x64/json/json-forwards.h rename to vrclient_x64/json/json-forwards.h diff --git a/vrclient_x64/vrclient_x64/json/json.h b/vrclient_x64/json/json.h similarity index 100% rename from vrclient_x64/vrclient_x64/json/json.h rename to vrclient_x64/json/json.h diff --git a/vrclient_x64/vrclient_x64/json_converter.cpp b/vrclient_x64/json_converter.cpp similarity index 54% rename from vrclient_x64/vrclient_x64/json_converter.cpp rename to vrclient_x64/json_converter.cpp index 83fd2ec08..627fbbb4b 100644 --- a/vrclient_x64/vrclient_x64/json_converter.cpp +++ b/vrclient_x64/json_converter.cpp @@ -1,12 +1,117 @@ +#include +#include + +#include +#include + +#undef wcsncpy #include #include WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -#include "vrclient_private.h" +#include "unix_private.h" +#include #include "json/json.h" +#define IS_ABSOLUTE( x ) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':')) + +char *vrclient_dos_to_unix_path( const char *src ) +{ + char buffer[4096], *dst = buffer; + uint32_t len; + + TRACE( "src %s\n", debugstr_a(src) ); + + if (!src) return NULL; + + *dst = 0; + if (!*src) goto done; + + if (IS_ABSOLUTE( src )) + { + /* absolute path, use wine conversion */ + WCHAR srcW[PATH_MAX] = {0}; + char *unix_path; + uint32_t r; + + r = MultiByteToWideChar( CP_UNIXCP, 0, src, -1, srcW, PATH_MAX ); + if (r == 0) return NULL; + + unix_path = wine_get_unix_file_name( srcW ); + if (!unix_path) + { + WARN( "Unable to convert DOS filename to unix: %s\n", src ); + return NULL; + } + + if (!realpath( unix_path, dst )) + { + ERR( "Could not get real path for %s.\n", unix_path ); + lstrcpynA( dst, unix_path, PATH_MAX ); + } + + HeapFree( GetProcessHeap(), 0, unix_path ); + } + else + { + /* relative path, just fix up backslashes */ + const char *s; + char *d; + + for (s = src, d = dst; *src; ++s, ++d) + { + if (*s == '\\') *d = '/'; + else *d = *s; + } + + *d = 0; + } + +done: + len = strlen( buffer ) + 1; + if (!(dst = (char *)HeapAlloc( GetProcessHeap(), 0, len ))) return NULL; + memcpy( dst, buffer, len ); + + TRACE( "-> %s\n", debugstr_a(dst) ); + return dst; +} + +void vrclient_free_path( char *path ) +{ + HeapFree( GetProcessHeap(), 0, path ); +} + +/* returns the number of bytes written to dst, not including the NUL terminator */ +unsigned int vrclient_unix_path_to_dos_path( bool api_result, const char *src, char *dst, uint32_t dst_bytes ) +{ + WCHAR *dosW; + uint32_t r; + + TRACE( "api_result %u, src %s, dst %p, dst_bytes %u\n", api_result, debugstr_a(src), dst, dst_bytes ); + + if (!src || !*src || !api_result || !dst || !dst_bytes) + { + if (dst && dst_bytes) *dst = 0; + return 0; + } + + dosW = wine_get_dos_file_name( src ); + if (!dosW) + { + WARN( "Unable to convert unix filename to DOS: %s\n", src ); + *dst = 0; + return 0; + } + + r = WideCharToMultiByte( CP_ACP, 0, dosW, -1, dst, dst_bytes, NULL, NULL ); + HeapFree( GetProcessHeap(), 0, dosW ); + + TRACE( "-> dst %s, r %u\n", debugstr_a(dst), r ); + return r == 0 ? 0 : r - 1; +} + extern "C" { static bool ends_with(const std::string &s, char c) @@ -108,10 +213,10 @@ char *json_convert_paths(const char *input) char *json_convert_startup_info(const char *startup_info) { - char dst_path[PATH_MAX]; std::string src_path; Json::Reader reader; Json::Value root; + char *dst_path; size_t len; char *ret; @@ -124,7 +229,7 @@ char *json_convert_startup_info(const char *startup_info) src_path = root["action_manifest_path"].asString(); WINE_TRACE("action_manifest_path %s.\n", src_path.c_str()); - if (!vrclient_dos_path_to_unix_path(src_path.c_str(), dst_path)) + if (!(dst_path = vrclient_dos_to_unix_path(src_path.c_str()))) { WINE_ERR("error converting path %s.\n", src_path.c_str()); return NULL; @@ -140,6 +245,8 @@ char *json_convert_startup_info(const char *startup_info) len = contents.copy(ret, contents.length()); ret[len] = 0; + vrclient_free_path(dst_path); + return ret; } diff --git a/vrclient_x64/vrclient_x64/jsoncpp.cpp b/vrclient_x64/jsoncpp.cpp similarity index 100% rename from vrclient_x64/vrclient_x64/jsoncpp.cpp rename to vrclient_x64/jsoncpp.cpp diff --git a/vrclient_x64/openvr_v1.26.7/ivrclientcore.h b/vrclient_x64/openvr_v1.26.7/ivrclientcore.h new file mode 100644 index 000000000..873bd600d --- /dev/null +++ b/vrclient_x64/openvr_v1.26.7/ivrclientcore.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation ============// +#include "openvr.h" + +namespace vr +{ + +class IVRClientCore +{ +public: + /** Initializes the system */ + virtual EVRInitError Init( vr::EVRApplicationType eApplicationType, const char *pStartupInfo ) = 0; + + /** cleans up everything in vrclient.dll and prepares the DLL to be unloaded */ + virtual void Cleanup() = 0; + + /** checks to see if the specified interface/version is supported in this vrclient.dll */ + virtual EVRInitError IsInterfaceVersionValid( const char *pchInterfaceVersion ) = 0; + + /** Retrieves any interface from vrclient.dll */ + virtual void *GetGenericInterface( const char *pchNameAndVersion, EVRInitError *peError ) = 0; + + /** Returns true if any driver has an HMD attached. Can be called outside of Init/Cleanup */ + virtual bool BIsHmdPresent() = 0; + + /** Returns an English error string from inside vrclient.dll which might be newer than the API DLL */ + virtual const char *GetEnglishStringForHmdError( vr::EVRInitError eError ) = 0; + + /** Returns an error symbol from inside vrclient.dll which might be newer than the API DLL */ + virtual const char *GetIDForVRInitError( vr::EVRInitError eError ) = 0; +}; + +static const char * const IVRClientCore_Version = "IVRClientCore_003"; + + +} diff --git a/vrclient_x64/openvr_v1.26.7/openvr.h b/vrclient_x64/openvr_v1.26.7/openvr.h new file mode 100644 index 000000000..614ba74f7 --- /dev/null +++ b/vrclient_x64/openvr_v1.26.7/openvr.h @@ -0,0 +1,5724 @@ + +// openvr.h +//========= Copyright Valve Corporation ============// +// Dynamically generated file. Do not modify this file directly. + +#ifndef _OPENVR_API +#define _OPENVR_API + +#include + + + +// version.h + +namespace vr +{ + static const uint32_t k_nSteamVRVersionMajor = 1; + static const uint32_t k_nSteamVRVersionMinor = 26; + static const uint32_t k_nSteamVRVersionBuild = 7; +} // namespace vr + +// public_vrtypes.h + +#ifndef _INCLUDE_CORE_VRTYPES_PUBLIC_H +#define _INCLUDE_CORE_VRTYPES_PUBLIC_H + +namespace vr +{ +#pragma pack( push, 8 ) + +typedef uint32_t PropertyTypeTag_t; + +// right-handed system +// +y is up +// +x is to the right +// -z is forward +// Distance unit is meters +struct HmdMatrix34_t +{ + float m[3][4]; +}; + +struct HmdMatrix33_t +{ + float m[3][3]; +}; + +struct HmdMatrix44_t +{ + float m[4][4]; +}; + +struct HmdVector3_t +{ + float v[3]; +}; + +struct HmdVector4_t +{ + float v[4]; +}; + +struct HmdVector3d_t +{ + double v[3]; +}; + +struct HmdVector2_t +{ + float v[2]; +}; + +struct HmdQuaternion_t +{ + double w, x, y, z; +}; + +struct HmdQuaternionf_t +{ + float w, x, y, z; +}; + +struct HmdColor_t +{ + float r, g, b, a; +}; + +struct HmdQuad_t +{ + HmdVector3_t vCorners[ 4 ]; +}; + +struct HmdRect2_t +{ + HmdVector2_t vTopLeft; + HmdVector2_t vBottomRight; +}; + +/** Holds the transform for a single bone */ +struct VRBoneTransform_t +{ + HmdVector4_t position; + HmdQuaternionf_t orientation; +}; + +/** Used to return the post-distortion UVs for each color channel. +* UVs range from 0 to 1 with 0,0 in the upper left corner of the +* source render target. The 0,0 to 1,1 range covers a single eye. */ +struct DistortionCoordinates_t +{ + float rfRed[2]; + float rfGreen[2]; + float rfBlue[2]; +}; + +enum EVREye +{ + Eye_Left = 0, + Eye_Right = 1 +}; + +enum ETextureType +{ + TextureType_Invalid = -1, // Handle has been invalidated + TextureType_DirectX = 0, // Handle is an ID3D11Texture + TextureType_OpenGL = 1, // Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags + TextureType_Vulkan = 2, // Handle is a pointer to a VRVulkanTextureData_t structure + TextureType_IOSurface = 3, // Handle is a macOS cross-process-sharable IOSurfaceRef, deprecated in favor of TextureType_Metal on supported platforms + TextureType_DirectX12 = 4, // Handle is a pointer to a D3D12TextureData_t structure + TextureType_DXGISharedHandle = 5, // Handle is a HANDLE DXGI share handle, only supported for Overlay render targets. + // this texture is used directly by our renderer, so only perform atomic (copyresource or resolve) on it + TextureType_Metal = 6, // Handle is a MTLTexture conforming to the MTLSharedTexture protocol. Textures submitted to IVRCompositor::Submit which + // are of type MTLTextureType2DArray assume layer 0 is the left eye texture (vr::EVREye::Eye_left), layer 1 is the right + // eye texture (vr::EVREye::Eye_Right) +}; + +enum EColorSpace +{ + ColorSpace_Auto = 0, // Assumes 'gamma' for 8-bit per component formats, otherwise 'linear'. This mirrors the DXGI formats which have _SRGB variants. + ColorSpace_Gamma = 1, // Texture data can be displayed directly on the display without any conversion (a.k.a. display native format). + ColorSpace_Linear = 2, // Same as gamma but has been converted to a linear representation using DXGI's sRGB conversion algorithm. +}; + +struct Texture_t +{ + void* handle; // See ETextureType definition above + ETextureType eType; + EColorSpace eColorSpace; +}; + +/** Allows the application to control what part of the provided texture will be used in the +* frame buffer. */ +struct VRTextureBounds_t +{ + float uMin, vMin; + float uMax, vMax; +}; + +/** Allows specifying pose used to render provided scene texture (if different from value returned by WaitGetPoses). */ +struct VRTextureWithPose_t : public Texture_t +{ + HmdMatrix34_t mDeviceToAbsoluteTracking; // Actual pose used to render scene textures. +}; + +struct VRTextureDepthInfo_t +{ + void* handle; // See ETextureType definition above + HmdMatrix44_t mProjection; + HmdVector2_t vRange; // 0..1 +}; + +struct VRTextureWithDepth_t : public Texture_t +{ + VRTextureDepthInfo_t depth; +}; + +struct VRTextureWithPoseAndDepth_t : public VRTextureWithPose_t +{ + VRTextureDepthInfo_t depth; +}; + +// 64-bit types that are part of public structures +// that are replicated in shared memory. +#if defined(__linux__) || defined(__APPLE__) +typedef uint64_t vrshared_uint64_t __attribute__ ((aligned(8))); +typedef double vrshared_double __attribute__ ((aligned(8))); +#else +typedef uint64_t vrshared_uint64_t; +typedef double vrshared_double; +#endif + +#pragma pack( pop ) + +} // namespace vr + +#endif + +// vrtypes.h + +#ifndef _INCLUDE_VRTYPES_H +#define _INCLUDE_VRTYPES_H + +// Forward declarations to avoid requiring vulkan.h +struct VkDevice_T; +struct VkPhysicalDevice_T; +struct VkInstance_T; +struct VkQueue_T; + +// Forward declarations to avoid requiring d3d12.h +struct ID3D12Resource; +struct ID3D12CommandQueue; + +namespace vr +{ +#pragma pack( push, 8 ) + +/** A handle for a spatial anchor. This handle is only valid during the session it was created in. +* Anchors that live beyond one session should be saved by their string descriptors. */ +typedef uint32_t SpatialAnchorHandle_t; + +typedef void* glSharedTextureHandle_t; +typedef int32_t glInt_t; +typedef uint32_t glUInt_t; + + +// Handle to a shared texture (HANDLE on Windows obtained using OpenSharedResource). +typedef uint64_t SharedTextureHandle_t; +#define INVALID_SHARED_TEXTURE_HANDLE ((vr::SharedTextureHandle_t)0) + +enum ETrackingResult +{ + TrackingResult_Uninitialized = 1, + + TrackingResult_Calibrating_InProgress = 100, + TrackingResult_Calibrating_OutOfRange = 101, + + TrackingResult_Running_OK = 200, + TrackingResult_Running_OutOfRange = 201, + + TrackingResult_Fallback_RotationOnly = 300, +}; + +typedef uint32_t DriverId_t; +static const uint32_t k_nDriverNone = 0xFFFFFFFF; + +static const uint32_t k_unMaxDriverDebugResponseSize = 32768; + +/** Used to pass device IDs to API calls */ +typedef uint32_t TrackedDeviceIndex_t; +static const uint32_t k_unTrackedDeviceIndex_Hmd = 0; +static const uint32_t k_unMaxTrackedDeviceCount = 64; +static const uint32_t k_unTrackedDeviceIndexOther = 0xFFFFFFFE; +static const uint32_t k_unTrackedDeviceIndexInvalid = 0xFFFFFFFF; + +/** Describes what kind of object is being tracked at a given ID */ +enum ETrackedDeviceClass +{ + TrackedDeviceClass_Invalid = 0, // the ID was not valid. + TrackedDeviceClass_HMD = 1, // Head-Mounted Displays + TrackedDeviceClass_Controller = 2, // Tracked controllers + TrackedDeviceClass_GenericTracker = 3, // Generic trackers, similar to controllers + TrackedDeviceClass_TrackingReference = 4, // Camera and base stations that serve as tracking reference points + TrackedDeviceClass_DisplayRedirect = 5, // Accessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devices + + TrackedDeviceClass_Max +}; + + +/** Describes what specific role associated with a tracked device */ +enum ETrackedControllerRole +{ + TrackedControllerRole_Invalid = 0, // Invalid value for controller type + TrackedControllerRole_LeftHand = 1, // Tracked device associated with the left hand + TrackedControllerRole_RightHand = 2, // Tracked device associated with the right hand + TrackedControllerRole_OptOut = 3, // Tracked device is opting out of left/right hand selection + TrackedControllerRole_Treadmill = 4, // Tracked device is a treadmill or other locomotion device + TrackedControllerRole_Stylus = 5, // Tracked device is a stylus + TrackedControllerRole_Max = 5 +}; + + +/** Returns true if the tracked controller role is allowed to be a hand */ +inline bool IsRoleAllowedAsHand( ETrackedControllerRole eRole ) +{ + switch ( eRole ) + { + case TrackedControllerRole_Invalid: + case TrackedControllerRole_LeftHand: + case TrackedControllerRole_RightHand: + return true; + default: + return false; + } +} + + +/** describes a single pose for a tracked object */ +struct TrackedDevicePose_t +{ + HmdMatrix34_t mDeviceToAbsoluteTracking; + HmdVector3_t vVelocity; // velocity in tracker space in m/s + HmdVector3_t vAngularVelocity; // angular velocity in radians/s (?) + ETrackingResult eTrackingResult; + bool bPoseIsValid; + + // This indicates that there is a device connected for this spot in the pose array. + // It could go from true to false if the user unplugs the device. + bool bDeviceIsConnected; +}; + +/** Identifies which style of tracking origin the application wants to use +* for the poses it is requesting */ +enum ETrackingUniverseOrigin +{ + TrackingUniverseSeated = 0, // Poses are provided relative to the seated zero pose + TrackingUniverseStanding = 1, // Poses are provided relative to the safe bounds configured by the user + TrackingUniverseRawAndUncalibrated = 2, // Poses are provided in the coordinate system defined by the driver. It has Y up and is unified for devices of the same driver. You usually don't want this one. +}; + +enum EAdditionalRadioFeatures +{ + AdditionalRadioFeatures_None = 0x00000000, + AdditionalRadioFeatures_HTCLinkBox = 0x00000001, + AdditionalRadioFeatures_InternalDongle = 0x00000002, + AdditionalRadioFeatures_ExternalDongle = 0x00000004, +}; + +typedef uint64_t WebConsoleHandle_t; +#define INVALID_WEB_CONSOLE_HANDLE ((vr::WebConsoleHandle_t)0) + +// Refers to a single container of properties +typedef uint64_t PropertyContainerHandle_t; +typedef uint32_t PropertyTypeTag_t; + +static const PropertyContainerHandle_t k_ulInvalidPropertyContainer = 0; +static const PropertyTypeTag_t k_unInvalidPropertyTag = 0; + +typedef PropertyContainerHandle_t DriverHandle_t; +static const PropertyContainerHandle_t k_ulInvalidDriverHandle = 0; + +// Use these tags to set/get common types as struct properties +static const PropertyTypeTag_t k_unFloatPropertyTag = 1; +static const PropertyTypeTag_t k_unInt32PropertyTag = 2; +static const PropertyTypeTag_t k_unUint64PropertyTag = 3; +static const PropertyTypeTag_t k_unBoolPropertyTag = 4; +static const PropertyTypeTag_t k_unStringPropertyTag = 5; +static const PropertyTypeTag_t k_unErrorPropertyTag = 6; +static const PropertyTypeTag_t k_unDoublePropertyTag = 7; + +static const PropertyTypeTag_t k_unHmdMatrix34PropertyTag = 20; +static const PropertyTypeTag_t k_unHmdMatrix44PropertyTag = 21; +static const PropertyTypeTag_t k_unHmdVector3PropertyTag = 22; +static const PropertyTypeTag_t k_unHmdVector4PropertyTag = 23; +static const PropertyTypeTag_t k_unHmdVector2PropertyTag = 24; +static const PropertyTypeTag_t k_unHmdQuadPropertyTag = 25; + +static const PropertyTypeTag_t k_unHiddenAreaPropertyTag = 30; +static const PropertyTypeTag_t k_unPathHandleInfoTag = 31; +static const PropertyTypeTag_t k_unActionPropertyTag = 32; +static const PropertyTypeTag_t k_unInputValuePropertyTag = 33; +static const PropertyTypeTag_t k_unWildcardPropertyTag = 34; +static const PropertyTypeTag_t k_unHapticVibrationPropertyTag = 35; +static const PropertyTypeTag_t k_unSkeletonPropertyTag = 36; + +static const PropertyTypeTag_t k_unSpatialAnchorPosePropertyTag = 40; +static const PropertyTypeTag_t k_unJsonPropertyTag = 41; +static const PropertyTypeTag_t k_unActiveActionSetPropertyTag = 42; + +static const PropertyTypeTag_t k_unOpenVRInternalReserved_Start = 1000; +static const PropertyTypeTag_t k_unOpenVRInternalReserved_End = 10000; + + +/** Each entry in this enum represents a property that can be retrieved about a +* tracked device. Many fields are only valid for one ETrackedDeviceClass. */ +enum ETrackedDeviceProperty +{ + Prop_Invalid = 0, + + // general properties that apply to all device classes + Prop_TrackingSystemName_String = 1000, + Prop_ModelNumber_String = 1001, + Prop_SerialNumber_String = 1002, + Prop_RenderModelName_String = 1003, + Prop_WillDriftInYaw_Bool = 1004, + Prop_ManufacturerName_String = 1005, + Prop_TrackingFirmwareVersion_String = 1006, + Prop_HardwareRevision_String = 1007, + Prop_AllWirelessDongleDescriptions_String = 1008, + Prop_ConnectedWirelessDongle_String = 1009, + Prop_DeviceIsWireless_Bool = 1010, + Prop_DeviceIsCharging_Bool = 1011, + Prop_DeviceBatteryPercentage_Float = 1012, // 0 is empty, 1 is full + Prop_StatusDisplayTransform_Matrix34 = 1013, + Prop_Firmware_UpdateAvailable_Bool = 1014, + Prop_Firmware_ManualUpdate_Bool = 1015, + Prop_Firmware_ManualUpdateURL_String = 1016, + Prop_HardwareRevision_Uint64 = 1017, + Prop_FirmwareVersion_Uint64 = 1018, + Prop_FPGAVersion_Uint64 = 1019, + Prop_VRCVersion_Uint64 = 1020, + Prop_RadioVersion_Uint64 = 1021, + Prop_DongleVersion_Uint64 = 1022, + Prop_BlockServerShutdown_Bool = 1023, + Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024, + Prop_ContainsProximitySensor_Bool = 1025, + Prop_DeviceProvidesBatteryStatus_Bool = 1026, + Prop_DeviceCanPowerOff_Bool = 1027, + Prop_Firmware_ProgrammingTarget_String = 1028, + Prop_DeviceClass_Int32 = 1029, + Prop_HasCamera_Bool = 1030, + Prop_DriverVersion_String = 1031, + Prop_Firmware_ForceUpdateRequired_Bool = 1032, + Prop_ViveSystemButtonFixRequired_Bool = 1033, + Prop_ParentDriver_Uint64 = 1034, + Prop_ResourceRoot_String = 1035, + Prop_RegisteredDeviceType_String = 1036, + Prop_InputProfilePath_String = 1037, // input profile to use for this device in the input system. Will default to tracking system name if this isn't provided + Prop_NeverTracked_Bool = 1038, // Used for devices that will never have a valid pose by design + Prop_NumCameras_Int32 = 1039, + Prop_CameraFrameLayout_Int32 = 1040, // EVRTrackedCameraFrameLayout value + Prop_CameraStreamFormat_Int32 = 1041, // ECameraVideoStreamFormat value + Prop_AdditionalDeviceSettingsPath_String = 1042, // driver-relative path to additional device and global configuration settings + Prop_Identifiable_Bool = 1043, // Whether device supports being identified from vrmonitor (e.g. blink LED, vibrate haptics, etc) + Prop_BootloaderVersion_Uint64 = 1044, + Prop_AdditionalSystemReportData_String = 1045, // additional string to include in system reports about a tracked device + Prop_CompositeFirmwareVersion_String = 1046, // additional FW components from a device that gets propagated into reports + Prop_Firmware_RemindUpdate_Bool = 1047, + Prop_PeripheralApplicationVersion_Uint64 = 1048, + Prop_ManufacturerSerialNumber_String = 1049, + Prop_ComputedSerialNumber_String = 1050, + Prop_EstimatedDeviceFirstUseTime_Int32 = 1051, + Prop_DevicePowerUsage_Float = 1052, + Prop_IgnoreMotionForStandby_Bool = 1053, + + // Properties that are unique to TrackedDeviceClass_HMD + Prop_ReportsTimeSinceVSync_Bool = 2000, + Prop_SecondsFromVsyncToPhotons_Float = 2001, + Prop_DisplayFrequency_Float = 2002, + Prop_UserIpdMeters_Float = 2003, + Prop_CurrentUniverseId_Uint64 = 2004, + Prop_PreviousUniverseId_Uint64 = 2005, + Prop_DisplayFirmwareVersion_Uint64 = 2006, + Prop_IsOnDesktop_Bool = 2007, + Prop_DisplayMCType_Int32 = 2008, + Prop_DisplayMCOffset_Float = 2009, + Prop_DisplayMCScale_Float = 2010, + Prop_EdidVendorID_Int32 = 2011, + Prop_DisplayMCImageLeft_String = 2012, + Prop_DisplayMCImageRight_String = 2013, + Prop_DisplayGCBlackClamp_Float = 2014, + Prop_EdidProductID_Int32 = 2015, + Prop_CameraToHeadTransform_Matrix34 = 2016, + Prop_DisplayGCType_Int32 = 2017, + Prop_DisplayGCOffset_Float = 2018, + Prop_DisplayGCScale_Float = 2019, + Prop_DisplayGCPrescale_Float = 2020, + Prop_DisplayGCImage_String = 2021, + Prop_LensCenterLeftU_Float = 2022, + Prop_LensCenterLeftV_Float = 2023, + Prop_LensCenterRightU_Float = 2024, + Prop_LensCenterRightV_Float = 2025, + Prop_UserHeadToEyeDepthMeters_Float = 2026, + Prop_CameraFirmwareVersion_Uint64 = 2027, + Prop_CameraFirmwareDescription_String = 2028, + Prop_DisplayFPGAVersion_Uint64 = 2029, + Prop_DisplayBootloaderVersion_Uint64 = 2030, + Prop_DisplayHardwareVersion_Uint64 = 2031, + Prop_AudioFirmwareVersion_Uint64 = 2032, + Prop_CameraCompatibilityMode_Int32 = 2033, + Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034, + Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035, + Prop_DisplaySuppressed_Bool = 2036, + Prop_DisplayAllowNightMode_Bool = 2037, + Prop_DisplayMCImageWidth_Int32 = 2038, + Prop_DisplayMCImageHeight_Int32 = 2039, + Prop_DisplayMCImageNumChannels_Int32 = 2040, + Prop_DisplayMCImageData_Binary = 2041, + Prop_SecondsFromPhotonsToVblank_Float = 2042, + Prop_DriverDirectModeSendsVsyncEvents_Bool = 2043, + Prop_DisplayDebugMode_Bool = 2044, + Prop_GraphicsAdapterLuid_Uint64 = 2045, + Prop_DriverProvidedChaperonePath_String = 2048, + Prop_ExpectedTrackingReferenceCount_Int32 = 2049, // expected number of sensors or basestations to reserve UI space for + Prop_ExpectedControllerCount_Int32 = 2050, // expected number of tracked controllers to reserve UI space for + Prop_NamedIconPathControllerLeftDeviceOff_String = 2051, // placeholder icon for "left" controller if not yet detected/loaded + Prop_NamedIconPathControllerRightDeviceOff_String = 2052, // placeholder icon for "right" controller if not yet detected/loaded + Prop_NamedIconPathTrackingReferenceDeviceOff_String = 2053, // placeholder icon for sensor/base if not yet detected/loaded + Prop_DoNotApplyPrediction_Bool = 2054, // currently no effect. was used to disable HMD pose prediction on MR, which is now done by MR driver setting velocity=0 + Prop_CameraToHeadTransforms_Matrix34_Array = 2055, + Prop_DistortionMeshResolution_Int32 = 2056, // custom resolution of compositor calls to IVRSystem::ComputeDistortion + Prop_DriverIsDrawingControllers_Bool = 2057, + Prop_DriverRequestsApplicationPause_Bool = 2058, + Prop_DriverRequestsReducedRendering_Bool = 2059, + Prop_MinimumIpdStepMeters_Float = 2060, + Prop_AudioBridgeFirmwareVersion_Uint64 = 2061, + Prop_ImageBridgeFirmwareVersion_Uint64 = 2062, + Prop_ImuToHeadTransform_Matrix34 = 2063, + Prop_ImuFactoryGyroBias_Vector3 = 2064, + Prop_ImuFactoryGyroScale_Vector3 = 2065, + Prop_ImuFactoryAccelerometerBias_Vector3 = 2066, + Prop_ImuFactoryAccelerometerScale_Vector3 = 2067, + // reserved 2068 + Prop_ConfigurationIncludesLighthouse20Features_Bool = 2069, + Prop_AdditionalRadioFeatures_Uint64 = 2070, + Prop_CameraWhiteBalance_Vector4_Array = 2071, // Prop_NumCameras_Int32-sized array of float[4] RGBG white balance calibration data (max size is vr::k_unMaxCameras) + Prop_CameraDistortionFunction_Int32_Array = 2072, // Prop_NumCameras_Int32-sized array of vr::EVRDistortionFunctionType values (max size is vr::k_unMaxCameras) + Prop_CameraDistortionCoefficients_Float_Array = 2073, // Prop_NumCameras_Int32-sized array of double[vr::k_unMaxDistortionFunctionParameters] (max size is vr::k_unMaxCameras) + Prop_ExpectedControllerType_String = 2074, + Prop_HmdTrackingStyle_Int32 = 2075, // one of EHmdTrackingStyle + Prop_DriverProvidedChaperoneVisibility_Bool = 2076, + Prop_HmdColumnCorrectionSettingPrefix_String = 2077, + Prop_CameraSupportsCompatibilityModes_Bool = 2078, + Prop_SupportsRoomViewDepthProjection_Bool = 2079, + Prop_DisplayAvailableFrameRates_Float_Array = 2080, // populated by compositor from actual EDID list when available from GPU driver + Prop_DisplaySupportsMultipleFramerates_Bool = 2081, // if this is true but Prop_DisplayAvailableFrameRates_Float_Array is empty, explain to user + Prop_DisplayColorMultLeft_Vector3 = 2082, + Prop_DisplayColorMultRight_Vector3 = 2083, + Prop_DisplaySupportsRuntimeFramerateChange_Bool = 2084, + Prop_DisplaySupportsAnalogGain_Bool = 2085, + Prop_DisplayMinAnalogGain_Float = 2086, + Prop_DisplayMaxAnalogGain_Float = 2087, + Prop_CameraExposureTime_Float = 2088, + Prop_CameraGlobalGain_Float = 2089, + // Prop_DashboardLayoutPathName_String = 2090, // DELETED + Prop_DashboardScale_Float = 2091, + Prop_PeerButtonInfo_String = 2092, + Prop_Hmd_SupportsHDR10_Bool = 2093, + Prop_Hmd_EnableParallelRenderCameras_Bool = 2094, + Prop_DriverProvidedChaperoneJson_String = 2095, // higher priority than Prop_DriverProvidedChaperonePath_String + + Prop_IpdUIRangeMinMeters_Float = 2100, + Prop_IpdUIRangeMaxMeters_Float = 2101, + Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102, + Prop_Hmd_SupportsMicMonitoring_Bool = 2103, + Prop_Hmd_SupportsDisplayPortTrainingMode_Bool = 2104, + Prop_Hmd_SupportsRoomViewDirect_Bool = 2105, + Prop_Hmd_SupportsAppThrottling_Bool = 2106, + Prop_Hmd_SupportsGpuBusMonitoring_Bool = 2107, + + Prop_DSCVersion_Int32 = 2110, + Prop_DSCSliceCount_Int32 = 2111, + Prop_DSCBPPx16_Int32 = 2112, + + // Driver requested mura correction properties + Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200, + Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201, + Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202, + Prop_DriverRequestedMuraFeather_InnerTop_Int32 = 2203, + Prop_DriverRequestedMuraFeather_InnerBottom_Int32 = 2204, + Prop_DriverRequestedMuraFeather_OuterLeft_Int32 = 2205, + Prop_DriverRequestedMuraFeather_OuterRight_Int32 = 2206, + Prop_DriverRequestedMuraFeather_OuterTop_Int32 = 2207, + Prop_DriverRequestedMuraFeather_OuterBottom_Int32 = 2208, + + Prop_Audio_DefaultPlaybackDeviceId_String = 2300, + Prop_Audio_DefaultRecordingDeviceId_String = 2301, + Prop_Audio_DefaultPlaybackDeviceVolume_Float = 2302, + Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool = 2303, + + // Properties that are unique to TrackedDeviceClass_Controller + Prop_AttachedDeviceId_String = 3000, + Prop_SupportedButtons_Uint64 = 3001, + Prop_Axis0Type_Int32 = 3002, // Return value is of type EVRControllerAxisType + Prop_Axis1Type_Int32 = 3003, // Return value is of type EVRControllerAxisType + Prop_Axis2Type_Int32 = 3004, // Return value is of type EVRControllerAxisType + Prop_Axis3Type_Int32 = 3005, // Return value is of type EVRControllerAxisType + Prop_Axis4Type_Int32 = 3006, // Return value is of type EVRControllerAxisType + Prop_ControllerRoleHint_Int32 = 3007, // Return value is of type ETrackedControllerRole + + // Properties that are unique to TrackedDeviceClass_TrackingReference + Prop_FieldOfViewLeftDegrees_Float = 4000, + Prop_FieldOfViewRightDegrees_Float = 4001, + Prop_FieldOfViewTopDegrees_Float = 4002, + Prop_FieldOfViewBottomDegrees_Float = 4003, + Prop_TrackingRangeMinimumMeters_Float = 4004, + Prop_TrackingRangeMaximumMeters_Float = 4005, + Prop_ModeLabel_String = 4006, + Prop_CanWirelessIdentify_Bool = 4007, // volatile, based on radio presence and fw discovery + Prop_Nonce_Int32 = 4008, + + // Properties that are used for user interface like icons names + Prop_IconPathName_String = 5000, // DEPRECATED. Value not referenced. Now expected to be part of icon path properties. + Prop_NamedIconPathDeviceOff_String = 5001, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceSearching_String = 5002, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceSearchingAlert_String = 5003, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceReady_String = 5004, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceReadyAlert_String = 5005, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceNotReady_String = 5006, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceStandby_String = 5007, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceAlertLow_String = 5008, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + Prop_NamedIconPathDeviceStandbyAlert_String = 5009, // {driver}/icons/icon_filename - PNG for static icon, or GIF for animation, 50x32 for headsets and 32x32 for others + + // Properties that are used by helpers, but are opaque to applications + Prop_DisplayHiddenArea_Binary_Start = 5100, + Prop_DisplayHiddenArea_Binary_End = 5150, + Prop_ParentContainer = 5151, + Prop_OverrideContainer_Uint64 = 5152, + + // Properties that are unique to drivers + Prop_UserConfigPath_String = 6000, + Prop_InstallPath_String = 6001, + Prop_HasDisplayComponent_Bool = 6002, + Prop_HasControllerComponent_Bool = 6003, + Prop_HasCameraComponent_Bool = 6004, + Prop_HasDriverDirectModeComponent_Bool = 6005, + Prop_HasVirtualDisplayComponent_Bool = 6006, + Prop_HasSpatialAnchorsSupport_Bool = 6007, + + // Properties that are set internally based on other information provided by drivers + Prop_ControllerType_String = 7000, + //Prop_LegacyInputProfile_String = 7001, // This is no longer used. See "legacy_binding" in the input profile instead. + Prop_ControllerHandSelectionPriority_Int32 = 7002, // Allows hand assignments to prefer some controllers over others. High numbers are selected over low numbers + + // Vendors are free to expose private debug data in this reserved region + Prop_VendorSpecific_Reserved_Start = 10000, + Prop_VendorSpecific_Reserved_End = 10999, + + Prop_TrackedDeviceProperty_Max = 1000000, +}; + +/** No string property will ever be longer than this length */ +static const uint32_t k_unMaxPropertyStringSize = 32 * 1024; + +/** Used to return errors that occur when reading properties. */ +enum ETrackedPropertyError +{ + TrackedProp_Success = 0, + TrackedProp_WrongDataType = 1, + TrackedProp_WrongDeviceClass = 2, + TrackedProp_BufferTooSmall = 3, + TrackedProp_UnknownProperty = 4, // Driver has not set the property (and may not ever). + TrackedProp_InvalidDevice = 5, + TrackedProp_CouldNotContactServer = 6, + TrackedProp_ValueNotProvidedByDevice = 7, + TrackedProp_StringExceedsMaximumLength = 8, + TrackedProp_NotYetAvailable = 9, // The property value isn't known yet, but is expected soon. Call again later. + TrackedProp_PermissionDenied = 10, + TrackedProp_InvalidOperation = 11, + TrackedProp_CannotWriteToWildcards = 12, + TrackedProp_IPCReadFailure = 13, + TrackedProp_OutOfMemory = 14, + TrackedProp_InvalidContainer = 15, +}; + +/** Used to drive certain text in the UI when talking about the tracking system for the HMD */ +enum EHmdTrackingStyle +{ + HmdTrackingStyle_Unknown = 0, + + HmdTrackingStyle_Lighthouse = 1, // base stations and lasers + HmdTrackingStyle_OutsideInCameras = 2, // Cameras and LED, Rift 1 style + HmdTrackingStyle_InsideOutCameras = 3, // Cameras on HMD looking at the world +}; + +typedef uint64_t VRActionHandle_t; +typedef uint64_t VRActionSetHandle_t; +typedef uint64_t VRInputValueHandle_t; + +static const VRActionHandle_t k_ulInvalidActionHandle = 0; +static const VRActionSetHandle_t k_ulInvalidActionSetHandle = 0; +static const VRInputValueHandle_t k_ulInvalidInputValueHandle = 0; + + +/** Allows the application to control how scene textures are used by the compositor when calling Submit. */ +enum EVRSubmitFlags +{ + // Simple render path. App submits rendered left and right eye images with no lens distortion correction applied. + Submit_Default = 0x00, + + // App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear + // barrel distorted with chromatic aberration correction applied). The app would have used the data returned by + // vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit(). + Submit_LensDistortionAlreadyApplied = 0x01, + + // If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag. + Submit_GlRenderBuffer = 0x02, + + // Do not use + Submit_Reserved = 0x04, + + // Set to indicate that pTexture is a pointer to a VRTextureWithPose_t. + // This flag can be combined with Submit_TextureWithDepth to pass a VRTextureWithPoseAndDepth_t. + Submit_TextureWithPose = 0x08, + + // Set to indicate that pTexture is a pointer to a VRTextureWithDepth_t. + // This flag can be combined with Submit_TextureWithPose to pass a VRTextureWithPoseAndDepth_t. + Submit_TextureWithDepth = 0x10, + + // Set to indicate a discontinuity between this and the last frame. + // This will prevent motion smoothing from attempting to extrapolate using the pair. + Submit_FrameDiscontinuty = 0x20, + + // Set to indicate that pTexture->handle is a contains VRVulkanTextureArrayData_t + Submit_VulkanTextureWithArrayData = 0x40, + + // If the texture pointer passed in is an OpenGL Array texture, set this flag + Submit_GlArrayTexture = 0x80, + + // Do not use + Submit_Reserved2 = 0x08000, + Submit_Reserved3 = 0x10000, + +}; + +/** Data required for passing Vulkan textures to IVRCompositor::Submit. +* Be sure to call OpenVR_Shutdown before destroying these resources. +* Please see https://github.com/ValveSoftware/openvr/wiki/Vulkan for Vulkan-specific documentation */ +struct VRVulkanTextureData_t +{ + uint64_t m_nImage; // VkImage + VkDevice_T *m_pDevice; + VkPhysicalDevice_T *m_pPhysicalDevice; + VkInstance_T *m_pInstance; + VkQueue_T *m_pQueue; + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount; +}; + +/** Data required for passing Vulkan texture arrays to IVRCompositor::Submit. +* Be sure to call OpenVR_Shutdown before destroying these resources. +* Please see https://github.com/ValveSoftware/openvr/wiki/Vulkan for Vulkan-specific documentation */ +struct VRVulkanTextureArrayData_t : public VRVulkanTextureData_t +{ + uint32_t m_unArrayIndex; + uint32_t m_unArraySize; +}; + +/** Data required for passing D3D12 textures to IVRCompositor::Submit. +* Be sure to call OpenVR_Shutdown before destroying these resources. */ +struct D3D12TextureData_t +{ + ID3D12Resource *m_pResource; + ID3D12CommandQueue *m_pCommandQueue; + uint32_t m_nNodeMask; +}; + +/** Status of the overall system or tracked objects */ +enum EVRState +{ + VRState_Undefined = -1, + VRState_Off = 0, + VRState_Searching = 1, + VRState_Searching_Alert = 2, + VRState_Ready = 3, + VRState_Ready_Alert = 4, + VRState_NotReady = 5, + VRState_Standby = 6, + VRState_Ready_Alert_Low = 7, +}; + +/** The types of events that could be posted (and what the parameters mean for each event type) */ +enum EVREventType +{ + VREvent_None = 0, + + VREvent_TrackedDeviceActivated = 100, + VREvent_TrackedDeviceDeactivated = 101, + VREvent_TrackedDeviceUpdated = 102, + VREvent_TrackedDeviceUserInteractionStarted = 103, + VREvent_TrackedDeviceUserInteractionEnded = 104, + VREvent_IpdChanged = 105, + VREvent_EnterStandbyMode = 106, + VREvent_LeaveStandbyMode = 107, + VREvent_TrackedDeviceRoleChanged = 108, + VREvent_WatchdogWakeUpRequested = 109, + VREvent_LensDistortionChanged = 110, + VREvent_PropertyChanged = 111, + VREvent_WirelessDisconnect = 112, + VREvent_WirelessReconnect = 113, + + VREvent_ButtonPress = 200, // data is controller + VREvent_ButtonUnpress = 201, // data is controller + VREvent_ButtonTouch = 202, // data is controller + VREvent_ButtonUntouch = 203, // data is controller + + // VREvent_DualAnalog_Press = 250, // No longer sent + // VREvent_DualAnalog_Unpress = 251, // No longer sent + // VREvent_DualAnalog_Touch = 252, // No longer sent + // VREvent_DualAnalog_Untouch = 253, // No longer sent + // VREvent_DualAnalog_Move = 254, // No longer sent + // VREvent_DualAnalog_ModeSwitch1 = 255, // No longer sent + // VREvent_DualAnalog_ModeSwitch2 = 256, // No longer sent + VREvent_Modal_Cancel = 257, // Sent to overlays with the + + VREvent_MouseMove = 300, // data is mouse + VREvent_MouseButtonDown = 301, // data is mouse + VREvent_MouseButtonUp = 302, // data is mouse + VREvent_FocusEnter = 303, // data is overlay + VREvent_FocusLeave = 304, // data is overlay + VREvent_ScrollDiscrete = 305, // data is scroll + VREvent_TouchPadMove = 306, // data is mouse + VREvent_OverlayFocusChanged = 307, // data is overlay, global event + VREvent_ReloadOverlays = 308, + VREvent_ScrollSmooth = 309, // data is scroll + VREvent_LockMousePosition = 310, + VREvent_UnlockMousePosition = 311, + + VREvent_InputFocusCaptured = 400, // data is process DEPRECATED + VREvent_InputFocusReleased = 401, // data is process DEPRECATED + // VREvent_SceneFocusLost = 402, // data is process + // VREvent_SceneFocusGained = 403, // data is process + VREvent_SceneApplicationChanged = 404, // data is process - The App actually drawing the scene changed (usually to or from the compositor) + // VREvent_SceneFocusChanged = 405, // data is process - This is defunct and will not be called. + VREvent_InputFocusChanged = 406, // data is process + // VREvent_SceneApplicationSecondaryRenderingStarted = 407, + VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408, // data is process + VREvent_ActionBindingReloaded = 409, // data is process - The App that action binds reloaded for + + VREvent_HideRenderModels = 410, // Sent to the scene application to request hiding render models temporarily + VREvent_ShowRenderModels = 411, // Sent to the scene application to request restoring render model visibility + + VREvent_SceneApplicationStateChanged = 412, // No data; but query VRApplications()->GetSceneApplicationState(); + + VREvent_SceneAppPipeDisconnected = 413, // data is process - Called when the scene app's pipe has been closed. + + VREvent_ConsoleOpened = 420, + VREvent_ConsoleClosed = 421, + + VREvent_OverlayShown = 500, + VREvent_OverlayHidden = 501, + VREvent_DashboardActivated = 502, + VREvent_DashboardDeactivated = 503, + //VREvent_DashboardThumbSelected = 504, // Sent to the overlay manager - data is overlay - No longer sent + VREvent_DashboardRequested = 505, // Sent to the overlay manager - data is overlay + VREvent_ResetDashboard = 506, // Send to the overlay manager + //VREvent_RenderToast = 507, // Send to the dashboard to render a toast - data is the notification ID -- no longer sent + VREvent_ImageLoaded = 508, // Sent to overlays when a SetOverlayRaw or SetOverlayFromFile call finishes loading + VREvent_ShowKeyboard = 509, // Sent to keyboard renderer in the dashboard to invoke it + VREvent_HideKeyboard = 510, // Sent to keyboard renderer in the dashboard to hide it + VREvent_OverlayGamepadFocusGained = 511, // Sent to an overlay when IVROverlay::SetFocusOverlay is called on it + VREvent_OverlayGamepadFocusLost = 512, // Send to an overlay when it previously had focus and IVROverlay::SetFocusOverlay is called on something else + VREvent_OverlaySharedTextureChanged = 513, + //VREvent_DashboardGuideButtonDown = 514, // These are no longer sent + //VREvent_DashboardGuideButtonUp = 515, + VREvent_ScreenshotTriggered = 516, // Screenshot button combo was pressed, Dashboard should request a screenshot + VREvent_ImageFailed = 517, // Sent to overlays when a SetOverlayRaw or SetOverlayfromFail fails to load + VREvent_DashboardOverlayCreated = 518, + VREvent_SwitchGamepadFocus = 519, + + // Screenshot API + VREvent_RequestScreenshot = 520, // Sent by vrclient application to compositor to take a screenshot + VREvent_ScreenshotTaken = 521, // Sent by compositor to the application that the screenshot has been taken + VREvent_ScreenshotFailed = 522, // Sent by compositor to the application that the screenshot failed to be taken + VREvent_SubmitScreenshotToDashboard = 523, // Sent by compositor to the dashboard that a completed screenshot was submitted + VREvent_ScreenshotProgressToDashboard = 524, // Sent by compositor to the dashboard that a completed screenshot was submitted + + VREvent_PrimaryDashboardDeviceChanged = 525, + VREvent_RoomViewShown = 526, // Sent by compositor whenever room-view is enabled + VREvent_RoomViewHidden = 527, // Sent by compositor whenever room-view is disabled + VREvent_ShowUI = 528, // data is showUi + VREvent_ShowDevTools = 529, // data is showDevTools + VREvent_DesktopViewUpdating = 530, + VREvent_DesktopViewReady = 531, + + VREvent_StartDashboard = 532, + VREvent_ElevatePrism = 533, + + VREvent_OverlayClosed = 534, + + VREvent_Notification_Shown = 600, + VREvent_Notification_Hidden = 601, + VREvent_Notification_BeginInteraction = 602, + VREvent_Notification_Destroyed = 603, + + VREvent_Quit = 700, // data is process + VREvent_ProcessQuit = 701, // data is process + //VREvent_QuitAborted_UserPrompt = 702, // data is process + VREvent_QuitAcknowledged = 703, // data is process + VREvent_DriverRequestedQuit = 704, // The driver has requested that SteamVR shut down + VREvent_RestartRequested = 705, // A driver or other component wants the user to restart SteamVR + VREvent_InvalidateSwapTextureSets = 706, + + VREvent_ChaperoneDataHasChanged = 800, // this will never happen with the new chaperone system + VREvent_ChaperoneUniverseHasChanged = 801, + VREvent_ChaperoneTempDataHasChanged = 802, // this will never happen with the new chaperone system + VREvent_ChaperoneSettingsHaveChanged = 803, + VREvent_SeatedZeroPoseReset = 804, + VREvent_ChaperoneFlushCache = 805, // Sent when the process needs to reload any cached data it retrieved from VRChaperone() + VREvent_ChaperoneRoomSetupStarting = 806, // Triggered by CVRChaperoneClient::RoomSetupStarting + VREvent_ChaperoneRoomSetupFinished = 807, // Triggered by CVRChaperoneClient::CommitWorkingCopy + VREvent_StandingZeroPoseReset = 808, + + VREvent_AudioSettingsHaveChanged = 820, + + VREvent_BackgroundSettingHasChanged = 850, + VREvent_CameraSettingsHaveChanged = 851, + VREvent_ReprojectionSettingHasChanged = 852, + VREvent_ModelSkinSettingsHaveChanged = 853, + VREvent_EnvironmentSettingsHaveChanged = 854, + VREvent_PowerSettingsHaveChanged = 855, + VREvent_EnableHomeAppSettingsHaveChanged = 856, + VREvent_SteamVRSectionSettingChanged = 857, + VREvent_LighthouseSectionSettingChanged = 858, + VREvent_NullSectionSettingChanged = 859, + VREvent_UserInterfaceSectionSettingChanged = 860, + VREvent_NotificationsSectionSettingChanged = 861, + VREvent_KeyboardSectionSettingChanged = 862, + VREvent_PerfSectionSettingChanged = 863, + VREvent_DashboardSectionSettingChanged = 864, + VREvent_WebInterfaceSectionSettingChanged = 865, + VREvent_TrackersSectionSettingChanged = 866, + VREvent_LastKnownSectionSettingChanged = 867, + VREvent_DismissedWarningsSectionSettingChanged = 868, + VREvent_GpuSpeedSectionSettingChanged = 869, + VREvent_WindowsMRSectionSettingChanged = 870, + VREvent_OtherSectionSettingChanged = 871, + + VREvent_StatusUpdate = 900, + + VREvent_WebInterface_InstallDriverCompleted = 950, + + VREvent_MCImageUpdated = 1000, + + VREvent_FirmwareUpdateStarted = 1100, + VREvent_FirmwareUpdateFinished = 1101, + + VREvent_KeyboardClosed = 1200, + VREvent_KeyboardCharInput = 1201, + VREvent_KeyboardDone = 1202, // Sent when DONE button clicked on keyboard + + //VREvent_ApplicationTransitionStarted = 1300, + //VREvent_ApplicationTransitionAborted = 1301, + //VREvent_ApplicationTransitionNewAppStarted = 1302, + VREvent_ApplicationListUpdated = 1303, + VREvent_ApplicationMimeTypeLoad = 1304, + // VREvent_ApplicationTransitionNewAppLaunchComplete = 1305, + VREvent_ProcessConnected = 1306, + VREvent_ProcessDisconnected = 1307, + + //VREvent_Compositor_MirrorWindowShown = 1400, // DEPRECATED + //VREvent_Compositor_MirrorWindowHidden = 1401, // DEPRECATED + VREvent_Compositor_ChaperoneBoundsShown = 1410, + VREvent_Compositor_ChaperoneBoundsHidden = 1411, + VREvent_Compositor_DisplayDisconnected = 1412, + VREvent_Compositor_DisplayReconnected = 1413, + VREvent_Compositor_HDCPError = 1414, // data is hdcpError + VREvent_Compositor_ApplicationNotResponding = 1415, + VREvent_Compositor_ApplicationResumed = 1416, + VREvent_Compositor_OutOfVideoMemory = 1417, + VREvent_Compositor_DisplayModeNotSupported = 1418, // k_pch_SteamVR_PreferredRefreshRate + VREvent_Compositor_StageOverrideReady = 1419, + VREvent_Compositor_RequestDisconnectReconnect = 1420, + + VREvent_TrackedCamera_StartVideoStream = 1500, + VREvent_TrackedCamera_StopVideoStream = 1501, + VREvent_TrackedCamera_PauseVideoStream = 1502, + VREvent_TrackedCamera_ResumeVideoStream = 1503, + VREvent_TrackedCamera_EditingSurface = 1550, + + VREvent_PerformanceTest_EnableCapture = 1600, + VREvent_PerformanceTest_DisableCapture = 1601, + VREvent_PerformanceTest_FidelityLevel = 1602, + + VREvent_MessageOverlay_Closed = 1650, + VREvent_MessageOverlayCloseRequested = 1651, + + VREvent_Input_HapticVibration = 1700, // data is hapticVibration + VREvent_Input_BindingLoadFailed = 1701, // data is inputBinding + VREvent_Input_BindingLoadSuccessful = 1702, // data is inputBinding + VREvent_Input_ActionManifestReloaded = 1703, // no data + VREvent_Input_ActionManifestLoadFailed = 1704, // data is actionManifest + VREvent_Input_ProgressUpdate = 1705, // data is progressUpdate + VREvent_Input_TrackerActivated = 1706, + VREvent_Input_BindingsUpdated = 1707, + VREvent_Input_BindingSubscriptionChanged = 1708, + + VREvent_SpatialAnchors_PoseUpdated = 1800, // data is spatialAnchor. broadcast + VREvent_SpatialAnchors_DescriptorUpdated = 1801, // data is spatialAnchor. broadcast + VREvent_SpatialAnchors_RequestPoseUpdate = 1802, // data is spatialAnchor. sent to specific driver + VREvent_SpatialAnchors_RequestDescriptorUpdate = 1803, // data is spatialAnchor. sent to specific driver + + VREvent_SystemReport_Started = 1900, // user or system initiated generation of a system report. broadcast + + VREvent_Monitor_ShowHeadsetView = 2000, // data is process + VREvent_Monitor_HideHeadsetView = 2001, // data is process + + // Vendors are free to expose private events in this reserved region + VREvent_VendorSpecific_Reserved_Start = 10000, + VREvent_VendorSpecific_Reserved_End = 19999, +}; + + +/** Level of Hmd activity */ +// UserInteraction_Timeout means the device is in the process of timing out. +// InUse = ( k_EDeviceActivityLevel_UserInteraction || k_EDeviceActivityLevel_UserInteraction_Timeout ) +// VREvent_TrackedDeviceUserInteractionStarted fires when the devices transitions from Standby -> UserInteraction or Idle -> UserInteraction. +// VREvent_TrackedDeviceUserInteractionEnded fires when the devices transitions from UserInteraction_Timeout -> Idle +enum EDeviceActivityLevel +{ + k_EDeviceActivityLevel_Unknown = -1, + k_EDeviceActivityLevel_Idle = 0, // No activity for the last 10 seconds + k_EDeviceActivityLevel_UserInteraction = 1, // Activity (movement or prox sensor) is happening now + k_EDeviceActivityLevel_UserInteraction_Timeout = 2, // No activity for the last 0.5 seconds + k_EDeviceActivityLevel_Standby = 3, // Idle for at least 5 seconds (configurable in Settings -> Power Management) + k_EDeviceActivityLevel_Idle_Timeout = 4, +}; + + +/** VR controller button and axis IDs */ +enum EVRButtonId +{ + k_EButton_System = 0, + k_EButton_ApplicationMenu = 1, + k_EButton_Grip = 2, + k_EButton_DPad_Left = 3, + k_EButton_DPad_Up = 4, + k_EButton_DPad_Right = 5, + k_EButton_DPad_Down = 6, + k_EButton_A = 7, + + k_EButton_ProximitySensor = 31, + + k_EButton_Axis0 = 32, + k_EButton_Axis1 = 33, + k_EButton_Axis2 = 34, + k_EButton_Axis3 = 35, + k_EButton_Axis4 = 36, + + // aliases for well known controllers + k_EButton_SteamVR_Touchpad = k_EButton_Axis0, + k_EButton_SteamVR_Trigger = k_EButton_Axis1, + + k_EButton_Dashboard_Back = k_EButton_Grip, + + k_EButton_IndexController_A = k_EButton_Grip, + k_EButton_IndexController_B = k_EButton_ApplicationMenu, + k_EButton_IndexController_JoyStick = k_EButton_Axis3, + + k_EButton_Reserved0 = 50, + k_EButton_Reserved1 = 51, + + k_EButton_Max = 64 +}; + +inline uint64_t ButtonMaskFromId( EVRButtonId id ) { return 1ull << id; } + +/** used for controller button events */ +struct VREvent_Controller_t +{ + uint32_t button; // EVRButtonId enum +}; + + +/** used for simulated mouse events in overlay space */ +enum EVRMouseButton +{ + VRMouseButton_Left = 0x0001, + VRMouseButton_Right = 0x0002, + VRMouseButton_Middle = 0x0004, +}; + + +/** used for simulated mouse events in overlay space */ +struct VREvent_Mouse_t +{ + float x, y; // co-ords are in GL space, bottom left of the texture is 0,0 + uint32_t button; // EVRMouseButton enum +}; + +/** used for simulated mouse wheel scroll */ +struct VREvent_Scroll_t +{ + float xdelta, ydelta; + uint32_t unused; + float viewportscale; // For scrolling on an overlay with laser mouse, this is the overlay's vertical size relative to the overlay height. Range: [0,1] +}; + +/** when in mouse input mode you can receive data from the touchpad, these events are only sent if the users finger + is on the touchpad (or just released from it). These events are sent to overlays with the VROverlayFlags_SendVRTouchpadEvents + flag set. +**/ +struct VREvent_TouchPadMove_t +{ + // true if the users finger is detected on the touch pad + bool bFingerDown; + + // How long the finger has been down in seconds + float flSecondsFingerDown; + + // These values indicate the starting finger position (so you can do some basic swipe stuff) + float fValueXFirst; + float fValueYFirst; + + // This is the raw sampled coordinate without deadzoning + float fValueXRaw; + float fValueYRaw; +}; + +/** notification related events. Details will still change at this point */ +struct VREvent_Notification_t +{ + uint64_t ulUserValue; + uint32_t notificationId; +}; + +/** Used for events about processes */ +struct VREvent_Process_t +{ + uint32_t pid; + uint32_t oldPid; + bool bForced; + // If the associated event was triggered by a connection loss + bool bConnectionLost; +}; + + +/** Used for a few events about overlays */ +struct VREvent_Overlay_t +{ + uint64_t overlayHandle; + uint64_t devicePath; + uint64_t memoryBlockId; +}; + + +/** Used for a few events about overlays */ +struct VREvent_Status_t +{ + uint32_t statusState; // EVRState enum +}; + +/** Used for keyboard events **/ +struct VREvent_Keyboard_t +{ + char cNewInput[8]; // Up to 11 bytes of new input + uint64_t uUserValue; // Possible flags about the new input +}; + +struct VREvent_Ipd_t +{ + float ipdMeters; +}; + +struct VREvent_Chaperone_t +{ + uint64_t m_nPreviousUniverse; + uint64_t m_nCurrentUniverse; +}; + +/** Not actually used for any events */ +struct VREvent_Reserved_t +{ + uint64_t reserved0; + uint64_t reserved1; + uint64_t reserved2; + uint64_t reserved3; + uint64_t reserved4; + uint64_t reserved5; +}; + +struct VREvent_PerformanceTest_t +{ + uint32_t m_nFidelityLevel; +}; + +struct VREvent_SeatedZeroPoseReset_t +{ + bool bResetBySystemMenu; +}; + +struct VREvent_Screenshot_t +{ + uint32_t handle; + uint32_t type; +}; + +struct VREvent_ScreenshotProgress_t +{ + float progress; +}; + +struct VREvent_ApplicationLaunch_t +{ + uint32_t pid; + uint32_t unArgsHandle; +}; + +struct VREvent_EditingCameraSurface_t +{ + uint64_t overlayHandle; + uint32_t nVisualMode; +}; + +struct VREvent_MessageOverlay_t +{ + uint32_t unVRMessageOverlayResponse; // vr::VRMessageOverlayResponse enum +}; + +struct VREvent_Property_t +{ + PropertyContainerHandle_t container; + ETrackedDeviceProperty prop; +}; + +struct VREvent_HapticVibration_t +{ + uint64_t containerHandle; // property container handle of the device with the haptic component + uint64_t componentHandle; // Which haptic component needs to vibrate + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct VREvent_WebConsole_t +{ + WebConsoleHandle_t webConsoleHandle; +}; + +struct VREvent_InputBindingLoad_t +{ + vr::PropertyContainerHandle_t ulAppContainer; + uint64_t pathMessage; + uint64_t pathUrl; + uint64_t pathControllerType; +}; + +struct VREvent_InputActionManifestLoad_t +{ + uint64_t pathAppKey; + uint64_t pathMessage; + uint64_t pathMessageParam; + uint64_t pathManifestPath; +}; + +struct VREvent_SpatialAnchor_t +{ + SpatialAnchorHandle_t unHandle; +}; + +struct VREvent_ProgressUpdate_t +{ + uint64_t ulApplicationPropertyContainer; + uint64_t pathDevice; + uint64_t pathInputSource; + uint64_t pathProgressAction; + uint64_t pathIcon; + float fProgress; +}; + +enum EShowUIType +{ + ShowUI_ControllerBinding = 0, + ShowUI_ManageTrackers = 1, + // ShowUI_QuickStart = 2, // Deprecated + ShowUI_Pairing = 3, + ShowUI_Settings = 4, + ShowUI_DebugCommands = 5, + ShowUI_FullControllerBinding = 6, + ShowUI_ManageDrivers = 7, +}; + +struct VREvent_ShowUI_t +{ + EShowUIType eType; +}; + +struct VREvent_ShowDevTools_t +{ + int32_t nBrowserIdentifier; +}; + +enum EHDCPError +{ + HDCPError_None = 0, + HDCPError_LinkLost = 1, + HDCPError_Tampered = 2, + HDCPError_DeviceRevoked = 3, + HDCPError_Unknown = 4 +}; + +struct VREvent_HDCPError_t +{ + EHDCPError eCode; +}; + +typedef union +{ + VREvent_Reserved_t reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t scroll; + VREvent_Process_t process; + VREvent_Notification_t notification; + VREvent_Overlay_t overlay; + VREvent_Status_t status; + VREvent_Keyboard_t keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; + VREvent_ShowDevTools_t showDevTools; + VREvent_HDCPError_t hdcpError; + /** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py */ +} VREvent_Data_t; + + +#if defined(__linux__) || defined(__APPLE__) +// This structure was originally defined mis-packed on Linux, preserved for +// compatibility. +#pragma pack( push, 4 ) +#endif + +/** An event posted by the server to all running applications */ +struct VREvent_t +{ + uint32_t eventType; // EVREventType enum + TrackedDeviceIndex_t trackedDeviceIndex; + float eventAgeSeconds; + // event data must be the end of the struct as its size is variable + VREvent_Data_t data; +}; + +#if defined(__linux__) || defined(__APPLE__) +#pragma pack( pop ) +#endif + +typedef uint32_t VRComponentProperties; + +enum EVRComponentProperty +{ + VRComponentProperty_IsStatic = (1 << 0), + VRComponentProperty_IsVisible = (1 << 1), + VRComponentProperty_IsTouched = (1 << 2), + VRComponentProperty_IsPressed = (1 << 3), + VRComponentProperty_IsScrolled = (1 << 4), + VRComponentProperty_IsHighlighted = (1 << 5), +}; + + +/** Describes state information about a render-model component, including transforms and other dynamic properties */ +struct RenderModel_ComponentState_t +{ + HmdMatrix34_t mTrackingToComponentRenderModel; // Transform required when drawing the component render model + HmdMatrix34_t mTrackingToComponentLocal; // Transform available for attaching to a local component coordinate system (-Z out from surface ) + VRComponentProperties uProperties; +}; + + +enum EVRInputError +{ + VRInputError_None = 0, + VRInputError_NameNotFound = 1, + VRInputError_WrongType = 2, + VRInputError_InvalidHandle = 3, + VRInputError_InvalidParam = 4, + VRInputError_NoSteam = 5, + VRInputError_MaxCapacityReached = 6, + VRInputError_IPCError = 7, + VRInputError_NoActiveActionSet = 8, + VRInputError_InvalidDevice = 9, + VRInputError_InvalidSkeleton = 10, + VRInputError_InvalidBoneCount = 11, + VRInputError_InvalidCompressedData = 12, + VRInputError_NoData = 13, + VRInputError_BufferTooSmall = 14, + VRInputError_MismatchedActionManifest = 15, + VRInputError_MissingSkeletonData = 16, + VRInputError_InvalidBoneIndex = 17, + VRInputError_InvalidPriority = 18, + VRInputError_PermissionDenied = 19, + VRInputError_InvalidRenderModel = 20, +}; + +enum EVRSpatialAnchorError +{ + VRSpatialAnchorError_Success = 0, + VRSpatialAnchorError_Internal = 1, + VRSpatialAnchorError_UnknownHandle = 2, + VRSpatialAnchorError_ArrayTooSmall = 3, + VRSpatialAnchorError_InvalidDescriptorChar = 4, + VRSpatialAnchorError_NotYetAvailable = 5, + VRSpatialAnchorError_NotAvailableInThisUniverse = 6, + VRSpatialAnchorError_PermanentlyUnavailable = 7, + VRSpatialAnchorError_WrongDriver = 8, + VRSpatialAnchorError_DescriptorTooLong = 9, + VRSpatialAnchorError_Unknown = 10, + VRSpatialAnchorError_NoRoomCalibration = 11, + VRSpatialAnchorError_InvalidArgument = 12, + VRSpatialAnchorError_UnknownDriver = 13, +}; + +/** The mesh to draw into the stencil (or depth) buffer to perform +* early stencil (or depth) kills of pixels that will never appear on the HMD. +* This mesh draws on all the pixels that will be hidden after distortion. +* +* If the HMD does not provide a visible area mesh pVertexData will be +* NULL and unTriangleCount will be 0. */ +struct HiddenAreaMesh_t +{ + const HmdVector2_t *pVertexData; + uint32_t unTriangleCount; +}; + + +enum EHiddenAreaMeshType +{ + k_eHiddenAreaMesh_Standard = 0, + k_eHiddenAreaMesh_Inverse = 1, + k_eHiddenAreaMesh_LineLoop = 2, + + k_eHiddenAreaMesh_Max = 3, +}; + + +/** Identifies what kind of axis is on the controller at index n. Read this type +* with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n ); +*/ +enum EVRControllerAxisType +{ + k_eControllerAxis_None = 0, + k_eControllerAxis_TrackPad = 1, + k_eControllerAxis_Joystick = 2, + k_eControllerAxis_Trigger = 3, // Analog trigger data is in the X axis +}; + + +/** contains information about one axis on the controller */ +struct VRControllerAxis_t +{ + float x; // Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released. + float y; // Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers. +}; + + +/** the number of axes in the controller state */ +static const uint32_t k_unControllerStateAxisCount = 5; + + +#if defined(__linux__) || defined(__APPLE__) +// This structure was originally defined mis-packed on Linux, preserved for +// compatibility. +#pragma pack( push, 4 ) +#endif + +/** Holds all the state of a controller at one moment in time. */ +struct VRControllerState001_t +{ + // If packet num matches that on your prior call, then the controller state hasn't been changed since + // your last call and there is no need to process it + uint32_t unPacketNum; + + // bit flags for each of the buttons. Use ButtonMaskFromId to turn an ID into a mask + uint64_t ulButtonPressed; + uint64_t ulButtonTouched; + + // Axis data for the controller's analog inputs + VRControllerAxis_t rAxis[ k_unControllerStateAxisCount ]; +}; +#if defined(__linux__) || defined(__APPLE__) +#pragma pack( pop ) +#endif + + +typedef VRControllerState001_t VRControllerState_t; + + +/** determines how to provide output to the application of various event processing functions. */ +enum EVRControllerEventOutputType +{ + ControllerEventOutput_OSEvents = 0, + ControllerEventOutput_VREvents = 1, +}; + + + +/** Collision Bounds Style */ +enum ECollisionBoundsStyle +{ + COLLISION_BOUNDS_STYLE_BEGINNER = 0, + COLLISION_BOUNDS_STYLE_INTERMEDIATE, + COLLISION_BOUNDS_STYLE_SQUARES, + COLLISION_BOUNDS_STYLE_ADVANCED, + COLLISION_BOUNDS_STYLE_NONE, + + COLLISION_BOUNDS_STYLE_COUNT +}; + +/** used to refer to a single VR overlay */ +typedef uint64_t VROverlayHandle_t; + +static const VROverlayHandle_t k_ulOverlayHandleInvalid = 0; + +/** Errors that can occur around VR overlays */ +enum EVROverlayError +{ + VROverlayError_None = 0, + + VROverlayError_UnknownOverlay = 10, + VROverlayError_InvalidHandle = 11, + VROverlayError_PermissionDenied = 12, + VROverlayError_OverlayLimitExceeded = 13, // No more overlays could be created because the maximum number already exist + VROverlayError_WrongVisibilityType = 14, + VROverlayError_KeyTooLong = 15, + VROverlayError_NameTooLong = 16, + VROverlayError_KeyInUse = 17, + VROverlayError_WrongTransformType = 18, + VROverlayError_InvalidTrackedDevice = 19, + VROverlayError_InvalidParameter = 20, + VROverlayError_ThumbnailCantBeDestroyed = 21, + VROverlayError_ArrayTooSmall = 22, + VROverlayError_RequestFailed = 23, + VROverlayError_InvalidTexture = 24, + VROverlayError_UnableToLoadFile = 25, + VROverlayError_KeyboardAlreadyInUse = 26, + VROverlayError_NoNeighbor = 27, + VROverlayError_TooManyMaskPrimitives = 29, + VROverlayError_BadMaskPrimitive = 30, + VROverlayError_TextureAlreadyLocked = 31, + VROverlayError_TextureLockCapacityReached = 32, + VROverlayError_TextureNotLocked = 33, + VROverlayError_TimedOut = 34, +}; + +/** enum values to pass in to VR_Init to identify whether the application will +* draw a 3D scene. */ +enum EVRApplicationType +{ + VRApplication_Other = 0, // Some other kind of application that isn't covered by the other entries + VRApplication_Scene = 1, // Application will submit 3D frames + VRApplication_Overlay = 2, // Application only interacts with overlays + VRApplication_Background = 3, // Application should not start SteamVR if it's not already running, and should not + // keep it running if everything else quits. + VRApplication_Utility = 4, // Init should not try to load any drivers. The application needs access to utility + // interfaces (like IVRSettings and IVRApplications) but not hardware. + VRApplication_VRMonitor = 5, // Reserved for vrmonitor + VRApplication_SteamWatchdog = 6,// Reserved for Steam + VRApplication_Bootstrapper = 7, // reserved for vrstartup + VRApplication_WebHelper = 8, // reserved for vrwebhelper + VRApplication_OpenXRInstance = 9, // reserved for openxr (created instance, but not session yet) + VRApplication_OpenXRScene = 10, // reserved for openxr (started session) + VRApplication_OpenXROverlay = 11, // reserved for openxr (started overlay session) + VRApplication_Prism = 12, // reserved for the vrprismhost process + VRApplication_RoomView = 13, // reserved for the RoomView process + + VRApplication_Max +}; + + +/** returns true if the specified application type is one of the +* OpenXR types */ +inline bool IsOpenXRAppType( EVRApplicationType eType ) +{ + return eType == VRApplication_OpenXRInstance + || eType == VRApplication_OpenXRScene + || eType == VRApplication_OpenXROverlay; +} + + +/** returns true if the specified application type submits eye buffers */ +inline bool BAppTypeSubmitsEyeBuffers( EVRApplicationType eType ) +{ + return eType == VRApplication_Scene + || eType == VRApplication_OpenXRScene + || eType == VRApplication_RoomView; +} + + +/** error codes for firmware */ +enum EVRFirmwareError +{ + VRFirmwareError_None = 0, + VRFirmwareError_Success = 1, + VRFirmwareError_Fail = 2, +}; + + +/** error codes for notifications */ +enum EVRNotificationError +{ + VRNotificationError_OK = 0, + VRNotificationError_InvalidNotificationId = 100, + VRNotificationError_NotificationQueueFull = 101, + VRNotificationError_InvalidOverlayHandle = 102, + VRNotificationError_SystemWithUserValueAlreadyExists = 103, +}; + + +enum EVRSkeletalMotionRange +{ + // The range of motion of the skeleton takes into account any physical limits imposed by + // the controller itself. This will tend to be the most accurate pose compared to the user's + // actual hand pose, but might not allow a closed fist for example + VRSkeletalMotionRange_WithController = 0, + + // Retarget the range of motion provided by the input device to make the hand appear to move + // as if it was not holding a controller. eg: map "hand grasping controller" to "closed fist" + VRSkeletalMotionRange_WithoutController = 1, +}; + +enum EVRSkeletalTrackingLevel +{ + // body part location can't be directly determined by the device. Any skeletal pose provided by + // the device is estimated by assuming the position required to active buttons, triggers, joysticks, + // or other input sensors. + // E.g. Vive Controller, Gamepad + VRSkeletalTracking_Estimated = 0, + + // body part location can be measured directly but with fewer degrees of freedom than the actual body + // part. Certain body part positions may be unmeasured by the device and estimated from other input data. + // E.g. Index Controllers, gloves that only measure finger curl + VRSkeletalTracking_Partial = 1, + + // Body part location can be measured directly throughout the entire range of motion of the body part. + // E.g. Mocap suit for the full body, gloves that measure rotation of each finger segment + VRSkeletalTracking_Full = 2, + + VRSkeletalTrackingLevel_Count, + VRSkeletalTrackingLevel_Max = VRSkeletalTrackingLevel_Count - 1 +}; + + +/** Type used for referring to bones by their index */ +typedef int32_t BoneIndex_t; +const BoneIndex_t k_unInvalidBoneIndex = -1; + + +/** error codes returned by Vr_Init */ + +// Please add adequate error description to https://developer.valvesoftware.com/w/index.php?title=Category:SteamVRHelp +enum EVRInitError +{ + VRInitError_None = 0, + VRInitError_Unknown = 1, + + VRInitError_Init_InstallationNotFound = 100, + VRInitError_Init_InstallationCorrupt = 101, + VRInitError_Init_VRClientDLLNotFound = 102, + VRInitError_Init_FileNotFound = 103, + VRInitError_Init_FactoryNotFound = 104, + VRInitError_Init_InterfaceNotFound = 105, + VRInitError_Init_InvalidInterface = 106, + VRInitError_Init_UserConfigDirectoryInvalid = 107, + VRInitError_Init_HmdNotFound = 108, + VRInitError_Init_NotInitialized = 109, + VRInitError_Init_PathRegistryNotFound = 110, + VRInitError_Init_NoConfigPath = 111, + VRInitError_Init_NoLogPath = 112, + VRInitError_Init_PathRegistryNotWritable = 113, + VRInitError_Init_AppInfoInitFailed = 114, + VRInitError_Init_Retry = 115, // Used internally to cause retries to vrserver + VRInitError_Init_InitCanceledByUser = 116, // The calling application should silently exit. The user canceled app startup + VRInitError_Init_AnotherAppLaunching = 117, + VRInitError_Init_SettingsInitFailed = 118, + VRInitError_Init_ShuttingDown = 119, + VRInitError_Init_TooManyObjects = 120, + VRInitError_Init_NoServerForBackgroundApp = 121, + VRInitError_Init_NotSupportedWithCompositor = 122, + VRInitError_Init_NotAvailableToUtilityApps = 123, + VRInitError_Init_Internal = 124, + VRInitError_Init_HmdDriverIdIsNone = 125, + VRInitError_Init_HmdNotFoundPresenceFailed = 126, + VRInitError_Init_VRMonitorNotFound = 127, + VRInitError_Init_VRMonitorStartupFailed = 128, + VRInitError_Init_LowPowerWatchdogNotSupported = 129, + VRInitError_Init_InvalidApplicationType = 130, + VRInitError_Init_NotAvailableToWatchdogApps = 131, + VRInitError_Init_WatchdogDisabledInSettings = 132, + VRInitError_Init_VRDashboardNotFound = 133, + VRInitError_Init_VRDashboardStartupFailed = 134, + VRInitError_Init_VRHomeNotFound = 135, + VRInitError_Init_VRHomeStartupFailed = 136, + VRInitError_Init_RebootingBusy = 137, + VRInitError_Init_FirmwareUpdateBusy = 138, + VRInitError_Init_FirmwareRecoveryBusy = 139, + VRInitError_Init_USBServiceBusy = 140, + VRInitError_Init_VRWebHelperStartupFailed = 141, + VRInitError_Init_TrackerManagerInitFailed = 142, + VRInitError_Init_AlreadyRunning = 143, + VRInitError_Init_FailedForVrMonitor = 144, + VRInitError_Init_PropertyManagerInitFailed = 145, + VRInitError_Init_WebServerFailed = 146, + VRInitError_Init_IllegalTypeTransition = 147, + VRInitError_Init_MismatchedRuntimes = 148, + VRInitError_Init_InvalidProcessId = 149, + VRInitError_Init_VRServiceStartupFailed = 150, + VRInitError_Init_PrismNeedsNewDrivers = 151, + VRInitError_Init_PrismStartupTimedOut = 152, + VRInitError_Init_CouldNotStartPrism = 153, + VRInitError_Init_PrismClientInitFailed = 154, + VRInitError_Init_PrismClientStartFailed = 155, + VRInitError_Init_PrismExitedUnexpectedly = 156, + VRInitError_Init_BadLuid = 157, + VRInitError_Init_NoServerForAppContainer = 158, + VRInitError_Init_DuplicateBootstrapper = 159, + VRInitError_Init_VRDashboardServicePending = 160, + VRInitError_Init_VRDashboardServiceTimeout = 161, + VRInitError_Init_VRDashboardServiceStopped = 162, + VRInitError_Init_VRDashboardAlreadyStarted = 163, + VRInitError_Init_VRDashboardCopyFailed = 164, + VRInitError_Init_VRDashboardTokenFailure = 165, + VRInitError_Init_VRDashboardEnvironmentFailure = 166, + VRInitError_Init_VRDashboardPathFailure = 167, + + VRInitError_Driver_Failed = 200, + VRInitError_Driver_Unknown = 201, + VRInitError_Driver_HmdUnknown = 202, + VRInitError_Driver_NotLoaded = 203, + VRInitError_Driver_RuntimeOutOfDate = 204, + VRInitError_Driver_HmdInUse = 205, + VRInitError_Driver_NotCalibrated = 206, + VRInitError_Driver_CalibrationInvalid = 207, + VRInitError_Driver_HmdDisplayNotFound = 208, + VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209, + // VRInitError_Driver_HmdDisplayNotFoundAfterFix = 210, // not needed: here for historic reasons + VRInitError_Driver_HmdDriverIdOutOfBounds = 211, + VRInitError_Driver_HmdDisplayMirrored = 212, + VRInitError_Driver_HmdDisplayNotFoundLaptop = 213, + VRInitError_Driver_PeerDriverNotInstalled = 214, + VRInitError_Driver_WirelessHmdNotConnected = 215, + + // Never make error 259 because we return it from main and it would conflict with STILL_ACTIVE + + VRInitError_IPC_ServerInitFailed = 300, + VRInitError_IPC_ConnectFailed = 301, + VRInitError_IPC_SharedStateInitFailed = 302, + VRInitError_IPC_CompositorInitFailed = 303, + VRInitError_IPC_MutexInitFailed = 304, + VRInitError_IPC_Failed = 305, + VRInitError_IPC_CompositorConnectFailed = 306, + VRInitError_IPC_CompositorInvalidConnectResponse = 307, + VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308, + VRInitError_IPC_ConnectFailedAfterTargetExited = 309, + VRInitError_IPC_NamespaceUnavailable = 310, + + VRInitError_Compositor_Failed = 400, + VRInitError_Compositor_D3D11HardwareRequired = 401, + VRInitError_Compositor_FirmwareRequiresUpdate = 402, + VRInitError_Compositor_OverlayInitFailed = 403, + VRInitError_Compositor_ScreenshotsInitFailed = 404, + VRInitError_Compositor_UnableToCreateDevice = 405, + VRInitError_Compositor_SharedStateIsNull = 406, + VRInitError_Compositor_NotificationManagerIsNull = 407, + VRInitError_Compositor_ResourceManagerClientIsNull = 408, + VRInitError_Compositor_MessageOverlaySharedStateInitFailure = 409, + VRInitError_Compositor_PropertiesInterfaceIsNull = 410, + VRInitError_Compositor_CreateFullscreenWindowFailed = 411, + VRInitError_Compositor_SettingsInterfaceIsNull = 412, + VRInitError_Compositor_FailedToShowWindow = 413, + VRInitError_Compositor_DistortInterfaceIsNull = 414, + VRInitError_Compositor_DisplayFrequencyFailure = 415, + VRInitError_Compositor_RendererInitializationFailed = 416, + VRInitError_Compositor_DXGIFactoryInterfaceIsNull = 417, + VRInitError_Compositor_DXGIFactoryCreateFailed = 418, + VRInitError_Compositor_DXGIFactoryQueryFailed = 419, + VRInitError_Compositor_InvalidAdapterDesktop = 420, + VRInitError_Compositor_InvalidHmdAttachment = 421, + VRInitError_Compositor_InvalidOutputDesktop = 422, + VRInitError_Compositor_InvalidDeviceProvided = 423, + VRInitError_Compositor_D3D11RendererInitializationFailed = 424, + VRInitError_Compositor_FailedToFindDisplayMode = 425, + VRInitError_Compositor_FailedToCreateSwapChain = 426, + VRInitError_Compositor_FailedToGetBackBuffer = 427, + VRInitError_Compositor_FailedToCreateRenderTarget = 428, + VRInitError_Compositor_FailedToCreateDXGI2SwapChain = 429, + VRInitError_Compositor_FailedtoGetDXGI2BackBuffer = 430, + VRInitError_Compositor_FailedToCreateDXGI2RenderTarget = 431, + VRInitError_Compositor_FailedToGetDXGIDeviceInterface = 432, + VRInitError_Compositor_SelectDisplayMode = 433, + VRInitError_Compositor_FailedToCreateNvAPIRenderTargets = 434, + VRInitError_Compositor_NvAPISetDisplayMode = 435, + VRInitError_Compositor_FailedToCreateDirectModeDisplay = 436, + VRInitError_Compositor_InvalidHmdPropertyContainer = 437, + VRInitError_Compositor_UpdateDisplayFrequency = 438, + VRInitError_Compositor_CreateRasterizerState = 439, + VRInitError_Compositor_CreateWireframeRasterizerState = 440, + VRInitError_Compositor_CreateSamplerState = 441, + VRInitError_Compositor_CreateClampToBorderSamplerState = 442, + VRInitError_Compositor_CreateAnisoSamplerState = 443, + VRInitError_Compositor_CreateOverlaySamplerState = 444, + VRInitError_Compositor_CreatePanoramaSamplerState = 445, + VRInitError_Compositor_CreateFontSamplerState = 446, + VRInitError_Compositor_CreateNoBlendState = 447, + VRInitError_Compositor_CreateBlendState = 448, + VRInitError_Compositor_CreateAlphaBlendState = 449, + VRInitError_Compositor_CreateBlendStateMaskR = 450, + VRInitError_Compositor_CreateBlendStateMaskG = 451, + VRInitError_Compositor_CreateBlendStateMaskB = 452, + VRInitError_Compositor_CreateDepthStencilState = 453, + VRInitError_Compositor_CreateDepthStencilStateNoWrite = 454, + VRInitError_Compositor_CreateDepthStencilStateNoDepth = 455, + VRInitError_Compositor_CreateFlushTexture = 456, + VRInitError_Compositor_CreateDistortionSurfaces = 457, + VRInitError_Compositor_CreateConstantBuffer = 458, + VRInitError_Compositor_CreateHmdPoseConstantBuffer = 459, + VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer = 460, + VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer = 461, + VRInitError_Compositor_CreateOverlayConstantBuffer = 462, + VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer = 463, + VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer = 464, + VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer = 465, + VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer = 466, + VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer = 467, + VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer = 468, + VRInitError_Compositor_CreateGeomConstantBuffer = 469, + VRInitError_Compositor_CreatePanelMaskConstantBuffer = 470, + VRInitError_Compositor_CreatePixelSimUBO = 471, + VRInitError_Compositor_CreateMSAARenderTextures = 472, + VRInitError_Compositor_CreateResolveRenderTextures = 473, + VRInitError_Compositor_CreateComputeResolveRenderTextures = 474, + VRInitError_Compositor_CreateDriverDirectModeResolveTextures = 475, + VRInitError_Compositor_OpenDriverDirectModeResolveTextures = 476, + VRInitError_Compositor_CreateFallbackSyncTexture = 477, + VRInitError_Compositor_ShareFallbackSyncTexture = 478, + VRInitError_Compositor_CreateOverlayIndexBuffer = 479, + VRInitError_Compositor_CreateOverlayVertexBuffer = 480, + VRInitError_Compositor_CreateTextVertexBuffer = 481, + VRInitError_Compositor_CreateTextIndexBuffer = 482, + VRInitError_Compositor_CreateMirrorTextures = 483, + VRInitError_Compositor_CreateLastFrameRenderTexture = 484, + VRInitError_Compositor_CreateMirrorOverlay = 485, + VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer = 486, + VRInitError_Compositor_DisplayModeNotSupported = 487, + VRInitError_Compositor_CreateOverlayInvalidCall = 488, + VRInitError_Compositor_CreateOverlayAlreadyInitialized = 489, + VRInitError_Compositor_FailedToCreateMailbox = 490, + VRInitError_Compositor_WindowInterfaceIsNull = 491, + VRInitError_Compositor_SystemLayerCreateInstance = 492, + VRInitError_Compositor_SystemLayerCreateSession = 493, + VRInitError_Compositor_CreateInverseDistortUVs = 494, + VRInitError_Compositor_CreateBackbufferDepth = 495, + + VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000, + VRInitError_VendorSpecific_WindowsNotInDevMode = 1001, + VRInitError_VendorSpecific_OculusLinkNotEnabled = 1002, + + VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101, + VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102, + VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103, + VRInitError_VendorSpecific_HmdFound_ConfigTooBig = 1104, + VRInitError_VendorSpecific_HmdFound_ConfigTooSmall = 1105, + VRInitError_VendorSpecific_HmdFound_UnableToInitZLib = 1106, + VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107, + VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108, + VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109, + VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110, + VRInitError_VendorSpecific_HmdFound_UserDataAddressRange = 1111, + VRInitError_VendorSpecific_HmdFound_UserDataError = 1112, + VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113, + VRInitError_VendorSpecific_OculusRuntimeBadInstall = 1114, + VRInitError_VendorSpecific_HmdFound_UnexpectedConfiguration_1 = 1115, + + VRInitError_Steam_SteamInstallationNotFound = 2000, + + // Strictly a placeholder + VRInitError_LastError +}; + +enum EVRScreenshotType +{ + VRScreenshotType_None = 0, + VRScreenshotType_Mono = 1, // left eye only + VRScreenshotType_Stereo = 2, + VRScreenshotType_Cubemap = 3, + VRScreenshotType_MonoPanorama = 4, + VRScreenshotType_StereoPanorama = 5 +}; + +enum EVRScreenshotPropertyFilenames +{ + VRScreenshotPropertyFilenames_Preview = 0, + VRScreenshotPropertyFilenames_VR = 1, +}; + +enum EVRTrackedCameraError +{ + VRTrackedCameraError_None = 0, + VRTrackedCameraError_OperationFailed = 100, + VRTrackedCameraError_InvalidHandle = 101, + VRTrackedCameraError_InvalidFrameHeaderVersion = 102, + VRTrackedCameraError_OutOfHandles = 103, + VRTrackedCameraError_IPCFailure = 104, + VRTrackedCameraError_NotSupportedForThisDevice = 105, + VRTrackedCameraError_SharedMemoryFailure = 106, + VRTrackedCameraError_FrameBufferingFailure = 107, + VRTrackedCameraError_StreamSetupFailure = 108, + VRTrackedCameraError_InvalidGLTextureId = 109, + VRTrackedCameraError_InvalidSharedTextureHandle = 110, + VRTrackedCameraError_FailedToGetGLTextureId = 111, + VRTrackedCameraError_SharedTextureFailure = 112, + VRTrackedCameraError_NoFrameAvailable = 113, + VRTrackedCameraError_InvalidArgument = 114, + VRTrackedCameraError_InvalidFrameBufferSize = 115, +}; + +enum EVRTrackedCameraFrameLayout +{ + EVRTrackedCameraFrameLayout_Mono = 0x0001, + EVRTrackedCameraFrameLayout_Stereo = 0x0002, + EVRTrackedCameraFrameLayout_VerticalLayout = 0x0010, // Stereo frames are Top/Bottom (left/right) + EVRTrackedCameraFrameLayout_HorizontalLayout = 0x0020, // Stereo frames are Left/Right +}; + +enum EVRTrackedCameraFrameType +{ + VRTrackedCameraFrameType_Distorted = 0, // This is the camera video frame size in pixels, still distorted. + VRTrackedCameraFrameType_Undistorted, // In pixels, an undistorted inscribed rectangle region without invalid regions. This size is subject to changes shortly. + VRTrackedCameraFrameType_MaximumUndistorted, // In pixels, maximum undistorted with invalid regions. Non zero alpha component identifies valid regions. + MAX_CAMERA_FRAME_TYPES +}; + +enum EVRDistortionFunctionType +{ + VRDistortionFunctionType_None, + VRDistortionFunctionType_FTheta, + VRDistortionFunctionType_Extended_FTheta, + MAX_DISTORTION_FUNCTION_TYPES, +}; + +static const uint32_t k_unMaxDistortionFunctionParameters = 8; + +typedef uint64_t TrackedCameraHandle_t; +#define INVALID_TRACKED_CAMERA_HANDLE ((vr::TrackedCameraHandle_t)0) + +struct CameraVideoStreamFrameHeader_t +{ + EVRTrackedCameraFrameType eFrameType; + + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + + uint32_t nFrameSequence; + + TrackedDevicePose_t trackedDevicePose; + + uint64_t ulFrameExposureTime; // mid-point of the exposure of the image in host system ticks +}; + +// Screenshot types +typedef uint32_t ScreenshotHandle_t; + +static const uint32_t k_unScreenshotHandleInvalid = 0; + +/** Compositor frame timing reprojection flags. */ +const uint32_t VRCompositor_ReprojectionReason_Cpu = 0x01; +const uint32_t VRCompositor_ReprojectionReason_Gpu = 0x02; +const uint32_t VRCompositor_ReprojectionAsync = 0x04; // This flag indicates the async reprojection mode is active, + // but does not indicate if reprojection actually happened or not. + // Use the ReprojectionReason flags above to check if reprojection + // was actually applied (i.e. scene texture was reused). + // NumFramePresents > 1 also indicates the scene texture was reused, + // and also the number of times that it was presented in total. + +const uint32_t VRCompositor_ReprojectionMotion = 0x08; // This flag indicates whether or not motion smoothing was triggered for this frame + +const uint32_t VRCompositor_PredictionMask = 0xF0; // The runtime may predict more than one frame (up to four) ahead if + // it detects the application is taking too long to render. These two + // bits will contain the count of additional frames (normally zero). + // Use the VR_COMPOSITOR_ADDITIONAL_PREDICTED_FRAMES macro to read from + // the latest frame timing entry. + +const uint32_t VRCompositor_ThrottleMask = 0xF00; // Number of frames the compositor is throttling the application. + // Use the VR_COMPOSITOR_NUMBER_OF_THROTTLED_FRAMES macro to read from + // the latest frame timing entry. + +#define VR_COMPOSITOR_ADDITIONAL_PREDICTED_FRAMES( timing ) ( ( ( timing ).m_nReprojectionFlags & vr::VRCompositor_PredictionMask ) >> 4 ) +#define VR_COMPOSITOR_NUMBER_OF_THROTTLED_FRAMES( timing ) ( ( ( timing ).m_nReprojectionFlags & vr::VRCompositor_ThrottleMask ) >> 8 ) + +/** Provides a single frame's timing information to the app */ +struct Compositor_FrameTiming +{ + uint32_t m_nSize; // Set to sizeof( Compositor_FrameTiming ) + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; // number of times this frame was presented + uint32_t m_nNumMisPresented; // number of times this frame was presented on a vsync other than it was originally predicted to + uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out + uint32_t m_nReprojectionFlags; + + /** Absolute time reference for comparing frames. This aligns with the vsync that running start is relative to. */ + double m_flSystemTimeInSeconds; + + /** These times may include work from other processes due to OS scheduling. + * The fewer packets of work these are broken up into, the less likely this will happen. + * GPU work can be broken up by calling Flush. This can sometimes be useful to get the GPU started + * processing that work earlier in the frame. */ + float m_flPreSubmitGpuMs; // time spent rendering the scene (gpu work submitted between WaitGetPoses and second Submit) + float m_flPostSubmitGpuMs; // additional time spent rendering by application (e.g. companion window) + float m_flTotalRenderGpuMs; // time between work submitted immediately after present (ideally vsync) until the end of compositor submitted work + float m_flCompositorRenderGpuMs; // time spend performing distortion correction, rendering chaperone, overlays, etc. + float m_flCompositorRenderCpuMs; // time spent on cpu submitting the above work for this frame + float m_flCompositorIdleCpuMs; // time spent waiting for running start (application could have used this much more time) + + /** Miscellaneous measured intervals. */ + float m_flClientFrameIntervalMs; // time between calls to WaitGetPoses + float m_flPresentCallCpuMs; // time blocked on call to present (usually 0.0, but can go long) + float m_flWaitForPresentCpuMs; // time spent spin-waiting for frame index to change (not near-zero indicates wait object failure) + float m_flSubmitFrameMs; // time spent in IVRCompositor::Submit (not near-zero indicates driver issue) + + /** The following are all relative to this frame's SystemTimeInSeconds */ + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; // second call to IVRCompositor::Submit + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + + vr::TrackedDevicePose_t m_HmdPose; // pose used by app to render this frame + + uint32_t m_nNumVSyncsReadyForUse; + uint32_t m_nNumVSyncsToFirstView; +}; + +/** Provides compositor benchmark results to the app */ +struct Compositor_BenchmarkResults +{ + float m_flMegaPixelsPerSecond; // Measurement of GPU MP/s performed by compositor benchmark + float m_flHmdRecommendedMegaPixelsPerSecond; // Recommended default MP/s given the HMD resolution, refresh, and panel mask. +}; + +/** Frame timing data provided by direct mode drivers. */ +struct DriverDirectMode_FrameTiming +{ + uint32_t m_nSize; // Set to sizeof( DriverDirectMode_FrameTiming ) + uint32_t m_nNumFramePresents; // number of times frame was presented + uint32_t m_nNumMisPresented; // number of times frame was presented on a vsync other than it was originally predicted to + uint32_t m_nNumDroppedFrames; // number of additional times previous frame was scanned out (i.e. compositor missed vsync) + uint32_t m_nReprojectionFlags; +}; + +/** These flags will be set on DriverDirectMode_FrameTiming::m_nReprojectionFlags when IVRDriverDirectModeComponent::GetFrameTiming is called for drivers to optionally respond to. */ +const uint32_t VRCompositor_ReprojectionMotion_Enabled = 0x100; // Motion Smoothing is enabled in the UI for the currently running application +const uint32_t VRCompositor_ReprojectionMotion_ForcedOn = 0x200; // Motion Smoothing is forced on in the UI for the currently running application +const uint32_t VRCompositor_ReprojectionMotion_AppThrottled = 0x400; // Application is requesting throttling via ForceInterleavedReprojectionOn + + +enum EVSync +{ + VSync_None, + VSync_WaitRender, // block following render work until vsync + VSync_NoWaitRender, // do not block following render work (allow to get started early) +}; + +enum EVRMuraCorrectionMode +{ + EVRMuraCorrectionMode_Default = 0, + EVRMuraCorrectionMode_NoCorrection +}; + +/** raw IMU data provided by IVRIOBuffer from paths to tracked devices with IMUs */ +enum Imu_OffScaleFlags +{ + OffScale_AccelX = 0x01, + OffScale_AccelY = 0x02, + OffScale_AccelZ = 0x04, + OffScale_GyroX = 0x08, + OffScale_GyroY = 0x10, + OffScale_GyroZ = 0x20, +}; + +struct ImuSample_t +{ + double fSampleTime; + HmdVector3d_t vAccel; + HmdVector3d_t vGyro; + uint32_t unOffScaleFlags; +}; + +#pragma pack( pop ) + +// figure out how to import from the VR API dll +#if defined(_WIN32) + + #if !defined(OPENVR_BUILD_STATIC) + #ifdef VR_API_EXPORT + #define VR_INTERFACE extern "C" __declspec( dllexport ) + #else + #define VR_INTERFACE extern "C" __declspec( dllimport ) + #endif + #else + #define VR_INTERFACE extern "C" + #endif + +#elif defined(__GNUC__) || defined(COMPILER_GCC) || defined(__APPLE__) + +#ifdef VR_API_EXPORT + #define VR_INTERFACE extern "C" __attribute__((visibility("default"))) +#else + #define VR_INTERFACE extern "C" +#endif + +#else + #error "Unsupported Platform." +#endif + + +#if defined( _WIN32 ) + #define VR_CALLTYPE __cdecl +#else + #define VR_CALLTYPE +#endif + +} // namespace vr +#endif // _INCLUDE_VRTYPES_H + +// vrannotation.h + +#ifdef API_GEN +# define VR_CLANG_ATTR(ATTR) __attribute__((annotate( ATTR ))) +#else +# define VR_CLANG_ATTR(ATTR) +#endif + +#define VR_METHOD_DESC(DESC) VR_CLANG_ATTR( "desc:" #DESC ";" ) +#define VR_IGNOREATTR() VR_CLANG_ATTR( "ignore" ) +#define VR_OUT_STRUCT() VR_CLANG_ATTR( "out_struct: ;" ) +#define VR_OUT_STRING() VR_CLANG_ATTR( "out_string: ;" ) +#define VR_OUT_ARRAY_CALL(COUNTER,FUNCTION,PARAMS) VR_CLANG_ATTR( "out_array_call:" #COUNTER "," #FUNCTION "," #PARAMS ";" ) +#define VR_OUT_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "out_array_count:" #COUNTER ";" ) +#define VR_ARRAY_COUNT(COUNTER) VR_CLANG_ATTR( "array_count:" #COUNTER ";" ) +#define VR_ARRAY_COUNT_D(COUNTER, DESC) VR_CLANG_ATTR( "array_count:" #COUNTER ";desc:" #DESC ) +#define VR_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "buffer_count:" #COUNTER ";" ) +#define VR_OUT_BUFFER_COUNT(COUNTER) VR_CLANG_ATTR( "out_buffer_count:" #COUNTER ";" ) +#define VR_OUT_STRING_COUNT(COUNTER) VR_CLANG_ATTR( "out_string_count:" #COUNTER ";" ) + +// ivrsystem.h + +namespace vr +{ + +class IVRSystem +{ +public: + + + // ------------------------------------ + // Display Methods + // ------------------------------------ + + /** Suggested size for the intermediate render target that the distortion pulls from. */ + virtual void GetRecommendedRenderTargetSize( uint32_t *pnWidth, uint32_t *pnHeight ) = 0; + + /** The projection matrix for the specified eye */ + virtual HmdMatrix44_t GetProjectionMatrix( EVREye eEye, float fNearZ, float fFarZ ) = 0; + + /** The components necessary to build your own projection matrix in case your + * application is doing something fancy like infinite Z */ + virtual void GetProjectionRaw( EVREye eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom ) = 0; + + /** Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in + * the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport. + * Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable. */ + virtual bool ComputeDistortion( EVREye eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates ) = 0; + + /** Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head + * space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection. + * Normally View and Eye^-1 will be multiplied together and treated as View in your application. + */ + virtual HmdMatrix34_t GetEyeToHeadTransform( EVREye eEye ) = 0; + + /** Returns the number of elapsed seconds since the last recorded vsync event. This + * will come from a vsync timer event in the timer if possible or from the application-reported + * time if that is not available. If no vsync times are available the function will + * return zero for vsync time and frame counter and return false from the method. */ + virtual bool GetTimeSinceLastVsync( float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter ) = 0; + + /** [D3D9 Only] + * Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such + * a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error. + */ + virtual int32_t GetD3D9AdapterIndex() = 0; + + /** [D3D10/11 Only] + * Returns the adapter index that the user should pass into EnumAdapters to create the device + * and swap chain in DX10 and DX11. If an error occurs the index will be set to -1. + */ + virtual void GetDXGIOutputInfo( int32_t *pnAdapterIndex ) = 0; + + /** + * Returns platform- and texture-type specific adapter identification so that applications and the + * compositor are creating textures and swap chains on the same GPU. If an error occurs the device + * will be set to 0. + * pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan. + * [D3D10/11/12 Only (D3D9 Not Supported)] + * Returns the adapter LUID that identifies the GPU attached to the HMD. The user should + * enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find + * the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid. + * The discovered IDXGIAdapter should be used to create the device and swap chain. + * [Vulkan Only] + * Returns the VkPhysicalDevice that should be used by the application. + * pInstance must be the instance the application will use to query for the VkPhysicalDevice. The application + * must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled. + * [macOS Only] + * For TextureType_IOSurface returns the id that should be used by the application. + * On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used + * by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the + * new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK. + * Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice + * with a GL Renderer. + */ + virtual void GetOutputDevice( uint64_t *pnDevice, ETextureType textureType, VkInstance_T *pInstance = nullptr ) = 0; + + // ------------------------------------ + // Display Mode methods + // ------------------------------------ + + /** Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode). */ + virtual bool IsDisplayOnDesktop() = 0; + + /** Set the display visibility (true = extended, false = direct mode). Return value of true indicates that the change was successful. */ + virtual bool SetDisplayVisibility( bool bIsVisibleOnDesktop ) = 0; + + // ------------------------------------ + // Tracking Methods + // ------------------------------------ + + /** The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the + * future. Pass 0 to get the state at the instant the method is called. Most of the time the application should + * calculate the time until the photons will be emitted from the display and pass that time into the method. + * + * This is roughly analogous to the inverse of the view matrix in most applications, though + * many games will need to do some additional rotation or translation on top of the rotation + * and translation provided by the head pose. + * + * For devices where bPoseIsValid is true the application can use the pose to position the device + * in question. The provided array can be any size up to k_unMaxTrackedDeviceCount. + * + * Seated experiences should call this method with TrackingUniverseSeated and receive poses relative + * to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding + * and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should + * probably not be used unless the application is the Chaperone calibration tool itself, but will provide + * poses relative to the hardware-specific coordinate system in the driver. + */ + virtual void GetDeviceToAbsoluteTrackingPose( ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, VR_ARRAY_COUNT(unTrackedDevicePoseArrayCount) TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount ) = 0; + + /** Returns the transform from the seated zero pose to the standing absolute tracking system. This allows + * applications to represent the seated origin to used or transform object positions from one coordinate + * system to the other. + * + * The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position + * depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose. */ + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose() = 0; + + /** Returns the transform from the tracking origin to the standing absolute tracking system. This allows + * applications to convert from raw tracking space to the calibrated standing coordinate system. */ + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose() = 0; + + /** Get a sorted array of device indices of a given class of tracked devices (e.g. controllers). Devices are sorted right to left + * relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space). Returns the number of devices + * in the list, or the size of the array needed if not large enough. */ + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( ETrackedDeviceClass eTrackedDeviceClass, VR_ARRAY_COUNT(unTrackedDeviceIndexArrayCount) vr::TrackedDeviceIndex_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, vr::TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex = k_unTrackedDeviceIndex_Hmd ) = 0; + + /** Returns the level of activity on the device. */ + virtual EDeviceActivityLevel GetTrackedDeviceActivityLevel( vr::TrackedDeviceIndex_t unDeviceId ) = 0; + + /** Convenience utility to apply the specified transform to the specified pose. + * This properly transforms all pose components, including velocity and angular velocity + */ + virtual void ApplyTransform( TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform ) = 0; + + /** Returns the device index associated with a specific role, for example the left hand or the right hand. This function is deprecated in favor of the new IVRInput system. */ + virtual vr::TrackedDeviceIndex_t GetTrackedDeviceIndexForControllerRole( vr::ETrackedControllerRole unDeviceType ) = 0; + + /** Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system. */ + virtual vr::ETrackedControllerRole GetControllerRoleForTrackedDeviceIndex( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0; + + // ------------------------------------ + // Property methods + // ------------------------------------ + + /** Returns the device class of a tracked device. If there has not been a device connected in this slot + * since the application started this function will return TrackedDevice_Invalid. For previous detected + * devices the function will return the previously observed device class. + * + * To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check + * the device class. Every device with something other than TrackedDevice_Invalid is associated with an + * actual tracked device. */ + virtual ETrackedDeviceClass GetTrackedDeviceClass( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0; + + /** Returns true if there is a device connected in this slot. */ + virtual bool IsTrackedDeviceConnected( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0; + + /** Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false. */ + virtual bool GetBoolTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns a float property. If the device index is not valid or the property is not a float type this function will return 0. */ + virtual float GetFloatTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns an int property. If the device index is not valid or the property is not a int type this function will return 0. */ + virtual int32_t GetInt32TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0. */ + virtual uint64_t GetUint64TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity. */ + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type, + * this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is + * greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties. */ + virtual uint32_t GetArrayTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void *pBuffer, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L ) = 0; + + /** Returns a string property. If the device index is not valid or the property is not a string type this function will + * return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing + * null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters. */ + virtual uint32_t GetStringTrackedDeviceProperty( vr::TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, ETrackedPropertyError *pError = 0L ) = 0; + + /** returns a string that corresponds with the specified property error. The string will be the name + * of the error enum value for all valid error codes */ + virtual const char *GetPropErrorNameFromEnum( ETrackedPropertyError error ) = 0; + + // ------------------------------------ + // Event methods + // ------------------------------------ + + /** Returns true and fills the event with the next event on the queue if there is one. If there are no events + * this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */ + virtual bool PollNextEvent( VREvent_t *pEvent, uint32_t uncbVREvent ) = 0; + + /** Returns true and fills the event with the next event on the queue if there is one. If there are no events + * this method returns false. Fills in the pose of the associated tracked device in the provided pose struct. + * This pose will always be older than the call to this function and should not be used to render the device. + uncbVREvent should be the size in bytes of the VREvent_t struct */ + virtual bool PollNextEventWithPose( ETrackingUniverseOrigin eOrigin, VREvent_t *pEvent, uint32_t uncbVREvent, vr::TrackedDevicePose_t *pTrackedDevicePose ) = 0; + + /** returns the name of an EVREvent enum value */ + virtual const char *GetEventTypeNameFromEnum( EVREventType eType ) = 0; + + // ------------------------------------ + // Rendering helper methods + // ------------------------------------ + + /** Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is + * applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively. + * This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view. + * This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader. + * NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye. + * Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover. + * Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices. + */ + virtual HiddenAreaMesh_t GetHiddenAreaMesh( EVREye eEye, EHiddenAreaMeshType type = k_eHiddenAreaMesh_Standard ) = 0; + + // ------------------------------------ + // Controller methods + // ------------------------------------ + + /** Fills the supplied struct with the current state of the controller. Returns false if the controller index + * is invalid. This function is deprecated in favor of the new IVRInput system. */ + virtual bool GetControllerState( vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize ) = 0; + + /** fills the supplied struct with the current state of the controller and the provided pose with the pose of + * the controller when the controller state was updated most recently. Use this form if you need a precise controller + * pose as input to your application when the user presses or releases a button. This function is deprecated in favor of the new IVRInput system. */ + virtual bool GetControllerStateWithPose( ETrackingUniverseOrigin eOrigin, vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose ) = 0; + + /** Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller + * and axis combination for 5ms. This function is deprecated in favor of the new IVRInput system. */ + virtual void TriggerHapticPulse( vr::TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec ) = 0; + + /** returns the name of an EVRButtonId enum value. This function is deprecated in favor of the new IVRInput system. */ + virtual const char *GetButtonIdNameFromEnum( EVRButtonId eButtonId ) = 0; + + /** returns the name of an EVRControllerAxisType enum value. This function is deprecated in favor of the new IVRInput system. */ + virtual const char *GetControllerAxisTypeNameFromEnum( EVRControllerAxisType eAxisType ) = 0; + + /** Returns true if this application is receiving input from the system. This would return false if + * system-related functionality is consuming the input stream. */ + virtual bool IsInputAvailable() = 0; + + /** Returns true SteamVR is drawing controllers on top of the application. Applications should consider + * not drawing anything attached to the user's hands in this case. */ + virtual bool IsSteamVRDrawingControllers() = 0; + + /** Returns true if the user has put SteamVR into a mode that is distracting them from the application. + * For applications where this is appropriate, the application should pause ongoing activity. */ + virtual bool ShouldApplicationPause() = 0; + + /** Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce + * its own workload. One common way to do this is to reduce the size of the render target provided for each eye. */ + virtual bool ShouldApplicationReduceRenderingWork() = 0; + + // ------------------------------------ + // Firmware methods + // ------------------------------------ + + /** Performs the actual firmware update if applicable. + * The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished + * Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String + * to figure our whether a firmware update is available, and to figure out whether its a manual update + * Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process */ + virtual vr::EVRFirmwareError PerformFirmwareUpdate( vr::TrackedDeviceIndex_t unDeviceIndex ) = 0; + + // ------------------------------------ + // Application life cycle methods + // ------------------------------------ + + /** Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting. + * This extends the timeout until the process is killed. */ + virtual void AcknowledgeQuit_Exiting() = 0; + + // ------------------------------------- + // App container sandbox methods + // ------------------------------------- + + /** Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application + * must have read access to when running inside of an app container. Returns the number of bytes + * needed to hold the list. */ + virtual uint32_t GetAppContainerFilePaths( VR_OUT_STRING() char *pchBuffer, uint32_t unBufferSize ) = 0; + + // ------------------------------------- + // System methods + // ------------------------------------- + + /** Returns the current version of the SteamVR runtime. The returned string will remain valid until VR_Shutdown is called. + * + * NOTE: Is it not appropriate to use this version to test for the presence of any SteamVR feature. Only use this version + * number for logging or showing to a user, and not to try to detect anything at runtime. When appropriate, feature-specific + * presence information is provided by other APIs. */ + virtual const char *GetRuntimeVersion() = 0; + +}; + +static const char * const IVRSystem_Version = "IVRSystem_022"; + +} + + +// ivrapplications.h + +namespace vr +{ + + /** Used for all errors reported by the IVRApplications interface */ + enum EVRApplicationError + { + VRApplicationError_None = 0, + + VRApplicationError_AppKeyAlreadyExists = 100, // Only one application can use any given key + VRApplicationError_NoManifest = 101, // the running application does not have a manifest + VRApplicationError_NoApplication = 102, // No application is running + VRApplicationError_InvalidIndex = 103, + VRApplicationError_UnknownApplication = 104, // the application could not be found + VRApplicationError_IPCFailed = 105, // An IPC failure caused the request to fail + VRApplicationError_ApplicationAlreadyRunning = 106, + VRApplicationError_InvalidManifest = 107, + VRApplicationError_InvalidApplication = 108, + VRApplicationError_LaunchFailed = 109, // the process didn't start + VRApplicationError_ApplicationAlreadyStarting = 110, // the system was already starting the same application + VRApplicationError_LaunchInProgress = 111, // The system was already starting a different application + VRApplicationError_OldApplicationQuitting = 112, + VRApplicationError_TransitionAborted = 113, + VRApplicationError_IsTemplate = 114, // error when you try to call LaunchApplication() on a template type app (use LaunchTemplateApplication) + VRApplicationError_SteamVRIsExiting = 115, + + VRApplicationError_BufferTooSmall = 200, // The provided buffer was too small to fit the requested data + VRApplicationError_PropertyNotSet = 201, // The requested property was not set + VRApplicationError_UnknownProperty = 202, + VRApplicationError_InvalidParameter = 203, + + VRApplicationError_NotImplemented = 300, // Fcn is not implemented in current interface + }; + + /** The maximum length of an application key */ + static const uint32_t k_unMaxApplicationKeyLength = 128; + + /** these are the properties available on applications. */ + enum EVRApplicationProperty + { + VRApplicationProperty_Name_String = 0, + + VRApplicationProperty_LaunchType_String = 11, + VRApplicationProperty_WorkingDirectory_String = 12, + VRApplicationProperty_BinaryPath_String = 13, + VRApplicationProperty_Arguments_String = 14, + VRApplicationProperty_URL_String = 15, + + VRApplicationProperty_Description_String = 50, + VRApplicationProperty_NewsURL_String = 51, + VRApplicationProperty_ImagePath_String = 52, + VRApplicationProperty_Source_String = 53, + VRApplicationProperty_ActionManifestURL_String = 54, + + VRApplicationProperty_IsDashboardOverlay_Bool = 60, + VRApplicationProperty_IsTemplate_Bool = 61, + VRApplicationProperty_IsInstanced_Bool = 62, + VRApplicationProperty_IsInternal_Bool = 63, + VRApplicationProperty_WantsCompositorPauseInStandby_Bool = 64, + VRApplicationProperty_IsHidden_Bool = 65, + + VRApplicationProperty_LastLaunchTime_Uint64 = 70, + }; + + enum EVRSceneApplicationState + { + EVRSceneApplicationState_None = 0, // Scene Application is not running + EVRSceneApplicationState_Starting = 1, // Scene Application is starting + EVRSceneApplicationState_Quitting = 2, // Scene Application is quitting + EVRSceneApplicationState_Running = 3, // Scene Application is running, and submitting frames, a custom skybox, or a visible overlay + EVRSceneApplicationState_Waiting = 4, // Scene Application is running, but not drawing anything + }; + + struct AppOverrideKeys_t + { + const char *pchKey; + const char *pchValue; + }; + + /** Currently recognized mime types */ + static const char * const k_pch_MimeType_HomeApp = "vr/home"; + static const char * const k_pch_MimeType_GameTheater = "vr/game_theater"; + + class IVRApplications + { + public: + + // --------------- Application management --------------- // + + /** Adds an application manifest to the list to load when building the list of installed applications. + * Temporary manifests are not automatically loaded */ + virtual EVRApplicationError AddApplicationManifest( const char *pchApplicationManifestFullPath, bool bTemporary = false ) = 0; + + /** Removes an application manifest from the list to load when building the list of installed applications. */ + virtual EVRApplicationError RemoveApplicationManifest( const char *pchApplicationManifestFullPath ) = 0; + + /** Returns true if an application is installed */ + virtual bool IsApplicationInstalled( const char *pchAppKey ) = 0; + + /** Returns the number of applications available in the list */ + virtual uint32_t GetApplicationCount() = 0; + + /** Returns the key of the specified application. The index is at least 0 and is less than the return + * value of GetApplicationCount(). The buffer should be at least k_unMaxApplicationKeyLength in order to + * fit the key. */ + virtual EVRApplicationError GetApplicationKeyByIndex( uint32_t unApplicationIndex, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0; + + /** Returns the key of the application for the specified Process Id. The buffer should be at least + * k_unMaxApplicationKeyLength in order to fit the key. */ + virtual EVRApplicationError GetApplicationKeyByProcessId( uint32_t unProcessId, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0; + + /** Launches the application. The existing scene application will exit and then the new application will start. + * This call is not valid for dashboard overlay applications. */ + virtual EVRApplicationError LaunchApplication( const char *pchAppKey ) = 0; + + /** Launches an instance of an application of type template, with its app key being pchNewAppKey (which must be unique) and optionally override sections + * from the manifest file via AppOverrideKeys_t + */ + virtual EVRApplicationError LaunchTemplateApplication( const char *pchTemplateAppKey, const char *pchNewAppKey, VR_ARRAY_COUNT( unKeys ) const AppOverrideKeys_t *pKeys, uint32_t unKeys ) = 0; + + /** launches the application currently associated with this mime type and passes it the option args, typically the filename or object name of the item being launched */ + virtual vr::EVRApplicationError LaunchApplicationFromMimeType( const char *pchMimeType, const char *pchArgs ) = 0; + + /** Launches the dashboard overlay application if it is not already running. This call is only valid for + * dashboard overlay applications. */ + virtual EVRApplicationError LaunchDashboardOverlay( const char *pchAppKey ) = 0; + + /** Cancel a pending launch for an application */ + virtual bool CancelApplicationLaunch( const char *pchAppKey ) = 0; + + /** Identifies a running application. OpenVR can't always tell which process started in response + * to a URL. This function allows a URL handler (or the process itself) to identify the app key + * for the now running application. Passing a process ID of 0 identifies the calling process. + * The application must be one that's known to the system via a call to AddApplicationManifest. */ + virtual EVRApplicationError IdentifyApplication( uint32_t unProcessId, const char *pchAppKey ) = 0; + + /** Returns the process ID for an application. Return 0 if the application was not found or is not running. */ + virtual uint32_t GetApplicationProcessId( const char *pchAppKey ) = 0; + + /** Returns a string for an applications error */ + virtual const char *GetApplicationsErrorNameFromEnum( EVRApplicationError error ) = 0; + + // --------------- Application properties --------------- // + + /** Returns a value for an application property. The required buffer size to fit this value will be returned. */ + virtual uint32_t GetApplicationPropertyString( const char *pchAppKey, EVRApplicationProperty eProperty, VR_OUT_STRING() char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError *peError = nullptr ) = 0; + + /** Returns a bool value for an application property. Returns false in all error cases. */ + virtual bool GetApplicationPropertyBool( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) = 0; + + /** Returns a uint64 value for an application property. Returns 0 in all error cases. */ + virtual uint64_t GetApplicationPropertyUint64( const char *pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError *peError = nullptr ) = 0; + + /** Sets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */ + virtual EVRApplicationError SetApplicationAutoLaunch( const char *pchAppKey, bool bAutoLaunch ) = 0; + + /** Gets the application auto-launch flag. This is only valid for applications which return true for VRApplicationProperty_IsDashboardOverlay_Bool. */ + virtual bool GetApplicationAutoLaunch( const char *pchAppKey ) = 0; + + /** Adds this mime-type to the list of supported mime types for this application*/ + virtual EVRApplicationError SetDefaultApplicationForMimeType( const char *pchAppKey, const char *pchMimeType ) = 0; + + /** return the app key that will open this mime type */ + virtual bool GetDefaultApplicationForMimeType( const char *pchMimeType, VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0; + + /** Get the list of supported mime types for this application, comma-delimited */ + virtual bool GetApplicationSupportedMimeTypes( const char *pchAppKey, VR_OUT_STRING() char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer ) = 0; + + /** Get the list of app-keys that support this mime type, comma-delimited, the return value is number of bytes you need to return the full string */ + virtual uint32_t GetApplicationsThatSupportMimeType( const char *pchMimeType, VR_OUT_STRING() char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer ) = 0; + + /** Get the args list from an app launch that had the process already running, you call this when you get a VREvent_ApplicationMimeTypeLoad */ + virtual uint32_t GetApplicationLaunchArguments( uint32_t unHandle, VR_OUT_STRING() char *pchArgs, uint32_t unArgs ) = 0; + + // --------------- Transition methods --------------- // + + /** Returns the app key for the application that is starting up */ + virtual EVRApplicationError GetStartingApplication( VR_OUT_STRING() char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen ) = 0; + + /** Returns the application transition state */ + virtual EVRSceneApplicationState GetSceneApplicationState() = 0; + + /** Returns errors that would prevent the specified application from launching immediately. Calling this function will + * cause the current scene application to quit, so only call it when you are actually about to launch something else. + * What the caller should do about these failures depends on the failure: + * VRApplicationError_OldApplicationQuitting - An existing application has been told to quit. Wait for a VREvent_ProcessQuit + * and try again. + * VRApplicationError_ApplicationAlreadyStarting - This application is already starting. This is a permanent failure. + * VRApplicationError_LaunchInProgress - A different application is already starting. This is a permanent failure. + * VRApplicationError_None - Go ahead and launch. Everything is clear. + */ + virtual EVRApplicationError PerformApplicationPrelaunchCheck( const char *pchAppKey ) = 0; + + /** Returns a string for an application transition state */ + virtual const char *GetSceneApplicationStateNameFromEnum( EVRSceneApplicationState state ) = 0; + + /** Starts a subprocess within the calling application. This + * suppresses all application transition UI and automatically identifies the new executable + * as part of the same application. On success the calling process should exit immediately. + * If working directory is NULL or "" the directory portion of the binary path will be + * the working directory. */ + virtual EVRApplicationError LaunchInternalProcess( const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory ) = 0; + + /** Returns the current scene process ID according to the application system. A scene process will get scene + * focus once it starts rendering, but it will appear here once it calls VR_Init with the Scene application + * type. */ + virtual uint32_t GetCurrentSceneProcessId() = 0; + }; + + static const char * const IVRApplications_Version = "IVRApplications_007"; + +} // namespace vr + +// ivrsettings.h + +#include + +namespace vr +{ + enum EVRSettingsError + { + VRSettingsError_None = 0, + VRSettingsError_IPCFailed = 1, + VRSettingsError_WriteFailed = 2, + VRSettingsError_ReadFailed = 3, + VRSettingsError_JsonParseFailed = 4, + VRSettingsError_UnsetSettingHasNoDefault = 5, // This will be returned if the setting does not appear in the appropriate default file and has not been set + }; + + // The maximum length of a settings key + static const uint32_t k_unMaxSettingsKeyLength = 128; + + class IVRSettings + { + public: + virtual const char *GetSettingsErrorNameFromEnum( EVRSettingsError eError ) = 0; + + virtual void SetBool( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError = nullptr ) = 0; + virtual void SetInt32( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError = nullptr ) = 0; + virtual void SetFloat( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError = nullptr ) = 0; + virtual void SetString( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError = nullptr ) = 0; + + // Users of the system need to provide a proper default in default.vrsettings in the resources/settings/ directory + // of either the runtime or the driver_xxx directory. Otherwise the default will be false, 0, 0.0 or "" + virtual bool GetBool( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0; + virtual int32_t GetInt32( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0; + virtual float GetFloat( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0; + virtual void GetString( const char *pchSection, const char *pchSettingsKey, VR_OUT_STRING() char *pchValue, uint32_t unValueLen, EVRSettingsError *peError = nullptr ) = 0; + + virtual void RemoveSection( const char *pchSection, EVRSettingsError *peError = nullptr ) = 0; + virtual void RemoveKeyInSection( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) = 0; + }; + + //----------------------------------------------------------------------------- + static const char * const IVRSettings_Version = "IVRSettings_003"; + + class CVRSettingHelper + { + IVRSettings *m_pSettings; + public: + CVRSettingHelper( IVRSettings *pSettings ) + { + m_pSettings = pSettings; + } + + const char *GetSettingsErrorNameFromEnum( EVRSettingsError eError ) + { + return m_pSettings->GetSettingsErrorNameFromEnum( eError ); + } + + void SetBool( const char *pchSection, const char *pchSettingsKey, bool bValue, EVRSettingsError *peError = nullptr ) + { + m_pSettings->SetBool( pchSection, pchSettingsKey, bValue, peError ); + } + + void SetInt32( const char *pchSection, const char *pchSettingsKey, int32_t nValue, EVRSettingsError *peError = nullptr ) + { + m_pSettings->SetInt32( pchSection, pchSettingsKey, nValue, peError ); + } + void SetFloat( const char *pchSection, const char *pchSettingsKey, float flValue, EVRSettingsError *peError = nullptr ) + { + m_pSettings->SetFloat( pchSection, pchSettingsKey, flValue, peError ); + } + void SetString( const char *pchSection, const char *pchSettingsKey, const char *pchValue, EVRSettingsError *peError = nullptr ) + { + m_pSettings->SetString( pchSection, pchSettingsKey, pchValue, peError ); + } + void SetString( const std::string & sSection, const std::string & sSettingsKey, const std::string & sValue, EVRSettingsError *peError = nullptr ) + { + m_pSettings->SetString( sSection.c_str(), sSettingsKey.c_str(), sValue.c_str(), peError ); + } + + bool GetBool( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) + { + return m_pSettings->GetBool( pchSection, pchSettingsKey, peError ); + } + int32_t GetInt32( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) + { + return m_pSettings->GetInt32( pchSection, pchSettingsKey, peError ); + } + float GetFloat( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) + { + return m_pSettings->GetFloat( pchSection, pchSettingsKey, peError ); + } + void GetString( const char *pchSection, const char *pchSettingsKey, VR_OUT_STRING() char *pchValue, uint32_t unValueLen, EVRSettingsError *peError = nullptr ) + { + m_pSettings->GetString( pchSection, pchSettingsKey, pchValue, unValueLen, peError ); + } + std::string GetString( const std::string & sSection, const std::string & sSettingsKey, EVRSettingsError *peError = nullptr ) + { + char buf[4096]; + vr::EVRSettingsError eError; + m_pSettings->GetString( sSection.c_str(), sSettingsKey.c_str(), buf, sizeof( buf ), &eError ); + if ( peError ) + *peError = eError; + if ( eError == vr::VRSettingsError_None ) + return buf; + else + return ""; + } + + void RemoveSection( const char *pchSection, EVRSettingsError *peError = nullptr ) + { + m_pSettings->RemoveSection( pchSection, peError ); + } + void RemoveKeyInSection( const char *pchSection, const char *pchSettingsKey, EVRSettingsError *peError = nullptr ) + { + m_pSettings->RemoveKeyInSection( pchSection, pchSettingsKey, peError ); + } + }; + + + //----------------------------------------------------------------------------- + // steamvr keys + static const char * const k_pch_SteamVR_Section = "steamvr"; + static const char * const k_pch_SteamVR_RequireHmd_String = "requireHmd"; + static const char * const k_pch_SteamVR_ForcedDriverKey_String = "forcedDriver"; + static const char * const k_pch_SteamVR_ForcedHmdKey_String = "forcedHmd"; + static const char * const k_pch_SteamVR_DisplayDebug_Bool = "displayDebug"; + static const char * const k_pch_SteamVR_DebugProcessPipe_String = "debugProcessPipe"; + static const char * const k_pch_SteamVR_DisplayDebugX_Int32 = "displayDebugX"; + static const char * const k_pch_SteamVR_DisplayDebugY_Int32 = "displayDebugY"; + static const char * const k_pch_SteamVR_SendSystemButtonToAllApps_Bool= "sendSystemButtonToAllApps"; + static const char * const k_pch_SteamVR_LogLevel_Int32 = "loglevel"; + static const char * const k_pch_SteamVR_IPD_Float = "ipd"; + static const char * const k_pch_SteamVR_Background_String = "background"; + static const char * const k_pch_SteamVR_BackgroundUseDomeProjection_Bool = "backgroundUseDomeProjection"; + static const char * const k_pch_SteamVR_BackgroundCameraHeight_Float = "backgroundCameraHeight"; + static const char * const k_pch_SteamVR_BackgroundDomeRadius_Float = "backgroundDomeRadius"; + static const char * const k_pch_SteamVR_GridColor_String = "gridColor"; + static const char * const k_pch_SteamVR_PlayAreaColor_String = "playAreaColor"; + static const char * const k_pch_SteamVR_TrackingLossColor_String = "trackingLossColor"; + static const char * const k_pch_SteamVR_ShowStage_Bool = "showStage"; + static const char * const k_pch_SteamVR_DrawTrackingReferences_Bool = "drawTrackingReferences"; + static const char * const k_pch_SteamVR_ActivateMultipleDrivers_Bool = "activateMultipleDrivers"; + static const char * const k_pch_SteamVR_UsingSpeakers_Bool = "usingSpeakers"; + static const char * const k_pch_SteamVR_SpeakersForwardYawOffsetDegrees_Float = "speakersForwardYawOffsetDegrees"; + static const char * const k_pch_SteamVR_BaseStationPowerManagement_Int32 = "basestationPowerManagement"; + static const char * const k_pch_SteamVR_ShowBaseStationPowerManagementTip_Int32 = "ShowBaseStationPowerManagementTip"; + static const char * const k_pch_SteamVR_NeverKillProcesses_Bool = "neverKillProcesses"; + static const char * const k_pch_SteamVR_SupersampleScale_Float = "supersampleScale"; + static const char * const k_pch_SteamVR_MaxRecommendedResolution_Int32 = "maxRecommendedResolution"; + static const char * const k_pch_SteamVR_MotionSmoothing_Bool = "motionSmoothing"; + static const char * const k_pch_SteamVR_MotionSmoothingOverride_Int32 = "motionSmoothingOverride"; + static const char * const k_pch_SteamVR_FramesToThrottle_Int32 = "framesToThrottle"; + static const char * const k_pch_SteamVR_AdditionalFramesToPredict_Int32 = "additionalFramesToPredict"; + static const char * const k_pch_SteamVR_WorldScale_Float = "worldScale"; + static const char * const k_pch_SteamVR_FovScale_Int32 = "fovScale"; + static const char * const k_pch_SteamVR_DisableAsyncReprojection_Bool = "disableAsync"; + static const char * const k_pch_SteamVR_ForceFadeOnBadTracking_Bool = "forceFadeOnBadTracking"; + static const char * const k_pch_SteamVR_DefaultMirrorView_Int32 = "mirrorView"; + static const char * const k_pch_SteamVR_ShowLegacyMirrorView_Bool = "showLegacyMirrorView"; + static const char * const k_pch_SteamVR_MirrorViewVisibility_Bool = "showMirrorView"; + static const char * const k_pch_SteamVR_MirrorViewDisplayMode_Int32 = "mirrorViewDisplayMode"; + static const char * const k_pch_SteamVR_MirrorViewEye_Int32 = "mirrorViewEye"; + static const char * const k_pch_SteamVR_MirrorViewGeometry_String = "mirrorViewGeometry"; + static const char * const k_pch_SteamVR_MirrorViewGeometryMaximized_String = "mirrorViewGeometryMaximized"; + static const char * const k_pch_SteamVR_PerfGraphVisibility_Bool = "showPerfGraph"; + static const char * const k_pch_SteamVR_StartMonitorFromAppLaunch = "startMonitorFromAppLaunch"; + static const char * const k_pch_SteamVR_StartCompositorFromAppLaunch_Bool = "startCompositorFromAppLaunch"; + static const char * const k_pch_SteamVR_StartDashboardFromAppLaunch_Bool = "startDashboardFromAppLaunch"; + static const char * const k_pch_SteamVR_StartOverlayAppsFromDashboard_Bool = "startOverlayAppsFromDashboard"; + static const char * const k_pch_SteamVR_EnableHomeApp = "enableHomeApp"; + static const char * const k_pch_SteamVR_CycleBackgroundImageTimeSec_Int32 = "CycleBackgroundImageTimeSec"; + static const char * const k_pch_SteamVR_RetailDemo_Bool = "retailDemo"; + static const char * const k_pch_SteamVR_IpdOffset_Float = "ipdOffset"; + static const char * const k_pch_SteamVR_AllowSupersampleFiltering_Bool = "allowSupersampleFiltering"; + static const char * const k_pch_SteamVR_SupersampleManualOverride_Bool = "supersampleManualOverride"; + static const char * const k_pch_SteamVR_EnableLinuxVulkanAsync_Bool = "enableLinuxVulkanAsync"; + static const char * const k_pch_SteamVR_AllowDisplayLockedMode_Bool = "allowDisplayLockedMode"; + static const char * const k_pch_SteamVR_HaveStartedTutorialForNativeChaperoneDriver_Bool = "haveStartedTutorialForNativeChaperoneDriver"; + static const char * const k_pch_SteamVR_ForceWindows32bitVRMonitor = "forceWindows32BitVRMonitor"; + static const char * const k_pch_SteamVR_DebugInputBinding = "debugInputBinding"; + static const char * const k_pch_SteamVR_DoNotFadeToGrid = "doNotFadeToGrid"; + static const char * const k_pch_SteamVR_EnableSharedResourceJournaling = "enableSharedResourceJournaling"; + static const char * const k_pch_SteamVR_EnableSafeMode = "enableSafeMode"; + static const char * const k_pch_SteamVR_PreferredRefreshRate = "preferredRefreshRate"; + static const char * const k_pch_SteamVR_LastVersionNotice = "lastVersionNotice"; + static const char * const k_pch_SteamVR_LastVersionNoticeDate = "lastVersionNoticeDate"; + static const char * const k_pch_SteamVR_HmdDisplayColorGainR_Float = "hmdDisplayColorGainR"; + static const char * const k_pch_SteamVR_HmdDisplayColorGainG_Float = "hmdDisplayColorGainG"; + static const char * const k_pch_SteamVR_HmdDisplayColorGainB_Float = "hmdDisplayColorGainB"; + static const char * const k_pch_SteamVR_CustomIconStyle_String = "customIconStyle"; + static const char * const k_pch_SteamVR_CustomOffIconStyle_String = "customOffIconStyle"; + static const char * const k_pch_SteamVR_CustomIconForceUpdate_String = "customIconForceUpdate"; + static const char * const k_pch_SteamVR_AllowGlobalActionSetPriority = "globalActionSetPriority"; + static const char * const k_pch_SteamVR_OverlayRenderQuality = "overlayRenderQuality_2"; + static const char * const k_pch_SteamVR_BlockOculusSDKOnOpenVRLaunchOption_Bool = "blockOculusSDKOnOpenVRLaunchOption"; + static const char * const k_pch_SteamVR_BlockOculusSDKOnAllLaunches_Bool = "blockOculusSDKOnAllLaunches"; + static const char * const k_pch_SteamVR_HDCPLegacyCompatibility_Bool = "hdcp14legacyCompatibility"; + static const char * const k_pch_SteamVR_DisplayPortTrainingMode_Int = "displayPortTrainingMode"; + static const char * const k_pch_SteamVR_UsePrism_Bool = "usePrism"; + + //----------------------------------------------------------------------------- + // direct mode keys + static const char * const k_pch_DirectMode_Section = "direct_mode"; + static const char * const k_pch_DirectMode_Enable_Bool = "enable"; + static const char * const k_pch_DirectMode_Count_Int32 = "count"; + static const char * const k_pch_DirectMode_EdidVid_Int32 = "edidVid"; + static const char * const k_pch_DirectMode_EdidPid_Int32 = "edidPid"; + + //----------------------------------------------------------------------------- + // lighthouse keys + static const char * const k_pch_Lighthouse_Section = "driver_lighthouse"; + static const char * const k_pch_Lighthouse_DisableIMU_Bool = "disableimu"; + static const char * const k_pch_Lighthouse_DisableIMUExceptHMD_Bool = "disableimuexcepthmd"; + static const char * const k_pch_Lighthouse_UseDisambiguation_String = "usedisambiguation"; + static const char * const k_pch_Lighthouse_DisambiguationDebug_Int32 = "disambiguationdebug"; + static const char * const k_pch_Lighthouse_PrimaryBasestation_Int32 = "primarybasestation"; + static const char * const k_pch_Lighthouse_DBHistory_Bool = "dbhistory"; + static const char * const k_pch_Lighthouse_EnableBluetooth_Bool = "enableBluetooth"; + static const char * const k_pch_Lighthouse_PowerManagedBaseStations_String = "PowerManagedBaseStations"; + static const char * const k_pch_Lighthouse_PowerManagedBaseStations2_String = "PowerManagedBaseStations2"; + static const char * const k_pch_Lighthouse_InactivityTimeoutForBaseStations_Int32 = "InactivityTimeoutForBaseStations"; + static const char * const k_pch_Lighthouse_EnableImuFallback_Bool = "enableImuFallback"; + + //----------------------------------------------------------------------------- + // null keys + static const char * const k_pch_Null_Section = "driver_null"; + static const char * const k_pch_Null_SerialNumber_String = "serialNumber"; + static const char * const k_pch_Null_ModelNumber_String = "modelNumber"; + static const char * const k_pch_Null_WindowX_Int32 = "windowX"; + static const char * const k_pch_Null_WindowY_Int32 = "windowY"; + static const char * const k_pch_Null_WindowWidth_Int32 = "windowWidth"; + static const char * const k_pch_Null_WindowHeight_Int32 = "windowHeight"; + static const char * const k_pch_Null_RenderWidth_Int32 = "renderWidth"; + static const char * const k_pch_Null_RenderHeight_Int32 = "renderHeight"; + static const char * const k_pch_Null_SecondsFromVsyncToPhotons_Float = "secondsFromVsyncToPhotons"; + static const char * const k_pch_Null_DisplayFrequency_Float = "displayFrequency"; + + //----------------------------------------------------------------------------- + // Windows MR keys + static const char * const k_pch_WindowsMR_Section = "driver_holographic"; + + //----------------------------------------------------------------------------- + // user interface keys + static const char * const k_pch_UserInterface_Section = "userinterface"; + static const char * const k_pch_UserInterface_StatusAlwaysOnTop_Bool = "StatusAlwaysOnTop"; + static const char * const k_pch_UserInterface_MinimizeToTray_Bool = "MinimizeToTray"; + static const char * const k_pch_UserInterface_HidePopupsWhenStatusMinimized_Bool = "HidePopupsWhenStatusMinimized"; + static const char * const k_pch_UserInterface_Screenshots_Bool = "screenshots"; + static const char * const k_pch_UserInterface_ScreenshotType_Int = "screenshotType"; + + //----------------------------------------------------------------------------- + // notification keys + static const char * const k_pch_Notifications_Section = "notifications"; + static const char * const k_pch_Notifications_DoNotDisturb_Bool = "DoNotDisturb"; + + //----------------------------------------------------------------------------- + // keyboard keys + static const char * const k_pch_Keyboard_Section = "keyboard"; + static const char * const k_pch_Keyboard_TutorialCompletions = "TutorialCompletions"; + static const char * const k_pch_Keyboard_ScaleX = "ScaleX"; + static const char * const k_pch_Keyboard_ScaleY = "ScaleY"; + static const char * const k_pch_Keyboard_OffsetLeftX = "OffsetLeftX"; + static const char * const k_pch_Keyboard_OffsetRightX = "OffsetRightX"; + static const char * const k_pch_Keyboard_OffsetY = "OffsetY"; + static const char * const k_pch_Keyboard_Smoothing = "Smoothing"; + + //----------------------------------------------------------------------------- + // perf keys + static const char * const k_pch_Perf_Section = "perfcheck"; + static const char * const k_pch_Perf_PerfGraphInHMD_Bool = "perfGraphInHMD"; + static const char * const k_pch_Perf_AllowTimingStore_Bool = "allowTimingStore"; + static const char * const k_pch_Perf_SaveTimingsOnExit_Bool = "saveTimingsOnExit"; + static const char * const k_pch_Perf_TestData_Float = "perfTestData"; + static const char * const k_pch_Perf_GPUProfiling_Bool = "GPUProfiling"; + static const char * const k_pch_Perf_GpuBusMonitoring_Bool = "gpuBusMonitoring"; + + //----------------------------------------------------------------------------- + // collision bounds keys + static const char * const k_pch_CollisionBounds_Section = "collisionBounds"; + static const char * const k_pch_CollisionBounds_Style_Int32 = "CollisionBoundsStyle"; + static const char * const k_pch_CollisionBounds_GroundPerimeterOn_Bool = "CollisionBoundsGroundPerimeterOn"; + static const char * const k_pch_CollisionBounds_CenterMarkerOn_Bool = "CollisionBoundsCenterMarkerOn"; + static const char * const k_pch_CollisionBounds_PlaySpaceOn_Bool = "CollisionBoundsPlaySpaceOn"; + static const char * const k_pch_CollisionBounds_FadeDistance_Float = "CollisionBoundsFadeDistance"; + static const char * const k_pch_CollisionBounds_WallHeight_Float = "CollisionBoundsWallHeight"; + static const char * const k_pch_CollisionBounds_ColorGammaR_Int32 = "CollisionBoundsColorGammaR"; + static const char * const k_pch_CollisionBounds_ColorGammaG_Int32 = "CollisionBoundsColorGammaG"; + static const char * const k_pch_CollisionBounds_ColorGammaB_Int32 = "CollisionBoundsColorGammaB"; + static const char * const k_pch_CollisionBounds_ColorGammaA_Int32 = "CollisionBoundsColorGammaA"; + static const char * const k_pch_CollisionBounds_EnableDriverImport = "enableDriverBoundsImport"; + + //----------------------------------------------------------------------------- + // camera keys + static const char * const k_pch_Camera_Section = "camera"; + static const char * const k_pch_Camera_EnableCamera_Bool = "enableCamera"; + static const char * const k_pch_Camera_ShowOnController_Bool = "showOnController"; + static const char * const k_pch_Camera_EnableCameraForCollisionBounds_Bool = "enableCameraForCollisionBounds"; + static const char * const k_pch_Camera_RoomView_Int32 = "roomView"; + static const char * const k_pch_Camera_BoundsColorGammaR_Int32 = "cameraBoundsColorGammaR"; + static const char * const k_pch_Camera_BoundsColorGammaG_Int32 = "cameraBoundsColorGammaG"; + static const char * const k_pch_Camera_BoundsColorGammaB_Int32 = "cameraBoundsColorGammaB"; + static const char * const k_pch_Camera_BoundsColorGammaA_Int32 = "cameraBoundsColorGammaA"; + static const char * const k_pch_Camera_BoundsStrength_Int32 = "cameraBoundsStrength"; + static const char * const k_pch_Camera_RoomViewStyle_Int32 = "roomViewStyle"; + + //----------------------------------------------------------------------------- + // audio keys + static const char * const k_pch_audio_Section = "audio"; + static const char * const k_pch_audio_SetOsDefaultPlaybackDevice_Bool = "setOsDefaultPlaybackDevice"; + static const char * const k_pch_audio_EnablePlaybackDeviceOverride_Bool = "enablePlaybackDeviceOverride"; + static const char * const k_pch_audio_PlaybackDeviceOverride_String = "playbackDeviceOverride"; + static const char * const k_pch_audio_PlaybackDeviceOverrideName_String = "playbackDeviceOverrideName"; + static const char * const k_pch_audio_SetOsDefaultRecordingDevice_Bool = "setOsDefaultRecordingDevice"; + static const char * const k_pch_audio_EnableRecordingDeviceOverride_Bool = "enableRecordingDeviceOverride"; + static const char * const k_pch_audio_RecordingDeviceOverride_String = "recordingDeviceOverride"; + static const char * const k_pch_audio_RecordingDeviceOverrideName_String = "recordingDeviceOverrideName"; + static const char * const k_pch_audio_EnablePlaybackMirror_Bool = "enablePlaybackMirror"; + static const char * const k_pch_audio_PlaybackMirrorDevice_String = "playbackMirrorDevice"; + static const char * const k_pch_audio_PlaybackMirrorDeviceName_String = "playbackMirrorDeviceName"; + static const char * const k_pch_audio_OldPlaybackMirrorDevice_String = "onPlaybackMirrorDevice"; + static const char * const k_pch_audio_ActiveMirrorDevice_String = "activePlaybackMirrorDevice"; + static const char * const k_pch_audio_EnablePlaybackMirrorIndependentVolume_Bool = "enablePlaybackMirrorIndependentVolume"; + static const char * const k_pch_audio_LastHmdPlaybackDeviceId_String = "lastHmdPlaybackDeviceId"; + static const char * const k_pch_audio_VIVEHDMIGain = "viveHDMIGain"; + static const char * const k_pch_audio_DualSpeakerAndJackOutput_Bool = "dualSpeakerAndJackOutput"; + static const char * const k_pch_audio_MuteMicMonitor_Bool = "muteMicMonitor"; + + //----------------------------------------------------------------------------- + // power management keys + static const char * const k_pch_Power_Section = "power"; + static const char * const k_pch_Power_PowerOffOnExit_Bool = "powerOffOnExit"; + static const char * const k_pch_Power_TurnOffScreensTimeout_Float = "turnOffScreensTimeout"; + static const char * const k_pch_Power_TurnOffControllersTimeout_Float = "turnOffControllersTimeout"; + static const char * const k_pch_Power_ReturnToWatchdogTimeout_Float = "returnToWatchdogTimeout"; + static const char * const k_pch_Power_AutoLaunchSteamVROnButtonPress = "autoLaunchSteamVROnButtonPress"; + static const char * const k_pch_Power_PauseCompositorOnStandby_Bool = "pauseCompositorOnStandby"; + + //----------------------------------------------------------------------------- + // dashboard keys + static const char * const k_pch_Dashboard_Section = "dashboard"; + static const char * const k_pch_Dashboard_EnableDashboard_Bool = "enableDashboard"; + static const char * const k_pch_Dashboard_ArcadeMode_Bool = "arcadeMode"; + static const char * const k_pch_Dashboard_Position = "position"; + static const char * const k_pch_Dashboard_DesktopScale = "desktopScale"; + static const char * const k_pch_Dashboard_DashboardScale = "dashboardScale"; + static const char * const k_pch_Dashboard_UseStandaloneSystemLayer = "standaloneSystemLayer"; + static const char * const k_pch_Dashboard_StickyDashboard = "stickyDashboard"; + static const char * const k_pch_Dashboard_AllowSteamOverlays_Bool = "allowSteamOverlays"; + + //----------------------------------------------------------------------------- + // model skin keys + static const char * const k_pch_modelskin_Section = "modelskins"; + + //----------------------------------------------------------------------------- + // driver keys - These could be checked in any driver_ section + static const char * const k_pch_Driver_Enable_Bool = "enable"; + static const char * const k_pch_Driver_BlockedBySafemode_Bool = "blocked_by_safe_mode"; + static const char * const k_pch_Driver_LoadPriority_Int32 = "loadPriority"; + + //----------------------------------------------------------------------------- + // web interface keys + static const char* const k_pch_WebInterface_Section = "WebInterface"; + + //----------------------------------------------------------------------------- + // vrwebhelper keys + static const char* const k_pch_VRWebHelper_Section = "VRWebHelper"; + static const char* const k_pch_VRWebHelper_DebuggerEnabled_Bool = "DebuggerEnabled"; + static const char* const k_pch_VRWebHelper_DebuggerPort_Int32 = "DebuggerPort"; + + //----------------------------------------------------------------------------- + // tracking overrides - keys are device paths, values are the device paths their + // tracking/pose information overrides + static const char* const k_pch_TrackingOverride_Section = "TrackingOverrides"; + + //----------------------------------------------------------------------------- + // per-app keys - the section name for these is the app key itself. Some of these are prefixed by the controller type + static const char* const k_pch_App_BindingAutosaveURLSuffix_String = "AutosaveURL"; + static const char* const k_pch_App_BindingLegacyAPISuffix_String = "_legacy"; + static const char *const k_pch_App_BindingSteamVRInputAPISuffix_String = "_steamvrinput"; + static const char *const k_pch_App_BindingOpenXRAPISuffix_String = "_openxr"; + static const char* const k_pch_App_BindingCurrentURLSuffix_String = "CurrentURL"; + static const char* const k_pch_App_BindingPreviousURLSuffix_String = "PreviousURL"; + static const char* const k_pch_App_NeedToUpdateAutosaveSuffix_Bool = "NeedToUpdateAutosave"; + static const char* const k_pch_App_DominantHand_Int32 = "DominantHand"; + static const char* const k_pch_App_BlockOculusSDK_Bool = "blockOculusSDK"; + + //----------------------------------------------------------------------------- + // configuration for trackers + static const char * const k_pch_Trackers_Section = "trackers"; + + //----------------------------------------------------------------------------- + // configuration for desktop UI windows + static const char * const k_pch_DesktopUI_Section = "DesktopUI"; + + //----------------------------------------------------------------------------- + // Last known keys for righting recovery + static const char * const k_pch_LastKnown_Section = "LastKnown"; + static const char* const k_pch_LastKnown_HMDManufacturer_String = "HMDManufacturer"; + static const char* const k_pch_LastKnown_HMDModel_String = "HMDModel"; + + //----------------------------------------------------------------------------- + // Dismissed warnings + static const char * const k_pch_DismissedWarnings_Section = "DismissedWarnings"; + + //----------------------------------------------------------------------------- + // Input Settings + static const char * const k_pch_Input_Section = "input"; + static const char* const k_pch_Input_LeftThumbstickRotation_Float = "leftThumbstickRotation"; + static const char* const k_pch_Input_RightThumbstickRotation_Float = "rightThumbstickRotation"; + static const char* const k_pch_Input_ThumbstickDeadzone_Float = "thumbstickDeadzone"; + + //----------------------------------------------------------------------------- + // Log of GPU performance + static const char * const k_pch_GpuSpeed_Section = "GpuSpeed"; + +} // namespace vr + +// ivrchaperone.h + +namespace vr +{ + +#pragma pack( push, 8 ) + +enum ChaperoneCalibrationState +{ + // OK! + ChaperoneCalibrationState_OK = 1, // Chaperone is fully calibrated and working correctly + + // Warnings + ChaperoneCalibrationState_Warning = 100, + ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved = 101, // A base station thinks that it might have moved + ChaperoneCalibrationState_Warning_BaseStationRemoved = 102, // There are less base stations than when calibrated + ChaperoneCalibrationState_Warning_SeatedBoundsInvalid = 103, // Seated bounds haven't been calibrated for the current tracking center + + // Errors + ChaperoneCalibrationState_Error = 200, // The UniverseID is invalid + ChaperoneCalibrationState_Error_BaseStationUninitialized = 201, // Tracking center hasn't be calibrated for at least one of the base stations + ChaperoneCalibrationState_Error_BaseStationConflict = 202, // Tracking center is calibrated, but base stations disagree on the tracking space + ChaperoneCalibrationState_Error_PlayAreaInvalid = 203, // Play Area hasn't been calibrated for the current tracking center + ChaperoneCalibrationState_Error_CollisionBoundsInvalid = 204, // Collision Bounds haven't been calibrated for the current tracking center +}; + + +/** HIGH LEVEL TRACKING SPACE ASSUMPTIONS: +* 0,0,0 is the preferred standing area center. +* 0Y is the floor height. +* -Z is the preferred forward facing direction. */ +class IVRChaperone +{ +public: + + /** Get the current state of Chaperone calibration. This state can change at any time during a session due to physical base station changes. **/ + virtual ChaperoneCalibrationState GetCalibrationState() = 0; + + /** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z. + * Tracking space center (0,0,0) is the center of the Play Area. **/ + virtual bool GetPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0; + + /** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds). + * Corners are in counter-clockwise order. + * Standing center (0,0,0) is the center of the Play Area. + * It's a rectangle. + * 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis. + * Height of every corner is 0Y (on the floor). **/ + virtual bool GetPlayAreaRect( HmdQuad_t *rect ) = 0; + + /** Reload Chaperone data from the .vrchap file on disk. */ + virtual void ReloadInfo( void ) = 0; + + /** Optionally give the chaperone system a hit about the color and brightness in the scene **/ + virtual void SetSceneColor( HmdColor_t color ) = 0; + + /** Get the current chaperone bounds draw color and brightness **/ + virtual void GetBoundsColor( HmdColor_t *pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor ) = 0; + + /** Determine whether the bounds are showing right now **/ + virtual bool AreBoundsVisible() = 0; + + /** Force the bounds to show, mostly for utilities **/ + virtual void ForceBoundsVisible( bool bForce ) = 0; + + /** Sets the zero pose for the given tracker coordinate system to the current position and yaw of the HMD. After + * ResetZeroPose all GetDeviceToAbsoluteTrackingPose calls as the origin will be relative to this new zero pose. + * The new zero coordinate system will not change the fact that the Y axis is up in the real world, so the next + * pose returned from GetDeviceToAbsoluteTrackingPose after a call to ResetZeroPose may not be exactly an + * identity matrix. + * + * NOTE: This function overrides the user's previously saved zero pose and should only be called as the result of a user action. + * Users are also able to set their zero pose via the OpenVR Dashboard. + **/ + virtual void ResetZeroPose( ETrackingUniverseOrigin eTrackingUniverseOrigin ) = 0; +}; + +static const char * const IVRChaperone_Version = "IVRChaperone_004"; + +#pragma pack( pop ) + +} + +// ivrchaperonesetup.h + +namespace vr +{ + +enum EChaperoneConfigFile +{ + EChaperoneConfigFile_Live = 1, // The live chaperone config, used by most applications and games + EChaperoneConfigFile_Temp = 2, // The temporary chaperone config, used to live-preview collision bounds in room setup +}; + +enum EChaperoneImportFlags +{ + EChaperoneImport_BoundsOnly = 0x0001, +}; + +/** Manages the working copy of the chaperone info. By default this will be the same as the +* live copy. Any changes made with this interface will stay in the working copy until +* CommitWorkingCopy() is called, at which point the working copy and the live copy will be +* the same again. */ +class IVRChaperoneSetup +{ +public: + + /** Saves the current working copy to disk */ + virtual bool CommitWorkingCopy( EChaperoneConfigFile configFile ) = 0; + + /** Reverts the working copy to match the live chaperone calibration. + * To modify existing data this MUST be do WHILE getting a non-error ChaperoneCalibrationStatus. + * Only after this should you do gets and sets on the existing data. */ + virtual void RevertWorkingCopy() = 0; + + /** Returns the width and depth of the Play Area (formerly named Soft Bounds) in X and Z from the working copy. + * Tracking space center (0,0,0) is the center of the Play Area. */ + virtual bool GetWorkingPlayAreaSize( float *pSizeX, float *pSizeZ ) = 0; + + /** Returns the 4 corner positions of the Play Area (formerly named Soft Bounds) from the working copy. + * Corners are in clockwise order. + * Tracking space center (0,0,0) is the center of the Play Area. + * It's a rectangle. + * 2 sides are parallel to the X axis and 2 sides are parallel to the Z axis. + * Height of every corner is 0Y (on the floor). **/ + virtual bool GetWorkingPlayAreaRect( HmdQuad_t *rect ) = 0; + + /** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads + * into the buffer up to the max specified from the working copy. */ + virtual bool GetWorkingCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) = 0; + + /** Returns the number of Quads if the buffer points to null. Otherwise it returns Quads + * into the buffer up to the max specified. */ + virtual bool GetLiveCollisionBoundsInfo( VR_OUT_ARRAY_COUNT(punQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t* punQuadsCount ) = 0; + + /** Returns the preferred seated position from the working copy. */ + virtual bool GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) = 0; + + /** Returns the standing origin from the working copy. */ + virtual bool GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose ) = 0; + + /** Sets the Play Area in the working copy. */ + virtual void SetWorkingPlayAreaSize( float sizeX, float sizeZ ) = 0; + + /** Sets the Collision Bounds in the working copy. Note: ceiling height is ignored. */ + virtual void SetWorkingCollisionBoundsInfo( VR_ARRAY_COUNT(unQuadsCount) HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount ) = 0; + + /** Sets the Collision Bounds in the working copy. */ + virtual void SetWorkingPerimeter( VR_ARRAY_COUNT( unPointCount ) HmdVector2_t *pPointBuffer, uint32_t unPointCount ) = 0; + + /** Sets the preferred seated position in the working copy. */ + virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose ) = 0; + + /** Sets the preferred standing position in the working copy. */ + virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose ) = 0; + + /** Tear everything down and reload it from the file on disk */ + virtual void ReloadFromDisk( EChaperoneConfigFile configFile ) = 0; + + /** Returns the preferred seated position. */ + virtual bool GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose ) = 0; + + virtual bool ExportLiveToBuffer( VR_OUT_STRING() char *pBuffer, uint32_t *pnBufferLength ) = 0; + virtual bool ImportFromBufferToWorking( const char *pBuffer, uint32_t nImportFlags ) = 0; + + /** Shows the chaperone data in the working set to preview in the compositor.*/ + virtual void ShowWorkingSetPreview() = 0; + + /** Hides the chaperone data in the working set to preview in the compositor (if it was visible).*/ + virtual void HideWorkingSetPreview() = 0; + + /** Fire an event that the tracking system can use to know room setup is about to begin. This lets the tracking + * system make any last minute adjustments that should be incorporated into the new setup. If the user is adjusting + * live in HMD using a tweak tool, keep in mind that calling this might cause the user to see the room jump. */ + virtual void RoomSetupStarting() = 0; +}; + +static const char * const IVRChaperoneSetup_Version = "IVRChaperoneSetup_006"; + + +} + +// ivrcompositor.h + +namespace vr +{ + +#pragma pack( push, 8 ) + +/** Errors that can occur with the VR compositor */ +enum EVRCompositorError +{ + VRCompositorError_None = 0, + VRCompositorError_RequestFailed = 1, + VRCompositorError_IncompatibleVersion = 100, + VRCompositorError_DoNotHaveFocus = 101, + VRCompositorError_InvalidTexture = 102, + VRCompositorError_IsNotSceneApplication = 103, + VRCompositorError_TextureIsOnWrongDevice = 104, + VRCompositorError_TextureUsesUnsupportedFormat = 105, + VRCompositorError_SharedTexturesNotSupported = 106, + VRCompositorError_IndexOutOfRange = 107, + VRCompositorError_AlreadySubmitted = 108, + VRCompositorError_InvalidBounds = 109, + VRCompositorError_AlreadySet = 110, +}; + +/** Timing mode passed to SetExplicitTimingMode(); see that function for documentation */ +enum EVRCompositorTimingMode +{ + VRCompositorTimingMode_Implicit = 0, + VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff = 1, + VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff = 2, +}; + +/** Cumulative stats for current application. These are not cleared until a new app connects, +* but they do stop accumulating once the associated app disconnects. */ +struct Compositor_CumulativeStats +{ + uint32_t m_nPid; // Process id associated with these stats (may no longer be running). + uint32_t m_nNumFramePresents; // total number of times we called present (includes reprojected frames) + uint32_t m_nNumDroppedFrames; // total number of times an old frame was re-scanned out (without reprojection) + uint32_t m_nNumReprojectedFrames; // total number of times a frame was scanned out a second time (with reprojection) + + /** Values recorded at startup before application has fully faded in the first time. */ + uint32_t m_nNumFramePresentsOnStartup; + uint32_t m_nNumDroppedFramesOnStartup; + uint32_t m_nNumReprojectedFramesOnStartup; + + /** Applications may explicitly fade to the compositor. This is usually to handle level transitions, and loading often causes + * system wide hitches. The following stats are collected during this period. Does not include values recorded during startup. */ + uint32_t m_nNumLoading; + uint32_t m_nNumFramePresentsLoading; + uint32_t m_nNumDroppedFramesLoading; + uint32_t m_nNumReprojectedFramesLoading; + + /** If we don't get a new frame from the app in less than 2.5 frames, then we assume the app has hung and start + * fading back to the compositor. The following stats are a result of this, and are a subset of those recorded above. + * Does not include values recorded during start up or loading. */ + uint32_t m_nNumTimedOut; + uint32_t m_nNumFramePresentsTimedOut; + uint32_t m_nNumDroppedFramesTimedOut; + uint32_t m_nNumReprojectedFramesTimedOut; + + /** For items in this section, divide all the values by m_nNumFrameSubmits. */ + uint32_t m_nNumFrameSubmits; + vrshared_double m_flSumCompositorCPUTimeMS; + vrshared_double m_flSumCompositorGPUTimeMS; + vrshared_double m_flSumTargetFrameTimes; + vrshared_double m_flSumApplicationCPUTimeMS; + vrshared_double m_flSumApplicationGPUTimeMS; + + uint32_t m_nNumFramesWithDepth; // total frames submitted with depth by the current application +}; + +struct Compositor_StageRenderSettings +{ + /** Primary color is applied as a tint to (i.e. multiplied with) the model's texture */ + HmdColor_t m_PrimaryColor; + HmdColor_t m_SecondaryColor; + + /** Vignette radius is in meters and is used to fade to the specified secondary solid color over + * that 3D distance from the origin of the playspace. */ + float m_flVignetteInnerRadius; + float m_flVignetteOuterRadius; + + /** Fades to the secondary color based on view incidence. This variable controls the linearity + * of the effect. It is mutually exclusive with vignette. Additionally, it treats the mesh as faceted. */ + float m_flFresnelStrength; + + /** Controls backface culling. */ + bool m_bBackfaceCulling; + + /** Converts the render model's texture to luma and applies to rgb equally. This is useful to + * combat compression artifacts that can occur on desaturated source material. */ + bool m_bGreyscale; + + /** Renders mesh as a wireframe. */ + bool m_bWireframe; +}; + +static inline Compositor_StageRenderSettings DefaultStageRenderSettings() +{ + Compositor_StageRenderSettings settings; + settings.m_PrimaryColor.r = 1.0f; + settings.m_PrimaryColor.g = 1.0f; + settings.m_PrimaryColor.b = 1.0f; + settings.m_PrimaryColor.a = 1.0f; + settings.m_SecondaryColor.r = 1.0f; + settings.m_SecondaryColor.g = 1.0f; + settings.m_SecondaryColor.b = 1.0f; + settings.m_SecondaryColor.a = 1.0f; + settings.m_flVignetteInnerRadius = 0.0f; + settings.m_flVignetteOuterRadius = 0.0f; + settings.m_flFresnelStrength = 0.0f; + settings.m_bBackfaceCulling = false; + settings.m_bGreyscale = false; + settings.m_bWireframe = false; + return settings; +} + +#pragma pack( pop ) + +/** Allows the application to interact with the compositor */ +class IVRCompositor +{ +public: + /** Sets tracking space returned by WaitGetPoses */ + virtual void SetTrackingSpace( ETrackingUniverseOrigin eOrigin ) = 0; + + /** Gets current tracking space returned by WaitGetPoses */ + virtual ETrackingUniverseOrigin GetTrackingSpace() = 0; + + /** Scene applications should call this function to get poses to render with (and optionally poses predicted an additional frame out to use for gameplay). + * This function will block until "running start" milliseconds before the start of the frame, and should be called at the last moment before needing to + * start rendering. + * + * Return codes: + * - IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene) + * - DoNotHaveFocus (some other app has taken focus - this will throttle the call to 10hz to reduce the impact on that app) + */ + virtual EVRCompositorError WaitGetPoses( VR_ARRAY_COUNT( unRenderPoseArrayCount ) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount, + VR_ARRAY_COUNT( unGamePoseArrayCount ) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) = 0; + + /** Get the last set of poses returned by WaitGetPoses. */ + virtual EVRCompositorError GetLastPoses( VR_ARRAY_COUNT( unRenderPoseArrayCount ) TrackedDevicePose_t* pRenderPoseArray, uint32_t unRenderPoseArrayCount, + VR_ARRAY_COUNT( unGamePoseArrayCount ) TrackedDevicePose_t* pGamePoseArray, uint32_t unGamePoseArrayCount ) = 0; + + /** Interface for accessing last set of poses returned by WaitGetPoses one at a time. + * Returns VRCompositorError_IndexOutOfRange if unDeviceIndex not less than k_unMaxTrackedDeviceCount otherwise VRCompositorError_None. + * It is okay to pass NULL for either pose if you only want one of the values. */ + virtual EVRCompositorError GetLastPoseForTrackedDeviceIndex( TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose ) = 0; + + /** Updated scene texture to display. If pBounds is NULL the entire texture will be used. If called from an OpenGL app, consider adding a glFlush after + * Submitting both frames to signal the driver to start processing, otherwise it may wait until the command buffer fills up, causing the app to miss frames. + * + * OpenGL dirty state: + * glBindTexture + * + * Return codes: + * - IsNotSceneApplication (make sure to call VR_Init with VRApplicaiton_Scene) + * - DoNotHaveFocus (some other app has taken focus) + * - TextureIsOnWrongDevice (application did not use proper AdapterIndex - see IVRSystem.GetDXGIOutputInfo) + * - SharedTexturesNotSupported (application needs to call CreateDXGIFactory1 or later before creating DX device) + * - TextureUsesUnsupportedFormat (scene textures must be compatible with DXGI sharing rules - e.g. uncompressed, no mips, etc.) + * - InvalidTexture (usually means bad arguments passed in) + * - AlreadySubmitted (app has submitted two left textures or two right textures in a single frame - i.e. before calling WaitGetPoses again) + */ + virtual EVRCompositorError Submit( EVREye eEye, const Texture_t *pTexture, const VRTextureBounds_t* pBounds = 0, EVRSubmitFlags nSubmitFlags = Submit_Default ) = 0; + + /** Clears the frame that was sent with the last call to Submit. This will cause the + * compositor to show the grid until Submit is called again. */ + virtual void ClearLastSubmittedFrame() = 0; + + /** Call immediately after presenting your app's window (i.e. companion window) to unblock the compositor. + * This is an optional call, which only needs to be used if you can't instead call WaitGetPoses immediately after Present. + * For example, if your engine's render and game loop are not on separate threads, or blocking the render thread until 3ms before the next vsync would + * introduce a deadlock of some sort. This function tells the compositor that you have finished all rendering after having Submitted buffers for both + * eyes, and it is free to start its rendering work. This should only be called from the same thread you are rendering on. */ + virtual void PostPresentHandoff() = 0; + + /** Returns true if timing data is filled it. Sets oldest timing info if nFramesAgo is larger than the stored history. + * Be sure to set timing.size = sizeof(Compositor_FrameTiming) on struct passed in before calling this function. */ + virtual bool GetFrameTiming( Compositor_FrameTiming *pTiming, uint32_t unFramesAgo = 0 ) = 0; + + /** Interface for copying a range of timing data. Frames are returned in ascending order (oldest to newest) with the last being the most recent frame. + * Only the first entry's m_nSize needs to be set, as the rest will be inferred from that. Returns total number of entries filled out. */ + virtual uint32_t GetFrameTimings( VR_ARRAY_COUNT( nFrames ) Compositor_FrameTiming *pTiming, uint32_t nFrames ) = 0; + + /** Returns the time in seconds left in the current (as identified by FrameTiming's frameIndex) frame. + * Due to "running start", this value may roll over to the next frame before ever reaching 0.0. */ + virtual float GetFrameTimeRemaining() = 0; + + /** Fills out stats accumulated for the last connected application. Pass in sizeof( Compositor_CumulativeStats ) as second parameter. */ + virtual void GetCumulativeStats( Compositor_CumulativeStats *pStats, uint32_t nStatsSizeInBytes ) = 0; + + /** Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between + * 0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly + * would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ). Values are in un-premultiplied alpha space. */ + virtual void FadeToColor( float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground = false ) = 0; + + /** Get current fade color value. */ + virtual HmdColor_t GetCurrentFadeColor( bool bBackground = false ) = 0; + + /** Fading the Grid in or out in fSeconds */ + virtual void FadeGrid( float fSeconds, bool bFadeGridIn ) = 0; + + /** Get current alpha value of grid. */ + virtual float GetCurrentGridAlpha() = 0; + + /** Override the skybox used in the compositor (e.g. for during level loads when the app can't feed scene images fast enough) + * Order is Front, Back, Left, Right, Top, Bottom. If only a single texture is passed, it is assumed in lat-long format. + * If two are passed, it is assumed a lat-long stereo pair. */ + virtual EVRCompositorError SetSkyboxOverride( VR_ARRAY_COUNT( unTextureCount ) const Texture_t *pTextures, uint32_t unTextureCount ) = 0; + + /** Resets compositor skybox back to defaults. */ + virtual void ClearSkyboxOverride() = 0; + + /** Brings the compositor window to the front. This is useful for covering any other window that may be on the HMD + * and is obscuring the compositor window. */ + virtual void CompositorBringToFront() = 0; + + /** Pushes the compositor window to the back. This is useful for allowing other applications to draw directly to the HMD. */ + virtual void CompositorGoToBack() = 0; + + /** DEPRECATED: Tells the compositor process to clean up and exit. You do not need to call this function at shutdown. + * Under normal circumstances the compositor will manage its own life cycle based on what applications are running. */ + virtual void CompositorQuit() = 0; + + /** Return whether the compositor is fullscreen */ + virtual bool IsFullscreen() = 0; + + /** Returns the process ID of the process that is currently rendering the scene */ + virtual uint32_t GetCurrentSceneFocusProcess() = 0; + + /** Returns the process ID of the process that rendered the last frame (or 0 if the compositor itself rendered the frame.) + * Returns 0 when fading out from an app and the app's process Id when fading into an app. */ + virtual uint32_t GetLastFrameRenderer() = 0; + + /** Returns true if the current process has the scene focus */ + virtual bool CanRenderScene() = 0; + + /** DEPRECATED: Opens the headset view (as either a window or docked widget depending on user's preferences) that displays what the user + * sees in the headset. */ + virtual void ShowMirrorWindow() = 0; + + /** DEPRECATED: Closes the headset view, either as a window or docked widget. */ + virtual void HideMirrorWindow() = 0; + + /** DEPRECATED: Returns true if the headset view (either as a window or docked widget) is shown. */ + virtual bool IsMirrorWindowVisible() = 0; + + /** Writes back buffer and stereo left/right pair from the application to a 'screenshots' folder in the SteamVR runtime root. */ + virtual void CompositorDumpImages() = 0; + + /** Let an app know it should be rendering with low resources. */ + virtual bool ShouldAppRenderWithLowResources() = 0; + + /** Override interleaved reprojection logic to force on. */ + virtual void ForceInterleavedReprojectionOn( bool bOverride ) = 0; + + /** Force reconnecting to the compositor process. */ + virtual void ForceReconnectProcess() = 0; + + /** Temporarily suspends rendering (useful for finer control over scene transitions). */ + virtual void SuspendRendering( bool bSuspend ) = 0; + + /** Opens a shared D3D11 texture with the undistorted composited image for each eye. Use ReleaseMirrorTextureD3D11 when finished + * instead of calling Release on the resource itself. */ + virtual vr::EVRCompositorError GetMirrorTextureD3D11( vr::EVREye eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView ) = 0; + virtual void ReleaseMirrorTextureD3D11( void *pD3D11ShaderResourceView ) = 0; + + /** Access to mirror textures from OpenGL. */ + virtual vr::EVRCompositorError GetMirrorTextureGL( vr::EVREye eEye, vr::glUInt_t *pglTextureId, vr::glSharedTextureHandle_t *pglSharedTextureHandle ) = 0; + virtual bool ReleaseSharedGLTexture( vr::glUInt_t glTextureId, vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0; + virtual void LockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0; + virtual void UnlockGLSharedTextureForAccess( vr::glSharedTextureHandle_t glSharedTextureHandle ) = 0; + + /** [Vulkan Only] + * return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing + * null. The string will be a space separated list of-required instance extensions to enable in VkCreateInstance */ + virtual uint32_t GetVulkanInstanceExtensionsRequired( VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0; + + /** [Vulkan only] + * return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing + * null. The string will be a space separated list of required device extensions to enable in VkCreateDevice */ + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *pPhysicalDevice, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0; + + /** [ Vulkan/D3D12 Only ] + * There are two purposes for SetExplicitTimingMode: + * 1. To get a more accurate GPU timestamp for when the frame begins in Vulkan/D3D12 applications. + * 2. (Optional) To avoid having WaitGetPoses access the Vulkan queue so that the queue can be accessed from + * another thread while WaitGetPoses is executing. + * + * More accurate GPU timestamp for the start of the frame is achieved by the application calling + * SubmitExplicitTimingData immediately before its first submission to the Vulkan/D3D12 queue. + * This is more accurate because normally this GPU timestamp is recorded during WaitGetPoses. In D3D11, + * WaitGetPoses queues a GPU timestamp write, but it does not actually get submitted to the GPU until the + * application flushes. By using SubmitExplicitTimingData, the timestamp is recorded at the same place for + * Vulkan/D3D12 as it is for D3D11, resulting in a more accurate GPU time measurement for the frame. + * + * Avoiding WaitGetPoses accessing the Vulkan queue can be achieved using SetExplicitTimingMode as well. If this is desired, + * the application should set the timing mode to Explicit_ApplicationPerformsPostPresentHandoff and *MUST* call PostPresentHandoff + * itself. If these conditions are met, then WaitGetPoses is guaranteed not to access the queue. Note that PostPresentHandoff + * and SubmitExplicitTimingData will access the queue, so only WaitGetPoses becomes safe for accessing the queue from another + * thread. */ + virtual void SetExplicitTimingMode( EVRCompositorTimingMode eTimingMode ) = 0; + + /** [ Vulkan/D3D12 Only ] + * Submit explicit timing data. When SetExplicitTimingMode is true, this must be called immediately before + * the application's first vkQueueSubmit (Vulkan) or ID3D12CommandQueue::ExecuteCommandLists (D3D12) of each frame. + * This function will insert a GPU timestamp write just before the application starts its rendering. This function + * will perform a vkQueueSubmit on Vulkan so must not be done simultaneously with VkQueue operations on another thread. + * Returns VRCompositorError_RequestFailed if SetExplicitTimingMode is not enabled. */ + virtual EVRCompositorError SubmitExplicitTimingData() = 0; + + /** Indicates whether or not motion smoothing is enabled by the user settings. + * If you want to know if motion smoothing actually triggered due to a late frame, check Compositor_FrameTiming + * m_nReprojectionFlags & VRCompositor_ReprojectionMotion instead. */ + virtual bool IsMotionSmoothingEnabled() = 0; + + /** Indicates whether or not motion smoothing is supported by the current hardware. */ + virtual bool IsMotionSmoothingSupported() = 0; + + /** Indicates whether or not the current scene focus app is currently loading. This is inferred from its use of FadeGrid to + * explicitly fade to the compositor to cover up the fact that it cannot render at a sustained full framerate during this time. */ + virtual bool IsCurrentSceneFocusAppLoading() = 0; + + /** Override the stage model used in the compositor to replace the grid. RenderModelPath is a full path the an OBJ file to load. + * This file will be loaded asynchronously from disk and uploaded to the gpu by the runtime. Once ready for rendering, the + * VREvent StageOverrideReady will be sent. Use FadeToGrid to reveal. Call ClearStageOverride to free the associated resources when finished. */ + virtual EVRCompositorError SetStageOverride_Async( const char *pchRenderModelPath, const HmdMatrix34_t *pTransform = 0, + const Compositor_StageRenderSettings *pRenderSettings = 0, uint32_t nSizeOfRenderSettings = 0 ) = 0; + + /** Resets the stage to its default user specified setting. */ + virtual void ClearStageOverride() = 0; + + /** Returns true if pBenchmarkResults is filled it. Sets pBenchmarkResults with the result of the compositor benchmark. + * nSizeOfBenchmarkResults should be set to sizeof(Compositor_BenchmarkResults) */ + virtual bool GetCompositorBenchmarkResults( Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults ) = 0; + + /** Returns the frame id associated with the poses last returned by WaitGetPoses. Deltas between IDs correspond to number of headset vsync intervals. */ + virtual EVRCompositorError GetLastPosePredictionIDs( uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID ) = 0; + + /** Get the most up-to-date predicted (or recorded - up to 100ms old) set of poses for a given frame id. */ + virtual EVRCompositorError GetPosesForFrame( uint32_t unPosePredictionID, VR_ARRAY_COUNT( unPoseArrayCount ) TrackedDevicePose_t* pPoseArray, uint32_t unPoseArrayCount ) = 0; +}; + +static const char * const IVRCompositor_Version = "IVRCompositor_027"; + +} // namespace vr + + + +// ivrheadsetview.h + +namespace vr +{ + enum HeadsetViewMode_t + { + HeadsetViewMode_Left = 0, + HeadsetViewMode_Right, + HeadsetViewMode_Both + }; + + class IVRHeadsetView + { + public: + /** Sets the resolution in pixels to render the headset view. These values are clamped to k_unHeadsetViewMaxWidth + * and k_unHeadsetViewMaxHeight respectively. For cropped views, the rendered output will be fit to aspect ratio + * defined by the the specified dimensions. For uncropped views, the caller should use GetHeadsetViewAspectRation + * to adjust the requested render size to avoid squashing or stretching, and then apply letterboxing to compensate + * when displaying the results. */ + virtual void SetHeadsetViewSize( uint32_t nWidth, uint32_t nHeight ) = 0; + + /** Gets the current resolution used to render the headset view. */ + virtual void GetHeadsetViewSize( uint32_t *pnWidth, uint32_t *pnHeight ) = 0; + + /** Set the mode used to render the headset view. */ + virtual void SetHeadsetViewMode( HeadsetViewMode_t eHeadsetViewMode ) = 0; + + /** Get the current mode used to render the headset view. */ + virtual HeadsetViewMode_t GetHeadsetViewMode() = 0; + + /** Set whether or not the headset view should be rendered cropped to hide the hidden area mesh or not. */ + virtual void SetHeadsetViewCropped( bool bCropped ) = 0; + + /** Get the current cropping status of the headset view. */ + virtual bool GetHeadsetViewCropped() = 0; + + /** Get the aspect ratio (width:height) of the uncropped headset view (accounting for the current set mode). */ + virtual float GetHeadsetViewAspectRatio() = 0; + + /** Set the range [0..1] that the headset view blends across the stereo overlapped area in cropped both mode. */ + virtual void SetHeadsetViewBlendRange( float flStartPct, float flEndPct ) = 0; + + /** Get the current range [0..1] that the headset view blends across the stereo overlapped area in cropped both mode. */ + virtual void GetHeadsetViewBlendRange( float *pStartPct, float *pEndPct ) = 0; + }; + + static const uint32_t k_unHeadsetViewMaxWidth = 3840; + static const uint32_t k_unHeadsetViewMaxHeight = 2160; + static const char * const k_pchHeadsetViewOverlayKey = "system.HeadsetView"; + + static const char * const IVRHeadsetView_Version = "IVRHeadsetView_001"; + + /** Returns the current IVRHeadsetView pointer or NULL the interface could not be found. */ + VR_INTERFACE vr::IVRHeadsetView *VR_CALLTYPE VRHeadsetView(); + +} // namespace vr + + +// ivrnotifications.h + +namespace vr +{ + +#pragma pack( push, 8 ) + +// Used for passing graphic data +struct NotificationBitmap_t +{ + NotificationBitmap_t() + : m_pImageData( nullptr ) + , m_nWidth( 0 ) + , m_nHeight( 0 ) + , m_nBytesPerPixel( 0 ) + { + } + + void *m_pImageData; + int32_t m_nWidth; + int32_t m_nHeight; + int32_t m_nBytesPerPixel; +}; + + +/** Be aware that the notification type is used as 'priority' to pick the next notification */ +enum EVRNotificationType +{ + /** Transient notifications are automatically hidden after a period of time set by the user. + * They are used for things like information and chat messages that do not require user interaction. */ + EVRNotificationType_Transient = 0, + + /** Persistent notifications are shown to the user until they are hidden by calling RemoveNotification(). + * They are used for things like phone calls and alarms that require user interaction. */ + EVRNotificationType_Persistent = 1, + + /** System notifications are shown no matter what. It is expected, that the ulUserValue is used as ID. + * If there is already a system notification in the queue with that ID it is not accepted into the queue + * to prevent spamming with system notification */ + EVRNotificationType_Transient_SystemWithUserValue = 2, +}; + +enum EVRNotificationStyle +{ + /** Creates a notification with minimal external styling. */ + EVRNotificationStyle_None = 0, + + /** Used for notifications about overlay-level status. In Steam this is used for events like downloads completing. */ + EVRNotificationStyle_Application = 100, + + /** Used for notifications about contacts that are unknown or not available. In Steam this is used for friend invitations and offline friends. */ + EVRNotificationStyle_Contact_Disabled = 200, + + /** Used for notifications about contacts that are available but inactive. In Steam this is used for friends that are online but not playing a game. */ + EVRNotificationStyle_Contact_Enabled = 201, + + /** Used for notifications about contacts that are available and active. In Steam this is used for friends that are online and currently running a game. */ + EVRNotificationStyle_Contact_Active = 202, +}; + +static const uint32_t k_unNotificationTextMaxSize = 256; + +typedef uint32_t VRNotificationId; + + + +#pragma pack( pop ) + +/** Allows notification sources to interact with the VR system. */ +class IVRNotifications +{ +public: + /** Create a notification and enqueue it to be shown to the user. + * An overlay handle is required to create a notification, as otherwise it would be impossible for a user to act on it. + * To create a two-line notification, use a line break ('\n') to split the text into two lines. + * The pImage argument may be NULL, in which case the specified overlay's icon will be used instead. */ + virtual EVRNotificationError CreateNotification( VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char *pchText, EVRNotificationStyle style, const NotificationBitmap_t *pImage, /* out */ VRNotificationId *pNotificationId ) = 0; + + /** Destroy a notification, hiding it first if it currently shown to the user. */ + virtual EVRNotificationError RemoveNotification( VRNotificationId notificationId ) = 0; + +}; + +static const char * const IVRNotifications_Version = "IVRNotifications_002"; + +} // namespace vr + + + +// ivroverlay.h + +namespace vr +{ + + /** The maximum length of an overlay key in bytes, counting the terminating null character. */ + static const uint32_t k_unVROverlayMaxKeyLength = 128; + + /** The maximum length of an overlay name in bytes, counting the terminating null character. */ + static const uint32_t k_unVROverlayMaxNameLength = 128; + + /** The maximum number of overlays that can exist in the system at one time. */ + static const uint32_t k_unMaxOverlayCount = 128; + + /** The maximum number of overlay intersection mask primitives per overlay */ + static const uint32_t k_unMaxOverlayIntersectionMaskPrimitivesCount = 32; + + /** Types of input supported by VR Overlays */ + enum VROverlayInputMethod + { + VROverlayInputMethod_None = 0, // No input events will be generated automatically for this overlay + VROverlayInputMethod_Mouse = 1, // Tracked controllers will get mouse events automatically + // VROverlayInputMethod_DualAnalog = 2, // No longer supported + }; + + /** Allows the caller to figure out which overlay transform getter to call. */ + enum VROverlayTransformType + { + VROverlayTransform_Invalid = -1, + VROverlayTransform_Absolute = 0, + VROverlayTransform_TrackedDeviceRelative = 1, + //VROverlayTransform_SystemOverlay = 2, // Deleted from the SDK. + VROverlayTransform_TrackedComponent = 3, + VROverlayTransform_Cursor = 4, + VROverlayTransform_DashboardTab = 5, + VROverlayTransform_DashboardThumb = 6, + VROverlayTransform_Mountable = 7, + VROverlayTransform_Projection = 8, + VROverlayTransform_Subview = 9, + }; + + /** Overlay control settings */ + enum VROverlayFlags + { + // Set this flag on a dashboard overlay to prevent a tab from showing up for that overlay + VROverlayFlags_NoDashboardTab = 1 << 3, + + // When this is set the overlay will receive VREvent_ScrollDiscrete events like a mouse wheel. + // Requires mouse input mode. + VROverlayFlags_SendVRDiscreteScrollEvents = 1 << 6, + + // Indicates that the overlay would like to receive + VROverlayFlags_SendVRTouchpadEvents = 1 << 7, + + // If set this will render a vertical scroll wheel on the primary controller, + // only needed if not using VROverlayFlags_SendVRScrollEvents but you still want to represent a scroll wheel + VROverlayFlags_ShowTouchPadScrollWheel = 1 << 8, + + // If this is set ownership and render access to the overlay are transferred + // to the new scene process on a call to IVRApplications::LaunchInternalProcess + VROverlayFlags_TransferOwnershipToInternalProcess = 1 << 9, + + // If set, renders 50% of the texture in each eye, side by side + VROverlayFlags_SideBySide_Parallel = 1 << 10, // Texture is left/right + VROverlayFlags_SideBySide_Crossed = 1 << 11, // Texture is crossed and right/left + + VROverlayFlags_Panorama = 1 << 12, // Texture is a panorama + VROverlayFlags_StereoPanorama = 1 << 13, // Texture is a stereo panorama + + // If this is set on an overlay owned by the scene application that overlay + // will be sorted with the "Other" overlays on top of all other scene overlays + VROverlayFlags_SortWithNonSceneOverlays = 1 << 14, + + // If set, the overlay will be shown in the dashboard, otherwise it will be hidden. + VROverlayFlags_VisibleInDashboard = 1 << 15, + + // If this is set and the overlay's input method is not none, the system-wide laser mouse + // mode will be activated whenever this overlay is visible. + VROverlayFlags_MakeOverlaysInteractiveIfVisible = 1 << 16, + + // If this is set the overlay will receive smooth VREvent_ScrollSmooth that emulate trackpad scrolling. + // Requires mouse input mode. + VROverlayFlags_SendVRSmoothScrollEvents = 1 << 17, + + // If this is set, the overlay texture will be protected content, preventing unauthorized reads. + VROverlayFlags_ProtectedContent = 1 << 18, + + // If this is set, the laser mouse splat will not be drawn over this overlay. The overlay will + // be responsible for drawing its own "cursor". + VROverlayFlags_HideLaserIntersection = 1 << 19, + + // If this is set, clicking away from the overlay will cause it to receive a VREvent_Modal_Cancel event. + // This is ignored for dashboard overlays. + VROverlayFlags_WantsModalBehavior = 1 << 20, + + // If this is set, alpha composition assumes the texture is pre-multiplied + VROverlayFlags_IsPremultiplied = 1 << 21, + + // If this is set, the alpha values of the overlay texture will be ignored + VROverlayFlags_IgnoreTextureAlpha = 1 << 22, + + // Do not use + VROverlayFlags_Reserved = 1 << 26, + }; + + enum VRMessageOverlayResponse + { + VRMessageOverlayResponse_ButtonPress_0 = 0, + VRMessageOverlayResponse_ButtonPress_1 = 1, + VRMessageOverlayResponse_ButtonPress_2 = 2, + VRMessageOverlayResponse_ButtonPress_3 = 3, + VRMessageOverlayResponse_CouldntFindSystemOverlay = 4, + VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay= 5, + VRMessageOverlayResponse_ApplicationQuit = 6 + }; + + struct VROverlayIntersectionParams_t + { + HmdVector3_t vSource; + HmdVector3_t vDirection; + ETrackingUniverseOrigin eOrigin; + }; + + struct VROverlayIntersectionResults_t + { + HmdVector3_t vPoint; + HmdVector3_t vNormal; + HmdVector2_t vUVs; + float fDistance; + }; + + // Input modes for the Big Picture gamepad text entry + enum EGamepadTextInputMode + { + k_EGamepadTextInputModeNormal = 0, + k_EGamepadTextInputModePassword = 1, + k_EGamepadTextInputModeSubmit = 2, + }; + + // Controls number of allowed lines for the Big Picture gamepad text entry + enum EGamepadTextInputLineMode + { + k_EGamepadTextInputLineModeSingleLine = 0, + k_EGamepadTextInputLineModeMultipleLines = 1 + }; + + enum EVROverlayIntersectionMaskPrimitiveType + { + OverlayIntersectionPrimitiveType_Rectangle, + OverlayIntersectionPrimitiveType_Circle, + }; + + struct IntersectionMaskRectangle_t + { + float m_flTopLeftX; + float m_flTopLeftY; + float m_flWidth; + float m_flHeight; + }; + + struct IntersectionMaskCircle_t + { + float m_flCenterX; + float m_flCenterY; + float m_flRadius; + }; + + /** NOTE!!! If you change this you MUST manually update openvr_interop.cs.py and openvr_api_flat.h.py */ + typedef union + { + IntersectionMaskRectangle_t m_Rectangle; + IntersectionMaskCircle_t m_Circle; + } VROverlayIntersectionMaskPrimitive_Data_t; + + struct VROverlayIntersectionMaskPrimitive_t + { + EVROverlayIntersectionMaskPrimitiveType m_nPrimitiveType; + VROverlayIntersectionMaskPrimitive_Data_t m_Primitive; + }; + + enum EKeyboardFlags + { + KeyboardFlag_Minimal = 1 << 0, // makes the keyboard send key events immediately instead of accumulating a buffer + KeyboardFlag_Modal = 2 << 0, // makes the keyboard take all focus and dismiss when clicking off the panel + }; + + /** Defines the project used in an overlay that is using SetOverlayTransformProjection */ + struct VROverlayProjection_t + { + /** Tangent of the sides of the frustum */ + float fLeft; + float fRight; + float fTop; + float fBottom; + }; + + class IVROverlay + { + public: + + // --------------------------------------------- + // Overlay management methods + // --------------------------------------------- + + /** Finds an existing overlay with the specified key. */ + virtual EVROverlayError FindOverlay( const char *pchOverlayKey, VROverlayHandle_t * pOverlayHandle ) = 0; + + /** Creates a new named overlay. All overlays start hidden and with default settings. */ + virtual EVROverlayError CreateOverlay( const char *pchOverlayKey, const char *pchOverlayName, VROverlayHandle_t * pOverlayHandle ) = 0; + + /** Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are + * automatically destroyed. */ + virtual EVROverlayError DestroyOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including + * the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string. */ + virtual uint32_t GetOverlayKey( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) = 0; + + /** Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including + * the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string. */ + virtual uint32_t GetOverlayName( VROverlayHandle_t ulOverlayHandle, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize, EVROverlayError *pError = 0L ) = 0; + + /** set the name to use for this overlay */ + virtual EVROverlayError SetOverlayName( VROverlayHandle_t ulOverlayHandle, const char *pchName ) = 0; + + /** Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height + * will be set and VROverlayError_ArrayTooSmall is returned. */ + virtual EVROverlayError GetOverlayImageData( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight ) = 0; + + /** returns a string that corresponds with the specified overlay error. The string will be the name + * of the error enum value for all valid error codes */ + virtual const char *GetOverlayErrorNameFromEnum( EVROverlayError error ) = 0; + + // --------------------------------------------- + // Overlay rendering methods + // --------------------------------------------- + + /** Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render), + * by default this is the pid of the process that made the overlay */ + virtual EVROverlayError SetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle, uint32_t unPID ) = 0; + + /** Gets the pid that is allowed to render to this overlay */ + virtual uint32_t GetOverlayRenderingPid( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Specify flag setting for a given overlay */ + virtual EVROverlayError SetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled ) = 0; + + /** Sets flag setting for a given overlay */ + virtual EVROverlayError GetOverlayFlag( VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool *pbEnabled ) = 0; + + /** Gets all the flags for a given overlay */ + virtual EVROverlayError GetOverlayFlags( VROverlayHandle_t ulOverlayHandle, uint32_t *pFlags ) = 0; + + /** Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel. */ + virtual EVROverlayError SetOverlayColor( VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue ) = 0; + + /** Gets the color tint of the overlay quad. */ + virtual EVROverlayError GetOverlayColor( VROverlayHandle_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue ) = 0; + + /** Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity. */ + virtual EVROverlayError SetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float fAlpha ) = 0; + + /** Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0). */ + virtual EVROverlayError GetOverlayAlpha( VROverlayHandle_t ulOverlayHandle, float *pfAlpha ) = 0; + + /** Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels + * are twice as wide as they are tall. Defaults to 1.0. */ + virtual EVROverlayError SetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float fTexelAspect ) = 0; + + /** Gets the aspect ratio of the texels in the overlay. Defaults to 1.0 */ + virtual EVROverlayError GetOverlayTexelAspect( VROverlayHandle_t ulOverlayHandle, float *pfTexelAspect ) = 0; + + /** Sets the rendering sort order for the overlay. Overlays are rendered this order: + * Overlays owned by the scene application + * Overlays owned by some other application + * + * Within a category overlays are rendered lowest sort order to highest sort order. Overlays with the same + * sort order are rendered back to front base on distance from the HMD. + * + * Subview overlays are always drawn immediately on top of their parent overlay, and the sort order is + * only relative to their peer subviews for that overlay. + * + * Sort order defaults to 0. */ + virtual EVROverlayError SetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder ) = 0; + + /** Gets the sort order of the overlay. See SetOverlaySortOrder for how this works. */ + virtual EVROverlayError GetOverlaySortOrder( VROverlayHandle_t ulOverlayHandle, uint32_t *punSortOrder ) = 0; + + /** Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */ + virtual EVROverlayError SetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float fWidthInMeters ) = 0; + + /** Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across */ + virtual EVROverlayError GetOverlayWidthInMeters( VROverlayHandle_t ulOverlayHandle, float *pfWidthInMeters ) = 0; + + /** Use to draw overlay as a curved surface. Curvature is a percentage from (0..1] where 1 is a fully closed cylinder. + * For a specific radius, curvature can be computed as: overlay.width / (2 PI r). */ + virtual EVROverlayError SetOverlayCurvature( VROverlayHandle_t ulOverlayHandle, float fCurvature ) = 0; + + /** Returns the curvature of the overlay as a percentage from (0..1] where 1 is a fully closed cylinder. */ + virtual EVROverlayError GetOverlayCurvature( VROverlayHandle_t ulOverlayHandle, float *pfCurvature ) = 0; + + /** Sets the pitch angle (in radians) of the overlay before curvature is applied -- to form a fan or disk. */ + virtual EVROverlayError SetOverlayPreCurvePitch( VROverlayHandle_t ulOverlayHandle, float fRadians ) = 0; + + /** Returns the overlay's set pre-curve pitch angle (in radians). */ + virtual EVROverlayError GetOverlayPreCurvePitch( VROverlayHandle_t ulOverlayHandle, float *pfRadians ) = 0; + + /** Sets the colorspace the overlay texture's data is in. Defaults to 'auto'. + * If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead. */ + virtual EVROverlayError SetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace ) = 0; + + /** Gets the overlay's current colorspace setting. */ + virtual EVROverlayError GetOverlayTextureColorSpace( VROverlayHandle_t ulOverlayHandle, EColorSpace *peTextureColorSpace ) = 0; + + /** Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */ + virtual EVROverlayError SetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds ) = 0; + + /** Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner. */ + virtual EVROverlayError GetOverlayTextureBounds( VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds ) = 0; + + /** Returns the transform type of this overlay. */ + virtual EVROverlayError GetOverlayTransformType( VROverlayHandle_t ulOverlayHandle, VROverlayTransformType *peTransformType ) = 0; + + /** Sets the transform to absolute tracking origin. */ + virtual EVROverlayError SetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) = 0; + + /** Gets the transform if it is absolute. Returns an error if the transform is some other type. */ + virtual EVROverlayError GetOverlayTransformAbsolute( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform ) = 0; + + /** Sets the transform to relative to the transform of the specified tracked device. */ + virtual EVROverlayError SetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) = 0; + + /** Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type. */ + virtual EVROverlayError GetOverlayTransformTrackedDeviceRelative( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform ) = 0; + + /** Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is + * drawing the device. Overlays with this transform type cannot receive mouse events. */ + virtual EVROverlayError SetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char *pchComponentName ) = 0; + + /** Gets the transform information when the overlay is rendering on a component. */ + virtual EVROverlayError GetOverlayTransformTrackedDeviceComponent( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t *punDeviceIndex, VR_OUT_STRING() char *pchComponentName, uint32_t unComponentNameSize ) = 0; + + /** Sets the hotspot for the specified overlay when that overlay is used as a cursor. These are in texture space with 0,0 in the upper left corner of + * the texture and 1,1 in the lower right corner of the texture. */ + virtual EVROverlayError SetOverlayTransformCursor( VROverlayHandle_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot ) = 0; + + /** Gets cursor hotspot/transform for the specified overlay */ + virtual vr::EVROverlayError GetOverlayTransformCursor( VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvHotspot ) = 0; + + /** Sets the overlay as a projection overlay */ + virtual vr::EVROverlayError SetOverlayTransformProjection( VROverlayHandle_t ulOverlayHandle, + ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t* pmatTrackingOriginToOverlayTransform, + const VROverlayProjection_t *pProjection, vr::EVREye eEye ) = 0; + + /** Shows the VR overlay. For dashboard overlays, only the Dashboard Manager is allowed to call this. */ + virtual EVROverlayError ShowOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Hides the VR overlay. For dashboard overlays, only the Dashboard Manager is allowed to call this. */ + virtual EVROverlayError HideOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Returns true if the overlay is visible. */ + virtual bool IsOverlayVisible( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay */ + virtual EVROverlayError GetTransformForOverlayCoordinates( VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform ) = 0; + + /** This function will block until the top of each frame, and can therefore be used to synchronize with the runtime's update rate. + * Note: In non-async mode, some signals may be dropped due to scene app performance, so passing a timeout of 1000/refresh rate + * may be useful depending on the overlay app's desired behavior. */ + virtual EVROverlayError WaitFrameSync( uint32_t nTimeoutMs ) = 0; + + // --------------------------------------------- + // Overlay input methods + // --------------------------------------------- + + /** Returns true and fills the event with the next event on the overlay's event queue, if there is one. + * If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct */ + virtual bool PollNextOverlayEvent( VROverlayHandle_t ulOverlayHandle, VREvent_t *pEvent, uint32_t uncbVREvent ) = 0; + + /** Returns the current input settings for the specified overlay. */ + virtual EVROverlayError GetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod *peInputMethod ) = 0; + + /** Sets the input settings for the specified overlay. */ + virtual EVROverlayError SetOverlayInputMethod( VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod ) = 0; + + /** Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is + * typically the size of the underlying UI in pixels. */ + virtual EVROverlayError GetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, HmdVector2_t *pvecMouseScale ) = 0; + + /** Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is + * typically the size of the underlying UI in pixels (not in world space). */ + virtual EVROverlayError SetOverlayMouseScale( VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale ) = 0; + + /** Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the + * specified settings. Returns false if there is no intersection. */ + virtual bool ComputeOverlayIntersection( VROverlayHandle_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults ) = 0; + + /** Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay "moused over" + * by the virtual mouse pointer */ + virtual bool IsHoverTargetOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Sets a list of primitives to be used for controller ray intersection + * typically the size of the underlying UI in pixels (not in world space). */ + virtual EVROverlayError SetOverlayIntersectionMask( VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize = sizeof( VROverlayIntersectionMaskPrimitive_t ) ) = 0; + + /** Triggers a haptic event on the laser mouse controller for the specified overlay */ + virtual EVROverlayError TriggerLaserMouseHapticVibration( VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude ) = 0; + + /** Sets the cursor to use for the specified overlay. This will be drawn instead of the generic blob when the laser mouse is pointed at the specified overlay */ + virtual EVROverlayError SetOverlayCursor( VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle ) = 0; + + /** Sets the override cursor position to use for this overlay in overlay mouse coordinates. This position will be used to draw the cursor + * instead of whatever the laser mouse cursor position is. */ + virtual EVROverlayError SetOverlayCursorPositionOverride( VROverlayHandle_t ulOverlayHandle, const HmdVector2_t *pvCursor ) = 0; + + /** Clears the override cursor position for this overlay */ + virtual EVROverlayError ClearOverlayCursorPositionOverride( VROverlayHandle_t ulOverlayHandle ) = 0; + + // --------------------------------------------- + // Overlay texture methods + // --------------------------------------------- + + /** Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) . + * + * OpenGL dirty state: + * glBindTexture + */ + virtual EVROverlayError SetOverlayTexture( VROverlayHandle_t ulOverlayHandle, const Texture_t *pTexture ) = 0; + + /** Use this to tell the overlay system to release the texture set for this overlay. */ + virtual EVROverlayError ClearOverlayTexture( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Separate interface for providing the data as a stream of bytes, but there is an upper bound on data + * that can be sent. This function can only be called by the overlay's renderer process. */ + virtual EVROverlayError SetOverlayRaw( VROverlayHandle_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel ) = 0; + + /** Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080. + * This function can only be called by the overlay's renderer process */ + virtual EVROverlayError SetOverlayFromFile( VROverlayHandle_t ulOverlayHandle, const char *pchFilePath ) = 0; + + /** Get the native texture handle/device for an overlay you have created. + * On windows this handle will be a ID3D11ShaderResourceView with a ID3D11Texture2D bound. + * + * The texture will always be sized to match the backing texture you supplied in SetOverlayTexture above. + * + * You MUST call ReleaseNativeOverlayHandle() with pNativeTextureHandle once you are done with this texture. + * + * pNativeTextureHandle is an OUTPUT, it will be a pointer to a ID3D11ShaderResourceView *. + * pNativeTextureRef is an INPUT and should be a ID3D11Resource *. The device used by pNativeTextureRef will be used to bind pNativeTextureHandle. + */ + virtual EVROverlayError GetOverlayTexture( VROverlayHandle_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, ETextureType *pAPIType, EColorSpace *pColorSpace, VRTextureBounds_t *pTextureBounds ) = 0; + + /** Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object, + * so only do it once you stop rendering this texture. + */ + virtual EVROverlayError ReleaseNativeOverlayHandle( VROverlayHandle_t ulOverlayHandle, void *pNativeTextureHandle ) = 0; + + /** Get the size of the overlay texture */ + virtual EVROverlayError GetOverlayTextureSize( VROverlayHandle_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight ) = 0; + + // ---------------------------------------------- + // Dashboard Overlay Methods + // ---------------------------------------------- + + /** Creates a dashboard overlay and returns its handle */ + virtual EVROverlayError CreateDashboardOverlay( const char *pchOverlayKey, const char *pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t *pThumbnailHandle ) = 0; + + /** Returns true if the dashboard is visible */ + virtual bool IsDashboardVisible() = 0; + + /** returns true if the dashboard is visible and the specified overlay is the active system Overlay */ + virtual bool IsActiveDashboardOverlay( VROverlayHandle_t ulOverlayHandle ) = 0; + + /** Sets the dashboard overlay to only appear when the specified process ID has scene focus */ + virtual EVROverlayError SetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId ) = 0; + + /** Gets the process ID that this dashboard overlay requires to have scene focus */ + virtual EVROverlayError GetDashboardOverlaySceneProcess( VROverlayHandle_t ulOverlayHandle, uint32_t *punProcessId ) = 0; + + /** Shows the dashboard. */ + virtual void ShowDashboard( const char *pchOverlayToShow ) = 0; + + /** Returns the tracked device that has the laser pointer in the dashboard */ + virtual vr::TrackedDeviceIndex_t GetPrimaryDashboardDevice() = 0; + + // --------------------------------------------- + // Keyboard methods + // --------------------------------------------- + + /** Show the virtual keyboard to accept input. In most cases, you should pass KeyboardFlag_Modal to enable modal overlay + * behavior on the keyboard itself. See EKeyboardFlags for more. */ + virtual EVROverlayError ShowKeyboard( EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, + const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue ) = 0; + + /** Show the virtual keyboard to accept input for an overlay. In most cases, you should pass KeyboardFlag_Modal to enable modal + * overlay behavior on the keyboard itself. See EKeyboardFlags for more. */ + virtual EVROverlayError ShowKeyboardForOverlay( VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, + EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, + const char *pchExistingText, uint64_t uUserValue ) = 0; + + /** Get the text that was entered into the text input **/ + virtual uint32_t GetKeyboardText( VR_OUT_STRING() char *pchText, uint32_t cchText ) = 0; + + /** Hide the virtual keyboard **/ + virtual void HideKeyboard() = 0; + + /** Set the position of the keyboard in world space **/ + virtual void SetKeyboardTransformAbsolute( ETrackingUniverseOrigin eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform ) = 0; + + /** Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left **/ + virtual void SetKeyboardPositionForOverlay( VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect ) = 0; + + // --------------------------------------------- + // Message box methods + // --------------------------------------------- + + /** Show the message overlay. This will block and return you a result. **/ + virtual VRMessageOverlayResponse ShowMessageOverlay( const char* pchText, const char* pchCaption, const char* pchButton0Text, const char* pchButton1Text = nullptr, const char* pchButton2Text = nullptr, const char* pchButton3Text = nullptr ) = 0; + + /** If the calling process owns the overlay and it's open, this will close it. **/ + virtual void CloseMessageOverlay() = 0; + }; + + static const char * const IVROverlay_Version = "IVROverlay_027"; + +} // namespace vr + +// ivroverlayview.h + +namespace vr +{ + struct VROverlayView_t + { + VROverlayHandle_t overlayHandle; + Texture_t texture; + VRTextureBounds_t textureBounds; + }; + + enum EDeviceType + { + DeviceType_Invalid = -1, // Invalid handle + DeviceType_DirectX11 = 0, // Handle is an ID3D11Device + DeviceType_Vulkan = 1, // Handle is a pointer to a VRVulkanDevice_t structure + }; + + struct VRVulkanDevice_t + { + VkInstance_T *m_pInstance; + VkDevice_T *m_pDevice; + VkPhysicalDevice_T *m_pPhysicalDevice; + VkQueue_T *m_pQueue; + uint32_t m_uQueueFamilyIndex; + }; + + struct VRNativeDevice_t + { + void *handle; // See EDeviceType definition above + EDeviceType eType; + }; + + class IVROverlayView + { + public: + /** Acquire an OverlayView_t from an overlay handle + * + * The overlay view can be used to sample the contents directly by a native API. The + * contents of the OverlayView_t will remain unchanged through the lifetime of the + * OverlayView_t. + * + * The caller acquires read privileges over the OverlayView_t, but should not + * write to it. + * + * AcquireOverlayView() may be called on the same ulOverlayHandle multiple times to + * refresh the image contents. In this case the caller is strongly encouraged to re-use + * the same pOverlayView for all re-acquisition calls. + * + * If the producer has not yet queued an image, AcquireOverlayView will return success, + * and the Texture_t will have the expected ETextureType. However, the Texture_t->handle + * will be nullptr. Once the producer generates the first overlay frame, Texture_t->handle + * will become a valid handle. + */ + virtual EVROverlayError AcquireOverlayView(VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t *pNativeDevice, VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize ) = 0; + + /** Release an acquired OverlayView_t + * + * Denotes that pOverlayView will no longer require access to the resources it acquired in + * all previous calls to AcquireOverlayView(). + * + * All OverlayView_t*'s provided to AcquireOverlayView() as pOverlayViews must be + * passed into ReleaseOverlayView() in order for the underlying GPU resources to be freed. + */ + virtual EVROverlayError ReleaseOverlayView(VROverlayView_t *pOverlayView) = 0; + + /** Posts an overlay event */ + virtual void PostOverlayEvent(VROverlayHandle_t ulOverlayHandle, const VREvent_t *pvrEvent) = 0; + + /** Determines whether this process is permitted to view an overlay's content. */ + virtual bool IsViewingPermitted( VROverlayHandle_t ulOverlayHandle ) = 0; + + }; + + static const char * const IVROverlayView_Version = "IVROverlayView_003"; + +} + +// ivrrendermodels.h + +namespace vr +{ + +static const char * const k_pch_Controller_Component_GDC2015 = "gdc2015"; // Canonical coordinate system of the gdc 2015 wired controller, provided for backwards compatibility +static const char * const k_pch_Controller_Component_Base = "base"; // For controllers with an unambiguous 'base'. +static const char * const k_pch_Controller_Component_Tip = "tip"; // For controllers with an unambiguous 'tip' (used for 'laser-pointing') +static const char * const k_pch_Controller_Component_HandGrip = "handgrip"; // Neutral, ambidextrous hand-pose when holding controller. On plane between neutrally posed index finger and thumb +static const char * const k_pch_Controller_Component_Status = "status"; // 1:1 aspect ratio status area, with canonical [0,1] uv mapping + +#pragma pack( push, 8 ) + +/** Errors that can occur with the VR compositor */ +enum EVRRenderModelError +{ + VRRenderModelError_None = 0, + VRRenderModelError_Loading = 100, + VRRenderModelError_NotSupported = 200, + VRRenderModelError_InvalidArg = 300, + VRRenderModelError_InvalidModel = 301, + VRRenderModelError_NoShapes = 302, + VRRenderModelError_MultipleShapes = 303, + VRRenderModelError_TooManyVertices = 304, + VRRenderModelError_MultipleTextures = 305, + VRRenderModelError_BufferTooSmall = 306, + VRRenderModelError_NotEnoughNormals = 307, + VRRenderModelError_NotEnoughTexCoords = 308, + + VRRenderModelError_InvalidTexture = 400, +}; + +enum EVRRenderModelTextureFormat +{ + VRRenderModelTextureFormat_RGBA8_SRGB = 0, // RGBA with 8 bits per channel per pixel. Data size is width * height * 4ub + VRRenderModelTextureFormat_BC2, + VRRenderModelTextureFormat_BC4, + VRRenderModelTextureFormat_BC7, + VRRenderModelTextureFormat_BC7_SRGB, + VRRenderModelTextureFormat_RGBA16_FLOAT, +}; + +/** A single vertex in a render model */ +struct RenderModel_Vertex_t +{ + HmdVector3_t vPosition; // position in meters in device space + HmdVector3_t vNormal; + float rfTextureCoord[2]; +}; + +/** A texture map for use on a render model */ +#if defined(__linux__) || defined(__APPLE__) +// This structure was originally defined mis-packed on Linux, preserved for +// compatibility. +#pragma pack( push, 4 ) +#endif + +struct RenderModel_TextureMap_t +{ + uint16_t unWidth, unHeight; // width and height of the texture map in pixels + const uint8_t *rubTextureMapData; // Map texture data. + EVRRenderModelTextureFormat format; // Refer to EVRRenderModelTextureFormat + uint16_t unMipLevels; +}; +#if defined(__linux__) || defined(__APPLE__) +#pragma pack( pop ) +#endif + +/** Session unique texture identifier. Rendermodels which share the same texture will have the same id. +IDs <0 denote the texture is not present */ + +typedef int32_t TextureID_t; + +const TextureID_t INVALID_TEXTURE_ID = -1; + +#if defined(__linux__) || defined(__APPLE__) +// This structure was originally defined mis-packed on Linux, preserved for +// compatibility. +#pragma pack( push, 4 ) +#endif + +struct RenderModel_t +{ + const RenderModel_Vertex_t *rVertexData; // Vertex data for the mesh + uint32_t unVertexCount; // Number of vertices in the vertex data + const uint16_t *rIndexData; // Indices into the vertex data for each triangle + uint32_t unTriangleCount; // Number of triangles in the mesh. Index count is 3 * TriangleCount + TextureID_t diffuseTextureId; // Session unique texture identifier. Rendermodels which share the same texture will have the same id. <0 == texture not present +}; +#if defined(__linux__) || defined(__APPLE__) +#pragma pack( pop ) +#endif + + +struct RenderModel_ControllerMode_State_t +{ + bool bScrollWheelVisible; // is this controller currently set to be in a scroll wheel mode +}; + +#pragma pack( pop ) + +class IVRRenderModels +{ +public: + + /** Loads and returns a render model for use in the application. pchRenderModelName should be a render model name + * from the Prop_RenderModelName_String property or an absolute path name to a render model on disk. + * + * The resulting render model is valid until VR_Shutdown() is called or until FreeRenderModel() is called. When the + * application is finished with the render model it should call FreeRenderModel() to free the memory associated + * with the model. + * + * The method returns VRRenderModelError_Loading while the render model is still being loaded. + * The method returns VRRenderModelError_None once loaded successfully, otherwise will return an error. */ + virtual EVRRenderModelError LoadRenderModel_Async( const char *pchRenderModelName, RenderModel_t **ppRenderModel ) = 0; + + /** Frees a previously returned render model + * It is safe to call this on a null ptr. */ + virtual void FreeRenderModel( RenderModel_t *pRenderModel ) = 0; + + /** Loads and returns a texture for use in the application. */ + virtual EVRRenderModelError LoadTexture_Async( TextureID_t textureId, RenderModel_TextureMap_t **ppTexture ) = 0; + + /** Frees a previously returned texture + * It is safe to call this on a null ptr. */ + virtual void FreeTexture( RenderModel_TextureMap_t *pTexture ) = 0; + + /** Creates a D3D11 texture and loads data into it. */ + virtual EVRRenderModelError LoadTextureD3D11_Async( TextureID_t textureId, void *pD3D11Device, void **ppD3D11Texture2D ) = 0; + + /** Helper function to copy the bits into an existing texture. */ + virtual EVRRenderModelError LoadIntoTextureD3D11_Async( TextureID_t textureId, void *pDstTexture ) = 0; + + /** Use this to free textures created with LoadTextureD3D11_Async instead of calling Release on them. */ + virtual void FreeTextureD3D11( void *pD3D11Texture2D ) = 0; + + /** Use this to get the names of available render models. Index does not correlate to a tracked device index, but + * is only used for iterating over all available render models. If the index is out of range, this function will return 0. + * Otherwise, it will return the size of the buffer required for the name. */ + virtual uint32_t GetRenderModelName( uint32_t unRenderModelIndex, VR_OUT_STRING() char *pchRenderModelName, uint32_t unRenderModelNameLen ) = 0; + + /** Returns the number of available render models. */ + virtual uint32_t GetRenderModelCount() = 0; + + + /** Returns the number of components of the specified render model. + * Components are useful when client application wish to draw, label, or otherwise interact with components of tracked objects. + * Examples controller components: + * renderable things such as triggers, buttons + * non-renderable things which include coordinate systems such as 'tip', 'base', a neutral controller agnostic hand-pose + * If all controller components are enumerated and rendered, it will be equivalent to drawing the traditional render model + * Returns 0 if components not supported, >0 otherwise */ + virtual uint32_t GetComponentCount( const char *pchRenderModelName ) = 0; + + /** Use this to get the names of available components. Index does not correlate to a tracked device index, but + * is only used for iterating over all available components. If the index is out of range, this function will return 0. + * Otherwise, it will return the size of the buffer required for the name. */ + virtual uint32_t GetComponentName( const char *pchRenderModelName, uint32_t unComponentIndex, VR_OUT_STRING( ) char *pchComponentName, uint32_t unComponentNameLen ) = 0; + + /** Get the button mask for all buttons associated with this component + * If no buttons (or axes) are associated with this component, return 0 + * Note: multiple components may be associated with the same button. Ex: two grip buttons on a single controller. + * Note: A single component may be associated with multiple buttons. Ex: A trackpad which also provides "D-pad" functionality */ + virtual uint64_t GetComponentButtonMask( const char *pchRenderModelName, const char *pchComponentName ) = 0; + + /** Use this to get the render model name for the specified rendermode/component combination, to be passed to LoadRenderModel. + * If the component name is out of range, this function will return 0. + * Otherwise, it will return the size of the buffer required for the name. */ + virtual uint32_t GetComponentRenderModelName( const char *pchRenderModelName, const char *pchComponentName, VR_OUT_STRING( ) char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen ) = 0; + + /** Use this to query information about the component, as a function of the controller state. + * + * For dynamic controller components (ex: trigger) values will reflect component motions + * For static components this will return a consistent value independent of the VRControllerState_t + * + * If the pchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity). + * Otherwise, return true + * Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode state ) */ + virtual bool GetComponentStateForDevicePath( const char *pchRenderModelName, const char *pchComponentName, vr::VRInputValueHandle_t devicePath, const vr::RenderModel_ControllerMode_State_t *pState, vr::RenderModel_ComponentState_t *pComponentState ) = 0; + + /** This version of GetComponentState takes a controller state block instead of an action origin. This function is deprecated. You should use the new input system and GetComponentStateForDevicePath instead. */ + virtual bool GetComponentState( const char *pchRenderModelName, const char *pchComponentName, const vr::VRControllerState_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState ) = 0; + + /** Returns true if the render model has a component with the specified name */ + virtual bool RenderModelHasComponent( const char *pchRenderModelName, const char *pchComponentName ) = 0; + + /** Returns the URL of the thumbnail image for this rendermodel */ + virtual uint32_t GetRenderModelThumbnailURL( const char *pchRenderModelName, VR_OUT_STRING() char *pchThumbnailURL, uint32_t unThumbnailURLLen, vr::EVRRenderModelError *peError ) = 0; + + /** Provides a render model path that will load the unskinned model if the model name provided has been replace by the user. If the model + * hasn't been replaced the path value will still be a valid path to load the model. Pass this to LoadRenderModel_Async, etc. to load the + * model. */ + virtual uint32_t GetRenderModelOriginalPath( const char *pchRenderModelName, VR_OUT_STRING() char *pchOriginalPath, uint32_t unOriginalPathLen, vr::EVRRenderModelError *peError ) = 0; + + /** Returns a string for a render model error */ + virtual const char *GetRenderModelErrorNameFromEnum( vr::EVRRenderModelError error ) = 0; +}; + +static const char * const IVRRenderModels_Version = "IVRRenderModels_006"; + +} + + +// ivrextendeddisplay.h + +namespace vr +{ + + /** NOTE: Use of this interface is not recommended in production applications. It will not work for displays which use + * direct-to-display mode. Creating our own window is also incompatible with the VR compositor and is not available when the compositor is running. */ + class IVRExtendedDisplay + { + public: + + /** Size and position that the window needs to be on the VR display. */ + virtual void GetWindowBounds( int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0; + + /** Gets the viewport in the frame buffer to draw the output of the distortion into */ + virtual void GetEyeOutputViewport( EVREye eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight ) = 0; + + /** [D3D10/11 Only] + * Returns the adapter index and output index that the user should pass into EnumAdapters and EnumOutputs + * to create the device and swap chain in DX10 and DX11. If an error occurs both indices will be set to -1. + */ + virtual void GetDXGIOutputInfo( int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex ) = 0; + + }; + + static const char * const IVRExtendedDisplay_Version = "IVRExtendedDisplay_001"; + +} + + +// ivrtrackedcamera.h + +namespace vr +{ + +class IVRTrackedCamera +{ +public: + /** Returns a string for an error */ + virtual const char *GetCameraErrorNameFromEnum( vr::EVRTrackedCameraError eCameraError ) = 0; + + /** For convenience, same as tracked property request Prop_HasCamera_Bool */ + virtual vr::EVRTrackedCameraError HasCamera( vr::TrackedDeviceIndex_t nDeviceIndex, bool *pHasCamera ) = 0; + + /** Gets size of the image frame. */ + virtual vr::EVRTrackedCameraError GetCameraFrameSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize ) = 0; + + virtual vr::EVRTrackedCameraError GetCameraIntrinsics( vr::TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::HmdVector2_t *pFocalLength, vr::HmdVector2_t *pCenter ) = 0; + + virtual vr::EVRTrackedCameraError GetCameraProjection( vr::TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, vr::EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, vr::HmdMatrix44_t *pProjection ) = 0; + + /** Acquiring streaming service permits video streaming for the caller. Releasing hints the system that video services do not need to be maintained for this client. + * If the camera has not already been activated, a one time spin up may incur some auto exposure as well as initial streaming frame delays. + * The camera should be considered a global resource accessible for shared consumption but not exclusive to any caller. + * The camera may go inactive due to lack of active consumers or headset idleness. */ + virtual vr::EVRTrackedCameraError AcquireVideoStreamingService( vr::TrackedDeviceIndex_t nDeviceIndex, vr::TrackedCameraHandle_t *pHandle ) = 0; + virtual vr::EVRTrackedCameraError ReleaseVideoStreamingService( vr::TrackedCameraHandle_t hTrackedCamera ) = 0; + + /** Copies the image frame into a caller's provided buffer. The image data is currently provided as RGBA data, 4 bytes per pixel. + * A caller can provide null for the framebuffer or frameheader if not desired. Requesting the frame header first, followed by the frame buffer allows + * the caller to determine if the frame as advanced per the frame header sequence. + * If there is no frame available yet, due to initial camera spinup or re-activation, the error will be VRTrackedCameraError_NoFrameAvailable. + * Ideally a caller should be polling at ~16ms intervals */ + virtual vr::EVRTrackedCameraError GetVideoStreamFrameBuffer( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0; + + /** Gets size of the image frame. */ + virtual vr::EVRTrackedCameraError GetVideoStreamTextureSize( vr::TrackedDeviceIndex_t nDeviceIndex, vr::EVRTrackedCameraFrameType eFrameType, vr::VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight ) = 0; + + /** Access a shared D3D11 texture for the specified tracked camera stream. + * The camera frame type VRTrackedCameraFrameType_Undistorted is not supported directly as a shared texture. It is an interior subregion of the shared texture VRTrackedCameraFrameType_MaximumUndistorted. + * Instead, use GetVideoStreamTextureSize() with VRTrackedCameraFrameType_Undistorted to determine the proper interior subregion bounds along with GetVideoStreamTextureD3D11() with + * VRTrackedCameraFrameType_MaximumUndistorted to provide the texture. The VRTrackedCameraFrameType_MaximumUndistorted will yield an image where the invalid regions are decoded + * by the alpha channel having a zero component. The valid regions all have a non-zero alpha component. The subregion as described by VRTrackedCameraFrameType_Undistorted + * guarantees a rectangle where all pixels are valid. */ + virtual vr::EVRTrackedCameraError GetVideoStreamTextureD3D11( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0; + + /** Access a shared GL texture for the specified tracked camera stream */ + virtual vr::EVRTrackedCameraError GetVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::EVRTrackedCameraFrameType eFrameType, vr::glUInt_t *pglTextureId, vr::CameraVideoStreamFrameHeader_t *pFrameHeader, uint32_t nFrameHeaderSize ) = 0; + virtual vr::EVRTrackedCameraError ReleaseVideoStreamTextureGL( vr::TrackedCameraHandle_t hTrackedCamera, vr::glUInt_t glTextureId ) = 0; + virtual void SetCameraTrackingSpace( vr::ETrackingUniverseOrigin eUniverse ) = 0; + virtual vr::ETrackingUniverseOrigin GetCameraTrackingSpace( ) = 0; +}; + +static const char * const IVRTrackedCamera_Version = "IVRTrackedCamera_006"; + +} // namespace vr + + +// ivrscreenshots.h + +namespace vr +{ + +/** Errors that can occur with the VR compositor */ +enum EVRScreenshotError +{ + VRScreenshotError_None = 0, + VRScreenshotError_RequestFailed = 1, + VRScreenshotError_IncompatibleVersion = 100, + VRScreenshotError_NotFound = 101, + VRScreenshotError_BufferTooSmall = 102, + VRScreenshotError_ScreenshotAlreadyInProgress = 108, +}; + +/** Allows the application to generate screenshots */ +class IVRScreenshots +{ +public: + /** Request a screenshot of the requested type. + * A request of the VRScreenshotType_Stereo type will always + * work. Other types will depend on the underlying application + * support. + * The first file name is for the preview image and should be a + * regular screenshot (ideally from the left eye). The second + * is the VR screenshot in the correct format. They should be + * in the same aspect ratio. Formats per type: + * VRScreenshotType_Mono: the VR filename is ignored (can be + * nullptr), this is a normal flat single shot. + * VRScreenshotType_Stereo: The VR image should be a + * side-by-side with the left eye image on the left. + * VRScreenshotType_Cubemap: The VR image should be six square + * images composited horizontally. + * VRScreenshotType_StereoPanorama: above/below with left eye + * panorama being the above image. Image is typically square + * with the panorama being 2x horizontal. + * + * Note that the VR dashboard will call this function when + * the user presses the screenshot binding (currently System + * Button + Trigger). If Steam is running, the destination + * file names will be in %TEMP% and will be copied into + * Steam's screenshot library for the running application + * once SubmitScreenshot() is called. + * If Steam is not running, the paths will be in the user's + * documents folder under Documents\SteamVR\Screenshots. + * Other VR applications can call this to initiate a + * screenshot outside of user control. + * The destination file names do not need an extension, + * will be replaced with the correct one for the format + * which is currently .png. */ + virtual vr::EVRScreenshotError RequestScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, vr::EVRScreenshotType type, const char *pchPreviewFilename, const char *pchVRFilename ) = 0; + + /** Called by the running VR application to indicate that it + * wishes to be in charge of screenshots. If the + * application does not call this, the Compositor will only + * support VRScreenshotType_Stereo screenshots that will be + * captured without notification to the running app. + * Once hooked your application will receive a + * VREvent_RequestScreenshot event when the user presses the + * buttons to take a screenshot. */ + virtual vr::EVRScreenshotError HookScreenshot( VR_ARRAY_COUNT( numTypes ) const vr::EVRScreenshotType *pSupportedTypes, int numTypes ) = 0; + + /** When your application receives a + * VREvent_RequestScreenshot event, call these functions to get + * the details of the screenshot request. */ + virtual vr::EVRScreenshotType GetScreenshotPropertyType( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotError *pError ) = 0; + + /** Get the filename for the preview or vr image (see + * vr::EScreenshotPropertyFilenames). The return value is + * the size of the string. */ + virtual uint32_t GetScreenshotPropertyFilename( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotPropertyFilenames filenameType, VR_OUT_STRING() char *pchFilename, uint32_t cchFilename, vr::EVRScreenshotError *pError ) = 0; + + /** Call this if the application is taking the screen shot + * will take more than a few ms processing. This will result + * in an overlay being presented that shows a completion + * bar. */ + virtual vr::EVRScreenshotError UpdateScreenshotProgress( vr::ScreenshotHandle_t screenshotHandle, float flProgress ) = 0; + + /** Tells the compositor to take an internal screenshot of + * type VRScreenshotType_Stereo. It will take the current + * submitted scene textures of the running application and + * write them into the preview image and a side-by-side file + * for the VR image. + * This is similar to request screenshot, but doesn't ever + * talk to the application, just takes the shot and submits. */ + virtual vr::EVRScreenshotError TakeStereoScreenshot( vr::ScreenshotHandle_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename ) = 0; + + /** Submit the completed screenshot. If Steam is running + * this will call into the Steam client and upload the + * screenshot to the screenshots section of the library for + * the running application. If Steam is not running, this + * function will display a notification to the user that the + * screenshot was taken. The paths should be full paths with + * extensions. + * File paths should be absolute including extensions. + * screenshotHandle can be k_unScreenshotHandleInvalid if this + * was a new shot taking by the app to be saved and not + * initiated by a user (achievement earned or something) */ + virtual vr::EVRScreenshotError SubmitScreenshot( vr::ScreenshotHandle_t screenshotHandle, vr::EVRScreenshotType type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename ) = 0; +}; + +static const char * const IVRScreenshots_Version = "IVRScreenshots_001"; + +} // namespace vr + + + +// ivrresources.h + +namespace vr +{ + +class IVRResources +{ +public: + + // ------------------------------------ + // Shared Resource Methods + // ------------------------------------ + + /** Loads the specified resource into the provided buffer if large enough. + * Returns the size in bytes of the buffer required to hold the specified resource. */ + virtual uint32_t LoadSharedResource( const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen ) = 0; + + /** Provides the full path to the specified resource. Resource names can include named directories for + * drivers and other things, and this resolves all of those and returns the actual physical path. + * pchResourceTypeDirectory is the subdirectory of resources to look in. */ + virtual uint32_t GetResourceFullPath( const char *pchResourceName, const char *pchResourceTypeDirectory, VR_OUT_STRING() char *pchPathBuffer, uint32_t unBufferLen ) = 0; +}; + +static const char * const IVRResources_Version = "IVRResources_001"; + + +} + +// ivrdrivermanager.h + +namespace vr +{ + +class IVRDriverManager +{ +public: + virtual uint32_t GetDriverCount() const = 0; + + /** Returns the length of the number of bytes necessary to hold this string including the trailing null. */ + virtual uint32_t GetDriverName( vr::DriverId_t nDriver, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0; + + virtual DriverHandle_t GetDriverHandle( const char *pchDriverName ) = 0; + + virtual bool IsEnabled( vr::DriverId_t nDriver ) const = 0; +}; + +static const char * const IVRDriverManager_Version = "IVRDriverManager_001"; + +} // namespace vr + + + +// ivrinput.h + +namespace vr +{ + // Maximum number of characters in an action name, including the trailing null + static const uint32_t k_unMaxActionNameLength = 64; + + // Maximum number of characters in an action set name, including the trailing null + static const uint32_t k_unMaxActionSetNameLength = 64; + + // Maximum number of origins for an action + static const uint32_t k_unMaxActionOriginCount = 16; + + // Maximum number of characters in a bone name, including the trailing null + static const uint32_t k_unMaxBoneNameLength = 32; + + enum EVRSkeletalTransformSpace + { + VRSkeletalTransformSpace_Model = 0, + VRSkeletalTransformSpace_Parent = 1 + }; + + enum EVRSkeletalReferencePose + { + VRSkeletalReferencePose_BindPose = 0, + VRSkeletalReferencePose_OpenHand, + VRSkeletalReferencePose_Fist, + VRSkeletalReferencePose_GripLimit + }; + + enum EVRFinger + { + VRFinger_Thumb = 0, + VRFinger_Index, + VRFinger_Middle, + VRFinger_Ring, + VRFinger_Pinky, + VRFinger_Count + }; + + enum EVRFingerSplay + { + VRFingerSplay_Thumb_Index = 0, + VRFingerSplay_Index_Middle, + VRFingerSplay_Middle_Ring, + VRFingerSplay_Ring_Pinky, + VRFingerSplay_Count + }; + + enum EVRSummaryType + { + // The skeletal summary data will match the animated bone transforms for the action. + VRSummaryType_FromAnimation = 0, + + // The skeletal summary data will include unprocessed data directly from the device when available. + // This data is generally less latent than the data that is computed from the animations. + VRSummaryType_FromDevice = 1, + }; + + enum EVRInputFilterCancelType + { + VRInputFilterCancel_Timers = 0, + VRInputFilterCancel_Momentum = 1, + }; + + enum EVRInputStringBits + { + VRInputString_Hand = 0x01, + VRInputString_ControllerType = 0x02, + VRInputString_InputSource = 0x04, + + VRInputString_All = 0xFFFFFFFF + }; + + struct InputAnalogActionData_t + { + /** Whether or not this action is currently available to be bound in the active action set */ + bool bActive; + + /** The origin that caused this action's current state */ + VRInputValueHandle_t activeOrigin; + + /** The current state of this action; will be delta updates for mouse actions */ + float x, y, z; + + /** Deltas since the previous call to UpdateActionState() */ + float deltaX, deltaY, deltaZ; + + /** Time relative to now when this event happened. Will be negative to indicate a past time. */ + float fUpdateTime; + }; + + struct InputDigitalActionData_t + { + /** Whether or not this action is currently available to be bound in the active action set */ + bool bActive; + + /** The origin that caused this action's current state */ + VRInputValueHandle_t activeOrigin; + + /** The current state of this action; will be true if currently pressed */ + bool bState; + + /** This is true if the state has changed since the last frame */ + bool bChanged; + + /** Time relative to now when this event happened. Will be negative to indicate a past time. */ + float fUpdateTime; + }; + + struct InputPoseActionData_t + { + /** Whether or not this action is currently available to be bound in the active action set */ + bool bActive; + + /** The origin that caused this action's current state */ + VRInputValueHandle_t activeOrigin; + + /** The current state of this action */ + TrackedDevicePose_t pose; + }; + + struct InputSkeletalActionData_t + { + /** Whether or not this action is currently available to be bound in the active action set */ + bool bActive; + + /** The origin that caused this action's current state */ + VRInputValueHandle_t activeOrigin; + }; + + struct InputOriginInfo_t + { + VRInputValueHandle_t devicePath; + TrackedDeviceIndex_t trackedDeviceIndex; + char rchRenderModelComponentName[128]; + }; + + struct InputBindingInfo_t + { + char rchDevicePathName[128]; + char rchInputPathName[128]; + char rchModeName[128]; + char rchSlotName[128]; + char rchInputSourceType[ 32 ]; + }; + + // * Experimental global action set priority * + // These constants are part of the experimental support in SteamVR for overlay + // apps selectively overriding input in the base scene application. This may be + // useful for overlay applications that need to use part or all of a controller + // without taking away all input to the game. This system must be enabled by the + // "Experimental overlay input overrides" setting in the developer section of + // SteamVR settings. + // + // To use this system, set the nPriority field of an action set to any number in + // this range. + static const int32_t k_nActionSetOverlayGlobalPriorityMin = 0x01000000; + static const int32_t k_nActionSetOverlayGlobalPriorityMax = 0x01FFFFFF; + + static const int32_t k_nActionSetPriorityReservedMin = 0x02000000; + + struct VRActiveActionSet_t + { + /** This is the handle of the action set to activate for this frame. */ + VRActionSetHandle_t ulActionSet; + + /** This is the handle of a device path that this action set should be active for. To + * activate for all devices, set this to k_ulInvalidInputValueHandle. */ + VRInputValueHandle_t ulRestrictedToDevice; + + /** The action set to activate for all devices other than ulRestrictedDevice. If + * ulRestrictedToDevice is set to k_ulInvalidInputValueHandle, this parameter is + * ignored. */ + VRActionSetHandle_t ulSecondaryActionSet; + + // This field is ignored + uint32_t unPadding; + + /** The priority of this action set relative to other action sets. Any inputs + * bound to a source (e.g. trackpad, joystick, trigger) will disable bindings in + * other active action sets with a smaller priority. + * + * Overlay applications (i.e. ApplicationType_Overlay) may set their action set priority + * to a value between k_nActionSetOverlayGlobalPriorityMin and k_nActionSetOverlayGlobalPriorityMax + * to cause any inputs bound to a source used by that action set to be disabled in scene applications. + * + * No action set priority may value may be larger than k_nActionSetPriorityReservedMin + */ + int32_t nPriority; + }; + + /** Contains summary information about the current skeletal pose */ + struct VRSkeletalSummaryData_t + { + /** The amount that each finger is 'curled' inwards towards the palm. In the case of the thumb, + * this represents how much the thumb is wrapped around the fist. + * 0 means straight, 1 means fully curled */ + float flFingerCurl[ VRFinger_Count ]; + + /** The amount that each pair of adjacent fingers are separated. + * 0 means the digits are touching, 1 means they are fully separated. + */ + float flFingerSplay[ VRFingerSplay_Count ]; + }; + + + class IVRInput + { + public: + + // --------------- Handle management --------------- // + + /** Sets the path to the action manifest JSON file that is used by this application. If this information + * was set on the Steam partner site, calls to this function are ignored. If the Steam partner site + * setting and the path provided by this call are different, VRInputError_MismatchedActionManifest is returned. + * This call must be made before the first call to UpdateActionState or IVRSystem::PollNextEvent. */ + virtual EVRInputError SetActionManifestPath( const char *pchActionManifestPath ) = 0; + + /** Returns a handle for an action set. This handle is used for all performance-sensitive calls. */ + virtual EVRInputError GetActionSetHandle( const char *pchActionSetName, VRActionSetHandle_t *pHandle ) = 0; + + /** Returns a handle for an action. This handle is used for all performance-sensitive calls. */ + virtual EVRInputError GetActionHandle( const char *pchActionName, VRActionHandle_t *pHandle ) = 0; + + /** Returns a handle for any path in the input system. E.g. /user/hand/right */ + virtual EVRInputError GetInputSourceHandle( const char *pchInputSourcePath, VRInputValueHandle_t *pHandle ) = 0; + + + + // --------------- Reading action state ------------------- // + + /** Reads the current state into all actions. After this call, the results of Get*Action calls + * will be the same until the next call to UpdateActionState. */ + virtual EVRInputError UpdateActionState( VR_ARRAY_COUNT( unSetCount ) VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount ) = 0; + + /** Reads the state of a digital action given its handle. This will return VRInputError_WrongType if the type of + * action is something other than digital */ + virtual EVRInputError GetDigitalActionData( VRActionHandle_t action, InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) = 0; + + /** Reads the state of an analog action given its handle. This will return VRInputError_WrongType if the type of + * action is something other than analog */ + virtual EVRInputError GetAnalogActionData( VRActionHandle_t action, InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) = 0; + + /** Reads the state of a pose action given its handle for the number of seconds relative to now. This + * will generally be called with negative times from the fUpdateTime fields in other actions. */ + virtual EVRInputError GetPoseActionDataRelativeToNow( VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) = 0; + + /** Reads the state of a pose action given its handle. The returned values will match the values returned + * by the last call to IVRCompositor::WaitGetPoses(). */ + virtual EVRInputError GetPoseActionDataForNextFrame( VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t *pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice ) = 0; + + /** Reads the state of a skeletal action given its handle. */ + virtual EVRInputError GetSkeletalActionData( VRActionHandle_t action, InputSkeletalActionData_t *pActionData, uint32_t unActionDataSize ) = 0; + + /** Returns the current dominant hand for the user for this application. This function will only return success for applications + * which include "supports_dominant_hand_setting": true in their action manifests. The dominant hand will only change after + * a call to UpdateActionState, and the action data returned after that point will use the new dominant hand. */ + virtual EVRInputError GetDominantHand( ETrackedControllerRole *peDominantHand ) = 0; + + /** Sets the dominant hand for the user for this application. */ + virtual EVRInputError SetDominantHand( ETrackedControllerRole eDominantHand ) = 0; + + // --------------- Static Skeletal Data ------------------- // + + /** Reads the number of bones in skeleton associated with the given action */ + virtual EVRInputError GetBoneCount( VRActionHandle_t action, uint32_t* pBoneCount ) = 0; + + /** Fills the given array with the index of each bone's parent in the skeleton associated with the given action */ + virtual EVRInputError GetBoneHierarchy( VRActionHandle_t action, VR_ARRAY_COUNT( unIndexArayCount ) BoneIndex_t* pParentIndices, uint32_t unIndexArayCount ) = 0; + + /** Fills the given buffer with the name of the bone at the given index in the skeleton associated with the given action */ + virtual EVRInputError GetBoneName( VRActionHandle_t action, BoneIndex_t nBoneIndex, VR_OUT_STRING() char* pchBoneName, uint32_t unNameBufferSize ) = 0; + + /** Fills the given buffer with the transforms for a specific static skeletal reference pose */ + virtual EVRInputError GetSkeletalReferenceTransforms( VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VR_ARRAY_COUNT( unTransformArrayCount ) VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount ) = 0; + + /** Reads the level of accuracy to which the controller is able to track the user to recreate a skeletal pose */ + virtual EVRInputError GetSkeletalTrackingLevel( VRActionHandle_t action, EVRSkeletalTrackingLevel* pSkeletalTrackingLevel ) = 0; + + // --------------- Dynamic Skeletal Data ------------------- // + + /** Reads the state of the skeletal bone data associated with this action and copies it into the given buffer. */ + virtual EVRInputError GetSkeletalBoneData( VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VR_ARRAY_COUNT( unTransformArrayCount ) VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount ) = 0; + + /** Reads summary information about the current pose of the skeleton associated with the given action. */ + virtual EVRInputError GetSkeletalSummaryData( VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData ) = 0; + + /** Reads the state of the skeletal bone data in a compressed form that is suitable for + * sending over the network. The required buffer size will never exceed ( sizeof(VR_BoneTransform_t)*boneCount + 2). + * Usually the size will be much smaller. */ + virtual EVRInputError GetSkeletalBoneDataCompressed( VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, VR_OUT_BUFFER_COUNT( unCompressedSize ) void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize ) = 0; + + /** Turns a compressed buffer from GetSkeletalBoneDataCompressed and turns it back into a bone transform array. */ + virtual EVRInputError DecompressSkeletalBoneData( const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VR_ARRAY_COUNT( unTransformArrayCount ) VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount ) = 0; + + // --------------- Haptics ------------------- // + + /** Triggers a haptic event as described by the specified action */ + virtual EVRInputError TriggerHapticVibrationAction( VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice ) = 0; + + // --------------- Action Origins ---------------- // + + /** Retrieve origin handles for an action */ + virtual EVRInputError GetActionOrigins( VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VR_ARRAY_COUNT( originOutCount ) VRInputValueHandle_t *originsOut, uint32_t originOutCount ) = 0; + + /** Retrieves the name of the origin in the current language. unStringSectionsToInclude is a bitfield of values in EVRInputStringBits that allows the + application to specify which parts of the origin's information it wants a string for. */ + virtual EVRInputError GetOriginLocalizedName( VRInputValueHandle_t origin, VR_OUT_STRING() char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude ) = 0; + + /** Retrieves useful information for the origin of this action */ + virtual EVRInputError GetOriginTrackedDeviceInfo( VRInputValueHandle_t origin, InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize ) = 0; + + /** Retrieves useful information about the bindings for an action */ + virtual EVRInputError GetActionBindingInfo( VRActionHandle_t action, InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount ) = 0; + + /** Shows the current binding for the action in-headset */ + virtual EVRInputError ShowActionOrigins( VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle ) = 0; + + /** Shows the current binding all the actions in the specified action sets */ + virtual EVRInputError ShowBindingsForActionSet( VR_ARRAY_COUNT( unSetCount ) VRActiveActionSet_t *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight ) = 0; + + /** Use this to query what action on the component returned by GetOriginTrackedDeviceInfo would trigger this binding. */ + virtual EVRInputError GetComponentStateForBinding( const char *pchRenderModelName, const char *pchComponentName, + const InputBindingInfo_t *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, + vr::RenderModel_ComponentState_t *pComponentState ) = 0; + + + // --------------- Legacy Input ------------------- // + virtual bool IsUsingLegacyInput() = 0; + + + // --------------- Utilities ------------------- // + + /** Opens the binding user interface. If no app key is provided it will use the key from the calling process. + * If no set is provided it will open to the root of the app binding page. */ + virtual EVRInputError OpenBindingUI( const char* pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop ) = 0; + + /** Returns the variant set in the current bindings. If the binding doesn't include a variant setting, this function + * will return an empty string */ + virtual EVRInputError GetBindingVariant( vr::VRInputValueHandle_t ulDevicePath, + VR_OUT_STRING() char *pchVariantArray, uint32_t unVariantArraySize ) = 0; + + }; + + static const char * const IVRInput_Version = "IVRInput_010"; + +} // namespace vr + +// ivriobuffer.h + +namespace vr +{ + +typedef uint64_t IOBufferHandle_t; +static const uint64_t k_ulInvalidIOBufferHandle = 0; + + enum EIOBufferError + { + IOBuffer_Success = 0, + IOBuffer_OperationFailed = 100, + IOBuffer_InvalidHandle = 101, + IOBuffer_InvalidArgument = 102, + IOBuffer_PathExists = 103, + IOBuffer_PathDoesNotExist = 104, + IOBuffer_Permission = 105, + }; + + enum EIOBufferMode + { + IOBufferMode_Read = 0x0001, + IOBufferMode_Write = 0x0002, + IOBufferMode_Create = 0x0200, + }; + + // ---------------------------------------------------------------------------------------------- + // Purpose: + // ---------------------------------------------------------------------------------------------- + class IVRIOBuffer + { + public: + /** opens an existing or creates a new IOBuffer of unSize bytes */ + virtual vr::EIOBufferError Open( const char *pchPath, vr::EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, vr::IOBufferHandle_t *pulBuffer ) = 0; + + /** closes a previously opened or created buffer */ + virtual vr::EIOBufferError Close( vr::IOBufferHandle_t ulBuffer ) = 0; + + /** reads up to unBytes from buffer into *pDst, returning number of bytes read in *punRead */ + virtual vr::EIOBufferError Read( vr::IOBufferHandle_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead ) = 0; + + /** writes unBytes of data from *pSrc into a buffer. */ + virtual vr::EIOBufferError Write( vr::IOBufferHandle_t ulBuffer, void *pSrc, uint32_t unBytes ) = 0; + + /** retrieves the property container of an buffer. */ + virtual vr::PropertyContainerHandle_t PropertyContainer( vr::IOBufferHandle_t ulBuffer ) = 0; + + /** inexpensively checks for readers to allow writers to fast-fail potentially expensive copies and writes. */ + virtual bool HasReaders( vr::IOBufferHandle_t ulBuffer ) = 0; + }; + + static const char *IVRIOBuffer_Version = "IVRIOBuffer_002"; +} + +// ivrspatialanchors.h + +namespace vr +{ + static const SpatialAnchorHandle_t k_ulInvalidSpatialAnchorHandle = 0; + + struct SpatialAnchorPose_t + { + HmdMatrix34_t mAnchorToAbsoluteTracking; + }; + + class IVRSpatialAnchors + { + public: + + /** Returns a handle for an spatial anchor described by "descriptor". On success, pHandle + * will contain a handle valid for this session. Caller can wait for an event or occasionally + * poll GetSpatialAnchorPose() to find the virtual coordinate associated with this anchor. */ + virtual EVRSpatialAnchorError CreateSpatialAnchorFromDescriptor( const char *pchDescriptor, SpatialAnchorHandle_t *pHandleOut ) = 0; + + /** Returns a handle for an new spatial anchor at pPose. On success, pHandle + * will contain a handle valid for this session. Caller can wait for an event or occasionally + * poll GetSpatialAnchorDescriptor() to find the permanent descriptor for this pose. + * The result of GetSpatialAnchorPose() may evolve from this initial position if the driver chooses + * to update it. + * The anchor will be associated with the driver that provides unDeviceIndex, and the driver may use that specific + * device as a hint for how to best create the anchor. + * The eOrigin must match whatever tracking origin you are working in (seated/standing/raw). + * This should be called when the user is close to (and ideally looking at/interacting with) the target physical + * location. At that moment, the driver will have the most information about how to recover that physical point + * in the future, and the quality of the anchor (when the descriptor is re-used) will be highest. + * The caller may decide to apply offsets from this initial pose, but is advised to stay relatively close to the + * original pose location for highest fidelity. */ + virtual EVRSpatialAnchorError CreateSpatialAnchorFromPose( TrackedDeviceIndex_t unDeviceIndex, ETrackingUniverseOrigin eOrigin, SpatialAnchorPose_t *pPose, SpatialAnchorHandle_t *pHandleOut ) = 0; + + /** Get the pose for a given handle. This is intended to be cheap enough to call every frame (or fairly often) + * so that the driver can refine this position when it has more information available. */ + virtual EVRSpatialAnchorError GetSpatialAnchorPose( SpatialAnchorHandle_t unHandle, ETrackingUniverseOrigin eOrigin, SpatialAnchorPose_t *pPoseOut ) = 0; + + /** Get the descriptor for a given handle. This will be empty for handles where the driver has not + * yet built a descriptor. It will be the application-supplied descriptor for previously saved anchors + * that the application is requesting poses for. If the driver has called UpdateSpatialAnchorDescriptor() + * already in this session, it will be the descriptor provided by the driver. + * Returns true if the descriptor fits into the buffer, else false. Buffer size should be at least + * k_unMaxSpatialAnchorDescriptorSize. */ + virtual EVRSpatialAnchorError GetSpatialAnchorDescriptor( SpatialAnchorHandle_t unHandle, VR_OUT_STRING() char *pchDescriptorOut, uint32_t *punDescriptorBufferLenInOut ) = 0; + + }; + + static const char * const IVRSpatialAnchors_Version = "IVRSpatialAnchors_001"; + +} // namespace vr + +// ivrdebug.h + +namespace vr +{ + enum EVRDebugError + { + VRDebugError_Success = 0, + VRDebugError_BadParameter + }; + + /** Handle for vr profiler events */ + typedef uint64_t VrProfilerEventHandle_t; + + class IVRDebug + { + public: + + /** Create a vr profiler discrete event (point) + * The event will be associated with the message provided in pchMessage, and the current + * time will be used as the event timestamp. */ + virtual EVRDebugError EmitVrProfilerEvent( const char *pchMessage ) = 0; + + /** Create an vr profiler duration event (line) + * The current time will be used as the timestamp for the start of the line. + * On success, pHandleOut will contain a handle valid for terminating this event. */ + virtual EVRDebugError BeginVrProfilerEvent( VrProfilerEventHandle_t *pHandleOut ) = 0; + + /** Terminate a vr profiler event + * The event associated with hHandle will be considered completed when this method is called. + * The current time will be used assocaited to the termination time of the event, and + * pchMessage will be used as the event title. */ + virtual EVRDebugError FinishVrProfilerEvent( VrProfilerEventHandle_t hHandle, const char *pchMessage ) = 0; + + /** Sends a request to the driver for the specified device and returns the response. The maximum response size is 32k, + * but this method can be called with a smaller buffer. If the response exceeds the size of the buffer, it is truncated. + * The size of the response including its terminating null is returned. */ + virtual uint32_t DriverDebugRequest( vr::TrackedDeviceIndex_t unDeviceIndex, const char *pchRequest, VR_OUT_STRING() char *pchResponseBuffer, uint32_t unResponseBufferSize ) = 0; + + }; + + static const char * const IVRDebug_Version = "IVRDebug_001"; + +} // namespace vr +// End + +#endif // _OPENVR_API + + + +namespace vr +{ +#if !defined( OPENVR_INTERFACE_INTERNAL ) + + /** Finds the active installation of the VR API and initializes it. The provided path must be absolute + * or relative to the current working directory. These are the local install versions of the equivalent + * functions in steamvr.h and will work without a local Steam install. + * + * This path is to the "root" of the VR API install. That's the directory with + * the "drivers" directory and a platform (i.e. "win32") directory in it, not the directory with the DLL itself. + * + * pStartupInfo is reserved for future use. + */ + inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo = nullptr ); + + /** unloads vrclient.dll. Any interface pointers from the interface are + * invalid after this point */ + inline void VR_Shutdown(); + + /** Returns true if there is an HMD attached. This check is as lightweight as possible and + * can be called outside of VR_Init/VR_Shutdown. It should be used when an application wants + * to know if initializing VR is a possibility but isn't ready to take that step yet. + */ + VR_INTERFACE bool VR_CALLTYPE VR_IsHmdPresent(); + + /** Returns true if the OpenVR runtime is installed. */ + VR_INTERFACE bool VR_CALLTYPE VR_IsRuntimeInstalled(); + + /** Returns where the OpenVR runtime is installed. */ + VR_INTERFACE bool VR_GetRuntimePath( VR_OUT_STRING() char *pchPathBuffer, uint32_t unBufferSize, uint32_t *punRequiredBufferSize ); + + /** Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown(). */ + VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsSymbol( EVRInitError error ); + + /** Returns an English string for an EVRInitError. Applications should call VR_GetVRInitErrorAsSymbol instead and + * use that as a key to look up their own localized error message. This function may be called outside of VR_Init()/VR_Shutdown(). */ + VR_INTERFACE const char *VR_CALLTYPE VR_GetVRInitErrorAsEnglishDescription( EVRInitError error ); + + /** Returns the interface of the specified version. This method must be called after VR_Init. The + * pointer returned is valid until VR_Shutdown is called. + */ + VR_INTERFACE void *VR_CALLTYPE VR_GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError ); + + /** Returns whether the interface of the specified version exists. + */ + VR_INTERFACE bool VR_CALLTYPE VR_IsInterfaceVersionValid( const char *pchInterfaceVersion ); + + /** Returns a token that represents whether the VR interface handles need to be reloaded */ + VR_INTERFACE uint32_t VR_CALLTYPE VR_GetInitToken(); + + // These typedefs allow old enum names from SDK 0.9.11 to be used in applications. + // They will go away in the future. + typedef EVRInitError HmdError; + typedef EVREye Hmd_Eye; + typedef EColorSpace ColorSpace; + typedef ETrackingResult HmdTrackingResult; + typedef ETrackedDeviceClass TrackedDeviceClass; + typedef ETrackingUniverseOrigin TrackingUniverseOrigin; + typedef ETrackedDeviceProperty TrackedDeviceProperty; + typedef ETrackedPropertyError TrackedPropertyError; + typedef EVRSubmitFlags VRSubmitFlags_t; + typedef EVRState VRState_t; + typedef ECollisionBoundsStyle CollisionBoundsStyle_t; + typedef EVROverlayError VROverlayError; + typedef EVRFirmwareError VRFirmwareError; + typedef EVRCompositorError VRCompositorError; + typedef EVRScreenshotError VRScreenshotsError; + + inline uint32_t &VRToken() + { + static uint32_t token; + return token; + } + + class COpenVRContext + { + public: + COpenVRContext() { Clear(); } + void Clear(); + + inline void CheckClear() + { + if ( VRToken() != VR_GetInitToken() ) + { + Clear(); + VRToken() = VR_GetInitToken(); + } + } + + IVRSystem *VRSystem() + { + CheckClear(); + if ( m_pVRSystem == nullptr ) + { + EVRInitError eError; + m_pVRSystem = ( IVRSystem * )VR_GetGenericInterface( IVRSystem_Version, &eError ); + } + return m_pVRSystem; + } + IVRChaperone *VRChaperone() + { + CheckClear(); + if ( m_pVRChaperone == nullptr ) + { + EVRInitError eError; + m_pVRChaperone = ( IVRChaperone * )VR_GetGenericInterface( IVRChaperone_Version, &eError ); + } + return m_pVRChaperone; + } + + IVRChaperoneSetup *VRChaperoneSetup() + { + CheckClear(); + if ( m_pVRChaperoneSetup == nullptr ) + { + EVRInitError eError; + m_pVRChaperoneSetup = ( IVRChaperoneSetup * )VR_GetGenericInterface( IVRChaperoneSetup_Version, &eError ); + } + return m_pVRChaperoneSetup; + } + + IVRCompositor *VRCompositor() + { + CheckClear(); + if ( m_pVRCompositor == nullptr ) + { + EVRInitError eError; + m_pVRCompositor = ( IVRCompositor * )VR_GetGenericInterface( IVRCompositor_Version, &eError ); + } + return m_pVRCompositor; + } + + IVROverlay *VROverlay() + { + CheckClear(); + if ( m_pVROverlay == nullptr ) + { + EVRInitError eError; + m_pVROverlay = ( IVROverlay * )VR_GetGenericInterface( IVROverlay_Version, &eError ); + } + return m_pVROverlay; + } + + IVROverlayView *VROverlayView() + { + CheckClear(); + if ( m_pVROverlayView == nullptr ) + { + EVRInitError eError; + m_pVROverlayView = ( IVROverlayView * ) VR_GetGenericInterface( IVROverlayView_Version, &eError ); + } + return m_pVROverlayView; + } + + IVRHeadsetView *VRHeadsetView() + { + CheckClear(); + if ( m_pVRHeadsetView == nullptr ) + { + EVRInitError eError; + m_pVRHeadsetView = ( IVRHeadsetView * ) VR_GetGenericInterface( IVRHeadsetView_Version, &eError ); + } + return m_pVRHeadsetView; + } + + IVRResources *VRResources() + { + CheckClear(); + if ( m_pVRResources == nullptr ) + { + EVRInitError eError; + m_pVRResources = (IVRResources *)VR_GetGenericInterface( IVRResources_Version, &eError ); + } + return m_pVRResources; + } + + IVRScreenshots *VRScreenshots() + { + CheckClear(); + if ( m_pVRScreenshots == nullptr ) + { + EVRInitError eError; + m_pVRScreenshots = ( IVRScreenshots * )VR_GetGenericInterface( IVRScreenshots_Version, &eError ); + } + return m_pVRScreenshots; + } + + IVRRenderModels *VRRenderModels() + { + CheckClear(); + if ( m_pVRRenderModels == nullptr ) + { + EVRInitError eError; + m_pVRRenderModels = ( IVRRenderModels * )VR_GetGenericInterface( IVRRenderModels_Version, &eError ); + } + return m_pVRRenderModels; + } + + IVRExtendedDisplay *VRExtendedDisplay() + { + CheckClear(); + if ( m_pVRExtendedDisplay == nullptr ) + { + EVRInitError eError; + m_pVRExtendedDisplay = ( IVRExtendedDisplay * )VR_GetGenericInterface( IVRExtendedDisplay_Version, &eError ); + } + return m_pVRExtendedDisplay; + } + + IVRSettings *VRSettings() + { + CheckClear(); + if ( m_pVRSettings == nullptr ) + { + EVRInitError eError; + m_pVRSettings = ( IVRSettings * )VR_GetGenericInterface( IVRSettings_Version, &eError ); + } + return m_pVRSettings; + } + + IVRApplications *VRApplications() + { + CheckClear(); + if ( m_pVRApplications == nullptr ) + { + EVRInitError eError; + m_pVRApplications = ( IVRApplications * )VR_GetGenericInterface( IVRApplications_Version, &eError ); + } + return m_pVRApplications; + } + + IVRTrackedCamera *VRTrackedCamera() + { + CheckClear(); + if ( m_pVRTrackedCamera == nullptr ) + { + EVRInitError eError; + m_pVRTrackedCamera = ( IVRTrackedCamera * )VR_GetGenericInterface( IVRTrackedCamera_Version, &eError ); + } + return m_pVRTrackedCamera; + } + + IVRDriverManager *VRDriverManager() + { + CheckClear(); + if ( !m_pVRDriverManager ) + { + EVRInitError eError; + m_pVRDriverManager = ( IVRDriverManager * )VR_GetGenericInterface( IVRDriverManager_Version, &eError ); + } + return m_pVRDriverManager; + } + + IVRInput *VRInput() + { + CheckClear(); + if ( !m_pVRInput ) + { + EVRInitError eError; + m_pVRInput = (IVRInput *)VR_GetGenericInterface( IVRInput_Version, &eError ); + } + return m_pVRInput; + } + + IVRIOBuffer *VRIOBuffer() + { + if ( !m_pVRIOBuffer ) + { + EVRInitError eError; + m_pVRIOBuffer = ( IVRIOBuffer * )VR_GetGenericInterface( IVRIOBuffer_Version, &eError ); + } + return m_pVRIOBuffer; + } + + IVRSpatialAnchors *VRSpatialAnchors() + { + CheckClear(); + if ( !m_pVRSpatialAnchors ) + { + EVRInitError eError; + m_pVRSpatialAnchors = (IVRSpatialAnchors *)VR_GetGenericInterface( IVRSpatialAnchors_Version, &eError ); + } + return m_pVRSpatialAnchors; + } + + IVRDebug *VRDebug() + { + CheckClear(); + if ( !m_pVRDebug ) + { + EVRInitError eError; + m_pVRDebug = (IVRDebug *)VR_GetGenericInterface( IVRDebug_Version, &eError ); + } + return m_pVRDebug; + } + + IVRNotifications *VRNotifications() + { + CheckClear(); + if ( !m_pVRNotifications ) + { + EVRInitError eError; + m_pVRNotifications = ( IVRNotifications * )VR_GetGenericInterface( IVRNotifications_Version, &eError ); + } + return m_pVRNotifications; + } + + private: + IVRSystem *m_pVRSystem; + IVRChaperone *m_pVRChaperone; + IVRChaperoneSetup *m_pVRChaperoneSetup; + IVRCompositor *m_pVRCompositor; + IVRHeadsetView *m_pVRHeadsetView; + IVROverlay *m_pVROverlay; + IVROverlayView *m_pVROverlayView; + IVRResources *m_pVRResources; + IVRRenderModels *m_pVRRenderModels; + IVRExtendedDisplay *m_pVRExtendedDisplay; + IVRSettings *m_pVRSettings; + IVRApplications *m_pVRApplications; + IVRTrackedCamera *m_pVRTrackedCamera; + IVRScreenshots *m_pVRScreenshots; + IVRDriverManager *m_pVRDriverManager; + IVRInput *m_pVRInput; + IVRIOBuffer *m_pVRIOBuffer; + IVRSpatialAnchors *m_pVRSpatialAnchors; + IVRDebug *m_pVRDebug; + IVRNotifications *m_pVRNotifications; + }; + + inline COpenVRContext &OpenVRInternal_ModuleContext() + { + static void *ctx[ sizeof( COpenVRContext ) / sizeof( void * ) ]; + return *( COpenVRContext * )ctx; // bypass zero-init constructor + } + + inline IVRSystem *VR_CALLTYPE VRSystem() { return OpenVRInternal_ModuleContext().VRSystem(); } + inline IVRChaperone *VR_CALLTYPE VRChaperone() { return OpenVRInternal_ModuleContext().VRChaperone(); } + inline IVRChaperoneSetup *VR_CALLTYPE VRChaperoneSetup() { return OpenVRInternal_ModuleContext().VRChaperoneSetup(); } + inline IVRCompositor *VR_CALLTYPE VRCompositor() { return OpenVRInternal_ModuleContext().VRCompositor(); } + inline IVROverlay *VR_CALLTYPE VROverlay() { return OpenVRInternal_ModuleContext().VROverlay(); } + inline IVROverlayView *VR_CALLTYPE VROverlayView() { return OpenVRInternal_ModuleContext().VROverlayView(); } + inline IVRHeadsetView *VR_CALLTYPE VRHeadsetView() { return OpenVRInternal_ModuleContext().VRHeadsetView(); } + inline IVRScreenshots *VR_CALLTYPE VRScreenshots() { return OpenVRInternal_ModuleContext().VRScreenshots(); } + inline IVRRenderModels *VR_CALLTYPE VRRenderModels() { return OpenVRInternal_ModuleContext().VRRenderModels(); } + inline IVRApplications *VR_CALLTYPE VRApplications() { return OpenVRInternal_ModuleContext().VRApplications(); } + inline IVRSettings *VR_CALLTYPE VRSettings() { return OpenVRInternal_ModuleContext().VRSettings(); } + inline IVRResources *VR_CALLTYPE VRResources() { return OpenVRInternal_ModuleContext().VRResources(); } + inline IVRExtendedDisplay *VR_CALLTYPE VRExtendedDisplay() { return OpenVRInternal_ModuleContext().VRExtendedDisplay(); } + inline IVRTrackedCamera *VR_CALLTYPE VRTrackedCamera() { return OpenVRInternal_ModuleContext().VRTrackedCamera(); } + inline IVRDriverManager *VR_CALLTYPE VRDriverManager() { return OpenVRInternal_ModuleContext().VRDriverManager(); } + inline IVRInput *VR_CALLTYPE VRInput() { return OpenVRInternal_ModuleContext().VRInput(); } + inline IVRIOBuffer *VR_CALLTYPE VRIOBuffer() { return OpenVRInternal_ModuleContext().VRIOBuffer(); } + inline IVRSpatialAnchors *VR_CALLTYPE VRSpatialAnchors() { return OpenVRInternal_ModuleContext().VRSpatialAnchors(); } + inline IVRNotifications *VR_CALLTYPE VRNotifications() { return OpenVRInternal_ModuleContext().VRNotifications(); } + inline IVRDebug *VR_CALLTYPE VRDebug() { return OpenVRInternal_ModuleContext().VRDebug(); } + + inline void COpenVRContext::Clear() + { + m_pVRSystem = nullptr; + m_pVRChaperone = nullptr; + m_pVRChaperoneSetup = nullptr; + m_pVRCompositor = nullptr; + m_pVROverlay = nullptr; + m_pVROverlayView = nullptr; + m_pVRHeadsetView = nullptr; + m_pVRRenderModels = nullptr; + m_pVRExtendedDisplay = nullptr; + m_pVRSettings = nullptr; + m_pVRApplications = nullptr; + m_pVRTrackedCamera = nullptr; + m_pVRResources = nullptr; + m_pVRScreenshots = nullptr; + m_pVRDriverManager = nullptr; + m_pVRInput = nullptr; + m_pVRIOBuffer = nullptr; + m_pVRSpatialAnchors = nullptr; + m_pVRNotifications = nullptr; + m_pVRDebug = nullptr; + } + + VR_INTERFACE uint32_t VR_CALLTYPE VR_InitInternal2( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo ); + VR_INTERFACE void VR_CALLTYPE VR_ShutdownInternal(); + + /** Finds the active installation of vrclient.dll and initializes it */ + inline IVRSystem *VR_Init( EVRInitError *peError, EVRApplicationType eApplicationType, const char *pStartupInfo ) + { + IVRSystem *pVRSystem = nullptr; + + EVRInitError eError; + VRToken() = VR_InitInternal2( &eError, eApplicationType, pStartupInfo ); + COpenVRContext &ctx = OpenVRInternal_ModuleContext(); + ctx.Clear(); + + if ( eError == VRInitError_None ) + { + if ( VR_IsInterfaceVersionValid( IVRSystem_Version ) ) + { + pVRSystem = VRSystem(); + } + else + { + VR_ShutdownInternal(); + eError = VRInitError_Init_InterfaceNotFound; + } + } + + if ( peError ) + *peError = eError; + return pVRSystem; + } + + /** unloads vrclient.dll. Any interface pointers from the interface are + * invalid after this point */ + inline void VR_Shutdown() + { + VR_ShutdownInternal(); + } + +#endif // OPENVR_INTERFACE_INTERNAL +} diff --git a/vrclient_x64/tests/capi_thunks.c b/vrclient_x64/tests/capi_thunks.c deleted file mode 100644 index 46d2a257e..000000000 --- a/vrclient_x64/tests/capi_thunks.c +++ /dev/null @@ -1,289 +0,0 @@ -#include "capi_thunks_autogen.h" - -#include -#include -#include -#include - -#define MAX_PARAMETERS 20 - -HmdRect2_t DEFAULT_RECT; -HmdVector2_t DEFAULT_VECTOR2; -HmdVector3_t DEFAULT_VECTOR3; -HmdColor_t DEFAULT_COLOR; - -enum parameter_type -{ - PT_PTR, - PT_BOOL, - PT_FLOAT, - PT_UINT32, - PT_UINT64, - PT_HMDRECT2, - PT_HMDVECTOR2, - PT_HMDVECTOR3, - PT_HMDCOLOR, -}; - -struct parameter -{ - enum parameter_type pt; - union - { - const void *ptr; - bool b; - float f; - uint32_t u32; - uint64_t u64; - HmdRect2_t hmd_rect2; - HmdVector2_t hmd_vector2; - HmdVector3_t hmd_vector3; - HmdColor_t hmd_color; - } value; -}; - -static struct -{ - unsigned int parameter_index; - unsigned int parameter_count; - struct parameter parameters[MAX_PARAMETERS]; -} -params; - -void clear_parameters(void) -{ - memset(¶ms, 0, sizeof(params)); -} - -struct parameter *get_next_parameter(void) -{ - assert(params.parameter_count < MAX_PARAMETERS); - return ¶ms.parameters[params.parameter_count++]; -} - -struct parameter *get_pushed_parameter(void) -{ - assert(params.parameter_index < params.parameter_count); - return ¶ms.parameters[params.parameter_index++]; -} - -void push_ptr_parameter(const void *v) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_PTR; - param->value.ptr = v; -} - -void push_bool_parameter(bool b) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_BOOL; - param->value.b = b; -} - -void push_float_parameter(float f) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_FLOAT; - param->value.f = f; -} - -void push_uint32_parameter(uint32_t u) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_UINT32; - param->value.u32 = u; -} - -void push_uint64_parameter(uint64_t u) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_UINT64; - param->value.u64 = u; -} - -void push_HmdRect2_parameter(HmdRect2_t v) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_HMDRECT2; - param->value.hmd_rect2 = v; -} - -void push_HmdVector2_parameter(HmdVector2_t v) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_HMDVECTOR2; - param->value.hmd_vector2 = v; -} - -void push_HmdVector3_parameter(HmdVector3_t v) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_HMDVECTOR3; - param->value.hmd_vector3 = v; - -} - -void push_HmdColor_parameter(HmdColor_t v) -{ - struct parameter *param = get_next_parameter(); - - param->pt = PT_HMDCOLOR; - param->value.hmd_color = v; -} - -void check_ptr_parameter_(const char *file, unsigned int line, const char *name, const void *v) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_PTR) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - if (param->value.ptr != v) - { - fprintf(stderr, "%s:%u, %s, %u: Got %p, expected %p.\n", file, line, name, i, param->value.ptr, v); - exit(-1); - } -} - -void check_bool_parameter_(const char *file, unsigned int line, const char *name, bool b) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_BOOL) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - if (param->value.b != b) - { - fprintf(stderr, "%s:%u, %s, %u: Got %#x, expected %#x.\n", file, line, name, i, param->value.b, b); - exit(-1); - } -} - -void check_float_parameter_(const char *file, unsigned int line, const char *name, float f) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_FLOAT) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - if (param->value.f != f) - { - fprintf(stderr, "%s:%u, %s, %u: Got %.8ex, expected %.8ex.\n", file, line, name, i, param->value.f, f); - exit(-1); - } -} - -void check_uint32_parameter_(const char *file, unsigned int line, const char *name, uint32_t u) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_UINT32) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - if (param->value.u32 != u) - { - fprintf(stderr, "%s:%u, %s, %u: Got %"PRIu32", expected %"PRIu32".\n", - file, line, name, i, param->value.u32, u); - exit(-1); - } -} - -void check_uint64_parameter_(const char *file, unsigned int line, const char *name, uint64_t u) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_UINT64) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - if (param->value.u64 != u) - { - fprintf(stderr, "%s:%u, %s, %u: Got %"PRIu64", expected %"PRIu64".\n", - file, line, name, i, param->value.u64, u); - exit(-1); - } -} - -void check_HmdRect2_parameter_(const char *file, unsigned int line, const char *name, HmdRect2_t v) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_HMDRECT2) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - fprintf(stderr, "TODO: compare HmdRect2\n"); -} - -void check_HmdVector2_parameter_(const char *file, unsigned int line, const char *name, HmdVector2_t v) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_HMDVECTOR2) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - fprintf(stderr, "TODO: compare HmdVector2\n"); -} - -void check_HmdVector3_parameter_(const char *file, unsigned int line, const char *name, HmdVector3_t v) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_HMDVECTOR3) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - fprintf(stderr, "TODO: compare HmdVector3\n"); -} - -void check_HmdColor_parameter_(const char *file, unsigned int line, const char *name, HmdColor_t v) -{ - unsigned int i = params.parameter_index; - struct parameter *param = get_pushed_parameter(); - - if (param->pt != PT_HMDCOLOR) - { - fprintf(stderr, "%s:%u, %s, %u: Invalid parameter type %#x.\n", file, line, name, i, param->pt); - exit(-1); - } - - fprintf(stderr, "TODO: compare HmdColor\n"); -} diff --git a/vrclient_x64/tests/capi_thunks.h b/vrclient_x64/tests/capi_thunks.h deleted file mode 100644 index 08b450fab..000000000 --- a/vrclient_x64/tests/capi_thunks.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifdef __i386__ -# define this_ptr_value ((void *)0xdeadbeef) -#else -# define this_ptr_value ((void *)0xdeadbeefdeadc0de) -#endif - -#define data_ptr_value ((void *)0xd474) - -extern void clear_parameters(void); - -extern HmdRect2_t DEFAULT_RECT; -extern HmdVector2_t DEFAULT_VECTOR2; -extern HmdVector3_t DEFAULT_VECTOR3; -extern HmdColor_t DEFAULT_COLOR; - -extern void push_ptr_parameter(const void *v); -extern void push_bool_parameter(bool b); -extern void push_float_parameter(float f); -extern void push_uint32_parameter(uint32_t u); -extern void push_uint64_parameter(uint64_t u); -extern void push_HmdRect2_parameter(HmdRect2_t v); -extern void push_HmdVector2_parameter(HmdVector2_t v); -extern void push_HmdVector3_parameter(HmdVector3_t v); -extern void push_HmdColor_parameter(HmdColor_t v); - -#define check_ptr_parameter(a, b) check_ptr_parameter_(__FILE__, __LINE__, a, b) -extern void check_ptr_parameter_(const char *file, unsigned int line, const char *name, const void *v); -#define check_bool_parameter(a, b) check_bool_parameter_(__FILE__, __LINE__, a, b) -extern void check_bool_parameter_(const char *file, unsigned int line, const char *name, bool b); -#define check_float_parameter(a, b) check_float_parameter_(__FILE__, __LINE__, a, b) -extern void check_float_parameter_(const char *file, unsigned int line, const char *name, float f); -#define check_uint32_parameter(a, b) check_uint32_parameter_(__FILE__, __LINE__, a, b) -extern void check_uint32_parameter_(const char *file, unsigned int line, const char *name, uint32_t u); -#define check_uint64_parameter(a, b) check_uint64_parameter_(__FILE__, __LINE__, a, b) -extern void check_uint64_parameter_(const char *file, unsigned int line, const char *name, uint64_t u); -#define check_HmdRect2_parameter(a, b) check_HmdRect2_parameter_(__FILE__, __LINE__, a, b) -extern void check_HmdRect2_parameter_(const char *file, unsigned int line, const char *name, HmdRect2_t v); -#define check_HmdVector2_parameter(a, b) check_HmdVector2_parameter_(__FILE__, __LINE__, a, b) -extern void check_HmdVector2_parameter_(const char *file, unsigned int line, const char *name, HmdVector2_t v); -#define check_HmdVector3_parameter(a, b) check_HmdVector3_parameter_(__FILE__, __LINE__, a, b) -extern void check_HmdVector3_parameter_(const char *file, unsigned int line, const char *name, HmdVector3_t v); -#define check_HmdColor_parameter(a, b) check_HmdColor_parameter_(__FILE__, __LINE__, a, b) -extern void check_HmdColor_parameter_(const char *file, unsigned int line, const char *name, HmdColor_t v); diff --git a/vrclient_x64/tests/capi_thunks_autogen.c b/vrclient_x64/tests/capi_thunks_autogen.c deleted file mode 100644 index 019665625..000000000 --- a/vrclient_x64/tests/capi_thunks_autogen.c +++ /dev/null @@ -1,28285 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" - -void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_022_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_007_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchTemplateAppKey); - push_ptr_parameter(pchNewAppKey); - push_ptr_parameter(pKeys); - push_uint32_parameter(unKeys); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_007_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_007_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_007_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_007_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_007_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeType); - return 0; -} - -bool __thiscall IVRApplications_007_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -bool __thiscall IVRApplications_007_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeTypesBuffer); - push_uint32_parameter(unMimeTypesBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeysThatSupportBuffer); - push_uint32_parameter(unAppKeysThatSupportBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unHandle); - push_ptr_parameter(pchArgs); - push_uint32_parameter(unArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRSceneApplicationState __thiscall IVRApplications_007_GetSceneApplicationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *_this, EVRSceneApplicationState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_007_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -uint32_t __thiscall IVRApplications_007_GetCurrentSceneProcessId(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_ptr_parameter(peError); -} - -bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_uint32_parameter(unValueLen); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); -} - -ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -void __thiscall IVRChaperone_004_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); - push_float_parameter(flCollisionBoundsFadeDistance); - push_ptr_parameter(pOutputCameraColor); -} - -bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); -} - -void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingUniverseOrigin); -} - -bool __thiscall IVRChaperoneSetup_006_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); - return 0; -} - -void __thiscall IVRChaperoneSetup_006_RevertWorkingCopy(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) -{ - push_ptr_parameter(_this); - push_float_parameter(sizeX); - push_float_parameter(sizeZ); -} - -void __thiscall IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); -} - -void __thiscall IVRChaperoneSetup_006_SetWorkingPerimeter(void *_this, HmdVector2_t * pPointBuffer, uint32_t unPointCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPointBuffer); - push_uint32_parameter(unPointCount); -} - -void __thiscall IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_006_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); -} - -bool __thiscall IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_ptr_parameter(pnBufferLength); - return 0; -} - -bool __thiscall IVRChaperoneSetup_006_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_uint32_parameter(nImportFlags); - return 0; -} - -void __thiscall IVRChaperoneSetup_006_ShowWorkingSetPreview(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperoneSetup_006_HideWorkingSetPreview(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperoneSetup_006_RoomSetupStarting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeGridIn); -} - -float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelPath); - push_ptr_parameter(pTransform); - push_ptr_parameter(pRenderSettings); - push_uint32_parameter(nSizeOfRenderSettings); - return 0; -} - -void __thiscall IVRCompositor_027_ClearStageOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBenchmarkResults); - push_uint32_parameter(nSizeOfBenchmarkResults); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPosePredictionID); - push_ptr_parameter(pGamePosePredictionID); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unPosePredictionID); - push_ptr_parameter(pPoseArray); - push_uint32_parameter(unPoseArrayCount); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nWidth); - push_uint32_parameter(nHeight); -} - -void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eHeadsetViewMode); -} - -HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped) -{ - push_ptr_parameter(_this); - push_bool_parameter(bCropped); -} - -bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct) -{ - push_ptr_parameter(_this); - push_float_parameter(flStartPct); - push_float_parameter(flEndPct); -} - -void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStartPct); - push_ptr_parameter(pEndPct); -} - -EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulUserValue); - push_uint32_parameter(type); - push_ptr_parameter(pchText); - push_uint32_parameter(style); - push_ptr_parameter(pImage); - push_ptr_parameter(pNotificationId); - return 0; -} - -EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(notificationId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRadians); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - push_ptr_parameter(pProjection); - push_uint32_parameter(eEye); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nTimeoutMs); - return 0; -} - -bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_026_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeDevice); - push_ptr_parameter(pOverlayView); - push_uint32_parameter(unOverlayViewSize); - return 0; -} - -EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOverlayView); - return 0; -} - -void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvrEvent); -} - -bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pDstTexture); - return 0; -} - -void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_uint64_parameter(devicePath); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchThumbnailURL); - push_uint32_parameter(unThumbnailURLLen); - push_ptr_parameter(peError); - return 0; -} - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchOriginalPath); - push_uint32_parameter(unOriginalPathLen); - push_ptr_parameter(peError); - return 0; -} - -const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eUniverse); -} - -ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutScreenshotHandle); - push_uint32_parameter(type); - push_ptr_parameter(pchPreviewFilename); - push_ptr_parameter(pchVRFilename); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSupportedTypes); - push_uint32_parameter(numTypes); - return 0; -} - -EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_uint32_parameter(filenameType); - push_ptr_parameter(pchFilename); - push_uint32_parameter(cchFilename); - push_ptr_parameter(pError); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_float_parameter(flProgress); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutScreenshotHandle); - push_ptr_parameter(pchPreviewFilename); - push_ptr_parameter(pchVRFilename); - return 0; -} - -EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) -{ - push_ptr_parameter(_this); - push_uint32_parameter(screenshotHandle); - push_uint32_parameter(type); - push_ptr_parameter(pchSourcePreviewFilename); - push_ptr_parameter(pchSourceVRFilename); - return 0; -} - -uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchResourceName); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferLen); - return 0; -} - -uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchResourceName); - push_ptr_parameter(pchResourceTypeDirectory); - push_ptr_parameter(pchPathBuffer); - push_uint32_parameter(unBufferLen); - return 0; -} - -uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDriver); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchDriverName); - return 0; -} - -bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDriver); - return 0; -} - -EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand) -{ - push_ptr_parameter(_this); - push_ptr_parameter(peDominantHand); - return 0; -} - -EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDominantHand); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eSummaryType); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unBindingInfoSize); - push_uint32_parameter(unBindingInfoCount); - push_ptr_parameter(punReturnedBindingInfoCount); - return 0; -} - -EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unBindingInfoSize); - push_uint32_parameter(unBindingInfoCount); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint64_parameter(ulActionSetHandle); - push_uint64_parameter(ulDeviceHandle); - push_bool_parameter(bShowOnDesktop); - return 0; -} - -EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulDevicePath); - push_ptr_parameter(pchVariantArray); - push_uint32_parameter(unVariantArraySize); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchPath); - push_uint32_parameter(mode); - push_uint32_parameter(unElementSize); - push_uint32_parameter(unElements); - push_ptr_parameter(pulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pDst); - push_uint32_parameter(unBytes); - push_ptr_parameter(punRead); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pSrc); - push_uint32_parameter(unBytes); - return 0; -} - -PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eApplicationType); - push_ptr_parameter(pStartupInfo); - return 0; -} - -void __thiscall IVRClientCore_003_Cleanup(void *_this) -{ - push_ptr_parameter(_this); -} - -EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInterfaceVersion); - return 0; -} - -void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchNameAndVersion); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - push_ptr_parameter(pProjection); - push_uint32_parameter(eEye); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_025_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_026_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_026_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_026_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_026_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_026_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_026_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_026_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_026_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_026_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_026_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_026_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_026_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_026_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_026_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_026_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_026_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_026_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_026_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_026_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_026_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_026_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_026_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_026_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_026_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_026_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_026_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_026_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_026_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_026_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_026_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_026_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_026_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelPath); - push_ptr_parameter(pTransform); - push_ptr_parameter(pRenderSettings); - push_uint32_parameter(nSizeOfRenderSettings); - return 0; -} - -void __thiscall IVRCompositor_026_ClearStageOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_026_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBenchmarkResults); - push_uint32_parameter(nSizeOfBenchmarkResults); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPosePredictionID); - push_ptr_parameter(pGamePosePredictionID); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_026_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unPosePredictionID); - push_ptr_parameter(pPoseArray); - push_uint32_parameter(unPoseArrayCount); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_uint32_parameter(unFlags); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_024_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_021_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -void __thiscall IVRChaperone_003_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); - push_float_parameter(flCollisionBoundsFadeDistance); - push_ptr_parameter(pOutputCameraColor); -} - -bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); -} - -uint32_t __thiscall IVRControlPanel_006_undoc1(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRControlPanel_006_undoc2(void *_this, uint32_t a, char * b, uint32_t c) -{ - push_ptr_parameter(_this); - push_uint32_parameter(a); - push_ptr_parameter(b); - push_uint32_parameter(c); - return 0; -} - -EVRInitError __thiscall IVRControlPanel_006_undoc3(void *_this, const char * a) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - return 0; -} - -uint32_t __thiscall IVRControlPanel_006_undoc4(void *_this, const char * a) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - return 0; -} - -uint32_t __thiscall IVRControlPanel_006_undoc5(void *_this, const char * a, uint32_t b, char * c, uint32_t d) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - push_uint32_parameter(b); - push_ptr_parameter(c); - push_uint32_parameter(d); - return 0; -} - -uint32_t __thiscall IVRControlPanel_006_undoc6(void *_this, const char * a, const char * b, char * c, uint32_t d) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - push_ptr_parameter(b); - push_ptr_parameter(c); - push_uint32_parameter(d); - return 0; -} - -uint32_t __thiscall IVRControlPanel_006_undoc7(void *_this, const char * a, const char * b, char * c, uint32_t d) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - push_ptr_parameter(b); - push_ptr_parameter(c); - push_uint32_parameter(d); - return 0; -} - -bool __thiscall IVRControlPanel_006_undoc8(void *_this, uint32_t a) -{ - push_ptr_parameter(_this); - push_uint32_parameter(a); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc9(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRControlPanel_006_undoc10(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRControlPanel_006_undoc11(void *_this, uint32_t a) -{ - push_ptr_parameter(_this); - push_uint32_parameter(a); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc12(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRControlPanel_006_undoc13(void *_this, TrackedDeviceIndex_t a) -{ - push_ptr_parameter(_this); - push_uint32_parameter(a); -} - -void __thiscall IVRControlPanel_006_undoc14(void *_this, EVRState a) -{ - push_ptr_parameter(_this); - push_uint32_parameter(a); -} - -EVRState __thiscall IVRControlPanel_006_undoc15(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc16(void *_this, bool a) -{ - push_ptr_parameter(_this); - push_bool_parameter(a); -} - -bool __thiscall IVRControlPanel_006_undoc17(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRControlPanel_006_undoc18(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc19(void *_this, bool a) -{ - push_ptr_parameter(_this); - push_bool_parameter(a); -} - -bool __thiscall IVRControlPanel_006_undoc20(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRInitError __thiscall IVRControlPanel_006_undoc21(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc22(void *_this, WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e) -{ - push_ptr_parameter(_this); - push_uint64_parameter(a); - push_ptr_parameter(b); - push_uint32_parameter(c); - push_uint32_parameter(d); - push_ptr_parameter(e); -} - -bool __thiscall IVRControlPanel_006_undoc23(void *_this, const char * a) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - return 0; -} - -bool __thiscall IVRControlPanel_006_undoc24(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRControlPanel_006_undoc25(void *_this, bool a) -{ - push_ptr_parameter(_this); - push_bool_parameter(a); - return 0; -} - -uint64_t __thiscall IVRControlPanel_006_undoc26(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRControlPanel_006_undoc27(void *_this, const char * a) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - return 0; -} - -void __thiscall IVRControlPanel_006_undoc28(void *_this, VROverlayHandle_t a) -{ - push_ptr_parameter(_this); - push_uint64_parameter(a); -} - -vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b) -{ - push_ptr_parameter(_this); - push_ptr_parameter(a); - push_ptr_parameter(b); - return 0; -} - -vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a) -{ - push_ptr_parameter(_this); - push_uint64_parameter(a); - return 0; -} - -vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c) -{ - push_ptr_parameter(_this); - push_uint64_parameter(a); - push_ptr_parameter(b); - push_ptr_parameter(c); - return 0; -} - -vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d) -{ - push_ptr_parameter(_this); - push_uint64_parameter(a); - push_ptr_parameter(b); - push_uint32_parameter(c); - push_ptr_parameter(d); - return 0; -} - -void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelPath); - push_ptr_parameter(pTransform); - push_ptr_parameter(pRenderSettings); - push_uint32_parameter(nSizeOfRenderSettings); - return 0; -} - -void __thiscall IVRCompositor_024_ClearStageOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulCursorOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvHotspot); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulCursorHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvCursor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unBytesPerPixel); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_022_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVRInputError __thiscall IVRInput_007_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_007_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eSummaryType); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_007_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_007_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unBindingInfoSize); - push_uint32_parameter(unBindingInfoCount); - push_ptr_parameter(punReturnedBindingInfoCount); - return 0; -} - -EVRInputError __thiscall IVRInput_007_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_007_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -bool __thiscall IVRInput_007_IsUsingLegacyInput(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRInputError __thiscall IVRInput_007_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint64_parameter(ulActionSetHandle); - push_uint64_parameter(ulDeviceHandle); - push_bool_parameter(bShowOnDesktop); - return 0; -} - -const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_ptr_parameter(peError); -} - -bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_uint32_parameter(unValueLen); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); -} - -void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfCurvature); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_021_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_020_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchTemplateAppKey); - push_ptr_parameter(pchNewAppKey); - push_ptr_parameter(pKeys); - push_uint32_parameter(unKeys); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeType); - return 0; -} - -bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_ptr_parameter(pchMimeTypesBuffer); - push_uint32_parameter(unMimeTypesBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchMimeType); - push_ptr_parameter(pchAppKeysThatSupportBuffer); - push_uint32_parameter(unAppKeysThatSupportBuffer); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unHandle); - push_ptr_parameter(pchArgs); - push_uint32_parameter(unArgs); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_020_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_019_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nCameraIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_uint32_parameter(propType); - push_ptr_parameter(pBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_019_IsInputAvailable(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eSummaryType); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pBoneCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pParentIndices); - push_uint32_parameter(unIndexArayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(nBoneIndex); - push_ptr_parameter(pchBoneName); - push_uint32_parameter(unNameBufferSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eReferencePose); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalTrackingLevel); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pSkeletalSummaryData); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_uint32_parameter(eTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - push_uint32_parameter(unStringSectionsToInclude); - return 0; -} - -EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchPath); - push_uint32_parameter(mode); - push_uint32_parameter(unElementSize); - push_uint32_parameter(unElements); - push_ptr_parameter(pulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pDst); - push_uint32_parameter(unBytes); - push_ptr_parameter(punRead); - return 0; -} - -EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - push_ptr_parameter(pSrc); - push_uint32_parameter(unBytes); - return 0; -} - -PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulBuffer); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); - return 0; -} - -void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) -{ - push_ptr_parameter(_this); - push_float_parameter(sizeX); - push_float_parameter(sizeZ); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); -} - -bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_uint32_parameter(unTagCount); -} - -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_ptr_parameter(punTagCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_ptr_parameter(pnBufferLength); - return 0; -} - -bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pBuffer); - push_uint32_parameter(nImportFlags); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(vCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_018_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eTransformSpace); - push_uint32_parameter(eMotionRange); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_ptr_parameter(peTransformSpace); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - push_uint64_parameter(ulRestrictToDevice); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - return 0; -} - -EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pTextureBounds); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(hTrackedCamera); - push_uint32_parameter(glTextureId); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); - return 0; -} - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pDstTexture); - return 0; -} - -void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchThumbnailURL); - push_uint32_parameter(unThumbnailURLLen); - push_ptr_parameter(peError); - return 0; -} - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchOriginalPath); - push_uint32_parameter(unOriginalPathLen); - push_ptr_parameter(peError); - return 0; -} - -const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionManifestPath); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionSetName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchActionName); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInputSourcePath); - push_ptr_parameter(pHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eBoneParent); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pActionData); - push_uint32_parameter(unActionDataSize); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_uint32_parameter(eBoneParent); - push_float_parameter(fPredictedSecondsFromNow); - push_ptr_parameter(pvCompressedData); - push_uint32_parameter(unCompressedSize); - push_ptr_parameter(punRequiredCompressedSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pvCompressedBuffer); - push_uint32_parameter(unCompressedBufferSize); - push_ptr_parameter(peBoneParent); - push_ptr_parameter(pTransformArray); - push_uint32_parameter(unTransformArrayCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - push_ptr_parameter(_this); - push_uint64_parameter(action); - push_float_parameter(fStartSecondsFromNow); - push_float_parameter(fDurationSeconds); - push_float_parameter(fFrequency); - push_float_parameter(fAmplitude); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(digitalActionHandle); - push_ptr_parameter(originsOut); - push_uint32_parameter(originOutCount); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pchNameArray); - push_uint32_parameter(unNameArraySize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(origin); - push_ptr_parameter(pOriginInfo); - push_uint32_parameter(unOriginInfoSize); - return 0; -} - -EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(actionSetHandle); - push_uint64_parameter(ulActionHandle); - return 0; -} - -EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSets); - push_uint32_parameter(unSizeOfVRSelectedActionSet_t); - push_uint32_parameter(unSetCount); - push_uint64_parameter(originToHighlight); - return 0; -} - -void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); - push_ptr_parameter(pInstance); -} - -bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_017_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_017_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_017_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_017_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_017_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_017_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_017_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_017_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_017_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_017_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_017_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_017_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(vCenter); - push_float_parameter(fRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlay); - push_uint32_parameter(eWhich); - push_ptr_parameter(pvCenter); - push_ptr_parameter(pfRadius); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_017_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_017_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_017_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_017_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_017_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_017_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_017_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_017_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_017_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_017_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_017_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_017_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_021_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode) -{ - push_ptr_parameter(_this); - push_bool_parameter(bExplicitTimingMode); -} - -EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pColor); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchRenderModel); - push_ptr_parameter(pColor); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulOverlayHandleParent); - push_ptr_parameter(pmatParentOverlayToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_016_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnDevice); - push_uint32_parameter(textureType); -} - -bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_020_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11ShaderResourceView); -} - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eApplicationType); - return 0; -} - -void __thiscall IVRClientCore_002_Cleanup(void *_this) -{ - push_ptr_parameter(_this); -} - -EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchInterfaceVersion); - return 0; -} - -void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchNameAndVersion); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - return 0; -} - -void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPIType); - push_ptr_parameter(pColorSpace); - push_ptr_parameter(pTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_014_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pFlags); - return 0; -} - -VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_ptr_parameter(pchCaption); - push_ptr_parameter(pchButton0Text); - push_ptr_parameter(pchButton1Text); - push_ptr_parameter(pchButton2Text); - push_ptr_parameter(pchButton3Text); - return 0; -} - -void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_019_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPhysicalDevice); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - push_ptr_parameter(pDistortionCoordinates); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_uint32_parameter(type); - return 0; -} - -bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - return 0; -} - -bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_uint32_parameter(unControllerStateSize); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_bool_parameter(bBackground); - return 0; -} - -void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_018_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfTexelAspect); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punSortOrder); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_013_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pMaskPrimitives); - push_uint32_parameter(unNumMaskPrimitives); - push_uint32_parameter(unPrimitiveSize); - return 0; -} - -void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(nFrames); - return 0; -} - -float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_017_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_016_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -const char * __thiscall IVRSettings_001_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eError); - return 0; -} - -bool __thiscall IVRSettings_001_Sync(void *_this, bool bForce, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRSettings_001_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bDefaultValue); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_001_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_bool_parameter(bValue); - push_ptr_parameter(peError); -} - -int32_t __thiscall IVRSettings_001_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nDefaultValue); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_001_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_uint32_parameter(nValue); - push_ptr_parameter(peError); -} - -float __thiscall IVRSettings_001_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flDefaultValue); - push_ptr_parameter(peError); - return 0; -} - -void __thiscall IVRSettings_001_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_float_parameter(flValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_001_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_uint32_parameter(unValueLen); - push_ptr_parameter(pchDefaultValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_001_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(pchValue); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_001_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(peError); -} - -void __thiscall IVRSettings_001_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchSection); - push_ptr_parameter(pchSettingsKey); - push_ptr_parameter(peError); -} - -EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchTemplateAppKey); - push_ptr_parameter(pchNewAppKey); - push_ptr_parameter(pKeys); - push_uint32_parameter(unKeys); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pStats); - push_uint32_parameter(nStatsSizeInBytes); -} - -void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_015_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) -{ - push_ptr_parameter(_this); - push_uint32_parameter(type); - push_ptr_parameter(pchDestinationFileName); - push_ptr_parameter(pchVRDestinationFileName); - return 0; -} - -EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pD3D11DeviceOrResource); - push_ptr_parameter(ppD3D11ShaderResourceView); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pglTextureId); - push_ptr_parameter(pglSharedTextureHandle); - return 0; -} - -bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(glTextureId); - push_ptr_parameter(glSharedTextureHandle); - return 0; -} - -void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(glSharedTextureHandle); -} - -EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_012_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eCameraError); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHasCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); - push_ptr_parameter(pnFrameBufferSize); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFocalLength); - push_ptr_parameter(pCenter); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(eFrameType); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pHandle); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera) -{ - push_ptr_parameter(_this); - push_uint32_parameter(hTrackedCamera); - return 0; -} - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(hTrackedCamera); - push_uint32_parameter(eFrameType); - push_ptr_parameter(pFrameBuffer); - push_uint32_parameter(nFrameBufferSize); - push_ptr_parameter(pFrameHeader); - push_uint32_parameter(nFrameHeaderSize); - return 0; -} - -void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_014_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend) -{ - push_ptr_parameter(_this); - push_bool_parameter(bSuspend); -} - -EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unPID); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - push_ptr_parameter(pNativeTextureRef); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - push_ptr_parameter(pNativeFormat); - push_ptr_parameter(pAPI); - push_ptr_parameter(pColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pNativeTextureHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_011_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_013_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_013_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride) -{ - push_ptr_parameter(_this); - push_bool_parameter(bOverride); -} - -void __thiscall IVRSystem_011_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_011_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_011_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_011_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_011_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_011_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_011_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_011_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_011_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_011_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_011_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_011_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_011_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_011_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_011_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_011_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_011_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_011_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_011_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_011_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_011_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_011_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -bool __thiscall IVRSystem_011_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_011_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_011_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_011_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_011_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_011_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_011_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_011_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_011_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_011_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_011_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_011_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_011_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_011_PerformanceTestEnableCapture(void *_this, bool bEnable) -{ - push_ptr_parameter(_this); - push_bool_parameter(bEnable); -} - -void __thiscall IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nFidelityLevel); -} - -EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBinaryPath); - push_ptr_parameter(pchArguments); - push_ptr_parameter(pchWorkingDirectory); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchComponentName); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punDeviceIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameSize); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - push_uint32_parameter(uncbVREvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_010_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(pD3D11Device); - push_ptr_parameter(ppD3D11Texture2D); - return 0; -} - -void __thiscall IVRRenderModels_004_FreeTextureD3D11(void *_this, void * pD3D11Texture2D) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pD3D11Texture2D); -} - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_004_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_004_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_004_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_004_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pOutputGamePose); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_012_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_011_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(ppRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) -{ - push_ptr_parameter(_this); - push_uint32_parameter(textureId); - push_ptr_parameter(ppTexture); - return 0; -} - -void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); -} - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unComponentIndex); - push_ptr_parameter(pchComponentName); - push_uint32_parameter(unComponentNameLen); - return 0; -} - -uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pchComponentRenderModelName); - push_uint32_parameter(unComponentRenderModelNameLen); - return 0; -} - -bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pComponentState); - return 0; -} - -bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pchComponentName); - return 0; -} - -void __thiscall IVRSystem_010_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_010_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_010_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_010_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_010_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_010_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_010_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_010_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_010_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_010_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_010_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_010_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_010_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -TrackedDeviceIndex_t __thiscall IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceType); - return 0; -} - -ETrackedControllerRole __thiscall IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -ETrackedDeviceClass __thiscall IVRSystem_010_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_010_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_010_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_010_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_010_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_010_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_010_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_010_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_010_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_010_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_010_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_010_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_010_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_010_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_010_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_010_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_010_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_010_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_010_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_010_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_010_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_010_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_010_PerformanceTestEnableCapture(void *_this, bool bEnable) -{ - push_ptr_parameter(_this); - push_bool_parameter(bEnable); -} - -void __thiscall IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nFidelityLevel); -} - -EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSizeX); - push_ptr_parameter(pSizeZ); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect) -{ - push_ptr_parameter(_this); - push_ptr_parameter(rect); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatStandingZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ) -{ - push_ptr_parameter(_this); - push_float_parameter(sizeX); - push_float_parameter(sizeZ); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_uint32_parameter(unQuadsCount); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatSeatedZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pMatStandingZeroPoseToRawTrackingPose); -} - -void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile) -{ - push_ptr_parameter(_this); - push_uint32_parameter(configFile); -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pmatSeatedZeroPoseToRawTrackingPose); - return 0; -} - -void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_uint32_parameter(unTagCount); -} - -bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTagsBuffer); - push_ptr_parameter(punTagCount); - return 0; -} - -void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_010_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_HmdVector2_parameter(coordinatesInOverlay); - push_ptr_parameter(pmatTransform); - return 0; -} - -bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_008_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToKeyboardTransform); -} - -void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_HmdRect2_parameter(avoidRect); -} - -bool __thiscall IVRTrackedCamera_001_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_GetCameraFirmwareDescription(void *_this, TrackedDeviceIndex_t nDeviceIndex, char * pBuffer, uint32_t nBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pBuffer); - push_uint32_parameter(nBufferLen); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_GetCameraFrameDimensions(void *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t * pWidth, uint32_t * pHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nVideoStreamFormat); - push_ptr_parameter(pWidth); - push_ptr_parameter(pHeight); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_uint32_parameter(nVideoStreamFormat); - return 0; -} - -ECameraVideoStreamFormat __thiscall IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_EnableCameraForStreaming(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_bool_parameter(bEnable); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_StartVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_StopVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_IsVideoStreamActive(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -float __thiscall IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -const CameraVideoStreamFrame_t * __thiscall IVRTrackedCamera_001_GetVideoStreamFrame(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *_this, TrackedDeviceIndex_t nDeviceIndex, CameraVideoStreamFrame_t * pFrameImage) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_ptr_parameter(pFrameImage); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_SetAutoExposure(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_bool_parameter(bEnable); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_PauseVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_ResumeVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_IsVideoStreamPaused(void *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_GetCameraDistortion(void *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float * pflOutputU, float * pflOutputV) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_float_parameter(flInputU); - push_float_parameter(flInputV); - push_ptr_parameter(pflOutputU); - push_ptr_parameter(pflOutputV); - return 0; -} - -bool __thiscall IVRTrackedCamera_001_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - push_ptr_parameter(_this); - push_uint32_parameter(nDeviceIndex); - push_float_parameter(flWidthPixels); - push_float_parameter(flHeightPixels); - push_float_parameter(flZNear); - push_float_parameter(flZFar); - push_ptr_parameter(pProjection); - return 0; -} - -void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTextures); - push_uint32_parameter(unTextureCount); - return 0; -} - -void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_009_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); -} - -bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputPose); - push_ptr_parameter(pTrackedDevicePose); - push_ptr_parameter(pTransform); -} - -ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this) -{ - push_ptr_parameter(_this); -} - -EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTextureColorSpace); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulNewFocusOverlay); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - push_uint64_parameter(ulTo); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eDirection); - push_uint64_parameter(ulFrom); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - push_uint64_parameter(uUserValue); - return 0; -} - -uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_007_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceId); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop) -{ - push_ptr_parameter(_this); - push_bool_parameter(bIsVisibleOnDesktop); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - push_bool_parameter(bTemporary); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchApplicationManifestFullPath); - return 0; -} - -bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unApplicationIndex); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unProcessId); - push_ptr_parameter(pchAppKey); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(pchPropertyValueBuffer); - push_uint32_parameter(unPropertyValueBufferLen); - push_ptr_parameter(peError); - return 0; -} - -bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_uint32_parameter(eProperty); - push_ptr_parameter(peError); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - push_bool_parameter(bAutoLaunch); - return 0; -} - -bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKeyBuffer); - push_uint32_parameter(unAppKeyBufferLen); - return 0; -} - -EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchAppKey); - return 0; -} - -const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state) -{ - push_ptr_parameter(_this); - push_uint32_parameter(state); - return 0; -} - -ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pInfo); - return 0; -} - -bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pQuadsBuffer); - push_ptr_parameter(punQuadsCount); - return 0; -} - -bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pInfo); - return 0; -} - -void __thiscall IVRChaperone_002_ReloadInfo(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color) -{ - push_ptr_parameter(_this); - push_HmdColor_parameter(color); -} - -void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pOutputColorArray); - push_uint32_parameter(nNumOutputColors); -} - -bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce) -{ - push_ptr_parameter(_this); - push_bool_parameter(bForce); -} - -uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_008_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_008_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - push_uint32_parameter(nSubmitFlags); - return 0; -} - -void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pFront); - push_ptr_parameter(pBack); - push_ptr_parameter(pLeft); - push_ptr_parameter(pRight); - push_ptr_parameter(pTop); - push_ptr_parameter(pBottom); -} - -void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_008_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_008_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this) -{ - push_ptr_parameter(_this); -} - -float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint64_parameter(ulUserValue); - push_ptr_parameter(strType); - push_ptr_parameter(strText); - push_ptr_parameter(strCategory); - push_ptr_parameter(photo); - push_ptr_parameter(notificationId); - return 0; -} - -NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(notificationId); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eInputMode); - push_uint32_parameter(eLineInputMode); - push_ptr_parameter(pchDescription); - push_uint32_parameter(unCharMax); - push_ptr_parameter(pchExistingText); - push_bool_parameter(bUseMinimalMode); - return 0; -} - -uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchText); - push_uint32_parameter(cchText); - return 0; -} - -void __thiscall IVROverlay_005_HideKeyboard(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pRenderModel); - return 0; -} - -void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unRenderModelIndex); - push_ptr_parameter(pchRenderModelName); - push_uint32_parameter(unRenderModelNameLen); - return 0; -} - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eTrackedDeviceClass); - push_ptr_parameter(punTrackedDeviceIndexArray); - push_uint32_parameter(unTrackedDeviceIndexArrayCount); - push_uint32_parameter(unRelativeToTrackedDeviceIndex); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_007_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_007_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - return 0; -} - -void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_007_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_007_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_007_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fMinDistanceInMeters); - push_float_parameter(fMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfMinDistanceInMeters); - push_ptr_parameter(pfMaxDistanceInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(punWidth); - push_ptr_parameter(punHeight); - return 0; -} - -const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayToShow); -} - -VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfRed); - push_ptr_parameter(pfGreen); - push_ptr_parameter(pfBlue); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTextureType); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pMainHandle); - push_ptr_parameter(pThumbnailHandle); - return 0; -} - -bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_ptr_parameter(pchRequest); - push_ptr_parameter(pchResponseBuffer); - push_uint32_parameter(unResponseBufferSize); - return 0; -} - -uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_006_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_006_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - push_ptr_parameter(pDevice); -} - -VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderPoseArray); - push_uint32_parameter(unRenderPoseArrayCount); - push_ptr_parameter(pGamePoseArray); - push_uint32_parameter(unGamePoseArrayCount); - return 0; -} - -VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); - return 0; -} - -void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_006_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_006_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_006_CanRenderScene(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchOverlayKey); - push_ptr_parameter(pchOverlayFriendlyName); - push_ptr_parameter(pOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_bool_parameter(bEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayFlag); - push_ptr_parameter(pbEnabled); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfAlpha); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfGamma); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_float_parameter(fWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pfWidthInMeters); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pOverlayTextureBounds); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTransformType); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peTrackingOrigin); - push_ptr_parameter(pmatTrackingOriginToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punTrackedDevice); - push_ptr_parameter(pmatTrackedDeviceToOverlayTransform); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peOverlayVisibility); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eOverlayVisibility); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pEvent); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(peInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(eInputMethod); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvecMouseScale); - return 0; -} - -bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pParams); - push_ptr_parameter(pResults); - return 0; -} - -bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unControllerDeviceIndex); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pTexture); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pvBuffer); - push_uint32_parameter(unWidth); - push_uint32_parameter(unHeight); - push_uint32_parameter(unDepth); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(pchFilePath); - return 0; -} - -bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_uint32_parameter(unProcessId); - return 0; -} - -VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - push_ptr_parameter(_this); - push_uint64_parameter(ulOverlayHandle); - push_ptr_parameter(punProcessId); - return 0; -} - -void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pnX); - push_ptr_parameter(pnY); - push_ptr_parameter(pnWidth); - push_ptr_parameter(pnHeight); -} - -HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fNearZ); - push_float_parameter(fFarZ); - push_uint32_parameter(eProjType); - return 0; -} - -void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pfLeft); - push_ptr_parameter(pfRight); - push_ptr_parameter(pfTop); - push_ptr_parameter(pfBottom); -} - -DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - push_float_parameter(fU); - push_float_parameter(fV); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pfSecondsSinceLastVsync); - push_ptr_parameter(pulFrameCounter); - return 0; -} - -int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pnAdapterIndex); - push_ptr_parameter(pnAdapterOutputIndex); -} - -bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd) -{ - push_ptr_parameter(_this); - push_ptr_parameter(hWnd); - return 0; -} - -void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_float_parameter(fPredictedSecondsToPhotonsFromNow); - push_ptr_parameter(pTrackedDevicePoseArray); - push_uint32_parameter(unTrackedDevicePoseArrayCount); -} - -void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this) -{ - push_ptr_parameter(_this); -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - return 0; -} - -bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchRenderModelName); - push_ptr_parameter(pRenderModel); - return 0; -} - -void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pRenderModel); -} - -TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - return 0; -} - -bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pError); - return 0; -} - -uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unDeviceIndex); - push_uint32_parameter(prop); - push_ptr_parameter(pchValue); - push_uint32_parameter(unBufferSize); - push_ptr_parameter(pError); - return 0; -} - -const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error) -{ - push_ptr_parameter(_this); - push_uint32_parameter(error); - return 0; -} - -bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pEvent); - return 0; -} - -bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_ptr_parameter(pEvent); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - return 0; -} - -HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - push_ptr_parameter(_this); - push_ptr_parameter(_r); - push_uint32_parameter(eEye); - return 0; -} - -bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - return 0; -} - -bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); - push_uint32_parameter(unControllerDeviceIndex); - push_ptr_parameter(pControllerState); - push_ptr_parameter(pTrackedDevicePose); - return 0; -} - -void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - push_ptr_parameter(_this); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(unAxisId); - push_uint32_parameter(usDurationMicroSec); -} - -const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eButtonId); - return 0; -} - -const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eAxisType); - return 0; -} - -bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) -{ - push_ptr_parameter(_this); - push_ptr_parameter(overlaySettings); - push_HmdVector2_parameter(vecWindowClientPositionOnScreen); - push_HmdVector2_parameter(vecWindowClientSize); - push_uint32_parameter(unControllerDeviceIndex); - push_uint32_parameter(eOutputType); - return 0; -} - -bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchBuffer); - push_uint32_parameter(unBufferSize); - return 0; -} - -void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync) -{ - push_ptr_parameter(_this); - push_bool_parameter(bVSync); -} - -bool __thiscall IVRCompositor_005_GetVSync(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma) -{ - push_ptr_parameter(_this); - push_float_parameter(fGamma); -} - -float __thiscall IVRCompositor_005_GetGamma(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eType); - push_ptr_parameter(pDevice); -} - -void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pPoseArray); - push_uint32_parameter(unPoseArrayCount); -} - -void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eEye); - push_ptr_parameter(pTexture); - push_ptr_parameter(pBounds); -} - -void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTexture); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(buffer); - push_uint32_parameter(width); - push_uint32_parameter(height); - push_uint32_parameter(depth); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pchFilePath); - push_ptr_parameter(pSettings); -} - -void __thiscall IVRCompositor_005_ClearOverlay(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pTiming); - push_uint32_parameter(unFramesAgo); - return 0; -} - -void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_float_parameter(fRed); - push_float_parameter(fGreen); - push_float_parameter(fBlue); - push_float_parameter(fAlpha); - push_bool_parameter(bBackground); -} - -void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn) -{ - push_ptr_parameter(_this); - push_float_parameter(fSeconds); - push_bool_parameter(bFadeIn); -} - -void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this) -{ - push_ptr_parameter(_this); -} - -void __thiscall IVRCompositor_005_CompositorQuit(void *_this) -{ - push_ptr_parameter(_this); -} - -bool __thiscall IVRCompositor_005_IsFullscreen(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} - -bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) -{ - push_ptr_parameter(_this); - push_ptr_parameter(pSettings); - push_float_parameter(fAspectRatio); - push_uint32_parameter(eOrigin); - push_HmdVector3_parameter(vSource); - push_HmdVector3_parameter(vDirection); - push_ptr_parameter(pvecIntersectionUV); - push_ptr_parameter(pvecIntersectionTrackingSpace); - return 0; -} - -void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin) -{ - push_ptr_parameter(_this); - push_uint32_parameter(eOrigin); -} - -TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this) -{ - push_ptr_parameter(_this); - return 0; -} diff --git a/vrclient_x64/tests/capi_thunks_autogen.h b/vrclient_x64/tests/capi_thunks_autogen.h deleted file mode 100644 index 8ad462011..000000000 --- a/vrclient_x64/tests/capi_thunks_autogen.h +++ /dev/null @@ -1,7362 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" - -#include "cxx.h" -#include "flatapi.h" -#include "vrclient_defs.h" - -#include "capi_thunks.h" - -void test_capi_thunks_IVRSystem_022(void); - -void __thiscall IVRSystem_022_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_022_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_022_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_022_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_022_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_022_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_022_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_022_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_022_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_022_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_022_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -HmdMatrix34_t *__thiscall IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_022_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_022_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_022_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_022_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_022_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_022_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_022_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_022_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_022_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_022_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_022_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_022_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_022_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_022_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_022_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_022_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_022_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_022_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_022_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_022_IsInputAvailable(void *_this); - -bool __thiscall IVRSystem_022_IsSteamVRDrawingControllers(void *_this); - -bool __thiscall IVRSystem_022_ShouldApplicationPause(void *_this); - -bool __thiscall IVRSystem_022_ShouldApplicationReduceRenderingWork(void *_this); - -EVRFirmwareError __thiscall IVRSystem_022_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_022_AcknowledgeQuit_Exiting(void *_this); - -uint32_t __thiscall IVRSystem_022_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); - -const char * __thiscall IVRSystem_022_GetRuntimeVersion(void *_this); - -void test_capi_thunks_IVRApplications_007(void); - -EVRApplicationError __thiscall IVRApplications_007_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_007_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_007_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_007_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_007_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_007_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_007_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_007_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); - -EVRApplicationError __thiscall IVRApplications_007_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs); - -EVRApplicationError __thiscall IVRApplications_007_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -bool __thiscall IVRApplications_007_CancelApplicationLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_007_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_007_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_007_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_007_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_007_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_007_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_007_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_007_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_007_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType); - -bool __thiscall IVRApplications_007_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -bool __thiscall IVRApplications_007_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer); - -uint32_t __thiscall IVRApplications_007_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer); - -uint32_t __thiscall IVRApplications_007_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs); - -EVRApplicationError __thiscall IVRApplications_007_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRSceneApplicationState __thiscall IVRApplications_007_GetSceneApplicationState(void *_this); - -EVRApplicationError __thiscall IVRApplications_007_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *_this, EVRSceneApplicationState state); - -EVRApplicationError __thiscall IVRApplications_007_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); - -uint32_t __thiscall IVRApplications_007_GetCurrentSceneProcessId(void *_this); - -void test_capi_thunks_IVRSettings_003(void); - -const char * __thiscall IVRSettings_003_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); - -void __thiscall IVRSettings_003_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); - -bool __thiscall IVRSettings_003_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -int32_t __thiscall IVRSettings_003_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -float __thiscall IVRSettings_003_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); - -void __thiscall IVRSettings_003_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -void test_capi_thunks_IVRChaperone_004(void); - -ChaperoneCalibrationState __thiscall IVRChaperone_004_GetCalibrationState(void *_this); - -bool __thiscall IVRChaperone_004_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperone_004_GetPlayAreaRect(void *_this, HmdQuad_t * rect); - -void __thiscall IVRChaperone_004_ReloadInfo(void *_this); - -void __thiscall IVRChaperone_004_SetSceneColor(void *_this, HmdColor_t color); - -void __thiscall IVRChaperone_004_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); - -bool __thiscall IVRChaperone_004_AreBoundsVisible(void *_this); - -void __thiscall IVRChaperone_004_ForceBoundsVisible(void *_this, bool bForce); - -void __thiscall IVRChaperone_004_ResetZeroPose(void *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin); - -void test_capi_thunks_IVRChaperoneSetup_006(void); - -bool __thiscall IVRChaperoneSetup_006_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); - -void __thiscall IVRChaperoneSetup_006_RevertWorkingCopy(void *_this); - -bool __thiscall IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); - -bool __thiscall IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -bool __thiscall IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); - -void __thiscall IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); - -void __thiscall IVRChaperoneSetup_006_SetWorkingPerimeter(void *_this, HmdVector2_t * pPointBuffer, uint32_t unPointCount); - -void __thiscall IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_006_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); - -bool __thiscall IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -bool __thiscall IVRChaperoneSetup_006_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength); - -bool __thiscall IVRChaperoneSetup_006_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags); - -void __thiscall IVRChaperoneSetup_006_ShowWorkingSetPreview(void *_this); - -void __thiscall IVRChaperoneSetup_006_HideWorkingSetPreview(void *_this); - -void __thiscall IVRChaperoneSetup_006_RoomSetupStarting(void *_this); - -void test_capi_thunks_IVRCompositor_027(void); - -void __thiscall IVRCompositor_027_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_027_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_027_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_027_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_027_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_027_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_027_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_027_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_027_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_027_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_027_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_027_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_027_FadeGrid(void *_this, float fSeconds, bool bFadeGridIn); - -float __thiscall IVRCompositor_027_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_027_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_027_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_027_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_027_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_027_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_027_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_027_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_027_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_027_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_027_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_027_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_027_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_027_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_027_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_027_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_027_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_027_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_027_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_027_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_027_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_027_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_027_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_027_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); - -EVRCompositorError __thiscall IVRCompositor_027_SubmitExplicitTimingData(void *_this); - -bool __thiscall IVRCompositor_027_IsMotionSmoothingEnabled(void *_this); - -bool __thiscall IVRCompositor_027_IsMotionSmoothingSupported(void *_this); - -bool __thiscall IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *_this); - -EVRCompositorError __thiscall IVRCompositor_027_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); - -void __thiscall IVRCompositor_027_ClearStageOverride(void *_this); - -bool __thiscall IVRCompositor_027_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults); - -EVRCompositorError __thiscall IVRCompositor_027_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID); - -EVRCompositorError __thiscall IVRCompositor_027_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); - -void test_capi_thunks_IVRHeadsetView_001(void); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewSize(void *_this, uint32_t nWidth, uint32_t nHeight); - -void __thiscall IVRHeadsetView_001_GetHeadsetViewSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewMode(void *_this, HeadsetViewMode_t eHeadsetViewMode); - -HeadsetViewMode_t __thiscall IVRHeadsetView_001_GetHeadsetViewMode(void *_this); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewCropped(void *_this, bool bCropped); - -bool __thiscall IVRHeadsetView_001_GetHeadsetViewCropped(void *_this); - -float __thiscall IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *_this); - -void __thiscall IVRHeadsetView_001_SetHeadsetViewBlendRange(void *_this, float flStartPct, float flEndPct); - -void __thiscall IVRHeadsetView_001_GetHeadsetViewBlendRange(void *_this, float * pStartPct, float * pEndPct); - -void test_capi_thunks_IVRNotifications_002(void); - -EVRNotificationError __thiscall IVRNotifications_002_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId); - -EVRNotificationError __thiscall IVRNotifications_002_RemoveNotification(void *_this, VRNotificationId notificationId); - -void test_capi_thunks_IVROverlay_026(void); - -EVROverlayError __thiscall IVROverlay_026_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_026_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_026_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_026_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_026_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_026_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_026_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float fRadians); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayPreCurvePitch(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); - -EVROverlayError __thiscall IVROverlay_026_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_026_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -EVROverlayError __thiscall IVROverlay_026_WaitFrameSync(void *_this, uint32_t nTimeoutMs); - -bool __thiscall IVROverlay_026_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_026_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_026_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_026_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_026_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_026_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_026_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_026_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_026_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_026_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_026_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_026_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_026_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_026_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_026_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_026_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_026_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_026_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_026_HideKeyboard(void *_this); - -void __thiscall IVROverlay_026_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_026_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_026_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_026_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVROverlayView_003(void); - -EVROverlayError __thiscall IVROverlayView_003_AcquireOverlayView(void *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize); - -EVROverlayError __thiscall IVROverlayView_003_ReleaseOverlayView(void *_this, VROverlayView_t * pOverlayView); - -void __thiscall IVROverlayView_003_PostOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent); - -bool __thiscall IVROverlayView_003_IsViewingPermitted(void *_this, VROverlayHandle_t ulOverlayHandle); - -void test_capi_thunks_IVRRenderModels_006(void); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); - -void __thiscall IVRRenderModels_006_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); - -void __thiscall IVRRenderModels_006_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); - -EVRRenderModelError __thiscall IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); - -void __thiscall IVRRenderModels_006_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelCount(void *_this); - -uint32_t __thiscall IVRRenderModels_006_GetComponentCount(void *_this, const char * pchRenderModelName); - -uint32_t __thiscall IVRRenderModels_006_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); - -uint64_t __thiscall IVRRenderModels_006_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_006_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); - -bool __thiscall IVRRenderModels_006_GetComponentStateForDevicePath(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_006_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_006_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); - -uint32_t __thiscall IVRRenderModels_006_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); - -const char * __thiscall IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); - -void test_capi_thunks_IVRExtendedDisplay_001(void); - -void __thiscall IVRExtendedDisplay_001_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRExtendedDisplay_001_GetEyeOutputViewport(void *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRExtendedDisplay_001_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -void test_capi_thunks_IVRTrackedCamera_006(void); - -const char * __thiscall IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); - -void __thiscall IVRTrackedCamera_006_SetCameraTrackingSpace(void *_this, ETrackingUniverseOrigin eUniverse); - -ETrackingUniverseOrigin __thiscall IVRTrackedCamera_006_GetCameraTrackingSpace(void *_this); - -void test_capi_thunks_IVRScreenshots_001(void); - -EVRScreenshotError __thiscall IVRScreenshots_001_RequestScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename); - -EVRScreenshotError __thiscall IVRScreenshots_001_HookScreenshot(void *_this, EVRScreenshotType * pSupportedTypes, int numTypes); - -EVRScreenshotType __thiscall IVRScreenshots_001_GetScreenshotPropertyType(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError); - -uint32_t __thiscall IVRScreenshots_001_GetScreenshotPropertyFilename(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError); - -EVRScreenshotError __thiscall IVRScreenshots_001_UpdateScreenshotProgress(void *_this, ScreenshotHandle_t screenshotHandle, float flProgress); - -EVRScreenshotError __thiscall IVRScreenshots_001_TakeStereoScreenshot(void *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename); - -EVRScreenshotError __thiscall IVRScreenshots_001_SubmitScreenshot(void *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename); - -void test_capi_thunks_IVRResources_001(void); - -uint32_t __thiscall IVRResources_001_LoadSharedResource(void *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen); - -uint32_t __thiscall IVRResources_001_GetResourceFullPath(void *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen); - -void test_capi_thunks_IVRDriverManager_001(void); - -uint32_t __thiscall IVRDriverManager_001_GetDriverCount(void *_this); - -uint32_t __thiscall IVRDriverManager_001_GetDriverName(void *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize); - -DriverHandle_t __thiscall IVRDriverManager_001_GetDriverHandle(void *_this, const char * pchDriverName); - -bool __thiscall IVRDriverManager_001_IsEnabled(void *_this, DriverId_t nDriver); - -void test_capi_thunks_IVRInput_010(void); - -EVRInputError __thiscall IVRInput_010_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_010_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_010_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_010_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_010_GetDominantHand(void *_this, ETrackedControllerRole * peDominantHand); - -EVRInputError __thiscall IVRInput_010_SetDominantHand(void *_this, ETrackedControllerRole eDominantHand); - -EVRInputError __thiscall IVRInput_010_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); - -EVRInputError __thiscall IVRInput_010_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); - -EVRInputError __thiscall IVRInput_010_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); - -EVRInputError __thiscall IVRInput_010_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); - -EVRInputError __thiscall IVRInput_010_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_010_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_010_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_010_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_010_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); - -EVRInputError __thiscall IVRInput_010_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_010_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount); - -EVRInputError __thiscall IVRInput_010_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_010_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -EVRInputError __thiscall IVRInput_010_GetComponentStateForBinding(void *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRInput_010_IsUsingLegacyInput(void *_this); - -EVRInputError __thiscall IVRInput_010_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop); - -EVRInputError __thiscall IVRInput_010_GetBindingVariant(void *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize); - -void test_capi_thunks_IVRIOBuffer_002(void); - -EIOBufferError __thiscall IVRIOBuffer_002_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_002_Close(void *_this, IOBufferHandle_t ulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_002_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); - -EIOBufferError __thiscall IVRIOBuffer_002_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); - -PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); - -bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer); - -void test_capi_thunks_IVRClientCore_003(void); - -EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo); - -void __thiscall IVRClientCore_003_Cleanup(void *_this); - -EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion); - -void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError); - -bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this); - -const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError); - -const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError); - -void test_capi_thunks_IVROverlay_025(void); - -EVROverlayError __thiscall IVROverlay_025_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_025_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_025_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_025_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_025_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_025_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_025_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTransformProjection(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye); - -EVROverlayError __thiscall IVROverlay_025_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_025_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_025_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_025_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_025_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_025_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_025_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_025_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_025_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_025_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_025_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_025_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_025_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_025_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_025_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_025_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_025_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_025_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_025_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_025_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_025_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_025_HideKeyboard(void *_this); - -void __thiscall IVROverlay_025_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_025_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_025_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_025_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRCompositor_026(void); - -void __thiscall IVRCompositor_026_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_026_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_026_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_026_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_026_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_026_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_026_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_026_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_026_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_026_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_026_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_026_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_026_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_026_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_026_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_026_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_026_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_026_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_026_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_026_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_026_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_026_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_026_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_026_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_026_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_026_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_026_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_026_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_026_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_026_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_026_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_026_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_026_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_026_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_026_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_026_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_026_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_026_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); - -EVRCompositorError __thiscall IVRCompositor_026_SubmitExplicitTimingData(void *_this); - -bool __thiscall IVRCompositor_026_IsMotionSmoothingEnabled(void *_this); - -bool __thiscall IVRCompositor_026_IsMotionSmoothingSupported(void *_this); - -bool __thiscall IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *_this); - -EVRCompositorError __thiscall IVRCompositor_026_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); - -void __thiscall IVRCompositor_026_ClearStageOverride(void *_this); - -bool __thiscall IVRCompositor_026_GetCompositorBenchmarkResults(void *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults); - -EVRCompositorError __thiscall IVRCompositor_026_GetLastPosePredictionIDs(void *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID); - -EVRCompositorError __thiscall IVRCompositor_026_GetPosesForFrame(void *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); - -void test_capi_thunks_IVROverlay_024(void); - -EVROverlayError __thiscall IVROverlay_024_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_024_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_024_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_024_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_024_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_024_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_024_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_024_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_024_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_024_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_024_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_024_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_024_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_024_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_024_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_024_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_024_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_024_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_024_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_024_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_024_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_024_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_024_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_024_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_024_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_024_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_024_HideKeyboard(void *_this); - -void __thiscall IVROverlay_024_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_024_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_024_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_024_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRSystem_021(void); - -void __thiscall IVRSystem_021_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_021_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_021_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_021_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_021_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_021_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_021_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_021_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_021_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_021_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_021_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_021_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_021_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_021_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_021_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_021_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_021_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_021_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_021_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_021_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_021_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_021_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_021_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_021_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_021_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_021_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_021_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_021_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_021_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_021_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_021_IsInputAvailable(void *_this); - -bool __thiscall IVRSystem_021_IsSteamVRDrawingControllers(void *_this); - -bool __thiscall IVRSystem_021_ShouldApplicationPause(void *_this); - -bool __thiscall IVRSystem_021_ShouldApplicationReduceRenderingWork(void *_this); - -EVRFirmwareError __thiscall IVRSystem_021_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_021_AcknowledgeQuit_Exiting(void *_this); - -uint32_t __thiscall IVRSystem_021_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); - -const char * __thiscall IVRSystem_021_GetRuntimeVersion(void *_this); - -void test_capi_thunks_IVRChaperone_003(void); - -ChaperoneCalibrationState __thiscall IVRChaperone_003_GetCalibrationState(void *_this); - -bool __thiscall IVRChaperone_003_GetPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperone_003_GetPlayAreaRect(void *_this, HmdQuad_t * rect); - -void __thiscall IVRChaperone_003_ReloadInfo(void *_this); - -void __thiscall IVRChaperone_003_SetSceneColor(void *_this, HmdColor_t color); - -void __thiscall IVRChaperone_003_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor); - -bool __thiscall IVRChaperone_003_AreBoundsVisible(void *_this); - -void __thiscall IVRChaperone_003_ForceBoundsVisible(void *_this, bool bForce); - -void test_capi_thunks_IVRControlPanel_006(void); - -uint32_t __thiscall IVRControlPanel_006_undoc1(void *_this); - -uint32_t __thiscall IVRControlPanel_006_undoc2(void *_this, uint32_t a, char * b, uint32_t c); - -EVRInitError __thiscall IVRControlPanel_006_undoc3(void *_this, const char * a); - -uint32_t __thiscall IVRControlPanel_006_undoc4(void *_this, const char * a); - -uint32_t __thiscall IVRControlPanel_006_undoc5(void *_this, const char * a, uint32_t b, char * c, uint32_t d); - -uint32_t __thiscall IVRControlPanel_006_undoc6(void *_this, const char * a, const char * b, char * c, uint32_t d); - -uint32_t __thiscall IVRControlPanel_006_undoc7(void *_this, const char * a, const char * b, char * c, uint32_t d); - -bool __thiscall IVRControlPanel_006_undoc8(void *_this, uint32_t a); - -void __thiscall IVRControlPanel_006_undoc9(void *_this); - -void __thiscall IVRControlPanel_006_undoc10(void *_this); - -bool __thiscall IVRControlPanel_006_undoc11(void *_this, uint32_t a); - -void __thiscall IVRControlPanel_006_undoc12(void *_this); - -void __thiscall IVRControlPanel_006_undoc13(void *_this, TrackedDeviceIndex_t a); - -void __thiscall IVRControlPanel_006_undoc14(void *_this, EVRState a); - -EVRState __thiscall IVRControlPanel_006_undoc15(void *_this); - -void __thiscall IVRControlPanel_006_undoc16(void *_this, bool a); - -bool __thiscall IVRControlPanel_006_undoc17(void *_this); - -EVRApplicationError __thiscall IVRControlPanel_006_undoc18(void *_this); - -void __thiscall IVRControlPanel_006_undoc19(void *_this, bool a); - -bool __thiscall IVRControlPanel_006_undoc20(void *_this); - -EVRInitError __thiscall IVRControlPanel_006_undoc21(void *_this); - -void __thiscall IVRControlPanel_006_undoc22(void *_this, WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e); - -bool __thiscall IVRControlPanel_006_undoc23(void *_this, const char * a); - -bool __thiscall IVRControlPanel_006_undoc24(void *_this); - -bool __thiscall IVRControlPanel_006_undoc25(void *_this, bool a); - -uint64_t __thiscall IVRControlPanel_006_undoc26(void *_this); - -EVRCompositorError __thiscall IVRControlPanel_006_undoc27(void *_this, const char * a); - -void __thiscall IVRControlPanel_006_undoc28(void *_this, VROverlayHandle_t a); - -void test_capi_thunks_IVRMailbox_001(void); - -vrmb_typeb __thiscall IVRMailbox_001_undoc1(void *_this, const char * a, vrmb_typea * b); - -vrmb_typeb __thiscall IVRMailbox_001_undoc2(void *_this, vrmb_typea a); - -vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const char * b, const char * c); - -vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d); - -void test_capi_thunks_IVRCompositor_024(void); - -void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_024_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_024_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_024_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_024_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_024_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_024_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_024_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_024_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_024_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_024_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_024_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_024_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_024_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_024_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_024_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_024_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_024_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_024_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_024_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_024_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_024_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_024_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_024_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_024_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_024_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_024_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_024_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_024_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_024_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_024_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_024_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_024_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_024_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_024_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_024_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_024_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); - -EVRCompositorError __thiscall IVRCompositor_024_SubmitExplicitTimingData(void *_this); - -bool __thiscall IVRCompositor_024_IsMotionSmoothingEnabled(void *_this); - -bool __thiscall IVRCompositor_024_IsMotionSmoothingSupported(void *_this); - -bool __thiscall IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *_this); - -EVRCompositorError __thiscall IVRCompositor_024_SetStageOverride_Async(void *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings); - -void __thiscall IVRCompositor_024_ClearStageOverride(void *_this); - -void test_capi_thunks_IVROverlay_022(void); - -EVROverlayError __thiscall IVROverlay_022_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_022_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_022_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_022_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_022_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_022_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_022_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTransformCursor(void *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTransformCursor(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot); - -EVROverlayError __thiscall IVROverlay_022_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_022_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_022_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_022_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_022_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_022_TriggerLaserMouseHapticVibration(void *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursor(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor); - -EVROverlayError __thiscall IVROverlay_022_ClearOverlayCursorPositionOverride(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_022_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel); - -EVROverlayError __thiscall IVROverlay_022_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_022_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_022_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_022_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_022_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_022_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_022_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_022_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_022_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_022_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_022_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_022_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_022_HideKeyboard(void *_this); - -void __thiscall IVROverlay_022_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_022_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -VRMessageOverlayResponse __thiscall IVROverlay_022_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_022_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRInput_007(void); - -EVRInputError __thiscall IVRInput_007_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_007_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_007_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_007_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_007_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_007_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_007_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_007_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_007_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_007_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_007_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); - -EVRInputError __thiscall IVRInput_007_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); - -EVRInputError __thiscall IVRInput_007_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); - -EVRInputError __thiscall IVRInput_007_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_007_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); - -EVRInputError __thiscall IVRInput_007_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_007_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); - -EVRInputError __thiscall IVRInput_007_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_007_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_007_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_007_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_007_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); - -EVRInputError __thiscall IVRInput_007_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_007_GetActionBindingInfo(void *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount); - -EVRInputError __thiscall IVRInput_007_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_007_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -bool __thiscall IVRInput_007_IsUsingLegacyInput(void *_this); - -EVRInputError __thiscall IVRInput_007_OpenBindingUI(void *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop); - -void test_capi_thunks_IVRSettings_002(void); - -const char * __thiscall IVRSettings_002_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); - -bool __thiscall IVRSettings_002_Sync(void *_this, bool bForce, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); - -bool __thiscall IVRSettings_002_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -int32_t __thiscall IVRSettings_002_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -float __thiscall IVRSettings_002_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); - -void __thiscall IVRSettings_002_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -void test_capi_thunks_IVRCompositor_022(void); - -void __thiscall IVRCompositor_022_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_022_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_022_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_022_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_022_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_022_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_022_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_022_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_022_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_022_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_022_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_022_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_022_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_022_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_022_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_022_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_022_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_022_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_022_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_022_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_022_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_022_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_022_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_022_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_022_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_022_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_022_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_022_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_022_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_022_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_022_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_022_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_022_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_022_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_022_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_022_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_022_SetExplicitTimingMode(void *_this, EVRCompositorTimingMode eTimingMode); - -EVRCompositorError __thiscall IVRCompositor_022_SubmitExplicitTimingData(void *_this); - -bool __thiscall IVRCompositor_022_IsMotionSmoothingEnabled(void *_this); - -bool __thiscall IVRCompositor_022_IsMotionSmoothingSupported(void *_this); - -bool __thiscall IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *_this); - -void test_capi_thunks_IVROverlay_021(void); - -EVROverlayError __thiscall IVROverlay_021_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_021_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_021_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_021_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_021_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_021_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayCurvature(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_021_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_021_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_021_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_021_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_021_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_021_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_021_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_021_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_021_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_021_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_021_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_021_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_021_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_021_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_021_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_021_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_021_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_021_HideKeyboard(void *_this); - -void __thiscall IVROverlay_021_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_021_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_021_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_021_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_021_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_021_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRSystem_020(void); - -void __thiscall IVRSystem_020_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_020_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_020_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_020_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_020_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_020_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_020_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_020_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_020_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_020_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_020_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_020_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_020_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_020_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_020_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_020_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_020_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_020_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_020_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_020_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_020_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_020_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_020_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_020_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_020_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_020_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_020_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_020_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_020_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_020_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_020_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_020_IsInputAvailable(void *_this); - -bool __thiscall IVRSystem_020_IsSteamVRDrawingControllers(void *_this); - -bool __thiscall IVRSystem_020_ShouldApplicationPause(void *_this); - -bool __thiscall IVRSystem_020_ShouldApplicationReduceRenderingWork(void *_this); - -EVRFirmwareError __thiscall IVRSystem_020_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_020_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_020_AcknowledgeQuit_UserPrompt(void *_this); - -uint32_t __thiscall IVRSystem_020_GetAppContainerFilePaths(void *_this, char * pchBuffer, uint32_t unBufferSize); - -const char * __thiscall IVRSystem_020_GetRuntimeVersion(void *_this); - -void test_capi_thunks_IVRApplications_006(void); - -EVRApplicationError __thiscall IVRApplications_006_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_006_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_006_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_006_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_006_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_006_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); - -EVRApplicationError __thiscall IVRApplications_006_LaunchApplicationFromMimeType(void *_this, const char * pchMimeType, const char * pchArgs); - -EVRApplicationError __thiscall IVRApplications_006_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -bool __thiscall IVRApplications_006_CancelApplicationLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_006_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_006_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_006_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_006_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_006_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_006_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_006_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_006_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_006_SetDefaultApplicationForMimeType(void *_this, const char * pchAppKey, const char * pchMimeType); - -bool __thiscall IVRApplications_006_GetDefaultApplicationForMimeType(void *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -bool __thiscall IVRApplications_006_GetApplicationSupportedMimeTypes(void *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer); - -uint32_t __thiscall IVRApplications_006_GetApplicationsThatSupportMimeType(void *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer); - -uint32_t __thiscall IVRApplications_006_GetApplicationLaunchArguments(void *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs); - -EVRApplicationError __thiscall IVRApplications_006_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_006_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_006_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_006_IsQuitUserPromptRequested(void *_this); - -EVRApplicationError __thiscall IVRApplications_006_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); - -uint32_t __thiscall IVRApplications_006_GetCurrentSceneProcessId(void *_this); - -void test_capi_thunks_IVROverlay_020(void); - -EVROverlayError __thiscall IVROverlay_020_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -uint32_t __thiscall IVROverlay_020_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_020_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_020_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_020_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_020_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_020_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_020_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_020_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_020_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_020_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_020_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_020_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_020_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_020_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_020_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_020_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_020_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_020_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_020_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_020_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_020_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_020_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_020_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_020_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_020_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_020_HideKeyboard(void *_this); - -void __thiscall IVROverlay_020_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_020_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_020_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_020_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_020_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_020_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVROverlay_019(void); - -EVROverlayError __thiscall IVROverlay_019_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_019_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_019_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_019_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_019_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_019_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_019_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_019_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_019_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_019_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_019_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_019_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_019_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_019_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_019_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_019_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_019_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_019_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_019_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_019_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_019_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_019_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_019_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_019_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_019_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_019_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_019_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_019_HideKeyboard(void *_this); - -void __thiscall IVROverlay_019_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_019_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_019_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_019_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_019_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_019_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRTrackedCamera_005(void); - -const char * __thiscall IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); - -void test_capi_thunks_IVRSystem_019(void); - -void __thiscall IVRSystem_019_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_019_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_019_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_019_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_019_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_019_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_019_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_019_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_019_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_019_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_019_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_019_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_019_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_019_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_019_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_019_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_019_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_019_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_019_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_019_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_019_GetArrayTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_019_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_019_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_019_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_019_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_019_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_019_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_019_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_019_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_019_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_019_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_019_IsInputAvailable(void *_this); - -bool __thiscall IVRSystem_019_IsSteamVRDrawingControllers(void *_this); - -bool __thiscall IVRSystem_019_ShouldApplicationPause(void *_this); - -bool __thiscall IVRSystem_019_ShouldApplicationReduceRenderingWork(void *_this); - -uint32_t __thiscall IVRSystem_019_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_019_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_019_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_019_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVRInput_006(void); - -EVRInputError __thiscall IVRInput_006_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_006_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_006_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_006_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_006_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_006_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_006_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_006_GetPoseActionDataRelativeToNow(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_006_GetPoseActionDataForNextFrame(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_006_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_006_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); - -EVRInputError __thiscall IVRInput_006_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); - -EVRInputError __thiscall IVRInput_006_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); - -EVRInputError __thiscall IVRInput_006_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_006_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); - -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_006_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData); - -EVRInputError __thiscall IVRInput_006_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_006_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_006_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_006_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_006_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); - -EVRInputError __thiscall IVRInput_006_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_006_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_006_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -bool __thiscall IVRInput_006_IsUsingLegacyInput(void *_this); - -void test_capi_thunks_IVRInput_005(void); - -EVRInputError __thiscall IVRInput_005_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_005_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_005_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_005_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_005_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_005_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_005_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_005_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_005_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_005_GetBoneCount(void *_this, VRActionHandle_t action, uint32_t * pBoneCount); - -EVRInputError __thiscall IVRInput_005_GetBoneHierarchy(void *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount); - -EVRInputError __thiscall IVRInput_005_GetBoneName(void *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize); - -EVRInputError __thiscall IVRInput_005_GetSkeletalReferenceTransforms(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_005_GetSkeletalTrackingLevel(void *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel); - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_005_GetSkeletalSummaryData(void *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData); - -EVRInputError __thiscall IVRInput_005_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_005_DecompressSkeletalBoneData(void *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_005_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_005_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_005_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude); - -EVRInputError __thiscall IVRInput_005_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_005_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_005_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -bool __thiscall IVRInput_005_IsUsingLegacyInput(void *_this); - -void test_capi_thunks_IVRIOBuffer_001(void); - -EIOBufferError __thiscall IVRIOBuffer_001_Open(void *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_001_Close(void *_this, IOBufferHandle_t ulBuffer); - -EIOBufferError __thiscall IVRIOBuffer_001_Read(void *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead); - -EIOBufferError __thiscall IVRIOBuffer_001_Write(void *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes); - -PropertyContainerHandle_t __thiscall IVRIOBuffer_001_PropertyContainer(void *_this, IOBufferHandle_t ulBuffer); - -void test_capi_thunks_IVRChaperoneSetup_005(void); - -bool __thiscall IVRChaperoneSetup_005_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); - -void __thiscall IVRChaperoneSetup_005_RevertWorkingCopy(void *_this); - -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); - -bool __thiscall IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -bool __thiscall IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); - -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); - -void __thiscall IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_005_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); - -bool __thiscall IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); - -bool __thiscall IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); - -bool __thiscall IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); - -bool __thiscall IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_005_ExportLiveToBuffer(void *_this, char * pBuffer, uint32_t * pnBufferLength); - -bool __thiscall IVRChaperoneSetup_005_ImportFromBufferToWorking(void *_this, const char * pBuffer, uint32_t nImportFlags); - -void test_capi_thunks_IVROverlay_018(void); - -EVROverlayError __thiscall IVROverlay_018_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_018_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_018_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_018_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_018_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_018_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_018_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_018_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_018_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_018_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_018_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_018_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_018_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_018_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_018_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_018_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_018_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_018_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_018_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_018_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_018_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_018_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_018_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_018_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_018_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_018_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_018_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_018_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_018_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_018_HideKeyboard(void *_this); - -void __thiscall IVROverlay_018_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_018_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_018_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_018_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_018_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_018_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRTrackedCamera_004(void); - -const char * __thiscall IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); - -void test_capi_thunks_IVRInput_004(void); - -EVRInputError __thiscall IVRInput_004_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_004_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_004_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_004_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_004_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_004_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetSkeletalActionData(void *_this, VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetSkeletalBoneDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_DecompressSkeletalBoneData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_004_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice); - -EVRInputError __thiscall IVRInput_004_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_004_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); - -EVRInputError __thiscall IVRInput_004_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_004_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_004_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -void test_capi_thunks_IVRTrackedCamera_003(void); - -const char * __thiscall IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraIntrinsics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_GetVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId); - -void test_capi_thunks_IVRRenderModels_005(void); - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); - -void __thiscall IVRRenderModels_005_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); - -void __thiscall IVRRenderModels_005_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); - -EVRRenderModelError __thiscall IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *_this, TextureID_t textureId, void * pDstTexture); - -void __thiscall IVRRenderModels_005_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelCount(void *_this); - -uint32_t __thiscall IVRRenderModels_005_GetComponentCount(void *_this, const char * pchRenderModelName); - -uint32_t __thiscall IVRRenderModels_005_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); - -uint64_t __thiscall IVRRenderModels_005_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_005_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); - -bool __thiscall IVRRenderModels_005_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_005_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelThumbnailURL(void *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError); - -uint32_t __thiscall IVRRenderModels_005_GetRenderModelOriginalPath(void *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError); - -const char * __thiscall IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *_this, EVRRenderModelError error); - -void test_capi_thunks_IVRInput_003(void); - -EVRInputError __thiscall IVRInput_003_SetActionManifestPath(void *_this, const char * pchActionManifestPath); - -EVRInputError __thiscall IVRInput_003_GetActionSetHandle(void *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_003_GetActionHandle(void *_this, const char * pchActionName, VRActionHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_003_GetInputSourceHandle(void *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle); - -EVRInputError __thiscall IVRInput_003_UpdateActionState(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount); - -EVRInputError __thiscall IVRInput_003_GetDigitalActionData(void *_this, VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_003_GetAnalogActionData(void *_this, VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_003_GetPoseActionData(void *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize); - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionData(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_003_GetSkeletalActionDataCompressed(void *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize); - -EVRInputError __thiscall IVRInput_003_UncompressSkeletalActionData(void *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount); - -EVRInputError __thiscall IVRInput_003_TriggerHapticVibrationAction(void *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude); - -EVRInputError __thiscall IVRInput_003_GetActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount); - -EVRInputError __thiscall IVRInput_003_GetOriginLocalizedName(void *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize); - -EVRInputError __thiscall IVRInput_003_GetOriginTrackedDeviceInfo(void *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize); - -EVRInputError __thiscall IVRInput_003_ShowActionOrigins(void *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle); - -EVRInputError __thiscall IVRInput_003_ShowBindingsForActionSet(void *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight); - -void test_capi_thunks_IVRSystem_017(void); - -void __thiscall IVRSystem_017_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_017_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_017_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_017_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_017_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_017_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_017_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_017_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_017_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance); - -bool __thiscall IVRSystem_017_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_017_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_017_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_017_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_017_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_017_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_017_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_017_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_017_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_017_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_017_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_017_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_017_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_017_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_017_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_017_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_017_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_017_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_017_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_017_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_017_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_017_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_017_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_017_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_017_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_017_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_017_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVROverlay_017(void); - -EVROverlayError __thiscall IVROverlay_017_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_017_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_017_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_017_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_017_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_017_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_017_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_017_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_017_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_017_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_017_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_017_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_017_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_017_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_017_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_017_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_017_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayDualAnalogTransform(void *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_017_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_017_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_017_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_017_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_017_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_017_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_017_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_017_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_017_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_017_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_017_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_017_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_017_HideKeyboard(void *_this); - -void __thiscall IVROverlay_017_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_017_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_017_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_017_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_017_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_017_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRCompositor_021(void); - -void __thiscall IVRCompositor_021_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_021_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_021_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_021_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_021_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_021_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_021_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_021_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_021_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_021_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_021_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_021_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_021_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_021_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_021_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_021_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_021_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_021_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_021_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_021_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_021_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_021_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_021_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_021_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_021_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_021_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_021_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_021_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_021_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_021_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_021_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_021_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_021_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_021_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_021_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_021_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void __thiscall IVRCompositor_021_SetExplicitTimingMode(void *_this, bool bExplicitTimingMode); - -EVRCompositorError __thiscall IVRCompositor_021_SubmitExplicitTimingData(void *_this); - -void test_capi_thunks_IVROverlay_016(void); - -EVROverlayError __thiscall IVROverlay_016_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_016_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_016_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_016_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_016_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_016_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_016_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_016_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -uint32_t __thiscall IVROverlay_016_GetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRenderModel(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTransformOverlayRelative(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_016_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_016_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_016_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_016_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_016_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_016_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_016_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_016_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_016_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_016_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_016_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_016_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_016_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_016_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_016_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_016_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_016_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_016_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_016_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_016_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_016_HideKeyboard(void *_this); - -void __thiscall IVROverlay_016_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_016_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_016_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_016_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_016_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void __thiscall IVROverlay_016_CloseMessageOverlay(void *_this); - -void test_capi_thunks_IVRSystem_016(void); - -void __thiscall IVRSystem_016_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_016_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_016_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_016_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_016_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_016_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_016_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_016_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -void __thiscall IVRSystem_016_GetOutputDevice(void *_this, uint64_t * pnDevice, ETextureType textureType); - -bool __thiscall IVRSystem_016_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_016_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_016_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_016_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_016_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_016_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_016_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_016_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_016_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_016_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_016_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_016_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_016_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_016_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_016_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_016_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_016_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_016_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_016_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_016_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_016_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_016_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_016_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_016_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_016_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_016_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_016_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVRCompositor_020(void); - -void __thiscall IVRCompositor_020_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_020_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_020_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_020_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_020_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_020_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_020_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_020_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_020_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_020_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_020_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_020_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_020_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_020_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_020_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_020_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_020_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_020_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_020_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_020_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_020_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_020_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_020_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_020_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_020_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_020_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_020_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_020_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_020_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_020_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_020_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -void __thiscall IVRCompositor_020_ReleaseMirrorTextureD3D11(void *_this, void * pD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_020_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_020_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_020_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_020_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void test_capi_thunks_IVRClientCore_002(void); - -EVRInitError __thiscall IVRClientCore_002_Init(void *_this, EVRApplicationType eApplicationType); - -void __thiscall IVRClientCore_002_Cleanup(void *_this); - -EVRInitError __thiscall IVRClientCore_002_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion); - -void * __thiscall IVRClientCore_002_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError); - -bool __thiscall IVRClientCore_002_BIsHmdPresent(void *_this); - -const char * __thiscall IVRClientCore_002_GetEnglishStringForHmdError(void *_this, EVRInitError eError); - -const char * __thiscall IVRClientCore_002_GetIDForVRInitError(void *_this, EVRInitError eError); - -void test_capi_thunks_IVRSystem_015(void); - -void __thiscall IVRSystem_015_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_015_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ); - -void __thiscall IVRSystem_015_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_015_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_015_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_015_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_015_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_015_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_015_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_015_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_015_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_015_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_015_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_015_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_015_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_015_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_015_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_015_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_015_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_015_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_015_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_015_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_015_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_015_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_015_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_015_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_015_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_015_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_015_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_015_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_015_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_015_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_015_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_015_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_015_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVROverlay_014(void); - -EVROverlayError __thiscall IVROverlay_014_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_014_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_014_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_014_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_014_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_014_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_014_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_014_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_014_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_014_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_014_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_014_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_014_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_014_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_014_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_014_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_014_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds); - -EVROverlayError __thiscall IVROverlay_014_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_014_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_014_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_014_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_014_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_014_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_014_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_014_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_014_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_014_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_014_HideKeyboard(void *_this); - -void __thiscall IVROverlay_014_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_014_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_014_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -EVROverlayError __thiscall IVROverlay_014_GetOverlayFlags(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags); - -VRMessageOverlayResponse __thiscall IVROverlay_014_ShowMessageOverlay(void *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text); - -void test_capi_thunks_IVRCompositor_019(void); - -void __thiscall IVRCompositor_019_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_019_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_019_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_019_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_019_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_019_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_019_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_019_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_019_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_019_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_019_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_019_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_019_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_019_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_019_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_019_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_019_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_019_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_019_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_019_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_019_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_019_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_019_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_019_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_019_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_019_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_019_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_019_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_019_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_019_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_019_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_019_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_019_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_019_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_019_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -uint32_t __thiscall IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *_this, char * pchValue, uint32_t unBufferSize); - -uint32_t __thiscall IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize); - -void test_capi_thunks_IVRSystem_014(void); - -void __thiscall IVRSystem_014_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_014_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_014_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -bool __thiscall IVRSystem_014_ComputeDistortion(void *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates); - -HmdMatrix34_t *__thiscall IVRSystem_014_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_014_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_014_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_014_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_014_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_014_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_014_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_014_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_014_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_014_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_014_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_014_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_014_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_014_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_014_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_014_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_014_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_014_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_014_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_014_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_014_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type); - -bool __thiscall IVRSystem_014_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize); - -bool __thiscall IVRSystem_014_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_014_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_014_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_014_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_014_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_014_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_014_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_014_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_014_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVRCompositor_018(void); - -void __thiscall IVRCompositor_018_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_018_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_018_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_018_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_018_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_018_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_018_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_018_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_018_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_018_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_018_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -HmdColor_t *__thiscall IVRCompositor_018_GetCurrentFadeColor(void *_this, HmdColor_t *_r, bool bBackground); - -void __thiscall IVRCompositor_018_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -float __thiscall IVRCompositor_018_GetCurrentGridAlpha(void *_this); - -EVRCompositorError __thiscall IVRCompositor_018_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_018_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_018_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_018_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_018_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_018_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_018_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_018_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_018_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_018_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_018_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_018_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_018_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_018_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_018_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_018_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_018_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_018_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_018_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_018_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_018_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void test_capi_thunks_IVROverlay_013(void); - -EVROverlayError __thiscall IVROverlay_013_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_013_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_013_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_013_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_013_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_013_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexelAspect(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect); - -EVROverlayError __thiscall IVROverlay_013_SetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder); - -EVROverlayError __thiscall IVROverlay_013_GetOverlaySortOrder(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_013_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_013_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_013_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_013_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_013_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_013_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_013_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_013_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_013_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); - -EVROverlayError __thiscall IVROverlay_013_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_013_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_013_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_013_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_013_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_013_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_013_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_013_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_013_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_013_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_013_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_013_HideKeyboard(void *_this); - -void __thiscall IVROverlay_013_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_013_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -EVROverlayError __thiscall IVROverlay_013_SetOverlayIntersectionMask(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize); - -void test_capi_thunks_IVRCompositor_017(void); - -void __thiscall IVRCompositor_017_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_017_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_017_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_017_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_017_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_017_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_017_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -uint32_t __thiscall IVRCompositor_017_GetFrameTimings(void *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames); - -float __thiscall IVRCompositor_017_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_017_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_017_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_017_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_017_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_017_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_017_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_017_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_017_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_017_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_017_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_017_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_017_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_017_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_017_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_017_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_017_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_017_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_017_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_017_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_017_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_017_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_017_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_017_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_017_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void test_capi_thunks_IVRSystem_012(void); - -void __thiscall IVRSystem_012_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_012_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_012_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_012_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_012_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_012_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_012_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_012_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_012_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_012_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_012_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_012_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_012_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_012_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_012_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_012_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_012_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_012_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_012_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_012_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_012_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_012_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_012_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_012_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_012_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_012_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_012_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_012_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_012_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_012_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_012_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_012_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_012_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_012_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_012_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVRCompositor_016(void); - -void __thiscall IVRCompositor_016_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_016_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_016_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_016_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_016_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_016_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_016_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_016_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_016_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_016_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_016_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_016_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_016_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_016_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_016_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_016_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_016_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_016_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_016_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_016_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_016_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_016_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_016_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_016_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_016_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_016_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_016_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_016_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_016_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_016_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_016_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_016_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void test_capi_thunks_IVRSettings_001(void); - -const char * __thiscall IVRSettings_001_GetSettingsErrorNameFromEnum(void *_this, EVRSettingsError eError); - -bool __thiscall IVRSettings_001_Sync(void *_this, bool bForce, EVRSettingsError * peError); - -bool __thiscall IVRSettings_001_GetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_SetBool(void *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError); - -int32_t __thiscall IVRSettings_001_GetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_SetInt32(void *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError); - -float __thiscall IVRSettings_001_GetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_SetFloat(void *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_GetString(void *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_SetString(void *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_RemoveSection(void *_this, const char * pchSection, EVRSettingsError * peError); - -void __thiscall IVRSettings_001_RemoveKeyInSection(void *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError); - -void test_capi_thunks_IVRApplications_005(void); - -EVRApplicationError __thiscall IVRApplications_005_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_005_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_005_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_005_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_005_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_005_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_005_LaunchTemplateApplication(void *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys); - -EVRApplicationError __thiscall IVRApplications_005_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -bool __thiscall IVRApplications_005_CancelApplicationLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_005_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_005_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_005_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_005_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_005_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_005_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_005_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_005_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_005_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_005_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_005_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_005_IsQuitUserPromptRequested(void *_this); - -EVRApplicationError __thiscall IVRApplications_005_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); - -void test_capi_thunks_IVRCompositor_015(void); - -void __thiscall IVRCompositor_015_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_015_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_015_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_015_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_015_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_015_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_015_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_015_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_015_GetCumulativeStats(void *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes); - -void __thiscall IVRCompositor_015_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_015_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_015_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_015_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_015_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_015_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_015_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_015_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_015_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_015_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_015_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_015_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_015_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_015_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_015_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_015_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_015_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_015_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_015_SuspendRendering(void *_this, bool bSuspend); - -EVRCompositorError __thiscall IVRCompositor_015_RequestScreenshot(void *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName); - -EVRScreenshotType __thiscall IVRCompositor_015_GetCurrentScreenshotType(void *_this); - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureD3D11(void *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView); - -EVRCompositorError __thiscall IVRCompositor_015_GetMirrorTextureGL(void *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle); - -bool __thiscall IVRCompositor_015_ReleaseSharedGLTexture(void *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_015_LockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void __thiscall IVRCompositor_015_UnlockGLSharedTextureForAccess(void *_this, glSharedTextureHandle_t glSharedTextureHandle); - -void test_capi_thunks_IVROverlay_012(void); - -EVROverlayError __thiscall IVROverlay_012_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_012_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_012_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_012_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_012_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_012_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_012_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_012_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_012_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_012_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_012_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_012_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_012_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_012_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_012_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_012_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); - -EVROverlayError __thiscall IVROverlay_012_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_012_GetOverlayTextureSize(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight); - -EVROverlayError __thiscall IVROverlay_012_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_012_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_012_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_012_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_012_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_012_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_012_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_012_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_012_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_012_HideKeyboard(void *_this); - -void __thiscall IVROverlay_012_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_012_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRTrackedCamera_002(void); - -const char * __thiscall IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *_this, EVRTrackedCameraError eCameraError); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraFrameSize(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraIntrinisics(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_AcquireVideoStreamingService(void *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_ReleaseVideoStreamingService(void *_this, TrackedCameraHandle_t hTrackedCamera); - -EVRTrackedCameraError __thiscall IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize); - -void test_capi_thunks_IVRCompositor_014(void); - -void __thiscall IVRCompositor_014_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_014_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_014_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_014_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_014_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_014_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_014_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_014_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_014_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_014_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_014_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_014_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_014_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_014_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_014_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_014_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_014_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_014_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_014_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_014_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_014_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_014_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_014_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_014_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_014_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void __thiscall IVRCompositor_014_ForceReconnectProcess(void *_this); - -void __thiscall IVRCompositor_014_SuspendRendering(void *_this, bool bSuspend); - -void test_capi_thunks_IVROverlay_011(void); - -EVROverlayError __thiscall IVROverlay_011_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_011_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_011_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_011_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_011_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID); - -uint32_t __thiscall IVROverlay_011_GetOverlayRenderingPid(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_011_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_011_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_011_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_011_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_011_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_011_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_011_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_011_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_011_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_011_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_011_GetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace); - -EVROverlayError __thiscall IVROverlay_011_ReleaseNativeOverlayHandle(void *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle); - -EVROverlayError __thiscall IVROverlay_011_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_011_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_011_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_011_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_011_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_011_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_011_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_011_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_011_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_011_HideKeyboard(void *_this); - -void __thiscall IVROverlay_011_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_011_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRCompositor_013(void); - -void __thiscall IVRCompositor_013_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_013_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_013_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_013_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_013_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_013_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_013_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_013_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_013_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_013_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_013_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_013_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_013_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_013_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_013_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_013_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_013_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_013_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_013_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_013_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_013_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_013_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_013_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_013_ShouldAppRenderWithLowResources(void *_this); - -void __thiscall IVRCompositor_013_ForceInterleavedReprojectionOn(void *_this, bool bOverride); - -void test_capi_thunks_IVRSystem_011(void); - -void __thiscall IVRSystem_011_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_011_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_011_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_011_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_011_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_011_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_011_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_011_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_011_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_011_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_011_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_011_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_011_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_011_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_011_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_011_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_011_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_011_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_011_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_011_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_011_PollNextEvent(void *_this, VREvent_t * pEvent, uint32_t uncbVREvent); - -bool __thiscall IVRSystem_011_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_011_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_011_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_011_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_011_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_011_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_011_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_011_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_011_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_011_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_011_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_011_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_011_AcknowledgeQuit_UserPrompt(void *_this); - -void __thiscall IVRSystem_011_PerformanceTestEnableCapture(void *_this, bool bEnable); - -void __thiscall IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel); - -void test_capi_thunks_IVRApplications_004(void); - -EVRApplicationError __thiscall IVRApplications_004_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_004_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_004_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_004_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_004_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_004_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -bool __thiscall IVRApplications_004_CancelApplicationLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_004_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_004_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_004_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_004_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_004_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_004_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_004_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_004_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_004_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_004_IsQuitUserPromptRequested(void *_this); - -EVRApplicationError __thiscall IVRApplications_004_LaunchInternalProcess(void *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory); - -void test_capi_thunks_IVROverlay_010(void); - -EVROverlayError __thiscall IVROverlay_010_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_010_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_010_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_010_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_010_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize); - -EVROverlayError __thiscall IVROverlay_010_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_010_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_010_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_010_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_010_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_010_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_010_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_010_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_010_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_010_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_010_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_010_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_010_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_010_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_010_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_010_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_010_ShowDashboard(void *_this, const char * pchOverlayToShow); - -TrackedDeviceIndex_t __thiscall IVROverlay_010_GetPrimaryDashboardDevice(void *_this); - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_010_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_010_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_010_HideKeyboard(void *_this); - -void __thiscall IVROverlay_010_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_010_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRRenderModels_004(void); - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadRenderModel_Async(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); - -void __thiscall IVRRenderModels_004_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTexture_Async(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); - -void __thiscall IVRRenderModels_004_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); - -EVRRenderModelError __thiscall IVRRenderModels_004_LoadTextureD3D11_Async(void *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D); - -void __thiscall IVRRenderModels_004_FreeTextureD3D11(void *_this, void * pD3D11Texture2D); - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_004_GetRenderModelCount(void *_this); - -uint32_t __thiscall IVRRenderModels_004_GetComponentCount(void *_this, const char * pchRenderModelName); - -uint32_t __thiscall IVRRenderModels_004_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); - -uint64_t __thiscall IVRRenderModels_004_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_004_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); - -bool __thiscall IVRRenderModels_004_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_004_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -void test_capi_thunks_IVRCompositor_012(void); - -void __thiscall IVRCompositor_012_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_012_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_012_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose); - -EVRCompositorError __thiscall IVRCompositor_012_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_012_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_012_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_012_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_012_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_012_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_012_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_012_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_012_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_012_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_012_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_012_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_012_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_012_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_012_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_012_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_012_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_012_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_012_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_012_CompositorDumpImages(void *_this); - -bool __thiscall IVRCompositor_012_ShouldAppRenderWithLowResources(void *_this); - -void test_capi_thunks_IVRApplications_003(void); - -EVRApplicationError __thiscall IVRApplications_003_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_003_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_003_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_003_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_003_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_003_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_003_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_003_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_003_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_003_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_003_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_003_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -uint64_t __thiscall IVRApplications_003_GetApplicationPropertyUint64(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_003_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_003_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_003_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_003_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_003_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_003_IsQuitUserPromptRequested(void *_this); - -void test_capi_thunks_IVRCompositor_011(void); - -void __thiscall IVRCompositor_011_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_011_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_011_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_011_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_011_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_011_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_011_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_011_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_011_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_011_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_011_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_011_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_011_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_011_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_011_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_011_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_011_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_011_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_011_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_011_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_011_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_011_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_011_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_011_CompositorDumpImages(void *_this); - -void test_capi_thunks_IVRRenderModels_002(void); - -bool __thiscall IVRRenderModels_002_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t ** ppRenderModel); - -void __thiscall IVRRenderModels_002_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -bool __thiscall IVRRenderModels_002_LoadTexture(void *_this, TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture); - -void __thiscall IVRRenderModels_002_FreeTexture(void *_this, RenderModel_TextureMap_t * pTexture); - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_002_GetRenderModelCount(void *_this); - -uint32_t __thiscall IVRRenderModels_002_GetComponentCount(void *_this, const char * pchRenderModelName); - -uint32_t __thiscall IVRRenderModels_002_GetComponentName(void *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen); - -uint64_t __thiscall IVRRenderModels_002_GetComponentButtonMask(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -uint32_t __thiscall IVRRenderModels_002_GetComponentRenderModelName(void *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen); - -bool __thiscall IVRRenderModels_002_GetComponentState(void *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState); - -bool __thiscall IVRRenderModels_002_RenderModelHasComponent(void *_this, const char * pchRenderModelName, const char * pchComponentName); - -void test_capi_thunks_IVRSystem_010(void); - -void __thiscall IVRSystem_010_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_010_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_010_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_010_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_010_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_010_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_010_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_010_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_010_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_010_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_010_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_010_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_010_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -TrackedDeviceIndex_t __thiscall IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *_this, ETrackedControllerRole unDeviceType); - -ETrackedControllerRole __thiscall IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -ETrackedDeviceClass __thiscall IVRSystem_010_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_010_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_010_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_010_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_010_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_010_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_010_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_010_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_010_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_010_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_010_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_010_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_010_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_010_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_010_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_010_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_010_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_010_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_010_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_010_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_010_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_010_AcknowledgeQuit_UserPrompt(void *_this); - -void __thiscall IVRSystem_010_PerformanceTestEnableCapture(void *_this, bool bEnable); - -void __thiscall IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *_this, int nFidelityLevel); - -void test_capi_thunks_IVRApplications_002(void); - -EVRApplicationError __thiscall IVRApplications_002_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_002_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_002_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_002_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_002_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_002_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_002_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_002_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_002_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_002_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_002_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_002_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_002_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_002_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_002_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_002_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_002_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -bool __thiscall IVRApplications_002_IsQuitUserPromptRequested(void *_this); - -void test_capi_thunks_IVRChaperoneSetup_004(void); - -bool __thiscall IVRChaperoneSetup_004_CommitWorkingCopy(void *_this, EChaperoneConfigFile configFile); - -void __thiscall IVRChaperoneSetup_004_RevertWorkingCopy(void *_this); - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *_this, float * pSizeX, float * pSizeZ); - -bool __thiscall IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *_this, HmdQuad_t * rect); - -bool __thiscall IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -bool __thiscall IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *_this, float sizeX, float sizeZ); - -void __thiscall IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount); - -void __thiscall IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_004_ReloadFromDisk(void *_this, EChaperoneConfigFile configFile); - -bool __thiscall IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose); - -void __thiscall IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t unTagCount); - -bool __thiscall IVRChaperoneSetup_004_GetLiveWallTagInfo(void *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount); - -void test_capi_thunks_IVRCompositor_010(void); - -void __thiscall IVRCompositor_010_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_010_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_010_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_010_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_010_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_010_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_010_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_010_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_010_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_010_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_010_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_010_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_010_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_010_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_010_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_010_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_010_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_010_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_010_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_010_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_010_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_010_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_010_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_010_CompositorDumpImages(void *_this); - -void test_capi_thunks_IVROverlay_008(void); - -EVROverlayError __thiscall IVROverlay_008_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_008_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_008_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_008_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_008_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_008_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_008_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_GetTransformForOverlayCoordinates(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform); - -bool __thiscall IVROverlay_008_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_008_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_008_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_008_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_008_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_008_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_008_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_008_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_008_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_008_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_008_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_008_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_008_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_008_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_008_ShowDashboard(void *_this, const char * pchOverlayToShow); - -EVROverlayError __thiscall IVROverlay_008_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_008_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_008_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_008_HideKeyboard(void *_this); - -void __thiscall IVROverlay_008_SetKeyboardTransformAbsolute(void *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform); - -void __thiscall IVROverlay_008_SetKeyboardPositionForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect); - -void test_capi_thunks_IVRTrackedCamera_001(void); - -bool __thiscall IVRTrackedCamera_001_HasCamera(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_GetCameraFirmwareDescription(void *_this, TrackedDeviceIndex_t nDeviceIndex, char * pBuffer, uint32_t nBufferLen); - -bool __thiscall IVRTrackedCamera_001_GetCameraFrameDimensions(void *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t * pWidth, uint32_t * pHeight); - -bool __thiscall IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat); - -ECameraVideoStreamFormat __thiscall IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_EnableCameraForStreaming(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable); - -bool __thiscall IVRTrackedCamera_001_StartVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_StopVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_IsVideoStreamActive(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -float __thiscall IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -const CameraVideoStreamFrame_t * __thiscall IVRTrackedCamera_001_GetVideoStreamFrame(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *_this, TrackedDeviceIndex_t nDeviceIndex, CameraVideoStreamFrame_t * pFrameImage); - -bool __thiscall IVRTrackedCamera_001_SetAutoExposure(void *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable); - -bool __thiscall IVRTrackedCamera_001_PauseVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_ResumeVideoStream(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_IsVideoStreamPaused(void *_this, TrackedDeviceIndex_t nDeviceIndex); - -bool __thiscall IVRTrackedCamera_001_GetCameraDistortion(void *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float * pflOutputU, float * pflOutputV); - -bool __thiscall IVRTrackedCamera_001_GetCameraProjection(void *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection); - -void test_capi_thunks_IVRCompositor_009(void); - -void __thiscall IVRCompositor_009_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin); - -ETrackingUniverseOrigin __thiscall IVRCompositor_009_GetTrackingSpace(void *_this); - -EVRCompositorError __thiscall IVRCompositor_009_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_009_GetLastPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -EVRCompositorError __thiscall IVRCompositor_009_Submit(void *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags); - -void __thiscall IVRCompositor_009_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_009_PostPresentHandoff(void *_this); - -bool __thiscall IVRCompositor_009_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -float __thiscall IVRCompositor_009_GetFrameTimeRemaining(void *_this); - -void __thiscall IVRCompositor_009_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_009_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -EVRCompositorError __thiscall IVRCompositor_009_SetSkyboxOverride(void *_this, Texture_t * pTextures, uint32_t unTextureCount); - -void __thiscall IVRCompositor_009_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_009_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_009_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_009_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_009_IsFullscreen(void *_this); - -uint32_t __thiscall IVRCompositor_009_GetCurrentSceneFocusProcess(void *_this); - -uint32_t __thiscall IVRCompositor_009_GetLastFrameRenderer(void *_this); - -bool __thiscall IVRCompositor_009_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_009_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_009_HideMirrorWindow(void *_this); - -bool __thiscall IVRCompositor_009_IsMirrorWindowVisible(void *_this); - -void __thiscall IVRCompositor_009_CompositorDumpImages(void *_this); - -void test_capi_thunks_IVRSystem_009(void); - -void __thiscall IVRSystem_009_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_009_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_009_GetProjectionRaw(void *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_009_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_009_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_009_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_009_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_009_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex); - -bool __thiscall IVRSystem_009_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_009_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void __thiscall IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_009_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_009_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -void __thiscall IVRSystem_009_ApplyTransform(void *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform); - -ETrackedDeviceClass __thiscall IVRSystem_009_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_009_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_009_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -float __thiscall IVRSystem_009_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_009_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_009_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_009_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError); - -const char * __thiscall IVRSystem_009_GetPropErrorNameFromEnum(void *_this, ETrackedPropertyError error); - -bool __thiscall IVRSystem_009_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_009_PollNextEventWithPose(void *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_009_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_009_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, EVREye eEye); - -bool __thiscall IVRSystem_009_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_009_GetControllerStateWithPose(void *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_009_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_009_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_009_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_009_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_009_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -EVRFirmwareError __thiscall IVRSystem_009_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -void __thiscall IVRSystem_009_AcknowledgeQuit_Exiting(void *_this); - -void __thiscall IVRSystem_009_AcknowledgeQuit_UserPrompt(void *_this); - -void test_capi_thunks_IVROverlay_007(void); - -EVROverlayError __thiscall IVROverlay_007_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_007_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_007_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -uint32_t __thiscall IVROverlay_007_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_007_GetOverlayErrorNameFromEnum(void *_this, EVROverlayError error); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureColorSpace(void *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -EVROverlayError __thiscall IVROverlay_007_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_007_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_007_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -EVROverlayError __thiscall IVROverlay_007_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_007_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_007_IsHoverTargetOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_007_GetGamepadFocusOverlay(void *_this); - -EVROverlayError __thiscall IVROverlay_007_SetGamepadFocusOverlay(void *_this, VROverlayHandle_t ulNewFocusOverlay); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo); - -EVROverlayError __thiscall IVROverlay_007_MoveGamepadFocusToNeighbor(void *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture); - -EVROverlayError __thiscall IVROverlay_007_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -EVROverlayError __thiscall IVROverlay_007_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -EVROverlayError __thiscall IVROverlay_007_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_007_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_007_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -EVROverlayError __thiscall IVROverlay_007_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -EVROverlayError __thiscall IVROverlay_007_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_007_ShowDashboard(void *_this, const char * pchOverlayToShow); - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -EVROverlayError __thiscall IVROverlay_007_ShowKeyboardForOverlay(void *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue); - -uint32_t __thiscall IVROverlay_007_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_007_HideKeyboard(void *_this); - -void test_capi_thunks_IVRSystem_006(void); - -void __thiscall IVRSystem_006_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_006_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_006_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_006_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_006_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_006_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_006_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_006_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_006_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_006_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_006_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -EDeviceActivityLevel __thiscall IVRSystem_006_GetTrackedDeviceActivityLevel(void *_this, TrackedDeviceIndex_t unDeviceId); - -TrackedDeviceClass __thiscall IVRSystem_006_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_006_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_006_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_006_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_006_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_006_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_006_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_006_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_006_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_006_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_006_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_006_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_006_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_006_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_006_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_006_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_006_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -VRFirmwareError __thiscall IVRSystem_006_PerformFirmwareUpdate(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_006_IsDisplayOnDesktop(void *_this); - -bool __thiscall IVRSystem_006_SetDisplayVisibility(void *_this, bool bIsVisibleOnDesktop); - -void test_capi_thunks_IVRApplications_001(void); - -EVRApplicationError __thiscall IVRApplications_001_AddApplicationManifest(void *_this, const char * pchApplicationManifestFullPath, bool bTemporary); - -EVRApplicationError __thiscall IVRApplications_001_RemoveApplicationManifest(void *_this, const char * pchApplicationManifestFullPath); - -bool __thiscall IVRApplications_001_IsApplicationInstalled(void *_this, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_001_GetApplicationCount(void *_this); - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByIndex(void *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_GetApplicationKeyByProcessId(void *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_LaunchApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_LaunchDashboardOverlay(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_IdentifyApplication(void *_this, uint32_t unProcessId, const char * pchAppKey); - -uint32_t __thiscall IVRApplications_001_GetApplicationProcessId(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_001_GetApplicationsErrorNameFromEnum(void *_this, EVRApplicationError error); - -uint32_t __thiscall IVRApplications_001_GetApplicationPropertyString(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError); - -bool __thiscall IVRApplications_001_GetApplicationPropertyBool(void *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError); - -EVRApplicationError __thiscall IVRApplications_001_GetHomeApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationError __thiscall IVRApplications_001_SetHomeApplication(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_SetApplicationAutoLaunch(void *_this, const char * pchAppKey, bool bAutoLaunch); - -bool __thiscall IVRApplications_001_GetApplicationAutoLaunch(void *_this, const char * pchAppKey); - -EVRApplicationError __thiscall IVRApplications_001_GetStartingApplication(void *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen); - -EVRApplicationTransitionState __thiscall IVRApplications_001_GetTransitionState(void *_this); - -EVRApplicationError __thiscall IVRApplications_001_PerformApplicationPrelaunchCheck(void *_this, const char * pchAppKey); - -const char * __thiscall IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *_this, EVRApplicationTransitionState state); - -void test_capi_thunks_IVRChaperone_002(void); - -ChaperoneCalibrationState __thiscall IVRChaperone_002_GetCalibrationState(void *_this); - -bool __thiscall IVRChaperone_002_GetSoftBoundsInfo(void *_this, ChaperoneSoftBoundsInfo_t * pInfo); - -bool __thiscall IVRChaperone_002_GetHardBoundsInfo(void *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount); - -bool __thiscall IVRChaperone_002_GetSeatedBoundsInfo(void *_this, ChaperoneSeatedBoundsInfo_t * pInfo); - -void __thiscall IVRChaperone_002_ReloadInfo(void *_this); - -void __thiscall IVRChaperone_002_SetSceneColor(void *_this, HmdColor_t color); - -void __thiscall IVRChaperone_002_GetBoundsColor(void *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors); - -bool __thiscall IVRChaperone_002_AreBoundsVisible(void *_this); - -void __thiscall IVRChaperone_002_ForceBoundsVisible(void *_this, bool bForce); - -void test_capi_thunks_IVRCompositor_008(void); - -uint32_t __thiscall IVRCompositor_008_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_008_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_008_GetVSync(void *_this); - -void __thiscall IVRCompositor_008_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_008_GetGamma(void *_this); - -VRCompositorError __thiscall IVRCompositor_008_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_008_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags); - -void __thiscall IVRCompositor_008_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_008_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_008_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_008_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_008_SetSkyboxOverride(void *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom); - -void __thiscall IVRCompositor_008_ClearSkyboxOverride(void *_this); - -void __thiscall IVRCompositor_008_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_008_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_008_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_008_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_008_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_008_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_008_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_008_CanRenderScene(void *_this); - -void __thiscall IVRCompositor_008_ShowMirrorWindow(void *_this); - -void __thiscall IVRCompositor_008_HideMirrorWindow(void *_this); - -void __thiscall IVRCompositor_008_CompositorDumpImages(void *_this); - -float __thiscall IVRCompositor_008_GetFrameTimeRemaining(void *_this); - -uint32_t __thiscall IVRCompositor_008_GetLastFrameRenderer(void *_this); - -void test_capi_thunks_IVRNotifications_001(void); - -uint32_t __thiscall IVRNotifications_001_GetErrorString(void *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize); - -NotificationError_t __thiscall IVRNotifications_001_CreateNotification(void *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId); - -NotificationError_t __thiscall IVRNotifications_001_DismissNotification(void *_this, VRNotificationId notificationId); - -void test_capi_thunks_IVROverlay_005(void); - -VROverlayError __thiscall IVROverlay_005_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_005_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_005_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_005_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_005_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_005_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_005_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_005_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_005_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_005_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_005_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_005_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_005_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_005_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_005_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_005_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_005_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_005_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_005_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_005_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_005_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_005_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_005_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_005_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -bool __thiscall IVROverlay_005_IsFocusOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_005_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_005_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_005_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_005_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_005_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_005_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_005_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_005_ShowDashboard(void *_this, const char * pchOverlayToShow); - -VROverlayError __thiscall IVROverlay_005_ShowKeyboard(void *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode); - -uint32_t __thiscall IVROverlay_005_GetKeyboardText(void *_this, char * pchText, uint32_t cchText); - -void __thiscall IVROverlay_005_HideKeyboard(void *_this); - -void test_capi_thunks_IVRRenderModels_001(void); - -bool __thiscall IVRRenderModels_001_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); - -void __thiscall IVRRenderModels_001_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelName(void *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen); - -uint32_t __thiscall IVRRenderModels_001_GetRenderModelCount(void *_this); - -void test_capi_thunks_IVRSystem_005(void); - -void __thiscall IVRSystem_005_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_005_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_005_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_005_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_005_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_005_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_005_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_005_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_005_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_005_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_005_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -uint32_t __thiscall IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex); - -TrackedDeviceClass __thiscall IVRSystem_005_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_005_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_005_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_005_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_005_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_005_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_005_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_005_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_005_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_005_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_005_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_005_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_005_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_005_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_005_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_005_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_005_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_005_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_005_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -void test_capi_thunks_IVRCompositor_007(void); - -uint32_t __thiscall IVRCompositor_007_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_007_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_007_GetVSync(void *_this); - -void __thiscall IVRCompositor_007_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_007_GetGamma(void *_this); - -VRCompositorError __thiscall IVRCompositor_007_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_007_Submit(void *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds); - -void __thiscall IVRCompositor_007_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_007_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_007_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_007_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_007_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_007_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_007_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_007_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_007_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_007_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_007_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_007_CanRenderScene(void *_this); - -void test_capi_thunks_IVROverlay_004(void); - -VROverlayError __thiscall IVROverlay_004_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_004_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_004_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_004_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_004_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_004_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_004_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_004_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_004_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_004_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_004_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_004_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_004_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_004_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_004_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_004_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_004_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_004_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_004_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_004_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_004_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_004_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_004_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_004_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_004_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_004_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_004_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_004_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_004_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_004_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_004_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_004_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_004_ShowDashboard(void *_this, const char * pchOverlayToShow); - -void test_capi_thunks_IVROverlay_003(void); - -VROverlayError __thiscall IVROverlay_003_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_003_GetHighQualityOverlay(void *_this); - -uint32_t __thiscall IVROverlay_003_GetOverlayKey(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -uint32_t __thiscall IVROverlay_003_GetOverlayName(void *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError); - -VROverlayError __thiscall IVROverlay_003_GetOverlayImageData(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight); - -const char * __thiscall IVROverlay_003_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_003_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_003_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_003_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_003_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_003_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_003_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_003_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_003_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_003_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_003_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_003_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_003_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_003_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_003_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_003_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_003_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_003_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_003_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_003_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_003_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_003_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_003_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_003_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_003_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_003_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_003_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void __thiscall IVROverlay_003_ShowDashboard(void *_this, const char * pchOverlayToShow); - -void test_capi_thunks_IVROverlay_002(void); - -VROverlayError __thiscall IVROverlay_002_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_002_GetHighQualityOverlay(void *_this); - -const char * __thiscall IVROverlay_002_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_002_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_002_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_002_SetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue); - -VROverlayError __thiscall IVROverlay_002_GetOverlayColor(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue); - -VROverlayError __thiscall IVROverlay_002_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_002_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_002_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_002_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_002_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_002_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_002_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_002_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_002_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_002_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_002_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_002_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_002_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_002_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_002_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture); - -VROverlayError __thiscall IVROverlay_002_ClearOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_002_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -VROverlayError __thiscall IVROverlay_002_CreateDashboardOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle); - -bool __thiscall IVROverlay_002_IsDashboardVisible(void *_this); - -bool __thiscall IVROverlay_002_IsActiveDashboardOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_002_SetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_002_GetDashboardOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void test_capi_thunks_IVRSystem_004(void); - -void __thiscall IVRSystem_004_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_004_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_004_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_004_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_004_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_004_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_004_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_004_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_004_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_004_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_004_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -TrackedDeviceClass __thiscall IVRSystem_004_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_004_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_004_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_004_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_004_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_004_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_004_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_004_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_004_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_004_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_004_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_004_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_004_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_004_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_004_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_004_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_004_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_004_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *_this); - -uint32_t __thiscall IVRSystem_004_DriverDebugRequest(void *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize); - -void test_capi_thunks_IVRCompositor_006(void); - -uint32_t __thiscall IVRCompositor_006_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_006_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_006_GetVSync(void *_this); - -void __thiscall IVRCompositor_006_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_006_GetGamma(void *_this); - -void __thiscall IVRCompositor_006_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); - -VRCompositorError __thiscall IVRCompositor_006_WaitGetPoses(void *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount); - -VRCompositorError __thiscall IVRCompositor_006_Submit(void *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds); - -void __thiscall IVRCompositor_006_ClearLastSubmittedFrame(void *_this); - -bool __thiscall IVRCompositor_006_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_006_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_006_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_006_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_006_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_006_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_006_IsFullscreen(void *_this); - -void __thiscall IVRCompositor_006_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_006_GetTrackingSpace(void *_this); - -uint32_t __thiscall IVRCompositor_006_GetCurrentSceneFocusProcess(void *_this); - -bool __thiscall IVRCompositor_006_CanRenderScene(void *_this); - -void test_capi_thunks_IVROverlay_001(void); - -VROverlayError __thiscall IVROverlay_001_FindOverlay(void *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_CreateOverlay(void *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_DestroyOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_SetHighQualityOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayHandle_t __thiscall IVROverlay_001_GetHighQualityOverlay(void *_this); - -const char * __thiscall IVROverlay_001_GetOverlayErrorNameFromEnum(void *_this, VROverlayError error); - -VROverlayError __thiscall IVROverlay_001_SetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled); - -VROverlayError __thiscall IVROverlay_001_GetOverlayFlag(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled); - -VROverlayError __thiscall IVROverlay_001_SetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha); - -VROverlayError __thiscall IVROverlay_001_GetOverlayAlpha(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha); - -VROverlayError __thiscall IVROverlay_001_SetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float fGamma); - -VROverlayError __thiscall IVROverlay_001_GetOverlayGamma(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma); - -VROverlayError __thiscall IVROverlay_001_SetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters); - -VROverlayError __thiscall IVROverlay_001_GetOverlayWidthInMeters(void *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTextureBounds(void *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformType(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformAbsolute(void *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform); - -VROverlayError __thiscall IVROverlay_001_GetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility); - -VROverlayError __thiscall IVROverlay_001_SetOverlayVisibility(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility); - -VROverlayError __thiscall IVROverlay_001_ShowOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_HideOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_001_IsOverlayVisible(void *_this, VROverlayHandle_t ulOverlayHandle); - -bool __thiscall IVROverlay_001_PollNextOverlayEvent(void *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent); - -VROverlayError __thiscall IVROverlay_001_GetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod); - -VROverlayError __thiscall IVROverlay_001_SetOverlayInputMethod(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod); - -VROverlayError __thiscall IVROverlay_001_GetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -VROverlayError __thiscall IVROverlay_001_SetOverlayMouseScale(void *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale); - -bool __thiscall IVROverlay_001_ComputeOverlayIntersection(void *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults); - -bool __thiscall IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex); - -VROverlayError __thiscall IVROverlay_001_SetOverlayTexture(void *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture); - -VROverlayError __thiscall IVROverlay_001_SetOverlayRaw(void *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth); - -VROverlayError __thiscall IVROverlay_001_SetOverlayFromFile(void *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath); - -bool __thiscall IVROverlay_001_IsSystemOverlayVisible(void *_this); - -bool __thiscall IVROverlay_001_IsActiveSystemOverlay(void *_this, VROverlayHandle_t ulOverlayHandle); - -VROverlayError __thiscall IVROverlay_001_SetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId); - -VROverlayError __thiscall IVROverlay_001_GetSystemOverlaySceneProcess(void *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId); - -void test_capi_thunks_IVRSystem_003(void); - -void __thiscall IVRSystem_003_GetWindowBounds(void *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_003_GetRecommendedRenderTargetSize(void *_this, uint32_t * pnWidth, uint32_t * pnHeight); - -void __thiscall IVRSystem_003_GetEyeOutputViewport(void *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight); - -HmdMatrix44_t *__thiscall IVRSystem_003_GetProjectionMatrix(void *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType); - -void __thiscall IVRSystem_003_GetProjectionRaw(void *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom); - -DistortionCoordinates_t *__thiscall IVRSystem_003_ComputeDistortion(void *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetEyeToHeadTransform(void *_this, HmdMatrix34_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_003_GetTimeSinceLastVsync(void *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter); - -int32_t __thiscall IVRSystem_003_GetD3D9AdapterIndex(void *_this); - -void __thiscall IVRSystem_003_GetDXGIOutputInfo(void *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex); - -bool __thiscall IVRSystem_003_AttachToWindow(void *_this, void * hWnd); - -void __thiscall IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount); - -void __thiscall IVRSystem_003_ResetSeatedZeroPose(void *_this); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *_this, HmdMatrix34_t *_r); - -bool __thiscall IVRSystem_003_LoadRenderModel(void *_this, const char * pchRenderModelName, RenderModel_t * pRenderModel); - -void __thiscall IVRSystem_003_FreeRenderModel(void *_this, RenderModel_t * pRenderModel); - -TrackedDeviceClass __thiscall IVRSystem_003_GetTrackedDeviceClass(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_003_IsTrackedDeviceConnected(void *_this, TrackedDeviceIndex_t unDeviceIndex); - -bool __thiscall IVRSystem_003_GetBoolTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -float __thiscall IVRSystem_003_GetFloatTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -int32_t __thiscall IVRSystem_003_GetInt32TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint64_t __thiscall IVRSystem_003_GetUint64TrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -HmdMatrix34_t *__thiscall IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError); - -uint32_t __thiscall IVRSystem_003_GetStringTrackedDeviceProperty(void *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError); - -const char * __thiscall IVRSystem_003_GetPropErrorNameFromEnum(void *_this, TrackedPropertyError error); - -bool __thiscall IVRSystem_003_PollNextEvent(void *_this, VREvent_t * pEvent); - -bool __thiscall IVRSystem_003_PollNextEventWithPose(void *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose); - -const char * __thiscall IVRSystem_003_GetEventTypeNameFromEnum(void *_this, EVREventType eType); - -HiddenAreaMesh_t *__thiscall IVRSystem_003_GetHiddenAreaMesh(void *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye); - -bool __thiscall IVRSystem_003_GetControllerState(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState); - -bool __thiscall IVRSystem_003_GetControllerStateWithPose(void *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose); - -void __thiscall IVRSystem_003_TriggerHapticPulse(void *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec); - -const char * __thiscall IVRSystem_003_GetButtonIdNameFromEnum(void *_this, EVRButtonId eButtonId); - -const char * __thiscall IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *_this, EVRControllerAxisType eAxisType); - -bool __thiscall IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType); - -bool __thiscall IVRSystem_003_CaptureInputFocus(void *_this); - -void __thiscall IVRSystem_003_ReleaseInputFocus(void *_this); - -bool __thiscall IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *_this); - -void test_capi_thunks_IVRCompositor_005(void); - -uint32_t __thiscall IVRCompositor_005_GetLastError(void *_this, char * pchBuffer, uint32_t unBufferSize); - -void __thiscall IVRCompositor_005_SetVSync(void *_this, bool bVSync); - -bool __thiscall IVRCompositor_005_GetVSync(void *_this); - -void __thiscall IVRCompositor_005_SetGamma(void *_this, float fGamma); - -float __thiscall IVRCompositor_005_GetGamma(void *_this); - -void __thiscall IVRCompositor_005_SetGraphicsDevice(void *_this, Compositor_DeviceType eType, void * pDevice); - -void __thiscall IVRCompositor_005_WaitGetPoses(void *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount); - -void __thiscall IVRCompositor_005_Submit(void *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds); - -void __thiscall IVRCompositor_005_ClearLastSubmittedFrame(void *_this); - -void __thiscall IVRCompositor_005_GetOverlayDefaults(void *_this, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlay(void *_this, void * pTexture, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlayRaw(void *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_SetOverlayFromFile(void *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings); - -void __thiscall IVRCompositor_005_ClearOverlay(void *_this); - -bool __thiscall IVRCompositor_005_GetFrameTiming(void *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo); - -void __thiscall IVRCompositor_005_FadeToColor(void *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground); - -void __thiscall IVRCompositor_005_FadeGrid(void *_this, float fSeconds, bool bFadeIn); - -void __thiscall IVRCompositor_005_CompositorBringToFront(void *_this); - -void __thiscall IVRCompositor_005_CompositorGoToBack(void *_this); - -void __thiscall IVRCompositor_005_CompositorQuit(void *_this); - -bool __thiscall IVRCompositor_005_IsFullscreen(void *_this); - -bool __thiscall IVRCompositor_005_ComputeOverlayIntersection(void *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace); - -void __thiscall IVRCompositor_005_SetTrackingSpace(void *_this, TrackingUniverseOrigin eOrigin); - -TrackingUniverseOrigin __thiscall IVRCompositor_005_GetTrackingSpace(void *_this); diff --git a/vrclient_x64/tests/capi_thunks_tests_autogen.c b/vrclient_x64/tests/capi_thunks_tests_autogen.c deleted file mode 100644 index 2296ef15b..000000000 --- a/vrclient_x64/tests/capi_thunks_tests_autogen.c +++ /dev/null @@ -1,33160 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" - -void test_capi_thunks_IVRSystem_022(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_022_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_022_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_022_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_022_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_022_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_022_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_022_ComputeDistortion", 1); - check_float_parameter("IVRSystem_022_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_022_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_022_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_022_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_022_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_022_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_022_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_022_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_022_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_022_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_022_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_022_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_022_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_022_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_022_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_022_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_022_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_022_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_022_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_022_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_022_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_022_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_022_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_022_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_022_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_022_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_022_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_022_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_022_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_022_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_022_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_022_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerState", 1); - check_ptr_parameter("IVRSystem_022_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_022_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_022_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_022_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_022_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_022_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_022_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_IsInputAvailable(); - check_ptr_parameter("IVRSystem_022_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_022_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_022_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_022_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_022_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_022_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_022_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_022_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_022_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_022_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_022_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_022_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_022_GetAppContainerFilePaths", 2); - - init_thunk(t, this_ptr_value, IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_022_GetRuntimeVersion)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_022_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_022_GetRuntimeVersion", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_007(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_007_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_007_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_007_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_007_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_007_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_007_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_007_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_007_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_007_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationCount(); - check_ptr_parameter("IVRApplications_007_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_007_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_007_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_007_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_007_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_007_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_007_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_007_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_007_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_LaunchTemplateApplication, 4, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRApplications_007_LaunchTemplateApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_007_LaunchTemplateApplication", (void *)1); - check_ptr_parameter("IVRApplications_007_LaunchTemplateApplication", (void *)2); - check_ptr_parameter("IVRApplications_007_LaunchTemplateApplication", (void *)3); - check_uint32_parameter("IVRApplications_007_LaunchTemplateApplication", 4); - - init_thunk(t, this_ptr_value, IVRApplications_007_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_LaunchApplicationFromMimeType)(const char * pchMimeType, const char * pchArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_LaunchApplicationFromMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_007_LaunchApplicationFromMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_007_LaunchApplicationFromMimeType", (void *)1); - check_ptr_parameter("IVRApplications_007_LaunchApplicationFromMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_007_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_007_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_007_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_007_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_007_CancelApplicationLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_007_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_007_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_007_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_007_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_007_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_007_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_007_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_007_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_007_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_007_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_007_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_007_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_007_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_007_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_007_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_007_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_007_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_007_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_SetDefaultApplicationForMimeType)(const char * pchAppKey, const char * pchMimeType) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_SetDefaultApplicationForMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_007_SetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_007_SetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_007_SetDefaultApplicationForMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_GetDefaultApplicationForMimeType)(const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetDefaultApplicationForMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_007_GetDefaultApplicationForMimeType", (void *)2); - check_uint32_parameter("IVRApplications_007_GetDefaultApplicationForMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_007_GetApplicationSupportedMimeTypes)(const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationSupportedMimeTypes((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetApplicationSupportedMimeTypes", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationSupportedMimeTypes", (void *)1); - check_ptr_parameter("IVRApplications_007_GetApplicationSupportedMimeTypes", (void *)2); - check_uint32_parameter("IVRApplications_007_GetApplicationSupportedMimeTypes", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetApplicationsThatSupportMimeType)(const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationsThatSupportMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetApplicationsThatSupportMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetApplicationsThatSupportMimeType", (void *)1); - check_ptr_parameter("IVRApplications_007_GetApplicationsThatSupportMimeType", (void *)2); - check_uint32_parameter("IVRApplications_007_GetApplicationsThatSupportMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetApplicationLaunchArguments, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetApplicationLaunchArguments)(uint32_t unHandle, char * pchArgs, uint32_t unArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetApplicationLaunchArguments(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_007_GetApplicationLaunchArguments", this_ptr_value); - check_uint32_parameter("IVRApplications_007_GetApplicationLaunchArguments", 1); - check_ptr_parameter("IVRApplications_007_GetApplicationLaunchArguments", (void *)2); - check_uint32_parameter("IVRApplications_007_GetApplicationLaunchArguments", 3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_007_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_007_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_007_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetSceneApplicationState, 0, FALSE, FALSE); - EVRSceneApplicationState (__stdcall *capi_IVRApplications_007_GetSceneApplicationState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetSceneApplicationState(); - check_ptr_parameter("IVRApplications_007_GetSceneApplicationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_007_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_007_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_007_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetSceneApplicationStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_007_GetSceneApplicationStateNameFromEnum)(EVRSceneApplicationState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetSceneApplicationStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_007_GetSceneApplicationStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_007_GetSceneApplicationStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_007_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_007_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_007_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_007_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_007_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_007_LaunchInternalProcess", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_007_GetCurrentSceneProcessId)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_007_GetCurrentSceneProcessId(); - check_ptr_parameter("IVRApplications_007_GetCurrentSceneProcessId", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSettings_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSettings_003_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_GetSettingsErrorNameFromEnum(1); - check_ptr_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSettings_003_GetSettingsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSettings_003_SetBool, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_SetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_003_SetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)1); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)2); - check_bool_parameter("IVRSettings_003_SetBool", 1); - check_ptr_parameter("IVRSettings_003_SetBool", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_003_SetInt32, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_SetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_003_SetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)1); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)2); - check_uint32_parameter("IVRSettings_003_SetInt32", 3); - check_ptr_parameter("IVRSettings_003_SetInt32", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_003_SetFloat, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_003_SetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)1); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)2); - check_float_parameter("IVRSettings_003_SetFloat", 3.0f); - check_ptr_parameter("IVRSettings_003_SetFloat", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_003_SetString, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_SetString((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSettings_003_SetString", this_ptr_value); - check_ptr_parameter("IVRSettings_003_SetString", (void *)1); - check_ptr_parameter("IVRSettings_003_SetString", (void *)2); - check_ptr_parameter("IVRSettings_003_SetString", (void *)3); - check_ptr_parameter("IVRSettings_003_SetString", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_003_GetBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_003_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_GetBool((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)1); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)2); - check_ptr_parameter("IVRSettings_003_GetBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_003_GetInt32, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSettings_003_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_GetInt32((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)1); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)2); - check_ptr_parameter("IVRSettings_003_GetInt32", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_003_GetFloat, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSettings_003_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_GetFloat((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_GetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)1); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)2); - check_ptr_parameter("IVRSettings_003_GetFloat", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_003_GetString, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSettings_003_GetString", this_ptr_value); - check_ptr_parameter("IVRSettings_003_GetString", (void *)1); - check_ptr_parameter("IVRSettings_003_GetString", (void *)2); - check_ptr_parameter("IVRSettings_003_GetString", (void *)3); - check_uint32_parameter("IVRSettings_003_GetString", 4); - check_ptr_parameter("IVRSettings_003_GetString", (void *)5); - - init_thunk(t, this_ptr_value, IVRSettings_003_RemoveSection, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_RemoveSection((void *)1, (void *)2); - check_ptr_parameter("IVRSettings_003_RemoveSection", this_ptr_value); - check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)1); - check_ptr_parameter("IVRSettings_003_RemoveSection", (void *)2); - - init_thunk(t, this_ptr_value, IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_003_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_003_RemoveKeyInSection((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", this_ptr_value); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)1); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)2); - check_ptr_parameter("IVRSettings_003_RemoveKeyInSection", (void *)3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperone_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperone_004_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_004_GetCalibrationState)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_004_GetCalibrationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_GetPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_GetPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ReloadInfo)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_ReloadInfo(); - check_ptr_parameter("IVRChaperone_004_ReloadInfo", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_SetSceneColor)(HmdColor_t color) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_004_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_004_SetSceneColor", DEFAULT_COLOR); - - init_thunk(t, this_ptr_value, IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); - void (__stdcall *capi_IVRChaperone_004_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_004_GetBoundsColor", 2); - check_float_parameter("IVRChaperone_004_GetBoundsColor", 3.0f); - check_ptr_parameter("IVRChaperone_004_GetBoundsColor", (void *)4); - - init_thunk(t, this_ptr_value, IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_004_AreBoundsVisible)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_004_AreBoundsVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ForceBoundsVisible)(bool bForce) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_004_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_004_ForceBoundsVisible", 1); - - init_thunk(t, this_ptr_value, IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_004_ResetZeroPose)(ETrackingUniverseOrigin eTrackingUniverseOrigin) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_004_ResetZeroPose(1); - check_ptr_parameter("IVRChaperone_004_ResetZeroPose", this_ptr_value); - check_uint32_parameter("IVRChaperone_004_ResetZeroPose", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperoneSetup_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_CommitWorkingCopy, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_CommitWorkingCopy(1); - check_ptr_parameter("IVRChaperoneSetup_006_CommitWorkingCopy", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_006_CommitWorkingCopy", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_RevertWorkingCopy, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_RevertWorkingCopy)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_RevertWorkingCopy(); - check_ptr_parameter("IVRChaperoneSetup_006_RevertWorkingCopy", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetWorkingPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetWorkingPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(1.0f, 2.0f); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingPlayAreaSize", this_ptr_value); - check_float_parameter("IVRChaperoneSetup_006_SetWorkingPlayAreaSize", 1.0f); - check_float_parameter("IVRChaperoneSetup_006_SetWorkingPlayAreaSize", 2.0f); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_SetWorkingPerimeter, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_SetWorkingPerimeter)(HmdVector2_t * pPointBuffer, uint32_t unPointCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_SetWorkingPerimeter((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingPerimeter", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingPerimeter", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_006_SetWorkingPerimeter", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_ReloadFromDisk, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_ReloadFromDisk(1); - check_ptr_parameter("IVRChaperoneSetup_006_ReloadFromDisk", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_006_ReloadFromDisk", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_ExportLiveToBuffer, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_ExportLiveToBuffer)(char * pBuffer, uint32_t * pnBufferLength) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_ExportLiveToBuffer((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_006_ExportLiveToBuffer", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_ExportLiveToBuffer", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_006_ExportLiveToBuffer", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_ImportFromBufferToWorking, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_006_ImportFromBufferToWorking)(const char * pBuffer, uint32_t nImportFlags) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_ImportFromBufferToWorking((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_006_ImportFromBufferToWorking", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_006_ImportFromBufferToWorking", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_006_ImportFromBufferToWorking", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_ShowWorkingSetPreview, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_ShowWorkingSetPreview)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_ShowWorkingSetPreview(); - check_ptr_parameter("IVRChaperoneSetup_006_ShowWorkingSetPreview", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_HideWorkingSetPreview, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_HideWorkingSetPreview)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_HideWorkingSetPreview(); - check_ptr_parameter("IVRChaperoneSetup_006_HideWorkingSetPreview", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_006_RoomSetupStarting)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_006_RoomSetupStarting(); - check_ptr_parameter("IVRChaperoneSetup_006_RoomSetupStarting", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_027(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_027_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_027_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_027_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_027_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_027_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_027_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_027_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_Submit", 1); - check_ptr_parameter("IVRCompositor_027_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_027_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_027_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_027_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_027_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_027_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_027_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_027_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_027_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_027_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_027_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_027_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_027_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_027_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_027_FadeGrid)(float fSeconds, bool bFadeGridIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_027_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_027_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_027_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_027_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_027_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_027_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_027_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_027_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_027_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorQuit(); - check_ptr_parameter("IVRCompositor_027_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsFullscreen(); - check_ptr_parameter("IVRCompositor_027_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_027_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_027_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CanRenderScene(); - check_ptr_parameter("IVRCompositor_027_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_027_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_027_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_027_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_027_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_027_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_027_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_027_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_027_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_027_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_027_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_027_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_027_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_027_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_027_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_027_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_027_IsCurrentSceneFocusAppLoading", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)1); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)2); - check_ptr_parameter("IVRCompositor_027_SetStageOverride_Async", (void *)3); - check_uint32_parameter("IVRCompositor_027_SetStageOverride_Async", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_027_ClearStageOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_ClearStageOverride(); - check_ptr_parameter("IVRCompositor_027_ClearStageOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_027_GetCompositorBenchmarkResults)(Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetCompositorBenchmarkResults((void *)1, 2); - check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", (void *)1); - check_uint32_parameter("IVRCompositor_027_GetCompositorBenchmarkResults", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetLastPosePredictionIDs)(uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetLastPosePredictionIDs((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", this_ptr_value); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)1); - check_ptr_parameter("IVRCompositor_027_GetLastPosePredictionIDs", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_027_GetPosesForFrame)(uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_027_GetPosesForFrame(1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", this_ptr_value); - check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 1); - check_ptr_parameter("IVRCompositor_027_GetPosesForFrame", (void *)2); - check_uint32_parameter("IVRCompositor_027_GetPosesForFrame", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRHeadsetView_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewSize)(uint32_t nWidth, uint32_t nHeight) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewSize(1, 2); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewSize", this_ptr_value); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 1); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewSize", 2); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewSize((void *)1, (void *)2); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", this_ptr_value); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)1); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewMode)(HeadsetViewMode_t eHeadsetViewMode) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewMode(1); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewMode", this_ptr_value); - check_uint32_parameter("IVRHeadsetView_001_SetHeadsetViewMode", 1); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewMode, 0, FALSE, FALSE); - HeadsetViewMode_t (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewMode)() = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewMode(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewMode", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewCropped, 1, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewCropped)(bool bCropped) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewCropped(1); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", this_ptr_value); - check_bool_parameter("IVRHeadsetView_001_SetHeadsetViewCropped", 1); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewCropped, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewCropped)() = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewCropped(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewCropped", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewAspectRatio, 0, FALSE, FALSE); - float (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio)() = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewAspectRatio(); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewAspectRatio", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_SetHeadsetViewBlendRange, 2, TRUE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_SetHeadsetViewBlendRange)(float flStartPct, float flEndPct) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_SetHeadsetViewBlendRange(1.0f, 2.0f); - check_ptr_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", this_ptr_value); - check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 1.0f); - check_float_parameter("IVRHeadsetView_001_SetHeadsetViewBlendRange", 2.0f); - - init_thunk(t, this_ptr_value, IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); - void (__stdcall *capi_IVRHeadsetView_001_GetHeadsetViewBlendRange)(float * pStartPct, float * pEndPct) = (void *)t; - - clear_parameters(); - capi_IVRHeadsetView_001_GetHeadsetViewBlendRange((void *)1, (void *)2); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", this_ptr_value); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)1); - check_ptr_parameter("IVRHeadsetView_001_GetHeadsetViewBlendRange", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRNotifications_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRNotifications_002_CreateNotification, 7, FALSE, FALSE); - EVRNotificationError (__stdcall *capi_IVRNotifications_002_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_002_CreateNotification(1, 2, 3, (void *)4, 5, (void *)6, (void *)7); - check_ptr_parameter("IVRNotifications_002_CreateNotification", this_ptr_value); - check_uint64_parameter("IVRNotifications_002_CreateNotification", 1); - check_uint64_parameter("IVRNotifications_002_CreateNotification", 2); - check_uint32_parameter("IVRNotifications_002_CreateNotification", 3); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)4); - check_uint32_parameter("IVRNotifications_002_CreateNotification", 5); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)6); - check_ptr_parameter("IVRNotifications_002_CreateNotification", (void *)7); - - init_thunk(t, this_ptr_value, IVRNotifications_002_RemoveNotification, 1, FALSE, FALSE); - EVRNotificationError (__stdcall *capi_IVRNotifications_002_RemoveNotification)(VRNotificationId notificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_002_RemoveNotification(1); - check_ptr_parameter("IVRNotifications_002_RemoveNotification", this_ptr_value); - check_uint32_parameter("IVRNotifications_002_RemoveNotification", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_026(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_026_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_026_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_026_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_026_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_026_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_026_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_026_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_026_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_026_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_026_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_026_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayColor", 1); - check_float_parameter("IVROverlay_026_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_026_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_026_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_026_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_026_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_026_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_026_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_026_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_026_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float fRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayPreCurvePitch(1, 2.0f); - check_ptr_parameter("IVROverlay_026_SetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 1); - check_float_parameter("IVROverlay_026_SetOverlayPreCurvePitch", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayPreCurvePitch)(VROverlayHandle_t ulOverlayHandle, float * pfRadians) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayPreCurvePitch(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayPreCurvePitch", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayPreCurvePitch", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_026_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTransformProjection", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 2); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)3); - check_ptr_parameter("IVROverlay_026_SetOverlayTransformProjection", (void *)4); - check_uint32_parameter("IVROverlay_026_SetOverlayTransformProjection", 5); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowOverlay(1); - check_ptr_parameter("IVROverlay_026_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_HideOverlay(1); - check_ptr_parameter("IVROverlay_026_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_026_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_026_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_WaitFrameSync)(uint32_t nTimeoutMs) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_WaitFrameSync(1); - check_ptr_parameter("IVROverlay_026_WaitFrameSync", this_ptr_value); - check_uint32_parameter("IVROverlay_026_WaitFrameSync", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_026_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_026_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_026_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_026_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_026_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_026_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_026_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_026_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_026_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_026_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_026_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_026_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_026_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_026_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_026_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_026_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_026_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_026_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_026_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_026_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_026_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_026_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_026_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_026_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_026_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_026_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_026_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_026_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_026_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_026_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_026_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_026_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_026_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_026_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_026_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_026_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_026_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_026_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_026_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_HideKeyboard(); - check_ptr_parameter("IVROverlay_026_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_026_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_026_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_026_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_026_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_026_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_026_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_026_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlayView_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlayView_003_AcquireOverlayView, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlayView_003_AcquireOverlayView)(VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_AcquireOverlayView(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_AcquireOverlayView", 1); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)2); - check_ptr_parameter("IVROverlayView_003_AcquireOverlayView", (void *)3); - check_uint32_parameter("IVROverlayView_003_AcquireOverlayView", 4); - - init_thunk(t, this_ptr_value, IVROverlayView_003_ReleaseOverlayView, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlayView_003_ReleaseOverlayView)(VROverlayView_t * pOverlayView) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_ReleaseOverlayView((void *)1); - check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", this_ptr_value); - check_ptr_parameter("IVROverlayView_003_ReleaseOverlayView", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlayView_003_PostOverlayEvent, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlayView_003_PostOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_PostOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_PostOverlayEvent", 1); - check_ptr_parameter("IVROverlayView_003_PostOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlayView_003_IsViewingPermitted)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlayView_003_IsViewingPermitted(1); - check_ptr_parameter("IVROverlayView_003_IsViewingPermitted", this_ptr_value); - check_uint64_parameter("IVROverlayView_003_IsViewingPermitted", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_006_LoadRenderModel_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadTexture_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeTexture", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadTextureD3D11_Async", (void *)3); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_LoadIntoTextureD3D11_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_006_LoadIntoTextureD3D11_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_006_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_FreeTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentCount)(const char * pchRenderModelName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentCount", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_006_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_006_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_006_GetComponentName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_006_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentButtonMask", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_006_GetComponentRenderModelName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentStateForDevicePath, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_GetComponentStateForDevicePath)(const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentStateForDevicePath((void *)1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)2); - check_uint64_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", 3); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetComponentStateForDevicePath", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetComponentState", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_006_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_006_RenderModelHasComponent", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelThumbnailURL", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelOriginalPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_006_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)2); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", 3); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelOriginalPath", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(1); - check_ptr_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRRenderModels_006_GetRenderModelErrorNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRExtendedDisplay_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRExtendedDisplay_001_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetEyeOutputViewport)(EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRExtendedDisplay_001_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRExtendedDisplay_001_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRExtendedDisplay_001_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRExtendedDisplay_001_GetDXGIOutputInfo", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_006_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_006_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 2); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", 3); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraIntrinsics", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 2); - check_uint32_parameter("IVRTrackedCamera_006_GetCameraProjection", 3); - check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 4.0f); - check_float_parameter("IVRTrackedCamera_006_GetCameraProjection", 5.0f); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraProjection", (void *)6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_006_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamFrameBuffer", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureD3D11", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_006_GetVideoStreamTextureGL", 5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_006_ReleaseVideoStreamTextureGL", 2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRTrackedCamera_006_SetCameraTrackingSpace)(ETrackingUniverseOrigin eUniverse) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_SetCameraTrackingSpace(1); - check_ptr_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_006_SetCameraTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRTrackedCamera_006_GetCameraTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_006_GetCameraTrackingSpace(); - check_ptr_parameter("IVRTrackedCamera_006_GetCameraTrackingSpace", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRScreenshots_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_RequestScreenshot, 4, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_RequestScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_RequestScreenshot((void *)1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)1); - check_uint32_parameter("IVRScreenshots_001_RequestScreenshot", 2); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)3); - check_ptr_parameter("IVRScreenshots_001_RequestScreenshot", (void *)4); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_HookScreenshot, 2, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_HookScreenshot)(EVRScreenshotType * pSupportedTypes, int numTypes) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_HookScreenshot((void *)1, 2); - check_ptr_parameter("IVRScreenshots_001_HookScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_HookScreenshot", (void *)1); - check_uint32_parameter("IVRScreenshots_001_HookScreenshot", 2); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyType, 2, FALSE, FALSE); - EVRScreenshotType (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyType)(ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_GetScreenshotPropertyType(1, (void *)2); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyType", 1); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyType", (void *)2); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_GetScreenshotPropertyFilename, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRScreenshots_001_GetScreenshotPropertyFilename)(ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_GetScreenshotPropertyFilename(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 1); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 2); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)3); - check_uint32_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", 4); - check_ptr_parameter("IVRScreenshots_001_GetScreenshotPropertyFilename", (void *)5); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_UpdateScreenshotProgress, 2, TRUE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_UpdateScreenshotProgress)(ScreenshotHandle_t screenshotHandle, float flProgress) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_UpdateScreenshotProgress(1, 2.0f); - check_ptr_parameter("IVRScreenshots_001_UpdateScreenshotProgress", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 1); - check_float_parameter("IVRScreenshots_001_UpdateScreenshotProgress", 2.0f); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_TakeStereoScreenshot, 3, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_TakeStereoScreenshot)(ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_TakeStereoScreenshot((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", this_ptr_value); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)1); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)2); - check_ptr_parameter("IVRScreenshots_001_TakeStereoScreenshot", (void *)3); - - init_thunk(t, this_ptr_value, IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); - EVRScreenshotError (__stdcall *capi_IVRScreenshots_001_SubmitScreenshot)(ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) = (void *)t; - - clear_parameters(); - capi_IVRScreenshots_001_SubmitScreenshot(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", this_ptr_value); - check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 1); - check_uint32_parameter("IVRScreenshots_001_SubmitScreenshot", 2); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)3); - check_ptr_parameter("IVRScreenshots_001_SubmitScreenshot", (void *)4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRResources_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRResources_001_LoadSharedResource, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRResources_001_LoadSharedResource)(const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRResources_001_LoadSharedResource((void *)1, (void *)2, 3); - check_ptr_parameter("IVRResources_001_LoadSharedResource", this_ptr_value); - check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)1); - check_ptr_parameter("IVRResources_001_LoadSharedResource", (void *)2); - check_uint32_parameter("IVRResources_001_LoadSharedResource", 3); - - init_thunk(t, this_ptr_value, IVRResources_001_GetResourceFullPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRResources_001_GetResourceFullPath)(const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRResources_001_GetResourceFullPath((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", this_ptr_value); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)1); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)2); - check_ptr_parameter("IVRResources_001_GetResourceFullPath", (void *)3); - check_uint32_parameter("IVRResources_001_GetResourceFullPath", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRDriverManager_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverCount)() = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverCount(); - check_ptr_parameter("IVRDriverManager_001_GetDriverCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRDriverManager_001_GetDriverName)(DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverName(1, (void *)2, 3); - check_ptr_parameter("IVRDriverManager_001_GetDriverName", this_ptr_value); - check_uint32_parameter("IVRDriverManager_001_GetDriverName", 1); - check_ptr_parameter("IVRDriverManager_001_GetDriverName", (void *)2); - check_uint32_parameter("IVRDriverManager_001_GetDriverName", 3); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_GetDriverHandle, 1, FALSE, FALSE); - DriverHandle_t (__stdcall *capi_IVRDriverManager_001_GetDriverHandle)(const char * pchDriverName) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_GetDriverHandle((void *)1); - check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", this_ptr_value); - check_ptr_parameter("IVRDriverManager_001_GetDriverHandle", (void *)1); - - init_thunk(t, this_ptr_value, IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRDriverManager_001_IsEnabled)(DriverId_t nDriver) = (void *)t; - - clear_parameters(); - capi_IVRDriverManager_001_IsEnabled(1); - check_ptr_parameter("IVRDriverManager_001_IsEnabled", this_ptr_value); - check_uint32_parameter("IVRDriverManager_001_IsEnabled", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_010_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_010_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_010_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_010_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_010_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_010_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_010_UpdateActionState", 2); - check_uint32_parameter("IVRInput_010_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_010_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_010_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_010_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_010_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 1); - check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 2); - check_float_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 3.0f); - check_ptr_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", (void *)4); - check_uint32_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 5); - check_uint64_parameter("IVRInput_010_GetPoseActionDataRelativeToNow", 6); - - init_thunk(t, this_ptr_value, IVRInput_010_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); - check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 1); - check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 2); - check_ptr_parameter("IVRInput_010_GetPoseActionDataForNextFrame", (void *)3); - check_uint32_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 4); - check_uint64_parameter("IVRInput_010_GetPoseActionDataForNextFrame", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_010_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_010_GetSkeletalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetDominantHand, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetDominantHand)(ETrackedControllerRole * peDominantHand) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetDominantHand((void *)1); - check_ptr_parameter("IVRInput_010_GetDominantHand", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetDominantHand", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_010_SetDominantHand, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_SetDominantHand)(ETrackedControllerRole eDominantHand) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_SetDominantHand(1); - check_ptr_parameter("IVRInput_010_SetDominantHand", this_ptr_value); - check_uint32_parameter("IVRInput_010_SetDominantHand", 1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_010_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneCount", 1); - check_ptr_parameter("IVRInput_010_GetBoneCount", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_010_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_010_GetBoneHierarchy", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_010_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBoneName", 1); - check_uint32_parameter("IVRInput_010_GetBoneName", 2); - check_ptr_parameter("IVRInput_010_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_010_GetBoneName", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_010_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_010_GetSkeletalReferenceTransforms", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_010_GetSkeletalTrackingLevel", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalSummaryData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalSummaryData(1, 2, (void *)3); - check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalSummaryData", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalSummaryData", 2); - check_ptr_parameter("IVRInput_010_GetSkeletalSummaryData", (void *)3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_010_GetSkeletalBoneDataCompressed", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_010_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_010_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_010_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_010_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_010_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_010_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_010_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_010_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_010_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_010_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_010_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_010_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_010_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_010_GetOriginLocalizedName", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_010_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_010_GetActionBindingInfo, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetActionBindingInfo)(VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetActionBindingInfo(1, (void *)2, 3, 4, (void *)5); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetActionBindingInfo", 1); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)2); - check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 3); - check_uint32_parameter("IVRInput_010_GetActionBindingInfo", 4); - check_ptr_parameter("IVRInput_010_GetActionBindingInfo", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_010_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_010_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_010_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_010_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_010_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_010_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_010_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_010_ShowBindingsForActionSet", 4); - - init_thunk(t, this_ptr_value, IVRInput_010_GetComponentStateForBinding, 6, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetComponentStateForBinding)(const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetComponentStateForBinding((void *)1, (void *)2, (void *)3, 4, 5, (void *)6); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", this_ptr_value); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)1); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)2); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)3); - check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 4); - check_uint32_parameter("IVRInput_010_GetComponentStateForBinding", 5); - check_ptr_parameter("IVRInput_010_GetComponentStateForBinding", (void *)6); - - init_thunk(t, this_ptr_value, IVRInput_010_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_010_IsUsingLegacyInput)() = (void *)t; - - clear_parameters(); - capi_IVRInput_010_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_010_IsUsingLegacyInput", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRInput_010_OpenBindingUI, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_OpenBindingUI)(const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_OpenBindingUI((void *)1, 2, 3, 1); - check_ptr_parameter("IVRInput_010_OpenBindingUI", this_ptr_value); - check_ptr_parameter("IVRInput_010_OpenBindingUI", (void *)1); - check_uint64_parameter("IVRInput_010_OpenBindingUI", 2); - check_uint64_parameter("IVRInput_010_OpenBindingUI", 3); - check_bool_parameter("IVRInput_010_OpenBindingUI", 1); - - init_thunk(t, this_ptr_value, IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_010_GetBindingVariant)(VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) = (void *)t; - - clear_parameters(); - capi_IVRInput_010_GetBindingVariant(1, (void *)2, 3); - check_ptr_parameter("IVRInput_010_GetBindingVariant", this_ptr_value); - check_uint64_parameter("IVRInput_010_GetBindingVariant", 1); - check_ptr_parameter("IVRInput_010_GetBindingVariant", (void *)2); - check_uint32_parameter("IVRInput_010_GetBindingVariant", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRIOBuffer_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Open, 5, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Open((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRIOBuffer_002_Open", this_ptr_value); - check_ptr_parameter("IVRIOBuffer_002_Open", (void *)1); - check_uint32_parameter("IVRIOBuffer_002_Open", 2); - check_uint32_parameter("IVRIOBuffer_002_Open", 3); - check_uint32_parameter("IVRIOBuffer_002_Open", 4); - check_ptr_parameter("IVRIOBuffer_002_Open", (void *)5); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Close, 1, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Close)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Close(1); - check_ptr_parameter("IVRIOBuffer_002_Close", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Close", 1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Read, 4, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Read(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRIOBuffer_002_Read", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Read", 1); - check_ptr_parameter("IVRIOBuffer_002_Read", (void *)2); - check_uint32_parameter("IVRIOBuffer_002_Read", 3); - check_ptr_parameter("IVRIOBuffer_002_Read", (void *)4); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_Write, 3, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_002_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_Write(1, (void *)2, 3); - check_ptr_parameter("IVRIOBuffer_002_Write", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_Write", 1); - check_ptr_parameter("IVRIOBuffer_002_Write", (void *)2); - check_uint32_parameter("IVRIOBuffer_002_Write", 3); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_PropertyContainer, 1, FALSE, FALSE); - PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_002_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_PropertyContainer(1); - check_ptr_parameter("IVRIOBuffer_002_PropertyContainer", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_PropertyContainer", 1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRIOBuffer_002_HasReaders)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_002_HasReaders(1); - check_ptr_parameter("IVRIOBuffer_002_HasReaders", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_002_HasReaders", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRClientCore_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRClientCore_003_Init, 2, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_003_Init)(EVRApplicationType eApplicationType, const char * pStartupInfo) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_Init(1, (void *)2); - check_ptr_parameter("IVRClientCore_003_Init", this_ptr_value); - check_uint32_parameter("IVRClientCore_003_Init", 1); - check_ptr_parameter("IVRClientCore_003_Init", (void *)2); - - init_thunk(t, this_ptr_value, IVRClientCore_003_Cleanup, 0, FALSE, FALSE); - void (__stdcall *capi_IVRClientCore_003_Cleanup)() = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_Cleanup(); - check_ptr_parameter("IVRClientCore_003_Cleanup", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_003_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_IsInterfaceVersionValid((void *)1); - check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", this_ptr_value); - check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", (void *)1); - - init_thunk(t, this_ptr_value, IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE); - void * (__stdcall *capi_IVRClientCore_003_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_GetGenericInterface((void *)1, (void *)2); - check_ptr_parameter("IVRClientCore_003_GetGenericInterface", this_ptr_value); - check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)1); - check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)2); - - init_thunk(t, this_ptr_value, IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRClientCore_003_BIsHmdPresent)() = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_BIsHmdPresent(); - check_ptr_parameter("IVRClientCore_003_BIsHmdPresent", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_003_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_GetEnglishStringForHmdError(1); - check_ptr_parameter("IVRClientCore_003_GetEnglishStringForHmdError", this_ptr_value); - check_uint32_parameter("IVRClientCore_003_GetEnglishStringForHmdError", 1); - - init_thunk(t, this_ptr_value, IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_003_GetIDForVRInitError)(EVRInitError eError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_003_GetIDForVRInitError(1); - check_ptr_parameter("IVRClientCore_003_GetIDForVRInitError", this_ptr_value); - check_uint32_parameter("IVRClientCore_003_GetIDForVRInitError", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_025(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_025_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_025_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_025_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_025_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_025_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_025_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_025_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_025_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_025_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_025_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_025_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayColor", 1); - check_float_parameter("IVROverlay_025_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_025_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_025_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_025_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_025_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_025_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_025_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_025_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_025_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_025_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_025_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTransformProjection)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTransformProjection(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTransformProjection", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 2); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)3); - check_ptr_parameter("IVROverlay_025_SetOverlayTransformProjection", (void *)4); - check_uint32_parameter("IVROverlay_025_SetOverlayTransformProjection", 5); - - init_thunk(t, this_ptr_value, IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ShowOverlay(1); - check_ptr_parameter("IVROverlay_025_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_HideOverlay(1); - check_ptr_parameter("IVROverlay_025_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_025_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_025_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_025_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_025_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_025_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_025_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_025_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_025_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_025_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_025_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_025_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_025_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_025_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_025_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_025_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_025_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_025_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_025_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_025_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_025_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_025_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_025_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_025_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_025_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_025_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_025_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_025_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_025_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_025_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_025_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_025_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_025_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_025_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_025_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_025_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_025_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_025_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_025_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_025_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_025_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_025_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_HideKeyboard(); - check_ptr_parameter("IVROverlay_025_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_025_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_025_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_025_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_025_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_025_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_025_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_025_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_026(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_026_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_026_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_026_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_026_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_026_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_026_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_026_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_026_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_026_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_026_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_026_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_026_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_026_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_026_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_026_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_Submit", 1); - check_ptr_parameter("IVRCompositor_026_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_026_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_026_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_026_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_026_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_026_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_026_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_026_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_026_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_026_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_026_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_026_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_026_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_026_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_026_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_026_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_026_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_026_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_026_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_026_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_026_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_026_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_026_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_026_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_026_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_026_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_026_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_026_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_026_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_CompositorQuit(); - check_ptr_parameter("IVRCompositor_026_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_IsFullscreen(); - check_ptr_parameter("IVRCompositor_026_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_026_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_026_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_026_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_026_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_CanRenderScene(); - check_ptr_parameter("IVRCompositor_026_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_026_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_026_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_026_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_026_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_026_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_026_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_026_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_026_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_026_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_026_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_026_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_026_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_026_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_026_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_026_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_026_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_026_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_026_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_026_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_026_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_026_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_026_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_026_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_026_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_026_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_026_IsCurrentSceneFocusAppLoading", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_SetStageOverride_Async, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_026_SetStageOverride_Async", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_SetStageOverride_Async", (void *)1); - check_ptr_parameter("IVRCompositor_026_SetStageOverride_Async", (void *)2); - check_ptr_parameter("IVRCompositor_026_SetStageOverride_Async", (void *)3); - check_uint32_parameter("IVRCompositor_026_SetStageOverride_Async", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_026_ClearStageOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_026_ClearStageOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_ClearStageOverride(); - check_ptr_parameter("IVRCompositor_026_ClearStageOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_026_GetCompositorBenchmarkResults)(Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetCompositorBenchmarkResults((void *)1, 2); - check_ptr_parameter("IVRCompositor_026_GetCompositorBenchmarkResults", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetCompositorBenchmarkResults", (void *)1); - check_uint32_parameter("IVRCompositor_026_GetCompositorBenchmarkResults", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetLastPosePredictionIDs, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetLastPosePredictionIDs)(uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetLastPosePredictionIDs((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_026_GetLastPosePredictionIDs", this_ptr_value); - check_ptr_parameter("IVRCompositor_026_GetLastPosePredictionIDs", (void *)1); - check_ptr_parameter("IVRCompositor_026_GetLastPosePredictionIDs", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_026_GetPosesForFrame, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_026_GetPosesForFrame)(uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_026_GetPosesForFrame(1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_026_GetPosesForFrame", this_ptr_value); - check_uint32_parameter("IVRCompositor_026_GetPosesForFrame", 1); - check_ptr_parameter("IVRCompositor_026_GetPosesForFrame", (void *)2); - check_uint32_parameter("IVRCompositor_026_GetPosesForFrame", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_024(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_024_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_024_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_024_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_024_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_024_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_024_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_024_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_024_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_024_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_024_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_024_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayColor", 1); - check_float_parameter("IVROverlay_024_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_024_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_024_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_024_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_024_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_024_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_024_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_024_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_024_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_024_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_024_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowOverlay(1); - check_ptr_parameter("IVROverlay_024_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_HideOverlay(1); - check_ptr_parameter("IVROverlay_024_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_024_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_024_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_024_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_024_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_024_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_024_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_024_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_024_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_024_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_024_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_024_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_024_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_024_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_024_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_024_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_024_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_024_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_024_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_024_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_024_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_024_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_024_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_024_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_024_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_024_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_024_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_024_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_024_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_024_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_024_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowKeyboard(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 2); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 3); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)4); - check_uint32_parameter("IVROverlay_024_ShowKeyboard", 5); - check_ptr_parameter("IVROverlay_024_ShowKeyboard", (void *)6); - check_uint64_parameter("IVROverlay_024_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_024_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowKeyboardForOverlay(1, 2, 3, 4, (void *)5, 6, (void *)7, 8); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 3); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 4); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)5); - check_uint32_parameter("IVROverlay_024_ShowKeyboardForOverlay", 6); - check_ptr_parameter("IVROverlay_024_ShowKeyboardForOverlay", (void *)7); - check_uint64_parameter("IVROverlay_024_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_024_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_024_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_024_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_024_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_HideKeyboard(); - check_ptr_parameter("IVROverlay_024_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_024_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_024_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_024_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_024_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_024_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_024_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_024_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_021(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_021_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_021_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_021_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_021_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_021_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_021_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_021_ComputeDistortion", 1); - check_float_parameter("IVRSystem_021_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_021_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_021_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_021_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_021_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_021_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_021_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_021_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_021_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_021_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_021_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_021_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_021_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_021_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_021_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_021_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_021_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_021_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_021_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_021_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_021_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_021_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_021_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_021_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_021_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_021_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_021_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_021_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_021_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_021_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_021_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_021_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_021_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerState", 1); - check_ptr_parameter("IVRSystem_021_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_021_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_021_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_021_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_021_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_021_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_021_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsInputAvailable(); - check_ptr_parameter("IVRSystem_021_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_021_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_021_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_021_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_021_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_021_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_021_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_021_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_021_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_021_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_021_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_021_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_021_GetAppContainerFilePaths", 2); - - init_thunk(t, this_ptr_value, IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_021_GetRuntimeVersion)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_021_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_021_GetRuntimeVersion", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperone_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_003_GetCalibrationState)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_003_GetCalibrationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_GetPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_ReloadInfo)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_ReloadInfo(); - check_ptr_parameter("IVRChaperone_003_ReloadInfo", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_SetSceneColor)(HmdColor_t color) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_003_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_003_SetSceneColor", DEFAULT_COLOR); - - init_thunk(t, this_ptr_value, IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); - void (__stdcall *capi_IVRChaperone_003_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_GetBoundsColor((void *)1, 2, 3.0f, (void *)4); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_003_GetBoundsColor", 2); - check_float_parameter("IVRChaperone_003_GetBoundsColor", 3.0f); - check_ptr_parameter("IVRChaperone_003_GetBoundsColor", (void *)4); - - init_thunk(t, this_ptr_value, IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_003_AreBoundsVisible)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_003_AreBoundsVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_003_ForceBoundsVisible)(bool bForce) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_003_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_003_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_003_ForceBoundsVisible", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRControlPanel_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc1, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc1)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc1(); - check_ptr_parameter("IVRControlPanel_006_undoc1", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc2, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc2)(uint32_t a, char * b, uint32_t c) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc2(1, (void *)2, 3); - check_ptr_parameter("IVRControlPanel_006_undoc2", this_ptr_value); - check_uint32_parameter("IVRControlPanel_006_undoc2", 1); - check_ptr_parameter("IVRControlPanel_006_undoc2", (void *)2); - check_uint32_parameter("IVRControlPanel_006_undoc2", 3); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc3, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRControlPanel_006_undoc3)(const char * a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc3((void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc3", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc3", (void *)1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc4, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc4)(const char * a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc4((void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc4", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc4", (void *)1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc5, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc5)(const char * a, uint32_t b, char * c, uint32_t d) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc5((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRControlPanel_006_undoc5", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc5", (void *)1); - check_uint32_parameter("IVRControlPanel_006_undoc5", 2); - check_ptr_parameter("IVRControlPanel_006_undoc5", (void *)3); - check_uint32_parameter("IVRControlPanel_006_undoc5", 4); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc6, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc6)(const char * a, const char * b, char * c, uint32_t d) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc6((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRControlPanel_006_undoc6", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc6", (void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc6", (void *)2); - check_ptr_parameter("IVRControlPanel_006_undoc6", (void *)3); - check_uint32_parameter("IVRControlPanel_006_undoc6", 4); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc7, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRControlPanel_006_undoc7)(const char * a, const char * b, char * c, uint32_t d) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc7((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRControlPanel_006_undoc7", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc7", (void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc7", (void *)2); - check_ptr_parameter("IVRControlPanel_006_undoc7", (void *)3); - check_uint32_parameter("IVRControlPanel_006_undoc7", 4); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc8, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc8)(uint32_t a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc8(1); - check_ptr_parameter("IVRControlPanel_006_undoc8", this_ptr_value); - check_uint32_parameter("IVRControlPanel_006_undoc8", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc9, 0, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc9)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc9(); - check_ptr_parameter("IVRControlPanel_006_undoc9", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc10, 0, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc10)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc10(); - check_ptr_parameter("IVRControlPanel_006_undoc10", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc11, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc11)(uint32_t a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc11(1); - check_ptr_parameter("IVRControlPanel_006_undoc11", this_ptr_value); - check_uint32_parameter("IVRControlPanel_006_undoc11", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc12, 0, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc12)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc12(); - check_ptr_parameter("IVRControlPanel_006_undoc12", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc13, 1, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc13)(TrackedDeviceIndex_t a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc13(1); - check_ptr_parameter("IVRControlPanel_006_undoc13", this_ptr_value); - check_uint32_parameter("IVRControlPanel_006_undoc13", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc14, 1, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc14)(EVRState a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc14(1); - check_ptr_parameter("IVRControlPanel_006_undoc14", this_ptr_value); - check_uint32_parameter("IVRControlPanel_006_undoc14", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc15, 0, FALSE, FALSE); - EVRState (__stdcall *capi_IVRControlPanel_006_undoc15)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc15(); - check_ptr_parameter("IVRControlPanel_006_undoc15", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc16, 1, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc16)(bool a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc16(1); - check_ptr_parameter("IVRControlPanel_006_undoc16", this_ptr_value); - check_bool_parameter("IVRControlPanel_006_undoc16", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc17, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc17)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc17(); - check_ptr_parameter("IVRControlPanel_006_undoc17", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc18, 0, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRControlPanel_006_undoc18)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc18(); - check_ptr_parameter("IVRControlPanel_006_undoc18", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc19, 1, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc19)(bool a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc19(1); - check_ptr_parameter("IVRControlPanel_006_undoc19", this_ptr_value); - check_bool_parameter("IVRControlPanel_006_undoc19", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc20, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc20)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc20(); - check_ptr_parameter("IVRControlPanel_006_undoc20", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc21, 0, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRControlPanel_006_undoc21)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc21(); - check_ptr_parameter("IVRControlPanel_006_undoc21", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc22, 5, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc22)(WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc22(1, (void *)2, 3, 4, (void *)5); - check_ptr_parameter("IVRControlPanel_006_undoc22", this_ptr_value); - check_uint64_parameter("IVRControlPanel_006_undoc22", 1); - check_ptr_parameter("IVRControlPanel_006_undoc22", (void *)2); - check_uint32_parameter("IVRControlPanel_006_undoc22", 3); - check_uint32_parameter("IVRControlPanel_006_undoc22", 4); - check_ptr_parameter("IVRControlPanel_006_undoc22", (void *)5); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc23, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc23)(const char * a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc23((void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc23", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc23", (void *)1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc24, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc24)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc24(); - check_ptr_parameter("IVRControlPanel_006_undoc24", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc25, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRControlPanel_006_undoc25)(bool a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc25(1); - check_ptr_parameter("IVRControlPanel_006_undoc25", this_ptr_value); - check_bool_parameter("IVRControlPanel_006_undoc25", 1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc26, 0, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRControlPanel_006_undoc26)() = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc26(); - check_ptr_parameter("IVRControlPanel_006_undoc26", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc27, 1, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRControlPanel_006_undoc27)(const char * a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc27((void *)1); - check_ptr_parameter("IVRControlPanel_006_undoc27", this_ptr_value); - check_ptr_parameter("IVRControlPanel_006_undoc27", (void *)1); - - init_thunk(t, this_ptr_value, IVRControlPanel_006_undoc28, 1, FALSE, FALSE); - void (__stdcall *capi_IVRControlPanel_006_undoc28)(VROverlayHandle_t a) = (void *)t; - - clear_parameters(); - capi_IVRControlPanel_006_undoc28(1); - check_ptr_parameter("IVRControlPanel_006_undoc28", this_ptr_value); - check_uint64_parameter("IVRControlPanel_006_undoc28", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRMailbox_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc1, 2, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc1)(const char * a, vrmb_typea * b) = (void *)t; - - clear_parameters(); - capi_IVRMailbox_001_undoc1((void *)1, (void *)2); - check_ptr_parameter("IVRMailbox_001_undoc1", this_ptr_value); - check_ptr_parameter("IVRMailbox_001_undoc1", (void *)1); - check_ptr_parameter("IVRMailbox_001_undoc1", (void *)2); - - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc2, 1, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc2)(vrmb_typea a) = (void *)t; - - clear_parameters(); - capi_IVRMailbox_001_undoc2(1); - check_ptr_parameter("IVRMailbox_001_undoc2", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc2", 1); - - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc3, 3, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc3)(vrmb_typea a, const char * b, const char * c) = (void *)t; - - clear_parameters(); - capi_IVRMailbox_001_undoc3(1, (void *)2, (void *)3); - check_ptr_parameter("IVRMailbox_001_undoc3", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc3", 1); - check_ptr_parameter("IVRMailbox_001_undoc3", (void *)2); - check_ptr_parameter("IVRMailbox_001_undoc3", (void *)3); - - init_thunk(t, this_ptr_value, IVRMailbox_001_undoc4, 4, FALSE, FALSE); - vrmb_typeb (__stdcall *capi_IVRMailbox_001_undoc4)(vrmb_typea a, char * b, uint32_t c, uint32_t * d) = (void *)t; - - clear_parameters(); - capi_IVRMailbox_001_undoc4(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRMailbox_001_undoc4", this_ptr_value); - check_uint64_parameter("IVRMailbox_001_undoc4", 1); - check_ptr_parameter("IVRMailbox_001_undoc4", (void *)2); - check_uint32_parameter("IVRMailbox_001_undoc4", 3); - check_ptr_parameter("IVRMailbox_001_undoc4", (void *)4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_024(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_024_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_024_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_024_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_024_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_024_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_024_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_024_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_Submit", 1); - check_ptr_parameter("IVRCompositor_024_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_024_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_024_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_024_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_024_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_024_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_024_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_024_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_024_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_024_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_024_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_024_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_024_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_024_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_024_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_024_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_024_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_024_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_024_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_024_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_024_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_024_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_024_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_024_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorQuit(); - check_ptr_parameter("IVRCompositor_024_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsFullscreen(); - check_ptr_parameter("IVRCompositor_024_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_024_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_024_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CanRenderScene(); - check_ptr_parameter("IVRCompositor_024_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_024_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_024_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_024_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_024_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_024_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_024_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_024_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_024_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_024_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_024_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_024_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_024_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_024_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_024_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_024_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_024_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_024_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_024_IsCurrentSceneFocusAppLoading", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_024_SetStageOverride_Async)(const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_SetStageOverride_Async((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", this_ptr_value); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)1); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)2); - check_ptr_parameter("IVRCompositor_024_SetStageOverride_Async", (void *)3); - check_uint32_parameter("IVRCompositor_024_SetStageOverride_Async", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_024_ClearStageOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_024_ClearStageOverride(); - check_ptr_parameter("IVRCompositor_024_ClearStageOverride", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_022(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_022_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_022_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_022_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_022_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_022_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_022_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_022_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_022_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_022_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayColor", 1); - check_float_parameter("IVROverlay_022_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_022_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_022_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_022_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_022_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_022_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_022_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_022_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_022_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_022_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_022_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTransformCursor)(VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTransformCursor)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTransformCursor(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTransformCursor", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTransformCursor", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ShowOverlay(1); - check_ptr_parameter("IVROverlay_022_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_HideOverlay(1); - check_ptr_parameter("IVROverlay_022_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_022_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_022_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_022_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_022_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_022_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_022_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_022_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_022_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_022_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_022_TriggerLaserMouseHapticVibration)(VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_TriggerLaserMouseHapticVibration(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", this_ptr_value); - check_uint64_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 1); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 2.0f); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 3.0f); - check_float_parameter("IVROverlay_022_TriggerLaserMouseHapticVibration", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursor)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayCursor(1, 2); - check_ptr_parameter("IVROverlay_022_SetOverlayCursor", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 1); - check_uint64_parameter("IVROverlay_022_SetOverlayCursor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayCursorPositionOverride(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayCursorPositionOverride", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayCursorPositionOverride)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ClearOverlayCursorPositionOverride(1); - check_ptr_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ClearOverlayCursorPositionOverride", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_022_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_022_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_022_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_022_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_022_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_022_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_022_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_022_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_022_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_022_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_022_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_022_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_022_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_022_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_022_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_022_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_022_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_022_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_022_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_022_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_022_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_022_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_022_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_022_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_022_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_022_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_022_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_022_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_022_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_022_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_HideKeyboard(); - check_ptr_parameter("IVROverlay_022_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_022_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_022_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_022_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_022_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_022_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_022_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_022_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_007(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_007_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_007_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_007_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_007_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_007_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_007_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_007_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_007_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_007_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_007_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_007_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_007_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_007_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_007_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_007_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_007_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_007_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_007_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_007_UpdateActionState", 2); - check_uint32_parameter("IVRInput_007_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_007_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_007_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_007_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_007_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_007_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_007_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_007_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_007_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_007_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", 1); - check_uint32_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", 2); - check_float_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", 3.0f); - check_ptr_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", (void *)4); - check_uint32_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", 5); - check_uint64_parameter("IVRInput_007_GetPoseActionDataRelativeToNow", 6); - - init_thunk(t, this_ptr_value, IVRInput_007_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); - check_ptr_parameter("IVRInput_007_GetPoseActionDataForNextFrame", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetPoseActionDataForNextFrame", 1); - check_uint32_parameter("IVRInput_007_GetPoseActionDataForNextFrame", 2); - check_ptr_parameter("IVRInput_007_GetPoseActionDataForNextFrame", (void *)3); - check_uint32_parameter("IVRInput_007_GetPoseActionDataForNextFrame", 4); - check_uint64_parameter("IVRInput_007_GetPoseActionDataForNextFrame", 5); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_007_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_007_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_007_GetSkeletalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_007_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_007_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetBoneCount", 1); - check_ptr_parameter("IVRInput_007_GetBoneCount", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_007_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_007_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_007_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_007_GetBoneHierarchy", 3); - - init_thunk(t, this_ptr_value, IVRInput_007_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_007_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetBoneName", 1); - check_uint32_parameter("IVRInput_007_GetBoneName", 2); - check_ptr_parameter("IVRInput_007_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_007_GetBoneName", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_007_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_007_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_007_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_007_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_007_GetSkeletalReferenceTransforms", 5); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_007_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_007_GetSkeletalTrackingLevel", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_007_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_007_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_007_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_007_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_007_GetSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalSummaryData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalSummaryData(1, 2, (void *)3); - check_ptr_parameter("IVRInput_007_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalSummaryData", 1); - check_uint32_parameter("IVRInput_007_GetSkeletalSummaryData", 2); - check_ptr_parameter("IVRInput_007_GetSkeletalSummaryData", (void *)3); - - init_thunk(t, this_ptr_value, IVRInput_007_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_007_GetSkeletalBoneDataCompressed", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_007_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_007_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_007_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_007_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_007_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_007_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_007_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_007_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_007_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_007_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_007_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_007_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_007_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_007_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_007_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_007_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_007_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_007_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_007_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_007_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_007_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_007_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_007_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_007_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_007_GetOriginLocalizedName", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_007_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_007_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_007_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_007_GetActionBindingInfo, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_GetActionBindingInfo)(VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_GetActionBindingInfo(1, (void *)2, 3, 4, (void *)5); - check_ptr_parameter("IVRInput_007_GetActionBindingInfo", this_ptr_value); - check_uint64_parameter("IVRInput_007_GetActionBindingInfo", 1); - check_ptr_parameter("IVRInput_007_GetActionBindingInfo", (void *)2); - check_uint32_parameter("IVRInput_007_GetActionBindingInfo", 3); - check_uint32_parameter("IVRInput_007_GetActionBindingInfo", 4); - check_ptr_parameter("IVRInput_007_GetActionBindingInfo", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_007_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_007_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_007_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_007_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_007_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_007_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_007_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_007_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_007_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_007_ShowBindingsForActionSet", 4); - - init_thunk(t, this_ptr_value, IVRInput_007_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_007_IsUsingLegacyInput)() = (void *)t; - - clear_parameters(); - capi_IVRInput_007_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_007_IsUsingLegacyInput", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_007_OpenBindingUI)(const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRInput_007_OpenBindingUI((void *)1, 2, 3, 1); - check_ptr_parameter("IVRInput_007_OpenBindingUI", this_ptr_value); - check_ptr_parameter("IVRInput_007_OpenBindingUI", (void *)1); - check_uint64_parameter("IVRInput_007_OpenBindingUI", 2); - check_uint64_parameter("IVRInput_007_OpenBindingUI", 3); - check_bool_parameter("IVRInput_007_OpenBindingUI", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSettings_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSettings_002_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSettings_002_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_GetSettingsErrorNameFromEnum(1); - check_ptr_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSettings_002_GetSettingsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSettings_002_Sync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_002_Sync)(bool bForce, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_Sync(1, (void *)2); - check_ptr_parameter("IVRSettings_002_Sync", this_ptr_value); - check_bool_parameter("IVRSettings_002_Sync", 1); - check_ptr_parameter("IVRSettings_002_Sync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSettings_002_SetBool, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_SetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_002_SetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)1); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)2); - check_bool_parameter("IVRSettings_002_SetBool", 1); - check_ptr_parameter("IVRSettings_002_SetBool", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_002_SetInt32, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_SetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_002_SetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)1); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)2); - check_uint32_parameter("IVRSettings_002_SetInt32", 3); - check_ptr_parameter("IVRSettings_002_SetInt32", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_002_SetFloat, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_002_SetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)1); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)2); - check_float_parameter("IVRSettings_002_SetFloat", 3.0f); - check_ptr_parameter("IVRSettings_002_SetFloat", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_002_SetString, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_SetString((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSettings_002_SetString", this_ptr_value); - check_ptr_parameter("IVRSettings_002_SetString", (void *)1); - check_ptr_parameter("IVRSettings_002_SetString", (void *)2); - check_ptr_parameter("IVRSettings_002_SetString", (void *)3); - check_ptr_parameter("IVRSettings_002_SetString", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_002_GetBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_002_GetBool)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_GetBool((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)1); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)2); - check_ptr_parameter("IVRSettings_002_GetBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_002_GetInt32, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSettings_002_GetInt32)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_GetInt32((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)1); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)2); - check_ptr_parameter("IVRSettings_002_GetInt32", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_002_GetFloat, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSettings_002_GetFloat)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_GetFloat((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_GetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)1); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)2); - check_ptr_parameter("IVRSettings_002_GetFloat", (void *)3); - - init_thunk(t, this_ptr_value, IVRSettings_002_GetString, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSettings_002_GetString", this_ptr_value); - check_ptr_parameter("IVRSettings_002_GetString", (void *)1); - check_ptr_parameter("IVRSettings_002_GetString", (void *)2); - check_ptr_parameter("IVRSettings_002_GetString", (void *)3); - check_uint32_parameter("IVRSettings_002_GetString", 4); - check_ptr_parameter("IVRSettings_002_GetString", (void *)5); - - init_thunk(t, this_ptr_value, IVRSettings_002_RemoveSection, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_RemoveSection((void *)1, (void *)2); - check_ptr_parameter("IVRSettings_002_RemoveSection", this_ptr_value); - check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)1); - check_ptr_parameter("IVRSettings_002_RemoveSection", (void *)2); - - init_thunk(t, this_ptr_value, IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_002_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_002_RemoveKeyInSection((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", this_ptr_value); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)1); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)2); - check_ptr_parameter("IVRSettings_002_RemoveKeyInSection", (void *)3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_022(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_022_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_022_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_022_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_022_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_022_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_022_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_022_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_022_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_Submit", 1); - check_ptr_parameter("IVRCompositor_022_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_022_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_022_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_022_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_022_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_022_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_022_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_022_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_022_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_022_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_022_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_022_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_022_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_022_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_022_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_022_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_022_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_022_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_022_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_022_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_022_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_022_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_022_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_022_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorQuit(); - check_ptr_parameter("IVRCompositor_022_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsFullscreen(); - check_ptr_parameter("IVRCompositor_022_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_022_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_022_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CanRenderScene(); - check_ptr_parameter("IVRCompositor_022_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_022_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_022_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_022_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_022_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_022_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_022_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_022_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_022_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_022_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_022_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_022_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_022_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_022_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_022_SetExplicitTimingMode)(EVRCompositorTimingMode eTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_022_SetExplicitTimingMode", this_ptr_value); - check_uint32_parameter("IVRCompositor_022_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_022_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_022_SubmitExplicitTimingData", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingEnabled)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMotionSmoothingEnabled(); - check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingEnabled", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsMotionSmoothingSupported)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsMotionSmoothingSupported(); - check_ptr_parameter("IVRCompositor_022_IsMotionSmoothingSupported", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_022_IsCurrentSceneFocusAppLoading(); - check_ptr_parameter("IVRCompositor_022_IsCurrentSceneFocusAppLoading", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_021(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_021_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_021_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_021_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_021_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_021_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_021_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_021_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_021_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_021_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayColor", 1); - check_float_parameter("IVROverlay_021_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_021_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_021_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_021_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_021_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_021_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_021_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_021_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float fCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayCurvature(1, 2.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayCurvature", 1); - check_float_parameter("IVROverlay_021_SetOverlayCurvature", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayCurvature)(VROverlayHandle_t ulOverlayHandle, float * pfCurvature) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayCurvature(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayCurvature", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayCurvature", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_021_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_021_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowOverlay(1); - check_ptr_parameter("IVROverlay_021_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_HideOverlay(1); - check_ptr_parameter("IVROverlay_021_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_021_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_021_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_021_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_021_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_021_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_021_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_021_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_021_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_021_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_021_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_021_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_021_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_021_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_021_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_021_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_021_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_021_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_021_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_021_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_021_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_021_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_021_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_021_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_021_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_021_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_021_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_021_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_021_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_021_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_021_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_021_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_021_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_021_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_021_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_021_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_021_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_HideKeyboard(); - check_ptr_parameter("IVROverlay_021_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_021_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_021_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_021_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_021_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_021_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_021_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_021_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_021_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_021_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_021_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_021_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_021_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_021_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_021_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_020(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_020_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_020_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_020_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_020_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_020_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_020_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_020_ComputeDistortion", 1); - check_float_parameter("IVRSystem_020_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_020_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_020_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_020_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_020_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_020_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_020_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_020_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_020_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_020_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_020_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_020_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_020_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_020_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_020_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_020_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_020_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_020_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_020_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_020_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_020_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_020_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_020_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_020_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_020_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_020_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_020_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_020_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_020_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_020_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_020_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_020_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_020_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_020_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerState", 1); - check_ptr_parameter("IVRSystem_020_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_020_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_020_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_020_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_020_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_020_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_020_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_020_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsInputAvailable(); - check_ptr_parameter("IVRSystem_020_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_020_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_020_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_020_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_020_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_020_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_020_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_020_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_020_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_020_AcknowledgeQuit_UserPrompt", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetAppContainerFilePaths, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_020_GetAppContainerFilePaths)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetAppContainerFilePaths((void *)1, 2); - check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", this_ptr_value); - check_ptr_parameter("IVRSystem_020_GetAppContainerFilePaths", (void *)1); - check_uint32_parameter("IVRSystem_020_GetAppContainerFilePaths", 2); - - init_thunk(t, this_ptr_value, IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_020_GetRuntimeVersion)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_020_GetRuntimeVersion(); - check_ptr_parameter("IVRSystem_020_GetRuntimeVersion", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_006_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_006_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_006_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_006_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_006_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_006_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationCount(); - check_ptr_parameter("IVRApplications_006_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_006_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchTemplateApplication, 4, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchTemplateApplication", (void *)3); - check_uint32_parameter("IVRApplications_006_LaunchTemplateApplication", 4); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchApplicationFromMimeType)(const char * pchMimeType, const char * pchArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchApplicationFromMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchApplicationFromMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_CancelApplicationLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_006_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_006_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_006_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_006_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_006_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_006_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_006_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_006_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_SetDefaultApplicationForMimeType)(const char * pchAppKey, const char * pchMimeType) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_SetDefaultApplicationForMimeType((void *)1, (void *)2); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_SetDefaultApplicationForMimeType", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetDefaultApplicationForMimeType)(const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetDefaultApplicationForMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", (void *)2); - check_uint32_parameter("IVRApplications_006_GetDefaultApplicationForMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_GetApplicationSupportedMimeTypes)(const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationSupportedMimeTypes((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationSupportedMimeTypes", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationsThatSupportMimeType)(const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsThatSupportMimeType((void *)1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)1); - check_ptr_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationsThatSupportMimeType", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationLaunchArguments, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetApplicationLaunchArguments)(uint32_t unHandle, char * pchArgs, uint32_t unArgs) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationLaunchArguments(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 1); - check_ptr_parameter("IVRApplications_006_GetApplicationLaunchArguments", (void *)2); - check_uint32_parameter("IVRApplications_006_GetApplicationLaunchArguments", 3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_006_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_006_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_006_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_006_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetTransitionState(); - check_ptr_parameter("IVRApplications_006_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_006_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_006_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_006_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_006_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_006_IsQuitUserPromptRequested", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_006_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_006_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_006_LaunchInternalProcess", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_006_GetCurrentSceneProcessId)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_006_GetCurrentSceneProcessId(); - check_ptr_parameter("IVRApplications_006_GetCurrentSceneProcessId", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_020(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_020_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_020_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_020_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_020_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_020_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_020_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_020_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_020_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_020_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayColor", 1); - check_float_parameter("IVROverlay_020_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_020_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_020_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_020_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_020_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_020_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_020_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_020_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_020_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_020_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowOverlay(1); - check_ptr_parameter("IVROverlay_020_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_HideOverlay(1); - check_ptr_parameter("IVROverlay_020_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_020_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_020_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_020_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_020_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_020_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_020_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_020_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_020_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_020_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_020_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_020_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_020_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_020_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_020_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_020_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_020_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_020_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_020_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_020_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_020_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_020_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_020_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_020_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_020_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_020_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_020_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_020_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_020_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_020_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_020_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_020_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_020_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_020_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_020_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_020_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_020_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_020_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_020_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_020_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_020_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_020_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_020_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_020_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_HideKeyboard(); - check_ptr_parameter("IVROverlay_020_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_020_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_020_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_020_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_020_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_020_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_020_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_020_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_020_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_020_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_020_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_020_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_020_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_020_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_020_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_019(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_019_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_019_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_019_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_019_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_019_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_019_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_019_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_019_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_019_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_019_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_019_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayColor", 1); - check_float_parameter("IVROverlay_019_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_019_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_019_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_019_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_019_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_019_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_019_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_019_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_019_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_019_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowOverlay(1); - check_ptr_parameter("IVROverlay_019_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_HideOverlay(1); - check_ptr_parameter("IVROverlay_019_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_019_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_019_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_019_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_019_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_019_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_019_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_019_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_019_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_019_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_019_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_019_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_019_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_019_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_019_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_019_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_019_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_019_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_019_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_019_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_019_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_019_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_019_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_019_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_019_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_019_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_019_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_019_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_019_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_019_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_019_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_019_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_019_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_019_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_019_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_019_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_019_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_019_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_019_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_019_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_019_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_019_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_019_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_019_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_HideKeyboard(); - check_ptr_parameter("IVROverlay_019_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_019_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_019_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_019_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_019_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_019_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_019_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_019_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_019_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_019_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_019_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_019_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_019_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_019_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_019_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_005_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_005_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraIntrinsics(1, 2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 2); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", 3); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraIntrinsics", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetCameraProjection(1, 2, 3, 4.0f, 5.0f, (void *)6); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 2); - check_uint32_parameter("IVRTrackedCamera_005_GetCameraProjection", 3); - check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 4.0f); - check_float_parameter("IVRTrackedCamera_005_GetCameraProjection", 5.0f); - check_ptr_parameter("IVRTrackedCamera_005_GetCameraProjection", (void *)6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_005_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamFrameBuffer", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureD3D11", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_005_GetVideoStreamTextureGL", 5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_005_ReleaseVideoStreamTextureGL", 2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_019(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_019_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_019_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_019_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_019_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_019_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_019_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_019_ComputeDistortion", 1); - check_float_parameter("IVRSystem_019_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_019_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_019_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_019_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_019_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_019_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_019_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_019_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_019_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_019_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_019_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_019_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_019_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_019_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_019_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_019_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_019_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_019_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_019_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_019_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_019_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_019_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_019_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetArrayTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetArrayTrackedDeviceProperty(1, 2, 3, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 2); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 3); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)4); - check_uint32_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", 5); - check_ptr_parameter("IVRSystem_019_GetArrayTrackedDeviceProperty", (void *)6); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_019_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_019_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_019_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_019_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_019_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_019_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_019_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_019_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_019_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_019_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerState", 1); - check_ptr_parameter("IVRSystem_019_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_019_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_019_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_019_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_019_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_019_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_019_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsInputAvailable)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_IsInputAvailable(); - check_ptr_parameter("IVRSystem_019_IsInputAvailable", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_IsSteamVRDrawingControllers)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_IsSteamVRDrawingControllers(); - check_ptr_parameter("IVRSystem_019_IsSteamVRDrawingControllers", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ShouldApplicationPause)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_ShouldApplicationPause(); - check_ptr_parameter("IVRSystem_019_ShouldApplicationPause", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_019_ShouldApplicationReduceRenderingWork)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_ShouldApplicationReduceRenderingWork(); - check_ptr_parameter("IVRSystem_019_ShouldApplicationReduceRenderingWork", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_019_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_019_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_019_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_019_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_019_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_019_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_019_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_019_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_019_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_006_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_006_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_006_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_006_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_006_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_006_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_006_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_006_UpdateActionState", 2); - check_uint32_parameter("IVRInput_006_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_006_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_006_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_006_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_006_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataRelativeToNow)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetPoseActionDataRelativeToNow(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 1); - check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 2); - check_float_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 3.0f); - check_ptr_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", (void *)4); - check_uint32_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 5); - check_uint64_parameter("IVRInput_006_GetPoseActionDataRelativeToNow", 6); - - init_thunk(t, this_ptr_value, IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetPoseActionDataForNextFrame)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetPoseActionDataForNextFrame(1, 2, (void *)3, 4, 5); - check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 1); - check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 2); - check_ptr_parameter("IVRInput_006_GetPoseActionDataForNextFrame", (void *)3); - check_uint32_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 4); - check_uint64_parameter("IVRInput_006_GetPoseActionDataForNextFrame", 5); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_006_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_006_GetSkeletalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_006_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneCount", 1); - check_ptr_parameter("IVRInput_006_GetBoneCount", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_006_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_006_GetBoneHierarchy", 3); - - init_thunk(t, this_ptr_value, IVRInput_006_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_006_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetBoneName", 1); - check_uint32_parameter("IVRInput_006_GetBoneName", 2); - check_ptr_parameter("IVRInput_006_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_006_GetBoneName", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_006_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_006_GetSkeletalReferenceTransforms", 5); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_006_GetSkeletalTrackingLevel", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalSummaryData)(VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalSummaryData(1, 2, (void *)3); - check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalSummaryData", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalSummaryData", 2); - check_ptr_parameter("IVRInput_006_GetSkeletalSummaryData", (void *)3); - - init_thunk(t, this_ptr_value, IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_006_GetSkeletalBoneDataCompressed", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_006_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_006_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_006_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_006_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_006_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_006_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_006_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_006_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_006_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_006_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_006_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_006_GetOriginLocalizedName", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_006_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_006_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_006_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_006_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_006_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_006_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_006_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_006_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_006_ShowBindingsForActionSet", 4); - - init_thunk(t, this_ptr_value, IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_006_IsUsingLegacyInput)() = (void *)t; - - clear_parameters(); - capi_IVRInput_006_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_006_IsUsingLegacyInput", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_005_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_005_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_005_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_005_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_005_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_005_UpdateActionState", 2); - check_uint32_parameter("IVRInput_005_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_005_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_005_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_005_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_005_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_005_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_005_GetPoseActionData", 2); - check_float_parameter("IVRInput_005_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_005_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_005_GetPoseActionData", 5); - check_uint64_parameter("IVRInput_005_GetPoseActionData", 6); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_005_GetSkeletalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneCount, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneCount)(VRActionHandle_t action, uint32_t * pBoneCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetBoneCount(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetBoneCount", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneCount", 1); - check_ptr_parameter("IVRInput_005_GetBoneCount", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneHierarchy)(VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetBoneHierarchy(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetBoneHierarchy", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneHierarchy", 1); - check_ptr_parameter("IVRInput_005_GetBoneHierarchy", (void *)2); - check_uint32_parameter("IVRInput_005_GetBoneHierarchy", 3); - - init_thunk(t, this_ptr_value, IVRInput_005_GetBoneName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetBoneName)(VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetBoneName(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_005_GetBoneName", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetBoneName", 1); - check_uint32_parameter("IVRInput_005_GetBoneName", 2); - check_ptr_parameter("IVRInput_005_GetBoneName", (void *)3); - check_uint32_parameter("IVRInput_005_GetBoneName", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalReferenceTransforms)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalReferenceTransforms(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 2); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 3); - check_ptr_parameter("IVRInput_005_GetSkeletalReferenceTransforms", (void *)4); - check_uint32_parameter("IVRInput_005_GetSkeletalReferenceTransforms", 5); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalTrackingLevel)(VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalTrackingLevel(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalTrackingLevel", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalTrackingLevel", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalBoneData(1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalSummaryData)(VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalSummaryData(1, (void *)2); - check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalSummaryData", 1); - check_ptr_parameter("IVRInput_005_GetSkeletalSummaryData", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetSkeletalBoneDataCompressed(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 2); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)3); - check_uint32_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", 4); - check_ptr_parameter("IVRInput_005_GetSkeletalBoneDataCompressed", (void *)5); - - init_thunk(t, this_ptr_value, IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_DecompressSkeletalBoneData)(const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_DecompressSkeletalBoneData((void *)1, 2, 3, (void *)4, 5); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_005_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_005_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_005_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_005_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_005_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_005_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_005_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_005_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_005_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_005_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetOriginLocalizedName(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_005_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 3); - check_uint32_parameter("IVRInput_005_GetOriginLocalizedName", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_005_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_005_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_005_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_005_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_005_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_005_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_005_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_005_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_005_ShowBindingsForActionSet", 4); - - init_thunk(t, this_ptr_value, IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRInput_005_IsUsingLegacyInput)() = (void *)t; - - clear_parameters(); - capi_IVRInput_005_IsUsingLegacyInput(); - check_ptr_parameter("IVRInput_005_IsUsingLegacyInput", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRIOBuffer_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Open, 5, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Open)(const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_001_Open((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRIOBuffer_001_Open", this_ptr_value); - check_ptr_parameter("IVRIOBuffer_001_Open", (void *)1); - check_uint32_parameter("IVRIOBuffer_001_Open", 2); - check_uint32_parameter("IVRIOBuffer_001_Open", 3); - check_uint32_parameter("IVRIOBuffer_001_Open", 4); - check_ptr_parameter("IVRIOBuffer_001_Open", (void *)5); - - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Close, 1, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Close)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_001_Close(1); - check_ptr_parameter("IVRIOBuffer_001_Close", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Close", 1); - - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Read, 4, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Read)(IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_001_Read(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRIOBuffer_001_Read", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Read", 1); - check_ptr_parameter("IVRIOBuffer_001_Read", (void *)2); - check_uint32_parameter("IVRIOBuffer_001_Read", 3); - check_ptr_parameter("IVRIOBuffer_001_Read", (void *)4); - - init_thunk(t, this_ptr_value, IVRIOBuffer_001_Write, 3, FALSE, FALSE); - EIOBufferError (__stdcall *capi_IVRIOBuffer_001_Write)(IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_001_Write(1, (void *)2, 3); - check_ptr_parameter("IVRIOBuffer_001_Write", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_Write", 1); - check_ptr_parameter("IVRIOBuffer_001_Write", (void *)2); - check_uint32_parameter("IVRIOBuffer_001_Write", 3); - - init_thunk(t, this_ptr_value, IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); - PropertyContainerHandle_t (__stdcall *capi_IVRIOBuffer_001_PropertyContainer)(IOBufferHandle_t ulBuffer) = (void *)t; - - clear_parameters(); - capi_IVRIOBuffer_001_PropertyContainer(1); - check_ptr_parameter("IVRIOBuffer_001_PropertyContainer", this_ptr_value); - check_uint64_parameter("IVRIOBuffer_001_PropertyContainer", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperoneSetup_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_CommitWorkingCopy, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_CommitWorkingCopy(1); - check_ptr_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_005_CommitWorkingCopy", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_RevertWorkingCopy, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_RevertWorkingCopy)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_RevertWorkingCopy(); - check_ptr_parameter("IVRChaperoneSetup_005_RevertWorkingCopy", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(1.0f, 2.0f); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", this_ptr_value); - check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 1.0f); - check_float_parameter("IVRChaperoneSetup_005_SetWorkingPlayAreaSize", 2.0f); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ReloadFromDisk, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_ReloadFromDisk(1); - check_ptr_parameter("IVRChaperoneSetup_005_ReloadFromDisk", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_005_ReloadFromDisk", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ExportLiveToBuffer, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_ExportLiveToBuffer)(char * pBuffer, uint32_t * pnBufferLength) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_ExportLiveToBuffer((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_005_ExportLiveToBuffer", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_005_ImportFromBufferToWorking)(const char * pBuffer, uint32_t nImportFlags) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_005_ImportFromBufferToWorking((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_005_ImportFromBufferToWorking", 2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_018(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_018_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_018_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_018_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_018_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_018_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_018_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_018_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_018_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_018_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_018_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_018_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayColor", 1); - check_float_parameter("IVROverlay_018_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_018_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_018_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_018_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_018_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_018_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_018_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_018_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_018_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_018_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowOverlay(1); - check_ptr_parameter("IVROverlay_018_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_HideOverlay(1); - check_ptr_parameter("IVROverlay_018_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_018_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_018_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_018_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_018_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_018_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_018_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_018_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_018_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_018_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_018_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_018_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_018_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_018_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_018_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_018_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_018_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_018_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_018_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_018_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_018_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_018_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_018_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_018_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_018_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_018_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_018_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_018_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_018_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_018_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_018_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_018_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_018_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_018_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_018_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_018_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_018_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_018_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_018_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_018_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_018_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_018_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_018_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_018_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_HideKeyboard(); - check_ptr_parameter("IVROverlay_018_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_018_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_018_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_018_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_018_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_018_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_018_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_018_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_018_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_018_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_018_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_018_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_018_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_018_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_018_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_004_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_004_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraIntrinsics", (void *)4); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_004_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_004_GetCameraProjection", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_004_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamFrameBuffer", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureD3D11", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_004_GetVideoStreamTextureGL", 5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_004_ReleaseVideoStreamTextureGL", 2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_004_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_004_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_004_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_004_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_004_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_004_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_004_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_004_UpdateActionState", 2); - check_uint32_parameter("IVRInput_004_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetDigitalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_004_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetDigitalActionData", 3); - check_uint64_parameter("IVRInput_004_GetDigitalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetAnalogActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_004_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetAnalogActionData", 3); - check_uint64_parameter("IVRInput_004_GetAnalogActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetPoseActionData(1, 2, 3.0f, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_004_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_004_GetPoseActionData", 2); - check_float_parameter("IVRInput_004_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_004_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_004_GetPoseActionData", 5); - check_uint64_parameter("IVRInput_004_GetPoseActionData", 6); - - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalActionData)(VRActionHandle_t action, InputSkeletalActionData_t * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetSkeletalActionData(1, (void *)2, 3, 4); - check_ptr_parameter("IVRInput_004_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 1); - check_ptr_parameter("IVRInput_004_GetSkeletalActionData", (void *)2); - check_uint32_parameter("IVRInput_004_GetSkeletalActionData", 3); - check_uint64_parameter("IVRInput_004_GetSkeletalActionData", 4); - - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneData)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetSkeletalBoneData(1, 2, 3, (void *)4, 5, 6); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 1); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 2); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 3); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneData", 5); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneData", 6); - - init_thunk(t, this_ptr_value, IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetSkeletalBoneDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetSkeletalBoneDataCompressed(1, 2, 3, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 1); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 2); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 3); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)4); - check_uint32_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 5); - check_ptr_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", (void *)6); - check_uint64_parameter("IVRInput_004_GetSkeletalBoneDataCompressed", 7); - - init_thunk(t, this_ptr_value, IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_DecompressSkeletalBoneData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_DecompressSkeletalBoneData((void *)1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", this_ptr_value); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)1); - check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 2); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)3); - check_ptr_parameter("IVRInput_004_DecompressSkeletalBoneData", (void *)4); - check_uint32_parameter("IVRInput_004_DecompressSkeletalBoneData", 5); - - init_thunk(t, this_ptr_value, IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_004_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f, 6); - check_ptr_parameter("IVRInput_004_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_004_TriggerHapticVibrationAction", 5.0f); - check_uint64_parameter("IVRInput_004_TriggerHapticVibrationAction", 6); - - init_thunk(t, this_ptr_value, IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_004_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_004_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_004_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_004_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetOriginLocalizedName(1, (void *)2, 3); - check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_004_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_004_GetOriginLocalizedName", 3); - - init_thunk(t, this_ptr_value, IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_004_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_004_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_004_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_004_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_004_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_004_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_004_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_004_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_004_ShowBindingsForActionSet", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_003_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_003_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraIntrinsics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraIntrinsics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraIntrinsics", (void *)4); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_003_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_003_GetCameraProjection", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_003_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamFrameBuffer", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(1, 2, (void *)3, (void *)4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)4); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", (void *)5); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureD3D11", 6); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_GetVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_GetVideoStreamTextureGL(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 2); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)3); - check_ptr_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", (void *)4); - check_uint32_parameter("IVRTrackedCamera_003_GetVideoStreamTextureGL", 5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL)(TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(1, 2); - check_ptr_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", this_ptr_value); - check_uint64_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 1); - check_uint32_parameter("IVRTrackedCamera_003_ReleaseVideoStreamTextureGL", 2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_005_LoadRenderModel_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadTexture_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeTexture", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadTextureD3D11_Async", (void *)3); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async)(TextureID_t textureId, void * pDstTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_LoadIntoTextureD3D11_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_005_LoadIntoTextureD3D11_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_005_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_FreeTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentCount)(const char * pchRenderModelName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentCount", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_005_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_005_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_005_GetComponentName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_005_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentButtonMask", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_005_GetComponentRenderModelName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_005_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetComponentState", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_005_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_005_RenderModelHasComponent", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelThumbnailURL)(const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelThumbnailURL((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelThumbnailURL", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_005_GetRenderModelOriginalPath)(const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelOriginalPath((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", this_ptr_value); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)2); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", 3); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelOriginalPath", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum)(EVRRenderModelError error) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(1); - check_ptr_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRRenderModels_005_GetRenderModelErrorNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRInput_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_SetActionManifestPath)(const char * pchActionManifestPath) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_SetActionManifestPath((void *)1); - check_ptr_parameter("IVRInput_003_SetActionManifestPath", this_ptr_value); - check_ptr_parameter("IVRInput_003_SetActionManifestPath", (void *)1); - - init_thunk(t, this_ptr_value, IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionSetHandle)(const char * pchActionSetName, VRActionSetHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetActionSetHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetActionSetHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_003_GetActionHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionHandle)(const char * pchActionName, VRActionHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetActionHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetActionHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetActionHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetInputSourceHandle)(const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetInputSourceHandle((void *)1, (void *)2); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", this_ptr_value); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)1); - check_ptr_parameter("IVRInput_003_GetInputSourceHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVRInput_003_UpdateActionState, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_UpdateActionState)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_UpdateActionState((void *)1, 2, 3); - check_ptr_parameter("IVRInput_003_UpdateActionState", this_ptr_value); - check_ptr_parameter("IVRInput_003_UpdateActionState", (void *)1); - check_uint32_parameter("IVRInput_003_UpdateActionState", 2); - check_uint32_parameter("IVRInput_003_UpdateActionState", 3); - - init_thunk(t, this_ptr_value, IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetDigitalActionData)(VRActionHandle_t action, InputDigitalActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetDigitalActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetDigitalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetDigitalActionData", 1); - check_ptr_parameter("IVRInput_003_GetDigitalActionData", (void *)2); - check_uint32_parameter("IVRInput_003_GetDigitalActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetAnalogActionData)(VRActionHandle_t action, InputAnalogActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetAnalogActionData(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetAnalogActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetAnalogActionData", 1); - check_ptr_parameter("IVRInput_003_GetAnalogActionData", (void *)2); - check_uint32_parameter("IVRInput_003_GetAnalogActionData", 3); - - init_thunk(t, this_ptr_value, IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetPoseActionData)(VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, InputPoseActionData_t * pActionData, uint32_t unActionDataSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetPoseActionData(1, 2, 3.0f, (void *)4, 5); - check_ptr_parameter("IVRInput_003_GetPoseActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetPoseActionData", 1); - check_uint32_parameter("IVRInput_003_GetPoseActionData", 2); - check_float_parameter("IVRInput_003_GetPoseActionData", 3.0f); - check_ptr_parameter("IVRInput_003_GetPoseActionData", (void *)4); - check_uint32_parameter("IVRInput_003_GetPoseActionData", 5); - - init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionData)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, InputSkeletonActionData_t * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetSkeletalActionData(1, 2, 3.0f, (void *)4, 5, (void *)6, 7); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetSkeletalActionData", 1); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 2); - check_float_parameter("IVRInput_003_GetSkeletalActionData", 3.0f); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)4); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 5); - check_ptr_parameter("IVRInput_003_GetSkeletalActionData", (void *)6); - check_uint32_parameter("IVRInput_003_GetSkeletalActionData", 7); - - init_thunk(t, this_ptr_value, IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetSkeletalActionDataCompressed)(VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetSkeletalActionDataCompressed(1, 2, 3.0f, (void *)4, 5, (void *)6); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 1); - check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 2); - check_float_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 3.0f); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)4); - check_uint32_parameter("IVRInput_003_GetSkeletalActionDataCompressed", 5); - check_ptr_parameter("IVRInput_003_GetSkeletalActionDataCompressed", (void *)6); - - init_thunk(t, this_ptr_value, IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_UncompressSkeletalActionData)(void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_UncompressSkeletalActionData((void *)1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", this_ptr_value); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)1); - check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 2); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)3); - check_ptr_parameter("IVRInput_003_UncompressSkeletalActionData", (void *)4); - check_uint32_parameter("IVRInput_003_UncompressSkeletalActionData", 5); - - init_thunk(t, this_ptr_value, IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); - EVRInputError (__stdcall *capi_IVRInput_003_TriggerHapticVibrationAction)(VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_TriggerHapticVibrationAction(1, 2.0f, 3.0f, 4.0f, 5.0f); - check_ptr_parameter("IVRInput_003_TriggerHapticVibrationAction", this_ptr_value); - check_uint64_parameter("IVRInput_003_TriggerHapticVibrationAction", 1); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 2.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 3.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 4.0f); - check_float_parameter("IVRInput_003_TriggerHapticVibrationAction", 5.0f); - - init_thunk(t, this_ptr_value, IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetActionOrigins(1, 2, (void *)3, 4); - check_ptr_parameter("IVRInput_003_GetActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetActionOrigins", 1); - check_uint64_parameter("IVRInput_003_GetActionOrigins", 2); - check_ptr_parameter("IVRInput_003_GetActionOrigins", (void *)3); - check_uint32_parameter("IVRInput_003_GetActionOrigins", 4); - - init_thunk(t, this_ptr_value, IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetOriginLocalizedName)(VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetOriginLocalizedName(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetOriginLocalizedName", 1); - check_ptr_parameter("IVRInput_003_GetOriginLocalizedName", (void *)2); - check_uint32_parameter("IVRInput_003_GetOriginLocalizedName", 3); - - init_thunk(t, this_ptr_value, IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_GetOriginTrackedDeviceInfo)(VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_GetOriginTrackedDeviceInfo(1, (void *)2, 3); - check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", this_ptr_value); - check_uint64_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 1); - check_ptr_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", (void *)2); - check_uint32_parameter("IVRInput_003_GetOriginTrackedDeviceInfo", 3); - - init_thunk(t, this_ptr_value, IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_ShowActionOrigins)(VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_ShowActionOrigins(1, 2); - check_ptr_parameter("IVRInput_003_ShowActionOrigins", this_ptr_value); - check_uint64_parameter("IVRInput_003_ShowActionOrigins", 1); - check_uint64_parameter("IVRInput_003_ShowActionOrigins", 2); - - init_thunk(t, this_ptr_value, IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); - EVRInputError (__stdcall *capi_IVRInput_003_ShowBindingsForActionSet)(VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) = (void *)t; - - clear_parameters(); - capi_IVRInput_003_ShowBindingsForActionSet((void *)1, 2, 3, 4); - check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", this_ptr_value); - check_ptr_parameter("IVRInput_003_ShowBindingsForActionSet", (void *)1); - check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 2); - check_uint32_parameter("IVRInput_003_ShowBindingsForActionSet", 3); - check_uint64_parameter("IVRInput_003_ShowBindingsForActionSet", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_017(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_017_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_017_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_017_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_017_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_017_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_017_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_017_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_017_ComputeDistortion", 1); - check_float_parameter("IVRSystem_017_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_017_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_017_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_017_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_017_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_017_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetOutputDevice((void *)1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_017_GetOutputDevice", 2); - check_ptr_parameter("IVRSystem_017_GetOutputDevice", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_017_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_017_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_017_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_017_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_017_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_017_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_017_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_017_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_017_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_017_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_017_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_017_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_017_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_017_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_017_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_017_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_017_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_017_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_017_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_017_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_017_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_017_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_017_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_017_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_017_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerState", 1); - check_ptr_parameter("IVRSystem_017_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_017_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_017_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_017_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_017_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_017_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_017_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_017_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_017_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_017_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_017_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_017_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_017_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_017_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_017_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_017_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_017_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_017_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_017_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_017(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_017_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_017_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_017_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_017_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_017_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_017_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_017_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_017_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_017_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_017_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_017_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_017_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_017_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_017_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_017_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_017_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_017_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_017_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_017_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_017_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_017_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_017_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_017_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_017_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_017_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_017_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_017_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_017_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_017_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_017_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayColor", 1); - check_float_parameter("IVROverlay_017_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_017_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_017_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_017_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_017_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_017_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_017_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_017_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_017_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_017_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_017_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_017_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_017_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_017_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_017_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_017_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_017_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ShowOverlay(1); - check_ptr_parameter("IVROverlay_017_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_HideOverlay(1); - check_ptr_parameter("IVROverlay_017_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_017_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_017_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_017_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_017_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_017_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_017_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_017_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_017_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_017_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_017_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_017_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_017_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_017_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_017_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_017_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_017_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_017_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_017_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_017_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_017_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_017_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_017_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_017_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_017_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_017_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_017_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_017_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_017_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_017_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayDualAnalogTransform(1, 2, (void *)3, 4.0f); - check_ptr_parameter("IVROverlay_017_SetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_017_SetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_017_SetOverlayDualAnalogTransform", (void *)3); - check_float_parameter("IVROverlay_017_SetOverlayDualAnalogTransform", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayDualAnalogTransform)(VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayDualAnalogTransform(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayDualAnalogTransform", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayDualAnalogTransform", 1); - check_uint32_parameter("IVROverlay_017_GetOverlayDualAnalogTransform", 2); - check_ptr_parameter("IVROverlay_017_GetOverlayDualAnalogTransform", (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayDualAnalogTransform", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_017_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_017_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_017_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_017_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_017_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_017_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_017_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_017_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_017_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_017_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_017_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_017_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_017_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_017_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_017_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_017_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_017_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_017_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_017_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_017_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_017_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_017_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_017_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_017_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_017_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_017_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_017_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_017_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_017_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_017_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_017_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_017_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_017_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_017_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_017_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_017_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_017_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_017_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_017_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_017_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_017_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_017_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_017_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_017_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_017_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_017_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_017_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_017_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_017_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_017_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_017_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_017_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_017_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_017_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_HideKeyboard(); - check_ptr_parameter("IVROverlay_017_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_017_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_017_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_017_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_017_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_017_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_017_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_017_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_017_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_017_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_017_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_017_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_017_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_017_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_017_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_017_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_017_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_017_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_017_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_017_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_017_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_017_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_017_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_017_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_017_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_017_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_021(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_021_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_021_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_021_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_021_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_021_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_021_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_021_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_021_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_021_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_Submit", 1); - check_ptr_parameter("IVRCompositor_021_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_021_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_021_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_021_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_021_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_021_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_021_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_021_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_021_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_021_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_021_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_021_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_021_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_021_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_021_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_021_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_021_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_021_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_021_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_021_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_021_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_021_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_021_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_021_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_CompositorQuit(); - check_ptr_parameter("IVRCompositor_021_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_IsFullscreen(); - check_ptr_parameter("IVRCompositor_021_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_021_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_021_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_CanRenderScene(); - check_ptr_parameter("IVRCompositor_021_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_021_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_021_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_021_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_021_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_021_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_021_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_021_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_021_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_021_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_021_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_021_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_021_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_021_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_021_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_021_GetVulkanDeviceExtensionsRequired", 3); - - init_thunk(t, this_ptr_value, IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_021_SetExplicitTimingMode)(bool bExplicitTimingMode) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_SetExplicitTimingMode(1); - check_ptr_parameter("IVRCompositor_021_SetExplicitTimingMode", this_ptr_value); - check_bool_parameter("IVRCompositor_021_SetExplicitTimingMode", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_021_SubmitExplicitTimingData)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_021_SubmitExplicitTimingData(); - check_ptr_parameter("IVRCompositor_021_SubmitExplicitTimingData", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_016(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_016_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_016_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_016_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_016_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_016_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayName)(VROverlayHandle_t ulOverlayHandle, const char * pchName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayName(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayName", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayName", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_016_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_016_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_016_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_016_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_016_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_016_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayColor", 1); - check_float_parameter("IVROverlay_016_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_016_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_016_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_016_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_016_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_016_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_016_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_016_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayRenderModel(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)2); - check_uint32_parameter("IVROverlay_016_GetOverlayRenderModel", 3); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayRenderModel", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRenderModel)(VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayRenderModel(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRenderModel", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayRenderModel", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_016_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTransformOverlayRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTransformOverlayRelative)(VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTransformOverlayRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 1); - check_uint64_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", 2); - check_ptr_parameter("IVROverlay_016_SetOverlayTransformOverlayRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ShowOverlay(1); - check_ptr_parameter("IVROverlay_016_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_HideOverlay(1); - check_ptr_parameter("IVROverlay_016_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_016_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_016_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_016_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_016_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_016_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_016_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_016_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_016_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_016_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_016_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_016_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_016_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_016_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_016_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_016_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_016_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_016_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_016_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_016_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_016_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_016_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_016_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_016_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_016_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_016_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_016_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_016_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_016_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_016_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_016_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_016_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_016_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_016_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_016_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_016_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_016_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_016_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_016_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_016_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_016_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_016_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_016_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_016_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_016_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_HideKeyboard(); - check_ptr_parameter("IVROverlay_016_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_016_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_016_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_016_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_016_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_016_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_016_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_016_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_016_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_016_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_016_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_016_ShowMessageOverlay", (void *)6); - - init_thunk(t, this_ptr_value, IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_016_CloseMessageOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_016_CloseMessageOverlay(); - check_ptr_parameter("IVROverlay_016_CloseMessageOverlay", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_016(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_016_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_016_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_016_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_016_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_016_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_016_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_016_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_016_ComputeDistortion", 1); - check_float_parameter("IVRSystem_016_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_016_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_016_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_016_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_016_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_016_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetOutputDevice)(uint64_t * pnDevice, ETextureType textureType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetOutputDevice((void *)1, 2); - check_ptr_parameter("IVRSystem_016_GetOutputDevice", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetOutputDevice", (void *)1); - check_uint32_parameter("IVRSystem_016_GetOutputDevice", 2); - - init_thunk(t, this_ptr_value, IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_016_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_016_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_016_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_016_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_016_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_016_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_016_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_016_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_016_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_016_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_016_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_016_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_016_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_016_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_016_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_016_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_016_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_016_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_016_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_016_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_016_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_016_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_016_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_016_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_016_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerState", 1); - check_ptr_parameter("IVRSystem_016_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_016_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_016_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_016_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_016_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_016_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_016_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_016_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_016_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_016_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_016_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_016_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_016_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_016_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_016_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_016_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_016_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_016_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_016_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_020(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_020_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_020_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_020_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_020_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_020_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_020_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_020_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_020_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_020_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_Submit", 1); - check_ptr_parameter("IVRCompositor_020_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_020_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_020_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_020_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_020_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_020_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_020_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_020_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_020_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_020_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_020_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_020_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_020_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_020_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_020_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_020_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_020_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_020_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_020_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_020_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_020_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_020_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_020_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_020_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_CompositorQuit(); - check_ptr_parameter("IVRCompositor_020_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_IsFullscreen(); - check_ptr_parameter("IVRCompositor_020_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_020_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_020_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_CanRenderScene(); - check_ptr_parameter("IVRCompositor_020_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_020_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_020_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_020_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_020_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_020_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_020_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_020_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_020_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_020_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_ReleaseMirrorTextureD3D11)(void * pD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ReleaseMirrorTextureD3D11((void *)1); - check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_ReleaseMirrorTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_020_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_020_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_020_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_020_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_020_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_020_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_020_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_020_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_020_GetVulkanDeviceExtensionsRequired", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRClientCore_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRClientCore_002_Init, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_002_Init)(EVRApplicationType eApplicationType) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_Init(1); - check_ptr_parameter("IVRClientCore_002_Init", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_Init", 1); - - init_thunk(t, this_ptr_value, IVRClientCore_002_Cleanup, 0, FALSE, FALSE); - void (__stdcall *capi_IVRClientCore_002_Cleanup)() = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_Cleanup(); - check_ptr_parameter("IVRClientCore_002_Cleanup", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRClientCore_002_IsInterfaceVersionValid, 1, FALSE, FALSE); - EVRInitError (__stdcall *capi_IVRClientCore_002_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_IsInterfaceVersionValid((void *)1); - check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", this_ptr_value); - check_ptr_parameter("IVRClientCore_002_IsInterfaceVersionValid", (void *)1); - - init_thunk(t, this_ptr_value, IVRClientCore_002_GetGenericInterface, 2, FALSE, FALSE); - void * (__stdcall *capi_IVRClientCore_002_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_GetGenericInterface((void *)1, (void *)2); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", this_ptr_value); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)1); - check_ptr_parameter("IVRClientCore_002_GetGenericInterface", (void *)2); - - init_thunk(t, this_ptr_value, IVRClientCore_002_BIsHmdPresent, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRClientCore_002_BIsHmdPresent)() = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_BIsHmdPresent(); - check_ptr_parameter("IVRClientCore_002_BIsHmdPresent", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRClientCore_002_GetEnglishStringForHmdError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_002_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_GetEnglishStringForHmdError(1); - check_ptr_parameter("IVRClientCore_002_GetEnglishStringForHmdError", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_GetEnglishStringForHmdError", 1); - - init_thunk(t, this_ptr_value, IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRClientCore_002_GetIDForVRInitError)(EVRInitError eError) = (void *)t; - - clear_parameters(); - capi_IVRClientCore_002_GetIDForVRInitError(1); - check_ptr_parameter("IVRClientCore_002_GetIDForVRInitError", this_ptr_value); - check_uint32_parameter("IVRClientCore_002_GetIDForVRInitError", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_015(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_015_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_015_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_015_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_015_GetProjectionMatrix", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_015_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_015_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_015_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_015_ComputeDistortion", 1); - check_float_parameter("IVRSystem_015_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_015_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_015_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_015_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_015_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_015_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_015_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_015_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_015_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_015_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_015_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_015_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_015_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_015_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_015_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_015_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_015_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_015_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_015_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_015_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_015_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_015_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_015_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_015_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_015_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_015_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_015_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_015_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_015_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_015_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_015_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerState", 1); - check_ptr_parameter("IVRSystem_015_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_015_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_015_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_015_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_015_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_015_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_015_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_015_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_015_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_015_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_015_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_015_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_015_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_015_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_015_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_015_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_015_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_015_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_015_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_014(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_014_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_014_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_014_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_014_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_014_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_014_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_014_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_014_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_014_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_014_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_014_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_014_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_014_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayColor", 1); - check_float_parameter("IVROverlay_014_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_014_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_014_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_014_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_014_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_014_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_014_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_014_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_014_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_014_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ShowOverlay(1); - check_ptr_parameter("IVROverlay_014_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_HideOverlay(1); - check_ptr_parameter("IVROverlay_014_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_014_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_014_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_014_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_014_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_014_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_014_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_014_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_014_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_014_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_014_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_014_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_014_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_014_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_014_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_014_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_014_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_014_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_014_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_014_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_014_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8, (void *)9); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)8); - check_ptr_parameter("IVROverlay_014_GetOverlayTexture", (void *)9); - - init_thunk(t, this_ptr_value, IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_014_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_014_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_014_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_014_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_014_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_014_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_014_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_014_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_014_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_014_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_014_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_014_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_014_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_014_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_014_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_014_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_014_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_014_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_014_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_014_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_014_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_014_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_014_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_HideKeyboard(); - check_ptr_parameter("IVROverlay_014_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_014_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_014_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_014_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_014_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_014_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_014_SetOverlayIntersectionMask", 4); - - init_thunk(t, this_ptr_value, IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_014_GetOverlayFlags)(VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_GetOverlayFlags(1, (void *)2); - check_ptr_parameter("IVROverlay_014_GetOverlayFlags", this_ptr_value); - check_uint64_parameter("IVROverlay_014_GetOverlayFlags", 1); - check_ptr_parameter("IVROverlay_014_GetOverlayFlags", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); - VRMessageOverlayResponse (__stdcall *capi_IVROverlay_014_ShowMessageOverlay)(const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) = (void *)t; - - clear_parameters(); - capi_IVROverlay_014_ShowMessageOverlay((void *)1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)1); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)2); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)3); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)4); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)5); - check_ptr_parameter("IVROverlay_014_ShowMessageOverlay", (void *)6); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_019(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_019_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_019_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_019_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_019_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_019_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_019_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_019_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_019_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_019_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_Submit", 1); - check_ptr_parameter("IVRCompositor_019_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_019_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_019_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_019_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_019_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_019_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_019_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_019_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_019_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_019_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_019_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_019_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_019_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_019_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_019_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_019_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_019_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_019_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_019_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_019_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_019_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_019_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_019_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_019_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_CompositorQuit(); - check_ptr_parameter("IVRCompositor_019_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_IsFullscreen(); - check_ptr_parameter("IVRCompositor_019_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_019_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_019_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_CanRenderScene(); - check_ptr_parameter("IVRCompositor_019_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_019_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_019_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_019_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_019_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_019_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_019_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_019_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_019_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_019_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_019_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_019_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_019_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_019_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_019_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_019_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_UnlockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired)(char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetVulkanInstanceExtensionsRequired((void *)1, 2); - check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", (void *)1); - check_uint32_parameter("IVRCompositor_019_GetVulkanInstanceExtensionsRequired", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired)(VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_019_GetVulkanDeviceExtensionsRequired((void *)1, (void *)2, 3); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", this_ptr_value); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)1); - check_ptr_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", (void *)2); - check_uint32_parameter("IVRCompositor_019_GetVulkanDeviceExtensionsRequired", 3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_014(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_014_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_014_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_014_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_014_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_014_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_014_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); - bool (__stdcall *capi_IVRSystem_014_ComputeDistortion)(EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_ComputeDistortion(1, 2.0f, 3.0f, (void *)4); - check_ptr_parameter("IVRSystem_014_ComputeDistortion", this_ptr_value); - check_uint32_parameter("IVRSystem_014_ComputeDistortion", 1); - check_float_parameter("IVRSystem_014_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_014_ComputeDistortion", 3.0f); - check_ptr_parameter("IVRSystem_014_ComputeDistortion", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_014_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_014_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_014_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_014_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_014_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_014_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_014_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_014_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_014_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_014_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_014_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_014_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_014_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_014_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_014_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_014_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_014_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_014_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_014_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_014_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_014_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_014_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_014_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_014_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_014_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetHiddenAreaMesh(data_ptr_value, 1, 2); - check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_014_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 1); - check_uint32_parameter("IVRSystem_014_GetHiddenAreaMesh", 2); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerState, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetControllerState(1, (void *)2, 3); - check_ptr_parameter("IVRSystem_014_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerState", 1); - check_ptr_parameter("IVRSystem_014_GetControllerState", (void *)2); - check_uint32_parameter("IVRSystem_014_GetControllerState", 3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetControllerStateWithPose(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)3); - check_uint32_parameter("IVRSystem_014_GetControllerStateWithPose", 4); - check_ptr_parameter("IVRSystem_014_GetControllerStateWithPose", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_014_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_014_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_014_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_014_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_014_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_014_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_014_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_014_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_014_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_014_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_014_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_014_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_014_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_014_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_014_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_018(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_018_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_018_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_018_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_018_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_018_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_018_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_018_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_018_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_Submit", 1); - check_ptr_parameter("IVRCompositor_018_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_018_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_018_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_018_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_018_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_018_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_018_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_018_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_018_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_018_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_018_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_018_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_018_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); - HmdColor_t *(__stdcall *capi_IVRCompositor_018_GetCurrentFadeColor)(HmdColor_t *_r, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentFadeColor(data_ptr_value, 1); - check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_GetCurrentFadeColor", data_ptr_value); - check_bool_parameter("IVRCompositor_018_GetCurrentFadeColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_018_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_018_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_018_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_018_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_018_GetCurrentGridAlpha)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentGridAlpha(); - check_ptr_parameter("IVRCompositor_018_GetCurrentGridAlpha", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_018_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_018_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_018_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_018_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorQuit(); - check_ptr_parameter("IVRCompositor_018_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_IsFullscreen(); - check_ptr_parameter("IVRCompositor_018_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_018_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_018_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_018_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CanRenderScene(); - check_ptr_parameter("IVRCompositor_018_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_018_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_018_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_018_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_018_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_018_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_018_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_018_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_018_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_018_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_018_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_018_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_018_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_018_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_018_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_018_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_018_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_018_UnlockGLSharedTextureForAccess", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_013(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_013_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_013_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_013_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_013_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_013_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_013_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_013_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_013_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_013_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_013_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_013_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_013_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_013_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_013_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayColor", 1); - check_float_parameter("IVROverlay_013_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_013_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_013_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_013_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float fTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTexelAspect(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTexelAspect", 1); - check_float_parameter("IVROverlay_013_SetOverlayTexelAspect", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexelAspect)(VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTexelAspect(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTexelAspect", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTexelAspect", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlaySortOrder(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlaySortOrder", 1); - check_uint32_parameter("IVROverlay_013_SetOverlaySortOrder", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlaySortOrder)(VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlaySortOrder(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlaySortOrder", 1); - check_ptr_parameter("IVROverlay_013_GetOverlaySortOrder", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_013_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_013_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_013_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowOverlay(1); - check_ptr_parameter("IVROverlay_013_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HideOverlay(1); - check_ptr_parameter("IVROverlay_013_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_013_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_013_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_013_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_013_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_013_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_013_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_013_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_013_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_013_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_013_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_013_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_013_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_013_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_013_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_013_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_013_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_013_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_013_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_013_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_013_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_013_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_013_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_013_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_013_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_013_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_013_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_013_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_013_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_013_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_013_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_013_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_013_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_013_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_013_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_013_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_013_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_013_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_013_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_013_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_013_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_013_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_013_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_013_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_013_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_013_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_HideKeyboard(); - check_ptr_parameter("IVROverlay_013_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_013_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_013_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_013_SetKeyboardPositionForOverlay", DEFAULT_RECT); - - init_thunk(t, this_ptr_value, IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_013_SetOverlayIntersectionMask)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_013_SetOverlayIntersectionMask(1, (void *)2, 3, 4); - check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", this_ptr_value); - check_uint64_parameter("IVROverlay_013_SetOverlayIntersectionMask", 1); - check_ptr_parameter("IVROverlay_013_SetOverlayIntersectionMask", (void *)2); - check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 3); - check_uint32_parameter("IVROverlay_013_SetOverlayIntersectionMask", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_017(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_017_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_017_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_017_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_017_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_017_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_017_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_017_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_017_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_017_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_Submit", 1); - check_ptr_parameter("IVRCompositor_017_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_017_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_017_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_017_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_017_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetFrameTimings)(Compositor_FrameTiming * pTiming, uint32_t nFrames) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetFrameTimings((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetFrameTimings", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetFrameTimings", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetFrameTimings", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_017_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_017_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_017_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_017_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_017_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_017_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_017_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_017_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_017_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_017_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_017_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_017_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_017_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_017_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_017_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_017_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorQuit(); - check_ptr_parameter("IVRCompositor_017_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_IsFullscreen(); - check_ptr_parameter("IVRCompositor_017_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_017_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_017_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_017_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CanRenderScene(); - check_ptr_parameter("IVRCompositor_017_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_017_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_017_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_017_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_017_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_017_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_017_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_017_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_017_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_017_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_017_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_017_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_017_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_017_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_017_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_017_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_017_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_017_UnlockGLSharedTextureForAccess", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_012(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_012_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_012_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_012_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_012_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_012_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_012_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_012_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_012_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_012_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_012_ComputeDistortion", 1); - check_float_parameter("IVRSystem_012_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_012_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_012_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_012_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_012_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_012_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_012_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_012_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_012_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_012_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_012_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_012_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_012_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_012_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_012_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_012_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_012_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_012_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_012_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_012_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_012_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_012_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_012_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_012_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_012_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_012_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_012_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_012_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_012_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_012_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerState", 1); - check_ptr_parameter("IVRSystem_012_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_012_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_012_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_012_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_012_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_012_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_012_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_012_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_012_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_012_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_012_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_012_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_012_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_012_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_012_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_012_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_012_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_012_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_016(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_016_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_016_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_016_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_016_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_016_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_016_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_016_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_016_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_016_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_Submit", 1); - check_ptr_parameter("IVRCompositor_016_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_016_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_016_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_016_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_016_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_016_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_016_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_016_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_016_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_016_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_016_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_016_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_016_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_016_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_016_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_016_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_016_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_016_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_016_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_016_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_016_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_CompositorQuit(); - check_ptr_parameter("IVRCompositor_016_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_IsFullscreen(); - check_ptr_parameter("IVRCompositor_016_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_016_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_016_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_016_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_016_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_CanRenderScene(); - check_ptr_parameter("IVRCompositor_016_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_016_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_016_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_016_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_016_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_016_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_016_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_016_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_016_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_016_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_016_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_016_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_016_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_016_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_016_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_016_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_016_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_016_UnlockGLSharedTextureForAccess", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSettings_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSettings_001_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSettings_001_GetSettingsErrorNameFromEnum)(EVRSettingsError eError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_GetSettingsErrorNameFromEnum(1); - check_ptr_parameter("IVRSettings_001_GetSettingsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSettings_001_GetSettingsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSettings_001_Sync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_001_Sync)(bool bForce, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_Sync(1, (void *)2); - check_ptr_parameter("IVRSettings_001_Sync", this_ptr_value); - check_bool_parameter("IVRSettings_001_Sync", 1); - check_ptr_parameter("IVRSettings_001_Sync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSettings_001_GetBool, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSettings_001_GetBool)(const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_GetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_001_GetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_001_GetBool", (void *)1); - check_ptr_parameter("IVRSettings_001_GetBool", (void *)2); - check_bool_parameter("IVRSettings_001_GetBool", 1); - check_ptr_parameter("IVRSettings_001_GetBool", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_SetBool, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_SetBool)(const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_SetBool((void *)1, (void *)2, 1, (void *)4); - check_ptr_parameter("IVRSettings_001_SetBool", this_ptr_value); - check_ptr_parameter("IVRSettings_001_SetBool", (void *)1); - check_ptr_parameter("IVRSettings_001_SetBool", (void *)2); - check_bool_parameter("IVRSettings_001_SetBool", 1); - check_ptr_parameter("IVRSettings_001_SetBool", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_GetInt32, 4, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSettings_001_GetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_GetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_001_GetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_001_GetInt32", (void *)1); - check_ptr_parameter("IVRSettings_001_GetInt32", (void *)2); - check_uint32_parameter("IVRSettings_001_GetInt32", 3); - check_ptr_parameter("IVRSettings_001_GetInt32", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_SetInt32, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_SetInt32)(const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_SetInt32((void *)1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSettings_001_SetInt32", this_ptr_value); - check_ptr_parameter("IVRSettings_001_SetInt32", (void *)1); - check_ptr_parameter("IVRSettings_001_SetInt32", (void *)2); - check_uint32_parameter("IVRSettings_001_SetInt32", 3); - check_ptr_parameter("IVRSettings_001_SetInt32", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_GetFloat, 4, TRUE, FALSE); - float (__stdcall *capi_IVRSettings_001_GetFloat)(const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_GetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_001_GetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_001_GetFloat", (void *)1); - check_ptr_parameter("IVRSettings_001_GetFloat", (void *)2); - check_float_parameter("IVRSettings_001_GetFloat", 3.0f); - check_ptr_parameter("IVRSettings_001_GetFloat", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_SetFloat, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSettings_001_SetFloat)(const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_SetFloat((void *)1, (void *)2, 3.0f, (void *)4); - check_ptr_parameter("IVRSettings_001_SetFloat", this_ptr_value); - check_ptr_parameter("IVRSettings_001_SetFloat", (void *)1); - check_ptr_parameter("IVRSettings_001_SetFloat", (void *)2); - check_float_parameter("IVRSettings_001_SetFloat", 3.0f); - check_ptr_parameter("IVRSettings_001_SetFloat", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_GetString, 6, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_GetString)(const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_GetString((void *)1, (void *)2, (void *)3, 4, (void *)5, (void *)6); - check_ptr_parameter("IVRSettings_001_GetString", this_ptr_value); - check_ptr_parameter("IVRSettings_001_GetString", (void *)1); - check_ptr_parameter("IVRSettings_001_GetString", (void *)2); - check_ptr_parameter("IVRSettings_001_GetString", (void *)3); - check_uint32_parameter("IVRSettings_001_GetString", 4); - check_ptr_parameter("IVRSettings_001_GetString", (void *)5); - check_ptr_parameter("IVRSettings_001_GetString", (void *)6); - - init_thunk(t, this_ptr_value, IVRSettings_001_SetString, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_SetString)(const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_SetString((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSettings_001_SetString", this_ptr_value); - check_ptr_parameter("IVRSettings_001_SetString", (void *)1); - check_ptr_parameter("IVRSettings_001_SetString", (void *)2); - check_ptr_parameter("IVRSettings_001_SetString", (void *)3); - check_ptr_parameter("IVRSettings_001_SetString", (void *)4); - - init_thunk(t, this_ptr_value, IVRSettings_001_RemoveSection, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_RemoveSection)(const char * pchSection, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_RemoveSection((void *)1, (void *)2); - check_ptr_parameter("IVRSettings_001_RemoveSection", this_ptr_value); - check_ptr_parameter("IVRSettings_001_RemoveSection", (void *)1); - check_ptr_parameter("IVRSettings_001_RemoveSection", (void *)2); - - init_thunk(t, this_ptr_value, IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSettings_001_RemoveKeyInSection)(const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) = (void *)t; - - clear_parameters(); - capi_IVRSettings_001_RemoveKeyInSection((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSettings_001_RemoveKeyInSection", this_ptr_value); - check_ptr_parameter("IVRSettings_001_RemoveKeyInSection", (void *)1); - check_ptr_parameter("IVRSettings_001_RemoveKeyInSection", (void *)2); - check_ptr_parameter("IVRSettings_001_RemoveKeyInSection", (void *)3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_005_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_005_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_005_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_005_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_005_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_005_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationCount(); - check_ptr_parameter("IVRApplications_005_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_005_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_005_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_005_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchTemplateApplication)(const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_LaunchTemplateApplication((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)1); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)2); - check_ptr_parameter("IVRApplications_005_LaunchTemplateApplication", (void *)3); - check_uint32_parameter("IVRApplications_005_LaunchTemplateApplication", 4); - - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_CancelApplicationLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_005_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_005_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_005_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_005_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_005_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_005_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_005_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_005_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_005_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_005_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_005_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_005_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetTransitionState(); - check_ptr_parameter("IVRApplications_005_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_005_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_005_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_005_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_005_IsQuitUserPromptRequested", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_005_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_005_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_005_LaunchInternalProcess", (void *)3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_015(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_015_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_015_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_015_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_015_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_015_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_015_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_015_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_015_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_Submit", 1); - check_ptr_parameter("IVRCompositor_015_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_015_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_015_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_015_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_015_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_015_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_015_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_GetCumulativeStats)(Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetCumulativeStats((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_GetCumulativeStats", (void *)1); - check_uint32_parameter("IVRCompositor_015_GetCumulativeStats", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_015_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_015_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_015_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_015_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_015_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_015_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_015_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_015_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_015_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_015_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_015_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_015_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_015_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorQuit(); - check_ptr_parameter("IVRCompositor_015_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_IsFullscreen(); - check_ptr_parameter("IVRCompositor_015_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_015_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_015_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_015_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_015_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CanRenderScene(); - check_ptr_parameter("IVRCompositor_015_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_015_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_015_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_015_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_015_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_015_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_015_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_015_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_015_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_015_SuspendRendering", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_RequestScreenshot)(EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_RequestScreenshot(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_RequestScreenshot", 1); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)2); - check_ptr_parameter("IVRCompositor_015_RequestScreenshot", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); - EVRScreenshotType (__stdcall *capi_IVRCompositor_015_GetCurrentScreenshotType)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetCurrentScreenshotType(); - check_ptr_parameter("IVRCompositor_015_GetCurrentScreenshotType", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureD3D11)(EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetMirrorTextureD3D11(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetMirrorTextureD3D11", 1); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureD3D11", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_015_GetMirrorTextureGL)(EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_GetMirrorTextureGL(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_GetMirrorTextureGL", 1); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)2); - check_ptr_parameter("IVRCompositor_015_GetMirrorTextureGL", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_015_ReleaseSharedGLTexture)(glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_ReleaseSharedGLTexture(1, (void *)2); - check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", this_ptr_value); - check_uint32_parameter("IVRCompositor_015_ReleaseSharedGLTexture", 1); - check_ptr_parameter("IVRCompositor_015_ReleaseSharedGLTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_LockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_LockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_LockGLSharedTextureForAccess", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_015_UnlockGLSharedTextureForAccess)(glSharedTextureHandle_t glSharedTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_015_UnlockGLSharedTextureForAccess((void *)1); - check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", this_ptr_value); - check_ptr_parameter("IVRCompositor_015_UnlockGLSharedTextureForAccess", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_012(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_012_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_012_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_012_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_012_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_012_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_012_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_012_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_012_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_012_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_012_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_012_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_012_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_012_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_012_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayColor", 1); - check_float_parameter("IVROverlay_012_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_012_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_012_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_012_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_012_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_012_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_012_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowOverlay(1); - check_ptr_parameter("IVROverlay_012_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_HideOverlay(1); - check_ptr_parameter("IVROverlay_012_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_012_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_012_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_012_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_012_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_012_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_012_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_012_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_012_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_012_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_012_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_012_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_012_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_012_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_012_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_012_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_012_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_012_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_012_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_012_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_012_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_012_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_012_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_012_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetOverlayTextureSize)(VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetOverlayTextureSize(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetOverlayTextureSize", 1); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)2); - check_ptr_parameter("IVROverlay_012_GetOverlayTextureSize", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_012_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_012_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_012_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_012_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_012_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_012_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_012_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_012_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_012_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_012_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_012_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_012_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_012_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_012_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_012_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_012_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_012_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_012_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_012_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_012_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_012_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_012_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_012_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_HideKeyboard(); - check_ptr_parameter("IVROverlay_012_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_012_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_012_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_012_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_012_SetKeyboardPositionForOverlay", DEFAULT_RECT); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum)(EVRTrackedCameraError eCameraError) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(1); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_HasCamera)(TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_HasCamera(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_002_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_HasCamera", 1); - check_ptr_parameter("IVRTrackedCamera_002_HasCamera", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraFrameSize)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraFrameSize(1, 2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraFrameSize", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)3); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)4); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraFrameSize", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraIntrinisics)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraIntrinisics(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)3); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraIntrinisics", (void *)4); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_GetCameraProjection(1, 2, 3.0f, 4.0f, (void *)5); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetCameraProjection", 2); - check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_002_GetCameraProjection", 4.0f); - check_ptr_parameter("IVRTrackedCamera_002_GetCameraProjection", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_AcquireVideoStreamingService)(TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_AcquireVideoStreamingService(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", 1); - check_ptr_parameter("IVRTrackedCamera_002_AcquireVideoStreamingService", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_ReleaseVideoStreamingService)(TrackedCameraHandle_t hTrackedCamera) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_ReleaseVideoStreamingService(1); - check_ptr_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_ReleaseVideoStreamingService", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - EVRTrackedCameraError (__stdcall *capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer)(TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(1, 2, (void *)3, 4, (void *)5, 6); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 1); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 2); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)3); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 4); - check_ptr_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", (void *)5); - check_uint32_parameter("IVRTrackedCamera_002_GetVideoStreamFrameBuffer", 6); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_014(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_014_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_014_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_014_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_014_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_014_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_014_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_014_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_014_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_014_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_014_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_014_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_014_Submit", 1); - check_ptr_parameter("IVRCompositor_014_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_014_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_014_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_014_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_014_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_014_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_014_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_014_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_014_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_014_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_014_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_014_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_014_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_014_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_014_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_014_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_014_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_014_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_014_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_014_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_014_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_014_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_014_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_014_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_CompositorQuit(); - check_ptr_parameter("IVRCompositor_014_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_IsFullscreen(); - check_ptr_parameter("IVRCompositor_014_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_014_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_014_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_014_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_014_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_CanRenderScene(); - check_ptr_parameter("IVRCompositor_014_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_014_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_014_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_014_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_014_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_014_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_014_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_014_ForceInterleavedReprojectionOn", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_ForceReconnectProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_ForceReconnectProcess(); - check_ptr_parameter("IVRCompositor_014_ForceReconnectProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_014_SuspendRendering)(bool bSuspend) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_014_SuspendRendering(1); - check_ptr_parameter("IVRCompositor_014_SuspendRendering", this_ptr_value); - check_bool_parameter("IVRCompositor_014_SuspendRendering", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_011(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_011_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_011_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_011_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_011_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_011_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_011_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_011_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_011_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_011_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle, uint32_t unPID) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayRenderingPid(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayRenderingPid", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayRenderingPid", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetOverlayRenderingPid)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayRenderingPid(1); - check_ptr_parameter("IVROverlay_011_GetOverlayRenderingPid", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayRenderingPid", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_011_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_011_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_011_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_011_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayColor", 1); - check_float_parameter("IVROverlay_011_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_011_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_011_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_011_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_011_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_011_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_011_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowOverlay(1); - check_ptr_parameter("IVROverlay_011_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_HideOverlay(1); - check_ptr_parameter("IVROverlay_011_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_011_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_011_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_011_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_011_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_011_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_011_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_011_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_011_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_011_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_011_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_011_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_011_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_011_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_011_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_011_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_011_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_011_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_011_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_011_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_011_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_011_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetOverlayTexture(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7, (void *)8); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)2); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)3); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)4); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)5); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)6); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)7); - check_ptr_parameter("IVROverlay_011_GetOverlayTexture", (void *)8); - - init_thunk(t, this_ptr_value, IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ReleaseNativeOverlayHandle)(VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ReleaseNativeOverlayHandle(1, (void *)2); - check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", 1); - check_ptr_parameter("IVROverlay_011_ReleaseNativeOverlayHandle", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_011_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_011_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_011_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_011_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_011_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_011_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_011_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_011_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_011_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_011_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_011_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_011_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_011_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_011_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_011_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_011_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_011_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_011_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_011_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_011_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_011_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_011_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_011_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_HideKeyboard(); - check_ptr_parameter("IVROverlay_011_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_011_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_011_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_011_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_011_SetKeyboardPositionForOverlay", DEFAULT_RECT); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_013(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_013_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_013_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_013_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_013_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_013_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_013_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_013_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_013_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_013_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_013_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_013_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_013_Submit", 1); - check_ptr_parameter("IVRCompositor_013_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_013_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_013_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_013_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_013_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_013_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_013_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_013_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_013_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_013_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_013_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_013_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_013_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_013_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_013_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_013_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_013_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_013_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_013_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_013_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_013_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_013_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_013_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_013_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_CompositorQuit(); - check_ptr_parameter("IVRCompositor_013_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_IsFullscreen(); - check_ptr_parameter("IVRCompositor_013_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_013_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_013_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_013_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_013_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_CanRenderScene(); - check_ptr_parameter("IVRCompositor_013_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_013_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_013_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_013_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_013_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_013_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_013_ShouldAppRenderWithLowResources", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_013_ForceInterleavedReprojectionOn)(bool bOverride) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_013_ForceInterleavedReprojectionOn(1); - check_ptr_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", this_ptr_value); - check_bool_parameter("IVRCompositor_013_ForceInterleavedReprojectionOn", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_011(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_011_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_011_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_011_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_011_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_011_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_011_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_011_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_011_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_011_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_011_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_011_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_011_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_011_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_011_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_011_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_011_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_011_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_011_ComputeDistortion", 1); - check_float_parameter("IVRSystem_011_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_011_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_011_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_011_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_011_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_011_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_011_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_011_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_011_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_011_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_011_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_011_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_011_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_011_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_011_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_011_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_011_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_011_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_011_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_011_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_011_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_011_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_011_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_011_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_011_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_011_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_011_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_011_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_011_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_011_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_011_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_011_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_011_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_011_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_011_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_011_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_011_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_011_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_011_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_011_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_011_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_011_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_011_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_011_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_011_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_011_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_011_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_011_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_PollNextEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_PollNextEvent)(VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_PollNextEvent((void *)1, 2); - check_ptr_parameter("IVRSystem_011_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_011_PollNextEvent", (void *)1); - check_uint32_parameter("IVRSystem_011_PollNextEvent", 2); - - init_thunk(t, this_ptr_value, IVRSystem_011_PollNextEventWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_PollNextEventWithPose(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVRSystem_011_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_011_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_011_PollNextEventWithPose", (void *)2); - check_uint32_parameter("IVRSystem_011_PollNextEventWithPose", 3); - check_ptr_parameter("IVRSystem_011_PollNextEventWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_011_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_011_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_011_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_011_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_011_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_011_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_011_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetControllerState", 1); - check_ptr_parameter("IVRSystem_011_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_011_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_011_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_011_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_011_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_011_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_011_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_011_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_011_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_011_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_011_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_011_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_011_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_011_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_011_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_011_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_011_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_011_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_011_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_011_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_011_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_011_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_011_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_011_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_011_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_011_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_011_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_011_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_011_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_011_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_011_AcknowledgeQuit_UserPrompt", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_011_PerformanceTestEnableCapture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_PerformanceTestEnableCapture)(bool bEnable) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_PerformanceTestEnableCapture(1); - check_ptr_parameter("IVRSystem_011_PerformanceTestEnableCapture", this_ptr_value); - check_bool_parameter("IVRSystem_011_PerformanceTestEnableCapture", 1); - - init_thunk(t, this_ptr_value, IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_011_PerformanceTestReportFidelityLevelChange)(int nFidelityLevel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_011_PerformanceTestReportFidelityLevelChange(1); - check_ptr_parameter("IVRSystem_011_PerformanceTestReportFidelityLevelChange", this_ptr_value); - check_uint32_parameter("IVRSystem_011_PerformanceTestReportFidelityLevelChange", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_004_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_004_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_004_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_004_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_004_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_004_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationCount(); - check_ptr_parameter("IVRApplications_004_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_004_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_004_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_004_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_CancelApplicationLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_CancelApplicationLaunch((void *)1); - check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_CancelApplicationLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_004_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_004_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_004_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_004_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_004_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_004_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_004_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_004_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_004_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_004_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_004_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_004_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetTransitionState(); - check_ptr_parameter("IVRApplications_004_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_004_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_004_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_004_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_004_IsQuitUserPromptRequested", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_004_LaunchInternalProcess)(const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) = (void *)t; - - clear_parameters(); - capi_IVRApplications_004_LaunchInternalProcess((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", this_ptr_value); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)1); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)2); - check_ptr_parameter("IVRApplications_004_LaunchInternalProcess", (void *)3); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_010_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_010_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_010_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_010_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_010_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_010_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_010_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_010_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_010_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_010_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_010_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_010_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_010_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayColor", 1); - check_float_parameter("IVROverlay_010_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_010_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_010_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_010_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_010_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", 2); - check_ptr_parameter("IVROverlay_010_SetOverlayTransformTrackedDeviceComponent", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", (void *)3); - check_uint32_parameter("IVROverlay_010_GetOverlayTransformTrackedDeviceComponent", 4); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowOverlay(1); - check_ptr_parameter("IVROverlay_010_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_HideOverlay(1); - check_ptr_parameter("IVROverlay_010_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_010_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_010_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent, uint32_t uncbVREvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_PollNextOverlayEvent(1, (void *)2, 3); - check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_010_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_010_PollNextOverlayEvent", (void *)2); - check_uint32_parameter("IVROverlay_010_PollNextOverlayEvent", 3); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_010_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_010_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_010_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_010_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_010_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_010_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_010_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_010_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_010_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_010_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_010_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_010_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_010_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_010_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_010_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_010_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_010_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_010_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_010_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_010_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_010_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_010_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_010_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_010_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_010_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVROverlay_010_GetPrimaryDashboardDevice)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetPrimaryDashboardDevice(); - check_ptr_parameter("IVROverlay_010_GetPrimaryDashboardDevice", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_010_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_010_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_010_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_010_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_010_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_010_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_010_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_010_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_010_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_010_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_010_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_010_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_010_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_HideKeyboard(); - check_ptr_parameter("IVROverlay_010_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_010_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_010_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_010_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_010_SetKeyboardPositionForOverlay", DEFAULT_RECT); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadRenderModel_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadRenderModel_Async)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_LoadRenderModel_Async((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)1); - check_ptr_parameter("IVRRenderModels_004_LoadRenderModel_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTexture_Async)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_LoadTexture_Async(1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_LoadTexture_Async", 1); - check_ptr_parameter("IVRRenderModels_004_LoadTexture_Async", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeTexture", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); - EVRRenderModelError (__stdcall *capi_IVRRenderModels_004_LoadTextureD3D11_Async)(TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_LoadTextureD3D11_Async(1, (void *)2, (void *)3); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", 1); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)2); - check_ptr_parameter("IVRRenderModels_004_LoadTextureD3D11_Async", (void *)3); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_004_FreeTextureD3D11)(void * pD3D11Texture2D) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_FreeTextureD3D11((void *)1); - check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_FreeTextureD3D11", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_004_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_004_GetRenderModelCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentCount)(const char * pchRenderModelName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentCount", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_004_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_004_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_004_GetComponentName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_004_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentButtonMask", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_004_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_004_GetComponentRenderModelName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_004_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)4); - check_ptr_parameter("IVRRenderModels_004_GetComponentState", (void *)5); - - init_thunk(t, this_ptr_value, IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_004_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_004_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_004_RenderModelHasComponent", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_012(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_012_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_012_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_012_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_012_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_012_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_012_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_012_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_012_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", 1); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)2); - check_ptr_parameter("IVRCompositor_012_GetLastPoseForTrackedDeviceIndex", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_012_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_012_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_012_Submit", 1); - check_ptr_parameter("IVRCompositor_012_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_012_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_012_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_012_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_012_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_012_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_012_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_012_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_012_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_012_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_012_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_012_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_012_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_012_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_012_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_012_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_012_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_012_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_012_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_012_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_012_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_012_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_012_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_012_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_CompositorQuit(); - check_ptr_parameter("IVRCompositor_012_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_IsFullscreen(); - check_ptr_parameter("IVRCompositor_012_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_012_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_012_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_012_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_012_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_CanRenderScene(); - check_ptr_parameter("IVRCompositor_012_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_012_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_012_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_012_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_012_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_012_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_012_ShouldAppRenderWithLowResources)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_012_ShouldAppRenderWithLowResources(); - check_ptr_parameter("IVRCompositor_012_ShouldAppRenderWithLowResources", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_003_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_003_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_003_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_003_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_003_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_003_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationCount(); - check_ptr_parameter("IVRApplications_003_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_003_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_003_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_003_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_003_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_003_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_003_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_003_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_003_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_003_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRApplications_003_GetApplicationPropertyUint64)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationPropertyUint64((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)1); - check_uint32_parameter("IVRApplications_003_GetApplicationPropertyUint64", 2); - check_ptr_parameter("IVRApplications_003_GetApplicationPropertyUint64", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_003_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_003_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_003_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_003_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_003_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_003_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetTransitionState(); - check_ptr_parameter("IVRApplications_003_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_003_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_003_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_003_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_003_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_003_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_003_IsQuitUserPromptRequested", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_011(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_011_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_011_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_011_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_011_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_011_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_011_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_011_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_011_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_011_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_011_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_011_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_011_Submit", 1); - check_ptr_parameter("IVRCompositor_011_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_011_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_011_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_011_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_011_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_011_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_011_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_011_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_011_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_011_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_011_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_011_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_011_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_011_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_011_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_011_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_011_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_011_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_011_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_011_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_011_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_011_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_011_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_011_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_CompositorQuit(); - check_ptr_parameter("IVRCompositor_011_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_IsFullscreen(); - check_ptr_parameter("IVRCompositor_011_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_011_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_011_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_011_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_011_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_CanRenderScene(); - check_ptr_parameter("IVRCompositor_011_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_011_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_011_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_011_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_011_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_011_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_011_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_011_CompositorDumpImages", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t ** ppRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRRenderModels_002_LoadRenderModel", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_002_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_LoadTexture)(TextureID_t textureId, RenderModel_TextureMap_t ** ppTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_LoadTexture(1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_LoadTexture", this_ptr_value); - check_uint32_parameter("IVRRenderModels_002_LoadTexture", 1); - check_ptr_parameter("IVRRenderModels_002_LoadTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_002_FreeTexture)(RenderModel_TextureMap_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_FreeTexture((void *)1); - check_ptr_parameter("IVRRenderModels_002_FreeTexture", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_FreeTexture", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_002_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_002_GetRenderModelCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentCount)(const char * pchRenderModelName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetComponentCount((void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentCount", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentCount", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentName)(const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetComponentName((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)1); - check_uint32_parameter("IVRRenderModels_002_GetComponentName", 2); - check_ptr_parameter("IVRRenderModels_002_GetComponentName", (void *)3); - check_uint32_parameter("IVRRenderModels_002_GetComponentName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRRenderModels_002_GetComponentButtonMask)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetComponentButtonMask((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentButtonMask", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_002_GetComponentRenderModelName)(const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetComponentRenderModelName((void *)1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentRenderModelName", (void *)3); - check_uint32_parameter("IVRRenderModels_002_GetComponentRenderModelName", 4); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_GetComponentState)(const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_GetComponentState((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)1); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)2); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)3); - check_ptr_parameter("IVRRenderModels_002_GetComponentState", (void *)4); - - init_thunk(t, this_ptr_value, IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_002_RenderModelHasComponent)(const char * pchRenderModelName, const char * pchComponentName) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_002_RenderModelHasComponent((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", this_ptr_value); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)1); - check_ptr_parameter("IVRRenderModels_002_RenderModelHasComponent", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_010_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_010_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_010_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_010_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_010_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_010_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_010_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_010_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_010_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_010_ComputeDistortion", 1); - check_float_parameter("IVRSystem_010_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_010_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_010_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_010_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_010_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_010_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_010_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_010_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_010_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_010_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_010_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_010_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_010_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - TrackedDeviceIndex_t (__stdcall *capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole)(ETrackedControllerRole unDeviceType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceIndexForControllerRole", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - ETrackedControllerRole (__stdcall *capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(1); - check_ptr_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerRoleForTrackedDeviceIndex", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_010_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_010_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_010_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_010_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_010_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_010_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_010_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_010_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_010_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_010_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_010_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_010_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_010_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_010_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_010_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerState", 1); - check_ptr_parameter("IVRSystem_010_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_010_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_010_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_010_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_010_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_010_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_010_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_010_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_010_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_010_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_010_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_010_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_010_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_010_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_010_AcknowledgeQuit_UserPrompt", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_PerformanceTestEnableCapture)(bool bEnable) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_PerformanceTestEnableCapture(1); - check_ptr_parameter("IVRSystem_010_PerformanceTestEnableCapture", this_ptr_value); - check_bool_parameter("IVRSystem_010_PerformanceTestEnableCapture", 1); - - init_thunk(t, this_ptr_value, IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange)(int nFidelityLevel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_010_PerformanceTestReportFidelityLevelChange(1); - check_ptr_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", this_ptr_value); - check_uint32_parameter("IVRSystem_010_PerformanceTestReportFidelityLevelChange", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_002_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_002_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_002_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_002_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_002_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_002_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationCount(); - check_ptr_parameter("IVRApplications_002_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_002_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_002_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_002_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_002_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_002_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_002_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_002_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_002_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_002_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_002_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_002_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_002_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_002_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_002_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_002_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_002_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_002_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_002_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetTransitionState(); - check_ptr_parameter("IVRApplications_002_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_002_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_002_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_002_GetApplicationsTransitionStateNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_002_IsQuitUserPromptRequested)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_002_IsQuitUserPromptRequested(); - check_ptr_parameter("IVRApplications_002_IsQuitUserPromptRequested", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperoneSetup_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_CommitWorkingCopy, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_CommitWorkingCopy)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_CommitWorkingCopy(1); - check_ptr_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_004_CommitWorkingCopy", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_RevertWorkingCopy)() = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_RevertWorkingCopy(); - check_ptr_parameter("IVRChaperoneSetup_004_RevertWorkingCopy", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize)(float * pSizeX, float * pSizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingPlayAreaSize((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect)(HmdQuad_t * rect) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingPlayAreaRect((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingPlayAreaRect", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize)(float sizeX, float sizeZ) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(1.0f, 2.0f); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", this_ptr_value); - check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 1.0f); - check_float_parameter("IVRChaperoneSetup_004_SetWorkingPlayAreaSize", 2.0f); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose)(HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_ReloadFromDisk)(EChaperoneConfigFile configFile) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_ReloadFromDisk(1); - check_ptr_parameter("IVRChaperoneSetup_004_ReloadFromDisk", this_ptr_value); - check_uint32_parameter("IVRChaperoneSetup_004_ReloadFromDisk", 1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose)(HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose((void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo)(uint8_t * pTagsBuffer, uint32_t unTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_SetWorkingWallTagInfo((void *)1, 2); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", (void *)1); - check_uint32_parameter("IVRChaperoneSetup_004_SetWorkingWallTagInfo", 2); - - init_thunk(t, this_ptr_value, IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperoneSetup_004_GetLiveWallTagInfo)(uint8_t * pTagsBuffer, uint32_t * punTagCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperoneSetup_004_GetLiveWallTagInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", this_ptr_value); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)1); - check_ptr_parameter("IVRChaperoneSetup_004_GetLiveWallTagInfo", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_010(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_010_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_010_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_010_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_010_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_010_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_010_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_010_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_010_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_010_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_010_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_010_Submit", 1); - check_ptr_parameter("IVRCompositor_010_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_010_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_010_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_010_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_010_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_010_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_010_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_010_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_010_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_010_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_010_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_010_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_010_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_010_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_010_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_010_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_010_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_010_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_010_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_010_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_010_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_010_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_010_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_010_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorQuit(); - check_ptr_parameter("IVRCompositor_010_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_IsFullscreen(); - check_ptr_parameter("IVRCompositor_010_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_010_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_010_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_010_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_010_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CanRenderScene(); - check_ptr_parameter("IVRCompositor_010_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_010_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_010_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_010_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_010_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_010_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_010_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_010_CompositorDumpImages", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_008(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_008_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_008_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_008_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_008_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_008_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_008_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_008_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_008_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_008_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_008_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_008_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_008_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_008_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayColor", 1); - check_float_parameter("IVROverlay_008_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_008_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_008_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_008_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_008_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_008_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowOverlay(1); - check_ptr_parameter("IVROverlay_008_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_HideOverlay(1); - check_ptr_parameter("IVROverlay_008_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_008_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetTransformForOverlayCoordinates)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetTransformForOverlayCoordinates(1, 2, DEFAULT_VECTOR2, (void *)4); - check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 1); - check_uint32_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", 2); - check_HmdVector2_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", DEFAULT_VECTOR2); - check_ptr_parameter("IVROverlay_008_GetTransformForOverlayCoordinates", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_008_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_008_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_008_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_008_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_008_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_008_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_008_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_008_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_008_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_008_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_008_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_008_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_008_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_008_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_008_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_008_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_008_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_008_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_008_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_008_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_008_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_008_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_008_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_008_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_008_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_008_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_008_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_008_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_008_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_008_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_008_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_008_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_008_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_008_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_008_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_008_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_008_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_008_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_008_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_008_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_HideKeyboard(); - check_ptr_parameter("IVROverlay_008_HideKeyboard", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_SetKeyboardTransformAbsolute)(ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetKeyboardTransformAbsolute(1, (void *)2); - check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", this_ptr_value); - check_uint32_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_008_SetKeyboardTransformAbsolute", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_008_SetKeyboardPositionForOverlay)(VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) = (void *)t; - - clear_parameters(); - capi_IVROverlay_008_SetKeyboardPositionForOverlay(1, DEFAULT_RECT); - check_ptr_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", 1); - check_HmdRect2_parameter("IVROverlay_008_SetKeyboardPositionForOverlay", DEFAULT_RECT); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRTrackedCamera_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_HasCamera, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_HasCamera)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_HasCamera(1); - check_ptr_parameter("IVRTrackedCamera_001_HasCamera", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_HasCamera", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetCameraFirmwareDescription, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_GetCameraFirmwareDescription)(TrackedDeviceIndex_t nDeviceIndex, char * pBuffer, uint32_t nBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetCameraFirmwareDescription(1, (void *)2, 3); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraFirmwareDescription", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraFirmwareDescription", 1); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraFirmwareDescription", (void *)2); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraFirmwareDescription", 3); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetCameraFrameDimensions, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_GetCameraFrameDimensions)(TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t * pWidth, uint32_t * pHeight) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetCameraFrameDimensions(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraFrameDimensions", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraFrameDimensions", 1); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraFrameDimensions", 2); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraFrameDimensions", (void *)3); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraFrameDimensions", (void *)4); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_SetCameraVideoStreamFormat, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_SetCameraVideoStreamFormat)(TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_SetCameraVideoStreamFormat(1, 2); - check_ptr_parameter("IVRTrackedCamera_001_SetCameraVideoStreamFormat", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_SetCameraVideoStreamFormat", 1); - check_uint32_parameter("IVRTrackedCamera_001_SetCameraVideoStreamFormat", 2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetCameraVideoStreamFormat, 1, FALSE, FALSE); - ECameraVideoStreamFormat (__stdcall *capi_IVRTrackedCamera_001_GetCameraVideoStreamFormat)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetCameraVideoStreamFormat(1); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraVideoStreamFormat", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraVideoStreamFormat", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_EnableCameraForStreaming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_EnableCameraForStreaming)(TrackedDeviceIndex_t nDeviceIndex, bool bEnable) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_EnableCameraForStreaming(1, 1); - check_ptr_parameter("IVRTrackedCamera_001_EnableCameraForStreaming", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_EnableCameraForStreaming", 1); - check_bool_parameter("IVRTrackedCamera_001_EnableCameraForStreaming", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_StartVideoStream, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_StartVideoStream)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_StartVideoStream(1); - check_ptr_parameter("IVRTrackedCamera_001_StartVideoStream", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_StartVideoStream", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_StopVideoStream, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_StopVideoStream)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_StopVideoStream(1); - check_ptr_parameter("IVRTrackedCamera_001_StopVideoStream", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_StopVideoStream", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_IsVideoStreamActive, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_IsVideoStreamActive)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_IsVideoStreamActive(1); - check_ptr_parameter("IVRTrackedCamera_001_IsVideoStreamActive", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_IsVideoStreamActive", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetVideoStreamElapsedTime, 1, FALSE, FALSE); - float (__stdcall *capi_IVRTrackedCamera_001_GetVideoStreamElapsedTime)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetVideoStreamElapsedTime(1); - check_ptr_parameter("IVRTrackedCamera_001_GetVideoStreamElapsedTime", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetVideoStreamElapsedTime", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetVideoStreamFrame, 1, FALSE, FALSE); - const CameraVideoStreamFrame_t * (__stdcall *capi_IVRTrackedCamera_001_GetVideoStreamFrame)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetVideoStreamFrame(1); - check_ptr_parameter("IVRTrackedCamera_001_GetVideoStreamFrame", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetVideoStreamFrame", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_ReleaseVideoStreamFrame, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_ReleaseVideoStreamFrame)(TrackedDeviceIndex_t nDeviceIndex, CameraVideoStreamFrame_t * pFrameImage) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_ReleaseVideoStreamFrame(1, (void *)2); - check_ptr_parameter("IVRTrackedCamera_001_ReleaseVideoStreamFrame", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_ReleaseVideoStreamFrame", 1); - check_ptr_parameter("IVRTrackedCamera_001_ReleaseVideoStreamFrame", (void *)2); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_SetAutoExposure, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_SetAutoExposure)(TrackedDeviceIndex_t nDeviceIndex, bool bEnable) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_SetAutoExposure(1, 1); - check_ptr_parameter("IVRTrackedCamera_001_SetAutoExposure", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_SetAutoExposure", 1); - check_bool_parameter("IVRTrackedCamera_001_SetAutoExposure", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_PauseVideoStream, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_PauseVideoStream)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_PauseVideoStream(1); - check_ptr_parameter("IVRTrackedCamera_001_PauseVideoStream", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_PauseVideoStream", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_ResumeVideoStream, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_ResumeVideoStream)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_ResumeVideoStream(1); - check_ptr_parameter("IVRTrackedCamera_001_ResumeVideoStream", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_ResumeVideoStream", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_IsVideoStreamPaused, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_IsVideoStreamPaused)(TrackedDeviceIndex_t nDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_IsVideoStreamPaused(1); - check_ptr_parameter("IVRTrackedCamera_001_IsVideoStreamPaused", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_IsVideoStreamPaused", 1); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetCameraDistortion, 5, TRUE, FALSE); - bool (__stdcall *capi_IVRTrackedCamera_001_GetCameraDistortion)(TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float * pflOutputU, float * pflOutputV) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetCameraDistortion(1, 2.0f, 3.0f, (void *)4, (void *)5); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraDistortion", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraDistortion", 1); - check_float_parameter("IVRTrackedCamera_001_GetCameraDistortion", 2.0f); - check_float_parameter("IVRTrackedCamera_001_GetCameraDistortion", 3.0f); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraDistortion", (void *)4); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraDistortion", (void *)5); - - init_thunk(t, this_ptr_value, IVRTrackedCamera_001_GetCameraProjection, 6, TRUE, TRUE); - bool (__stdcall *capi_IVRTrackedCamera_001_GetCameraProjection)(TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection) = (void *)t; - - clear_parameters(); - capi_IVRTrackedCamera_001_GetCameraProjection(1, 2.0f, 3.0f, 4.0f, 5.0f, (void *)6); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraProjection", this_ptr_value); - check_uint32_parameter("IVRTrackedCamera_001_GetCameraProjection", 1); - check_float_parameter("IVRTrackedCamera_001_GetCameraProjection", 2.0f); - check_float_parameter("IVRTrackedCamera_001_GetCameraProjection", 3.0f); - check_float_parameter("IVRTrackedCamera_001_GetCameraProjection", 4.0f); - check_float_parameter("IVRTrackedCamera_001_GetCameraProjection", 5.0f); - check_ptr_parameter("IVRTrackedCamera_001_GetCameraProjection", (void *)6); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_009(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_SetTrackingSpace)(ETrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_009_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_009_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); - ETrackingUniverseOrigin (__stdcall *capi_IVRCompositor_009_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_009_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_009_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_009_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_GetLastPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetLastPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)1); - check_uint32_parameter("IVRCompositor_009_GetLastPoses", 2); - check_ptr_parameter("IVRCompositor_009_GetLastPoses", (void *)3); - check_uint32_parameter("IVRCompositor_009_GetLastPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_009_Submit, 4, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_Submit)(EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_Submit(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_009_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_009_Submit", 1); - check_ptr_parameter("IVRCompositor_009_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_009_Submit", (void *)3); - check_uint32_parameter("IVRCompositor_009_Submit", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_009_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_PostPresentHandoff)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_PostPresentHandoff(); - check_ptr_parameter("IVRCompositor_009_PostPresentHandoff", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_009_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_009_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_009_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_009_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_009_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_009_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_009_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_009_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_009_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_009_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_009_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_009_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_009_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); - EVRCompositorError (__stdcall *capi_IVRCompositor_009_SetSkyboxOverride)(Texture_t * pTextures, uint32_t unTextureCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_SetSkyboxOverride((void *)1, 2); - check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", this_ptr_value); - check_ptr_parameter("IVRCompositor_009_SetSkyboxOverride", (void *)1); - check_uint32_parameter("IVRCompositor_009_SetSkyboxOverride", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_009_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_009_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_009_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorQuit(); - check_ptr_parameter("IVRCompositor_009_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_IsFullscreen(); - check_ptr_parameter("IVRCompositor_009_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_009_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_009_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_009_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_009_GetLastFrameRenderer", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CanRenderScene(); - check_ptr_parameter("IVRCompositor_009_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_009_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_009_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_009_IsMirrorWindowVisible)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_IsMirrorWindowVisible(); - check_ptr_parameter("IVRCompositor_009_IsMirrorWindowVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_009_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_009_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_009_CompositorDumpImages", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_009(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_009_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_009_GetProjectionMatrix)(HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_009_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_009_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_009_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetProjectionRaw)(EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_009_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_009_ComputeDistortion)(DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_009_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_009_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_009_ComputeDistortion", 1); - check_float_parameter("IVRSystem_009_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_009_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetEyeToHeadTransform)(HmdMatrix34_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_009_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_009_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_009_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetDXGIOutputInfo)(int32_t * pnAdapterIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetDXGIOutputInfo((void *)1); - check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetDXGIOutputInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_009_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_009_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_009_SetDisplayVisibility", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose)(ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_009_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_009_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass)(ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_009_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ApplyTransform)(TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ApplyTransform((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_009_ApplyTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)1); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)2); - check_ptr_parameter("IVRSystem_009_ApplyTransform", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); - ETrackedDeviceClass (__stdcall *capi_IVRSystem_009_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_009_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_009_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_009_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_009_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_009_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_009_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_009_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetPropErrorNameFromEnum)(ETrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_009_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_009_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_PollNextEventWithPose)(ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_009_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_009_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, EVREye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_009_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_009_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_009_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerState", 1); - check_ptr_parameter("IVRSystem_009_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_GetControllerStateWithPose)(ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_009_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_009_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_009_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_009_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_009_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_009_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_009_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_009_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_009_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_009_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_009_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); - EVRFirmwareError (__stdcall *capi_IVRSystem_009_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_009_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_009_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_Exiting)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_AcknowledgeQuit_Exiting(); - check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_Exiting", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_009_AcknowledgeQuit_UserPrompt)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_009_AcknowledgeQuit_UserPrompt(); - check_ptr_parameter("IVRSystem_009_AcknowledgeQuit_UserPrompt", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_007(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_007_FindOverlay, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_007_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_007_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_007_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_007_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_007_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_007_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_007_GetOverlayErrorNameFromEnum)(EVROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_007_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_007_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_007_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_007_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_007_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayColor", 1); - check_float_parameter("IVROverlay_007_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_007_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_007_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_007_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_007_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTextureColorSpace(1, 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTextureColorSpace", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureColorSpace)(VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTextureColorSpace(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTextureColorSpace", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureColorSpace", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_007_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowOverlay(1); - check_ptr_parameter("IVROverlay_007_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_HideOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HideOverlay(1); - check_ptr_parameter("IVROverlay_007_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_007_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_007_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_007_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_007_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_007_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_007_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_007_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_007_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsHoverTargetOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsHoverTargetOverlay(1); - check_ptr_parameter("IVROverlay_007_IsHoverTargetOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsHoverTargetOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_007_GetGamepadFocusOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetGamepadFocusOverlay(); - check_ptr_parameter("IVROverlay_007_GetGamepadFocusOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetGamepadFocusOverlay)(VROverlayHandle_t ulNewFocusOverlay) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetGamepadFocusOverlay(1); - check_ptr_parameter("IVROverlay_007_SetGamepadFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetGamepadFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayNeighbor(1, 2, 3); - check_ptr_parameter("IVROverlay_007_SetOverlayNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_007_SetOverlayNeighbor", 1); - check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 2); - check_uint64_parameter("IVROverlay_007_SetOverlayNeighbor", 3); - - init_thunk(t, this_ptr_value, IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_MoveGamepadFocusToNeighbor)(EOverlayDirection eDirection, VROverlayHandle_t ulFrom) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_MoveGamepadFocusToNeighbor(1, 2); - check_ptr_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", this_ptr_value); - check_uint32_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 1); - check_uint64_parameter("IVROverlay_007_MoveGamepadFocusToNeighbor", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_007_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_007_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_007_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_007_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_007_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_007_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_007_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_007_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_007_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_007_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_007_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_007_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_007_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1, 7); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_007_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_007_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_007_ShowKeyboard", 1); - check_uint64_parameter("IVROverlay_007_ShowKeyboard", 7); - - init_thunk(t, this_ptr_value, IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); - EVROverlayError (__stdcall *capi_IVROverlay_007_ShowKeyboardForOverlay)(VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_ShowKeyboardForOverlay(1, 2, 3, (void *)4, 5, (void *)6, 1, 8); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 2); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 3); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)4); - check_uint32_parameter("IVROverlay_007_ShowKeyboardForOverlay", 5); - check_ptr_parameter("IVROverlay_007_ShowKeyboardForOverlay", (void *)6); - check_bool_parameter("IVROverlay_007_ShowKeyboardForOverlay", 1); - check_uint64_parameter("IVROverlay_007_ShowKeyboardForOverlay", 8); - - init_thunk(t, this_ptr_value, IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_007_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_007_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_007_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_007_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_007_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_007_HideKeyboard(); - check_ptr_parameter("IVROverlay_007_HideKeyboard", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_006_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_006_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_006_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_006_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_006_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_006_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_006_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_006_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_006_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_006_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_006_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_006_ComputeDistortion", 1); - check_float_parameter("IVRSystem_006_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_006_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_006_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_006_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_006_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_006_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_006_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_006_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_006_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_006_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - EDeviceActivityLevel (__stdcall *capi_IVRSystem_006_GetTrackedDeviceActivityLevel)(TrackedDeviceIndex_t unDeviceId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetTrackedDeviceActivityLevel(1); - check_ptr_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetTrackedDeviceActivityLevel", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_006_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_006_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_006_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_006_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_006_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_006_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_006_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_006_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_006_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_006_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_006_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_006_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_006_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_006_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_006_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerState", 1); - check_ptr_parameter("IVRSystem_006_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_006_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_006_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_006_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_006_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_006_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_006_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_006_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_006_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_006_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_006_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_006_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_006_DriverDebugRequest", 4); - - init_thunk(t, this_ptr_value, IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); - VRFirmwareError (__stdcall *capi_IVRSystem_006_PerformFirmwareUpdate)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_PerformFirmwareUpdate(1); - check_ptr_parameter("IVRSystem_006_PerformFirmwareUpdate", this_ptr_value); - check_uint32_parameter("IVRSystem_006_PerformFirmwareUpdate", 1); - - init_thunk(t, this_ptr_value, IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_IsDisplayOnDesktop)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_IsDisplayOnDesktop(); - check_ptr_parameter("IVRSystem_006_IsDisplayOnDesktop", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_006_SetDisplayVisibility)(bool bIsVisibleOnDesktop) = (void *)t; - - clear_parameters(); - capi_IVRSystem_006_SetDisplayVisibility(1); - check_ptr_parameter("IVRSystem_006_SetDisplayVisibility", this_ptr_value); - check_bool_parameter("IVRSystem_006_SetDisplayVisibility", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRApplications_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRApplications_001_AddApplicationManifest, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_AddApplicationManifest)(const char * pchApplicationManifestFullPath, bool bTemporary) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_AddApplicationManifest((void *)1, 1); - check_ptr_parameter("IVRApplications_001_AddApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_001_AddApplicationManifest", (void *)1); - check_bool_parameter("IVRApplications_001_AddApplicationManifest", 1); - - init_thunk(t, this_ptr_value, IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_RemoveApplicationManifest)(const char * pchApplicationManifestFullPath) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_RemoveApplicationManifest((void *)1); - check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", this_ptr_value); - check_ptr_parameter("IVRApplications_001_RemoveApplicationManifest", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_IsApplicationInstalled)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_IsApplicationInstalled((void *)1); - check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", this_ptr_value); - check_ptr_parameter("IVRApplications_001_IsApplicationInstalled", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationCount)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationCount(); - check_ptr_parameter("IVRApplications_001_GetApplicationCount", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByIndex)(uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationKeyByIndex(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 1); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByIndex", (void *)2); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByIndex", 3); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetApplicationKeyByProcessId)(uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationKeyByProcessId(1, (void *)2, 3); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 1); - check_ptr_parameter("IVRApplications_001_GetApplicationKeyByProcessId", (void *)2); - check_uint32_parameter("IVRApplications_001_GetApplicationKeyByProcessId", 3); - - init_thunk(t, this_ptr_value, IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_LaunchApplication((void *)1); - check_ptr_parameter("IVRApplications_001_LaunchApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_LaunchApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_LaunchDashboardOverlay)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_LaunchDashboardOverlay((void *)1); - check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVRApplications_001_LaunchDashboardOverlay", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_IdentifyApplication)(uint32_t unProcessId, const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_IdentifyApplication(1, (void *)2); - check_ptr_parameter("IVRApplications_001_IdentifyApplication", this_ptr_value); - check_uint32_parameter("IVRApplications_001_IdentifyApplication", 1); - check_ptr_parameter("IVRApplications_001_IdentifyApplication", (void *)2); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationProcessId)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationProcessId((void *)1); - check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationProcessId", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_001_GetApplicationsErrorNameFromEnum)(EVRApplicationError error) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationsErrorNameFromEnum(1); - check_ptr_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationsErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRApplications_001_GetApplicationPropertyString)(const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationPropertyString((void *)1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)1); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 2); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)3); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyString", 4); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyString", (void *)5); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_GetApplicationPropertyBool)(const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationPropertyBool((void *)1, 2, (void *)3); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)1); - check_uint32_parameter("IVRApplications_001_GetApplicationPropertyBool", 2); - check_ptr_parameter("IVRApplications_001_GetApplicationPropertyBool", (void *)3); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetHomeApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetHomeApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_001_GetHomeApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetHomeApplication", (void *)1); - check_uint32_parameter("IVRApplications_001_GetHomeApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_SetHomeApplication)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_SetHomeApplication((void *)1); - check_ptr_parameter("IVRApplications_001_SetHomeApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_SetHomeApplication", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_SetApplicationAutoLaunch)(const char * pchAppKey, bool bAutoLaunch) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_SetApplicationAutoLaunch((void *)1, 1); - check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_001_SetApplicationAutoLaunch", (void *)1); - check_bool_parameter("IVRApplications_001_SetApplicationAutoLaunch", 1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRApplications_001_GetApplicationAutoLaunch)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationAutoLaunch((void *)1); - check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetApplicationAutoLaunch", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_GetStartingApplication)(char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetStartingApplication((void *)1, 2); - check_ptr_parameter("IVRApplications_001_GetStartingApplication", this_ptr_value); - check_ptr_parameter("IVRApplications_001_GetStartingApplication", (void *)1); - check_uint32_parameter("IVRApplications_001_GetStartingApplication", 2); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); - EVRApplicationTransitionState (__stdcall *capi_IVRApplications_001_GetTransitionState)() = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetTransitionState(); - check_ptr_parameter("IVRApplications_001_GetTransitionState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - EVRApplicationError (__stdcall *capi_IVRApplications_001_PerformApplicationPrelaunchCheck)(const char * pchAppKey) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_PerformApplicationPrelaunchCheck((void *)1); - check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", this_ptr_value); - check_ptr_parameter("IVRApplications_001_PerformApplicationPrelaunchCheck", (void *)1); - - init_thunk(t, this_ptr_value, IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum)(EVRApplicationTransitionState state) = (void *)t; - - clear_parameters(); - capi_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(1); - check_ptr_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRApplications_001_GetApplicationsTransitionStateNameFromEnum", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRChaperone_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetCalibrationState, 0, FALSE, FALSE); - ChaperoneCalibrationState (__stdcall *capi_IVRChaperone_002_GetCalibrationState)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetCalibrationState(); - check_ptr_parameter("IVRChaperone_002_GetCalibrationState", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetSoftBoundsInfo)(ChaperoneSoftBoundsInfo_t * pInfo) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetSoftBoundsInfo((void *)1); - check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetSoftBoundsInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetHardBoundsInfo)(HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetHardBoundsInfo((void *)1, (void *)2); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)1); - check_ptr_parameter("IVRChaperone_002_GetHardBoundsInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_GetSeatedBoundsInfo)(ChaperoneSeatedBoundsInfo_t * pInfo) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetSeatedBoundsInfo((void *)1); - check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetSeatedBoundsInfo", (void *)1); - - init_thunk(t, this_ptr_value, IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_ReloadInfo)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_ReloadInfo(); - check_ptr_parameter("IVRChaperone_002_ReloadInfo", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_SetSceneColor)(HmdColor_t color) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_SetSceneColor(DEFAULT_COLOR); - check_ptr_parameter("IVRChaperone_002_SetSceneColor", this_ptr_value); - check_HmdColor_parameter("IVRChaperone_002_SetSceneColor", DEFAULT_COLOR); - - init_thunk(t, this_ptr_value, IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_GetBoundsColor)(HmdColor_t * pOutputColorArray, int nNumOutputColors) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_GetBoundsColor((void *)1, 2); - check_ptr_parameter("IVRChaperone_002_GetBoundsColor", this_ptr_value); - check_ptr_parameter("IVRChaperone_002_GetBoundsColor", (void *)1); - check_uint32_parameter("IVRChaperone_002_GetBoundsColor", 2); - - init_thunk(t, this_ptr_value, IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRChaperone_002_AreBoundsVisible)() = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_AreBoundsVisible(); - check_ptr_parameter("IVRChaperone_002_AreBoundsVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); - void (__stdcall *capi_IVRChaperone_002_ForceBoundsVisible)(bool bForce) = (void *)t; - - clear_parameters(); - capi_IVRChaperone_002_ForceBoundsVisible(1); - check_ptr_parameter("IVRChaperone_002_ForceBoundsVisible", this_ptr_value); - check_bool_parameter("IVRChaperone_002_ForceBoundsVisible", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_008(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_008_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_008_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetVSync(1); - check_ptr_parameter("IVRCompositor_008_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_008_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetVSync(); - check_ptr_parameter("IVRCompositor_008_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_008_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_008_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_008_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetGamma(); - check_ptr_parameter("IVRCompositor_008_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_008_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_008_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_008_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_008_Submit, 5, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_008_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_Submit(1, 2, (void *)3, (void *)4, 5); - check_ptr_parameter("IVRCompositor_008_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_Submit", 1); - check_uint32_parameter("IVRCompositor_008_Submit", 2); - check_ptr_parameter("IVRCompositor_008_Submit", (void *)3); - check_ptr_parameter("IVRCompositor_008_Submit", (void *)4); - check_uint32_parameter("IVRCompositor_008_Submit", 5); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_008_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_008_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_008_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_008_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_008_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_008_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_008_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_008_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_008_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_008_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_008_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_008_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_008_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetSkyboxOverride)(GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetSkyboxOverride(1, (void *)2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_SetSkyboxOverride", 1); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)2); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)3); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)4); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)5); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)6); - check_ptr_parameter("IVRCompositor_008_SetSkyboxOverride", (void *)7); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ClearSkyboxOverride)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ClearSkyboxOverride(); - check_ptr_parameter("IVRCompositor_008_ClearSkyboxOverride", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_008_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_008_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorQuit(); - check_ptr_parameter("IVRCompositor_008_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_IsFullscreen(); - check_ptr_parameter("IVRCompositor_008_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_008_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_008_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_008_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_008_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_008_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_008_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CanRenderScene(); - check_ptr_parameter("IVRCompositor_008_CanRenderScene", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_ShowMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_ShowMirrorWindow(); - check_ptr_parameter("IVRCompositor_008_ShowMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_HideMirrorWindow)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_HideMirrorWindow(); - check_ptr_parameter("IVRCompositor_008_HideMirrorWindow", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_008_CompositorDumpImages)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_CompositorDumpImages(); - check_ptr_parameter("IVRCompositor_008_CompositorDumpImages", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_008_GetFrameTimeRemaining)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetFrameTimeRemaining(); - check_ptr_parameter("IVRCompositor_008_GetFrameTimeRemaining", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_008_GetLastFrameRenderer)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_008_GetLastFrameRenderer(); - check_ptr_parameter("IVRCompositor_008_GetLastFrameRenderer", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRNotifications_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRNotifications_001_GetErrorString, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRNotifications_001_GetErrorString)(NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_GetErrorString(1, (void *)2, 3); - check_ptr_parameter("IVRNotifications_001_GetErrorString", this_ptr_value); - check_uint32_parameter("IVRNotifications_001_GetErrorString", 1); - check_ptr_parameter("IVRNotifications_001_GetErrorString", (void *)2); - check_uint32_parameter("IVRNotifications_001_GetErrorString", 3); - - init_thunk(t, this_ptr_value, IVRNotifications_001_CreateNotification, 7, FALSE, FALSE); - NotificationError_t (__stdcall *capi_IVRNotifications_001_CreateNotification)(VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_CreateNotification(1, 2, (void *)3, (void *)4, (void *)5, (void *)6, (void *)7); - check_ptr_parameter("IVRNotifications_001_CreateNotification", this_ptr_value); - check_uint64_parameter("IVRNotifications_001_CreateNotification", 1); - check_uint64_parameter("IVRNotifications_001_CreateNotification", 2); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)3); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)4); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)5); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)6); - check_ptr_parameter("IVRNotifications_001_CreateNotification", (void *)7); - - init_thunk(t, this_ptr_value, IVRNotifications_001_DismissNotification, 1, FALSE, FALSE); - NotificationError_t (__stdcall *capi_IVRNotifications_001_DismissNotification)(VRNotificationId notificationId) = (void *)t; - - clear_parameters(); - capi_IVRNotifications_001_DismissNotification(1); - check_ptr_parameter("IVRNotifications_001_DismissNotification", this_ptr_value); - check_uint32_parameter("IVRNotifications_001_DismissNotification", 1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_005_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_005_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_005_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_005_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_005_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_005_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_005_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_005_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_005_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_005_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_005_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_005_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_005_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_005_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayColor", 1); - check_float_parameter("IVROverlay_005_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_005_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_005_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_005_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_005_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_005_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowOverlay(1); - check_ptr_parameter("IVROverlay_005_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HideOverlay(1); - check_ptr_parameter("IVROverlay_005_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_005_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_005_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_005_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_005_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_005_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_005_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_005_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsFocusOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsFocusOverlay(1); - check_ptr_parameter("IVROverlay_005_IsFocusOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsFocusOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_005_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_005_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_005_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_005_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_005_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_005_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_005_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_005_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_005_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_005_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_005_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_005_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_005_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_005_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_005_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_005_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_005_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_005_ShowDashboard", (void *)1); - - init_thunk(t, this_ptr_value, IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_005_ShowKeyboard)(EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_ShowKeyboard(1, 2, (void *)3, 4, (void *)5, 1); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", this_ptr_value); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 1); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 2); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)3); - check_uint32_parameter("IVROverlay_005_ShowKeyboard", 4); - check_ptr_parameter("IVROverlay_005_ShowKeyboard", (void *)5); - check_bool_parameter("IVROverlay_005_ShowKeyboard", 1); - - init_thunk(t, this_ptr_value, IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_005_GetKeyboardText)(char * pchText, uint32_t cchText) = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_GetKeyboardText((void *)1, 2); - check_ptr_parameter("IVROverlay_005_GetKeyboardText", this_ptr_value); - check_ptr_parameter("IVROverlay_005_GetKeyboardText", (void *)1); - check_uint32_parameter("IVROverlay_005_GetKeyboardText", 2); - - init_thunk(t, this_ptr_value, IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_005_HideKeyboard)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_005_HideKeyboard(); - check_ptr_parameter("IVROverlay_005_HideKeyboard", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRRenderModels_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRRenderModels_001_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRRenderModels_001_LoadRenderModel", (void *)2); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRRenderModels_001_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_FreeRenderModel((void *)1); - check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRRenderModels_001_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelName)(uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_GetRenderModelName(1, (void *)2, 3); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", this_ptr_value); - check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 1); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelName", (void *)2); - check_uint32_parameter("IVRRenderModels_001_GetRenderModelName", 3); - - init_thunk(t, this_ptr_value, IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRRenderModels_001_GetRenderModelCount)() = (void *)t; - - clear_parameters(); - capi_IVRRenderModels_001_GetRenderModelCount(); - check_ptr_parameter("IVRRenderModels_001_GetRenderModelCount", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_005_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_005_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_005_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_005_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_005_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_005_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_005_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_005_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_005_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_005_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_005_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_005_ComputeDistortion", 1); - check_float_parameter("IVRSystem_005_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_005_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_005_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_005_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_005_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_005_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_005_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_005_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_005_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_005_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass)(TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(1, (void *)2, 3, 4); - check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 1); - check_ptr_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", (void *)2); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 3); - check_uint32_parameter("IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass", 4); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_005_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_005_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_005_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_005_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_005_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_005_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_005_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_005_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_005_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_005_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_005_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_005_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_005_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_005_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_005_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerState", 1); - check_ptr_parameter("IVRSystem_005_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_005_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_005_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_005_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_005_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_005_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_005_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_005_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_005_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_005_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_005_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_005_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_005_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_005_DriverDebugRequest", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_007(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_007_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_007_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_007_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetVSync(1); - check_ptr_parameter("IVRCompositor_007_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_007_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetVSync(); - check_ptr_parameter("IVRCompositor_007_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_007_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_007_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_007_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetGamma(); - check_ptr_parameter("IVRCompositor_007_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_007_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_007_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_007_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_007_Submit, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_007_Submit)(Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_Submit(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRCompositor_007_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_007_Submit", 1); - check_uint32_parameter("IVRCompositor_007_Submit", 2); - check_ptr_parameter("IVRCompositor_007_Submit", (void *)3); - check_ptr_parameter("IVRCompositor_007_Submit", (void *)4); - - init_thunk(t, this_ptr_value, IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_007_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_007_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_007_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_007_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_007_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_007_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_007_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_007_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_007_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_007_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_007_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_007_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_007_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_007_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_007_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CompositorQuit(); - check_ptr_parameter("IVRCompositor_007_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_IsFullscreen(); - check_ptr_parameter("IVRCompositor_007_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_007_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_007_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_007_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_007_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_007_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_007_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_007_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_007_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_007_CanRenderScene(); - check_ptr_parameter("IVRCompositor_007_CanRenderScene", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_004_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_004_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_004_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_004_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_004_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_004_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_004_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_004_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_004_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_004_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_004_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_004_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_004_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_004_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_004_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayColor", 1); - check_float_parameter("IVROverlay_004_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_004_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_004_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_004_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_004_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_004_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(1, 2.0f, 3.0f); - check_ptr_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 1); - check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 2.0f); - check_float_parameter("IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters", 3.0f); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ShowOverlay(1); - check_ptr_parameter("IVROverlay_004_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_HideOverlay(1); - check_ptr_parameter("IVROverlay_004_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_004_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_004_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_004_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_004_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_004_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_004_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_004_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_004_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_004_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_004_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_004_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_004_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_004_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_004_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_004_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_004_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_004_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_004_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_004_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_004_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_004_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_004_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_004_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_004_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_004_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_004_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_004_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_004_ShowDashboard", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_003_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_003_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_003_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_003_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_003_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_003_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_003_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayKey)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayKey(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayKey", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayKey", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayKey", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVROverlay_003_GetOverlayName)(VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayName(1, (void *)2, 3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayName", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayName", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayName", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayName", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayImageData)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayImageData(1, (void *)2, 3, (void *)4, (void *)5); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayImageData", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)2); - check_uint32_parameter("IVROverlay_003_GetOverlayImageData", 3); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayImageData", (void *)5); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_003_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_003_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_003_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_003_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_003_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_003_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayColor", 1); - check_float_parameter("IVROverlay_003_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_003_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_003_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_003_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_003_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_003_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_003_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ShowOverlay(1); - check_ptr_parameter("IVROverlay_003_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_HideOverlay(1); - check_ptr_parameter("IVROverlay_003_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_003_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_003_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_003_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_003_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_003_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_003_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_003_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_003_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_003_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_003_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_003_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_003_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_003_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_003_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_003_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_003_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_003_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_003_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_003_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_003_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_003_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_003_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_003_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_003_GetDashboardOverlaySceneProcess", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); - void (__stdcall *capi_IVROverlay_003_ShowDashboard)(const char * pchOverlayToShow) = (void *)t; - - clear_parameters(); - capi_IVROverlay_003_ShowDashboard((void *)1); - check_ptr_parameter("IVROverlay_003_ShowDashboard", this_ptr_value); - check_ptr_parameter("IVROverlay_003_ShowDashboard", (void *)1); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_002(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_002_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_002_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_002_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_002_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_002_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_002_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_002_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_002_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_002_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_002_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_002_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_002_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_002_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayColor(1, 2.0f, 3.0f, 4.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayColor", 1); - check_float_parameter("IVROverlay_002_SetOverlayColor", 2.0f); - check_float_parameter("IVROverlay_002_SetOverlayColor", 3.0f); - check_float_parameter("IVROverlay_002_SetOverlayColor", 4.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayColor)(VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayColor(1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayColor", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayColor", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_002_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_002_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_002_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_002_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ShowOverlay(1); - check_ptr_parameter("IVROverlay_002_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_HideOverlay(1); - check_ptr_parameter("IVROverlay_002_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_002_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_002_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_002_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_002_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_002_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_002_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_002_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_002_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayTexture(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_002_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayTexture", 1); - check_uint32_parameter("IVROverlay_002_SetOverlayTexture", 2); - check_ptr_parameter("IVROverlay_002_SetOverlayTexture", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_ClearOverlayTexture)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_ClearOverlayTexture(1); - check_ptr_parameter("IVROverlay_002_ClearOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_002_ClearOverlayTexture", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_002_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_002_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_002_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_CreateDashboardOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_CreateDashboardOverlay((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)1); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)2); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)3); - check_ptr_parameter("IVROverlay_002_CreateDashboardOverlay", (void *)4); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsDashboardVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsDashboardVisible(); - check_ptr_parameter("IVROverlay_002_IsDashboardVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_002_IsActiveDashboardOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_IsActiveDashboardOverlay(1); - check_ptr_parameter("IVROverlay_002_IsActiveDashboardOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_002_IsActiveDashboardOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_SetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_SetDashboardOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_002_SetDashboardOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_002_GetDashboardOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_002_GetDashboardOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_002_GetDashboardOverlaySceneProcess", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_004(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_004_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_004_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_004_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_004_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_004_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_004_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_004_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_004_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_004_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_004_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_004_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_004_ComputeDistortion", 1); - check_float_parameter("IVRSystem_004_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_004_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_004_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_004_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_004_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_004_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_004_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_004_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_004_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_004_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_004_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_004_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_004_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_004_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_004_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_004_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_004_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_004_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_004_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_004_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_004_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_004_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_004_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_004_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_004_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_004_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerState", 1); - check_ptr_parameter("IVRSystem_004_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_004_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_004_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_004_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_004_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_004_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_004_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_004_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_004_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_004_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_004_DriverDebugRequest)(TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRSystem_004_DriverDebugRequest(1, (void *)2, (void *)3, 4); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", this_ptr_value); - check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 1); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)2); - check_ptr_parameter("IVRSystem_004_DriverDebugRequest", (void *)3); - check_uint32_parameter("IVRSystem_004_DriverDebugRequest", 4); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_006(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_006_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_006_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_006_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetVSync(1); - check_ptr_parameter("IVRCompositor_006_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_006_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetVSync(); - check_ptr_parameter("IVRCompositor_006_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_006_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_006_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_006_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetGamma(); - check_ptr_parameter("IVRCompositor_006_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetGraphicsDevice(1, (void *)2); - check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_SetGraphicsDevice", 1); - check_ptr_parameter("IVRCompositor_006_SetGraphicsDevice", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_006_WaitGetPoses)(TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_WaitGetPoses((void *)1, 2, (void *)3, 4); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 2); - check_ptr_parameter("IVRCompositor_006_WaitGetPoses", (void *)3); - check_uint32_parameter("IVRCompositor_006_WaitGetPoses", 4); - - init_thunk(t, this_ptr_value, IVRCompositor_006_Submit, 3, FALSE, FALSE); - VRCompositorError (__stdcall *capi_IVRCompositor_006_Submit)(Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_Submit(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_006_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_Submit", 1); - check_ptr_parameter("IVRCompositor_006_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_006_Submit", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_006_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_006_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_006_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_006_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_006_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_006_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_006_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_006_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_006_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_006_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_006_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_006_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_006_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_006_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_006_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CompositorQuit(); - check_ptr_parameter("IVRCompositor_006_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_IsFullscreen(); - check_ptr_parameter("IVRCompositor_006_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_006_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_006_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_006_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_006_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_006_GetTrackingSpace", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_006_GetCurrentSceneFocusProcess)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_GetCurrentSceneFocusProcess(); - check_ptr_parameter("IVRCompositor_006_GetCurrentSceneFocusProcess", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_006_CanRenderScene)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_006_CanRenderScene(); - check_ptr_parameter("IVRCompositor_006_CanRenderScene", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVROverlay_001(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVROverlay_001_FindOverlay, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_FindOverlay)(const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_FindOverlay((void *)1, (void *)2); - check_ptr_parameter("IVROverlay_001_FindOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)1); - check_ptr_parameter("IVROverlay_001_FindOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_CreateOverlay)(const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_CreateOverlay((void *)1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_CreateOverlay", this_ptr_value); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)1); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)2); - check_ptr_parameter("IVROverlay_001_CreateOverlay", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_DestroyOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_DestroyOverlay(1); - check_ptr_parameter("IVROverlay_001_DestroyOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_DestroyOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetHighQualityOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetHighQualityOverlay(1); - check_ptr_parameter("IVROverlay_001_SetHighQualityOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetHighQualityOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); - VROverlayHandle_t (__stdcall *capi_IVROverlay_001_GetHighQualityOverlay)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetHighQualityOverlay(); - check_ptr_parameter("IVROverlay_001_GetHighQualityOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVROverlay_001_GetOverlayErrorNameFromEnum)(VROverlayError error) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayErrorNameFromEnum(1); - check_ptr_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVROverlay_001_GetOverlayErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayFlag(1, 2, 1); - check_ptr_parameter("IVROverlay_001_SetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayFlag", 2); - check_bool_parameter("IVROverlay_001_SetOverlayFlag", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayFlag)(VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayFlag(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayFlag", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayFlag", 1); - check_uint32_parameter("IVROverlay_001_GetOverlayFlag", 2); - check_ptr_parameter("IVROverlay_001_GetOverlayFlag", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float fAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayAlpha(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayAlpha", 1); - check_float_parameter("IVROverlay_001_SetOverlayAlpha", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayAlpha)(VROverlayHandle_t ulOverlayHandle, float * pfAlpha) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayAlpha(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayAlpha", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayAlpha", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float fGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayGamma(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayGamma", 1); - check_float_parameter("IVROverlay_001_SetOverlayGamma", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayGamma)(VROverlayHandle_t ulOverlayHandle, float * pfGamma) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayGamma(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayGamma", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayGamma", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayGamma", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayWidthInMeters(1, 2.0f); - check_ptr_parameter("IVROverlay_001_SetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayWidthInMeters", 1); - check_float_parameter("IVROverlay_001_SetOverlayWidthInMeters", 2.0f); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayWidthInMeters)(VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayWidthInMeters(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayWidthInMeters", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayWidthInMeters", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTextureBounds)(VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTextureBounds(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTextureBounds", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTextureBounds", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformType)(VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformType(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformType", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformType", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTransformAbsolute(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayTransformAbsolute", 2); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformAbsolute)(VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformAbsolute(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformAbsolute", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformAbsolute", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(1, 2, (void *)3); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", 2); - check_ptr_parameter("IVROverlay_001_SetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayTransformTrackedDeviceRelative", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayVisibility(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayVisibility", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayVisibility", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayVisibility)(VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayVisibility(1, 2); - check_ptr_parameter("IVROverlay_001_SetOverlayVisibility", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayVisibility", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayVisibility", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_ShowOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_ShowOverlay(1); - check_ptr_parameter("IVROverlay_001_ShowOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_ShowOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_HideOverlay, 1, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_HideOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_HideOverlay(1); - check_ptr_parameter("IVROverlay_001_HideOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_HideOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsOverlayVisible)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsOverlayVisible(1); - check_ptr_parameter("IVROverlay_001_IsOverlayVisible", this_ptr_value); - check_uint64_parameter("IVROverlay_001_IsOverlayVisible", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_PollNextOverlayEvent)(VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_PollNextOverlayEvent(1, (void *)2); - check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", this_ptr_value); - check_uint64_parameter("IVROverlay_001_PollNextOverlayEvent", 1); - check_ptr_parameter("IVROverlay_001_PollNextOverlayEvent", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayInputMethod(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayInputMethod", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayInputMethod", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayInputMethod)(VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayInputMethod(1, 2); - check_ptr_parameter("IVROverlay_001_SetOverlayInputMethod", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayInputMethod", 1); - check_uint32_parameter("IVROverlay_001_SetOverlayInputMethod", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_001_GetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayMouseScale)(VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayMouseScale(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayMouseScale", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayMouseScale", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_ComputeOverlayIntersection)(VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_ComputeOverlayIntersection(1, (void *)2, (void *)3); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", this_ptr_value); - check_uint64_parameter("IVROverlay_001_ComputeOverlayIntersection", 1); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)2); - check_ptr_parameter("IVROverlay_001_ComputeOverlayIntersection", (void *)3); - - init_thunk(t, this_ptr_value, IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse)(VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(1, 2); - check_ptr_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_uint64_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 1); - check_uint32_parameter("IVROverlay_001_HandleControllerOverlayInteractionAsMouse", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayTexture)(VROverlayHandle_t ulOverlayHandle, void * pTexture) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayTexture(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayTexture", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayTexture", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayTexture", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayRaw)(VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayRaw(1, (void *)2, 3, 4, 5); - check_ptr_parameter("IVROverlay_001_SetOverlayRaw", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayRaw", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayRaw", (void *)2); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 3); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 4); - check_uint32_parameter("IVROverlay_001_SetOverlayRaw", 5); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetOverlayFromFile)(VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetOverlayFromFile(1, (void *)2); - check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetOverlayFromFile", 1); - check_ptr_parameter("IVROverlay_001_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsSystemOverlayVisible)() = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsSystemOverlayVisible(); - check_ptr_parameter("IVROverlay_001_IsSystemOverlayVisible", this_ptr_value); - - init_thunk(t, this_ptr_value, IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); - bool (__stdcall *capi_IVROverlay_001_IsActiveSystemOverlay)(VROverlayHandle_t ulOverlayHandle) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_IsActiveSystemOverlay(1); - check_ptr_parameter("IVROverlay_001_IsActiveSystemOverlay", this_ptr_value); - check_uint64_parameter("IVROverlay_001_IsActiveSystemOverlay", 1); - - init_thunk(t, this_ptr_value, IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_SetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_SetSystemOverlaySceneProcess(1, 2); - check_ptr_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 1); - check_uint32_parameter("IVROverlay_001_SetSystemOverlaySceneProcess", 2); - - init_thunk(t, this_ptr_value, IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); - VROverlayError (__stdcall *capi_IVROverlay_001_GetSystemOverlaySceneProcess)(VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) = (void *)t; - - clear_parameters(); - capi_IVROverlay_001_GetSystemOverlaySceneProcess(1, (void *)2); - check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", this_ptr_value); - check_uint64_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", 1); - check_ptr_parameter("IVROverlay_001_GetSystemOverlaySceneProcess", (void *)2); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRSystem_003(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetWindowBounds)(int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetWindowBounds((void *)1, (void *)2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)1); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)2); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)3); - check_ptr_parameter("IVRSystem_003_GetWindowBounds", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetRecommendedRenderTargetSize)(uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetRecommendedRenderTargetSize((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)1); - check_ptr_parameter("IVRSystem_003_GetRecommendedRenderTargetSize", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetEyeOutputViewport)(Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEyeOutputViewport(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEyeOutputViewport", 1); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)2); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)3); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)4); - check_ptr_parameter("IVRSystem_003_GetEyeOutputViewport", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); - HmdMatrix44_t *(__stdcall *capi_IVRSystem_003_GetProjectionMatrix)(HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetProjectionMatrix(data_ptr_value, 1, 2.0f, 3.0f, 4); - check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetProjectionMatrix", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 1); - check_float_parameter("IVRSystem_003_GetProjectionMatrix", 2.0f); - check_float_parameter("IVRSystem_003_GetProjectionMatrix", 3.0f); - check_uint32_parameter("IVRSystem_003_GetProjectionMatrix", 4); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetProjectionRaw)(Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetProjectionRaw(1, (void *)2, (void *)3, (void *)4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetProjectionRaw", 1); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)2); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)3); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)4); - check_ptr_parameter("IVRSystem_003_GetProjectionRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); - DistortionCoordinates_t *(__stdcall *capi_IVRSystem_003_ComputeDistortion)(DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ComputeDistortion(data_ptr_value, 1, 2.0f, 3.0f); - check_ptr_parameter("IVRSystem_003_ComputeDistortion", this_ptr_value); - check_ptr_parameter("IVRSystem_003_ComputeDistortion", data_ptr_value); - check_uint32_parameter("IVRSystem_003_ComputeDistortion", 1); - check_float_parameter("IVRSystem_003_ComputeDistortion", 2.0f); - check_float_parameter("IVRSystem_003_ComputeDistortion", 3.0f); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetEyeToHeadTransform)(HmdMatrix34_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEyeToHeadTransform(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetEyeToHeadTransform", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEyeToHeadTransform", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetTimeSinceLastVsync)(float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetTimeSinceLastVsync((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)1); - check_ptr_parameter("IVRSystem_003_GetTimeSinceLastVsync", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_003_GetD3D9AdapterIndex)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetD3D9AdapterIndex(); - check_ptr_parameter("IVRSystem_003_GetD3D9AdapterIndex", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetDXGIOutputInfo)(int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetDXGIOutputInfo((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)1); - check_ptr_parameter("IVRSystem_003_GetDXGIOutputInfo", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_AttachToWindow)(void * hWnd) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_AttachToWindow((void *)1); - check_ptr_parameter("IVRSystem_003_AttachToWindow", this_ptr_value); - check_ptr_parameter("IVRSystem_003_AttachToWindow", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - void (__stdcall *capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose)(TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(1, 2.0f, (void *)3, 4); - check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 1); - check_float_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 2.0f); - check_ptr_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", (void *)3); - check_uint32_parameter("IVRSystem_003_GetDeviceToAbsoluteTrackingPose", 4); - - init_thunk(t, this_ptr_value, IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_ResetSeatedZeroPose)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ResetSeatedZeroPose(); - check_ptr_parameter("IVRSystem_003_ResetSeatedZeroPose", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose)(HmdMatrix34_t *_r) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(data_ptr_value); - check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose", data_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_LoadRenderModel)(const char * pchRenderModelName, RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_LoadRenderModel((void *)1, (void *)2); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", this_ptr_value); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)1); - check_ptr_parameter("IVRSystem_003_LoadRenderModel", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_FreeRenderModel)(RenderModel_t * pRenderModel) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_FreeRenderModel((void *)1); - check_ptr_parameter("IVRSystem_003_FreeRenderModel", this_ptr_value); - check_ptr_parameter("IVRSystem_003_FreeRenderModel", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); - TrackedDeviceClass (__stdcall *capi_IVRSystem_003_GetTrackedDeviceClass)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetTrackedDeviceClass(1); - check_ptr_parameter("IVRSystem_003_GetTrackedDeviceClass", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetTrackedDeviceClass", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_IsTrackedDeviceConnected)(TrackedDeviceIndex_t unDeviceIndex) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_IsTrackedDeviceConnected(1); - check_ptr_parameter("IVRSystem_003_IsTrackedDeviceConnected", this_ptr_value); - check_uint32_parameter("IVRSystem_003_IsTrackedDeviceConnected", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetBoolTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetBoolTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetBoolTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - float (__stdcall *capi_IVRSystem_003_GetFloatTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetFloatTrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetFloatTrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - int32_t (__stdcall *capi_IVRSystem_003_GetInt32TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetInt32TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetInt32TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - uint64_t (__stdcall *capi_IVRSystem_003_GetUint64TrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetUint64TrackedDeviceProperty(1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetUint64TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - HmdMatrix34_t *(__stdcall *capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty)(HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetMatrix34TrackedDeviceProperty(data_ptr_value, 1, 2, (void *)3); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetMatrix34TrackedDeviceProperty", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRSystem_003_GetStringTrackedDeviceProperty)(TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetStringTrackedDeviceProperty(1, 2, (void *)3, 4, (void *)5); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 1); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 2); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)3); - check_uint32_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", 4); - check_ptr_parameter("IVRSystem_003_GetStringTrackedDeviceProperty", (void *)5); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetPropErrorNameFromEnum)(TrackedPropertyError error) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetPropErrorNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetPropErrorNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetPropErrorNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_PollNextEvent)(VREvent_t * pEvent) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_PollNextEvent((void *)1); - check_ptr_parameter("IVRSystem_003_PollNextEvent", this_ptr_value); - check_ptr_parameter("IVRSystem_003_PollNextEvent", (void *)1); - - init_thunk(t, this_ptr_value, IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_PollNextEventWithPose)(TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_PollNextEventWithPose(1, (void *)2, (void *)3); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_PollNextEventWithPose", 1); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)2); - check_ptr_parameter("IVRSystem_003_PollNextEventWithPose", (void *)3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetEventTypeNameFromEnum)(EVREventType eType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetEventTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetEventTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetEventTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); - HiddenAreaMesh_t *(__stdcall *capi_IVRSystem_003_GetHiddenAreaMesh)(HiddenAreaMesh_t *_r, Hmd_Eye eEye) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetHiddenAreaMesh(data_ptr_value, 1); - check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", this_ptr_value); - check_ptr_parameter("IVRSystem_003_GetHiddenAreaMesh", data_ptr_value); - check_uint32_parameter("IVRSystem_003_GetHiddenAreaMesh", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerState, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetControllerState)(TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerState(1, (void *)2); - check_ptr_parameter("IVRSystem_003_GetControllerState", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerState", 1); - check_ptr_parameter("IVRSystem_003_GetControllerState", (void *)2); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_GetControllerStateWithPose)(TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, VRControllerState_t * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerStateWithPose(1, 2, (void *)3, (void *)4); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 1); - check_uint32_parameter("IVRSystem_003_GetControllerStateWithPose", 2); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)3); - check_ptr_parameter("IVRSystem_003_GetControllerStateWithPose", (void *)4); - - init_thunk(t, this_ptr_value, IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_TriggerHapticPulse)(TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_TriggerHapticPulse(1, 2, 3); - check_ptr_parameter("IVRSystem_003_TriggerHapticPulse", this_ptr_value); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 1); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 2); - check_uint32_parameter("IVRSystem_003_TriggerHapticPulse", 3); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetButtonIdNameFromEnum)(EVRButtonId eButtonId) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetButtonIdNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetButtonIdNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetButtonIdNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - const char * (__stdcall *capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum)(EVRControllerAxisType eAxisType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_GetControllerAxisTypeNameFromEnum(1); - check_ptr_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", this_ptr_value); - check_uint32_parameter("IVRSystem_003_GetControllerAxisTypeNameFromEnum", 1); - - init_thunk(t, this_ptr_value, IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse)(Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_HandleControllerOverlayInteractionAsMouse((void *)1, DEFAULT_VECTOR2, DEFAULT_VECTOR2, 4, 5); - check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", this_ptr_value); - check_ptr_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", (void *)1); - check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); - check_HmdVector2_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", DEFAULT_VECTOR2); - check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 4); - check_uint32_parameter("IVRSystem_003_HandleControllerOverlayInteractionAsMouse", 5); - - init_thunk(t, this_ptr_value, IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_CaptureInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_CaptureInputFocus(); - check_ptr_parameter("IVRSystem_003_CaptureInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); - void (__stdcall *capi_IVRSystem_003_ReleaseInputFocus)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_ReleaseInputFocus(); - check_ptr_parameter("IVRSystem_003_ReleaseInputFocus", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess)() = (void *)t; - - clear_parameters(); - capi_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(); - check_ptr_parameter("IVRSystem_003_IsInputFocusCapturedByAnotherProcess", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} - -void test_capi_thunks_IVRCompositor_005(void) -{ - struct thunk *t = alloc_thunks(1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetLastError, 2, FALSE, FALSE); - uint32_t (__stdcall *capi_IVRCompositor_005_GetLastError)(char * pchBuffer, uint32_t unBufferSize) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetLastError((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_GetLastError", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetLastError", (void *)1); - check_uint32_parameter("IVRCompositor_005_GetLastError", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetVSync, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetVSync)(bool bVSync) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetVSync(1); - check_ptr_parameter("IVRCompositor_005_SetVSync", this_ptr_value); - check_bool_parameter("IVRCompositor_005_SetVSync", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetVSync, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_GetVSync)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetVSync(); - check_ptr_parameter("IVRCompositor_005_GetVSync", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetGamma, 1, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetGamma)(float fGamma) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetGamma(1.0f); - check_ptr_parameter("IVRCompositor_005_SetGamma", this_ptr_value); - check_float_parameter("IVRCompositor_005_SetGamma", 1.0f); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetGamma, 0, FALSE, FALSE); - float (__stdcall *capi_IVRCompositor_005_GetGamma)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetGamma(); - check_ptr_parameter("IVRCompositor_005_GetGamma", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetGraphicsDevice)(Compositor_DeviceType eType, void * pDevice) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetGraphicsDevice(1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_SetGraphicsDevice", 1); - check_ptr_parameter("IVRCompositor_005_SetGraphicsDevice", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_WaitGetPoses)(TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_WaitGetPoses((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_WaitGetPoses", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_WaitGetPoses", (void *)1); - check_uint32_parameter("IVRCompositor_005_WaitGetPoses", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_Submit, 3, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_Submit)(Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_Submit(1, (void *)2, (void *)3); - check_ptr_parameter("IVRCompositor_005_Submit", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_Submit", 1); - check_ptr_parameter("IVRCompositor_005_Submit", (void *)2); - check_ptr_parameter("IVRCompositor_005_Submit", (void *)3); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_ClearLastSubmittedFrame)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ClearLastSubmittedFrame(); - check_ptr_parameter("IVRCompositor_005_ClearLastSubmittedFrame", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_GetOverlayDefaults)(Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetOverlayDefaults((void *)1); - check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetOverlayDefaults", (void *)1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlay)(void * pTexture, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlay((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetOverlay", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)1); - check_ptr_parameter("IVRCompositor_005_SetOverlay", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlayRaw)(void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlayRaw((void *)1, 2, 3, 4, (void *)5); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)1); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 2); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 3); - check_uint32_parameter("IVRCompositor_005_SetOverlayRaw", 4); - check_ptr_parameter("IVRCompositor_005_SetOverlayRaw", (void *)5); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetOverlayFromFile)(const char * pchFilePath, Compositor_OverlaySettings * pSettings) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetOverlayFromFile((void *)1, (void *)2); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)1); - check_ptr_parameter("IVRCompositor_005_SetOverlayFromFile", (void *)2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_ClearOverlay)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ClearOverlay(); - check_ptr_parameter("IVRCompositor_005_ClearOverlay", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_GetFrameTiming)(Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetFrameTiming((void *)1, 2); - check_ptr_parameter("IVRCompositor_005_GetFrameTiming", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_GetFrameTiming", (void *)1); - check_uint32_parameter("IVRCompositor_005_GetFrameTiming", 2); - - init_thunk(t, this_ptr_value, IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); - void (__stdcall *capi_IVRCompositor_005_FadeToColor)(float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_FadeToColor(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 1); - check_ptr_parameter("IVRCompositor_005_FadeToColor", this_ptr_value); - check_float_parameter("IVRCompositor_005_FadeToColor", 1.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 2.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 3.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 4.0f); - check_float_parameter("IVRCompositor_005_FadeToColor", 5.0f); - check_bool_parameter("IVRCompositor_005_FadeToColor", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); - void (__stdcall *capi_IVRCompositor_005_FadeGrid)(float fSeconds, bool bFadeIn) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_FadeGrid(1.0f, 1); - check_ptr_parameter("IVRCompositor_005_FadeGrid", this_ptr_value); - check_float_parameter("IVRCompositor_005_FadeGrid", 1.0f); - check_bool_parameter("IVRCompositor_005_FadeGrid", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorBringToFront)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorBringToFront(); - check_ptr_parameter("IVRCompositor_005_CompositorBringToFront", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorGoToBack)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorGoToBack(); - check_ptr_parameter("IVRCompositor_005_CompositorGoToBack", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_CompositorQuit)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_CompositorQuit(); - check_ptr_parameter("IVRCompositor_005_CompositorQuit", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_IsFullscreen)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_IsFullscreen(); - check_ptr_parameter("IVRCompositor_005_IsFullscreen", this_ptr_value); - - init_thunk(t, this_ptr_value, IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); - bool (__stdcall *capi_IVRCompositor_005_ComputeOverlayIntersection)(Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_ComputeOverlayIntersection((void *)1, 2.0f, 3, DEFAULT_VECTOR3, DEFAULT_VECTOR3, (void *)6, (void *)7); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", this_ptr_value); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)1); - check_float_parameter("IVRCompositor_005_ComputeOverlayIntersection", 2.0f); - check_uint32_parameter("IVRCompositor_005_ComputeOverlayIntersection", 3); - check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); - check_HmdVector3_parameter("IVRCompositor_005_ComputeOverlayIntersection", DEFAULT_VECTOR3); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)6); - check_ptr_parameter("IVRCompositor_005_ComputeOverlayIntersection", (void *)7); - - init_thunk(t, this_ptr_value, IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); - void (__stdcall *capi_IVRCompositor_005_SetTrackingSpace)(TrackingUniverseOrigin eOrigin) = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_SetTrackingSpace(1); - check_ptr_parameter("IVRCompositor_005_SetTrackingSpace", this_ptr_value); - check_uint32_parameter("IVRCompositor_005_SetTrackingSpace", 1); - - init_thunk(t, this_ptr_value, IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); - TrackingUniverseOrigin (__stdcall *capi_IVRCompositor_005_GetTrackingSpace)() = (void *)t; - - clear_parameters(); - capi_IVRCompositor_005_GetTrackingSpace(); - check_ptr_parameter("IVRCompositor_005_GetTrackingSpace", this_ptr_value); - VirtualFree(t, 0, MEM_RELEASE); -} diff --git a/vrclient_x64/tests/main_autogen.c b/vrclient_x64/tests/main_autogen.c deleted file mode 100644 index 0bf16dda4..000000000 --- a/vrclient_x64/tests/main_autogen.c +++ /dev/null @@ -1,115 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include "capi_thunks_autogen.h" - -#include - -int main(void) -{ - test_capi_thunks_IVRSystem_022(); - test_capi_thunks_IVRApplications_007(); - test_capi_thunks_IVRSettings_003(); - test_capi_thunks_IVRChaperone_004(); - test_capi_thunks_IVRChaperoneSetup_006(); - test_capi_thunks_IVRCompositor_027(); - test_capi_thunks_IVRHeadsetView_001(); - test_capi_thunks_IVRNotifications_002(); - test_capi_thunks_IVROverlay_026(); - test_capi_thunks_IVROverlayView_003(); - test_capi_thunks_IVRRenderModels_006(); - test_capi_thunks_IVRExtendedDisplay_001(); - test_capi_thunks_IVRTrackedCamera_006(); - test_capi_thunks_IVRScreenshots_001(); - test_capi_thunks_IVRResources_001(); - test_capi_thunks_IVRDriverManager_001(); - test_capi_thunks_IVRInput_010(); - test_capi_thunks_IVRIOBuffer_002(); - test_capi_thunks_IVRClientCore_003(); - test_capi_thunks_IVROverlay_025(); - test_capi_thunks_IVRCompositor_026(); - test_capi_thunks_IVROverlay_024(); - test_capi_thunks_IVRSystem_021(); - test_capi_thunks_IVRChaperone_003(); - test_capi_thunks_IVRControlPanel_006(); - test_capi_thunks_IVRMailbox_001(); - test_capi_thunks_IVRCompositor_024(); - test_capi_thunks_IVROverlay_022(); - test_capi_thunks_IVRInput_007(); - test_capi_thunks_IVRSettings_002(); - test_capi_thunks_IVRCompositor_022(); - test_capi_thunks_IVROverlay_021(); - test_capi_thunks_IVRSystem_020(); - test_capi_thunks_IVRApplications_006(); - test_capi_thunks_IVROverlay_020(); - test_capi_thunks_IVROverlay_019(); - test_capi_thunks_IVRTrackedCamera_005(); - test_capi_thunks_IVRSystem_019(); - test_capi_thunks_IVRInput_006(); - test_capi_thunks_IVRInput_005(); - test_capi_thunks_IVRIOBuffer_001(); - test_capi_thunks_IVRChaperoneSetup_005(); - test_capi_thunks_IVROverlay_018(); - test_capi_thunks_IVRTrackedCamera_004(); - test_capi_thunks_IVRInput_004(); - test_capi_thunks_IVRTrackedCamera_003(); - test_capi_thunks_IVRRenderModels_005(); - test_capi_thunks_IVRInput_003(); - test_capi_thunks_IVRSystem_017(); - test_capi_thunks_IVROverlay_017(); - test_capi_thunks_IVRCompositor_021(); - test_capi_thunks_IVROverlay_016(); - test_capi_thunks_IVRSystem_016(); - test_capi_thunks_IVRCompositor_020(); - test_capi_thunks_IVRClientCore_002(); - test_capi_thunks_IVRSystem_015(); - test_capi_thunks_IVROverlay_014(); - test_capi_thunks_IVRCompositor_019(); - test_capi_thunks_IVRSystem_014(); - test_capi_thunks_IVRCompositor_018(); - test_capi_thunks_IVROverlay_013(); - test_capi_thunks_IVRCompositor_017(); - test_capi_thunks_IVRSystem_012(); - test_capi_thunks_IVRCompositor_016(); - test_capi_thunks_IVRSettings_001(); - test_capi_thunks_IVRApplications_005(); - test_capi_thunks_IVRCompositor_015(); - test_capi_thunks_IVROverlay_012(); - test_capi_thunks_IVRTrackedCamera_002(); - test_capi_thunks_IVRCompositor_014(); - test_capi_thunks_IVROverlay_011(); - test_capi_thunks_IVRCompositor_013(); - test_capi_thunks_IVRSystem_011(); - test_capi_thunks_IVRApplications_004(); - test_capi_thunks_IVROverlay_010(); - test_capi_thunks_IVRRenderModels_004(); - test_capi_thunks_IVRCompositor_012(); - test_capi_thunks_IVRApplications_003(); - test_capi_thunks_IVRCompositor_011(); - test_capi_thunks_IVRRenderModels_002(); - test_capi_thunks_IVRSystem_010(); - test_capi_thunks_IVRApplications_002(); - test_capi_thunks_IVRChaperoneSetup_004(); - test_capi_thunks_IVRCompositor_010(); - test_capi_thunks_IVROverlay_008(); - test_capi_thunks_IVRTrackedCamera_001(); - test_capi_thunks_IVRCompositor_009(); - test_capi_thunks_IVRSystem_009(); - test_capi_thunks_IVROverlay_007(); - test_capi_thunks_IVRSystem_006(); - test_capi_thunks_IVRApplications_001(); - test_capi_thunks_IVRChaperone_002(); - test_capi_thunks_IVRCompositor_008(); - test_capi_thunks_IVRNotifications_001(); - test_capi_thunks_IVROverlay_005(); - test_capi_thunks_IVRRenderModels_001(); - test_capi_thunks_IVRSystem_005(); - test_capi_thunks_IVRCompositor_007(); - test_capi_thunks_IVROverlay_004(); - test_capi_thunks_IVROverlay_003(); - test_capi_thunks_IVROverlay_002(); - test_capi_thunks_IVRSystem_004(); - test_capi_thunks_IVRCompositor_006(); - test_capi_thunks_IVROverlay_001(); - test_capi_thunks_IVRSystem_003(); - test_capi_thunks_IVRCompositor_005(); - printf("All tests executed.\n"); -} diff --git a/vrclient_x64/unix_private.h b/vrclient_x64/unix_private.h new file mode 100644 index 000000000..7b4d8e80a --- /dev/null +++ b/vrclient_x64/unix_private.h @@ -0,0 +1,42 @@ +#ifndef __VRCLIENT_UNIX_PRIVATE_H +#define __VRCLIENT_UNIX_PRIVATE_H + +#include +#include + +#include +#include + +#include "unixlib.h" + +#include "wine/debug.h" +#include "wine/list.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +extern VkDevice_T *(WINAPI *p_get_native_VkDevice)( VkDevice_T * ); +extern VkInstance_T *(WINAPI *p_get_native_VkInstance)( VkInstance_T * ); +extern VkPhysicalDevice_T *(WINAPI *p_get_native_VkPhysicalDevice)( VkPhysicalDevice_T * ); +extern VkPhysicalDevice_T *(WINAPI *p_get_wrapped_VkPhysicalDevice)( VkInstance_T *, VkPhysicalDevice_T * ); +extern VkQueue_T *(WINAPI *p_get_native_VkQueue)( VkQueue_T * ); + +extern char *json_convert_startup_info(const char *startup_info); +extern char *json_convert_paths(const char *input); + +extern NTSTATUS vrclient_init( void *args ); +extern NTSTATUS vrclient_HmdSystemFactory( void *args ); +extern NTSTATUS vrclient_VRClientCoreFactory( void *args ); + +extern char *vrclient_dos_to_unix_path( const char *src ); +extern void vrclient_free_path( char *path ); +extern unsigned int vrclient_unix_path_to_dos_path( bool api_result, const char *src, char *dst, uint32_t dst_bytes ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#include "unix_private_generated.h" + +#endif /* __VRCLIENT_UNIX_PRIVATE_H */ diff --git a/vrclient_x64/unix_private_generated.h b/vrclient_x64/unix_private_generated.h new file mode 100644 index 000000000..d5a77d728 --- /dev/null +++ b/vrclient_x64/unix_private_generated.h @@ -0,0 +1,7951 @@ +/* This file is auto-generated, do not edit. */ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +struct u_IVRSystem_IVRSystem_003 +{ +#ifdef __cplusplus + virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual void GetEyeOutputViewport( uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t *, int32_t * ) = 0; + virtual int8_t AttachToWindow( void * ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual int8_t LoadRenderModel( const char *, u_RenderModel_t_090 * ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_090 * ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_090 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_090 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( const Compositor_OverlaySettings *, HmdVector2_t, HmdVector2_t, uint32_t, uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperone_IVRChaperone_002 +{ +#ifdef __cplusplus + virtual uint32_t GetCalibrationState( ) = 0; + virtual int8_t GetSoftBoundsInfo( ChaperoneSoftBoundsInfo_t * ) = 0; + virtual int8_t GetHardBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetSeatedBoundsInfo( ChaperoneSeatedBoundsInfo_t * ) = 0; + virtual void ReloadInfo( ) = 0; + virtual void SetSceneColor( HmdColor_t ) = 0; + virtual void GetBoundsColor( HmdColor_t *, int32_t ) = 0; + virtual int8_t AreBoundsVisible( ) = 0; + virtual void ForceBoundsVisible( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_005 +{ +#ifdef __cplusplus + virtual uint32_t GetLastError( char *, uint32_t ) = 0; + virtual void SetVSync( int8_t ) = 0; + virtual int8_t GetVSync( ) = 0; + virtual void SetGamma( float ) = 0; + virtual float GetGamma( ) = 0; + virtual void SetGraphicsDevice( uint32_t, void * ) = 0; + virtual void WaitGetPoses( TrackedDevicePose_t *, uint32_t ) = 0; + virtual void Submit( uint32_t, void *, Compositor_TextureBounds * ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void GetOverlayDefaults( Compositor_OverlaySettings * ) = 0; + virtual void SetOverlay( void *, Compositor_OverlaySettings * ) = 0; + virtual void SetOverlayRaw( void *, uint32_t, uint32_t, uint32_t, Compositor_OverlaySettings * ) = 0; + virtual void SetOverlayFromFile( const char *, Compositor_OverlaySettings * ) = 0; + virtual void ClearOverlay( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_090 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual int8_t ComputeOverlayIntersection( const Compositor_OverlaySettings *, float, uint32_t, HmdVector3_t, HmdVector3_t, HmdVector2_t *, HmdVector3_t * ) = 0; + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_004 +{ +#ifdef __cplusplus + virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual void GetEyeOutputViewport( uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t *, int32_t * ) = 0; + virtual int8_t AttachToWindow( void * ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_092 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_092 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_006 +{ +#ifdef __cplusplus + virtual uint32_t GetLastError( char *, uint32_t ) = 0; + virtual void SetVSync( int8_t ) = 0; + virtual int8_t GetVSync( ) = 0; + virtual void SetGamma( float ) = 0; + virtual float GetGamma( ) = 0; + virtual void SetGraphicsDevice( uint32_t, void * ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, void *, VRTextureBounds_t * ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_090 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual int8_t CanRenderScene( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_001 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayGamma( uint64_t, float ) = 0; + virtual uint32_t GetOverlayGamma( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayVisibility( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayVisibility( uint64_t, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_092 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, void * ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual int8_t IsSystemOverlayVisible( ) = 0; + virtual int8_t IsActiveSystemOverlay( uint64_t ) = 0; + virtual uint32_t SetSystemOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetSystemOverlaySceneProcess( uint64_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRRenderModels_IVRRenderModels_001 +{ +#ifdef __cplusplus + virtual int8_t LoadRenderModel( const char *, u_RenderModel_t_090 * ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_090 * ) = 0; + virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetRenderModelCount( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_005 +{ +#ifdef __cplusplus + virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual void GetEyeOutputViewport( uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t *, int32_t * ) = 0; + virtual int8_t AttachToWindow( void * ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_097 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_097 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_007 +{ +#ifdef __cplusplus + virtual uint32_t GetLastError( char *, uint32_t ) = 0; + virtual void SetVSync( int8_t ) = 0; + virtual int8_t GetVSync( ) = 0; + virtual void SetGamma( float ) = 0; + virtual float GetGamma( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, uint32_t, void *, const VRTextureBounds_t * ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_093 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual int8_t CanRenderScene( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_002 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayGamma( uint64_t, float ) = 0; + virtual uint32_t GetOverlayGamma( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_093 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, uint32_t, void * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRNotifications_IVRNotifications_001 +{ +#ifdef __cplusplus + virtual uint32_t GetErrorString( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t CreateNotification( uint64_t, uint64_t, const char *, const char *, const char *, const u_NotificationBitmap *, uint32_t * ) = 0; + virtual uint32_t DismissNotification( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_003 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayGamma( uint64_t, float ) = 0; + virtual uint32_t GetOverlayGamma( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_097 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, uint32_t, void * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_001 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetHomeApplication( char *, uint32_t ) = 0; + virtual uint32_t SetHomeApplication( const char * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_004 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayGamma( uint64_t, float ) = 0; + virtual uint32_t GetOverlayGamma( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_097 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, uint32_t, void * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_006 +{ +#ifdef __cplusplus + virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual void GetEyeOutputViewport( uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t *, int32_t * ) = 0; + virtual int8_t AttachToWindow( void * ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_0910 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_0910 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSettings_IVRSettings_001 +{ +#ifdef __cplusplus + virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t Sync( int8_t, uint32_t * ) = 0; + virtual int8_t GetBool( const char *, const char *, int8_t, uint32_t * ) = 0; + virtual void SetBool( const char *, const char *, int8_t, uint32_t * ) = 0; + virtual int32_t GetInt32( const char *, const char *, int32_t, uint32_t * ) = 0; + virtual void SetInt32( const char *, const char *, int32_t, uint32_t * ) = 0; + virtual float GetFloat( const char *, const char *, float, uint32_t * ) = 0; + virtual void SetFloat( const char *, const char *, float, uint32_t * ) = 0; + virtual void GetString( const char *, const char *, char *, uint32_t, const char *, uint32_t * ) = 0; + virtual void SetString( const char *, const char *, const char *, uint32_t * ) = 0; + virtual void RemoveSection( const char *, uint32_t * ) = 0; + virtual void RemoveKeyInSection( const char *, const char *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_008 +{ +#ifdef __cplusplus + virtual uint32_t GetLastError( char *, uint32_t ) = 0; + virtual void SetVSync( int8_t ) = 0; + virtual int8_t GetVSync( ) = 0; + virtual void SetGamma( float ) = 0; + virtual float GetGamma( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, uint32_t, void *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_093 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual void SetSkyboxOverride( uint32_t, void *, void *, void *, void *, void *, void * ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_005 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayGamma( uint64_t, float ) = 0; + virtual uint32_t GetOverlayGamma( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_0910 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, uint32_t, void * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_009 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_0912 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_0912 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_002 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; + virtual int8_t IsQuitUserPromptRequested( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperone_IVRChaperone_003 +{ +#ifdef __cplusplus + virtual uint32_t GetCalibrationState( ) = 0; + virtual int8_t GetPlayAreaSize( float *, float * ) = 0; + virtual int8_t GetPlayAreaRect( HmdQuad_t * ) = 0; + virtual void ReloadInfo( ) = 0; + virtual void SetSceneColor( HmdColor_t ) = 0; + virtual void GetBoundsColor( HmdColor_t *, int32_t, float, HmdColor_t * ) = 0; + virtual int8_t AreBoundsVisible( ) = 0; + virtual void ForceBoundsVisible( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperoneSetup_IVRChaperoneSetup_004 +{ +#ifdef __cplusplus + virtual int8_t CommitWorkingCopy( uint32_t ) = 0; + virtual void RevertWorkingCopy( ) = 0; + virtual int8_t GetWorkingPlayAreaSize( float *, float * ) = 0; + virtual int8_t GetWorkingPlayAreaRect( HmdQuad_t * ) = 0; + virtual int8_t GetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetLiveCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual int8_t GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual void SetWorkingPlayAreaSize( float, float ) = 0; + virtual void SetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t ) = 0; + virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void ReloadFromDisk( uint32_t ) = 0; + virtual int8_t GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual void SetWorkingWallTagInfo( uint8_t *, uint32_t ) = 0; + virtual int8_t GetLiveWallTagInfo( uint8_t *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_009 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0913 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRNotifications_IVRNotifications_002 +{ +#ifdef __cplusplus + virtual uint32_t CreateNotification( uint64_t, uint64_t, uint32_t, const char *, uint32_t, const u_NotificationBitmap_t *, uint32_t * ) = 0; + virtual uint32_t RemoveNotification( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_007 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_0912 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRRenderModels_IVRRenderModels_002 +{ +#ifdef __cplusplus + virtual int8_t LoadRenderModel( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual int8_t LoadTexture( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; + virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetRenderModelCount( ) = 0; + virtual uint32_t GetComponentCount( const char * ) = 0; + virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; + virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; + virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; + virtual int8_t GetComponentState( const char *, const char *, const u_VRControllerState001_t *, RenderModel_ComponentState_t * ) = 0; + virtual int8_t RenderModelHasComponent( const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_001 +{ +#ifdef __cplusplus + virtual int8_t HasCamera( uint32_t ) = 0; + virtual int8_t GetCameraFirmwareDescription( uint32_t, char *, uint32_t ) = 0; + virtual int8_t GetCameraFrameDimensions( uint32_t, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual int8_t SetCameraVideoStreamFormat( uint32_t, uint32_t ) = 0; + virtual uint32_t GetCameraVideoStreamFormat( uint32_t ) = 0; + virtual int8_t EnableCameraForStreaming( uint32_t, int8_t ) = 0; + virtual int8_t StartVideoStream( uint32_t ) = 0; + virtual int8_t StopVideoStream( uint32_t ) = 0; + virtual int8_t IsVideoStreamActive( uint32_t ) = 0; + virtual float GetVideoStreamElapsedTime( uint32_t ) = 0; + virtual const u_CameraVideoStreamFrame_t_0914 * GetVideoStreamFrame( uint32_t ) = 0; + virtual int8_t ReleaseVideoStreamFrame( uint32_t, const u_CameraVideoStreamFrame_t_0914 * ) = 0; + virtual int8_t SetAutoExposure( uint32_t, int8_t ) = 0; + virtual int8_t PauseVideoStream( uint32_t ) = 0; + virtual int8_t ResumeVideoStream( uint32_t ) = 0; + virtual int8_t IsVideoStreamPaused( uint32_t ) = 0; + virtual int8_t GetCameraDistortion( uint32_t, float, float, float *, float * ) = 0; + virtual int8_t GetCameraProjection( uint32_t, float, float, float, float, HmdMatrix44_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRExtendedDisplay_IVRExtendedDisplay_001 +{ +#ifdef __cplusplus + virtual void GetWindowBounds( int32_t *, int32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetEyeOutputViewport( uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual void GetDXGIOutputInfo( int32_t *, int32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_010 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_0914 * ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_0914 *, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; + virtual void PerformanceTestEnableCapture( int8_t ) = 0; + virtual void PerformanceTestReportFidelityLevelChange( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_008 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_0914 * ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_010 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0914 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_011 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_0918 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_0918 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; + virtual void PerformanceTestEnableCapture( int8_t ) = 0; + virtual void PerformanceTestReportFidelityLevelChange( int32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_003 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetApplicationPropertyUint64( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; + virtual int8_t IsQuitUserPromptRequested( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperoneSetup_IVRChaperoneSetup_005 +{ +#ifdef __cplusplus + virtual int8_t CommitWorkingCopy( uint32_t ) = 0; + virtual void RevertWorkingCopy( ) = 0; + virtual int8_t GetWorkingPlayAreaSize( float *, float * ) = 0; + virtual int8_t GetWorkingPlayAreaRect( HmdQuad_t * ) = 0; + virtual int8_t GetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetLiveCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual int8_t GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual void SetWorkingPlayAreaSize( float, float ) = 0; + virtual void SetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t ) = 0; + virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void ReloadFromDisk( uint32_t ) = 0; + virtual int8_t GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual void SetWorkingCollisionBoundsTagsInfo( uint8_t *, uint32_t ) = 0; + virtual int8_t GetLiveCollisionBoundsTagsInfo( uint8_t *, uint32_t * ) = 0; + virtual int8_t SetWorkingPhysicalBoundsInfo( HmdQuad_t *, uint32_t ) = 0; + virtual int8_t GetLivePhysicalBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t ExportLiveToBuffer( char *, uint32_t * ) = 0; + virtual int8_t ImportFromBufferToWorking( const char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_011 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_010 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_0918 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRRenderModels_IVRRenderModels_004 +{ +#ifdef __cplusplus + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; + virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; + virtual void FreeTextureD3D11( void * ) = 0; + virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetRenderModelCount( ) = 0; + virtual uint32_t GetComponentCount( const char * ) = 0; + virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; + virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; + virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; + virtual int8_t GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual int8_t RenderModelHasComponent( const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_004 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual int8_t CancelApplicationLaunch( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetApplicationPropertyUint64( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; + virtual int8_t IsQuitUserPromptRequested( ) = 0; + virtual uint32_t LaunchInternalProcess( const char *, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_012 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_013 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0915 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_012 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual DistortionCoordinates_t ComputeDistortion( uint32_t, float, float ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_103 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_103 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t * ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_005 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual int8_t CancelApplicationLaunch( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetApplicationPropertyUint64( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; + virtual int8_t IsQuitUserPromptRequested( ) = 0; + virtual uint32_t LaunchInternalProcess( const char *, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_011 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_0918 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRRenderModels_IVRRenderModels_005 +{ +#ifdef __cplusplus + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_090 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_090 * ) = 0; + virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; + virtual uint32_t LoadIntoTextureD3D11_Async( int32_t, void * ) = 0; + virtual void FreeTextureD3D11( void * ) = 0; + virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetRenderModelCount( ) = 0; + virtual uint32_t GetComponentCount( const char * ) = 0; + virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; + virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; + virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; + virtual int8_t GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual int8_t RenderModelHasComponent( const char *, const char * ) = 0; + virtual uint32_t GetRenderModelThumbnailURL( const char *, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetRenderModelOriginalPath( const char *, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetRenderModelErrorNameFromEnum( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_014 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0920 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_015 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_0920 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t RequestScreenshot( uint32_t, const char *, const char * ) = 0; + virtual uint32_t GetCurrentScreenshotType( ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_012 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_101 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_002 +{ +#ifdef __cplusplus + virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t HasCamera( uint32_t, int8_t * ) = 0; + virtual uint32_t GetCameraFrameSize( uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetCameraIntrinisics( uint32_t, uint32_t, HmdVector2_t *, HmdVector2_t * ) = 0; + virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; + virtual uint32_t AcquireVideoStreamingService( uint32_t, void ** ) = 0; + virtual uint32_t ReleaseVideoStreamingService( void * ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( void *, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_003 +{ +#ifdef __cplusplus + virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t HasCamera( uint32_t, int8_t * ) = 0; + virtual uint32_t GetCameraFrameSize( uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetCameraIntrinsics( uint32_t, uint32_t, HmdVector2_t *, HmdVector2_t * ) = 0; + virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; + virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; + virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_100 *, uint32_t ) = 0; + virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRScreenshots_IVRScreenshots_001 +{ +#ifdef __cplusplus + virtual uint32_t RequestScreenshot( uint32_t *, uint32_t, const char *, const char * ) = 0; + virtual uint32_t HookScreenshot( uint32_t *, int32_t ) = 0; + virtual uint32_t GetScreenshotPropertyType( uint32_t, uint32_t * ) = 0; + virtual uint32_t GetScreenshotPropertyFilename( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t UpdateScreenshotProgress( uint32_t, float ) = 0; + virtual uint32_t TakeStereoScreenshot( uint32_t *, const char *, const char * ) = 0; + virtual uint32_t SubmitScreenshot( uint32_t, uint32_t, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_006 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchApplicationFromMimeType( const char *, const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual int8_t CancelApplicationLaunch( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetApplicationPropertyUint64( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t SetDefaultApplicationForMimeType( const char *, const char * ) = 0; + virtual int8_t GetDefaultApplicationForMimeType( const char *, char *, uint32_t ) = 0; + virtual int8_t GetApplicationSupportedMimeTypes( const char *, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationsThatSupportMimeType( const char *, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationLaunchArguments( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetTransitionState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetApplicationsTransitionStateNameFromEnum( uint32_t ) = 0; + virtual int8_t IsQuitUserPromptRequested( ) = 0; + virtual uint32_t LaunchInternalProcess( const char *, const char *, const char * ) = 0; + virtual uint32_t GetCurrentSceneProcessId( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_016 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_102 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_013 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_103 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRResources_IVRResources_001 +{ +#ifdef __cplusplus + virtual uint32_t LoadSharedResource( const char *, char *, uint32_t ) = 0; + virtual uint32_t GetResourceFullPath( const char *, const char *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSettings_IVRSettings_002 +{ +#ifdef __cplusplus + virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t Sync( int8_t, uint32_t * ) = 0; + virtual void SetBool( const char *, const char *, int8_t, uint32_t * ) = 0; + virtual void SetInt32( const char *, const char *, int32_t, uint32_t * ) = 0; + virtual void SetFloat( const char *, const char *, float, uint32_t * ) = 0; + virtual void SetString( const char *, const char *, const char *, uint32_t * ) = 0; + virtual int8_t GetBool( const char *, const char *, uint32_t * ) = 0; + virtual int32_t GetInt32( const char *, const char *, uint32_t * ) = 0; + virtual float GetFloat( const char *, const char *, uint32_t * ) = 0; + virtual void GetString( const char *, const char *, char *, uint32_t, uint32_t * ) = 0; + virtual void RemoveSection( const char *, uint32_t * ) = 0; + virtual void RemoveKeyInSection( const char *, const char *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_014 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float, uint32_t ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_103 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_103 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_017 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRClientCore_IVRClientCore_002 +{ +#ifdef __cplusplus + virtual uint32_t Init( uint32_t ) = 0; + virtual void Cleanup( ) = 0; + virtual uint32_t IsInterfaceVersionValid( const char * ) = 0; + virtual void * GetGenericInterface( const char *, uint32_t * ) = 0; + virtual int8_t BIsHmdPresent( ) = 0; + virtual const char * GetEnglishStringForHmdError( uint32_t ) = 0; + virtual const char * GetIDForVRInitError( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_018 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_015 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_106 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_106 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_019 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_014 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_106 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_020 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_016 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_106 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_016 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_106 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_106 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRDriverManager_IVRDriverManager_001 +{ +#ifdef __cplusplus + virtual uint32_t GetDriverCount( ) = 0; + virtual uint32_t GetDriverName( uint32_t, char *, uint32_t ) = 0; + virtual uint64_t GetDriverHandle( const char * ) = 0; + virtual int8_t IsEnabled( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_017 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t, VkInstance_T * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_1011 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_1011 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t CaptureInputFocus( ) = 0; + virtual void ReleaseInputFocus( ) = 0; + virtual int8_t IsInputFocusCapturedByAnotherProcess( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_021 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_103a *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; + virtual void SetExplicitTimingMode( int8_t ) = 0; + virtual uint32_t SubmitExplicitTimingData( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRClientCore_IVRClientCore_003 +{ +#ifdef __cplusplus + virtual uint32_t Init( uint32_t, const char * ) = 0; + virtual void Cleanup( ) = 0; + virtual uint32_t IsInterfaceVersionValid( const char * ) = 0; + virtual void * GetGenericInterface( const char *, uint32_t * ) = 0; + virtual int8_t BIsHmdPresent( ) = 0; + virtual const char * GetEnglishStringForHmdError( uint32_t ) = 0; + virtual const char * GetIDForVRInitError( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_022 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; + virtual void SetExplicitTimingMode( uint32_t ) = 0; + virtual uint32_t SubmitExplicitTimingData( ) = 0; + virtual int8_t IsMotionSmoothingEnabled( ) = 0; + virtual int8_t IsMotionSmoothingSupported( ) = 0; + virtual int8_t IsCurrentSceneFocusAppLoading( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_017 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1011 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t HandleControllerOverlayInteractionAsMouse( uint64_t, uint32_t ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_019 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t, VkInstance_T * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_1322 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_1322 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t IsInputAvailable( ) = 0; + virtual int8_t IsSteamVRDrawingControllers( ) = 0; + virtual int8_t ShouldApplicationPause( ) = 0; + virtual int8_t ShouldApplicationReduceRenderingWork( ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_018 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1016 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_003 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1015 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, uint32_t, float, u_InputSkeletonActionData_t *, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalActionDataCompressed( uint64_t, uint32_t, float, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t UncompressSkeletalActionData( void *, uint32_t, uint32_t *, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1015 *, uint32_t, uint32_t, uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRIOBuffer_IVRIOBuffer_001 +{ +#ifdef __cplusplus + virtual uint32_t Open( const char *, uint32_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t Close( uint64_t ) = 0; + virtual uint32_t Read( uint64_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t Write( uint64_t, void *, uint32_t ) = 0; + virtual uint64_t PropertyContainer( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRRenderModels_IVRRenderModels_006 +{ +#ifdef __cplusplus + virtual uint32_t LoadRenderModel_Async( const char *, u_RenderModel_t_0912 ** ) = 0; + virtual void FreeRenderModel( u_RenderModel_t_0912 * ) = 0; + virtual uint32_t LoadTexture_Async( int32_t, u_RenderModel_TextureMap_t_1237 ** ) = 0; + virtual void FreeTexture( u_RenderModel_TextureMap_t_1237 * ) = 0; + virtual uint32_t LoadTextureD3D11_Async( int32_t, void *, void ** ) = 0; + virtual uint32_t LoadIntoTextureD3D11_Async( int32_t, void * ) = 0; + virtual void FreeTextureD3D11( void * ) = 0; + virtual uint32_t GetRenderModelName( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetRenderModelCount( ) = 0; + virtual uint32_t GetComponentCount( const char * ) = 0; + virtual uint32_t GetComponentName( const char *, uint32_t, char *, uint32_t ) = 0; + virtual uint64_t GetComponentButtonMask( const char *, const char * ) = 0; + virtual uint32_t GetComponentRenderModelName( const char *, const char *, char *, uint32_t ) = 0; + virtual int8_t GetComponentStateForDevicePath( const char *, const char *, uint64_t, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual int8_t GetComponentState( const char *, const char *, const u_VRControllerState001_t *, const RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t * ) = 0; + virtual int8_t RenderModelHasComponent( const char *, const char * ) = 0; + virtual uint32_t GetRenderModelThumbnailURL( const char *, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetRenderModelOriginalPath( const char *, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetRenderModelErrorNameFromEnum( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_004 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_1016 *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, uint32_t, void *, uint32_t, uint32_t *, uint64_t ) = 0; + virtual uint32_t DecompressSkeletalBoneData( void *, uint32_t, uint32_t *, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_004 +{ +#ifdef __cplusplus + virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t HasCamera( uint32_t, int8_t * ) = 0; + virtual uint32_t GetCameraFrameSize( uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetCameraIntrinsics( uint32_t, uint32_t, HmdVector2_t *, HmdVector2_t * ) = 0; + virtual uint32_t GetCameraProjection( uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; + virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; + virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperoneSetup_IVRChaperoneSetup_006 +{ +#ifdef __cplusplus + virtual int8_t CommitWorkingCopy( uint32_t ) = 0; + virtual void RevertWorkingCopy( ) = 0; + virtual int8_t GetWorkingPlayAreaSize( float *, float * ) = 0; + virtual int8_t GetWorkingPlayAreaRect( HmdQuad_t * ) = 0; + virtual int8_t GetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetLiveCollisionBoundsInfo( HmdQuad_t *, uint32_t * ) = 0; + virtual int8_t GetWorkingSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual int8_t GetWorkingStandingZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual void SetWorkingPlayAreaSize( float, float ) = 0; + virtual void SetWorkingCollisionBoundsInfo( HmdQuad_t *, uint32_t ) = 0; + virtual void SetWorkingPerimeter( HmdVector2_t *, uint32_t ) = 0; + virtual void SetWorkingSeatedZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void SetWorkingStandingZeroPoseToRawTrackingPose( const HmdMatrix34_t * ) = 0; + virtual void ReloadFromDisk( uint32_t ) = 0; + virtual int8_t GetLiveSeatedZeroPoseToRawTrackingPose( HmdMatrix34_t * ) = 0; + virtual int8_t ExportLiveToBuffer( char *, uint32_t * ) = 0; + virtual int8_t ImportFromBufferToWorking( const char *, uint32_t ) = 0; + virtual void ShowWorkingSetPreview( ) = 0; + virtual void HideWorkingSetPreview( ) = 0; + virtual void RoomSetupStarting( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_019 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t SetHighQualityOverlay( uint64_t ) = 0; + virtual uint64_t GetHighQualityOverlay( ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_005 +{ +#ifdef __cplusplus + virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t HasCamera( uint32_t, int8_t * ) = 0; + virtual uint32_t GetCameraFrameSize( uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetCameraIntrinsics( uint32_t, uint32_t, uint32_t, HmdVector2_t *, HmdVector2_t * ) = 0; + virtual uint32_t GetCameraProjection( uint32_t, uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; + virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; + virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_005 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionData( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; + virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; + virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; + virtual uint32_t GetSkeletalReferenceTransforms( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalTrackingLevel( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalSummaryData( uint64_t, VRSkeletalSummaryData_t * ) = 0; + virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressSkeletalBoneData( const void *, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; + virtual int8_t IsUsingLegacyInput( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRIOBuffer_IVRIOBuffer_002 +{ +#ifdef __cplusplus + virtual uint32_t Open( const char *, uint32_t, uint32_t, uint32_t, uint64_t * ) = 0; + virtual uint32_t Close( uint64_t ) = 0; + virtual uint32_t Read( uint64_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t Write( uint64_t, void *, uint32_t ) = 0; + virtual uint64_t PropertyContainer( uint64_t ) = 0; + virtual int8_t HasReaders( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_006 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; + virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; + virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; + virtual uint32_t GetSkeletalReferenceTransforms( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalTrackingLevel( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalSummaryData( uint64_t, uint32_t, VRSkeletalSummaryData_t * ) = 0; + virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressSkeletalBoneData( const void *, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; + virtual int8_t IsUsingLegacyInput( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_020 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t, VkInstance_T * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_1322 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_1322 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t IsInputAvailable( ) = 0; + virtual int8_t IsSteamVRDrawingControllers( ) = 0; + virtual int8_t ShouldApplicationPause( ) = 0; + virtual int8_t ShouldApplicationReduceRenderingWork( ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual void AcknowledgeQuit_UserPrompt( ) = 0; + virtual uint32_t GetAppContainerFilePaths( char *, uint32_t ) = 0; + virtual const char * GetRuntimeVersion( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_007 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; + virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; + virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; + virtual uint32_t GetSkeletalReferenceTransforms( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalTrackingLevel( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalSummaryData( uint64_t, uint32_t, VRSkeletalSummaryData_t * ) = 0; + virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressSkeletalBoneData( const void *, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t_1517 *, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; + virtual int8_t IsUsingLegacyInput( ) = 0; + virtual uint32_t OpenBindingUI( const char *, uint64_t, uint64_t, int8_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_020 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float, float ) = 0; + virtual uint32_t GetOverlayAutoCurveDistanceRangeInMeters( uint64_t, float *, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint64_t GetGamepadFocusOverlay( ) = 0; + virtual uint32_t SetGamepadFocusOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayNeighbor( uint32_t, uint64_t, uint64_t ) = 0; + virtual uint32_t MoveGamepadFocusToNeighbor( uint32_t, uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRTrackedCamera_IVRTrackedCamera_006 +{ +#ifdef __cplusplus + virtual const char * GetCameraErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t HasCamera( uint32_t, int8_t * ) = 0; + virtual uint32_t GetCameraFrameSize( uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetCameraIntrinsics( uint32_t, uint32_t, uint32_t, HmdVector2_t *, HmdVector2_t * ) = 0; + virtual uint32_t GetCameraProjection( uint32_t, uint32_t, uint32_t, float, float, HmdMatrix44_t * ) = 0; + virtual uint32_t AcquireVideoStreamingService( uint32_t, uint64_t * ) = 0; + virtual uint32_t ReleaseVideoStreamingService( uint64_t ) = 0; + virtual uint32_t GetVideoStreamFrameBuffer( uint64_t, uint32_t, void *, uint32_t, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureSize( uint32_t, uint32_t, VRTextureBounds_t *, uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetVideoStreamTextureD3D11( uint64_t, uint32_t, void *, void **, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t GetVideoStreamTextureGL( uint64_t, uint32_t, uint32_t *, u_CameraVideoStreamFrameHeader_t_1017 *, uint32_t ) = 0; + virtual uint32_t ReleaseVideoStreamTextureGL( uint64_t, uint32_t ) = 0; + virtual void SetCameraTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetCameraTrackingSpace( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_021 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t, VkInstance_T * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual void ResetSeatedZeroPose( ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_11030 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_11030 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t IsInputAvailable( ) = 0; + virtual int8_t IsSteamVRDrawingControllers( ) = 0; + virtual int8_t ShouldApplicationPause( ) = 0; + virtual int8_t ShouldApplicationReduceRenderingWork( ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual uint32_t GetAppContainerFilePaths( char *, uint32_t ) = 0; + virtual const char * GetRuntimeVersion( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRApplications_IVRApplications_007 +{ +#ifdef __cplusplus + virtual uint32_t AddApplicationManifest( const char *, int8_t ) = 0; + virtual uint32_t RemoveApplicationManifest( const char * ) = 0; + virtual int8_t IsApplicationInstalled( const char * ) = 0; + virtual uint32_t GetApplicationCount( ) = 0; + virtual uint32_t GetApplicationKeyByIndex( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationKeyByProcessId( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t LaunchApplication( const char * ) = 0; + virtual uint32_t LaunchTemplateApplication( const char *, const char *, const u_AppOverrideKeys_t *, uint32_t ) = 0; + virtual uint32_t LaunchApplicationFromMimeType( const char *, const char * ) = 0; + virtual uint32_t LaunchDashboardOverlay( const char * ) = 0; + virtual int8_t CancelApplicationLaunch( const char * ) = 0; + virtual uint32_t IdentifyApplication( uint32_t, const char * ) = 0; + virtual uint32_t GetApplicationProcessId( const char * ) = 0; + virtual const char * GetApplicationsErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t GetApplicationPropertyString( const char *, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual int8_t GetApplicationPropertyBool( const char *, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetApplicationPropertyUint64( const char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetApplicationAutoLaunch( const char *, int8_t ) = 0; + virtual int8_t GetApplicationAutoLaunch( const char * ) = 0; + virtual uint32_t SetDefaultApplicationForMimeType( const char *, const char * ) = 0; + virtual int8_t GetDefaultApplicationForMimeType( const char *, char *, uint32_t ) = 0; + virtual int8_t GetApplicationSupportedMimeTypes( const char *, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationsThatSupportMimeType( const char *, char *, uint32_t ) = 0; + virtual uint32_t GetApplicationLaunchArguments( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t GetStartingApplication( char *, uint32_t ) = 0; + virtual uint32_t GetSceneApplicationState( ) = 0; + virtual uint32_t PerformApplicationPrelaunchCheck( const char * ) = 0; + virtual const char * GetSceneApplicationStateNameFromEnum( uint32_t ) = 0; + virtual uint32_t LaunchInternalProcess( const char *, const char *, const char * ) = 0; + virtual uint32_t GetCurrentSceneProcessId( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_021 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSettings_IVRSettings_003 +{ +#ifdef __cplusplus + virtual const char * GetSettingsErrorNameFromEnum( uint32_t ) = 0; + virtual void SetBool( const char *, const char *, int8_t, uint32_t * ) = 0; + virtual void SetInt32( const char *, const char *, int32_t, uint32_t * ) = 0; + virtual void SetFloat( const char *, const char *, float, uint32_t * ) = 0; + virtual void SetString( const char *, const char *, const char *, uint32_t * ) = 0; + virtual int8_t GetBool( const char *, const char *, uint32_t * ) = 0; + virtual int32_t GetInt32( const char *, const char *, uint32_t * ) = 0; + virtual float GetFloat( const char *, const char *, uint32_t * ) = 0; + virtual void GetString( const char *, const char *, char *, uint32_t, uint32_t * ) = 0; + virtual void RemoveSection( const char *, uint32_t * ) = 0; + virtual void RemoveKeyInSection( const char *, const char *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_024 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; + virtual void SetExplicitTimingMode( uint32_t ) = 0; + virtual uint32_t SubmitExplicitTimingData( ) = 0; + virtual int8_t IsMotionSmoothingEnabled( ) = 0; + virtual int8_t IsMotionSmoothingSupported( ) = 0; + virtual int8_t IsCurrentSceneFocusAppLoading( ) = 0; + virtual uint32_t SetStageOverride_Async( const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t ) = 0; + virtual void ClearStageOverride( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_022 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayRenderModel( uint64_t, char *, uint32_t, HmdColor_t *, uint32_t * ) = 0; + virtual uint32_t SetOverlayRenderModel( uint64_t, const char *, const HmdColor_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformCursor( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t GetOverlayTransformCursor( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1322 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayDualAnalogTransform( uint64_t, uint32_t, const HmdVector2_t *, float ) = 0; + virtual uint32_t GetOverlayDualAnalogTransform( uint64_t, uint32_t, HmdVector2_t *, float * ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t TriggerLaserMouseHapticVibration( uint64_t, float, float, float ) = 0; + virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; + virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, const char *, uint32_t, const char *, int8_t, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_026 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_100 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; + virtual void SetExplicitTimingMode( uint32_t ) = 0; + virtual uint32_t SubmitExplicitTimingData( ) = 0; + virtual int8_t IsMotionSmoothingEnabled( ) = 0; + virtual int8_t IsMotionSmoothingSupported( ) = 0; + virtual int8_t IsCurrentSceneFocusAppLoading( ) = 0; + virtual uint32_t SetStageOverride_Async( const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t ) = 0; + virtual void ClearStageOverride( ) = 0; + virtual int8_t GetCompositorBenchmarkResults( Compositor_BenchmarkResults *, uint32_t ) = 0; + virtual uint32_t GetLastPosePredictionIDs( uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetPosesForFrame( uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRHeadsetView_IVRHeadsetView_001 +{ +#ifdef __cplusplus + virtual void SetHeadsetViewSize( uint32_t, uint32_t ) = 0; + virtual void GetHeadsetViewSize( uint32_t *, uint32_t * ) = 0; + virtual void SetHeadsetViewMode( uint32_t ) = 0; + virtual uint32_t GetHeadsetViewMode( ) = 0; + virtual void SetHeadsetViewCropped( int8_t ) = 0; + virtual int8_t GetHeadsetViewCropped( ) = 0; + virtual float GetHeadsetViewAspectRatio( ) = 0; + virtual void SetHeadsetViewBlendRange( float, float ) = 0; + virtual void GetHeadsetViewBlendRange( float *, float * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_024 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformCursor( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t GetOverlayTransformCursor( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_11030 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t TriggerLaserMouseHapticVibration( uint64_t, float, float, float ) = 0; + virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; + virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlayView_IVROverlayView_003 +{ +#ifdef __cplusplus + virtual uint32_t AcquireOverlayView( uint64_t, u_VRNativeDevice_t *, u_VROverlayView_t *, uint32_t ) = 0; + virtual uint32_t ReleaseOverlayView( u_VROverlayView_t * ) = 0; + virtual void PostOverlayEvent( uint64_t, const u_VREvent_t_1168 * ) = 0; + virtual int8_t IsViewingPermitted( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRInput_IVRInput_010 +{ +#ifdef __cplusplus + virtual uint32_t SetActionManifestPath( const char * ) = 0; + virtual uint32_t GetActionSetHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetActionHandle( const char *, uint64_t * ) = 0; + virtual uint32_t GetInputSourceHandle( const char *, uint64_t * ) = 0; + virtual uint32_t UpdateActionState( VRActiveActionSet_t_1016 *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetDigitalActionData( uint64_t, u_InputDigitalActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetAnalogActionData( uint64_t, u_InputAnalogActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataRelativeToNow( uint64_t, uint32_t, float, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetPoseActionDataForNextFrame( uint64_t, uint32_t, u_InputPoseActionData_t *, uint32_t, uint64_t ) = 0; + virtual uint32_t GetSkeletalActionData( uint64_t, u_InputSkeletalActionData_t_113b *, uint32_t ) = 0; + virtual uint32_t GetDominantHand( uint32_t * ) = 0; + virtual uint32_t SetDominantHand( uint32_t ) = 0; + virtual uint32_t GetBoneCount( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetBoneHierarchy( uint64_t, int32_t *, uint32_t ) = 0; + virtual uint32_t GetBoneName( uint64_t, int32_t, char *, uint32_t ) = 0; + virtual uint32_t GetSkeletalReferenceTransforms( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalTrackingLevel( uint64_t, uint32_t * ) = 0; + virtual uint32_t GetSkeletalBoneData( uint64_t, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t GetSkeletalSummaryData( uint64_t, uint32_t, VRSkeletalSummaryData_t * ) = 0; + virtual uint32_t GetSkeletalBoneDataCompressed( uint64_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t DecompressSkeletalBoneData( const void *, uint32_t, uint32_t, VRBoneTransform_t *, uint32_t ) = 0; + virtual uint32_t TriggerHapticVibrationAction( uint64_t, float, float, float, float, uint64_t ) = 0; + virtual uint32_t GetActionOrigins( uint64_t, uint64_t, uint64_t *, uint32_t ) = 0; + virtual uint32_t GetOriginLocalizedName( uint64_t, char *, uint32_t, int32_t ) = 0; + virtual uint32_t GetOriginTrackedDeviceInfo( uint64_t, u_InputOriginInfo_t *, uint32_t ) = 0; + virtual uint32_t GetActionBindingInfo( uint64_t, InputBindingInfo_t_11030 *, uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t ShowActionOrigins( uint64_t, uint64_t ) = 0; + virtual uint32_t ShowBindingsForActionSet( VRActiveActionSet_t_1016 *, uint32_t, uint32_t, uint64_t ) = 0; + virtual uint32_t GetComponentStateForBinding( const char *, const char *, const InputBindingInfo_t_11030 *, uint32_t, uint32_t, RenderModel_ComponentState_t * ) = 0; + virtual int8_t IsUsingLegacyInput( ) = 0; + virtual uint32_t OpenBindingUI( const char *, uint64_t, uint64_t, int8_t ) = 0; + virtual uint32_t GetBindingVariant( uint64_t, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRControlPanel_IVRControlPanel_006 +{ +#ifdef __cplusplus + virtual uint32_t undoc1( ) = 0; + virtual uint32_t undoc2( uint32_t, char *, uint32_t ) = 0; + virtual uint32_t undoc3( const char * ) = 0; + virtual uint32_t undoc4( const char * ) = 0; + virtual uint32_t undoc5( const char *, uint32_t, char *, uint32_t ) = 0; + virtual uint32_t undoc6( const char *, const char *, char *, uint32_t ) = 0; + virtual uint32_t undoc7( const char *, const char *, char *, uint32_t ) = 0; + virtual int8_t undoc8( uint32_t ) = 0; + virtual void undoc9( ) = 0; + virtual void undoc10( ) = 0; + virtual int8_t undoc11( uint32_t ) = 0; + virtual void undoc12( ) = 0; + virtual void undoc13( uint32_t ) = 0; + virtual void undoc14( uint32_t ) = 0; + virtual uint32_t undoc15( ) = 0; + virtual void undoc16( int8_t ) = 0; + virtual int8_t undoc17( ) = 0; + virtual uint32_t undoc18( ) = 0; + virtual void undoc19( int8_t ) = 0; + virtual int8_t undoc20( ) = 0; + virtual uint32_t undoc21( ) = 0; + virtual void undoc22( uint64_t, const char *, uint32_t, uint32_t, const char * ) = 0; + virtual int8_t undoc23( const char * ) = 0; + virtual int8_t undoc24( ) = 0; + virtual int8_t undoc25( int8_t ) = 0; + virtual uint64_t undoc26( ) = 0; + virtual uint32_t undoc27( const char * ) = 0; + virtual void undoc28( uint64_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRMailbox_IVRMailbox_001 +{ +#ifdef __cplusplus + virtual uint32_t undoc1( const char *, uint64_t * ) = 0; + virtual uint32_t undoc2( uint64_t ) = 0; + virtual uint32_t undoc3( uint64_t, const char *, const char * ) = 0; + virtual uint32_t undoc4( uint64_t, char *, uint32_t, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSystem_IVRSystem_022 +{ +#ifdef __cplusplus + virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0; + virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0; + virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0; + virtual int8_t ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0; + virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0; + virtual int8_t GetTimeSinceLastVsync( float *, uint64_t * ) = 0; + virtual int32_t GetD3D9AdapterIndex( ) = 0; + virtual void GetDXGIOutputInfo( int32_t * ) = 0; + virtual void GetOutputDevice( uint64_t *, uint32_t, VkInstance_T * ) = 0; + virtual int8_t IsDisplayOnDesktop( ) = 0; + virtual int8_t SetDisplayVisibility( int8_t ) = 0; + virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0; + virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0; + virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0; + virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0; + virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0; + virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0; + virtual int8_t IsTrackedDeviceConnected( uint32_t ) = 0; + virtual int8_t GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetArrayTrackedDeviceProperty( uint32_t, uint32_t, uint32_t, void *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0; + virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0; + virtual int8_t PollNextEvent( u_VREvent_t_1168 *, uint32_t ) = 0; + virtual int8_t PollNextEventWithPose( uint32_t, u_VREvent_t_1168 *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0; + virtual u_HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0; + virtual int8_t GetControllerState( uint32_t, u_VRControllerState001_t *, uint32_t ) = 0; + virtual int8_t GetControllerStateWithPose( uint32_t, uint32_t, u_VRControllerState001_t *, uint32_t, TrackedDevicePose_t * ) = 0; + virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0; + virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0; + virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0; + virtual int8_t IsInputAvailable( ) = 0; + virtual int8_t IsSteamVRDrawingControllers( ) = 0; + virtual int8_t ShouldApplicationPause( ) = 0; + virtual int8_t ShouldApplicationReduceRenderingWork( ) = 0; + virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0; + virtual void AcknowledgeQuit_Exiting( ) = 0; + virtual uint32_t GetAppContainerFilePaths( char *, uint32_t ) = 0; + virtual const char * GetRuntimeVersion( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRChaperone_IVRChaperone_004 +{ +#ifdef __cplusplus + virtual uint32_t GetCalibrationState( ) = 0; + virtual int8_t GetPlayAreaSize( float *, float * ) = 0; + virtual int8_t GetPlayAreaRect( HmdQuad_t * ) = 0; + virtual void ReloadInfo( ) = 0; + virtual void SetSceneColor( HmdColor_t ) = 0; + virtual void GetBoundsColor( HmdColor_t *, int32_t, float, HmdColor_t * ) = 0; + virtual int8_t AreBoundsVisible( ) = 0; + virtual void ForceBoundsVisible( int8_t ) = 0; + virtual void ResetZeroPose( uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRCompositor_IVRCompositor_027 +{ +#ifdef __cplusplus + virtual void SetTrackingSpace( uint32_t ) = 0; + virtual uint32_t GetTrackingSpace( ) = 0; + virtual uint32_t WaitGetPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoses( TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; + virtual uint32_t GetLastPoseForTrackedDeviceIndex( uint32_t, TrackedDevicePose_t *, TrackedDevicePose_t * ) = 0; + virtual uint32_t Submit( uint32_t, const u_Texture_t *, const VRTextureBounds_t *, uint32_t ) = 0; + virtual void ClearLastSubmittedFrame( ) = 0; + virtual void PostPresentHandoff( ) = 0; + virtual int8_t GetFrameTiming( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual uint32_t GetFrameTimings( u_Compositor_FrameTiming_1017 *, uint32_t ) = 0; + virtual float GetFrameTimeRemaining( ) = 0; + virtual void GetCumulativeStats( Compositor_CumulativeStats_1267 *, uint32_t ) = 0; + virtual void FadeToColor( float, float, float, float, float, int8_t ) = 0; + virtual HmdColor_t GetCurrentFadeColor( int8_t ) = 0; + virtual void FadeGrid( float, int8_t ) = 0; + virtual float GetCurrentGridAlpha( ) = 0; + virtual uint32_t SetSkyboxOverride( const u_Texture_t *, uint32_t ) = 0; + virtual void ClearSkyboxOverride( ) = 0; + virtual void CompositorBringToFront( ) = 0; + virtual void CompositorGoToBack( ) = 0; + virtual void CompositorQuit( ) = 0; + virtual int8_t IsFullscreen( ) = 0; + virtual uint32_t GetCurrentSceneFocusProcess( ) = 0; + virtual uint32_t GetLastFrameRenderer( ) = 0; + virtual int8_t CanRenderScene( ) = 0; + virtual void ShowMirrorWindow( ) = 0; + virtual void HideMirrorWindow( ) = 0; + virtual int8_t IsMirrorWindowVisible( ) = 0; + virtual void CompositorDumpImages( ) = 0; + virtual int8_t ShouldAppRenderWithLowResources( ) = 0; + virtual void ForceInterleavedReprojectionOn( int8_t ) = 0; + virtual void ForceReconnectProcess( ) = 0; + virtual void SuspendRendering( int8_t ) = 0; + virtual uint32_t GetMirrorTextureD3D11( uint32_t, void *, void ** ) = 0; + virtual void ReleaseMirrorTextureD3D11( void * ) = 0; + virtual uint32_t GetMirrorTextureGL( uint32_t, uint32_t *, void ** ) = 0; + virtual int8_t ReleaseSharedGLTexture( uint32_t, void * ) = 0; + virtual void LockGLSharedTextureForAccess( void * ) = 0; + virtual void UnlockGLSharedTextureForAccess( void * ) = 0; + virtual uint32_t GetVulkanInstanceExtensionsRequired( char *, uint32_t ) = 0; + virtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *, char *, uint32_t ) = 0; + virtual void SetExplicitTimingMode( uint32_t ) = 0; + virtual uint32_t SubmitExplicitTimingData( ) = 0; + virtual int8_t IsMotionSmoothingEnabled( ) = 0; + virtual int8_t IsMotionSmoothingSupported( ) = 0; + virtual int8_t IsCurrentSceneFocusAppLoading( ) = 0; + virtual uint32_t SetStageOverride_Async( const char *, const HmdMatrix34_t *, const Compositor_StageRenderSettings *, uint32_t ) = 0; + virtual void ClearStageOverride( ) = 0; + virtual int8_t GetCompositorBenchmarkResults( Compositor_BenchmarkResults *, uint32_t ) = 0; + virtual uint32_t GetLastPosePredictionIDs( uint32_t *, uint32_t * ) = 0; + virtual uint32_t GetPosesForFrame( uint32_t, TrackedDevicePose_t *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_025 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformCursor( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t GetOverlayTransformCursor( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayTransformProjection( uint64_t, uint32_t, const HmdMatrix34_t *, const VROverlayProjection_t *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t TriggerLaserMouseHapticVibration( uint64_t, float, float, float ) = 0; + virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; + virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_026 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayPreCurvePitch( uint64_t, float ) = 0; + virtual uint32_t GetOverlayPreCurvePitch( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t GetOverlayTransformOverlayRelative( uint64_t, uint64_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformOverlayRelative( uint64_t, uint64_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformCursor( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t GetOverlayTransformCursor( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayTransformProjection( uint64_t, uint32_t, const HmdMatrix34_t *, const VROverlayProjection_t *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual uint32_t WaitFrameSync( uint32_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t TriggerLaserMouseHapticVibration( uint64_t, float, float, float ) = 0; + virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; + virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVROverlay_IVROverlay_027 +{ +#ifdef __cplusplus + virtual uint32_t FindOverlay( const char *, uint64_t * ) = 0; + virtual uint32_t CreateOverlay( const char *, const char *, uint64_t * ) = 0; + virtual uint32_t DestroyOverlay( uint64_t ) = 0; + virtual uint32_t GetOverlayKey( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t GetOverlayName( uint64_t, char *, uint32_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayName( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayImageData( uint64_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0; + virtual const char * GetOverlayErrorNameFromEnum( uint32_t ) = 0; + virtual uint32_t SetOverlayRenderingPid( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayRenderingPid( uint64_t ) = 0; + virtual uint32_t SetOverlayFlag( uint64_t, uint32_t, int8_t ) = 0; + virtual uint32_t GetOverlayFlag( uint64_t, uint32_t, int8_t * ) = 0; + virtual uint32_t GetOverlayFlags( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayColor( uint64_t, float, float, float ) = 0; + virtual uint32_t GetOverlayColor( uint64_t, float *, float *, float * ) = 0; + virtual uint32_t SetOverlayAlpha( uint64_t, float ) = 0; + virtual uint32_t GetOverlayAlpha( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTexelAspect( uint64_t, float ) = 0; + virtual uint32_t GetOverlayTexelAspect( uint64_t, float * ) = 0; + virtual uint32_t SetOverlaySortOrder( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlaySortOrder( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayWidthInMeters( uint64_t, float ) = 0; + virtual uint32_t GetOverlayWidthInMeters( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayCurvature( uint64_t, float ) = 0; + virtual uint32_t GetOverlayCurvature( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayPreCurvePitch( uint64_t, float ) = 0; + virtual uint32_t GetOverlayPreCurvePitch( uint64_t, float * ) = 0; + virtual uint32_t SetOverlayTextureColorSpace( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayTextureColorSpace( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTextureBounds( uint64_t, const VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTextureBounds( uint64_t, VRTextureBounds_t * ) = 0; + virtual uint32_t GetOverlayTransformType( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayTransformAbsolute( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformAbsolute( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t, const HmdMatrix34_t * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceRelative( uint64_t, uint32_t *, HmdMatrix34_t * ) = 0; + virtual uint32_t SetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t, const char * ) = 0; + virtual uint32_t GetOverlayTransformTrackedDeviceComponent( uint64_t, uint32_t *, char *, uint32_t ) = 0; + virtual uint32_t SetOverlayTransformCursor( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t GetOverlayTransformCursor( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayTransformProjection( uint64_t, uint32_t, const HmdMatrix34_t *, const VROverlayProjection_t *, uint32_t ) = 0; + virtual uint32_t ShowOverlay( uint64_t ) = 0; + virtual uint32_t HideOverlay( uint64_t ) = 0; + virtual int8_t IsOverlayVisible( uint64_t ) = 0; + virtual uint32_t GetTransformForOverlayCoordinates( uint64_t, uint32_t, HmdVector2_t, HmdMatrix34_t * ) = 0; + virtual uint32_t WaitFrameSync( uint32_t ) = 0; + virtual int8_t PollNextOverlayEvent( uint64_t, u_VREvent_t_1168 *, uint32_t ) = 0; + virtual uint32_t GetOverlayInputMethod( uint64_t, uint32_t * ) = 0; + virtual uint32_t SetOverlayInputMethod( uint64_t, uint32_t ) = 0; + virtual uint32_t GetOverlayMouseScale( uint64_t, HmdVector2_t * ) = 0; + virtual uint32_t SetOverlayMouseScale( uint64_t, const HmdVector2_t * ) = 0; + virtual int8_t ComputeOverlayIntersection( uint64_t, const VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t * ) = 0; + virtual int8_t IsHoverTargetOverlay( uint64_t ) = 0; + virtual uint32_t SetOverlayIntersectionMask( uint64_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t ) = 0; + virtual uint32_t TriggerLaserMouseHapticVibration( uint64_t, float, float, float ) = 0; + virtual uint32_t SetOverlayCursor( uint64_t, uint64_t ) = 0; + virtual uint32_t SetOverlayCursorPositionOverride( uint64_t, const HmdVector2_t * ) = 0; + virtual uint32_t ClearOverlayCursorPositionOverride( uint64_t ) = 0; + virtual uint32_t SetOverlayTexture( uint64_t, const u_Texture_t * ) = 0; + virtual uint32_t ClearOverlayTexture( uint64_t ) = 0; + virtual uint32_t SetOverlayRaw( uint64_t, void *, uint32_t, uint32_t, uint32_t ) = 0; + virtual uint32_t SetOverlayFromFile( uint64_t, const char * ) = 0; + virtual uint32_t GetOverlayTexture( uint64_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *, VRTextureBounds_t * ) = 0; + virtual uint32_t ReleaseNativeOverlayHandle( uint64_t, void * ) = 0; + virtual uint32_t GetOverlayTextureSize( uint64_t, uint32_t *, uint32_t * ) = 0; + virtual uint32_t CreateDashboardOverlay( const char *, const char *, uint64_t *, uint64_t * ) = 0; + virtual int8_t IsDashboardVisible( ) = 0; + virtual int8_t IsActiveDashboardOverlay( uint64_t ) = 0; + virtual uint32_t SetDashboardOverlaySceneProcess( uint64_t, uint32_t ) = 0; + virtual uint32_t GetDashboardOverlaySceneProcess( uint64_t, uint32_t * ) = 0; + virtual void ShowDashboard( const char * ) = 0; + virtual uint32_t GetPrimaryDashboardDevice( ) = 0; + virtual uint32_t ShowKeyboard( uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t ShowKeyboardForOverlay( uint64_t, uint32_t, uint32_t, uint32_t, const char *, uint32_t, const char *, uint64_t ) = 0; + virtual uint32_t GetKeyboardText( char *, uint32_t ) = 0; + virtual void HideKeyboard( ) = 0; + virtual void SetKeyboardTransformAbsolute( uint32_t, const HmdMatrix34_t * ) = 0; + virtual void SetKeyboardPositionForOverlay( uint64_t, HmdRect2_t ) = 0; + virtual uint32_t ShowMessageOverlay( const char *, const char *, const char *, const char *, const char *, const char * ) = 0; + virtual void CloseMessageOverlay( ) = 0; +#endif /* __cplusplus */ +}; + + +NTSTATUS IVRApplications_IVRApplications_001_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_001_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_001_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_001_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_001_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_001_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetHomeApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_001_SetHomeApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_001_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_002_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_002_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_002_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_002_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_002_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_002_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_002_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_002_IsQuitUserPromptRequested( void * ); +NTSTATUS IVRApplications_IVRApplications_003_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_003_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_003_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_003_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_003_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_003_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationPropertyUint64( void * ); +NTSTATUS IVRApplications_IVRApplications_003_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_003_IsQuitUserPromptRequested( void * ); +NTSTATUS IVRApplications_IVRApplications_004_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_004_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_004_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_004_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_004_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_004_CancelApplicationLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_004_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationPropertyUint64( void * ); +NTSTATUS IVRApplications_IVRApplications_004_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_004_IsQuitUserPromptRequested( void * ); +NTSTATUS IVRApplications_IVRApplications_004_LaunchInternalProcess( void * ); +NTSTATUS IVRApplications_IVRApplications_005_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_005_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_005_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_005_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_005_LaunchTemplateApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_005_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_005_CancelApplicationLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_005_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationPropertyUint64( void * ); +NTSTATUS IVRApplications_IVRApplications_005_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_005_IsQuitUserPromptRequested( void * ); +NTSTATUS IVRApplications_IVRApplications_005_LaunchInternalProcess( void * ); +NTSTATUS IVRApplications_IVRApplications_006_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_006_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_006_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_006_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_006_LaunchTemplateApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_006_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_006_CancelApplicationLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_006_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationPropertyUint64( void * ); +NTSTATUS IVRApplications_IVRApplications_006_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationLaunchArguments( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetTransitionState( void * ); +NTSTATUS IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_006_IsQuitUserPromptRequested( void * ); +NTSTATUS IVRApplications_IVRApplications_006_LaunchInternalProcess( void * ); +NTSTATUS IVRApplications_IVRApplications_006_GetCurrentSceneProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_007_AddApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_007_RemoveApplicationManifest( void * ); +NTSTATUS IVRApplications_IVRApplications_007_IsApplicationInstalled( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationCount( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationKeyByIndex( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_007_LaunchApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_007_LaunchTemplateApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_007_LaunchDashboardOverlay( void * ); +NTSTATUS IVRApplications_IVRApplications_007_CancelApplicationLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_007_IdentifyApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationProcessId( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyString( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyBool( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationPropertyUint64( void * ); +NTSTATUS IVRApplications_IVRApplications_007_SetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationAutoLaunch( void * ); +NTSTATUS IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetApplicationLaunchArguments( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetStartingApplication( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetSceneApplicationState( void * ); +NTSTATUS IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum( void * ); +NTSTATUS IVRApplications_IVRApplications_007_LaunchInternalProcess( void * ); +NTSTATUS IVRApplications_IVRApplications_007_GetCurrentSceneProcessId( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview( void * ); +NTSTATUS IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_GetCalibrationState( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_GetHardBoundsInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_ReloadInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_SetSceneColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_GetBoundsColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_AreBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_002_ForceBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_GetCalibrationState( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_GetPlayAreaSize( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_GetPlayAreaRect( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_ReloadInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_SetSceneColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_GetBoundsColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_AreBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_003_ForceBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_GetCalibrationState( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaSize( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaRect( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_ReloadInfo( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_SetSceneColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_GetBoundsColor( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_AreBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_ForceBoundsVisible( void * ); +NTSTATUS IVRChaperone_IVRChaperone_004_ResetZeroPose( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_Init( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_Cleanup( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_GetGenericInterface( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_BIsHmdPresent( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError( void * ); +NTSTATUS IVRClientCore_IVRClientCore_002_GetIDForVRInitError( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_Init( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_Cleanup( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_GetGenericInterface( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_BIsHmdPresent( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError( void * ); +NTSTATUS IVRClientCore_IVRClientCore_003_GetIDForVRInitError( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetLastError( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetGraphicsDevice( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetOverlayDefaults( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlay( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlayRaw( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetOverlayFromFile( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_ClearOverlay( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_005_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetLastError( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_SetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_SetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_SetGraphicsDevice( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_006_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetLastError( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_SetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_SetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_007_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetLastError( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_SetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetVSync( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_SetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetGamma( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_008_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_009_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_010_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_011_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_014_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_RequestScreenshot( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_SetExplicitTimingMode( void * ); +NTSTATUS IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_SetExplicitTimingMode( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported( void * ); +NTSTATUS IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SetExplicitTimingMode( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_SetStageOverride_Async( void * ); +NTSTATUS IVRCompositor_IVRCompositor_024_ClearStageOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SetExplicitTimingMode( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_SetStageOverride_Async( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_ClearStageOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs( void * ); +NTSTATUS IVRCompositor_IVRCompositor_026_GetPosesForFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetTrackingSpace( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_WaitGetPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPoses( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_Submit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_PostPresentHandoff( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTiming( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTimings( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetCumulativeStats( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_FadeToColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentFadeColor( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_FadeGrid( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SetSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ClearSkyboxOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorBringToFront( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorGoToBack( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorQuit( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_IsFullscreen( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastFrameRenderer( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_CanRenderScene( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ShowMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_HideMirrorWindow( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_CompositorDumpImages( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ForceReconnectProcess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SuspendRendering( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetMirrorTextureGL( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SetExplicitTimingMode( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_SetStageOverride_Async( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_ClearStageOverride( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs( void * ); +NTSTATUS IVRCompositor_IVRCompositor_027_GetPosesForFrame( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc1( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc2( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc3( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc4( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc5( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc6( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc7( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc8( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc9( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc10( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc11( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc12( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc13( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc14( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc15( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc16( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc17( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc18( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc19( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc20( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc21( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc22( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc23( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc24( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc25( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc26( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc27( void * ); +NTSTATUS IVRControlPanel_IVRControlPanel_006_undoc28( void * ); +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverCount( void * ); +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverName( void * ); +NTSTATUS IVRDriverManager_IVRDriverManager_001_GetDriverHandle( void * ); +NTSTATUS IVRDriverManager_IVRDriverManager_001_IsEnabled( void * ); +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds( void * ); +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport( void * ); +NTSTATUS IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange( void * ); +NTSTATUS IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Open( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Close( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Read( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_Write( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_001_PropertyContainer( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Open( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Close( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Read( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_Write( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_PropertyContainer( void * ); +NTSTATUS IVRIOBuffer_IVRIOBuffer_002_HasReaders( void * ); +NTSTATUS IVRInput_IVRInput_003_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_003_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_003_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_003_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_003_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_003_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_003_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_003_GetPoseActionData( void * ); +NTSTATUS IVRInput_IVRInput_003_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_003_GetSkeletalActionDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_003_UncompressSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_003_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_003_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_003_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_003_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_003_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_004_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_004_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_004_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_004_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_004_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_004_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_004_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_004_GetPoseActionData( void * ); +NTSTATUS IVRInput_IVRInput_004_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_004_GetSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_004_DecompressSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_004_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_004_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_004_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_004_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_004_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_005_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_005_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_005_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_005_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_005_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_005_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetPoseActionData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetBoneCount( void * ); +NTSTATUS IVRInput_IVRInput_005_GetBoneHierarchy( void * ); +NTSTATUS IVRInput_IVRInput_005_GetBoneName( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalReferenceTransforms( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalTrackingLevel( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalSummaryData( void * ); +NTSTATUS IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_005_DecompressSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_005_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_005_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_005_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_005_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_005_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_005_IsUsingLegacyInput( void * ); +NTSTATUS IVRInput_IVRInput_006_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_006_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_006_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_006_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_006_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_006_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_006_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow( void * ); +NTSTATUS IVRInput_IVRInput_006_GetPoseActionDataForNextFrame( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_006_GetBoneCount( void * ); +NTSTATUS IVRInput_IVRInput_006_GetBoneHierarchy( void * ); +NTSTATUS IVRInput_IVRInput_006_GetBoneName( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalReferenceTransforms( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalTrackingLevel( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalSummaryData( void * ); +NTSTATUS IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_006_DecompressSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_006_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_006_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_006_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_006_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_006_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_006_IsUsingLegacyInput( void * ); +NTSTATUS IVRInput_IVRInput_007_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_007_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_007_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_007_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_007_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_007_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_007_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( void * ); +NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataForNextFrame( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_007_GetBoneCount( void * ); +NTSTATUS IVRInput_IVRInput_007_GetBoneHierarchy( void * ); +NTSTATUS IVRInput_IVRInput_007_GetBoneName( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalReferenceTransforms( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalTrackingLevel( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalSummaryData( void * ); +NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_007_DecompressSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_007_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_007_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_007_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_007_GetActionBindingInfo( void * ); +NTSTATUS IVRInput_IVRInput_007_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_007_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_007_IsUsingLegacyInput( void * ); +NTSTATUS IVRInput_IVRInput_007_OpenBindingUI( void * ); +NTSTATUS IVRInput_IVRInput_010_SetActionManifestPath( void * ); +NTSTATUS IVRInput_IVRInput_010_GetActionSetHandle( void * ); +NTSTATUS IVRInput_IVRInput_010_GetActionHandle( void * ); +NTSTATUS IVRInput_IVRInput_010_GetInputSourceHandle( void * ); +NTSTATUS IVRInput_IVRInput_010_UpdateActionState( void * ); +NTSTATUS IVRInput_IVRInput_010_GetDigitalActionData( void * ); +NTSTATUS IVRInput_IVRInput_010_GetAnalogActionData( void * ); +NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( void * ); +NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataForNextFrame( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalActionData( void * ); +NTSTATUS IVRInput_IVRInput_010_GetDominantHand( void * ); +NTSTATUS IVRInput_IVRInput_010_SetDominantHand( void * ); +NTSTATUS IVRInput_IVRInput_010_GetBoneCount( void * ); +NTSTATUS IVRInput_IVRInput_010_GetBoneHierarchy( void * ); +NTSTATUS IVRInput_IVRInput_010_GetBoneName( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalReferenceTransforms( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalTrackingLevel( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalSummaryData( void * ); +NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( void * ); +NTSTATUS IVRInput_IVRInput_010_DecompressSkeletalBoneData( void * ); +NTSTATUS IVRInput_IVRInput_010_TriggerHapticVibrationAction( void * ); +NTSTATUS IVRInput_IVRInput_010_GetActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_010_GetOriginLocalizedName( void * ); +NTSTATUS IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( void * ); +NTSTATUS IVRInput_IVRInput_010_GetActionBindingInfo( void * ); +NTSTATUS IVRInput_IVRInput_010_ShowActionOrigins( void * ); +NTSTATUS IVRInput_IVRInput_010_ShowBindingsForActionSet( void * ); +NTSTATUS IVRInput_IVRInput_010_GetComponentStateForBinding( void * ); +NTSTATUS IVRInput_IVRInput_010_IsUsingLegacyInput( void * ); +NTSTATUS IVRInput_IVRInput_010_OpenBindingUI( void * ); +NTSTATUS IVRInput_IVRInput_010_GetBindingVariant( void * ); +NTSTATUS IVRMailbox_IVRMailbox_001_undoc1( void * ); +NTSTATUS IVRMailbox_IVRMailbox_001_undoc2( void * ); +NTSTATUS IVRMailbox_IVRMailbox_001_undoc3( void * ); +NTSTATUS IVRMailbox_IVRMailbox_001_undoc4( void * ); +NTSTATUS IVRNotifications_IVRNotifications_001_GetErrorString( void * ); +NTSTATUS IVRNotifications_IVRNotifications_001_CreateNotification( void * ); +NTSTATUS IVRNotifications_IVRNotifications_001_DismissNotification( void * ); +NTSTATUS IVRNotifications_IVRNotifications_002_CreateNotification( void * ); +NTSTATUS IVRNotifications_IVRNotifications_002_RemoveNotification( void * ); +NTSTATUS IVROverlayView_IVROverlayView_003_AcquireOverlayView( void * ); +NTSTATUS IVROverlayView_IVROverlayView_003_ReleaseOverlayView( void * ); +NTSTATUS IVROverlayView_IVROverlayView_003_PostOverlayEvent( void * ); +NTSTATUS IVROverlayView_IVROverlayView_003_IsViewingPermitted( void * ); +NTSTATUS IVROverlay_IVROverlay_001_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayVisibility( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayVisibility( void * ); +NTSTATUS IVROverlay_IVROverlay_001_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_001_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_001_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_001_IsSystemOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_001_IsActiveSystemOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_002_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_002_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_002_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_002_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_002_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_002_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_002_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_003_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_003_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_003_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_003_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_003_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_003_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_003_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_003_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_004_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_004_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_004_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_004_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_004_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_004_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_004_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_004_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_005_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayGamma( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_005_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_005_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_005_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_005_IsFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_005_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_005_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_005_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_005_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_005_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_005_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_005_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_007_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_007_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_007_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_007_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_007_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_007_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_007_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_007_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_008_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_008_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_008_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_008_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_008_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_008_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_008_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_008_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_010_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_010_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_010_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_010_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_010_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_010_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_010_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_011_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_011_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_011_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_011_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_011_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_011_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_011_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_012_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_012_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_012_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_012_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_012_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_012_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_012_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_013_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_013_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_013_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_013_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_013_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_013_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_014_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_014_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_014_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_014_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_014_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_014_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_014_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_014_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_016_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_016_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_016_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_016_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_016_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_016_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_016_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_016_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_017_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVROverlay_IVROverlay_017_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_017_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_017_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_017_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_017_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_017_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_017_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_018_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_018_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_018_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_018_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_018_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_018_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_018_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_018_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetHighQualityOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_019_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_019_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_019_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_019_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_019_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_019_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_019_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_019_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_020_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_020_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetGamepadFocusOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_020_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_020_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_020_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_020_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_020_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_020_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_021_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_021_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_021_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_021_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_021_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_021_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_021_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_021_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRenderModel( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_022_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_022_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_022_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_022_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_022_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_022_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_024_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_024_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_024_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_024_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_024_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_024_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTransformProjection( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_025_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_025_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_025_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_025_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_025_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_025_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTransformProjection( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_026_WaitFrameSync( void * ); +NTSTATUS IVROverlay_IVROverlay_026_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_026_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_026_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_026_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_026_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_026_CloseMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_FindOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_CreateOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_DestroyOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayKey( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayName( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayImageData( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayRenderingPid( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayFlag( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayFlags( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayColor( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayAlpha( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTexelAspect( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlaySortOrder( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayWidthInMeters( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayCurvature( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureBounds( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformType( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTransformCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTransformProjection( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ShowOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_HideOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_IsOverlayVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates( void * ); +NTSTATUS IVROverlay_IVROverlay_027_WaitFrameSync( void * ); +NTSTATUS IVROverlay_IVROverlay_027_PollNextOverlayEvent( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayInputMethod( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayMouseScale( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ComputeOverlayIntersection( void * ); +NTSTATUS IVROverlay_IVROverlay_027_IsHoverTargetOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayIntersectionMask( void * ); +NTSTATUS IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCursor( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ClearOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayRaw( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayFromFile( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTexture( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetOverlayTextureSize( void * ); +NTSTATUS IVROverlay_IVROverlay_027_CreateDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_IsDashboardVisible( void * ); +NTSTATUS IVROverlay_IVROverlay_027_IsActiveDashboardOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ShowDashboard( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ShowKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ShowKeyboardForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_GetKeyboardText( void * ); +NTSTATUS IVROverlay_IVROverlay_027_HideKeyboard( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute( void * ); +NTSTATUS IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_ShowMessageOverlay( void * ); +NTSTATUS IVROverlay_IVROverlay_027_CloseMessageOverlay( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_001_LoadRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_001_FreeRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_001_GetRenderModelCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_LoadRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_FreeRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_LoadTexture( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_FreeTexture( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetRenderModelCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_GetComponentState( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadTexture_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeTexture( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetRenderModelCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_GetComponentState( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadTexture_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeTexture( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetComponentState( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeRenderModel( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadTexture_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeTexture( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentCount( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetComponentState( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath( void * ); +NTSTATUS IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum( void * ); +NTSTATUS IVRResources_IVRResources_001_LoadSharedResource( void * ); +NTSTATUS IVRResources_IVRResources_001_GetResourceFullPath( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_RequestScreenshot( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_HookScreenshot( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot( void * ); +NTSTATUS IVRScreenshots_IVRScreenshots_001_SubmitScreenshot( void * ); +NTSTATUS IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum( void * ); +NTSTATUS IVRSettings_IVRSettings_001_Sync( void * ); +NTSTATUS IVRSettings_IVRSettings_001_GetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_001_SetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_001_GetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_001_SetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_001_GetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_001_SetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_001_GetString( void * ); +NTSTATUS IVRSettings_IVRSettings_001_SetString( void * ); +NTSTATUS IVRSettings_IVRSettings_001_RemoveSection( void * ); +NTSTATUS IVRSettings_IVRSettings_001_RemoveKeyInSection( void * ); +NTSTATUS IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum( void * ); +NTSTATUS IVRSettings_IVRSettings_002_Sync( void * ); +NTSTATUS IVRSettings_IVRSettings_002_SetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_002_SetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_002_SetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_002_SetString( void * ); +NTSTATUS IVRSettings_IVRSettings_002_GetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_002_GetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_002_GetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_002_GetString( void * ); +NTSTATUS IVRSettings_IVRSettings_002_RemoveSection( void * ); +NTSTATUS IVRSettings_IVRSettings_002_RemoveKeyInSection( void * ); +NTSTATUS IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum( void * ); +NTSTATUS IVRSettings_IVRSettings_003_SetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_003_SetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_003_SetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_003_SetString( void * ); +NTSTATUS IVRSettings_IVRSettings_003_GetBool( void * ); +NTSTATUS IVRSettings_IVRSettings_003_GetInt32( void * ); +NTSTATUS IVRSettings_IVRSettings_003_GetFloat( void * ); +NTSTATUS IVRSettings_IVRSettings_003_GetString( void * ); +NTSTATUS IVRSettings_IVRSettings_003_RemoveSection( void * ); +NTSTATUS IVRSettings_IVRSettings_003_RemoveKeyInSection( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetWindowBounds( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetEyeOutputViewport( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_003_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_003_AttachToWindow( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_003_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_003_LoadRenderModel( void * ); +NTSTATUS IVRSystem_IVRSystem_003_FreeRenderModel( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_003_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_003_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_003_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_003_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse( void * ); +NTSTATUS IVRSystem_IVRSystem_003_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_003_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetWindowBounds( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetEyeOutputViewport( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_004_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_004_AttachToWindow( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_004_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_004_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_004_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_004_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_004_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_004_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_004_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_004_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetWindowBounds( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetEyeOutputViewport( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_005_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_005_AttachToWindow( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_005_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_005_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_005_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_005_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_005_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_005_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_005_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_005_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetWindowBounds( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetEyeOutputViewport( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_006_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_006_AttachToWindow( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_006_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_006_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_006_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_006_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_006_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_006_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_006_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_006_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_006_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_006_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_009_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_009_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_009_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_009_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_009_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_009_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_009_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_009_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_009_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_009_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_009_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_009_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_010_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_010_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_010_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_010_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_010_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_010_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_010_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_010_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_010_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_010_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_010_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_010_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_010_PerformanceTestEnableCapture( void * ); +NTSTATUS IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_011_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_011_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_011_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_011_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_011_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_011_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_011_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_011_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_011_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_011_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_011_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_011_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_011_PerformanceTestEnableCapture( void * ); +NTSTATUS IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_012_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_012_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_012_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_012_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_012_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_012_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_012_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_012_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_012_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_012_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_012_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_012_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_014_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_014_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_014_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_014_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_014_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_014_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_014_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_014_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_014_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_014_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_014_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_014_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_015_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_015_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_015_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_015_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_015_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_015_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_015_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_015_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_015_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_015_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_015_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_015_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_016_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_016_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_016_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_016_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_016_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_016_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_016_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_016_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_016_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_016_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_016_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_016_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_017_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_017_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_017_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_017_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_017_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_017_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_017_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_017_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_017_CaptureInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_017_ReleaseInputFocus( void * ); +NTSTATUS IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess( void * ); +NTSTATUS IVRSystem_IVRSystem_017_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_017_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_019_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_019_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_019_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_019_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_019_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_019_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_019_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_019_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_019_IsInputAvailable( void * ); +NTSTATUS IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers( void * ); +NTSTATUS IVRSystem_IVRSystem_019_ShouldApplicationPause( void * ); +NTSTATUS IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork( void * ); +NTSTATUS IVRSystem_IVRSystem_019_DriverDebugRequest( void * ); +NTSTATUS IVRSystem_IVRSystem_019_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_020_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_020_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_020_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_020_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_020_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_020_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_020_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_020_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_020_IsInputAvailable( void * ); +NTSTATUS IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( void * ); +NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationPause( void * ); +NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( void * ); +NTSTATUS IVRSystem_IVRSystem_020_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetAppContainerFilePaths( void * ); +NTSTATUS IVRSystem_IVRSystem_020_GetRuntimeVersion( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_021_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_021_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_021_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_ResetSeatedZeroPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_021_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_021_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_021_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_021_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_021_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_021_IsInputAvailable( void * ); +NTSTATUS IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers( void * ); +NTSTATUS IVRSystem_IVRSystem_021_ShouldApplicationPause( void * ); +NTSTATUS IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork( void * ); +NTSTATUS IVRSystem_IVRSystem_021_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetAppContainerFilePaths( void * ); +NTSTATUS IVRSystem_IVRSystem_021_GetRuntimeVersion( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetProjectionMatrix( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetProjectionRaw( void * ); +NTSTATUS IVRSystem_IVRSystem_022_ComputeDistortion( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetEyeToHeadTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetTimeSinceLastVsync( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetD3D9AdapterIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetDXGIOutputInfo( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetOutputDevice( void * ); +NTSTATUS IVRSystem_IVRSystem_022_IsDisplayOnDesktop( void * ); +NTSTATUS IVRSystem_IVRSystem_022_SetDisplayVisibility( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel( void * ); +NTSTATUS IVRSystem_IVRSystem_022_ApplyTransform( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetTrackedDeviceClass( void * ); +NTSTATUS IVRSystem_IVRSystem_022_IsTrackedDeviceConnected( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_022_PollNextEvent( void * ); +NTSTATUS IVRSystem_IVRSystem_022_PollNextEventWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetHiddenAreaMesh( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetControllerState( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetControllerStateWithPose( void * ); +NTSTATUS IVRSystem_IVRSystem_022_TriggerHapticPulse( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum( void * ); +NTSTATUS IVRSystem_IVRSystem_022_IsInputAvailable( void * ); +NTSTATUS IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers( void * ); +NTSTATUS IVRSystem_IVRSystem_022_ShouldApplicationPause( void * ); +NTSTATUS IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork( void * ); +NTSTATUS IVRSystem_IVRSystem_022_PerformFirmwareUpdate( void * ); +NTSTATUS IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetAppContainerFilePaths( void * ); +NTSTATUS IVRSystem_IVRSystem_022_GetRuntimeVersion( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_HasCamera( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace( void * ); +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace( void * ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/unix_vrclientcore_manual.cpp b/vrclient_x64/unix_vrclientcore_manual.cpp new file mode 100644 index 000000000..b69100654 --- /dev/null +++ b/vrclient_x64/unix_vrclientcore_manual.cpp @@ -0,0 +1,34 @@ +#include "unix_private.h" + +#include + +NTSTATUS IVRClientCore_IVRClientCore_002_Init( void *args ) +{ + struct IVRClientCore_IVRClientCore_002_Init_params *params = (struct IVRClientCore_IVRClientCore_002_Init_params *)args; + struct u_IVRClientCore_IVRClientCore_002 *iface = (struct u_IVRClientCore_IVRClientCore_002 *)params->linux_side; + params->_ret = (uint32_t)iface->Init( params->eApplicationType ); + return 0; +} + +NTSTATUS IVRClientCore_IVRClientCore_003_Init( void *args ) +{ + struct IVRClientCore_IVRClientCore_003_Init_params *params = (struct IVRClientCore_IVRClientCore_003_Init_params *)args; + struct u_IVRClientCore_IVRClientCore_003 *iface = (struct u_IVRClientCore_IVRClientCore_003 *)params->linux_side; + const char *startup_info = json_convert_startup_info( params->pStartupInfo ); + if (!startup_info) startup_info = params->pStartupInfo; + + params->_ret = (uint32_t)iface->Init( params->eApplicationType, startup_info ); + + if (startup_info != params->pStartupInfo) free( (char *)startup_info ); + return 0; +} + +NTSTATUS IVRMailbox_IVRMailbox_001_undoc3( void *args ) +{ + struct IVRMailbox_IVRMailbox_001_undoc3_params *params = (struct IVRMailbox_IVRMailbox_001_undoc3_params *)args; + struct u_IVRMailbox_IVRMailbox_001 *iface = (struct u_IVRMailbox_IVRMailbox_001 *)params->linux_side; + char *c = json_convert_paths( params->c ); + params->_ret = (uint32_t)iface->undoc3( params->a, params->b, c ); + free( c ); + return 0; +} diff --git a/vrclient_x64/unix_vrcompositor_manual.cpp b/vrclient_x64/unix_vrcompositor_manual.cpp new file mode 100644 index 000000000..132f112b0 --- /dev/null +++ b/vrclient_x64/unix_vrcompositor_manual.cpp @@ -0,0 +1,611 @@ +#include "unix_private.h" + +static u_VRVulkanTextureData_t *unwrap_texture_vkdata( const w_VRVulkanTextureData_t *w_vkdata, u_VRVulkanTextureData_t *u_vkdata ) +{ + if (!w_vkdata) return NULL; + + *u_vkdata = *w_vkdata; + u_vkdata->m_pDevice = p_get_native_VkDevice( w_vkdata->m_pDevice ); + u_vkdata->m_pPhysicalDevice = p_get_native_VkPhysicalDevice( w_vkdata->m_pPhysicalDevice ); + u_vkdata->m_pInstance = p_get_native_VkInstance( w_vkdata->m_pInstance ); + u_vkdata->m_pQueue = p_get_native_VkQueue( w_vkdata->m_pQueue ); + + return u_vkdata; +} + +static u_VRVulkanTextureArrayData_t *unwrap_texture_vkdata_array( const w_VRVulkanTextureArrayData_t *w_vkdata, u_VRVulkanTextureArrayData_t *u_vkdata ) +{ + if (!w_vkdata) return NULL; + + *u_vkdata = *w_vkdata; + u_vkdata->m_pDevice = p_get_native_VkDevice( w_vkdata->m_pDevice ); + u_vkdata->m_pPhysicalDevice = p_get_native_VkPhysicalDevice( w_vkdata->m_pPhysicalDevice ); + u_vkdata->m_pInstance = p_get_native_VkInstance( w_vkdata->m_pInstance ); + u_vkdata->m_pQueue = p_get_native_VkQueue( w_vkdata->m_pQueue ); + + return u_vkdata; +} + +static u_VRTextureWithPoseAndDepth_t unwrap_texture_with_pose_and_depth( const w_VRTextureWithPoseAndDepth_t *w_texture, uint32_t flags, u_VRVulkanTextureArrayData_t *u_vkdata, + u_VRVulkanTextureData_t *u_depth_vkdata ) +{ + u_VRTextureWithPoseAndDepth_t u_texture = *w_texture; + + if (w_texture->eType == TextureType_Vulkan) + { + if (flags & Submit_VulkanTextureWithArrayData) u_texture.handle = unwrap_texture_vkdata_array( (w_VRVulkanTextureArrayData_t *)w_texture->handle, u_vkdata ); + else u_texture.handle = unwrap_texture_vkdata( (w_VRVulkanTextureData_t *)w_texture->handle, (u_VRVulkanTextureData_t *)u_vkdata ); + u_texture.depth.handle = unwrap_texture_vkdata( (w_VRVulkanTextureData_t *)w_texture->depth.handle, u_depth_vkdata ); + } + + return u_texture; +} + +static u_VRTextureWithDepth_t unwrap_texture_with_depth( const w_VRTextureWithDepth_t *w_texture, uint32_t flags, u_VRVulkanTextureArrayData_t *u_vkdata, + u_VRVulkanTextureData_t *u_depth_vkdata ) +{ + u_VRTextureWithDepth_t u_texture = *w_texture; + + if (w_texture->eType == TextureType_Vulkan) + { + if (flags & Submit_VulkanTextureWithArrayData) u_texture.handle = unwrap_texture_vkdata_array( (w_VRVulkanTextureArrayData_t *)w_texture->handle, u_vkdata ); + else u_texture.handle = unwrap_texture_vkdata( (w_VRVulkanTextureData_t *)w_texture->handle, (u_VRVulkanTextureData_t *)u_vkdata ); + /* We should maybe unwrap the vkdata but No Man Sky uses a garbage handle in its w_VRTextureDepthInfo_t, is this really used? */ + u_texture.depth.handle = w_texture->depth.handle; + } + + return u_texture; +} + +static u_VRTextureWithPose_t unwrap_texture_with_pose( const w_VRTextureWithPose_t *w_texture, uint32_t flags, u_VRVulkanTextureArrayData_t *u_vkdata ) +{ + u_VRTextureWithPose_t u_texture = *w_texture; + + if (w_texture->eType == TextureType_Vulkan) + { + if (flags & Submit_VulkanTextureWithArrayData) u_texture.handle = unwrap_texture_vkdata_array( (w_VRVulkanTextureArrayData_t *)w_texture->handle, u_vkdata ); + else u_texture.handle = unwrap_texture_vkdata( (w_VRVulkanTextureData_t *)w_texture->handle, (u_VRVulkanTextureData_t *)u_vkdata ); + } + + return u_texture; +} + +static u_Texture_t unwrap_texture_data( const w_Texture_t *w_texture, uint32_t flags, u_VRVulkanTextureArrayData_t *u_vkdata ) +{ + u_Texture_t u_texture = *w_texture; + + if (w_texture->eType == TextureType_Vulkan) + { + if (flags & Submit_VulkanTextureWithArrayData) u_texture.handle = unwrap_texture_vkdata_array( (w_VRVulkanTextureArrayData_t *)w_texture->handle, u_vkdata ); + else u_texture.handle = unwrap_texture_vkdata( (w_VRVulkanTextureData_t *)w_texture->handle, (u_VRVulkanTextureData_t *)u_vkdata ); + } + + return u_texture; +} + +static u_Texture_t *unwrap_submit_texture_data( const w_VRTextureWithPoseAndDepth_t *w_texture, uint32_t flags, u_VRTextureWithPoseAndDepth_t *u_texture, + u_VRVulkanTextureArrayData_t *u_vkdata, u_VRVulkanTextureData_t *u_depth_vkdata ) +{ + switch (flags & (Submit_TextureWithPose | Submit_TextureWithDepth)) + { + default: + *(u_Texture_t *)u_texture = unwrap_texture_data( (const w_Texture_t *)w_texture, flags, u_vkdata ); + break; + case Submit_TextureWithPose: + *(u_VRTextureWithPose_t *)u_texture = unwrap_texture_with_pose( (const w_VRTextureWithPose_t *)w_texture, flags, u_vkdata ); + break; + case Submit_TextureWithDepth: + *(u_VRTextureWithDepth_t *)u_texture = unwrap_texture_with_depth( (const w_VRTextureWithDepth_t *)w_texture, flags, u_vkdata, u_depth_vkdata ); + break; + case Submit_TextureWithPose | Submit_TextureWithDepth: + *u_texture = unwrap_texture_with_pose_and_depth( w_texture, flags, u_vkdata, u_depth_vkdata ); + break; + } + + return (u_Texture_t *)u_texture; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + VkPhysicalDevice_T *host_device = p_get_native_VkPhysicalDevice( params->pPhysicalDevice ); + params->_ret = (uint32_t)iface->GetVulkanDeviceExtensionsRequired( host_device, params->pchValue, params->unBufferSize ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_009_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_010_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_011_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_012_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_013_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_014_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_015_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_016_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_017_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_018_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_019_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_020_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_021_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_022_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_024_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_026_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_SetSkyboxOverride( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_027_SetSkyboxOverride_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + u_VRVulkanTextureArrayData_t vkdata[params->unTextureCount]; + u_Texture_t textures[params->unTextureCount]; + uint32_t i; + + for (i = 0; i < params->unTextureCount; i++) textures[i] = unwrap_texture_data( params->pTextures + i, 0, &vkdata[i] ); + params->_ret = (uint32_t)iface->SetSkyboxOverride( textures, params->unTextureCount ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_009_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_009_Submit_params *params = (struct IVRCompositor_IVRCompositor_009_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_009 *iface = (struct u_IVRCompositor_IVRCompositor_009 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_010_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_010_Submit_params *params = (struct IVRCompositor_IVRCompositor_010_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_011_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_011_Submit_params *params = (struct IVRCompositor_IVRCompositor_011_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_011 *iface = (struct u_IVRCompositor_IVRCompositor_011 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_012_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_012_Submit_params *params = (struct IVRCompositor_IVRCompositor_012_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_012 *iface = (struct u_IVRCompositor_IVRCompositor_012 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_013_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_013_Submit_params *params = (struct IVRCompositor_IVRCompositor_013_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_013 *iface = (struct u_IVRCompositor_IVRCompositor_013 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_014_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_014_Submit_params *params = (struct IVRCompositor_IVRCompositor_014_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_014 *iface = (struct u_IVRCompositor_IVRCompositor_014 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_015_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_015_Submit_params *params = (struct IVRCompositor_IVRCompositor_015_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_015 *iface = (struct u_IVRCompositor_IVRCompositor_015 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_016_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_016_Submit_params *params = (struct IVRCompositor_IVRCompositor_016_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_017_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_017_Submit_params *params = (struct IVRCompositor_IVRCompositor_017_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_017 *iface = (struct u_IVRCompositor_IVRCompositor_017 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_018_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_018_Submit_params *params = (struct IVRCompositor_IVRCompositor_018_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_018 *iface = (struct u_IVRCompositor_IVRCompositor_018 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_019_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_019_Submit_params *params = (struct IVRCompositor_IVRCompositor_019_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_019 *iface = (struct u_IVRCompositor_IVRCompositor_019 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_020_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_020_Submit_params *params = (struct IVRCompositor_IVRCompositor_020_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_020 *iface = (struct u_IVRCompositor_IVRCompositor_020 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_021_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_021_Submit_params *params = (struct IVRCompositor_IVRCompositor_021_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_021 *iface = (struct u_IVRCompositor_IVRCompositor_021 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_022_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_022_Submit_params *params = (struct IVRCompositor_IVRCompositor_022_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_022 *iface = (struct u_IVRCompositor_IVRCompositor_022 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_024_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_024_Submit_params *params = (struct IVRCompositor_IVRCompositor_024_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_026_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_026_Submit_params *params = (struct IVRCompositor_IVRCompositor_026_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_026 *iface = (struct u_IVRCompositor_IVRCompositor_026 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} + +NTSTATUS IVRCompositor_IVRCompositor_027_Submit( void *args ) +{ + struct IVRCompositor_IVRCompositor_027_Submit_params *params = (struct IVRCompositor_IVRCompositor_027_Submit_params *)args; + struct u_IVRCompositor_IVRCompositor_027 *iface = (struct u_IVRCompositor_IVRCompositor_027 *)params->linux_side; + u_VRTextureWithPoseAndDepth_t u_texture; + u_VRVulkanTextureData_t u_depth_vkdata; + u_VRVulkanTextureArrayData_t u_vkdata; + u_Texture_t *submit = unwrap_submit_texture_data( (const w_VRTextureWithPoseAndDepth_t *)params->pTexture, params->nSubmitFlags, + &u_texture, &u_vkdata, &u_depth_vkdata ); + params->_ret = (uint32_t)iface->Submit( params->eEye, submit, params->pBounds, params->nSubmitFlags ); + return 0; +} diff --git a/vrclient_x64/unix_vroverlay_manual.cpp b/vrclient_x64/unix_vroverlay_manual.cpp new file mode 100644 index 000000000..05faaea17 --- /dev/null +++ b/vrclient_x64/unix_vroverlay_manual.cpp @@ -0,0 +1,276 @@ +#include "unix_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +static u_Texture_t unwrap_texture_data( const w_Texture_t *w_texture, u_VRVulkanTextureData_t *u_vkdata ) +{ + u_Texture_t u_texture = *w_texture; + + if (u_texture.eType == TextureType_Vulkan) + { + w_VRVulkanTextureData_t *w_vkdata = (w_VRVulkanTextureData_t *)w_texture->handle; + + *u_vkdata = *w_vkdata; + u_vkdata->m_pDevice = p_get_native_VkDevice( w_vkdata->m_pDevice ); + u_vkdata->m_pPhysicalDevice = p_get_native_VkPhysicalDevice( w_vkdata->m_pPhysicalDevice ); + u_vkdata->m_pInstance = p_get_native_VkInstance( w_vkdata->m_pInstance ); + u_vkdata->m_pQueue = p_get_native_VkQueue( w_vkdata->m_pQueue ); + + u_texture.handle = u_vkdata; + } + + return u_texture; +} + +NTSTATUS IVROverlay_IVROverlay_001_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_001_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_001 *iface = (struct u_IVROverlay_IVROverlay_001 *)params->linux_side; + + FIXME("unimplemented!\n"); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->pTexture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_002_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_002_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_002 *iface = (struct u_IVROverlay_IVROverlay_002 *)params->linux_side; + + FIXME("unimplemented!\n"); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_003_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_003_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_003 *iface = (struct u_IVROverlay_IVROverlay_003 *)params->linux_side; + + FIXME("unimplemented!\n"); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_004_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_004_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_004 *iface = (struct u_IVROverlay_IVROverlay_004 *)params->linux_side; + + FIXME("unimplemented!\n"); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_005_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_005_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_005 *iface = (struct u_IVROverlay_IVROverlay_005 *)params->linux_side; + + FIXME("unimplemented!\n"); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, params->eTextureType, params->pTexture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_007_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_007_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_007 *iface = (struct u_IVROverlay_IVROverlay_007 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_008_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_008_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_008 *iface = (struct u_IVROverlay_IVROverlay_008 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_010_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_010_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_010 *iface = (struct u_IVROverlay_IVROverlay_010 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_011_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_011_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_011 *iface = (struct u_IVROverlay_IVROverlay_011 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_012_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_012_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_012 *iface = (struct u_IVROverlay_IVROverlay_012 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_013_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_013_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_013 *iface = (struct u_IVROverlay_IVROverlay_013 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_014_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_014_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_014 *iface = (struct u_IVROverlay_IVROverlay_014 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_016_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_016_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_016 *iface = (struct u_IVROverlay_IVROverlay_016 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_017_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_017_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_017 *iface = (struct u_IVROverlay_IVROverlay_017 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_018_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_018_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_018 *iface = (struct u_IVROverlay_IVROverlay_018 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_019_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_019_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_019 *iface = (struct u_IVROverlay_IVROverlay_019 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_020_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_020_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_020 *iface = (struct u_IVROverlay_IVROverlay_020 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_021_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_021_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_021 *iface = (struct u_IVROverlay_IVROverlay_021 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_022_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_022_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_022 *iface = (struct u_IVROverlay_IVROverlay_022 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_024_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_024_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_024 *iface = (struct u_IVROverlay_IVROverlay_024 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_025_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_025_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_025 *iface = (struct u_IVROverlay_IVROverlay_025 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_026_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_026_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_026 *iface = (struct u_IVROverlay_IVROverlay_026 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} + +NTSTATUS IVROverlay_IVROverlay_027_SetOverlayTexture( void *args ) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *params = (struct IVROverlay_IVROverlay_027_SetOverlayTexture_params *)args; + struct u_IVROverlay_IVROverlay_027 *iface = (struct u_IVROverlay_IVROverlay_027 *)params->linux_side; + u_VRVulkanTextureData_t u_vkdata; + u_Texture_t host_texture = unwrap_texture_data( params->pTexture, &u_vkdata ); + + params->_ret = (uint32_t)iface->SetOverlayTexture( params->ulOverlayHandle, &host_texture ); + return 0; +} diff --git a/vrclient_x64/unix_vrrendermodels_manual.cpp b/vrclient_x64/unix_vrrendermodels_manual.cpp new file mode 100644 index 000000000..5d31db258 --- /dev/null +++ b/vrclient_x64/unix_vrrendermodels_manual.cpp @@ -0,0 +1,158 @@ +#include "unix_private.h" + +/* LoadRenderModel(_Async) / FreeRenderModel */ + +NTSTATUS IVRRenderModels_IVRRenderModels_002_LoadRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_LoadRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_002_LoadRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + struct render_model *model = params->ppRenderModel ? CONTAINING_RECORD( *params->ppRenderModel, struct render_model, w_0912 ) : NULL; + params->_ret = iface->LoadRenderModel( params->pchRenderModelName, params->ppRenderModel ? &model->u_0912 : nullptr ); + if (params->_ret == 0 && model) model->w_0912 = *model->u_0912; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_FreeRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_002_FreeRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + struct render_model *model = CONTAINING_RECORD( params->pRenderModel, struct render_model, w_0912 ); + iface->FreeRenderModel( model->u_0912 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params *params = (struct IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + struct render_model *model = params->ppRenderModel ? CONTAINING_RECORD( *params->ppRenderModel, struct render_model, w_0912 ) : NULL; + params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &model->u_0912 : nullptr ); + if (params->_ret == 0 && model) model->w_0912 = *model->u_0912; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_004_FreeRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + struct render_model *model = CONTAINING_RECORD( params->pRenderModel, struct render_model, w_0912 ); + iface->FreeRenderModel( model->u_0912 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params *params = (struct IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + struct render_model *model = params->ppRenderModel ? CONTAINING_RECORD( *params->ppRenderModel, struct render_model, w_0912 ) : NULL; + params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &model->u_0912 : nullptr ); + if (params->_ret == 0 && model) model->w_0912 = *model->u_0912; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_005_FreeRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + struct render_model *model = CONTAINING_RECORD( params->pRenderModel, struct render_model, w_0912 ); + iface->FreeRenderModel( model->u_0912 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + struct render_model *model = params->ppRenderModel ? CONTAINING_RECORD( *params->ppRenderModel, struct render_model, w_0912 ) : NULL; + params->_ret = iface->LoadRenderModel_Async( params->pchRenderModelName, params->ppRenderModel ? &model->u_0912 : nullptr ); + if (params->_ret == 0 && model) model->w_0912 = *model->u_0912; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeRenderModel( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *params = (struct IVRRenderModels_IVRRenderModels_006_FreeRenderModel_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + struct render_model *model = CONTAINING_RECORD( params->pRenderModel, struct render_model, w_0912 ); + iface->FreeRenderModel( model->u_0912 ); + return 0; +} + + +/* LoadTexture(_Async) / FreeTexture */ + +NTSTATUS IVRRenderModels_IVRRenderModels_002_LoadTexture( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_LoadTexture_params *params = (struct IVRRenderModels_IVRRenderModels_002_LoadTexture_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + struct render_model_texture_map *map = params->ppTexture ? CONTAINING_RECORD( *params->ppTexture, struct render_model_texture_map, w_090 ) : NULL; + params->_ret = iface->LoadTexture( params->textureId, params->ppTexture ? &map->u_090 : nullptr ); + if (params->_ret == 0 && map) map->w_090 = *map->u_090; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_002_FreeTexture( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_002_FreeTexture_params *params = (struct IVRRenderModels_IVRRenderModels_002_FreeTexture_params *)args; + struct u_IVRRenderModels_IVRRenderModels_002 *iface = (struct u_IVRRenderModels_IVRRenderModels_002 *)params->linux_side; + struct render_model_texture_map *map = CONTAINING_RECORD( params->pTexture, struct render_model_texture_map, w_090 ); + iface->FreeTexture( map->u_090 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_LoadTexture_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params *params = (struct IVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + struct render_model_texture_map *map = params->ppTexture ? CONTAINING_RECORD( *params->ppTexture, struct render_model_texture_map, w_090 ) : NULL; + params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &map->u_090 : nullptr ); + if (params->_ret == 0 && map) map->w_090 = *map->u_090; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_004_FreeTexture( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_004_FreeTexture_params *params = (struct IVRRenderModels_IVRRenderModels_004_FreeTexture_params *)args; + struct u_IVRRenderModels_IVRRenderModels_004 *iface = (struct u_IVRRenderModels_IVRRenderModels_004 *)params->linux_side; + struct render_model_texture_map *map = CONTAINING_RECORD( params->pTexture, struct render_model_texture_map, w_090 ); + iface->FreeTexture( map->u_090 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_LoadTexture_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params *params = (struct IVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + struct render_model_texture_map *map = params->ppTexture ? CONTAINING_RECORD( *params->ppTexture, struct render_model_texture_map, w_090 ) : NULL; + params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &map->u_090 : nullptr ); + if (params->_ret == 0 && map) map->w_090 = *map->u_090; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_005_FreeTexture( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_005_FreeTexture_params *params = (struct IVRRenderModels_IVRRenderModels_005_FreeTexture_params *)args; + struct u_IVRRenderModels_IVRRenderModels_005 *iface = (struct u_IVRRenderModels_IVRRenderModels_005 *)params->linux_side; + struct render_model_texture_map *map = CONTAINING_RECORD( params->pTexture, struct render_model_texture_map, w_090 ); + iface->FreeTexture( map->u_090 ); + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_LoadTexture_Async( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params *params = (struct IVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + struct render_model_texture_map *map = params->ppTexture ? CONTAINING_RECORD( *params->ppTexture, struct render_model_texture_map, w_1237 ) : NULL; + params->_ret = iface->LoadTexture_Async( params->textureId, params->ppTexture ? &map->u_1237 : nullptr ); + if (params->_ret == 0 && map) map->w_1237 = *map->u_1237; + return 0; +} + +NTSTATUS IVRRenderModels_IVRRenderModels_006_FreeTexture( void *args ) +{ + struct IVRRenderModels_IVRRenderModels_006_FreeTexture_params *params = (struct IVRRenderModels_IVRRenderModels_006_FreeTexture_params *)args; + struct u_IVRRenderModels_IVRRenderModels_006 *iface = (struct u_IVRRenderModels_IVRRenderModels_006 *)params->linux_side; + struct render_model_texture_map *map = CONTAINING_RECORD( params->pTexture, struct render_model_texture_map, w_1237 ); + iface->FreeTexture( map->u_1237 ); + return 0; +} diff --git a/vrclient_x64/unix_vrsystem_manual.cpp b/vrclient_x64/unix_vrsystem_manual.cpp new file mode 100644 index 000000000..b411e42f3 --- /dev/null +++ b/vrclient_x64/unix_vrsystem_manual.cpp @@ -0,0 +1,80 @@ +#include "unix_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +static VkInstance_T *unwrap_instance( uint32_t type, VkInstance_T *instance ) +{ + if (type == TextureType_Vulkan) return p_get_native_VkInstance( instance ); + return instance; +} + +static uint64_t wrap_device( uint32_t type, VkInstance_T *instance, uint64_t device ) +{ + if (type == TextureType_Vulkan) + { + VkPhysicalDevice_T *phys_device = (VkPhysicalDevice_T *)( intptr_t)device; + return (uint64_t)(intptr_t)p_get_wrapped_VkPhysicalDevice( instance, phys_device ); + } + + return device; +} + +NTSTATUS IVRSystem_IVRSystem_017_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_017_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_017_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_017 *iface = (struct u_IVRSystem_IVRSystem_017 *)params->linux_side; + VkInstance_T *host_instance = unwrap_instance( params->textureType, params->pInstance ); + uint64_t host_device; + + iface->GetOutputDevice( &host_device, params->textureType, host_instance ); + *params->pnDevice = wrap_device( params->textureType, params->pInstance, host_device ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_019_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_019_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_019_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_019 *iface = (struct u_IVRSystem_IVRSystem_019 *)params->linux_side; + VkInstance_T *host_instance = unwrap_instance( params->textureType, params->pInstance ); + uint64_t host_device; + + iface->GetOutputDevice( &host_device, params->textureType, host_instance ); + *params->pnDevice = wrap_device( params->textureType, params->pInstance, host_device ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_020_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_020_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_020_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side; + VkInstance_T *host_instance = unwrap_instance( params->textureType, params->pInstance ); + uint64_t host_device; + + iface->GetOutputDevice( &host_device, params->textureType, host_instance ); + *params->pnDevice = wrap_device( params->textureType, params->pInstance, host_device ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_021_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_021_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_021_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_021 *iface = (struct u_IVRSystem_IVRSystem_021 *)params->linux_side; + VkInstance_T *host_instance = unwrap_instance( params->textureType, params->pInstance ); + uint64_t host_device; + + iface->GetOutputDevice( &host_device, params->textureType, host_instance ); + *params->pnDevice = wrap_device( params->textureType, params->pInstance, host_device ); + return 0; +} + +NTSTATUS IVRSystem_IVRSystem_022_GetOutputDevice( void *args ) +{ + struct IVRSystem_IVRSystem_022_GetOutputDevice_params *params = (struct IVRSystem_IVRSystem_022_GetOutputDevice_params *)args; + struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side; + VkInstance_T *host_instance = unwrap_instance( params->textureType, params->pInstance ); + uint64_t host_device; + + iface->GetOutputDevice( &host_device, params->textureType, host_instance ); + *params->pnDevice = wrap_device( params->textureType, params->pInstance, host_device ); + return 0; +} diff --git a/vrclient_x64/unixlib.cpp b/vrclient_x64/unixlib.cpp new file mode 100644 index 000000000..c2271cb53 --- /dev/null +++ b/vrclient_x64/unixlib.cpp @@ -0,0 +1,124 @@ +#include "unix_private.h" + +#include +#include + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +static void *(*p_HmdSystemFactory)( const char *name, int *return_code ); +static void *(*p_VRClientCoreFactory)( const char *name, int *return_code ); + +VkDevice_T *(WINAPI *p_get_native_VkDevice)( VkDevice_T * ); +VkInstance_T *(WINAPI *p_get_native_VkInstance)( VkInstance_T * ); +VkPhysicalDevice_T *(WINAPI *p_get_native_VkPhysicalDevice)( VkPhysicalDevice_T * ); +VkPhysicalDevice_T *(WINAPI *p_get_wrapped_VkPhysicalDevice)( VkInstance_T *, VkPhysicalDevice_T * ); +VkQueue_T *(WINAPI *p_get_native_VkQueue)( VkQueue_T * ); + +static void *get_winevulkan_unixlib( HMODULE winevulkan ) +{ + UINT64 unix_funcs; + NTSTATUS status; + Dl_info info; + + status = NtQueryVirtualMemory( GetCurrentProcess(), winevulkan, (MEMORY_INFORMATION_CLASS)1000 /*MemoryWineUnixFuncs*/, + &unix_funcs, sizeof(unix_funcs), NULL ); + if (status) + { + WINE_ERR("NtQueryVirtualMemory status %#x.\n", (int)status); + return NULL; + } + + if (!dladdr( (void *)(ULONG_PTR)unix_funcs, &info )) + { + WINE_ERR("dladdr failed.\n"); + return NULL; + } + + WINE_TRACE( "path %s.\n", info.dli_fname ); + return dlopen( info.dli_fname, RTLD_NOW ); +} + +static void load_vk_unwrappers( HMODULE winevulkan ) +{ + static HMODULE h = NULL; + void *unix_handle; + + if (!(unix_handle = get_winevulkan_unixlib( winevulkan ))) + { + ERR("Unable to open winevulkan.so.\n"); + return; + } + +#define LOAD_FUNC( name ) \ + if (!(p_##name = (decltype(p_##name))dlsym( unix_handle, "__wine_" #name ))) \ + { \ + ERR( "%s not found.\n", #name ); \ + return; \ + } + + LOAD_FUNC( get_native_VkDevice ) + LOAD_FUNC( get_native_VkInstance ) + LOAD_FUNC( get_native_VkPhysicalDevice ) + LOAD_FUNC( get_wrapped_VkPhysicalDevice ) + LOAD_FUNC( get_native_VkQueue ) + +#undef LOAD_FUNC + + dlclose(unix_handle); +} + +NTSTATUS vrclient_init( void *args ) +{ + struct vrclient_init_params *params = (struct vrclient_init_params *)args; + static void *vrclient; + + if (vrclient) + { + params->_ret = true; + return 0; + } + + if (!(vrclient = dlopen( params->unix_path, RTLD_NOW ))) + { + TRACE( "unable to load %s\n", params->unix_path ); + return -1; + } + +#define LOAD_FUNC( x ) \ + if (!(p_##x = (decltype(p_##x))dlsym( vrclient, #x ))) \ + { \ + ERR( "unable to load " #x "\n" ); \ + return -1; \ + } + + LOAD_FUNC( HmdSystemFactory ); + LOAD_FUNC( VRClientCoreFactory ); + +#undef LOAD_FUNC + + load_vk_unwrappers( params->winevulkan ); + params->_ret = true; + return 0; +} + +NTSTATUS vrclient_HmdSystemFactory( void *args ) +{ + struct vrclient_HmdSystemFactory_params *params = (struct vrclient_HmdSystemFactory_params *)args; + params->_ret = p_HmdSystemFactory( params->name, params->return_code ); + return 0; +} + +NTSTATUS vrclient_VRClientCoreFactory( void *args ) +{ + struct vrclient_VRClientCoreFactory_params *params = (struct vrclient_VRClientCoreFactory_params *)args; + params->_ret = p_VRClientCoreFactory( params->name, params->return_code ); + return 0; +} + +NTSTATUS IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame( void *args ) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *params = (struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params *)args; + struct u_IVRTrackedCamera_IVRTrackedCamera_001 *iface = (struct u_IVRTrackedCamera_IVRTrackedCamera_001 *)params->linux_side; + *(w_CameraVideoStreamFrame_t_0914 *)params->_ret = *iface->GetVideoStreamFrame( params->nDeviceIndex ); + return 0; +} diff --git a/vrclient_x64/unixlib.h b/vrclient_x64/unixlib.h new file mode 100644 index 000000000..fdf6989b2 --- /dev/null +++ b/vrclient_x64/unixlib.h @@ -0,0 +1,83 @@ +#ifndef __VRCLIENT_UNIXLIB_H +#define __VRCLIENT_UNIXLIB_H + +#include +#include +#include + +#include +#include +#include + +#include "vrclient_structs.h" + +#include "wine/unixlib.h" + +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +#include + +struct render_model +{ + union + { + w_RenderModel_t_0912 w_0912; + }; + union + { + u_RenderModel_t_0912 *u_0912; + }; +}; + +struct render_model_texture_map +{ + union + { + w_RenderModel_TextureMap_t_090 w_090; + w_RenderModel_TextureMap_t_1237 w_1237; + }; + union + { + u_RenderModel_TextureMap_t_090 *u_090; + u_RenderModel_TextureMap_t_1237 *u_1237; + }; +}; + +struct vrclient_init_params +{ + int8_t _ret; + HMODULE winevulkan; + char *unix_path; +}; + +struct vrclient_HmdSystemFactory_params +{ + void *_ret; + const char *name; + int *return_code; +}; + +struct vrclient_VRClientCoreFactory_params +{ + void *_ret; + const char *name; + int *return_code; +}; + +#include + +typedef NTSTATUS (*unixlib_entry_t)( void *args ); +extern const unixlib_entry_t __wine_unix_call_funcs[]; + +#define VRCLIENT_CALL( code, args ) __wine_unix_call_funcs[unix_ ## code]( args ) + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ + +#include "unixlib_generated.h" + +#endif /* __VRCLIENT_UNIXLIB_H */ diff --git a/vrclient_x64/unixlib_generated.cpp b/vrclient_x64/unixlib_generated.cpp new file mode 100644 index 000000000..da7f4cb6f --- /dev/null +++ b/vrclient_x64/unixlib_generated.cpp @@ -0,0 +1,12880 @@ +/* This file is auto-generated, do not edit. */ + +#include "unix_private.h" + +extern "C" const unixlib_entry_t __wine_unix_call_funcs[] = +{ + vrclient_init, + vrclient_HmdSystemFactory, + vrclient_VRClientCoreFactory, + IVRApplications_IVRApplications_001_AddApplicationManifest, + IVRApplications_IVRApplications_001_RemoveApplicationManifest, + IVRApplications_IVRApplications_001_IsApplicationInstalled, + IVRApplications_IVRApplications_001_GetApplicationCount, + IVRApplications_IVRApplications_001_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_001_LaunchApplication, + IVRApplications_IVRApplications_001_LaunchDashboardOverlay, + IVRApplications_IVRApplications_001_IdentifyApplication, + IVRApplications_IVRApplications_001_GetApplicationProcessId, + IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_001_GetApplicationPropertyString, + IVRApplications_IVRApplications_001_GetApplicationPropertyBool, + IVRApplications_IVRApplications_001_GetHomeApplication, + IVRApplications_IVRApplications_001_SetHomeApplication, + IVRApplications_IVRApplications_001_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_001_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_001_GetStartingApplication, + IVRApplications_IVRApplications_001_GetTransitionState, + IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_002_AddApplicationManifest, + IVRApplications_IVRApplications_002_RemoveApplicationManifest, + IVRApplications_IVRApplications_002_IsApplicationInstalled, + IVRApplications_IVRApplications_002_GetApplicationCount, + IVRApplications_IVRApplications_002_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_002_LaunchApplication, + IVRApplications_IVRApplications_002_LaunchDashboardOverlay, + IVRApplications_IVRApplications_002_IdentifyApplication, + IVRApplications_IVRApplications_002_GetApplicationProcessId, + IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_002_GetApplicationPropertyString, + IVRApplications_IVRApplications_002_GetApplicationPropertyBool, + IVRApplications_IVRApplications_002_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_002_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_002_GetStartingApplication, + IVRApplications_IVRApplications_002_GetTransitionState, + IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_002_IsQuitUserPromptRequested, + IVRApplications_IVRApplications_003_AddApplicationManifest, + IVRApplications_IVRApplications_003_RemoveApplicationManifest, + IVRApplications_IVRApplications_003_IsApplicationInstalled, + IVRApplications_IVRApplications_003_GetApplicationCount, + IVRApplications_IVRApplications_003_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_003_LaunchApplication, + IVRApplications_IVRApplications_003_LaunchDashboardOverlay, + IVRApplications_IVRApplications_003_IdentifyApplication, + IVRApplications_IVRApplications_003_GetApplicationProcessId, + IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_003_GetApplicationPropertyString, + IVRApplications_IVRApplications_003_GetApplicationPropertyBool, + IVRApplications_IVRApplications_003_GetApplicationPropertyUint64, + IVRApplications_IVRApplications_003_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_003_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_003_GetStartingApplication, + IVRApplications_IVRApplications_003_GetTransitionState, + IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_003_IsQuitUserPromptRequested, + IVRApplications_IVRApplications_004_AddApplicationManifest, + IVRApplications_IVRApplications_004_RemoveApplicationManifest, + IVRApplications_IVRApplications_004_IsApplicationInstalled, + IVRApplications_IVRApplications_004_GetApplicationCount, + IVRApplications_IVRApplications_004_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_004_LaunchApplication, + IVRApplications_IVRApplications_004_LaunchDashboardOverlay, + IVRApplications_IVRApplications_004_CancelApplicationLaunch, + IVRApplications_IVRApplications_004_IdentifyApplication, + IVRApplications_IVRApplications_004_GetApplicationProcessId, + IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_004_GetApplicationPropertyString, + IVRApplications_IVRApplications_004_GetApplicationPropertyBool, + IVRApplications_IVRApplications_004_GetApplicationPropertyUint64, + IVRApplications_IVRApplications_004_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_004_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_004_GetStartingApplication, + IVRApplications_IVRApplications_004_GetTransitionState, + IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_004_IsQuitUserPromptRequested, + IVRApplications_IVRApplications_004_LaunchInternalProcess, + IVRApplications_IVRApplications_005_AddApplicationManifest, + IVRApplications_IVRApplications_005_RemoveApplicationManifest, + IVRApplications_IVRApplications_005_IsApplicationInstalled, + IVRApplications_IVRApplications_005_GetApplicationCount, + IVRApplications_IVRApplications_005_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_005_LaunchApplication, + IVRApplications_IVRApplications_005_LaunchTemplateApplication, + IVRApplications_IVRApplications_005_LaunchDashboardOverlay, + IVRApplications_IVRApplications_005_CancelApplicationLaunch, + IVRApplications_IVRApplications_005_IdentifyApplication, + IVRApplications_IVRApplications_005_GetApplicationProcessId, + IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_005_GetApplicationPropertyString, + IVRApplications_IVRApplications_005_GetApplicationPropertyBool, + IVRApplications_IVRApplications_005_GetApplicationPropertyUint64, + IVRApplications_IVRApplications_005_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_005_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_005_GetStartingApplication, + IVRApplications_IVRApplications_005_GetTransitionState, + IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_005_IsQuitUserPromptRequested, + IVRApplications_IVRApplications_005_LaunchInternalProcess, + IVRApplications_IVRApplications_006_AddApplicationManifest, + IVRApplications_IVRApplications_006_RemoveApplicationManifest, + IVRApplications_IVRApplications_006_IsApplicationInstalled, + IVRApplications_IVRApplications_006_GetApplicationCount, + IVRApplications_IVRApplications_006_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_006_LaunchApplication, + IVRApplications_IVRApplications_006_LaunchTemplateApplication, + IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, + IVRApplications_IVRApplications_006_LaunchDashboardOverlay, + IVRApplications_IVRApplications_006_CancelApplicationLaunch, + IVRApplications_IVRApplications_006_IdentifyApplication, + IVRApplications_IVRApplications_006_GetApplicationProcessId, + IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_006_GetApplicationPropertyString, + IVRApplications_IVRApplications_006_GetApplicationPropertyBool, + IVRApplications_IVRApplications_006_GetApplicationPropertyUint64, + IVRApplications_IVRApplications_006_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_006_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, + IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, + IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, + IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, + IVRApplications_IVRApplications_006_GetApplicationLaunchArguments, + IVRApplications_IVRApplications_006_GetStartingApplication, + IVRApplications_IVRApplications_006_GetTransitionState, + IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, + IVRApplications_IVRApplications_006_IsQuitUserPromptRequested, + IVRApplications_IVRApplications_006_LaunchInternalProcess, + IVRApplications_IVRApplications_006_GetCurrentSceneProcessId, + IVRApplications_IVRApplications_007_AddApplicationManifest, + IVRApplications_IVRApplications_007_RemoveApplicationManifest, + IVRApplications_IVRApplications_007_IsApplicationInstalled, + IVRApplications_IVRApplications_007_GetApplicationCount, + IVRApplications_IVRApplications_007_GetApplicationKeyByIndex, + IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, + IVRApplications_IVRApplications_007_LaunchApplication, + IVRApplications_IVRApplications_007_LaunchTemplateApplication, + IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, + IVRApplications_IVRApplications_007_LaunchDashboardOverlay, + IVRApplications_IVRApplications_007_CancelApplicationLaunch, + IVRApplications_IVRApplications_007_IdentifyApplication, + IVRApplications_IVRApplications_007_GetApplicationProcessId, + IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, + IVRApplications_IVRApplications_007_GetApplicationPropertyString, + IVRApplications_IVRApplications_007_GetApplicationPropertyBool, + IVRApplications_IVRApplications_007_GetApplicationPropertyUint64, + IVRApplications_IVRApplications_007_SetApplicationAutoLaunch, + IVRApplications_IVRApplications_007_GetApplicationAutoLaunch, + IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, + IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, + IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, + IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, + IVRApplications_IVRApplications_007_GetApplicationLaunchArguments, + IVRApplications_IVRApplications_007_GetStartingApplication, + IVRApplications_IVRApplications_007_GetSceneApplicationState, + IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, + IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, + IVRApplications_IVRApplications_007_LaunchInternalProcess, + IVRApplications_IVRApplications_007_GetCurrentSceneProcessId, + IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, + IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, + IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, + IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, + IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, + IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, + IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, + IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, + IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, + IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, + IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, + IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, + IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, + IVRChaperone_IVRChaperone_002_GetCalibrationState, + IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, + IVRChaperone_IVRChaperone_002_GetHardBoundsInfo, + IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, + IVRChaperone_IVRChaperone_002_ReloadInfo, + IVRChaperone_IVRChaperone_002_SetSceneColor, + IVRChaperone_IVRChaperone_002_GetBoundsColor, + IVRChaperone_IVRChaperone_002_AreBoundsVisible, + IVRChaperone_IVRChaperone_002_ForceBoundsVisible, + IVRChaperone_IVRChaperone_003_GetCalibrationState, + IVRChaperone_IVRChaperone_003_GetPlayAreaSize, + IVRChaperone_IVRChaperone_003_GetPlayAreaRect, + IVRChaperone_IVRChaperone_003_ReloadInfo, + IVRChaperone_IVRChaperone_003_SetSceneColor, + IVRChaperone_IVRChaperone_003_GetBoundsColor, + IVRChaperone_IVRChaperone_003_AreBoundsVisible, + IVRChaperone_IVRChaperone_003_ForceBoundsVisible, + IVRChaperone_IVRChaperone_004_GetCalibrationState, + IVRChaperone_IVRChaperone_004_GetPlayAreaSize, + IVRChaperone_IVRChaperone_004_GetPlayAreaRect, + IVRChaperone_IVRChaperone_004_ReloadInfo, + IVRChaperone_IVRChaperone_004_SetSceneColor, + IVRChaperone_IVRChaperone_004_GetBoundsColor, + IVRChaperone_IVRChaperone_004_AreBoundsVisible, + IVRChaperone_IVRChaperone_004_ForceBoundsVisible, + IVRChaperone_IVRChaperone_004_ResetZeroPose, + IVRClientCore_IVRClientCore_002_Init, + IVRClientCore_IVRClientCore_002_Cleanup, + IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, + IVRClientCore_IVRClientCore_002_GetGenericInterface, + IVRClientCore_IVRClientCore_002_BIsHmdPresent, + IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, + IVRClientCore_IVRClientCore_002_GetIDForVRInitError, + IVRClientCore_IVRClientCore_003_Init, + IVRClientCore_IVRClientCore_003_Cleanup, + IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, + IVRClientCore_IVRClientCore_003_GetGenericInterface, + IVRClientCore_IVRClientCore_003_BIsHmdPresent, + IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, + IVRClientCore_IVRClientCore_003_GetIDForVRInitError, + IVRCompositor_IVRCompositor_005_GetLastError, + IVRCompositor_IVRCompositor_005_SetVSync, + IVRCompositor_IVRCompositor_005_GetVSync, + IVRCompositor_IVRCompositor_005_SetGamma, + IVRCompositor_IVRCompositor_005_GetGamma, + IVRCompositor_IVRCompositor_005_SetGraphicsDevice, + IVRCompositor_IVRCompositor_005_WaitGetPoses, + IVRCompositor_IVRCompositor_005_Submit, + IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_005_GetOverlayDefaults, + IVRCompositor_IVRCompositor_005_SetOverlay, + IVRCompositor_IVRCompositor_005_SetOverlayRaw, + IVRCompositor_IVRCompositor_005_SetOverlayFromFile, + IVRCompositor_IVRCompositor_005_ClearOverlay, + IVRCompositor_IVRCompositor_005_GetFrameTiming, + IVRCompositor_IVRCompositor_005_FadeToColor, + IVRCompositor_IVRCompositor_005_FadeGrid, + IVRCompositor_IVRCompositor_005_CompositorBringToFront, + IVRCompositor_IVRCompositor_005_CompositorGoToBack, + IVRCompositor_IVRCompositor_005_CompositorQuit, + IVRCompositor_IVRCompositor_005_IsFullscreen, + IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, + IVRCompositor_IVRCompositor_005_SetTrackingSpace, + IVRCompositor_IVRCompositor_005_GetTrackingSpace, + IVRCompositor_IVRCompositor_006_GetLastError, + IVRCompositor_IVRCompositor_006_SetVSync, + IVRCompositor_IVRCompositor_006_GetVSync, + IVRCompositor_IVRCompositor_006_SetGamma, + IVRCompositor_IVRCompositor_006_GetGamma, + IVRCompositor_IVRCompositor_006_SetGraphicsDevice, + IVRCompositor_IVRCompositor_006_WaitGetPoses, + IVRCompositor_IVRCompositor_006_Submit, + IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_006_GetFrameTiming, + IVRCompositor_IVRCompositor_006_FadeToColor, + IVRCompositor_IVRCompositor_006_FadeGrid, + IVRCompositor_IVRCompositor_006_CompositorBringToFront, + IVRCompositor_IVRCompositor_006_CompositorGoToBack, + IVRCompositor_IVRCompositor_006_CompositorQuit, + IVRCompositor_IVRCompositor_006_IsFullscreen, + IVRCompositor_IVRCompositor_006_SetTrackingSpace, + IVRCompositor_IVRCompositor_006_GetTrackingSpace, + IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_006_CanRenderScene, + IVRCompositor_IVRCompositor_007_GetLastError, + IVRCompositor_IVRCompositor_007_SetVSync, + IVRCompositor_IVRCompositor_007_GetVSync, + IVRCompositor_IVRCompositor_007_SetGamma, + IVRCompositor_IVRCompositor_007_GetGamma, + IVRCompositor_IVRCompositor_007_WaitGetPoses, + IVRCompositor_IVRCompositor_007_Submit, + IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_007_GetFrameTiming, + IVRCompositor_IVRCompositor_007_FadeToColor, + IVRCompositor_IVRCompositor_007_FadeGrid, + IVRCompositor_IVRCompositor_007_CompositorBringToFront, + IVRCompositor_IVRCompositor_007_CompositorGoToBack, + IVRCompositor_IVRCompositor_007_CompositorQuit, + IVRCompositor_IVRCompositor_007_IsFullscreen, + IVRCompositor_IVRCompositor_007_SetTrackingSpace, + IVRCompositor_IVRCompositor_007_GetTrackingSpace, + IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_007_CanRenderScene, + IVRCompositor_IVRCompositor_008_GetLastError, + IVRCompositor_IVRCompositor_008_SetVSync, + IVRCompositor_IVRCompositor_008_GetVSync, + IVRCompositor_IVRCompositor_008_SetGamma, + IVRCompositor_IVRCompositor_008_GetGamma, + IVRCompositor_IVRCompositor_008_WaitGetPoses, + IVRCompositor_IVRCompositor_008_Submit, + IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_008_GetFrameTiming, + IVRCompositor_IVRCompositor_008_FadeToColor, + IVRCompositor_IVRCompositor_008_FadeGrid, + IVRCompositor_IVRCompositor_008_SetSkyboxOverride, + IVRCompositor_IVRCompositor_008_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_008_CompositorBringToFront, + IVRCompositor_IVRCompositor_008_CompositorGoToBack, + IVRCompositor_IVRCompositor_008_CompositorQuit, + IVRCompositor_IVRCompositor_008_IsFullscreen, + IVRCompositor_IVRCompositor_008_SetTrackingSpace, + IVRCompositor_IVRCompositor_008_GetTrackingSpace, + IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_008_CanRenderScene, + IVRCompositor_IVRCompositor_008_ShowMirrorWindow, + IVRCompositor_IVRCompositor_008_HideMirrorWindow, + IVRCompositor_IVRCompositor_008_CompositorDumpImages, + IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_008_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_009_SetTrackingSpace, + IVRCompositor_IVRCompositor_009_GetTrackingSpace, + IVRCompositor_IVRCompositor_009_WaitGetPoses, + IVRCompositor_IVRCompositor_009_GetLastPoses, + IVRCompositor_IVRCompositor_009_Submit, + IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_009_PostPresentHandoff, + IVRCompositor_IVRCompositor_009_GetFrameTiming, + IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_009_FadeToColor, + IVRCompositor_IVRCompositor_009_FadeGrid, + IVRCompositor_IVRCompositor_009_SetSkyboxOverride, + IVRCompositor_IVRCompositor_009_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_009_CompositorBringToFront, + IVRCompositor_IVRCompositor_009_CompositorGoToBack, + IVRCompositor_IVRCompositor_009_CompositorQuit, + IVRCompositor_IVRCompositor_009_IsFullscreen, + IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_009_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_009_CanRenderScene, + IVRCompositor_IVRCompositor_009_ShowMirrorWindow, + IVRCompositor_IVRCompositor_009_HideMirrorWindow, + IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_009_CompositorDumpImages, + IVRCompositor_IVRCompositor_010_SetTrackingSpace, + IVRCompositor_IVRCompositor_010_GetTrackingSpace, + IVRCompositor_IVRCompositor_010_WaitGetPoses, + IVRCompositor_IVRCompositor_010_GetLastPoses, + IVRCompositor_IVRCompositor_010_Submit, + IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_010_PostPresentHandoff, + IVRCompositor_IVRCompositor_010_GetFrameTiming, + IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_010_FadeToColor, + IVRCompositor_IVRCompositor_010_FadeGrid, + IVRCompositor_IVRCompositor_010_SetSkyboxOverride, + IVRCompositor_IVRCompositor_010_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_010_CompositorBringToFront, + IVRCompositor_IVRCompositor_010_CompositorGoToBack, + IVRCompositor_IVRCompositor_010_CompositorQuit, + IVRCompositor_IVRCompositor_010_IsFullscreen, + IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_010_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_010_CanRenderScene, + IVRCompositor_IVRCompositor_010_ShowMirrorWindow, + IVRCompositor_IVRCompositor_010_HideMirrorWindow, + IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_010_CompositorDumpImages, + IVRCompositor_IVRCompositor_011_SetTrackingSpace, + IVRCompositor_IVRCompositor_011_GetTrackingSpace, + IVRCompositor_IVRCompositor_011_WaitGetPoses, + IVRCompositor_IVRCompositor_011_GetLastPoses, + IVRCompositor_IVRCompositor_011_Submit, + IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_011_PostPresentHandoff, + IVRCompositor_IVRCompositor_011_GetFrameTiming, + IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_011_FadeToColor, + IVRCompositor_IVRCompositor_011_FadeGrid, + IVRCompositor_IVRCompositor_011_SetSkyboxOverride, + IVRCompositor_IVRCompositor_011_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_011_CompositorBringToFront, + IVRCompositor_IVRCompositor_011_CompositorGoToBack, + IVRCompositor_IVRCompositor_011_CompositorQuit, + IVRCompositor_IVRCompositor_011_IsFullscreen, + IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_011_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_011_CanRenderScene, + IVRCompositor_IVRCompositor_011_ShowMirrorWindow, + IVRCompositor_IVRCompositor_011_HideMirrorWindow, + IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_011_CompositorDumpImages, + IVRCompositor_IVRCompositor_012_SetTrackingSpace, + IVRCompositor_IVRCompositor_012_GetTrackingSpace, + IVRCompositor_IVRCompositor_012_WaitGetPoses, + IVRCompositor_IVRCompositor_012_GetLastPoses, + IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_012_Submit, + IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_012_PostPresentHandoff, + IVRCompositor_IVRCompositor_012_GetFrameTiming, + IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_012_FadeToColor, + IVRCompositor_IVRCompositor_012_FadeGrid, + IVRCompositor_IVRCompositor_012_SetSkyboxOverride, + IVRCompositor_IVRCompositor_012_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_012_CompositorBringToFront, + IVRCompositor_IVRCompositor_012_CompositorGoToBack, + IVRCompositor_IVRCompositor_012_CompositorQuit, + IVRCompositor_IVRCompositor_012_IsFullscreen, + IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_012_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_012_CanRenderScene, + IVRCompositor_IVRCompositor_012_ShowMirrorWindow, + IVRCompositor_IVRCompositor_012_HideMirrorWindow, + IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_012_CompositorDumpImages, + IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_013_SetTrackingSpace, + IVRCompositor_IVRCompositor_013_GetTrackingSpace, + IVRCompositor_IVRCompositor_013_WaitGetPoses, + IVRCompositor_IVRCompositor_013_GetLastPoses, + IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_013_Submit, + IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_013_PostPresentHandoff, + IVRCompositor_IVRCompositor_013_GetFrameTiming, + IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_013_FadeToColor, + IVRCompositor_IVRCompositor_013_FadeGrid, + IVRCompositor_IVRCompositor_013_SetSkyboxOverride, + IVRCompositor_IVRCompositor_013_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_013_CompositorBringToFront, + IVRCompositor_IVRCompositor_013_CompositorGoToBack, + IVRCompositor_IVRCompositor_013_CompositorQuit, + IVRCompositor_IVRCompositor_013_IsFullscreen, + IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_013_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_013_CanRenderScene, + IVRCompositor_IVRCompositor_013_ShowMirrorWindow, + IVRCompositor_IVRCompositor_013_HideMirrorWindow, + IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_013_CompositorDumpImages, + IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_014_SetTrackingSpace, + IVRCompositor_IVRCompositor_014_GetTrackingSpace, + IVRCompositor_IVRCompositor_014_WaitGetPoses, + IVRCompositor_IVRCompositor_014_GetLastPoses, + IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_014_Submit, + IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_014_PostPresentHandoff, + IVRCompositor_IVRCompositor_014_GetFrameTiming, + IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_014_FadeToColor, + IVRCompositor_IVRCompositor_014_FadeGrid, + IVRCompositor_IVRCompositor_014_SetSkyboxOverride, + IVRCompositor_IVRCompositor_014_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_014_CompositorBringToFront, + IVRCompositor_IVRCompositor_014_CompositorGoToBack, + IVRCompositor_IVRCompositor_014_CompositorQuit, + IVRCompositor_IVRCompositor_014_IsFullscreen, + IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_014_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_014_CanRenderScene, + IVRCompositor_IVRCompositor_014_ShowMirrorWindow, + IVRCompositor_IVRCompositor_014_HideMirrorWindow, + IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_014_CompositorDumpImages, + IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_014_ForceReconnectProcess, + IVRCompositor_IVRCompositor_014_SuspendRendering, + IVRCompositor_IVRCompositor_015_SetTrackingSpace, + IVRCompositor_IVRCompositor_015_GetTrackingSpace, + IVRCompositor_IVRCompositor_015_WaitGetPoses, + IVRCompositor_IVRCompositor_015_GetLastPoses, + IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_015_Submit, + IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_015_PostPresentHandoff, + IVRCompositor_IVRCompositor_015_GetFrameTiming, + IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_015_GetCumulativeStats, + IVRCompositor_IVRCompositor_015_FadeToColor, + IVRCompositor_IVRCompositor_015_FadeGrid, + IVRCompositor_IVRCompositor_015_SetSkyboxOverride, + IVRCompositor_IVRCompositor_015_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_015_CompositorBringToFront, + IVRCompositor_IVRCompositor_015_CompositorGoToBack, + IVRCompositor_IVRCompositor_015_CompositorQuit, + IVRCompositor_IVRCompositor_015_IsFullscreen, + IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_015_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_015_CanRenderScene, + IVRCompositor_IVRCompositor_015_ShowMirrorWindow, + IVRCompositor_IVRCompositor_015_HideMirrorWindow, + IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_015_CompositorDumpImages, + IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_015_ForceReconnectProcess, + IVRCompositor_IVRCompositor_015_SuspendRendering, + IVRCompositor_IVRCompositor_015_RequestScreenshot, + IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, + IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_015_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_016_SetTrackingSpace, + IVRCompositor_IVRCompositor_016_GetTrackingSpace, + IVRCompositor_IVRCompositor_016_WaitGetPoses, + IVRCompositor_IVRCompositor_016_GetLastPoses, + IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_016_Submit, + IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_016_PostPresentHandoff, + IVRCompositor_IVRCompositor_016_GetFrameTiming, + IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_016_GetCumulativeStats, + IVRCompositor_IVRCompositor_016_FadeToColor, + IVRCompositor_IVRCompositor_016_FadeGrid, + IVRCompositor_IVRCompositor_016_SetSkyboxOverride, + IVRCompositor_IVRCompositor_016_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_016_CompositorBringToFront, + IVRCompositor_IVRCompositor_016_CompositorGoToBack, + IVRCompositor_IVRCompositor_016_CompositorQuit, + IVRCompositor_IVRCompositor_016_IsFullscreen, + IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_016_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_016_CanRenderScene, + IVRCompositor_IVRCompositor_016_ShowMirrorWindow, + IVRCompositor_IVRCompositor_016_HideMirrorWindow, + IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_016_CompositorDumpImages, + IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_016_ForceReconnectProcess, + IVRCompositor_IVRCompositor_016_SuspendRendering, + IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_016_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_017_SetTrackingSpace, + IVRCompositor_IVRCompositor_017_GetTrackingSpace, + IVRCompositor_IVRCompositor_017_WaitGetPoses, + IVRCompositor_IVRCompositor_017_GetLastPoses, + IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_017_Submit, + IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_017_PostPresentHandoff, + IVRCompositor_IVRCompositor_017_GetFrameTiming, + IVRCompositor_IVRCompositor_017_GetFrameTimings, + IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_017_GetCumulativeStats, + IVRCompositor_IVRCompositor_017_FadeToColor, + IVRCompositor_IVRCompositor_017_FadeGrid, + IVRCompositor_IVRCompositor_017_SetSkyboxOverride, + IVRCompositor_IVRCompositor_017_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_017_CompositorBringToFront, + IVRCompositor_IVRCompositor_017_CompositorGoToBack, + IVRCompositor_IVRCompositor_017_CompositorQuit, + IVRCompositor_IVRCompositor_017_IsFullscreen, + IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_017_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_017_CanRenderScene, + IVRCompositor_IVRCompositor_017_ShowMirrorWindow, + IVRCompositor_IVRCompositor_017_HideMirrorWindow, + IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_017_CompositorDumpImages, + IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_017_ForceReconnectProcess, + IVRCompositor_IVRCompositor_017_SuspendRendering, + IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_017_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_018_SetTrackingSpace, + IVRCompositor_IVRCompositor_018_GetTrackingSpace, + IVRCompositor_IVRCompositor_018_WaitGetPoses, + IVRCompositor_IVRCompositor_018_GetLastPoses, + IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_018_Submit, + IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_018_PostPresentHandoff, + IVRCompositor_IVRCompositor_018_GetFrameTiming, + IVRCompositor_IVRCompositor_018_GetFrameTimings, + IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_018_GetCumulativeStats, + IVRCompositor_IVRCompositor_018_FadeToColor, + IVRCompositor_IVRCompositor_018_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_018_FadeGrid, + IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_018_SetSkyboxOverride, + IVRCompositor_IVRCompositor_018_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_018_CompositorBringToFront, + IVRCompositor_IVRCompositor_018_CompositorGoToBack, + IVRCompositor_IVRCompositor_018_CompositorQuit, + IVRCompositor_IVRCompositor_018_IsFullscreen, + IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_018_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_018_CanRenderScene, + IVRCompositor_IVRCompositor_018_ShowMirrorWindow, + IVRCompositor_IVRCompositor_018_HideMirrorWindow, + IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_018_CompositorDumpImages, + IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_018_ForceReconnectProcess, + IVRCompositor_IVRCompositor_018_SuspendRendering, + IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_018_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_019_SetTrackingSpace, + IVRCompositor_IVRCompositor_019_GetTrackingSpace, + IVRCompositor_IVRCompositor_019_WaitGetPoses, + IVRCompositor_IVRCompositor_019_GetLastPoses, + IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_019_Submit, + IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_019_PostPresentHandoff, + IVRCompositor_IVRCompositor_019_GetFrameTiming, + IVRCompositor_IVRCompositor_019_GetFrameTimings, + IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_019_GetCumulativeStats, + IVRCompositor_IVRCompositor_019_FadeToColor, + IVRCompositor_IVRCompositor_019_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_019_FadeGrid, + IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_019_SetSkyboxOverride, + IVRCompositor_IVRCompositor_019_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_019_CompositorBringToFront, + IVRCompositor_IVRCompositor_019_CompositorGoToBack, + IVRCompositor_IVRCompositor_019_CompositorQuit, + IVRCompositor_IVRCompositor_019_IsFullscreen, + IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_019_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_019_CanRenderScene, + IVRCompositor_IVRCompositor_019_ShowMirrorWindow, + IVRCompositor_IVRCompositor_019_HideMirrorWindow, + IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_019_CompositorDumpImages, + IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_019_ForceReconnectProcess, + IVRCompositor_IVRCompositor_019_SuspendRendering, + IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_019_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_020_SetTrackingSpace, + IVRCompositor_IVRCompositor_020_GetTrackingSpace, + IVRCompositor_IVRCompositor_020_WaitGetPoses, + IVRCompositor_IVRCompositor_020_GetLastPoses, + IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_020_Submit, + IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_020_PostPresentHandoff, + IVRCompositor_IVRCompositor_020_GetFrameTiming, + IVRCompositor_IVRCompositor_020_GetFrameTimings, + IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_020_GetCumulativeStats, + IVRCompositor_IVRCompositor_020_FadeToColor, + IVRCompositor_IVRCompositor_020_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_020_FadeGrid, + IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_020_SetSkyboxOverride, + IVRCompositor_IVRCompositor_020_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_020_CompositorBringToFront, + IVRCompositor_IVRCompositor_020_CompositorGoToBack, + IVRCompositor_IVRCompositor_020_CompositorQuit, + IVRCompositor_IVRCompositor_020_IsFullscreen, + IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_020_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_020_CanRenderScene, + IVRCompositor_IVRCompositor_020_ShowMirrorWindow, + IVRCompositor_IVRCompositor_020_HideMirrorWindow, + IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_020_CompositorDumpImages, + IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_020_ForceReconnectProcess, + IVRCompositor_IVRCompositor_020_SuspendRendering, + IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_020_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_021_SetTrackingSpace, + IVRCompositor_IVRCompositor_021_GetTrackingSpace, + IVRCompositor_IVRCompositor_021_WaitGetPoses, + IVRCompositor_IVRCompositor_021_GetLastPoses, + IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_021_Submit, + IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_021_PostPresentHandoff, + IVRCompositor_IVRCompositor_021_GetFrameTiming, + IVRCompositor_IVRCompositor_021_GetFrameTimings, + IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_021_GetCumulativeStats, + IVRCompositor_IVRCompositor_021_FadeToColor, + IVRCompositor_IVRCompositor_021_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_021_FadeGrid, + IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_021_SetSkyboxOverride, + IVRCompositor_IVRCompositor_021_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_021_CompositorBringToFront, + IVRCompositor_IVRCompositor_021_CompositorGoToBack, + IVRCompositor_IVRCompositor_021_CompositorQuit, + IVRCompositor_IVRCompositor_021_IsFullscreen, + IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_021_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_021_CanRenderScene, + IVRCompositor_IVRCompositor_021_ShowMirrorWindow, + IVRCompositor_IVRCompositor_021_HideMirrorWindow, + IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_021_CompositorDumpImages, + IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_021_ForceReconnectProcess, + IVRCompositor_IVRCompositor_021_SuspendRendering, + IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_021_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_021_SetExplicitTimingMode, + IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, + IVRCompositor_IVRCompositor_022_SetTrackingSpace, + IVRCompositor_IVRCompositor_022_GetTrackingSpace, + IVRCompositor_IVRCompositor_022_WaitGetPoses, + IVRCompositor_IVRCompositor_022_GetLastPoses, + IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_022_Submit, + IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_022_PostPresentHandoff, + IVRCompositor_IVRCompositor_022_GetFrameTiming, + IVRCompositor_IVRCompositor_022_GetFrameTimings, + IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_022_GetCumulativeStats, + IVRCompositor_IVRCompositor_022_FadeToColor, + IVRCompositor_IVRCompositor_022_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_022_FadeGrid, + IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_022_SetSkyboxOverride, + IVRCompositor_IVRCompositor_022_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_022_CompositorBringToFront, + IVRCompositor_IVRCompositor_022_CompositorGoToBack, + IVRCompositor_IVRCompositor_022_CompositorQuit, + IVRCompositor_IVRCompositor_022_IsFullscreen, + IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_022_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_022_CanRenderScene, + IVRCompositor_IVRCompositor_022_ShowMirrorWindow, + IVRCompositor_IVRCompositor_022_HideMirrorWindow, + IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_022_CompositorDumpImages, + IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_022_ForceReconnectProcess, + IVRCompositor_IVRCompositor_022_SuspendRendering, + IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_022_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_022_SetExplicitTimingMode, + IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, + IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, + IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, + IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, + IVRCompositor_IVRCompositor_024_SetTrackingSpace, + IVRCompositor_IVRCompositor_024_GetTrackingSpace, + IVRCompositor_IVRCompositor_024_WaitGetPoses, + IVRCompositor_IVRCompositor_024_GetLastPoses, + IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_024_Submit, + IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_024_PostPresentHandoff, + IVRCompositor_IVRCompositor_024_GetFrameTiming, + IVRCompositor_IVRCompositor_024_GetFrameTimings, + IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_024_GetCumulativeStats, + IVRCompositor_IVRCompositor_024_FadeToColor, + IVRCompositor_IVRCompositor_024_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_024_FadeGrid, + IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_024_SetSkyboxOverride, + IVRCompositor_IVRCompositor_024_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_024_CompositorBringToFront, + IVRCompositor_IVRCompositor_024_CompositorGoToBack, + IVRCompositor_IVRCompositor_024_CompositorQuit, + IVRCompositor_IVRCompositor_024_IsFullscreen, + IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_024_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_024_CanRenderScene, + IVRCompositor_IVRCompositor_024_ShowMirrorWindow, + IVRCompositor_IVRCompositor_024_HideMirrorWindow, + IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_024_CompositorDumpImages, + IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_024_ForceReconnectProcess, + IVRCompositor_IVRCompositor_024_SuspendRendering, + IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_024_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_024_SetExplicitTimingMode, + IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, + IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, + IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, + IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, + IVRCompositor_IVRCompositor_024_SetStageOverride_Async, + IVRCompositor_IVRCompositor_024_ClearStageOverride, + IVRCompositor_IVRCompositor_026_SetTrackingSpace, + IVRCompositor_IVRCompositor_026_GetTrackingSpace, + IVRCompositor_IVRCompositor_026_WaitGetPoses, + IVRCompositor_IVRCompositor_026_GetLastPoses, + IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_026_Submit, + IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_026_PostPresentHandoff, + IVRCompositor_IVRCompositor_026_GetFrameTiming, + IVRCompositor_IVRCompositor_026_GetFrameTimings, + IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_026_GetCumulativeStats, + IVRCompositor_IVRCompositor_026_FadeToColor, + IVRCompositor_IVRCompositor_026_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_026_FadeGrid, + IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_026_SetSkyboxOverride, + IVRCompositor_IVRCompositor_026_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_026_CompositorBringToFront, + IVRCompositor_IVRCompositor_026_CompositorGoToBack, + IVRCompositor_IVRCompositor_026_CompositorQuit, + IVRCompositor_IVRCompositor_026_IsFullscreen, + IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_026_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_026_CanRenderScene, + IVRCompositor_IVRCompositor_026_ShowMirrorWindow, + IVRCompositor_IVRCompositor_026_HideMirrorWindow, + IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_026_CompositorDumpImages, + IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_026_ForceReconnectProcess, + IVRCompositor_IVRCompositor_026_SuspendRendering, + IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_026_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_026_SetExplicitTimingMode, + IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, + IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, + IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, + IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, + IVRCompositor_IVRCompositor_026_SetStageOverride_Async, + IVRCompositor_IVRCompositor_026_ClearStageOverride, + IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, + IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, + IVRCompositor_IVRCompositor_026_GetPosesForFrame, + IVRCompositor_IVRCompositor_027_SetTrackingSpace, + IVRCompositor_IVRCompositor_027_GetTrackingSpace, + IVRCompositor_IVRCompositor_027_WaitGetPoses, + IVRCompositor_IVRCompositor_027_GetLastPoses, + IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, + IVRCompositor_IVRCompositor_027_Submit, + IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, + IVRCompositor_IVRCompositor_027_PostPresentHandoff, + IVRCompositor_IVRCompositor_027_GetFrameTiming, + IVRCompositor_IVRCompositor_027_GetFrameTimings, + IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, + IVRCompositor_IVRCompositor_027_GetCumulativeStats, + IVRCompositor_IVRCompositor_027_FadeToColor, + IVRCompositor_IVRCompositor_027_GetCurrentFadeColor, + IVRCompositor_IVRCompositor_027_FadeGrid, + IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, + IVRCompositor_IVRCompositor_027_SetSkyboxOverride, + IVRCompositor_IVRCompositor_027_ClearSkyboxOverride, + IVRCompositor_IVRCompositor_027_CompositorBringToFront, + IVRCompositor_IVRCompositor_027_CompositorGoToBack, + IVRCompositor_IVRCompositor_027_CompositorQuit, + IVRCompositor_IVRCompositor_027_IsFullscreen, + IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, + IVRCompositor_IVRCompositor_027_GetLastFrameRenderer, + IVRCompositor_IVRCompositor_027_CanRenderScene, + IVRCompositor_IVRCompositor_027_ShowMirrorWindow, + IVRCompositor_IVRCompositor_027_HideMirrorWindow, + IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, + IVRCompositor_IVRCompositor_027_CompositorDumpImages, + IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, + IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, + IVRCompositor_IVRCompositor_027_ForceReconnectProcess, + IVRCompositor_IVRCompositor_027_SuspendRendering, + IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, + IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, + IVRCompositor_IVRCompositor_027_GetMirrorTextureGL, + IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, + IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, + IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, + IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, + IVRCompositor_IVRCompositor_027_SetExplicitTimingMode, + IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, + IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, + IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, + IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, + IVRCompositor_IVRCompositor_027_SetStageOverride_Async, + IVRCompositor_IVRCompositor_027_ClearStageOverride, + IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, + IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, + IVRCompositor_IVRCompositor_027_GetPosesForFrame, + IVRControlPanel_IVRControlPanel_006_undoc1, + IVRControlPanel_IVRControlPanel_006_undoc2, + IVRControlPanel_IVRControlPanel_006_undoc3, + IVRControlPanel_IVRControlPanel_006_undoc4, + IVRControlPanel_IVRControlPanel_006_undoc5, + IVRControlPanel_IVRControlPanel_006_undoc6, + IVRControlPanel_IVRControlPanel_006_undoc7, + IVRControlPanel_IVRControlPanel_006_undoc8, + IVRControlPanel_IVRControlPanel_006_undoc9, + IVRControlPanel_IVRControlPanel_006_undoc10, + IVRControlPanel_IVRControlPanel_006_undoc11, + IVRControlPanel_IVRControlPanel_006_undoc12, + IVRControlPanel_IVRControlPanel_006_undoc13, + IVRControlPanel_IVRControlPanel_006_undoc14, + IVRControlPanel_IVRControlPanel_006_undoc15, + IVRControlPanel_IVRControlPanel_006_undoc16, + IVRControlPanel_IVRControlPanel_006_undoc17, + IVRControlPanel_IVRControlPanel_006_undoc18, + IVRControlPanel_IVRControlPanel_006_undoc19, + IVRControlPanel_IVRControlPanel_006_undoc20, + IVRControlPanel_IVRControlPanel_006_undoc21, + IVRControlPanel_IVRControlPanel_006_undoc22, + IVRControlPanel_IVRControlPanel_006_undoc23, + IVRControlPanel_IVRControlPanel_006_undoc24, + IVRControlPanel_IVRControlPanel_006_undoc25, + IVRControlPanel_IVRControlPanel_006_undoc26, + IVRControlPanel_IVRControlPanel_006_undoc27, + IVRControlPanel_IVRControlPanel_006_undoc28, + IVRDriverManager_IVRDriverManager_001_GetDriverCount, + IVRDriverManager_IVRDriverManager_001_GetDriverName, + IVRDriverManager_IVRDriverManager_001_GetDriverHandle, + IVRDriverManager_IVRDriverManager_001_IsEnabled, + IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, + IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, + IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, + IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, + IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, + IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, + IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, + IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, + IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, + IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, + IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, + IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, + IVRIOBuffer_IVRIOBuffer_001_Open, + IVRIOBuffer_IVRIOBuffer_001_Close, + IVRIOBuffer_IVRIOBuffer_001_Read, + IVRIOBuffer_IVRIOBuffer_001_Write, + IVRIOBuffer_IVRIOBuffer_001_PropertyContainer, + IVRIOBuffer_IVRIOBuffer_002_Open, + IVRIOBuffer_IVRIOBuffer_002_Close, + IVRIOBuffer_IVRIOBuffer_002_Read, + IVRIOBuffer_IVRIOBuffer_002_Write, + IVRIOBuffer_IVRIOBuffer_002_PropertyContainer, + IVRIOBuffer_IVRIOBuffer_002_HasReaders, + IVRInput_IVRInput_003_SetActionManifestPath, + IVRInput_IVRInput_003_GetActionSetHandle, + IVRInput_IVRInput_003_GetActionHandle, + IVRInput_IVRInput_003_GetInputSourceHandle, + IVRInput_IVRInput_003_UpdateActionState, + IVRInput_IVRInput_003_GetDigitalActionData, + IVRInput_IVRInput_003_GetAnalogActionData, + IVRInput_IVRInput_003_GetPoseActionData, + IVRInput_IVRInput_003_GetSkeletalActionData, + IVRInput_IVRInput_003_GetSkeletalActionDataCompressed, + IVRInput_IVRInput_003_UncompressSkeletalActionData, + IVRInput_IVRInput_003_TriggerHapticVibrationAction, + IVRInput_IVRInput_003_GetActionOrigins, + IVRInput_IVRInput_003_GetOriginLocalizedName, + IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_003_ShowActionOrigins, + IVRInput_IVRInput_003_ShowBindingsForActionSet, + IVRInput_IVRInput_004_SetActionManifestPath, + IVRInput_IVRInput_004_GetActionSetHandle, + IVRInput_IVRInput_004_GetActionHandle, + IVRInput_IVRInput_004_GetInputSourceHandle, + IVRInput_IVRInput_004_UpdateActionState, + IVRInput_IVRInput_004_GetDigitalActionData, + IVRInput_IVRInput_004_GetAnalogActionData, + IVRInput_IVRInput_004_GetPoseActionData, + IVRInput_IVRInput_004_GetSkeletalActionData, + IVRInput_IVRInput_004_GetSkeletalBoneData, + IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, + IVRInput_IVRInput_004_DecompressSkeletalBoneData, + IVRInput_IVRInput_004_TriggerHapticVibrationAction, + IVRInput_IVRInput_004_GetActionOrigins, + IVRInput_IVRInput_004_GetOriginLocalizedName, + IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_004_ShowActionOrigins, + IVRInput_IVRInput_004_ShowBindingsForActionSet, + IVRInput_IVRInput_005_SetActionManifestPath, + IVRInput_IVRInput_005_GetActionSetHandle, + IVRInput_IVRInput_005_GetActionHandle, + IVRInput_IVRInput_005_GetInputSourceHandle, + IVRInput_IVRInput_005_UpdateActionState, + IVRInput_IVRInput_005_GetDigitalActionData, + IVRInput_IVRInput_005_GetAnalogActionData, + IVRInput_IVRInput_005_GetPoseActionData, + IVRInput_IVRInput_005_GetSkeletalActionData, + IVRInput_IVRInput_005_GetBoneCount, + IVRInput_IVRInput_005_GetBoneHierarchy, + IVRInput_IVRInput_005_GetBoneName, + IVRInput_IVRInput_005_GetSkeletalReferenceTransforms, + IVRInput_IVRInput_005_GetSkeletalTrackingLevel, + IVRInput_IVRInput_005_GetSkeletalBoneData, + IVRInput_IVRInput_005_GetSkeletalSummaryData, + IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, + IVRInput_IVRInput_005_DecompressSkeletalBoneData, + IVRInput_IVRInput_005_TriggerHapticVibrationAction, + IVRInput_IVRInput_005_GetActionOrigins, + IVRInput_IVRInput_005_GetOriginLocalizedName, + IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_005_ShowActionOrigins, + IVRInput_IVRInput_005_ShowBindingsForActionSet, + IVRInput_IVRInput_005_IsUsingLegacyInput, + IVRInput_IVRInput_006_SetActionManifestPath, + IVRInput_IVRInput_006_GetActionSetHandle, + IVRInput_IVRInput_006_GetActionHandle, + IVRInput_IVRInput_006_GetInputSourceHandle, + IVRInput_IVRInput_006_UpdateActionState, + IVRInput_IVRInput_006_GetDigitalActionData, + IVRInput_IVRInput_006_GetAnalogActionData, + IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, + IVRInput_IVRInput_006_GetPoseActionDataForNextFrame, + IVRInput_IVRInput_006_GetSkeletalActionData, + IVRInput_IVRInput_006_GetBoneCount, + IVRInput_IVRInput_006_GetBoneHierarchy, + IVRInput_IVRInput_006_GetBoneName, + IVRInput_IVRInput_006_GetSkeletalReferenceTransforms, + IVRInput_IVRInput_006_GetSkeletalTrackingLevel, + IVRInput_IVRInput_006_GetSkeletalBoneData, + IVRInput_IVRInput_006_GetSkeletalSummaryData, + IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, + IVRInput_IVRInput_006_DecompressSkeletalBoneData, + IVRInput_IVRInput_006_TriggerHapticVibrationAction, + IVRInput_IVRInput_006_GetActionOrigins, + IVRInput_IVRInput_006_GetOriginLocalizedName, + IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_006_ShowActionOrigins, + IVRInput_IVRInput_006_ShowBindingsForActionSet, + IVRInput_IVRInput_006_IsUsingLegacyInput, + IVRInput_IVRInput_007_SetActionManifestPath, + IVRInput_IVRInput_007_GetActionSetHandle, + IVRInput_IVRInput_007_GetActionHandle, + IVRInput_IVRInput_007_GetInputSourceHandle, + IVRInput_IVRInput_007_UpdateActionState, + IVRInput_IVRInput_007_GetDigitalActionData, + IVRInput_IVRInput_007_GetAnalogActionData, + IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, + IVRInput_IVRInput_007_GetPoseActionDataForNextFrame, + IVRInput_IVRInput_007_GetSkeletalActionData, + IVRInput_IVRInput_007_GetBoneCount, + IVRInput_IVRInput_007_GetBoneHierarchy, + IVRInput_IVRInput_007_GetBoneName, + IVRInput_IVRInput_007_GetSkeletalReferenceTransforms, + IVRInput_IVRInput_007_GetSkeletalTrackingLevel, + IVRInput_IVRInput_007_GetSkeletalBoneData, + IVRInput_IVRInput_007_GetSkeletalSummaryData, + IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, + IVRInput_IVRInput_007_DecompressSkeletalBoneData, + IVRInput_IVRInput_007_TriggerHapticVibrationAction, + IVRInput_IVRInput_007_GetActionOrigins, + IVRInput_IVRInput_007_GetOriginLocalizedName, + IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_007_GetActionBindingInfo, + IVRInput_IVRInput_007_ShowActionOrigins, + IVRInput_IVRInput_007_ShowBindingsForActionSet, + IVRInput_IVRInput_007_IsUsingLegacyInput, + IVRInput_IVRInput_007_OpenBindingUI, + IVRInput_IVRInput_010_SetActionManifestPath, + IVRInput_IVRInput_010_GetActionSetHandle, + IVRInput_IVRInput_010_GetActionHandle, + IVRInput_IVRInput_010_GetInputSourceHandle, + IVRInput_IVRInput_010_UpdateActionState, + IVRInput_IVRInput_010_GetDigitalActionData, + IVRInput_IVRInput_010_GetAnalogActionData, + IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, + IVRInput_IVRInput_010_GetPoseActionDataForNextFrame, + IVRInput_IVRInput_010_GetSkeletalActionData, + IVRInput_IVRInput_010_GetDominantHand, + IVRInput_IVRInput_010_SetDominantHand, + IVRInput_IVRInput_010_GetBoneCount, + IVRInput_IVRInput_010_GetBoneHierarchy, + IVRInput_IVRInput_010_GetBoneName, + IVRInput_IVRInput_010_GetSkeletalReferenceTransforms, + IVRInput_IVRInput_010_GetSkeletalTrackingLevel, + IVRInput_IVRInput_010_GetSkeletalBoneData, + IVRInput_IVRInput_010_GetSkeletalSummaryData, + IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, + IVRInput_IVRInput_010_DecompressSkeletalBoneData, + IVRInput_IVRInput_010_TriggerHapticVibrationAction, + IVRInput_IVRInput_010_GetActionOrigins, + IVRInput_IVRInput_010_GetOriginLocalizedName, + IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, + IVRInput_IVRInput_010_GetActionBindingInfo, + IVRInput_IVRInput_010_ShowActionOrigins, + IVRInput_IVRInput_010_ShowBindingsForActionSet, + IVRInput_IVRInput_010_GetComponentStateForBinding, + IVRInput_IVRInput_010_IsUsingLegacyInput, + IVRInput_IVRInput_010_OpenBindingUI, + IVRInput_IVRInput_010_GetBindingVariant, + IVRMailbox_IVRMailbox_001_undoc1, + IVRMailbox_IVRMailbox_001_undoc2, + IVRMailbox_IVRMailbox_001_undoc3, + IVRMailbox_IVRMailbox_001_undoc4, + IVRNotifications_IVRNotifications_001_GetErrorString, + IVRNotifications_IVRNotifications_001_CreateNotification, + IVRNotifications_IVRNotifications_001_DismissNotification, + IVRNotifications_IVRNotifications_002_CreateNotification, + IVRNotifications_IVRNotifications_002_RemoveNotification, + IVROverlayView_IVROverlayView_003_AcquireOverlayView, + IVROverlayView_IVROverlayView_003_ReleaseOverlayView, + IVROverlayView_IVROverlayView_003_PostOverlayEvent, + IVROverlayView_IVROverlayView_003_IsViewingPermitted, + IVROverlay_IVROverlay_001_FindOverlay, + IVROverlay_IVROverlay_001_CreateOverlay, + IVROverlay_IVROverlay_001_DestroyOverlay, + IVROverlay_IVROverlay_001_SetHighQualityOverlay, + IVROverlay_IVROverlay_001_GetHighQualityOverlay, + IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_001_SetOverlayFlag, + IVROverlay_IVROverlay_001_GetOverlayFlag, + IVROverlay_IVROverlay_001_SetOverlayAlpha, + IVROverlay_IVROverlay_001_GetOverlayAlpha, + IVROverlay_IVROverlay_001_SetOverlayGamma, + IVROverlay_IVROverlay_001_GetOverlayGamma, + IVROverlay_IVROverlay_001_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_001_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_001_SetOverlayTextureBounds, + IVROverlay_IVROverlay_001_GetOverlayTextureBounds, + IVROverlay_IVROverlay_001_GetOverlayTransformType, + IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_001_GetOverlayVisibility, + IVROverlay_IVROverlay_001_SetOverlayVisibility, + IVROverlay_IVROverlay_001_ShowOverlay, + IVROverlay_IVROverlay_001_HideOverlay, + IVROverlay_IVROverlay_001_IsOverlayVisible, + IVROverlay_IVROverlay_001_PollNextOverlayEvent, + IVROverlay_IVROverlay_001_GetOverlayInputMethod, + IVROverlay_IVROverlay_001_SetOverlayInputMethod, + IVROverlay_IVROverlay_001_GetOverlayMouseScale, + IVROverlay_IVROverlay_001_SetOverlayMouseScale, + IVROverlay_IVROverlay_001_ComputeOverlayIntersection, + IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_001_SetOverlayTexture, + IVROverlay_IVROverlay_001_SetOverlayRaw, + IVROverlay_IVROverlay_001_SetOverlayFromFile, + IVROverlay_IVROverlay_001_IsSystemOverlayVisible, + IVROverlay_IVROverlay_001_IsActiveSystemOverlay, + IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, + IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, + IVROverlay_IVROverlay_002_FindOverlay, + IVROverlay_IVROverlay_002_CreateOverlay, + IVROverlay_IVROverlay_002_DestroyOverlay, + IVROverlay_IVROverlay_002_SetHighQualityOverlay, + IVROverlay_IVROverlay_002_GetHighQualityOverlay, + IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_002_SetOverlayFlag, + IVROverlay_IVROverlay_002_GetOverlayFlag, + IVROverlay_IVROverlay_002_SetOverlayColor, + IVROverlay_IVROverlay_002_GetOverlayColor, + IVROverlay_IVROverlay_002_SetOverlayAlpha, + IVROverlay_IVROverlay_002_GetOverlayAlpha, + IVROverlay_IVROverlay_002_SetOverlayGamma, + IVROverlay_IVROverlay_002_GetOverlayGamma, + IVROverlay_IVROverlay_002_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_002_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_002_SetOverlayTextureBounds, + IVROverlay_IVROverlay_002_GetOverlayTextureBounds, + IVROverlay_IVROverlay_002_GetOverlayTransformType, + IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_002_ShowOverlay, + IVROverlay_IVROverlay_002_HideOverlay, + IVROverlay_IVROverlay_002_IsOverlayVisible, + IVROverlay_IVROverlay_002_PollNextOverlayEvent, + IVROverlay_IVROverlay_002_GetOverlayInputMethod, + IVROverlay_IVROverlay_002_SetOverlayInputMethod, + IVROverlay_IVROverlay_002_GetOverlayMouseScale, + IVROverlay_IVROverlay_002_SetOverlayMouseScale, + IVROverlay_IVROverlay_002_ComputeOverlayIntersection, + IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_002_SetOverlayTexture, + IVROverlay_IVROverlay_002_ClearOverlayTexture, + IVROverlay_IVROverlay_002_SetOverlayRaw, + IVROverlay_IVROverlay_002_SetOverlayFromFile, + IVROverlay_IVROverlay_002_CreateDashboardOverlay, + IVROverlay_IVROverlay_002_IsDashboardVisible, + IVROverlay_IVROverlay_002_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_003_FindOverlay, + IVROverlay_IVROverlay_003_CreateOverlay, + IVROverlay_IVROverlay_003_DestroyOverlay, + IVROverlay_IVROverlay_003_SetHighQualityOverlay, + IVROverlay_IVROverlay_003_GetHighQualityOverlay, + IVROverlay_IVROverlay_003_GetOverlayKey, + IVROverlay_IVROverlay_003_GetOverlayName, + IVROverlay_IVROverlay_003_GetOverlayImageData, + IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_003_SetOverlayFlag, + IVROverlay_IVROverlay_003_GetOverlayFlag, + IVROverlay_IVROverlay_003_SetOverlayColor, + IVROverlay_IVROverlay_003_GetOverlayColor, + IVROverlay_IVROverlay_003_SetOverlayAlpha, + IVROverlay_IVROverlay_003_GetOverlayAlpha, + IVROverlay_IVROverlay_003_SetOverlayGamma, + IVROverlay_IVROverlay_003_GetOverlayGamma, + IVROverlay_IVROverlay_003_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_003_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_003_SetOverlayTextureBounds, + IVROverlay_IVROverlay_003_GetOverlayTextureBounds, + IVROverlay_IVROverlay_003_GetOverlayTransformType, + IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_003_ShowOverlay, + IVROverlay_IVROverlay_003_HideOverlay, + IVROverlay_IVROverlay_003_IsOverlayVisible, + IVROverlay_IVROverlay_003_PollNextOverlayEvent, + IVROverlay_IVROverlay_003_GetOverlayInputMethod, + IVROverlay_IVROverlay_003_SetOverlayInputMethod, + IVROverlay_IVROverlay_003_GetOverlayMouseScale, + IVROverlay_IVROverlay_003_SetOverlayMouseScale, + IVROverlay_IVROverlay_003_ComputeOverlayIntersection, + IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_003_SetOverlayTexture, + IVROverlay_IVROverlay_003_ClearOverlayTexture, + IVROverlay_IVROverlay_003_SetOverlayRaw, + IVROverlay_IVROverlay_003_SetOverlayFromFile, + IVROverlay_IVROverlay_003_CreateDashboardOverlay, + IVROverlay_IVROverlay_003_IsDashboardVisible, + IVROverlay_IVROverlay_003_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_003_ShowDashboard, + IVROverlay_IVROverlay_004_FindOverlay, + IVROverlay_IVROverlay_004_CreateOverlay, + IVROverlay_IVROverlay_004_DestroyOverlay, + IVROverlay_IVROverlay_004_SetHighQualityOverlay, + IVROverlay_IVROverlay_004_GetHighQualityOverlay, + IVROverlay_IVROverlay_004_GetOverlayKey, + IVROverlay_IVROverlay_004_GetOverlayName, + IVROverlay_IVROverlay_004_GetOverlayImageData, + IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_004_SetOverlayFlag, + IVROverlay_IVROverlay_004_GetOverlayFlag, + IVROverlay_IVROverlay_004_SetOverlayColor, + IVROverlay_IVROverlay_004_GetOverlayColor, + IVROverlay_IVROverlay_004_SetOverlayAlpha, + IVROverlay_IVROverlay_004_GetOverlayAlpha, + IVROverlay_IVROverlay_004_SetOverlayGamma, + IVROverlay_IVROverlay_004_GetOverlayGamma, + IVROverlay_IVROverlay_004_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_004_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_004_SetOverlayTextureBounds, + IVROverlay_IVROverlay_004_GetOverlayTextureBounds, + IVROverlay_IVROverlay_004_GetOverlayTransformType, + IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_004_ShowOverlay, + IVROverlay_IVROverlay_004_HideOverlay, + IVROverlay_IVROverlay_004_IsOverlayVisible, + IVROverlay_IVROverlay_004_PollNextOverlayEvent, + IVROverlay_IVROverlay_004_GetOverlayInputMethod, + IVROverlay_IVROverlay_004_SetOverlayInputMethod, + IVROverlay_IVROverlay_004_GetOverlayMouseScale, + IVROverlay_IVROverlay_004_SetOverlayMouseScale, + IVROverlay_IVROverlay_004_ComputeOverlayIntersection, + IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_004_SetOverlayTexture, + IVROverlay_IVROverlay_004_ClearOverlayTexture, + IVROverlay_IVROverlay_004_SetOverlayRaw, + IVROverlay_IVROverlay_004_SetOverlayFromFile, + IVROverlay_IVROverlay_004_CreateDashboardOverlay, + IVROverlay_IVROverlay_004_IsDashboardVisible, + IVROverlay_IVROverlay_004_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_004_ShowDashboard, + IVROverlay_IVROverlay_005_FindOverlay, + IVROverlay_IVROverlay_005_CreateOverlay, + IVROverlay_IVROverlay_005_DestroyOverlay, + IVROverlay_IVROverlay_005_SetHighQualityOverlay, + IVROverlay_IVROverlay_005_GetHighQualityOverlay, + IVROverlay_IVROverlay_005_GetOverlayKey, + IVROverlay_IVROverlay_005_GetOverlayName, + IVROverlay_IVROverlay_005_GetOverlayImageData, + IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_005_SetOverlayFlag, + IVROverlay_IVROverlay_005_GetOverlayFlag, + IVROverlay_IVROverlay_005_SetOverlayColor, + IVROverlay_IVROverlay_005_GetOverlayColor, + IVROverlay_IVROverlay_005_SetOverlayAlpha, + IVROverlay_IVROverlay_005_GetOverlayAlpha, + IVROverlay_IVROverlay_005_SetOverlayGamma, + IVROverlay_IVROverlay_005_GetOverlayGamma, + IVROverlay_IVROverlay_005_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_005_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_005_SetOverlayTextureBounds, + IVROverlay_IVROverlay_005_GetOverlayTextureBounds, + IVROverlay_IVROverlay_005_GetOverlayTransformType, + IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_005_ShowOverlay, + IVROverlay_IVROverlay_005_HideOverlay, + IVROverlay_IVROverlay_005_IsOverlayVisible, + IVROverlay_IVROverlay_005_PollNextOverlayEvent, + IVROverlay_IVROverlay_005_GetOverlayInputMethod, + IVROverlay_IVROverlay_005_SetOverlayInputMethod, + IVROverlay_IVROverlay_005_GetOverlayMouseScale, + IVROverlay_IVROverlay_005_SetOverlayMouseScale, + IVROverlay_IVROverlay_005_ComputeOverlayIntersection, + IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_005_IsFocusOverlay, + IVROverlay_IVROverlay_005_SetOverlayTexture, + IVROverlay_IVROverlay_005_ClearOverlayTexture, + IVROverlay_IVROverlay_005_SetOverlayRaw, + IVROverlay_IVROverlay_005_SetOverlayFromFile, + IVROverlay_IVROverlay_005_CreateDashboardOverlay, + IVROverlay_IVROverlay_005_IsDashboardVisible, + IVROverlay_IVROverlay_005_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_005_ShowDashboard, + IVROverlay_IVROverlay_005_ShowKeyboard, + IVROverlay_IVROverlay_005_GetKeyboardText, + IVROverlay_IVROverlay_005_HideKeyboard, + IVROverlay_IVROverlay_007_FindOverlay, + IVROverlay_IVROverlay_007_CreateOverlay, + IVROverlay_IVROverlay_007_DestroyOverlay, + IVROverlay_IVROverlay_007_SetHighQualityOverlay, + IVROverlay_IVROverlay_007_GetHighQualityOverlay, + IVROverlay_IVROverlay_007_GetOverlayKey, + IVROverlay_IVROverlay_007_GetOverlayName, + IVROverlay_IVROverlay_007_GetOverlayImageData, + IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_007_SetOverlayFlag, + IVROverlay_IVROverlay_007_GetOverlayFlag, + IVROverlay_IVROverlay_007_SetOverlayColor, + IVROverlay_IVROverlay_007_GetOverlayColor, + IVROverlay_IVROverlay_007_SetOverlayAlpha, + IVROverlay_IVROverlay_007_GetOverlayAlpha, + IVROverlay_IVROverlay_007_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_007_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_007_SetOverlayTextureBounds, + IVROverlay_IVROverlay_007_GetOverlayTextureBounds, + IVROverlay_IVROverlay_007_GetOverlayTransformType, + IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_007_ShowOverlay, + IVROverlay_IVROverlay_007_HideOverlay, + IVROverlay_IVROverlay_007_IsOverlayVisible, + IVROverlay_IVROverlay_007_PollNextOverlayEvent, + IVROverlay_IVROverlay_007_GetOverlayInputMethod, + IVROverlay_IVROverlay_007_SetOverlayInputMethod, + IVROverlay_IVROverlay_007_GetOverlayMouseScale, + IVROverlay_IVROverlay_007_SetOverlayMouseScale, + IVROverlay_IVROverlay_007_ComputeOverlayIntersection, + IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_007_IsHoverTargetOverlay, + IVROverlay_IVROverlay_007_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_007_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_007_SetOverlayNeighbor, + IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_007_SetOverlayTexture, + IVROverlay_IVROverlay_007_ClearOverlayTexture, + IVROverlay_IVROverlay_007_SetOverlayRaw, + IVROverlay_IVROverlay_007_SetOverlayFromFile, + IVROverlay_IVROverlay_007_CreateDashboardOverlay, + IVROverlay_IVROverlay_007_IsDashboardVisible, + IVROverlay_IVROverlay_007_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_007_ShowDashboard, + IVROverlay_IVROverlay_007_ShowKeyboard, + IVROverlay_IVROverlay_007_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_007_GetKeyboardText, + IVROverlay_IVROverlay_007_HideKeyboard, + IVROverlay_IVROverlay_008_FindOverlay, + IVROverlay_IVROverlay_008_CreateOverlay, + IVROverlay_IVROverlay_008_DestroyOverlay, + IVROverlay_IVROverlay_008_SetHighQualityOverlay, + IVROverlay_IVROverlay_008_GetHighQualityOverlay, + IVROverlay_IVROverlay_008_GetOverlayKey, + IVROverlay_IVROverlay_008_GetOverlayName, + IVROverlay_IVROverlay_008_GetOverlayImageData, + IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_008_SetOverlayFlag, + IVROverlay_IVROverlay_008_GetOverlayFlag, + IVROverlay_IVROverlay_008_SetOverlayColor, + IVROverlay_IVROverlay_008_GetOverlayColor, + IVROverlay_IVROverlay_008_SetOverlayAlpha, + IVROverlay_IVROverlay_008_GetOverlayAlpha, + IVROverlay_IVROverlay_008_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_008_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_008_SetOverlayTextureBounds, + IVROverlay_IVROverlay_008_GetOverlayTextureBounds, + IVROverlay_IVROverlay_008_GetOverlayTransformType, + IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_008_ShowOverlay, + IVROverlay_IVROverlay_008_HideOverlay, + IVROverlay_IVROverlay_008_IsOverlayVisible, + IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_008_PollNextOverlayEvent, + IVROverlay_IVROverlay_008_GetOverlayInputMethod, + IVROverlay_IVROverlay_008_SetOverlayInputMethod, + IVROverlay_IVROverlay_008_GetOverlayMouseScale, + IVROverlay_IVROverlay_008_SetOverlayMouseScale, + IVROverlay_IVROverlay_008_ComputeOverlayIntersection, + IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_008_IsHoverTargetOverlay, + IVROverlay_IVROverlay_008_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_008_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_008_SetOverlayNeighbor, + IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_008_SetOverlayTexture, + IVROverlay_IVROverlay_008_ClearOverlayTexture, + IVROverlay_IVROverlay_008_SetOverlayRaw, + IVROverlay_IVROverlay_008_SetOverlayFromFile, + IVROverlay_IVROverlay_008_CreateDashboardOverlay, + IVROverlay_IVROverlay_008_IsDashboardVisible, + IVROverlay_IVROverlay_008_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_008_ShowDashboard, + IVROverlay_IVROverlay_008_ShowKeyboard, + IVROverlay_IVROverlay_008_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_008_GetKeyboardText, + IVROverlay_IVROverlay_008_HideKeyboard, + IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_010_FindOverlay, + IVROverlay_IVROverlay_010_CreateOverlay, + IVROverlay_IVROverlay_010_DestroyOverlay, + IVROverlay_IVROverlay_010_SetHighQualityOverlay, + IVROverlay_IVROverlay_010_GetHighQualityOverlay, + IVROverlay_IVROverlay_010_GetOverlayKey, + IVROverlay_IVROverlay_010_GetOverlayName, + IVROverlay_IVROverlay_010_GetOverlayImageData, + IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_010_SetOverlayFlag, + IVROverlay_IVROverlay_010_GetOverlayFlag, + IVROverlay_IVROverlay_010_SetOverlayColor, + IVROverlay_IVROverlay_010_GetOverlayColor, + IVROverlay_IVROverlay_010_SetOverlayAlpha, + IVROverlay_IVROverlay_010_GetOverlayAlpha, + IVROverlay_IVROverlay_010_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_010_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_010_SetOverlayTextureBounds, + IVROverlay_IVROverlay_010_GetOverlayTextureBounds, + IVROverlay_IVROverlay_010_GetOverlayTransformType, + IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_010_ShowOverlay, + IVROverlay_IVROverlay_010_HideOverlay, + IVROverlay_IVROverlay_010_IsOverlayVisible, + IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_010_PollNextOverlayEvent, + IVROverlay_IVROverlay_010_GetOverlayInputMethod, + IVROverlay_IVROverlay_010_SetOverlayInputMethod, + IVROverlay_IVROverlay_010_GetOverlayMouseScale, + IVROverlay_IVROverlay_010_SetOverlayMouseScale, + IVROverlay_IVROverlay_010_ComputeOverlayIntersection, + IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_010_IsHoverTargetOverlay, + IVROverlay_IVROverlay_010_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_010_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_010_SetOverlayNeighbor, + IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_010_SetOverlayTexture, + IVROverlay_IVROverlay_010_ClearOverlayTexture, + IVROverlay_IVROverlay_010_SetOverlayRaw, + IVROverlay_IVROverlay_010_SetOverlayFromFile, + IVROverlay_IVROverlay_010_CreateDashboardOverlay, + IVROverlay_IVROverlay_010_IsDashboardVisible, + IVROverlay_IVROverlay_010_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_010_ShowDashboard, + IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_010_ShowKeyboard, + IVROverlay_IVROverlay_010_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_010_GetKeyboardText, + IVROverlay_IVROverlay_010_HideKeyboard, + IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_011_FindOverlay, + IVROverlay_IVROverlay_011_CreateOverlay, + IVROverlay_IVROverlay_011_DestroyOverlay, + IVROverlay_IVROverlay_011_SetHighQualityOverlay, + IVROverlay_IVROverlay_011_GetHighQualityOverlay, + IVROverlay_IVROverlay_011_GetOverlayKey, + IVROverlay_IVROverlay_011_GetOverlayName, + IVROverlay_IVROverlay_011_GetOverlayImageData, + IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_011_SetOverlayRenderingPid, + IVROverlay_IVROverlay_011_GetOverlayRenderingPid, + IVROverlay_IVROverlay_011_SetOverlayFlag, + IVROverlay_IVROverlay_011_GetOverlayFlag, + IVROverlay_IVROverlay_011_SetOverlayColor, + IVROverlay_IVROverlay_011_GetOverlayColor, + IVROverlay_IVROverlay_011_SetOverlayAlpha, + IVROverlay_IVROverlay_011_GetOverlayAlpha, + IVROverlay_IVROverlay_011_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_011_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_011_SetOverlayTextureBounds, + IVROverlay_IVROverlay_011_GetOverlayTextureBounds, + IVROverlay_IVROverlay_011_GetOverlayTransformType, + IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_011_ShowOverlay, + IVROverlay_IVROverlay_011_HideOverlay, + IVROverlay_IVROverlay_011_IsOverlayVisible, + IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_011_PollNextOverlayEvent, + IVROverlay_IVROverlay_011_GetOverlayInputMethod, + IVROverlay_IVROverlay_011_SetOverlayInputMethod, + IVROverlay_IVROverlay_011_GetOverlayMouseScale, + IVROverlay_IVROverlay_011_SetOverlayMouseScale, + IVROverlay_IVROverlay_011_ComputeOverlayIntersection, + IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_011_IsHoverTargetOverlay, + IVROverlay_IVROverlay_011_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_011_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_011_SetOverlayNeighbor, + IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_011_SetOverlayTexture, + IVROverlay_IVROverlay_011_ClearOverlayTexture, + IVROverlay_IVROverlay_011_SetOverlayRaw, + IVROverlay_IVROverlay_011_SetOverlayFromFile, + IVROverlay_IVROverlay_011_GetOverlayTexture, + IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_011_CreateDashboardOverlay, + IVROverlay_IVROverlay_011_IsDashboardVisible, + IVROverlay_IVROverlay_011_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_011_ShowDashboard, + IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_011_ShowKeyboard, + IVROverlay_IVROverlay_011_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_011_GetKeyboardText, + IVROverlay_IVROverlay_011_HideKeyboard, + IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_012_FindOverlay, + IVROverlay_IVROverlay_012_CreateOverlay, + IVROverlay_IVROverlay_012_DestroyOverlay, + IVROverlay_IVROverlay_012_SetHighQualityOverlay, + IVROverlay_IVROverlay_012_GetHighQualityOverlay, + IVROverlay_IVROverlay_012_GetOverlayKey, + IVROverlay_IVROverlay_012_GetOverlayName, + IVROverlay_IVROverlay_012_GetOverlayImageData, + IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_012_SetOverlayRenderingPid, + IVROverlay_IVROverlay_012_GetOverlayRenderingPid, + IVROverlay_IVROverlay_012_SetOverlayFlag, + IVROverlay_IVROverlay_012_GetOverlayFlag, + IVROverlay_IVROverlay_012_SetOverlayColor, + IVROverlay_IVROverlay_012_GetOverlayColor, + IVROverlay_IVROverlay_012_SetOverlayAlpha, + IVROverlay_IVROverlay_012_GetOverlayAlpha, + IVROverlay_IVROverlay_012_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_012_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_012_SetOverlayTextureBounds, + IVROverlay_IVROverlay_012_GetOverlayTextureBounds, + IVROverlay_IVROverlay_012_GetOverlayTransformType, + IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_012_ShowOverlay, + IVROverlay_IVROverlay_012_HideOverlay, + IVROverlay_IVROverlay_012_IsOverlayVisible, + IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_012_PollNextOverlayEvent, + IVROverlay_IVROverlay_012_GetOverlayInputMethod, + IVROverlay_IVROverlay_012_SetOverlayInputMethod, + IVROverlay_IVROverlay_012_GetOverlayMouseScale, + IVROverlay_IVROverlay_012_SetOverlayMouseScale, + IVROverlay_IVROverlay_012_ComputeOverlayIntersection, + IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_012_IsHoverTargetOverlay, + IVROverlay_IVROverlay_012_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_012_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_012_SetOverlayNeighbor, + IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_012_SetOverlayTexture, + IVROverlay_IVROverlay_012_ClearOverlayTexture, + IVROverlay_IVROverlay_012_SetOverlayRaw, + IVROverlay_IVROverlay_012_SetOverlayFromFile, + IVROverlay_IVROverlay_012_GetOverlayTexture, + IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_012_GetOverlayTextureSize, + IVROverlay_IVROverlay_012_CreateDashboardOverlay, + IVROverlay_IVROverlay_012_IsDashboardVisible, + IVROverlay_IVROverlay_012_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_012_ShowDashboard, + IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_012_ShowKeyboard, + IVROverlay_IVROverlay_012_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_012_GetKeyboardText, + IVROverlay_IVROverlay_012_HideKeyboard, + IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_013_FindOverlay, + IVROverlay_IVROverlay_013_CreateOverlay, + IVROverlay_IVROverlay_013_DestroyOverlay, + IVROverlay_IVROverlay_013_SetHighQualityOverlay, + IVROverlay_IVROverlay_013_GetHighQualityOverlay, + IVROverlay_IVROverlay_013_GetOverlayKey, + IVROverlay_IVROverlay_013_GetOverlayName, + IVROverlay_IVROverlay_013_GetOverlayImageData, + IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_013_SetOverlayRenderingPid, + IVROverlay_IVROverlay_013_GetOverlayRenderingPid, + IVROverlay_IVROverlay_013_SetOverlayFlag, + IVROverlay_IVROverlay_013_GetOverlayFlag, + IVROverlay_IVROverlay_013_SetOverlayColor, + IVROverlay_IVROverlay_013_GetOverlayColor, + IVROverlay_IVROverlay_013_SetOverlayAlpha, + IVROverlay_IVROverlay_013_GetOverlayAlpha, + IVROverlay_IVROverlay_013_SetOverlayTexelAspect, + IVROverlay_IVROverlay_013_GetOverlayTexelAspect, + IVROverlay_IVROverlay_013_SetOverlaySortOrder, + IVROverlay_IVROverlay_013_GetOverlaySortOrder, + IVROverlay_IVROverlay_013_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_013_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_013_SetOverlayTextureBounds, + IVROverlay_IVROverlay_013_GetOverlayTextureBounds, + IVROverlay_IVROverlay_013_GetOverlayTransformType, + IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_013_ShowOverlay, + IVROverlay_IVROverlay_013_HideOverlay, + IVROverlay_IVROverlay_013_IsOverlayVisible, + IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_013_PollNextOverlayEvent, + IVROverlay_IVROverlay_013_GetOverlayInputMethod, + IVROverlay_IVROverlay_013_SetOverlayInputMethod, + IVROverlay_IVROverlay_013_GetOverlayMouseScale, + IVROverlay_IVROverlay_013_SetOverlayMouseScale, + IVROverlay_IVROverlay_013_ComputeOverlayIntersection, + IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_013_IsHoverTargetOverlay, + IVROverlay_IVROverlay_013_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_013_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_013_SetOverlayNeighbor, + IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_013_SetOverlayTexture, + IVROverlay_IVROverlay_013_ClearOverlayTexture, + IVROverlay_IVROverlay_013_SetOverlayRaw, + IVROverlay_IVROverlay_013_SetOverlayFromFile, + IVROverlay_IVROverlay_013_GetOverlayTexture, + IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_013_GetOverlayTextureSize, + IVROverlay_IVROverlay_013_CreateDashboardOverlay, + IVROverlay_IVROverlay_013_IsDashboardVisible, + IVROverlay_IVROverlay_013_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_013_ShowDashboard, + IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_013_ShowKeyboard, + IVROverlay_IVROverlay_013_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_013_GetKeyboardText, + IVROverlay_IVROverlay_013_HideKeyboard, + IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_013_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_014_FindOverlay, + IVROverlay_IVROverlay_014_CreateOverlay, + IVROverlay_IVROverlay_014_DestroyOverlay, + IVROverlay_IVROverlay_014_SetHighQualityOverlay, + IVROverlay_IVROverlay_014_GetHighQualityOverlay, + IVROverlay_IVROverlay_014_GetOverlayKey, + IVROverlay_IVROverlay_014_GetOverlayName, + IVROverlay_IVROverlay_014_GetOverlayImageData, + IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_014_SetOverlayRenderingPid, + IVROverlay_IVROverlay_014_GetOverlayRenderingPid, + IVROverlay_IVROverlay_014_SetOverlayFlag, + IVROverlay_IVROverlay_014_GetOverlayFlag, + IVROverlay_IVROverlay_014_SetOverlayColor, + IVROverlay_IVROverlay_014_GetOverlayColor, + IVROverlay_IVROverlay_014_SetOverlayAlpha, + IVROverlay_IVROverlay_014_GetOverlayAlpha, + IVROverlay_IVROverlay_014_SetOverlayTexelAspect, + IVROverlay_IVROverlay_014_GetOverlayTexelAspect, + IVROverlay_IVROverlay_014_SetOverlaySortOrder, + IVROverlay_IVROverlay_014_GetOverlaySortOrder, + IVROverlay_IVROverlay_014_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_014_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_014_SetOverlayTextureBounds, + IVROverlay_IVROverlay_014_GetOverlayTextureBounds, + IVROverlay_IVROverlay_014_GetOverlayTransformType, + IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_014_ShowOverlay, + IVROverlay_IVROverlay_014_HideOverlay, + IVROverlay_IVROverlay_014_IsOverlayVisible, + IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_014_PollNextOverlayEvent, + IVROverlay_IVROverlay_014_GetOverlayInputMethod, + IVROverlay_IVROverlay_014_SetOverlayInputMethod, + IVROverlay_IVROverlay_014_GetOverlayMouseScale, + IVROverlay_IVROverlay_014_SetOverlayMouseScale, + IVROverlay_IVROverlay_014_ComputeOverlayIntersection, + IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_014_IsHoverTargetOverlay, + IVROverlay_IVROverlay_014_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_014_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_014_SetOverlayNeighbor, + IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_014_SetOverlayTexture, + IVROverlay_IVROverlay_014_ClearOverlayTexture, + IVROverlay_IVROverlay_014_SetOverlayRaw, + IVROverlay_IVROverlay_014_SetOverlayFromFile, + IVROverlay_IVROverlay_014_GetOverlayTexture, + IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_014_GetOverlayTextureSize, + IVROverlay_IVROverlay_014_CreateDashboardOverlay, + IVROverlay_IVROverlay_014_IsDashboardVisible, + IVROverlay_IVROverlay_014_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_014_ShowDashboard, + IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_014_ShowKeyboard, + IVROverlay_IVROverlay_014_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_014_GetKeyboardText, + IVROverlay_IVROverlay_014_HideKeyboard, + IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_014_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_014_GetOverlayFlags, + IVROverlay_IVROverlay_014_ShowMessageOverlay, + IVROverlay_IVROverlay_016_FindOverlay, + IVROverlay_IVROverlay_016_CreateOverlay, + IVROverlay_IVROverlay_016_DestroyOverlay, + IVROverlay_IVROverlay_016_SetHighQualityOverlay, + IVROverlay_IVROverlay_016_GetHighQualityOverlay, + IVROverlay_IVROverlay_016_GetOverlayKey, + IVROverlay_IVROverlay_016_GetOverlayName, + IVROverlay_IVROverlay_016_SetOverlayName, + IVROverlay_IVROverlay_016_GetOverlayImageData, + IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_016_SetOverlayRenderingPid, + IVROverlay_IVROverlay_016_GetOverlayRenderingPid, + IVROverlay_IVROverlay_016_SetOverlayFlag, + IVROverlay_IVROverlay_016_GetOverlayFlag, + IVROverlay_IVROverlay_016_SetOverlayColor, + IVROverlay_IVROverlay_016_GetOverlayColor, + IVROverlay_IVROverlay_016_SetOverlayAlpha, + IVROverlay_IVROverlay_016_GetOverlayAlpha, + IVROverlay_IVROverlay_016_SetOverlayTexelAspect, + IVROverlay_IVROverlay_016_GetOverlayTexelAspect, + IVROverlay_IVROverlay_016_SetOverlaySortOrder, + IVROverlay_IVROverlay_016_GetOverlaySortOrder, + IVROverlay_IVROverlay_016_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_016_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_016_SetOverlayTextureBounds, + IVROverlay_IVROverlay_016_GetOverlayTextureBounds, + IVROverlay_IVROverlay_016_GetOverlayRenderModel, + IVROverlay_IVROverlay_016_SetOverlayRenderModel, + IVROverlay_IVROverlay_016_GetOverlayTransformType, + IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_016_ShowOverlay, + IVROverlay_IVROverlay_016_HideOverlay, + IVROverlay_IVROverlay_016_IsOverlayVisible, + IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_016_PollNextOverlayEvent, + IVROverlay_IVROverlay_016_GetOverlayInputMethod, + IVROverlay_IVROverlay_016_SetOverlayInputMethod, + IVROverlay_IVROverlay_016_GetOverlayMouseScale, + IVROverlay_IVROverlay_016_SetOverlayMouseScale, + IVROverlay_IVROverlay_016_ComputeOverlayIntersection, + IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_016_IsHoverTargetOverlay, + IVROverlay_IVROverlay_016_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_016_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_016_SetOverlayNeighbor, + IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_016_SetOverlayTexture, + IVROverlay_IVROverlay_016_ClearOverlayTexture, + IVROverlay_IVROverlay_016_SetOverlayRaw, + IVROverlay_IVROverlay_016_SetOverlayFromFile, + IVROverlay_IVROverlay_016_GetOverlayTexture, + IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_016_GetOverlayTextureSize, + IVROverlay_IVROverlay_016_CreateDashboardOverlay, + IVROverlay_IVROverlay_016_IsDashboardVisible, + IVROverlay_IVROverlay_016_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_016_ShowDashboard, + IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_016_ShowKeyboard, + IVROverlay_IVROverlay_016_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_016_GetKeyboardText, + IVROverlay_IVROverlay_016_HideKeyboard, + IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_016_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_016_GetOverlayFlags, + IVROverlay_IVROverlay_016_ShowMessageOverlay, + IVROverlay_IVROverlay_016_CloseMessageOverlay, + IVROverlay_IVROverlay_017_FindOverlay, + IVROverlay_IVROverlay_017_CreateOverlay, + IVROverlay_IVROverlay_017_DestroyOverlay, + IVROverlay_IVROverlay_017_SetHighQualityOverlay, + IVROverlay_IVROverlay_017_GetHighQualityOverlay, + IVROverlay_IVROverlay_017_GetOverlayKey, + IVROverlay_IVROverlay_017_GetOverlayName, + IVROverlay_IVROverlay_017_SetOverlayName, + IVROverlay_IVROverlay_017_GetOverlayImageData, + IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_017_SetOverlayRenderingPid, + IVROverlay_IVROverlay_017_GetOverlayRenderingPid, + IVROverlay_IVROverlay_017_SetOverlayFlag, + IVROverlay_IVROverlay_017_GetOverlayFlag, + IVROverlay_IVROverlay_017_SetOverlayColor, + IVROverlay_IVROverlay_017_GetOverlayColor, + IVROverlay_IVROverlay_017_SetOverlayAlpha, + IVROverlay_IVROverlay_017_GetOverlayAlpha, + IVROverlay_IVROverlay_017_SetOverlayTexelAspect, + IVROverlay_IVROverlay_017_GetOverlayTexelAspect, + IVROverlay_IVROverlay_017_SetOverlaySortOrder, + IVROverlay_IVROverlay_017_GetOverlaySortOrder, + IVROverlay_IVROverlay_017_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_017_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_017_SetOverlayTextureBounds, + IVROverlay_IVROverlay_017_GetOverlayTextureBounds, + IVROverlay_IVROverlay_017_GetOverlayRenderModel, + IVROverlay_IVROverlay_017_SetOverlayRenderModel, + IVROverlay_IVROverlay_017_GetOverlayTransformType, + IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_017_ShowOverlay, + IVROverlay_IVROverlay_017_HideOverlay, + IVROverlay_IVROverlay_017_IsOverlayVisible, + IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_017_PollNextOverlayEvent, + IVROverlay_IVROverlay_017_GetOverlayInputMethod, + IVROverlay_IVROverlay_017_SetOverlayInputMethod, + IVROverlay_IVROverlay_017_GetOverlayMouseScale, + IVROverlay_IVROverlay_017_SetOverlayMouseScale, + IVROverlay_IVROverlay_017_ComputeOverlayIntersection, + IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, + IVROverlay_IVROverlay_017_IsHoverTargetOverlay, + IVROverlay_IVROverlay_017_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_017_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_017_SetOverlayNeighbor, + IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_017_SetOverlayTexture, + IVROverlay_IVROverlay_017_ClearOverlayTexture, + IVROverlay_IVROverlay_017_SetOverlayRaw, + IVROverlay_IVROverlay_017_SetOverlayFromFile, + IVROverlay_IVROverlay_017_GetOverlayTexture, + IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_017_GetOverlayTextureSize, + IVROverlay_IVROverlay_017_CreateDashboardOverlay, + IVROverlay_IVROverlay_017_IsDashboardVisible, + IVROverlay_IVROverlay_017_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_017_ShowDashboard, + IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_017_ShowKeyboard, + IVROverlay_IVROverlay_017_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_017_GetKeyboardText, + IVROverlay_IVROverlay_017_HideKeyboard, + IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_017_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_017_GetOverlayFlags, + IVROverlay_IVROverlay_017_ShowMessageOverlay, + IVROverlay_IVROverlay_017_CloseMessageOverlay, + IVROverlay_IVROverlay_018_FindOverlay, + IVROverlay_IVROverlay_018_CreateOverlay, + IVROverlay_IVROverlay_018_DestroyOverlay, + IVROverlay_IVROverlay_018_SetHighQualityOverlay, + IVROverlay_IVROverlay_018_GetHighQualityOverlay, + IVROverlay_IVROverlay_018_GetOverlayKey, + IVROverlay_IVROverlay_018_GetOverlayName, + IVROverlay_IVROverlay_018_SetOverlayName, + IVROverlay_IVROverlay_018_GetOverlayImageData, + IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_018_SetOverlayRenderingPid, + IVROverlay_IVROverlay_018_GetOverlayRenderingPid, + IVROverlay_IVROverlay_018_SetOverlayFlag, + IVROverlay_IVROverlay_018_GetOverlayFlag, + IVROverlay_IVROverlay_018_SetOverlayColor, + IVROverlay_IVROverlay_018_GetOverlayColor, + IVROverlay_IVROverlay_018_SetOverlayAlpha, + IVROverlay_IVROverlay_018_GetOverlayAlpha, + IVROverlay_IVROverlay_018_SetOverlayTexelAspect, + IVROverlay_IVROverlay_018_GetOverlayTexelAspect, + IVROverlay_IVROverlay_018_SetOverlaySortOrder, + IVROverlay_IVROverlay_018_GetOverlaySortOrder, + IVROverlay_IVROverlay_018_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_018_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_018_SetOverlayTextureBounds, + IVROverlay_IVROverlay_018_GetOverlayTextureBounds, + IVROverlay_IVROverlay_018_GetOverlayRenderModel, + IVROverlay_IVROverlay_018_SetOverlayRenderModel, + IVROverlay_IVROverlay_018_GetOverlayTransformType, + IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_018_ShowOverlay, + IVROverlay_IVROverlay_018_HideOverlay, + IVROverlay_IVROverlay_018_IsOverlayVisible, + IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_018_PollNextOverlayEvent, + IVROverlay_IVROverlay_018_GetOverlayInputMethod, + IVROverlay_IVROverlay_018_SetOverlayInputMethod, + IVROverlay_IVROverlay_018_GetOverlayMouseScale, + IVROverlay_IVROverlay_018_SetOverlayMouseScale, + IVROverlay_IVROverlay_018_ComputeOverlayIntersection, + IVROverlay_IVROverlay_018_IsHoverTargetOverlay, + IVROverlay_IVROverlay_018_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_018_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_018_SetOverlayNeighbor, + IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_018_SetOverlayTexture, + IVROverlay_IVROverlay_018_ClearOverlayTexture, + IVROverlay_IVROverlay_018_SetOverlayRaw, + IVROverlay_IVROverlay_018_SetOverlayFromFile, + IVROverlay_IVROverlay_018_GetOverlayTexture, + IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_018_GetOverlayTextureSize, + IVROverlay_IVROverlay_018_CreateDashboardOverlay, + IVROverlay_IVROverlay_018_IsDashboardVisible, + IVROverlay_IVROverlay_018_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_018_ShowDashboard, + IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_018_ShowKeyboard, + IVROverlay_IVROverlay_018_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_018_GetKeyboardText, + IVROverlay_IVROverlay_018_HideKeyboard, + IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_018_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_018_GetOverlayFlags, + IVROverlay_IVROverlay_018_ShowMessageOverlay, + IVROverlay_IVROverlay_018_CloseMessageOverlay, + IVROverlay_IVROverlay_019_FindOverlay, + IVROverlay_IVROverlay_019_CreateOverlay, + IVROverlay_IVROverlay_019_DestroyOverlay, + IVROverlay_IVROverlay_019_SetHighQualityOverlay, + IVROverlay_IVROverlay_019_GetHighQualityOverlay, + IVROverlay_IVROverlay_019_GetOverlayKey, + IVROverlay_IVROverlay_019_GetOverlayName, + IVROverlay_IVROverlay_019_SetOverlayName, + IVROverlay_IVROverlay_019_GetOverlayImageData, + IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_019_SetOverlayRenderingPid, + IVROverlay_IVROverlay_019_GetOverlayRenderingPid, + IVROverlay_IVROverlay_019_SetOverlayFlag, + IVROverlay_IVROverlay_019_GetOverlayFlag, + IVROverlay_IVROverlay_019_SetOverlayColor, + IVROverlay_IVROverlay_019_GetOverlayColor, + IVROverlay_IVROverlay_019_SetOverlayAlpha, + IVROverlay_IVROverlay_019_GetOverlayAlpha, + IVROverlay_IVROverlay_019_SetOverlayTexelAspect, + IVROverlay_IVROverlay_019_GetOverlayTexelAspect, + IVROverlay_IVROverlay_019_SetOverlaySortOrder, + IVROverlay_IVROverlay_019_GetOverlaySortOrder, + IVROverlay_IVROverlay_019_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_019_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_019_SetOverlayTextureBounds, + IVROverlay_IVROverlay_019_GetOverlayTextureBounds, + IVROverlay_IVROverlay_019_GetOverlayRenderModel, + IVROverlay_IVROverlay_019_SetOverlayRenderModel, + IVROverlay_IVROverlay_019_GetOverlayTransformType, + IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_019_ShowOverlay, + IVROverlay_IVROverlay_019_HideOverlay, + IVROverlay_IVROverlay_019_IsOverlayVisible, + IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_019_PollNextOverlayEvent, + IVROverlay_IVROverlay_019_GetOverlayInputMethod, + IVROverlay_IVROverlay_019_SetOverlayInputMethod, + IVROverlay_IVROverlay_019_GetOverlayMouseScale, + IVROverlay_IVROverlay_019_SetOverlayMouseScale, + IVROverlay_IVROverlay_019_ComputeOverlayIntersection, + IVROverlay_IVROverlay_019_IsHoverTargetOverlay, + IVROverlay_IVROverlay_019_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_019_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_019_SetOverlayNeighbor, + IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_019_SetOverlayTexture, + IVROverlay_IVROverlay_019_ClearOverlayTexture, + IVROverlay_IVROverlay_019_SetOverlayRaw, + IVROverlay_IVROverlay_019_SetOverlayFromFile, + IVROverlay_IVROverlay_019_GetOverlayTexture, + IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_019_GetOverlayTextureSize, + IVROverlay_IVROverlay_019_CreateDashboardOverlay, + IVROverlay_IVROverlay_019_IsDashboardVisible, + IVROverlay_IVROverlay_019_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_019_ShowDashboard, + IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_019_ShowKeyboard, + IVROverlay_IVROverlay_019_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_019_GetKeyboardText, + IVROverlay_IVROverlay_019_HideKeyboard, + IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_019_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_019_GetOverlayFlags, + IVROverlay_IVROverlay_019_ShowMessageOverlay, + IVROverlay_IVROverlay_019_CloseMessageOverlay, + IVROverlay_IVROverlay_020_FindOverlay, + IVROverlay_IVROverlay_020_CreateOverlay, + IVROverlay_IVROverlay_020_DestroyOverlay, + IVROverlay_IVROverlay_020_GetOverlayKey, + IVROverlay_IVROverlay_020_GetOverlayName, + IVROverlay_IVROverlay_020_SetOverlayName, + IVROverlay_IVROverlay_020_GetOverlayImageData, + IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_020_SetOverlayRenderingPid, + IVROverlay_IVROverlay_020_GetOverlayRenderingPid, + IVROverlay_IVROverlay_020_SetOverlayFlag, + IVROverlay_IVROverlay_020_GetOverlayFlag, + IVROverlay_IVROverlay_020_SetOverlayColor, + IVROverlay_IVROverlay_020_GetOverlayColor, + IVROverlay_IVROverlay_020_SetOverlayAlpha, + IVROverlay_IVROverlay_020_GetOverlayAlpha, + IVROverlay_IVROverlay_020_SetOverlayTexelAspect, + IVROverlay_IVROverlay_020_GetOverlayTexelAspect, + IVROverlay_IVROverlay_020_SetOverlaySortOrder, + IVROverlay_IVROverlay_020_GetOverlaySortOrder, + IVROverlay_IVROverlay_020_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_020_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, + IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_020_SetOverlayTextureBounds, + IVROverlay_IVROverlay_020_GetOverlayTextureBounds, + IVROverlay_IVROverlay_020_GetOverlayRenderModel, + IVROverlay_IVROverlay_020_SetOverlayRenderModel, + IVROverlay_IVROverlay_020_GetOverlayTransformType, + IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_020_ShowOverlay, + IVROverlay_IVROverlay_020_HideOverlay, + IVROverlay_IVROverlay_020_IsOverlayVisible, + IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_020_PollNextOverlayEvent, + IVROverlay_IVROverlay_020_GetOverlayInputMethod, + IVROverlay_IVROverlay_020_SetOverlayInputMethod, + IVROverlay_IVROverlay_020_GetOverlayMouseScale, + IVROverlay_IVROverlay_020_SetOverlayMouseScale, + IVROverlay_IVROverlay_020_ComputeOverlayIntersection, + IVROverlay_IVROverlay_020_IsHoverTargetOverlay, + IVROverlay_IVROverlay_020_GetGamepadFocusOverlay, + IVROverlay_IVROverlay_020_SetGamepadFocusOverlay, + IVROverlay_IVROverlay_020_SetOverlayNeighbor, + IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, + IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_020_SetOverlayTexture, + IVROverlay_IVROverlay_020_ClearOverlayTexture, + IVROverlay_IVROverlay_020_SetOverlayRaw, + IVROverlay_IVROverlay_020_SetOverlayFromFile, + IVROverlay_IVROverlay_020_GetOverlayTexture, + IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_020_GetOverlayTextureSize, + IVROverlay_IVROverlay_020_CreateDashboardOverlay, + IVROverlay_IVROverlay_020_IsDashboardVisible, + IVROverlay_IVROverlay_020_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_020_ShowDashboard, + IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_020_ShowKeyboard, + IVROverlay_IVROverlay_020_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_020_GetKeyboardText, + IVROverlay_IVROverlay_020_HideKeyboard, + IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_020_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_020_GetOverlayFlags, + IVROverlay_IVROverlay_020_ShowMessageOverlay, + IVROverlay_IVROverlay_020_CloseMessageOverlay, + IVROverlay_IVROverlay_021_FindOverlay, + IVROverlay_IVROverlay_021_CreateOverlay, + IVROverlay_IVROverlay_021_DestroyOverlay, + IVROverlay_IVROverlay_021_GetOverlayKey, + IVROverlay_IVROverlay_021_GetOverlayName, + IVROverlay_IVROverlay_021_SetOverlayName, + IVROverlay_IVROverlay_021_GetOverlayImageData, + IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_021_SetOverlayRenderingPid, + IVROverlay_IVROverlay_021_GetOverlayRenderingPid, + IVROverlay_IVROverlay_021_SetOverlayFlag, + IVROverlay_IVROverlay_021_GetOverlayFlag, + IVROverlay_IVROverlay_021_SetOverlayColor, + IVROverlay_IVROverlay_021_GetOverlayColor, + IVROverlay_IVROverlay_021_SetOverlayAlpha, + IVROverlay_IVROverlay_021_GetOverlayAlpha, + IVROverlay_IVROverlay_021_SetOverlayTexelAspect, + IVROverlay_IVROverlay_021_GetOverlayTexelAspect, + IVROverlay_IVROverlay_021_SetOverlaySortOrder, + IVROverlay_IVROverlay_021_GetOverlaySortOrder, + IVROverlay_IVROverlay_021_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_021_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_021_SetOverlayCurvature, + IVROverlay_IVROverlay_021_GetOverlayCurvature, + IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_021_SetOverlayTextureBounds, + IVROverlay_IVROverlay_021_GetOverlayTextureBounds, + IVROverlay_IVROverlay_021_GetOverlayRenderModel, + IVROverlay_IVROverlay_021_SetOverlayRenderModel, + IVROverlay_IVROverlay_021_GetOverlayTransformType, + IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_021_ShowOverlay, + IVROverlay_IVROverlay_021_HideOverlay, + IVROverlay_IVROverlay_021_IsOverlayVisible, + IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_021_PollNextOverlayEvent, + IVROverlay_IVROverlay_021_GetOverlayInputMethod, + IVROverlay_IVROverlay_021_SetOverlayInputMethod, + IVROverlay_IVROverlay_021_GetOverlayMouseScale, + IVROverlay_IVROverlay_021_SetOverlayMouseScale, + IVROverlay_IVROverlay_021_ComputeOverlayIntersection, + IVROverlay_IVROverlay_021_IsHoverTargetOverlay, + IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_021_SetOverlayTexture, + IVROverlay_IVROverlay_021_ClearOverlayTexture, + IVROverlay_IVROverlay_021_SetOverlayRaw, + IVROverlay_IVROverlay_021_SetOverlayFromFile, + IVROverlay_IVROverlay_021_GetOverlayTexture, + IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_021_GetOverlayTextureSize, + IVROverlay_IVROverlay_021_CreateDashboardOverlay, + IVROverlay_IVROverlay_021_IsDashboardVisible, + IVROverlay_IVROverlay_021_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_021_ShowDashboard, + IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_021_ShowKeyboard, + IVROverlay_IVROverlay_021_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_021_GetKeyboardText, + IVROverlay_IVROverlay_021_HideKeyboard, + IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_021_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_021_GetOverlayFlags, + IVROverlay_IVROverlay_021_ShowMessageOverlay, + IVROverlay_IVROverlay_021_CloseMessageOverlay, + IVROverlay_IVROverlay_022_FindOverlay, + IVROverlay_IVROverlay_022_CreateOverlay, + IVROverlay_IVROverlay_022_DestroyOverlay, + IVROverlay_IVROverlay_022_GetOverlayKey, + IVROverlay_IVROverlay_022_GetOverlayName, + IVROverlay_IVROverlay_022_SetOverlayName, + IVROverlay_IVROverlay_022_GetOverlayImageData, + IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_022_SetOverlayRenderingPid, + IVROverlay_IVROverlay_022_GetOverlayRenderingPid, + IVROverlay_IVROverlay_022_SetOverlayFlag, + IVROverlay_IVROverlay_022_GetOverlayFlag, + IVROverlay_IVROverlay_022_GetOverlayFlags, + IVROverlay_IVROverlay_022_SetOverlayColor, + IVROverlay_IVROverlay_022_GetOverlayColor, + IVROverlay_IVROverlay_022_SetOverlayAlpha, + IVROverlay_IVROverlay_022_GetOverlayAlpha, + IVROverlay_IVROverlay_022_SetOverlayTexelAspect, + IVROverlay_IVROverlay_022_GetOverlayTexelAspect, + IVROverlay_IVROverlay_022_SetOverlaySortOrder, + IVROverlay_IVROverlay_022_GetOverlaySortOrder, + IVROverlay_IVROverlay_022_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_022_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_022_SetOverlayCurvature, + IVROverlay_IVROverlay_022_GetOverlayCurvature, + IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_022_SetOverlayTextureBounds, + IVROverlay_IVROverlay_022_GetOverlayTextureBounds, + IVROverlay_IVROverlay_022_GetOverlayRenderModel, + IVROverlay_IVROverlay_022_SetOverlayRenderModel, + IVROverlay_IVROverlay_022_GetOverlayTransformType, + IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_022_SetOverlayTransformCursor, + IVROverlay_IVROverlay_022_GetOverlayTransformCursor, + IVROverlay_IVROverlay_022_ShowOverlay, + IVROverlay_IVROverlay_022_HideOverlay, + IVROverlay_IVROverlay_022_IsOverlayVisible, + IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_022_PollNextOverlayEvent, + IVROverlay_IVROverlay_022_GetOverlayInputMethod, + IVROverlay_IVROverlay_022_SetOverlayInputMethod, + IVROverlay_IVROverlay_022_GetOverlayMouseScale, + IVROverlay_IVROverlay_022_SetOverlayMouseScale, + IVROverlay_IVROverlay_022_ComputeOverlayIntersection, + IVROverlay_IVROverlay_022_IsHoverTargetOverlay, + IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, + IVROverlay_IVROverlay_022_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, + IVROverlay_IVROverlay_022_SetOverlayCursor, + IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, + IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, + IVROverlay_IVROverlay_022_SetOverlayTexture, + IVROverlay_IVROverlay_022_ClearOverlayTexture, + IVROverlay_IVROverlay_022_SetOverlayRaw, + IVROverlay_IVROverlay_022_SetOverlayFromFile, + IVROverlay_IVROverlay_022_GetOverlayTexture, + IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_022_GetOverlayTextureSize, + IVROverlay_IVROverlay_022_CreateDashboardOverlay, + IVROverlay_IVROverlay_022_IsDashboardVisible, + IVROverlay_IVROverlay_022_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_022_ShowDashboard, + IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_022_ShowKeyboard, + IVROverlay_IVROverlay_022_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_022_GetKeyboardText, + IVROverlay_IVROverlay_022_HideKeyboard, + IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_022_ShowMessageOverlay, + IVROverlay_IVROverlay_022_CloseMessageOverlay, + IVROverlay_IVROverlay_024_FindOverlay, + IVROverlay_IVROverlay_024_CreateOverlay, + IVROverlay_IVROverlay_024_DestroyOverlay, + IVROverlay_IVROverlay_024_GetOverlayKey, + IVROverlay_IVROverlay_024_GetOverlayName, + IVROverlay_IVROverlay_024_SetOverlayName, + IVROverlay_IVROverlay_024_GetOverlayImageData, + IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_024_SetOverlayRenderingPid, + IVROverlay_IVROverlay_024_GetOverlayRenderingPid, + IVROverlay_IVROverlay_024_SetOverlayFlag, + IVROverlay_IVROverlay_024_GetOverlayFlag, + IVROverlay_IVROverlay_024_GetOverlayFlags, + IVROverlay_IVROverlay_024_SetOverlayColor, + IVROverlay_IVROverlay_024_GetOverlayColor, + IVROverlay_IVROverlay_024_SetOverlayAlpha, + IVROverlay_IVROverlay_024_GetOverlayAlpha, + IVROverlay_IVROverlay_024_SetOverlayTexelAspect, + IVROverlay_IVROverlay_024_GetOverlayTexelAspect, + IVROverlay_IVROverlay_024_SetOverlaySortOrder, + IVROverlay_IVROverlay_024_GetOverlaySortOrder, + IVROverlay_IVROverlay_024_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_024_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_024_SetOverlayCurvature, + IVROverlay_IVROverlay_024_GetOverlayCurvature, + IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_024_SetOverlayTextureBounds, + IVROverlay_IVROverlay_024_GetOverlayTextureBounds, + IVROverlay_IVROverlay_024_GetOverlayTransformType, + IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_024_SetOverlayTransformCursor, + IVROverlay_IVROverlay_024_GetOverlayTransformCursor, + IVROverlay_IVROverlay_024_ShowOverlay, + IVROverlay_IVROverlay_024_HideOverlay, + IVROverlay_IVROverlay_024_IsOverlayVisible, + IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_024_PollNextOverlayEvent, + IVROverlay_IVROverlay_024_GetOverlayInputMethod, + IVROverlay_IVROverlay_024_SetOverlayInputMethod, + IVROverlay_IVROverlay_024_GetOverlayMouseScale, + IVROverlay_IVROverlay_024_SetOverlayMouseScale, + IVROverlay_IVROverlay_024_ComputeOverlayIntersection, + IVROverlay_IVROverlay_024_IsHoverTargetOverlay, + IVROverlay_IVROverlay_024_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, + IVROverlay_IVROverlay_024_SetOverlayCursor, + IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, + IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, + IVROverlay_IVROverlay_024_SetOverlayTexture, + IVROverlay_IVROverlay_024_ClearOverlayTexture, + IVROverlay_IVROverlay_024_SetOverlayRaw, + IVROverlay_IVROverlay_024_SetOverlayFromFile, + IVROverlay_IVROverlay_024_GetOverlayTexture, + IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_024_GetOverlayTextureSize, + IVROverlay_IVROverlay_024_CreateDashboardOverlay, + IVROverlay_IVROverlay_024_IsDashboardVisible, + IVROverlay_IVROverlay_024_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_024_ShowDashboard, + IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_024_ShowKeyboard, + IVROverlay_IVROverlay_024_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_024_GetKeyboardText, + IVROverlay_IVROverlay_024_HideKeyboard, + IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_024_ShowMessageOverlay, + IVROverlay_IVROverlay_024_CloseMessageOverlay, + IVROverlay_IVROverlay_025_FindOverlay, + IVROverlay_IVROverlay_025_CreateOverlay, + IVROverlay_IVROverlay_025_DestroyOverlay, + IVROverlay_IVROverlay_025_GetOverlayKey, + IVROverlay_IVROverlay_025_GetOverlayName, + IVROverlay_IVROverlay_025_SetOverlayName, + IVROverlay_IVROverlay_025_GetOverlayImageData, + IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_025_SetOverlayRenderingPid, + IVROverlay_IVROverlay_025_GetOverlayRenderingPid, + IVROverlay_IVROverlay_025_SetOverlayFlag, + IVROverlay_IVROverlay_025_GetOverlayFlag, + IVROverlay_IVROverlay_025_GetOverlayFlags, + IVROverlay_IVROverlay_025_SetOverlayColor, + IVROverlay_IVROverlay_025_GetOverlayColor, + IVROverlay_IVROverlay_025_SetOverlayAlpha, + IVROverlay_IVROverlay_025_GetOverlayAlpha, + IVROverlay_IVROverlay_025_SetOverlayTexelAspect, + IVROverlay_IVROverlay_025_GetOverlayTexelAspect, + IVROverlay_IVROverlay_025_SetOverlaySortOrder, + IVROverlay_IVROverlay_025_GetOverlaySortOrder, + IVROverlay_IVROverlay_025_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_025_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_025_SetOverlayCurvature, + IVROverlay_IVROverlay_025_GetOverlayCurvature, + IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_025_SetOverlayTextureBounds, + IVROverlay_IVROverlay_025_GetOverlayTextureBounds, + IVROverlay_IVROverlay_025_GetOverlayTransformType, + IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_025_SetOverlayTransformCursor, + IVROverlay_IVROverlay_025_GetOverlayTransformCursor, + IVROverlay_IVROverlay_025_SetOverlayTransformProjection, + IVROverlay_IVROverlay_025_ShowOverlay, + IVROverlay_IVROverlay_025_HideOverlay, + IVROverlay_IVROverlay_025_IsOverlayVisible, + IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_025_PollNextOverlayEvent, + IVROverlay_IVROverlay_025_GetOverlayInputMethod, + IVROverlay_IVROverlay_025_SetOverlayInputMethod, + IVROverlay_IVROverlay_025_GetOverlayMouseScale, + IVROverlay_IVROverlay_025_SetOverlayMouseScale, + IVROverlay_IVROverlay_025_ComputeOverlayIntersection, + IVROverlay_IVROverlay_025_IsHoverTargetOverlay, + IVROverlay_IVROverlay_025_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, + IVROverlay_IVROverlay_025_SetOverlayCursor, + IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, + IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, + IVROverlay_IVROverlay_025_SetOverlayTexture, + IVROverlay_IVROverlay_025_ClearOverlayTexture, + IVROverlay_IVROverlay_025_SetOverlayRaw, + IVROverlay_IVROverlay_025_SetOverlayFromFile, + IVROverlay_IVROverlay_025_GetOverlayTexture, + IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_025_GetOverlayTextureSize, + IVROverlay_IVROverlay_025_CreateDashboardOverlay, + IVROverlay_IVROverlay_025_IsDashboardVisible, + IVROverlay_IVROverlay_025_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_025_ShowDashboard, + IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_025_ShowKeyboard, + IVROverlay_IVROverlay_025_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_025_GetKeyboardText, + IVROverlay_IVROverlay_025_HideKeyboard, + IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_025_ShowMessageOverlay, + IVROverlay_IVROverlay_025_CloseMessageOverlay, + IVROverlay_IVROverlay_026_FindOverlay, + IVROverlay_IVROverlay_026_CreateOverlay, + IVROverlay_IVROverlay_026_DestroyOverlay, + IVROverlay_IVROverlay_026_GetOverlayKey, + IVROverlay_IVROverlay_026_GetOverlayName, + IVROverlay_IVROverlay_026_SetOverlayName, + IVROverlay_IVROverlay_026_GetOverlayImageData, + IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_026_SetOverlayRenderingPid, + IVROverlay_IVROverlay_026_GetOverlayRenderingPid, + IVROverlay_IVROverlay_026_SetOverlayFlag, + IVROverlay_IVROverlay_026_GetOverlayFlag, + IVROverlay_IVROverlay_026_GetOverlayFlags, + IVROverlay_IVROverlay_026_SetOverlayColor, + IVROverlay_IVROverlay_026_GetOverlayColor, + IVROverlay_IVROverlay_026_SetOverlayAlpha, + IVROverlay_IVROverlay_026_GetOverlayAlpha, + IVROverlay_IVROverlay_026_SetOverlayTexelAspect, + IVROverlay_IVROverlay_026_GetOverlayTexelAspect, + IVROverlay_IVROverlay_026_SetOverlaySortOrder, + IVROverlay_IVROverlay_026_GetOverlaySortOrder, + IVROverlay_IVROverlay_026_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_026_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_026_SetOverlayCurvature, + IVROverlay_IVROverlay_026_GetOverlayCurvature, + IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, + IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, + IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_026_SetOverlayTextureBounds, + IVROverlay_IVROverlay_026_GetOverlayTextureBounds, + IVROverlay_IVROverlay_026_GetOverlayTransformType, + IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, + IVROverlay_IVROverlay_026_SetOverlayTransformCursor, + IVROverlay_IVROverlay_026_GetOverlayTransformCursor, + IVROverlay_IVROverlay_026_SetOverlayTransformProjection, + IVROverlay_IVROverlay_026_ShowOverlay, + IVROverlay_IVROverlay_026_HideOverlay, + IVROverlay_IVROverlay_026_IsOverlayVisible, + IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_026_WaitFrameSync, + IVROverlay_IVROverlay_026_PollNextOverlayEvent, + IVROverlay_IVROverlay_026_GetOverlayInputMethod, + IVROverlay_IVROverlay_026_SetOverlayInputMethod, + IVROverlay_IVROverlay_026_GetOverlayMouseScale, + IVROverlay_IVROverlay_026_SetOverlayMouseScale, + IVROverlay_IVROverlay_026_ComputeOverlayIntersection, + IVROverlay_IVROverlay_026_IsHoverTargetOverlay, + IVROverlay_IVROverlay_026_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, + IVROverlay_IVROverlay_026_SetOverlayCursor, + IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, + IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, + IVROverlay_IVROverlay_026_SetOverlayTexture, + IVROverlay_IVROverlay_026_ClearOverlayTexture, + IVROverlay_IVROverlay_026_SetOverlayRaw, + IVROverlay_IVROverlay_026_SetOverlayFromFile, + IVROverlay_IVROverlay_026_GetOverlayTexture, + IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_026_GetOverlayTextureSize, + IVROverlay_IVROverlay_026_CreateDashboardOverlay, + IVROverlay_IVROverlay_026_IsDashboardVisible, + IVROverlay_IVROverlay_026_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_026_ShowDashboard, + IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_026_ShowKeyboard, + IVROverlay_IVROverlay_026_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_026_GetKeyboardText, + IVROverlay_IVROverlay_026_HideKeyboard, + IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_026_ShowMessageOverlay, + IVROverlay_IVROverlay_026_CloseMessageOverlay, + IVROverlay_IVROverlay_027_FindOverlay, + IVROverlay_IVROverlay_027_CreateOverlay, + IVROverlay_IVROverlay_027_DestroyOverlay, + IVROverlay_IVROverlay_027_GetOverlayKey, + IVROverlay_IVROverlay_027_GetOverlayName, + IVROverlay_IVROverlay_027_SetOverlayName, + IVROverlay_IVROverlay_027_GetOverlayImageData, + IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, + IVROverlay_IVROverlay_027_SetOverlayRenderingPid, + IVROverlay_IVROverlay_027_GetOverlayRenderingPid, + IVROverlay_IVROverlay_027_SetOverlayFlag, + IVROverlay_IVROverlay_027_GetOverlayFlag, + IVROverlay_IVROverlay_027_GetOverlayFlags, + IVROverlay_IVROverlay_027_SetOverlayColor, + IVROverlay_IVROverlay_027_GetOverlayColor, + IVROverlay_IVROverlay_027_SetOverlayAlpha, + IVROverlay_IVROverlay_027_GetOverlayAlpha, + IVROverlay_IVROverlay_027_SetOverlayTexelAspect, + IVROverlay_IVROverlay_027_GetOverlayTexelAspect, + IVROverlay_IVROverlay_027_SetOverlaySortOrder, + IVROverlay_IVROverlay_027_GetOverlaySortOrder, + IVROverlay_IVROverlay_027_SetOverlayWidthInMeters, + IVROverlay_IVROverlay_027_GetOverlayWidthInMeters, + IVROverlay_IVROverlay_027_SetOverlayCurvature, + IVROverlay_IVROverlay_027_GetOverlayCurvature, + IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, + IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, + IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, + IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, + IVROverlay_IVROverlay_027_SetOverlayTextureBounds, + IVROverlay_IVROverlay_027_GetOverlayTextureBounds, + IVROverlay_IVROverlay_027_GetOverlayTransformType, + IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, + IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, + IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, + IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, + IVROverlay_IVROverlay_027_SetOverlayTransformCursor, + IVROverlay_IVROverlay_027_GetOverlayTransformCursor, + IVROverlay_IVROverlay_027_SetOverlayTransformProjection, + IVROverlay_IVROverlay_027_ShowOverlay, + IVROverlay_IVROverlay_027_HideOverlay, + IVROverlay_IVROverlay_027_IsOverlayVisible, + IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, + IVROverlay_IVROverlay_027_WaitFrameSync, + IVROverlay_IVROverlay_027_PollNextOverlayEvent, + IVROverlay_IVROverlay_027_GetOverlayInputMethod, + IVROverlay_IVROverlay_027_SetOverlayInputMethod, + IVROverlay_IVROverlay_027_GetOverlayMouseScale, + IVROverlay_IVROverlay_027_SetOverlayMouseScale, + IVROverlay_IVROverlay_027_ComputeOverlayIntersection, + IVROverlay_IVROverlay_027_IsHoverTargetOverlay, + IVROverlay_IVROverlay_027_SetOverlayIntersectionMask, + IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, + IVROverlay_IVROverlay_027_SetOverlayCursor, + IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, + IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, + IVROverlay_IVROverlay_027_SetOverlayTexture, + IVROverlay_IVROverlay_027_ClearOverlayTexture, + IVROverlay_IVROverlay_027_SetOverlayRaw, + IVROverlay_IVROverlay_027_SetOverlayFromFile, + IVROverlay_IVROverlay_027_GetOverlayTexture, + IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, + IVROverlay_IVROverlay_027_GetOverlayTextureSize, + IVROverlay_IVROverlay_027_CreateDashboardOverlay, + IVROverlay_IVROverlay_027_IsDashboardVisible, + IVROverlay_IVROverlay_027_IsActiveDashboardOverlay, + IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, + IVROverlay_IVROverlay_027_ShowDashboard, + IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, + IVROverlay_IVROverlay_027_ShowKeyboard, + IVROverlay_IVROverlay_027_ShowKeyboardForOverlay, + IVROverlay_IVROverlay_027_GetKeyboardText, + IVROverlay_IVROverlay_027_HideKeyboard, + IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, + IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, + IVROverlay_IVROverlay_027_ShowMessageOverlay, + IVROverlay_IVROverlay_027_CloseMessageOverlay, + IVRRenderModels_IVRRenderModels_001_LoadRenderModel, + IVRRenderModels_IVRRenderModels_001_FreeRenderModel, + IVRRenderModels_IVRRenderModels_001_GetRenderModelName, + IVRRenderModels_IVRRenderModels_001_GetRenderModelCount, + IVRRenderModels_IVRRenderModels_002_LoadRenderModel, + IVRRenderModels_IVRRenderModels_002_FreeRenderModel, + IVRRenderModels_IVRRenderModels_002_LoadTexture, + IVRRenderModels_IVRRenderModels_002_FreeTexture, + IVRRenderModels_IVRRenderModels_002_GetRenderModelName, + IVRRenderModels_IVRRenderModels_002_GetRenderModelCount, + IVRRenderModels_IVRRenderModels_002_GetComponentCount, + IVRRenderModels_IVRRenderModels_002_GetComponentName, + IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, + IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, + IVRRenderModels_IVRRenderModels_002_GetComponentState, + IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, + IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, + IVRRenderModels_IVRRenderModels_004_FreeRenderModel, + IVRRenderModels_IVRRenderModels_004_LoadTexture_Async, + IVRRenderModels_IVRRenderModels_004_FreeTexture, + IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, + IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, + IVRRenderModels_IVRRenderModels_004_GetRenderModelName, + IVRRenderModels_IVRRenderModels_004_GetRenderModelCount, + IVRRenderModels_IVRRenderModels_004_GetComponentCount, + IVRRenderModels_IVRRenderModels_004_GetComponentName, + IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, + IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, + IVRRenderModels_IVRRenderModels_004_GetComponentState, + IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, + IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, + IVRRenderModels_IVRRenderModels_005_FreeRenderModel, + IVRRenderModels_IVRRenderModels_005_LoadTexture_Async, + IVRRenderModels_IVRRenderModels_005_FreeTexture, + IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, + IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, + IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, + IVRRenderModels_IVRRenderModels_005_GetRenderModelName, + IVRRenderModels_IVRRenderModels_005_GetRenderModelCount, + IVRRenderModels_IVRRenderModels_005_GetComponentCount, + IVRRenderModels_IVRRenderModels_005_GetComponentName, + IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, + IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, + IVRRenderModels_IVRRenderModels_005_GetComponentState, + IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, + IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, + IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, + IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, + IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, + IVRRenderModels_IVRRenderModels_006_FreeRenderModel, + IVRRenderModels_IVRRenderModels_006_LoadTexture_Async, + IVRRenderModels_IVRRenderModels_006_FreeTexture, + IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, + IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, + IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, + IVRRenderModels_IVRRenderModels_006_GetRenderModelName, + IVRRenderModels_IVRRenderModels_006_GetRenderModelCount, + IVRRenderModels_IVRRenderModels_006_GetComponentCount, + IVRRenderModels_IVRRenderModels_006_GetComponentName, + IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, + IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, + IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, + IVRRenderModels_IVRRenderModels_006_GetComponentState, + IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, + IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, + IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, + IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, + IVRResources_IVRResources_001_LoadSharedResource, + IVRResources_IVRResources_001_GetResourceFullPath, + IVRScreenshots_IVRScreenshots_001_RequestScreenshot, + IVRScreenshots_IVRScreenshots_001_HookScreenshot, + IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, + IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, + IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, + IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, + IVRScreenshots_IVRScreenshots_001_SubmitScreenshot, + IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, + IVRSettings_IVRSettings_001_Sync, + IVRSettings_IVRSettings_001_GetBool, + IVRSettings_IVRSettings_001_SetBool, + IVRSettings_IVRSettings_001_GetInt32, + IVRSettings_IVRSettings_001_SetInt32, + IVRSettings_IVRSettings_001_GetFloat, + IVRSettings_IVRSettings_001_SetFloat, + IVRSettings_IVRSettings_001_GetString, + IVRSettings_IVRSettings_001_SetString, + IVRSettings_IVRSettings_001_RemoveSection, + IVRSettings_IVRSettings_001_RemoveKeyInSection, + IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, + IVRSettings_IVRSettings_002_Sync, + IVRSettings_IVRSettings_002_SetBool, + IVRSettings_IVRSettings_002_SetInt32, + IVRSettings_IVRSettings_002_SetFloat, + IVRSettings_IVRSettings_002_SetString, + IVRSettings_IVRSettings_002_GetBool, + IVRSettings_IVRSettings_002_GetInt32, + IVRSettings_IVRSettings_002_GetFloat, + IVRSettings_IVRSettings_002_GetString, + IVRSettings_IVRSettings_002_RemoveSection, + IVRSettings_IVRSettings_002_RemoveKeyInSection, + IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, + IVRSettings_IVRSettings_003_SetBool, + IVRSettings_IVRSettings_003_SetInt32, + IVRSettings_IVRSettings_003_SetFloat, + IVRSettings_IVRSettings_003_SetString, + IVRSettings_IVRSettings_003_GetBool, + IVRSettings_IVRSettings_003_GetInt32, + IVRSettings_IVRSettings_003_GetFloat, + IVRSettings_IVRSettings_003_GetString, + IVRSettings_IVRSettings_003_RemoveSection, + IVRSettings_IVRSettings_003_RemoveKeyInSection, + IVRSystem_IVRSystem_003_GetWindowBounds, + IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_003_GetEyeOutputViewport, + IVRSystem_IVRSystem_003_GetProjectionMatrix, + IVRSystem_IVRSystem_003_GetProjectionRaw, + IVRSystem_IVRSystem_003_ComputeDistortion, + IVRSystem_IVRSystem_003_GetEyeToHeadTransform, + IVRSystem_IVRSystem_003_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_003_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_003_GetDXGIOutputInfo, + IVRSystem_IVRSystem_003_AttachToWindow, + IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_003_ResetSeatedZeroPose, + IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_003_LoadRenderModel, + IVRSystem_IVRSystem_003_FreeRenderModel, + IVRSystem_IVRSystem_003_GetTrackedDeviceClass, + IVRSystem_IVRSystem_003_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_003_PollNextEvent, + IVRSystem_IVRSystem_003_PollNextEventWithPose, + IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_003_GetHiddenAreaMesh, + IVRSystem_IVRSystem_003_GetControllerState, + IVRSystem_IVRSystem_003_GetControllerStateWithPose, + IVRSystem_IVRSystem_003_TriggerHapticPulse, + IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, + IVRSystem_IVRSystem_003_CaptureInputFocus, + IVRSystem_IVRSystem_003_ReleaseInputFocus, + IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_004_GetWindowBounds, + IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_004_GetEyeOutputViewport, + IVRSystem_IVRSystem_004_GetProjectionMatrix, + IVRSystem_IVRSystem_004_GetProjectionRaw, + IVRSystem_IVRSystem_004_ComputeDistortion, + IVRSystem_IVRSystem_004_GetEyeToHeadTransform, + IVRSystem_IVRSystem_004_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_004_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_004_GetDXGIOutputInfo, + IVRSystem_IVRSystem_004_AttachToWindow, + IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_004_ResetSeatedZeroPose, + IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_004_GetTrackedDeviceClass, + IVRSystem_IVRSystem_004_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_004_PollNextEvent, + IVRSystem_IVRSystem_004_PollNextEventWithPose, + IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_004_GetHiddenAreaMesh, + IVRSystem_IVRSystem_004_GetControllerState, + IVRSystem_IVRSystem_004_GetControllerStateWithPose, + IVRSystem_IVRSystem_004_TriggerHapticPulse, + IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_004_CaptureInputFocus, + IVRSystem_IVRSystem_004_ReleaseInputFocus, + IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_004_DriverDebugRequest, + IVRSystem_IVRSystem_005_GetWindowBounds, + IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_005_GetEyeOutputViewport, + IVRSystem_IVRSystem_005_GetProjectionMatrix, + IVRSystem_IVRSystem_005_GetProjectionRaw, + IVRSystem_IVRSystem_005_ComputeDistortion, + IVRSystem_IVRSystem_005_GetEyeToHeadTransform, + IVRSystem_IVRSystem_005_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_005_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_005_GetDXGIOutputInfo, + IVRSystem_IVRSystem_005_AttachToWindow, + IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_005_ResetSeatedZeroPose, + IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_005_GetTrackedDeviceClass, + IVRSystem_IVRSystem_005_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_005_PollNextEvent, + IVRSystem_IVRSystem_005_PollNextEventWithPose, + IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_005_GetHiddenAreaMesh, + IVRSystem_IVRSystem_005_GetControllerState, + IVRSystem_IVRSystem_005_GetControllerStateWithPose, + IVRSystem_IVRSystem_005_TriggerHapticPulse, + IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_005_CaptureInputFocus, + IVRSystem_IVRSystem_005_ReleaseInputFocus, + IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_005_DriverDebugRequest, + IVRSystem_IVRSystem_006_GetWindowBounds, + IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_006_GetEyeOutputViewport, + IVRSystem_IVRSystem_006_GetProjectionMatrix, + IVRSystem_IVRSystem_006_GetProjectionRaw, + IVRSystem_IVRSystem_006_ComputeDistortion, + IVRSystem_IVRSystem_006_GetEyeToHeadTransform, + IVRSystem_IVRSystem_006_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_006_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_006_GetDXGIOutputInfo, + IVRSystem_IVRSystem_006_AttachToWindow, + IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_006_ResetSeatedZeroPose, + IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_006_GetTrackedDeviceClass, + IVRSystem_IVRSystem_006_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_006_PollNextEvent, + IVRSystem_IVRSystem_006_PollNextEventWithPose, + IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_006_GetHiddenAreaMesh, + IVRSystem_IVRSystem_006_GetControllerState, + IVRSystem_IVRSystem_006_GetControllerStateWithPose, + IVRSystem_IVRSystem_006_TriggerHapticPulse, + IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_006_CaptureInputFocus, + IVRSystem_IVRSystem_006_ReleaseInputFocus, + IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_006_DriverDebugRequest, + IVRSystem_IVRSystem_006_PerformFirmwareUpdate, + IVRSystem_IVRSystem_006_IsDisplayOnDesktop, + IVRSystem_IVRSystem_006_SetDisplayVisibility, + IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_009_GetProjectionMatrix, + IVRSystem_IVRSystem_009_GetProjectionRaw, + IVRSystem_IVRSystem_009_ComputeDistortion, + IVRSystem_IVRSystem_009_GetEyeToHeadTransform, + IVRSystem_IVRSystem_009_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_009_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_009_GetDXGIOutputInfo, + IVRSystem_IVRSystem_009_IsDisplayOnDesktop, + IVRSystem_IVRSystem_009_SetDisplayVisibility, + IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_009_ResetSeatedZeroPose, + IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_009_ApplyTransform, + IVRSystem_IVRSystem_009_GetTrackedDeviceClass, + IVRSystem_IVRSystem_009_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_009_PollNextEvent, + IVRSystem_IVRSystem_009_PollNextEventWithPose, + IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_009_GetHiddenAreaMesh, + IVRSystem_IVRSystem_009_GetControllerState, + IVRSystem_IVRSystem_009_GetControllerStateWithPose, + IVRSystem_IVRSystem_009_TriggerHapticPulse, + IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_009_CaptureInputFocus, + IVRSystem_IVRSystem_009_ReleaseInputFocus, + IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_009_DriverDebugRequest, + IVRSystem_IVRSystem_009_PerformFirmwareUpdate, + IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_010_GetProjectionMatrix, + IVRSystem_IVRSystem_010_GetProjectionRaw, + IVRSystem_IVRSystem_010_ComputeDistortion, + IVRSystem_IVRSystem_010_GetEyeToHeadTransform, + IVRSystem_IVRSystem_010_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_010_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_010_GetDXGIOutputInfo, + IVRSystem_IVRSystem_010_IsDisplayOnDesktop, + IVRSystem_IVRSystem_010_SetDisplayVisibility, + IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_010_ResetSeatedZeroPose, + IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_010_ApplyTransform, + IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_010_GetTrackedDeviceClass, + IVRSystem_IVRSystem_010_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_010_PollNextEvent, + IVRSystem_IVRSystem_010_PollNextEventWithPose, + IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_010_GetHiddenAreaMesh, + IVRSystem_IVRSystem_010_GetControllerState, + IVRSystem_IVRSystem_010_GetControllerStateWithPose, + IVRSystem_IVRSystem_010_TriggerHapticPulse, + IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_010_CaptureInputFocus, + IVRSystem_IVRSystem_010_ReleaseInputFocus, + IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_010_DriverDebugRequest, + IVRSystem_IVRSystem_010_PerformFirmwareUpdate, + IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_010_PerformanceTestEnableCapture, + IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, + IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_011_GetProjectionMatrix, + IVRSystem_IVRSystem_011_GetProjectionRaw, + IVRSystem_IVRSystem_011_ComputeDistortion, + IVRSystem_IVRSystem_011_GetEyeToHeadTransform, + IVRSystem_IVRSystem_011_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_011_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_011_GetDXGIOutputInfo, + IVRSystem_IVRSystem_011_IsDisplayOnDesktop, + IVRSystem_IVRSystem_011_SetDisplayVisibility, + IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_011_ResetSeatedZeroPose, + IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_011_ApplyTransform, + IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_011_GetTrackedDeviceClass, + IVRSystem_IVRSystem_011_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_011_PollNextEvent, + IVRSystem_IVRSystem_011_PollNextEventWithPose, + IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_011_GetHiddenAreaMesh, + IVRSystem_IVRSystem_011_GetControllerState, + IVRSystem_IVRSystem_011_GetControllerStateWithPose, + IVRSystem_IVRSystem_011_TriggerHapticPulse, + IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_011_CaptureInputFocus, + IVRSystem_IVRSystem_011_ReleaseInputFocus, + IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_011_DriverDebugRequest, + IVRSystem_IVRSystem_011_PerformFirmwareUpdate, + IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_011_PerformanceTestEnableCapture, + IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, + IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_012_GetProjectionMatrix, + IVRSystem_IVRSystem_012_GetProjectionRaw, + IVRSystem_IVRSystem_012_ComputeDistortion, + IVRSystem_IVRSystem_012_GetEyeToHeadTransform, + IVRSystem_IVRSystem_012_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_012_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_012_GetDXGIOutputInfo, + IVRSystem_IVRSystem_012_IsDisplayOnDesktop, + IVRSystem_IVRSystem_012_SetDisplayVisibility, + IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_012_ResetSeatedZeroPose, + IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_012_ApplyTransform, + IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_012_GetTrackedDeviceClass, + IVRSystem_IVRSystem_012_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_012_PollNextEvent, + IVRSystem_IVRSystem_012_PollNextEventWithPose, + IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_012_GetHiddenAreaMesh, + IVRSystem_IVRSystem_012_GetControllerState, + IVRSystem_IVRSystem_012_GetControllerStateWithPose, + IVRSystem_IVRSystem_012_TriggerHapticPulse, + IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_012_CaptureInputFocus, + IVRSystem_IVRSystem_012_ReleaseInputFocus, + IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_012_DriverDebugRequest, + IVRSystem_IVRSystem_012_PerformFirmwareUpdate, + IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_014_GetProjectionMatrix, + IVRSystem_IVRSystem_014_GetProjectionRaw, + IVRSystem_IVRSystem_014_ComputeDistortion, + IVRSystem_IVRSystem_014_GetEyeToHeadTransform, + IVRSystem_IVRSystem_014_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_014_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_014_GetDXGIOutputInfo, + IVRSystem_IVRSystem_014_IsDisplayOnDesktop, + IVRSystem_IVRSystem_014_SetDisplayVisibility, + IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_014_ResetSeatedZeroPose, + IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_014_ApplyTransform, + IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_014_GetTrackedDeviceClass, + IVRSystem_IVRSystem_014_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_014_PollNextEvent, + IVRSystem_IVRSystem_014_PollNextEventWithPose, + IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_014_GetHiddenAreaMesh, + IVRSystem_IVRSystem_014_GetControllerState, + IVRSystem_IVRSystem_014_GetControllerStateWithPose, + IVRSystem_IVRSystem_014_TriggerHapticPulse, + IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_014_CaptureInputFocus, + IVRSystem_IVRSystem_014_ReleaseInputFocus, + IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_014_DriverDebugRequest, + IVRSystem_IVRSystem_014_PerformFirmwareUpdate, + IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_015_GetProjectionMatrix, + IVRSystem_IVRSystem_015_GetProjectionRaw, + IVRSystem_IVRSystem_015_ComputeDistortion, + IVRSystem_IVRSystem_015_GetEyeToHeadTransform, + IVRSystem_IVRSystem_015_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_015_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_015_GetDXGIOutputInfo, + IVRSystem_IVRSystem_015_IsDisplayOnDesktop, + IVRSystem_IVRSystem_015_SetDisplayVisibility, + IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_015_ResetSeatedZeroPose, + IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_015_ApplyTransform, + IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_015_GetTrackedDeviceClass, + IVRSystem_IVRSystem_015_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_015_PollNextEvent, + IVRSystem_IVRSystem_015_PollNextEventWithPose, + IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_015_GetHiddenAreaMesh, + IVRSystem_IVRSystem_015_GetControllerState, + IVRSystem_IVRSystem_015_GetControllerStateWithPose, + IVRSystem_IVRSystem_015_TriggerHapticPulse, + IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_015_CaptureInputFocus, + IVRSystem_IVRSystem_015_ReleaseInputFocus, + IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_015_DriverDebugRequest, + IVRSystem_IVRSystem_015_PerformFirmwareUpdate, + IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_016_GetProjectionMatrix, + IVRSystem_IVRSystem_016_GetProjectionRaw, + IVRSystem_IVRSystem_016_ComputeDistortion, + IVRSystem_IVRSystem_016_GetEyeToHeadTransform, + IVRSystem_IVRSystem_016_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_016_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_016_GetDXGIOutputInfo, + IVRSystem_IVRSystem_016_GetOutputDevice, + IVRSystem_IVRSystem_016_IsDisplayOnDesktop, + IVRSystem_IVRSystem_016_SetDisplayVisibility, + IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_016_ResetSeatedZeroPose, + IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_016_ApplyTransform, + IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_016_GetTrackedDeviceClass, + IVRSystem_IVRSystem_016_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_016_PollNextEvent, + IVRSystem_IVRSystem_016_PollNextEventWithPose, + IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_016_GetHiddenAreaMesh, + IVRSystem_IVRSystem_016_GetControllerState, + IVRSystem_IVRSystem_016_GetControllerStateWithPose, + IVRSystem_IVRSystem_016_TriggerHapticPulse, + IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_016_CaptureInputFocus, + IVRSystem_IVRSystem_016_ReleaseInputFocus, + IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_016_DriverDebugRequest, + IVRSystem_IVRSystem_016_PerformFirmwareUpdate, + IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_017_GetProjectionMatrix, + IVRSystem_IVRSystem_017_GetProjectionRaw, + IVRSystem_IVRSystem_017_ComputeDistortion, + IVRSystem_IVRSystem_017_GetEyeToHeadTransform, + IVRSystem_IVRSystem_017_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_017_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_017_GetDXGIOutputInfo, + IVRSystem_IVRSystem_017_GetOutputDevice, + IVRSystem_IVRSystem_017_IsDisplayOnDesktop, + IVRSystem_IVRSystem_017_SetDisplayVisibility, + IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_017_ResetSeatedZeroPose, + IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_017_ApplyTransform, + IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_017_GetTrackedDeviceClass, + IVRSystem_IVRSystem_017_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_017_PollNextEvent, + IVRSystem_IVRSystem_017_PollNextEventWithPose, + IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_017_GetHiddenAreaMesh, + IVRSystem_IVRSystem_017_GetControllerState, + IVRSystem_IVRSystem_017_GetControllerStateWithPose, + IVRSystem_IVRSystem_017_TriggerHapticPulse, + IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_017_CaptureInputFocus, + IVRSystem_IVRSystem_017_ReleaseInputFocus, + IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, + IVRSystem_IVRSystem_017_DriverDebugRequest, + IVRSystem_IVRSystem_017_PerformFirmwareUpdate, + IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_019_GetProjectionMatrix, + IVRSystem_IVRSystem_019_GetProjectionRaw, + IVRSystem_IVRSystem_019_ComputeDistortion, + IVRSystem_IVRSystem_019_GetEyeToHeadTransform, + IVRSystem_IVRSystem_019_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_019_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_019_GetDXGIOutputInfo, + IVRSystem_IVRSystem_019_GetOutputDevice, + IVRSystem_IVRSystem_019_IsDisplayOnDesktop, + IVRSystem_IVRSystem_019_SetDisplayVisibility, + IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_019_ResetSeatedZeroPose, + IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_019_ApplyTransform, + IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_019_GetTrackedDeviceClass, + IVRSystem_IVRSystem_019_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_019_PollNextEvent, + IVRSystem_IVRSystem_019_PollNextEventWithPose, + IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_019_GetHiddenAreaMesh, + IVRSystem_IVRSystem_019_GetControllerState, + IVRSystem_IVRSystem_019_GetControllerStateWithPose, + IVRSystem_IVRSystem_019_TriggerHapticPulse, + IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_019_IsInputAvailable, + IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, + IVRSystem_IVRSystem_019_ShouldApplicationPause, + IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, + IVRSystem_IVRSystem_019_DriverDebugRequest, + IVRSystem_IVRSystem_019_PerformFirmwareUpdate, + IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_020_GetProjectionMatrix, + IVRSystem_IVRSystem_020_GetProjectionRaw, + IVRSystem_IVRSystem_020_ComputeDistortion, + IVRSystem_IVRSystem_020_GetEyeToHeadTransform, + IVRSystem_IVRSystem_020_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_020_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_020_GetDXGIOutputInfo, + IVRSystem_IVRSystem_020_GetOutputDevice, + IVRSystem_IVRSystem_020_IsDisplayOnDesktop, + IVRSystem_IVRSystem_020_SetDisplayVisibility, + IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_020_ResetSeatedZeroPose, + IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_020_ApplyTransform, + IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_020_GetTrackedDeviceClass, + IVRSystem_IVRSystem_020_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_020_PollNextEvent, + IVRSystem_IVRSystem_020_PollNextEventWithPose, + IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_020_GetHiddenAreaMesh, + IVRSystem_IVRSystem_020_GetControllerState, + IVRSystem_IVRSystem_020_GetControllerStateWithPose, + IVRSystem_IVRSystem_020_TriggerHapticPulse, + IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_020_IsInputAvailable, + IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, + IVRSystem_IVRSystem_020_ShouldApplicationPause, + IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, + IVRSystem_IVRSystem_020_PerformFirmwareUpdate, + IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, + IVRSystem_IVRSystem_020_GetAppContainerFilePaths, + IVRSystem_IVRSystem_020_GetRuntimeVersion, + IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_021_GetProjectionMatrix, + IVRSystem_IVRSystem_021_GetProjectionRaw, + IVRSystem_IVRSystem_021_ComputeDistortion, + IVRSystem_IVRSystem_021_GetEyeToHeadTransform, + IVRSystem_IVRSystem_021_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_021_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_021_GetDXGIOutputInfo, + IVRSystem_IVRSystem_021_GetOutputDevice, + IVRSystem_IVRSystem_021_IsDisplayOnDesktop, + IVRSystem_IVRSystem_021_SetDisplayVisibility, + IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_021_ResetSeatedZeroPose, + IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_021_ApplyTransform, + IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_021_GetTrackedDeviceClass, + IVRSystem_IVRSystem_021_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_021_PollNextEvent, + IVRSystem_IVRSystem_021_PollNextEventWithPose, + IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_021_GetHiddenAreaMesh, + IVRSystem_IVRSystem_021_GetControllerState, + IVRSystem_IVRSystem_021_GetControllerStateWithPose, + IVRSystem_IVRSystem_021_TriggerHapticPulse, + IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_021_IsInputAvailable, + IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, + IVRSystem_IVRSystem_021_ShouldApplicationPause, + IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, + IVRSystem_IVRSystem_021_PerformFirmwareUpdate, + IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_021_GetAppContainerFilePaths, + IVRSystem_IVRSystem_021_GetRuntimeVersion, + IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, + IVRSystem_IVRSystem_022_GetProjectionMatrix, + IVRSystem_IVRSystem_022_GetProjectionRaw, + IVRSystem_IVRSystem_022_ComputeDistortion, + IVRSystem_IVRSystem_022_GetEyeToHeadTransform, + IVRSystem_IVRSystem_022_GetTimeSinceLastVsync, + IVRSystem_IVRSystem_022_GetD3D9AdapterIndex, + IVRSystem_IVRSystem_022_GetDXGIOutputInfo, + IVRSystem_IVRSystem_022_GetOutputDevice, + IVRSystem_IVRSystem_022_IsDisplayOnDesktop, + IVRSystem_IVRSystem_022_SetDisplayVisibility, + IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, + IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, + IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, + IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, + IVRSystem_IVRSystem_022_ApplyTransform, + IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, + IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, + IVRSystem_IVRSystem_022_GetTrackedDeviceClass, + IVRSystem_IVRSystem_022_IsTrackedDeviceConnected, + IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, + IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, + IVRSystem_IVRSystem_022_PollNextEvent, + IVRSystem_IVRSystem_022_PollNextEventWithPose, + IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, + IVRSystem_IVRSystem_022_GetHiddenAreaMesh, + IVRSystem_IVRSystem_022_GetControllerState, + IVRSystem_IVRSystem_022_GetControllerStateWithPose, + IVRSystem_IVRSystem_022_TriggerHapticPulse, + IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, + IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, + IVRSystem_IVRSystem_022_IsInputAvailable, + IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, + IVRSystem_IVRSystem_022_ShouldApplicationPause, + IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, + IVRSystem_IVRSystem_022_PerformFirmwareUpdate, + IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, + IVRSystem_IVRSystem_022_GetAppContainerFilePaths, + IVRSystem_IVRSystem_022_GetRuntimeVersion, + IVRTrackedCamera_IVRTrackedCamera_001_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, + IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, + IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, + IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, + IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, + IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, + IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, + IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, + IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, + IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, + IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, + IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, + IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, + IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, + IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, + IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, + IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, + IVRTrackedCamera_IVRTrackedCamera_002_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, + IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, + IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, + IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, + IVRTrackedCamera_IVRTrackedCamera_003_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, + IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, + IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, + IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, + IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, + IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, + IVRTrackedCamera_IVRTrackedCamera_004_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, + IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, + IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, + IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, + IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, + IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, + IVRTrackedCamera_IVRTrackedCamera_005_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, + IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, + IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, + IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, + IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, + IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, + IVRTrackedCamera_IVRTrackedCamera_006_HasCamera, + IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, + IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, + IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, + IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, + IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, + IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, + IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, + IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, + IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, + IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, +}; + +C_ASSERT( sizeof(VREvent_ApplicationLaunch_t) >= 8 ); +C_ASSERT( offsetof(VREvent_ApplicationLaunch_t, pid) == 0 ); +C_ASSERT( sizeof(VREvent_ApplicationLaunch_t().pid) >= 4 ); +C_ASSERT( offsetof(VREvent_ApplicationLaunch_t, unArgsHandle) == 4 ); +C_ASSERT( sizeof(VREvent_ApplicationLaunch_t().unArgsHandle) >= 4 ); + +C_ASSERT( sizeof(VREvent_Chaperone_t) >= 16 ); +C_ASSERT( offsetof(VREvent_Chaperone_t, m_nPreviousUniverse) == 0 ); +C_ASSERT( sizeof(VREvent_Chaperone_t().m_nPreviousUniverse) >= 8 ); +C_ASSERT( offsetof(VREvent_Chaperone_t, m_nCurrentUniverse) == 8 ); +C_ASSERT( sizeof(VREvent_Chaperone_t().m_nCurrentUniverse) >= 8 ); + +C_ASSERT( sizeof(VREvent_Controller_t) >= 4 ); +C_ASSERT( offsetof(VREvent_Controller_t, button) == 0 ); +C_ASSERT( sizeof(VREvent_Controller_t().button) >= 4 ); + +C_ASSERT( sizeof(VREvent_DualAnalog_t) >= 20 ); +C_ASSERT( offsetof(VREvent_DualAnalog_t, x) == 0 ); +C_ASSERT( sizeof(VREvent_DualAnalog_t().x) >= 4 ); +C_ASSERT( offsetof(VREvent_DualAnalog_t, y) == 4 ); +C_ASSERT( sizeof(VREvent_DualAnalog_t().y) >= 4 ); +C_ASSERT( offsetof(VREvent_DualAnalog_t, transformedX) == 8 ); +C_ASSERT( sizeof(VREvent_DualAnalog_t().transformedX) >= 4 ); +C_ASSERT( offsetof(VREvent_DualAnalog_t, transformedY) == 12 ); +C_ASSERT( sizeof(VREvent_DualAnalog_t().transformedY) >= 4 ); +C_ASSERT( offsetof(VREvent_DualAnalog_t, which) == 16 ); +C_ASSERT( sizeof(VREvent_DualAnalog_t().which) >= 4 ); + +C_ASSERT( sizeof(VREvent_EditingCameraSurface_t) >= 16 ); +C_ASSERT( offsetof(VREvent_EditingCameraSurface_t, overlayHandle) == 0 ); +C_ASSERT( sizeof(VREvent_EditingCameraSurface_t().overlayHandle) >= 8 ); +C_ASSERT( offsetof(VREvent_EditingCameraSurface_t, nVisualMode) == 8 ); +C_ASSERT( sizeof(VREvent_EditingCameraSurface_t().nVisualMode) >= 4 ); + +C_ASSERT( sizeof(VREvent_HDCPError_t) >= 4 ); +C_ASSERT( offsetof(VREvent_HDCPError_t, eCode) == 0 ); +C_ASSERT( sizeof(VREvent_HDCPError_t().eCode) >= 4 ); + +C_ASSERT( sizeof(VREvent_HapticVibration_t) >= 32 ); +C_ASSERT( offsetof(VREvent_HapticVibration_t, containerHandle) == 0 ); +C_ASSERT( sizeof(VREvent_HapticVibration_t().containerHandle) >= 8 ); +C_ASSERT( offsetof(VREvent_HapticVibration_t, componentHandle) == 8 ); +C_ASSERT( sizeof(VREvent_HapticVibration_t().componentHandle) >= 8 ); +C_ASSERT( offsetof(VREvent_HapticVibration_t, fDurationSeconds) == 16 ); +C_ASSERT( sizeof(VREvent_HapticVibration_t().fDurationSeconds) >= 4 ); +C_ASSERT( offsetof(VREvent_HapticVibration_t, fFrequency) == 20 ); +C_ASSERT( sizeof(VREvent_HapticVibration_t().fFrequency) >= 4 ); +C_ASSERT( offsetof(VREvent_HapticVibration_t, fAmplitude) == 24 ); +C_ASSERT( sizeof(VREvent_HapticVibration_t().fAmplitude) >= 4 ); + +C_ASSERT( sizeof(VREvent_InputActionManifestLoad_t) >= 32 ); +C_ASSERT( offsetof(VREvent_InputActionManifestLoad_t, pathAppKey) == 0 ); +C_ASSERT( sizeof(VREvent_InputActionManifestLoad_t().pathAppKey) >= 8 ); +C_ASSERT( offsetof(VREvent_InputActionManifestLoad_t, pathMessage) == 8 ); +C_ASSERT( sizeof(VREvent_InputActionManifestLoad_t().pathMessage) >= 8 ); +C_ASSERT( offsetof(VREvent_InputActionManifestLoad_t, pathMessageParam) == 16 ); +C_ASSERT( sizeof(VREvent_InputActionManifestLoad_t().pathMessageParam) >= 8 ); +C_ASSERT( offsetof(VREvent_InputActionManifestLoad_t, pathManifestPath) == 24 ); +C_ASSERT( sizeof(VREvent_InputActionManifestLoad_t().pathManifestPath) >= 8 ); + +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1016) >= 32 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1016, ulAppContainer) == 0 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1016().ulAppContainer) >= 8 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1016, pathMessage) == 8 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1016().pathMessage) >= 8 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1016, pathUrl) == 16 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1016().pathUrl) >= 8 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1016, pathControllerType) == 24 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1016().pathControllerType) >= 8 ); + +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1015) >= 24 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1015, ulAppContainer) == 0 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1015().ulAppContainer) >= 8 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1015, pathMessage) == 8 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1015().pathMessage) >= 8 ); +C_ASSERT( offsetof(VREvent_InputBindingLoad_t_1015, pathUrl) == 16 ); +C_ASSERT( sizeof(VREvent_InputBindingLoad_t_1015().pathUrl) >= 8 ); + +C_ASSERT( sizeof(VREvent_Ipd_t) >= 4 ); +C_ASSERT( offsetof(VREvent_Ipd_t, ipdMeters) == 0 ); +C_ASSERT( sizeof(VREvent_Ipd_t().ipdMeters) >= 4 ); + +C_ASSERT( sizeof(VREvent_Keyboard_t_0912) >= 16 ); +C_ASSERT( offsetof(VREvent_Keyboard_t_0912, cNewInput) == 0 ); +C_ASSERT( sizeof(VREvent_Keyboard_t_0912().cNewInput) >= 8 ); +C_ASSERT( offsetof(VREvent_Keyboard_t_0912, uUserValue) == 8 ); +C_ASSERT( sizeof(VREvent_Keyboard_t_0912().uUserValue) >= 8 ); + +C_ASSERT( sizeof(VREvent_Keyboard_t_0910) >= 16 ); +C_ASSERT( offsetof(VREvent_Keyboard_t_0910, cNewInput) == 0 ); +C_ASSERT( sizeof(VREvent_Keyboard_t_0910().cNewInput) >= 12 ); +C_ASSERT( offsetof(VREvent_Keyboard_t_0910, uFlags) == 12 ); +C_ASSERT( sizeof(VREvent_Keyboard_t_0910().uFlags) >= 4 ); + +C_ASSERT( sizeof(VREvent_MessageOverlay_t) >= 4 ); +C_ASSERT( offsetof(VREvent_MessageOverlay_t, unVRMessageOverlayResponse) == 0 ); +C_ASSERT( sizeof(VREvent_MessageOverlay_t().unVRMessageOverlayResponse) >= 4 ); + +C_ASSERT( sizeof(VREvent_Mouse_t) >= 12 ); +C_ASSERT( offsetof(VREvent_Mouse_t, x) == 0 ); +C_ASSERT( sizeof(VREvent_Mouse_t().x) >= 4 ); +C_ASSERT( offsetof(VREvent_Mouse_t, y) == 4 ); +C_ASSERT( sizeof(VREvent_Mouse_t().y) >= 4 ); +C_ASSERT( offsetof(VREvent_Mouse_t, button) == 8 ); +C_ASSERT( sizeof(VREvent_Mouse_t().button) >= 4 ); + +C_ASSERT( sizeof(VREvent_Notification_t_093) >= 16 ); +C_ASSERT( offsetof(VREvent_Notification_t_093, ulUserValue) == 0 ); +C_ASSERT( sizeof(VREvent_Notification_t_093().ulUserValue) >= 8 ); +C_ASSERT( offsetof(VREvent_Notification_t_093, notificationId) == 8 ); +C_ASSERT( sizeof(VREvent_Notification_t_093().notificationId) >= 4 ); + +C_ASSERT( sizeof(VREvent_Notification_t_092) >= 12 ); +C_ASSERT( offsetof(VREvent_Notification_t_092, x) == 0 ); +C_ASSERT( sizeof(VREvent_Notification_t_092().x) >= 4 ); +C_ASSERT( offsetof(VREvent_Notification_t_092, y) == 4 ); +C_ASSERT( sizeof(VREvent_Notification_t_092().y) >= 4 ); +C_ASSERT( offsetof(VREvent_Notification_t_092, notificationId) == 8 ); +C_ASSERT( sizeof(VREvent_Notification_t_092().notificationId) >= 4 ); + +C_ASSERT( sizeof(VREvent_Overlay_t_1168) >= 24 ); +C_ASSERT( offsetof(VREvent_Overlay_t_1168, overlayHandle) == 0 ); +C_ASSERT( sizeof(VREvent_Overlay_t_1168().overlayHandle) >= 8 ); +C_ASSERT( offsetof(VREvent_Overlay_t_1168, devicePath) == 8 ); +C_ASSERT( sizeof(VREvent_Overlay_t_1168().devicePath) >= 8 ); +C_ASSERT( offsetof(VREvent_Overlay_t_1168, memoryBlockId) == 16 ); +C_ASSERT( sizeof(VREvent_Overlay_t_1168().memoryBlockId) >= 8 ); + +C_ASSERT( sizeof(VREvent_Overlay_t_1014) >= 16 ); +C_ASSERT( offsetof(VREvent_Overlay_t_1014, overlayHandle) == 0 ); +C_ASSERT( sizeof(VREvent_Overlay_t_1014().overlayHandle) >= 8 ); +C_ASSERT( offsetof(VREvent_Overlay_t_1014, devicePath) == 8 ); +C_ASSERT( sizeof(VREvent_Overlay_t_1014().devicePath) >= 8 ); + +C_ASSERT( sizeof(VREvent_Overlay_t_092) >= 8 ); +C_ASSERT( offsetof(VREvent_Overlay_t_092, overlayHandle) == 0 ); +C_ASSERT( sizeof(VREvent_Overlay_t_092().overlayHandle) >= 8 ); + +C_ASSERT( sizeof(VREvent_PerformanceTest_t) >= 4 ); +C_ASSERT( offsetof(VREvent_PerformanceTest_t, m_nFidelityLevel) == 0 ); +C_ASSERT( sizeof(VREvent_PerformanceTest_t().m_nFidelityLevel) >= 4 ); + +C_ASSERT( sizeof(VREvent_Process_t_1210) >= 12 ); +C_ASSERT( offsetof(VREvent_Process_t_1210, pid) == 0 ); +C_ASSERT( sizeof(VREvent_Process_t_1210().pid) >= 4 ); +C_ASSERT( offsetof(VREvent_Process_t_1210, oldPid) == 4 ); +C_ASSERT( sizeof(VREvent_Process_t_1210().oldPid) >= 4 ); +C_ASSERT( offsetof(VREvent_Process_t_1210, bForced) == 8 ); +C_ASSERT( sizeof(VREvent_Process_t_1210().bForced) >= 1 ); +C_ASSERT( offsetof(VREvent_Process_t_1210, bConnectionLost) == 9 ); +C_ASSERT( sizeof(VREvent_Process_t_1210().bConnectionLost) >= 1 ); + +C_ASSERT( sizeof(VREvent_Process_t_0912) >= 12 ); +C_ASSERT( offsetof(VREvent_Process_t_0912, pid) == 0 ); +C_ASSERT( sizeof(VREvent_Process_t_0912().pid) >= 4 ); +C_ASSERT( offsetof(VREvent_Process_t_0912, oldPid) == 4 ); +C_ASSERT( sizeof(VREvent_Process_t_0912().oldPid) >= 4 ); +C_ASSERT( offsetof(VREvent_Process_t_0912, bForced) == 8 ); +C_ASSERT( sizeof(VREvent_Process_t_0912().bForced) >= 1 ); + +C_ASSERT( sizeof(VREvent_Process_t_090) >= 8 ); +C_ASSERT( offsetof(VREvent_Process_t_090, pid) == 0 ); +C_ASSERT( sizeof(VREvent_Process_t_090().pid) >= 4 ); +C_ASSERT( offsetof(VREvent_Process_t_090, oldPid) == 4 ); +C_ASSERT( sizeof(VREvent_Process_t_090().oldPid) >= 4 ); + +C_ASSERT( sizeof(VREvent_ProgressUpdate_t) >= 48 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, ulApplicationPropertyContainer) == 0 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().ulApplicationPropertyContainer) >= 8 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, pathDevice) == 8 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().pathDevice) >= 8 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, pathInputSource) == 16 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().pathInputSource) >= 8 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, pathProgressAction) == 24 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().pathProgressAction) >= 8 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, pathIcon) == 32 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().pathIcon) >= 8 ); +C_ASSERT( offsetof(VREvent_ProgressUpdate_t, fProgress) == 40 ); +C_ASSERT( sizeof(VREvent_ProgressUpdate_t().fProgress) >= 4 ); + +C_ASSERT( sizeof(VREvent_Property_t) >= 16 ); +C_ASSERT( offsetof(VREvent_Property_t, container) == 0 ); +C_ASSERT( sizeof(VREvent_Property_t().container) >= 8 ); +C_ASSERT( offsetof(VREvent_Property_t, prop) == 8 ); +C_ASSERT( sizeof(VREvent_Property_t().prop) >= 4 ); + +C_ASSERT( sizeof(VREvent_Reserved_t_113b) >= 48 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved0) == 0 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved0) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved1) == 8 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved1) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved2) == 16 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved2) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved3) == 24 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved3) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved4) == 32 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved4) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_113b, reserved5) == 40 ); +C_ASSERT( sizeof(VREvent_Reserved_t_113b().reserved5) >= 8 ); + +C_ASSERT( sizeof(VREvent_Reserved_t_1013) >= 32 ); +C_ASSERT( offsetof(VREvent_Reserved_t_1013, reserved0) == 0 ); +C_ASSERT( sizeof(VREvent_Reserved_t_1013().reserved0) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_1013, reserved1) == 8 ); +C_ASSERT( sizeof(VREvent_Reserved_t_1013().reserved1) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_1013, reserved2) == 16 ); +C_ASSERT( sizeof(VREvent_Reserved_t_1013().reserved2) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_1013, reserved3) == 24 ); +C_ASSERT( sizeof(VREvent_Reserved_t_1013().reserved3) >= 8 ); + +C_ASSERT( sizeof(VREvent_Reserved_t_090) >= 16 ); +C_ASSERT( offsetof(VREvent_Reserved_t_090, reserved0) == 0 ); +C_ASSERT( sizeof(VREvent_Reserved_t_090().reserved0) >= 8 ); +C_ASSERT( offsetof(VREvent_Reserved_t_090, reserved1) == 8 ); +C_ASSERT( sizeof(VREvent_Reserved_t_090().reserved1) >= 8 ); + +C_ASSERT( sizeof(VREvent_ScreenshotProgress_t) >= 4 ); +C_ASSERT( offsetof(VREvent_ScreenshotProgress_t, progress) == 0 ); +C_ASSERT( sizeof(VREvent_ScreenshotProgress_t().progress) >= 4 ); + +C_ASSERT( sizeof(VREvent_Screenshot_t) >= 8 ); +C_ASSERT( offsetof(VREvent_Screenshot_t, handle) == 0 ); +C_ASSERT( sizeof(VREvent_Screenshot_t().handle) >= 4 ); +C_ASSERT( offsetof(VREvent_Screenshot_t, type) == 4 ); +C_ASSERT( sizeof(VREvent_Screenshot_t().type) >= 4 ); + +C_ASSERT( sizeof(VREvent_Scroll_t_1322) >= 16 ); +C_ASSERT( offsetof(VREvent_Scroll_t_1322, xdelta) == 0 ); +C_ASSERT( sizeof(VREvent_Scroll_t_1322().xdelta) >= 4 ); +C_ASSERT( offsetof(VREvent_Scroll_t_1322, ydelta) == 4 ); +C_ASSERT( sizeof(VREvent_Scroll_t_1322().ydelta) >= 4 ); +C_ASSERT( offsetof(VREvent_Scroll_t_1322, unused) == 8 ); +C_ASSERT( sizeof(VREvent_Scroll_t_1322().unused) >= 4 ); +C_ASSERT( offsetof(VREvent_Scroll_t_1322, viewportscale) == 12 ); +C_ASSERT( sizeof(VREvent_Scroll_t_1322().viewportscale) >= 4 ); + +C_ASSERT( sizeof(VREvent_Scroll_t_0915) >= 12 ); +C_ASSERT( offsetof(VREvent_Scroll_t_0915, xdelta) == 0 ); +C_ASSERT( sizeof(VREvent_Scroll_t_0915().xdelta) >= 4 ); +C_ASSERT( offsetof(VREvent_Scroll_t_0915, ydelta) == 4 ); +C_ASSERT( sizeof(VREvent_Scroll_t_0915().ydelta) >= 4 ); +C_ASSERT( offsetof(VREvent_Scroll_t_0915, repeatCount) == 8 ); +C_ASSERT( sizeof(VREvent_Scroll_t_0915().repeatCount) >= 4 ); + +C_ASSERT( sizeof(VREvent_SeatedZeroPoseReset_t) >= 1 ); +C_ASSERT( offsetof(VREvent_SeatedZeroPoseReset_t, bResetBySystemMenu) == 0 ); +C_ASSERT( sizeof(VREvent_SeatedZeroPoseReset_t().bResetBySystemMenu) >= 1 ); + +C_ASSERT( sizeof(VREvent_ShowDevTools_t) >= 4 ); +C_ASSERT( offsetof(VREvent_ShowDevTools_t, nBrowserIdentifier) == 0 ); +C_ASSERT( sizeof(VREvent_ShowDevTools_t().nBrowserIdentifier) >= 4 ); + +C_ASSERT( sizeof(VREvent_ShowUI_t) >= 4 ); +C_ASSERT( offsetof(VREvent_ShowUI_t, eType) == 0 ); +C_ASSERT( sizeof(VREvent_ShowUI_t().eType) >= 4 ); + +C_ASSERT( sizeof(VREvent_SpatialAnchor_t) >= 4 ); +C_ASSERT( offsetof(VREvent_SpatialAnchor_t, unHandle) == 0 ); +C_ASSERT( sizeof(VREvent_SpatialAnchor_t().unHandle) >= 4 ); + +C_ASSERT( sizeof(VREvent_Status_t) >= 4 ); +C_ASSERT( offsetof(VREvent_Status_t, statusState) == 0 ); +C_ASSERT( sizeof(VREvent_Status_t().statusState) >= 4 ); + +C_ASSERT( sizeof(VREvent_TouchPadMove_t) >= 24 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, bFingerDown) == 0 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().bFingerDown) >= 1 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, flSecondsFingerDown) == 4 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().flSecondsFingerDown) >= 4 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, fValueXFirst) == 8 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().fValueXFirst) >= 4 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, fValueYFirst) == 12 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().fValueYFirst) >= 4 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, fValueXRaw) == 16 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().fValueXRaw) >= 4 ); +C_ASSERT( offsetof(VREvent_TouchPadMove_t, fValueYRaw) == 20 ); +C_ASSERT( sizeof(VREvent_TouchPadMove_t().fValueYRaw) >= 4 ); + +C_ASSERT( sizeof(VREvent_WebConsole_t) >= 8 ); +C_ASSERT( offsetof(VREvent_WebConsole_t, webConsoleHandle) == 0 ); +C_ASSERT( sizeof(VREvent_WebConsole_t().webConsoleHandle) >= 8 ); + +C_ASSERT( sizeof(TrackedDevicePose_t) >= 80 ); +C_ASSERT( offsetof(TrackedDevicePose_t, mDeviceToAbsoluteTracking) == 0 ); +C_ASSERT( sizeof(TrackedDevicePose_t().mDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(TrackedDevicePose_t, vVelocity) == 48 ); +C_ASSERT( sizeof(TrackedDevicePose_t().vVelocity) >= 12 ); +C_ASSERT( offsetof(TrackedDevicePose_t, vAngularVelocity) == 60 ); +C_ASSERT( sizeof(TrackedDevicePose_t().vAngularVelocity) >= 12 ); +C_ASSERT( offsetof(TrackedDevicePose_t, eTrackingResult) == 72 ); +C_ASSERT( sizeof(TrackedDevicePose_t().eTrackingResult) >= 4 ); +C_ASSERT( offsetof(TrackedDevicePose_t, bPoseIsValid) == 76 ); +C_ASSERT( sizeof(TrackedDevicePose_t().bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(TrackedDevicePose_t, bDeviceIsConnected) == 77 ); +C_ASSERT( sizeof(TrackedDevicePose_t().bDeviceIsConnected) >= 1 ); + +C_ASSERT( sizeof(VREvent_Data_t_1168) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().reserved) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().scroll) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().overlay) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().spatialAnchor) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, progressUpdate) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().progressUpdate) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, showUi) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().showUi) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, showDevTools) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().showDevTools) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1168, hdcpError) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1168().hdcpError) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_11030) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().reserved) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().scroll) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().spatialAnchor) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, progressUpdate) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().progressUpdate) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, showUi) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().showUi) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, showDevTools) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().showDevTools) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_11030, hdcpError) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_11030().hdcpError) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_1322) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().reserved) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().scroll) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().spatialAnchor) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, progressUpdate) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().progressUpdate) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, showUi) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().showUi) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, showDevTools) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().showDevTools) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1322, hdcpError) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1322().hdcpError) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_1210) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().reserved) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().spatialAnchor) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, progressUpdate) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().progressUpdate) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_1210, showUi) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1210().showUi) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_113b) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().reserved) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().spatialAnchor) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, progressUpdate) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().progressUpdate) >= 48 ); +C_ASSERT( offsetof(VREvent_Data_t_113b, showUi) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_113b().showUi) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_1016) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().reserved) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().inputBinding) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, actionManifest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().actionManifest) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1016, spatialAnchor) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1016().spatialAnchor) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_1015) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().reserved) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().webConsole) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1015, inputBinding) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1015().inputBinding) >= 24 ); + +C_ASSERT( sizeof(VREvent_Data_t_1014) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().reserved) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().overlay) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().hapticVibration) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1014, webConsole) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1014().webConsole) >= 8 ); + +C_ASSERT( sizeof(VREvent_Data_t_1013) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().reserved) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1013, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1013().hapticVibration) >= 32 ); + +C_ASSERT( sizeof(VREvent_Data_t_1012) >= 32 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().dualAnalog) >= 20 ); +C_ASSERT( offsetof(VREvent_Data_t_1012, hapticVibration) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1012().hapticVibration) >= 32 ); + +C_ASSERT( sizeof(VREvent_Data_t_1011) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().property) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_1011, dualAnalog) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_1011().dualAnalog) >= 20 ); + +C_ASSERT( sizeof(VREvent_Data_t_106) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_106, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_106, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_106, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_106, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_106, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_106, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_106, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_106, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_106, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_106, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_106, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_106, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_106, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_106, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().messageOverlay) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_106, property) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_106().property) >= 16 ); + +C_ASSERT( sizeof(VREvent_Data_t_105) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_105, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_105, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_105, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_105, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_105, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_105, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_105, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_105, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_105, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_105, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_105, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_105, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_105, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_105, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_105, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_105, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_105, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_105, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().cameraSurface) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_105, messageOverlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_105().messageOverlay) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_103) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_103, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_103, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_103, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_103, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_103, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_103, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_103, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_103, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_103, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_103, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_103, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_103, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_103, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_103, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_103, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_103, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_103, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().applicationLaunch) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_103, cameraSurface) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_103().cameraSurface) >= 16 ); + +C_ASSERT( sizeof(VREvent_Data_t_102) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_102, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_102, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_102, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_102, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_102, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_102, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_102, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_102, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_102, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_102, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_102, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_102, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_102, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_102, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_102, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().screenshot) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_102, screenshotProgress) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().screenshotProgress) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_102, applicationLaunch) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_102().applicationLaunch) >= 8 ); + +C_ASSERT( sizeof(VREvent_Data_t_101) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_101, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_101, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_101, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_101, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_101, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_101, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_101, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_101, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_101, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_101, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_101, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_101, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_101, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_101, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().seatedZeroPoseReset) >= 1 ); +C_ASSERT( offsetof(VREvent_Data_t_101, screenshot) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_101().screenshot) >= 8 ); + +C_ASSERT( sizeof(VREvent_Data_t_0918) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().touchPadMove) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_0918, seatedZeroPoseReset) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0918().seatedZeroPoseReset) >= 1 ); + +C_ASSERT( sizeof(VREvent_Data_t_0915) >= 24 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, scroll) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().scroll) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().performanceTest) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0915, touchPadMove) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0915().touchPadMove) >= 24 ); + +C_ASSERT( sizeof(VREvent_Data_t_0914) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().chaperone) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0914, performanceTest) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0914().performanceTest) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_0912) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().process) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().keyboard) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, ipd) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().ipd) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0912, chaperone) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0912().chaperone) >= 16 ); + +C_ASSERT( sizeof(VREvent_Data_t_0910) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().process) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().status) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_0910, keyboard) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_0910().keyboard) >= 16 ); + +C_ASSERT( sizeof(VREvent_Data_t_097) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_097, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_097, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_097, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_097, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().process) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_097, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_097, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().overlay) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_097, status) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_097().status) >= 4 ); + +C_ASSERT( sizeof(VREvent_Data_t_093) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_093, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_093, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_093, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_093, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().process) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_093, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().notification) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_093, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_093().overlay) >= 8 ); + +C_ASSERT( sizeof(VREvent_Data_t_092) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_092, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_092, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_092, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_092, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().process) >= 8 ); +C_ASSERT( offsetof(VREvent_Data_t_092, notification) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().notification) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_092, overlay) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_092().overlay) >= 8 ); + +C_ASSERT( sizeof(VREvent_Data_t_090) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_090, reserved) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_090().reserved) >= 16 ); +C_ASSERT( offsetof(VREvent_Data_t_090, controller) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_090().controller) >= 4 ); +C_ASSERT( offsetof(VREvent_Data_t_090, mouse) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_090().mouse) >= 12 ); +C_ASSERT( offsetof(VREvent_Data_t_090, process) == 0 ); +C_ASSERT( sizeof(VREvent_Data_t_090().process) >= 8 ); + +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_Data_t) >= 16 ); +C_ASSERT( offsetof(VROverlayIntersectionMaskPrimitive_Data_t, m_Rectangle) == 0 ); +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_Data_t().m_Rectangle) >= 16 ); +C_ASSERT( offsetof(VROverlayIntersectionMaskPrimitive_Data_t, m_Circle) == 0 ); +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_Data_t().m_Circle) >= 12 ); + +C_ASSERT( sizeof(VRTextureBounds_t) >= 16 ); +C_ASSERT( offsetof(VRTextureBounds_t, uMin) == 0 ); +C_ASSERT( sizeof(VRTextureBounds_t().uMin) >= 4 ); +C_ASSERT( offsetof(VRTextureBounds_t, vMin) == 4 ); +C_ASSERT( sizeof(VRTextureBounds_t().vMin) >= 4 ); +C_ASSERT( offsetof(VRTextureBounds_t, uMax) == 8 ); +C_ASSERT( sizeof(VRTextureBounds_t().uMax) >= 4 ); +C_ASSERT( offsetof(VRTextureBounds_t, vMax) == 12 ); +C_ASSERT( sizeof(VRTextureBounds_t().vMax) >= 4 ); + +C_ASSERT( sizeof(ChaperoneSeatedBoundsInfo_t) >= 36 ); +C_ASSERT( offsetof(ChaperoneSeatedBoundsInfo_t, vSeatedHeadPosition) == 0 ); +C_ASSERT( sizeof(ChaperoneSeatedBoundsInfo_t().vSeatedHeadPosition) >= 12 ); +C_ASSERT( offsetof(ChaperoneSeatedBoundsInfo_t, vDeskEdgePositions) == 12 ); +C_ASSERT( sizeof(ChaperoneSeatedBoundsInfo_t().vDeskEdgePositions) >= 24 ); + +C_ASSERT( sizeof(ChaperoneSoftBoundsInfo_t) >= 48 ); +C_ASSERT( offsetof(ChaperoneSoftBoundsInfo_t, quadCorners) == 0 ); +C_ASSERT( sizeof(ChaperoneSoftBoundsInfo_t().quadCorners) >= 48 ); + +C_ASSERT( sizeof(Compositor_BenchmarkResults) >= 8 ); +C_ASSERT( offsetof(Compositor_BenchmarkResults, m_flMegaPixelsPerSecond) == 0 ); +C_ASSERT( sizeof(Compositor_BenchmarkResults().m_flMegaPixelsPerSecond) >= 4 ); +C_ASSERT( offsetof(Compositor_BenchmarkResults, m_flHmdRecommendedMegaPixelsPerSecond) == 4 ); +C_ASSERT( sizeof(Compositor_BenchmarkResults().m_flHmdRecommendedMegaPixelsPerSecond) >= 4 ); + +C_ASSERT( sizeof(Compositor_CumulativeStats_1267) >= 112 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nPid) == 0 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nPid) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFramePresents) == 4 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumDroppedFrames) == 8 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumReprojectedFrames) == 12 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumReprojectedFrames) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFramePresentsOnStartup) == 16 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFramePresentsOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumDroppedFramesOnStartup) == 20 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumDroppedFramesOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumReprojectedFramesOnStartup) == 24 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumReprojectedFramesOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumLoading) == 28 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFramePresentsLoading) == 32 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFramePresentsLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumDroppedFramesLoading) == 36 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumDroppedFramesLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumReprojectedFramesLoading) == 40 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumReprojectedFramesLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumTimedOut) == 44 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFramePresentsTimedOut) == 48 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFramePresentsTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumDroppedFramesTimedOut) == 52 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumDroppedFramesTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumReprojectedFramesTimedOut) == 56 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumReprojectedFramesTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFrameSubmits) == 60 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFrameSubmits) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_flSumCompositorCPUTimeMS) == 64 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_flSumCompositorCPUTimeMS) >= 8 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_flSumCompositorGPUTimeMS) == 72 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_flSumCompositorGPUTimeMS) >= 8 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_flSumTargetFrameTimes) == 80 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_flSumTargetFrameTimes) >= 8 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_flSumApplicationCPUTimeMS) == 88 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_flSumApplicationCPUTimeMS) >= 8 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_flSumApplicationGPUTimeMS) == 96 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_flSumApplicationGPUTimeMS) >= 8 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_1267, m_nNumFramesWithDepth) == 104 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_1267().m_nNumFramesWithDepth) >= 4 ); + +C_ASSERT( sizeof(Compositor_CumulativeStats_100) >= 60 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nPid) == 0 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nPid) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumFramePresents) == 4 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumDroppedFrames) == 8 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumReprojectedFrames) == 12 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumReprojectedFrames) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumFramePresentsOnStartup) == 16 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumFramePresentsOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumDroppedFramesOnStartup) == 20 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumDroppedFramesOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumReprojectedFramesOnStartup) == 24 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumReprojectedFramesOnStartup) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumLoading) == 28 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumFramePresentsLoading) == 32 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumFramePresentsLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumDroppedFramesLoading) == 36 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumDroppedFramesLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumReprojectedFramesLoading) == 40 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumReprojectedFramesLoading) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumTimedOut) == 44 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumFramePresentsTimedOut) == 48 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumFramePresentsTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumDroppedFramesTimedOut) == 52 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumDroppedFramesTimedOut) >= 4 ); +C_ASSERT( offsetof(Compositor_CumulativeStats_100, m_nNumReprojectedFramesTimedOut) == 56 ); +C_ASSERT( sizeof(Compositor_CumulativeStats_100().m_nNumReprojectedFramesTimedOut) >= 4 ); + +C_ASSERT( sizeof(Compositor_OverlaySettings) >= 112 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, size) == 0 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().size) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, curved) == 4 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().curved) >= 1 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, antialias) == 5 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().antialias) >= 1 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, scale) == 8 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().scale) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, distance) == 12 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().distance) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, alpha) == 16 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().alpha) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, uOffset) == 20 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().uOffset) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, vOffset) == 24 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().vOffset) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, uScale) == 28 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().uScale) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, vScale) == 32 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().vScale) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, gridDivs) == 36 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().gridDivs) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, gridWidth) == 40 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().gridWidth) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, gridScale) == 44 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().gridScale) >= 4 ); +C_ASSERT( offsetof(Compositor_OverlaySettings, transform) == 48 ); +C_ASSERT( sizeof(Compositor_OverlaySettings().transform) >= 64 ); + +C_ASSERT( sizeof(Compositor_StageRenderSettings) >= 48 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_PrimaryColor) == 0 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_PrimaryColor) >= 16 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_SecondaryColor) == 16 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_SecondaryColor) >= 16 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_flVignetteInnerRadius) == 32 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_flVignetteInnerRadius) >= 4 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_flVignetteOuterRadius) == 36 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_flVignetteOuterRadius) >= 4 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_flFresnelStrength) == 40 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_flFresnelStrength) >= 4 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_bBackfaceCulling) == 44 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_bBackfaceCulling) >= 1 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_bGreyscale) == 45 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_bGreyscale) >= 1 ); +C_ASSERT( offsetof(Compositor_StageRenderSettings, m_bWireframe) == 46 ); +C_ASSERT( sizeof(Compositor_StageRenderSettings().m_bWireframe) >= 1 ); + +C_ASSERT( sizeof(Compositor_TextureBounds) >= 16 ); +C_ASSERT( offsetof(Compositor_TextureBounds, uMin) == 0 ); +C_ASSERT( sizeof(Compositor_TextureBounds().uMin) >= 4 ); +C_ASSERT( offsetof(Compositor_TextureBounds, vMin) == 4 ); +C_ASSERT( sizeof(Compositor_TextureBounds().vMin) >= 4 ); +C_ASSERT( offsetof(Compositor_TextureBounds, uMax) == 8 ); +C_ASSERT( sizeof(Compositor_TextureBounds().uMax) >= 4 ); +C_ASSERT( offsetof(Compositor_TextureBounds, vMax) == 12 ); +C_ASSERT( sizeof(Compositor_TextureBounds().vMax) >= 4 ); + +C_ASSERT( sizeof(DistortionCoordinates_t) >= 24 ); +C_ASSERT( offsetof(DistortionCoordinates_t, rfRed) == 0 ); +C_ASSERT( sizeof(DistortionCoordinates_t().rfRed) >= 8 ); +C_ASSERT( offsetof(DistortionCoordinates_t, rfGreen) == 8 ); +C_ASSERT( sizeof(DistortionCoordinates_t().rfGreen) >= 8 ); +C_ASSERT( offsetof(DistortionCoordinates_t, rfBlue) == 16 ); +C_ASSERT( sizeof(DistortionCoordinates_t().rfBlue) >= 8 ); + +C_ASSERT( sizeof(DriverDirectMode_FrameTiming) >= 20 ); +C_ASSERT( offsetof(DriverDirectMode_FrameTiming, m_nSize) == 0 ); +C_ASSERT( sizeof(DriverDirectMode_FrameTiming().m_nSize) >= 4 ); +C_ASSERT( offsetof(DriverDirectMode_FrameTiming, m_nNumFramePresents) == 4 ); +C_ASSERT( sizeof(DriverDirectMode_FrameTiming().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(DriverDirectMode_FrameTiming, m_nNumMisPresented) == 8 ); +C_ASSERT( sizeof(DriverDirectMode_FrameTiming().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(DriverDirectMode_FrameTiming, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(DriverDirectMode_FrameTiming().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(DriverDirectMode_FrameTiming, m_nReprojectionFlags) == 16 ); +C_ASSERT( sizeof(DriverDirectMode_FrameTiming().m_nReprojectionFlags) >= 4 ); + +C_ASSERT( sizeof(HmdRect2_t) >= 16 ); +C_ASSERT( offsetof(HmdRect2_t, vTopLeft) == 0 ); +C_ASSERT( sizeof(HmdRect2_t().vTopLeft) >= 8 ); +C_ASSERT( offsetof(HmdRect2_t, vBottomRight) == 8 ); +C_ASSERT( sizeof(HmdRect2_t().vBottomRight) >= 8 ); + +C_ASSERT( sizeof(ImuSample_t) >= 64 ); +C_ASSERT( offsetof(ImuSample_t, fSampleTime) == 0 ); +C_ASSERT( sizeof(ImuSample_t().fSampleTime) >= 8 ); +C_ASSERT( offsetof(ImuSample_t, vAccel) == 8 ); +C_ASSERT( sizeof(ImuSample_t().vAccel) >= 24 ); +C_ASSERT( offsetof(ImuSample_t, vGyro) == 32 ); +C_ASSERT( sizeof(ImuSample_t().vGyro) >= 24 ); +C_ASSERT( offsetof(ImuSample_t, unOffScaleFlags) == 56 ); +C_ASSERT( sizeof(ImuSample_t().unOffScaleFlags) >= 4 ); + +C_ASSERT( sizeof(InputBindingInfo_t_11030) >= 544 ); +C_ASSERT( offsetof(InputBindingInfo_t_11030, rchDevicePathName) == 0 ); +C_ASSERT( sizeof(InputBindingInfo_t_11030().rchDevicePathName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_11030, rchInputPathName) == 128 ); +C_ASSERT( sizeof(InputBindingInfo_t_11030().rchInputPathName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_11030, rchModeName) == 256 ); +C_ASSERT( sizeof(InputBindingInfo_t_11030().rchModeName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_11030, rchSlotName) == 384 ); +C_ASSERT( sizeof(InputBindingInfo_t_11030().rchSlotName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_11030, rchInputSourceType) == 512 ); +C_ASSERT( sizeof(InputBindingInfo_t_11030().rchInputSourceType) >= 32 ); + +C_ASSERT( sizeof(InputBindingInfo_t_1517) >= 512 ); +C_ASSERT( offsetof(InputBindingInfo_t_1517, rchDevicePathName) == 0 ); +C_ASSERT( sizeof(InputBindingInfo_t_1517().rchDevicePathName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_1517, rchInputPathName) == 128 ); +C_ASSERT( sizeof(InputBindingInfo_t_1517().rchInputPathName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_1517, rchModeName) == 256 ); +C_ASSERT( sizeof(InputBindingInfo_t_1517().rchModeName) >= 128 ); +C_ASSERT( offsetof(InputBindingInfo_t_1517, rchSlotName) == 384 ); +C_ASSERT( sizeof(InputBindingInfo_t_1517().rchSlotName) >= 128 ); + +C_ASSERT( sizeof(NotificationItem) >= 4 ); +C_ASSERT( offsetof(NotificationItem, notificationId) == 0 ); +C_ASSERT( sizeof(NotificationItem().notificationId) >= 4 ); + +C_ASSERT( sizeof(RenderModel_ComponentState_t) >= 100 ); +C_ASSERT( offsetof(RenderModel_ComponentState_t, mTrackingToComponentRenderModel) == 0 ); +C_ASSERT( sizeof(RenderModel_ComponentState_t().mTrackingToComponentRenderModel) >= 48 ); +C_ASSERT( offsetof(RenderModel_ComponentState_t, mTrackingToComponentLocal) == 48 ); +C_ASSERT( sizeof(RenderModel_ComponentState_t().mTrackingToComponentLocal) >= 48 ); +C_ASSERT( offsetof(RenderModel_ComponentState_t, uProperties) == 96 ); +C_ASSERT( sizeof(RenderModel_ComponentState_t().uProperties) >= 4 ); + +C_ASSERT( sizeof(RenderModel_ControllerMode_State_t) >= 1 ); +C_ASSERT( offsetof(RenderModel_ControllerMode_State_t, bScrollWheelVisible) == 0 ); +C_ASSERT( sizeof(RenderModel_ControllerMode_State_t().bScrollWheelVisible) >= 1 ); + +C_ASSERT( sizeof(RenderModel_Vertex_t) >= 32 ); +C_ASSERT( offsetof(RenderModel_Vertex_t, vPosition) == 0 ); +C_ASSERT( sizeof(RenderModel_Vertex_t().vPosition) >= 12 ); +C_ASSERT( offsetof(RenderModel_Vertex_t, vNormal) == 12 ); +C_ASSERT( sizeof(RenderModel_Vertex_t().vNormal) >= 12 ); +C_ASSERT( offsetof(RenderModel_Vertex_t, rfTextureCoord) == 24 ); +C_ASSERT( sizeof(RenderModel_Vertex_t().rfTextureCoord) >= 8 ); + +C_ASSERT( sizeof(SpatialAnchorPose_t) >= 48 ); +C_ASSERT( offsetof(SpatialAnchorPose_t, mAnchorToAbsoluteTracking) == 0 ); +C_ASSERT( sizeof(SpatialAnchorPose_t().mAnchorToAbsoluteTracking) >= 48 ); + +C_ASSERT( sizeof(VRActiveActionSet_t_1016) >= 32 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1016, ulActionSet) == 0 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1016().ulActionSet) >= 8 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1016, ulRestrictedToDevice) == 8 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1016().ulRestrictedToDevice) >= 8 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1016, ulSecondaryActionSet) == 16 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1016().ulSecondaryActionSet) >= 8 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1016, unPadding) == 24 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1016().unPadding) >= 4 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1016, nPriority) == 28 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1016().nPriority) >= 4 ); + +C_ASSERT( sizeof(VRActiveActionSet_t_1015) >= 24 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1015, ulActionSet) == 0 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1015().ulActionSet) >= 8 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1015, ulRestrictedToDevice) == 8 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1015().ulRestrictedToDevice) >= 8 ); +C_ASSERT( offsetof(VRActiveActionSet_t_1015, ulSecondaryActionSet) == 16 ); +C_ASSERT( sizeof(VRActiveActionSet_t_1015().ulSecondaryActionSet) >= 8 ); + +C_ASSERT( sizeof(VRBoneTransform_t) >= 32 ); +C_ASSERT( offsetof(VRBoneTransform_t, position) == 0 ); +C_ASSERT( sizeof(VRBoneTransform_t().position) >= 16 ); +C_ASSERT( offsetof(VRBoneTransform_t, orientation) == 16 ); +C_ASSERT( sizeof(VRBoneTransform_t().orientation) >= 16 ); + +C_ASSERT( sizeof(VRControllerAxis_t) >= 8 ); +C_ASSERT( offsetof(VRControllerAxis_t, x) == 0 ); +C_ASSERT( sizeof(VRControllerAxis_t().x) >= 4 ); +C_ASSERT( offsetof(VRControllerAxis_t, y) == 4 ); +C_ASSERT( sizeof(VRControllerAxis_t().y) >= 4 ); + +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_t) >= 20 ); +C_ASSERT( offsetof(VROverlayIntersectionMaskPrimitive_t, m_nPrimitiveType) == 0 ); +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_t().m_nPrimitiveType) >= 4 ); +C_ASSERT( offsetof(VROverlayIntersectionMaskPrimitive_t, m_Primitive) == 4 ); +C_ASSERT( sizeof(VROverlayIntersectionMaskPrimitive_t().m_Primitive) >= 16 ); + +C_ASSERT( sizeof(VROverlayIntersectionParams_t) >= 28 ); +C_ASSERT( offsetof(VROverlayIntersectionParams_t, vSource) == 0 ); +C_ASSERT( sizeof(VROverlayIntersectionParams_t().vSource) >= 12 ); +C_ASSERT( offsetof(VROverlayIntersectionParams_t, vDirection) == 12 ); +C_ASSERT( sizeof(VROverlayIntersectionParams_t().vDirection) >= 12 ); +C_ASSERT( offsetof(VROverlayIntersectionParams_t, eOrigin) == 24 ); +C_ASSERT( sizeof(VROverlayIntersectionParams_t().eOrigin) >= 4 ); + +C_ASSERT( sizeof(VROverlayIntersectionResults_t) >= 36 ); +C_ASSERT( offsetof(VROverlayIntersectionResults_t, vPoint) == 0 ); +C_ASSERT( sizeof(VROverlayIntersectionResults_t().vPoint) >= 12 ); +C_ASSERT( offsetof(VROverlayIntersectionResults_t, vNormal) == 12 ); +C_ASSERT( sizeof(VROverlayIntersectionResults_t().vNormal) >= 12 ); +C_ASSERT( offsetof(VROverlayIntersectionResults_t, vUVs) == 24 ); +C_ASSERT( sizeof(VROverlayIntersectionResults_t().vUVs) >= 8 ); +C_ASSERT( offsetof(VROverlayIntersectionResults_t, fDistance) == 32 ); +C_ASSERT( sizeof(VROverlayIntersectionResults_t().fDistance) >= 4 ); + +C_ASSERT( sizeof(VROverlayProjection_t) >= 16 ); +C_ASSERT( offsetof(VROverlayProjection_t, fLeft) == 0 ); +C_ASSERT( sizeof(VROverlayProjection_t().fLeft) >= 4 ); +C_ASSERT( offsetof(VROverlayProjection_t, fRight) == 4 ); +C_ASSERT( sizeof(VROverlayProjection_t().fRight) >= 4 ); +C_ASSERT( offsetof(VROverlayProjection_t, fTop) == 8 ); +C_ASSERT( sizeof(VROverlayProjection_t().fTop) >= 4 ); +C_ASSERT( offsetof(VROverlayProjection_t, fBottom) == 12 ); +C_ASSERT( sizeof(VROverlayProjection_t().fBottom) >= 4 ); + +C_ASSERT( sizeof(VRSkeletalSummaryData_t) >= 36 ); +C_ASSERT( offsetof(VRSkeletalSummaryData_t, flFingerCurl) == 0 ); +C_ASSERT( sizeof(VRSkeletalSummaryData_t().flFingerCurl) >= 20 ); +C_ASSERT( offsetof(VRSkeletalSummaryData_t, flFingerSplay) == 20 ); +C_ASSERT( sizeof(VRSkeletalSummaryData_t().flFingerSplay) >= 16 ); + +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237) >= 24 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_1237, unWidth) == 0 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237().unWidth) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_1237, unHeight) == 2 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237().unHeight) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_1237, rubTextureMapData) == 8 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237().rubTextureMapData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_1237, format) == 16 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237().format) >= 4 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_1237, unMipLevels) == 20 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_1237().unMipLevels) >= 2 ); + +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237) >= 20 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_1237, unWidth) == 0 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237().unWidth) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_1237, unHeight) == 2 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237().unHeight) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_1237, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237().rubTextureMapData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_1237, format) == 12 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237().format) >= 4 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_1237, unMipLevels) == 16 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_1237().unMipLevels) >= 2 ); + +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237) >= 16 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_1237, unWidth) == 0 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237().unWidth) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_1237, unHeight) == 2 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237().unHeight) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_1237, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237().rubTextureMapData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_1237, format) == 8 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237().format) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_1237, unMipLevels) == 12 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_1237().unMipLevels) >= 2 ); + +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237) >= 16 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_1237, unWidth) == 0 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237().unWidth) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_1237, unHeight) == 2 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237().unHeight) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_1237, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237().rubTextureMapData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_1237, format) == 8 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237().format) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_1237, unMipLevels) == 12 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_1237().unMipLevels) >= 2 ); + +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_11111) >= 24 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_11111, unWidth) == 0 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_11111().unWidth) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_11111, unHeight) == 2 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_11111().unHeight) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_11111, rubTextureMapData) == 8 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_11111().rubTextureMapData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_11111, format) == 16 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_11111().format) >= 4 ); + +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_11111) >= 16 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_11111, unWidth) == 0 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_11111().unWidth) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_11111, unHeight) == 2 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_11111().unHeight) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_11111, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_11111().rubTextureMapData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_11111, format) == 12 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_11111().format) >= 4 ); + +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_11111) >= 12 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_11111, unWidth) == 0 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_11111().unWidth) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_11111, unHeight) == 2 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_11111().unHeight) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_11111, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_11111().rubTextureMapData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_11111, format) == 8 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_11111().format) >= 4 ); + +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_11111) >= 12 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_11111, unWidth) == 0 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_11111().unWidth) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_11111, unHeight) == 2 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_11111().unHeight) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_11111, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_11111().rubTextureMapData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_11111, format) == 8 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_11111().format) >= 4 ); + +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_090) >= 16 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_090, unWidth) == 0 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_090().unWidth) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_090, unHeight) == 2 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_090().unHeight) >= 2 ); +C_ASSERT( offsetof(w64_RenderModel_TextureMap_t_090, rubTextureMapData) == 8 ); +C_ASSERT( sizeof(w64_RenderModel_TextureMap_t_090().rubTextureMapData) >= 8 ); + +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_090) >= 12 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_090, unWidth) == 0 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_090().unWidth) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_090, unHeight) == 2 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_090().unHeight) >= 2 ); +C_ASSERT( offsetof(u64_RenderModel_TextureMap_t_090, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u64_RenderModel_TextureMap_t_090().rubTextureMapData) >= 8 ); + +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_090) >= 8 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_090, unWidth) == 0 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_090().unWidth) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_090, unHeight) == 2 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_090().unHeight) >= 2 ); +C_ASSERT( offsetof(w32_RenderModel_TextureMap_t_090, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(w32_RenderModel_TextureMap_t_090().rubTextureMapData) >= 4 ); + +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_090) >= 8 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_090, unWidth) == 0 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_090().unWidth) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_090, unHeight) == 2 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_090().unHeight) >= 2 ); +C_ASSERT( offsetof(u32_RenderModel_TextureMap_t_090, rubTextureMapData) == 4 ); +C_ASSERT( sizeof(u32_RenderModel_TextureMap_t_090().rubTextureMapData) >= 4 ); + +#ifdef __x86_64__ +w64_RenderModel_TextureMap_t_1237::operator u64_RenderModel_TextureMap_t_1237() const +{ + u64_RenderModel_TextureMap_t_1237 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + ret.format = this->format; + ret.unMipLevels = this->unMipLevels; + return ret; +} + +u64_RenderModel_TextureMap_t_1237::operator w64_RenderModel_TextureMap_t_1237() const +{ + w64_RenderModel_TextureMap_t_1237 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + ret.format = this->format; + ret.unMipLevels = this->unMipLevels; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RenderModel_TextureMap_t_11111::operator u64_RenderModel_TextureMap_t_11111() const +{ + u64_RenderModel_TextureMap_t_11111 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + ret.format = this->format; + return ret; +} + +u64_RenderModel_TextureMap_t_11111::operator w64_RenderModel_TextureMap_t_11111() const +{ + w64_RenderModel_TextureMap_t_11111 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + ret.format = this->format; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RenderModel_TextureMap_t_090::operator u64_RenderModel_TextureMap_t_090() const +{ + u64_RenderModel_TextureMap_t_090 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + return ret; +} + +u64_RenderModel_TextureMap_t_090::operator w64_RenderModel_TextureMap_t_090() const +{ + w64_RenderModel_TextureMap_t_090 ret; + ret.unWidth = this->unWidth; + ret.unHeight = this->unHeight; + ret.rubTextureMapData = this->rubTextureMapData; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_Texture_t) >= 16 ); +C_ASSERT( offsetof(w64_Texture_t, handle) == 0 ); +C_ASSERT( sizeof(w64_Texture_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_Texture_t, eType) == 8 ); +C_ASSERT( sizeof(w64_Texture_t().eType) >= 4 ); +C_ASSERT( offsetof(w64_Texture_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(w64_Texture_t().eColorSpace) >= 4 ); + +C_ASSERT( sizeof(u64_Texture_t) >= 16 ); +C_ASSERT( offsetof(u64_Texture_t, handle) == 0 ); +C_ASSERT( sizeof(u64_Texture_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_Texture_t, eType) == 8 ); +C_ASSERT( sizeof(u64_Texture_t().eType) >= 4 ); +C_ASSERT( offsetof(u64_Texture_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(u64_Texture_t().eColorSpace) >= 4 ); + +C_ASSERT( sizeof(w32_Texture_t) >= 12 ); +C_ASSERT( offsetof(w32_Texture_t, handle) == 0 ); +C_ASSERT( sizeof(w32_Texture_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_Texture_t, eType) == 4 ); +C_ASSERT( sizeof(w32_Texture_t().eType) >= 4 ); +C_ASSERT( offsetof(w32_Texture_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(w32_Texture_t().eColorSpace) >= 4 ); + +C_ASSERT( sizeof(u32_Texture_t) >= 12 ); +C_ASSERT( offsetof(u32_Texture_t, handle) == 0 ); +C_ASSERT( sizeof(u32_Texture_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_Texture_t, eType) == 4 ); +C_ASSERT( sizeof(u32_Texture_t().eType) >= 4 ); +C_ASSERT( offsetof(u32_Texture_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(u32_Texture_t().eColorSpace) >= 4 ); + +C_ASSERT( sizeof(w64_VRTextureDepthInfo_t) >= 80 ); +C_ASSERT( offsetof(w64_VRTextureDepthInfo_t, handle) == 0 ); +C_ASSERT( sizeof(w64_VRTextureDepthInfo_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_VRTextureDepthInfo_t, mProjection) == 8 ); +C_ASSERT( sizeof(w64_VRTextureDepthInfo_t().mProjection) >= 64 ); +C_ASSERT( offsetof(w64_VRTextureDepthInfo_t, vRange) == 72 ); +C_ASSERT( sizeof(w64_VRTextureDepthInfo_t().vRange) >= 8 ); + +C_ASSERT( sizeof(u64_VRTextureDepthInfo_t) >= 80 ); +C_ASSERT( offsetof(u64_VRTextureDepthInfo_t, handle) == 0 ); +C_ASSERT( sizeof(u64_VRTextureDepthInfo_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_VRTextureDepthInfo_t, mProjection) == 8 ); +C_ASSERT( sizeof(u64_VRTextureDepthInfo_t().mProjection) >= 64 ); +C_ASSERT( offsetof(u64_VRTextureDepthInfo_t, vRange) == 72 ); +C_ASSERT( sizeof(u64_VRTextureDepthInfo_t().vRange) >= 8 ); + +C_ASSERT( sizeof(w32_VRTextureDepthInfo_t) >= 76 ); +C_ASSERT( offsetof(w32_VRTextureDepthInfo_t, handle) == 0 ); +C_ASSERT( sizeof(w32_VRTextureDepthInfo_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureDepthInfo_t, mProjection) == 4 ); +C_ASSERT( sizeof(w32_VRTextureDepthInfo_t().mProjection) >= 64 ); +C_ASSERT( offsetof(w32_VRTextureDepthInfo_t, vRange) == 68 ); +C_ASSERT( sizeof(w32_VRTextureDepthInfo_t().vRange) >= 8 ); + +C_ASSERT( sizeof(u32_VRTextureDepthInfo_t) >= 76 ); +C_ASSERT( offsetof(u32_VRTextureDepthInfo_t, handle) == 0 ); +C_ASSERT( sizeof(u32_VRTextureDepthInfo_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureDepthInfo_t, mProjection) == 4 ); +C_ASSERT( sizeof(u32_VRTextureDepthInfo_t().mProjection) >= 64 ); +C_ASSERT( offsetof(u32_VRTextureDepthInfo_t, vRange) == 68 ); +C_ASSERT( sizeof(u32_VRTextureDepthInfo_t().vRange) >= 8 ); + +C_ASSERT( sizeof(w64_AppOverrideKeys_t) >= 16 ); +C_ASSERT( offsetof(w64_AppOverrideKeys_t, pchKey) == 0 ); +C_ASSERT( sizeof(w64_AppOverrideKeys_t().pchKey) >= 8 ); +C_ASSERT( offsetof(w64_AppOverrideKeys_t, pchValue) == 8 ); +C_ASSERT( sizeof(w64_AppOverrideKeys_t().pchValue) >= 8 ); + +C_ASSERT( sizeof(u64_AppOverrideKeys_t) >= 16 ); +C_ASSERT( offsetof(u64_AppOverrideKeys_t, pchKey) == 0 ); +C_ASSERT( sizeof(u64_AppOverrideKeys_t().pchKey) >= 8 ); +C_ASSERT( offsetof(u64_AppOverrideKeys_t, pchValue) == 8 ); +C_ASSERT( sizeof(u64_AppOverrideKeys_t().pchValue) >= 8 ); + +C_ASSERT( sizeof(w32_AppOverrideKeys_t) >= 8 ); +C_ASSERT( offsetof(w32_AppOverrideKeys_t, pchKey) == 0 ); +C_ASSERT( sizeof(w32_AppOverrideKeys_t().pchKey) >= 4 ); +C_ASSERT( offsetof(w32_AppOverrideKeys_t, pchValue) == 4 ); +C_ASSERT( sizeof(w32_AppOverrideKeys_t().pchValue) >= 4 ); + +C_ASSERT( sizeof(u32_AppOverrideKeys_t) >= 8 ); +C_ASSERT( offsetof(u32_AppOverrideKeys_t, pchKey) == 0 ); +C_ASSERT( sizeof(u32_AppOverrideKeys_t().pchKey) >= 4 ); +C_ASSERT( offsetof(u32_AppOverrideKeys_t, pchValue) == 4 ); +C_ASSERT( sizeof(u32_AppOverrideKeys_t().pchValue) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_11030) >= 160 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRHeadsetView) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRHeadsetView) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVROverlay) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVROverlayView) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVROverlayView) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRResources) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRRenderModels) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRExtendedDisplay) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRSettings) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRApplications) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRTrackedCamera) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRScreenshots) == 104 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRDriverManager) == 112 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRInput) == 120 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRIOBuffer) == 128 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRSpatialAnchors) == 136 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRDebug) == 144 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRDebug) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_11030, m_pVRNotifications) == 152 ); +C_ASSERT( sizeof(w64_COpenVRContext_11030().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_11030) >= 160 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRHeadsetView) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRHeadsetView) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVROverlay) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVROverlayView) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVROverlayView) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRResources) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRRenderModels) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRExtendedDisplay) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRSettings) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRApplications) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRTrackedCamera) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRScreenshots) == 104 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRDriverManager) == 112 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRInput) == 120 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRIOBuffer) == 128 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRSpatialAnchors) == 136 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRDebug) == 144 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRDebug) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_11030, m_pVRNotifications) == 152 ); +C_ASSERT( sizeof(u64_COpenVRContext_11030().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_11030) >= 80 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRHeadsetView) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRHeadsetView) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVROverlay) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVROverlayView) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVROverlayView) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRResources) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRRenderModels) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRExtendedDisplay) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRSettings) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRApplications) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRTrackedCamera) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRScreenshots) == 52 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRDriverManager) == 56 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRInput) == 60 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRIOBuffer) == 64 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRSpatialAnchors) == 68 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRDebug) == 72 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRDebug) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_11030, m_pVRNotifications) == 76 ); +C_ASSERT( sizeof(w32_COpenVRContext_11030().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_11030) >= 80 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRHeadsetView) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRHeadsetView) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVROverlay) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVROverlayView) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVROverlayView) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRResources) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRRenderModels) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRExtendedDisplay) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRSettings) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRApplications) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRTrackedCamera) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRScreenshots) == 52 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRDriverManager) == 56 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRInput) == 60 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRIOBuffer) == 64 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRSpatialAnchors) == 68 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRDebug) == 72 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRDebug) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_11030, m_pVRNotifications) == 76 ); +C_ASSERT( sizeof(u32_COpenVRContext_11030().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_1517) >= 144 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRInput) == 104 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRDebug) == 128 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRDebug) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1517, m_pVRNotifications) == 136 ); +C_ASSERT( sizeof(w64_COpenVRContext_1517().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_1517) >= 144 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRInput) == 104 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRDebug) == 128 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRDebug) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1517, m_pVRNotifications) == 136 ); +C_ASSERT( sizeof(u64_COpenVRContext_1517().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_1517) >= 72 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRInput) == 52 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRDebug) == 64 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRDebug) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1517, m_pVRNotifications) == 68 ); +C_ASSERT( sizeof(w32_COpenVRContext_1517().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_1517) >= 72 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRInput) == 52 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRDebug) == 64 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRDebug) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1517, m_pVRNotifications) == 68 ); +C_ASSERT( sizeof(u32_COpenVRContext_1517().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_1210) >= 136 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRInput) == 104 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1210, m_pVRNotifications) == 128 ); +C_ASSERT( sizeof(w64_COpenVRContext_1210().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_1210) >= 136 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRInput) == 104 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRSpatialAnchors) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1210, m_pVRNotifications) == 128 ); +C_ASSERT( sizeof(u64_COpenVRContext_1210().m_pVRNotifications) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_1210) >= 68 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRInput) == 52 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1210, m_pVRNotifications) == 64 ); +C_ASSERT( sizeof(w32_COpenVRContext_1210().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_1210) >= 68 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRInput) == 52 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRSpatialAnchors) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1210, m_pVRNotifications) == 64 ); +C_ASSERT( sizeof(u32_COpenVRContext_1210().m_pVRNotifications) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_1016) >= 128 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRInput) == 104 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1016, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(w64_COpenVRContext_1016().m_pVRSpatialAnchors) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_1016) >= 128 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRInput) == 104 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRIOBuffer) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1016, m_pVRSpatialAnchors) == 120 ); +C_ASSERT( sizeof(u64_COpenVRContext_1016().m_pVRSpatialAnchors) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_1016) >= 64 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRInput) == 52 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1016, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(w32_COpenVRContext_1016().m_pVRSpatialAnchors) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_1016) >= 64 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRInput) == 52 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRIOBuffer) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1016, m_pVRSpatialAnchors) == 60 ); +C_ASSERT( sizeof(u32_COpenVRContext_1016().m_pVRSpatialAnchors) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_1015) >= 120 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRInput) == 104 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_1015, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(w64_COpenVRContext_1015().m_pVRIOBuffer) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_1015) >= 120 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRDriverManager) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRInput) == 104 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRInput) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_1015, m_pVRIOBuffer) == 112 ); +C_ASSERT( sizeof(u64_COpenVRContext_1015().m_pVRIOBuffer) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_1015) >= 60 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRInput) == 52 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_1015, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(w32_COpenVRContext_1015().m_pVRIOBuffer) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_1015) >= 60 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRDriverManager) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRInput) == 52 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRInput) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_1015, m_pVRIOBuffer) == 56 ); +C_ASSERT( sizeof(u32_COpenVRContext_1015().m_pVRIOBuffer) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_108) >= 104 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_108, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(w64_COpenVRContext_108().m_pVRDriverManager) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_108) >= 104 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRScreenshots) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_108, m_pVRDriverManager) == 96 ); +C_ASSERT( sizeof(u64_COpenVRContext_108().m_pVRDriverManager) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_108) >= 52 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_108, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(w32_COpenVRContext_108().m_pVRDriverManager) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_108) >= 52 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRScreenshots) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_108, m_pVRDriverManager) == 48 ); +C_ASSERT( sizeof(u32_COpenVRContext_108().m_pVRDriverManager) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_102) >= 96 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRResources) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_102, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(w64_COpenVRContext_102().m_pVRScreenshots) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_102) >= 96 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRResources) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRResources) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRRenderModels) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRExtendedDisplay) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRSettings) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRApplications) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRTrackedCamera) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_102, m_pVRScreenshots) == 88 ); +C_ASSERT( sizeof(u64_COpenVRContext_102().m_pVRScreenshots) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_102) >= 48 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRResources) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_102, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(w32_COpenVRContext_102().m_pVRScreenshots) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_102) >= 48 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRResources) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRResources) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRRenderModels) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRExtendedDisplay) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRSettings) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRApplications) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRTrackedCamera) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_102, m_pVRScreenshots) == 44 ); +C_ASSERT( sizeof(u32_COpenVRContext_102().m_pVRScreenshots) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_101) >= 88 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRTrackedCamera) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_101, m_pVRScreenshots) == 80 ); +C_ASSERT( sizeof(w64_COpenVRContext_101().m_pVRScreenshots) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_101) >= 88 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRTrackedCamera) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRTrackedCamera) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_101, m_pVRScreenshots) == 80 ); +C_ASSERT( sizeof(u64_COpenVRContext_101().m_pVRScreenshots) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_101) >= 44 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRTrackedCamera) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_101, m_pVRScreenshots) == 40 ); +C_ASSERT( sizeof(w32_COpenVRContext_101().m_pVRScreenshots) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_101) >= 44 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRTrackedCamera) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRTrackedCamera) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_101, m_pVRScreenshots) == 40 ); +C_ASSERT( sizeof(u32_COpenVRContext_101().m_pVRScreenshots) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_100) >= 80 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_100, m_pVRTrackedCamera) == 72 ); +C_ASSERT( sizeof(w64_COpenVRContext_100().m_pVRTrackedCamera) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_100) >= 80 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRApplications) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_100, m_pVRTrackedCamera) == 72 ); +C_ASSERT( sizeof(u64_COpenVRContext_100().m_pVRTrackedCamera) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_100) >= 40 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_100, m_pVRTrackedCamera) == 36 ); +C_ASSERT( sizeof(w32_COpenVRContext_100().m_pVRTrackedCamera) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_100) >= 40 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRApplications) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_100, m_pVRTrackedCamera) == 36 ); +C_ASSERT( sizeof(u32_COpenVRContext_100().m_pVRTrackedCamera) >= 4 ); + +C_ASSERT( sizeof(w64_COpenVRContext_0917) >= 72 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(w64_COpenVRContext_0917, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(w64_COpenVRContext_0917().m_pVRApplications) >= 8 ); + +C_ASSERT( sizeof(u64_COpenVRContext_0917) >= 72 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRSystem) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRChaperone) == 8 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRChaperone) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRChaperoneSetup) == 16 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRChaperoneSetup) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRCompositor) == 24 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRCompositor) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVROverlay) == 32 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVROverlay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRRenderModels) == 40 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRRenderModels) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRExtendedDisplay) == 48 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRExtendedDisplay) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRSettings) == 56 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRSettings) >= 8 ); +C_ASSERT( offsetof(u64_COpenVRContext_0917, m_pVRApplications) == 64 ); +C_ASSERT( sizeof(u64_COpenVRContext_0917().m_pVRApplications) >= 8 ); + +C_ASSERT( sizeof(w32_COpenVRContext_0917) >= 36 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(w32_COpenVRContext_0917, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(w32_COpenVRContext_0917().m_pVRApplications) >= 4 ); + +C_ASSERT( sizeof(u32_COpenVRContext_0917) >= 36 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRSystem) == 0 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRSystem) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRChaperone) == 4 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRChaperone) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRChaperoneSetup) == 8 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRChaperoneSetup) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRCompositor) == 12 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRCompositor) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVROverlay) == 16 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVROverlay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRRenderModels) == 20 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRRenderModels) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRExtendedDisplay) == 24 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRExtendedDisplay) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRSettings) == 28 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRSettings) >= 4 ); +C_ASSERT( offsetof(u32_COpenVRContext_0917, m_pVRApplications) == 32 ); +C_ASSERT( sizeof(u32_COpenVRContext_0917().m_pVRApplications) >= 4 ); + +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017) >= 112 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, eFrameType) == 0 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().eFrameType) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, nWidth) == 4 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().nWidth) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, nHeight) == 8 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().nHeight) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, nFrameSequence) == 16 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, trackedDevicePose) == 20 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().trackedDevicePose) >= 80 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_1017, ulFrameExposureTime) == 104 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_1017().ulFrameExposureTime) >= 8 ); + +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017) >= 112 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, eFrameType) == 0 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().eFrameType) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, nWidth) == 4 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().nWidth) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, nHeight) == 8 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().nHeight) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, nFrameSequence) == 16 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, trackedDevicePose) == 20 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().trackedDevicePose) >= 80 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_1017, ulFrameExposureTime) == 104 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_1017().ulFrameExposureTime) >= 8 ); + +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017) >= 112 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, eFrameType) == 0 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().eFrameType) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, nWidth) == 4 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().nWidth) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, nHeight) == 8 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().nHeight) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, nFrameSequence) == 16 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, trackedDevicePose) == 20 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().trackedDevicePose) >= 80 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_1017, ulFrameExposureTime) == 104 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_1017().ulFrameExposureTime) >= 8 ); + +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017) >= 108 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, eFrameType) == 0 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().eFrameType) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, nWidth) == 4 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().nWidth) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, nHeight) == 8 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().nHeight) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, nFrameSequence) == 16 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, trackedDevicePose) == 20 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().trackedDevicePose) >= 80 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_1017, ulFrameExposureTime) == 100 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_1017().ulFrameExposureTime) >= 8 ); + +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100) >= 100 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, eFrameType) == 0 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().eFrameType) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, nWidth) == 4 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().nWidth) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, nHeight) == 8 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().nHeight) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, nFrameSequence) == 16 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrameHeader_t_100, standingTrackedDevicePose) == 20 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrameHeader_t_100().standingTrackedDevicePose) >= 80 ); + +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100) >= 100 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, eFrameType) == 0 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().eFrameType) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, nWidth) == 4 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().nWidth) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, nHeight) == 8 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().nHeight) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, nFrameSequence) == 16 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrameHeader_t_100, standingTrackedDevicePose) == 20 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrameHeader_t_100().standingTrackedDevicePose) >= 80 ); + +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100) >= 100 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, eFrameType) == 0 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().eFrameType) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, nWidth) == 4 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().nWidth) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, nHeight) == 8 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().nHeight) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, nFrameSequence) == 16 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrameHeader_t_100, standingTrackedDevicePose) == 20 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrameHeader_t_100().standingTrackedDevicePose) >= 80 ); + +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100) >= 100 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, eFrameType) == 0 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().eFrameType) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, nWidth) == 4 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().nWidth) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, nHeight) == 8 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().nHeight) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().nBytesPerPixel) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, nFrameSequence) == 16 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrameHeader_t_100, standingTrackedDevicePose) == 20 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrameHeader_t_100().standingTrackedDevicePose) >= 80 ); + +#ifdef __i386__ +w32_CameraVideoStreamFrameHeader_t_1017::operator u32_CameraVideoStreamFrameHeader_t_1017() const +{ + u32_CameraVideoStreamFrameHeader_t_1017 ret; + ret.eFrameType = this->eFrameType; + ret.nWidth = this->nWidth; + ret.nHeight = this->nHeight; + ret.nBytesPerPixel = this->nBytesPerPixel; + ret.nFrameSequence = this->nFrameSequence; + ret.trackedDevicePose = this->trackedDevicePose; + ret.ulFrameExposureTime = this->ulFrameExposureTime; + return ret; +} + +u32_CameraVideoStreamFrameHeader_t_1017::operator w32_CameraVideoStreamFrameHeader_t_1017() const +{ + w32_CameraVideoStreamFrameHeader_t_1017 ret; + ret.eFrameType = this->eFrameType; + ret.nWidth = this->nWidth; + ret.nHeight = this->nHeight; + ret.nBytesPerPixel = this->nBytesPerPixel; + ret.nFrameSequence = this->nFrameSequence; + ret.trackedDevicePose = this->trackedDevicePose; + ret.ulFrameExposureTime = this->ulFrameExposureTime; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914) >= 152 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nWidth) == 4 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nHeight) == 8 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nImageDataSize) == 12 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nFrameSequence) == 16 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nISPFrameTimeStamp) == 20 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nISPFrameTimeStamp) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nISPReferenceTimeStamp) == 24 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nISPReferenceTimeStamp) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nSyncCounter) == 28 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nSyncCounter) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nExposureTime) == 32 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nExposureTime) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nBufferIndex) == 36 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nBufferCount) == 40 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_flFrameElapsedTime) == 48 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_flFrameCaptureTime) == 56 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_nFrameCaptureTicks) == 64 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_nFrameCaptureTicks) >= 8 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_bPoseIsValid) == 72 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_matDeviceToAbsoluteTracking) == 76 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_Pad) == 124 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_Pad) >= 16 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0914, m_pImageData) == 144 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0914().m_pImageData) >= 8 ); + +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914) >= 144 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nWidth) == 4 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nHeight) == 8 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nImageDataSize) == 12 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nFrameSequence) == 16 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nISPFrameTimeStamp) == 20 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nISPFrameTimeStamp) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nISPReferenceTimeStamp) == 24 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nISPReferenceTimeStamp) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nSyncCounter) == 28 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nSyncCounter) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nExposureTime) == 32 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nExposureTime) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nBufferIndex) == 36 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nBufferCount) == 40 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_flFrameElapsedTime) == 44 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_flFrameCaptureTime) == 52 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_nFrameCaptureTicks) == 60 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_nFrameCaptureTicks) >= 8 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_bPoseIsValid) == 68 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_matDeviceToAbsoluteTracking) == 72 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_Pad) == 120 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_Pad) >= 16 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0914, m_pImageData) == 136 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0914().m_pImageData) >= 8 ); + +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914) >= 144 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nWidth) == 4 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nHeight) == 8 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nImageDataSize) == 12 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nFrameSequence) == 16 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nISPFrameTimeStamp) == 20 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nISPFrameTimeStamp) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nISPReferenceTimeStamp) == 24 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nISPReferenceTimeStamp) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nSyncCounter) == 28 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nSyncCounter) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nExposureTime) == 32 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nExposureTime) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nBufferIndex) == 36 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nBufferCount) == 40 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_flFrameElapsedTime) == 48 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_flFrameCaptureTime) == 56 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_nFrameCaptureTicks) == 64 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_nFrameCaptureTicks) >= 8 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_bPoseIsValid) == 72 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_matDeviceToAbsoluteTracking) == 76 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_Pad) == 124 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_Pad) >= 16 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0914, m_pImageData) == 140 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0914().m_pImageData) >= 4 ); + +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914) >= 140 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nWidth) == 4 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nHeight) == 8 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nImageDataSize) == 12 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nFrameSequence) == 16 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nISPFrameTimeStamp) == 20 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nISPFrameTimeStamp) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nISPReferenceTimeStamp) == 24 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nISPReferenceTimeStamp) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nSyncCounter) == 28 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nSyncCounter) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nExposureTime) == 32 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nExposureTime) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nBufferIndex) == 36 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nBufferCount) == 40 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_flFrameElapsedTime) == 44 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_flFrameCaptureTime) == 52 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_nFrameCaptureTicks) == 60 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_nFrameCaptureTicks) >= 8 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_bPoseIsValid) == 68 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_matDeviceToAbsoluteTracking) == 72 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_Pad) == 120 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_Pad) >= 16 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0914, m_pImageData) == 136 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0914().m_pImageData) >= 4 ); + +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912) >= 128 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nWidth) == 4 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nHeight) == 8 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nFrameSequence) == 12 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nTimeStamp) == 16 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nTimeStamp) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nBufferIndex) == 20 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nBufferCount) == 24 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_nImageDataSize) == 28 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_flFrameElapsedTime) == 32 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_flFrameCaptureTime) == 40 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_bPoseIsValid) == 48 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_matDeviceToAbsoluteTracking) == 52 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_Pad) == 100 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_Pad) >= 16 ); +C_ASSERT( offsetof(w64_CameraVideoStreamFrame_t_0912, m_pImageData) == 120 ); +C_ASSERT( sizeof(w64_CameraVideoStreamFrame_t_0912().m_pImageData) >= 8 ); + +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912) >= 124 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nWidth) == 4 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nHeight) == 8 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nFrameSequence) == 12 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nTimeStamp) == 16 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nTimeStamp) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nBufferIndex) == 20 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nBufferCount) == 24 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_nImageDataSize) == 28 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_flFrameElapsedTime) == 32 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_flFrameCaptureTime) == 40 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_bPoseIsValid) == 48 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_matDeviceToAbsoluteTracking) == 52 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_Pad) == 100 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_Pad) >= 16 ); +C_ASSERT( offsetof(u64_CameraVideoStreamFrame_t_0912, m_pImageData) == 116 ); +C_ASSERT( sizeof(u64_CameraVideoStreamFrame_t_0912().m_pImageData) >= 8 ); + +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912) >= 120 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nWidth) == 4 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nHeight) == 8 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nFrameSequence) == 12 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nTimeStamp) == 16 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nTimeStamp) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nBufferIndex) == 20 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nBufferCount) == 24 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_nImageDataSize) == 28 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_flFrameElapsedTime) == 32 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_flFrameCaptureTime) == 40 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_bPoseIsValid) == 48 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_matDeviceToAbsoluteTracking) == 52 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_Pad) == 100 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_Pad) >= 16 ); +C_ASSERT( offsetof(w32_CameraVideoStreamFrame_t_0912, m_pImageData) == 116 ); +C_ASSERT( sizeof(w32_CameraVideoStreamFrame_t_0912().m_pImageData) >= 4 ); + +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912) >= 120 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nStreamFormat) == 0 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nStreamFormat) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nWidth) == 4 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nHeight) == 8 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nFrameSequence) == 12 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nFrameSequence) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nTimeStamp) == 16 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nTimeStamp) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nBufferIndex) == 20 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nBufferIndex) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nBufferCount) == 24 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nBufferCount) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_nImageDataSize) == 28 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_nImageDataSize) >= 4 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_flFrameElapsedTime) == 32 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_flFrameElapsedTime) >= 8 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_flFrameCaptureTime) == 40 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_flFrameCaptureTime) >= 8 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_bPoseIsValid) == 48 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_bPoseIsValid) >= 1 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_matDeviceToAbsoluteTracking) == 52 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_matDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_Pad) == 100 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_Pad) >= 16 ); +C_ASSERT( offsetof(u32_CameraVideoStreamFrame_t_0912, m_pImageData) == 116 ); +C_ASSERT( sizeof(u32_CameraVideoStreamFrame_t_0912().m_pImageData) >= 4 ); + +#ifdef __x86_64__ +w64_CameraVideoStreamFrame_t_0914::operator u64_CameraVideoStreamFrame_t_0914() const +{ + u64_CameraVideoStreamFrame_t_0914 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nISPFrameTimeStamp = this->m_nISPFrameTimeStamp; + ret.m_nISPReferenceTimeStamp = this->m_nISPReferenceTimeStamp; + ret.m_nSyncCounter = this->m_nSyncCounter; + ret.m_nExposureTime = this->m_nExposureTime; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_nFrameCaptureTicks = this->m_nFrameCaptureTicks; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} + +u64_CameraVideoStreamFrame_t_0914::operator w64_CameraVideoStreamFrame_t_0914() const +{ + w64_CameraVideoStreamFrame_t_0914 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nISPFrameTimeStamp = this->m_nISPFrameTimeStamp; + ret.m_nISPReferenceTimeStamp = this->m_nISPReferenceTimeStamp; + ret.m_nSyncCounter = this->m_nSyncCounter; + ret.m_nExposureTime = this->m_nExposureTime; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_nFrameCaptureTicks = this->m_nFrameCaptureTicks; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} +#endif + +#ifdef __i386__ +w32_CameraVideoStreamFrame_t_0914::operator u32_CameraVideoStreamFrame_t_0914() const +{ + u32_CameraVideoStreamFrame_t_0914 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nISPFrameTimeStamp = this->m_nISPFrameTimeStamp; + ret.m_nISPReferenceTimeStamp = this->m_nISPReferenceTimeStamp; + ret.m_nSyncCounter = this->m_nSyncCounter; + ret.m_nExposureTime = this->m_nExposureTime; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_nFrameCaptureTicks = this->m_nFrameCaptureTicks; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} + +u32_CameraVideoStreamFrame_t_0914::operator w32_CameraVideoStreamFrame_t_0914() const +{ + w32_CameraVideoStreamFrame_t_0914 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nISPFrameTimeStamp = this->m_nISPFrameTimeStamp; + ret.m_nISPReferenceTimeStamp = this->m_nISPReferenceTimeStamp; + ret.m_nSyncCounter = this->m_nSyncCounter; + ret.m_nExposureTime = this->m_nExposureTime; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_nFrameCaptureTicks = this->m_nFrameCaptureTicks; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_CameraVideoStreamFrame_t_0912::operator u64_CameraVideoStreamFrame_t_0912() const +{ + u64_CameraVideoStreamFrame_t_0912 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nTimeStamp = this->m_nTimeStamp; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} + +u64_CameraVideoStreamFrame_t_0912::operator w64_CameraVideoStreamFrame_t_0912() const +{ + w64_CameraVideoStreamFrame_t_0912 ret; + ret.m_nStreamFormat = this->m_nStreamFormat; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nFrameSequence = this->m_nFrameSequence; + ret.m_nTimeStamp = this->m_nTimeStamp; + ret.m_nBufferIndex = this->m_nBufferIndex; + ret.m_nBufferCount = this->m_nBufferCount; + ret.m_nImageDataSize = this->m_nImageDataSize; + ret.m_flFrameElapsedTime = this->m_flFrameElapsedTime; + ret.m_flFrameCaptureTime = this->m_flFrameCaptureTime; + ret.m_bPoseIsValid = this->m_bPoseIsValid; + ret.m_matDeviceToAbsoluteTracking = this->m_matDeviceToAbsoluteTracking; + ret.m_Pad = this->m_Pad; + ret.m_pImageData = this->m_pImageData; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017) >= 184 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nSize) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nSize) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nNumVSyncsReadyForUse) == 176 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nNumVSyncsReadyForUse) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_1017, m_nNumVSyncsToFirstView) == 180 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_1017().m_nNumVSyncsToFirstView) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017) >= 184 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nSize) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nSize) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_HmdPose) == 96 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nNumVSyncsReadyForUse) == 176 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nNumVSyncsReadyForUse) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_1017, m_nNumVSyncsToFirstView) == 180 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_1017().m_nNumVSyncsToFirstView) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017) >= 184 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nSize) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nSize) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nNumVSyncsReadyForUse) == 176 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nNumVSyncsReadyForUse) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_1017, m_nNumVSyncsToFirstView) == 180 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_1017().m_nNumVSyncsToFirstView) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017) >= 184 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nSize) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nSize) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_HmdPose) == 96 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nNumVSyncsReadyForUse) == 176 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nNumVSyncsReadyForUse) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_1017, m_nNumVSyncsToFirstView) == 180 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_1017().m_nNumVSyncsToFirstView) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a) >= 176 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nSize) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nSize) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_103a, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_103a().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a) >= 176 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nSize) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nSize) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_103a, m_HmdPose) == 96 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_103a().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a) >= 176 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nSize) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nSize) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_103a, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_103a().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a) >= 176 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nSize) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nSize) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nNumMisPresented) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nNumMisPresented) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nNumDroppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_nReprojectionFlags) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_103a, m_HmdPose) == 96 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_103a().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102) >= 176 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_nSize) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_nSize) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_nReprojectionFlags) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_102, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_102().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102) >= 172 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_nSize) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_nSize) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_nReprojectionFlags) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flSystemTimeInSeconds) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flPreSubmitGpuMs) == 28 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flPostSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flTotalRenderGpuMs) == 36 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorRenderCpuMs) == 44 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorIdleCpuMs) == 48 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flClientFrameIntervalMs) == 52 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flPresentCallCpuMs) == 56 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flWaitForPresentCpuMs) == 60 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flSubmitFrameMs) == 64 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flWaitGetPosesCalledMs) == 68 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flNewPosesReadyMs) == 72 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flNewFrameReadyMs) == 76 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorUpdateStartMs) == 80 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorUpdateEndMs) == 84 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_flCompositorRenderStartMs) == 88 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_102, m_HmdPose) == 92 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_102().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102) >= 176 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_nSize) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_nSize) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_nReprojectionFlags) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flSystemTimeInSeconds) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flPreSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flPostSubmitGpuMs) == 36 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flTotalRenderGpuMs) == 40 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorRenderGpuMs) == 44 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorRenderCpuMs) == 48 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorIdleCpuMs) == 52 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flClientFrameIntervalMs) == 56 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flPresentCallCpuMs) == 60 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flWaitForPresentCpuMs) == 64 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flSubmitFrameMs) == 68 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flWaitGetPosesCalledMs) == 72 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flNewPosesReadyMs) == 76 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flNewFrameReadyMs) == 80 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorUpdateStartMs) == 84 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorUpdateEndMs) == 88 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_flCompositorRenderStartMs) == 92 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_102, m_HmdPose) == 96 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_102().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102) >= 172 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_nSize) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_nSize) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_nReprojectionFlags) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_nReprojectionFlags) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flSystemTimeInSeconds) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flPreSubmitGpuMs) == 28 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flPreSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flPostSubmitGpuMs) == 32 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flPostSubmitGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flTotalRenderGpuMs) == 36 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorRenderGpuMs) == 40 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorRenderCpuMs) == 44 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorIdleCpuMs) == 48 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flClientFrameIntervalMs) == 52 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flPresentCallCpuMs) == 56 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flWaitForPresentCpuMs) == 60 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flSubmitFrameMs) == 64 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flWaitGetPosesCalledMs) == 68 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flNewPosesReadyMs) == 72 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flNewFrameReadyMs) == 76 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorUpdateStartMs) == 80 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorUpdateEndMs) == 84 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_flCompositorRenderStartMs) == 88 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_102, m_HmdPose) == 92 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_102().m_HmdPose) >= 80 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920) >= 176 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nSize) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nSize) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_HmdPose) == 84 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nFidelityLevel) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0920, m_nReprojectionFlags) == 168 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0920().m_nReprojectionFlags) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920) >= 172 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nSize) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nSize) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_HmdPose) == 84 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nFidelityLevel) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0920, m_nReprojectionFlags) == 168 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0920().m_nReprojectionFlags) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920) >= 176 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nSize) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nSize) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_HmdPose) == 84 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nFidelityLevel) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0920, m_nReprojectionFlags) == 168 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0920().m_nReprojectionFlags) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920) >= 172 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nSize) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nSize) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_HmdPose) == 84 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nFidelityLevel) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0920, m_nReprojectionFlags) == 168 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0920().m_nReprojectionFlags) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915) >= 168 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_nSize) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_nSize) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_HmdPose) == 84 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0915, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0915().m_nFidelityLevel) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915) >= 168 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_nSize) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_nSize) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_HmdPose) == 84 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0915, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0915().m_nFidelityLevel) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915) >= 168 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_nSize) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_nSize) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_HmdPose) == 84 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0915, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0915().m_nFidelityLevel) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915) >= 168 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_nSize) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_nSize) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_nFrameIndex) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_nFrameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_nNumFramePresents) == 8 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_nNumFramePresents) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_nNumDroppedFrames) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_nNumDroppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flSystemTimeInSeconds) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flSystemTimeInSeconds) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flSceneRenderGpuMs) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flTotalRenderGpuMs) == 28 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flTotalRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorRenderGpuMs) == 32 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorRenderCpuMs) == 36 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorIdleCpuMs) == 40 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorIdleCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flClientFrameIntervalMs) == 44 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flClientFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flPresentCallCpuMs) == 48 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flWaitForPresentCpuMs) == 52 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flWaitForPresentCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flSubmitFrameMs) == 56 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flSubmitFrameMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flWaitGetPosesCalledMs) == 60 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flWaitGetPosesCalledMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flNewPosesReadyMs) == 64 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flNewPosesReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flNewFrameReadyMs) == 68 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flNewFrameReadyMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorUpdateStartMs) == 72 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorUpdateStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorUpdateEndMs) == 76 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorUpdateEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_flCompositorRenderStartMs) == 80 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_flCompositorRenderStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_HmdPose) == 84 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_HmdPose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0915, m_nFidelityLevel) == 164 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0915().m_nFidelityLevel) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914) >= 160 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, size) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().size) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, frameStart) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().frameStart) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, frameVSync) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().frameVSync) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, droppedFrames) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, frameIndex) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().frameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, pose) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().pose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, prediction) == 108 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().prediction) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_flCompositorUpdateCpuMs) == 148 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_flCompositorUpdateCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0914, m_nPresents) == 152 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0914().m_nPresents) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914) >= 152 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, size) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().size) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, frameStart) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().frameStart) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, frameVSync) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().frameVSync) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, droppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, frameIndex) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().frameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, pose) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().pose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, prediction) == 104 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().prediction) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_flCompositorUpdateCpuMs) == 144 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_flCompositorUpdateCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0914, m_nPresents) == 148 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0914().m_nPresents) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914) >= 160 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, size) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().size) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, frameStart) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().frameStart) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, frameVSync) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().frameVSync) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, droppedFrames) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, frameIndex) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().frameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, pose) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().pose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, prediction) == 108 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().prediction) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_flCompositorUpdateCpuMs) == 148 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_flCompositorUpdateCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0914, m_nPresents) == 152 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0914().m_nPresents) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914) >= 152 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, size) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().size) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, frameStart) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().frameStart) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, frameVSync) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().frameVSync) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, droppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, frameIndex) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().frameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, pose) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().pose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, prediction) == 104 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().prediction) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_flCompositorUpdateCpuMs) == 144 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_flCompositorUpdateCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0914, m_nPresents) == 148 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0914().m_nPresents) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913) >= 152 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, size) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().size) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, frameStart) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().frameStart) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, frameVSync) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().frameVSync) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, droppedFrames) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, frameIndex) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().frameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, pose) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().pose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, prediction) == 108 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().prediction) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0913, m_flCompositorUpdateCpuMs) == 148 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0913().m_flCompositorUpdateCpuMs) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913) >= 148 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, size) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().size) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, frameStart) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().frameStart) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, frameVSync) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().frameVSync) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, droppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, frameIndex) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().frameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, pose) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().pose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, prediction) == 104 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().prediction) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0913, m_flCompositorUpdateCpuMs) == 144 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0913().m_flCompositorUpdateCpuMs) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913) >= 152 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, size) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().size) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, frameStart) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().frameStart) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, frameVSync) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().frameVSync) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, droppedFrames) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, frameIndex) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().frameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, pose) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().pose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, prediction) == 108 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().prediction) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0913, m_flCompositorUpdateCpuMs) == 148 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0913().m_flCompositorUpdateCpuMs) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913) >= 148 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, size) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().size) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, frameStart) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().frameStart) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, frameVSync) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().frameVSync) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, droppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, frameIndex) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().frameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, pose) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().pose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, prediction) == 104 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().prediction) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flHandoffEndMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0913, m_flCompositorUpdateCpuMs) == 144 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0913().m_flCompositorUpdateCpuMs) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912) >= 152 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, size) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().size) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, frameStart) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().frameStart) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, frameVSync) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().frameVSync) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, droppedFrames) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, frameIndex) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().frameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, pose) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().pose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, prediction) == 108 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().prediction) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_0912, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_0912().m_flHandoffEndMs) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912) >= 144 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, size) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().size) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, frameStart) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().frameStart) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, frameVSync) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().frameVSync) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, droppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, frameIndex) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().frameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, pose) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().pose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, prediction) == 104 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().prediction) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_0912, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_0912().m_flHandoffEndMs) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912) >= 152 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, size) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().size) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, frameStart) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().frameStart) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, frameVSync) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().frameVSync) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, droppedFrames) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, frameIndex) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().frameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, pose) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().pose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, prediction) == 108 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().prediction) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flHandoffStartMs) == 140 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_0912, m_flHandoffEndMs) == 144 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_0912().m_flHandoffEndMs) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912) >= 144 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, size) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().size) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, frameStart) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().frameStart) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, frameVSync) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().frameVSync) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, droppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, frameIndex) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().frameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, pose) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().pose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, prediction) == 104 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().prediction) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flRunningStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flHandoffStartMs) == 136 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flHandoffStartMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_0912, m_flHandoffEndMs) == 140 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_0912().m_flHandoffEndMs) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093) >= 144 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, size) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().size) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, frameStart) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().frameStart) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, frameVSync) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().frameVSync) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, droppedFrames) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, frameIndex) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().frameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, pose) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().pose) >= 80 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, prediction) == 108 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().prediction) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_093, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_093().m_flRunningStartMs) >= 4 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093) >= 136 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, size) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().size) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, frameStart) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().frameStart) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, frameVSync) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().frameVSync) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, droppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, frameIndex) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().frameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, pose) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().pose) >= 80 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, prediction) == 104 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().prediction) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_093, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_093().m_flRunningStartMs) >= 4 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093) >= 144 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, size) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().size) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, frameStart) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().frameStart) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, frameVSync) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().frameVSync) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, droppedFrames) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, frameIndex) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().frameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, pose) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().pose) >= 80 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, prediction) == 108 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().prediction) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flFrameIntervalMs) == 112 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flSceneRenderCpuMs) == 116 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flSceneRenderGpuMs) == 120 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flCompositorRenderCpuMs) == 124 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flCompositorRenderGpuMs) == 128 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flPresentCallCpuMs) == 132 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_093, m_flRunningStartMs) == 136 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_093().m_flRunningStartMs) >= 4 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093) >= 136 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, size) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().size) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, frameStart) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().frameStart) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, frameVSync) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().frameVSync) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, droppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, frameIndex) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().frameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, pose) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().pose) >= 80 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, prediction) == 104 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().prediction) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flFrameIntervalMs) == 108 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flFrameIntervalMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flSceneRenderCpuMs) == 112 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flSceneRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flSceneRenderGpuMs) == 116 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flSceneRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flCompositorRenderCpuMs) == 120 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flCompositorRenderCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flCompositorRenderGpuMs) == 124 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flCompositorRenderGpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flPresentCallCpuMs) == 128 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flPresentCallCpuMs) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_093, m_flRunningStartMs) == 132 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_093().m_flRunningStartMs) >= 4 ); + +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090) >= 112 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, size) == 0 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().size) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, frameStart) == 8 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().frameStart) >= 8 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, frameVSync) == 16 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().frameVSync) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, droppedFrames) == 20 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, frameIndex) == 24 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().frameIndex) >= 4 ); +C_ASSERT( offsetof(w64_Compositor_FrameTiming_090, pose) == 28 ); +C_ASSERT( sizeof(w64_Compositor_FrameTiming_090().pose) >= 80 ); + +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090) >= 104 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, size) == 0 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().size) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, frameStart) == 4 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().frameStart) >= 8 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, frameVSync) == 12 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().frameVSync) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, droppedFrames) == 16 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, frameIndex) == 20 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().frameIndex) >= 4 ); +C_ASSERT( offsetof(u64_Compositor_FrameTiming_090, pose) == 24 ); +C_ASSERT( sizeof(u64_Compositor_FrameTiming_090().pose) >= 80 ); + +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090) >= 112 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, size) == 0 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().size) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, frameStart) == 8 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().frameStart) >= 8 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, frameVSync) == 16 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().frameVSync) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, droppedFrames) == 20 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().droppedFrames) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, frameIndex) == 24 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().frameIndex) >= 4 ); +C_ASSERT( offsetof(w32_Compositor_FrameTiming_090, pose) == 28 ); +C_ASSERT( sizeof(w32_Compositor_FrameTiming_090().pose) >= 80 ); + +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090) >= 104 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, size) == 0 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().size) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, frameStart) == 4 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().frameStart) >= 8 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, frameVSync) == 12 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().frameVSync) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, droppedFrames) == 16 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().droppedFrames) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, frameIndex) == 20 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().frameIndex) >= 4 ); +C_ASSERT( offsetof(u32_Compositor_FrameTiming_090, pose) == 24 ); +C_ASSERT( sizeof(u32_Compositor_FrameTiming_090().pose) >= 80 ); + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_102::operator u64_Compositor_FrameTiming_102() const +{ + u64_Compositor_FrameTiming_102 ret; + ret.m_nSize = this->m_nSize; + ret.m_nFrameIndex = this->m_nFrameIndex; + ret.m_nNumFramePresents = this->m_nNumFramePresents; + ret.m_nNumDroppedFrames = this->m_nNumDroppedFrames; + ret.m_nReprojectionFlags = this->m_nReprojectionFlags; + ret.m_flSystemTimeInSeconds = this->m_flSystemTimeInSeconds; + ret.m_flPreSubmitGpuMs = this->m_flPreSubmitGpuMs; + ret.m_flPostSubmitGpuMs = this->m_flPostSubmitGpuMs; + ret.m_flTotalRenderGpuMs = this->m_flTotalRenderGpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorIdleCpuMs = this->m_flCompositorIdleCpuMs; + ret.m_flClientFrameIntervalMs = this->m_flClientFrameIntervalMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flWaitForPresentCpuMs = this->m_flWaitForPresentCpuMs; + ret.m_flSubmitFrameMs = this->m_flSubmitFrameMs; + ret.m_flWaitGetPosesCalledMs = this->m_flWaitGetPosesCalledMs; + ret.m_flNewPosesReadyMs = this->m_flNewPosesReadyMs; + ret.m_flNewFrameReadyMs = this->m_flNewFrameReadyMs; + ret.m_flCompositorUpdateStartMs = this->m_flCompositorUpdateStartMs; + ret.m_flCompositorUpdateEndMs = this->m_flCompositorUpdateEndMs; + ret.m_flCompositorRenderStartMs = this->m_flCompositorRenderStartMs; + ret.m_HmdPose = this->m_HmdPose; + return ret; +} + +u64_Compositor_FrameTiming_102::operator w64_Compositor_FrameTiming_102() const +{ + w64_Compositor_FrameTiming_102 ret; + ret.m_nSize = this->m_nSize; + ret.m_nFrameIndex = this->m_nFrameIndex; + ret.m_nNumFramePresents = this->m_nNumFramePresents; + ret.m_nNumDroppedFrames = this->m_nNumDroppedFrames; + ret.m_nReprojectionFlags = this->m_nReprojectionFlags; + ret.m_flSystemTimeInSeconds = this->m_flSystemTimeInSeconds; + ret.m_flPreSubmitGpuMs = this->m_flPreSubmitGpuMs; + ret.m_flPostSubmitGpuMs = this->m_flPostSubmitGpuMs; + ret.m_flTotalRenderGpuMs = this->m_flTotalRenderGpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorIdleCpuMs = this->m_flCompositorIdleCpuMs; + ret.m_flClientFrameIntervalMs = this->m_flClientFrameIntervalMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flWaitForPresentCpuMs = this->m_flWaitForPresentCpuMs; + ret.m_flSubmitFrameMs = this->m_flSubmitFrameMs; + ret.m_flWaitGetPosesCalledMs = this->m_flWaitGetPosesCalledMs; + ret.m_flNewPosesReadyMs = this->m_flNewPosesReadyMs; + ret.m_flNewFrameReadyMs = this->m_flNewFrameReadyMs; + ret.m_flCompositorUpdateStartMs = this->m_flCompositorUpdateStartMs; + ret.m_flCompositorUpdateEndMs = this->m_flCompositorUpdateEndMs; + ret.m_flCompositorRenderStartMs = this->m_flCompositorRenderStartMs; + ret.m_HmdPose = this->m_HmdPose; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_102::operator u32_Compositor_FrameTiming_102() const +{ + u32_Compositor_FrameTiming_102 ret; + ret.m_nSize = this->m_nSize; + ret.m_nFrameIndex = this->m_nFrameIndex; + ret.m_nNumFramePresents = this->m_nNumFramePresents; + ret.m_nNumDroppedFrames = this->m_nNumDroppedFrames; + ret.m_nReprojectionFlags = this->m_nReprojectionFlags; + ret.m_flSystemTimeInSeconds = this->m_flSystemTimeInSeconds; + ret.m_flPreSubmitGpuMs = this->m_flPreSubmitGpuMs; + ret.m_flPostSubmitGpuMs = this->m_flPostSubmitGpuMs; + ret.m_flTotalRenderGpuMs = this->m_flTotalRenderGpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorIdleCpuMs = this->m_flCompositorIdleCpuMs; + ret.m_flClientFrameIntervalMs = this->m_flClientFrameIntervalMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flWaitForPresentCpuMs = this->m_flWaitForPresentCpuMs; + ret.m_flSubmitFrameMs = this->m_flSubmitFrameMs; + ret.m_flWaitGetPosesCalledMs = this->m_flWaitGetPosesCalledMs; + ret.m_flNewPosesReadyMs = this->m_flNewPosesReadyMs; + ret.m_flNewFrameReadyMs = this->m_flNewFrameReadyMs; + ret.m_flCompositorUpdateStartMs = this->m_flCompositorUpdateStartMs; + ret.m_flCompositorUpdateEndMs = this->m_flCompositorUpdateEndMs; + ret.m_flCompositorRenderStartMs = this->m_flCompositorRenderStartMs; + ret.m_HmdPose = this->m_HmdPose; + return ret; +} + +u32_Compositor_FrameTiming_102::operator w32_Compositor_FrameTiming_102() const +{ + w32_Compositor_FrameTiming_102 ret; + ret.m_nSize = this->m_nSize; + ret.m_nFrameIndex = this->m_nFrameIndex; + ret.m_nNumFramePresents = this->m_nNumFramePresents; + ret.m_nNumDroppedFrames = this->m_nNumDroppedFrames; + ret.m_nReprojectionFlags = this->m_nReprojectionFlags; + ret.m_flSystemTimeInSeconds = this->m_flSystemTimeInSeconds; + ret.m_flPreSubmitGpuMs = this->m_flPreSubmitGpuMs; + ret.m_flPostSubmitGpuMs = this->m_flPostSubmitGpuMs; + ret.m_flTotalRenderGpuMs = this->m_flTotalRenderGpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorIdleCpuMs = this->m_flCompositorIdleCpuMs; + ret.m_flClientFrameIntervalMs = this->m_flClientFrameIntervalMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flWaitForPresentCpuMs = this->m_flWaitForPresentCpuMs; + ret.m_flSubmitFrameMs = this->m_flSubmitFrameMs; + ret.m_flWaitGetPosesCalledMs = this->m_flWaitGetPosesCalledMs; + ret.m_flNewPosesReadyMs = this->m_flNewPosesReadyMs; + ret.m_flNewFrameReadyMs = this->m_flNewFrameReadyMs; + ret.m_flCompositorUpdateStartMs = this->m_flCompositorUpdateStartMs; + ret.m_flCompositorUpdateEndMs = this->m_flCompositorUpdateEndMs; + ret.m_flCompositorRenderStartMs = this->m_flCompositorRenderStartMs; + ret.m_HmdPose = this->m_HmdPose; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_0914::operator u64_Compositor_FrameTiming_0914() const +{ + u64_Compositor_FrameTiming_0914 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + ret.m_nPresents = this->m_nPresents; + return ret; +} + +u64_Compositor_FrameTiming_0914::operator w64_Compositor_FrameTiming_0914() const +{ + w64_Compositor_FrameTiming_0914 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + ret.m_nPresents = this->m_nPresents; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_0914::operator u32_Compositor_FrameTiming_0914() const +{ + u32_Compositor_FrameTiming_0914 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + ret.m_nPresents = this->m_nPresents; + return ret; +} + +u32_Compositor_FrameTiming_0914::operator w32_Compositor_FrameTiming_0914() const +{ + w32_Compositor_FrameTiming_0914 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + ret.m_nPresents = this->m_nPresents; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_0913::operator u64_Compositor_FrameTiming_0913() const +{ + u64_Compositor_FrameTiming_0913 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + return ret; +} + +u64_Compositor_FrameTiming_0913::operator w64_Compositor_FrameTiming_0913() const +{ + w64_Compositor_FrameTiming_0913 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_0913::operator u32_Compositor_FrameTiming_0913() const +{ + u32_Compositor_FrameTiming_0913 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + return ret; +} + +u32_Compositor_FrameTiming_0913::operator w32_Compositor_FrameTiming_0913() const +{ + w32_Compositor_FrameTiming_0913 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + ret.m_flCompositorUpdateCpuMs = this->m_flCompositorUpdateCpuMs; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_0912::operator u64_Compositor_FrameTiming_0912() const +{ + u64_Compositor_FrameTiming_0912 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + return ret; +} + +u64_Compositor_FrameTiming_0912::operator w64_Compositor_FrameTiming_0912() const +{ + w64_Compositor_FrameTiming_0912 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_0912::operator u32_Compositor_FrameTiming_0912() const +{ + u32_Compositor_FrameTiming_0912 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + return ret; +} + +u32_Compositor_FrameTiming_0912::operator w32_Compositor_FrameTiming_0912() const +{ + w32_Compositor_FrameTiming_0912 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + ret.m_flHandoffStartMs = this->m_flHandoffStartMs; + ret.m_flHandoffEndMs = this->m_flHandoffEndMs; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_093::operator u64_Compositor_FrameTiming_093() const +{ + u64_Compositor_FrameTiming_093 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + return ret; +} + +u64_Compositor_FrameTiming_093::operator w64_Compositor_FrameTiming_093() const +{ + w64_Compositor_FrameTiming_093 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_093::operator u32_Compositor_FrameTiming_093() const +{ + u32_Compositor_FrameTiming_093 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + return ret; +} + +u32_Compositor_FrameTiming_093::operator w32_Compositor_FrameTiming_093() const +{ + w32_Compositor_FrameTiming_093 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + ret.prediction = this->prediction; + ret.m_flFrameIntervalMs = this->m_flFrameIntervalMs; + ret.m_flSceneRenderCpuMs = this->m_flSceneRenderCpuMs; + ret.m_flSceneRenderGpuMs = this->m_flSceneRenderGpuMs; + ret.m_flCompositorRenderCpuMs = this->m_flCompositorRenderCpuMs; + ret.m_flCompositorRenderGpuMs = this->m_flCompositorRenderGpuMs; + ret.m_flPresentCallCpuMs = this->m_flPresentCallCpuMs; + ret.m_flRunningStartMs = this->m_flRunningStartMs; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_Compositor_FrameTiming_090::operator u64_Compositor_FrameTiming_090() const +{ + u64_Compositor_FrameTiming_090 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + return ret; +} + +u64_Compositor_FrameTiming_090::operator w64_Compositor_FrameTiming_090() const +{ + w64_Compositor_FrameTiming_090 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + return ret; +} +#endif + +#ifdef __i386__ +w32_Compositor_FrameTiming_090::operator u32_Compositor_FrameTiming_090() const +{ + u32_Compositor_FrameTiming_090 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + return ret; +} + +u32_Compositor_FrameTiming_090::operator w32_Compositor_FrameTiming_090() const +{ + w32_Compositor_FrameTiming_090 ret; + ret.size = this->size; + ret.frameStart = this->frameStart; + ret.frameVSync = this->frameVSync; + ret.droppedFrames = this->droppedFrames; + ret.frameIndex = this->frameIndex; + ret.pose = this->pose; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_D3D12TextureData_t) >= 24 ); +C_ASSERT( offsetof(w64_D3D12TextureData_t, m_pResource) == 0 ); +C_ASSERT( sizeof(w64_D3D12TextureData_t().m_pResource) >= 8 ); +C_ASSERT( offsetof(w64_D3D12TextureData_t, m_pCommandQueue) == 8 ); +C_ASSERT( sizeof(w64_D3D12TextureData_t().m_pCommandQueue) >= 8 ); +C_ASSERT( offsetof(w64_D3D12TextureData_t, m_nNodeMask) == 16 ); +C_ASSERT( sizeof(w64_D3D12TextureData_t().m_nNodeMask) >= 4 ); + +C_ASSERT( sizeof(u64_D3D12TextureData_t) >= 24 ); +C_ASSERT( offsetof(u64_D3D12TextureData_t, m_pResource) == 0 ); +C_ASSERT( sizeof(u64_D3D12TextureData_t().m_pResource) >= 8 ); +C_ASSERT( offsetof(u64_D3D12TextureData_t, m_pCommandQueue) == 8 ); +C_ASSERT( sizeof(u64_D3D12TextureData_t().m_pCommandQueue) >= 8 ); +C_ASSERT( offsetof(u64_D3D12TextureData_t, m_nNodeMask) == 16 ); +C_ASSERT( sizeof(u64_D3D12TextureData_t().m_nNodeMask) >= 4 ); + +C_ASSERT( sizeof(w32_D3D12TextureData_t) >= 12 ); +C_ASSERT( offsetof(w32_D3D12TextureData_t, m_pResource) == 0 ); +C_ASSERT( sizeof(w32_D3D12TextureData_t().m_pResource) >= 4 ); +C_ASSERT( offsetof(w32_D3D12TextureData_t, m_pCommandQueue) == 4 ); +C_ASSERT( sizeof(w32_D3D12TextureData_t().m_pCommandQueue) >= 4 ); +C_ASSERT( offsetof(w32_D3D12TextureData_t, m_nNodeMask) == 8 ); +C_ASSERT( sizeof(w32_D3D12TextureData_t().m_nNodeMask) >= 4 ); + +C_ASSERT( sizeof(u32_D3D12TextureData_t) >= 12 ); +C_ASSERT( offsetof(u32_D3D12TextureData_t, m_pResource) == 0 ); +C_ASSERT( sizeof(u32_D3D12TextureData_t().m_pResource) >= 4 ); +C_ASSERT( offsetof(u32_D3D12TextureData_t, m_pCommandQueue) == 4 ); +C_ASSERT( sizeof(u32_D3D12TextureData_t().m_pCommandQueue) >= 4 ); +C_ASSERT( offsetof(u32_D3D12TextureData_t, m_nNodeMask) == 8 ); +C_ASSERT( sizeof(u32_D3D12TextureData_t().m_nNodeMask) >= 4 ); + +C_ASSERT( sizeof(w64_HiddenAreaMesh_t) >= 16 ); +C_ASSERT( offsetof(w64_HiddenAreaMesh_t, pVertexData) == 0 ); +C_ASSERT( sizeof(w64_HiddenAreaMesh_t().pVertexData) >= 8 ); +C_ASSERT( offsetof(w64_HiddenAreaMesh_t, unTriangleCount) == 8 ); +C_ASSERT( sizeof(w64_HiddenAreaMesh_t().unTriangleCount) >= 4 ); + +C_ASSERT( sizeof(u64_HiddenAreaMesh_t) >= 16 ); +C_ASSERT( offsetof(u64_HiddenAreaMesh_t, pVertexData) == 0 ); +C_ASSERT( sizeof(u64_HiddenAreaMesh_t().pVertexData) >= 8 ); +C_ASSERT( offsetof(u64_HiddenAreaMesh_t, unTriangleCount) == 8 ); +C_ASSERT( sizeof(u64_HiddenAreaMesh_t().unTriangleCount) >= 4 ); + +C_ASSERT( sizeof(w32_HiddenAreaMesh_t) >= 8 ); +C_ASSERT( offsetof(w32_HiddenAreaMesh_t, pVertexData) == 0 ); +C_ASSERT( sizeof(w32_HiddenAreaMesh_t().pVertexData) >= 4 ); +C_ASSERT( offsetof(w32_HiddenAreaMesh_t, unTriangleCount) == 4 ); +C_ASSERT( sizeof(w32_HiddenAreaMesh_t().unTriangleCount) >= 4 ); + +C_ASSERT( sizeof(u32_HiddenAreaMesh_t) >= 8 ); +C_ASSERT( offsetof(u32_HiddenAreaMesh_t, pVertexData) == 0 ); +C_ASSERT( sizeof(u32_HiddenAreaMesh_t().pVertexData) >= 4 ); +C_ASSERT( offsetof(u32_HiddenAreaMesh_t, unTriangleCount) == 4 ); +C_ASSERT( sizeof(u32_HiddenAreaMesh_t().unTriangleCount) >= 4 ); + +C_ASSERT( sizeof(w64_InputAnalogActionData_t) >= 48 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, x) == 16 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, y) == 20 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, z) == 24 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().z) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, deltaX) == 28 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().deltaX) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, deltaY) == 32 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().deltaY) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, deltaZ) == 36 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().deltaZ) >= 4 ); +C_ASSERT( offsetof(w64_InputAnalogActionData_t, fUpdateTime) == 40 ); +C_ASSERT( sizeof(w64_InputAnalogActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(u64_InputAnalogActionData_t) >= 48 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, x) == 16 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, y) == 20 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, z) == 24 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().z) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, deltaX) == 28 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().deltaX) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, deltaY) == 32 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().deltaY) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, deltaZ) == 36 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().deltaZ) >= 4 ); +C_ASSERT( offsetof(u64_InputAnalogActionData_t, fUpdateTime) == 40 ); +C_ASSERT( sizeof(u64_InputAnalogActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(w32_InputAnalogActionData_t) >= 48 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, x) == 16 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, y) == 20 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, z) == 24 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().z) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, deltaX) == 28 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().deltaX) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, deltaY) == 32 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().deltaY) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, deltaZ) == 36 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().deltaZ) >= 4 ); +C_ASSERT( offsetof(w32_InputAnalogActionData_t, fUpdateTime) == 40 ); +C_ASSERT( sizeof(w32_InputAnalogActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(u32_InputAnalogActionData_t) >= 40 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, x) == 12 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().x) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, y) == 16 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().y) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, z) == 20 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().z) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, deltaX) == 24 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().deltaX) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, deltaY) == 28 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().deltaY) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, deltaZ) == 32 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().deltaZ) >= 4 ); +C_ASSERT( offsetof(u32_InputAnalogActionData_t, fUpdateTime) == 36 ); +C_ASSERT( sizeof(u32_InputAnalogActionData_t().fUpdateTime) >= 4 ); + +#ifdef __i386__ +w32_InputAnalogActionData_t::operator u32_InputAnalogActionData_t() const +{ + u32_InputAnalogActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.x = this->x; + ret.y = this->y; + ret.z = this->z; + ret.deltaX = this->deltaX; + ret.deltaY = this->deltaY; + ret.deltaZ = this->deltaZ; + ret.fUpdateTime = this->fUpdateTime; + return ret; +} + +u32_InputAnalogActionData_t::operator w32_InputAnalogActionData_t() const +{ + w32_InputAnalogActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.x = this->x; + ret.y = this->y; + ret.z = this->z; + ret.deltaX = this->deltaX; + ret.deltaY = this->deltaY; + ret.deltaZ = this->deltaZ; + ret.fUpdateTime = this->fUpdateTime; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_InputDigitalActionData_t) >= 24 ); +C_ASSERT( offsetof(w64_InputDigitalActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputDigitalActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputDigitalActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputDigitalActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w64_InputDigitalActionData_t, bState) == 16 ); +C_ASSERT( sizeof(w64_InputDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(w64_InputDigitalActionData_t, bChanged) == 17 ); +C_ASSERT( sizeof(w64_InputDigitalActionData_t().bChanged) >= 1 ); +C_ASSERT( offsetof(w64_InputDigitalActionData_t, fUpdateTime) == 20 ); +C_ASSERT( sizeof(w64_InputDigitalActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(u64_InputDigitalActionData_t) >= 24 ); +C_ASSERT( offsetof(u64_InputDigitalActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputDigitalActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputDigitalActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputDigitalActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u64_InputDigitalActionData_t, bState) == 16 ); +C_ASSERT( sizeof(u64_InputDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(u64_InputDigitalActionData_t, bChanged) == 17 ); +C_ASSERT( sizeof(u64_InputDigitalActionData_t().bChanged) >= 1 ); +C_ASSERT( offsetof(u64_InputDigitalActionData_t, fUpdateTime) == 20 ); +C_ASSERT( sizeof(u64_InputDigitalActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(w32_InputDigitalActionData_t) >= 24 ); +C_ASSERT( offsetof(w32_InputDigitalActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputDigitalActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputDigitalActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputDigitalActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w32_InputDigitalActionData_t, bState) == 16 ); +C_ASSERT( sizeof(w32_InputDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(w32_InputDigitalActionData_t, bChanged) == 17 ); +C_ASSERT( sizeof(w32_InputDigitalActionData_t().bChanged) >= 1 ); +C_ASSERT( offsetof(w32_InputDigitalActionData_t, fUpdateTime) == 20 ); +C_ASSERT( sizeof(w32_InputDigitalActionData_t().fUpdateTime) >= 4 ); + +C_ASSERT( sizeof(u32_InputDigitalActionData_t) >= 20 ); +C_ASSERT( offsetof(u32_InputDigitalActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputDigitalActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputDigitalActionData_t, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputDigitalActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u32_InputDigitalActionData_t, bState) == 12 ); +C_ASSERT( sizeof(u32_InputDigitalActionData_t().bState) >= 1 ); +C_ASSERT( offsetof(u32_InputDigitalActionData_t, bChanged) == 13 ); +C_ASSERT( sizeof(u32_InputDigitalActionData_t().bChanged) >= 1 ); +C_ASSERT( offsetof(u32_InputDigitalActionData_t, fUpdateTime) == 16 ); +C_ASSERT( sizeof(u32_InputDigitalActionData_t().fUpdateTime) >= 4 ); + +#ifdef __i386__ +w32_InputDigitalActionData_t::operator u32_InputDigitalActionData_t() const +{ + u32_InputDigitalActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.bState = this->bState; + ret.bChanged = this->bChanged; + ret.fUpdateTime = this->fUpdateTime; + return ret; +} + +u32_InputDigitalActionData_t::operator w32_InputDigitalActionData_t() const +{ + w32_InputDigitalActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.bState = this->bState; + ret.bChanged = this->bChanged; + ret.fUpdateTime = this->fUpdateTime; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_InputOriginInfo_t) >= 144 ); +C_ASSERT( offsetof(w64_InputOriginInfo_t, devicePath) == 0 ); +C_ASSERT( sizeof(w64_InputOriginInfo_t().devicePath) >= 8 ); +C_ASSERT( offsetof(w64_InputOriginInfo_t, trackedDeviceIndex) == 8 ); +C_ASSERT( sizeof(w64_InputOriginInfo_t().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_InputOriginInfo_t, rchRenderModelComponentName) == 12 ); +C_ASSERT( sizeof(w64_InputOriginInfo_t().rchRenderModelComponentName) >= 128 ); + +C_ASSERT( sizeof(u64_InputOriginInfo_t) >= 144 ); +C_ASSERT( offsetof(u64_InputOriginInfo_t, devicePath) == 0 ); +C_ASSERT( sizeof(u64_InputOriginInfo_t().devicePath) >= 8 ); +C_ASSERT( offsetof(u64_InputOriginInfo_t, trackedDeviceIndex) == 8 ); +C_ASSERT( sizeof(u64_InputOriginInfo_t().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_InputOriginInfo_t, rchRenderModelComponentName) == 12 ); +C_ASSERT( sizeof(u64_InputOriginInfo_t().rchRenderModelComponentName) >= 128 ); + +C_ASSERT( sizeof(w32_InputOriginInfo_t) >= 144 ); +C_ASSERT( offsetof(w32_InputOriginInfo_t, devicePath) == 0 ); +C_ASSERT( sizeof(w32_InputOriginInfo_t().devicePath) >= 8 ); +C_ASSERT( offsetof(w32_InputOriginInfo_t, trackedDeviceIndex) == 8 ); +C_ASSERT( sizeof(w32_InputOriginInfo_t().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_InputOriginInfo_t, rchRenderModelComponentName) == 12 ); +C_ASSERT( sizeof(w32_InputOriginInfo_t().rchRenderModelComponentName) >= 128 ); + +C_ASSERT( sizeof(u32_InputOriginInfo_t) >= 140 ); +C_ASSERT( offsetof(u32_InputOriginInfo_t, devicePath) == 0 ); +C_ASSERT( sizeof(u32_InputOriginInfo_t().devicePath) >= 8 ); +C_ASSERT( offsetof(u32_InputOriginInfo_t, trackedDeviceIndex) == 8 ); +C_ASSERT( sizeof(u32_InputOriginInfo_t().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_InputOriginInfo_t, rchRenderModelComponentName) == 12 ); +C_ASSERT( sizeof(u32_InputOriginInfo_t().rchRenderModelComponentName) >= 128 ); + +#ifdef __i386__ +w32_InputOriginInfo_t::operator u32_InputOriginInfo_t() const +{ + u32_InputOriginInfo_t ret; + ret.devicePath = this->devicePath; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.rchRenderModelComponentName = this->rchRenderModelComponentName; + return ret; +} + +u32_InputOriginInfo_t::operator w32_InputOriginInfo_t() const +{ + w32_InputOriginInfo_t ret; + ret.devicePath = this->devicePath; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.rchRenderModelComponentName = this->rchRenderModelComponentName; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_InputPoseActionData_t) >= 96 ); +C_ASSERT( offsetof(w64_InputPoseActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputPoseActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputPoseActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputPoseActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w64_InputPoseActionData_t, pose) == 16 ); +C_ASSERT( sizeof(w64_InputPoseActionData_t().pose) >= 80 ); + +C_ASSERT( sizeof(u64_InputPoseActionData_t) >= 96 ); +C_ASSERT( offsetof(u64_InputPoseActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputPoseActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputPoseActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputPoseActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u64_InputPoseActionData_t, pose) == 16 ); +C_ASSERT( sizeof(u64_InputPoseActionData_t().pose) >= 80 ); + +C_ASSERT( sizeof(w32_InputPoseActionData_t) >= 96 ); +C_ASSERT( offsetof(w32_InputPoseActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputPoseActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputPoseActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputPoseActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w32_InputPoseActionData_t, pose) == 16 ); +C_ASSERT( sizeof(w32_InputPoseActionData_t().pose) >= 80 ); + +C_ASSERT( sizeof(u32_InputPoseActionData_t) >= 92 ); +C_ASSERT( offsetof(u32_InputPoseActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputPoseActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputPoseActionData_t, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputPoseActionData_t().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u32_InputPoseActionData_t, pose) == 12 ); +C_ASSERT( sizeof(u32_InputPoseActionData_t().pose) >= 80 ); + +#ifdef __i386__ +w32_InputPoseActionData_t::operator u32_InputPoseActionData_t() const +{ + u32_InputPoseActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.pose = this->pose; + return ret; +} + +u32_InputPoseActionData_t::operator w32_InputPoseActionData_t() const +{ + w32_InputPoseActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.pose = this->pose; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_113b) >= 16 ); +C_ASSERT( offsetof(w64_InputSkeletalActionData_t_113b, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_113b().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputSkeletalActionData_t_113b, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_113b().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_113b) >= 16 ); +C_ASSERT( offsetof(u64_InputSkeletalActionData_t_113b, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_113b().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputSkeletalActionData_t_113b, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_113b().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_113b) >= 16 ); +C_ASSERT( offsetof(w32_InputSkeletalActionData_t_113b, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_113b().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputSkeletalActionData_t_113b, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_113b().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_113b) >= 12 ); +C_ASSERT( offsetof(u32_InputSkeletalActionData_t_113b, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_113b().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputSkeletalActionData_t_113b, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_113b().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_1016) >= 24 ); +C_ASSERT( offsetof(w64_InputSkeletalActionData_t_1016, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_1016().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputSkeletalActionData_t_1016, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_1016().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w64_InputSkeletalActionData_t_1016, boneCount) == 16 ); +C_ASSERT( sizeof(w64_InputSkeletalActionData_t_1016().boneCount) >= 4 ); + +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_1016) >= 24 ); +C_ASSERT( offsetof(u64_InputSkeletalActionData_t_1016, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_1016().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputSkeletalActionData_t_1016, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_1016().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u64_InputSkeletalActionData_t_1016, boneCount) == 16 ); +C_ASSERT( sizeof(u64_InputSkeletalActionData_t_1016().boneCount) >= 4 ); + +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_1016) >= 24 ); +C_ASSERT( offsetof(w32_InputSkeletalActionData_t_1016, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_1016().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputSkeletalActionData_t_1016, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_1016().activeOrigin) >= 8 ); +C_ASSERT( offsetof(w32_InputSkeletalActionData_t_1016, boneCount) == 16 ); +C_ASSERT( sizeof(w32_InputSkeletalActionData_t_1016().boneCount) >= 4 ); + +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_1016) >= 16 ); +C_ASSERT( offsetof(u32_InputSkeletalActionData_t_1016, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_1016().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputSkeletalActionData_t_1016, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_1016().activeOrigin) >= 8 ); +C_ASSERT( offsetof(u32_InputSkeletalActionData_t_1016, boneCount) == 12 ); +C_ASSERT( sizeof(u32_InputSkeletalActionData_t_1016().boneCount) >= 4 ); + +#ifdef __i386__ +w32_InputSkeletalActionData_t_113b::operator u32_InputSkeletalActionData_t_113b() const +{ + u32_InputSkeletalActionData_t_113b ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + return ret; +} + +u32_InputSkeletalActionData_t_113b::operator w32_InputSkeletalActionData_t_113b() const +{ + w32_InputSkeletalActionData_t_113b ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + return ret; +} +#endif + +#ifdef __i386__ +w32_InputSkeletalActionData_t_1016::operator u32_InputSkeletalActionData_t_1016() const +{ + u32_InputSkeletalActionData_t_1016 ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.boneCount = this->boneCount; + return ret; +} + +u32_InputSkeletalActionData_t_1016::operator w32_InputSkeletalActionData_t_1016() const +{ + w32_InputSkeletalActionData_t_1016 ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + ret.boneCount = this->boneCount; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_InputSkeletonActionData_t) >= 16 ); +C_ASSERT( offsetof(w64_InputSkeletonActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w64_InputSkeletonActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w64_InputSkeletonActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w64_InputSkeletonActionData_t().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(u64_InputSkeletonActionData_t) >= 16 ); +C_ASSERT( offsetof(u64_InputSkeletonActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u64_InputSkeletonActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u64_InputSkeletonActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(u64_InputSkeletonActionData_t().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(w32_InputSkeletonActionData_t) >= 16 ); +C_ASSERT( offsetof(w32_InputSkeletonActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(w32_InputSkeletonActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(w32_InputSkeletonActionData_t, activeOrigin) == 8 ); +C_ASSERT( sizeof(w32_InputSkeletonActionData_t().activeOrigin) >= 8 ); + +C_ASSERT( sizeof(u32_InputSkeletonActionData_t) >= 12 ); +C_ASSERT( offsetof(u32_InputSkeletonActionData_t, bActive) == 0 ); +C_ASSERT( sizeof(u32_InputSkeletonActionData_t().bActive) >= 1 ); +C_ASSERT( offsetof(u32_InputSkeletonActionData_t, activeOrigin) == 4 ); +C_ASSERT( sizeof(u32_InputSkeletonActionData_t().activeOrigin) >= 8 ); + +#ifdef __i386__ +w32_InputSkeletonActionData_t::operator u32_InputSkeletonActionData_t() const +{ + u32_InputSkeletonActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + return ret; +} + +u32_InputSkeletonActionData_t::operator w32_InputSkeletonActionData_t() const +{ + w32_InputSkeletonActionData_t ret; + ret.bActive = this->bActive; + ret.activeOrigin = this->activeOrigin; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_NotificationBitmap) >= 24 ); +C_ASSERT( offsetof(w64_NotificationBitmap, bytes) == 0 ); +C_ASSERT( sizeof(w64_NotificationBitmap().bytes) >= 8 ); +C_ASSERT( offsetof(w64_NotificationBitmap, width) == 8 ); +C_ASSERT( sizeof(w64_NotificationBitmap().width) >= 4 ); +C_ASSERT( offsetof(w64_NotificationBitmap, height) == 12 ); +C_ASSERT( sizeof(w64_NotificationBitmap().height) >= 4 ); +C_ASSERT( offsetof(w64_NotificationBitmap, depth) == 16 ); +C_ASSERT( sizeof(w64_NotificationBitmap().depth) >= 4 ); + +C_ASSERT( sizeof(u64_NotificationBitmap) >= 20 ); +C_ASSERT( offsetof(u64_NotificationBitmap, bytes) == 0 ); +C_ASSERT( sizeof(u64_NotificationBitmap().bytes) >= 8 ); +C_ASSERT( offsetof(u64_NotificationBitmap, width) == 8 ); +C_ASSERT( sizeof(u64_NotificationBitmap().width) >= 4 ); +C_ASSERT( offsetof(u64_NotificationBitmap, height) == 12 ); +C_ASSERT( sizeof(u64_NotificationBitmap().height) >= 4 ); +C_ASSERT( offsetof(u64_NotificationBitmap, depth) == 16 ); +C_ASSERT( sizeof(u64_NotificationBitmap().depth) >= 4 ); + +C_ASSERT( sizeof(w32_NotificationBitmap) >= 16 ); +C_ASSERT( offsetof(w32_NotificationBitmap, bytes) == 0 ); +C_ASSERT( sizeof(w32_NotificationBitmap().bytes) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap, width) == 4 ); +C_ASSERT( sizeof(w32_NotificationBitmap().width) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap, height) == 8 ); +C_ASSERT( sizeof(w32_NotificationBitmap().height) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap, depth) == 12 ); +C_ASSERT( sizeof(w32_NotificationBitmap().depth) >= 4 ); + +C_ASSERT( sizeof(u32_NotificationBitmap) >= 16 ); +C_ASSERT( offsetof(u32_NotificationBitmap, bytes) == 0 ); +C_ASSERT( sizeof(u32_NotificationBitmap().bytes) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap, width) == 4 ); +C_ASSERT( sizeof(u32_NotificationBitmap().width) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap, height) == 8 ); +C_ASSERT( sizeof(u32_NotificationBitmap().height) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap, depth) == 12 ); +C_ASSERT( sizeof(u32_NotificationBitmap().depth) >= 4 ); + +C_ASSERT( sizeof(w64_NotificationBitmap_t) >= 24 ); +C_ASSERT( offsetof(w64_NotificationBitmap_t, m_pImageData) == 0 ); +C_ASSERT( sizeof(w64_NotificationBitmap_t().m_pImageData) >= 8 ); +C_ASSERT( offsetof(w64_NotificationBitmap_t, m_nWidth) == 8 ); +C_ASSERT( sizeof(w64_NotificationBitmap_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_NotificationBitmap_t, m_nHeight) == 12 ); +C_ASSERT( sizeof(w64_NotificationBitmap_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_NotificationBitmap_t, m_nBytesPerPixel) == 16 ); +C_ASSERT( sizeof(w64_NotificationBitmap_t().m_nBytesPerPixel) >= 4 ); + +C_ASSERT( sizeof(u64_NotificationBitmap_t) >= 24 ); +C_ASSERT( offsetof(u64_NotificationBitmap_t, m_pImageData) == 0 ); +C_ASSERT( sizeof(u64_NotificationBitmap_t().m_pImageData) >= 8 ); +C_ASSERT( offsetof(u64_NotificationBitmap_t, m_nWidth) == 8 ); +C_ASSERT( sizeof(u64_NotificationBitmap_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_NotificationBitmap_t, m_nHeight) == 12 ); +C_ASSERT( sizeof(u64_NotificationBitmap_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_NotificationBitmap_t, m_nBytesPerPixel) == 16 ); +C_ASSERT( sizeof(u64_NotificationBitmap_t().m_nBytesPerPixel) >= 4 ); + +C_ASSERT( sizeof(w32_NotificationBitmap_t) >= 16 ); +C_ASSERT( offsetof(w32_NotificationBitmap_t, m_pImageData) == 0 ); +C_ASSERT( sizeof(w32_NotificationBitmap_t().m_pImageData) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap_t, m_nWidth) == 4 ); +C_ASSERT( sizeof(w32_NotificationBitmap_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap_t, m_nHeight) == 8 ); +C_ASSERT( sizeof(w32_NotificationBitmap_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_NotificationBitmap_t, m_nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(w32_NotificationBitmap_t().m_nBytesPerPixel) >= 4 ); + +C_ASSERT( sizeof(u32_NotificationBitmap_t) >= 16 ); +C_ASSERT( offsetof(u32_NotificationBitmap_t, m_pImageData) == 0 ); +C_ASSERT( sizeof(u32_NotificationBitmap_t().m_pImageData) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap_t, m_nWidth) == 4 ); +C_ASSERT( sizeof(u32_NotificationBitmap_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap_t, m_nHeight) == 8 ); +C_ASSERT( sizeof(u32_NotificationBitmap_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_NotificationBitmap_t, m_nBytesPerPixel) == 12 ); +C_ASSERT( sizeof(u32_NotificationBitmap_t().m_nBytesPerPixel) >= 4 ); + +C_ASSERT( sizeof(w64_RenderModel_t_0912) >= 32 ); +C_ASSERT( offsetof(w64_RenderModel_t_0912, rVertexData) == 0 ); +C_ASSERT( sizeof(w64_RenderModel_t_0912().rVertexData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_t_0912, unVertexCount) == 8 ); +C_ASSERT( sizeof(w64_RenderModel_t_0912().unVertexCount) >= 4 ); +C_ASSERT( offsetof(w64_RenderModel_t_0912, rIndexData) == 16 ); +C_ASSERT( sizeof(w64_RenderModel_t_0912().rIndexData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_t_0912, unTriangleCount) == 24 ); +C_ASSERT( sizeof(w64_RenderModel_t_0912().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(w64_RenderModel_t_0912, diffuseTextureId) == 28 ); +C_ASSERT( sizeof(w64_RenderModel_t_0912().diffuseTextureId) >= 4 ); + +C_ASSERT( sizeof(u64_RenderModel_t_0912) >= 28 ); +C_ASSERT( offsetof(u64_RenderModel_t_0912, rVertexData) == 0 ); +C_ASSERT( sizeof(u64_RenderModel_t_0912().rVertexData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_t_0912, unVertexCount) == 8 ); +C_ASSERT( sizeof(u64_RenderModel_t_0912().unVertexCount) >= 4 ); +C_ASSERT( offsetof(u64_RenderModel_t_0912, rIndexData) == 12 ); +C_ASSERT( sizeof(u64_RenderModel_t_0912().rIndexData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_t_0912, unTriangleCount) == 20 ); +C_ASSERT( sizeof(u64_RenderModel_t_0912().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(u64_RenderModel_t_0912, diffuseTextureId) == 24 ); +C_ASSERT( sizeof(u64_RenderModel_t_0912().diffuseTextureId) >= 4 ); + +C_ASSERT( sizeof(w32_RenderModel_t_0912) >= 20 ); +C_ASSERT( offsetof(w32_RenderModel_t_0912, rVertexData) == 0 ); +C_ASSERT( sizeof(w32_RenderModel_t_0912().rVertexData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_0912, unVertexCount) == 4 ); +C_ASSERT( sizeof(w32_RenderModel_t_0912().unVertexCount) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_0912, rIndexData) == 8 ); +C_ASSERT( sizeof(w32_RenderModel_t_0912().rIndexData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_0912, unTriangleCount) == 12 ); +C_ASSERT( sizeof(w32_RenderModel_t_0912().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_0912, diffuseTextureId) == 16 ); +C_ASSERT( sizeof(w32_RenderModel_t_0912().diffuseTextureId) >= 4 ); + +C_ASSERT( sizeof(u32_RenderModel_t_0912) >= 20 ); +C_ASSERT( offsetof(u32_RenderModel_t_0912, rVertexData) == 0 ); +C_ASSERT( sizeof(u32_RenderModel_t_0912().rVertexData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_0912, unVertexCount) == 4 ); +C_ASSERT( sizeof(u32_RenderModel_t_0912().unVertexCount) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_0912, rIndexData) == 8 ); +C_ASSERT( sizeof(u32_RenderModel_t_0912().rIndexData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_0912, unTriangleCount) == 12 ); +C_ASSERT( sizeof(u32_RenderModel_t_0912().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_0912, diffuseTextureId) == 16 ); +C_ASSERT( sizeof(u32_RenderModel_t_0912().diffuseTextureId) >= 4 ); + +C_ASSERT( sizeof(w64_RenderModel_t_090) >= 56 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, ulInternalHandle) == 0 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().ulInternalHandle) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, rVertexData) == 8 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().rVertexData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, unVertexCount) == 16 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().unVertexCount) >= 4 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, rIndexData) == 24 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().rIndexData) >= 8 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, unTriangleCount) == 32 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(w64_RenderModel_t_090, diffuseTexture) == 40 ); +C_ASSERT( sizeof(w64_RenderModel_t_090().diffuseTexture) >= 16 ); + +C_ASSERT( sizeof(u64_RenderModel_t_090) >= 44 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, ulInternalHandle) == 0 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().ulInternalHandle) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, rVertexData) == 8 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().rVertexData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, unVertexCount) == 16 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().unVertexCount) >= 4 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, rIndexData) == 20 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().rIndexData) >= 8 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, unTriangleCount) == 28 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(u64_RenderModel_t_090, diffuseTexture) == 32 ); +C_ASSERT( sizeof(u64_RenderModel_t_090().diffuseTexture) >= 12 ); + +C_ASSERT( sizeof(w32_RenderModel_t_090) >= 32 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, ulInternalHandle) == 0 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().ulInternalHandle) >= 8 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, rVertexData) == 8 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().rVertexData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, unVertexCount) == 12 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().unVertexCount) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, rIndexData) == 16 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().rIndexData) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, unTriangleCount) == 20 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(w32_RenderModel_t_090, diffuseTexture) == 24 ); +C_ASSERT( sizeof(w32_RenderModel_t_090().diffuseTexture) >= 8 ); + +C_ASSERT( sizeof(u32_RenderModel_t_090) >= 32 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, ulInternalHandle) == 0 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().ulInternalHandle) >= 8 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, rVertexData) == 8 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().rVertexData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, unVertexCount) == 12 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().unVertexCount) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, rIndexData) == 16 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().rIndexData) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, unTriangleCount) == 20 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().unTriangleCount) >= 4 ); +C_ASSERT( offsetof(u32_RenderModel_t_090, diffuseTexture) == 24 ); +C_ASSERT( sizeof(u32_RenderModel_t_090().diffuseTexture) >= 8 ); + +#ifdef __x86_64__ +w64_RenderModel_t_0912::operator u64_RenderModel_t_0912() const +{ + u64_RenderModel_t_0912 ret; + ret.rVertexData = this->rVertexData; + ret.unVertexCount = this->unVertexCount; + ret.rIndexData = this->rIndexData; + ret.unTriangleCount = this->unTriangleCount; + ret.diffuseTextureId = this->diffuseTextureId; + return ret; +} + +u64_RenderModel_t_0912::operator w64_RenderModel_t_0912() const +{ + w64_RenderModel_t_0912 ret; + ret.rVertexData = this->rVertexData; + ret.unVertexCount = this->unVertexCount; + ret.rIndexData = this->rIndexData; + ret.unTriangleCount = this->unTriangleCount; + ret.diffuseTextureId = this->diffuseTextureId; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_RenderModel_t_090::operator u64_RenderModel_t_090() const +{ + u64_RenderModel_t_090 ret; + ret.ulInternalHandle = this->ulInternalHandle; + ret.rVertexData = this->rVertexData; + ret.unVertexCount = this->unVertexCount; + ret.rIndexData = this->rIndexData; + ret.unTriangleCount = this->unTriangleCount; + ret.diffuseTexture = this->diffuseTexture; + return ret; +} + +u64_RenderModel_t_090::operator w64_RenderModel_t_090() const +{ + w64_RenderModel_t_090 ret; + ret.ulInternalHandle = this->ulInternalHandle; + ret.rVertexData = this->rVertexData; + ret.unVertexCount = this->unVertexCount; + ret.rIndexData = this->rIndexData; + ret.unTriangleCount = this->unTriangleCount; + ret.diffuseTexture = this->diffuseTexture; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_VRControllerState001_t) >= 64 ); +C_ASSERT( offsetof(w64_VRControllerState001_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(w64_VRControllerState001_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(w64_VRControllerState001_t, ulButtonPressed) == 8 ); +C_ASSERT( sizeof(w64_VRControllerState001_t().ulButtonPressed) >= 8 ); +C_ASSERT( offsetof(w64_VRControllerState001_t, ulButtonTouched) == 16 ); +C_ASSERT( sizeof(w64_VRControllerState001_t().ulButtonTouched) >= 8 ); +C_ASSERT( offsetof(w64_VRControllerState001_t, rAxis) == 24 ); +C_ASSERT( sizeof(w64_VRControllerState001_t().rAxis) >= 40 ); + +C_ASSERT( sizeof(u64_VRControllerState001_t) >= 60 ); +C_ASSERT( offsetof(u64_VRControllerState001_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(u64_VRControllerState001_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(u64_VRControllerState001_t, ulButtonPressed) == 4 ); +C_ASSERT( sizeof(u64_VRControllerState001_t().ulButtonPressed) >= 8 ); +C_ASSERT( offsetof(u64_VRControllerState001_t, ulButtonTouched) == 12 ); +C_ASSERT( sizeof(u64_VRControllerState001_t().ulButtonTouched) >= 8 ); +C_ASSERT( offsetof(u64_VRControllerState001_t, rAxis) == 20 ); +C_ASSERT( sizeof(u64_VRControllerState001_t().rAxis) >= 40 ); + +C_ASSERT( sizeof(w32_VRControllerState001_t) >= 64 ); +C_ASSERT( offsetof(w32_VRControllerState001_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(w32_VRControllerState001_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(w32_VRControllerState001_t, ulButtonPressed) == 8 ); +C_ASSERT( sizeof(w32_VRControllerState001_t().ulButtonPressed) >= 8 ); +C_ASSERT( offsetof(w32_VRControllerState001_t, ulButtonTouched) == 16 ); +C_ASSERT( sizeof(w32_VRControllerState001_t().ulButtonTouched) >= 8 ); +C_ASSERT( offsetof(w32_VRControllerState001_t, rAxis) == 24 ); +C_ASSERT( sizeof(w32_VRControllerState001_t().rAxis) >= 40 ); + +C_ASSERT( sizeof(u32_VRControllerState001_t) >= 60 ); +C_ASSERT( offsetof(u32_VRControllerState001_t, unPacketNum) == 0 ); +C_ASSERT( sizeof(u32_VRControllerState001_t().unPacketNum) >= 4 ); +C_ASSERT( offsetof(u32_VRControllerState001_t, ulButtonPressed) == 4 ); +C_ASSERT( sizeof(u32_VRControllerState001_t().ulButtonPressed) >= 8 ); +C_ASSERT( offsetof(u32_VRControllerState001_t, ulButtonTouched) == 12 ); +C_ASSERT( sizeof(u32_VRControllerState001_t().ulButtonTouched) >= 8 ); +C_ASSERT( offsetof(u32_VRControllerState001_t, rAxis) == 20 ); +C_ASSERT( sizeof(u32_VRControllerState001_t().rAxis) >= 40 ); + +#ifdef __x86_64__ +w64_VRControllerState001_t::operator u64_VRControllerState001_t() const +{ + u64_VRControllerState001_t ret; + ret.unPacketNum = this->unPacketNum; + ret.ulButtonPressed = this->ulButtonPressed; + ret.ulButtonTouched = this->ulButtonTouched; + ret.rAxis = this->rAxis; + return ret; +} + +u64_VRControllerState001_t::operator w64_VRControllerState001_t() const +{ + w64_VRControllerState001_t ret; + ret.unPacketNum = this->unPacketNum; + ret.ulButtonPressed = this->ulButtonPressed; + ret.ulButtonTouched = this->ulButtonTouched; + ret.rAxis = this->rAxis; + return ret; +} +#endif + +#ifdef __i386__ +w32_VRControllerState001_t::operator u32_VRControllerState001_t() const +{ + u32_VRControllerState001_t ret; + ret.unPacketNum = this->unPacketNum; + ret.ulButtonPressed = this->ulButtonPressed; + ret.ulButtonTouched = this->ulButtonTouched; + ret.rAxis = this->rAxis; + return ret; +} + +u32_VRControllerState001_t::operator w32_VRControllerState001_t() const +{ + w32_VRControllerState001_t ret; + ret.unPacketNum = this->unPacketNum; + ret.ulButtonPressed = this->ulButtonPressed; + ret.ulButtonTouched = this->ulButtonTouched; + ret.rAxis = this->rAxis; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_VREvent_t_1168) >= 64 ); +C_ASSERT( offsetof(w64_VREvent_t_1168, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1168().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1168, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1168().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1168, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1168().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1168, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1168().data) >= 48 ); + +C_ASSERT( sizeof(u64_VREvent_t_1168) >= 60 ); +C_ASSERT( offsetof(u64_VREvent_t_1168, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1168().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1168, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1168().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1168, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1168().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1168, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1168().data) >= 48 ); + +C_ASSERT( sizeof(w32_VREvent_t_1168) >= 64 ); +C_ASSERT( offsetof(w32_VREvent_t_1168, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1168().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1168, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1168().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1168, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1168().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1168, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1168().data) >= 48 ); + +C_ASSERT( sizeof(u32_VREvent_t_1168) >= 60 ); +C_ASSERT( offsetof(u32_VREvent_t_1168, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1168().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1168, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1168().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1168, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1168().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1168, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1168().data) >= 48 ); + +C_ASSERT( sizeof(w64_VREvent_t_11030) >= 64 ); +C_ASSERT( offsetof(w64_VREvent_t_11030, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_11030().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_11030, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_11030().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_11030, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_11030().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_11030, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_11030().data) >= 48 ); + +C_ASSERT( sizeof(u64_VREvent_t_11030) >= 60 ); +C_ASSERT( offsetof(u64_VREvent_t_11030, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_11030().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_11030, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_11030().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_11030, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_11030().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_11030, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_11030().data) >= 48 ); + +C_ASSERT( sizeof(w32_VREvent_t_11030) >= 64 ); +C_ASSERT( offsetof(w32_VREvent_t_11030, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_11030().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_11030, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_11030().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_11030, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_11030().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_11030, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_11030().data) >= 48 ); + +C_ASSERT( sizeof(u32_VREvent_t_11030) >= 60 ); +C_ASSERT( offsetof(u32_VREvent_t_11030, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_11030().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_11030, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_11030().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_11030, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_11030().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_11030, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_11030().data) >= 48 ); + +C_ASSERT( sizeof(w64_VREvent_t_1322) >= 64 ); +C_ASSERT( offsetof(w64_VREvent_t_1322, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1322().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1322, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1322().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1322, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1322().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1322, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1322().data) >= 48 ); + +C_ASSERT( sizeof(u64_VREvent_t_1322) >= 60 ); +C_ASSERT( offsetof(u64_VREvent_t_1322, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1322().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1322, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1322().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1322, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1322().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1322, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1322().data) >= 48 ); + +C_ASSERT( sizeof(w32_VREvent_t_1322) >= 64 ); +C_ASSERT( offsetof(w32_VREvent_t_1322, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1322().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1322, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1322().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1322, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1322().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1322, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1322().data) >= 48 ); + +C_ASSERT( sizeof(u32_VREvent_t_1322) >= 60 ); +C_ASSERT( offsetof(u32_VREvent_t_1322, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1322().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1322, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1322().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1322, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1322().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1322, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1322().data) >= 48 ); + +C_ASSERT( sizeof(w64_VREvent_t_1210) >= 64 ); +C_ASSERT( offsetof(w64_VREvent_t_1210, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1210().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1210, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1210().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1210, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1210().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1210, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1210().data) >= 48 ); + +C_ASSERT( sizeof(u64_VREvent_t_1210) >= 60 ); +C_ASSERT( offsetof(u64_VREvent_t_1210, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1210().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1210, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1210().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1210, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1210().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1210, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1210().data) >= 48 ); + +C_ASSERT( sizeof(w32_VREvent_t_1210) >= 64 ); +C_ASSERT( offsetof(w32_VREvent_t_1210, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1210().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1210, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1210().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1210, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1210().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1210, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1210().data) >= 48 ); + +C_ASSERT( sizeof(u32_VREvent_t_1210) >= 60 ); +C_ASSERT( offsetof(u32_VREvent_t_1210, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1210().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1210, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1210().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1210, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1210().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1210, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1210().data) >= 48 ); + +C_ASSERT( sizeof(w64_VREvent_t_113b) >= 64 ); +C_ASSERT( offsetof(w64_VREvent_t_113b, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_113b().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_113b, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_113b().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_113b, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_113b().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_113b, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_113b().data) >= 48 ); + +C_ASSERT( sizeof(u64_VREvent_t_113b) >= 60 ); +C_ASSERT( offsetof(u64_VREvent_t_113b, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_113b().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_113b, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_113b().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_113b, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_113b().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_113b, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_113b().data) >= 48 ); + +C_ASSERT( sizeof(w32_VREvent_t_113b) >= 64 ); +C_ASSERT( offsetof(w32_VREvent_t_113b, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_113b().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_113b, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_113b().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_113b, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_113b().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_113b, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_113b().data) >= 48 ); + +C_ASSERT( sizeof(u32_VREvent_t_113b) >= 60 ); +C_ASSERT( offsetof(u32_VREvent_t_113b, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_113b().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_113b, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_113b().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_113b, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_113b().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_113b, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_113b().data) >= 48 ); + +C_ASSERT( sizeof(w64_VREvent_t_1016) >= 48 ); +C_ASSERT( offsetof(w64_VREvent_t_1016, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1016().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1016, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1016().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1016, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1016().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1016, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1016().data) >= 32 ); + +C_ASSERT( sizeof(u64_VREvent_t_1016) >= 44 ); +C_ASSERT( offsetof(u64_VREvent_t_1016, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1016().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1016, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1016().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1016, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1016().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1016, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1016().data) >= 32 ); + +C_ASSERT( sizeof(w32_VREvent_t_1016) >= 48 ); +C_ASSERT( offsetof(w32_VREvent_t_1016, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1016().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1016, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1016().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1016, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1016().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1016, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1016().data) >= 32 ); + +C_ASSERT( sizeof(u32_VREvent_t_1016) >= 44 ); +C_ASSERT( offsetof(u32_VREvent_t_1016, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1016().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1016, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1016().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1016, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1016().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1016, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1016().data) >= 32 ); + +C_ASSERT( sizeof(w64_VREvent_t_1015) >= 48 ); +C_ASSERT( offsetof(w64_VREvent_t_1015, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1015().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1015, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1015().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1015, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1015().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1015, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1015().data) >= 32 ); + +C_ASSERT( sizeof(u64_VREvent_t_1015) >= 44 ); +C_ASSERT( offsetof(u64_VREvent_t_1015, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1015().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1015, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1015().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1015, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1015().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1015, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1015().data) >= 32 ); + +C_ASSERT( sizeof(w32_VREvent_t_1015) >= 48 ); +C_ASSERT( offsetof(w32_VREvent_t_1015, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1015().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1015, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1015().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1015, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1015().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1015, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1015().data) >= 32 ); + +C_ASSERT( sizeof(u32_VREvent_t_1015) >= 44 ); +C_ASSERT( offsetof(u32_VREvent_t_1015, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1015().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1015, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1015().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1015, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1015().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1015, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1015().data) >= 32 ); + +C_ASSERT( sizeof(w64_VREvent_t_1014) >= 48 ); +C_ASSERT( offsetof(w64_VREvent_t_1014, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1014().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1014, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1014().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1014, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1014().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1014, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1014().data) >= 32 ); + +C_ASSERT( sizeof(u64_VREvent_t_1014) >= 44 ); +C_ASSERT( offsetof(u64_VREvent_t_1014, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1014().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1014, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1014().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1014, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1014().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1014, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1014().data) >= 32 ); + +C_ASSERT( sizeof(w32_VREvent_t_1014) >= 48 ); +C_ASSERT( offsetof(w32_VREvent_t_1014, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1014().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1014, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1014().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1014, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1014().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1014, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1014().data) >= 32 ); + +C_ASSERT( sizeof(u32_VREvent_t_1014) >= 44 ); +C_ASSERT( offsetof(u32_VREvent_t_1014, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1014().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1014, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1014().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1014, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1014().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1014, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1014().data) >= 32 ); + +C_ASSERT( sizeof(w64_VREvent_t_1013) >= 48 ); +C_ASSERT( offsetof(w64_VREvent_t_1013, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1013().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1013, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1013().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1013, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1013().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1013, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1013().data) >= 32 ); + +C_ASSERT( sizeof(u64_VREvent_t_1013) >= 44 ); +C_ASSERT( offsetof(u64_VREvent_t_1013, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1013().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1013, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1013().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1013, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1013().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1013, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1013().data) >= 32 ); + +C_ASSERT( sizeof(w32_VREvent_t_1013) >= 48 ); +C_ASSERT( offsetof(w32_VREvent_t_1013, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1013().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1013, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1013().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1013, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1013().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1013, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1013().data) >= 32 ); + +C_ASSERT( sizeof(u32_VREvent_t_1013) >= 44 ); +C_ASSERT( offsetof(u32_VREvent_t_1013, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1013().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1013, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1013().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1013, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1013().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1013, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1013().data) >= 32 ); + +C_ASSERT( sizeof(w64_VREvent_t_1012) >= 48 ); +C_ASSERT( offsetof(w64_VREvent_t_1012, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1012().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1012, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1012().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1012, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1012().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1012, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1012().data) >= 32 ); + +C_ASSERT( sizeof(u64_VREvent_t_1012) >= 44 ); +C_ASSERT( offsetof(u64_VREvent_t_1012, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1012().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1012, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1012().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1012, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1012().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1012, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1012().data) >= 32 ); + +C_ASSERT( sizeof(w32_VREvent_t_1012) >= 48 ); +C_ASSERT( offsetof(w32_VREvent_t_1012, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1012().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1012, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1012().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1012, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1012().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1012, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1012().data) >= 32 ); + +C_ASSERT( sizeof(u32_VREvent_t_1012) >= 40 ); +C_ASSERT( offsetof(u32_VREvent_t_1012, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1012().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1012, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1012().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1012, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1012().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1012, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1012().data) >= 28 ); + +C_ASSERT( sizeof(w64_VREvent_t_1011) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_1011, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_1011().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1011, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_1011().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1011, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_1011().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_1011, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_1011().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_1011) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_1011, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_1011().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1011, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_1011().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1011, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_1011().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_1011, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_1011().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_1011) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_1011, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_1011().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1011, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_1011().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1011, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_1011().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_1011, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_1011().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_1011) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_1011, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_1011().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1011, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_1011().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1011, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_1011().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_1011, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_1011().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_106) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_106, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_106().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_106, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_106().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_106, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_106().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_106, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_106().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_106) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_106, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_106().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_106, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_106().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_106, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_106().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_106, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_106().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_106) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_106, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_106().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_106, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_106().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_106, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_106().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_106, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_106().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_106) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_106, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_106().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_106, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_106().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_106, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_106().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_106, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_106().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_105) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_105, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_105().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_105, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_105().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_105, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_105().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_105, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_105().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_105) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_105, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_105().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_105, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_105().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_105, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_105().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_105, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_105().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_105) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_105, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_105().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_105, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_105().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_105, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_105().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_105, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_105().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_105) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_105, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_105().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_105, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_105().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_105, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_105().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_105, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_105().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_103) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_103, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_103().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_103, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_103().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_103, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_103().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_103, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_103().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_103) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_103, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_103().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_103, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_103().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_103, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_103().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_103, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_103().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_103) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_103, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_103().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_103, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_103().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_103, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_103().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_103, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_103().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_103) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_103, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_103().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_103, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_103().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_103, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_103().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_103, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_103().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_102) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_102, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_102().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_102, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_102().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_102, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_102().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_102, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_102().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_102) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_102, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_102().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_102, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_102().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_102, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_102().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_102, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_102().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_102) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_102, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_102().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_102, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_102().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_102, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_102().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_102, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_102().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_102) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_102, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_102().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_102, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_102().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_102, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_102().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_102, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_102().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_101) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_101, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_101().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_101, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_101().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_101, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_101().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_101, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_101().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_101) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_101, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_101().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_101, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_101().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_101, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_101().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_101, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_101().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_101) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_101, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_101().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_101, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_101().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_101, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_101().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_101, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_101().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_101) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_101, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_101().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_101, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_101().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_101, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_101().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_101, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_101().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_0918) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_0918, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_0918().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0918, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_0918().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0918, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_0918().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0918, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_0918().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_0918) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_0918, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_0918().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0918, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_0918().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0918, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_0918().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0918, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_0918().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_0918) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_0918, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_0918().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0918, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_0918().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0918, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_0918().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0918, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_0918().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_0918) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_0918, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_0918().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0918, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_0918().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0918, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_0918().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0918, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_0918().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_0915) >= 40 ); +C_ASSERT( offsetof(w64_VREvent_t_0915, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_0915().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0915, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_0915().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0915, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_0915().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0915, data) == 16 ); +C_ASSERT( sizeof(w64_VREvent_t_0915().data) >= 24 ); + +C_ASSERT( sizeof(u64_VREvent_t_0915) >= 36 ); +C_ASSERT( offsetof(u64_VREvent_t_0915, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_0915().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0915, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_0915().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0915, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_0915().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0915, data) == 12 ); +C_ASSERT( sizeof(u64_VREvent_t_0915().data) >= 24 ); + +C_ASSERT( sizeof(w32_VREvent_t_0915) >= 40 ); +C_ASSERT( offsetof(w32_VREvent_t_0915, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_0915().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0915, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_0915().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0915, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_0915().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0915, data) == 16 ); +C_ASSERT( sizeof(w32_VREvent_t_0915().data) >= 24 ); + +C_ASSERT( sizeof(u32_VREvent_t_0915) >= 36 ); +C_ASSERT( offsetof(u32_VREvent_t_0915, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_0915().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0915, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_0915().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0915, eventAgeSeconds) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_0915().eventAgeSeconds) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0915, data) == 12 ); +C_ASSERT( sizeof(u32_VREvent_t_0915().data) >= 24 ); + +C_ASSERT( sizeof(w64_VREvent_t_0914) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_0914, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_0914().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0914, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_0914().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0914, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_0914().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_0914, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_0914().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_0914) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_0914, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_0914().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0914, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_0914().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0914, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_0914().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_0914, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_0914().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_0914) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_0914, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_0914().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0914, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_0914().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0914, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_0914().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_0914, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_0914().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_0914) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_0914, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_0914().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0914, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_0914().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0914, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_0914().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_0914, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_0914().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_0912) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_0912, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_0912().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0912, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_0912().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0912, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_0912().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_0912, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_0912().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_0912) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_0912, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_0912().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0912, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_0912().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0912, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_0912().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_0912, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_0912().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_0912) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_0912, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_0912().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0912, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_0912().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0912, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_0912().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_0912, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_0912().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_0912) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_0912, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_0912().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0912, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_0912().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0912, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_0912().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_0912, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_0912().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_0910) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_0910, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_0910().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0910, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_0910().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_0910, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_0910().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_0910, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_0910().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_0910) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_0910, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_0910().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0910, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_0910().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_0910, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_0910().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_0910, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_0910().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_0910) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_0910, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_0910().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0910, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_0910().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_0910, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_0910().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_0910, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_0910().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_0910) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_0910, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_0910().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0910, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_0910().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_0910, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_0910().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_0910, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_0910().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_097) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_097, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_097().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_097, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_097().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_097, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_097().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_097, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_097().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_097) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_097, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_097().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_097, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_097().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_097, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_097().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_097, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_097().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_097) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_097, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_097().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_097, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_097().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_097, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_097().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_097, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_097().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_097) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_097, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_097().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_097, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_097().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_097, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_097().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_097, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_097().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_093) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_093, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_093().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_093, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_093().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_093, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_093().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_093, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_093().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_093) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_093, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_093().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_093, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_093().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_093, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_093().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_093, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_093().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_093) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_093, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_093().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_093, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_093().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_093, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_093().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_093, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_093().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_093) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_093, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_093().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_093, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_093().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_093, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_093().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_093, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_093().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_092) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_092, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_092().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_092, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_092().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_092, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_092().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_092, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_092().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_092) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_092, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_092().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_092, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_092().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_092, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_092().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_092, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_092().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_092) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_092, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_092().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_092, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_092().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_092, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_092().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_092, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_092().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_092) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_092, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_092().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_092, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_092().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_092, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_092().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_092, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_092().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w64_VREvent_t_090) >= 32 ); +C_ASSERT( offsetof(w64_VREvent_t_090, eventType) == 0 ); +C_ASSERT( sizeof(w64_VREvent_t_090().eventType) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_090, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w64_VREvent_t_090().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w64_VREvent_t_090, data) == 8 ); +C_ASSERT( sizeof(w64_VREvent_t_090().data) >= 16 ); +C_ASSERT( offsetof(w64_VREvent_t_090, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w64_VREvent_t_090().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u64_VREvent_t_090) >= 28 ); +C_ASSERT( offsetof(u64_VREvent_t_090, eventType) == 0 ); +C_ASSERT( sizeof(u64_VREvent_t_090().eventType) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_090, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u64_VREvent_t_090().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u64_VREvent_t_090, data) == 8 ); +C_ASSERT( sizeof(u64_VREvent_t_090().data) >= 16 ); +C_ASSERT( offsetof(u64_VREvent_t_090, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u64_VREvent_t_090().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(w32_VREvent_t_090) >= 32 ); +C_ASSERT( offsetof(w32_VREvent_t_090, eventType) == 0 ); +C_ASSERT( sizeof(w32_VREvent_t_090().eventType) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_090, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(w32_VREvent_t_090().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(w32_VREvent_t_090, data) == 8 ); +C_ASSERT( sizeof(w32_VREvent_t_090().data) >= 16 ); +C_ASSERT( offsetof(w32_VREvent_t_090, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(w32_VREvent_t_090().eventAgeSeconds) >= 4 ); + +C_ASSERT( sizeof(u32_VREvent_t_090) >= 28 ); +C_ASSERT( offsetof(u32_VREvent_t_090, eventType) == 0 ); +C_ASSERT( sizeof(u32_VREvent_t_090().eventType) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_090, trackedDeviceIndex) == 4 ); +C_ASSERT( sizeof(u32_VREvent_t_090().trackedDeviceIndex) >= 4 ); +C_ASSERT( offsetof(u32_VREvent_t_090, data) == 8 ); +C_ASSERT( sizeof(u32_VREvent_t_090().data) >= 16 ); +C_ASSERT( offsetof(u32_VREvent_t_090, eventAgeSeconds) == 24 ); +C_ASSERT( sizeof(u32_VREvent_t_090().eventAgeSeconds) >= 4 ); + +#ifdef __x86_64__ +w64_VREvent_t_1168::operator u64_VREvent_t_1168() const +{ + u64_VREvent_t_1168 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1168::operator w64_VREvent_t_1168() const +{ + w64_VREvent_t_1168 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1168::operator u32_VREvent_t_1168() const +{ + u32_VREvent_t_1168 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1168::operator w32_VREvent_t_1168() const +{ + w32_VREvent_t_1168 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_11030::operator u64_VREvent_t_11030() const +{ + u64_VREvent_t_11030 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_11030::operator w64_VREvent_t_11030() const +{ + w64_VREvent_t_11030 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_11030::operator u32_VREvent_t_11030() const +{ + u32_VREvent_t_11030 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_11030::operator w32_VREvent_t_11030() const +{ + w32_VREvent_t_11030 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1322::operator u64_VREvent_t_1322() const +{ + u64_VREvent_t_1322 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1322::operator w64_VREvent_t_1322() const +{ + w64_VREvent_t_1322 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1322::operator u32_VREvent_t_1322() const +{ + u32_VREvent_t_1322 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1322::operator w32_VREvent_t_1322() const +{ + w32_VREvent_t_1322 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1210::operator u64_VREvent_t_1210() const +{ + u64_VREvent_t_1210 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1210::operator w64_VREvent_t_1210() const +{ + w64_VREvent_t_1210 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1210::operator u32_VREvent_t_1210() const +{ + u32_VREvent_t_1210 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1210::operator w32_VREvent_t_1210() const +{ + w32_VREvent_t_1210 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_113b::operator u64_VREvent_t_113b() const +{ + u64_VREvent_t_113b ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_113b::operator w64_VREvent_t_113b() const +{ + w64_VREvent_t_113b ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_113b::operator u32_VREvent_t_113b() const +{ + u32_VREvent_t_113b ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_113b::operator w32_VREvent_t_113b() const +{ + w32_VREvent_t_113b ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1016::operator u64_VREvent_t_1016() const +{ + u64_VREvent_t_1016 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1016::operator w64_VREvent_t_1016() const +{ + w64_VREvent_t_1016 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1016::operator u32_VREvent_t_1016() const +{ + u32_VREvent_t_1016 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1016::operator w32_VREvent_t_1016() const +{ + w32_VREvent_t_1016 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1015::operator u64_VREvent_t_1015() const +{ + u64_VREvent_t_1015 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1015::operator w64_VREvent_t_1015() const +{ + w64_VREvent_t_1015 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1015::operator u32_VREvent_t_1015() const +{ + u32_VREvent_t_1015 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1015::operator w32_VREvent_t_1015() const +{ + w32_VREvent_t_1015 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1014::operator u64_VREvent_t_1014() const +{ + u64_VREvent_t_1014 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1014::operator w64_VREvent_t_1014() const +{ + w64_VREvent_t_1014 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1014::operator u32_VREvent_t_1014() const +{ + u32_VREvent_t_1014 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1014::operator w32_VREvent_t_1014() const +{ + w32_VREvent_t_1014 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1013::operator u64_VREvent_t_1013() const +{ + u64_VREvent_t_1013 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1013::operator w64_VREvent_t_1013() const +{ + w64_VREvent_t_1013 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1013::operator u32_VREvent_t_1013() const +{ + u32_VREvent_t_1013 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1013::operator w32_VREvent_t_1013() const +{ + w32_VREvent_t_1013 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1012::operator u64_VREvent_t_1012() const +{ + u64_VREvent_t_1012 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1012::operator w64_VREvent_t_1012() const +{ + w64_VREvent_t_1012 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1012::operator u32_VREvent_t_1012() const +{ + u32_VREvent_t_1012 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1012::operator w32_VREvent_t_1012() const +{ + w32_VREvent_t_1012 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_1011::operator u64_VREvent_t_1011() const +{ + u64_VREvent_t_1011 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_1011::operator w64_VREvent_t_1011() const +{ + w64_VREvent_t_1011 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_1011::operator u32_VREvent_t_1011() const +{ + u32_VREvent_t_1011 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_1011::operator w32_VREvent_t_1011() const +{ + w32_VREvent_t_1011 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_106::operator u64_VREvent_t_106() const +{ + u64_VREvent_t_106 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_106::operator w64_VREvent_t_106() const +{ + w64_VREvent_t_106 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_106::operator u32_VREvent_t_106() const +{ + u32_VREvent_t_106 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_106::operator w32_VREvent_t_106() const +{ + w32_VREvent_t_106 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_105::operator u64_VREvent_t_105() const +{ + u64_VREvent_t_105 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_105::operator w64_VREvent_t_105() const +{ + w64_VREvent_t_105 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_105::operator u32_VREvent_t_105() const +{ + u32_VREvent_t_105 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_105::operator w32_VREvent_t_105() const +{ + w32_VREvent_t_105 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_103::operator u64_VREvent_t_103() const +{ + u64_VREvent_t_103 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_103::operator w64_VREvent_t_103() const +{ + w64_VREvent_t_103 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_103::operator u32_VREvent_t_103() const +{ + u32_VREvent_t_103 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_103::operator w32_VREvent_t_103() const +{ + w32_VREvent_t_103 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_102::operator u64_VREvent_t_102() const +{ + u64_VREvent_t_102 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_102::operator w64_VREvent_t_102() const +{ + w64_VREvent_t_102 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_102::operator u32_VREvent_t_102() const +{ + u32_VREvent_t_102 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_102::operator w32_VREvent_t_102() const +{ + w32_VREvent_t_102 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_101::operator u64_VREvent_t_101() const +{ + u64_VREvent_t_101 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_101::operator w64_VREvent_t_101() const +{ + w64_VREvent_t_101 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_101::operator u32_VREvent_t_101() const +{ + u32_VREvent_t_101 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_101::operator w32_VREvent_t_101() const +{ + w32_VREvent_t_101 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_0918::operator u64_VREvent_t_0918() const +{ + u64_VREvent_t_0918 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_0918::operator w64_VREvent_t_0918() const +{ + w64_VREvent_t_0918 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_0918::operator u32_VREvent_t_0918() const +{ + u32_VREvent_t_0918 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_0918::operator w32_VREvent_t_0918() const +{ + w32_VREvent_t_0918 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_0915::operator u64_VREvent_t_0915() const +{ + u64_VREvent_t_0915 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u64_VREvent_t_0915::operator w64_VREvent_t_0915() const +{ + w64_VREvent_t_0915 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_0915::operator u32_VREvent_t_0915() const +{ + u32_VREvent_t_0915 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} + +u32_VREvent_t_0915::operator w32_VREvent_t_0915() const +{ + w32_VREvent_t_0915 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.eventAgeSeconds = this->eventAgeSeconds; + ret.data = this->data; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_0914::operator u64_VREvent_t_0914() const +{ + u64_VREvent_t_0914 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_0914::operator w64_VREvent_t_0914() const +{ + w64_VREvent_t_0914 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_0914::operator u32_VREvent_t_0914() const +{ + u32_VREvent_t_0914 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_0914::operator w32_VREvent_t_0914() const +{ + w32_VREvent_t_0914 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_0912::operator u64_VREvent_t_0912() const +{ + u64_VREvent_t_0912 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_0912::operator w64_VREvent_t_0912() const +{ + w64_VREvent_t_0912 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_0912::operator u32_VREvent_t_0912() const +{ + u32_VREvent_t_0912 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_0912::operator w32_VREvent_t_0912() const +{ + w32_VREvent_t_0912 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_0910::operator u64_VREvent_t_0910() const +{ + u64_VREvent_t_0910 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_0910::operator w64_VREvent_t_0910() const +{ + w64_VREvent_t_0910 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_0910::operator u32_VREvent_t_0910() const +{ + u32_VREvent_t_0910 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_0910::operator w32_VREvent_t_0910() const +{ + w32_VREvent_t_0910 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_097::operator u64_VREvent_t_097() const +{ + u64_VREvent_t_097 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_097::operator w64_VREvent_t_097() const +{ + w64_VREvent_t_097 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_097::operator u32_VREvent_t_097() const +{ + u32_VREvent_t_097 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_097::operator w32_VREvent_t_097() const +{ + w32_VREvent_t_097 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_093::operator u64_VREvent_t_093() const +{ + u64_VREvent_t_093 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_093::operator w64_VREvent_t_093() const +{ + w64_VREvent_t_093 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_093::operator u32_VREvent_t_093() const +{ + u32_VREvent_t_093 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_093::operator w32_VREvent_t_093() const +{ + w32_VREvent_t_093 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_092::operator u64_VREvent_t_092() const +{ + u64_VREvent_t_092 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_092::operator w64_VREvent_t_092() const +{ + w64_VREvent_t_092 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_092::operator u32_VREvent_t_092() const +{ + u32_VREvent_t_092 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_092::operator w32_VREvent_t_092() const +{ + w32_VREvent_t_092 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __x86_64__ +w64_VREvent_t_090::operator u64_VREvent_t_090() const +{ + u64_VREvent_t_090 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u64_VREvent_t_090::operator w64_VREvent_t_090() const +{ + w64_VREvent_t_090 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +#ifdef __i386__ +w32_VREvent_t_090::operator u32_VREvent_t_090() const +{ + u32_VREvent_t_090 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} + +u32_VREvent_t_090::operator w32_VREvent_t_090() const +{ + w32_VREvent_t_090 ret; + ret.eventType = this->eventType; + ret.trackedDeviceIndex = this->trackedDeviceIndex; + ret.data = this->data; + ret.eventAgeSeconds = this->eventAgeSeconds; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_VRNativeDevice_t) >= 16 ); +C_ASSERT( offsetof(w64_VRNativeDevice_t, handle) == 0 ); +C_ASSERT( sizeof(w64_VRNativeDevice_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_VRNativeDevice_t, eType) == 8 ); +C_ASSERT( sizeof(w64_VRNativeDevice_t().eType) >= 4 ); + +C_ASSERT( sizeof(u64_VRNativeDevice_t) >= 16 ); +C_ASSERT( offsetof(u64_VRNativeDevice_t, handle) == 0 ); +C_ASSERT( sizeof(u64_VRNativeDevice_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_VRNativeDevice_t, eType) == 8 ); +C_ASSERT( sizeof(u64_VRNativeDevice_t().eType) >= 4 ); + +C_ASSERT( sizeof(w32_VRNativeDevice_t) >= 8 ); +C_ASSERT( offsetof(w32_VRNativeDevice_t, handle) == 0 ); +C_ASSERT( sizeof(w32_VRNativeDevice_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_VRNativeDevice_t, eType) == 4 ); +C_ASSERT( sizeof(w32_VRNativeDevice_t().eType) >= 4 ); + +C_ASSERT( sizeof(u32_VRNativeDevice_t) >= 8 ); +C_ASSERT( offsetof(u32_VRNativeDevice_t, handle) == 0 ); +C_ASSERT( sizeof(u32_VRNativeDevice_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_VRNativeDevice_t, eType) == 4 ); +C_ASSERT( sizeof(u32_VRNativeDevice_t().eType) >= 4 ); + +C_ASSERT( sizeof(w64_VROverlayView_t) >= 40 ); +C_ASSERT( offsetof(w64_VROverlayView_t, overlayHandle) == 0 ); +C_ASSERT( sizeof(w64_VROverlayView_t().overlayHandle) >= 8 ); +C_ASSERT( offsetof(w64_VROverlayView_t, texture) == 8 ); +C_ASSERT( sizeof(w64_VROverlayView_t().texture) >= 16 ); +C_ASSERT( offsetof(w64_VROverlayView_t, textureBounds) == 24 ); +C_ASSERT( sizeof(w64_VROverlayView_t().textureBounds) >= 16 ); + +C_ASSERT( sizeof(u64_VROverlayView_t) >= 40 ); +C_ASSERT( offsetof(u64_VROverlayView_t, overlayHandle) == 0 ); +C_ASSERT( sizeof(u64_VROverlayView_t().overlayHandle) >= 8 ); +C_ASSERT( offsetof(u64_VROverlayView_t, texture) == 8 ); +C_ASSERT( sizeof(u64_VROverlayView_t().texture) >= 16 ); +C_ASSERT( offsetof(u64_VROverlayView_t, textureBounds) == 24 ); +C_ASSERT( sizeof(u64_VROverlayView_t().textureBounds) >= 16 ); + +C_ASSERT( sizeof(w32_VROverlayView_t) >= 40 ); +C_ASSERT( offsetof(w32_VROverlayView_t, overlayHandle) == 0 ); +C_ASSERT( sizeof(w32_VROverlayView_t().overlayHandle) >= 8 ); +C_ASSERT( offsetof(w32_VROverlayView_t, texture) == 8 ); +C_ASSERT( sizeof(w32_VROverlayView_t().texture) >= 12 ); +C_ASSERT( offsetof(w32_VROverlayView_t, textureBounds) == 20 ); +C_ASSERT( sizeof(w32_VROverlayView_t().textureBounds) >= 16 ); + +C_ASSERT( sizeof(u32_VROverlayView_t) >= 36 ); +C_ASSERT( offsetof(u32_VROverlayView_t, overlayHandle) == 0 ); +C_ASSERT( sizeof(u32_VROverlayView_t().overlayHandle) >= 8 ); +C_ASSERT( offsetof(u32_VROverlayView_t, texture) == 8 ); +C_ASSERT( sizeof(u32_VROverlayView_t().texture) >= 12 ); +C_ASSERT( offsetof(u32_VROverlayView_t, textureBounds) == 20 ); +C_ASSERT( sizeof(u32_VROverlayView_t().textureBounds) >= 16 ); + +#ifdef __i386__ +w32_VROverlayView_t::operator u32_VROverlayView_t() const +{ + u32_VROverlayView_t ret; + ret.overlayHandle = this->overlayHandle; + ret.texture = this->texture; + ret.textureBounds = this->textureBounds; + return ret; +} + +u32_VROverlayView_t::operator w32_VROverlayView_t() const +{ + w32_VROverlayView_t ret; + ret.overlayHandle = this->overlayHandle; + ret.texture = this->texture; + ret.textureBounds = this->textureBounds; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_VRTextureWithDepth_t) >= 96 ); +C_ASSERT( offsetof(w64_VRTextureWithDepth_t, handle) == 0 ); +C_ASSERT( sizeof(w64_VRTextureWithDepth_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_VRTextureWithDepth_t, eType) == 8 ); +C_ASSERT( sizeof(w64_VRTextureWithDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithDepth_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(w64_VRTextureWithDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithDepth_t, depth) == 16 ); +C_ASSERT( sizeof(w64_VRTextureWithDepth_t().depth) >= 80 ); + +C_ASSERT( sizeof(u64_VRTextureWithDepth_t) >= 96 ); +C_ASSERT( offsetof(u64_VRTextureWithDepth_t, handle) == 0 ); +C_ASSERT( sizeof(u64_VRTextureWithDepth_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_VRTextureWithDepth_t, eType) == 8 ); +C_ASSERT( sizeof(u64_VRTextureWithDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithDepth_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(u64_VRTextureWithDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithDepth_t, depth) == 16 ); +C_ASSERT( sizeof(u64_VRTextureWithDepth_t().depth) >= 80 ); + +C_ASSERT( sizeof(w32_VRTextureWithDepth_t) >= 88 ); +C_ASSERT( offsetof(w32_VRTextureWithDepth_t, handle) == 0 ); +C_ASSERT( sizeof(w32_VRTextureWithDepth_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithDepth_t, eType) == 4 ); +C_ASSERT( sizeof(w32_VRTextureWithDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithDepth_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(w32_VRTextureWithDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithDepth_t, depth) == 12 ); +C_ASSERT( sizeof(w32_VRTextureWithDepth_t().depth) >= 76 ); + +C_ASSERT( sizeof(u32_VRTextureWithDepth_t) >= 88 ); +C_ASSERT( offsetof(u32_VRTextureWithDepth_t, handle) == 0 ); +C_ASSERT( sizeof(u32_VRTextureWithDepth_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithDepth_t, eType) == 4 ); +C_ASSERT( sizeof(u32_VRTextureWithDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithDepth_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(u32_VRTextureWithDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithDepth_t, depth) == 12 ); +C_ASSERT( sizeof(u32_VRTextureWithDepth_t().depth) >= 76 ); + +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t) >= 144 ); +C_ASSERT( offsetof(w64_VRTextureWithPoseAndDepth_t, handle) == 0 ); +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_VRTextureWithPoseAndDepth_t, eType) == 8 ); +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithPoseAndDepth_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithPoseAndDepth_t, mDeviceToAbsoluteTracking) == 16 ); +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t().mDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w64_VRTextureWithPoseAndDepth_t, depth) == 64 ); +C_ASSERT( sizeof(w64_VRTextureWithPoseAndDepth_t().depth) >= 80 ); + +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t) >= 144 ); +C_ASSERT( offsetof(u64_VRTextureWithPoseAndDepth_t, handle) == 0 ); +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_VRTextureWithPoseAndDepth_t, eType) == 8 ); +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithPoseAndDepth_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithPoseAndDepth_t, mDeviceToAbsoluteTracking) == 16 ); +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t().mDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u64_VRTextureWithPoseAndDepth_t, depth) == 64 ); +C_ASSERT( sizeof(u64_VRTextureWithPoseAndDepth_t().depth) >= 80 ); + +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t) >= 136 ); +C_ASSERT( offsetof(w32_VRTextureWithPoseAndDepth_t, handle) == 0 ); +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPoseAndDepth_t, eType) == 4 ); +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPoseAndDepth_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPoseAndDepth_t, mDeviceToAbsoluteTracking) == 12 ); +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t().mDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(w32_VRTextureWithPoseAndDepth_t, depth) == 60 ); +C_ASSERT( sizeof(w32_VRTextureWithPoseAndDepth_t().depth) >= 76 ); + +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t) >= 136 ); +C_ASSERT( offsetof(u32_VRTextureWithPoseAndDepth_t, handle) == 0 ); +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPoseAndDepth_t, eType) == 4 ); +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t().eType) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPoseAndDepth_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPoseAndDepth_t, mDeviceToAbsoluteTracking) == 12 ); +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t().mDeviceToAbsoluteTracking) >= 48 ); +C_ASSERT( offsetof(u32_VRTextureWithPoseAndDepth_t, depth) == 60 ); +C_ASSERT( sizeof(u32_VRTextureWithPoseAndDepth_t().depth) >= 76 ); + +C_ASSERT( sizeof(w64_VRTextureWithPose_t) >= 64 ); +C_ASSERT( offsetof(w64_VRTextureWithPose_t, handle) == 0 ); +C_ASSERT( sizeof(w64_VRTextureWithPose_t().handle) >= 8 ); +C_ASSERT( offsetof(w64_VRTextureWithPose_t, eType) == 8 ); +C_ASSERT( sizeof(w64_VRTextureWithPose_t().eType) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithPose_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(w64_VRTextureWithPose_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w64_VRTextureWithPose_t, mDeviceToAbsoluteTracking) == 16 ); +C_ASSERT( sizeof(w64_VRTextureWithPose_t().mDeviceToAbsoluteTracking) >= 48 ); + +C_ASSERT( sizeof(u64_VRTextureWithPose_t) >= 64 ); +C_ASSERT( offsetof(u64_VRTextureWithPose_t, handle) == 0 ); +C_ASSERT( sizeof(u64_VRTextureWithPose_t().handle) >= 8 ); +C_ASSERT( offsetof(u64_VRTextureWithPose_t, eType) == 8 ); +C_ASSERT( sizeof(u64_VRTextureWithPose_t().eType) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithPose_t, eColorSpace) == 12 ); +C_ASSERT( sizeof(u64_VRTextureWithPose_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u64_VRTextureWithPose_t, mDeviceToAbsoluteTracking) == 16 ); +C_ASSERT( sizeof(u64_VRTextureWithPose_t().mDeviceToAbsoluteTracking) >= 48 ); + +C_ASSERT( sizeof(w32_VRTextureWithPose_t) >= 60 ); +C_ASSERT( offsetof(w32_VRTextureWithPose_t, handle) == 0 ); +C_ASSERT( sizeof(w32_VRTextureWithPose_t().handle) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPose_t, eType) == 4 ); +C_ASSERT( sizeof(w32_VRTextureWithPose_t().eType) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPose_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(w32_VRTextureWithPose_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(w32_VRTextureWithPose_t, mDeviceToAbsoluteTracking) == 12 ); +C_ASSERT( sizeof(w32_VRTextureWithPose_t().mDeviceToAbsoluteTracking) >= 48 ); + +C_ASSERT( sizeof(u32_VRTextureWithPose_t) >= 60 ); +C_ASSERT( offsetof(u32_VRTextureWithPose_t, handle) == 0 ); +C_ASSERT( sizeof(u32_VRTextureWithPose_t().handle) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPose_t, eType) == 4 ); +C_ASSERT( sizeof(u32_VRTextureWithPose_t().eType) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPose_t, eColorSpace) == 8 ); +C_ASSERT( sizeof(u32_VRTextureWithPose_t().eColorSpace) >= 4 ); +C_ASSERT( offsetof(u32_VRTextureWithPose_t, mDeviceToAbsoluteTracking) == 12 ); +C_ASSERT( sizeof(u32_VRTextureWithPose_t().mDeviceToAbsoluteTracking) >= 48 ); + +C_ASSERT( sizeof(w64_VRVulkanDevice_t) >= 40 ); +C_ASSERT( offsetof(w64_VRVulkanDevice_t, m_pInstance) == 0 ); +C_ASSERT( sizeof(w64_VRVulkanDevice_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanDevice_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w64_VRVulkanDevice_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanDevice_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(w64_VRVulkanDevice_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanDevice_t, m_pQueue) == 24 ); +C_ASSERT( sizeof(w64_VRVulkanDevice_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanDevice_t, m_uQueueFamilyIndex) == 32 ); +C_ASSERT( sizeof(w64_VRVulkanDevice_t().m_uQueueFamilyIndex) >= 4 ); + +C_ASSERT( sizeof(u64_VRVulkanDevice_t) >= 40 ); +C_ASSERT( offsetof(u64_VRVulkanDevice_t, m_pInstance) == 0 ); +C_ASSERT( sizeof(u64_VRVulkanDevice_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanDevice_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u64_VRVulkanDevice_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanDevice_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(u64_VRVulkanDevice_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanDevice_t, m_pQueue) == 24 ); +C_ASSERT( sizeof(u64_VRVulkanDevice_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanDevice_t, m_uQueueFamilyIndex) == 32 ); +C_ASSERT( sizeof(u64_VRVulkanDevice_t().m_uQueueFamilyIndex) >= 4 ); + +C_ASSERT( sizeof(w32_VRVulkanDevice_t) >= 20 ); +C_ASSERT( offsetof(w32_VRVulkanDevice_t, m_pInstance) == 0 ); +C_ASSERT( sizeof(w32_VRVulkanDevice_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanDevice_t, m_pDevice) == 4 ); +C_ASSERT( sizeof(w32_VRVulkanDevice_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanDevice_t, m_pPhysicalDevice) == 8 ); +C_ASSERT( sizeof(w32_VRVulkanDevice_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanDevice_t, m_pQueue) == 12 ); +C_ASSERT( sizeof(w32_VRVulkanDevice_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanDevice_t, m_uQueueFamilyIndex) == 16 ); +C_ASSERT( sizeof(w32_VRVulkanDevice_t().m_uQueueFamilyIndex) >= 4 ); + +C_ASSERT( sizeof(u32_VRVulkanDevice_t) >= 20 ); +C_ASSERT( offsetof(u32_VRVulkanDevice_t, m_pInstance) == 0 ); +C_ASSERT( sizeof(u32_VRVulkanDevice_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanDevice_t, m_pDevice) == 4 ); +C_ASSERT( sizeof(u32_VRVulkanDevice_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanDevice_t, m_pPhysicalDevice) == 8 ); +C_ASSERT( sizeof(u32_VRVulkanDevice_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanDevice_t, m_pQueue) == 12 ); +C_ASSERT( sizeof(u32_VRVulkanDevice_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanDevice_t, m_uQueueFamilyIndex) == 16 ); +C_ASSERT( sizeof(u32_VRVulkanDevice_t().m_uQueueFamilyIndex) >= 4 ); + +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t) >= 72 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_nSampleCount) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_unArrayIndex) == 64 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_unArrayIndex) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureArrayData_t, m_unArraySize) == 68 ); +C_ASSERT( sizeof(w64_VRVulkanTextureArrayData_t().m_unArraySize) >= 4 ); + +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t) >= 72 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_nSampleCount) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_unArrayIndex) == 64 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_unArrayIndex) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureArrayData_t, m_unArraySize) == 68 ); +C_ASSERT( sizeof(u64_VRVulkanTextureArrayData_t().m_unArraySize) >= 4 ); + +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t) >= 56 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_nSampleCount) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_unArrayIndex) == 48 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_unArrayIndex) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureArrayData_t, m_unArraySize) == 52 ); +C_ASSERT( sizeof(w32_VRVulkanTextureArrayData_t().m_unArraySize) >= 4 ); + +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t) >= 52 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_nSampleCount) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_unArrayIndex) == 44 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_unArrayIndex) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureArrayData_t, m_unArraySize) == 48 ); +C_ASSERT( sizeof(u32_VRVulkanTextureArrayData_t().m_unArraySize) >= 4 ); + +#ifdef __i386__ +w32_VRVulkanTextureArrayData_t::operator u32_VRVulkanTextureArrayData_t() const +{ + u32_VRVulkanTextureArrayData_t ret; + ret.m_nImage = this->m_nImage; + ret.m_pDevice = this->m_pDevice; + ret.m_pPhysicalDevice = this->m_pPhysicalDevice; + ret.m_pInstance = this->m_pInstance; + ret.m_pQueue = this->m_pQueue; + ret.m_nQueueFamilyIndex = this->m_nQueueFamilyIndex; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nFormat = this->m_nFormat; + ret.m_nSampleCount = this->m_nSampleCount; + ret.m_unArrayIndex = this->m_unArrayIndex; + ret.m_unArraySize = this->m_unArraySize; + return ret; +} + +u32_VRVulkanTextureArrayData_t::operator w32_VRVulkanTextureArrayData_t() const +{ + w32_VRVulkanTextureArrayData_t ret; + ret.m_nImage = this->m_nImage; + ret.m_pDevice = this->m_pDevice; + ret.m_pPhysicalDevice = this->m_pPhysicalDevice; + ret.m_pInstance = this->m_pInstance; + ret.m_pQueue = this->m_pQueue; + ret.m_nQueueFamilyIndex = this->m_nQueueFamilyIndex; + ret.m_nWidth = this->m_nWidth; + ret.m_nHeight = this->m_nHeight; + ret.m_nFormat = this->m_nFormat; + ret.m_nSampleCount = this->m_nSampleCount; + ret.m_unArrayIndex = this->m_unArrayIndex; + ret.m_unArraySize = this->m_unArraySize; + return ret; +} +#endif + +C_ASSERT( sizeof(w64_VRVulkanTextureData_t) >= 64 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w64_VRVulkanTextureData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(w64_VRVulkanTextureData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(u64_VRVulkanTextureData_t) >= 64 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u64_VRVulkanTextureData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(u64_VRVulkanTextureData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(w32_VRVulkanTextureData_t) >= 48 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w32_VRVulkanTextureData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(w32_VRVulkanTextureData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(u32_VRVulkanTextureData_t) >= 44 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u32_VRVulkanTextureData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(u32_VRVulkanTextureData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(w64_VulkanData_t) >= 64 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w64_VulkanData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(w64_VulkanData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(u64_VulkanData_t) >= 60 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_pDevice) >= 8 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_pPhysicalDevice) == 16 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_pPhysicalDevice) >= 8 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_pInstance) == 24 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_pInstance) >= 8 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_pQueue) == 32 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_pQueue) >= 8 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nQueueFamilyIndex) == 40 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nWidth) == 44 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nHeight) == 48 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nFormat) == 52 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u64_VulkanData_t, m_nSampleCount) == 56 ); +C_ASSERT( sizeof(u64_VulkanData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(w32_VulkanData_t) >= 48 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(w32_VulkanData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(w32_VulkanData_t().m_nSampleCount) >= 4 ); + +C_ASSERT( sizeof(u32_VulkanData_t) >= 44 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nImage) == 0 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nImage) >= 8 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_pDevice) == 8 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_pDevice) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_pPhysicalDevice) == 12 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_pPhysicalDevice) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_pInstance) == 16 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_pInstance) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_pQueue) == 20 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_pQueue) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nQueueFamilyIndex) == 24 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nQueueFamilyIndex) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nWidth) == 28 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nWidth) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nHeight) == 32 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nHeight) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nFormat) == 36 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nFormat) >= 4 ); +C_ASSERT( offsetof(u32_VulkanData_t, m_nSampleCount) == 40 ); +C_ASSERT( sizeof(u32_VulkanData_t().m_nSampleCount) >= 4 ); + diff --git a/vrclient_x64/unixlib_generated.h b/vrclient_x64/unixlib_generated.h new file mode 100644 index 000000000..93720fd27 --- /dev/null +++ b/vrclient_x64/unixlib_generated.h @@ -0,0 +1,32521 @@ +/* This file is auto-generated, do not edit. */ +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include + +struct IVRApplications_IVRApplications_001_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_001_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_001_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_001_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_001_GetHomeApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_001_SetHomeApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_001_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_002_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_002_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_002_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_002_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_002_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRApplications_IVRApplications_003_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_003_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_003_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_003_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_003_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRApplications_IVRApplications_004_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_004_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_004_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params +{ + void *linux_side; + uint32_t _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; + +struct IVRApplications_IVRApplications_005_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_005_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const w_AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; + +struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_005_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params +{ + void *linux_side; + uint32_t _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; + +struct IVRApplications_IVRApplications_006_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_006_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_006_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_006_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_LaunchTemplateApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const w_AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; + +struct IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + const char *pchArgs; +}; + +struct IVRApplications_IVRApplications_006_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_CancelApplicationLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + const char *pchMimeType; +}; + +struct IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params +{ + void *linux_side; + int8_t _ret; + const char *pchMimeType; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + char *pchMimeTypesBuffer; + uint32_t unMimeTypesBuffer; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + char *pchAppKeysThatSupportBuffer; + uint32_t unAppKeysThatSupportBuffer; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unHandle; + char *pchArgs; + uint32_t unArgs; +}; + +struct IVRApplications_IVRApplications_006_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_006_GetTransitionState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRApplications_IVRApplications_006_LaunchInternalProcess_params +{ + void *linux_side; + uint32_t _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; + +struct IVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_007_AddApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; + int8_t bTemporary; +}; + +struct IVRApplications_IVRApplications_007_RemoveApplicationManifest_params +{ + void *linux_side; + uint32_t _ret; + const char *pchApplicationManifestFullPath; +}; + +struct IVRApplications_IVRApplications_007_IsApplicationInstalled_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unApplicationIndex; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_007_LaunchApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_LaunchTemplateApplication_params +{ + void *linux_side; + uint32_t _ret; + const char *pchTemplateAppKey; + const char *pchNewAppKey; + const w_AppOverrideKeys_t *pKeys; + uint32_t unKeys; +}; + +struct IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + const char *pchArgs; +}; + +struct IVRApplications_IVRApplications_007_LaunchDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_CancelApplicationLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_IdentifyApplication_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unProcessId; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationProcessId_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationPropertyString_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint32_t eProperty; + char *pchPropertyValueBuffer; + uint32_t unPropertyValueBufferLen; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationPropertyBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params +{ + void *linux_side; + uint64_t _ret; + const char *pchAppKey; + uint32_t eProperty; + uint32_t *peError; +}; + +struct IVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + int8_t bAutoLaunch; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + const char *pchMimeType; +}; + +struct IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params +{ + void *linux_side; + int8_t _ret; + const char *pchMimeType; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params +{ + void *linux_side; + int8_t _ret; + const char *pchAppKey; + char *pchMimeTypesBuffer; + uint32_t unMimeTypesBuffer; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params +{ + void *linux_side; + uint32_t _ret; + const char *pchMimeType; + char *pchAppKeysThatSupportBuffer; + uint32_t unAppKeysThatSupportBuffer; +}; + +struct IVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unHandle; + char *pchArgs; + uint32_t unArgs; +}; + +struct IVRApplications_IVRApplications_007_GetStartingApplication_params +{ + void *linux_side; + uint32_t _ret; + char *pchAppKeyBuffer; + uint32_t unAppKeyBufferLen; +}; + +struct IVRApplications_IVRApplications_007_GetSceneApplicationState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; +}; + +struct IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t state; +}; + +struct IVRApplications_IVRApplications_007_LaunchInternalProcess_params +{ + void *linux_side; + uint32_t _ret; + const char *pchBinaryPath; + const char *pchArguments; + const char *pchWorkingDirectory; +}; + +struct IVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params +{ + void *linux_side; + int8_t _ret; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params +{ + void *linux_side; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params +{ + void *linux_side; + int8_t _ret; + float *pSizeX; + float *pSizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *rect; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params +{ + void *linux_side; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params +{ + void *linux_side; + uint8_t *pTagsBuffer; + uint32_t unTagCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params +{ + void *linux_side; + int8_t _ret; + uint8_t *pTagsBuffer; + uint32_t *punTagCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params +{ + void *linux_side; + int8_t _ret; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params +{ + void *linux_side; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params +{ + void *linux_side; + int8_t _ret; + float *pSizeX; + float *pSizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *rect; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params +{ + void *linux_side; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params +{ + void *linux_side; + uint8_t *pTagsBuffer; + uint32_t unTagCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params +{ + void *linux_side; + int8_t _ret; + uint8_t *pTagsBuffer; + uint32_t *punTagCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params +{ + void *linux_side; + int8_t _ret; + char *pBuffer; + uint32_t *pnBufferLength; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params +{ + void *linux_side; + int8_t _ret; + const char *pBuffer; + uint32_t nImportFlags; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params +{ + void *linux_side; + int8_t _ret; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params +{ + void *linux_side; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params +{ + void *linux_side; + int8_t _ret; + float *pSizeX; + float *pSizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *rect; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params +{ + void *linux_side; + float sizeX; + float sizeZ; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params +{ + void *linux_side; + HmdQuad_t *pQuadsBuffer; + uint32_t unQuadsCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params +{ + void *linux_side; + HmdVector2_t *pPointBuffer; + uint32_t unPointCount; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params +{ + void *linux_side; + const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params +{ + void *linux_side; + uint32_t configFile; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params +{ + void *linux_side; + int8_t _ret; + HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params +{ + void *linux_side; + int8_t _ret; + char *pBuffer; + uint32_t *pnBufferLength; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params +{ + void *linux_side; + int8_t _ret; + const char *pBuffer; + uint32_t nImportFlags; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params +{ + void *linux_side; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params +{ + void *linux_side; +}; + +struct IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params +{ + void *linux_side; +}; + +struct IVRChaperone_IVRChaperone_002_GetCalibrationState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + ChaperoneSoftBoundsInfo_t *pInfo; +}; + +struct IVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *pQuadsBuffer; + uint32_t *punQuadsCount; +}; + +struct IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params +{ + void *linux_side; + int8_t _ret; + ChaperoneSeatedBoundsInfo_t *pInfo; +}; + +struct IVRChaperone_IVRChaperone_002_ReloadInfo_params +{ + void *linux_side; +}; + +struct IVRChaperone_IVRChaperone_002_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; + +struct IVRChaperone_IVRChaperone_002_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int32_t nNumOutputColors; +}; + +struct IVRChaperone_IVRChaperone_002_AreBoundsVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRChaperone_IVRChaperone_002_ForceBoundsVisible_params +{ + void *linux_side; + int8_t bForce; +}; + +struct IVRChaperone_IVRChaperone_003_GetCalibrationState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRChaperone_IVRChaperone_003_GetPlayAreaSize_params +{ + void *linux_side; + int8_t _ret; + float *pSizeX; + float *pSizeZ; +}; + +struct IVRChaperone_IVRChaperone_003_GetPlayAreaRect_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *rect; +}; + +struct IVRChaperone_IVRChaperone_003_ReloadInfo_params +{ + void *linux_side; +}; + +struct IVRChaperone_IVRChaperone_003_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; + +struct IVRChaperone_IVRChaperone_003_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int32_t nNumOutputColors; + float flCollisionBoundsFadeDistance; + HmdColor_t *pOutputCameraColor; +}; + +struct IVRChaperone_IVRChaperone_003_AreBoundsVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRChaperone_IVRChaperone_003_ForceBoundsVisible_params +{ + void *linux_side; + int8_t bForce; +}; + +struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params +{ + void *linux_side; + int8_t _ret; + float *pSizeX; + float *pSizeZ; +}; + +struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params +{ + void *linux_side; + int8_t _ret; + HmdQuad_t *rect; +}; + +struct IVRChaperone_IVRChaperone_004_ReloadInfo_params +{ + void *linux_side; +}; + +struct IVRChaperone_IVRChaperone_004_SetSceneColor_params +{ + void *linux_side; + HmdColor_t color; +}; + +struct IVRChaperone_IVRChaperone_004_GetBoundsColor_params +{ + void *linux_side; + HmdColor_t *pOutputColorArray; + int32_t nNumOutputColors; + float flCollisionBoundsFadeDistance; + HmdColor_t *pOutputCameraColor; +}; + +struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRChaperone_IVRChaperone_004_ForceBoundsVisible_params +{ + void *linux_side; + int8_t bForce; +}; + +struct IVRChaperone_IVRChaperone_004_ResetZeroPose_params +{ + void *linux_side; + uint32_t eTrackingUniverseOrigin; +}; + +struct IVRClientCore_IVRClientCore_002_Init_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eApplicationType; +}; + +struct IVRClientCore_IVRClientCore_002_Cleanup_params +{ + void *linux_side; +}; + +struct IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInterfaceVersion; +}; + +struct IVRClientCore_IVRClientCore_002_GetGenericInterface_params +{ + void *linux_side; + void *_ret; + const char *pchNameAndVersion; + uint32_t *peError; +}; + +struct IVRClientCore_IVRClientCore_002_BIsHmdPresent_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRClientCore_IVRClientCore_002_GetIDForVRInitError_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRClientCore_IVRClientCore_003_Init_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eApplicationType; + const char *pStartupInfo; +}; + +struct IVRClientCore_IVRClientCore_003_Cleanup_params +{ + void *linux_side; +}; + +struct IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInterfaceVersion; +}; + +struct IVRClientCore_IVRClientCore_003_GetGenericInterface_params +{ + void *linux_side; + void *_ret; + const char *pchNameAndVersion; + uint32_t *peError; +}; + +struct IVRClientCore_IVRClientCore_003_BIsHmdPresent_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRClientCore_IVRClientCore_003_GetIDForVRInitError_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRCompositor_IVRCompositor_005_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_005_SetVSync_params +{ + void *linux_side; + int8_t bVSync; +}; + +struct IVRCompositor_IVRCompositor_005_GetVSync_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_005_SetGamma_params +{ + void *linux_side; + float fGamma; +}; + +struct IVRCompositor_IVRCompositor_005_GetGamma_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_005_SetGraphicsDevice_params +{ + void *linux_side; + uint32_t eType; + void *pDevice; +}; + +struct IVRCompositor_IVRCompositor_005_WaitGetPoses_params +{ + void *linux_side; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_005_Submit_params +{ + void *linux_side; + uint32_t eEye; + void *pTexture; + Compositor_TextureBounds *pBounds; +}; + +struct IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_005_GetOverlayDefaults_params +{ + void *linux_side; + Compositor_OverlaySettings *pSettings; +}; + +struct IVRCompositor_IVRCompositor_005_SetOverlay_params +{ + void *linux_side; + void *pTexture; + Compositor_OverlaySettings *pSettings; +}; + +struct IVRCompositor_IVRCompositor_005_SetOverlayRaw_params +{ + void *linux_side; + void *buffer; + uint32_t width; + uint32_t height; + uint32_t depth; + Compositor_OverlaySettings *pSettings; +}; + +struct IVRCompositor_IVRCompositor_005_SetOverlayFromFile_params +{ + void *linux_side; + const char *pchFilePath; + Compositor_OverlaySettings *pSettings; +}; + +struct IVRCompositor_IVRCompositor_005_ClearOverlay_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_005_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_090 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_005_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_005_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_005_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_005_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_005_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_005_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + const Compositor_OverlaySettings *pSettings; + float fAspectRatio; + uint32_t eOrigin; + HmdVector3_t vSource; + HmdVector3_t vDirection; + HmdVector2_t *pvecIntersectionUV; + HmdVector3_t *pvecIntersectionTrackingSpace; +}; + +struct IVRCompositor_IVRCompositor_005_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_005_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_006_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_006_SetVSync_params +{ + void *linux_side; + int8_t bVSync; +}; + +struct IVRCompositor_IVRCompositor_006_GetVSync_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_006_SetGamma_params +{ + void *linux_side; + float fGamma; +}; + +struct IVRCompositor_IVRCompositor_006_GetGamma_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params +{ + void *linux_side; + uint32_t eType; + void *pDevice; +}; + +struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_006_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pTexture; + VRTextureBounds_t *pBounds; +}; + +struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_090 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_006_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_006_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_006_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_006_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_006_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_007_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_007_SetVSync_params +{ + void *linux_side; + int8_t bVSync; +}; + +struct IVRCompositor_IVRCompositor_007_GetVSync_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_007_SetGamma_params +{ + void *linux_side; + float fGamma; +}; + +struct IVRCompositor_IVRCompositor_007_GetGamma_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_007_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_007_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t eTextureType; + void *pTexture; + const VRTextureBounds_t *pBounds; +}; + +struct IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_007_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_093 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_007_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_007_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_007_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_007_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_007_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_007_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_007_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_007_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_007_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_GetLastError_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_008_SetVSync_params +{ + void *linux_side; + int8_t bVSync; +}; + +struct IVRCompositor_IVRCompositor_008_GetVSync_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_SetGamma_params +{ + void *linux_side; + float fGamma; +}; + +struct IVRCompositor_IVRCompositor_008_GetGamma_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_008_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_008_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t eTextureType; + void *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_093 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_008_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_008_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_008_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t eTextureType; + void *pFront; + void *pBack; + void *pLeft; + void *pRight; + void *pTop; + void *pBottom; +}; + +struct IVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_008_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_008_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_009_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_009_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_009_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0913 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_009_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_009_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_009_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_009_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_010_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_010_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0914 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_010_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_010_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_010_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_011_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_011_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_011_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0915 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_011_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_011_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_011_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_011_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_012_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_012_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_012_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0915 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_012_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_012_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_012_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_012_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_013_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_013_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_013_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0915 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_013_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_013_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_013_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_014_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_014_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_014_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_014_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0920 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_014_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_014_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_014_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_014_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_014_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_015_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_015_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_015_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_015_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_0920 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_015_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_015_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_015_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_015_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_015_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_015_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_015_RequestScreenshot_params +{ + void *linux_side; + uint32_t _ret; + uint32_t type; + const char *pchDestinationFileName; + const char *pchVRDestinationFileName; +}; + +struct IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_016_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_016_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_102 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_016_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_016_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_016_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_016_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_017_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_017_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_017_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_017_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_017_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_017_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_017_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_017_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_017_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_017_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_017_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_018_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_018_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_018_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_018_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_018_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_018_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_018_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_018_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_018_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_018_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_018_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_019_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_019_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_019_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_019_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_019_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_019_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_019_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_019_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_019_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_019_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_019_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_020_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_020_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_020_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_020_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_020_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_020_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_020_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_020_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_020_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_020_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_020_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_021_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_021_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_021_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_021_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_021_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_103a *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_021_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_021_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_021_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_021_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_021_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_021_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params +{ + void *linux_side; + int8_t bExplicitTimingMode; +}; + +struct IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_022_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_022_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_022_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_022_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_022_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_022_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_022_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_022_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_022_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_022_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params +{ + void *linux_side; + uint32_t eTimingMode; +}; + +struct IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_024_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_024_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_024_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_024_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_024_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_024_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params +{ + void *linux_side; + uint32_t eTimingMode; +}; + +struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; + +struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_026_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_026_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_026_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_026_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_026_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_100 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_026_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_026_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeIn; +}; + +struct IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_026_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_026_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params +{ + void *linux_side; + uint32_t eTimingMode; +}; + +struct IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_026_SetStageOverride_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; + +struct IVRCompositor_IVRCompositor_026_ClearStageOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params +{ + void *linux_side; + int8_t _ret; + Compositor_BenchmarkResults *pBenchmarkResults; + uint32_t nSizeOfBenchmarkResults; +}; + +struct IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *pRenderPosePredictionID; + uint32_t *pGamePosePredictionID; +}; + +struct IVRCompositor_IVRCompositor_026_GetPosesForFrame_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unPosePredictionID; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_027_SetTrackingSpace_params +{ + void *linux_side; + uint32_t eOrigin; +}; + +struct IVRCompositor_IVRCompositor_027_GetTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_WaitGetPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_027_GetLastPoses_params +{ + void *linux_side; + uint32_t _ret; + TrackedDevicePose_t *pRenderPoseArray; + uint32_t unRenderPoseArrayCount; + TrackedDevicePose_t *pGamePoseArray; + uint32_t unGamePoseArrayCount; +}; + +struct IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + TrackedDevicePose_t *pOutputPose; + TrackedDevicePose_t *pOutputGamePose; +}; + +struct IVRCompositor_IVRCompositor_027_Submit_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + const w_Texture_t *pTexture; + const VRTextureBounds_t *pBounds; + uint32_t nSubmitFlags; +}; + +struct IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_PostPresentHandoff_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_GetFrameTiming_params +{ + void *linux_side; + int8_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t unFramesAgo; +}; + +struct IVRCompositor_IVRCompositor_027_GetFrameTimings_params +{ + void *linux_side; + uint32_t _ret; + w_Compositor_FrameTiming_1017 *pTiming; + uint32_t nFrames; +}; + +struct IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_027_GetCumulativeStats_params +{ + void *linux_side; + Compositor_CumulativeStats_1267 *pStats; + uint32_t nStatsSizeInBytes; +}; + +struct IVRCompositor_IVRCompositor_027_FadeToColor_params +{ + void *linux_side; + float fSeconds; + float fRed; + float fGreen; + float fBlue; + float fAlpha; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params +{ + void *linux_side; + HmdColor_t *_ret; + int8_t bBackground; +}; + +struct IVRCompositor_IVRCompositor_027_FadeGrid_params +{ + void *linux_side; + float fSeconds; + int8_t bFadeGridIn; +}; + +struct IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params +{ + void *linux_side; + float _ret; +}; + +struct IVRCompositor_IVRCompositor_027_SetSkyboxOverride_params +{ + void *linux_side; + uint32_t _ret; + const w_Texture_t *pTextures; + uint32_t unTextureCount; +}; + +struct IVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_CompositorBringToFront_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_CompositorGoToBack_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_CompositorQuit_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_IsFullscreen_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_CanRenderScene_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_ShowMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_HideMirrorWindow_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_CompositorDumpImages_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params +{ + void *linux_side; + int8_t bOverride; +}; + +struct IVRCompositor_IVRCompositor_027_ForceReconnectProcess_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_SuspendRendering_params +{ + void *linux_side; + int8_t bSuspend; +}; + +struct IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params +{ + void *linux_side; + void *pD3D11ShaderResourceView; +}; + +struct IVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eEye; + uint32_t *pglTextureId; + void **pglSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params +{ + void *linux_side; + int8_t _ret; + uint32_t glTextureId; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params +{ + void *linux_side; + void *glSharedTextureHandle; +}; + +struct IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params +{ + void *linux_side; + uint32_t _ret; + VkPhysicalDevice_T *pPhysicalDevice; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params +{ + void *linux_side; + uint32_t eTimingMode; +}; + +struct IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRCompositor_IVRCompositor_027_SetStageOverride_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelPath; + const HmdMatrix34_t *pTransform; + const Compositor_StageRenderSettings *pRenderSettings; + uint32_t nSizeOfRenderSettings; +}; + +struct IVRCompositor_IVRCompositor_027_ClearStageOverride_params +{ + void *linux_side; +}; + +struct IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params +{ + void *linux_side; + int8_t _ret; + Compositor_BenchmarkResults *pBenchmarkResults; + uint32_t nSizeOfBenchmarkResults; +}; + +struct IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *pRenderPosePredictionID; + uint32_t *pGamePosePredictionID; +}; + +struct IVRCompositor_IVRCompositor_027_GetPosesForFrame_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unPosePredictionID; + TrackedDevicePose_t *pPoseArray; + uint32_t unPoseArrayCount; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc1_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc2_params +{ + void *linux_side; + uint32_t _ret; + uint32_t a; + char *b; + uint32_t c; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc3_params +{ + void *linux_side; + uint32_t _ret; + const char *a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc4_params +{ + void *linux_side; + uint32_t _ret; + const char *a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc5_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + uint32_t b; + char *c; + uint32_t d; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc6_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + const char *b; + char *c; + uint32_t d; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc7_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + const char *b; + char *c; + uint32_t d; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc8_params +{ + void *linux_side; + int8_t _ret; + uint32_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc9_params +{ + void *linux_side; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc10_params +{ + void *linux_side; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc11_params +{ + void *linux_side; + int8_t _ret; + uint32_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc12_params +{ + void *linux_side; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc13_params +{ + void *linux_side; + uint32_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc14_params +{ + void *linux_side; + uint32_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc15_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc16_params +{ + void *linux_side; + int8_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc17_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc18_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc19_params +{ + void *linux_side; + int8_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc20_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc21_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc22_params +{ + void *linux_side; + uint64_t a; + const char *b; + uint32_t c; + uint32_t d; + const char *e; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc23_params +{ + void *linux_side; + int8_t _ret; + const char *a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc24_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc25_params +{ + void *linux_side; + int8_t _ret; + int8_t a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc26_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc27_params +{ + void *linux_side; + uint32_t _ret; + const char *a; +}; + +struct IVRControlPanel_IVRControlPanel_006_undoc28_params +{ + void *linux_side; + uint64_t a; +}; + +struct IVRDriverManager_IVRDriverManager_001_GetDriverCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRDriverManager_IVRDriverManager_001_GetDriverName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDriver; + char *pchValue; + uint32_t unBufferSize; +}; + +struct IVRDriverManager_IVRDriverManager_001_GetDriverHandle_params +{ + void *linux_side; + uint64_t _ret; + const char *pchDriverName; +}; + +struct IVRDriverManager_IVRDriverManager_001_IsEnabled_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDriver; +}; + +struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params +{ + void *linux_side; + uint32_t eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params +{ + void *linux_side; + uint32_t nWidth; + uint32_t nHeight; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params +{ + void *linux_side; + uint32_t eHeadsetViewMode; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params +{ + void *linux_side; + int8_t bCropped; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params +{ + void *linux_side; + float _ret; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params +{ + void *linux_side; + float flStartPct; + float flEndPct; +}; + +struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params +{ + void *linux_side; + float *pStartPct; + float *pEndPct; +}; + +struct IVRIOBuffer_IVRIOBuffer_001_Open_params +{ + void *linux_side; + uint32_t _ret; + const char *pchPath; + uint32_t mode; + uint32_t unElementSize; + uint32_t unElements; + uint64_t *pulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_001_Close_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_001_Read_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; + void *pDst; + uint32_t unBytes; + uint32_t *punRead; +}; + +struct IVRIOBuffer_IVRIOBuffer_001_Write_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; + void *pSrc; + uint32_t unBytes; +}; + +struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params +{ + void *linux_side; + uint64_t _ret; + uint64_t ulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_Open_params +{ + void *linux_side; + uint32_t _ret; + const char *pchPath; + uint32_t mode; + uint32_t unElementSize; + uint32_t unElements; + uint64_t *pulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_Close_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_Read_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; + void *pDst; + uint32_t unBytes; + uint32_t *punRead; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_Write_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulBuffer; + void *pSrc; + uint32_t unBytes; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params +{ + void *linux_side; + uint64_t _ret; + uint64_t ulBuffer; +}; + +struct IVRIOBuffer_IVRIOBuffer_002_HasReaders_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulBuffer; +}; + +struct IVRInput_IVRInput_003_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_003_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_003_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_003_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_003_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1015 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_003_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_003_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_003_GetPoseActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_003_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eBoneParent; + float fPredictedSecondsFromNow; + w_InputSkeletonActionData_t *pActionData; + uint32_t unActionDataSize; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eBoneParent; + float fPredictedSecondsFromNow; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; + +struct IVRInput_IVRInput_003_UncompressSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t *peBoneParent; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_003_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVRInput_IVRInput_003_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_003_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; +}; + +struct IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_003_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_003_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1015 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_004_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_004_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_004_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_004_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_004_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_004_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetPoseActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputSkeletalActionData_t_1016 *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_DecompressSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t *peTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_004_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_004_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_004_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; +}; + +struct IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_004_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_004_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_005_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_005_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_005_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_005_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_005_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_005_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_005_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_005_GetPoseActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_005_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputSkeletalActionData_t_113b *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_005_GetBoneCount_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pBoneCount; +}; + +struct IVRInput_IVRInput_005_GetBoneHierarchy_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t *pParentIndices; + uint32_t unIndexArayCount; +}; + +struct IVRInput_IVRInput_005_GetBoneName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; + +struct IVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_005_GetSkeletalTrackingLevel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pSkeletalTrackingLevel; +}; + +struct IVRInput_IVRInput_005_GetSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_005_GetSkeletalSummaryData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; + +struct IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; + +struct IVRInput_IVRInput_005_DecompressSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_005_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_005_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_005_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; + +struct IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_005_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_005_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_005_IsUsingLegacyInput_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRInput_IVRInput_006_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_006_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_006_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_006_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_006_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_006_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_006_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_006_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputSkeletalActionData_t_113b *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_006_GetBoneCount_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pBoneCount; +}; + +struct IVRInput_IVRInput_006_GetBoneHierarchy_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t *pParentIndices; + uint32_t unIndexArayCount; +}; + +struct IVRInput_IVRInput_006_GetBoneName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; + +struct IVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_006_GetSkeletalTrackingLevel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pSkeletalTrackingLevel; +}; + +struct IVRInput_IVRInput_006_GetSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_006_GetSkeletalSummaryData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; + +struct IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; + +struct IVRInput_IVRInput_006_DecompressSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_006_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_006_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_006_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; + +struct IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_006_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_006_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_006_IsUsingLegacyInput_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRInput_IVRInput_007_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_007_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_007_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_007_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_007_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_007_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_007_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_007_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputSkeletalActionData_t_113b *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_007_GetBoneCount_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pBoneCount; +}; + +struct IVRInput_IVRInput_007_GetBoneHierarchy_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t *pParentIndices; + uint32_t unIndexArayCount; +}; + +struct IVRInput_IVRInput_007_GetBoneName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; + +struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pSkeletalTrackingLevel; +}; + +struct IVRInput_IVRInput_007_GetSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; + +struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; + +struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_007_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_007_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; + +struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_007_GetActionBindingInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + InputBindingInfo_t_1517 *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + uint32_t *punReturnedBindingInfoCount; +}; + +struct IVRInput_IVRInput_007_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_007_IsUsingLegacyInput_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRInput_IVRInput_007_OpenBindingUI_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint64_t ulActionSetHandle; + uint64_t ulDeviceHandle; + int8_t bShowOnDesktop; +}; + +struct IVRInput_IVRInput_010_SetActionManifestPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionManifestPath; +}; + +struct IVRInput_IVRInput_010_GetActionSetHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionSetName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_010_GetActionHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchActionName; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_010_GetInputSourceHandle_params +{ + void *linux_side; + uint32_t _ret; + const char *pchInputSourcePath; + uint64_t *pHandle; +}; + +struct IVRInput_IVRInput_010_UpdateActionState_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; +}; + +struct IVRInput_IVRInput_010_GetDigitalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputDigitalActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_010_GetAnalogActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputAnalogActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + float fPredictedSecondsFromNow; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eOrigin; + w_InputPoseActionData_t *pActionData; + uint32_t unActionDataSize; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_010_GetSkeletalActionData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + w_InputSkeletalActionData_t_113b *pActionData; + uint32_t unActionDataSize; +}; + +struct IVRInput_IVRInput_010_GetDominantHand_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *peDominantHand; +}; + +struct IVRInput_IVRInput_010_SetDominantHand_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDominantHand; +}; + +struct IVRInput_IVRInput_010_GetBoneCount_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pBoneCount; +}; + +struct IVRInput_IVRInput_010_GetBoneHierarchy_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t *pParentIndices; + uint32_t unIndexArayCount; +}; + +struct IVRInput_IVRInput_010_GetBoneName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + int32_t nBoneIndex; + char *pchBoneName; + uint32_t unNameBufferSize; +}; + +struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eReferencePose; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t *pSkeletalTrackingLevel; +}; + +struct IVRInput_IVRInput_010_GetSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eTransformSpace; + uint32_t eMotionRange; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eSummaryType; + VRSkeletalSummaryData_t *pSkeletalSummaryData; +}; + +struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + uint32_t eMotionRange; + void *pvCompressedData; + uint32_t unCompressedSize; + uint32_t *punRequiredCompressedSize; +}; + +struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params +{ + void *linux_side; + uint32_t _ret; + const void *pvCompressedBuffer; + uint32_t unCompressedBufferSize; + uint32_t eTransformSpace; + VRBoneTransform_t *pTransformArray; + uint32_t unTransformArrayCount; +}; + +struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + float fStartSecondsFromNow; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint64_t ulRestrictToDevice; +}; + +struct IVRInput_IVRInput_010_GetActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t digitalActionHandle; + uint64_t *originsOut; + uint32_t originOutCount; +}; + +struct IVRInput_IVRInput_010_GetOriginLocalizedName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + char *pchNameArray; + uint32_t unNameArraySize; + int32_t unStringSectionsToInclude; +}; + +struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t origin; + w_InputOriginInfo_t *pOriginInfo; + uint32_t unOriginInfoSize; +}; + +struct IVRInput_IVRInput_010_GetActionBindingInfo_params +{ + void *linux_side; + uint32_t _ret; + uint64_t action; + InputBindingInfo_t_11030 *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + uint32_t *punReturnedBindingInfoCount; +}; + +struct IVRInput_IVRInput_010_ShowActionOrigins_params +{ + void *linux_side; + uint32_t _ret; + uint64_t actionSetHandle; + uint64_t ulActionHandle; +}; + +struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params +{ + void *linux_side; + uint32_t _ret; + VRActiveActionSet_t_1016 *pSets; + uint32_t unSizeOfVRSelectedActionSet_t; + uint32_t unSetCount; + uint64_t originToHighlight; +}; + +struct IVRInput_IVRInput_010_GetComponentStateForBinding_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const InputBindingInfo_t_11030 *pOriginInfo; + uint32_t unBindingInfoSize; + uint32_t unBindingInfoCount; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRInput_IVRInput_010_IsUsingLegacyInput_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRInput_IVRInput_010_OpenBindingUI_params +{ + void *linux_side; + uint32_t _ret; + const char *pchAppKey; + uint64_t ulActionSetHandle; + uint64_t ulDeviceHandle; + int8_t bShowOnDesktop; +}; + +struct IVRInput_IVRInput_010_GetBindingVariant_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulDevicePath; + char *pchVariantArray; + uint32_t unVariantArraySize; +}; + +struct IVRMailbox_IVRMailbox_001_undoc1_params +{ + void *linux_side; + uint32_t _ret; + const char *a; + uint64_t *b; +}; + +struct IVRMailbox_IVRMailbox_001_undoc2_params +{ + void *linux_side; + uint32_t _ret; + uint64_t a; +}; + +struct IVRMailbox_IVRMailbox_001_undoc3_params +{ + void *linux_side; + uint32_t _ret; + uint64_t a; + const char *b; + const char *c; +}; + +struct IVRMailbox_IVRMailbox_001_undoc4_params +{ + void *linux_side; + uint32_t _ret; + uint64_t a; + char *b; + uint32_t c; + uint32_t *d; +}; + +struct IVRNotifications_IVRNotifications_001_GetErrorString_params +{ + void *linux_side; + uint32_t _ret; + uint32_t error; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRNotifications_IVRNotifications_001_CreateNotification_params +{ + void *linux_side; + uint32_t _ret; + 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_DismissNotification_params +{ + void *linux_side; + uint32_t _ret; + uint32_t notificationId; +}; + +struct IVRNotifications_IVRNotifications_002_CreateNotification_params +{ + void *linux_side; + uint32_t _ret; + 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_RemoveNotification_params +{ + void *linux_side; + uint32_t _ret; + uint32_t notificationId; +}; + +struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + w_VRNativeDevice_t *pNativeDevice; + w_VROverlayView_t *pOverlayView; + uint32_t unOverlayViewSize; +}; + +struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params +{ + void *linux_side; + uint32_t _ret; + w_VROverlayView_t *pOverlayView; +}; + +struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + const w_VREvent_t_1168 *pvrEvent; +}; + +struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fGamma; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfGamma; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayVisibility_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peOverlayVisibility; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayVisibility_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayVisibility; +}; + +struct IVROverlay_IVROverlay_001_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_092 *pEvent; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_001_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_001_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pTexture; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_001_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_001_IsSystemOverlayVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_001_IsActiveSystemOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_002_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fGamma; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfGamma; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_002_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_093 *pEvent; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_002_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_002_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureType; + void *pTexture; +}; + +struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_002_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_002_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_002_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_003_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fGamma; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfGamma; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_003_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_097 *pEvent; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_003_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_003_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureType; + void *pTexture; +}; + +struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_003_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_003_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_003_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_003_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_004_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fGamma; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfGamma; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_004_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_097 *pEvent; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureType; + void *pTexture; +}; + +struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_004_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_004_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_005_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fGamma; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayGamma_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfGamma; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_005_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_0910 *pEvent; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_005_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_005_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_005_IsFocusOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureType; + void *pTexture; +}; + +struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_005_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_005_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_005_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_005_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_005_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; +}; + +struct IVROverlay_IVROverlay_005_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_005_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_007_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_007_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_0912 *pEvent; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_007_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_007_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_007_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_007_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_007_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_007_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_007_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_007_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_007_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_007_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_008_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_008_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_008_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_0914 *pEvent; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_008_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_008_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_008_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_008_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_008_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_008_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_008_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_008_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_008_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_008_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_010_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_010_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_010_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_0918 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_010_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_010_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_010_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_010_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_010_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_010_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_010_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_010_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_010_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_010_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_011_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_011_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_0918 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_011_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPI; + uint32_t *pColorSpace; +}; + +struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_011_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_011_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_011_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_011_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_011_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_012_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_012_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_012_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_101 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_012_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_012_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_012_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPI; + uint32_t *pColorSpace; +}; + +struct IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_012_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_012_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_012_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_012_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_012_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_012_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_012_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_013_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_013_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_013_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_013_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_013_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_103 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_013_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_013_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPI; + uint32_t *pColorSpace; +}; + +struct IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_013_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_013_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_013_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_013_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_013_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_013_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_013_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_014_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_014_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_014_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_014_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_014_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_014_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_014_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_014_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_014_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_014_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_014_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_014_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_014_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_014_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_014_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_016_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_016_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_016_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_016_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_016_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_016_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_016_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_016_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_016_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_016_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_016_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_016_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_016_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_016_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_016_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_016_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_017_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_017_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_017_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_017_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_017_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1011 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_017_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + uint32_t unControllerDeviceIndex; +}; + +struct IVROverlay_IVROverlay_017_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *vCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_017_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_017_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_017_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_017_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_017_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_017_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_017_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_017_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_017_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_018_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_018_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_018_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_018_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_018_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1016 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_018_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_018_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *vCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_018_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_018_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_018_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_018_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_018_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_018_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_018_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_018_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_018_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_019_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_SetHighQualityOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_GetHighQualityOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_019_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_019_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_019_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_019_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_019_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_019_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_019_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_019_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_019_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_019_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_019_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_019_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_019_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_019_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_019_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_020_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_020_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_020_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fMinDistanceInMeters; + float fMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfMinDistanceInMeters; + float *pfMaxDistanceInMeters; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_020_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_020_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_020_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_020_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params +{ + void *linux_side; + uint64_t _ret; +}; + +struct IVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulNewFocusOverlay; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; + uint64_t ulTo; +}; + +struct IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eDirection; + uint64_t ulFrom; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_020_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_020_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_020_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_020_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_020_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_020_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_020_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_020_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_020_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_021_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_021_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_021_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_021_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_021_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_021_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_021_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unDepth; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_021_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_021_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_021_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_021_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_021_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_021_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_021_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_021_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_021_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_022_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_022_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_022_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + HmdColor_t *pColor; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayRenderModel_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchRenderModel; + const HmdColor_t *pColor; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_022_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_022_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_022_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_022_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + const HmdVector2_t *pvCenter; + float fRadius; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlay; + uint32_t eWhich; + HmdVector2_t *pvCenter; + float *pfRadius; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulCursorHandle; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; + +struct IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; + +struct IVROverlay_IVROverlay_022_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_022_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_022_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_022_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_022_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_022_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + int8_t bUseMinimalMode; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_022_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_022_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_022_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_022_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_024_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_024_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_024_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_024_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_024_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_11030 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_024_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_024_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulCursorHandle; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; + +struct IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; + +struct IVROverlay_IVROverlay_024_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_024_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_024_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_024_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_024_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_024_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_024_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_024_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_024_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_024_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_025_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_025_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_025_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTransformProjection_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + uint32_t eEye; +}; + +struct IVROverlay_IVROverlay_025_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_025_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1168 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_025_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_025_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulCursorHandle; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; + +struct IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; + +struct IVROverlay_IVROverlay_025_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_025_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_025_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_025_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_025_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_025_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_025_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_025_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_025_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_025_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_026_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_026_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_026_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRadians; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRadians; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t *ulOverlayHandleParent; + HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulOverlayHandleParent; + const HmdMatrix34_t *pmatParentOverlayToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTransformProjection_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + uint32_t eEye; +}; + +struct IVROverlay_IVROverlay_026_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_026_WaitFrameSync_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nTimeoutMs; +}; + +struct IVROverlay_IVROverlay_026_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1168 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_026_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_026_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulCursorHandle; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; + +struct IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; + +struct IVROverlay_IVROverlay_026_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_026_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_026_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_026_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_026_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_026_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_026_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_026_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_026_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_026_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_027_FindOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_CreateOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayName; + uint64_t *pOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_DestroyOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayKey_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayName_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchName; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayImageData_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unBufferSize; + uint32_t *punWidth; + uint32_t *punHeight; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unPID; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayRenderingPid_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t bEnabled; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayFlag_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eOverlayFlag; + int8_t *pbEnabled; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayFlags_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pFlags; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRed; + float fGreen; + float fBlue; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayColor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRed; + float *pfGreen; + float *pfBlue; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fAlpha; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayAlpha_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfAlpha; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fTexelAspect; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTexelAspect_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfTexelAspect; +}; + +struct IVROverlay_IVROverlay_027_SetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unSortOrder; +}; + +struct IVROverlay_IVROverlay_027_GetOverlaySortOrder_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punSortOrder; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fWidthInMeters; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfWidthInMeters; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fCurvature; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayCurvature_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfCurvature; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fRadians; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float *pfRadians; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTextureColorSpace; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTextureBounds_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VRTextureBounds_t *pOverlayTextureBounds; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTransformType_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTransformType; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peTrackingOrigin; + HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unTrackedDevice; + const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punTrackedDevice; + HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unDeviceIndex; + const char *pchComponentName; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punDeviceIndex; + char *pchComponentName; + uint32_t unComponentNameSize; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulCursorOverlayHandle; + const HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTransformCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvHotspot; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTransformProjection_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform; + const VROverlayProjection_t *pProjection; + uint32_t eEye; +}; + +struct IVROverlay_IVROverlay_027_ShowOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_HideOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_IsOverlayVisible_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eTrackingOrigin; + HmdVector2_t coordinatesInOverlay; + HmdMatrix34_t *pmatTransform; +}; + +struct IVROverlay_IVROverlay_027_WaitFrameSync_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nTimeoutMs; +}; + +struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + w_VREvent_t_1168 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *peInputMethod; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayInputMethod_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMethod; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayMouseScale_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvecMouseScale; +}; + +struct IVROverlay_IVROverlay_027_ComputeOverlayIntersection_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; + const VROverlayIntersectionParams_t *pParams; + VROverlayIntersectionResults_t *pResults; +}; + +struct IVROverlay_IVROverlay_027_IsHoverTargetOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives; + uint32_t unNumMaskPrimitives; + uint32_t unPrimitiveSize; +}; + +struct IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayCursor_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint64_t ulCursorHandle; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const HmdVector2_t *pvCursor; +}; + +struct IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const w_Texture_t *pTexture; +}; + +struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayRaw_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pvBuffer; + uint32_t unWidth; + uint32_t unHeight; + uint32_t unBytesPerPixel; +}; + +struct IVROverlay_IVROverlay_027_SetOverlayFromFile_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + const char *pchFilePath; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTexture_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void **pNativeTextureHandle; + void *pNativeTextureRef; + uint32_t *pWidth; + uint32_t *pHeight; + uint32_t *pNativeFormat; + uint32_t *pAPIType; + uint32_t *pColorSpace; + VRTextureBounds_t *pTextureBounds; +}; + +struct IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + void *pNativeTextureHandle; +}; + +struct IVROverlay_IVROverlay_027_GetOverlayTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVROverlay_IVROverlay_027_CreateDashboardOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchOverlayKey; + const char *pchOverlayFriendlyName; + uint64_t *pMainHandle; + uint64_t *pThumbnailHandle; +}; + +struct IVROverlay_IVROverlay_027_IsDashboardVisible_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params +{ + void *linux_side; + int8_t _ret; + uint64_t ulOverlayHandle; +}; + +struct IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t unProcessId; +}; + +struct IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t *punProcessId; +}; + +struct IVROverlay_IVROverlay_027_ShowDashboard_params +{ + void *linux_side; + const char *pchOverlayToShow; +}; + +struct IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVROverlay_IVROverlay_027_ShowKeyboard_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params +{ + void *linux_side; + uint32_t _ret; + uint64_t ulOverlayHandle; + uint32_t eInputMode; + uint32_t eLineInputMode; + uint32_t unFlags; + const char *pchDescription; + uint32_t unCharMax; + const char *pchExistingText; + uint64_t uUserValue; +}; + +struct IVROverlay_IVROverlay_027_GetKeyboardText_params +{ + void *linux_side; + uint32_t _ret; + char *pchText; + uint32_t cchText; +}; + +struct IVROverlay_IVROverlay_027_HideKeyboard_params +{ + void *linux_side; +}; + +struct IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params +{ + void *linux_side; + uint32_t eTrackingOrigin; + const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform; +}; + +struct IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params +{ + void *linux_side; + uint64_t ulOverlayHandle; + HmdRect2_t avoidRect; +}; + +struct IVROverlay_IVROverlay_027_ShowMessageOverlay_params +{ + void *linux_side; + uint32_t _ret; + const char *pchText; + const char *pchCaption; + const char *pchButton0Text; + const char *pchButton1Text; + const char *pchButton2Text; + const char *pchButton3Text; +}; + +struct IVROverlay_IVROverlay_027_CloseMessageOverlay_params +{ + void *linux_side; +}; + +struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_090 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_090 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRRenderModels_IVRRenderModels_002_LoadRenderModel_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_0912 **ppRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_002_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_0912 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_002_LoadTexture_params +{ + void *linux_side; + int8_t _ret; + int32_t textureId; + w_RenderModel_TextureMap_t_090 **ppTexture; +}; + +struct IVRRenderModels_IVRRenderModels_002_FreeTexture_params +{ + void *linux_side; + w_RenderModel_TextureMap_t_090 *pTexture; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_002_GetComponentState_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const w_VRControllerState001_t *pControllerState; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_0912 **ppRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_004_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_0912 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + w_RenderModel_TextureMap_t_090 **ppTexture; +}; + +struct IVRRenderModels_IVRRenderModels_004_FreeTexture_params +{ + void *linux_side; + w_RenderModel_TextureMap_t_090 *pTexture; +}; + +struct IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const w_VRControllerState001_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_0912 **ppRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_005_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_0912 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + w_RenderModel_TextureMap_t_090 **ppTexture; +}; + +struct IVRRenderModels_IVRRenderModels_005_FreeTexture_params +{ + void *linux_side; + w_RenderModel_TextureMap_t_090 *pTexture; +}; + +struct IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + void *pDstTexture; +}; + +struct IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetComponentState_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const w_VRControllerState001_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchThumbnailURL; + uint32_t unThumbnailURLLen; + uint32_t *peError; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchOriginalPath; + uint32_t unOriginalPathLen; + uint32_t *peError; +}; + +struct IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_0912 **ppRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_006_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_0912 *pRenderModel; +}; + +struct IVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + w_RenderModel_TextureMap_t_1237 **ppTexture; +}; + +struct IVRRenderModels_IVRRenderModels_006_FreeTexture_params +{ + void *linux_side; + w_RenderModel_TextureMap_t_1237 *pTexture; +}; + +struct IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + void *pD3D11Device; + void **ppD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async_params +{ + void *linux_side; + uint32_t _ret; + int32_t textureId; + void *pDstTexture; +}; + +struct IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11_params +{ + void *linux_side; + void *pD3D11Texture2D; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unRenderModelIndex; + char *pchRenderModelName; + uint32_t unRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params +{ + void *linux_side; + uint32_t _ret; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + uint32_t unComponentIndex; + char *pchComponentName; + uint32_t unComponentNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params +{ + void *linux_side; + uint64_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + char *pchComponentRenderModelName; + uint32_t unComponentRenderModelNameLen; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + uint64_t devicePath; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; + const w_VRControllerState001_t *pControllerState; + const RenderModel_ControllerMode_State_t *pState; + RenderModel_ComponentState_t *pComponentState; +}; + +struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + const char *pchComponentName; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchThumbnailURL; + uint32_t unThumbnailURLLen; + uint32_t *peError; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchRenderModelName; + char *pchOriginalPath; + uint32_t unOriginalPathLen; + uint32_t *peError; +}; + +struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRResources_IVRResources_001_LoadSharedResource_params +{ + void *linux_side; + uint32_t _ret; + const char *pchResourceName; + char *pchBuffer; + uint32_t unBufferLen; +}; + +struct IVRResources_IVRResources_001_GetResourceFullPath_params +{ + void *linux_side; + uint32_t _ret; + const char *pchResourceName; + const char *pchResourceTypeDirectory; + char *pchPathBuffer; + uint32_t unBufferLen; +}; + +struct IVRScreenshots_IVRScreenshots_001_RequestScreenshot_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *pOutScreenshotHandle; + uint32_t type; + const char *pchPreviewFilename; + const char *pchVRFilename; +}; + +struct IVRScreenshots_IVRScreenshots_001_HookScreenshot_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *pSupportedTypes; + int32_t numTypes; +}; + +struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params +{ + void *linux_side; + uint32_t _ret; + uint32_t screenshotHandle; + uint32_t *pError; +}; + +struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params +{ + void *linux_side; + uint32_t _ret; + uint32_t screenshotHandle; + uint32_t filenameType; + char *pchFilename; + uint32_t cchFilename; + uint32_t *pError; +}; + +struct IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params +{ + void *linux_side; + uint32_t _ret; + uint32_t screenshotHandle; + float flProgress; +}; + +struct IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params +{ + void *linux_side; + uint32_t _ret; + uint32_t *pOutScreenshotHandle; + const char *pchPreviewFilename; + const char *pchVRFilename; +}; + +struct IVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params +{ + void *linux_side; + uint32_t _ret; + uint32_t screenshotHandle; + uint32_t type; + const char *pchSourcePreviewFilename; + const char *pchSourceVRFilename; +}; + +struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRSettings_IVRSettings_001_Sync_params +{ + void *linux_side; + int8_t _ret; + int8_t bForce; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_GetBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchSection; + const char *pchSettingsKey; + int8_t bDefaultValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int8_t bValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + int32_t nDefaultValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + float flDefaultValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + const char *pchDefaultValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRSettings_IVRSettings_002_Sync_params +{ + void *linux_side; + int8_t _ret; + int8_t bForce; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int8_t bValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_GetBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_002_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eError; +}; + +struct IVRSettings_IVRSettings_003_SetBool_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int8_t bValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_SetInt32_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + int32_t nValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_SetFloat_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + float flValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_SetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + const char *pchValue; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_GetBool_params +{ + void *linux_side; + int8_t _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_GetInt32_params +{ + void *linux_side; + int32_t _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_GetFloat_params +{ + void *linux_side; + float _ret; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_GetString_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + char *pchValue; + uint32_t unValueLen; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_RemoveSection_params +{ + void *linux_side; + const char *pchSection; + uint32_t *peError; +}; + +struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params +{ + void *linux_side; + const char *pchSection; + const char *pchSettingsKey; + uint32_t *peError; +}; + +struct IVRSystem_IVRSystem_003_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_003_GetEyeOutputViewport_params +{ + void *linux_side; + uint32_t eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_003_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_003_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_003_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_003_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_003_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; + +struct IVRSystem_IVRSystem_003_AttachToWindow_params +{ + void *linux_side; + int8_t _ret; + void *hWnd; +}; + +struct IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_003_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_003_LoadRenderModel_params +{ + void *linux_side; + int8_t _ret; + const char *pchRenderModelName; + w_RenderModel_t_090 *pRenderModel; +}; + +struct IVRSystem_IVRSystem_003_FreeRenderModel_params +{ + void *linux_side; + w_RenderModel_t_090 *pRenderModel; +}; + +struct IVRSystem_IVRSystem_003_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_003_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_090 *pEvent; +}; + +struct IVRSystem_IVRSystem_003_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_090 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_003_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_003_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_003_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_003_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params +{ + void *linux_side; + int8_t _ret; + const Compositor_OverlaySettings *overlaySettings; + HmdVector2_t vecWindowClientPositionOnScreen; + HmdVector2_t vecWindowClientSize; + uint32_t unControllerDeviceIndex; + uint32_t eOutputType; +}; + +struct IVRSystem_IVRSystem_003_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_003_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_004_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_004_GetEyeOutputViewport_params +{ + void *linux_side; + uint32_t eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_004_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_004_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_004_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_004_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_004_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; + +struct IVRSystem_IVRSystem_004_AttachToWindow_params +{ + void *linux_side; + int8_t _ret; + void *hWnd; +}; + +struct IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_004_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_004_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_004_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_092 *pEvent; +}; + +struct IVRSystem_IVRSystem_004_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_092 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_004_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_004_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_004_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_004_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_004_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_004_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_004_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_005_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_005_GetEyeOutputViewport_params +{ + void *linux_side; + uint32_t eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_005_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_005_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_005_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_005_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_005_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; + +struct IVRSystem_IVRSystem_005_AttachToWindow_params +{ + void *linux_side; + int8_t _ret; + void *hWnd; +}; + +struct IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_005_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_005_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_097 *pEvent; +}; + +struct IVRSystem_IVRSystem_005_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_097 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_005_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_005_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_005_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_005_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_005_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_005_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_005_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_006_GetWindowBounds_params +{ + void *linux_side; + int32_t *pnX; + int32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_006_GetEyeOutputViewport_params +{ + void *linux_side; + uint32_t eEye; + uint32_t *pnX; + uint32_t *pnY; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_006_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_006_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_006_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_006_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_006_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; + int32_t *pnAdapterOutputIndex; +}; + +struct IVRSystem_IVRSystem_006_AttachToWindow_params +{ + void *linux_side; + int8_t _ret; + void *hWnd; +}; + +struct IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_006_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_006_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_006_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_0910 *pEvent; +}; + +struct IVRSystem_IVRSystem_006_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_0910 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_006_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_006_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_006_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_006_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_006_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_006_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_006_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_006_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_006_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_006_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_009_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_009_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_009_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_009_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_009_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_009_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_009_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_009_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_009_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_009_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_009_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_0912 *pEvent; +}; + +struct IVRSystem_IVRSystem_009_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_0912 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_009_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_009_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_009_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_009_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_009_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_009_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_009_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_009_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_010_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_010_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_010_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_010_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_010_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_010_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_010_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_010_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_010_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_010_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_010_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_0914 *pEvent; +}; + +struct IVRSystem_IVRSystem_010_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_0914 *pEvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_010_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_010_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_010_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_010_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_010_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_010_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_010_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_010_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params +{ + void *linux_side; + int8_t bEnable; +}; + +struct IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params +{ + void *linux_side; + int32_t nFidelityLevel; +}; + +struct IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_011_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_011_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_011_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_011_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_011_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_011_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_011_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_011_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_011_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_011_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_011_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_0918 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_011_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_0918 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_011_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_011_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_011_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_011_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_011_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_011_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_011_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_011_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params +{ + void *linux_side; + int8_t bEnable; +}; + +struct IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params +{ + void *linux_side; + int32_t nFidelityLevel; +}; + +struct IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_012_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_012_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_012_ComputeDistortion_params +{ + void *linux_side; + DistortionCoordinates_t *_ret; + uint32_t eEye; + float fU; + float fV; +}; + +struct IVRSystem_IVRSystem_012_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_012_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_012_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_012_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_012_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_012_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_012_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_012_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_103 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_012_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_103 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_012_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_012_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; +}; + +struct IVRSystem_IVRSystem_012_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_012_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_012_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_012_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_012_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_012_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_014_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; + uint32_t eProjType; +}; + +struct IVRSystem_IVRSystem_014_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_014_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_014_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_014_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_014_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_014_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_014_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_103 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_014_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_103 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_014_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_014_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_014_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_014_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_014_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_014_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_014_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_015_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_015_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_015_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_015_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_015_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_015_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_015_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_015_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_015_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_015_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_015_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_015_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_015_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_015_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_015_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_015_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_015_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_015_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_015_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_015_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_016_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_016_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_016_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_016_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_016_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_016_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; +}; + +struct IVRSystem_IVRSystem_016_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_016_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_016_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_016_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_016_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_016_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_016_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_106 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_016_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_016_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_016_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_016_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_016_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_016_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_016_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_016_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_017_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_017_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_017_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_017_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_017_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_017_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; + VkInstance_T *pInstance; +}; + +struct IVRSystem_IVRSystem_017_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_017_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_017_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_017_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_017_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_017_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_1011 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_017_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_1011 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_017_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_017_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_017_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_017_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_017_CaptureInputFocus_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_017_ReleaseInputFocus_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_017_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_017_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_019_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_019_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_019_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_019_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_019_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_019_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; + VkInstance_T *pInstance; +}; + +struct IVRSystem_IVRSystem_019_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_019_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_019_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_019_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_019_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t propType; + void *pBuffer; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_019_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_019_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_019_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_019_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_019_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_019_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_019_IsInputAvailable_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_019_ShouldApplicationPause_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_019_DriverDebugRequest_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + const char *pchRequest; + char *pchResponseBuffer; + uint32_t unResponseBufferSize; +}; + +struct IVRSystem_IVRSystem_019_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_020_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_020_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_020_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_020_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; + VkInstance_T *pInstance; +}; + +struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_020_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t propType; + void *pBuffer; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_020_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_1322 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_020_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_020_IsInputAvailable_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; + +struct IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_021_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_021_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_021_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_021_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_021_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_021_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; + VkInstance_T *pInstance; +}; + +struct IVRSystem_IVRSystem_021_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_021_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_021_ResetSeatedZeroPose_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_021_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_021_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t propType; + void *pBuffer; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_021_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_11030 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_021_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_11030 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_021_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_021_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_021_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_021_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_021_IsInputAvailable_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_021_ShouldApplicationPause_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_021_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_021_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRSystem_IVRSystem_021_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; + +struct IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params +{ + void *linux_side; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRSystem_IVRSystem_022_GetProjectionMatrix_params +{ + void *linux_side; + HmdMatrix44_t *_ret; + uint32_t eEye; + float fNearZ; + float fFarZ; +}; + +struct IVRSystem_IVRSystem_022_GetProjectionRaw_params +{ + void *linux_side; + uint32_t eEye; + float *pfLeft; + float *pfRight; + float *pfTop; + float *pfBottom; +}; + +struct IVRSystem_IVRSystem_022_ComputeDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t eEye; + float fU; + float fV; + DistortionCoordinates_t *pDistortionCoordinates; +}; + +struct IVRSystem_IVRSystem_022_GetEyeToHeadTransform_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t eEye; +}; + +struct IVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params +{ + void *linux_side; + int8_t _ret; + float *pfSecondsSinceLastVsync; + uint64_t *pulFrameCounter; +}; + +struct IVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params +{ + void *linux_side; + int32_t _ret; +}; + +struct IVRSystem_IVRSystem_022_GetDXGIOutputInfo_params +{ + void *linux_side; + int32_t *pnAdapterIndex; +}; + +struct IVRSystem_IVRSystem_022_GetOutputDevice_params +{ + void *linux_side; + uint64_t *pnDevice; + uint32_t textureType; + VkInstance_T *pInstance; +}; + +struct IVRSystem_IVRSystem_022_IsDisplayOnDesktop_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_022_SetDisplayVisibility_params +{ + void *linux_side; + int8_t _ret; + int8_t bIsVisibleOnDesktop; +}; + +struct IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params +{ + void *linux_side; + uint32_t eOrigin; + float fPredictedSecondsToPhotonsFromNow; + TrackedDevicePose_t *pTrackedDevicePoseArray; + uint32_t unTrackedDevicePoseArrayCount; +}; + +struct IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params +{ + void *linux_side; + HmdMatrix34_t *_ret; +}; + +struct IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t eTrackedDeviceClass; + uint32_t *punTrackedDeviceIndexArray; + uint32_t unTrackedDeviceIndexArrayCount; + uint32_t unRelativeToTrackedDeviceIndex; +}; + +struct IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceId; +}; + +struct IVRSystem_IVRSystem_022_ApplyTransform_params +{ + void *linux_side; + TrackedDevicePose_t *pOutputPose; + const TrackedDevicePose_t *pTrackedDevicePose; + const HmdMatrix34_t *pTransform; +}; + +struct IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceType; +}; + +struct IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_022_GetTrackedDeviceClass_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params +{ + void *linux_side; + int8_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params +{ + void *linux_side; + float _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params +{ + void *linux_side; + int32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params +{ + void *linux_side; + uint64_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params +{ + void *linux_side; + HmdMatrix34_t *_ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + uint32_t propType; + void *pBuffer; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; + uint32_t prop; + char *pchValue; + uint32_t unBufferSize; + uint32_t *pError; +}; + +struct IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t error; +}; + +struct IVRSystem_IVRSystem_022_PollNextEvent_params +{ + void *linux_side; + int8_t _ret; + w_VREvent_t_1168 *pEvent; + uint32_t uncbVREvent; +}; + +struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + w_VREvent_t_1168 *pEvent; + uint32_t uncbVREvent; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eType; +}; + +struct IVRSystem_IVRSystem_022_GetHiddenAreaMesh_params +{ + void *linux_side; + w_HiddenAreaMesh_t *_ret; + uint32_t eEye; + uint32_t type; +}; + +struct IVRSystem_IVRSystem_022_GetControllerState_params +{ + void *linux_side; + int8_t _ret; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; +}; + +struct IVRSystem_IVRSystem_022_GetControllerStateWithPose_params +{ + void *linux_side; + int8_t _ret; + uint32_t eOrigin; + uint32_t unControllerDeviceIndex; + w_VRControllerState001_t *pControllerState; + uint32_t unControllerStateSize; + TrackedDevicePose_t *pTrackedDevicePose; +}; + +struct IVRSystem_IVRSystem_022_TriggerHapticPulse_params +{ + void *linux_side; + uint32_t unControllerDeviceIndex; + uint32_t unAxisId; + uint16_t usDurationMicroSec; +}; + +struct IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eButtonId; +}; + +struct IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eAxisType; +}; + +struct IVRSystem_IVRSystem_022_IsInputAvailable_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_022_ShouldApplicationPause_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params +{ + void *linux_side; + int8_t _ret; +}; + +struct IVRSystem_IVRSystem_022_PerformFirmwareUpdate_params +{ + void *linux_side; + uint32_t _ret; + uint32_t unDeviceIndex; +}; + +struct IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params +{ + void *linux_side; +}; + +struct IVRSystem_IVRSystem_022_GetAppContainerFilePaths_params +{ + void *linux_side; + uint32_t _ret; + char *pchBuffer; + uint32_t unBufferSize; +}; + +struct IVRSystem_IVRSystem_022_GetRuntimeVersion_params +{ + void *linux_side; + const char *_ret; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + char *pBuffer; + uint32_t nBufferLen; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + uint32_t nVideoStreamFormat; + uint32_t *pWidth; + uint32_t *pHeight; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + uint32_t nVideoStreamFormat; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + int8_t bEnable; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params +{ + void *linux_side; + float _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params +{ + void *linux_side; + const w_CameraVideoStreamFrame_t_0914 *_ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + const w_CameraVideoStreamFrame_t_0914 *pFrameImage; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + int8_t bEnable; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + float flInputU; + float flInputV; + float *pflOutputU; + float *pflOutputV; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params +{ + void *linux_side; + int8_t _ret; + uint32_t nDeviceIndex; + float flWidthPixels; + float flHeightPixels; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eCameraError; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + int8_t *pHasCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + void **pHandle; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + void *hTrackedCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + uint32_t _ret; + void *hTrackedCamera; + uint32_t eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eCameraError; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + int8_t *pHasCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint64_t *pHandle; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + uint32_t *pglTextureId; + w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t glTextureId; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eCameraError; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + int8_t *pHasCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint64_t *pHandle; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + uint32_t *pglTextureId; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t glTextureId; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eCameraError; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + int8_t *pHasCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t nCameraIndex; + uint32_t eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t nCameraIndex; + uint32_t eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint64_t *pHandle; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + uint32_t *pglTextureId; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t glTextureId; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params +{ + void *linux_side; + const char *_ret; + uint32_t eCameraError; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + int8_t *pHasCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + uint32_t *pnWidth; + uint32_t *pnHeight; + uint32_t *pnFrameBufferSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t nCameraIndex; + uint32_t eFrameType; + HmdVector2_t *pFocalLength; + HmdVector2_t *pCenter; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t nCameraIndex; + uint32_t eFrameType; + float flZNear; + float flZFar; + HmdMatrix44_t *pProjection; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint64_t *pHandle; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pFrameBuffer; + uint32_t nFrameBufferSize; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params +{ + void *linux_side; + uint32_t _ret; + uint32_t nDeviceIndex; + uint32_t eFrameType; + VRTextureBounds_t *pTextureBounds; + uint32_t *pnWidth; + uint32_t *pnHeight; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + void *pD3D11DeviceOrResource; + void **ppD3D11ShaderResourceView; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t eFrameType; + uint32_t *pglTextureId; + w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader; + uint32_t nFrameHeaderSize; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params +{ + void *linux_side; + uint32_t _ret; + uint64_t hTrackedCamera; + uint32_t glTextureId; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params +{ + void *linux_side; + uint32_t eUniverse; +}; + +struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params +{ + void *linux_side; + uint32_t _ret; +}; + +#include + +enum unix_funcs +{ + unix_vrclient_init, + unix_vrclient_HmdSystemFactory, + unix_vrclient_VRClientCoreFactory, + unix_IVRApplications_IVRApplications_001_AddApplicationManifest, + unix_IVRApplications_IVRApplications_001_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_001_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_001_GetApplicationCount, + unix_IVRApplications_IVRApplications_001_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_001_LaunchApplication, + unix_IVRApplications_IVRApplications_001_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_001_IdentifyApplication, + unix_IVRApplications_IVRApplications_001_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_001_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_001_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_001_GetHomeApplication, + unix_IVRApplications_IVRApplications_001_SetHomeApplication, + unix_IVRApplications_IVRApplications_001_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_001_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_001_GetStartingApplication, + unix_IVRApplications_IVRApplications_001_GetTransitionState, + unix_IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_002_AddApplicationManifest, + unix_IVRApplications_IVRApplications_002_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_002_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_002_GetApplicationCount, + unix_IVRApplications_IVRApplications_002_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_002_LaunchApplication, + unix_IVRApplications_IVRApplications_002_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_002_IdentifyApplication, + unix_IVRApplications_IVRApplications_002_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_002_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_002_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_002_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_002_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_002_GetStartingApplication, + unix_IVRApplications_IVRApplications_002_GetTransitionState, + unix_IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_002_IsQuitUserPromptRequested, + unix_IVRApplications_IVRApplications_003_AddApplicationManifest, + unix_IVRApplications_IVRApplications_003_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_003_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_003_GetApplicationCount, + unix_IVRApplications_IVRApplications_003_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_003_LaunchApplication, + unix_IVRApplications_IVRApplications_003_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_003_IdentifyApplication, + unix_IVRApplications_IVRApplications_003_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_003_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_003_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_003_GetApplicationPropertyUint64, + unix_IVRApplications_IVRApplications_003_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_003_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_003_GetStartingApplication, + unix_IVRApplications_IVRApplications_003_GetTransitionState, + unix_IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_003_IsQuitUserPromptRequested, + unix_IVRApplications_IVRApplications_004_AddApplicationManifest, + unix_IVRApplications_IVRApplications_004_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_004_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_004_GetApplicationCount, + unix_IVRApplications_IVRApplications_004_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_004_LaunchApplication, + unix_IVRApplications_IVRApplications_004_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_004_CancelApplicationLaunch, + unix_IVRApplications_IVRApplications_004_IdentifyApplication, + unix_IVRApplications_IVRApplications_004_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_004_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_004_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_004_GetApplicationPropertyUint64, + unix_IVRApplications_IVRApplications_004_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_004_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_004_GetStartingApplication, + unix_IVRApplications_IVRApplications_004_GetTransitionState, + unix_IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_004_IsQuitUserPromptRequested, + unix_IVRApplications_IVRApplications_004_LaunchInternalProcess, + unix_IVRApplications_IVRApplications_005_AddApplicationManifest, + unix_IVRApplications_IVRApplications_005_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_005_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_005_GetApplicationCount, + unix_IVRApplications_IVRApplications_005_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_005_LaunchApplication, + unix_IVRApplications_IVRApplications_005_LaunchTemplateApplication, + unix_IVRApplications_IVRApplications_005_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_005_CancelApplicationLaunch, + unix_IVRApplications_IVRApplications_005_IdentifyApplication, + unix_IVRApplications_IVRApplications_005_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_005_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_005_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_005_GetApplicationPropertyUint64, + unix_IVRApplications_IVRApplications_005_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_005_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_005_GetStartingApplication, + unix_IVRApplications_IVRApplications_005_GetTransitionState, + unix_IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_005_IsQuitUserPromptRequested, + unix_IVRApplications_IVRApplications_005_LaunchInternalProcess, + unix_IVRApplications_IVRApplications_006_AddApplicationManifest, + unix_IVRApplications_IVRApplications_006_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_006_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_006_GetApplicationCount, + unix_IVRApplications_IVRApplications_006_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_006_LaunchApplication, + unix_IVRApplications_IVRApplications_006_LaunchTemplateApplication, + unix_IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, + unix_IVRApplications_IVRApplications_006_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_006_CancelApplicationLaunch, + unix_IVRApplications_IVRApplications_006_IdentifyApplication, + unix_IVRApplications_IVRApplications_006_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_006_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_006_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_006_GetApplicationPropertyUint64, + unix_IVRApplications_IVRApplications_006_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_006_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, + unix_IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, + unix_IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, + unix_IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, + unix_IVRApplications_IVRApplications_006_GetApplicationLaunchArguments, + unix_IVRApplications_IVRApplications_006_GetStartingApplication, + unix_IVRApplications_IVRApplications_006_GetTransitionState, + unix_IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, + unix_IVRApplications_IVRApplications_006_IsQuitUserPromptRequested, + unix_IVRApplications_IVRApplications_006_LaunchInternalProcess, + unix_IVRApplications_IVRApplications_006_GetCurrentSceneProcessId, + unix_IVRApplications_IVRApplications_007_AddApplicationManifest, + unix_IVRApplications_IVRApplications_007_RemoveApplicationManifest, + unix_IVRApplications_IVRApplications_007_IsApplicationInstalled, + unix_IVRApplications_IVRApplications_007_GetApplicationCount, + unix_IVRApplications_IVRApplications_007_GetApplicationKeyByIndex, + unix_IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, + unix_IVRApplications_IVRApplications_007_LaunchApplication, + unix_IVRApplications_IVRApplications_007_LaunchTemplateApplication, + unix_IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, + unix_IVRApplications_IVRApplications_007_LaunchDashboardOverlay, + unix_IVRApplications_IVRApplications_007_CancelApplicationLaunch, + unix_IVRApplications_IVRApplications_007_IdentifyApplication, + unix_IVRApplications_IVRApplications_007_GetApplicationProcessId, + unix_IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, + unix_IVRApplications_IVRApplications_007_GetApplicationPropertyString, + unix_IVRApplications_IVRApplications_007_GetApplicationPropertyBool, + unix_IVRApplications_IVRApplications_007_GetApplicationPropertyUint64, + unix_IVRApplications_IVRApplications_007_SetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_007_GetApplicationAutoLaunch, + unix_IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, + unix_IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, + unix_IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, + unix_IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, + unix_IVRApplications_IVRApplications_007_GetApplicationLaunchArguments, + unix_IVRApplications_IVRApplications_007_GetStartingApplication, + unix_IVRApplications_IVRApplications_007_GetSceneApplicationState, + unix_IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, + unix_IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, + unix_IVRApplications_IVRApplications_007_LaunchInternalProcess, + unix_IVRApplications_IVRApplications_007_GetCurrentSceneProcessId, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, + unix_IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, + unix_IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, + unix_IVRChaperone_IVRChaperone_002_GetCalibrationState, + unix_IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, + unix_IVRChaperone_IVRChaperone_002_GetHardBoundsInfo, + unix_IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, + unix_IVRChaperone_IVRChaperone_002_ReloadInfo, + unix_IVRChaperone_IVRChaperone_002_SetSceneColor, + unix_IVRChaperone_IVRChaperone_002_GetBoundsColor, + unix_IVRChaperone_IVRChaperone_002_AreBoundsVisible, + unix_IVRChaperone_IVRChaperone_002_ForceBoundsVisible, + unix_IVRChaperone_IVRChaperone_003_GetCalibrationState, + unix_IVRChaperone_IVRChaperone_003_GetPlayAreaSize, + unix_IVRChaperone_IVRChaperone_003_GetPlayAreaRect, + unix_IVRChaperone_IVRChaperone_003_ReloadInfo, + unix_IVRChaperone_IVRChaperone_003_SetSceneColor, + unix_IVRChaperone_IVRChaperone_003_GetBoundsColor, + unix_IVRChaperone_IVRChaperone_003_AreBoundsVisible, + unix_IVRChaperone_IVRChaperone_003_ForceBoundsVisible, + unix_IVRChaperone_IVRChaperone_004_GetCalibrationState, + unix_IVRChaperone_IVRChaperone_004_GetPlayAreaSize, + unix_IVRChaperone_IVRChaperone_004_GetPlayAreaRect, + unix_IVRChaperone_IVRChaperone_004_ReloadInfo, + unix_IVRChaperone_IVRChaperone_004_SetSceneColor, + unix_IVRChaperone_IVRChaperone_004_GetBoundsColor, + unix_IVRChaperone_IVRChaperone_004_AreBoundsVisible, + unix_IVRChaperone_IVRChaperone_004_ForceBoundsVisible, + unix_IVRChaperone_IVRChaperone_004_ResetZeroPose, + unix_IVRClientCore_IVRClientCore_002_Init, + unix_IVRClientCore_IVRClientCore_002_Cleanup, + unix_IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, + unix_IVRClientCore_IVRClientCore_002_GetGenericInterface, + unix_IVRClientCore_IVRClientCore_002_BIsHmdPresent, + unix_IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, + unix_IVRClientCore_IVRClientCore_002_GetIDForVRInitError, + unix_IVRClientCore_IVRClientCore_003_Init, + unix_IVRClientCore_IVRClientCore_003_Cleanup, + unix_IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, + unix_IVRClientCore_IVRClientCore_003_GetGenericInterface, + unix_IVRClientCore_IVRClientCore_003_BIsHmdPresent, + unix_IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, + unix_IVRClientCore_IVRClientCore_003_GetIDForVRInitError, + unix_IVRCompositor_IVRCompositor_005_GetLastError, + unix_IVRCompositor_IVRCompositor_005_SetVSync, + unix_IVRCompositor_IVRCompositor_005_GetVSync, + unix_IVRCompositor_IVRCompositor_005_SetGamma, + unix_IVRCompositor_IVRCompositor_005_GetGamma, + unix_IVRCompositor_IVRCompositor_005_SetGraphicsDevice, + unix_IVRCompositor_IVRCompositor_005_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_005_Submit, + unix_IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_005_GetOverlayDefaults, + unix_IVRCompositor_IVRCompositor_005_SetOverlay, + unix_IVRCompositor_IVRCompositor_005_SetOverlayRaw, + unix_IVRCompositor_IVRCompositor_005_SetOverlayFromFile, + unix_IVRCompositor_IVRCompositor_005_ClearOverlay, + unix_IVRCompositor_IVRCompositor_005_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_005_FadeToColor, + unix_IVRCompositor_IVRCompositor_005_FadeGrid, + unix_IVRCompositor_IVRCompositor_005_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_005_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_005_CompositorQuit, + unix_IVRCompositor_IVRCompositor_005_IsFullscreen, + unix_IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, + unix_IVRCompositor_IVRCompositor_005_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_005_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_006_GetLastError, + unix_IVRCompositor_IVRCompositor_006_SetVSync, + unix_IVRCompositor_IVRCompositor_006_GetVSync, + unix_IVRCompositor_IVRCompositor_006_SetGamma, + unix_IVRCompositor_IVRCompositor_006_GetGamma, + unix_IVRCompositor_IVRCompositor_006_SetGraphicsDevice, + unix_IVRCompositor_IVRCompositor_006_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_006_Submit, + unix_IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_006_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_006_FadeToColor, + unix_IVRCompositor_IVRCompositor_006_FadeGrid, + unix_IVRCompositor_IVRCompositor_006_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_006_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_006_CompositorQuit, + unix_IVRCompositor_IVRCompositor_006_IsFullscreen, + unix_IVRCompositor_IVRCompositor_006_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_006_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_006_CanRenderScene, + unix_IVRCompositor_IVRCompositor_007_GetLastError, + unix_IVRCompositor_IVRCompositor_007_SetVSync, + unix_IVRCompositor_IVRCompositor_007_GetVSync, + unix_IVRCompositor_IVRCompositor_007_SetGamma, + unix_IVRCompositor_IVRCompositor_007_GetGamma, + unix_IVRCompositor_IVRCompositor_007_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_007_Submit, + unix_IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_007_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_007_FadeToColor, + unix_IVRCompositor_IVRCompositor_007_FadeGrid, + unix_IVRCompositor_IVRCompositor_007_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_007_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_007_CompositorQuit, + unix_IVRCompositor_IVRCompositor_007_IsFullscreen, + unix_IVRCompositor_IVRCompositor_007_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_007_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_007_CanRenderScene, + unix_IVRCompositor_IVRCompositor_008_GetLastError, + unix_IVRCompositor_IVRCompositor_008_SetVSync, + unix_IVRCompositor_IVRCompositor_008_GetVSync, + unix_IVRCompositor_IVRCompositor_008_SetGamma, + unix_IVRCompositor_IVRCompositor_008_GetGamma, + unix_IVRCompositor_IVRCompositor_008_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_008_Submit, + unix_IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_008_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_008_FadeToColor, + unix_IVRCompositor_IVRCompositor_008_FadeGrid, + unix_IVRCompositor_IVRCompositor_008_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_008_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_008_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_008_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_008_CompositorQuit, + unix_IVRCompositor_IVRCompositor_008_IsFullscreen, + unix_IVRCompositor_IVRCompositor_008_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_008_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_008_CanRenderScene, + unix_IVRCompositor_IVRCompositor_008_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_008_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_008_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_008_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_009_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_009_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_009_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_009_GetLastPoses, + unix_IVRCompositor_IVRCompositor_009_Submit, + unix_IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_009_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_009_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_009_FadeToColor, + unix_IVRCompositor_IVRCompositor_009_FadeGrid, + unix_IVRCompositor_IVRCompositor_009_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_009_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_009_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_009_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_009_CompositorQuit, + unix_IVRCompositor_IVRCompositor_009_IsFullscreen, + unix_IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_009_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_009_CanRenderScene, + unix_IVRCompositor_IVRCompositor_009_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_009_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_009_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_010_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_010_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_010_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_010_GetLastPoses, + unix_IVRCompositor_IVRCompositor_010_Submit, + unix_IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_010_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_010_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_010_FadeToColor, + unix_IVRCompositor_IVRCompositor_010_FadeGrid, + unix_IVRCompositor_IVRCompositor_010_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_010_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_010_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_010_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_010_CompositorQuit, + unix_IVRCompositor_IVRCompositor_010_IsFullscreen, + unix_IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_010_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_010_CanRenderScene, + unix_IVRCompositor_IVRCompositor_010_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_010_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_010_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_011_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_011_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_011_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_011_GetLastPoses, + unix_IVRCompositor_IVRCompositor_011_Submit, + unix_IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_011_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_011_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_011_FadeToColor, + unix_IVRCompositor_IVRCompositor_011_FadeGrid, + unix_IVRCompositor_IVRCompositor_011_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_011_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_011_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_011_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_011_CompositorQuit, + unix_IVRCompositor_IVRCompositor_011_IsFullscreen, + unix_IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_011_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_011_CanRenderScene, + unix_IVRCompositor_IVRCompositor_011_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_011_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_011_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_012_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_012_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_012_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_012_GetLastPoses, + unix_IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_012_Submit, + unix_IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_012_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_012_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_012_FadeToColor, + unix_IVRCompositor_IVRCompositor_012_FadeGrid, + unix_IVRCompositor_IVRCompositor_012_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_012_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_012_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_012_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_012_CompositorQuit, + unix_IVRCompositor_IVRCompositor_012_IsFullscreen, + unix_IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_012_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_012_CanRenderScene, + unix_IVRCompositor_IVRCompositor_012_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_012_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_012_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_013_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_013_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_013_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_013_GetLastPoses, + unix_IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_013_Submit, + unix_IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_013_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_013_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_013_FadeToColor, + unix_IVRCompositor_IVRCompositor_013_FadeGrid, + unix_IVRCompositor_IVRCompositor_013_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_013_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_013_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_013_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_013_CompositorQuit, + unix_IVRCompositor_IVRCompositor_013_IsFullscreen, + unix_IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_013_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_013_CanRenderScene, + unix_IVRCompositor_IVRCompositor_013_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_013_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_013_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_014_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_014_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_014_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_014_GetLastPoses, + unix_IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_014_Submit, + unix_IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_014_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_014_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_014_FadeToColor, + unix_IVRCompositor_IVRCompositor_014_FadeGrid, + unix_IVRCompositor_IVRCompositor_014_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_014_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_014_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_014_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_014_CompositorQuit, + unix_IVRCompositor_IVRCompositor_014_IsFullscreen, + unix_IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_014_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_014_CanRenderScene, + unix_IVRCompositor_IVRCompositor_014_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_014_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_014_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_014_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_014_SuspendRendering, + unix_IVRCompositor_IVRCompositor_015_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_015_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_015_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_015_GetLastPoses, + unix_IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_015_Submit, + unix_IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_015_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_015_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_015_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_015_FadeToColor, + unix_IVRCompositor_IVRCompositor_015_FadeGrid, + unix_IVRCompositor_IVRCompositor_015_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_015_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_015_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_015_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_015_CompositorQuit, + unix_IVRCompositor_IVRCompositor_015_IsFullscreen, + unix_IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_015_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_015_CanRenderScene, + unix_IVRCompositor_IVRCompositor_015_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_015_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_015_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_015_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_015_SuspendRendering, + unix_IVRCompositor_IVRCompositor_015_RequestScreenshot, + unix_IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, + unix_IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_015_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_016_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_016_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_016_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_016_GetLastPoses, + unix_IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_016_Submit, + unix_IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_016_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_016_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_016_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_016_FadeToColor, + unix_IVRCompositor_IVRCompositor_016_FadeGrid, + unix_IVRCompositor_IVRCompositor_016_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_016_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_016_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_016_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_016_CompositorQuit, + unix_IVRCompositor_IVRCompositor_016_IsFullscreen, + unix_IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_016_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_016_CanRenderScene, + unix_IVRCompositor_IVRCompositor_016_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_016_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_016_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_016_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_016_SuspendRendering, + unix_IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_016_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_017_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_017_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_017_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_017_GetLastPoses, + unix_IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_017_Submit, + unix_IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_017_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_017_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_017_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_017_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_017_FadeToColor, + unix_IVRCompositor_IVRCompositor_017_FadeGrid, + unix_IVRCompositor_IVRCompositor_017_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_017_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_017_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_017_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_017_CompositorQuit, + unix_IVRCompositor_IVRCompositor_017_IsFullscreen, + unix_IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_017_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_017_CanRenderScene, + unix_IVRCompositor_IVRCompositor_017_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_017_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_017_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_017_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_017_SuspendRendering, + unix_IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_017_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_018_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_018_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_018_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_018_GetLastPoses, + unix_IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_018_Submit, + unix_IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_018_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_018_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_018_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_018_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_018_FadeToColor, + unix_IVRCompositor_IVRCompositor_018_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_018_FadeGrid, + unix_IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_018_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_018_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_018_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_018_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_018_CompositorQuit, + unix_IVRCompositor_IVRCompositor_018_IsFullscreen, + unix_IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_018_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_018_CanRenderScene, + unix_IVRCompositor_IVRCompositor_018_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_018_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_018_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_018_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_018_SuspendRendering, + unix_IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_018_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_019_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_019_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_019_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_019_GetLastPoses, + unix_IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_019_Submit, + unix_IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_019_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_019_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_019_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_019_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_019_FadeToColor, + unix_IVRCompositor_IVRCompositor_019_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_019_FadeGrid, + unix_IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_019_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_019_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_019_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_019_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_019_CompositorQuit, + unix_IVRCompositor_IVRCompositor_019_IsFullscreen, + unix_IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_019_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_019_CanRenderScene, + unix_IVRCompositor_IVRCompositor_019_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_019_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_019_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_019_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_019_SuspendRendering, + unix_IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_019_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_020_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_020_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_020_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_020_GetLastPoses, + unix_IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_020_Submit, + unix_IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_020_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_020_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_020_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_020_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_020_FadeToColor, + unix_IVRCompositor_IVRCompositor_020_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_020_FadeGrid, + unix_IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_020_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_020_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_020_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_020_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_020_CompositorQuit, + unix_IVRCompositor_IVRCompositor_020_IsFullscreen, + unix_IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_020_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_020_CanRenderScene, + unix_IVRCompositor_IVRCompositor_020_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_020_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_020_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_020_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_020_SuspendRendering, + unix_IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_020_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_021_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_021_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_021_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_021_GetLastPoses, + unix_IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_021_Submit, + unix_IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_021_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_021_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_021_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_021_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_021_FadeToColor, + unix_IVRCompositor_IVRCompositor_021_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_021_FadeGrid, + unix_IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_021_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_021_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_021_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_021_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_021_CompositorQuit, + unix_IVRCompositor_IVRCompositor_021_IsFullscreen, + unix_IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_021_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_021_CanRenderScene, + unix_IVRCompositor_IVRCompositor_021_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_021_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_021_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_021_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_021_SuspendRendering, + unix_IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_021_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_021_SetExplicitTimingMode, + unix_IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, + unix_IVRCompositor_IVRCompositor_022_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_022_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_022_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_022_GetLastPoses, + unix_IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_022_Submit, + unix_IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_022_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_022_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_022_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_022_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_022_FadeToColor, + unix_IVRCompositor_IVRCompositor_022_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_022_FadeGrid, + unix_IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_022_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_022_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_022_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_022_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_022_CompositorQuit, + unix_IVRCompositor_IVRCompositor_022_IsFullscreen, + unix_IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_022_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_022_CanRenderScene, + unix_IVRCompositor_IVRCompositor_022_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_022_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_022_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_022_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_022_SuspendRendering, + unix_IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_022_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_022_SetExplicitTimingMode, + unix_IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, + unix_IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, + unix_IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, + unix_IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, + unix_IVRCompositor_IVRCompositor_024_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_024_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_024_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_024_GetLastPoses, + unix_IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_024_Submit, + unix_IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_024_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_024_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_024_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_024_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_024_FadeToColor, + unix_IVRCompositor_IVRCompositor_024_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_024_FadeGrid, + unix_IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_024_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_024_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_024_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_024_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_024_CompositorQuit, + unix_IVRCompositor_IVRCompositor_024_IsFullscreen, + unix_IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_024_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_024_CanRenderScene, + unix_IVRCompositor_IVRCompositor_024_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_024_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_024_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_024_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_024_SuspendRendering, + unix_IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_024_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_024_SetExplicitTimingMode, + unix_IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, + unix_IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, + unix_IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, + unix_IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, + unix_IVRCompositor_IVRCompositor_024_SetStageOverride_Async, + unix_IVRCompositor_IVRCompositor_024_ClearStageOverride, + unix_IVRCompositor_IVRCompositor_026_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_026_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_026_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_026_GetLastPoses, + unix_IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_026_Submit, + unix_IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_026_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_026_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_026_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_026_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_026_FadeToColor, + unix_IVRCompositor_IVRCompositor_026_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_026_FadeGrid, + unix_IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_026_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_026_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_026_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_026_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_026_CompositorQuit, + unix_IVRCompositor_IVRCompositor_026_IsFullscreen, + unix_IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_026_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_026_CanRenderScene, + unix_IVRCompositor_IVRCompositor_026_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_026_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_026_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_026_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_026_SuspendRendering, + unix_IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_026_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_026_SetExplicitTimingMode, + unix_IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, + unix_IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, + unix_IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, + unix_IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, + unix_IVRCompositor_IVRCompositor_026_SetStageOverride_Async, + unix_IVRCompositor_IVRCompositor_026_ClearStageOverride, + unix_IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, + unix_IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, + unix_IVRCompositor_IVRCompositor_026_GetPosesForFrame, + unix_IVRCompositor_IVRCompositor_027_SetTrackingSpace, + unix_IVRCompositor_IVRCompositor_027_GetTrackingSpace, + unix_IVRCompositor_IVRCompositor_027_WaitGetPoses, + unix_IVRCompositor_IVRCompositor_027_GetLastPoses, + unix_IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, + unix_IVRCompositor_IVRCompositor_027_Submit, + unix_IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, + unix_IVRCompositor_IVRCompositor_027_PostPresentHandoff, + unix_IVRCompositor_IVRCompositor_027_GetFrameTiming, + unix_IVRCompositor_IVRCompositor_027_GetFrameTimings, + unix_IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, + unix_IVRCompositor_IVRCompositor_027_GetCumulativeStats, + unix_IVRCompositor_IVRCompositor_027_FadeToColor, + unix_IVRCompositor_IVRCompositor_027_GetCurrentFadeColor, + unix_IVRCompositor_IVRCompositor_027_FadeGrid, + unix_IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, + unix_IVRCompositor_IVRCompositor_027_SetSkyboxOverride, + unix_IVRCompositor_IVRCompositor_027_ClearSkyboxOverride, + unix_IVRCompositor_IVRCompositor_027_CompositorBringToFront, + unix_IVRCompositor_IVRCompositor_027_CompositorGoToBack, + unix_IVRCompositor_IVRCompositor_027_CompositorQuit, + unix_IVRCompositor_IVRCompositor_027_IsFullscreen, + unix_IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, + unix_IVRCompositor_IVRCompositor_027_GetLastFrameRenderer, + unix_IVRCompositor_IVRCompositor_027_CanRenderScene, + unix_IVRCompositor_IVRCompositor_027_ShowMirrorWindow, + unix_IVRCompositor_IVRCompositor_027_HideMirrorWindow, + unix_IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, + unix_IVRCompositor_IVRCompositor_027_CompositorDumpImages, + unix_IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, + unix_IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, + unix_IVRCompositor_IVRCompositor_027_ForceReconnectProcess, + unix_IVRCompositor_IVRCompositor_027_SuspendRendering, + unix_IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, + unix_IVRCompositor_IVRCompositor_027_GetMirrorTextureGL, + unix_IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, + unix_IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, + unix_IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, + unix_IVRCompositor_IVRCompositor_027_SetExplicitTimingMode, + unix_IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, + unix_IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, + unix_IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, + unix_IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, + unix_IVRCompositor_IVRCompositor_027_SetStageOverride_Async, + unix_IVRCompositor_IVRCompositor_027_ClearStageOverride, + unix_IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, + unix_IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, + unix_IVRCompositor_IVRCompositor_027_GetPosesForFrame, + unix_IVRControlPanel_IVRControlPanel_006_undoc1, + unix_IVRControlPanel_IVRControlPanel_006_undoc2, + unix_IVRControlPanel_IVRControlPanel_006_undoc3, + unix_IVRControlPanel_IVRControlPanel_006_undoc4, + unix_IVRControlPanel_IVRControlPanel_006_undoc5, + unix_IVRControlPanel_IVRControlPanel_006_undoc6, + unix_IVRControlPanel_IVRControlPanel_006_undoc7, + unix_IVRControlPanel_IVRControlPanel_006_undoc8, + unix_IVRControlPanel_IVRControlPanel_006_undoc9, + unix_IVRControlPanel_IVRControlPanel_006_undoc10, + unix_IVRControlPanel_IVRControlPanel_006_undoc11, + unix_IVRControlPanel_IVRControlPanel_006_undoc12, + unix_IVRControlPanel_IVRControlPanel_006_undoc13, + unix_IVRControlPanel_IVRControlPanel_006_undoc14, + unix_IVRControlPanel_IVRControlPanel_006_undoc15, + unix_IVRControlPanel_IVRControlPanel_006_undoc16, + unix_IVRControlPanel_IVRControlPanel_006_undoc17, + unix_IVRControlPanel_IVRControlPanel_006_undoc18, + unix_IVRControlPanel_IVRControlPanel_006_undoc19, + unix_IVRControlPanel_IVRControlPanel_006_undoc20, + unix_IVRControlPanel_IVRControlPanel_006_undoc21, + unix_IVRControlPanel_IVRControlPanel_006_undoc22, + unix_IVRControlPanel_IVRControlPanel_006_undoc23, + unix_IVRControlPanel_IVRControlPanel_006_undoc24, + unix_IVRControlPanel_IVRControlPanel_006_undoc25, + unix_IVRControlPanel_IVRControlPanel_006_undoc26, + unix_IVRControlPanel_IVRControlPanel_006_undoc27, + unix_IVRControlPanel_IVRControlPanel_006_undoc28, + unix_IVRDriverManager_IVRDriverManager_001_GetDriverCount, + unix_IVRDriverManager_IVRDriverManager_001_GetDriverName, + unix_IVRDriverManager_IVRDriverManager_001_GetDriverHandle, + unix_IVRDriverManager_IVRDriverManager_001_IsEnabled, + unix_IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, + unix_IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, + unix_IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, + unix_IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, + unix_IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, + unix_IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, + unix_IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, + unix_IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, + unix_IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, + unix_IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, + unix_IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, + unix_IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, + unix_IVRIOBuffer_IVRIOBuffer_001_Open, + unix_IVRIOBuffer_IVRIOBuffer_001_Close, + unix_IVRIOBuffer_IVRIOBuffer_001_Read, + unix_IVRIOBuffer_IVRIOBuffer_001_Write, + unix_IVRIOBuffer_IVRIOBuffer_001_PropertyContainer, + unix_IVRIOBuffer_IVRIOBuffer_002_Open, + unix_IVRIOBuffer_IVRIOBuffer_002_Close, + unix_IVRIOBuffer_IVRIOBuffer_002_Read, + unix_IVRIOBuffer_IVRIOBuffer_002_Write, + unix_IVRIOBuffer_IVRIOBuffer_002_PropertyContainer, + unix_IVRIOBuffer_IVRIOBuffer_002_HasReaders, + unix_IVRInput_IVRInput_003_SetActionManifestPath, + unix_IVRInput_IVRInput_003_GetActionSetHandle, + unix_IVRInput_IVRInput_003_GetActionHandle, + unix_IVRInput_IVRInput_003_GetInputSourceHandle, + unix_IVRInput_IVRInput_003_UpdateActionState, + unix_IVRInput_IVRInput_003_GetDigitalActionData, + unix_IVRInput_IVRInput_003_GetAnalogActionData, + unix_IVRInput_IVRInput_003_GetPoseActionData, + unix_IVRInput_IVRInput_003_GetSkeletalActionData, + unix_IVRInput_IVRInput_003_GetSkeletalActionDataCompressed, + unix_IVRInput_IVRInput_003_UncompressSkeletalActionData, + unix_IVRInput_IVRInput_003_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_003_GetActionOrigins, + unix_IVRInput_IVRInput_003_GetOriginLocalizedName, + unix_IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_003_ShowActionOrigins, + unix_IVRInput_IVRInput_003_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_004_SetActionManifestPath, + unix_IVRInput_IVRInput_004_GetActionSetHandle, + unix_IVRInput_IVRInput_004_GetActionHandle, + unix_IVRInput_IVRInput_004_GetInputSourceHandle, + unix_IVRInput_IVRInput_004_UpdateActionState, + unix_IVRInput_IVRInput_004_GetDigitalActionData, + unix_IVRInput_IVRInput_004_GetAnalogActionData, + unix_IVRInput_IVRInput_004_GetPoseActionData, + unix_IVRInput_IVRInput_004_GetSkeletalActionData, + unix_IVRInput_IVRInput_004_GetSkeletalBoneData, + unix_IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, + unix_IVRInput_IVRInput_004_DecompressSkeletalBoneData, + unix_IVRInput_IVRInput_004_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_004_GetActionOrigins, + unix_IVRInput_IVRInput_004_GetOriginLocalizedName, + unix_IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_004_ShowActionOrigins, + unix_IVRInput_IVRInput_004_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_005_SetActionManifestPath, + unix_IVRInput_IVRInput_005_GetActionSetHandle, + unix_IVRInput_IVRInput_005_GetActionHandle, + unix_IVRInput_IVRInput_005_GetInputSourceHandle, + unix_IVRInput_IVRInput_005_UpdateActionState, + unix_IVRInput_IVRInput_005_GetDigitalActionData, + unix_IVRInput_IVRInput_005_GetAnalogActionData, + unix_IVRInput_IVRInput_005_GetPoseActionData, + unix_IVRInput_IVRInput_005_GetSkeletalActionData, + unix_IVRInput_IVRInput_005_GetBoneCount, + unix_IVRInput_IVRInput_005_GetBoneHierarchy, + unix_IVRInput_IVRInput_005_GetBoneName, + unix_IVRInput_IVRInput_005_GetSkeletalReferenceTransforms, + unix_IVRInput_IVRInput_005_GetSkeletalTrackingLevel, + unix_IVRInput_IVRInput_005_GetSkeletalBoneData, + unix_IVRInput_IVRInput_005_GetSkeletalSummaryData, + unix_IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, + unix_IVRInput_IVRInput_005_DecompressSkeletalBoneData, + unix_IVRInput_IVRInput_005_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_005_GetActionOrigins, + unix_IVRInput_IVRInput_005_GetOriginLocalizedName, + unix_IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_005_ShowActionOrigins, + unix_IVRInput_IVRInput_005_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_005_IsUsingLegacyInput, + unix_IVRInput_IVRInput_006_SetActionManifestPath, + unix_IVRInput_IVRInput_006_GetActionSetHandle, + unix_IVRInput_IVRInput_006_GetActionHandle, + unix_IVRInput_IVRInput_006_GetInputSourceHandle, + unix_IVRInput_IVRInput_006_UpdateActionState, + unix_IVRInput_IVRInput_006_GetDigitalActionData, + unix_IVRInput_IVRInput_006_GetAnalogActionData, + unix_IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, + unix_IVRInput_IVRInput_006_GetPoseActionDataForNextFrame, + unix_IVRInput_IVRInput_006_GetSkeletalActionData, + unix_IVRInput_IVRInput_006_GetBoneCount, + unix_IVRInput_IVRInput_006_GetBoneHierarchy, + unix_IVRInput_IVRInput_006_GetBoneName, + unix_IVRInput_IVRInput_006_GetSkeletalReferenceTransforms, + unix_IVRInput_IVRInput_006_GetSkeletalTrackingLevel, + unix_IVRInput_IVRInput_006_GetSkeletalBoneData, + unix_IVRInput_IVRInput_006_GetSkeletalSummaryData, + unix_IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, + unix_IVRInput_IVRInput_006_DecompressSkeletalBoneData, + unix_IVRInput_IVRInput_006_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_006_GetActionOrigins, + unix_IVRInput_IVRInput_006_GetOriginLocalizedName, + unix_IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_006_ShowActionOrigins, + unix_IVRInput_IVRInput_006_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_006_IsUsingLegacyInput, + unix_IVRInput_IVRInput_007_SetActionManifestPath, + unix_IVRInput_IVRInput_007_GetActionSetHandle, + unix_IVRInput_IVRInput_007_GetActionHandle, + unix_IVRInput_IVRInput_007_GetInputSourceHandle, + unix_IVRInput_IVRInput_007_UpdateActionState, + unix_IVRInput_IVRInput_007_GetDigitalActionData, + unix_IVRInput_IVRInput_007_GetAnalogActionData, + unix_IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, + unix_IVRInput_IVRInput_007_GetPoseActionDataForNextFrame, + unix_IVRInput_IVRInput_007_GetSkeletalActionData, + unix_IVRInput_IVRInput_007_GetBoneCount, + unix_IVRInput_IVRInput_007_GetBoneHierarchy, + unix_IVRInput_IVRInput_007_GetBoneName, + unix_IVRInput_IVRInput_007_GetSkeletalReferenceTransforms, + unix_IVRInput_IVRInput_007_GetSkeletalTrackingLevel, + unix_IVRInput_IVRInput_007_GetSkeletalBoneData, + unix_IVRInput_IVRInput_007_GetSkeletalSummaryData, + unix_IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, + unix_IVRInput_IVRInput_007_DecompressSkeletalBoneData, + unix_IVRInput_IVRInput_007_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_007_GetActionOrigins, + unix_IVRInput_IVRInput_007_GetOriginLocalizedName, + unix_IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_007_GetActionBindingInfo, + unix_IVRInput_IVRInput_007_ShowActionOrigins, + unix_IVRInput_IVRInput_007_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_007_IsUsingLegacyInput, + unix_IVRInput_IVRInput_007_OpenBindingUI, + unix_IVRInput_IVRInput_010_SetActionManifestPath, + unix_IVRInput_IVRInput_010_GetActionSetHandle, + unix_IVRInput_IVRInput_010_GetActionHandle, + unix_IVRInput_IVRInput_010_GetInputSourceHandle, + unix_IVRInput_IVRInput_010_UpdateActionState, + unix_IVRInput_IVRInput_010_GetDigitalActionData, + unix_IVRInput_IVRInput_010_GetAnalogActionData, + unix_IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, + unix_IVRInput_IVRInput_010_GetPoseActionDataForNextFrame, + unix_IVRInput_IVRInput_010_GetSkeletalActionData, + unix_IVRInput_IVRInput_010_GetDominantHand, + unix_IVRInput_IVRInput_010_SetDominantHand, + unix_IVRInput_IVRInput_010_GetBoneCount, + unix_IVRInput_IVRInput_010_GetBoneHierarchy, + unix_IVRInput_IVRInput_010_GetBoneName, + unix_IVRInput_IVRInput_010_GetSkeletalReferenceTransforms, + unix_IVRInput_IVRInput_010_GetSkeletalTrackingLevel, + unix_IVRInput_IVRInput_010_GetSkeletalBoneData, + unix_IVRInput_IVRInput_010_GetSkeletalSummaryData, + unix_IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, + unix_IVRInput_IVRInput_010_DecompressSkeletalBoneData, + unix_IVRInput_IVRInput_010_TriggerHapticVibrationAction, + unix_IVRInput_IVRInput_010_GetActionOrigins, + unix_IVRInput_IVRInput_010_GetOriginLocalizedName, + unix_IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, + unix_IVRInput_IVRInput_010_GetActionBindingInfo, + unix_IVRInput_IVRInput_010_ShowActionOrigins, + unix_IVRInput_IVRInput_010_ShowBindingsForActionSet, + unix_IVRInput_IVRInput_010_GetComponentStateForBinding, + unix_IVRInput_IVRInput_010_IsUsingLegacyInput, + unix_IVRInput_IVRInput_010_OpenBindingUI, + unix_IVRInput_IVRInput_010_GetBindingVariant, + unix_IVRMailbox_IVRMailbox_001_undoc1, + unix_IVRMailbox_IVRMailbox_001_undoc2, + unix_IVRMailbox_IVRMailbox_001_undoc3, + unix_IVRMailbox_IVRMailbox_001_undoc4, + unix_IVRNotifications_IVRNotifications_001_GetErrorString, + unix_IVRNotifications_IVRNotifications_001_CreateNotification, + unix_IVRNotifications_IVRNotifications_001_DismissNotification, + unix_IVRNotifications_IVRNotifications_002_CreateNotification, + unix_IVRNotifications_IVRNotifications_002_RemoveNotification, + unix_IVROverlayView_IVROverlayView_003_AcquireOverlayView, + unix_IVROverlayView_IVROverlayView_003_ReleaseOverlayView, + unix_IVROverlayView_IVROverlayView_003_PostOverlayEvent, + unix_IVROverlayView_IVROverlayView_003_IsViewingPermitted, + unix_IVROverlay_IVROverlay_001_FindOverlay, + unix_IVROverlay_IVROverlay_001_CreateOverlay, + unix_IVROverlay_IVROverlay_001_DestroyOverlay, + unix_IVROverlay_IVROverlay_001_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_001_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_001_SetOverlayFlag, + unix_IVROverlay_IVROverlay_001_GetOverlayFlag, + unix_IVROverlay_IVROverlay_001_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_001_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_001_SetOverlayGamma, + unix_IVROverlay_IVROverlay_001_GetOverlayGamma, + unix_IVROverlay_IVROverlay_001_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_001_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_001_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_001_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_001_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_001_GetOverlayVisibility, + unix_IVROverlay_IVROverlay_001_SetOverlayVisibility, + unix_IVROverlay_IVROverlay_001_ShowOverlay, + unix_IVROverlay_IVROverlay_001_HideOverlay, + unix_IVROverlay_IVROverlay_001_IsOverlayVisible, + unix_IVROverlay_IVROverlay_001_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_001_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_001_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_001_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_001_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_001_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_001_SetOverlayTexture, + unix_IVROverlay_IVROverlay_001_SetOverlayRaw, + unix_IVROverlay_IVROverlay_001_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_001_IsSystemOverlayVisible, + unix_IVROverlay_IVROverlay_001_IsActiveSystemOverlay, + unix_IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, + unix_IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, + unix_IVROverlay_IVROverlay_002_FindOverlay, + unix_IVROverlay_IVROverlay_002_CreateOverlay, + unix_IVROverlay_IVROverlay_002_DestroyOverlay, + unix_IVROverlay_IVROverlay_002_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_002_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_002_SetOverlayFlag, + unix_IVROverlay_IVROverlay_002_GetOverlayFlag, + unix_IVROverlay_IVROverlay_002_SetOverlayColor, + unix_IVROverlay_IVROverlay_002_GetOverlayColor, + unix_IVROverlay_IVROverlay_002_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_002_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_002_SetOverlayGamma, + unix_IVROverlay_IVROverlay_002_GetOverlayGamma, + unix_IVROverlay_IVROverlay_002_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_002_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_002_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_002_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_002_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_002_ShowOverlay, + unix_IVROverlay_IVROverlay_002_HideOverlay, + unix_IVROverlay_IVROverlay_002_IsOverlayVisible, + unix_IVROverlay_IVROverlay_002_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_002_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_002_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_002_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_002_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_002_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_002_SetOverlayTexture, + unix_IVROverlay_IVROverlay_002_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_002_SetOverlayRaw, + unix_IVROverlay_IVROverlay_002_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_002_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_002_IsDashboardVisible, + unix_IVROverlay_IVROverlay_002_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_003_FindOverlay, + unix_IVROverlay_IVROverlay_003_CreateOverlay, + unix_IVROverlay_IVROverlay_003_DestroyOverlay, + unix_IVROverlay_IVROverlay_003_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_003_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_003_GetOverlayKey, + unix_IVROverlay_IVROverlay_003_GetOverlayName, + unix_IVROverlay_IVROverlay_003_GetOverlayImageData, + unix_IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_003_SetOverlayFlag, + unix_IVROverlay_IVROverlay_003_GetOverlayFlag, + unix_IVROverlay_IVROverlay_003_SetOverlayColor, + unix_IVROverlay_IVROverlay_003_GetOverlayColor, + unix_IVROverlay_IVROverlay_003_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_003_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_003_SetOverlayGamma, + unix_IVROverlay_IVROverlay_003_GetOverlayGamma, + unix_IVROverlay_IVROverlay_003_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_003_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_003_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_003_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_003_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_003_ShowOverlay, + unix_IVROverlay_IVROverlay_003_HideOverlay, + unix_IVROverlay_IVROverlay_003_IsOverlayVisible, + unix_IVROverlay_IVROverlay_003_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_003_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_003_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_003_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_003_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_003_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_003_SetOverlayTexture, + unix_IVROverlay_IVROverlay_003_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_003_SetOverlayRaw, + unix_IVROverlay_IVROverlay_003_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_003_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_003_IsDashboardVisible, + unix_IVROverlay_IVROverlay_003_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_003_ShowDashboard, + unix_IVROverlay_IVROverlay_004_FindOverlay, + unix_IVROverlay_IVROverlay_004_CreateOverlay, + unix_IVROverlay_IVROverlay_004_DestroyOverlay, + unix_IVROverlay_IVROverlay_004_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_004_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_004_GetOverlayKey, + unix_IVROverlay_IVROverlay_004_GetOverlayName, + unix_IVROverlay_IVROverlay_004_GetOverlayImageData, + unix_IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_004_SetOverlayFlag, + unix_IVROverlay_IVROverlay_004_GetOverlayFlag, + unix_IVROverlay_IVROverlay_004_SetOverlayColor, + unix_IVROverlay_IVROverlay_004_GetOverlayColor, + unix_IVROverlay_IVROverlay_004_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_004_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_004_SetOverlayGamma, + unix_IVROverlay_IVROverlay_004_GetOverlayGamma, + unix_IVROverlay_IVROverlay_004_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_004_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_004_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_004_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_004_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_004_ShowOverlay, + unix_IVROverlay_IVROverlay_004_HideOverlay, + unix_IVROverlay_IVROverlay_004_IsOverlayVisible, + unix_IVROverlay_IVROverlay_004_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_004_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_004_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_004_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_004_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_004_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_004_SetOverlayTexture, + unix_IVROverlay_IVROverlay_004_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_004_SetOverlayRaw, + unix_IVROverlay_IVROverlay_004_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_004_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_004_IsDashboardVisible, + unix_IVROverlay_IVROverlay_004_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_004_ShowDashboard, + unix_IVROverlay_IVROverlay_005_FindOverlay, + unix_IVROverlay_IVROverlay_005_CreateOverlay, + unix_IVROverlay_IVROverlay_005_DestroyOverlay, + unix_IVROverlay_IVROverlay_005_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_005_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_005_GetOverlayKey, + unix_IVROverlay_IVROverlay_005_GetOverlayName, + unix_IVROverlay_IVROverlay_005_GetOverlayImageData, + unix_IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_005_SetOverlayFlag, + unix_IVROverlay_IVROverlay_005_GetOverlayFlag, + unix_IVROverlay_IVROverlay_005_SetOverlayColor, + unix_IVROverlay_IVROverlay_005_GetOverlayColor, + unix_IVROverlay_IVROverlay_005_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_005_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_005_SetOverlayGamma, + unix_IVROverlay_IVROverlay_005_GetOverlayGamma, + unix_IVROverlay_IVROverlay_005_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_005_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_005_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_005_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_005_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_005_ShowOverlay, + unix_IVROverlay_IVROverlay_005_HideOverlay, + unix_IVROverlay_IVROverlay_005_IsOverlayVisible, + unix_IVROverlay_IVROverlay_005_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_005_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_005_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_005_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_005_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_005_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_005_IsFocusOverlay, + unix_IVROverlay_IVROverlay_005_SetOverlayTexture, + unix_IVROverlay_IVROverlay_005_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_005_SetOverlayRaw, + unix_IVROverlay_IVROverlay_005_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_005_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_005_IsDashboardVisible, + unix_IVROverlay_IVROverlay_005_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_005_ShowDashboard, + unix_IVROverlay_IVROverlay_005_ShowKeyboard, + unix_IVROverlay_IVROverlay_005_GetKeyboardText, + unix_IVROverlay_IVROverlay_005_HideKeyboard, + unix_IVROverlay_IVROverlay_007_FindOverlay, + unix_IVROverlay_IVROverlay_007_CreateOverlay, + unix_IVROverlay_IVROverlay_007_DestroyOverlay, + unix_IVROverlay_IVROverlay_007_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_007_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_007_GetOverlayKey, + unix_IVROverlay_IVROverlay_007_GetOverlayName, + unix_IVROverlay_IVROverlay_007_GetOverlayImageData, + unix_IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_007_SetOverlayFlag, + unix_IVROverlay_IVROverlay_007_GetOverlayFlag, + unix_IVROverlay_IVROverlay_007_SetOverlayColor, + unix_IVROverlay_IVROverlay_007_GetOverlayColor, + unix_IVROverlay_IVROverlay_007_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_007_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_007_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_007_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_007_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_007_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_007_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_007_ShowOverlay, + unix_IVROverlay_IVROverlay_007_HideOverlay, + unix_IVROverlay_IVROverlay_007_IsOverlayVisible, + unix_IVROverlay_IVROverlay_007_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_007_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_007_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_007_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_007_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_007_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_007_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_007_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_007_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_007_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_007_SetOverlayTexture, + unix_IVROverlay_IVROverlay_007_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_007_SetOverlayRaw, + unix_IVROverlay_IVROverlay_007_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_007_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_007_IsDashboardVisible, + unix_IVROverlay_IVROverlay_007_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_007_ShowDashboard, + unix_IVROverlay_IVROverlay_007_ShowKeyboard, + unix_IVROverlay_IVROverlay_007_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_007_GetKeyboardText, + unix_IVROverlay_IVROverlay_007_HideKeyboard, + unix_IVROverlay_IVROverlay_008_FindOverlay, + unix_IVROverlay_IVROverlay_008_CreateOverlay, + unix_IVROverlay_IVROverlay_008_DestroyOverlay, + unix_IVROverlay_IVROverlay_008_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_008_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_008_GetOverlayKey, + unix_IVROverlay_IVROverlay_008_GetOverlayName, + unix_IVROverlay_IVROverlay_008_GetOverlayImageData, + unix_IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_008_SetOverlayFlag, + unix_IVROverlay_IVROverlay_008_GetOverlayFlag, + unix_IVROverlay_IVROverlay_008_SetOverlayColor, + unix_IVROverlay_IVROverlay_008_GetOverlayColor, + unix_IVROverlay_IVROverlay_008_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_008_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_008_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_008_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_008_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_008_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_008_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_008_ShowOverlay, + unix_IVROverlay_IVROverlay_008_HideOverlay, + unix_IVROverlay_IVROverlay_008_IsOverlayVisible, + unix_IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_008_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_008_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_008_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_008_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_008_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_008_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_008_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_008_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_008_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_008_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_008_SetOverlayTexture, + unix_IVROverlay_IVROverlay_008_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_008_SetOverlayRaw, + unix_IVROverlay_IVROverlay_008_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_008_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_008_IsDashboardVisible, + unix_IVROverlay_IVROverlay_008_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_008_ShowDashboard, + unix_IVROverlay_IVROverlay_008_ShowKeyboard, + unix_IVROverlay_IVROverlay_008_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_008_GetKeyboardText, + unix_IVROverlay_IVROverlay_008_HideKeyboard, + unix_IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_010_FindOverlay, + unix_IVROverlay_IVROverlay_010_CreateOverlay, + unix_IVROverlay_IVROverlay_010_DestroyOverlay, + unix_IVROverlay_IVROverlay_010_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_010_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_010_GetOverlayKey, + unix_IVROverlay_IVROverlay_010_GetOverlayName, + unix_IVROverlay_IVROverlay_010_GetOverlayImageData, + unix_IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_010_SetOverlayFlag, + unix_IVROverlay_IVROverlay_010_GetOverlayFlag, + unix_IVROverlay_IVROverlay_010_SetOverlayColor, + unix_IVROverlay_IVROverlay_010_GetOverlayColor, + unix_IVROverlay_IVROverlay_010_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_010_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_010_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_010_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_010_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_010_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_010_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_010_ShowOverlay, + unix_IVROverlay_IVROverlay_010_HideOverlay, + unix_IVROverlay_IVROverlay_010_IsOverlayVisible, + unix_IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_010_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_010_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_010_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_010_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_010_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_010_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_010_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_010_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_010_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_010_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_010_SetOverlayTexture, + unix_IVROverlay_IVROverlay_010_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_010_SetOverlayRaw, + unix_IVROverlay_IVROverlay_010_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_010_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_010_IsDashboardVisible, + unix_IVROverlay_IVROverlay_010_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_010_ShowDashboard, + unix_IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_010_ShowKeyboard, + unix_IVROverlay_IVROverlay_010_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_010_GetKeyboardText, + unix_IVROverlay_IVROverlay_010_HideKeyboard, + unix_IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_011_FindOverlay, + unix_IVROverlay_IVROverlay_011_CreateOverlay, + unix_IVROverlay_IVROverlay_011_DestroyOverlay, + unix_IVROverlay_IVROverlay_011_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_011_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_011_GetOverlayKey, + unix_IVROverlay_IVROverlay_011_GetOverlayName, + unix_IVROverlay_IVROverlay_011_GetOverlayImageData, + unix_IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_011_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_011_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_011_SetOverlayFlag, + unix_IVROverlay_IVROverlay_011_GetOverlayFlag, + unix_IVROverlay_IVROverlay_011_SetOverlayColor, + unix_IVROverlay_IVROverlay_011_GetOverlayColor, + unix_IVROverlay_IVROverlay_011_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_011_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_011_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_011_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_011_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_011_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_011_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_011_ShowOverlay, + unix_IVROverlay_IVROverlay_011_HideOverlay, + unix_IVROverlay_IVROverlay_011_IsOverlayVisible, + unix_IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_011_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_011_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_011_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_011_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_011_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_011_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_011_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_011_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_011_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_011_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_011_SetOverlayTexture, + unix_IVROverlay_IVROverlay_011_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_011_SetOverlayRaw, + unix_IVROverlay_IVROverlay_011_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_011_GetOverlayTexture, + unix_IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_011_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_011_IsDashboardVisible, + unix_IVROverlay_IVROverlay_011_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_011_ShowDashboard, + unix_IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_011_ShowKeyboard, + unix_IVROverlay_IVROverlay_011_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_011_GetKeyboardText, + unix_IVROverlay_IVROverlay_011_HideKeyboard, + unix_IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_012_FindOverlay, + unix_IVROverlay_IVROverlay_012_CreateOverlay, + unix_IVROverlay_IVROverlay_012_DestroyOverlay, + unix_IVROverlay_IVROverlay_012_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_012_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_012_GetOverlayKey, + unix_IVROverlay_IVROverlay_012_GetOverlayName, + unix_IVROverlay_IVROverlay_012_GetOverlayImageData, + unix_IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_012_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_012_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_012_SetOverlayFlag, + unix_IVROverlay_IVROverlay_012_GetOverlayFlag, + unix_IVROverlay_IVROverlay_012_SetOverlayColor, + unix_IVROverlay_IVROverlay_012_GetOverlayColor, + unix_IVROverlay_IVROverlay_012_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_012_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_012_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_012_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_012_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_012_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_012_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_012_ShowOverlay, + unix_IVROverlay_IVROverlay_012_HideOverlay, + unix_IVROverlay_IVROverlay_012_IsOverlayVisible, + unix_IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_012_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_012_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_012_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_012_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_012_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_012_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_012_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_012_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_012_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_012_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_012_SetOverlayTexture, + unix_IVROverlay_IVROverlay_012_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_012_SetOverlayRaw, + unix_IVROverlay_IVROverlay_012_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_012_GetOverlayTexture, + unix_IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_012_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_012_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_012_IsDashboardVisible, + unix_IVROverlay_IVROverlay_012_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_012_ShowDashboard, + unix_IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_012_ShowKeyboard, + unix_IVROverlay_IVROverlay_012_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_012_GetKeyboardText, + unix_IVROverlay_IVROverlay_012_HideKeyboard, + unix_IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_013_FindOverlay, + unix_IVROverlay_IVROverlay_013_CreateOverlay, + unix_IVROverlay_IVROverlay_013_DestroyOverlay, + unix_IVROverlay_IVROverlay_013_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_013_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_013_GetOverlayKey, + unix_IVROverlay_IVROverlay_013_GetOverlayName, + unix_IVROverlay_IVROverlay_013_GetOverlayImageData, + unix_IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_013_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_013_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_013_SetOverlayFlag, + unix_IVROverlay_IVROverlay_013_GetOverlayFlag, + unix_IVROverlay_IVROverlay_013_SetOverlayColor, + unix_IVROverlay_IVROverlay_013_GetOverlayColor, + unix_IVROverlay_IVROverlay_013_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_013_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_013_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_013_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_013_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_013_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_013_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_013_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_013_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_013_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_013_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_013_ShowOverlay, + unix_IVROverlay_IVROverlay_013_HideOverlay, + unix_IVROverlay_IVROverlay_013_IsOverlayVisible, + unix_IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_013_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_013_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_013_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_013_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_013_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_013_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_013_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_013_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_013_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_013_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_013_SetOverlayTexture, + unix_IVROverlay_IVROverlay_013_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_013_SetOverlayRaw, + unix_IVROverlay_IVROverlay_013_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_013_GetOverlayTexture, + unix_IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_013_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_013_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_013_IsDashboardVisible, + unix_IVROverlay_IVROverlay_013_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_013_ShowDashboard, + unix_IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_013_ShowKeyboard, + unix_IVROverlay_IVROverlay_013_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_013_GetKeyboardText, + unix_IVROverlay_IVROverlay_013_HideKeyboard, + unix_IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_013_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_014_FindOverlay, + unix_IVROverlay_IVROverlay_014_CreateOverlay, + unix_IVROverlay_IVROverlay_014_DestroyOverlay, + unix_IVROverlay_IVROverlay_014_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_014_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_014_GetOverlayKey, + unix_IVROverlay_IVROverlay_014_GetOverlayName, + unix_IVROverlay_IVROverlay_014_GetOverlayImageData, + unix_IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_014_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_014_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_014_SetOverlayFlag, + unix_IVROverlay_IVROverlay_014_GetOverlayFlag, + unix_IVROverlay_IVROverlay_014_SetOverlayColor, + unix_IVROverlay_IVROverlay_014_GetOverlayColor, + unix_IVROverlay_IVROverlay_014_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_014_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_014_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_014_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_014_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_014_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_014_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_014_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_014_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_014_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_014_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_014_ShowOverlay, + unix_IVROverlay_IVROverlay_014_HideOverlay, + unix_IVROverlay_IVROverlay_014_IsOverlayVisible, + unix_IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_014_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_014_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_014_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_014_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_014_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_014_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_014_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_014_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_014_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_014_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_014_SetOverlayTexture, + unix_IVROverlay_IVROverlay_014_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_014_SetOverlayRaw, + unix_IVROverlay_IVROverlay_014_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_014_GetOverlayTexture, + unix_IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_014_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_014_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_014_IsDashboardVisible, + unix_IVROverlay_IVROverlay_014_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_014_ShowDashboard, + unix_IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_014_ShowKeyboard, + unix_IVROverlay_IVROverlay_014_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_014_GetKeyboardText, + unix_IVROverlay_IVROverlay_014_HideKeyboard, + unix_IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_014_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_014_GetOverlayFlags, + unix_IVROverlay_IVROverlay_014_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_016_FindOverlay, + unix_IVROverlay_IVROverlay_016_CreateOverlay, + unix_IVROverlay_IVROverlay_016_DestroyOverlay, + unix_IVROverlay_IVROverlay_016_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_016_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_016_GetOverlayKey, + unix_IVROverlay_IVROverlay_016_GetOverlayName, + unix_IVROverlay_IVROverlay_016_SetOverlayName, + unix_IVROverlay_IVROverlay_016_GetOverlayImageData, + unix_IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_016_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_016_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_016_SetOverlayFlag, + unix_IVROverlay_IVROverlay_016_GetOverlayFlag, + unix_IVROverlay_IVROverlay_016_SetOverlayColor, + unix_IVROverlay_IVROverlay_016_GetOverlayColor, + unix_IVROverlay_IVROverlay_016_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_016_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_016_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_016_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_016_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_016_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_016_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_016_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_016_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_016_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_016_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_016_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_016_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_016_ShowOverlay, + unix_IVROverlay_IVROverlay_016_HideOverlay, + unix_IVROverlay_IVROverlay_016_IsOverlayVisible, + unix_IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_016_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_016_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_016_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_016_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_016_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_016_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_016_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_016_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_016_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_016_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_016_SetOverlayTexture, + unix_IVROverlay_IVROverlay_016_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_016_SetOverlayRaw, + unix_IVROverlay_IVROverlay_016_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_016_GetOverlayTexture, + unix_IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_016_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_016_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_016_IsDashboardVisible, + unix_IVROverlay_IVROverlay_016_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_016_ShowDashboard, + unix_IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_016_ShowKeyboard, + unix_IVROverlay_IVROverlay_016_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_016_GetKeyboardText, + unix_IVROverlay_IVROverlay_016_HideKeyboard, + unix_IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_016_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_016_GetOverlayFlags, + unix_IVROverlay_IVROverlay_016_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_016_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_017_FindOverlay, + unix_IVROverlay_IVROverlay_017_CreateOverlay, + unix_IVROverlay_IVROverlay_017_DestroyOverlay, + unix_IVROverlay_IVROverlay_017_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_017_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_017_GetOverlayKey, + unix_IVROverlay_IVROverlay_017_GetOverlayName, + unix_IVROverlay_IVROverlay_017_SetOverlayName, + unix_IVROverlay_IVROverlay_017_GetOverlayImageData, + unix_IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_017_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_017_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_017_SetOverlayFlag, + unix_IVROverlay_IVROverlay_017_GetOverlayFlag, + unix_IVROverlay_IVROverlay_017_SetOverlayColor, + unix_IVROverlay_IVROverlay_017_GetOverlayColor, + unix_IVROverlay_IVROverlay_017_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_017_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_017_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_017_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_017_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_017_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_017_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_017_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_017_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_017_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_017_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_017_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_017_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_017_ShowOverlay, + unix_IVROverlay_IVROverlay_017_HideOverlay, + unix_IVROverlay_IVROverlay_017_IsOverlayVisible, + unix_IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_017_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_017_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_017_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_017_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_017_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_017_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, + unix_IVROverlay_IVROverlay_017_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_017_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_017_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_017_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_017_SetOverlayTexture, + unix_IVROverlay_IVROverlay_017_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_017_SetOverlayRaw, + unix_IVROverlay_IVROverlay_017_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_017_GetOverlayTexture, + unix_IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_017_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_017_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_017_IsDashboardVisible, + unix_IVROverlay_IVROverlay_017_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_017_ShowDashboard, + unix_IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_017_ShowKeyboard, + unix_IVROverlay_IVROverlay_017_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_017_GetKeyboardText, + unix_IVROverlay_IVROverlay_017_HideKeyboard, + unix_IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_017_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_017_GetOverlayFlags, + unix_IVROverlay_IVROverlay_017_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_017_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_018_FindOverlay, + unix_IVROverlay_IVROverlay_018_CreateOverlay, + unix_IVROverlay_IVROverlay_018_DestroyOverlay, + unix_IVROverlay_IVROverlay_018_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_018_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_018_GetOverlayKey, + unix_IVROverlay_IVROverlay_018_GetOverlayName, + unix_IVROverlay_IVROverlay_018_SetOverlayName, + unix_IVROverlay_IVROverlay_018_GetOverlayImageData, + unix_IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_018_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_018_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_018_SetOverlayFlag, + unix_IVROverlay_IVROverlay_018_GetOverlayFlag, + unix_IVROverlay_IVROverlay_018_SetOverlayColor, + unix_IVROverlay_IVROverlay_018_GetOverlayColor, + unix_IVROverlay_IVROverlay_018_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_018_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_018_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_018_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_018_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_018_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_018_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_018_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_018_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_018_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_018_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_018_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_018_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_018_ShowOverlay, + unix_IVROverlay_IVROverlay_018_HideOverlay, + unix_IVROverlay_IVROverlay_018_IsOverlayVisible, + unix_IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_018_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_018_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_018_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_018_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_018_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_018_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_018_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_018_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_018_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_018_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_018_SetOverlayTexture, + unix_IVROverlay_IVROverlay_018_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_018_SetOverlayRaw, + unix_IVROverlay_IVROverlay_018_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_018_GetOverlayTexture, + unix_IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_018_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_018_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_018_IsDashboardVisible, + unix_IVROverlay_IVROverlay_018_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_018_ShowDashboard, + unix_IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_018_ShowKeyboard, + unix_IVROverlay_IVROverlay_018_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_018_GetKeyboardText, + unix_IVROverlay_IVROverlay_018_HideKeyboard, + unix_IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_018_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_018_GetOverlayFlags, + unix_IVROverlay_IVROverlay_018_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_018_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_019_FindOverlay, + unix_IVROverlay_IVROverlay_019_CreateOverlay, + unix_IVROverlay_IVROverlay_019_DestroyOverlay, + unix_IVROverlay_IVROverlay_019_SetHighQualityOverlay, + unix_IVROverlay_IVROverlay_019_GetHighQualityOverlay, + unix_IVROverlay_IVROverlay_019_GetOverlayKey, + unix_IVROverlay_IVROverlay_019_GetOverlayName, + unix_IVROverlay_IVROverlay_019_SetOverlayName, + unix_IVROverlay_IVROverlay_019_GetOverlayImageData, + unix_IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_019_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_019_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_019_SetOverlayFlag, + unix_IVROverlay_IVROverlay_019_GetOverlayFlag, + unix_IVROverlay_IVROverlay_019_SetOverlayColor, + unix_IVROverlay_IVROverlay_019_GetOverlayColor, + unix_IVROverlay_IVROverlay_019_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_019_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_019_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_019_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_019_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_019_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_019_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_019_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_019_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_019_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_019_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_019_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_019_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_019_ShowOverlay, + unix_IVROverlay_IVROverlay_019_HideOverlay, + unix_IVROverlay_IVROverlay_019_IsOverlayVisible, + unix_IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_019_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_019_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_019_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_019_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_019_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_019_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_019_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_019_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_019_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_019_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_019_SetOverlayTexture, + unix_IVROverlay_IVROverlay_019_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_019_SetOverlayRaw, + unix_IVROverlay_IVROverlay_019_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_019_GetOverlayTexture, + unix_IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_019_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_019_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_019_IsDashboardVisible, + unix_IVROverlay_IVROverlay_019_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_019_ShowDashboard, + unix_IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_019_ShowKeyboard, + unix_IVROverlay_IVROverlay_019_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_019_GetKeyboardText, + unix_IVROverlay_IVROverlay_019_HideKeyboard, + unix_IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_019_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_019_GetOverlayFlags, + unix_IVROverlay_IVROverlay_019_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_019_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_020_FindOverlay, + unix_IVROverlay_IVROverlay_020_CreateOverlay, + unix_IVROverlay_IVROverlay_020_DestroyOverlay, + unix_IVROverlay_IVROverlay_020_GetOverlayKey, + unix_IVROverlay_IVROverlay_020_GetOverlayName, + unix_IVROverlay_IVROverlay_020_SetOverlayName, + unix_IVROverlay_IVROverlay_020_GetOverlayImageData, + unix_IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_020_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_020_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_020_SetOverlayFlag, + unix_IVROverlay_IVROverlay_020_GetOverlayFlag, + unix_IVROverlay_IVROverlay_020_SetOverlayColor, + unix_IVROverlay_IVROverlay_020_GetOverlayColor, + unix_IVROverlay_IVROverlay_020_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_020_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_020_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_020_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_020_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_020_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_020_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_020_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, + unix_IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_020_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_020_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_020_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_020_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_020_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_020_ShowOverlay, + unix_IVROverlay_IVROverlay_020_HideOverlay, + unix_IVROverlay_IVROverlay_020_IsOverlayVisible, + unix_IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_020_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_020_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_020_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_020_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_020_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_020_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_020_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_020_GetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_020_SetGamepadFocusOverlay, + unix_IVROverlay_IVROverlay_020_SetOverlayNeighbor, + unix_IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, + unix_IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_020_SetOverlayTexture, + unix_IVROverlay_IVROverlay_020_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_020_SetOverlayRaw, + unix_IVROverlay_IVROverlay_020_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_020_GetOverlayTexture, + unix_IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_020_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_020_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_020_IsDashboardVisible, + unix_IVROverlay_IVROverlay_020_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_020_ShowDashboard, + unix_IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_020_ShowKeyboard, + unix_IVROverlay_IVROverlay_020_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_020_GetKeyboardText, + unix_IVROverlay_IVROverlay_020_HideKeyboard, + unix_IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_020_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_020_GetOverlayFlags, + unix_IVROverlay_IVROverlay_020_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_020_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_021_FindOverlay, + unix_IVROverlay_IVROverlay_021_CreateOverlay, + unix_IVROverlay_IVROverlay_021_DestroyOverlay, + unix_IVROverlay_IVROverlay_021_GetOverlayKey, + unix_IVROverlay_IVROverlay_021_GetOverlayName, + unix_IVROverlay_IVROverlay_021_SetOverlayName, + unix_IVROverlay_IVROverlay_021_GetOverlayImageData, + unix_IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_021_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_021_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_021_SetOverlayFlag, + unix_IVROverlay_IVROverlay_021_GetOverlayFlag, + unix_IVROverlay_IVROverlay_021_SetOverlayColor, + unix_IVROverlay_IVROverlay_021_GetOverlayColor, + unix_IVROverlay_IVROverlay_021_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_021_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_021_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_021_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_021_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_021_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_021_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_021_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_021_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_021_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_021_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_021_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_021_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_021_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_021_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_021_ShowOverlay, + unix_IVROverlay_IVROverlay_021_HideOverlay, + unix_IVROverlay_IVROverlay_021_IsOverlayVisible, + unix_IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_021_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_021_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_021_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_021_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_021_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_021_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_021_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_021_SetOverlayTexture, + unix_IVROverlay_IVROverlay_021_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_021_SetOverlayRaw, + unix_IVROverlay_IVROverlay_021_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_021_GetOverlayTexture, + unix_IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_021_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_021_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_021_IsDashboardVisible, + unix_IVROverlay_IVROverlay_021_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_021_ShowDashboard, + unix_IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_021_ShowKeyboard, + unix_IVROverlay_IVROverlay_021_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_021_GetKeyboardText, + unix_IVROverlay_IVROverlay_021_HideKeyboard, + unix_IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_021_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_021_GetOverlayFlags, + unix_IVROverlay_IVROverlay_021_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_021_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_022_FindOverlay, + unix_IVROverlay_IVROverlay_022_CreateOverlay, + unix_IVROverlay_IVROverlay_022_DestroyOverlay, + unix_IVROverlay_IVROverlay_022_GetOverlayKey, + unix_IVROverlay_IVROverlay_022_GetOverlayName, + unix_IVROverlay_IVROverlay_022_SetOverlayName, + unix_IVROverlay_IVROverlay_022_GetOverlayImageData, + unix_IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_022_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_022_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_022_SetOverlayFlag, + unix_IVROverlay_IVROverlay_022_GetOverlayFlag, + unix_IVROverlay_IVROverlay_022_GetOverlayFlags, + unix_IVROverlay_IVROverlay_022_SetOverlayColor, + unix_IVROverlay_IVROverlay_022_GetOverlayColor, + unix_IVROverlay_IVROverlay_022_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_022_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_022_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_022_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_022_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_022_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_022_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_022_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_022_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_022_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_022_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_022_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_022_GetOverlayRenderModel, + unix_IVROverlay_IVROverlay_022_SetOverlayRenderModel, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_022_SetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_022_GetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_022_ShowOverlay, + unix_IVROverlay_IVROverlay_022_HideOverlay, + unix_IVROverlay_IVROverlay_022_IsOverlayVisible, + unix_IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_022_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_022_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_022_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_022_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_022_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_022_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_022_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, + unix_IVROverlay_IVROverlay_022_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, + unix_IVROverlay_IVROverlay_022_SetOverlayCursor, + unix_IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_022_SetOverlayTexture, + unix_IVROverlay_IVROverlay_022_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_022_SetOverlayRaw, + unix_IVROverlay_IVROverlay_022_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_022_GetOverlayTexture, + unix_IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_022_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_022_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_022_IsDashboardVisible, + unix_IVROverlay_IVROverlay_022_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_022_ShowDashboard, + unix_IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_022_ShowKeyboard, + unix_IVROverlay_IVROverlay_022_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_022_GetKeyboardText, + unix_IVROverlay_IVROverlay_022_HideKeyboard, + unix_IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_022_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_022_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_024_FindOverlay, + unix_IVROverlay_IVROverlay_024_CreateOverlay, + unix_IVROverlay_IVROverlay_024_DestroyOverlay, + unix_IVROverlay_IVROverlay_024_GetOverlayKey, + unix_IVROverlay_IVROverlay_024_GetOverlayName, + unix_IVROverlay_IVROverlay_024_SetOverlayName, + unix_IVROverlay_IVROverlay_024_GetOverlayImageData, + unix_IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_024_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_024_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_024_SetOverlayFlag, + unix_IVROverlay_IVROverlay_024_GetOverlayFlag, + unix_IVROverlay_IVROverlay_024_GetOverlayFlags, + unix_IVROverlay_IVROverlay_024_SetOverlayColor, + unix_IVROverlay_IVROverlay_024_GetOverlayColor, + unix_IVROverlay_IVROverlay_024_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_024_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_024_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_024_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_024_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_024_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_024_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_024_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_024_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_024_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_024_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_024_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_024_SetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_024_GetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_024_ShowOverlay, + unix_IVROverlay_IVROverlay_024_HideOverlay, + unix_IVROverlay_IVROverlay_024_IsOverlayVisible, + unix_IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_024_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_024_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_024_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_024_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_024_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_024_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_024_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_024_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, + unix_IVROverlay_IVROverlay_024_SetOverlayCursor, + unix_IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_024_SetOverlayTexture, + unix_IVROverlay_IVROverlay_024_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_024_SetOverlayRaw, + unix_IVROverlay_IVROverlay_024_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_024_GetOverlayTexture, + unix_IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_024_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_024_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_024_IsDashboardVisible, + unix_IVROverlay_IVROverlay_024_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_024_ShowDashboard, + unix_IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_024_ShowKeyboard, + unix_IVROverlay_IVROverlay_024_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_024_GetKeyboardText, + unix_IVROverlay_IVROverlay_024_HideKeyboard, + unix_IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_024_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_024_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_025_FindOverlay, + unix_IVROverlay_IVROverlay_025_CreateOverlay, + unix_IVROverlay_IVROverlay_025_DestroyOverlay, + unix_IVROverlay_IVROverlay_025_GetOverlayKey, + unix_IVROverlay_IVROverlay_025_GetOverlayName, + unix_IVROverlay_IVROverlay_025_SetOverlayName, + unix_IVROverlay_IVROverlay_025_GetOverlayImageData, + unix_IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_025_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_025_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_025_SetOverlayFlag, + unix_IVROverlay_IVROverlay_025_GetOverlayFlag, + unix_IVROverlay_IVROverlay_025_GetOverlayFlags, + unix_IVROverlay_IVROverlay_025_SetOverlayColor, + unix_IVROverlay_IVROverlay_025_GetOverlayColor, + unix_IVROverlay_IVROverlay_025_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_025_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_025_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_025_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_025_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_025_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_025_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_025_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_025_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_025_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_025_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_025_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_025_GetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_025_SetOverlayTransformProjection, + unix_IVROverlay_IVROverlay_025_ShowOverlay, + unix_IVROverlay_IVROverlay_025_HideOverlay, + unix_IVROverlay_IVROverlay_025_IsOverlayVisible, + unix_IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_025_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_025_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_025_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_025_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_025_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_025_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_025_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_025_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, + unix_IVROverlay_IVROverlay_025_SetOverlayCursor, + unix_IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_025_SetOverlayTexture, + unix_IVROverlay_IVROverlay_025_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_025_SetOverlayRaw, + unix_IVROverlay_IVROverlay_025_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_025_GetOverlayTexture, + unix_IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_025_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_025_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_025_IsDashboardVisible, + unix_IVROverlay_IVROverlay_025_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_025_ShowDashboard, + unix_IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_025_ShowKeyboard, + unix_IVROverlay_IVROverlay_025_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_025_GetKeyboardText, + unix_IVROverlay_IVROverlay_025_HideKeyboard, + unix_IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_025_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_025_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_026_FindOverlay, + unix_IVROverlay_IVROverlay_026_CreateOverlay, + unix_IVROverlay_IVROverlay_026_DestroyOverlay, + unix_IVROverlay_IVROverlay_026_GetOverlayKey, + unix_IVROverlay_IVROverlay_026_GetOverlayName, + unix_IVROverlay_IVROverlay_026_SetOverlayName, + unix_IVROverlay_IVROverlay_026_GetOverlayImageData, + unix_IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_026_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_026_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_026_SetOverlayFlag, + unix_IVROverlay_IVROverlay_026_GetOverlayFlag, + unix_IVROverlay_IVROverlay_026_GetOverlayFlags, + unix_IVROverlay_IVROverlay_026_SetOverlayColor, + unix_IVROverlay_IVROverlay_026_GetOverlayColor, + unix_IVROverlay_IVROverlay_026_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_026_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_026_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_026_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_026_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_026_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_026_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_026_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_026_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_026_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, + unix_IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, + unix_IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_026_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_026_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_026_GetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_026_SetOverlayTransformProjection, + unix_IVROverlay_IVROverlay_026_ShowOverlay, + unix_IVROverlay_IVROverlay_026_HideOverlay, + unix_IVROverlay_IVROverlay_026_IsOverlayVisible, + unix_IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_026_WaitFrameSync, + unix_IVROverlay_IVROverlay_026_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_026_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_026_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_026_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_026_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_026_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_026_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_026_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, + unix_IVROverlay_IVROverlay_026_SetOverlayCursor, + unix_IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_026_SetOverlayTexture, + unix_IVROverlay_IVROverlay_026_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_026_SetOverlayRaw, + unix_IVROverlay_IVROverlay_026_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_026_GetOverlayTexture, + unix_IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_026_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_026_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_026_IsDashboardVisible, + unix_IVROverlay_IVROverlay_026_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_026_ShowDashboard, + unix_IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_026_ShowKeyboard, + unix_IVROverlay_IVROverlay_026_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_026_GetKeyboardText, + unix_IVROverlay_IVROverlay_026_HideKeyboard, + unix_IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_026_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_026_CloseMessageOverlay, + unix_IVROverlay_IVROverlay_027_FindOverlay, + unix_IVROverlay_IVROverlay_027_CreateOverlay, + unix_IVROverlay_IVROverlay_027_DestroyOverlay, + unix_IVROverlay_IVROverlay_027_GetOverlayKey, + unix_IVROverlay_IVROverlay_027_GetOverlayName, + unix_IVROverlay_IVROverlay_027_SetOverlayName, + unix_IVROverlay_IVROverlay_027_GetOverlayImageData, + unix_IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, + unix_IVROverlay_IVROverlay_027_SetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_027_GetOverlayRenderingPid, + unix_IVROverlay_IVROverlay_027_SetOverlayFlag, + unix_IVROverlay_IVROverlay_027_GetOverlayFlag, + unix_IVROverlay_IVROverlay_027_GetOverlayFlags, + unix_IVROverlay_IVROverlay_027_SetOverlayColor, + unix_IVROverlay_IVROverlay_027_GetOverlayColor, + unix_IVROverlay_IVROverlay_027_SetOverlayAlpha, + unix_IVROverlay_IVROverlay_027_GetOverlayAlpha, + unix_IVROverlay_IVROverlay_027_SetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_027_GetOverlayTexelAspect, + unix_IVROverlay_IVROverlay_027_SetOverlaySortOrder, + unix_IVROverlay_IVROverlay_027_GetOverlaySortOrder, + unix_IVROverlay_IVROverlay_027_SetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_027_GetOverlayWidthInMeters, + unix_IVROverlay_IVROverlay_027_SetOverlayCurvature, + unix_IVROverlay_IVROverlay_027_GetOverlayCurvature, + unix_IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, + unix_IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, + unix_IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, + unix_IVROverlay_IVROverlay_027_SetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_027_GetOverlayTextureBounds, + unix_IVROverlay_IVROverlay_027_GetOverlayTransformType, + unix_IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, + unix_IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, + unix_IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, + unix_IVROverlay_IVROverlay_027_SetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_027_GetOverlayTransformCursor, + unix_IVROverlay_IVROverlay_027_SetOverlayTransformProjection, + unix_IVROverlay_IVROverlay_027_ShowOverlay, + unix_IVROverlay_IVROverlay_027_HideOverlay, + unix_IVROverlay_IVROverlay_027_IsOverlayVisible, + unix_IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, + unix_IVROverlay_IVROverlay_027_WaitFrameSync, + unix_IVROverlay_IVROverlay_027_PollNextOverlayEvent, + unix_IVROverlay_IVROverlay_027_GetOverlayInputMethod, + unix_IVROverlay_IVROverlay_027_SetOverlayInputMethod, + unix_IVROverlay_IVROverlay_027_GetOverlayMouseScale, + unix_IVROverlay_IVROverlay_027_SetOverlayMouseScale, + unix_IVROverlay_IVROverlay_027_ComputeOverlayIntersection, + unix_IVROverlay_IVROverlay_027_IsHoverTargetOverlay, + unix_IVROverlay_IVROverlay_027_SetOverlayIntersectionMask, + unix_IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, + unix_IVROverlay_IVROverlay_027_SetOverlayCursor, + unix_IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, + unix_IVROverlay_IVROverlay_027_SetOverlayTexture, + unix_IVROverlay_IVROverlay_027_ClearOverlayTexture, + unix_IVROverlay_IVROverlay_027_SetOverlayRaw, + unix_IVROverlay_IVROverlay_027_SetOverlayFromFile, + unix_IVROverlay_IVROverlay_027_GetOverlayTexture, + unix_IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, + unix_IVROverlay_IVROverlay_027_GetOverlayTextureSize, + unix_IVROverlay_IVROverlay_027_CreateDashboardOverlay, + unix_IVROverlay_IVROverlay_027_IsDashboardVisible, + unix_IVROverlay_IVROverlay_027_IsActiveDashboardOverlay, + unix_IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, + unix_IVROverlay_IVROverlay_027_ShowDashboard, + unix_IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, + unix_IVROverlay_IVROverlay_027_ShowKeyboard, + unix_IVROverlay_IVROverlay_027_ShowKeyboardForOverlay, + unix_IVROverlay_IVROverlay_027_GetKeyboardText, + unix_IVROverlay_IVROverlay_027_HideKeyboard, + unix_IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, + unix_IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, + unix_IVROverlay_IVROverlay_027_ShowMessageOverlay, + unix_IVROverlay_IVROverlay_027_CloseMessageOverlay, + unix_IVRRenderModels_IVRRenderModels_001_LoadRenderModel, + unix_IVRRenderModels_IVRRenderModels_001_FreeRenderModel, + unix_IVRRenderModels_IVRRenderModels_001_GetRenderModelName, + unix_IVRRenderModels_IVRRenderModels_001_GetRenderModelCount, + unix_IVRRenderModels_IVRRenderModels_002_LoadRenderModel, + unix_IVRRenderModels_IVRRenderModels_002_FreeRenderModel, + unix_IVRRenderModels_IVRRenderModels_002_LoadTexture, + unix_IVRRenderModels_IVRRenderModels_002_FreeTexture, + unix_IVRRenderModels_IVRRenderModels_002_GetRenderModelName, + unix_IVRRenderModels_IVRRenderModels_002_GetRenderModelCount, + unix_IVRRenderModels_IVRRenderModels_002_GetComponentCount, + unix_IVRRenderModels_IVRRenderModels_002_GetComponentName, + unix_IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, + unix_IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, + unix_IVRRenderModels_IVRRenderModels_002_GetComponentState, + unix_IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, + unix_IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, + unix_IVRRenderModels_IVRRenderModels_004_FreeRenderModel, + unix_IVRRenderModels_IVRRenderModels_004_LoadTexture_Async, + unix_IVRRenderModels_IVRRenderModels_004_FreeTexture, + unix_IVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, + unix_IVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, + unix_IVRRenderModels_IVRRenderModels_004_GetRenderModelName, + unix_IVRRenderModels_IVRRenderModels_004_GetRenderModelCount, + unix_IVRRenderModels_IVRRenderModels_004_GetComponentCount, + unix_IVRRenderModels_IVRRenderModels_004_GetComponentName, + unix_IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, + unix_IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, + unix_IVRRenderModels_IVRRenderModels_004_GetComponentState, + unix_IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, + unix_IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, + unix_IVRRenderModels_IVRRenderModels_005_FreeRenderModel, + unix_IVRRenderModels_IVRRenderModels_005_LoadTexture_Async, + unix_IVRRenderModels_IVRRenderModels_005_FreeTexture, + unix_IVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, + unix_IVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, + unix_IVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, + unix_IVRRenderModels_IVRRenderModels_005_GetRenderModelName, + unix_IVRRenderModels_IVRRenderModels_005_GetRenderModelCount, + unix_IVRRenderModels_IVRRenderModels_005_GetComponentCount, + unix_IVRRenderModels_IVRRenderModels_005_GetComponentName, + unix_IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, + unix_IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, + unix_IVRRenderModels_IVRRenderModels_005_GetComponentState, + unix_IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, + unix_IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, + unix_IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, + unix_IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, + unix_IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, + unix_IVRRenderModels_IVRRenderModels_006_FreeRenderModel, + unix_IVRRenderModels_IVRRenderModels_006_LoadTexture_Async, + unix_IVRRenderModels_IVRRenderModels_006_FreeTexture, + unix_IVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, + unix_IVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, + unix_IVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, + unix_IVRRenderModels_IVRRenderModels_006_GetRenderModelName, + unix_IVRRenderModels_IVRRenderModels_006_GetRenderModelCount, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentCount, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentName, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, + unix_IVRRenderModels_IVRRenderModels_006_GetComponentState, + unix_IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, + unix_IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, + unix_IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, + unix_IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, + unix_IVRResources_IVRResources_001_LoadSharedResource, + unix_IVRResources_IVRResources_001_GetResourceFullPath, + unix_IVRScreenshots_IVRScreenshots_001_RequestScreenshot, + unix_IVRScreenshots_IVRScreenshots_001_HookScreenshot, + unix_IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, + unix_IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, + unix_IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, + unix_IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, + unix_IVRScreenshots_IVRScreenshots_001_SubmitScreenshot, + unix_IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, + unix_IVRSettings_IVRSettings_001_Sync, + unix_IVRSettings_IVRSettings_001_GetBool, + unix_IVRSettings_IVRSettings_001_SetBool, + unix_IVRSettings_IVRSettings_001_GetInt32, + unix_IVRSettings_IVRSettings_001_SetInt32, + unix_IVRSettings_IVRSettings_001_GetFloat, + unix_IVRSettings_IVRSettings_001_SetFloat, + unix_IVRSettings_IVRSettings_001_GetString, + unix_IVRSettings_IVRSettings_001_SetString, + unix_IVRSettings_IVRSettings_001_RemoveSection, + unix_IVRSettings_IVRSettings_001_RemoveKeyInSection, + unix_IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, + unix_IVRSettings_IVRSettings_002_Sync, + unix_IVRSettings_IVRSettings_002_SetBool, + unix_IVRSettings_IVRSettings_002_SetInt32, + unix_IVRSettings_IVRSettings_002_SetFloat, + unix_IVRSettings_IVRSettings_002_SetString, + unix_IVRSettings_IVRSettings_002_GetBool, + unix_IVRSettings_IVRSettings_002_GetInt32, + unix_IVRSettings_IVRSettings_002_GetFloat, + unix_IVRSettings_IVRSettings_002_GetString, + unix_IVRSettings_IVRSettings_002_RemoveSection, + unix_IVRSettings_IVRSettings_002_RemoveKeyInSection, + unix_IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, + unix_IVRSettings_IVRSettings_003_SetBool, + unix_IVRSettings_IVRSettings_003_SetInt32, + unix_IVRSettings_IVRSettings_003_SetFloat, + unix_IVRSettings_IVRSettings_003_SetString, + unix_IVRSettings_IVRSettings_003_GetBool, + unix_IVRSettings_IVRSettings_003_GetInt32, + unix_IVRSettings_IVRSettings_003_GetFloat, + unix_IVRSettings_IVRSettings_003_GetString, + unix_IVRSettings_IVRSettings_003_RemoveSection, + unix_IVRSettings_IVRSettings_003_RemoveKeyInSection, + unix_IVRSystem_IVRSystem_003_GetWindowBounds, + unix_IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_003_GetEyeOutputViewport, + unix_IVRSystem_IVRSystem_003_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_003_GetProjectionRaw, + unix_IVRSystem_IVRSystem_003_ComputeDistortion, + unix_IVRSystem_IVRSystem_003_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_003_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_003_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_003_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_003_AttachToWindow, + unix_IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_003_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_003_LoadRenderModel, + unix_IVRSystem_IVRSystem_003_FreeRenderModel, + unix_IVRSystem_IVRSystem_003_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_003_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_003_PollNextEvent, + unix_IVRSystem_IVRSystem_003_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_003_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_003_GetControllerState, + unix_IVRSystem_IVRSystem_003_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_003_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, + unix_IVRSystem_IVRSystem_003_CaptureInputFocus, + unix_IVRSystem_IVRSystem_003_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_004_GetWindowBounds, + unix_IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_004_GetEyeOutputViewport, + unix_IVRSystem_IVRSystem_004_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_004_GetProjectionRaw, + unix_IVRSystem_IVRSystem_004_ComputeDistortion, + unix_IVRSystem_IVRSystem_004_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_004_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_004_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_004_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_004_AttachToWindow, + unix_IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_004_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_004_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_004_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_004_PollNextEvent, + unix_IVRSystem_IVRSystem_004_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_004_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_004_GetControllerState, + unix_IVRSystem_IVRSystem_004_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_004_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_004_CaptureInputFocus, + unix_IVRSystem_IVRSystem_004_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_004_DriverDebugRequest, + unix_IVRSystem_IVRSystem_005_GetWindowBounds, + unix_IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_005_GetEyeOutputViewport, + unix_IVRSystem_IVRSystem_005_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_005_GetProjectionRaw, + unix_IVRSystem_IVRSystem_005_ComputeDistortion, + unix_IVRSystem_IVRSystem_005_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_005_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_005_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_005_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_005_AttachToWindow, + unix_IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_005_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_005_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_005_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_005_PollNextEvent, + unix_IVRSystem_IVRSystem_005_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_005_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_005_GetControllerState, + unix_IVRSystem_IVRSystem_005_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_005_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_005_CaptureInputFocus, + unix_IVRSystem_IVRSystem_005_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_005_DriverDebugRequest, + unix_IVRSystem_IVRSystem_006_GetWindowBounds, + unix_IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_006_GetEyeOutputViewport, + unix_IVRSystem_IVRSystem_006_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_006_GetProjectionRaw, + unix_IVRSystem_IVRSystem_006_ComputeDistortion, + unix_IVRSystem_IVRSystem_006_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_006_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_006_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_006_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_006_AttachToWindow, + unix_IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_006_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_006_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_006_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_006_PollNextEvent, + unix_IVRSystem_IVRSystem_006_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_006_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_006_GetControllerState, + unix_IVRSystem_IVRSystem_006_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_006_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_006_CaptureInputFocus, + unix_IVRSystem_IVRSystem_006_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_006_DriverDebugRequest, + unix_IVRSystem_IVRSystem_006_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_006_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_006_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_009_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_009_GetProjectionRaw, + unix_IVRSystem_IVRSystem_009_ComputeDistortion, + unix_IVRSystem_IVRSystem_009_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_009_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_009_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_009_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_009_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_009_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_009_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_009_ApplyTransform, + unix_IVRSystem_IVRSystem_009_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_009_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_009_PollNextEvent, + unix_IVRSystem_IVRSystem_009_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_009_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_009_GetControllerState, + unix_IVRSystem_IVRSystem_009_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_009_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_009_CaptureInputFocus, + unix_IVRSystem_IVRSystem_009_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_009_DriverDebugRequest, + unix_IVRSystem_IVRSystem_009_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_010_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_010_GetProjectionRaw, + unix_IVRSystem_IVRSystem_010_ComputeDistortion, + unix_IVRSystem_IVRSystem_010_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_010_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_010_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_010_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_010_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_010_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_010_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_010_ApplyTransform, + unix_IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_010_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_010_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_010_PollNextEvent, + unix_IVRSystem_IVRSystem_010_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_010_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_010_GetControllerState, + unix_IVRSystem_IVRSystem_010_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_010_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_010_CaptureInputFocus, + unix_IVRSystem_IVRSystem_010_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_010_DriverDebugRequest, + unix_IVRSystem_IVRSystem_010_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_010_PerformanceTestEnableCapture, + unix_IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, + unix_IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_011_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_011_GetProjectionRaw, + unix_IVRSystem_IVRSystem_011_ComputeDistortion, + unix_IVRSystem_IVRSystem_011_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_011_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_011_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_011_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_011_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_011_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_011_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_011_ApplyTransform, + unix_IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_011_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_011_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_011_PollNextEvent, + unix_IVRSystem_IVRSystem_011_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_011_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_011_GetControllerState, + unix_IVRSystem_IVRSystem_011_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_011_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_011_CaptureInputFocus, + unix_IVRSystem_IVRSystem_011_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_011_DriverDebugRequest, + unix_IVRSystem_IVRSystem_011_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_011_PerformanceTestEnableCapture, + unix_IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, + unix_IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_012_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_012_GetProjectionRaw, + unix_IVRSystem_IVRSystem_012_ComputeDistortion, + unix_IVRSystem_IVRSystem_012_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_012_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_012_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_012_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_012_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_012_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_012_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_012_ApplyTransform, + unix_IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_012_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_012_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_012_PollNextEvent, + unix_IVRSystem_IVRSystem_012_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_012_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_012_GetControllerState, + unix_IVRSystem_IVRSystem_012_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_012_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_012_CaptureInputFocus, + unix_IVRSystem_IVRSystem_012_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_012_DriverDebugRequest, + unix_IVRSystem_IVRSystem_012_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_014_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_014_GetProjectionRaw, + unix_IVRSystem_IVRSystem_014_ComputeDistortion, + unix_IVRSystem_IVRSystem_014_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_014_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_014_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_014_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_014_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_014_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_014_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_014_ApplyTransform, + unix_IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_014_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_014_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_014_PollNextEvent, + unix_IVRSystem_IVRSystem_014_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_014_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_014_GetControllerState, + unix_IVRSystem_IVRSystem_014_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_014_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_014_CaptureInputFocus, + unix_IVRSystem_IVRSystem_014_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_014_DriverDebugRequest, + unix_IVRSystem_IVRSystem_014_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_015_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_015_GetProjectionRaw, + unix_IVRSystem_IVRSystem_015_ComputeDistortion, + unix_IVRSystem_IVRSystem_015_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_015_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_015_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_015_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_015_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_015_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_015_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_015_ApplyTransform, + unix_IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_015_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_015_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_015_PollNextEvent, + unix_IVRSystem_IVRSystem_015_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_015_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_015_GetControllerState, + unix_IVRSystem_IVRSystem_015_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_015_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_015_CaptureInputFocus, + unix_IVRSystem_IVRSystem_015_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_015_DriverDebugRequest, + unix_IVRSystem_IVRSystem_015_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_016_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_016_GetProjectionRaw, + unix_IVRSystem_IVRSystem_016_ComputeDistortion, + unix_IVRSystem_IVRSystem_016_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_016_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_016_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_016_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_016_GetOutputDevice, + unix_IVRSystem_IVRSystem_016_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_016_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_016_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_016_ApplyTransform, + unix_IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_016_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_016_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_016_PollNextEvent, + unix_IVRSystem_IVRSystem_016_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_016_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_016_GetControllerState, + unix_IVRSystem_IVRSystem_016_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_016_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_016_CaptureInputFocus, + unix_IVRSystem_IVRSystem_016_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_016_DriverDebugRequest, + unix_IVRSystem_IVRSystem_016_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_017_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_017_GetProjectionRaw, + unix_IVRSystem_IVRSystem_017_ComputeDistortion, + unix_IVRSystem_IVRSystem_017_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_017_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_017_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_017_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_017_GetOutputDevice, + unix_IVRSystem_IVRSystem_017_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_017_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_017_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_017_ApplyTransform, + unix_IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_017_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_017_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_017_PollNextEvent, + unix_IVRSystem_IVRSystem_017_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_017_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_017_GetControllerState, + unix_IVRSystem_IVRSystem_017_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_017_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_017_CaptureInputFocus, + unix_IVRSystem_IVRSystem_017_ReleaseInputFocus, + unix_IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, + unix_IVRSystem_IVRSystem_017_DriverDebugRequest, + unix_IVRSystem_IVRSystem_017_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_019_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_019_GetProjectionRaw, + unix_IVRSystem_IVRSystem_019_ComputeDistortion, + unix_IVRSystem_IVRSystem_019_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_019_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_019_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_019_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_019_GetOutputDevice, + unix_IVRSystem_IVRSystem_019_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_019_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_019_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_019_ApplyTransform, + unix_IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_019_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_019_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_019_PollNextEvent, + unix_IVRSystem_IVRSystem_019_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_019_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_019_GetControllerState, + unix_IVRSystem_IVRSystem_019_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_019_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_019_IsInputAvailable, + unix_IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, + unix_IVRSystem_IVRSystem_019_ShouldApplicationPause, + unix_IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, + unix_IVRSystem_IVRSystem_019_DriverDebugRequest, + unix_IVRSystem_IVRSystem_019_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_020_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_020_GetProjectionRaw, + unix_IVRSystem_IVRSystem_020_ComputeDistortion, + unix_IVRSystem_IVRSystem_020_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_020_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_020_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_020_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_020_GetOutputDevice, + unix_IVRSystem_IVRSystem_020_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_020_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_020_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_020_ApplyTransform, + unix_IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_020_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_020_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_020_PollNextEvent, + unix_IVRSystem_IVRSystem_020_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_020_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_020_GetControllerState, + unix_IVRSystem_IVRSystem_020_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_020_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_020_IsInputAvailable, + unix_IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, + unix_IVRSystem_IVRSystem_020_ShouldApplicationPause, + unix_IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, + unix_IVRSystem_IVRSystem_020_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, + unix_IVRSystem_IVRSystem_020_GetAppContainerFilePaths, + unix_IVRSystem_IVRSystem_020_GetRuntimeVersion, + unix_IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_021_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_021_GetProjectionRaw, + unix_IVRSystem_IVRSystem_021_ComputeDistortion, + unix_IVRSystem_IVRSystem_021_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_021_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_021_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_021_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_021_GetOutputDevice, + unix_IVRSystem_IVRSystem_021_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_021_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_021_ResetSeatedZeroPose, + unix_IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_021_ApplyTransform, + unix_IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_021_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_021_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_021_PollNextEvent, + unix_IVRSystem_IVRSystem_021_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_021_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_021_GetControllerState, + unix_IVRSystem_IVRSystem_021_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_021_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_021_IsInputAvailable, + unix_IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, + unix_IVRSystem_IVRSystem_021_ShouldApplicationPause, + unix_IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, + unix_IVRSystem_IVRSystem_021_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_021_GetAppContainerFilePaths, + unix_IVRSystem_IVRSystem_021_GetRuntimeVersion, + unix_IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, + unix_IVRSystem_IVRSystem_022_GetProjectionMatrix, + unix_IVRSystem_IVRSystem_022_GetProjectionRaw, + unix_IVRSystem_IVRSystem_022_ComputeDistortion, + unix_IVRSystem_IVRSystem_022_GetEyeToHeadTransform, + unix_IVRSystem_IVRSystem_022_GetTimeSinceLastVsync, + unix_IVRSystem_IVRSystem_022_GetD3D9AdapterIndex, + unix_IVRSystem_IVRSystem_022_GetDXGIOutputInfo, + unix_IVRSystem_IVRSystem_022_GetOutputDevice, + unix_IVRSystem_IVRSystem_022_IsDisplayOnDesktop, + unix_IVRSystem_IVRSystem_022_SetDisplayVisibility, + unix_IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, + unix_IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, + unix_IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, + unix_IVRSystem_IVRSystem_022_ApplyTransform, + unix_IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, + unix_IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, + unix_IVRSystem_IVRSystem_022_GetTrackedDeviceClass, + unix_IVRSystem_IVRSystem_022_IsTrackedDeviceConnected, + unix_IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, + unix_IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, + unix_IVRSystem_IVRSystem_022_PollNextEvent, + unix_IVRSystem_IVRSystem_022_PollNextEventWithPose, + unix_IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, + unix_IVRSystem_IVRSystem_022_GetHiddenAreaMesh, + unix_IVRSystem_IVRSystem_022_GetControllerState, + unix_IVRSystem_IVRSystem_022_GetControllerStateWithPose, + unix_IVRSystem_IVRSystem_022_TriggerHapticPulse, + unix_IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, + unix_IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, + unix_IVRSystem_IVRSystem_022_IsInputAvailable, + unix_IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, + unix_IVRSystem_IVRSystem_022_ShouldApplicationPause, + unix_IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, + unix_IVRSystem_IVRSystem_022_PerformFirmwareUpdate, + unix_IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, + unix_IVRSystem_IVRSystem_022_GetAppContainerFilePaths, + unix_IVRSystem_IVRSystem_022_GetRuntimeVersion, + unix_IVRTrackedCamera_IVRTrackedCamera_001_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, + unix_IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, + unix_IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, + unix_IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, + unix_IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, + unix_IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, + unix_IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, + unix_IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, + unix_IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, + unix_IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, + unix_IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, + unix_IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, + unix_IVRTrackedCamera_IVRTrackedCamera_002_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, + unix_IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, + unix_IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, + unix_IVRTrackedCamera_IVRTrackedCamera_003_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, + unix_IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, + unix_IVRTrackedCamera_IVRTrackedCamera_004_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, + unix_IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, + unix_IVRTrackedCamera_IVRTrackedCamera_005_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, + unix_IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, + unix_IVRTrackedCamera_IVRTrackedCamera_006_HasCamera, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, + unix_IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, + unix_IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, + unix_IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_x64/vrclient_x64.spec b/vrclient_x64/vrclient.spec similarity index 100% rename from vrclient_x64/vrclient_x64/vrclient_x64.spec rename to vrclient_x64/vrclient.spec diff --git a/vrclient_x64/vrclient_generated.c b/vrclient_x64/vrclient_generated.c new file mode 100644 index 000000000..64c61c34a --- /dev/null +++ b/vrclient_x64/vrclient_generated.c @@ -0,0 +1,504 @@ +/* This file is auto-generated, do not edit. */ + +#include "vrclient_private.h" + +static const struct { const char *iface_version; iface_constructor ctor; } constructors[] = +{ + {"IVRApplications_001", create_winIVRApplications_IVRApplications_001}, + {"FnTable:IVRApplications_001", create_winIVRApplications_IVRApplications_001_FnTable}, + {"IVRApplications_002", create_winIVRApplications_IVRApplications_002}, + {"FnTable:IVRApplications_002", create_winIVRApplications_IVRApplications_002_FnTable}, + {"IVRApplications_003", create_winIVRApplications_IVRApplications_003}, + {"FnTable:IVRApplications_003", create_winIVRApplications_IVRApplications_003_FnTable}, + {"IVRApplications_004", create_winIVRApplications_IVRApplications_004}, + {"FnTable:IVRApplications_004", create_winIVRApplications_IVRApplications_004_FnTable}, + {"IVRApplications_005", create_winIVRApplications_IVRApplications_005}, + {"FnTable:IVRApplications_005", create_winIVRApplications_IVRApplications_005_FnTable}, + {"IVRApplications_006", create_winIVRApplications_IVRApplications_006}, + {"FnTable:IVRApplications_006", create_winIVRApplications_IVRApplications_006_FnTable}, + {"IVRApplications_007", create_winIVRApplications_IVRApplications_007}, + {"FnTable:IVRApplications_007", create_winIVRApplications_IVRApplications_007_FnTable}, + {"IVRChaperoneSetup_004", create_winIVRChaperoneSetup_IVRChaperoneSetup_004}, + {"FnTable:IVRChaperoneSetup_004", create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable}, + {"IVRChaperoneSetup_005", create_winIVRChaperoneSetup_IVRChaperoneSetup_005}, + {"FnTable:IVRChaperoneSetup_005", create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable}, + {"IVRChaperoneSetup_006", create_winIVRChaperoneSetup_IVRChaperoneSetup_006}, + {"FnTable:IVRChaperoneSetup_006", create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable}, + {"IVRChaperone_002", create_winIVRChaperone_IVRChaperone_002}, + {"FnTable:IVRChaperone_002", create_winIVRChaperone_IVRChaperone_002_FnTable}, + {"IVRChaperone_003", create_winIVRChaperone_IVRChaperone_003}, + {"FnTable:IVRChaperone_003", create_winIVRChaperone_IVRChaperone_003_FnTable}, + {"IVRChaperone_004", create_winIVRChaperone_IVRChaperone_004}, + {"FnTable:IVRChaperone_004", create_winIVRChaperone_IVRChaperone_004_FnTable}, + {"IVRClientCore_002", create_winIVRClientCore_IVRClientCore_002}, + {"FnTable:IVRClientCore_002", create_winIVRClientCore_IVRClientCore_002_FnTable}, + {"IVRClientCore_003", create_winIVRClientCore_IVRClientCore_003}, + {"FnTable:IVRClientCore_003", create_winIVRClientCore_IVRClientCore_003_FnTable}, + {"IVRCompositor_005", create_winIVRCompositor_IVRCompositor_005}, + {"FnTable:IVRCompositor_005", create_winIVRCompositor_IVRCompositor_005_FnTable}, + {"IVRCompositor_006", create_winIVRCompositor_IVRCompositor_006}, + {"FnTable:IVRCompositor_006", create_winIVRCompositor_IVRCompositor_006_FnTable}, + {"IVRCompositor_007", create_winIVRCompositor_IVRCompositor_007}, + {"FnTable:IVRCompositor_007", create_winIVRCompositor_IVRCompositor_007_FnTable}, + {"IVRCompositor_008", create_winIVRCompositor_IVRCompositor_008}, + {"FnTable:IVRCompositor_008", create_winIVRCompositor_IVRCompositor_008_FnTable}, + {"IVRCompositor_009", create_winIVRCompositor_IVRCompositor_009}, + {"FnTable:IVRCompositor_009", create_winIVRCompositor_IVRCompositor_009_FnTable}, + {"IVRCompositor_010", create_winIVRCompositor_IVRCompositor_010}, + {"FnTable:IVRCompositor_010", create_winIVRCompositor_IVRCompositor_010_FnTable}, + {"IVRCompositor_011", create_winIVRCompositor_IVRCompositor_011}, + {"FnTable:IVRCompositor_011", create_winIVRCompositor_IVRCompositor_011_FnTable}, + {"IVRCompositor_012", create_winIVRCompositor_IVRCompositor_012}, + {"FnTable:IVRCompositor_012", create_winIVRCompositor_IVRCompositor_012_FnTable}, + {"IVRCompositor_013", create_winIVRCompositor_IVRCompositor_013}, + {"FnTable:IVRCompositor_013", create_winIVRCompositor_IVRCompositor_013_FnTable}, + {"IVRCompositor_014", create_winIVRCompositor_IVRCompositor_014}, + {"FnTable:IVRCompositor_014", create_winIVRCompositor_IVRCompositor_014_FnTable}, + {"IVRCompositor_015", create_winIVRCompositor_IVRCompositor_015}, + {"FnTable:IVRCompositor_015", create_winIVRCompositor_IVRCompositor_015_FnTable}, + {"IVRCompositor_016", create_winIVRCompositor_IVRCompositor_016}, + {"FnTable:IVRCompositor_016", create_winIVRCompositor_IVRCompositor_016_FnTable}, + {"IVRCompositor_017", create_winIVRCompositor_IVRCompositor_017}, + {"FnTable:IVRCompositor_017", create_winIVRCompositor_IVRCompositor_017_FnTable}, + {"IVRCompositor_018", create_winIVRCompositor_IVRCompositor_018}, + {"FnTable:IVRCompositor_018", create_winIVRCompositor_IVRCompositor_018_FnTable}, + {"IVRCompositor_019", create_winIVRCompositor_IVRCompositor_019}, + {"FnTable:IVRCompositor_019", create_winIVRCompositor_IVRCompositor_019_FnTable}, + {"IVRCompositor_020", create_winIVRCompositor_IVRCompositor_020}, + {"FnTable:IVRCompositor_020", create_winIVRCompositor_IVRCompositor_020_FnTable}, + {"IVRCompositor_021", create_winIVRCompositor_IVRCompositor_021}, + {"FnTable:IVRCompositor_021", create_winIVRCompositor_IVRCompositor_021_FnTable}, + {"IVRCompositor_022", create_winIVRCompositor_IVRCompositor_022}, + {"FnTable:IVRCompositor_022", create_winIVRCompositor_IVRCompositor_022_FnTable}, + {"IVRCompositor_024", create_winIVRCompositor_IVRCompositor_024}, + {"FnTable:IVRCompositor_024", create_winIVRCompositor_IVRCompositor_024_FnTable}, + {"IVRCompositor_026", create_winIVRCompositor_IVRCompositor_026}, + {"FnTable:IVRCompositor_026", create_winIVRCompositor_IVRCompositor_026_FnTable}, + {"IVRCompositor_027", create_winIVRCompositor_IVRCompositor_027}, + {"FnTable:IVRCompositor_027", create_winIVRCompositor_IVRCompositor_027_FnTable}, + {"IVRControlPanel_006", create_winIVRControlPanel_IVRControlPanel_006}, + {"FnTable:IVRControlPanel_006", create_winIVRControlPanel_IVRControlPanel_006_FnTable}, + {"IVRDriverManager_001", create_winIVRDriverManager_IVRDriverManager_001}, + {"FnTable:IVRDriverManager_001", create_winIVRDriverManager_IVRDriverManager_001_FnTable}, + {"IVRExtendedDisplay_001", create_winIVRExtendedDisplay_IVRExtendedDisplay_001}, + {"FnTable:IVRExtendedDisplay_001", create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable}, + {"IVRHeadsetView_001", create_winIVRHeadsetView_IVRHeadsetView_001}, + {"FnTable:IVRHeadsetView_001", create_winIVRHeadsetView_IVRHeadsetView_001_FnTable}, + {"IVRIOBuffer_001", create_winIVRIOBuffer_IVRIOBuffer_001}, + {"FnTable:IVRIOBuffer_001", create_winIVRIOBuffer_IVRIOBuffer_001_FnTable}, + {"IVRIOBuffer_002", create_winIVRIOBuffer_IVRIOBuffer_002}, + {"FnTable:IVRIOBuffer_002", create_winIVRIOBuffer_IVRIOBuffer_002_FnTable}, + {"IVRInput_003", create_winIVRInput_IVRInput_003}, + {"FnTable:IVRInput_003", create_winIVRInput_IVRInput_003_FnTable}, + {"IVRInput_004", create_winIVRInput_IVRInput_004}, + {"FnTable:IVRInput_004", create_winIVRInput_IVRInput_004_FnTable}, + {"IVRInput_005", create_winIVRInput_IVRInput_005}, + {"FnTable:IVRInput_005", create_winIVRInput_IVRInput_005_FnTable}, + {"IVRInput_006", create_winIVRInput_IVRInput_006}, + {"FnTable:IVRInput_006", create_winIVRInput_IVRInput_006_FnTable}, + {"IVRInput_007", create_winIVRInput_IVRInput_007}, + {"FnTable:IVRInput_007", create_winIVRInput_IVRInput_007_FnTable}, + {"IVRInput_010", create_winIVRInput_IVRInput_010}, + {"FnTable:IVRInput_010", create_winIVRInput_IVRInput_010_FnTable}, + {"IVRMailbox_001", create_winIVRMailbox_IVRMailbox_001}, + {"FnTable:IVRMailbox_001", create_winIVRMailbox_IVRMailbox_001_FnTable}, + {"IVRNotifications_001", create_winIVRNotifications_IVRNotifications_001}, + {"FnTable:IVRNotifications_001", create_winIVRNotifications_IVRNotifications_001_FnTable}, + {"IVRNotifications_002", create_winIVRNotifications_IVRNotifications_002}, + {"FnTable:IVRNotifications_002", create_winIVRNotifications_IVRNotifications_002_FnTable}, + {"IVROverlayView_003", create_winIVROverlayView_IVROverlayView_003}, + {"FnTable:IVROverlayView_003", create_winIVROverlayView_IVROverlayView_003_FnTable}, + {"IVROverlay_001", create_winIVROverlay_IVROverlay_001}, + {"FnTable:IVROverlay_001", create_winIVROverlay_IVROverlay_001_FnTable}, + {"IVROverlay_002", create_winIVROverlay_IVROverlay_002}, + {"FnTable:IVROverlay_002", create_winIVROverlay_IVROverlay_002_FnTable}, + {"IVROverlay_003", create_winIVROverlay_IVROverlay_003}, + {"FnTable:IVROverlay_003", create_winIVROverlay_IVROverlay_003_FnTable}, + {"IVROverlay_004", create_winIVROverlay_IVROverlay_004}, + {"FnTable:IVROverlay_004", create_winIVROverlay_IVROverlay_004_FnTable}, + {"IVROverlay_005", create_winIVROverlay_IVROverlay_005}, + {"FnTable:IVROverlay_005", create_winIVROverlay_IVROverlay_005_FnTable}, + {"IVROverlay_007", create_winIVROverlay_IVROverlay_007}, + {"FnTable:IVROverlay_007", create_winIVROverlay_IVROverlay_007_FnTable}, + {"IVROverlay_008", create_winIVROverlay_IVROverlay_008}, + {"FnTable:IVROverlay_008", create_winIVROverlay_IVROverlay_008_FnTable}, + {"IVROverlay_010", create_winIVROverlay_IVROverlay_010}, + {"FnTable:IVROverlay_010", create_winIVROverlay_IVROverlay_010_FnTable}, + {"IVROverlay_011", create_winIVROverlay_IVROverlay_011}, + {"FnTable:IVROverlay_011", create_winIVROverlay_IVROverlay_011_FnTable}, + {"IVROverlay_012", create_winIVROverlay_IVROverlay_012}, + {"FnTable:IVROverlay_012", create_winIVROverlay_IVROverlay_012_FnTable}, + {"IVROverlay_013", create_winIVROverlay_IVROverlay_013}, + {"FnTable:IVROverlay_013", create_winIVROverlay_IVROverlay_013_FnTable}, + {"IVROverlay_014", create_winIVROverlay_IVROverlay_014}, + {"FnTable:IVROverlay_014", create_winIVROverlay_IVROverlay_014_FnTable}, + {"IVROverlay_016", create_winIVROverlay_IVROverlay_016}, + {"FnTable:IVROverlay_016", create_winIVROverlay_IVROverlay_016_FnTable}, + {"IVROverlay_017", create_winIVROverlay_IVROverlay_017}, + {"FnTable:IVROverlay_017", create_winIVROverlay_IVROverlay_017_FnTable}, + {"IVROverlay_018", create_winIVROverlay_IVROverlay_018}, + {"FnTable:IVROverlay_018", create_winIVROverlay_IVROverlay_018_FnTable}, + {"IVROverlay_019", create_winIVROverlay_IVROverlay_019}, + {"FnTable:IVROverlay_019", create_winIVROverlay_IVROverlay_019_FnTable}, + {"IVROverlay_020", create_winIVROverlay_IVROverlay_020}, + {"FnTable:IVROverlay_020", create_winIVROverlay_IVROverlay_020_FnTable}, + {"IVROverlay_021", create_winIVROverlay_IVROverlay_021}, + {"FnTable:IVROverlay_021", create_winIVROverlay_IVROverlay_021_FnTable}, + {"IVROverlay_022", create_winIVROverlay_IVROverlay_022}, + {"FnTable:IVROverlay_022", create_winIVROverlay_IVROverlay_022_FnTable}, + {"IVROverlay_024", create_winIVROverlay_IVROverlay_024}, + {"FnTable:IVROverlay_024", create_winIVROverlay_IVROverlay_024_FnTable}, + {"IVROverlay_025", create_winIVROverlay_IVROverlay_025}, + {"FnTable:IVROverlay_025", create_winIVROverlay_IVROverlay_025_FnTable}, + {"IVROverlay_026", create_winIVROverlay_IVROverlay_026}, + {"FnTable:IVROverlay_026", create_winIVROverlay_IVROverlay_026_FnTable}, + {"IVROverlay_027", create_winIVROverlay_IVROverlay_027}, + {"FnTable:IVROverlay_027", create_winIVROverlay_IVROverlay_027_FnTable}, + {"IVRRenderModels_001", create_winIVRRenderModels_IVRRenderModels_001}, + {"FnTable:IVRRenderModels_001", create_winIVRRenderModels_IVRRenderModels_001_FnTable}, + {"IVRRenderModels_002", create_winIVRRenderModels_IVRRenderModels_002}, + {"FnTable:IVRRenderModels_002", create_winIVRRenderModels_IVRRenderModels_002_FnTable}, + {"IVRRenderModels_004", create_winIVRRenderModels_IVRRenderModels_004}, + {"FnTable:IVRRenderModels_004", create_winIVRRenderModels_IVRRenderModels_004_FnTable}, + {"IVRRenderModels_005", create_winIVRRenderModels_IVRRenderModels_005}, + {"FnTable:IVRRenderModels_005", create_winIVRRenderModels_IVRRenderModels_005_FnTable}, + {"IVRRenderModels_006", create_winIVRRenderModels_IVRRenderModels_006}, + {"FnTable:IVRRenderModels_006", create_winIVRRenderModels_IVRRenderModels_006_FnTable}, + {"IVRResources_001", create_winIVRResources_IVRResources_001}, + {"FnTable:IVRResources_001", create_winIVRResources_IVRResources_001_FnTable}, + {"IVRScreenshots_001", create_winIVRScreenshots_IVRScreenshots_001}, + {"FnTable:IVRScreenshots_001", create_winIVRScreenshots_IVRScreenshots_001_FnTable}, + {"IVRSettings_001", create_winIVRSettings_IVRSettings_001}, + {"FnTable:IVRSettings_001", create_winIVRSettings_IVRSettings_001_FnTable}, + {"IVRSettings_002", create_winIVRSettings_IVRSettings_002}, + {"FnTable:IVRSettings_002", create_winIVRSettings_IVRSettings_002_FnTable}, + {"IVRSettings_003", create_winIVRSettings_IVRSettings_003}, + {"FnTable:IVRSettings_003", create_winIVRSettings_IVRSettings_003_FnTable}, + {"IVRSystem_003", create_winIVRSystem_IVRSystem_003}, + {"FnTable:IVRSystem_003", create_winIVRSystem_IVRSystem_003_FnTable}, + {"IVRSystem_004", create_winIVRSystem_IVRSystem_004}, + {"FnTable:IVRSystem_004", create_winIVRSystem_IVRSystem_004_FnTable}, + {"IVRSystem_005", create_winIVRSystem_IVRSystem_005}, + {"FnTable:IVRSystem_005", create_winIVRSystem_IVRSystem_005_FnTable}, + {"IVRSystem_006", create_winIVRSystem_IVRSystem_006}, + {"FnTable:IVRSystem_006", create_winIVRSystem_IVRSystem_006_FnTable}, + {"IVRSystem_009", create_winIVRSystem_IVRSystem_009}, + {"FnTable:IVRSystem_009", create_winIVRSystem_IVRSystem_009_FnTable}, + {"IVRSystem_010", create_winIVRSystem_IVRSystem_010}, + {"FnTable:IVRSystem_010", create_winIVRSystem_IVRSystem_010_FnTable}, + {"IVRSystem_011", create_winIVRSystem_IVRSystem_011}, + {"FnTable:IVRSystem_011", create_winIVRSystem_IVRSystem_011_FnTable}, + {"IVRSystem_012", create_winIVRSystem_IVRSystem_012}, + {"FnTable:IVRSystem_012", create_winIVRSystem_IVRSystem_012_FnTable}, + {"IVRSystem_014", create_winIVRSystem_IVRSystem_014}, + {"FnTable:IVRSystem_014", create_winIVRSystem_IVRSystem_014_FnTable}, + {"IVRSystem_015", create_winIVRSystem_IVRSystem_015}, + {"FnTable:IVRSystem_015", create_winIVRSystem_IVRSystem_015_FnTable}, + {"IVRSystem_016", create_winIVRSystem_IVRSystem_016}, + {"FnTable:IVRSystem_016", create_winIVRSystem_IVRSystem_016_FnTable}, + {"IVRSystem_017", create_winIVRSystem_IVRSystem_017}, + {"FnTable:IVRSystem_017", create_winIVRSystem_IVRSystem_017_FnTable}, + {"IVRSystem_019", create_winIVRSystem_IVRSystem_019}, + {"FnTable:IVRSystem_019", create_winIVRSystem_IVRSystem_019_FnTable}, + {"IVRSystem_020", create_winIVRSystem_IVRSystem_020}, + {"FnTable:IVRSystem_020", create_winIVRSystem_IVRSystem_020_FnTable}, + {"IVRSystem_021", create_winIVRSystem_IVRSystem_021}, + {"FnTable:IVRSystem_021", create_winIVRSystem_IVRSystem_021_FnTable}, + {"IVRSystem_022", create_winIVRSystem_IVRSystem_022}, + {"FnTable:IVRSystem_022", create_winIVRSystem_IVRSystem_022_FnTable}, + {"IVRTrackedCamera_001", create_winIVRTrackedCamera_IVRTrackedCamera_001}, + {"FnTable:IVRTrackedCamera_001", create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable}, + {"IVRTrackedCamera_002", create_winIVRTrackedCamera_IVRTrackedCamera_002}, + {"FnTable:IVRTrackedCamera_002", create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable}, + {"IVRTrackedCamera_003", create_winIVRTrackedCamera_IVRTrackedCamera_003}, + {"FnTable:IVRTrackedCamera_003", create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable}, + {"IVRTrackedCamera_004", create_winIVRTrackedCamera_IVRTrackedCamera_004}, + {"FnTable:IVRTrackedCamera_004", create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable}, + {"IVRTrackedCamera_005", create_winIVRTrackedCamera_IVRTrackedCamera_005}, + {"FnTable:IVRTrackedCamera_005", create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable}, + {"IVRTrackedCamera_006", create_winIVRTrackedCamera_IVRTrackedCamera_006}, + {"FnTable:IVRTrackedCamera_006", create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable}, +}; + +iface_constructor find_iface_constructor( const char *iface_version ) +{ + int i; + for (i = 0; i < ARRAYSIZE(constructors); ++i) + if (!strcmp( iface_version, constructors[i].iface_version )) + return constructors[i].ctor; + return NULL; +} + +static const struct { const char *iface_version; iface_destructor dtor; } destructors[] = +{ + {"IVRApplications_001", destroy_winIVRApplications_IVRApplications_001}, + {"FnTable:IVRApplications_001", destroy_winIVRApplications_IVRApplications_001_FnTable}, + {"IVRApplications_002", destroy_winIVRApplications_IVRApplications_002}, + {"FnTable:IVRApplications_002", destroy_winIVRApplications_IVRApplications_002_FnTable}, + {"IVRApplications_003", destroy_winIVRApplications_IVRApplications_003}, + {"FnTable:IVRApplications_003", destroy_winIVRApplications_IVRApplications_003_FnTable}, + {"IVRApplications_004", destroy_winIVRApplications_IVRApplications_004}, + {"FnTable:IVRApplications_004", destroy_winIVRApplications_IVRApplications_004_FnTable}, + {"IVRApplications_005", destroy_winIVRApplications_IVRApplications_005}, + {"FnTable:IVRApplications_005", destroy_winIVRApplications_IVRApplications_005_FnTable}, + {"IVRApplications_006", destroy_winIVRApplications_IVRApplications_006}, + {"FnTable:IVRApplications_006", destroy_winIVRApplications_IVRApplications_006_FnTable}, + {"IVRApplications_007", destroy_winIVRApplications_IVRApplications_007}, + {"FnTable:IVRApplications_007", destroy_winIVRApplications_IVRApplications_007_FnTable}, + {"IVRChaperoneSetup_004", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004}, + {"FnTable:IVRChaperoneSetup_004", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable}, + {"IVRChaperoneSetup_005", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005}, + {"FnTable:IVRChaperoneSetup_005", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable}, + {"IVRChaperoneSetup_006", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006}, + {"FnTable:IVRChaperoneSetup_006", destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable}, + {"IVRChaperone_002", destroy_winIVRChaperone_IVRChaperone_002}, + {"FnTable:IVRChaperone_002", destroy_winIVRChaperone_IVRChaperone_002_FnTable}, + {"IVRChaperone_003", destroy_winIVRChaperone_IVRChaperone_003}, + {"FnTable:IVRChaperone_003", destroy_winIVRChaperone_IVRChaperone_003_FnTable}, + {"IVRChaperone_004", destroy_winIVRChaperone_IVRChaperone_004}, + {"FnTable:IVRChaperone_004", destroy_winIVRChaperone_IVRChaperone_004_FnTable}, + {"IVRClientCore_002", destroy_winIVRClientCore_IVRClientCore_002}, + {"FnTable:IVRClientCore_002", destroy_winIVRClientCore_IVRClientCore_002_FnTable}, + {"IVRClientCore_003", destroy_winIVRClientCore_IVRClientCore_003}, + {"FnTable:IVRClientCore_003", destroy_winIVRClientCore_IVRClientCore_003_FnTable}, + {"IVRCompositor_005", destroy_winIVRCompositor_IVRCompositor_005}, + {"FnTable:IVRCompositor_005", destroy_winIVRCompositor_IVRCompositor_005_FnTable}, + {"IVRCompositor_006", destroy_winIVRCompositor_IVRCompositor_006}, + {"FnTable:IVRCompositor_006", destroy_winIVRCompositor_IVRCompositor_006_FnTable}, + {"IVRCompositor_007", destroy_winIVRCompositor_IVRCompositor_007}, + {"FnTable:IVRCompositor_007", destroy_winIVRCompositor_IVRCompositor_007_FnTable}, + {"IVRCompositor_008", destroy_winIVRCompositor_IVRCompositor_008}, + {"FnTable:IVRCompositor_008", destroy_winIVRCompositor_IVRCompositor_008_FnTable}, + {"IVRCompositor_009", destroy_winIVRCompositor_IVRCompositor_009}, + {"FnTable:IVRCompositor_009", destroy_winIVRCompositor_IVRCompositor_009_FnTable}, + {"IVRCompositor_010", destroy_winIVRCompositor_IVRCompositor_010}, + {"FnTable:IVRCompositor_010", destroy_winIVRCompositor_IVRCompositor_010_FnTable}, + {"IVRCompositor_011", destroy_winIVRCompositor_IVRCompositor_011}, + {"FnTable:IVRCompositor_011", destroy_winIVRCompositor_IVRCompositor_011_FnTable}, + {"IVRCompositor_012", destroy_winIVRCompositor_IVRCompositor_012}, + {"FnTable:IVRCompositor_012", destroy_winIVRCompositor_IVRCompositor_012_FnTable}, + {"IVRCompositor_013", destroy_winIVRCompositor_IVRCompositor_013}, + {"FnTable:IVRCompositor_013", destroy_winIVRCompositor_IVRCompositor_013_FnTable}, + {"IVRCompositor_014", destroy_winIVRCompositor_IVRCompositor_014}, + {"FnTable:IVRCompositor_014", destroy_winIVRCompositor_IVRCompositor_014_FnTable}, + {"IVRCompositor_015", destroy_winIVRCompositor_IVRCompositor_015}, + {"FnTable:IVRCompositor_015", destroy_winIVRCompositor_IVRCompositor_015_FnTable}, + {"IVRCompositor_016", destroy_winIVRCompositor_IVRCompositor_016}, + {"FnTable:IVRCompositor_016", destroy_winIVRCompositor_IVRCompositor_016_FnTable}, + {"IVRCompositor_017", destroy_winIVRCompositor_IVRCompositor_017}, + {"FnTable:IVRCompositor_017", destroy_winIVRCompositor_IVRCompositor_017_FnTable}, + {"IVRCompositor_018", destroy_winIVRCompositor_IVRCompositor_018}, + {"FnTable:IVRCompositor_018", destroy_winIVRCompositor_IVRCompositor_018_FnTable}, + {"IVRCompositor_019", destroy_winIVRCompositor_IVRCompositor_019}, + {"FnTable:IVRCompositor_019", destroy_winIVRCompositor_IVRCompositor_019_FnTable}, + {"IVRCompositor_020", destroy_winIVRCompositor_IVRCompositor_020}, + {"FnTable:IVRCompositor_020", destroy_winIVRCompositor_IVRCompositor_020_FnTable}, + {"IVRCompositor_021", destroy_winIVRCompositor_IVRCompositor_021}, + {"FnTable:IVRCompositor_021", destroy_winIVRCompositor_IVRCompositor_021_FnTable}, + {"IVRCompositor_022", destroy_winIVRCompositor_IVRCompositor_022}, + {"FnTable:IVRCompositor_022", destroy_winIVRCompositor_IVRCompositor_022_FnTable}, + {"IVRCompositor_024", destroy_winIVRCompositor_IVRCompositor_024}, + {"FnTable:IVRCompositor_024", destroy_winIVRCompositor_IVRCompositor_024_FnTable}, + {"IVRCompositor_026", destroy_winIVRCompositor_IVRCompositor_026}, + {"FnTable:IVRCompositor_026", destroy_winIVRCompositor_IVRCompositor_026_FnTable}, + {"IVRCompositor_027", destroy_winIVRCompositor_IVRCompositor_027}, + {"FnTable:IVRCompositor_027", destroy_winIVRCompositor_IVRCompositor_027_FnTable}, + {"IVRControlPanel_006", destroy_winIVRControlPanel_IVRControlPanel_006}, + {"FnTable:IVRControlPanel_006", destroy_winIVRControlPanel_IVRControlPanel_006_FnTable}, + {"IVRDriverManager_001", destroy_winIVRDriverManager_IVRDriverManager_001}, + {"FnTable:IVRDriverManager_001", destroy_winIVRDriverManager_IVRDriverManager_001_FnTable}, + {"IVRExtendedDisplay_001", destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001}, + {"FnTable:IVRExtendedDisplay_001", destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable}, + {"IVRHeadsetView_001", destroy_winIVRHeadsetView_IVRHeadsetView_001}, + {"FnTable:IVRHeadsetView_001", destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable}, + {"IVRIOBuffer_001", destroy_winIVRIOBuffer_IVRIOBuffer_001}, + {"FnTable:IVRIOBuffer_001", destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable}, + {"IVRIOBuffer_002", destroy_winIVRIOBuffer_IVRIOBuffer_002}, + {"FnTable:IVRIOBuffer_002", destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable}, + {"IVRInput_003", destroy_winIVRInput_IVRInput_003}, + {"FnTable:IVRInput_003", destroy_winIVRInput_IVRInput_003_FnTable}, + {"IVRInput_004", destroy_winIVRInput_IVRInput_004}, + {"FnTable:IVRInput_004", destroy_winIVRInput_IVRInput_004_FnTable}, + {"IVRInput_005", destroy_winIVRInput_IVRInput_005}, + {"FnTable:IVRInput_005", destroy_winIVRInput_IVRInput_005_FnTable}, + {"IVRInput_006", destroy_winIVRInput_IVRInput_006}, + {"FnTable:IVRInput_006", destroy_winIVRInput_IVRInput_006_FnTable}, + {"IVRInput_007", destroy_winIVRInput_IVRInput_007}, + {"FnTable:IVRInput_007", destroy_winIVRInput_IVRInput_007_FnTable}, + {"IVRInput_010", destroy_winIVRInput_IVRInput_010}, + {"FnTable:IVRInput_010", destroy_winIVRInput_IVRInput_010_FnTable}, + {"IVRMailbox_001", destroy_winIVRMailbox_IVRMailbox_001}, + {"FnTable:IVRMailbox_001", destroy_winIVRMailbox_IVRMailbox_001_FnTable}, + {"IVRNotifications_001", destroy_winIVRNotifications_IVRNotifications_001}, + {"FnTable:IVRNotifications_001", destroy_winIVRNotifications_IVRNotifications_001_FnTable}, + {"IVRNotifications_002", destroy_winIVRNotifications_IVRNotifications_002}, + {"FnTable:IVRNotifications_002", destroy_winIVRNotifications_IVRNotifications_002_FnTable}, + {"IVROverlayView_003", destroy_winIVROverlayView_IVROverlayView_003}, + {"FnTable:IVROverlayView_003", destroy_winIVROverlayView_IVROverlayView_003_FnTable}, + {"IVROverlay_001", destroy_winIVROverlay_IVROverlay_001}, + {"FnTable:IVROverlay_001", destroy_winIVROverlay_IVROverlay_001_FnTable}, + {"IVROverlay_002", destroy_winIVROverlay_IVROverlay_002}, + {"FnTable:IVROverlay_002", destroy_winIVROverlay_IVROverlay_002_FnTable}, + {"IVROverlay_003", destroy_winIVROverlay_IVROverlay_003}, + {"FnTable:IVROverlay_003", destroy_winIVROverlay_IVROverlay_003_FnTable}, + {"IVROverlay_004", destroy_winIVROverlay_IVROverlay_004}, + {"FnTable:IVROverlay_004", destroy_winIVROverlay_IVROverlay_004_FnTable}, + {"IVROverlay_005", destroy_winIVROverlay_IVROverlay_005}, + {"FnTable:IVROverlay_005", destroy_winIVROverlay_IVROverlay_005_FnTable}, + {"IVROverlay_007", destroy_winIVROverlay_IVROverlay_007}, + {"FnTable:IVROverlay_007", destroy_winIVROverlay_IVROverlay_007_FnTable}, + {"IVROverlay_008", destroy_winIVROverlay_IVROverlay_008}, + {"FnTable:IVROverlay_008", destroy_winIVROverlay_IVROverlay_008_FnTable}, + {"IVROverlay_010", destroy_winIVROverlay_IVROverlay_010}, + {"FnTable:IVROverlay_010", destroy_winIVROverlay_IVROverlay_010_FnTable}, + {"IVROverlay_011", destroy_winIVROverlay_IVROverlay_011}, + {"FnTable:IVROverlay_011", destroy_winIVROverlay_IVROverlay_011_FnTable}, + {"IVROverlay_012", destroy_winIVROverlay_IVROverlay_012}, + {"FnTable:IVROverlay_012", destroy_winIVROverlay_IVROverlay_012_FnTable}, + {"IVROverlay_013", destroy_winIVROverlay_IVROverlay_013}, + {"FnTable:IVROverlay_013", destroy_winIVROverlay_IVROverlay_013_FnTable}, + {"IVROverlay_014", destroy_winIVROverlay_IVROverlay_014}, + {"FnTable:IVROverlay_014", destroy_winIVROverlay_IVROverlay_014_FnTable}, + {"IVROverlay_016", destroy_winIVROverlay_IVROverlay_016}, + {"FnTable:IVROverlay_016", destroy_winIVROverlay_IVROverlay_016_FnTable}, + {"IVROverlay_017", destroy_winIVROverlay_IVROverlay_017}, + {"FnTable:IVROverlay_017", destroy_winIVROverlay_IVROverlay_017_FnTable}, + {"IVROverlay_018", destroy_winIVROverlay_IVROverlay_018}, + {"FnTable:IVROverlay_018", destroy_winIVROverlay_IVROverlay_018_FnTable}, + {"IVROverlay_019", destroy_winIVROverlay_IVROverlay_019}, + {"FnTable:IVROverlay_019", destroy_winIVROverlay_IVROverlay_019_FnTable}, + {"IVROverlay_020", destroy_winIVROverlay_IVROverlay_020}, + {"FnTable:IVROverlay_020", destroy_winIVROverlay_IVROverlay_020_FnTable}, + {"IVROverlay_021", destroy_winIVROverlay_IVROverlay_021}, + {"FnTable:IVROverlay_021", destroy_winIVROverlay_IVROverlay_021_FnTable}, + {"IVROverlay_022", destroy_winIVROverlay_IVROverlay_022}, + {"FnTable:IVROverlay_022", destroy_winIVROverlay_IVROverlay_022_FnTable}, + {"IVROverlay_024", destroy_winIVROverlay_IVROverlay_024}, + {"FnTable:IVROverlay_024", destroy_winIVROverlay_IVROverlay_024_FnTable}, + {"IVROverlay_025", destroy_winIVROverlay_IVROverlay_025}, + {"FnTable:IVROverlay_025", destroy_winIVROverlay_IVROverlay_025_FnTable}, + {"IVROverlay_026", destroy_winIVROverlay_IVROverlay_026}, + {"FnTable:IVROverlay_026", destroy_winIVROverlay_IVROverlay_026_FnTable}, + {"IVROverlay_027", destroy_winIVROverlay_IVROverlay_027}, + {"FnTable:IVROverlay_027", destroy_winIVROverlay_IVROverlay_027_FnTable}, + {"IVRRenderModels_001", destroy_winIVRRenderModels_IVRRenderModels_001}, + {"FnTable:IVRRenderModels_001", destroy_winIVRRenderModels_IVRRenderModels_001_FnTable}, + {"IVRRenderModels_002", destroy_winIVRRenderModels_IVRRenderModels_002}, + {"FnTable:IVRRenderModels_002", destroy_winIVRRenderModels_IVRRenderModels_002_FnTable}, + {"IVRRenderModels_004", destroy_winIVRRenderModels_IVRRenderModels_004}, + {"FnTable:IVRRenderModels_004", destroy_winIVRRenderModels_IVRRenderModels_004_FnTable}, + {"IVRRenderModels_005", destroy_winIVRRenderModels_IVRRenderModels_005}, + {"FnTable:IVRRenderModels_005", destroy_winIVRRenderModels_IVRRenderModels_005_FnTable}, + {"IVRRenderModels_006", destroy_winIVRRenderModels_IVRRenderModels_006}, + {"FnTable:IVRRenderModels_006", destroy_winIVRRenderModels_IVRRenderModels_006_FnTable}, + {"IVRResources_001", destroy_winIVRResources_IVRResources_001}, + {"FnTable:IVRResources_001", destroy_winIVRResources_IVRResources_001_FnTable}, + {"IVRScreenshots_001", destroy_winIVRScreenshots_IVRScreenshots_001}, + {"FnTable:IVRScreenshots_001", destroy_winIVRScreenshots_IVRScreenshots_001_FnTable}, + {"IVRSettings_001", destroy_winIVRSettings_IVRSettings_001}, + {"FnTable:IVRSettings_001", destroy_winIVRSettings_IVRSettings_001_FnTable}, + {"IVRSettings_002", destroy_winIVRSettings_IVRSettings_002}, + {"FnTable:IVRSettings_002", destroy_winIVRSettings_IVRSettings_002_FnTable}, + {"IVRSettings_003", destroy_winIVRSettings_IVRSettings_003}, + {"FnTable:IVRSettings_003", destroy_winIVRSettings_IVRSettings_003_FnTable}, + {"IVRSystem_003", destroy_winIVRSystem_IVRSystem_003}, + {"FnTable:IVRSystem_003", destroy_winIVRSystem_IVRSystem_003_FnTable}, + {"IVRSystem_004", destroy_winIVRSystem_IVRSystem_004}, + {"FnTable:IVRSystem_004", destroy_winIVRSystem_IVRSystem_004_FnTable}, + {"IVRSystem_005", destroy_winIVRSystem_IVRSystem_005}, + {"FnTable:IVRSystem_005", destroy_winIVRSystem_IVRSystem_005_FnTable}, + {"IVRSystem_006", destroy_winIVRSystem_IVRSystem_006}, + {"FnTable:IVRSystem_006", destroy_winIVRSystem_IVRSystem_006_FnTable}, + {"IVRSystem_009", destroy_winIVRSystem_IVRSystem_009}, + {"FnTable:IVRSystem_009", destroy_winIVRSystem_IVRSystem_009_FnTable}, + {"IVRSystem_010", destroy_winIVRSystem_IVRSystem_010}, + {"FnTable:IVRSystem_010", destroy_winIVRSystem_IVRSystem_010_FnTable}, + {"IVRSystem_011", destroy_winIVRSystem_IVRSystem_011}, + {"FnTable:IVRSystem_011", destroy_winIVRSystem_IVRSystem_011_FnTable}, + {"IVRSystem_012", destroy_winIVRSystem_IVRSystem_012}, + {"FnTable:IVRSystem_012", destroy_winIVRSystem_IVRSystem_012_FnTable}, + {"IVRSystem_014", destroy_winIVRSystem_IVRSystem_014}, + {"FnTable:IVRSystem_014", destroy_winIVRSystem_IVRSystem_014_FnTable}, + {"IVRSystem_015", destroy_winIVRSystem_IVRSystem_015}, + {"FnTable:IVRSystem_015", destroy_winIVRSystem_IVRSystem_015_FnTable}, + {"IVRSystem_016", destroy_winIVRSystem_IVRSystem_016}, + {"FnTable:IVRSystem_016", destroy_winIVRSystem_IVRSystem_016_FnTable}, + {"IVRSystem_017", destroy_winIVRSystem_IVRSystem_017}, + {"FnTable:IVRSystem_017", destroy_winIVRSystem_IVRSystem_017_FnTable}, + {"IVRSystem_019", destroy_winIVRSystem_IVRSystem_019}, + {"FnTable:IVRSystem_019", destroy_winIVRSystem_IVRSystem_019_FnTable}, + {"IVRSystem_020", destroy_winIVRSystem_IVRSystem_020}, + {"FnTable:IVRSystem_020", destroy_winIVRSystem_IVRSystem_020_FnTable}, + {"IVRSystem_021", destroy_winIVRSystem_IVRSystem_021}, + {"FnTable:IVRSystem_021", destroy_winIVRSystem_IVRSystem_021_FnTable}, + {"IVRSystem_022", destroy_winIVRSystem_IVRSystem_022}, + {"FnTable:IVRSystem_022", destroy_winIVRSystem_IVRSystem_022_FnTable}, + {"IVRTrackedCamera_001", destroy_winIVRTrackedCamera_IVRTrackedCamera_001}, + {"FnTable:IVRTrackedCamera_001", destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable}, + {"IVRTrackedCamera_002", destroy_winIVRTrackedCamera_IVRTrackedCamera_002}, + {"FnTable:IVRTrackedCamera_002", destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable}, + {"IVRTrackedCamera_003", destroy_winIVRTrackedCamera_IVRTrackedCamera_003}, + {"FnTable:IVRTrackedCamera_003", destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable}, + {"IVRTrackedCamera_004", destroy_winIVRTrackedCamera_IVRTrackedCamera_004}, + {"FnTable:IVRTrackedCamera_004", destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable}, + {"IVRTrackedCamera_005", destroy_winIVRTrackedCamera_IVRTrackedCamera_005}, + {"FnTable:IVRTrackedCamera_005", destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable}, + {"IVRTrackedCamera_006", destroy_winIVRTrackedCamera_IVRTrackedCamera_006}, + {"FnTable:IVRTrackedCamera_006", destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable}, +}; + +iface_destructor find_iface_destructor( const char *iface_version ) +{ + int i; + for (i = 0; i < ARRAYSIZE(destructors); ++i) + if (!strcmp( iface_version, destructors[i].iface_version )) + return destructors[i].dtor; + return NULL; +} + +extern void init_winIVRApplications_rtti( char * ); +extern void init_winIVRChaperone_rtti( char * ); +extern void init_winIVRChaperoneSetup_rtti( char * ); +extern void init_winIVRClientCore_rtti( char * ); +extern void init_winIVRCompositor_rtti( char * ); +extern void init_winIVRControlPanel_rtti( char * ); +extern void init_winIVRDriverManager_rtti( char * ); +extern void init_winIVRExtendedDisplay_rtti( char * ); +extern void init_winIVRHeadsetView_rtti( char * ); +extern void init_winIVRIOBuffer_rtti( char * ); +extern void init_winIVRInput_rtti( char * ); +extern void init_winIVRMailbox_rtti( char * ); +extern void init_winIVRNotifications_rtti( char * ); +extern void init_winIVROverlay_rtti( char * ); +extern void init_winIVROverlayView_rtti( char * ); +extern void init_winIVRRenderModels_rtti( char * ); +extern void init_winIVRResources_rtti( char * ); +extern void init_winIVRScreenshots_rtti( char * ); +extern void init_winIVRSettings_rtti( char * ); +extern void init_winIVRSystem_rtti( char * ); +extern void init_winIVRTrackedCamera_rtti( char * ); + +void init_rtti( char *base ) +{ + init_winIVRApplications_rtti( base ); + init_winIVRChaperone_rtti( base ); + init_winIVRChaperoneSetup_rtti( base ); + init_winIVRClientCore_rtti( base ); + init_winIVRCompositor_rtti( base ); + init_winIVRControlPanel_rtti( base ); + init_winIVRDriverManager_rtti( base ); + init_winIVRExtendedDisplay_rtti( base ); + init_winIVRHeadsetView_rtti( base ); + init_winIVRIOBuffer_rtti( base ); + init_winIVRInput_rtti( base ); + init_winIVRMailbox_rtti( base ); + init_winIVRNotifications_rtti( base ); + init_winIVROverlay_rtti( base ); + init_winIVROverlayView_rtti( base ); + init_winIVRRenderModels_rtti( base ); + init_winIVRResources_rtti( base ); + init_winIVRScreenshots_rtti( base ); + init_winIVRSettings_rtti( base ); + init_winIVRSystem_rtti( base ); + init_winIVRTrackedCamera_rtti( base ); +} diff --git a/vrclient_x64/vrclient_generated.h b/vrclient_x64/vrclient_generated.h new file mode 100644 index 000000000..8b74681f9 --- /dev/null +++ b/vrclient_x64/vrclient_generated.h @@ -0,0 +1,430 @@ +/* This file is auto-generated, do not edit. */ + +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_001(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_001_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_001(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_002(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_002_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_002(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_003(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_003_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_003(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_004(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_004_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_004(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_005(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_005_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_005(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_006(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_006_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_006(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_007(void *); +extern struct w_steam_iface *create_winIVRApplications_IVRApplications_007_FnTable(void *); +extern void destroy_winIVRApplications_IVRApplications_007(struct w_steam_iface *); +extern void destroy_winIVRApplications_IVRApplications_007_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); +extern struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(struct w_steam_iface *); +extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002_FnTable(void *); +extern void destroy_winIVRChaperone_IVRChaperone_002(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); +extern void destroy_winIVRChaperone_IVRChaperone_003(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004(void *); +extern struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); +extern void destroy_winIVRChaperone_IVRChaperone_004(struct w_steam_iface *); +extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002_FnTable(void *); +extern void destroy_winIVRClientCore_IVRClientCore_002(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003(void *); +extern struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); +extern void destroy_winIVRClientCore_IVRClientCore_003(struct w_steam_iface *); +extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_005(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_006(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_007(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_008(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_009(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_010(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_011(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_012(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_013(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_014(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_015(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_016(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_017(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_018(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_019(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_020(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_021(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_022(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_024(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_026(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027(void *); +extern struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); +extern void destroy_winIVRCompositor_IVRCompositor_027(struct w_steam_iface *); +extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006(void *); +extern struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006(struct w_steam_iface *); +extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001(void *); +extern struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001(struct w_steam_iface *); +extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); +extern struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(struct w_steam_iface *); +extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001(void *); +extern struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(struct w_steam_iface *); +extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002(void *); +extern struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(struct w_steam_iface *); +extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_003(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_003_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_003(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_004(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_004_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_004(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_005(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_005_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_005(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_006(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_006_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_006(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_007(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_007_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_007(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_007_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_010(void *); +extern struct w_steam_iface *create_winIVRInput_IVRInput_010_FnTable(void *); +extern void destroy_winIVRInput_IVRInput_010(struct w_steam_iface *); +extern void destroy_winIVRInput_IVRInput_010_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001(void *); +extern struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); +extern void destroy_winIVRMailbox_IVRMailbox_001(struct w_steam_iface *); +extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_001_FnTable(void *); +extern void destroy_winIVRNotifications_IVRNotifications_001(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002(void *); +extern struct w_steam_iface *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); +extern void destroy_winIVRNotifications_IVRNotifications_002(struct w_steam_iface *); +extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003(void *); +extern struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); +extern void destroy_winIVROverlayView_IVROverlayView_003(struct w_steam_iface *); +extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_001(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_001_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_001(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_002(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_002_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_002(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_003(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_003_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_003(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_004(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_004_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_004(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_005(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_005_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_005(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_007(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_007_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_007(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_007_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_008(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_008_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_008(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_008_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_010(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_010_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_010(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_010_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_011(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_011_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_011(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_011_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_012(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_012_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_012(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_012_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_013(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_013_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_013(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_013_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_014(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_014_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_014(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_014_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_016(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_016_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_016(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_016_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_017(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_017_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_017(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_017_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_018(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_018_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_018(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_018_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_019(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_019_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_019(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_019_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_020(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_020_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_020(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_020_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_021(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_021_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_021(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_021_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_022(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_022_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_022(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_022_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_024(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_024_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_024(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_024_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_025(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_025_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_025(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_025_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_026(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_026_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_026(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_026_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_027(void *); +extern struct w_steam_iface *create_winIVROverlay_IVROverlay_027_FnTable(void *); +extern void destroy_winIVROverlay_IVROverlay_027(struct w_steam_iface *); +extern void destroy_winIVROverlay_IVROverlay_027_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006(void *); +extern struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006(struct w_steam_iface *); +extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRResources_IVRResources_001(void *); +extern struct w_steam_iface *create_winIVRResources_IVRResources_001_FnTable(void *); +extern void destroy_winIVRResources_IVRResources_001(struct w_steam_iface *); +extern void destroy_winIVRResources_IVRResources_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001(void *); +extern struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001(struct w_steam_iface *); +extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_001(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_001_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_001(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_002(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_002_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_002(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_003(void *); +extern struct w_steam_iface *create_winIVRSettings_IVRSettings_003_FnTable(void *); +extern void destroy_winIVRSettings_IVRSettings_003(struct w_steam_iface *); +extern void destroy_winIVRSettings_IVRSettings_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_003(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_003_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_003(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_004(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_004_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_004(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_005(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_005_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_005(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_006(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_006_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_006(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_006_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_009(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_009_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_009(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_009_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_010(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_010_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_010(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_010_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_011(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_011_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_011(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_011_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_012(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_012_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_012(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_012_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_014(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_014_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_014(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_014_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_015(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_015_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_015(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_015_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_016(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_016_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_016(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_016_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_017(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_017_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_017(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_017_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_019(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_019_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_019(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_019_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_020(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_020_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_020(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_020_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_021(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_021_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_021(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_021_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_022(void *); +extern struct w_steam_iface *create_winIVRSystem_IVRSystem_022_FnTable(void *); +extern void destroy_winIVRSystem_IVRSystem_022(struct w_steam_iface *); +extern void destroy_winIVRSystem_IVRSystem_022_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(struct w_steam_iface *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); +extern struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(struct w_steam_iface *); +extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(struct w_steam_iface *); diff --git a/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_main.c new file mode 100644 index 000000000..4713869db --- /dev/null +++ b/vrclient_x64/vrclient_main.c @@ -0,0 +1,532 @@ +#include +#include +#include +#include +#include + +#include "windef.h" +#include "winbase.h" +#include "winnls.h" +#include "winternl.h" +#include "wine/debug.h" + +#include "initguid.h" +#define COBJMACROS +#include "d3d11_4.h" +#include "dxvk-interop.h" + +#include "vrclient_private.h" + +#include "flatapi.h" + +#include "wine/unixlib.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +CREATE_TYPE_INFO_VTABLE; + +struct compositor_data compositor_data = {0}; + +BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) +{ + TRACE("(%p, %u, %p)\n", instance, reason, reserved); + + switch (reason) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); +#ifdef __x86_64__ + init_type_info_rtti( (char *)instance ); + init_rtti( (char *)instance ); +#endif /* __x86_64__ */ + break; + + case DLL_PROCESS_DETACH: + if (compositor_data.client_core_linux_side) + { + struct IVRClientCore_IVRClientCore_003_Cleanup_params params = + { + .linux_side = compositor_data.client_core_linux_side, + }; + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_Cleanup, ¶ms ); + compositor_data.client_core_linux_side = NULL; + } + break; + } + + return TRUE; +} + +static BOOL array_reserve(void **elements, SIZE_T *capacity, SIZE_T count, SIZE_T size) +{ + SIZE_T max_capacity, new_capacity; + void *new_elements; + + if (count <= *capacity) + return TRUE; + + max_capacity = ~(SIZE_T)0 / size; + if (count > max_capacity) + return FALSE; + + new_capacity = max(1, *capacity); + while (new_capacity < count && new_capacity <= max_capacity / 2) + new_capacity *= 2; + if (new_capacity < count) + new_capacity = count; + + if (!*elements) + new_elements = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, new_capacity * size); + else + new_elements = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, *elements, new_capacity * size); + if (!new_elements) + return FALSE; + + *elements = new_elements; + *capacity = new_capacity; + return TRUE; +} + +struct w_steam_iface *create_win_interface(const char *name, void *linux_side) +{ + iface_constructor constructor; + + TRACE("trying to create %s\n", name); + + if (!linux_side) return NULL; + if ((constructor = find_iface_constructor( name ))) return constructor( linux_side ); + + ERR("Don't recognize interface name: %s\n", name); + return NULL; +} + +static int load_vrclient(void) +{ + static const WCHAR PROTON_VR_RUNTIME_W[] = {'P','R','O','T','O','N','_','V','R','_','R','U','N','T','I','M','E',0}; + static const WCHAR winevulkanW[] = {'w','i','n','e','v','u','l','k','a','n','.','d','l','l',0}; + static BOOL loaded; + + struct vrclient_init_params params = {.winevulkan = LoadLibraryW( winevulkanW )}; + WCHAR pathW[PATH_MAX]; + DWORD sz; + +#ifdef _WIN64 + static const char append_path[] = "/bin/linux64/vrclient.so"; +#else + static const char append_path[] = "/bin/vrclient.so"; +#endif + + if (loaded) return 1; + + /* PROTON_VR_RUNTIME is provided by the proton setup script */ + if(!GetEnvironmentVariableW(PROTON_VR_RUNTIME_W, pathW, ARRAY_SIZE(pathW))) + { + DWORD type, size; + LSTATUS status; + HKEY vr_key; + + if ((status = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\VR", 0, KEY_READ, &vr_key))) + { + WINE_WARN("Could not create key, status %#x.\n", status); + return 0; + } + + size = sizeof(pathW); + if ((status = RegQueryValueExW(vr_key, PROTON_VR_RUNTIME_W, NULL, &type, (BYTE *)pathW, &size))) + { + WINE_WARN("Could not query value, status %#x.\n", status); + RegCloseKey(vr_key); + return 0; + } + if (type != REG_SZ) + { + WINE_ERR("Unexpected value type %#x.\n", type); + RegCloseKey(vr_key); + return 0; + } + RegCloseKey(vr_key); + } + + sz = WideCharToMultiByte(CP_UNIXCP, 0, pathW, -1, NULL, 0, NULL, NULL); + if(!sz) + { + ERR("Can't convert path to unixcp! %s\n", wine_dbgstr_w(pathW)); + return 0; + } + + params.unix_path = HeapAlloc( GetProcessHeap(), 0, sz + sizeof(append_path) ); + + sz = WideCharToMultiByte( CP_UNIXCP, 0, pathW, -1, params.unix_path, sz, NULL, NULL ); + if(!sz) + { + ERR("Can't convert path to unixcp! %s\n", wine_dbgstr_w(pathW)); + HeapFree(GetProcessHeap(), 0, params.unix_path); + return 0; + } + + strcat( params.unix_path, append_path ); + + TRACE( "got openvr runtime path: %s\n", params.unix_path ); + + VRCLIENT_CALL( vrclient_init, ¶ms ); + if (params._ret) loaded = TRUE; + + HeapFree( GetProcessHeap(), 0, params.unix_path ); + return loaded; +} + +void *CDECL HmdSystemFactory(const char *name, int *return_code) +{ + struct vrclient_HmdSystemFactory_params params = {.name = name, .return_code = return_code}; + TRACE("name: %s, return_code: %p\n", name, return_code); + if (!load_vrclient()) return NULL; + VRCLIENT_CALL( vrclient_HmdSystemFactory, ¶ms ); + return create_win_interface( name, params._ret ); +} + +void *CDECL VRClientCoreFactory(const char *name, int *return_code) +{ + struct vrclient_VRClientCoreFactory_params params = {.name = name, .return_code = return_code}; + TRACE("name: %s, return_code: %p\n", name, return_code); + if (!load_vrclient()) return NULL; + VRCLIENT_CALL( vrclient_VRClientCoreFactory, ¶ms ); + return create_win_interface( name, params._ret ); +} + +static int8_t is_hmd_present_reg(void) +{ + DWORD type, value, wait_status, size; + DWORD is_hmd_present = 0; + LSTATUS status; + HANDLE event; + HKEY vr_key; + + if ((status = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\VR", 0, KEY_READ, &vr_key))) + { + WINE_ERR("Could not create key, status %#x.\n", status); + return FALSE; + } + + size = sizeof(value); + if ((status = RegQueryValueExA(vr_key, "state", NULL, &type, (BYTE *)&value, &size))) + { + WINE_ERR("Could not query value, status %#x.\n", status); + RegCloseKey(vr_key); + return FALSE; + } + if (type != REG_DWORD) + { + WINE_ERR("Unexpected value type %#x.\n", type); + RegCloseKey(vr_key); + return FALSE; + } + + if (value) + { + RegCloseKey(vr_key); + return value == 1; + } + + event = CreateEventA( NULL, FALSE, FALSE, NULL ); + while (1) + { + if (RegNotifyChangeKeyValue(vr_key, FALSE, REG_NOTIFY_CHANGE_LAST_SET, event, TRUE)) + { + WINE_ERR("Error registering registry change notification.\n"); + goto done; + } + size = sizeof(value); + if ((status = RegQueryValueExA(vr_key, "state", NULL, &type, (BYTE *)&value, &size))) + { + WINE_ERR("Could not query value, status %#x.\n", status); + goto done; + } + if (value) + break; + while ((wait_status = WaitForSingleObject(event, 1000)) == WAIT_TIMEOUT) + WINE_ERR("VR state wait timeout.\n"); + + if (wait_status != WAIT_OBJECT_0) + { + WINE_ERR("Got unexpected wait status %#x.\n", wait_status); + break; + } + } + + if (value != 1) + goto done; + + size = sizeof(is_hmd_present); + if ((status = RegQueryValueExA(vr_key, "is_hmd_present", NULL, &type, (BYTE *)&is_hmd_present, &size))) + WINE_ERR("Could not query is_hmd_present value, status %#x.\n", status); + +done: + CloseHandle(event); + RegCloseKey(vr_key); + return is_hmd_present; +} + +static void *ivrclientcore_get_generic_interface( void *object, const char *name_and_version, struct client_core_data *user_data ) +{ + struct w_steam_iface *win_object; + struct generic_interface *iface; + iface_destructor destructor; + + TRACE( "%p %p\n", object, name_and_version ); + + if (!(win_object = create_win_interface(name_and_version, object))) + { + ERR("Failed to create win object %s.\n", name_and_version); + return NULL; + } + + if ((destructor = find_iface_destructor( name_and_version ))) + { + EnterCriticalSection(&user_data->critical_section); + if (array_reserve((void **)&user_data->created_interfaces, + &user_data->created_interfaces_size, user_data->created_interface_count + 1, + sizeof(*user_data->created_interfaces))) + { + iface = &user_data->created_interfaces[user_data->created_interface_count++]; + iface->object = win_object; + iface->dtor = destructor; + } + else + { + ERR("Failed to add interface to array.\n"); + } + LeaveCriticalSection(&user_data->critical_section); + } + + if (name_and_version && !strncmp(name_and_version, "FnTable:", 8)) + return *((void **)win_object); + return win_object; +} + +static void destroy_compositor_data(void) +{ + TRACE("Destroying compositor data.\n"); + memset(&compositor_data, 0, sizeof(compositor_data)); +} + +static void ivrclientcore_cleanup( struct client_core_data *user_data ) +{ + struct generic_interface *iface; + SIZE_T i; + + EnterCriticalSection(&user_data->critical_section); + for (i = 0; i < user_data->created_interface_count; ++i) + { + iface = &user_data->created_interfaces[i]; + + iface->dtor(iface->object); + } + HeapFree(GetProcessHeap(), 0, user_data->created_interfaces); + user_data->created_interfaces = NULL; + user_data->created_interfaces_size = 0; + user_data->created_interface_count = 0; + LeaveCriticalSection(&user_data->critical_section); + + DeleteCriticalSection(&user_data->critical_section); +} + +w_Texture_t vrclient_translate_texture_dxvk( const w_Texture_t *texture, w_VRVulkanTextureData_t *vkdata, + IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, + VkImageLayout *image_layout, VkImageCreateInfo *image_info ) +{ + w_Texture_t vktexture; + VkImage image_handle; + + dxvk_surface->lpVtbl->GetDevice(dxvk_surface, p_dxvk_device); + + (*p_dxvk_device)->lpVtbl->GetVulkanHandles(*p_dxvk_device, &vkdata->m_pInstance, + &vkdata->m_pPhysicalDevice, &vkdata->m_pDevice); + + (*p_dxvk_device)->lpVtbl->GetSubmissionQueue(*p_dxvk_device, &vkdata->m_pQueue, &vkdata->m_nQueueFamilyIndex); + + image_info->sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; + image_info->pNext = NULL; + + dxvk_surface->lpVtbl->GetVulkanImageInfo(dxvk_surface, &image_handle, image_layout, image_info); + + vkdata->m_nImage = (uint64_t)image_handle; + vkdata->m_nWidth = image_info->extent.width; + vkdata->m_nHeight = image_info->extent.height; + vkdata->m_nFormat = image_info->format; + vkdata->m_nSampleCount = image_info->samples; + + vktexture = *texture; + vktexture.handle = vkdata; + vktexture.eType = TextureType_Vulkan; + + return vktexture; +} + +uint32_t __thiscall winIVRClientCore_IVRClientCore_002_Init( struct w_steam_iface *_this, uint32_t eApplicationType ) +{ + struct IVRClientCore_IVRClientCore_002_Init_params params = + { + .linux_side = _this->u_iface, + .eApplicationType = eApplicationType, + }; + + TRACE( "%p\n", _this ); + + InitializeCriticalSection( &_this->user_data.critical_section ); + + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_Init, ¶ms ); + if (params._ret) WARN( "error %#x\n", params._ret ); + return params._ret; +} + +void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup( struct w_steam_iface *_this ) +{ + struct IVRClientCore_IVRClientCore_002_Cleanup_params params = + { + .linux_side = _this->u_iface, + }; + TRACE( "%p\n", _this ); + ivrclientcore_cleanup( &_this->user_data ); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_Cleanup, ¶ms ); + destroy_compositor_data(); +} + +void *__thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface( struct w_steam_iface *_this, + const char *pchNameAndVersion, uint32_t *peError ) +{ + struct IVRClientCore_IVRClientCore_002_GetGenericInterface_params params = + { + .linux_side = _this->u_iface, + .pchNameAndVersion = pchNameAndVersion, + .peError = peError, + }; + + TRACE( "%p\n", _this ); + + /* 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 (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) params.pchNameAndVersion += 8; + + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_GetGenericInterface, ¶ms ); + + if (!params._ret) + { + WARN( "Failed to create %s.\n", pchNameAndVersion ); + return NULL; + } + + params._ret = ivrclientcore_get_generic_interface( params._ret, pchNameAndVersion, &_this->user_data ); + return params._ret; +} + +int8_t __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent( struct w_steam_iface *_this ) +{ + struct IVRClientCore_IVRClientCore_002_BIsHmdPresent_params params = {.linux_side = _this->u_iface}; + + TRACE( "linux_side %p, compositor_data.client_core_linux_side %p.\n", _this->u_iface, + compositor_data.client_core_linux_side ); + + /* BIsHmdPresent() currently always returns FALSE on Linux if called before Init(). + * Return true if the value stored by steam.exe helper in registry says the HMD is presnt. */ + if (compositor_data.client_core_linux_side || !is_hmd_present_reg()) + { + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_BIsHmdPresent, ¶ms ); + return params._ret; + } + + return TRUE; +} + +uint32_t __thiscall winIVRClientCore_IVRClientCore_003_Init( struct w_steam_iface *_this, + uint32_t eApplicationType, const char *pStartupInfo ) +{ + struct IVRClientCore_IVRClientCore_003_Init_params params = + { + .linux_side = _this->u_iface, + .eApplicationType = eApplicationType, + .pStartupInfo = pStartupInfo, + }; + + TRACE( "%p\n", _this ); + + InitializeCriticalSection( &_this->user_data.critical_section ); + + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_Init, ¶ms ); + + if (params._ret) WARN( "error %#x\n", params._ret ); + else compositor_data.client_core_linux_side = params.linux_side; + + return params._ret; +} + +void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup( struct w_steam_iface *_this ) +{ + struct IVRClientCore_IVRClientCore_003_Cleanup_params params = + { + .linux_side = _this->u_iface, + }; + TRACE( "%p\n", _this ); + ivrclientcore_cleanup( &_this->user_data ); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_Cleanup, ¶ms ); + destroy_compositor_data(); +} + +void *__thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface( struct w_steam_iface *_this, + const char *pchNameAndVersion, uint32_t *peError ) +{ + struct IVRClientCore_IVRClientCore_003_GetGenericInterface_params params = + { + .linux_side = _this->u_iface, + .pchNameAndVersion = pchNameAndVersion, + .peError = peError, + }; + + TRACE( "%p\n", _this ); + + /* 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 (pchNameAndVersion && !strncmp( pchNameAndVersion, "FnTable:", 8 )) params.pchNameAndVersion += 8; + + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_GetGenericInterface, ¶ms ); + + if (!params._ret) + { + WARN( "Failed to create %s.\n", pchNameAndVersion ); + return NULL; + } + + params._ret = ivrclientcore_get_generic_interface( params._ret, pchNameAndVersion, &_this->user_data ); + return params._ret; +} + +int8_t __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent( struct w_steam_iface *_this ) +{ + struct IVRClientCore_IVRClientCore_003_BIsHmdPresent_params params = {.linux_side = _this->u_iface}; + + TRACE( "linux_side %p, compositor_data.client_core_linux_side %p.\n", _this->u_iface, + compositor_data.client_core_linux_side ); + + /* BIsHmdPresent() currently always returns FALSE on Linux if called before Init(). + * Return true if the value stored by steam.exe helper in registry says the HMD is presnt. */ + if (compositor_data.client_core_linux_side || !is_hmd_present_reg()) + { + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_BIsHmdPresent, ¶ms ); + return params._ret; + } + + return TRUE; +} + +const w_CameraVideoStreamFrame_t_0914 * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + static w_CameraVideoStreamFrame_t_0914 w_frame; + struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + ._ret = &w_frame, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, ¶ms ); + return params._ret; +} diff --git a/vrclient_x64/vrclient_private.h b/vrclient_x64/vrclient_private.h new file mode 100644 index 000000000..c65ba94dd --- /dev/null +++ b/vrclient_x64/vrclient_private.h @@ -0,0 +1,85 @@ +#include +#include +#include + +#include + +#ifndef __cplusplus +#include "unixlib.h" +#include "wine/debug.h" +#include "cxx.h" +#else +typedef void (*vtable_ptr)(void); +#endif + +void *create_LinuxMatchmakingServerListResponse(void *win); + +#ifndef __cplusplus +typedef struct ID3D11Device ID3D11Device; +typedef struct IDXGIVkInteropDevice IDXGIVkInteropDevice; + +struct client_core_data +{ + CRITICAL_SECTION critical_section; + struct generic_interface *created_interfaces; + SIZE_T created_interface_count; + SIZE_T created_interfaces_size; +}; + +struct compositor_data +{ + ID3D11Device *d3d11_device; + IDXGIVkInteropDevice *dxvk_device; + BOOL d3d11_explicit_handoff, handoff_called; + void *client_core_linux_side; + +#ifndef __x86_64__ + /* Digital action state change fixup hack. */ + struct + { + uint64_t action; + uint64_t origin; + LARGE_INTEGER update_qpf_time; + BOOL previous_state; + } digital_actions_state[128]; + unsigned int digital_action_count; + LARGE_INTEGER qpf_freq; +#endif +}; + +extern struct compositor_data compositor_data; + +struct w_steam_iface +{ + vtable_ptr *vtable; + void *u_iface; + union + { + struct client_core_data user_data; /* for IVRClientCore */ + }; +}; + +typedef struct w_steam_iface *(*iface_constructor)( void * ); +extern iface_constructor find_iface_constructor( const char *iface_version ) DECLSPEC_HIDDEN; +typedef void (*iface_destructor)( struct w_steam_iface * ); +extern iface_destructor find_iface_destructor( const char *iface_version ) DECLSPEC_HIDDEN; + +extern void init_rtti( char *base ) DECLSPEC_HIDDEN; + +struct w_steam_iface *create_win_interface(const char *name, void *linux_side); + +struct generic_interface +{ + struct w_steam_iface *object; + void (*dtor)(struct w_steam_iface *); +}; + +#ifdef __dxvk_interop_h__ +extern w_Texture_t vrclient_translate_texture_dxvk( const w_Texture_t *texture, w_VRVulkanTextureData_t *vkdata, + IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, + VkImageLayout *image_layout, VkImageCreateInfo *image_info ); +#endif /* __dxvk_interop_h__ */ + +#include "vrclient_generated.h" + +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_structs.h b/vrclient_x64/vrclient_structs.h new file mode 100644 index 000000000..fec05164f --- /dev/null +++ b/vrclient_x64/vrclient_structs.h @@ -0,0 +1,133 @@ +#include +#include +#include + +#include +#include + +#ifdef __cplusplus +#include +extern "C" +{ +#endif /* __cplusplus */ + +#ifdef __cplusplus +#define U64_ARRAY( type, count, name ) std::array name +#define U32_ARRAY( type, count, name ) std::array name +#define W64_ARRAY( type, count, name ) std::array name +#define W32_ARRAY( type, count, name ) std::array name +#else +#define U64_ARRAY( type, count, name ) type name[count] +#define U32_ARRAY( type, count, name ) type name[count] +#define W64_ARRAY( type, count, name ) type name[count] +#define W32_ARRAY( type, count, name ) type name[count] +#endif + +#define W_CDECL __cdecl +#define W_STDCALL __stdcall +#define U_CDECL __attribute__((sysv_abi)) +#define U_STDCALL __attribute__((sysv_abi)) + +#ifdef __i386__ +#define U64_PTR( decl, name ) uint64_t name +#define U32_PTR( decl, name ) decl +#define W64_PTR( decl, name ) uint64_t name +#define W32_PTR( decl, name ) decl +#define U_PTR U32_PTR +#define W_PTR W32_PTR +#endif + +#ifdef __x86_64__ +#define U64_PTR( decl, name ) decl +#define U32_PTR( decl, name ) uint32_t name +#define W64_PTR( decl, name ) decl +#define W32_PTR( decl, name ) uint32_t name +#define U_PTR U64_PTR +#define W_PTR W64_PTR +#endif + +typedef struct HmdColor_t HmdColor_t; +typedef struct HmdMatrix33_t HmdMatrix33_t; +typedef struct HmdMatrix34_t HmdMatrix34_t; +typedef struct HmdMatrix44_t HmdMatrix44_t; +typedef struct HmdQuad_t HmdQuad_t; +typedef struct HmdQuaternion_t HmdQuaternion_t; +typedef struct HmdQuaternionf_t HmdQuaternionf_t; +typedef struct HmdVector2_t HmdVector2_t; +typedef struct HmdVector3_t HmdVector3_t; +typedef struct HmdVector3d_t HmdVector3d_t; +typedef struct HmdVector4_t HmdVector4_t; + +struct HmdColor_t { float r, g, b, a; }; +struct HmdMatrix33_t { float m[3][4]; }; +struct HmdMatrix34_t { float m[3][4]; }; +struct HmdMatrix44_t { float m[4][4]; }; +struct HmdQuaternion_t { double w, x, y, z; }; +struct HmdQuaternionf_t { float w, x, y, z; }; +struct HmdVector2_t { float v[2]; }; +struct HmdVector3_t { float v[3]; }; +struct HmdVector3d_t { double v[3]; }; +struct HmdVector4_t { float v[4]; }; +struct HmdQuad_t { HmdVector3_t vCorners[4]; }; + +typedef struct IntersectionMaskRectangle_t IntersectionMaskRectangle_t; +struct IntersectionMaskRectangle_t +{ + float m_flTopLeftX; + float m_flTopLeftY; + float m_flWidth; + float m_flHeight; +}; + +typedef struct IntersectionMaskCircle_t IntersectionMaskCircle_t; +struct IntersectionMaskCircle_t +{ + float m_flCenterX; + float m_flCenterY; + float m_flRadius; +}; + +typedef struct VkDevice_T VkDevice_T; +typedef struct VkInstance_T VkInstance_T; +typedef struct VkPhysicalDevice_T VkPhysicalDevice_T; +typedef struct VkQueue_T VkQueue_T; + +#include "vrclient_structs_generated.h" + +#define VROverlayError_InvalidHandle 11 +#define VRRenderModelError_None 0 +#define VRRenderModelError_Loading 100 +#define VRRenderModelError_NotSupported 200 +#define VRRenderModelError_InvalidArg 300 +#define VRRenderModelError_InvalidTexture 400 + +#define VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff 2 + +enum EVRSubmitFlags +{ + Submit_Default = 0x00, + Submit_LensDistortionAlreadyApplied = 0x01, + Submit_GlRenderBuffer = 0x02, + Submit_Reserved = 0x04, + Submit_TextureWithPose = 0x08, + Submit_TextureWithDepth = 0x10, + Submit_FrameDiscontinuty = 0x20, + Submit_VulkanTextureWithArrayData = 0x40, + Submit_GlArrayTexture = 0x80, + Submit_Reserved2 = 0x08000, + Submit_Reserved3 = 0x10000, +}; + +enum ETextureType +{ + TextureType_DirectX = 0, + TextureType_OpenGL = 1, + TextureType_Vulkan = 2, + TextureType_IOSurface = 3, + TextureType_DirectX12 = 4, + TextureType_DXGISharedHandle = 5, +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif /* __cplusplus */ diff --git a/vrclient_x64/vrclient_structs_generated.h b/vrclient_x64/vrclient_structs_generated.h new file mode 100644 index 000000000..96370f1be --- /dev/null +++ b/vrclient_x64/vrclient_structs_generated.h @@ -0,0 +1,6226 @@ +typedef struct VREvent_ApplicationLaunch_t VREvent_ApplicationLaunch_t; +#pragma pack( push, 4 ) +struct VREvent_ApplicationLaunch_t +{ + uint32_t pid; + uint32_t unArgsHandle; +}; +#pragma pack( pop ) + +typedef struct VREvent_Chaperone_t VREvent_Chaperone_t; +#pragma pack( push, 8 ) +struct VREvent_Chaperone_t +{ + uint64_t m_nPreviousUniverse; + uint64_t m_nCurrentUniverse; +}; +#pragma pack( pop ) + +typedef struct VREvent_Controller_t VREvent_Controller_t; +#pragma pack( push, 4 ) +struct VREvent_Controller_t +{ + uint32_t button; +}; +#pragma pack( pop ) + +typedef struct VREvent_DualAnalog_t VREvent_DualAnalog_t; +#pragma pack( push, 4 ) +struct VREvent_DualAnalog_t +{ + float x; + float y; + float transformedX; + float transformedY; + uint32_t which; +}; +#pragma pack( pop ) + +typedef struct VREvent_EditingCameraSurface_t VREvent_EditingCameraSurface_t; +#pragma pack( push, 8 ) +struct VREvent_EditingCameraSurface_t +{ + uint64_t overlayHandle; + uint32_t nVisualMode; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct VREvent_HDCPError_t VREvent_HDCPError_t; +#pragma pack( push, 4 ) +struct VREvent_HDCPError_t +{ + uint32_t eCode; +}; +#pragma pack( pop ) + +typedef struct VREvent_HapticVibration_t VREvent_HapticVibration_t; +#pragma pack( push, 8 ) +struct VREvent_HapticVibration_t +{ + uint64_t containerHandle; + uint64_t componentHandle; + float fDurationSeconds; + float fFrequency; + float fAmplitude; + uint8_t __pad_28[4]; +}; +#pragma pack( pop ) + +typedef struct VREvent_InputActionManifestLoad_t VREvent_InputActionManifestLoad_t; +#pragma pack( push, 8 ) +struct VREvent_InputActionManifestLoad_t +{ + uint64_t pathAppKey; + uint64_t pathMessage; + uint64_t pathMessageParam; + uint64_t pathManifestPath; +}; +#pragma pack( pop ) + +typedef struct VREvent_InputBindingLoad_t_1016 VREvent_InputBindingLoad_t_1016; +#pragma pack( push, 8 ) +struct VREvent_InputBindingLoad_t_1016 +{ + uint64_t ulAppContainer; + uint64_t pathMessage; + uint64_t pathUrl; + uint64_t pathControllerType; +}; +#pragma pack( pop ) + +typedef struct VREvent_InputBindingLoad_t_1015 VREvent_InputBindingLoad_t_1015; +#pragma pack( push, 8 ) +struct VREvent_InputBindingLoad_t_1015 +{ + uint64_t ulAppContainer; + uint64_t pathMessage; + uint64_t pathUrl; +}; +#pragma pack( pop ) + +typedef struct VREvent_Ipd_t VREvent_Ipd_t; +#pragma pack( push, 4 ) +struct VREvent_Ipd_t +{ + float ipdMeters; +}; +#pragma pack( pop ) + +typedef struct VREvent_Keyboard_t_0912 VREvent_Keyboard_t_0912; +#pragma pack( push, 8 ) +struct VREvent_Keyboard_t_0912 +{ + char (cNewInput)[8]; + uint64_t uUserValue; +}; +#pragma pack( pop ) + +typedef struct VREvent_Keyboard_t_0910 VREvent_Keyboard_t_0910; +#pragma pack( push, 4 ) +struct VREvent_Keyboard_t_0910 +{ + char (cNewInput)[12]; + uint32_t uFlags; +}; +#pragma pack( pop ) + +typedef struct VREvent_MessageOverlay_t VREvent_MessageOverlay_t; +#pragma pack( push, 4 ) +struct VREvent_MessageOverlay_t +{ + uint32_t unVRMessageOverlayResponse; +}; +#pragma pack( pop ) + +typedef struct VREvent_Mouse_t VREvent_Mouse_t; +#pragma pack( push, 4 ) +struct VREvent_Mouse_t +{ + float x; + float y; + uint32_t button; +}; +#pragma pack( pop ) + +typedef struct VREvent_Notification_t_093 VREvent_Notification_t_093; +#pragma pack( push, 8 ) +struct VREvent_Notification_t_093 +{ + uint64_t ulUserValue; + uint32_t notificationId; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct VREvent_Notification_t_092 VREvent_Notification_t_092; +#pragma pack( push, 4 ) +struct VREvent_Notification_t_092 +{ + float x; + float y; + uint32_t notificationId; +}; +#pragma pack( pop ) + +typedef struct VREvent_Overlay_t_1168 VREvent_Overlay_t_1168; +#pragma pack( push, 8 ) +struct VREvent_Overlay_t_1168 +{ + uint64_t overlayHandle; + uint64_t devicePath; + uint64_t memoryBlockId; +}; +#pragma pack( pop ) + +typedef struct VREvent_Overlay_t_1014 VREvent_Overlay_t_1014; +#pragma pack( push, 8 ) +struct VREvent_Overlay_t_1014 +{ + uint64_t overlayHandle; + uint64_t devicePath; +}; +#pragma pack( pop ) + +typedef struct VREvent_Overlay_t_092 VREvent_Overlay_t_092; +#pragma pack( push, 8 ) +struct VREvent_Overlay_t_092 +{ + uint64_t overlayHandle; +}; +#pragma pack( pop ) + +typedef struct VREvent_PerformanceTest_t VREvent_PerformanceTest_t; +#pragma pack( push, 4 ) +struct VREvent_PerformanceTest_t +{ + uint32_t m_nFidelityLevel; +}; +#pragma pack( pop ) + +typedef struct VREvent_Process_t_1210 VREvent_Process_t_1210; +#pragma pack( push, 4 ) +struct VREvent_Process_t_1210 +{ + uint32_t pid; + uint32_t oldPid; + int8_t bForced; + int8_t bConnectionLost; + uint8_t __pad_10[2]; +}; +#pragma pack( pop ) + +typedef struct VREvent_Process_t_0912 VREvent_Process_t_0912; +#pragma pack( push, 4 ) +struct VREvent_Process_t_0912 +{ + uint32_t pid; + uint32_t oldPid; + int8_t bForced; + uint8_t __pad_9[3]; +}; +#pragma pack( pop ) + +typedef struct VREvent_Process_t_090 VREvent_Process_t_090; +#pragma pack( push, 4 ) +struct VREvent_Process_t_090 +{ + uint32_t pid; + uint32_t oldPid; +}; +#pragma pack( pop ) + +typedef struct VREvent_ProgressUpdate_t VREvent_ProgressUpdate_t; +#pragma pack( push, 8 ) +struct VREvent_ProgressUpdate_t +{ + uint64_t ulApplicationPropertyContainer; + uint64_t pathDevice; + uint64_t pathInputSource; + uint64_t pathProgressAction; + uint64_t pathIcon; + float fProgress; + uint8_t __pad_44[4]; +}; +#pragma pack( pop ) + +typedef struct VREvent_Property_t VREvent_Property_t; +#pragma pack( push, 8 ) +struct VREvent_Property_t +{ + uint64_t container; + uint32_t prop; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +typedef struct VREvent_Reserved_t_113b VREvent_Reserved_t_113b; +#pragma pack( push, 8 ) +struct VREvent_Reserved_t_113b +{ + uint64_t reserved0; + uint64_t reserved1; + uint64_t reserved2; + uint64_t reserved3; + uint64_t reserved4; + uint64_t reserved5; +}; +#pragma pack( pop ) + +typedef struct VREvent_Reserved_t_1013 VREvent_Reserved_t_1013; +#pragma pack( push, 8 ) +struct VREvent_Reserved_t_1013 +{ + uint64_t reserved0; + uint64_t reserved1; + uint64_t reserved2; + uint64_t reserved3; +}; +#pragma pack( pop ) + +typedef struct VREvent_Reserved_t_090 VREvent_Reserved_t_090; +#pragma pack( push, 8 ) +struct VREvent_Reserved_t_090 +{ + uint64_t reserved0; + uint64_t reserved1; +}; +#pragma pack( pop ) + +typedef struct VREvent_ScreenshotProgress_t VREvent_ScreenshotProgress_t; +#pragma pack( push, 4 ) +struct VREvent_ScreenshotProgress_t +{ + float progress; +}; +#pragma pack( pop ) + +typedef struct VREvent_Screenshot_t VREvent_Screenshot_t; +#pragma pack( push, 4 ) +struct VREvent_Screenshot_t +{ + uint32_t handle; + uint32_t type; +}; +#pragma pack( pop ) + +typedef struct VREvent_Scroll_t_1322 VREvent_Scroll_t_1322; +#pragma pack( push, 4 ) +struct VREvent_Scroll_t_1322 +{ + float xdelta; + float ydelta; + uint32_t unused; + float viewportscale; +}; +#pragma pack( pop ) + +typedef struct VREvent_Scroll_t_0915 VREvent_Scroll_t_0915; +#pragma pack( push, 4 ) +struct VREvent_Scroll_t_0915 +{ + float xdelta; + float ydelta; + uint32_t repeatCount; +}; +#pragma pack( pop ) + +typedef struct VREvent_SeatedZeroPoseReset_t VREvent_SeatedZeroPoseReset_t; +#pragma pack( push, 1 ) +struct VREvent_SeatedZeroPoseReset_t +{ + int8_t bResetBySystemMenu; +}; +#pragma pack( pop ) + +typedef struct VREvent_ShowDevTools_t VREvent_ShowDevTools_t; +#pragma pack( push, 4 ) +struct VREvent_ShowDevTools_t +{ + int32_t nBrowserIdentifier; +}; +#pragma pack( pop ) + +typedef struct VREvent_ShowUI_t VREvent_ShowUI_t; +#pragma pack( push, 4 ) +struct VREvent_ShowUI_t +{ + uint32_t eType; +}; +#pragma pack( pop ) + +typedef struct VREvent_SpatialAnchor_t VREvent_SpatialAnchor_t; +#pragma pack( push, 4 ) +struct VREvent_SpatialAnchor_t +{ + uint32_t unHandle; +}; +#pragma pack( pop ) + +typedef struct VREvent_Status_t VREvent_Status_t; +#pragma pack( push, 4 ) +struct VREvent_Status_t +{ + uint32_t statusState; +}; +#pragma pack( pop ) + +typedef struct VREvent_TouchPadMove_t VREvent_TouchPadMove_t; +#pragma pack( push, 4 ) +struct VREvent_TouchPadMove_t +{ + int8_t bFingerDown; + uint8_t __pad_1[3]; + float flSecondsFingerDown; + float fValueXFirst; + float fValueYFirst; + float fValueXRaw; + float fValueYRaw; +}; +#pragma pack( pop ) + +typedef struct VREvent_WebConsole_t VREvent_WebConsole_t; +#pragma pack( push, 8 ) +struct VREvent_WebConsole_t +{ + uint64_t webConsoleHandle; +}; +#pragma pack( pop ) + +typedef struct TrackedDevicePose_t TrackedDevicePose_t; +#pragma pack( push, 4 ) +struct TrackedDevicePose_t +{ + HmdMatrix34_t mDeviceToAbsoluteTracking; + HmdVector3_t vVelocity; + HmdVector3_t vAngularVelocity; + uint32_t eTrackingResult; + int8_t bPoseIsValid; + int8_t bDeviceIsConnected; + uint8_t __pad_78[2]; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1168 VREvent_Data_t_1168; +#pragma pack( push, 8 ) +union VREvent_Data_t_1168 +{ + VREvent_Reserved_t_113b reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_1322 scroll; + VREvent_Process_t_1210 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1168 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; + VREvent_ShowDevTools_t showDevTools; + VREvent_HDCPError_t hdcpError; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_11030 VREvent_Data_t_11030; +#pragma pack( push, 8 ) +union VREvent_Data_t_11030 +{ + VREvent_Reserved_t_113b reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_1322 scroll; + VREvent_Process_t_1210 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; + VREvent_ShowDevTools_t showDevTools; + VREvent_HDCPError_t hdcpError; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1322 VREvent_Data_t_1322; +#pragma pack( push, 8 ) +union VREvent_Data_t_1322 +{ + VREvent_Reserved_t_113b reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_1322 scroll; + VREvent_Process_t_1210 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; + VREvent_ShowDevTools_t showDevTools; + VREvent_HDCPError_t hdcpError; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1210 VREvent_Data_t_1210; +#pragma pack( push, 8 ) +union VREvent_Data_t_1210 +{ + VREvent_Reserved_t_113b reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_1210 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_113b VREvent_Data_t_113b; +#pragma pack( push, 8 ) +union VREvent_Data_t_113b +{ + VREvent_Reserved_t_113b reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; + VREvent_ProgressUpdate_t progressUpdate; + VREvent_ShowUI_t showUi; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1016 VREvent_Data_t_1016; +#pragma pack( push, 8 ) +union VREvent_Data_t_1016 +{ + VREvent_Reserved_t_1013 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1016 inputBinding; + VREvent_InputActionManifestLoad_t actionManifest; + VREvent_SpatialAnchor_t spatialAnchor; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1015 VREvent_Data_t_1015; +#pragma pack( push, 8 ) +union VREvent_Data_t_1015 +{ + VREvent_Reserved_t_1013 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; + VREvent_InputBindingLoad_t_1015 inputBinding; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1014 VREvent_Data_t_1014; +#pragma pack( push, 8 ) +union VREvent_Data_t_1014 +{ + VREvent_Reserved_t_1013 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_1014 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; + VREvent_WebConsole_t webConsole; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1013 VREvent_Data_t_1013; +#pragma pack( push, 8 ) +union VREvent_Data_t_1013 +{ + VREvent_Reserved_t_1013 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1012 VREvent_Data_t_1012; +#pragma pack( push, 8 ) +union VREvent_Data_t_1012 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; + VREvent_HapticVibration_t hapticVibration; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_1011 VREvent_Data_t_1011; +#pragma pack( push, 8 ) +union VREvent_Data_t_1011 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; + VREvent_DualAnalog_t dualAnalog; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_106 VREvent_Data_t_106; +#pragma pack( push, 8 ) +union VREvent_Data_t_106 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; + VREvent_Property_t property; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_105 VREvent_Data_t_105; +#pragma pack( push, 8 ) +union VREvent_Data_t_105 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; + VREvent_MessageOverlay_t messageOverlay; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_103 VREvent_Data_t_103; +#pragma pack( push, 8 ) +union VREvent_Data_t_103 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; + VREvent_EditingCameraSurface_t cameraSurface; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_102 VREvent_Data_t_102; +#pragma pack( push, 8 ) +union VREvent_Data_t_102 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; + VREvent_ScreenshotProgress_t screenshotProgress; + VREvent_ApplicationLaunch_t applicationLaunch; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_101 VREvent_Data_t_101; +#pragma pack( push, 8 ) +union VREvent_Data_t_101 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; + VREvent_Screenshot_t screenshot; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_0918 VREvent_Data_t_0918; +#pragma pack( push, 8 ) +union VREvent_Data_t_0918 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; + VREvent_SeatedZeroPoseReset_t seatedZeroPoseReset; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_0915 VREvent_Data_t_0915; +#pragma pack( push, 8 ) +union VREvent_Data_t_0915 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Scroll_t_0915 scroll; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; + VREvent_TouchPadMove_t touchPadMove; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_0914 VREvent_Data_t_0914; +#pragma pack( push, 8 ) +union VREvent_Data_t_0914 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; + VREvent_PerformanceTest_t performanceTest; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_0912 VREvent_Data_t_0912; +#pragma pack( push, 8 ) +union VREvent_Data_t_0912 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_0912 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0912 keyboard; + VREvent_Ipd_t ipd; + VREvent_Chaperone_t chaperone; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_0910 VREvent_Data_t_0910; +#pragma pack( push, 8 ) +union VREvent_Data_t_0910 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_090 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; + VREvent_Keyboard_t_0910 keyboard; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_097 VREvent_Data_t_097; +#pragma pack( push, 8 ) +union VREvent_Data_t_097 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_090 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; + VREvent_Status_t status; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_093 VREvent_Data_t_093; +#pragma pack( push, 8 ) +union VREvent_Data_t_093 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_090 process; + VREvent_Notification_t_093 notification; + VREvent_Overlay_t_092 overlay; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_092 VREvent_Data_t_092; +#pragma pack( push, 8 ) +union VREvent_Data_t_092 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_090 process; + VREvent_Notification_t_092 notification; + VREvent_Overlay_t_092 overlay; +}; +#pragma pack( pop ) + +typedef union VREvent_Data_t_090 VREvent_Data_t_090; +#pragma pack( push, 8 ) +union VREvent_Data_t_090 +{ + VREvent_Reserved_t_090 reserved; + VREvent_Controller_t controller; + VREvent_Mouse_t mouse; + VREvent_Process_t_090 process; +}; +#pragma pack( pop ) + +typedef union VROverlayIntersectionMaskPrimitive_Data_t VROverlayIntersectionMaskPrimitive_Data_t; +#pragma pack( push, 4 ) +union VROverlayIntersectionMaskPrimitive_Data_t +{ + IntersectionMaskRectangle_t m_Rectangle; + IntersectionMaskCircle_t m_Circle; +}; +#pragma pack( pop ) + +typedef struct VRTextureBounds_t VRTextureBounds_t; +#pragma pack( push, 4 ) +struct VRTextureBounds_t +{ + float uMin; + float vMin; + float uMax; + float vMax; +}; +#pragma pack( pop ) + +typedef struct ChaperoneSeatedBoundsInfo_t ChaperoneSeatedBoundsInfo_t; +#pragma pack( push, 4 ) +struct ChaperoneSeatedBoundsInfo_t +{ + HmdVector3_t vSeatedHeadPosition; + HmdVector3_t (vDeskEdgePositions)[2]; +}; +#pragma pack( pop ) + +typedef struct ChaperoneSoftBoundsInfo_t ChaperoneSoftBoundsInfo_t; +#pragma pack( push, 4 ) +struct ChaperoneSoftBoundsInfo_t +{ + HmdQuad_t quadCorners; +}; +#pragma pack( pop ) + +typedef struct Compositor_BenchmarkResults Compositor_BenchmarkResults; +#pragma pack( push, 4 ) +struct Compositor_BenchmarkResults +{ + float m_flMegaPixelsPerSecond; + float m_flHmdRecommendedMegaPixelsPerSecond; +}; +#pragma pack( pop ) + +typedef struct Compositor_CumulativeStats_1267 Compositor_CumulativeStats_1267; +#pragma pack( push, 8 ) +struct Compositor_CumulativeStats_1267 +{ + uint32_t m_nPid; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nNumReprojectedFrames; + uint32_t m_nNumFramePresentsOnStartup; + uint32_t m_nNumDroppedFramesOnStartup; + uint32_t m_nNumReprojectedFramesOnStartup; + uint32_t m_nNumLoading; + uint32_t m_nNumFramePresentsLoading; + uint32_t m_nNumDroppedFramesLoading; + uint32_t m_nNumReprojectedFramesLoading; + uint32_t m_nNumTimedOut; + uint32_t m_nNumFramePresentsTimedOut; + uint32_t m_nNumDroppedFramesTimedOut; + uint32_t m_nNumReprojectedFramesTimedOut; + uint32_t m_nNumFrameSubmits; + double m_flSumCompositorCPUTimeMS; + double m_flSumCompositorGPUTimeMS; + double m_flSumTargetFrameTimes; + double m_flSumApplicationCPUTimeMS; + double m_flSumApplicationGPUTimeMS; + uint32_t m_nNumFramesWithDepth; + uint8_t __pad_108[4]; +}; +#pragma pack( pop ) + +typedef struct Compositor_CumulativeStats_100 Compositor_CumulativeStats_100; +#pragma pack( push, 4 ) +struct Compositor_CumulativeStats_100 +{ + uint32_t m_nPid; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nNumReprojectedFrames; + uint32_t m_nNumFramePresentsOnStartup; + uint32_t m_nNumDroppedFramesOnStartup; + uint32_t m_nNumReprojectedFramesOnStartup; + uint32_t m_nNumLoading; + uint32_t m_nNumFramePresentsLoading; + uint32_t m_nNumDroppedFramesLoading; + uint32_t m_nNumReprojectedFramesLoading; + uint32_t m_nNumTimedOut; + uint32_t m_nNumFramePresentsTimedOut; + uint32_t m_nNumDroppedFramesTimedOut; + uint32_t m_nNumReprojectedFramesTimedOut; +}; +#pragma pack( pop ) + +typedef struct Compositor_OverlaySettings Compositor_OverlaySettings; +#pragma pack( push, 4 ) +struct Compositor_OverlaySettings +{ + uint32_t size; + int8_t curved; + int8_t antialias; + uint8_t __pad_6[2]; + float scale; + float distance; + float alpha; + float uOffset; + float vOffset; + float uScale; + float vScale; + float gridDivs; + float gridWidth; + float gridScale; + HmdMatrix44_t transform; +}; +#pragma pack( pop ) + +typedef struct Compositor_StageRenderSettings Compositor_StageRenderSettings; +#pragma pack( push, 4 ) +struct Compositor_StageRenderSettings +{ + HmdColor_t m_PrimaryColor; + HmdColor_t m_SecondaryColor; + float m_flVignetteInnerRadius; + float m_flVignetteOuterRadius; + float m_flFresnelStrength; + int8_t m_bBackfaceCulling; + int8_t m_bGreyscale; + int8_t m_bWireframe; + uint8_t __pad_47[1]; +}; +#pragma pack( pop ) + +typedef struct Compositor_TextureBounds Compositor_TextureBounds; +#pragma pack( push, 4 ) +struct Compositor_TextureBounds +{ + float uMin; + float vMin; + float uMax; + float vMax; +}; +#pragma pack( pop ) + +typedef struct DistortionCoordinates_t DistortionCoordinates_t; +#pragma pack( push, 4 ) +struct DistortionCoordinates_t +{ + float (rfRed)[2]; + float (rfGreen)[2]; + float (rfBlue)[2]; +}; +#pragma pack( pop ) + +typedef struct DriverDirectMode_FrameTiming DriverDirectMode_FrameTiming; +#pragma pack( push, 4 ) +struct DriverDirectMode_FrameTiming +{ + uint32_t m_nSize; + uint32_t m_nNumFramePresents; + uint32_t m_nNumMisPresented; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; +}; +#pragma pack( pop ) + +typedef struct HmdRect2_t HmdRect2_t; +#pragma pack( push, 4 ) +struct HmdRect2_t +{ + HmdVector2_t vTopLeft; + HmdVector2_t vBottomRight; +}; +#pragma pack( pop ) + +typedef struct ImuSample_t ImuSample_t; +#pragma pack( push, 8 ) +struct ImuSample_t +{ + double fSampleTime; + HmdVector3d_t vAccel; + HmdVector3d_t vGyro; + uint32_t unOffScaleFlags; + uint8_t __pad_60[4]; +}; +#pragma pack( pop ) + +typedef struct InputBindingInfo_t_11030 InputBindingInfo_t_11030; +#pragma pack( push, 1 ) +struct InputBindingInfo_t_11030 +{ + char (rchDevicePathName)[128]; + char (rchInputPathName)[128]; + char (rchModeName)[128]; + char (rchSlotName)[128]; + char (rchInputSourceType)[32]; +}; +#pragma pack( pop ) + +typedef struct InputBindingInfo_t_1517 InputBindingInfo_t_1517; +#pragma pack( push, 1 ) +struct InputBindingInfo_t_1517 +{ + char (rchDevicePathName)[128]; + char (rchInputPathName)[128]; + char (rchModeName)[128]; + char (rchSlotName)[128]; +}; +#pragma pack( pop ) + +typedef struct NotificationItem NotificationItem; +#pragma pack( push, 4 ) +struct NotificationItem +{ + uint32_t notificationId; +}; +#pragma pack( pop ) + +typedef struct RenderModel_ComponentState_t RenderModel_ComponentState_t; +#pragma pack( push, 4 ) +struct RenderModel_ComponentState_t +{ + HmdMatrix34_t mTrackingToComponentRenderModel; + HmdMatrix34_t mTrackingToComponentLocal; + uint32_t uProperties; +}; +#pragma pack( pop ) + +typedef struct RenderModel_ControllerMode_State_t RenderModel_ControllerMode_State_t; +#pragma pack( push, 1 ) +struct RenderModel_ControllerMode_State_t +{ + int8_t bScrollWheelVisible; +}; +#pragma pack( pop ) + +typedef struct RenderModel_Vertex_t RenderModel_Vertex_t; +#pragma pack( push, 4 ) +struct RenderModel_Vertex_t +{ + HmdVector3_t vPosition; + HmdVector3_t vNormal; + float (rfTextureCoord)[2]; +}; +#pragma pack( pop ) + +typedef struct SpatialAnchorPose_t SpatialAnchorPose_t; +#pragma pack( push, 4 ) +struct SpatialAnchorPose_t +{ + HmdMatrix34_t mAnchorToAbsoluteTracking; +}; +#pragma pack( pop ) + +typedef struct VRActiveActionSet_t_1016 VRActiveActionSet_t_1016; +#pragma pack( push, 8 ) +struct VRActiveActionSet_t_1016 +{ + uint64_t ulActionSet; + uint64_t ulRestrictedToDevice; + uint64_t ulSecondaryActionSet; + uint32_t unPadding; + int32_t nPriority; +}; +#pragma pack( pop ) + +typedef struct VRActiveActionSet_t_1015 VRActiveActionSet_t_1015; +#pragma pack( push, 8 ) +struct VRActiveActionSet_t_1015 +{ + uint64_t ulActionSet; + uint64_t ulRestrictedToDevice; + uint64_t ulSecondaryActionSet; +}; +#pragma pack( pop ) + +typedef struct VRBoneTransform_t VRBoneTransform_t; +#pragma pack( push, 4 ) +struct VRBoneTransform_t +{ + HmdVector4_t position; + HmdQuaternionf_t orientation; +}; +#pragma pack( pop ) + +typedef struct VRControllerAxis_t VRControllerAxis_t; +#pragma pack( push, 4 ) +struct VRControllerAxis_t +{ + float x; + float y; +}; +#pragma pack( pop ) + +typedef struct VROverlayIntersectionMaskPrimitive_t VROverlayIntersectionMaskPrimitive_t; +#pragma pack( push, 4 ) +struct VROverlayIntersectionMaskPrimitive_t +{ + uint32_t m_nPrimitiveType; + VROverlayIntersectionMaskPrimitive_Data_t m_Primitive; +}; +#pragma pack( pop ) + +typedef struct VROverlayIntersectionParams_t VROverlayIntersectionParams_t; +#pragma pack( push, 4 ) +struct VROverlayIntersectionParams_t +{ + HmdVector3_t vSource; + HmdVector3_t vDirection; + uint32_t eOrigin; +}; +#pragma pack( pop ) + +typedef struct VROverlayIntersectionResults_t VROverlayIntersectionResults_t; +#pragma pack( push, 4 ) +struct VROverlayIntersectionResults_t +{ + HmdVector3_t vPoint; + HmdVector3_t vNormal; + HmdVector2_t vUVs; + float fDistance; +}; +#pragma pack( pop ) + +typedef struct VROverlayProjection_t VROverlayProjection_t; +#pragma pack( push, 4 ) +struct VROverlayProjection_t +{ + float fLeft; + float fRight; + float fTop; + float fBottom; +}; +#pragma pack( pop ) + +typedef struct VRSkeletalSummaryData_t VRSkeletalSummaryData_t; +#pragma pack( push, 4 ) +struct VRSkeletalSummaryData_t +{ + float (flFingerCurl)[5]; + float (flFingerSplay)[4]; +}; +#pragma pack( pop ) + +typedef struct u64_RenderModel_TextureMap_t_1237 u64_RenderModel_TextureMap_t_1237; +typedef struct w64_RenderModel_TextureMap_t_1237 w64_RenderModel_TextureMap_t_1237; +typedef struct w32_RenderModel_TextureMap_t_1237 u32_RenderModel_TextureMap_t_1237; +typedef struct w32_RenderModel_TextureMap_t_1237 w32_RenderModel_TextureMap_t_1237; +typedef struct u64_RenderModel_TextureMap_t_11111 u64_RenderModel_TextureMap_t_11111; +typedef struct w64_RenderModel_TextureMap_t_11111 w64_RenderModel_TextureMap_t_11111; +typedef struct w32_RenderModel_TextureMap_t_11111 u32_RenderModel_TextureMap_t_11111; +typedef struct w32_RenderModel_TextureMap_t_11111 w32_RenderModel_TextureMap_t_11111; +typedef struct u64_RenderModel_TextureMap_t_090 u64_RenderModel_TextureMap_t_090; +typedef struct w64_RenderModel_TextureMap_t_090 w64_RenderModel_TextureMap_t_090; +typedef struct w32_RenderModel_TextureMap_t_090 u32_RenderModel_TextureMap_t_090; +typedef struct w32_RenderModel_TextureMap_t_090 w32_RenderModel_TextureMap_t_090; +typedef struct w64_Texture_t u64_Texture_t; +typedef struct w64_Texture_t w64_Texture_t; +typedef struct w32_Texture_t u32_Texture_t; +typedef struct w32_Texture_t w32_Texture_t; +typedef struct w64_VRTextureDepthInfo_t u64_VRTextureDepthInfo_t; +typedef struct w64_VRTextureDepthInfo_t w64_VRTextureDepthInfo_t; +typedef struct w32_VRTextureDepthInfo_t u32_VRTextureDepthInfo_t; +typedef struct w32_VRTextureDepthInfo_t w32_VRTextureDepthInfo_t; +typedef struct w64_AppOverrideKeys_t u64_AppOverrideKeys_t; +typedef struct w64_AppOverrideKeys_t w64_AppOverrideKeys_t; +typedef struct w32_AppOverrideKeys_t u32_AppOverrideKeys_t; +typedef struct w32_AppOverrideKeys_t w32_AppOverrideKeys_t; +typedef struct w64_COpenVRContext_11030 u64_COpenVRContext_11030; +typedef struct w64_COpenVRContext_11030 w64_COpenVRContext_11030; +typedef struct w32_COpenVRContext_11030 u32_COpenVRContext_11030; +typedef struct w32_COpenVRContext_11030 w32_COpenVRContext_11030; +typedef struct w64_COpenVRContext_1517 u64_COpenVRContext_1517; +typedef struct w64_COpenVRContext_1517 w64_COpenVRContext_1517; +typedef struct w32_COpenVRContext_1517 u32_COpenVRContext_1517; +typedef struct w32_COpenVRContext_1517 w32_COpenVRContext_1517; +typedef struct w64_COpenVRContext_1210 u64_COpenVRContext_1210; +typedef struct w64_COpenVRContext_1210 w64_COpenVRContext_1210; +typedef struct w32_COpenVRContext_1210 u32_COpenVRContext_1210; +typedef struct w32_COpenVRContext_1210 w32_COpenVRContext_1210; +typedef struct w64_COpenVRContext_1016 u64_COpenVRContext_1016; +typedef struct w64_COpenVRContext_1016 w64_COpenVRContext_1016; +typedef struct w32_COpenVRContext_1016 u32_COpenVRContext_1016; +typedef struct w32_COpenVRContext_1016 w32_COpenVRContext_1016; +typedef struct w64_COpenVRContext_1015 u64_COpenVRContext_1015; +typedef struct w64_COpenVRContext_1015 w64_COpenVRContext_1015; +typedef struct w32_COpenVRContext_1015 u32_COpenVRContext_1015; +typedef struct w32_COpenVRContext_1015 w32_COpenVRContext_1015; +typedef struct w64_COpenVRContext_108 u64_COpenVRContext_108; +typedef struct w64_COpenVRContext_108 w64_COpenVRContext_108; +typedef struct w32_COpenVRContext_108 u32_COpenVRContext_108; +typedef struct w32_COpenVRContext_108 w32_COpenVRContext_108; +typedef struct w64_COpenVRContext_102 u64_COpenVRContext_102; +typedef struct w64_COpenVRContext_102 w64_COpenVRContext_102; +typedef struct w32_COpenVRContext_102 u32_COpenVRContext_102; +typedef struct w32_COpenVRContext_102 w32_COpenVRContext_102; +typedef struct w64_COpenVRContext_101 u64_COpenVRContext_101; +typedef struct w64_COpenVRContext_101 w64_COpenVRContext_101; +typedef struct w32_COpenVRContext_101 u32_COpenVRContext_101; +typedef struct w32_COpenVRContext_101 w32_COpenVRContext_101; +typedef struct w64_COpenVRContext_100 u64_COpenVRContext_100; +typedef struct w64_COpenVRContext_100 w64_COpenVRContext_100; +typedef struct w32_COpenVRContext_100 u32_COpenVRContext_100; +typedef struct w32_COpenVRContext_100 w32_COpenVRContext_100; +typedef struct w64_COpenVRContext_0917 u64_COpenVRContext_0917; +typedef struct w64_COpenVRContext_0917 w64_COpenVRContext_0917; +typedef struct w32_COpenVRContext_0917 u32_COpenVRContext_0917; +typedef struct w32_COpenVRContext_0917 w32_COpenVRContext_0917; +typedef struct w64_CameraVideoStreamFrameHeader_t_1017 u64_CameraVideoStreamFrameHeader_t_1017; +typedef struct w64_CameraVideoStreamFrameHeader_t_1017 w64_CameraVideoStreamFrameHeader_t_1017; +typedef struct u32_CameraVideoStreamFrameHeader_t_1017 u32_CameraVideoStreamFrameHeader_t_1017; +typedef struct w32_CameraVideoStreamFrameHeader_t_1017 w32_CameraVideoStreamFrameHeader_t_1017; +typedef struct w64_CameraVideoStreamFrameHeader_t_100 u64_CameraVideoStreamFrameHeader_t_100; +typedef struct w64_CameraVideoStreamFrameHeader_t_100 w64_CameraVideoStreamFrameHeader_t_100; +typedef struct w32_CameraVideoStreamFrameHeader_t_100 u32_CameraVideoStreamFrameHeader_t_100; +typedef struct w32_CameraVideoStreamFrameHeader_t_100 w32_CameraVideoStreamFrameHeader_t_100; +typedef struct u64_CameraVideoStreamFrame_t_0914 u64_CameraVideoStreamFrame_t_0914; +typedef struct w64_CameraVideoStreamFrame_t_0914 w64_CameraVideoStreamFrame_t_0914; +typedef struct u32_CameraVideoStreamFrame_t_0914 u32_CameraVideoStreamFrame_t_0914; +typedef struct w32_CameraVideoStreamFrame_t_0914 w32_CameraVideoStreamFrame_t_0914; +typedef struct u64_CameraVideoStreamFrame_t_0912 u64_CameraVideoStreamFrame_t_0912; +typedef struct w64_CameraVideoStreamFrame_t_0912 w64_CameraVideoStreamFrame_t_0912; +typedef struct w32_CameraVideoStreamFrame_t_0912 u32_CameraVideoStreamFrame_t_0912; +typedef struct w32_CameraVideoStreamFrame_t_0912 w32_CameraVideoStreamFrame_t_0912; +typedef struct w64_Compositor_FrameTiming_1017 u64_Compositor_FrameTiming_1017; +typedef struct w64_Compositor_FrameTiming_1017 w64_Compositor_FrameTiming_1017; +typedef struct w32_Compositor_FrameTiming_1017 u32_Compositor_FrameTiming_1017; +typedef struct w32_Compositor_FrameTiming_1017 w32_Compositor_FrameTiming_1017; +typedef struct w64_Compositor_FrameTiming_103a u64_Compositor_FrameTiming_103a; +typedef struct w64_Compositor_FrameTiming_103a w64_Compositor_FrameTiming_103a; +typedef struct w32_Compositor_FrameTiming_103a u32_Compositor_FrameTiming_103a; +typedef struct w32_Compositor_FrameTiming_103a w32_Compositor_FrameTiming_103a; +typedef struct u64_Compositor_FrameTiming_102 u64_Compositor_FrameTiming_102; +typedef struct w64_Compositor_FrameTiming_102 w64_Compositor_FrameTiming_102; +typedef struct u32_Compositor_FrameTiming_102 u32_Compositor_FrameTiming_102; +typedef struct w32_Compositor_FrameTiming_102 w32_Compositor_FrameTiming_102; +typedef struct w64_Compositor_FrameTiming_0920 u64_Compositor_FrameTiming_0920; +typedef struct w64_Compositor_FrameTiming_0920 w64_Compositor_FrameTiming_0920; +typedef struct w32_Compositor_FrameTiming_0920 u32_Compositor_FrameTiming_0920; +typedef struct w32_Compositor_FrameTiming_0920 w32_Compositor_FrameTiming_0920; +typedef struct w64_Compositor_FrameTiming_0915 u64_Compositor_FrameTiming_0915; +typedef struct w64_Compositor_FrameTiming_0915 w64_Compositor_FrameTiming_0915; +typedef struct w32_Compositor_FrameTiming_0915 u32_Compositor_FrameTiming_0915; +typedef struct w32_Compositor_FrameTiming_0915 w32_Compositor_FrameTiming_0915; +typedef struct u64_Compositor_FrameTiming_0914 u64_Compositor_FrameTiming_0914; +typedef struct w64_Compositor_FrameTiming_0914 w64_Compositor_FrameTiming_0914; +typedef struct u32_Compositor_FrameTiming_0914 u32_Compositor_FrameTiming_0914; +typedef struct w32_Compositor_FrameTiming_0914 w32_Compositor_FrameTiming_0914; +typedef struct u64_Compositor_FrameTiming_0913 u64_Compositor_FrameTiming_0913; +typedef struct w64_Compositor_FrameTiming_0913 w64_Compositor_FrameTiming_0913; +typedef struct u32_Compositor_FrameTiming_0913 u32_Compositor_FrameTiming_0913; +typedef struct w32_Compositor_FrameTiming_0913 w32_Compositor_FrameTiming_0913; +typedef struct u64_Compositor_FrameTiming_0912 u64_Compositor_FrameTiming_0912; +typedef struct w64_Compositor_FrameTiming_0912 w64_Compositor_FrameTiming_0912; +typedef struct u32_Compositor_FrameTiming_0912 u32_Compositor_FrameTiming_0912; +typedef struct w32_Compositor_FrameTiming_0912 w32_Compositor_FrameTiming_0912; +typedef struct u64_Compositor_FrameTiming_093 u64_Compositor_FrameTiming_093; +typedef struct w64_Compositor_FrameTiming_093 w64_Compositor_FrameTiming_093; +typedef struct u32_Compositor_FrameTiming_093 u32_Compositor_FrameTiming_093; +typedef struct w32_Compositor_FrameTiming_093 w32_Compositor_FrameTiming_093; +typedef struct u64_Compositor_FrameTiming_090 u64_Compositor_FrameTiming_090; +typedef struct w64_Compositor_FrameTiming_090 w64_Compositor_FrameTiming_090; +typedef struct u32_Compositor_FrameTiming_090 u32_Compositor_FrameTiming_090; +typedef struct w32_Compositor_FrameTiming_090 w32_Compositor_FrameTiming_090; +typedef struct w64_D3D12TextureData_t u64_D3D12TextureData_t; +typedef struct w64_D3D12TextureData_t w64_D3D12TextureData_t; +typedef struct w32_D3D12TextureData_t u32_D3D12TextureData_t; +typedef struct w32_D3D12TextureData_t w32_D3D12TextureData_t; +typedef struct w64_HiddenAreaMesh_t u64_HiddenAreaMesh_t; +typedef struct w64_HiddenAreaMesh_t w64_HiddenAreaMesh_t; +typedef struct w32_HiddenAreaMesh_t u32_HiddenAreaMesh_t; +typedef struct w32_HiddenAreaMesh_t w32_HiddenAreaMesh_t; +typedef struct u_IVRDebug u_IVRDebug; +typedef struct u_IVRDebug u64_IVRDebug; +typedef struct u_IVRDebug u32_IVRDebug; +typedef struct w_IVRDebug w_IVRDebug; +typedef struct w_IVRDebug w64_IVRDebug; +typedef struct w_IVRDebug w32_IVRDebug; +typedef struct u_IVRSpatialAnchors u_IVRSpatialAnchors; +typedef struct u_IVRSpatialAnchors u64_IVRSpatialAnchors; +typedef struct u_IVRSpatialAnchors u32_IVRSpatialAnchors; +typedef struct w_IVRSpatialAnchors w_IVRSpatialAnchors; +typedef struct w_IVRSpatialAnchors w64_IVRSpatialAnchors; +typedef struct w_IVRSpatialAnchors w32_IVRSpatialAnchors; +typedef struct w64_InputAnalogActionData_t u64_InputAnalogActionData_t; +typedef struct w64_InputAnalogActionData_t w64_InputAnalogActionData_t; +typedef struct u32_InputAnalogActionData_t u32_InputAnalogActionData_t; +typedef struct w32_InputAnalogActionData_t w32_InputAnalogActionData_t; +typedef struct w64_InputDigitalActionData_t u64_InputDigitalActionData_t; +typedef struct w64_InputDigitalActionData_t w64_InputDigitalActionData_t; +typedef struct u32_InputDigitalActionData_t u32_InputDigitalActionData_t; +typedef struct w32_InputDigitalActionData_t w32_InputDigitalActionData_t; +typedef struct w64_InputOriginInfo_t u64_InputOriginInfo_t; +typedef struct w64_InputOriginInfo_t w64_InputOriginInfo_t; +typedef struct u32_InputOriginInfo_t u32_InputOriginInfo_t; +typedef struct w32_InputOriginInfo_t w32_InputOriginInfo_t; +typedef struct w64_InputPoseActionData_t u64_InputPoseActionData_t; +typedef struct w64_InputPoseActionData_t w64_InputPoseActionData_t; +typedef struct u32_InputPoseActionData_t u32_InputPoseActionData_t; +typedef struct w32_InputPoseActionData_t w32_InputPoseActionData_t; +typedef struct w64_InputSkeletalActionData_t_113b u64_InputSkeletalActionData_t_113b; +typedef struct w64_InputSkeletalActionData_t_113b w64_InputSkeletalActionData_t_113b; +typedef struct u32_InputSkeletalActionData_t_113b u32_InputSkeletalActionData_t_113b; +typedef struct w32_InputSkeletalActionData_t_113b w32_InputSkeletalActionData_t_113b; +typedef struct w64_InputSkeletalActionData_t_1016 u64_InputSkeletalActionData_t_1016; +typedef struct w64_InputSkeletalActionData_t_1016 w64_InputSkeletalActionData_t_1016; +typedef struct u32_InputSkeletalActionData_t_1016 u32_InputSkeletalActionData_t_1016; +typedef struct w32_InputSkeletalActionData_t_1016 w32_InputSkeletalActionData_t_1016; +typedef struct w64_InputSkeletonActionData_t u64_InputSkeletonActionData_t; +typedef struct w64_InputSkeletonActionData_t w64_InputSkeletonActionData_t; +typedef struct u32_InputSkeletonActionData_t u32_InputSkeletonActionData_t; +typedef struct w32_InputSkeletonActionData_t w32_InputSkeletonActionData_t; +typedef struct w64_NotificationBitmap u64_NotificationBitmap; +typedef struct w64_NotificationBitmap w64_NotificationBitmap; +typedef struct w32_NotificationBitmap u32_NotificationBitmap; +typedef struct w32_NotificationBitmap w32_NotificationBitmap; +typedef struct w64_NotificationBitmap_t u64_NotificationBitmap_t; +typedef struct w64_NotificationBitmap_t w64_NotificationBitmap_t; +typedef struct w32_NotificationBitmap_t u32_NotificationBitmap_t; +typedef struct w32_NotificationBitmap_t w32_NotificationBitmap_t; +typedef struct u64_RenderModel_t_0912 u64_RenderModel_t_0912; +typedef struct w64_RenderModel_t_0912 w64_RenderModel_t_0912; +typedef struct w32_RenderModel_t_0912 u32_RenderModel_t_0912; +typedef struct w32_RenderModel_t_0912 w32_RenderModel_t_0912; +typedef struct u64_RenderModel_t_090 u64_RenderModel_t_090; +typedef struct w64_RenderModel_t_090 w64_RenderModel_t_090; +typedef struct w32_RenderModel_t_090 u32_RenderModel_t_090; +typedef struct w32_RenderModel_t_090 w32_RenderModel_t_090; +typedef struct u64_VRControllerState001_t u64_VRControllerState001_t; +typedef struct w64_VRControllerState001_t w64_VRControllerState001_t; +typedef struct u32_VRControllerState001_t u32_VRControllerState001_t; +typedef struct w32_VRControllerState001_t w32_VRControllerState001_t; +typedef struct u64_VREvent_t_1168 u64_VREvent_t_1168; +typedef struct w64_VREvent_t_1168 w64_VREvent_t_1168; +typedef struct u32_VREvent_t_1168 u32_VREvent_t_1168; +typedef struct w32_VREvent_t_1168 w32_VREvent_t_1168; +typedef struct u64_VREvent_t_11030 u64_VREvent_t_11030; +typedef struct w64_VREvent_t_11030 w64_VREvent_t_11030; +typedef struct u32_VREvent_t_11030 u32_VREvent_t_11030; +typedef struct w32_VREvent_t_11030 w32_VREvent_t_11030; +typedef struct u64_VREvent_t_1322 u64_VREvent_t_1322; +typedef struct w64_VREvent_t_1322 w64_VREvent_t_1322; +typedef struct u32_VREvent_t_1322 u32_VREvent_t_1322; +typedef struct w32_VREvent_t_1322 w32_VREvent_t_1322; +typedef struct u64_VREvent_t_1210 u64_VREvent_t_1210; +typedef struct w64_VREvent_t_1210 w64_VREvent_t_1210; +typedef struct u32_VREvent_t_1210 u32_VREvent_t_1210; +typedef struct w32_VREvent_t_1210 w32_VREvent_t_1210; +typedef struct u64_VREvent_t_113b u64_VREvent_t_113b; +typedef struct w64_VREvent_t_113b w64_VREvent_t_113b; +typedef struct u32_VREvent_t_113b u32_VREvent_t_113b; +typedef struct w32_VREvent_t_113b w32_VREvent_t_113b; +typedef struct u64_VREvent_t_1016 u64_VREvent_t_1016; +typedef struct w64_VREvent_t_1016 w64_VREvent_t_1016; +typedef struct u32_VREvent_t_1016 u32_VREvent_t_1016; +typedef struct w32_VREvent_t_1016 w32_VREvent_t_1016; +typedef struct u64_VREvent_t_1015 u64_VREvent_t_1015; +typedef struct w64_VREvent_t_1015 w64_VREvent_t_1015; +typedef struct u32_VREvent_t_1015 u32_VREvent_t_1015; +typedef struct w32_VREvent_t_1015 w32_VREvent_t_1015; +typedef struct u64_VREvent_t_1014 u64_VREvent_t_1014; +typedef struct w64_VREvent_t_1014 w64_VREvent_t_1014; +typedef struct u32_VREvent_t_1014 u32_VREvent_t_1014; +typedef struct w32_VREvent_t_1014 w32_VREvent_t_1014; +typedef struct u64_VREvent_t_1013 u64_VREvent_t_1013; +typedef struct w64_VREvent_t_1013 w64_VREvent_t_1013; +typedef struct u32_VREvent_t_1013 u32_VREvent_t_1013; +typedef struct w32_VREvent_t_1013 w32_VREvent_t_1013; +typedef struct u64_VREvent_t_1012 u64_VREvent_t_1012; +typedef struct w64_VREvent_t_1012 w64_VREvent_t_1012; +typedef struct u32_VREvent_t_1012 u32_VREvent_t_1012; +typedef struct w32_VREvent_t_1012 w32_VREvent_t_1012; +typedef struct u64_VREvent_t_1011 u64_VREvent_t_1011; +typedef struct w64_VREvent_t_1011 w64_VREvent_t_1011; +typedef struct u32_VREvent_t_1011 u32_VREvent_t_1011; +typedef struct w32_VREvent_t_1011 w32_VREvent_t_1011; +typedef struct u64_VREvent_t_106 u64_VREvent_t_106; +typedef struct w64_VREvent_t_106 w64_VREvent_t_106; +typedef struct u32_VREvent_t_106 u32_VREvent_t_106; +typedef struct w32_VREvent_t_106 w32_VREvent_t_106; +typedef struct u64_VREvent_t_105 u64_VREvent_t_105; +typedef struct w64_VREvent_t_105 w64_VREvent_t_105; +typedef struct u32_VREvent_t_105 u32_VREvent_t_105; +typedef struct w32_VREvent_t_105 w32_VREvent_t_105; +typedef struct u64_VREvent_t_103 u64_VREvent_t_103; +typedef struct w64_VREvent_t_103 w64_VREvent_t_103; +typedef struct u32_VREvent_t_103 u32_VREvent_t_103; +typedef struct w32_VREvent_t_103 w32_VREvent_t_103; +typedef struct u64_VREvent_t_102 u64_VREvent_t_102; +typedef struct w64_VREvent_t_102 w64_VREvent_t_102; +typedef struct u32_VREvent_t_102 u32_VREvent_t_102; +typedef struct w32_VREvent_t_102 w32_VREvent_t_102; +typedef struct u64_VREvent_t_101 u64_VREvent_t_101; +typedef struct w64_VREvent_t_101 w64_VREvent_t_101; +typedef struct u32_VREvent_t_101 u32_VREvent_t_101; +typedef struct w32_VREvent_t_101 w32_VREvent_t_101; +typedef struct u64_VREvent_t_0918 u64_VREvent_t_0918; +typedef struct w64_VREvent_t_0918 w64_VREvent_t_0918; +typedef struct u32_VREvent_t_0918 u32_VREvent_t_0918; +typedef struct w32_VREvent_t_0918 w32_VREvent_t_0918; +typedef struct u64_VREvent_t_0915 u64_VREvent_t_0915; +typedef struct w64_VREvent_t_0915 w64_VREvent_t_0915; +typedef struct u32_VREvent_t_0915 u32_VREvent_t_0915; +typedef struct w32_VREvent_t_0915 w32_VREvent_t_0915; +typedef struct u64_VREvent_t_0914 u64_VREvent_t_0914; +typedef struct w64_VREvent_t_0914 w64_VREvent_t_0914; +typedef struct u32_VREvent_t_0914 u32_VREvent_t_0914; +typedef struct w32_VREvent_t_0914 w32_VREvent_t_0914; +typedef struct u64_VREvent_t_0912 u64_VREvent_t_0912; +typedef struct w64_VREvent_t_0912 w64_VREvent_t_0912; +typedef struct u32_VREvent_t_0912 u32_VREvent_t_0912; +typedef struct w32_VREvent_t_0912 w32_VREvent_t_0912; +typedef struct u64_VREvent_t_0910 u64_VREvent_t_0910; +typedef struct w64_VREvent_t_0910 w64_VREvent_t_0910; +typedef struct u32_VREvent_t_0910 u32_VREvent_t_0910; +typedef struct w32_VREvent_t_0910 w32_VREvent_t_0910; +typedef struct u64_VREvent_t_097 u64_VREvent_t_097; +typedef struct w64_VREvent_t_097 w64_VREvent_t_097; +typedef struct u32_VREvent_t_097 u32_VREvent_t_097; +typedef struct w32_VREvent_t_097 w32_VREvent_t_097; +typedef struct u64_VREvent_t_093 u64_VREvent_t_093; +typedef struct w64_VREvent_t_093 w64_VREvent_t_093; +typedef struct u32_VREvent_t_093 u32_VREvent_t_093; +typedef struct w32_VREvent_t_093 w32_VREvent_t_093; +typedef struct u64_VREvent_t_092 u64_VREvent_t_092; +typedef struct w64_VREvent_t_092 w64_VREvent_t_092; +typedef struct u32_VREvent_t_092 u32_VREvent_t_092; +typedef struct w32_VREvent_t_092 w32_VREvent_t_092; +typedef struct u64_VREvent_t_090 u64_VREvent_t_090; +typedef struct w64_VREvent_t_090 w64_VREvent_t_090; +typedef struct u32_VREvent_t_090 u32_VREvent_t_090; +typedef struct w32_VREvent_t_090 w32_VREvent_t_090; +typedef struct w64_VRNativeDevice_t u64_VRNativeDevice_t; +typedef struct w64_VRNativeDevice_t w64_VRNativeDevice_t; +typedef struct w32_VRNativeDevice_t u32_VRNativeDevice_t; +typedef struct w32_VRNativeDevice_t w32_VRNativeDevice_t; +typedef struct w64_VROverlayView_t u64_VROverlayView_t; +typedef struct w64_VROverlayView_t w64_VROverlayView_t; +typedef struct u32_VROverlayView_t u32_VROverlayView_t; +typedef struct w32_VROverlayView_t w32_VROverlayView_t; +typedef struct w64_VRTextureWithDepth_t u64_VRTextureWithDepth_t; +typedef struct w64_VRTextureWithDepth_t w64_VRTextureWithDepth_t; +typedef struct w32_VRTextureWithDepth_t u32_VRTextureWithDepth_t; +typedef struct w32_VRTextureWithDepth_t w32_VRTextureWithDepth_t; +typedef struct w64_VRTextureWithPoseAndDepth_t u64_VRTextureWithPoseAndDepth_t; +typedef struct w64_VRTextureWithPoseAndDepth_t w64_VRTextureWithPoseAndDepth_t; +typedef struct w32_VRTextureWithPoseAndDepth_t u32_VRTextureWithPoseAndDepth_t; +typedef struct w32_VRTextureWithPoseAndDepth_t w32_VRTextureWithPoseAndDepth_t; +typedef struct w64_VRTextureWithPose_t u64_VRTextureWithPose_t; +typedef struct w64_VRTextureWithPose_t w64_VRTextureWithPose_t; +typedef struct w32_VRTextureWithPose_t u32_VRTextureWithPose_t; +typedef struct w32_VRTextureWithPose_t w32_VRTextureWithPose_t; +typedef struct w64_VRVulkanDevice_t u64_VRVulkanDevice_t; +typedef struct w64_VRVulkanDevice_t w64_VRVulkanDevice_t; +typedef struct w32_VRVulkanDevice_t u32_VRVulkanDevice_t; +typedef struct w32_VRVulkanDevice_t w32_VRVulkanDevice_t; +typedef struct w64_VRVulkanTextureArrayData_t u64_VRVulkanTextureArrayData_t; +typedef struct w64_VRVulkanTextureArrayData_t w64_VRVulkanTextureArrayData_t; +typedef struct u32_VRVulkanTextureArrayData_t u32_VRVulkanTextureArrayData_t; +typedef struct w32_VRVulkanTextureArrayData_t w32_VRVulkanTextureArrayData_t; +typedef struct w64_VRVulkanTextureData_t u64_VRVulkanTextureData_t; +typedef struct w64_VRVulkanTextureData_t w64_VRVulkanTextureData_t; +typedef struct w32_VRVulkanTextureData_t u32_VRVulkanTextureData_t; +typedef struct w32_VRVulkanTextureData_t w32_VRVulkanTextureData_t; +typedef struct w64_VulkanData_t u64_VulkanData_t; +typedef struct w64_VulkanData_t w64_VulkanData_t; +typedef struct w32_VulkanData_t u32_VulkanData_t; +typedef struct w32_VulkanData_t w32_VulkanData_t; +#pragma pack( push, 8 ) +struct w64_RenderModel_TextureMap_t_1237 +{ + uint16_t unWidth; + uint16_t unHeight; + uint8_t __pad_4[4]; + W64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; + uint16_t unMipLevels; + uint8_t __pad_22[2]; +#ifdef __cplusplus + operator u64_RenderModel_TextureMap_t_1237() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RenderModel_TextureMap_t_1237 +{ + uint16_t unWidth; + uint16_t unHeight; + U64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; + uint16_t unMipLevels; + uint8_t __pad_18[2]; +#ifdef __cplusplus + operator w64_RenderModel_TextureMap_t_1237() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RenderModel_TextureMap_t_1237 +{ + uint16_t unWidth; + uint16_t unHeight; + W32_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; + uint16_t unMipLevels; + uint8_t __pad_14[2]; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RenderModel_TextureMap_t_1237 w_RenderModel_TextureMap_t_1237; +typedef u32_RenderModel_TextureMap_t_1237 u_RenderModel_TextureMap_t_1237; +#endif +#ifdef __x86_64__ +typedef w64_RenderModel_TextureMap_t_1237 w_RenderModel_TextureMap_t_1237; +typedef u64_RenderModel_TextureMap_t_1237 u_RenderModel_TextureMap_t_1237; +#endif + +#pragma pack( push, 8 ) +struct w64_RenderModel_TextureMap_t_11111 +{ + uint16_t unWidth; + uint16_t unHeight; + uint8_t __pad_4[4]; + W64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u64_RenderModel_TextureMap_t_11111() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RenderModel_TextureMap_t_11111 +{ + uint16_t unWidth; + uint16_t unHeight; + U64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; +#ifdef __cplusplus + operator w64_RenderModel_TextureMap_t_11111() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RenderModel_TextureMap_t_11111 +{ + uint16_t unWidth; + uint16_t unHeight; + W32_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); + uint32_t format; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RenderModel_TextureMap_t_11111 w_RenderModel_TextureMap_t_11111; +typedef u32_RenderModel_TextureMap_t_11111 u_RenderModel_TextureMap_t_11111; +#endif +#ifdef __x86_64__ +typedef w64_RenderModel_TextureMap_t_11111 w_RenderModel_TextureMap_t_11111; +typedef u64_RenderModel_TextureMap_t_11111 u_RenderModel_TextureMap_t_11111; +#endif + +#pragma pack( push, 8 ) +struct w64_RenderModel_TextureMap_t_090 +{ + uint16_t unWidth; + uint16_t unHeight; + uint8_t __pad_4[4]; + W64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); +#ifdef __cplusplus + operator u64_RenderModel_TextureMap_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RenderModel_TextureMap_t_090 +{ + uint16_t unWidth; + uint16_t unHeight; + U64_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); +#ifdef __cplusplus + operator w64_RenderModel_TextureMap_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RenderModel_TextureMap_t_090 +{ + uint16_t unWidth; + uint16_t unHeight; + W32_PTR(const uint8_t *rubTextureMapData, rubTextureMapData); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RenderModel_TextureMap_t_090 w_RenderModel_TextureMap_t_090; +typedef u32_RenderModel_TextureMap_t_090 u_RenderModel_TextureMap_t_090; +#endif +#ifdef __x86_64__ +typedef w64_RenderModel_TextureMap_t_090 w_RenderModel_TextureMap_t_090; +typedef u64_RenderModel_TextureMap_t_090 u_RenderModel_TextureMap_t_090; +#endif + +#pragma pack( push, 8 ) +struct w64_Texture_t +{ + W64_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_Texture_t +{ + W32_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Texture_t w_Texture_t; +typedef u32_Texture_t u_Texture_t; +#endif +#ifdef __x86_64__ +typedef w64_Texture_t w_Texture_t; +typedef u64_Texture_t u_Texture_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRTextureDepthInfo_t +{ + W64_PTR(void *handle, handle); + HmdMatrix44_t mProjection; + HmdVector2_t vRange; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRTextureDepthInfo_t +{ + W32_PTR(void *handle, handle); + HmdMatrix44_t mProjection; + HmdVector2_t vRange; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRTextureDepthInfo_t w_VRTextureDepthInfo_t; +typedef u32_VRTextureDepthInfo_t u_VRTextureDepthInfo_t; +#endif +#ifdef __x86_64__ +typedef w64_VRTextureDepthInfo_t w_VRTextureDepthInfo_t; +typedef u64_VRTextureDepthInfo_t u_VRTextureDepthInfo_t; +#endif + +#pragma pack( push, 8 ) +struct w64_AppOverrideKeys_t +{ + W64_PTR(const char *pchKey, pchKey); + W64_PTR(const char *pchValue, pchValue); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_AppOverrideKeys_t +{ + W32_PTR(const char *pchKey, pchKey); + W32_PTR(const char *pchValue, pchValue); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_AppOverrideKeys_t w_AppOverrideKeys_t; +typedef u32_AppOverrideKeys_t u_AppOverrideKeys_t; +#endif +#ifdef __x86_64__ +typedef w64_AppOverrideKeys_t w_AppOverrideKeys_t; +typedef u64_AppOverrideKeys_t u_AppOverrideKeys_t; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_11030 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVRHeadsetView*/ *m_pVRHeadsetView, m_pVRHeadsetView); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVROverlayView*/ *m_pVROverlayView, m_pVROverlayView); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W64_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W64_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W64_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W64_PTR(void /*IVRDebug*/ *m_pVRDebug, m_pVRDebug); + W64_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_11030 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVRHeadsetView*/ *m_pVRHeadsetView, m_pVRHeadsetView); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVROverlayView*/ *m_pVROverlayView, m_pVROverlayView); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W32_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W32_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W32_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W32_PTR(void /*IVRDebug*/ *m_pVRDebug, m_pVRDebug); + W32_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_11030 w_COpenVRContext_11030; +typedef u32_COpenVRContext_11030 u_COpenVRContext_11030; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_11030 w_COpenVRContext_11030; +typedef u64_COpenVRContext_11030 u_COpenVRContext_11030; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_1517 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W64_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W64_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W64_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W64_PTR(void /*IVRDebug*/ *m_pVRDebug, m_pVRDebug); + W64_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_1517 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W32_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W32_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W32_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W32_PTR(void /*IVRDebug*/ *m_pVRDebug, m_pVRDebug); + W32_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_1517 w_COpenVRContext_1517; +typedef u32_COpenVRContext_1517 u_COpenVRContext_1517; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_1517 w_COpenVRContext_1517; +typedef u64_COpenVRContext_1517 u_COpenVRContext_1517; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_1210 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W64_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W64_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W64_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W64_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_1210 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W32_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W32_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W32_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); + W32_PTR(void /*IVRNotifications*/ *m_pVRNotifications, m_pVRNotifications); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_1210 w_COpenVRContext_1210; +typedef u32_COpenVRContext_1210 u_COpenVRContext_1210; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_1210 w_COpenVRContext_1210; +typedef u64_COpenVRContext_1210 u_COpenVRContext_1210; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_1016 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W64_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W64_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W64_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_1016 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W32_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W32_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); + W32_PTR(void /*IVRSpatialAnchors*/ *m_pVRSpatialAnchors, m_pVRSpatialAnchors); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_1016 w_COpenVRContext_1016; +typedef u32_COpenVRContext_1016 u_COpenVRContext_1016; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_1016 w_COpenVRContext_1016; +typedef u64_COpenVRContext_1016 u_COpenVRContext_1016; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_1015 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W64_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W64_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_1015 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); + W32_PTR(void /*IVRInput*/ *m_pVRInput, m_pVRInput); + W32_PTR(void /*IVRIOBuffer*/ *m_pVRIOBuffer, m_pVRIOBuffer); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_1015 w_COpenVRContext_1015; +typedef u32_COpenVRContext_1015 u_COpenVRContext_1015; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_1015 w_COpenVRContext_1015; +typedef u64_COpenVRContext_1015 u_COpenVRContext_1015; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_108 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W64_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_108 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); + W32_PTR(void /*IVRDriverManager*/ *m_pVRDriverManager, m_pVRDriverManager); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_108 w_COpenVRContext_108; +typedef u32_COpenVRContext_108 u_COpenVRContext_108; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_108 w_COpenVRContext_108; +typedef u64_COpenVRContext_108 u_COpenVRContext_108; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_102 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_102 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRResources*/ *m_pVRResources, m_pVRResources); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_102 w_COpenVRContext_102; +typedef u32_COpenVRContext_102 u_COpenVRContext_102; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_102 w_COpenVRContext_102; +typedef u64_COpenVRContext_102 u_COpenVRContext_102; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_101 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W64_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_101 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); + W32_PTR(void /*IVRScreenshots*/ *m_pVRScreenshots, m_pVRScreenshots); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_101 w_COpenVRContext_101; +typedef u32_COpenVRContext_101 u_COpenVRContext_101; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_101 w_COpenVRContext_101; +typedef u64_COpenVRContext_101 u_COpenVRContext_101; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_100 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W64_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_100 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); + W32_PTR(void /*IVRTrackedCamera*/ *m_pVRTrackedCamera, m_pVRTrackedCamera); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_100 w_COpenVRContext_100; +typedef u32_COpenVRContext_100 u_COpenVRContext_100; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_100 w_COpenVRContext_100; +typedef u64_COpenVRContext_100 u_COpenVRContext_100; +#endif + +#pragma pack( push, 8 ) +struct w64_COpenVRContext_0917 +{ + W64_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W64_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W64_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W64_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W64_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W64_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W64_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W64_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W64_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_COpenVRContext_0917 +{ + W32_PTR(void /*IVRSystem*/ *m_pVRSystem, m_pVRSystem); + W32_PTR(void /*IVRChaperone*/ *m_pVRChaperone, m_pVRChaperone); + W32_PTR(void /*IVRChaperoneSetup*/ *m_pVRChaperoneSetup, m_pVRChaperoneSetup); + W32_PTR(void /*IVRCompositor*/ *m_pVRCompositor, m_pVRCompositor); + W32_PTR(void /*IVROverlay*/ *m_pVROverlay, m_pVROverlay); + W32_PTR(void /*IVRRenderModels*/ *m_pVRRenderModels, m_pVRRenderModels); + W32_PTR(void /*IVRExtendedDisplay*/ *m_pVRExtendedDisplay, m_pVRExtendedDisplay); + W32_PTR(void /*IVRSettings*/ *m_pVRSettings, m_pVRSettings); + W32_PTR(void /*IVRApplications*/ *m_pVRApplications, m_pVRApplications); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_COpenVRContext_0917 w_COpenVRContext_0917; +typedef u32_COpenVRContext_0917 u_COpenVRContext_0917; +#endif +#ifdef __x86_64__ +typedef w64_COpenVRContext_0917 w_COpenVRContext_0917; +typedef u64_COpenVRContext_0917 u_COpenVRContext_0917; +#endif + +#pragma pack( push, 8 ) +struct w64_CameraVideoStreamFrameHeader_t_1017 +{ + uint32_t eFrameType; + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + uint32_t nFrameSequence; + TrackedDevicePose_t trackedDevicePose; + uint8_t __pad_100[4]; + uint64_t ulFrameExposureTime; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_CameraVideoStreamFrameHeader_t_1017 +{ + uint32_t eFrameType; + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + uint32_t nFrameSequence; + TrackedDevicePose_t trackedDevicePose; + uint8_t __pad_100[4]; + uint64_t ulFrameExposureTime; +#ifdef __cplusplus + operator u32_CameraVideoStreamFrameHeader_t_1017() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_CameraVideoStreamFrameHeader_t_1017 +{ + uint32_t eFrameType; + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + uint32_t nFrameSequence; + TrackedDevicePose_t trackedDevicePose; + uint64_t ulFrameExposureTime; +#ifdef __cplusplus + operator w32_CameraVideoStreamFrameHeader_t_1017() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CameraVideoStreamFrameHeader_t_1017 w_CameraVideoStreamFrameHeader_t_1017; +typedef u32_CameraVideoStreamFrameHeader_t_1017 u_CameraVideoStreamFrameHeader_t_1017; +#endif +#ifdef __x86_64__ +typedef w64_CameraVideoStreamFrameHeader_t_1017 w_CameraVideoStreamFrameHeader_t_1017; +typedef u64_CameraVideoStreamFrameHeader_t_1017 u_CameraVideoStreamFrameHeader_t_1017; +#endif + +#pragma pack( push, 4 ) +struct w64_CameraVideoStreamFrameHeader_t_100 +{ + uint32_t eFrameType; + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + uint32_t nFrameSequence; + TrackedDevicePose_t standingTrackedDevicePose; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_CameraVideoStreamFrameHeader_t_100 +{ + uint32_t eFrameType; + uint32_t nWidth; + uint32_t nHeight; + uint32_t nBytesPerPixel; + uint32_t nFrameSequence; + TrackedDevicePose_t standingTrackedDevicePose; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CameraVideoStreamFrameHeader_t_100 w_CameraVideoStreamFrameHeader_t_100; +typedef u32_CameraVideoStreamFrameHeader_t_100 u_CameraVideoStreamFrameHeader_t_100; +#endif +#ifdef __x86_64__ +typedef w64_CameraVideoStreamFrameHeader_t_100 w_CameraVideoStreamFrameHeader_t_100; +typedef u64_CameraVideoStreamFrameHeader_t_100 u_CameraVideoStreamFrameHeader_t_100; +#endif + +#pragma pack( push, 8 ) +struct w64_CameraVideoStreamFrame_t_0914 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nImageDataSize; + uint32_t m_nFrameSequence; + uint32_t m_nISPFrameTimeStamp; + uint32_t m_nISPReferenceTimeStamp; + uint32_t m_nSyncCounter; + uint32_t m_nExposureTime; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + uint8_t __pad_44[4]; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + uint64_t m_nFrameCaptureTicks; + int8_t m_bPoseIsValid; + uint8_t __pad_73[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + W64_ARRAY(float, 4, m_Pad); + uint8_t __pad_140[4]; + W64_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator u64_CameraVideoStreamFrame_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_CameraVideoStreamFrame_t_0914 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nImageDataSize; + uint32_t m_nFrameSequence; + uint32_t m_nISPFrameTimeStamp; + uint32_t m_nISPReferenceTimeStamp; + uint32_t m_nSyncCounter; + uint32_t m_nExposureTime; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + uint64_t m_nFrameCaptureTicks; + int8_t m_bPoseIsValid; + uint8_t __pad_69[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + U64_ARRAY(float, 4, m_Pad); + U64_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator w64_CameraVideoStreamFrame_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_CameraVideoStreamFrame_t_0914 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nImageDataSize; + uint32_t m_nFrameSequence; + uint32_t m_nISPFrameTimeStamp; + uint32_t m_nISPReferenceTimeStamp; + uint32_t m_nSyncCounter; + uint32_t m_nExposureTime; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + uint8_t __pad_44[4]; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + uint64_t m_nFrameCaptureTicks; + int8_t m_bPoseIsValid; + uint8_t __pad_73[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + W32_ARRAY(float, 4, m_Pad); + W32_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator u32_CameraVideoStreamFrame_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_CameraVideoStreamFrame_t_0914 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nImageDataSize; + uint32_t m_nFrameSequence; + uint32_t m_nISPFrameTimeStamp; + uint32_t m_nISPReferenceTimeStamp; + uint32_t m_nSyncCounter; + uint32_t m_nExposureTime; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + uint64_t m_nFrameCaptureTicks; + int8_t m_bPoseIsValid; + uint8_t __pad_69[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + U32_ARRAY(float, 4, m_Pad); + U32_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator w32_CameraVideoStreamFrame_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CameraVideoStreamFrame_t_0914 w_CameraVideoStreamFrame_t_0914; +typedef u32_CameraVideoStreamFrame_t_0914 u_CameraVideoStreamFrame_t_0914; +#endif +#ifdef __x86_64__ +typedef w64_CameraVideoStreamFrame_t_0914 w_CameraVideoStreamFrame_t_0914; +typedef u64_CameraVideoStreamFrame_t_0914 u_CameraVideoStreamFrame_t_0914; +#endif + +#pragma pack( push, 8 ) +struct w64_CameraVideoStreamFrame_t_0912 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFrameSequence; + uint32_t m_nTimeStamp; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + uint32_t m_nImageDataSize; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + int8_t m_bPoseIsValid; + uint8_t __pad_49[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + W64_ARRAY(float, 4, m_Pad); + uint8_t __pad_116[4]; + W64_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator u64_CameraVideoStreamFrame_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_CameraVideoStreamFrame_t_0912 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFrameSequence; + uint32_t m_nTimeStamp; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + uint32_t m_nImageDataSize; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + int8_t m_bPoseIsValid; + uint8_t __pad_49[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + U64_ARRAY(float, 4, m_Pad); + U64_PTR(void *m_pImageData, m_pImageData); +#ifdef __cplusplus + operator w64_CameraVideoStreamFrame_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_CameraVideoStreamFrame_t_0912 +{ + uint32_t m_nStreamFormat; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFrameSequence; + uint32_t m_nTimeStamp; + uint32_t m_nBufferIndex; + uint32_t m_nBufferCount; + uint32_t m_nImageDataSize; + double m_flFrameElapsedTime; + double m_flFrameCaptureTime; + int8_t m_bPoseIsValid; + uint8_t __pad_49[3]; + HmdMatrix34_t m_matDeviceToAbsoluteTracking; + W32_ARRAY(float, 4, m_Pad); + W32_PTR(void *m_pImageData, m_pImageData); +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_CameraVideoStreamFrame_t_0912 w_CameraVideoStreamFrame_t_0912; +typedef u32_CameraVideoStreamFrame_t_0912 u_CameraVideoStreamFrame_t_0912; +#endif +#ifdef __x86_64__ +typedef w64_CameraVideoStreamFrame_t_0912 w_CameraVideoStreamFrame_t_0912; +typedef u64_CameraVideoStreamFrame_t_0912 u_CameraVideoStreamFrame_t_0912; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_1017 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumMisPresented; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + uint32_t m_nNumVSyncsReadyForUse; + uint32_t m_nNumVSyncsToFirstView; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_1017 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumMisPresented; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + uint32_t m_nNumVSyncsReadyForUse; + uint32_t m_nNumVSyncsToFirstView; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_1017 w_Compositor_FrameTiming_1017; +typedef u32_Compositor_FrameTiming_1017 u_Compositor_FrameTiming_1017; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_1017 w_Compositor_FrameTiming_1017; +typedef u64_Compositor_FrameTiming_1017 u_Compositor_FrameTiming_1017; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_103a +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumMisPresented; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_103a +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumMisPresented; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_103a w_Compositor_FrameTiming_103a; +typedef u32_Compositor_FrameTiming_103a u_Compositor_FrameTiming_103a; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_103a w_Compositor_FrameTiming_103a; +typedef u64_Compositor_FrameTiming_103a u_Compositor_FrameTiming_103a; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_102 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + uint8_t __pad_20[4]; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_102 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_102 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + uint8_t __pad_20[4]; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_102 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + uint32_t m_nReprojectionFlags; + double m_flSystemTimeInSeconds; + float m_flPreSubmitGpuMs; + float m_flPostSubmitGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_102 w_Compositor_FrameTiming_102; +typedef u32_Compositor_FrameTiming_102 u_Compositor_FrameTiming_102; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_102 w_Compositor_FrameTiming_102; +typedef u64_Compositor_FrameTiming_102 u_Compositor_FrameTiming_102; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_0920 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + double m_flSystemTimeInSeconds; + float m_flSceneRenderGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + int32_t m_nFidelityLevel; + uint32_t m_nReprojectionFlags; + uint8_t __pad_172[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_0920 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + double m_flSystemTimeInSeconds; + float m_flSceneRenderGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + int32_t m_nFidelityLevel; + uint32_t m_nReprojectionFlags; + uint8_t __pad_172[4]; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_0920 w_Compositor_FrameTiming_0920; +typedef u32_Compositor_FrameTiming_0920 u_Compositor_FrameTiming_0920; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_0920 w_Compositor_FrameTiming_0920; +typedef u64_Compositor_FrameTiming_0920 u_Compositor_FrameTiming_0920; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_0915 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + double m_flSystemTimeInSeconds; + float m_flSceneRenderGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + int32_t m_nFidelityLevel; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_0915 +{ + uint32_t m_nSize; + uint32_t m_nFrameIndex; + uint32_t m_nNumFramePresents; + uint32_t m_nNumDroppedFrames; + double m_flSystemTimeInSeconds; + float m_flSceneRenderGpuMs; + float m_flTotalRenderGpuMs; + float m_flCompositorRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorIdleCpuMs; + float m_flClientFrameIntervalMs; + float m_flPresentCallCpuMs; + float m_flWaitForPresentCpuMs; + float m_flSubmitFrameMs; + float m_flWaitGetPosesCalledMs; + float m_flNewPosesReadyMs; + float m_flNewFrameReadyMs; + float m_flCompositorUpdateStartMs; + float m_flCompositorUpdateEndMs; + float m_flCompositorRenderStartMs; + TrackedDevicePose_t m_HmdPose; + int32_t m_nFidelityLevel; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_0915 w_Compositor_FrameTiming_0915; +typedef u32_Compositor_FrameTiming_0915 u_Compositor_FrameTiming_0915; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_0915 w_Compositor_FrameTiming_0915; +typedef u64_Compositor_FrameTiming_0915 u_Compositor_FrameTiming_0915; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_0914 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; + uint32_t m_nPresents; + uint8_t __pad_156[4]; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_0914 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; + uint32_t m_nPresents; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_0914 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; + uint32_t m_nPresents; + uint8_t __pad_156[4]; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_0914 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; + uint32_t m_nPresents; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_0914 w_Compositor_FrameTiming_0914; +typedef u32_Compositor_FrameTiming_0914 u_Compositor_FrameTiming_0914; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_0914 w_Compositor_FrameTiming_0914; +typedef u64_Compositor_FrameTiming_0914 u_Compositor_FrameTiming_0914; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_0913 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_0913() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_0913 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_0913() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_0913 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_0913() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_0913 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + float m_flCompositorUpdateCpuMs; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_0913() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_0913 w_Compositor_FrameTiming_0913; +typedef u32_Compositor_FrameTiming_0913 u_Compositor_FrameTiming_0913; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_0913 w_Compositor_FrameTiming_0913; +typedef u64_Compositor_FrameTiming_0913 u_Compositor_FrameTiming_0913; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_0912 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + uint8_t __pad_148[4]; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_0912 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_0912 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; + uint8_t __pad_148[4]; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_0912 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + float m_flHandoffStartMs; + float m_flHandoffEndMs; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_0912 w_Compositor_FrameTiming_0912; +typedef u32_Compositor_FrameTiming_0912 u_Compositor_FrameTiming_0912; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_0912 w_Compositor_FrameTiming_0912; +typedef u64_Compositor_FrameTiming_0912 u_Compositor_FrameTiming_0912; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_093 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + uint8_t __pad_140[4]; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_093 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_093 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; + uint8_t __pad_140[4]; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_093 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + float prediction; + float m_flFrameIntervalMs; + float m_flSceneRenderCpuMs; + float m_flSceneRenderGpuMs; + float m_flCompositorRenderCpuMs; + float m_flCompositorRenderGpuMs; + float m_flPresentCallCpuMs; + float m_flRunningStartMs; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_093 w_Compositor_FrameTiming_093; +typedef u32_Compositor_FrameTiming_093 u_Compositor_FrameTiming_093; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_093 w_Compositor_FrameTiming_093; +typedef u64_Compositor_FrameTiming_093 u_Compositor_FrameTiming_093; +#endif + +#pragma pack( push, 8 ) +struct w64_Compositor_FrameTiming_090 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + uint8_t __pad_108[4]; +#ifdef __cplusplus + operator u64_Compositor_FrameTiming_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_Compositor_FrameTiming_090 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; +#ifdef __cplusplus + operator w64_Compositor_FrameTiming_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_Compositor_FrameTiming_090 +{ + uint32_t size; + uint8_t __pad_4[4]; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; + uint8_t __pad_108[4]; +#ifdef __cplusplus + operator u32_Compositor_FrameTiming_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_Compositor_FrameTiming_090 +{ + uint32_t size; + double frameStart; + float frameVSync; + uint32_t droppedFrames; + uint32_t frameIndex; + TrackedDevicePose_t pose; +#ifdef __cplusplus + operator w32_Compositor_FrameTiming_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_Compositor_FrameTiming_090 w_Compositor_FrameTiming_090; +typedef u32_Compositor_FrameTiming_090 u_Compositor_FrameTiming_090; +#endif +#ifdef __x86_64__ +typedef w64_Compositor_FrameTiming_090 w_Compositor_FrameTiming_090; +typedef u64_Compositor_FrameTiming_090 u_Compositor_FrameTiming_090; +#endif + +#pragma pack( push, 8 ) +struct w64_D3D12TextureData_t +{ + W64_PTR(void /*ID3D12Resource*/ *m_pResource, m_pResource); + W64_PTR(void /*ID3D12CommandQueue*/ *m_pCommandQueue, m_pCommandQueue); + uint32_t m_nNodeMask; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_D3D12TextureData_t +{ + W32_PTR(void /*ID3D12Resource*/ *m_pResource, m_pResource); + W32_PTR(void /*ID3D12CommandQueue*/ *m_pCommandQueue, m_pCommandQueue); + uint32_t m_nNodeMask; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_D3D12TextureData_t w_D3D12TextureData_t; +typedef u32_D3D12TextureData_t u_D3D12TextureData_t; +#endif +#ifdef __x86_64__ +typedef w64_D3D12TextureData_t w_D3D12TextureData_t; +typedef u64_D3D12TextureData_t u_D3D12TextureData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_HiddenAreaMesh_t +{ + W64_PTR(const HmdVector2_t *pVertexData, pVertexData); + uint32_t unTriangleCount; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_HiddenAreaMesh_t +{ + W32_PTR(const HmdVector2_t *pVertexData, pVertexData); + uint32_t unTriangleCount; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_HiddenAreaMesh_t w_HiddenAreaMesh_t; +typedef u32_HiddenAreaMesh_t u_HiddenAreaMesh_t; +#endif +#ifdef __x86_64__ +typedef w64_HiddenAreaMesh_t w_HiddenAreaMesh_t; +typedef u64_HiddenAreaMesh_t u_HiddenAreaMesh_t; +#endif + +struct w_IVRDebug_IVRDebug_001 +{ +#ifdef __cplusplus + virtual uint32_t EmitVrProfilerEvent( const char * ) = 0; + virtual uint32_t BeginVrProfilerEvent( uint64_t * ) = 0; + virtual uint32_t FinishVrProfilerEvent( uint64_t, const char * ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRDebug_IVRDebug_001 +{ +#ifdef __cplusplus + virtual uint32_t EmitVrProfilerEvent( const char * ) = 0; + virtual uint32_t BeginVrProfilerEvent( uint64_t * ) = 0; + virtual uint32_t FinishVrProfilerEvent( uint64_t, const char * ) = 0; + virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0; +#endif /* __cplusplus */ +}; + +struct w_IVRSpatialAnchors_IVRSpatialAnchors_001 +{ +#ifdef __cplusplus + virtual uint32_t CreateSpatialAnchorFromDescriptor( const char *, uint32_t * ) = 0; + virtual uint32_t CreateSpatialAnchorFromPose( uint32_t, uint32_t, SpatialAnchorPose_t *, uint32_t * ) = 0; + virtual uint32_t GetSpatialAnchorPose( uint32_t, uint32_t, SpatialAnchorPose_t * ) = 0; + virtual uint32_t GetSpatialAnchorDescriptor( uint32_t, char *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +struct u_IVRSpatialAnchors_IVRSpatialAnchors_001 +{ +#ifdef __cplusplus + virtual uint32_t CreateSpatialAnchorFromDescriptor( const char *, uint32_t * ) = 0; + virtual uint32_t CreateSpatialAnchorFromPose( uint32_t, uint32_t, SpatialAnchorPose_t *, uint32_t * ) = 0; + virtual uint32_t GetSpatialAnchorPose( uint32_t, uint32_t, SpatialAnchorPose_t * ) = 0; + virtual uint32_t GetSpatialAnchorDescriptor( uint32_t, char *, uint32_t * ) = 0; +#endif /* __cplusplus */ +}; + +#pragma pack( push, 8 ) +struct w64_InputAnalogActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + float x; + float y; + float z; + float deltaX; + float deltaY; + float deltaZ; + float fUpdateTime; + uint8_t __pad_44[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputAnalogActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + float x; + float y; + float z; + float deltaX; + float deltaY; + float deltaZ; + float fUpdateTime; + uint8_t __pad_44[4]; +#ifdef __cplusplus + operator u32_InputAnalogActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputAnalogActionData_t +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; + float x; + float y; + float z; + float deltaX; + float deltaY; + float deltaZ; + float fUpdateTime; +#ifdef __cplusplus + operator w32_InputAnalogActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputAnalogActionData_t w_InputAnalogActionData_t; +typedef u32_InputAnalogActionData_t u_InputAnalogActionData_t; +#endif +#ifdef __x86_64__ +typedef w64_InputAnalogActionData_t w_InputAnalogActionData_t; +typedef u64_InputAnalogActionData_t u_InputAnalogActionData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_InputDigitalActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + int8_t bState; + int8_t bChanged; + uint8_t __pad_18[2]; + float fUpdateTime; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputDigitalActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + int8_t bState; + int8_t bChanged; + uint8_t __pad_18[2]; + float fUpdateTime; +#ifdef __cplusplus + operator u32_InputDigitalActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputDigitalActionData_t +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; + int8_t bState; + int8_t bChanged; + uint8_t __pad_14[2]; + float fUpdateTime; +#ifdef __cplusplus + operator w32_InputDigitalActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputDigitalActionData_t w_InputDigitalActionData_t; +typedef u32_InputDigitalActionData_t u_InputDigitalActionData_t; +#endif +#ifdef __x86_64__ +typedef w64_InputDigitalActionData_t w_InputDigitalActionData_t; +typedef u64_InputDigitalActionData_t u_InputDigitalActionData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_InputOriginInfo_t +{ + uint64_t devicePath; + uint32_t trackedDeviceIndex; + W64_ARRAY(char, 128, rchRenderModelComponentName); + uint8_t __pad_140[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputOriginInfo_t +{ + uint64_t devicePath; + uint32_t trackedDeviceIndex; + W32_ARRAY(char, 128, rchRenderModelComponentName); + uint8_t __pad_140[4]; +#ifdef __cplusplus + operator u32_InputOriginInfo_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputOriginInfo_t +{ + uint64_t devicePath; + uint32_t trackedDeviceIndex; + U32_ARRAY(char, 128, rchRenderModelComponentName); +#ifdef __cplusplus + operator w32_InputOriginInfo_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputOriginInfo_t w_InputOriginInfo_t; +typedef u32_InputOriginInfo_t u_InputOriginInfo_t; +#endif +#ifdef __x86_64__ +typedef w64_InputOriginInfo_t w_InputOriginInfo_t; +typedef u64_InputOriginInfo_t u_InputOriginInfo_t; +#endif + +#pragma pack( push, 8 ) +struct w64_InputPoseActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + TrackedDevicePose_t pose; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputPoseActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + TrackedDevicePose_t pose; +#ifdef __cplusplus + operator u32_InputPoseActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputPoseActionData_t +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; + TrackedDevicePose_t pose; +#ifdef __cplusplus + operator w32_InputPoseActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputPoseActionData_t w_InputPoseActionData_t; +typedef u32_InputPoseActionData_t u_InputPoseActionData_t; +#endif +#ifdef __x86_64__ +typedef w64_InputPoseActionData_t w_InputPoseActionData_t; +typedef u64_InputPoseActionData_t u_InputPoseActionData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_InputSkeletalActionData_t_113b +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputSkeletalActionData_t_113b +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; +#ifdef __cplusplus + operator u32_InputSkeletalActionData_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputSkeletalActionData_t_113b +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; +#ifdef __cplusplus + operator w32_InputSkeletalActionData_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputSkeletalActionData_t_113b w_InputSkeletalActionData_t_113b; +typedef u32_InputSkeletalActionData_t_113b u_InputSkeletalActionData_t_113b; +#endif +#ifdef __x86_64__ +typedef w64_InputSkeletalActionData_t_113b w_InputSkeletalActionData_t_113b; +typedef u64_InputSkeletalActionData_t_113b u_InputSkeletalActionData_t_113b; +#endif + +#pragma pack( push, 8 ) +struct w64_InputSkeletalActionData_t_1016 +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + uint32_t boneCount; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputSkeletalActionData_t_1016 +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; + uint32_t boneCount; + uint8_t __pad_20[4]; +#ifdef __cplusplus + operator u32_InputSkeletalActionData_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputSkeletalActionData_t_1016 +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; + uint32_t boneCount; +#ifdef __cplusplus + operator w32_InputSkeletalActionData_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputSkeletalActionData_t_1016 w_InputSkeletalActionData_t_1016; +typedef u32_InputSkeletalActionData_t_1016 u_InputSkeletalActionData_t_1016; +#endif +#ifdef __x86_64__ +typedef w64_InputSkeletalActionData_t_1016 w_InputSkeletalActionData_t_1016; +typedef u64_InputSkeletalActionData_t_1016 u_InputSkeletalActionData_t_1016; +#endif + +#pragma pack( push, 8 ) +struct w64_InputSkeletonActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_InputSkeletonActionData_t +{ + int8_t bActive; + uint8_t __pad_1[7]; + uint64_t activeOrigin; +#ifdef __cplusplus + operator u32_InputSkeletonActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_InputSkeletonActionData_t +{ + int8_t bActive; + uint8_t __pad_1[3]; + uint64_t activeOrigin; +#ifdef __cplusplus + operator w32_InputSkeletonActionData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_InputSkeletonActionData_t w_InputSkeletonActionData_t; +typedef u32_InputSkeletonActionData_t u_InputSkeletonActionData_t; +#endif +#ifdef __x86_64__ +typedef w64_InputSkeletonActionData_t w_InputSkeletonActionData_t; +typedef u64_InputSkeletonActionData_t u_InputSkeletonActionData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_NotificationBitmap +{ + W64_PTR(void *bytes, bytes); + int32_t width; + int32_t height; + int32_t depth; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_NotificationBitmap +{ + W32_PTR(void *bytes, bytes); + int32_t width; + int32_t height; + int32_t depth; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_NotificationBitmap w_NotificationBitmap; +typedef u32_NotificationBitmap u_NotificationBitmap; +#endif +#ifdef __x86_64__ +typedef w64_NotificationBitmap w_NotificationBitmap; +typedef u64_NotificationBitmap u_NotificationBitmap; +#endif + +#pragma pack( push, 8 ) +struct w64_NotificationBitmap_t +{ + W64_PTR(void *m_pImageData, m_pImageData); + int32_t m_nWidth; + int32_t m_nHeight; + int32_t m_nBytesPerPixel; + uint8_t __pad_20[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_NotificationBitmap_t +{ + W32_PTR(void *m_pImageData, m_pImageData); + int32_t m_nWidth; + int32_t m_nHeight; + int32_t m_nBytesPerPixel; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_NotificationBitmap_t w_NotificationBitmap_t; +typedef u32_NotificationBitmap_t u_NotificationBitmap_t; +#endif +#ifdef __x86_64__ +typedef w64_NotificationBitmap_t w_NotificationBitmap_t; +typedef u64_NotificationBitmap_t u_NotificationBitmap_t; +#endif + +#pragma pack( push, 8 ) +struct w64_RenderModel_t_0912 +{ + W64_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + uint8_t __pad_12[4]; + W64_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + int32_t diffuseTextureId; +#ifdef __cplusplus + operator u64_RenderModel_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RenderModel_t_0912 +{ + U64_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + U64_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + int32_t diffuseTextureId; +#ifdef __cplusplus + operator w64_RenderModel_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_RenderModel_t_0912 +{ + W32_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + W32_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + int32_t diffuseTextureId; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RenderModel_t_0912 w_RenderModel_t_0912; +typedef u32_RenderModel_t_0912 u_RenderModel_t_0912; +#endif +#ifdef __x86_64__ +typedef w64_RenderModel_t_0912 w_RenderModel_t_0912; +typedef u64_RenderModel_t_0912 u_RenderModel_t_0912; +#endif + +#pragma pack( push, 8 ) +struct w64_RenderModel_t_090 +{ + uint64_t ulInternalHandle; + W64_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + uint8_t __pad_20[4]; + W64_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + uint8_t __pad_36[4]; + w64_RenderModel_TextureMap_t_090 diffuseTexture; +#ifdef __cplusplus + operator u64_RenderModel_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_RenderModel_t_090 +{ + uint64_t ulInternalHandle; + U64_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + U64_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + u64_RenderModel_TextureMap_t_090 diffuseTexture; +#ifdef __cplusplus + operator w64_RenderModel_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_RenderModel_t_090 +{ + uint64_t ulInternalHandle; + W32_PTR(const RenderModel_Vertex_t *rVertexData, rVertexData); + uint32_t unVertexCount; + W32_PTR(const uint16_t *rIndexData, rIndexData); + uint32_t unTriangleCount; + w32_RenderModel_TextureMap_t_090 diffuseTexture; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_RenderModel_t_090 w_RenderModel_t_090; +typedef u32_RenderModel_t_090 u_RenderModel_t_090; +#endif +#ifdef __x86_64__ +typedef w64_RenderModel_t_090 w_RenderModel_t_090; +typedef u64_RenderModel_t_090 u_RenderModel_t_090; +#endif + +#pragma pack( push, 8 ) +struct w64_VRControllerState001_t +{ + uint32_t unPacketNum; + uint8_t __pad_4[4]; + uint64_t ulButtonPressed; + uint64_t ulButtonTouched; + W64_ARRAY(VRControllerAxis_t, 5, rAxis); +#ifdef __cplusplus + operator u64_VRControllerState001_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VRControllerState001_t +{ + uint32_t unPacketNum; + uint64_t ulButtonPressed; + uint64_t ulButtonTouched; + U64_ARRAY(VRControllerAxis_t, 5, rAxis); +#ifdef __cplusplus + operator w64_VRControllerState001_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VRControllerState001_t +{ + uint32_t unPacketNum; + uint8_t __pad_4[4]; + uint64_t ulButtonPressed; + uint64_t ulButtonTouched; + W32_ARRAY(VRControllerAxis_t, 5, rAxis); +#ifdef __cplusplus + operator u32_VRControllerState001_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VRControllerState001_t +{ + uint32_t unPacketNum; + uint64_t ulButtonPressed; + uint64_t ulButtonTouched; + U32_ARRAY(VRControllerAxis_t, 5, rAxis); +#ifdef __cplusplus + operator w32_VRControllerState001_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRControllerState001_t w_VRControllerState001_t; +typedef u32_VRControllerState001_t u_VRControllerState001_t; +#endif +#ifdef __x86_64__ +typedef w64_VRControllerState001_t w_VRControllerState001_t; +typedef u64_VRControllerState001_t u_VRControllerState001_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1168 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1168 data; +#ifdef __cplusplus + operator u64_VREvent_t_1168() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1168 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1168 data; +#ifdef __cplusplus + operator w64_VREvent_t_1168() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1168 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1168 data; +#ifdef __cplusplus + operator u32_VREvent_t_1168() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1168 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1168 data; +#ifdef __cplusplus + operator w32_VREvent_t_1168() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1168 w_VREvent_t_1168; +typedef u32_VREvent_t_1168 u_VREvent_t_1168; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1168 w_VREvent_t_1168; +typedef u64_VREvent_t_1168 u_VREvent_t_1168; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_11030 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_11030 data; +#ifdef __cplusplus + operator u64_VREvent_t_11030() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_11030 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_11030 data; +#ifdef __cplusplus + operator w64_VREvent_t_11030() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_11030 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_11030 data; +#ifdef __cplusplus + operator u32_VREvent_t_11030() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_11030 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_11030 data; +#ifdef __cplusplus + operator w32_VREvent_t_11030() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_11030 w_VREvent_t_11030; +typedef u32_VREvent_t_11030 u_VREvent_t_11030; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_11030 w_VREvent_t_11030; +typedef u64_VREvent_t_11030 u_VREvent_t_11030; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1322 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1322 data; +#ifdef __cplusplus + operator u64_VREvent_t_1322() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1322 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1322 data; +#ifdef __cplusplus + operator w64_VREvent_t_1322() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1322 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1322 data; +#ifdef __cplusplus + operator u32_VREvent_t_1322() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1322 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1322 data; +#ifdef __cplusplus + operator w32_VREvent_t_1322() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1322 w_VREvent_t_1322; +typedef u32_VREvent_t_1322 u_VREvent_t_1322; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1322 w_VREvent_t_1322; +typedef u64_VREvent_t_1322 u_VREvent_t_1322; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1210 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1210 data; +#ifdef __cplusplus + operator u64_VREvent_t_1210() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1210 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1210 data; +#ifdef __cplusplus + operator w64_VREvent_t_1210() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1210 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1210 data; +#ifdef __cplusplus + operator u32_VREvent_t_1210() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1210 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1210 data; +#ifdef __cplusplus + operator w32_VREvent_t_1210() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1210 w_VREvent_t_1210; +typedef u32_VREvent_t_1210 u_VREvent_t_1210; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1210 w_VREvent_t_1210; +typedef u64_VREvent_t_1210 u_VREvent_t_1210; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_113b +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_113b data; +#ifdef __cplusplus + operator u64_VREvent_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_113b +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_113b data; +#ifdef __cplusplus + operator w64_VREvent_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_113b +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_113b data; +#ifdef __cplusplus + operator u32_VREvent_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_113b +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_113b data; +#ifdef __cplusplus + operator w32_VREvent_t_113b() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_113b w_VREvent_t_113b; +typedef u32_VREvent_t_113b u_VREvent_t_113b; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_113b w_VREvent_t_113b; +typedef u64_VREvent_t_113b u_VREvent_t_113b; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1016 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1016 data; +#ifdef __cplusplus + operator u64_VREvent_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1016 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1016 data; +#ifdef __cplusplus + operator w64_VREvent_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1016 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1016 data; +#ifdef __cplusplus + operator u32_VREvent_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1016 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1016 data; +#ifdef __cplusplus + operator w32_VREvent_t_1016() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1016 w_VREvent_t_1016; +typedef u32_VREvent_t_1016 u_VREvent_t_1016; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1016 w_VREvent_t_1016; +typedef u64_VREvent_t_1016 u_VREvent_t_1016; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1015 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1015 data; +#ifdef __cplusplus + operator u64_VREvent_t_1015() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1015 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1015 data; +#ifdef __cplusplus + operator w64_VREvent_t_1015() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1015 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1015 data; +#ifdef __cplusplus + operator u32_VREvent_t_1015() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1015 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1015 data; +#ifdef __cplusplus + operator w32_VREvent_t_1015() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1015 w_VREvent_t_1015; +typedef u32_VREvent_t_1015 u_VREvent_t_1015; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1015 w_VREvent_t_1015; +typedef u64_VREvent_t_1015 u_VREvent_t_1015; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1014 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1014 data; +#ifdef __cplusplus + operator u64_VREvent_t_1014() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1014 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1014 data; +#ifdef __cplusplus + operator w64_VREvent_t_1014() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1014 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1014 data; +#ifdef __cplusplus + operator u32_VREvent_t_1014() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1014 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1014 data; +#ifdef __cplusplus + operator w32_VREvent_t_1014() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1014 w_VREvent_t_1014; +typedef u32_VREvent_t_1014 u_VREvent_t_1014; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1014 w_VREvent_t_1014; +typedef u64_VREvent_t_1014 u_VREvent_t_1014; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1013 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1013 data; +#ifdef __cplusplus + operator u64_VREvent_t_1013() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1013 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1013 data; +#ifdef __cplusplus + operator w64_VREvent_t_1013() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1013 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1013 data; +#ifdef __cplusplus + operator u32_VREvent_t_1013() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1013 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1013 data; +#ifdef __cplusplus + operator w32_VREvent_t_1013() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1013 w_VREvent_t_1013; +typedef u32_VREvent_t_1013 u_VREvent_t_1013; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1013 w_VREvent_t_1013; +typedef u64_VREvent_t_1013 u_VREvent_t_1013; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1012 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1012 data; +#ifdef __cplusplus + operator u64_VREvent_t_1012() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1012 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1012 data; +#ifdef __cplusplus + operator w64_VREvent_t_1012() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1012 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1012 data; +#ifdef __cplusplus + operator u32_VREvent_t_1012() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1012 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1012 data; +#ifdef __cplusplus + operator w32_VREvent_t_1012() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1012 w_VREvent_t_1012; +typedef u32_VREvent_t_1012 u_VREvent_t_1012; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1012 w_VREvent_t_1012; +typedef u64_VREvent_t_1012 u_VREvent_t_1012; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_1011 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1011 data; +#ifdef __cplusplus + operator u64_VREvent_t_1011() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_1011 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1011 data; +#ifdef __cplusplus + operator w64_VREvent_t_1011() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_1011 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_1011 data; +#ifdef __cplusplus + operator u32_VREvent_t_1011() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_1011 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_1011 data; +#ifdef __cplusplus + operator w32_VREvent_t_1011() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_1011 w_VREvent_t_1011; +typedef u32_VREvent_t_1011 u_VREvent_t_1011; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_1011 w_VREvent_t_1011; +typedef u64_VREvent_t_1011 u_VREvent_t_1011; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_106 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_106 data; +#ifdef __cplusplus + operator u64_VREvent_t_106() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_106 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_106 data; +#ifdef __cplusplus + operator w64_VREvent_t_106() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_106 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_106 data; +#ifdef __cplusplus + operator u32_VREvent_t_106() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_106 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_106 data; +#ifdef __cplusplus + operator w32_VREvent_t_106() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_106 w_VREvent_t_106; +typedef u32_VREvent_t_106 u_VREvent_t_106; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_106 w_VREvent_t_106; +typedef u64_VREvent_t_106 u_VREvent_t_106; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_105 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_105 data; +#ifdef __cplusplus + operator u64_VREvent_t_105() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_105 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_105 data; +#ifdef __cplusplus + operator w64_VREvent_t_105() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_105 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_105 data; +#ifdef __cplusplus + operator u32_VREvent_t_105() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_105 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_105 data; +#ifdef __cplusplus + operator w32_VREvent_t_105() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_105 w_VREvent_t_105; +typedef u32_VREvent_t_105 u_VREvent_t_105; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_105 w_VREvent_t_105; +typedef u64_VREvent_t_105 u_VREvent_t_105; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_103 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_103 data; +#ifdef __cplusplus + operator u64_VREvent_t_103() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_103 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_103 data; +#ifdef __cplusplus + operator w64_VREvent_t_103() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_103 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_103 data; +#ifdef __cplusplus + operator u32_VREvent_t_103() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_103 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_103 data; +#ifdef __cplusplus + operator w32_VREvent_t_103() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_103 w_VREvent_t_103; +typedef u32_VREvent_t_103 u_VREvent_t_103; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_103 w_VREvent_t_103; +typedef u64_VREvent_t_103 u_VREvent_t_103; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_102 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_102 data; +#ifdef __cplusplus + operator u64_VREvent_t_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_102 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_102 data; +#ifdef __cplusplus + operator w64_VREvent_t_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_102 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_102 data; +#ifdef __cplusplus + operator u32_VREvent_t_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_102 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_102 data; +#ifdef __cplusplus + operator w32_VREvent_t_102() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_102 w_VREvent_t_102; +typedef u32_VREvent_t_102 u_VREvent_t_102; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_102 w_VREvent_t_102; +typedef u64_VREvent_t_102 u_VREvent_t_102; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_101 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_101 data; +#ifdef __cplusplus + operator u64_VREvent_t_101() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_101 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_101 data; +#ifdef __cplusplus + operator w64_VREvent_t_101() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_101 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_101 data; +#ifdef __cplusplus + operator u32_VREvent_t_101() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_101 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_101 data; +#ifdef __cplusplus + operator w32_VREvent_t_101() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_101 w_VREvent_t_101; +typedef u32_VREvent_t_101 u_VREvent_t_101; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_101 w_VREvent_t_101; +typedef u64_VREvent_t_101 u_VREvent_t_101; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_0918 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_0918 data; +#ifdef __cplusplus + operator u64_VREvent_t_0918() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_0918 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_0918 data; +#ifdef __cplusplus + operator w64_VREvent_t_0918() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_0918 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_0918 data; +#ifdef __cplusplus + operator u32_VREvent_t_0918() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_0918 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_0918 data; +#ifdef __cplusplus + operator w32_VREvent_t_0918() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_0918 w_VREvent_t_0918; +typedef u32_VREvent_t_0918 u_VREvent_t_0918; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_0918 w_VREvent_t_0918; +typedef u64_VREvent_t_0918 u_VREvent_t_0918; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_0915 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_0915 data; +#ifdef __cplusplus + operator u64_VREvent_t_0915() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_0915 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_0915 data; +#ifdef __cplusplus + operator w64_VREvent_t_0915() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_0915 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + uint8_t __pad_12[4]; + VREvent_Data_t_0915 data; +#ifdef __cplusplus + operator u32_VREvent_t_0915() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_0915 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + float eventAgeSeconds; + VREvent_Data_t_0915 data; +#ifdef __cplusplus + operator w32_VREvent_t_0915() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_0915 w_VREvent_t_0915; +typedef u32_VREvent_t_0915 u_VREvent_t_0915; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_0915 w_VREvent_t_0915; +typedef u64_VREvent_t_0915 u_VREvent_t_0915; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_0914 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0914 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_0914 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0914 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_0914 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0914 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_0914 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0914 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_0914() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_0914 w_VREvent_t_0914; +typedef u32_VREvent_t_0914 u_VREvent_t_0914; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_0914 w_VREvent_t_0914; +typedef u64_VREvent_t_0914 u_VREvent_t_0914; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_0912 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0912 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_0912 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0912 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_0912 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0912 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_0912 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0912 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_0912() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_0912 w_VREvent_t_0912; +typedef u32_VREvent_t_0912 u_VREvent_t_0912; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_0912 w_VREvent_t_0912; +typedef u64_VREvent_t_0912 u_VREvent_t_0912; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_0910 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0910 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_0910() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_0910 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0910 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_0910() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_0910 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0910 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_0910() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_0910 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_0910 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_0910() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_0910 w_VREvent_t_0910; +typedef u32_VREvent_t_0910 u_VREvent_t_0910; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_0910 w_VREvent_t_0910; +typedef u64_VREvent_t_0910 u_VREvent_t_0910; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_097 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_097 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_097() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_097 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_097 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_097() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_097 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_097 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_097() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_097 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_097 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_097() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_097 w_VREvent_t_097; +typedef u32_VREvent_t_097 u_VREvent_t_097; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_097 w_VREvent_t_097; +typedef u64_VREvent_t_097 u_VREvent_t_097; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_093 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_093 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_093 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_093 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_093 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_093 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_093 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_093 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_093() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_093 w_VREvent_t_093; +typedef u32_VREvent_t_093 u_VREvent_t_093; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_093 w_VREvent_t_093; +typedef u64_VREvent_t_093 u_VREvent_t_093; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_092 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_092 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_092() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_092 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_092 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_092() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_092 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_092 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_092() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_092 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_092 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_092() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_092 w_VREvent_t_092; +typedef u32_VREvent_t_092 u_VREvent_t_092; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_092 w_VREvent_t_092; +typedef u64_VREvent_t_092 u_VREvent_t_092; +#endif + +#pragma pack( push, 8 ) +struct w64_VREvent_t_090 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_090 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u64_VREvent_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u64_VREvent_t_090 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_090 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w64_VREvent_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VREvent_t_090 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_090 data; + float eventAgeSeconds; + uint8_t __pad_28[4]; +#ifdef __cplusplus + operator u32_VREvent_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VREvent_t_090 +{ + uint32_t eventType; + uint32_t trackedDeviceIndex; + VREvent_Data_t_090 data; + float eventAgeSeconds; +#ifdef __cplusplus + operator w32_VREvent_t_090() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VREvent_t_090 w_VREvent_t_090; +typedef u32_VREvent_t_090 u_VREvent_t_090; +#endif +#ifdef __x86_64__ +typedef w64_VREvent_t_090 w_VREvent_t_090; +typedef u64_VREvent_t_090 u_VREvent_t_090; +#endif + +#pragma pack( push, 8 ) +struct w64_VRNativeDevice_t +{ + W64_PTR(void *handle, handle); + uint32_t eType; + uint8_t __pad_12[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRNativeDevice_t +{ + W32_PTR(void *handle, handle); + uint32_t eType; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRNativeDevice_t w_VRNativeDevice_t; +typedef u32_VRNativeDevice_t u_VRNativeDevice_t; +#endif +#ifdef __x86_64__ +typedef w64_VRNativeDevice_t w_VRNativeDevice_t; +typedef u64_VRNativeDevice_t u_VRNativeDevice_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VROverlayView_t +{ + uint64_t overlayHandle; + w64_Texture_t texture; + VRTextureBounds_t textureBounds; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VROverlayView_t +{ + uint64_t overlayHandle; + w32_Texture_t texture; + VRTextureBounds_t textureBounds; + uint8_t __pad_36[4]; +#ifdef __cplusplus + operator u32_VROverlayView_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VROverlayView_t +{ + uint64_t overlayHandle; + u32_Texture_t texture; + VRTextureBounds_t textureBounds; +#ifdef __cplusplus + operator w32_VROverlayView_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VROverlayView_t w_VROverlayView_t; +typedef u32_VROverlayView_t u_VROverlayView_t; +#endif +#ifdef __x86_64__ +typedef w64_VROverlayView_t w_VROverlayView_t; +typedef u64_VROverlayView_t u_VROverlayView_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRTextureWithDepth_t +{ + W64_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + w64_VRTextureDepthInfo_t depth; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRTextureWithDepth_t +{ + W32_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + w32_VRTextureDepthInfo_t depth; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRTextureWithDepth_t w_VRTextureWithDepth_t; +typedef u32_VRTextureWithDepth_t u_VRTextureWithDepth_t; +#endif +#ifdef __x86_64__ +typedef w64_VRTextureWithDepth_t w_VRTextureWithDepth_t; +typedef u64_VRTextureWithDepth_t u_VRTextureWithDepth_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRTextureWithPoseAndDepth_t +{ + W64_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + HmdMatrix34_t mDeviceToAbsoluteTracking; + w64_VRTextureDepthInfo_t depth; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRTextureWithPoseAndDepth_t +{ + W32_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + HmdMatrix34_t mDeviceToAbsoluteTracking; + w32_VRTextureDepthInfo_t depth; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRTextureWithPoseAndDepth_t w_VRTextureWithPoseAndDepth_t; +typedef u32_VRTextureWithPoseAndDepth_t u_VRTextureWithPoseAndDepth_t; +#endif +#ifdef __x86_64__ +typedef w64_VRTextureWithPoseAndDepth_t w_VRTextureWithPoseAndDepth_t; +typedef u64_VRTextureWithPoseAndDepth_t u_VRTextureWithPoseAndDepth_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRTextureWithPose_t +{ + W64_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + HmdMatrix34_t mDeviceToAbsoluteTracking; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRTextureWithPose_t +{ + W32_PTR(void *handle, handle); + uint32_t eType; + uint32_t eColorSpace; + HmdMatrix34_t mDeviceToAbsoluteTracking; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRTextureWithPose_t w_VRTextureWithPose_t; +typedef u32_VRTextureWithPose_t u_VRTextureWithPose_t; +#endif +#ifdef __x86_64__ +typedef w64_VRTextureWithPose_t w_VRTextureWithPose_t; +typedef u64_VRTextureWithPose_t u_VRTextureWithPose_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRVulkanDevice_t +{ + W64_PTR(VkInstance_T *m_pInstance, m_pInstance); + W64_PTR(VkDevice_T *m_pDevice, m_pDevice); + W64_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W64_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_uQueueFamilyIndex; + uint8_t __pad_36[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct w32_VRVulkanDevice_t +{ + W32_PTR(VkInstance_T *m_pInstance, m_pInstance); + W32_PTR(VkDevice_T *m_pDevice, m_pDevice); + W32_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W32_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_uQueueFamilyIndex; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRVulkanDevice_t w_VRVulkanDevice_t; +typedef u32_VRVulkanDevice_t u_VRVulkanDevice_t; +#endif +#ifdef __x86_64__ +typedef w64_VRVulkanDevice_t w_VRVulkanDevice_t; +typedef u64_VRVulkanDevice_t u_VRVulkanDevice_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRVulkanTextureArrayData_t +{ + uint64_t m_nImage; + W64_PTR(VkDevice_T *m_pDevice, m_pDevice); + W64_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W64_PTR(VkInstance_T *m_pInstance, m_pInstance); + W64_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_60[4]; + uint32_t m_unArrayIndex; + uint32_t m_unArraySize; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VRVulkanTextureArrayData_t +{ + uint64_t m_nImage; + W32_PTR(VkDevice_T *m_pDevice, m_pDevice); + W32_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W32_PTR(VkInstance_T *m_pInstance, m_pInstance); + W32_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_44[4]; + uint32_t m_unArrayIndex; + uint32_t m_unArraySize; +#ifdef __cplusplus + operator u32_VRVulkanTextureArrayData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#pragma pack( push, 4 ) +struct u32_VRVulkanTextureArrayData_t +{ + uint64_t m_nImage; + U32_PTR(VkDevice_T *m_pDevice, m_pDevice); + U32_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + U32_PTR(VkInstance_T *m_pInstance, m_pInstance); + U32_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint32_t m_unArrayIndex; + uint32_t m_unArraySize; +#ifdef __cplusplus + operator w32_VRVulkanTextureArrayData_t() const; +#endif /* __cplusplus */ +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRVulkanTextureArrayData_t w_VRVulkanTextureArrayData_t; +typedef u32_VRVulkanTextureArrayData_t u_VRVulkanTextureArrayData_t; +#endif +#ifdef __x86_64__ +typedef w64_VRVulkanTextureArrayData_t w_VRVulkanTextureArrayData_t; +typedef u64_VRVulkanTextureArrayData_t u_VRVulkanTextureArrayData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VRVulkanTextureData_t +{ + uint64_t m_nImage; + W64_PTR(VkDevice_T *m_pDevice, m_pDevice); + W64_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W64_PTR(VkInstance_T *m_pInstance, m_pInstance); + W64_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_60[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VRVulkanTextureData_t +{ + uint64_t m_nImage; + W32_PTR(VkDevice_T *m_pDevice, m_pDevice); + W32_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W32_PTR(VkInstance_T *m_pInstance, m_pInstance); + W32_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_44[4]; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VRVulkanTextureData_t w_VRVulkanTextureData_t; +typedef u32_VRVulkanTextureData_t u_VRVulkanTextureData_t; +#endif +#ifdef __x86_64__ +typedef w64_VRVulkanTextureData_t w_VRVulkanTextureData_t; +typedef u64_VRVulkanTextureData_t u_VRVulkanTextureData_t; +#endif + +#pragma pack( push, 8 ) +struct w64_VulkanData_t +{ + uint64_t m_nImage; + W64_PTR(VkDevice_T *m_pDevice, m_pDevice); + W64_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W64_PTR(VkInstance_T *m_pInstance, m_pInstance); + W64_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_60[4]; +}; +#pragma pack( pop ) + +#pragma pack( push, 8 ) +struct w32_VulkanData_t +{ + uint64_t m_nImage; + W32_PTR(VkDevice_T *m_pDevice, m_pDevice); + W32_PTR(VkPhysicalDevice_T *m_pPhysicalDevice, m_pPhysicalDevice); + W32_PTR(VkInstance_T *m_pInstance, m_pInstance); + W32_PTR(VkQueue_T *m_pQueue, m_pQueue); + uint32_t m_nQueueFamilyIndex; + uint32_t m_nWidth; + uint32_t m_nHeight; + uint32_t m_nFormat; + uint32_t m_nSampleCount; + uint8_t __pad_44[4]; +}; +#pragma pack( pop ) + +#ifdef __i386__ +typedef w32_VulkanData_t w_VulkanData_t; +typedef u32_VulkanData_t u_VulkanData_t; +#endif +#ifdef __x86_64__ +typedef w64_VulkanData_t w_VulkanData_t; +typedef u64_VulkanData_t u_VulkanData_t; +#endif + diff --git a/vrclient_x64/vrclient_x64.spec b/vrclient_x64/vrclient_x64.spec new file mode 100644 index 000000000..c7e832e53 --- /dev/null +++ b/vrclient_x64/vrclient_x64.spec @@ -0,0 +1,4 @@ +# Generated from vrclient.dll by winedump + +1 stdcall HmdSystemFactory(ptr ptr) +2 stdcall VRClientCoreFactory(ptr ptr) diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp deleted file mode 100644 index 8e58183ab..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_001.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetHomeApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->SetHomeApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h deleted file mode 100644 index 727ccf0f9..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_001.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_001_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_001_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetHomeApplication(void *, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetHomeApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_001_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp deleted file mode 100644 index 26c21cf0d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *linux_side) -{ - return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h deleted file mode 100644 index 124fd0a7b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_002.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_002_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_002_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_002_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp deleted file mode 100644 index c95f2b7fe..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *linux_side) -{ - return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h deleted file mode 100644 index 6e9cc8c66..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_003.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_003_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_003_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_003_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp deleted file mode 100644 index a659d2cf5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.cpp +++ /dev/null @@ -1,129 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_004.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *linux_side) -{ - return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h deleted file mode 100644 index b3b3e6688..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_004.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_004_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_004_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_004_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_004_LaunchInternalProcess(void *, const char *, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp deleted file mode 100644 index 28d2d288b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_005.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *linux_side, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - return ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *linux_side) -{ - return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h deleted file mode 100644 index a1985efaf..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_005_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(void *, const char *, const char *, AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_005_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_005_LaunchInternalProcess(void *, const char *, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp deleted file mode 100644 index 5f290d4ce..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.cpp +++ /dev/null @@ -1,169 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_006.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *linux_side, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - return ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *linux_side, const char * pchMimeType, const char * pchArgs) -{ - return ((IVRApplications*)linux_side)->LaunchApplicationFromMimeType((const char *)pchMimeType, (const char *)pchArgs); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *linux_side, const char * pchAppKey, const char * pchMimeType) -{ - return ((IVRApplications*)linux_side)->SetDefaultApplicationForMimeType((const char *)pchAppKey, (const char *)pchMimeType); -} - -bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetDefaultApplicationForMimeType((const char *)pchMimeType, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *linux_side, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - return ((IVRApplications*)linux_side)->GetApplicationSupportedMimeTypes((const char *)pchAppKey, (char *)pchMimeTypesBuffer, (uint32_t)unMimeTypesBuffer); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - return ((IVRApplications*)linux_side)->GetApplicationsThatSupportMimeType((const char *)pchMimeType, (char *)pchAppKeysThatSupportBuffer, (uint32_t)unAppKeysThatSupportBuffer); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *linux_side, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - return ((IVRApplications*)linux_side)->GetApplicationLaunchArguments((uint32_t)unHandle, (char *)pchArgs, (uint32_t)unArgs); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetTransitionState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *linux_side, EVRApplicationTransitionState state) -{ - return ((IVRApplications*)linux_side)->GetApplicationsTransitionStateNameFromEnum((vr::EVRApplicationTransitionState)state); -} - -bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *linux_side) -{ - return ((IVRApplications*)linux_side)->IsQuitUserPromptRequested(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); -} - -uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetCurrentSceneProcessId(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h deleted file mode 100644 index a9be49e24..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_006.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_006_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_006_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(void *, const char *, const char *, AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(void *, const char *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(void *, const char *, const char *); -extern bool cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(void *, const char *, char *, uint32_t); -extern bool cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_GetStartingApplication(void *, char *, uint32_t); -extern EVRApplicationTransitionState cppIVRApplications_IVRApplications_006_GetTransitionState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(void *, EVRApplicationTransitionState); -extern bool cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_006_LaunchInternalProcess(void *, const char *, const char *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp deleted file mode 100644 index c8b263b57..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.cpp +++ /dev/null @@ -1,164 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRApplications_IVRApplications_007.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_AddApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - return ((IVRApplications*)linux_side)->AddApplicationManifest((const char *)pchApplicationManifestFullPath, (bool)bTemporary); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(void *linux_side, const char * pchApplicationManifestFullPath) -{ - return ((IVRApplications*)linux_side)->RemoveApplicationManifest((const char *)pchApplicationManifestFullPath); -} - -bool cppIVRApplications_IVRApplications_007_IsApplicationInstalled(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IsApplicationInstalled((const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationCount(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetApplicationCount(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(void *linux_side, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByIndex((uint32_t)unApplicationIndex, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(void *linux_side, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetApplicationKeyByProcessId((uint32_t)unProcessId, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplication(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchApplication((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(void *linux_side, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - return ((IVRApplications*)linux_side)->LaunchTemplateApplication((const char *)pchTemplateAppKey, (const char *)pchNewAppKey, (const vr::AppOverrideKeys_t *)pKeys, (uint32_t)unKeys); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(void *linux_side, const char * pchMimeType, const char * pchArgs) -{ - return ((IVRApplications*)linux_side)->LaunchApplicationFromMimeType((const char *)pchMimeType, (const char *)pchArgs); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->LaunchDashboardOverlay((const char *)pchAppKey); -} - -bool cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->CancelApplicationLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_IdentifyApplication(void *linux_side, uint32_t unProcessId, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->IdentifyApplication((uint32_t)unProcessId, (const char *)pchAppKey); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationProcessId(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationProcessId((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(void *linux_side, EVRApplicationError error) -{ - return ((IVRApplications*)linux_side)->GetApplicationsErrorNameFromEnum((vr::EVRApplicationError)error); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyString((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (char *)pchPropertyValueBuffer, (uint32_t)unPropertyValueBufferLen, (vr::EVRApplicationError *)peError); -} - -bool cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyBool((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -uint64_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(void *linux_side, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - return ((IVRApplications*)linux_side)->GetApplicationPropertyUint64((const char *)pchAppKey, (vr::EVRApplicationProperty)eProperty, (vr::EVRApplicationError *)peError); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(void *linux_side, const char * pchAppKey, bool bAutoLaunch) -{ - return ((IVRApplications*)linux_side)->SetApplicationAutoLaunch((const char *)pchAppKey, (bool)bAutoLaunch); -} - -bool cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->GetApplicationAutoLaunch((const char *)pchAppKey); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(void *linux_side, const char * pchAppKey, const char * pchMimeType) -{ - return ((IVRApplications*)linux_side)->SetDefaultApplicationForMimeType((const char *)pchAppKey, (const char *)pchMimeType); -} - -bool cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetDefaultApplicationForMimeType((const char *)pchMimeType, (char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -bool cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(void *linux_side, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - return ((IVRApplications*)linux_side)->GetApplicationSupportedMimeTypes((const char *)pchAppKey, (char *)pchMimeTypesBuffer, (uint32_t)unMimeTypesBuffer); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(void *linux_side, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - return ((IVRApplications*)linux_side)->GetApplicationsThatSupportMimeType((const char *)pchMimeType, (char *)pchAppKeysThatSupportBuffer, (uint32_t)unAppKeysThatSupportBuffer); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(void *linux_side, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - return ((IVRApplications*)linux_side)->GetApplicationLaunchArguments((uint32_t)unHandle, (char *)pchArgs, (uint32_t)unArgs); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_GetStartingApplication(void *linux_side, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - return ((IVRApplications*)linux_side)->GetStartingApplication((char *)pchAppKeyBuffer, (uint32_t)unAppKeyBufferLen); -} - -vr::EVRSceneApplicationState cppIVRApplications_IVRApplications_007_GetSceneApplicationState(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetSceneApplicationState(); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(void *linux_side, const char * pchAppKey) -{ - return ((IVRApplications*)linux_side)->PerformApplicationPrelaunchCheck((const char *)pchAppKey); -} - -const char * cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *linux_side, EVRSceneApplicationState state) -{ - return ((IVRApplications*)linux_side)->GetSceneApplicationStateNameFromEnum((vr::EVRSceneApplicationState)state); -} - -vr::EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchInternalProcess(void *linux_side, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - return ((IVRApplications*)linux_side)->LaunchInternalProcess((const char *)pchBinaryPath, (const char *)pchArguments, (const char *)pchWorkingDirectory); -} - -uint32_t cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(void *linux_side) -{ - return ((IVRApplications*)linux_side)->GetCurrentSceneProcessId(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h b/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h deleted file mode 100644 index 58a9e8bd4..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_007.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRApplicationError cppIVRApplications_IVRApplications_007_AddApplicationManifest(void *, const char *, bool); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(void *, const char *); -extern bool cppIVRApplications_IVRApplications_007_IsApplicationInstalled(void *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationCount(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplication(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(void *, const char *, const char *, AppOverrideKeys_t *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(void *, const char *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(void *, const char *); -extern bool cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_IdentifyApplication(void *, uint32_t, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationProcessId(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(void *, EVRApplicationError); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(void *, const char *, EVRApplicationProperty, char *, uint32_t, EVRApplicationError *); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern uint64_t cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(void *, const char *, EVRApplicationProperty, EVRApplicationError *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(void *, const char *, bool); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(void *, const char *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(void *, const char *, const char *); -extern bool cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(void *, const char *, char *, uint32_t); -extern bool cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(void *, uint32_t, char *, uint32_t); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_GetStartingApplication(void *, char *, uint32_t); -extern EVRSceneApplicationState cppIVRApplications_IVRApplications_007_GetSceneApplicationState(void *); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(void *, const char *); -extern const char * cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(void *, EVRSceneApplicationState); -extern EVRApplicationError cppIVRApplications_IVRApplications_007_LaunchInternalProcess(void *, const char *, const char *, const char *); -extern uint32_t cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp deleted file mode 100644 index 7cee76b04..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.cpp +++ /dev/null @@ -1,94 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_004.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) -{ - return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) -{ - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveWallTagInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h deleted file mode 100644 index 63398e752..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_004.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(void *, uint8_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(void *, uint8_t *, uint32_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp deleted file mode 100644 index c711cc084..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) -{ - return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) -{ - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t)unTagCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *linux_side, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsTagsInfo((uint8_t *)pTagsBuffer, (uint32_t *)punTagCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->SetWorkingPhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLivePhysicalBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *linux_side, char * pBuffer, uint32_t * pnBufferLength) -{ - return ((IVRChaperoneSetup*)linux_side)->ExportLiveToBuffer((char *)pBuffer, (uint32_t *)pnBufferLength); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *linux_side, const char * pBuffer, uint32_t nImportFlags) -{ - return ((IVRChaperoneSetup*)linux_side)->ImportFromBufferToWorking((const char *)pBuffer, (uint32_t)nImportFlags); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h deleted file mode 100644 index fe1b3bc3c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_005.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(void *, uint8_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(void *, char *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(void *, const char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp deleted file mode 100644 index 345f84754..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(void *linux_side, EChaperoneConfigFile configFile) -{ - return ((IVRChaperoneSetup*)linux_side)->CommitWorkingCopy((vr::EChaperoneConfigFile)configFile); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->RevertWorkingCopy(); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaSize((float *)pSizeX, (float *)pSizeZ); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *linux_side, HmdQuad_t * rect) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingPlayAreaRect((vr::HmdQuad_t *)rect); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetWorkingStandingZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *linux_side, float sizeX, float sizeZ) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingPlayAreaSize((float)sizeX, (float)sizeZ); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingCollisionBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t)unQuadsCount); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(void *linux_side, HmdVector2_t * pPointBuffer, uint32_t unPointCount) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingPerimeter((vr::HmdVector2_t *)pPointBuffer, (uint32_t)unPointCount); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingSeatedZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatSeatedZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - ((IVRChaperoneSetup*)linux_side)->SetWorkingStandingZeroPoseToRawTrackingPose((const vr::HmdMatrix34_t *)pMatStandingZeroPoseToRawTrackingPose); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(void *linux_side, EChaperoneConfigFile configFile) -{ - ((IVRChaperoneSetup*)linux_side)->ReloadFromDisk((vr::EChaperoneConfigFile)configFile); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *linux_side, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - return ((IVRChaperoneSetup*)linux_side)->GetLiveSeatedZeroPoseToRawTrackingPose((vr::HmdMatrix34_t *)pmatSeatedZeroPoseToRawTrackingPose); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(void *linux_side, char * pBuffer, uint32_t * pnBufferLength) -{ - return ((IVRChaperoneSetup*)linux_side)->ExportLiveToBuffer((char *)pBuffer, (uint32_t *)pnBufferLength); -} - -bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(void *linux_side, const char * pBuffer, uint32_t nImportFlags) -{ - return ((IVRChaperoneSetup*)linux_side)->ImportFromBufferToWorking((const char *)pBuffer, (uint32_t)nImportFlags); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->ShowWorkingSetPreview(); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->HideWorkingSetPreview(); -} - -void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(void *linux_side) -{ - ((IVRChaperoneSetup*)linux_side)->RoomSetupStarting(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h b/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h deleted file mode 100644 index cd6c2f4a5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperoneSetup_IVRChaperoneSetup_006.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(void *, EChaperoneConfigFile); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(void *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(void *, HmdQuad_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(void *, float, float); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(void *, HmdQuad_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(void *, HmdVector2_t *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(void *, EChaperoneConfigFile); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(void *, HmdMatrix34_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(void *, char *, uint32_t *); -extern bool cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(void *, const char *, uint32_t); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(void *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(void *); -extern void cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp deleted file mode 100644 index 6a97926db..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperone_IVRChaperone_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->GetCalibrationState(); -} - -bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *linux_side, ChaperoneSoftBoundsInfo_t * pInfo) -{ - return ((IVRChaperone*)linux_side)->GetSoftBoundsInfo((vr::ChaperoneSoftBoundsInfo_t *)pInfo); -} - -bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *linux_side, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - return ((IVRChaperone*)linux_side)->GetHardBoundsInfo((vr::HmdQuad_t *)pQuadsBuffer, (uint32_t *)punQuadsCount); -} - -bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *linux_side, ChaperoneSeatedBoundsInfo_t * pInfo) -{ - return ((IVRChaperone*)linux_side)->GetSeatedBoundsInfo((vr::ChaperoneSeatedBoundsInfo_t *)pInfo); -} - -void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *linux_side) -{ - ((IVRChaperone*)linux_side)->ReloadInfo(); -} - -void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *linux_side, HmdColor_t color) -{ - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); -} - -void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors) -{ - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors); -} - -bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->AreBoundsVisible(); -} - -void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *linux_side, bool bForce) -{ - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h deleted file mode 100644 index 29762a079..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_002.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_002_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(void *, ChaperoneSoftBoundsInfo_t *); -extern bool cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(void *, HmdQuad_t *, uint32_t *); -extern bool cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(void *, ChaperoneSeatedBoundsInfo_t *); -extern void cppIVRChaperone_IVRChaperone_002_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_002_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_002_GetBoundsColor(void *, HmdColor_t *, int); -extern bool cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(void *, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp deleted file mode 100644 index 961db4a4e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperone_IVRChaperone_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->GetCalibrationState(); -} - -bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ) -{ - return ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ); -} - -bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *linux_side, HmdQuad_t * rect) -{ - return ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect); -} - -void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *linux_side) -{ - ((IVRChaperone*)linux_side)->ReloadInfo(); -} - -void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *linux_side, HmdColor_t color) -{ - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); -} - -void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor); -} - -bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->AreBoundsVisible(); -} - -void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *linux_side, bool bForce) -{ - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h deleted file mode 100644 index 3d21d1182..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_003.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_003_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(void *, HmdQuad_t *); -extern void cppIVRChaperone_IVRChaperone_003_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_003_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_003_GetBoundsColor(void *, HmdColor_t *, int, float, HmdColor_t *); -extern bool cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(void *, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp deleted file mode 100644 index ad000849d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRChaperone_IVRChaperone_004.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_004_GetCalibrationState(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->GetCalibrationState(); -} - -bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ) -{ - return ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ); -} - -bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(void *linux_side, HmdQuad_t * rect) -{ - return ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect); -} - -void cppIVRChaperone_IVRChaperone_004_ReloadInfo(void *linux_side) -{ - ((IVRChaperone*)linux_side)->ReloadInfo(); -} - -void cppIVRChaperone_IVRChaperone_004_SetSceneColor(void *linux_side, HmdColor_t color) -{ - ((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color); -} - -void cppIVRChaperone_IVRChaperone_004_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - ((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor); -} - -bool cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(void *linux_side) -{ - return ((IVRChaperone*)linux_side)->AreBoundsVisible(); -} - -void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(void *linux_side, bool bForce) -{ - ((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce); -} - -void cppIVRChaperone_IVRChaperone_004_ResetZeroPose(void *linux_side, ETrackingUniverseOrigin eTrackingUniverseOrigin) -{ - ((IVRChaperone*)linux_side)->ResetZeroPose((vr::ETrackingUniverseOrigin)eTrackingUniverseOrigin); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h b/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h deleted file mode 100644 index e62847df7..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRChaperone_IVRChaperone_004.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_004_GetCalibrationState(void *); -extern bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(void *, float *, float *); -extern bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(void *, HmdQuad_t *); -extern void cppIVRChaperone_IVRChaperone_004_ReloadInfo(void *); -extern void cppIVRChaperone_IVRChaperone_004_SetSceneColor(void *, HmdColor_t); -extern void cppIVRChaperone_IVRChaperone_004_GetBoundsColor(void *, HmdColor_t *, int, float, HmdColor_t *); -extern bool cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(void *); -extern void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(void *, bool); -extern void cppIVRChaperone_IVRChaperone_004_ResetZeroPose(void *, ETrackingUniverseOrigin); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp deleted file mode 100644 index 9c8e5f0f1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRClientCore_IVRClientCore_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *linux_side, EVRApplicationType eApplicationType) -{ - return ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType); -} - -void cppIVRClientCore_IVRClientCore_002_Cleanup(void *linux_side) -{ - ((IVRClientCore*)linux_side)->Cleanup(); -} - -vr::EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *linux_side, const char * pchInterfaceVersion) -{ - return ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion); -} - -void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *linux_side, const char * pchNameAndVersion, EVRInitError * peError) -{ - return ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError); -} - -bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *linux_side) -{ - return ((IVRClientCore*)linux_side)->BIsHmdPresent(); -} - -const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError) -{ - return ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError); -} - -const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *linux_side, EVRInitError eError) -{ - return ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h deleted file mode 100644 index 5ff562abe..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_002.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInitError cppIVRClientCore_IVRClientCore_002_Init(void *, EVRApplicationType); -extern void cppIVRClientCore_IVRClientCore_002_Cleanup(void *); -extern EVRInitError cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(void *, const char *); -extern void * cppIVRClientCore_IVRClientCore_002_GetGenericInterface(void *, const char *, EVRInitError *); -extern bool cppIVRClientCore_IVRClientCore_002_BIsHmdPresent(void *); -extern const char * cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(void *, EVRInitError); -extern const char * cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(void *, EVRInitError); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp deleted file mode 100644 index 7d6401174..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRClientCore_IVRClientCore_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *linux_side, EVRApplicationType eApplicationType, const char * pStartupInfo) -{ - return ((IVRClientCore*)linux_side)->Init((vr::EVRApplicationType)eApplicationType, (const char *)pStartupInfo); -} - -void cppIVRClientCore_IVRClientCore_003_Cleanup(void *linux_side) -{ - ((IVRClientCore*)linux_side)->Cleanup(); -} - -vr::EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *linux_side, const char * pchInterfaceVersion) -{ - return ((IVRClientCore*)linux_side)->IsInterfaceVersionValid((const char *)pchInterfaceVersion); -} - -void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *linux_side, const char * pchNameAndVersion, EVRInitError * peError) -{ - return ((IVRClientCore*)linux_side)->GetGenericInterface((const char *)pchNameAndVersion, (vr::EVRInitError *)peError); -} - -bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *linux_side) -{ - return ((IVRClientCore*)linux_side)->BIsHmdPresent(); -} - -const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *linux_side, EVRInitError eError) -{ - return ((IVRClientCore*)linux_side)->GetEnglishStringForHmdError((vr::EVRInitError)eError); -} - -const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *linux_side, EVRInitError eError) -{ - return ((IVRClientCore*)linux_side)->GetIDForVRInitError((vr::EVRInitError)eError); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h b/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h deleted file mode 100644 index c15add3c9..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRClientCore_IVRClientCore_003.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInitError cppIVRClientCore_IVRClientCore_003_Init(void *, EVRApplicationType, const char *); -extern void cppIVRClientCore_IVRClientCore_003_Cleanup(void *); -extern EVRInitError cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(void *, const char *); -extern void * cppIVRClientCore_IVRClientCore_003_GetGenericInterface(void *, const char *, EVRInitError *); -extern bool cppIVRClientCore_IVRClientCore_003_BIsHmdPresent(void *); -extern const char * cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(void *, EVRInitError); -extern const char * cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(void *, EVRInitError); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp deleted file mode 100644 index c00a45582..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_005.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_005_SetVSync(void *linux_side, bool bVSync) -{ - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); -} - -bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetVSync(); -} - -void cppIVRCompositor_IVRCompositor_005_SetGamma(void *linux_side, float fGamma) -{ - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); -} - -float cppIVRCompositor_IVRCompositor_005_GetGamma(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetGamma(); -} - -void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void * pDevice) -{ - ((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice); -} - -void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); -} - -void cppIVRCompositor_IVRCompositor_005_Submit(void *linux_side, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) -{ - ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::Compositor_TextureBounds *)pBounds); -} - -void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *linux_side, Compositor_OverlaySettings * pSettings) -{ - ((IVRCompositor*)linux_side)->GetOverlayDefaults((vr::Compositor_OverlaySettings *)pSettings); -} - -void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *linux_side, void * pTexture, Compositor_OverlaySettings * pSettings) -{ - ((IVRCompositor*)linux_side)->SetOverlay((void *)pTexture, (vr::Compositor_OverlaySettings *)pSettings); -} - -void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *linux_side, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) -{ - ((IVRCompositor*)linux_side)->SetOverlayRaw((void *)buffer, (uint32_t)width, (uint32_t)height, (uint32_t)depth, (vr::Compositor_OverlaySettings *)pSettings); -} - -void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *linux_side, const char * pchFilePath, Compositor_OverlaySettings * pSettings) -{ - ((IVRCompositor*)linux_side)->SetOverlayFromFile((const char *)pchFilePath, (vr::Compositor_OverlaySettings *)pSettings); -} - -void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearOverlay(); -} - -bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_091 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_091_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_091_lin_to_win(&lin, pTiming); - return _ret; -} - -void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *linux_side, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) -{ - return ((IVRCompositor*)linux_side)->ComputeOverlayIntersection((const vr::Compositor_OverlaySettings *)pSettings, (float)fAspectRatio, (vr::TrackingUniverseOrigin)eOrigin, (vr::HmdVector3_t)vSource, (vr::HmdVector3_t)vDirection, (vr::HmdVector2_t *)pvecIntersectionUV, (vr::HmdVector3_t *)pvecIntersectionTrackingSpace); -} - -void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); -} - -vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h deleted file mode 100644 index f1514b1a9..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_005.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRCompositor_IVRCompositor_005_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_005_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_005_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_005_GetGamma(void *); -extern void cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(void *, Compositor_DeviceType, void *); -extern void cppIVRCompositor_IVRCompositor_005_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_Submit(void *, Hmd_Eye, void *, Compositor_TextureBounds *); -extern void cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(void *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlay(void *, void *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(void *, void *, uint32_t, uint32_t, uint32_t, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(void *, const char *, Compositor_OverlaySettings *); -extern void cppIVRCompositor_IVRCompositor_005_ClearOverlay(void *); -extern bool cppIVRCompositor_IVRCompositor_005_GetFrameTiming(void *, winCompositor_FrameTiming_091 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_005_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_005_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_005_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_005_IsFullscreen(void *); -extern bool cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(void *, Compositor_OverlaySettings *, float, TrackingUniverseOrigin, HmdVector3_t, HmdVector3_t, HmdVector2_t *, HmdVector3_t *); -extern void cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp deleted file mode 100644 index fbaf2796a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.cpp +++ /dev/null @@ -1,121 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_006.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_006_SetVSync(void *linux_side, bool bVSync) -{ - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); -} - -bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetVSync(); -} - -void cppIVRCompositor_IVRCompositor_006_SetGamma(void *linux_side, float fGamma) -{ - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); -} - -float cppIVRCompositor_IVRCompositor_006_GetGamma(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetGamma(); -} - -void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *linux_side, Compositor_DeviceType eType, void * pDevice) -{ - ((IVRCompositor*)linux_side)->SetGraphicsDevice((vr::Compositor_DeviceType)eType, (void *)pDevice); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *linux_side, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (void *)pTexture, (vr::VRTextureBounds_t *)pBounds); -} - -void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_092 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_092_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_092_lin_to_win(&lin, pTiming); - return _ret; -} - -void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); -} - -vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h deleted file mode 100644 index 43d80e33b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_006.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRCompositor_IVRCompositor_006_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_006_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_006_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_006_GetGamma(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(void *, Compositor_DeviceType, void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_006_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_006_Submit(void *, Hmd_Eye, void *, VRTextureBounds_t *); -extern void cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_006_GetFrameTiming(void *, winCompositor_FrameTiming_092 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_006_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_006_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_006_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_006_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_006_CanRenderScene(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp deleted file mode 100644 index 2843e49f2..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.cpp +++ /dev/null @@ -1,116 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_007.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_007_SetVSync(void *linux_side, bool bVSync) -{ - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); -} - -bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetVSync(); -} - -void cppIVRCompositor_IVRCompositor_007_SetGamma(void *linux_side, float fGamma) -{ - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); -} - -float cppIVRCompositor_IVRCompositor_007_GetGamma(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetGamma(); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds); -} - -void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_098 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_098_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_098_lin_to_win(&lin, pTiming); - return _ret; -} - -void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); -} - -vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h deleted file mode 100644 index 49ab1da48..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_007.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRCompositor_IVRCompositor_007_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_007_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_007_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_007_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_007_GetGamma(void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_007_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_007_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *); -extern void cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_007_GetFrameTiming(void *, winCompositor_FrameTiming_098 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_007_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_007_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_007_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_007_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_007_CanRenderScene(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp deleted file mode 100644 index 1ab4a0811..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.cpp +++ /dev/null @@ -1,151 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_008.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetLastError((char *)pchBuffer, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_008_SetVSync(void *linux_side, bool bVSync) -{ - ((IVRCompositor*)linux_side)->SetVSync((bool)bVSync); -} - -bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetVSync(); -} - -void cppIVRCompositor_IVRCompositor_008_SetGamma(void *linux_side, float fGamma) -{ - ((IVRCompositor*)linux_side)->SetGamma((float)fGamma); -} - -float cppIVRCompositor_IVRCompositor_008_GetGamma(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetGamma(); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *linux_side, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::Hmd_Eye)eEye, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::VRSubmitFlags_t)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0910 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_0910_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_0910_lin_to_win(&lin, pTiming); - return _ret; -} - -void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *linux_side, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) -{ - ((IVRCompositor*)linux_side)->SetSkyboxOverride((vr::GraphicsAPIConvention)eTextureType, (void *)pFront, (void *)pBack, (void *)pLeft, (void *)pRight, (void *)pTop, (void *)pBottom); -} - -void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *linux_side, TrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::TrackingUniverseOrigin)eOrigin); -} - -vr::TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h deleted file mode 100644 index e00750d26..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_008.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastError(void *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_008_SetVSync(void *, bool); -extern bool cppIVRCompositor_IVRCompositor_008_GetVSync(void *); -extern void cppIVRCompositor_IVRCompositor_008_SetGamma(void *, float); -extern float cppIVRCompositor_IVRCompositor_008_GetGamma(void *); -extern VRCompositorError cppIVRCompositor_IVRCompositor_008_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern VRCompositorError cppIVRCompositor_IVRCompositor_008_Submit(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *, VRSubmitFlags_t); -extern void cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(void *); -extern bool cppIVRCompositor_IVRCompositor_008_GetFrameTiming(void *, winCompositor_FrameTiming_0910 *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_008_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_008_FadeGrid(void *, float, bool); -extern void cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride(void *, GraphicsAPIConvention, void *, void *, void *, void *, void *, void *); -extern void cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_008_IsFullscreen(void *); -extern void cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(void *, TrackingUniverseOrigin); -extern TrackingUniverseOrigin cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(void *); -extern bool cppIVRCompositor_IVRCompositor_008_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(void *); -extern float cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp deleted file mode 100644 index 0d5b41ec1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_009.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0913 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_0913_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_0913_lin_to_win(&lin, pTiming); - return _ret; -} - -float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h deleted file mode 100644 index 7b1bf5413..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_009.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_009_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_009_GetFrameTiming(void *, winCompositor_FrameTiming_0913 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_009_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_009_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_009_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_009_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp deleted file mode 100644 index d0d8bd56d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.cpp +++ /dev/null @@ -1,141 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_010.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_0914 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_0914_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_0914_lin_to_win(&lin, pTiming); - return _ret; -} - -float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h deleted file mode 100644 index 7e0d9d2fd..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_010.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_010_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_010_GetFrameTiming(void *, winCompositor_FrameTiming_0914 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_010_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_010_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_010_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_010_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp deleted file mode 100644 index 737bf6dec..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.cpp +++ /dev/null @@ -1,134 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_011.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h deleted file mode 100644 index 20ef827fe..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_011.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_011_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_011_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_011_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_011_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_011_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_011_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp deleted file mode 100644 index 1bcf975d3..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.cpp +++ /dev/null @@ -1,144 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_012.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h deleted file mode 100644 index 287b9bbc5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_012.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_012_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_012_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_012_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_012_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_012_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_012_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp deleted file mode 100644 index af2676acc..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.cpp +++ /dev/null @@ -1,149 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_013.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h deleted file mode 100644 index 9e6a3a478..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_013.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_013_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_013_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_013_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_013_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_013_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_013_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(void *, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp deleted file mode 100644 index 3c728158b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.cpp +++ /dev/null @@ -1,159 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_014.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h deleted file mode 100644 index 0cba547de..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_014.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_014_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_014_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_014_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_014_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_014_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_014_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_014_SuspendRendering(void *, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp deleted file mode 100644 index ab63da3c1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.cpp +++ /dev/null @@ -1,199 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_015.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *linux_side, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) -{ - return ((IVRCompositor*)linux_side)->RequestScreenshot((vr::EVRScreenshotType)type, (const char *)pchDestinationFileName, (const char *)pchVRDestinationFileName); -} - -vr::EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentScreenshotType(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h deleted file mode 100644 index f657dab78..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_015.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_015_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_015_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_015_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_015_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_015_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_015_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_015_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_RequestScreenshot(void *, EVRScreenshotType, const char *, const char *); -extern EVRScreenshotType cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp deleted file mode 100644 index 24e437f31..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.cpp +++ /dev/null @@ -1,196 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_016.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *linux_side, winCompositor_FrameTiming_103 * pTiming, uint32_t unFramesAgo) -{ - Compositor_FrameTiming lin; - bool _ret; - if(pTiming) - struct_Compositor_FrameTiming_103_win_to_lin(pTiming, &lin); - _ret = ((IVRCompositor*)linux_side)->GetFrameTiming(pTiming ? &lin : nullptr, (uint32_t)unFramesAgo); - if(pTiming) - struct_Compositor_FrameTiming_103_lin_to_win(&lin, pTiming); - return _ret; -} - -float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h deleted file mode 100644 index d8a2572e4..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_016.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_016_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_016_GetFrameTiming(void *, winCompositor_FrameTiming_103 *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_016_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_016_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_016_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_016_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_016_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp deleted file mode 100644 index ecb83aaa7..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.cpp +++ /dev/null @@ -1,194 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3a/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_017.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_017_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_017_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_017_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_017_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_017_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_017_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_017_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_017_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h deleted file mode 100644 index c215badb3..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_017.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_017_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_017_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_017_FadeToColor(void *, float, float, float, float, float, bool); -extern void cppIVRCompositor_IVRCompositor_017_FadeGrid(void *, float, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_017_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_017_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_017_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp deleted file mode 100644 index 35d5107ef..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.cpp +++ /dev/null @@ -1,204 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_018.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h deleted file mode 100644 index 5cefc7348..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_018.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_018_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_018_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_018_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_018_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_018_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_018_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_018_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp deleted file mode 100644 index 82875776b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_019.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h deleted file mode 100644 index a65b9f08f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_019.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_019_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_019_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_019_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_019_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_019_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_019_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_019_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp deleted file mode 100644 index 833fc8442..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.cpp +++ /dev/null @@ -1,219 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_020.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h deleted file mode 100644 index 0c4165f33..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_020.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_020_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_020_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_020_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_020_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_020_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_020_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_020_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp deleted file mode 100644 index 7796340f1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_021.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *linux_side, bool bExplicitTimingMode) -{ - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((bool)bExplicitTimingMode); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h deleted file mode 100644 index 865d06bd1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_021.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_021_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_021_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_021_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_021_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_021_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_021_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp deleted file mode 100644 index 299192155..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_022.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) -{ - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); -} - -bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); -} - -bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); -} - -bool cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h deleted file mode 100644 index 4e2917ef1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_022.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_022_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_022_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_022_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_022_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp deleted file mode 100644 index 9155ee08a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.cpp +++ /dev/null @@ -1,254 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_024.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_024_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_024_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_024_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_024_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_024_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_024_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_024_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_024_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) -{ - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); -} - -bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); -} - -bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); -} - -bool cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(void *linux_side, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - return ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); -} - -void cppIVRCompositor_IVRCompositor_024_ClearStageOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearStageOverride(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h deleted file mode 100644 index 1fe1e4a71..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_024.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_024_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_024_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_024_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_024_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_024_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(void *, const char *, HmdMatrix34_t *, Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_024_ClearStageOverride(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp deleted file mode 100644 index ee517502b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_026.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_026_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_026_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_026_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_026_FadeGrid(void *linux_side, float fSeconds, bool bFadeIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeIn); -} - -float cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_026_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_026_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_026_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_026_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) -{ - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); -} - -bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); -} - -bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); -} - -bool cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(void *linux_side, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - return ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); -} - -void cppIVRCompositor_IVRCompositor_026_ClearStageOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearStageOverride(); -} - -bool cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(void *linux_side, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - return ((IVRCompositor*)linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)pBenchmarkResults, (uint32_t)nSizeOfBenchmarkResults); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(void *linux_side, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - return ((IVRCompositor*)linux_side)->GetLastPosePredictionIDs((uint32_t *)pRenderPosePredictionID, (uint32_t *)pGamePosePredictionID); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(void *linux_side, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetPosesForFrame((uint32_t)unPosePredictionID, (vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h deleted file mode 100644 index a92ed2645..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_026.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_026_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_026_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_026_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_026_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_026_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(void *, const char *, HmdMatrix34_t *, Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_026_ClearStageOverride(void *); -extern bool cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(void *, Compositor_BenchmarkResults *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(void *, uint32_t *, uint32_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(void *, uint32_t, TrackedDevicePose_t *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp deleted file mode 100644 index 34a8947df..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.cpp +++ /dev/null @@ -1,269 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRCompositor_IVRCompositor_027.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(void *linux_side, ETrackingUniverseOrigin eOrigin) -{ - ((IVRCompositor*)linux_side)->SetTrackingSpace((vr::ETrackingUniverseOrigin)eOrigin); -} - -vr::ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetTrackingSpace(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_WaitGetPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->WaitGetPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoses(void *linux_side, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetLastPoses((vr::TrackedDevicePose_t *)pRenderPoseArray, (uint32_t)unRenderPoseArrayCount, (vr::TrackedDevicePose_t *)pGamePoseArray, (uint32_t)unGamePoseArrayCount); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - return ((IVRCompositor*)linux_side)->GetLastPoseForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDevicePose_t *)pOutputPose, (vr::TrackedDevicePose_t *)pOutputGamePose); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_Submit(void *linux_side, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - return ((IVRCompositor*)linux_side)->Submit((vr::EVREye)eEye, (const vr::Texture_t *)pTexture, (const vr::VRTextureBounds_t *)pBounds, (vr::EVRSubmitFlags)nSubmitFlags); -} - -void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearLastSubmittedFrame(); -} - -void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff(void *linux_side) -{ - ((IVRCompositor*)linux_side)->PostPresentHandoff(); -} - -bool cppIVRCompositor_IVRCompositor_027_GetFrameTiming(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - return ((IVRCompositor*)linux_side)->GetFrameTiming((vr::Compositor_FrameTiming *)pTiming, (uint32_t)unFramesAgo); -} - -uint32_t cppIVRCompositor_IVRCompositor_027_GetFrameTimings(void *linux_side, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimings((vr::Compositor_FrameTiming *)pTiming, (uint32_t)nFrames); -} - -float cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetFrameTimeRemaining(); -} - -void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(void *linux_side, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - ((IVRCompositor*)linux_side)->GetCumulativeStats((vr::Compositor_CumulativeStats *)pStats, (uint32_t)nStatsSizeInBytes); -} - -void cppIVRCompositor_IVRCompositor_027_FadeToColor(void *linux_side, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - ((IVRCompositor*)linux_side)->FadeToColor((float)fSeconds, (float)fRed, (float)fGreen, (float)fBlue, (float)fAlpha, (bool)bBackground); -} - -vr::HmdColor_t cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(void *linux_side, bool bBackground) -{ - return ((IVRCompositor*)linux_side)->GetCurrentFadeColor((bool)bBackground); -} - -void cppIVRCompositor_IVRCompositor_027_FadeGrid(void *linux_side, float fSeconds, bool bFadeGridIn) -{ - ((IVRCompositor*)linux_side)->FadeGrid((float)fSeconds, (bool)bFadeGridIn); -} - -float cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentGridAlpha(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride(void *linux_side, Texture_t * pTextures, uint32_t unTextureCount) -{ - return ((IVRCompositor*)linux_side)->SetSkyboxOverride((const vr::Texture_t *)pTextures, (uint32_t)unTextureCount); -} - -void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearSkyboxOverride(); -} - -void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorBringToFront(); -} - -void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorGoToBack(); -} - -void cppIVRCompositor_IVRCompositor_027_CompositorQuit(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorQuit(); -} - -bool cppIVRCompositor_IVRCompositor_027_IsFullscreen(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsFullscreen(); -} - -uint32_t cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetCurrentSceneFocusProcess(); -} - -uint32_t cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->GetLastFrameRenderer(); -} - -bool cppIVRCompositor_IVRCompositor_027_CanRenderScene(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->CanRenderScene(); -} - -void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ShowMirrorWindow(); -} - -void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(void *linux_side) -{ - ((IVRCompositor*)linux_side)->HideMirrorWindow(); -} - -bool cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMirrorWindowVisible(); -} - -void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(void *linux_side) -{ - ((IVRCompositor*)linux_side)->CompositorDumpImages(); -} - -bool cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->ShouldAppRenderWithLowResources(); -} - -void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(void *linux_side, bool bOverride) -{ - ((IVRCompositor*)linux_side)->ForceInterleavedReprojectionOn((bool)bOverride); -} - -void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ForceReconnectProcess(); -} - -void cppIVRCompositor_IVRCompositor_027_SuspendRendering(void *linux_side, bool bSuspend) -{ - ((IVRCompositor*)linux_side)->SuspendRendering((bool)bSuspend); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(void *linux_side, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureD3D11((vr::EVREye)eEye, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView); -} - -void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(void *linux_side, void * pD3D11ShaderResourceView) -{ - ((IVRCompositor*)linux_side)->ReleaseMirrorTextureD3D11((void *)pD3D11ShaderResourceView); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(void *linux_side, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->GetMirrorTextureGL((vr::EVREye)eEye, (vr::glUInt_t *)pglTextureId, (vr::glSharedTextureHandle_t *)pglSharedTextureHandle); -} - -bool cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(void *linux_side, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - return ((IVRCompositor*)linux_side)->ReleaseSharedGLTexture((vr::glUInt_t)glTextureId, (vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->LockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(void *linux_side, glSharedTextureHandle_t glSharedTextureHandle) -{ - ((IVRCompositor*)linux_side)->UnlockGLSharedTextureForAccess((vr::glSharedTextureHandle_t)glSharedTextureHandle); -} - -uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *linux_side, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanInstanceExtensionsRequired((char *)pchValue, (uint32_t)unBufferSize); -} - -uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *linux_side, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRCompositor*)linux_side)->GetVulkanDeviceExtensionsRequired((VkPhysicalDevice_T *)pPhysicalDevice, (char *)pchValue, (uint32_t)unBufferSize); -} - -void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(void *linux_side, EVRCompositorTimingMode eTimingMode) -{ - ((IVRCompositor*)linux_side)->SetExplicitTimingMode((vr::EVRCompositorTimingMode)eTimingMode); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->SubmitExplicitTimingData(); -} - -bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingEnabled(); -} - -bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsMotionSmoothingSupported(); -} - -bool cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *linux_side) -{ - return ((IVRCompositor*)linux_side)->IsCurrentSceneFocusAppLoading(); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(void *linux_side, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - return ((IVRCompositor*)linux_side)->SetStageOverride_Async((const char *)pchRenderModelPath, (const vr::HmdMatrix34_t *)pTransform, (const vr::Compositor_StageRenderSettings *)pRenderSettings, (uint32_t)nSizeOfRenderSettings); -} - -void cppIVRCompositor_IVRCompositor_027_ClearStageOverride(void *linux_side) -{ - ((IVRCompositor*)linux_side)->ClearStageOverride(); -} - -bool cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(void *linux_side, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - return ((IVRCompositor*)linux_side)->GetCompositorBenchmarkResults((vr::Compositor_BenchmarkResults *)pBenchmarkResults, (uint32_t)nSizeOfBenchmarkResults); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(void *linux_side, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - return ((IVRCompositor*)linux_side)->GetLastPosePredictionIDs((uint32_t *)pRenderPosePredictionID, (uint32_t *)pGamePosePredictionID); -} - -vr::EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(void *linux_side, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - return ((IVRCompositor*)linux_side)->GetPosesForFrame((uint32_t)unPosePredictionID, (vr::TrackedDevicePose_t *)pPoseArray, (uint32_t)unPoseArrayCount); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h b/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h deleted file mode 100644 index d18a5c4dd..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRCompositor_IVRCompositor_027.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_WaitGetPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoses(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(void *, TrackedDeviceIndex_t, TrackedDevicePose_t *, TrackedDevicePose_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_Submit(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); -extern void cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(void *); -extern void cppIVRCompositor_IVRCompositor_027_PostPresentHandoff(void *); -extern bool cppIVRCompositor_IVRCompositor_027_GetFrameTiming(void *, Compositor_FrameTiming *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetFrameTimings(void *, Compositor_FrameTiming *, uint32_t); -extern float cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(void *); -extern void cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(void *, Compositor_CumulativeStats *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_FadeToColor(void *, float, float, float, float, float, bool); -extern HmdColor_t cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(void *, bool); -extern void cppIVRCompositor_IVRCompositor_027_FadeGrid(void *, float, bool); -extern float cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride(void *, Texture_t *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorQuit(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsFullscreen(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(void *); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(void *); -extern bool cppIVRCompositor_IVRCompositor_027_CanRenderScene(void *); -extern void cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(void *); -extern void cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(void *); -extern void cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(void *); -extern bool cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(void *); -extern void cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(void *, bool); -extern void cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(void *); -extern void cppIVRCompositor_IVRCompositor_027_SuspendRendering(void *, bool); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(void *, EVREye, void *, void **); -extern void cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(void *, void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(void *, EVREye, glUInt_t *, glSharedTextureHandle_t *); -extern bool cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(void *, glUInt_t, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern void cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(void *, glSharedTextureHandle_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(void *, char *, uint32_t); -extern uint32_t cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(void *, VkPhysicalDevice_T *, char *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(void *, EVRCompositorTimingMode); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(void *); -extern bool cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(void *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(void *, const char *, HmdMatrix34_t *, Compositor_StageRenderSettings *, uint32_t); -extern void cppIVRCompositor_IVRCompositor_027_ClearStageOverride(void *); -extern bool cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(void *, Compositor_BenchmarkResults *, uint32_t); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(void *, uint32_t *, uint32_t *); -extern EVRCompositorError cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(void *, uint32_t, TrackedDevicePose_t *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp deleted file mode 100644 index de9a1be7d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.cpp +++ /dev/null @@ -1,154 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRControlPanel_IVRControlPanel_006.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc1(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc1(); -} - -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc2(void *linux_side, uint32_t a, char * b, uint32_t c) -{ - return ((IVRControlPanel*)linux_side)->undoc2((uint32_t)a, (char *)b, (uint32_t)c); -} - -vr::EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc3(void *linux_side, const char * a) -{ - return ((IVRControlPanel*)linux_side)->undoc3((const char *)a); -} - -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc4(void *linux_side, const char * a) -{ - return ((IVRControlPanel*)linux_side)->undoc4((const char *)a); -} - -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc5(void *linux_side, const char * a, uint32_t b, char * c, uint32_t d) -{ - return ((IVRControlPanel*)linux_side)->undoc5((const char *)a, (uint32_t)b, (char *)c, (uint32_t)d); -} - -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc6(void *linux_side, const char * a, const char * b, char * c, uint32_t d) -{ - return ((IVRControlPanel*)linux_side)->undoc6((const char *)a, (const char *)b, (char *)c, (uint32_t)d); -} - -uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc7(void *linux_side, const char * a, const char * b, char * c, uint32_t d) -{ - return ((IVRControlPanel*)linux_side)->undoc7((const char *)a, (const char *)b, (char *)c, (uint32_t)d); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc8(void *linux_side, uint32_t a) -{ - return ((IVRControlPanel*)linux_side)->undoc8((uint32_t)a); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc9(void *linux_side) -{ - ((IVRControlPanel*)linux_side)->undoc9(); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc10(void *linux_side) -{ - ((IVRControlPanel*)linux_side)->undoc10(); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc11(void *linux_side, uint32_t a) -{ - return ((IVRControlPanel*)linux_side)->undoc11((uint32_t)a); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc12(void *linux_side) -{ - ((IVRControlPanel*)linux_side)->undoc12(); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc13(void *linux_side, TrackedDeviceIndex_t a) -{ - ((IVRControlPanel*)linux_side)->undoc13((vr::TrackedDeviceIndex_t)a); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc14(void *linux_side, EVRState a) -{ - ((IVRControlPanel*)linux_side)->undoc14((vr::EVRState)a); -} - -vr::EVRState cppIVRControlPanel_IVRControlPanel_006_undoc15(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc15(); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc16(void *linux_side, bool a) -{ - ((IVRControlPanel*)linux_side)->undoc16((bool)a); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc17(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc17(); -} - -vr::EVRApplicationError cppIVRControlPanel_IVRControlPanel_006_undoc18(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc18(); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc19(void *linux_side, bool a) -{ - ((IVRControlPanel*)linux_side)->undoc19((bool)a); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc20(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc20(); -} - -vr::EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc21(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc21(); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc22(void *linux_side, WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e) -{ - ((IVRControlPanel*)linux_side)->undoc22((vr::WebConsoleHandle_t)a, (const char *)b, (uint32_t)c, (uint32_t)d, (const char *)e); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc23(void *linux_side, const char * a) -{ - return ((IVRControlPanel*)linux_side)->undoc23((const char *)a); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc24(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc24(); -} - -bool cppIVRControlPanel_IVRControlPanel_006_undoc25(void *linux_side, bool a) -{ - return ((IVRControlPanel*)linux_side)->undoc25((bool)a); -} - -uint64_t cppIVRControlPanel_IVRControlPanel_006_undoc26(void *linux_side) -{ - return ((IVRControlPanel*)linux_side)->undoc26(); -} - -vr::EVRCompositorError cppIVRControlPanel_IVRControlPanel_006_undoc27(void *linux_side, const char * a) -{ - return ((IVRControlPanel*)linux_side)->undoc27((const char *)a); -} - -void cppIVRControlPanel_IVRControlPanel_006_undoc28(void *linux_side, VROverlayHandle_t a) -{ - ((IVRControlPanel*)linux_side)->undoc28((vr::VROverlayHandle_t)a); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h b/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h deleted file mode 100644 index f35c8b7e2..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRControlPanel_IVRControlPanel_006.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc1(void *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc2(void *, uint32_t, char *, uint32_t); -extern EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc3(void *, const char *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc4(void *, const char *); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc5(void *, const char *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc6(void *, const char *, const char *, char *, uint32_t); -extern uint32_t cppIVRControlPanel_IVRControlPanel_006_undoc7(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc8(void *, uint32_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc9(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc10(void *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc11(void *, uint32_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc12(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc13(void *, TrackedDeviceIndex_t); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc14(void *, EVRState); -extern EVRState cppIVRControlPanel_IVRControlPanel_006_undoc15(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc16(void *, bool); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc17(void *); -extern EVRApplicationError cppIVRControlPanel_IVRControlPanel_006_undoc18(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc19(void *, bool); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc20(void *); -extern EVRInitError cppIVRControlPanel_IVRControlPanel_006_undoc21(void *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc22(void *, WebConsoleHandle_t, const char *, uint32_t, uint32_t, const char *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc23(void *, const char *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc24(void *); -extern bool cppIVRControlPanel_IVRControlPanel_006_undoc25(void *, bool); -extern uint64_t cppIVRControlPanel_IVRControlPanel_006_undoc26(void *); -extern EVRCompositorError cppIVRControlPanel_IVRControlPanel_006_undoc27(void *, const char *); -extern void cppIVRControlPanel_IVRControlPanel_006_undoc28(void *, VROverlayHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp deleted file mode 100644 index 91f5db149..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRDriverManager_IVRDriverManager_001.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *linux_side) -{ - return ((IVRDriverManager*)linux_side)->GetDriverCount(); -} - -uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *linux_side, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) -{ - return ((IVRDriverManager*)linux_side)->GetDriverName((vr::DriverId_t)nDriver, (char *)pchValue, (uint32_t)unBufferSize); -} - -vr::DriverHandle_t cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(void *linux_side, const char * pchDriverName) -{ - return ((IVRDriverManager*)linux_side)->GetDriverHandle((const char *)pchDriverName); -} - -bool cppIVRDriverManager_IVRDriverManager_001_IsEnabled(void *linux_side, DriverId_t nDriver) -{ - return ((IVRDriverManager*)linux_side)->IsEnabled((vr::DriverId_t)nDriver); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h b/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h deleted file mode 100644 index c6c22e57d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRDriverManager_IVRDriverManager_001.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(void *); -extern uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *, DriverId_t, char *, uint32_t); -extern DriverHandle_t cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(void *, const char *); -extern bool cppIVRDriverManager_IVRDriverManager_001_IsEnabled(void *, DriverId_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp deleted file mode 100644 index e1158d417..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRExtendedDisplay*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *linux_side, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRExtendedDisplay*)linux_side)->GetEyeOutputViewport((vr::EVREye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - ((IVRExtendedDisplay*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h b/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h deleted file mode 100644 index fcd66fada..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRExtendedDisplay_IVRExtendedDisplay_001.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *, EVREye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp deleted file mode 100644 index c74be852f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.cpp +++ /dev/null @@ -1,59 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRHeadsetView_IVRHeadsetView_001.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(void *linux_side, uint32_t nWidth, uint32_t nHeight) -{ - ((IVRHeadsetView*)linux_side)->SetHeadsetViewSize((uint32_t)nWidth, (uint32_t)nHeight); -} - -void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRHeadsetView*)linux_side)->GetHeadsetViewSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(void *linux_side, HeadsetViewMode_t eHeadsetViewMode) -{ - ((IVRHeadsetView*)linux_side)->SetHeadsetViewMode((vr::HeadsetViewMode_t)eHeadsetViewMode); -} - -vr::HeadsetViewMode_t cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(void *linux_side) -{ - return ((IVRHeadsetView*)linux_side)->GetHeadsetViewMode(); -} - -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(void *linux_side, bool bCropped) -{ - ((IVRHeadsetView*)linux_side)->SetHeadsetViewCropped((bool)bCropped); -} - -bool cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(void *linux_side) -{ - return ((IVRHeadsetView*)linux_side)->GetHeadsetViewCropped(); -} - -float cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *linux_side) -{ - return ((IVRHeadsetView*)linux_side)->GetHeadsetViewAspectRatio(); -} - -void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(void *linux_side, float flStartPct, float flEndPct) -{ - ((IVRHeadsetView*)linux_side)->SetHeadsetViewBlendRange((float)flStartPct, (float)flEndPct); -} - -void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(void *linux_side, float * pStartPct, float * pEndPct) -{ - ((IVRHeadsetView*)linux_side)->GetHeadsetViewBlendRange((float *)pStartPct, (float *)pEndPct); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h b/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h deleted file mode 100644 index 09aac9ca8..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRHeadsetView_IVRHeadsetView_001.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(void *, uint32_t, uint32_t); -extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(void *, uint32_t *, uint32_t *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(void *, HeadsetViewMode_t); -extern HeadsetViewMode_t cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(void *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(void *, bool); -extern bool cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(void *); -extern float cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(void *); -extern void cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(void *, float, float); -extern void cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(void *, float *, float *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp deleted file mode 100644 index 061405dba..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.1.3b/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRIOBuffer_IVRIOBuffer_001.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Open(void *linux_side, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->Open((const char *)pchPath, (vr::EIOBufferMode)mode, (uint32_t)unElementSize, (uint32_t)unElements, (vr::IOBufferHandle_t *)pulBuffer); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Close(void *linux_side, IOBufferHandle_t ulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->Close((vr::IOBufferHandle_t)ulBuffer); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Read(void *linux_side, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - return ((IVRIOBuffer*)linux_side)->Read((vr::IOBufferHandle_t)ulBuffer, (void *)pDst, (uint32_t)unBytes, (uint32_t *)punRead); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Write(void *linux_side, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - return ((IVRIOBuffer*)linux_side)->Write((vr::IOBufferHandle_t)ulBuffer, (void *)pSrc, (uint32_t)unBytes); -} - -vr::PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(void *linux_side, IOBufferHandle_t ulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->PropertyContainer((vr::IOBufferHandle_t)ulBuffer); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h deleted file mode 100644 index 6ff16ae33..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_001.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Open(void *, const char *, EIOBufferMode, uint32_t, uint32_t, IOBufferHandle_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Close(void *, IOBufferHandle_t); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Read(void *, IOBufferHandle_t, void *, uint32_t, uint32_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_001_Write(void *, IOBufferHandle_t, void *, uint32_t); -extern PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(void *, IOBufferHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp deleted file mode 100644 index 71dfd5b58..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRIOBuffer_IVRIOBuffer_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Open(void *linux_side, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->Open((const char *)pchPath, (vr::EIOBufferMode)mode, (uint32_t)unElementSize, (uint32_t)unElements, (vr::IOBufferHandle_t *)pulBuffer); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Close(void *linux_side, IOBufferHandle_t ulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->Close((vr::IOBufferHandle_t)ulBuffer); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Read(void *linux_side, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - return ((IVRIOBuffer*)linux_side)->Read((vr::IOBufferHandle_t)ulBuffer, (void *)pDst, (uint32_t)unBytes, (uint32_t *)punRead); -} - -vr::EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Write(void *linux_side, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - return ((IVRIOBuffer*)linux_side)->Write((vr::IOBufferHandle_t)ulBuffer, (void *)pSrc, (uint32_t)unBytes); -} - -vr::PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(void *linux_side, IOBufferHandle_t ulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->PropertyContainer((vr::IOBufferHandle_t)ulBuffer); -} - -bool cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(void *linux_side, IOBufferHandle_t ulBuffer) -{ - return ((IVRIOBuffer*)linux_side)->HasReaders((vr::IOBufferHandle_t)ulBuffer); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h b/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h deleted file mode 100644 index 96616bdbc..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRIOBuffer_IVRIOBuffer_002.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Open(void *, const char *, EIOBufferMode, uint32_t, uint32_t, IOBufferHandle_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Close(void *, IOBufferHandle_t); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Read(void *, IOBufferHandle_t, void *, uint32_t, uint32_t *); -extern EIOBufferError cppIVRIOBuffer_IVRIOBuffer_002_Write(void *, IOBufferHandle_t, void *, uint32_t); -extern PropertyContainerHandle_t cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(void *, IOBufferHandle_t); -extern bool cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(void *, IOBufferHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp deleted file mode 100644 index 959955402..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.cpp +++ /dev/null @@ -1,127 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_003_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1015_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputDigitalActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1015_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputAnalogActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1015_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputPoseActionData_t_1015_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - InputSkeletonActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletonActionData_t_1015_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eBoneParent, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, (uint32_t)unActionDataSize, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); - if(pActionData) - struct_InputSkeletonActionData_t_1015_lin_to_win(&lin, pActionData); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - return ((IVRInput*)linux_side)->GetSkeletalActionDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eBoneParent, (float)fPredictedSecondsFromNow, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_UncompressSkeletalActionData(void *linux_side, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->UncompressSkeletalActionData((void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)peBoneParent, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_003_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h deleted file mode 100644 index a89723bff..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_003.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_003_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_003_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1015 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, float, winInputSkeletonActionData_t_1015 *, uint32_t, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(void *, VRActionHandle_t, EVRSkeletalTransformSpace, float, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_003_UncompressSkeletalActionData(void *, void *, uint32_t, EVRSkeletalTransformSpace *, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float); -extern EVRInputError cppIVRInput_IVRInput_003_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_003_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_003_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp deleted file mode 100644 index 0b0c37896..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.cpp +++ /dev/null @@ -1,132 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_004.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_004_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1017_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputDigitalActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1017_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputAnalogActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1017_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputSkeletalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletalActionData_t_1017_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputSkeletalActionData_t_1017_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(void *linux_side, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->DecompressSkeletalBoneData((void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace *)peTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_004_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h deleted file mode 100644 index 6591085e3..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_004.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_004_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_004_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1017 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(void *, void *, uint32_t, EVRSkeletalTransformSpace *, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_004_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_004_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp deleted file mode 100644 index 33f0da444..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.cpp +++ /dev/null @@ -1,167 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.3.22/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_005.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_005_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1322_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputDigitalActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1322_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputAnalogActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetPoseActionData(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1322_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionData((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1322 * pActionData, uint32_t unActionDataSize) -{ - InputSkeletalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletalActionData_t_1322_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputSkeletalActionData_t_1322_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t * pBoneCount) -{ - return ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - return ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - return ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - return ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - return ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(void *linux_side, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_005_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -bool cppIVRInput_IVRInput_005_IsUsingLegacyInput(void *linux_side) -{ - return ((IVRInput*)linux_side)->IsUsingLegacyInput(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h deleted file mode 100644 index c0293237f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_005.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_005_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_005_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetPoseActionData(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1322 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1322 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalSummaryData(void *, VRActionHandle_t, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_005_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_005_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_005_IsUsingLegacyInput(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp deleted file mode 100644 index 2c78b8807..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.cpp +++ /dev/null @@ -1,179 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_006.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_006_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1418_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputDigitalActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1418_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputAnalogActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1418_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1418 * pActionData, uint32_t unActionDataSize) -{ - InputSkeletalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletalActionData_t_1418_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputSkeletalActionData_t_1418_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t * pBoneCount) -{ - return ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - return ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - return ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - return ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - return ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(void *linux_side, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_006_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -bool cppIVRInput_IVRInput_006_IsUsingLegacyInput(void *linux_side) -{ - return ((IVRInput*)linux_side)->IsUsingLegacyInput(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h deleted file mode 100644 index c1c4256cb..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_006.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_006_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_006_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1418 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1418 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_006_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_006_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_006_IsUsingLegacyInput(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp deleted file mode 100644 index be4791f6e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.cpp +++ /dev/null @@ -1,189 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_007.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_007_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1916_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputDigitalActionData_t_1916_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1916_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputAnalogActionData_t_1916_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1916_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1916_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1916_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1916_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1916 * pActionData, uint32_t unActionDataSize) -{ - InputSkeletalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletalActionData_t_1916_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputSkeletalActionData_t_1916_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t * pBoneCount) -{ - return ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - return ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - return ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - return ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - return ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(void *linux_side, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_GetActionBindingInfo(void *linux_side, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - return ((IVRInput*)linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)action, (vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (uint32_t *)punReturnedBindingInfoCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -bool cppIVRInput_IVRInput_007_IsUsingLegacyInput(void *linux_side) -{ - return ((IVRInput*)linux_side)->IsUsingLegacyInput(); -} - -vr::EVRInputError cppIVRInput_IVRInput_007_OpenBindingUI(void *linux_side, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - return ((IVRInput*)linux_side)->OpenBindingUI((const char *)pchAppKey, (vr::VRActionSetHandle_t)ulActionSetHandle, (vr::VRInputValueHandle_t)ulDeviceHandle, (bool)bShowOnDesktop); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h deleted file mode 100644 index 79ba985dc..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_007.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_007_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_007_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1916 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1916 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_007_GetActionBindingInfo(void *, VRActionHandle_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_007_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_007_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern bool cppIVRInput_IVRInput_007_IsUsingLegacyInput(void *); -extern EVRInputError cppIVRInput_IVRInput_007_OpenBindingUI(void *, const char *, VRActionSetHandle_t, VRInputValueHandle_t, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp deleted file mode 100644 index ba53f97f5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.cpp +++ /dev/null @@ -1,209 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRInput_IVRInput_010.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRInputError cppIVRInput_IVRInput_010_SetActionManifestPath(void *linux_side, const char * pchActionManifestPath) -{ - return ((IVRInput*)linux_side)->SetActionManifestPath((const char *)pchActionManifestPath); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetActionSetHandle(void *linux_side, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionSetHandle((const char *)pchActionSetName, (vr::VRActionSetHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetActionHandle(void *linux_side, const char * pchActionName, VRActionHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetActionHandle((const char *)pchActionName, (vr::VRActionHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetInputSourceHandle(void *linux_side, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - return ((IVRInput*)linux_side)->GetInputSourceHandle((const char *)pchInputSourcePath, (vr::VRInputValueHandle_t *)pHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputDigitalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputDigitalActionData_t_1237_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputDigitalActionData_t_1237_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputAnalogActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputAnalogActionData_t_1237_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputAnalogActionData_t_1237_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1237_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1237_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - InputPoseActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputPoseActionData_t_1237_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice); - if(pActionData) - struct_InputPoseActionData_t_1237_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_1237 * pActionData, uint32_t unActionDataSize) -{ - InputSkeletalActionData_t lin; - vr::EVRInputError _ret; - if(pActionData) - struct_InputSkeletalActionData_t_1237_win_to_lin(pActionData, &lin); - _ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0); - if(pActionData) - struct_InputSkeletalActionData_t_1237_lin_to_win(&lin, pActionData, unActionDataSize); - return _ret; -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetDominantHand(void *linux_side, ETrackedControllerRole * peDominantHand) -{ - return ((IVRInput*)linux_side)->GetDominantHand((vr::ETrackedControllerRole *)peDominantHand); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_SetDominantHand(void *linux_side, ETrackedControllerRole eDominantHand) -{ - return ((IVRInput*)linux_side)->SetDominantHand((vr::ETrackedControllerRole)eDominantHand); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetBoneCount(void *linux_side, VRActionHandle_t action, uint32_t * pBoneCount) -{ - return ((IVRInput*)linux_side)->GetBoneCount((vr::VRActionHandle_t)action, (uint32_t *)pBoneCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetBoneHierarchy(void *linux_side, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - return ((IVRInput*)linux_side)->GetBoneHierarchy((vr::VRActionHandle_t)action, (vr::BoneIndex_t *)pParentIndices, (uint32_t)unIndexArayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetBoneName(void *linux_side, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - return ((IVRInput*)linux_side)->GetBoneName((vr::VRActionHandle_t)action, (vr::BoneIndex_t)nBoneIndex, (char *)pchBoneName, (uint32_t)unNameBufferSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalReferenceTransforms((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalReferencePose)eReferencePose, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(void *linux_side, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - return ((IVRInput*)linux_side)->GetSkeletalTrackingLevel((vr::VRActionHandle_t)action, (vr::EVRSkeletalTrackingLevel *)pSkeletalTrackingLevel); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneData(void *linux_side, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneData((vr::VRActionHandle_t)action, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::EVRSkeletalMotionRange)eMotionRange, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalSummaryData(void *linux_side, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - return ((IVRInput*)linux_side)->GetSkeletalSummaryData((vr::VRActionHandle_t)action, (vr::EVRSummaryType)eSummaryType, (vr::VRSkeletalSummaryData_t *)pSkeletalSummaryData); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(void *linux_side, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - return ((IVRInput*)linux_side)->GetSkeletalBoneDataCompressed((vr::VRActionHandle_t)action, (vr::EVRSkeletalMotionRange)eMotionRange, (void *)pvCompressedData, (uint32_t)unCompressedSize, (uint32_t *)punRequiredCompressedSize); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(void *linux_side, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - return ((IVRInput*)linux_side)->DecompressSkeletalBoneData((const void *)pvCompressedBuffer, (uint32_t)unCompressedBufferSize, (vr::EVRSkeletalTransformSpace)eTransformSpace, (vr::VRBoneTransform_t *)pTransformArray, (uint32_t)unTransformArrayCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(void *linux_side, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - return ((IVRInput*)linux_side)->TriggerHapticVibrationAction((vr::VRActionHandle_t)action, (float)fStartSecondsFromNow, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude, (vr::VRInputValueHandle_t)ulRestrictToDevice); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - return ((IVRInput*)linux_side)->GetActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)digitalActionHandle, (vr::VRInputValueHandle_t *)originsOut, (uint32_t)originOutCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetOriginLocalizedName(void *linux_side, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - return ((IVRInput*)linux_side)->GetOriginLocalizedName((vr::VRInputValueHandle_t)origin, (char *)pchNameArray, (uint32_t)unNameArraySize, (int32_t)unStringSectionsToInclude); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(void *linux_side, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - return ((IVRInput*)linux_side)->GetOriginTrackedDeviceInfo((vr::VRInputValueHandle_t)origin, (vr::InputOriginInfo_t *)pOriginInfo, std::min(unOriginInfoSize, (uint32_t)sizeof(vr::InputOriginInfo_t))); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetActionBindingInfo(void *linux_side, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - return ((IVRInput*)linux_side)->GetActionBindingInfo((vr::VRActionHandle_t)action, (vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (uint32_t *)punReturnedBindingInfoCount); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_ShowActionOrigins(void *linux_side, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - return ((IVRInput*)linux_side)->ShowActionOrigins((vr::VRActionSetHandle_t)actionSetHandle, (vr::VRActionHandle_t)ulActionHandle); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_ShowBindingsForActionSet(void *linux_side, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - return ((IVRInput*)linux_side)->ShowBindingsForActionSet((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount, (vr::VRInputValueHandle_t)originToHighlight); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetComponentStateForBinding(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) -{ - return ((IVRInput*)linux_side)->GetComponentStateForBinding((const char *)pchRenderModelName, (const char *)pchComponentName, (const vr::InputBindingInfo_t *)pOriginInfo, (uint32_t)unBindingInfoSize, (uint32_t)unBindingInfoCount, (vr::RenderModel_ComponentState_t *)pComponentState); -} - -bool cppIVRInput_IVRInput_010_IsUsingLegacyInput(void *linux_side) -{ - return ((IVRInput*)linux_side)->IsUsingLegacyInput(); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_OpenBindingUI(void *linux_side, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - return ((IVRInput*)linux_side)->OpenBindingUI((const char *)pchAppKey, (vr::VRActionSetHandle_t)ulActionSetHandle, (vr::VRInputValueHandle_t)ulDeviceHandle, (bool)bShowOnDesktop); -} - -vr::EVRInputError cppIVRInput_IVRInput_010_GetBindingVariant(void *linux_side, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) -{ - return ((IVRInput*)linux_side)->GetBindingVariant((vr::VRInputValueHandle_t)ulDevicePath, (char *)pchVariantArray, (uint32_t)unVariantArraySize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h b/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h deleted file mode 100644 index 16f0b5619..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRInput_IVRInput_010.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRInputError cppIVRInput_IVRInput_010_SetActionManifestPath(void *, const char *); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionSetHandle(void *, const char *, VRActionSetHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionHandle(void *, const char *, VRActionHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *); -extern EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_1237 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_1237 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_1237 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_1237 *, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_1237 *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetDominantHand(void *, ETrackedControllerRole *); -extern EVRInputError cppIVRInput_IVRInput_010_SetDominantHand(void *, ETrackedControllerRole); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneCount(void *, VRActionHandle_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneHierarchy(void *, VRActionHandle_t, BoneIndex_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetBoneName(void *, VRActionHandle_t, BoneIndex_t, char *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalReferencePose, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(void *, VRActionHandle_t, EVRSkeletalTrackingLevel *); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneData(void *, VRActionHandle_t, EVRSkeletalTransformSpace, EVRSkeletalMotionRange, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalSummaryData(void *, VRActionHandle_t, EVRSummaryType, VRSkeletalSummaryData_t *); -extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(void *, VRActionHandle_t, EVRSkeletalMotionRange, void *, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(void *, const void *, uint32_t, EVRSkeletalTransformSpace, VRBoneTransform_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(void *, VRActionHandle_t, float, float, float, float, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t, VRInputValueHandle_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetOriginLocalizedName(void *, VRInputValueHandle_t, char *, uint32_t, int32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(void *, VRInputValueHandle_t, InputOriginInfo_t *, uint32_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetActionBindingInfo(void *, VRActionHandle_t, InputBindingInfo_t *, uint32_t, uint32_t, uint32_t *); -extern EVRInputError cppIVRInput_IVRInput_010_ShowActionOrigins(void *, VRActionSetHandle_t, VRActionHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_ShowBindingsForActionSet(void *, VRActiveActionSet_t *, uint32_t, uint32_t, VRInputValueHandle_t); -extern EVRInputError cppIVRInput_IVRInput_010_GetComponentStateForBinding(void *, const char *, const char *, InputBindingInfo_t *, uint32_t, uint32_t, RenderModel_ComponentState_t *); -extern bool cppIVRInput_IVRInput_010_IsUsingLegacyInput(void *); -extern EVRInputError cppIVRInput_IVRInput_010_OpenBindingUI(void *, const char *, VRActionSetHandle_t, VRInputValueHandle_t, bool); -extern EVRInputError cppIVRInput_IVRInput_010_GetBindingVariant(void *, VRInputValueHandle_t, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp deleted file mode 100644 index 93e231241..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRMailbox_IVRMailbox_001.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc1(void *linux_side, const char * a, vrmb_typea * b) -{ - return ((IVRMailbox*)linux_side)->undoc1((const char *)a, (vr::vrmb_typea *)b); -} - -vr::vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc2(void *linux_side, vrmb_typea a) -{ - return ((IVRMailbox*)linux_side)->undoc2((vr::vrmb_typea)a); -} - -vr::vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc3(void *linux_side, vrmb_typea a, const char * b, const char * c) -{ - return ((IVRMailbox*)linux_side)->undoc3((vr::vrmb_typea)a, (const char *)b, (const char *)c); -} - -vr::vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc4(void *linux_side, vrmb_typea a, char * b, uint32_t c, uint32_t * d) -{ - return ((IVRMailbox*)linux_side)->undoc4((vr::vrmb_typea)a, (char *)b, (uint32_t)c, (uint32_t *)d); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h b/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h deleted file mode 100644 index fbed8240e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRMailbox_IVRMailbox_001.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc1(void *, const char *, vrmb_typea *); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc2(void *, vrmb_typea); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc3(void *, vrmb_typea, const char *, const char *); -extern vrmb_typeb cppIVRMailbox_IVRMailbox_001_undoc4(void *, vrmb_typea, char *, uint32_t, uint32_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp deleted file mode 100644 index 12f309923..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRNotifications_IVRNotifications_001.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *linux_side, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRNotifications*)linux_side)->GetErrorString((vr::NotificationError_t)error, (char *)pchBuffer, (uint32_t)unBufferSize); -} - -vr::NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) -{ - return ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (const char *)strType, (const char *)strText, (const char *)strCategory, (const vr::NotificationBitmap *)photo, (vr::VRNotificationId *)notificationId); -} - -vr::NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *linux_side, VRNotificationId notificationId) -{ - return ((IVRNotifications*)linux_side)->DismissNotification((vr::VRNotificationId)notificationId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h deleted file mode 100644 index 9a4041590..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_001.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRNotifications_IVRNotifications_001_GetErrorString(void *, NotificationError_t, char *, uint32_t); -extern NotificationError_t cppIVRNotifications_IVRNotifications_001_CreateNotification(void *, VROverlayHandle_t, uint64_t, const char *, const char *, const char *, NotificationBitmap *, VRNotificationId *); -extern NotificationError_t cppIVRNotifications_IVRNotifications_001_DismissNotification(void *, VRNotificationId); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp deleted file mode 100644 index 6516a2391..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRNotifications_IVRNotifications_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) -{ - return ((IVRNotifications*)linux_side)->CreateNotification((vr::VROverlayHandle_t)ulOverlayHandle, (uint64_t)ulUserValue, (vr::EVRNotificationType)type, (const char *)pchText, (vr::EVRNotificationStyle)style, (const vr::NotificationBitmap_t *)pImage, (vr::VRNotificationId *)pNotificationId); -} - -vr::EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *linux_side, VRNotificationId notificationId) -{ - return ((IVRNotifications*)linux_side)->RemoveNotification((vr::VRNotificationId)notificationId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h b/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h deleted file mode 100644 index 810886e42..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRNotifications_IVRNotifications_002.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_CreateNotification(void *, VROverlayHandle_t, uint64_t, EVRNotificationType, const char *, EVRNotificationStyle, NotificationBitmap_t *, VRNotificationId *); -extern EVRNotificationError cppIVRNotifications_IVRNotifications_002_RemoveNotification(void *, VRNotificationId); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp deleted file mode 100644 index 4eb94b61f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlayView_IVROverlayView_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) -{ - return ((IVROverlayView*)linux_side)->AcquireOverlayView((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRNativeDevice_t *)pNativeDevice, (vr::VROverlayView_t *)pOverlayView, (uint32_t)unOverlayViewSize); -} - -vr::EVROverlayError cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(void *linux_side, VROverlayView_t * pOverlayView) -{ - return ((IVROverlayView*)linux_side)->ReleaseOverlayView((vr::VROverlayView_t *)pOverlayView); -} - -void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) -{ - VREvent_t lin; - if(pvrEvent) - struct_VREvent_t_1237_win_to_lin(pvrEvent, &lin); - ((IVROverlayView*)linux_side)->PostOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pvrEvent ? &lin : nullptr); -} - -bool cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlayView*)linux_side)->IsViewingPermitted((vr::VROverlayHandle_t)ulOverlayHandle); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h b/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h deleted file mode 100644 index e76f2e08b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlayView_IVROverlayView_003.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(void *, VROverlayHandle_t, VRNativeDevice_t *, VROverlayView_t *, uint32_t); -extern EVROverlayError cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(void *, VROverlayView_t *); -extern void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern bool cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(void *, VROverlayHandle_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp deleted file mode 100644 index a164e83cb..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.cpp +++ /dev/null @@ -1,214 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_001.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) -{ - return ((IVROverlay*)linux_side)->GetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility *)peOverlayVisibility); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) -{ - return ((IVROverlay*)linux_side)->SetOverlayVisibility((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayVisibility)eOverlayVisibility); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pTexture); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsSystemOverlayVisible(); -} - -bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveSystemOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetSystemOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h deleted file mode 100644 index bd72d9467..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_001.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern VROverlayError cppIVROverlay_IVROverlay_001_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(void *); -extern const char * cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayVisibility(void *, VROverlayHandle_t, VROverlayVisibility); -extern VROverlayError cppIVROverlay_IVROverlay_001_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_001_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayTexture(void *, VROverlayHandle_t, void *); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern bool cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(void *); -extern bool cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp deleted file mode 100644 index 5e5f34988..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.cpp +++ /dev/null @@ -1,224 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_002.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h deleted file mode 100644 index f69ddec53..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_002.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern VROverlayError cppIVROverlay_IVROverlay_002_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(void *); -extern const char * cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_002_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_002_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_002_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp deleted file mode 100644 index 53b99e746..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.cpp +++ /dev/null @@ -1,244 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_003.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_003_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h deleted file mode 100644 index 10e419fe1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_003.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern VROverlayError cppIVROverlay_IVROverlay_003_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_003_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_003_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_003_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_003_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_003_ShowDashboard(void *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp deleted file mode 100644 index 8abc7a874..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.cpp +++ /dev/null @@ -1,254 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_004.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_004_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h deleted file mode 100644 index e02d6ff3c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_004.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern VROverlayError cppIVROverlay_IVROverlay_004_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_004_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_004_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_004_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_004_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_004_ShowDashboard(void *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp deleted file mode 100644 index 73fd786c1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.cpp +++ /dev/null @@ -1,274 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_005.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::VROverlayError *)pError); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *linux_side, VROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::VROverlayError)error); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - return ((IVROverlay*)linux_side)->SetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float)fGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - return ((IVROverlay*)linux_side)->GetOverlayGamma((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfGamma); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsFocusOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (vr::GraphicsAPIConvention)eTextureType, (void *)pTexture); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_005_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode); -} - -uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_005_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h deleted file mode 100644 index 515699aaa..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_005.h +++ /dev/null @@ -1,58 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern VROverlayError cppIVROverlay_IVROverlay_005_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_DestroyOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_005_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, VROverlayError *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(void *, VROverlayError); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayGamma(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayGamma(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, TrackingUniverseOrigin *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ShowOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_005_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_005_IsFocusOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayTexture(void *, VROverlayHandle_t, GraphicsAPIConvention, void *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ClearOverlayTexture(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_005_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern VROverlayError cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_005_ShowDashboard(void *, const char *); -extern VROverlayError cppIVROverlay_IVROverlay_005_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool); -extern uint32_t cppIVROverlay_IVROverlay_005_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_005_HideKeyboard(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp deleted file mode 100644 index 1aa3d226d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.cpp +++ /dev/null @@ -1,299 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_007.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_007_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_007_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h deleted file mode 100644 index 773417600..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_007.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_007_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_007_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_007_IsOverlayVisible(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_007_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_007_ShowDashboard(void *, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_007_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_007_HideKeyboard(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp deleted file mode 100644 index af2682f55..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.cpp +++ /dev/null @@ -1,314 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_008.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - return ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VREvent_t *)pEvent); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_008_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_008_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h deleted file mode 100644 index 762b82ad7..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_008.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_008_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_008_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_008_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(void *, VROverlayHandle_t, VREvent_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_008_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_008_ShowDashboard(void *, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_008_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_008_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp deleted file mode 100644 index 119e4be23..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.cpp +++ /dev/null @@ -1,336 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_010.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_010_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_010_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h deleted file mode 100644 index fbcc95f2e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_010.h +++ /dev/null @@ -1,69 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_010_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_010_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_010_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0918 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_010_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_010_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_010_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_010_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp deleted file mode 100644 index b3fbc2799..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.cpp +++ /dev/null @@ -1,356 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_011.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_0920_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_0920_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_011_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_011_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h deleted file mode 100644 index c37df21ce..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_011.h +++ /dev/null @@ -1,73 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_011_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_011_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_0920 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_011_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_011_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_011_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_011_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp deleted file mode 100644 index a87ac79d0..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.cpp +++ /dev/null @@ -1,361 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_012.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_101_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_101_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_012_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_012_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h deleted file mode 100644 index 519011e5a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_012.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_012_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_012_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_101 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_012_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_012_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_012_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_012_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp deleted file mode 100644 index 316f8788f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.cpp +++ /dev/null @@ -1,386 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_013.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::EGraphicsAPIConvention *)pAPI, (vr::EColorSpace *)pColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_013_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_013_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h deleted file mode 100644 index 91f2d359e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_013.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_013_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_013_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_104 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, EGraphicsAPIConvention *, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_013_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_013_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_013_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_013_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp deleted file mode 100644 index a5c1e6fd5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.cpp +++ /dev/null @@ -1,396 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.6/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_014.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_106_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_106_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_014_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_014_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h deleted file mode 100644 index 7579f9e21..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_014.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_014_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_014_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_106 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_014_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_014_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_014_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_014_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_014_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_014_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp deleted file mode 100644 index ccd11a10c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.cpp +++ /dev/null @@ -1,426 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_016.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1010_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1010_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_016_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_016_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h deleted file mode 100644 index 34bc91f79..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_016.h +++ /dev/null @@ -1,87 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_016_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_016_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1010 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_016_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_016_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_016_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_016_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_016_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_016_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_016_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp deleted file mode 100644 index c8f93793c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.cpp +++ /dev/null @@ -1,436 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_017.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - return ((IVROverlay*)linux_side)->HandleControllerOverlayInteractionAsMouse((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex); -} - -bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, *vCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_017_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_017_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h deleted file mode 100644 index 6dac702f3..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_017.h +++ /dev/null @@ -1,89 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_017_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_017_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1011 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(void *, VROverlayHandle_t, TrackedDeviceIndex_t); -extern bool cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_017_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_017_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_017_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_017_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_017_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_017_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_017_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp deleted file mode 100644 index 50f6a322f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_018.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_018_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_018_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1017_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1017_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, *vCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_018_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_018_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_018_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_018_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_018_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_018_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h deleted file mode 100644 index be8434389..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_018.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_018_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_018_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1017 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_018_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_018_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_018_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_018_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_018_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_018_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_018_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp deleted file mode 100644 index e4de548e0..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_019.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_019_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->SetHighQualityOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetHighQualityOverlay(); -} - -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_019_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1610_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1610_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_019_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_019_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_019_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_019_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_019_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_019_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h deleted file mode 100644 index 28a7d2f91..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_019.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_019_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_DestroyOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(void *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_019_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1610 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_019_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_019_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_019_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_019_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_019_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_019_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_019_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp deleted file mode 100644 index 55d79b428..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.cpp +++ /dev/null @@ -1,421 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_020.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_020_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fMinDistanceInMeters, (float)fMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayAutoCurveDistanceRangeInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfMinDistanceInMeters, (float *)pfMaxDistanceInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_020_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1715_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::VROverlayHandle_t cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetGamepadFocusOverlay(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(void *linux_side, VROverlayHandle_t ulNewFocusOverlay) -{ - return ((IVROverlay*)linux_side)->SetGamepadFocusOverlay((vr::VROverlayHandle_t)ulNewFocusOverlay); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - return ((IVROverlay*)linux_side)->SetOverlayNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom, (vr::VROverlayHandle_t)ulTo); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(void *linux_side, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - return ((IVROverlay*)linux_side)->MoveGamepadFocusToNeighbor((vr::EOverlayDirection)eDirection, (vr::VROverlayHandle_t)ulFrom); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_020_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_020_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_020_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_020_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_020_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_020_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h deleted file mode 100644 index 3969b8ccb..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_020.h +++ /dev/null @@ -1,86 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_020_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(void *, VROverlayHandle_t, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_020_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1715 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern VROverlayHandle_t cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(void *, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(void *, EOverlayDirection, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_020_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_020_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_020_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_020_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_020_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_020_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_020_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp deleted file mode 100644 index dfad51486..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.cpp +++ /dev/null @@ -1,401 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_021.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_021_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - return ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - return ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_021_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1819_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1819_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unDepth); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_021_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_021_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_021_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_021_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_021_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_021_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h deleted file mode 100644 index eca36c743..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_021.h +++ /dev/null @@ -1,82 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_021_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_021_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1819 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_021_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_021_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_021_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_021_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_021_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_021_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_021_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp deleted file mode 100644 index 9db3a1992..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_022.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_022_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - return ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - return ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::HmdColor_t *)pColor, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderModel((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchRenderModel, (const vr::HmdColor_t *)pColor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_022_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1916_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1916_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - return ((IVROverlay*)linux_side)->SetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (const vr::HmdVector2_t *)pvCenter, (float)fRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(void *linux_side, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - return ((IVROverlay*)linux_side)->GetOverlayDualAnalogTransform((vr::VROverlayHandle_t)ulOverlay, (vr::EDualAnalogWhich)eWhich, (vr::HmdVector2_t *)pvCenter, (float *)pfRadius); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - return ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_022_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_022_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (bool)bUseMinimalMode, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_022_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_022_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_022_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_022_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h deleted file mode 100644 index f82089589..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_022.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_022_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern uint32_t cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(void *, VROverlayHandle_t, char *, uint32_t, HmdColor_t *, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(void *, VROverlayHandle_t, const char *, HmdColor_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_022_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1916 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(void *, VROverlayHandle_t, EDualAnalogWhich, HmdVector2_t *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_022_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_022_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char *, uint32_t, const char *, bool, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_022_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_022_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_022_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_022_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp deleted file mode 100644 index 0e2550f62..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.cpp +++ /dev/null @@ -1,411 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_024.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_024_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - return ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - return ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_024_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_11415_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_11415_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - return ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_024_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_024_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_024_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_024_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_024_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_024_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h deleted file mode 100644 index 572eae8a1..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_024.h +++ /dev/null @@ -1,84 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_024_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_024_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_11415 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_024_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_024_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_024_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_024_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_024_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_024_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp deleted file mode 100644 index 72bd67890..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.cpp +++ /dev/null @@ -1,416 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.16.8/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_025.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_025_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - return ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - return ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)pProjection, (vr::EVREye)eEye); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_025_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -bool cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1168_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1168_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - return ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_025_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_025_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_025_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_025_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_025_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_025_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h deleted file mode 100644 index b9d03eaa4..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_025.h +++ /dev/null @@ -1,85 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_025_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *, VROverlayProjection_t *, EVREye); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_025_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern bool cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1168 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_025_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_025_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_025_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_025_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_025_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_025_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp deleted file mode 100644 index 493a0daa4..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.cpp +++ /dev/null @@ -1,431 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVROverlay_IVROverlay_026.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVROverlayError cppIVROverlay_IVROverlay_026_FindOverlay(void *linux_side, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->FindOverlay((const char *)pchOverlayKey, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_CreateOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - return ((IVROverlay*)linux_side)->CreateOverlay((const char *)pchOverlayKey, (const char *)pchOverlayName, (vr::VROverlayHandle_t *)pOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_DestroyOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->DestroyOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayKey(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayKey((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - return ((IVROverlay*)linux_side)->GetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (char *)pchValue, (uint32_t)unBufferSize, (vr::EVROverlayError *)pError); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayName(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - return ((IVROverlay*)linux_side)->SetOverlayName((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayImageData(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayImageData((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unBufferSize, (uint32_t *)punWidth, (uint32_t *)punHeight); -} - -const char * cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(void *linux_side, EVROverlayError error) -{ - return ((IVROverlay*)linux_side)->GetOverlayErrorNameFromEnum((vr::EVROverlayError)error); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - return ((IVROverlay*)linux_side)->SetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unPID); -} - -uint32_t cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->GetOverlayRenderingPid((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - return ((IVROverlay*)linux_side)->SetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool)bEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlag(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlag((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayFlags)eOverlayFlag, (bool *)pbEnabled); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlags(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - return ((IVROverlay*)linux_side)->GetOverlayFlags((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pFlags); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - return ((IVROverlay*)linux_side)->SetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRed, (float)fGreen, (float)fBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayColor(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - return ((IVROverlay*)linux_side)->GetOverlayColor((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRed, (float *)pfGreen, (float *)pfBlue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - return ((IVROverlay*)linux_side)->SetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float)fAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayAlpha(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - return ((IVROverlay*)linux_side)->GetOverlayAlpha((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfAlpha); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float)fTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexelAspect((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfTexelAspect); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - return ((IVROverlay*)linux_side)->SetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - return ((IVROverlay*)linux_side)->GetOverlaySortOrder((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punSortOrder); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - return ((IVROverlay*)linux_side)->SetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float)fWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - return ((IVROverlay*)linux_side)->GetOverlayWidthInMeters((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfWidthInMeters); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - return ((IVROverlay*)linux_side)->SetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float)fCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayCurvature(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - return ((IVROverlay*)linux_side)->GetOverlayCurvature((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfCurvature); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fRadians) -{ - return ((IVROverlay*)linux_side)->SetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float)fRadians); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(void *linux_side, VROverlayHandle_t ulOverlayHandle, float * pfRadians) -{ - return ((IVROverlay*)linux_side)->GetOverlayPreCurvePitch((vr::VROverlayHandle_t)ulOverlayHandle, (float *)pfRadians); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace)eTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(void *linux_side, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureColorSpace((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EColorSpace *)peTextureColorSpace); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->SetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(void *linux_side, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureBounds((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VRTextureBounds_t *)pOverlayTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformType(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformType((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayTransformType *)peTransformType); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformAbsolute((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin *)peTrackingOrigin, (vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unTrackedDevice, (const vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punTrackedDevice, (vr::HmdMatrix34_t *)pmatTrackedDeviceToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchComponentName); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *linux_side, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformTrackedDeviceComponent((vr::VROverlayHandle_t)ulOverlayHandle, (vr::TrackedDeviceIndex_t *)punDeviceIndex, (char *)pchComponentName, (uint32_t)unComponentNameSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t *)ulOverlayHandleParent, (vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformOverlayRelative((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulOverlayHandleParent, (const vr::HmdMatrix34_t *)pmatParentOverlayToOverlayTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformCursor((vr::VROverlayHandle_t)ulCursorOverlayHandle, (const vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - return ((IVROverlay*)linux_side)->GetOverlayTransformCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvHotspot); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - return ((IVROverlay*)linux_side)->SetOverlayTransformProjection((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToOverlayTransform, (const vr::VROverlayProjection_t *)pProjection, (vr::EVREye)eEye); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ShowOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ShowOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_HideOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->HideOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -bool cppIVROverlay_IVROverlay_026_IsOverlayVisible(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsOverlayVisible((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(void *linux_side, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_WaitFrameSync(void *linux_side, uint32_t nTimeoutMs) -{ - return ((IVROverlay*)linux_side)->WaitFrameSync((uint32_t)nTimeoutMs); -} - -bool cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1237_win_to_lin(pEvent, &lin); - _ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1237_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - return ((IVROverlay*)linux_side)->GetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod *)peInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - return ((IVROverlay*)linux_side)->SetOverlayInputMethod((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayInputMethod)eInputMethod); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->GetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdVector2_t *)pvecMouseScale); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - return ((IVROverlay*)linux_side)->SetOverlayMouseScale((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvecMouseScale); -} - -bool cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - return ((IVROverlay*)linux_side)->ComputeOverlayIntersection((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::VROverlayIntersectionParams_t *)pParams, (vr::VROverlayIntersectionResults_t *)pResults); -} - -bool cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsHoverTargetOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - return ((IVROverlay*)linux_side)->SetOverlayIntersectionMask((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayIntersectionMaskPrimitive_t *)pMaskPrimitives, (uint32_t)unNumMaskPrimitives, (uint32_t)unPrimitiveSize); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(void *linux_side, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - return ((IVROverlay*)linux_side)->TriggerLaserMouseHapticVibration((vr::VROverlayHandle_t)ulOverlayHandle, (float)fDurationSeconds, (float)fFrequency, (float)fAmplitude); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursor(void *linux_side, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursor((vr::VROverlayHandle_t)ulOverlayHandle, (vr::VROverlayHandle_t)ulCursorHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - return ((IVROverlay*)linux_side)->SetOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::HmdVector2_t *)pvCursor); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayCursorPositionOverride((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - return ((IVROverlay*)linux_side)->SetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (const vr::Texture_t *)pTexture); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->ClearOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRaw(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - return ((IVROverlay*)linux_side)->SetOverlayRaw((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pvBuffer, (uint32_t)unWidth, (uint32_t)unHeight, (uint32_t)unBytesPerPixel); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFromFile(void *linux_side, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - return ((IVROverlay*)linux_side)->SetOverlayFromFile((vr::VROverlayHandle_t)ulOverlayHandle, (const char *)pchFilePath); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexture(void *linux_side, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - return ((IVROverlay*)linux_side)->GetOverlayTexture((vr::VROverlayHandle_t)ulOverlayHandle, (void **)pNativeTextureHandle, (void *)pNativeTextureRef, (uint32_t *)pWidth, (uint32_t *)pHeight, (uint32_t *)pNativeFormat, (vr::ETextureType *)pAPIType, (vr::EColorSpace *)pColorSpace, (vr::VRTextureBounds_t *)pTextureBounds); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(void *linux_side, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - return ((IVROverlay*)linux_side)->ReleaseNativeOverlayHandle((vr::VROverlayHandle_t)ulOverlayHandle, (void *)pNativeTextureHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVROverlay*)linux_side)->GetOverlayTextureSize((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(void *linux_side, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - return ((IVROverlay*)linux_side)->CreateDashboardOverlay((const char *)pchOverlayKey, (const char *)pchOverlayFriendlyName, (vr::VROverlayHandle_t *)pMainHandle, (vr::VROverlayHandle_t *)pThumbnailHandle); -} - -bool cppIVROverlay_IVROverlay_026_IsDashboardVisible(void *linux_side) -{ - return ((IVROverlay*)linux_side)->IsDashboardVisible(); -} - -bool cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle) -{ - return ((IVROverlay*)linux_side)->IsActiveDashboardOverlay((vr::VROverlayHandle_t)ulOverlayHandle); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - return ((IVROverlay*)linux_side)->SetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t)unProcessId); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(void *linux_side, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - return ((IVROverlay*)linux_side)->GetDashboardOverlaySceneProcess((vr::VROverlayHandle_t)ulOverlayHandle, (uint32_t *)punProcessId); -} - -void cppIVROverlay_IVROverlay_026_ShowDashboard(void *linux_side, const char * pchOverlayToShow) -{ - ((IVROverlay*)linux_side)->ShowDashboard((const char *)pchOverlayToShow); -} - -vr::TrackedDeviceIndex_t cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(void *linux_side) -{ - return ((IVROverlay*)linux_side)->GetPrimaryDashboardDevice(); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboard(void *linux_side, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboard((vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -vr::EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - return ((IVROverlay*)linux_side)->ShowKeyboardForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::EGamepadTextInputMode)eInputMode, (vr::EGamepadTextInputLineMode)eLineInputMode, (uint32_t)unFlags, (const char *)pchDescription, (uint32_t)unCharMax, (const char *)pchExistingText, (uint64_t)uUserValue); -} - -uint32_t cppIVROverlay_IVROverlay_026_GetKeyboardText(void *linux_side, char * pchText, uint32_t cchText) -{ - return ((IVROverlay*)linux_side)->GetKeyboardText((char *)pchText, (uint32_t)cchText); -} - -void cppIVROverlay_IVROverlay_026_HideKeyboard(void *linux_side) -{ - ((IVROverlay*)linux_side)->HideKeyboard(); -} - -void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(void *linux_side, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - ((IVROverlay*)linux_side)->SetKeyboardTransformAbsolute((vr::ETrackingUniverseOrigin)eTrackingOrigin, (const vr::HmdMatrix34_t *)pmatTrackingOriginToKeyboardTransform); -} - -void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(void *linux_side, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - ((IVROverlay*)linux_side)->SetKeyboardPositionForOverlay((vr::VROverlayHandle_t)ulOverlayHandle, (vr::HmdRect2_t)avoidRect); -} - -vr::VRMessageOverlayResponse cppIVROverlay_IVROverlay_026_ShowMessageOverlay(void *linux_side, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - return ((IVROverlay*)linux_side)->ShowMessageOverlay((const char *)pchText, (const char *)pchCaption, (const char *)pchButton0Text, (const char *)pchButton1Text, (const char *)pchButton2Text, (const char *)pchButton3Text); -} - -void cppIVROverlay_IVROverlay_026_CloseMessageOverlay(void *linux_side) -{ - ((IVROverlay*)linux_side)->CloseMessageOverlay(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h b/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h deleted file mode 100644 index 3cc5ffa54..000000000 --- a/vrclient_x64/vrclient_x64/cppIVROverlay_IVROverlay_026.h +++ /dev/null @@ -1,88 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVROverlayError cppIVROverlay_IVROverlay_026_FindOverlay(void *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_CreateOverlay(void *, const char *, const char *, VROverlayHandle_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_DestroyOverlay(void *, VROverlayHandle_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayKey(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayName(void *, VROverlayHandle_t, char *, uint32_t, EVROverlayError *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayName(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayImageData(void *, VROverlayHandle_t, void *, uint32_t, uint32_t *, uint32_t *); -extern const char * cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(void *, EVROverlayError); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(void *, VROverlayHandle_t, uint32_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlag(void *, VROverlayHandle_t, VROverlayFlags, bool *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayFlags(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayColor(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayColor(void *, VROverlayHandle_t, float *, float *, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayAlpha(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayAlpha(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(void *, VROverlayHandle_t, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCurvature(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayCurvature(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(void *, VROverlayHandle_t, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(void *, VROverlayHandle_t, float *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(void *, VROverlayHandle_t, EColorSpace *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(void *, VROverlayHandle_t, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformType(void *, VROverlayHandle_t, VROverlayTransformType *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(void *, VROverlayHandle_t, ETrackingUniverseOrigin *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(void *, VROverlayHandle_t, TrackedDeviceIndex_t *, char *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t *, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(void *, VROverlayHandle_t, VROverlayHandle_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t *, VROverlayProjection_t *, EVREye); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_HideOverlay(void *, VROverlayHandle_t); -extern bool cppIVROverlay_IVROverlay_026_IsOverlayVisible(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_WaitFrameSync(void *, uint32_t); -extern bool cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_1237 *, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *); -extern bool cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(void *, VROverlayHandle_t, VROverlayIntersectionParams_t *, VROverlayIntersectionResults_t *); -extern bool cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(void *, VROverlayHandle_t, VROverlayIntersectionMaskPrimitive_t *, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(void *, VROverlayHandle_t, float, float, float); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursor(void *, VROverlayHandle_t, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(void *, VROverlayHandle_t, HmdVector2_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayTexture(void *, VROverlayHandle_t, Texture_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ClearOverlayTexture(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayRaw(void *, VROverlayHandle_t, void *, uint32_t, uint32_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetOverlayFromFile(void *, VROverlayHandle_t, const char *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTexture(void *, VROverlayHandle_t, void **, void *, uint32_t *, uint32_t *, uint32_t *, ETextureType *, EColorSpace *, VRTextureBounds_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(void *, VROverlayHandle_t, void *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(void *, VROverlayHandle_t, uint32_t *, uint32_t *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(void *, const char *, const char *, VROverlayHandle_t *, VROverlayHandle_t *); -extern bool cppIVROverlay_IVROverlay_026_IsDashboardVisible(void *); -extern bool cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(void *, VROverlayHandle_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(void *, VROverlayHandle_t, uint32_t *); -extern void cppIVROverlay_IVROverlay_026_ShowDashboard(void *, const char *); -extern TrackedDeviceIndex_t cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(void *); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboard(void *, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern EVROverlayError cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(void *, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, uint32_t, const char *, uint32_t, const char *, uint64_t); -extern uint32_t cppIVROverlay_IVROverlay_026_GetKeyboardText(void *, char *, uint32_t); -extern void cppIVROverlay_IVROverlay_026_HideKeyboard(void *); -extern void cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(void *, ETrackingUniverseOrigin, HmdMatrix34_t *); -extern void cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(void *, VROverlayHandle_t, HmdRect2_t); -extern VRMessageOverlayResponse cppIVROverlay_IVROverlay_026_ShowMessageOverlay(void *, const char *, const char *, const char *, const char *, const char *, const char *); -extern void cppIVROverlay_IVROverlay_026_CloseMessageOverlay(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp deleted file mode 100644 index 7f5b46cad..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRRenderModels_IVRRenderModels_001.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *linux_side, const char * pchRenderModelName, winRenderModel_t_0910 * pRenderModel) -{ - return ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, struct_RenderModel_t_0910_unwrap(pRenderModel)); -} - -void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *linux_side, winRenderModel_t_0910 * pRenderModel) -{ - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0910_unwrap(pRenderModel)); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *linux_side) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelCount(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h deleted file mode 100644 index 3349d6162..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_001.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(void *, const char *, winRenderModel_t_0910 *); -extern void cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(void *, winRenderModel_t_0910 *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp deleted file mode 100644 index c13d8061e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRRenderModels_IVRRenderModels_002.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *linux_side, const char * pchRenderModelName, winRenderModel_t_0915 ** ppRenderModel) -{ - RenderModel_t *lin; - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, ppRenderModel ? &lin : nullptr); - if(_ret == 0) - *ppRenderModel = struct_RenderModel_t_0915_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *linux_side, winRenderModel_t_0915 * pRenderModel) -{ - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0915_unwrap(pRenderModel)); -} - -bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_0915 ** ppTexture) -{ - RenderModel_TextureMap_t *lin; - bool _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture((vr::TextureID_t)textureId, ppTexture ? &lin : nullptr); - if(_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_0915_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_0915 * pTexture) -{ - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0915_unwrap(pTexture)); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *linux_side) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelCount(); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *linux_side, const char * pchRenderModelName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *linux_side, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); -} - -uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); -} - -bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0915_win_to_lin(pControllerState, &lin); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; -} - -bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h deleted file mode 100644 index 149ca8c14..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_002.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(void *, const char *, winRenderModel_t_0915 **); -extern void cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(void *, winRenderModel_t_0915 *); -extern bool cppIVRRenderModels_IVRRenderModels_002_LoadTexture(void *, TextureID_t, winRenderModel_TextureMap_t_0915 **); -extern void cppIVRRenderModels_IVRRenderModels_002_FreeTexture(void *, winRenderModel_TextureMap_t_0915 *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_002_GetComponentState(void *, const char *, const char *, VRControllerState_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(void *, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp deleted file mode 100644 index ad388f2b5..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.cpp +++ /dev/null @@ -1,99 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRRenderModels_IVRRenderModels_004.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(void *linux_side, const char * pchRenderModelName, winRenderModel_t_0918 ** ppRenderModel) -{ - RenderModel_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin : nullptr); - if(_ret == 0) - *ppRenderModel = struct_RenderModel_t_0918_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(void *linux_side, winRenderModel_t_0918 * pRenderModel) -{ - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_0918_unwrap(pRenderModel)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_0918 ** ppTexture) -{ - RenderModel_TextureMap_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin : nullptr); - if(_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_0918_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_004_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_0918 * pTexture) -{ - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_0918_unwrap(pTexture)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - return ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); -} - -void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(void *linux_side, void * pD3D11Texture2D) -{ - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(void *linux_side) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelCount(); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(void *linux_side, const char * pchRenderModelName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentName(void *linux_side, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); -} - -uint64_t cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); -} - -bool cppIVRRenderModels_IVRRenderModels_004_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; -} - -bool cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h deleted file mode 100644 index 8ae9d9477..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_004.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(void *, const char *, winRenderModel_t_0918 **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(void *, winRenderModel_t_0918 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_0918 **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeTexture(void *, winRenderModel_TextureMap_t_0918 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern void cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_004_GetComponentState(void *, const char *, const char *, VRControllerState_t *, RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(void *, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp deleted file mode 100644 index ddff2ba0f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRRenderModels_IVRRenderModels_005.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(void *linux_side, const char * pchRenderModelName, winRenderModel_t_1015 ** ppRenderModel) -{ - RenderModel_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin : nullptr); - if(_ret == 0) - *ppRenderModel = struct_RenderModel_t_1015_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(void *linux_side, winRenderModel_t_1015 * pRenderModel) -{ - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_1015_unwrap(pRenderModel)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_1015 ** ppTexture) -{ - RenderModel_TextureMap_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin : nullptr); - if(_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_1015_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_005_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_1015 * pTexture) -{ - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1015_unwrap(pTexture)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - return ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *linux_side, TextureID_t textureId, void * pDstTexture) -{ - return ((IVRRenderModels*)linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pDstTexture); -} - -void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(void *linux_side, void * pD3D11Texture2D) -{ - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(void *linux_side) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelCount(); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(void *linux_side, const char * pchRenderModelName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentName(void *linux_side, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); -} - -uint64_t cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); -} - -bool cppIVRRenderModels_IVRRenderModels_005_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1015_win_to_lin(pControllerState, &lin); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; -} - -bool cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(void *linux_side, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelThumbnailURL((const char *)pchRenderModelName, (char *)pchThumbnailURL, (uint32_t)unThumbnailURLLen, (vr::EVRRenderModelError *)peError); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(void *linux_side, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelOriginalPath((const char *)pchRenderModelName, (char *)pchOriginalPath, (uint32_t)unOriginalPathLen, (vr::EVRRenderModelError *)peError); -} - -const char * cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *linux_side, EVRRenderModelError error) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)error); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h deleted file mode 100644 index e82faba3c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_005.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(void *, const char *, winRenderModel_t_1015 **); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(void *, winRenderModel_t_1015 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_1015 **); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeTexture(void *, winRenderModel_TextureMap_t_1015 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(void *, TextureID_t, void *); -extern void cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_005_GetComponentState(void *, const char *, const char *, VRControllerState_t *, RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern const char * cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(void *, EVRRenderModelError); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp deleted file mode 100644 index e1fdd2f00..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.cpp +++ /dev/null @@ -1,124 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRRenderModels_IVRRenderModels_006.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(void *linux_side, const char * pchRenderModelName, winRenderModel_t_1237 ** ppRenderModel) -{ - RenderModel_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadRenderModel_Async((const char *)pchRenderModelName, ppRenderModel ? &lin : nullptr); - if(_ret == 0) - *ppRenderModel = struct_RenderModel_t_1237_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(void *linux_side, winRenderModel_t_1237 * pRenderModel) -{ - ((IVRRenderModels*)linux_side)->FreeRenderModel(struct_RenderModel_t_1237_unwrap(pRenderModel)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(void *linux_side, TextureID_t textureId, winRenderModel_TextureMap_t_1237 ** ppTexture) -{ - RenderModel_TextureMap_t *lin; - vr::EVRRenderModelError _ret; - _ret = ((IVRRenderModels*)linux_side)->LoadTexture_Async((vr::TextureID_t)textureId, ppTexture ? &lin : nullptr); - if(_ret == 0) - *ppTexture = struct_RenderModel_TextureMap_t_1237_wrap(lin); - return _ret; -} - -void cppIVRRenderModels_IVRRenderModels_006_FreeTexture(void *linux_side, winRenderModel_TextureMap_t_1237 * pTexture) -{ - ((IVRRenderModels*)linux_side)->FreeTexture(struct_RenderModel_TextureMap_t_1237_unwrap(pTexture)); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(void *linux_side, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - return ((IVRRenderModels*)linux_side)->LoadTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pD3D11Device, (void **)ppD3D11Texture2D); -} - -vr::EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *linux_side, TextureID_t textureId, void * pDstTexture) -{ - return ((IVRRenderModels*)linux_side)->LoadIntoTextureD3D11_Async((vr::TextureID_t)textureId, (void *)pDstTexture); -} - -void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(void *linux_side, void * pD3D11Texture2D) -{ - ((IVRRenderModels*)linux_side)->FreeTextureD3D11((void *)pD3D11Texture2D); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(void *linux_side, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelName((uint32_t)unRenderModelIndex, (char *)pchRenderModelName, (uint32_t)unRenderModelNameLen); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(void *linux_side) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelCount(); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(void *linux_side, const char * pchRenderModelName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentCount((const char *)pchRenderModelName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentName(void *linux_side, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentName((const char *)pchRenderModelName, (uint32_t)unComponentIndex, (char *)pchComponentName, (uint32_t)unComponentNameLen); -} - -uint64_t cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->GetComponentButtonMask((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - return ((IVRRenderModels*)linux_side)->GetComponentRenderModelName((const char *)pchRenderModelName, (const char *)pchComponentName, (char *)pchComponentRenderModelName, (uint32_t)unComponentRenderModelNameLen); -} - -bool cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - return ((IVRRenderModels*)linux_side)->GetComponentStateForDevicePath((const char *)pchRenderModelName, (const char *)pchComponentName, (vr::VRInputValueHandle_t)devicePath, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); -} - -bool cppIVRRenderModels_IVRRenderModels_006_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1237_win_to_lin(pControllerState, &lin); - _ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState); - return _ret; -} - -bool cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(void *linux_side, const char * pchRenderModelName, const char * pchComponentName) -{ - return ((IVRRenderModels*)linux_side)->RenderModelHasComponent((const char *)pchRenderModelName, (const char *)pchComponentName); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(void *linux_side, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelThumbnailURL((const char *)pchRenderModelName, (char *)pchThumbnailURL, (uint32_t)unThumbnailURLLen, (vr::EVRRenderModelError *)peError); -} - -uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(void *linux_side, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelOriginalPath((const char *)pchRenderModelName, (char *)pchOriginalPath, (uint32_t)unOriginalPathLen, (vr::EVRRenderModelError *)peError); -} - -const char * cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *linux_side, EVRRenderModelError error) -{ - return ((IVRRenderModels*)linux_side)->GetRenderModelErrorNameFromEnum((vr::EVRRenderModelError)error); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h b/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h deleted file mode 100644 index 440a11c8c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRRenderModels_IVRRenderModels_006.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(void *, const char *, winRenderModel_t_1237 **); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(void *, winRenderModel_t_1237 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(void *, TextureID_t, winRenderModel_TextureMap_t_1237 **); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeTexture(void *, winRenderModel_TextureMap_t_1237 *); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(void *, TextureID_t, void *, void **); -extern EVRRenderModelError cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(void *, TextureID_t, void *); -extern void cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(void *, void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(void *, uint32_t, char *, uint32_t); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(void *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(void *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentName(void *, const char *, uint32_t, char *, uint32_t); -extern uint64_t cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(void *, const char *, const char *, char *, uint32_t); -extern bool cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(void *, const char *, const char *, VRInputValueHandle_t, RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_006_GetComponentState(void *, const char *, const char *, VRControllerState_t *, RenderModel_ControllerMode_State_t *, RenderModel_ComponentState_t *); -extern bool cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(void *, const char *, const char *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern uint32_t cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(void *, const char *, char *, uint32_t, EVRRenderModelError *); -extern const char * cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(void *, EVRRenderModelError); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp deleted file mode 100644 index c06b4e58e..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRResources_IVRResources_001.h" -#ifdef __cplusplus -extern "C" { -#endif -uint32_t cppIVRResources_IVRResources_001_LoadSharedResource(void *linux_side, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) -{ - return ((IVRResources*)linux_side)->LoadSharedResource((const char *)pchResourceName, (char *)pchBuffer, (uint32_t)unBufferLen); -} - -uint32_t cppIVRResources_IVRResources_001_GetResourceFullPath(void *linux_side, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) -{ - return ((IVRResources*)linux_side)->GetResourceFullPath((const char *)pchResourceName, (const char *)pchResourceTypeDirectory, (char *)pchPathBuffer, (uint32_t)unBufferLen); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h b/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h deleted file mode 100644 index e5945ef5d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRResources_IVRResources_001.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern uint32_t cppIVRResources_IVRResources_001_LoadSharedResource(void *, const char *, char *, uint32_t); -extern uint32_t cppIVRResources_IVRResources_001_GetResourceFullPath(void *, const char *, const char *, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp deleted file mode 100644 index c4cd7d887..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.cpp +++ /dev/null @@ -1,49 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRScreenshots_IVRScreenshots_001.h" -#ifdef __cplusplus -extern "C" { -#endif -vr::EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(void *linux_side, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) -{ - return ((IVRScreenshots*)linux_side)->RequestScreenshot((vr::ScreenshotHandle_t *)pOutScreenshotHandle, (vr::EVRScreenshotType)type, (const char *)pchPreviewFilename, (const char *)pchVRFilename); -} - -vr::EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(void *linux_side, EVRScreenshotType * pSupportedTypes, int numTypes) -{ - return ((IVRScreenshots*)linux_side)->HookScreenshot((const vr::EVRScreenshotType *)pSupportedTypes, (int)numTypes); -} - -vr::EVRScreenshotType cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) -{ - return ((IVRScreenshots*)linux_side)->GetScreenshotPropertyType((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotError *)pError); -} - -uint32_t cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) -{ - return ((IVRScreenshots*)linux_side)->GetScreenshotPropertyFilename((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotPropertyFilenames)filenameType, (char *)pchFilename, (uint32_t)cchFilename, (vr::EVRScreenshotError *)pError); -} - -vr::EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(void *linux_side, ScreenshotHandle_t screenshotHandle, float flProgress) -{ - return ((IVRScreenshots*)linux_side)->UpdateScreenshotProgress((vr::ScreenshotHandle_t)screenshotHandle, (float)flProgress); -} - -vr::EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(void *linux_side, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) -{ - return ((IVRScreenshots*)linux_side)->TakeStereoScreenshot((vr::ScreenshotHandle_t *)pOutScreenshotHandle, (const char *)pchPreviewFilename, (const char *)pchVRFilename); -} - -vr::EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(void *linux_side, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) -{ - return ((IVRScreenshots*)linux_side)->SubmitScreenshot((vr::ScreenshotHandle_t)screenshotHandle, (vr::EVRScreenshotType)type, (const char *)pchSourcePreviewFilename, (const char *)pchSourceVRFilename); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h b/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h deleted file mode 100644 index 0cfb54243..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRScreenshots_IVRScreenshots_001.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(void *, ScreenshotHandle_t *, EVRScreenshotType, const char *, const char *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(void *, EVRScreenshotType *, int); -extern EVRScreenshotType cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(void *, ScreenshotHandle_t, EVRScreenshotError *); -extern uint32_t cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(void *, ScreenshotHandle_t, EVRScreenshotPropertyFilenames, char *, uint32_t, EVRScreenshotError *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(void *, ScreenshotHandle_t, float); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(void *, ScreenshotHandle_t *, const char *, const char *); -extern EVRScreenshotError cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(void *, ScreenshotHandle_t, EVRScreenshotType, const char *, const char *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp deleted file mode 100644 index c4da56c25..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSettings_IVRSettings_001.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) -{ - return ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); -} - -bool cppIVRSettings_IVRSettings_001_Sync(void *linux_side, bool bForce, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->Sync((bool)bForce, (vr::EVRSettingsError *)peError); -} - -bool cppIVRSettings_IVRSettings_001_GetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bDefaultValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_SetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); -} - -int32_t cppIVRSettings_IVRSettings_001_GetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nDefaultValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_SetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); -} - -float cppIVRSettings_IVRSettings_001_GetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flDefaultValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_SetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_GetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (const char *)pchDefaultValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_SetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_RemoveSection(void *linux_side, const char * pchSection, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_001_RemoveKeyInSection(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h deleted file mode 100644 index 761ce90b9..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_001.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern bool cppIVRSettings_IVRSettings_001_Sync(void *, bool, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_001_GetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_001_GetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_001_GetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_GetString(void *, const char *, const char *, char *, uint32_t, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_001_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp deleted file mode 100644 index 344b143cb..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSettings_IVRSettings_002.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) -{ - return ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); -} - -bool cppIVRSettings_IVRSettings_002_Sync(void *linux_side, bool bForce, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->Sync((bool)bForce, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_SetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_SetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_SetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_SetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); -} - -bool cppIVRSettings_IVRSettings_002_GetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -int32_t cppIVRSettings_IVRSettings_002_GetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -float cppIVRSettings_IVRSettings_002_GetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_GetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_RemoveSection(void *linux_side, const char * pchSection, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_002_RemoveKeyInSection(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h deleted file mode 100644 index d89e0ea91..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_002.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern bool cppIVRSettings_IVRSettings_002_Sync(void *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_002_GetBool(void *, const char *, const char *, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_002_GetInt32(void *, const char *, const char *, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_002_GetFloat(void *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_GetString(void *, const char *, const char *, char *, uint32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_002_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp deleted file mode 100644 index 1d4b6f75f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSettings_IVRSettings_003.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(void *linux_side, EVRSettingsError eError) -{ - return ((IVRSettings*)linux_side)->GetSettingsErrorNameFromEnum((vr::EVRSettingsError)eError); -} - -void cppIVRSettings_IVRSettings_003_SetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetBool((const char *)pchSection, (const char *)pchSettingsKey, (bool)bValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_SetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetInt32((const char *)pchSection, (const char *)pchSettingsKey, (int32_t)nValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_SetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetFloat((const char *)pchSection, (const char *)pchSettingsKey, (float)flValue, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_SetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->SetString((const char *)pchSection, (const char *)pchSettingsKey, (const char *)pchValue, (vr::EVRSettingsError *)peError); -} - -bool cppIVRSettings_IVRSettings_003_GetBool(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetBool((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -int32_t cppIVRSettings_IVRSettings_003_GetInt32(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetInt32((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -float cppIVRSettings_IVRSettings_003_GetFloat(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - return ((IVRSettings*)linux_side)->GetFloat((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_GetString(void *linux_side, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->GetString((const char *)pchSection, (const char *)pchSettingsKey, (char *)pchValue, (uint32_t)unValueLen, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_RemoveSection(void *linux_side, const char * pchSection, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveSection((const char *)pchSection, (vr::EVRSettingsError *)peError); -} - -void cppIVRSettings_IVRSettings_003_RemoveKeyInSection(void *linux_side, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - ((IVRSettings*)linux_side)->RemoveKeyInSection((const char *)pchSection, (const char *)pchSettingsKey, (vr::EVRSettingsError *)peError); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h b/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h deleted file mode 100644 index 3abf998a2..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSettings_IVRSettings_003.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(void *, EVRSettingsError); -extern void cppIVRSettings_IVRSettings_003_SetBool(void *, const char *, const char *, bool, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetInt32(void *, const char *, const char *, int32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetFloat(void *, const char *, const char *, float, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_SetString(void *, const char *, const char *, const char *, EVRSettingsError *); -extern bool cppIVRSettings_IVRSettings_003_GetBool(void *, const char *, const char *, EVRSettingsError *); -extern int32_t cppIVRSettings_IVRSettings_003_GetInt32(void *, const char *, const char *, EVRSettingsError *); -extern float cppIVRSettings_IVRSettings_003_GetFloat(void *, const char *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_GetString(void *, const char *, const char *, char *, uint32_t, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_RemoveSection(void *, const char *, EVRSettingsError *); -extern void cppIVRSettings_IVRSettings_003_RemoveKeyInSection(void *, const char *, const char *, EVRSettingsError *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp deleted file mode 100644 index a39f85f3c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.cpp +++ /dev/null @@ -1,218 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_003.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_003_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_003_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_003_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_003_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); -} - -bool cppIVRSystem_IVRSystem_003_AttachToWindow(void *linux_side, void * hWnd) -{ - return ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); -} - -void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -bool cppIVRSystem_IVRSystem_003_LoadRenderModel(void *linux_side, const char * pchRenderModelName, winRenderModel_t_091 * pRenderModel) -{ - return ((IVRSystem*)linux_side)->LoadRenderModel((const char *)pchRenderModelName, struct_RenderModel_t_091_unwrap(pRenderModel)); -} - -void cppIVRSystem_IVRSystem_003_FreeRenderModel(void *linux_side, winRenderModel_t_091 * pRenderModel) -{ - ((IVRSystem*)linux_side)->FreeRenderModel(struct_RenderModel_t_091_unwrap(pRenderModel)); -} - -vr::TrackedDeviceClass cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_003_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_003_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_003_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_091_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_091_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_003_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *linux_side, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) -{ - return ((IVRSystem*)linux_side)->HandleControllerOverlayInteractionAsMouse(*overlaySettings, (vr::HmdVector2_t)vecWindowClientPositionOnScreen, (vr::HmdVector2_t)vecWindowClientSize, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (vr::EVRControllerEventOutputType)eOutputType); -} - -bool cppIVRSystem_IVRSystem_003_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_003_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h deleted file mode 100644 index b242f8b4f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_003.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_003_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_003_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_003_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_003_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_003_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern bool cppIVRSystem_IVRSystem_003_LoadRenderModel(void *, const char *, winRenderModel_t_091 *); -extern void cppIVRSystem_IVRSystem_003_FreeRenderModel(void *, winRenderModel_t_091 *); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_003_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_003_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_003_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_091 *); -extern bool cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_091 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_003_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(void *, Compositor_OverlaySettings *, HmdVector2_t, HmdVector2_t, TrackedDeviceIndex_t, EVRControllerEventOutputType); -extern bool cppIVRSystem_IVRSystem_003_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_003_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp deleted file mode 100644 index a3b502e1a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.cpp +++ /dev/null @@ -1,208 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_004.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_004_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_004_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_004_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_004_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); -} - -bool cppIVRSystem_IVRSystem_004_AttachToWindow(void *linux_side, void * hWnd) -{ - return ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); -} - -void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::TrackedDeviceClass cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_004_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_004_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_004_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_092_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_092_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_004_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_004_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_004_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_004_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h deleted file mode 100644 index 776a97820..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_004.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_004_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_004_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_004_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_004_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_004_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_004_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_004_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_004_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_092 *); -extern bool cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_092 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_004_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_004_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_004_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_004_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp deleted file mode 100644 index 3fbc66b3f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.cpp +++ /dev/null @@ -1,213 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_005.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_005_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_005_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_005_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_005_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); -} - -bool cppIVRSystem_IVRSystem_005_AttachToWindow(void *linux_side, void * hWnd) -{ - return ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); -} - -void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::TrackedDeviceClass cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_005_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_005_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_005_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_005_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_005_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_005_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_005_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h deleted file mode 100644 index 15521e105..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_005.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_005_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_005_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_005_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_005_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_005_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(void *, TrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_005_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_005_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_005_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_098 *); -extern bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_098 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_005_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_005_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_005_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_005_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp deleted file mode 100644 index 11ce07b55..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.cpp +++ /dev/null @@ -1,238 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_006.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_006_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(void *linux_side, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetEyeOutputViewport((vr::Hmd_Eye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_006_GetProjectionMatrix(void *linux_side, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::Hmd_Eye)eEye, (float)fNearZ, (float)fFarZ, (vr::GraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_006_GetProjectionRaw(void *linux_side, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::Hmd_Eye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_006_ComputeDistortion(void *linux_side, Hmd_Eye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::Hmd_Eye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex); -} - -bool cppIVRSystem_IVRSystem_006_AttachToWindow(void *linux_side, void * hWnd) -{ - return ((IVRSystem*)linux_side)->AttachToWindow((void *)hWnd); -} - -void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *linux_side, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::TrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::TrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -vr::TrackedDeviceClass cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (vr::TrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::TrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::TrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(void *linux_side, TrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::TrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_006_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_006_PollNextEventWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(void *linux_side, Hmd_Eye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::Hmd_Eye)eEye); -} - -bool cppIVRSystem_IVRSystem_006_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(void *linux_side, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0910_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_0910_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_006_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_006_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_006_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_006_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::VRFirmwareError cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_006_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h deleted file mode 100644 index 53f67e9e7..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_006.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_006_GetWindowBounds(void *, int32_t *, int32_t *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern void cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(void *, Hmd_Eye, uint32_t *, uint32_t *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_006_GetProjectionMatrix(void *, Hmd_Eye, float, float, GraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_006_GetProjectionRaw(void *, Hmd_Eye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_006_ComputeDistortion(void *, Hmd_Eye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo(void *, int32_t *, int32_t *); -extern bool cppIVRSystem_IVRSystem_006_AttachToWindow(void *, void *); -extern void cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(void *, TrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(void *, TrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern TrackedDeviceClass cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, TrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, TrackedDeviceProperty, char *, uint32_t, TrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(void *, TrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_006_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_006_PollNextEventWithPose(void *, TrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(void *, Hmd_Eye); -extern bool cppIVRSystem_IVRSystem_006_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0910 *); -extern bool cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(void *, TrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0910 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_006_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_006_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_006_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_006_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern VRFirmwareError cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_006_SetDisplayVisibility(void *, bool); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp deleted file mode 100644 index ceac4ee03..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.cpp +++ /dev/null @@ -1,238 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_009.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_009_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_009_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_009_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_009_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_009_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_009_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_009_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_009_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0912_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_0912_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_009_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_009_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_009_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_009_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h deleted file mode 100644 index 7b10ad19a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_009.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_009_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_009_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_009_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_009_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_009_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_009_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_009_PollNextEventWithPose(void *, ETrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_009_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0912 *); -extern bool cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0912 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_009_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_009_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_009_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_009_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp deleted file mode 100644 index 085406e01..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.cpp +++ /dev/null @@ -1,258 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_010.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_010_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_010_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_010_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_010_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_010_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_010_PollNextEvent(void *linux_side, VREvent_t * pEvent) -{ - return ((IVRSystem*)linux_side)->PollNextEvent((vr::VREvent_t *)pEvent); -} - -bool cppIVRSystem_IVRSystem_010_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - return ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::VREvent_t *)pEvent, (vr::TrackedDevicePose_t *)pTrackedDevicePose); -} - -const char * cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_010_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0914_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_0914_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_010_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_010_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_010_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_010_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(void *linux_side, bool bEnable) -{ - ((IVRSystem*)linux_side)->PerformanceTestEnableCapture((bool)bEnable); -} - -void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *linux_side, int nFidelityLevel) -{ - ((IVRSystem*)linux_side)->PerformanceTestReportFidelityLevelChange((int)nFidelityLevel); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h deleted file mode 100644 index b8066c1cf..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_010.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_010_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_010_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_010_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_010_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_010_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_010_PollNextEvent(void *, VREvent_t *); -extern bool cppIVRSystem_IVRSystem_010_PollNextEventWithPose(void *, ETrackingUniverseOrigin, VREvent_t *, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_010_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0914 *); -extern bool cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0914 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_010_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_010_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_010_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_010_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(void *); -extern void cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(void *, bool); -extern void cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(void *, int); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp deleted file mode 100644 index f57c53b2b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.cpp +++ /dev/null @@ -1,272 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_011.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_011_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_011_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_011_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_011_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_011_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_011_PollNextEvent(void *linux_side, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_011_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_0918_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_0918_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_011_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_0918_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_0918_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_011_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_011_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_011_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_011_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(void *linux_side, bool bEnable) -{ - ((IVRSystem*)linux_side)->PerformanceTestEnableCapture((bool)bEnable); -} - -void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *linux_side, int nFidelityLevel) -{ - ((IVRSystem*)linux_side)->PerformanceTestReportFidelityLevelChange((int)nFidelityLevel); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h deleted file mode 100644 index 4f380c512..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_011.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_011_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_011_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_011_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_011_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_011_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_011_PollNextEvent(void *, winVREvent_t_0918 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_011_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_0918 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_011_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_0918 *); -extern bool cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_0918 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_011_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_011_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_011_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_011_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(void *); -extern void cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(void *, bool); -extern void cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(void *, int); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp deleted file mode 100644 index 8f1024057..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.cpp +++ /dev/null @@ -1,262 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_012.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_012_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_012_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -vr::DistortionCoordinates_t cppIVRSystem_IVRSystem_012_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_012_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_012_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_012_PollNextEvent(void *linux_side, winVREvent_t_103 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_103_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_103_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_012_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_103_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_103_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_012_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr); - if(pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -bool cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_103_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_103_lin_to_win(&lin, pControllerState, -1); - return _ret; -} - -void cppIVRSystem_IVRSystem_012_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_012_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_012_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_012_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h deleted file mode 100644 index f833e061a..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_012.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_012_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_012_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern DistortionCoordinates_t cppIVRSystem_IVRSystem_012_ComputeDistortion(void *, EVREye, float, float); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_012_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_012_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_012_PollNextEvent(void *, winVREvent_t_103 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_012_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_103 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_012_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_103 *); -extern bool cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_103 *, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_012_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_012_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_012_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_012_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp deleted file mode 100644 index b144a2d4c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.cpp +++ /dev/null @@ -1,262 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_014.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_014_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ, (vr::EGraphicsAPIConvention)eProjType); -} - -void cppIVRSystem_IVRSystem_014_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_014_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_014_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_014_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_014_PollNextEvent(void *linux_side, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_014_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_104_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_104_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_014_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_104_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_104_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_014_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_014_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_014_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_014_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h deleted file mode 100644 index 0d207a3db..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_014.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_014_GetProjectionMatrix(void *, EVREye, float, float, EGraphicsAPIConvention); -extern void cppIVRSystem_IVRSystem_014_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_014_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_014_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_014_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_014_PollNextEvent(void *, winVREvent_t_104 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_014_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_104 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_014_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_104 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_104 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_014_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_014_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_014_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_014_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp deleted file mode 100644 index f9ef4168b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp +++ /dev/null @@ -1,262 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_015.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_015_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_015_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_015_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -bool cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_015_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_015_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_015_PollNextEvent(void *linux_side, winVREvent_t_107 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_107_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_107_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_015_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_107_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_107_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_015_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_107_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_107_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_015_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_015_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_015_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_015_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h deleted file mode 100644 index f42a0fd80..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_015_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_015_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_015_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo(void *, int32_t *); -extern bool cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_015_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_015_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_015_PollNextEvent(void *, winVREvent_t_107 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_015_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_107 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_015_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_107 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_107 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_015_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_015_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_015_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_015_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp deleted file mode 100644 index b7e2c57ef..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.cpp +++ /dev/null @@ -1,267 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_016.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_016_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_016_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_016_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_016_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType); -} - -bool cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_016_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_016_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_016_PollNextEvent(void *linux_side, winVREvent_t_109 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_109_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_109_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_016_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_109_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_109_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_016_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_109_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_109_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_016_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_016_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_016_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_016_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h deleted file mode 100644 index 0ecc16be2..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_016.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_016_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_016_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_016_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_016_GetOutputDevice(void *, uint64_t *, ETextureType); -extern bool cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_016_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_016_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_016_PollNextEvent(void *, winVREvent_t_109 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_016_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_109 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_016_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_109 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_109 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_016_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_016_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_016_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_016_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp deleted file mode 100644 index 88c3b689c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.cpp +++ /dev/null @@ -1,267 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_017.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_017_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_017_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_017_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_017_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); -} - -bool cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_017_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_017_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_017_PollNextEvent(void *linux_side, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_017_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1011_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_1011_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_017_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1011_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_1011_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_017_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_017_CaptureInputFocus(void *linux_side) -{ - return ((IVRSystem*)linux_side)->CaptureInputFocus(); -} - -void cppIVRSystem_IVRSystem_017_ReleaseInputFocus(void *linux_side) -{ - ((IVRSystem*)linux_side)->ReleaseInputFocus(); -} - -bool cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputFocusCapturedByAnotherProcess(); -} - -uint32_t cppIVRSystem_IVRSystem_017_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h deleted file mode 100644 index 9adbf1794..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_017.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_017_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_017_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_017_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_017_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_017_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_017_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_017_PollNextEvent(void *, winVREvent_t_1011 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_017_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1011 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_017_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1011 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1011 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_017_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_017_CaptureInputFocus(void *); -extern void cppIVRSystem_IVRSystem_017_ReleaseInputFocus(void *); -extern bool cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(void *); -extern uint32_t cppIVRSystem_IVRSystem_017_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp deleted file mode 100644 index de0bebfe8..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.cpp +++ /dev/null @@ -1,277 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_019.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_019_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_019_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_019_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_019_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); -} - -bool cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_019_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_019_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_019_PollNextEvent(void *linux_side, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1418_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1418_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_019_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1418_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_1418_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_019_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1418_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_1418_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_019_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_019_IsInputAvailable(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputAvailable(); -} - -bool cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); -} - -bool cppIVRSystem_IVRSystem_019_ShouldApplicationPause(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationPause(); -} - -bool cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); -} - -uint32_t cppIVRSystem_IVRSystem_019_DriverDebugRequest(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - return ((IVRSystem*)linux_side)->DriverDebugRequest((vr::TrackedDeviceIndex_t)unDeviceIndex, (const char *)pchRequest, (char *)pchResponseBuffer, (uint32_t)unResponseBufferSize); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h deleted file mode 100644 index dfc846e11..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_019.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_019_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_019_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_019_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_019_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_019_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_019_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_019_PollNextEvent(void *, winVREvent_t_1418 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_019_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1418 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_019_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1418 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1418 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_019_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_019_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_019_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(void *); -extern uint32_t cppIVRSystem_IVRSystem_019_DriverDebugRequest(void *, TrackedDeviceIndex_t, const char *, char *, uint32_t); -extern EVRFirmwareError cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp deleted file mode 100644 index 9d059c0aa..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.cpp +++ /dev/null @@ -1,282 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_020.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_020_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_020_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_020_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_020_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); -} - -bool cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_020_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_020_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_020_PollNextEvent(void *linux_side, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1715_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_020_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1715_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_1715_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_020_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1715_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_1715_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1715_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_1715_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_020_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_020_IsInputAvailable(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputAvailable(); -} - -bool cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); -} - -bool cppIVRSystem_IVRSystem_020_ShouldApplicationPause(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationPause(); -} - -bool cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_UserPrompt(); -} - -uint32_t cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); -} - -const char * cppIVRSystem_IVRSystem_020_GetRuntimeVersion(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRuntimeVersion(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h deleted file mode 100644 index d74cacb53..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_020.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_020_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_020_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_020_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_020_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_020_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_020_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_020_PollNextEvent(void *, winVREvent_t_1715 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_020_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1715 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_020_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1715 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1715 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_020_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_020_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_020_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(void *); -extern void cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(void *); -extern uint32_t cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_020_GetRuntimeVersion(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp deleted file mode 100644 index f9be20443..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.cpp +++ /dev/null @@ -1,277 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_021.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_021_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_021_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_021_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_021_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); -} - -bool cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_021_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(void *linux_side) -{ - ((IVRSystem*)linux_side)->ResetSeatedZeroPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_021_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_021_PollNextEvent(void *linux_side, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1125_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1125_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_021_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1125_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_1125_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_021_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1125_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_1125_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1125_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_1125_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_021_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_021_IsInputAvailable(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputAvailable(); -} - -bool cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); -} - -bool cppIVRSystem_IVRSystem_021_ShouldApplicationPause(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationPause(); -} - -bool cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -uint32_t cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); -} - -const char * cppIVRSystem_IVRSystem_021_GetRuntimeVersion(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRuntimeVersion(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h deleted file mode 100644 index 60f3be790..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_021.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_021_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_021_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_021_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_021_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_021_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern void cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_021_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_021_PollNextEvent(void *, winVREvent_t_1125 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_021_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1125 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_021_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1125 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1125 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_021_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_021_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_021_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(void *); -extern uint32_t cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_021_GetRuntimeVersion(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp deleted file mode 100644 index 394539fc0..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.cpp +++ /dev/null @@ -1,272 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRSystem_IVRSystem_022.h" -#ifdef __cplusplus -extern "C" { -#endif -void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(void *linux_side, uint32_t * pnWidth, uint32_t * pnHeight) -{ - ((IVRSystem*)linux_side)->GetRecommendedRenderTargetSize((uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::HmdMatrix44_t cppIVRSystem_IVRSystem_022_GetProjectionMatrix(void *linux_side, EVREye eEye, float fNearZ, float fFarZ) -{ - return ((IVRSystem*)linux_side)->GetProjectionMatrix((vr::EVREye)eEye, (float)fNearZ, (float)fFarZ); -} - -void cppIVRSystem_IVRSystem_022_GetProjectionRaw(void *linux_side, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - ((IVRSystem*)linux_side)->GetProjectionRaw((vr::EVREye)eEye, (float *)pfLeft, (float *)pfRight, (float *)pfTop, (float *)pfBottom); -} - -bool cppIVRSystem_IVRSystem_022_ComputeDistortion(void *linux_side, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - return ((IVRSystem*)linux_side)->ComputeDistortion((vr::EVREye)eEye, (float)fU, (float)fV, (vr::DistortionCoordinates_t *)pDistortionCoordinates); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(void *linux_side, EVREye eEye) -{ - return ((IVRSystem*)linux_side)->GetEyeToHeadTransform((vr::EVREye)eEye); -} - -bool cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(void *linux_side, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - return ((IVRSystem*)linux_side)->GetTimeSinceLastVsync((float *)pfSecondsSinceLastVsync, (uint64_t *)pulFrameCounter); -} - -int32_t cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetD3D9AdapterIndex(); -} - -void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex) -{ - ((IVRSystem*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex); -} - -void cppIVRSystem_IVRSystem_022_GetOutputDevice(void *linux_side, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - ((IVRSystem*)linux_side)->GetOutputDevice((uint64_t *)pnDevice, (vr::ETextureType)textureType, (VkInstance_T *)pInstance); -} - -bool cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsDisplayOnDesktop(); -} - -bool cppIVRSystem_IVRSystem_022_SetDisplayVisibility(void *linux_side, bool bIsVisibleOnDesktop) -{ - return ((IVRSystem*)linux_side)->SetDisplayVisibility((bool)bIsVisibleOnDesktop); -} - -void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *linux_side, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - ((IVRSystem*)linux_side)->GetDeviceToAbsoluteTrackingPose((vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsToPhotonsFromNow, (vr::TrackedDevicePose_t *)pTrackedDevicePoseArray, (uint32_t)unTrackedDevicePoseArrayCount); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetSeatedZeroPoseToStandingAbsoluteTrackingPose(); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRawZeroPoseToStandingAbsoluteTrackingPose(); -} - -uint32_t cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *linux_side, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetSortedTrackedDeviceIndicesOfClass((vr::ETrackedDeviceClass)eTrackedDeviceClass, (vr::TrackedDeviceIndex_t *)punTrackedDeviceIndexArray, (uint32_t)unTrackedDeviceIndexArrayCount, (vr::TrackedDeviceIndex_t)unRelativeToTrackedDeviceIndex); -} - -vr::EDeviceActivityLevel cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(void *linux_side, TrackedDeviceIndex_t unDeviceId) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceActivityLevel((vr::TrackedDeviceIndex_t)unDeviceId); -} - -void cppIVRSystem_IVRSystem_022_ApplyTransform(void *linux_side, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - ((IVRSystem*)linux_side)->ApplyTransform((vr::TrackedDevicePose_t *)pOutputPose, (const vr::TrackedDevicePose_t *)pTrackedDevicePose, (const vr::HmdMatrix34_t *)pTransform); -} - -vr::TrackedDeviceIndex_t cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *linux_side, ETrackedControllerRole unDeviceType) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceIndexForControllerRole((vr::ETrackedControllerRole)unDeviceType); -} - -vr::ETrackedControllerRole cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetControllerRoleForTrackedDeviceIndex((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -vr::ETrackedDeviceClass cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->GetTrackedDeviceClass((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->IsTrackedDeviceConnected((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -bool cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetBoolTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -float cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetFloatTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -int32_t cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetInt32TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint64_t cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetUint64TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -vr::HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetMatrix34TrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetArrayTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (vr::PropertyTypeTag_t)propType, (void *)pBuffer, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -uint32_t cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(void *linux_side, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - return ((IVRSystem*)linux_side)->GetStringTrackedDeviceProperty((vr::TrackedDeviceIndex_t)unDeviceIndex, (vr::ETrackedDeviceProperty)prop, (char *)pchValue, (uint32_t)unBufferSize, (vr::ETrackedPropertyError *)pError); -} - -const char * cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(void *linux_side, ETrackedPropertyError error) -{ - return ((IVRSystem*)linux_side)->GetPropErrorNameFromEnum((vr::ETrackedPropertyError)error); -} - -bool cppIVRSystem_IVRSystem_022_PollNextEvent(void *linux_side, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1237_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEvent(pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0); - if(pEvent) - struct_VREvent_t_1237_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -bool cppIVRSystem_IVRSystem_022_PollNextEventWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - VREvent_t lin; - bool _ret; - if(pEvent) - struct_VREvent_t_1237_win_to_lin(pEvent, &lin); - _ret = ((IVRSystem*)linux_side)->PollNextEventWithPose((vr::ETrackingUniverseOrigin)eOrigin, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pEvent) - struct_VREvent_t_1237_lin_to_win(&lin, pEvent, uncbVREvent); - return _ret; -} - -const char * cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(void *linux_side, EVREventType eType) -{ - return ((IVRSystem*)linux_side)->GetEventTypeNameFromEnum((vr::EVREventType)eType); -} - -vr::HiddenAreaMesh_t cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(void *linux_side, EVREye eEye, EHiddenAreaMeshType type) -{ - return ((IVRSystem*)linux_side)->GetHiddenAreaMesh((vr::EVREye)eEye, (vr::EHiddenAreaMeshType)type); -} - -bool cppIVRSystem_IVRSystem_022_GetControllerState(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1237 * pControllerState, uint32_t unControllerStateSize) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1237_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0); - if(pControllerState) - struct_VRControllerState001_t_1237_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -bool cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(void *linux_side, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1237 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - VRControllerState001_t lin; - bool _ret; - if(pControllerState) - struct_VRControllerState001_t_1237_win_to_lin(pControllerState, &lin); - _ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::ETrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, unControllerStateSize ? sizeof(lin) : 0, (vr::TrackedDevicePose_t *)pTrackedDevicePose); - if(pControllerState) - struct_VRControllerState001_t_1237_lin_to_win(&lin, pControllerState, unControllerStateSize); - return _ret; -} - -void cppIVRSystem_IVRSystem_022_TriggerHapticPulse(void *linux_side, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - ((IVRSystem*)linux_side)->TriggerHapticPulse((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, (uint32_t)unAxisId, (unsigned short)usDurationMicroSec); -} - -const char * cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(void *linux_side, EVRButtonId eButtonId) -{ - return ((IVRSystem*)linux_side)->GetButtonIdNameFromEnum((vr::EVRButtonId)eButtonId); -} - -const char * cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *linux_side, EVRControllerAxisType eAxisType) -{ - return ((IVRSystem*)linux_side)->GetControllerAxisTypeNameFromEnum((vr::EVRControllerAxisType)eAxisType); -} - -bool cppIVRSystem_IVRSystem_022_IsInputAvailable(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsInputAvailable(); -} - -bool cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(void *linux_side) -{ - return ((IVRSystem*)linux_side)->IsSteamVRDrawingControllers(); -} - -bool cppIVRSystem_IVRSystem_022_ShouldApplicationPause(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationPause(); -} - -bool cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(void *linux_side) -{ - return ((IVRSystem*)linux_side)->ShouldApplicationReduceRenderingWork(); -} - -vr::EVRFirmwareError cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(void *linux_side, TrackedDeviceIndex_t unDeviceIndex) -{ - return ((IVRSystem*)linux_side)->PerformFirmwareUpdate((vr::TrackedDeviceIndex_t)unDeviceIndex); -} - -void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(void *linux_side) -{ - ((IVRSystem*)linux_side)->AcknowledgeQuit_Exiting(); -} - -uint32_t cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(void *linux_side, char * pchBuffer, uint32_t unBufferSize) -{ - return ((IVRSystem*)linux_side)->GetAppContainerFilePaths((char *)pchBuffer, (uint32_t)unBufferSize); -} - -const char * cppIVRSystem_IVRSystem_022_GetRuntimeVersion(void *linux_side) -{ - return ((IVRSystem*)linux_side)->GetRuntimeVersion(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h b/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h deleted file mode 100644 index 0a8f368f6..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_022.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern void cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(void *, uint32_t *, uint32_t *); -extern HmdMatrix44_t cppIVRSystem_IVRSystem_022_GetProjectionMatrix(void *, EVREye, float, float); -extern void cppIVRSystem_IVRSystem_022_GetProjectionRaw(void *, EVREye, float *, float *, float *, float *); -extern bool cppIVRSystem_IVRSystem_022_ComputeDistortion(void *, EVREye, float, float, DistortionCoordinates_t *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(void *, EVREye); -extern bool cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(void *, float *, uint64_t *); -extern int32_t cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(void *); -extern void cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo(void *, int32_t *); -extern void cppIVRSystem_IVRSystem_022_GetOutputDevice(void *, uint64_t *, ETextureType, VkInstance_T *); -extern bool cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(void *); -extern bool cppIVRSystem_IVRSystem_022_SetDisplayVisibility(void *, bool); -extern void cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(void *, ETrackingUniverseOrigin, float, TrackedDevicePose_t *, uint32_t); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(void *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(void *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(void *, ETrackedDeviceClass, TrackedDeviceIndex_t *, uint32_t, TrackedDeviceIndex_t); -extern EDeviceActivityLevel cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_022_ApplyTransform(void *, TrackedDevicePose_t *, TrackedDevicePose_t *, HmdMatrix34_t *); -extern TrackedDeviceIndex_t cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(void *, ETrackedControllerRole); -extern ETrackedControllerRole cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(void *, TrackedDeviceIndex_t); -extern ETrackedDeviceClass cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(void *, TrackedDeviceIndex_t); -extern bool cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern float cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern int32_t cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint64_t cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern HmdMatrix34_t cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, PropertyTypeTag_t, void *, uint32_t, ETrackedPropertyError *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(void *, TrackedDeviceIndex_t, ETrackedDeviceProperty, char *, uint32_t, ETrackedPropertyError *); -extern const char * cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(void *, ETrackedPropertyError); -extern bool cppIVRSystem_IVRSystem_022_PollNextEvent(void *, winVREvent_t_1237 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_022_PollNextEventWithPose(void *, ETrackingUniverseOrigin, winVREvent_t_1237 *, uint32_t, TrackedDevicePose_t *); -extern const char * cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(void *, EVREventType); -extern HiddenAreaMesh_t cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(void *, EVREye, EHiddenAreaMeshType); -extern bool cppIVRSystem_IVRSystem_022_GetControllerState(void *, TrackedDeviceIndex_t, winVRControllerState001_t_1237 *, uint32_t); -extern bool cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(void *, ETrackingUniverseOrigin, TrackedDeviceIndex_t, winVRControllerState001_t_1237 *, uint32_t, TrackedDevicePose_t *); -extern void cppIVRSystem_IVRSystem_022_TriggerHapticPulse(void *, TrackedDeviceIndex_t, uint32_t, unsigned short); -extern const char * cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(void *, EVRButtonId); -extern const char * cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(void *, EVRControllerAxisType); -extern bool cppIVRSystem_IVRSystem_022_IsInputAvailable(void *); -extern bool cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(void *); -extern bool cppIVRSystem_IVRSystem_022_ShouldApplicationPause(void *); -extern bool cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(void *); -extern EVRFirmwareError cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(void *, TrackedDeviceIndex_t); -extern void cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(void *); -extern uint32_t cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(void *, char *, uint32_t); -extern const char * cppIVRSystem_IVRSystem_022_GetRuntimeVersion(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp deleted file mode 100644 index 41a649d5d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.cpp +++ /dev/null @@ -1,109 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_001.h" -#ifdef __cplusplus -extern "C" { -#endif -bool cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, char * pBuffer, uint32_t nBufferLen) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFirmwareDescription((vr::TrackedDeviceIndex_t)nDeviceIndex, (char *)pBuffer, (uint32_t)nBufferLen); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t * pWidth, uint32_t * pHeight) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameDimensions((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::ECameraVideoStreamFormat)nVideoStreamFormat, (uint32_t *)pWidth, (uint32_t *)pHeight); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) -{ - return ((IVRTrackedCamera*)linux_side)->SetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::ECameraVideoStreamFormat)nVideoStreamFormat); -} - -vr::ECameraVideoStreamFormat cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraVideoStreamFormat((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - return ((IVRTrackedCamera*)linux_side)->EnableCameraForStreaming((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool)bEnable); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->StartVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->StopVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->IsVideoStreamActive((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -float cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamElapsedTime((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -const vr::CameraVideoStreamFrame_t * cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrame((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, CameraVideoStreamFrame_t * pFrameImage) -{ - CameraVideoStreamFrame_t lin; - bool _ret; - if(pFrameImage) - struct_CameraVideoStreamFrame_t_0914_win_to_lin(pFrameImage, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamFrame((vr::TrackedDeviceIndex_t)nDeviceIndex, pFrameImage ? &lin : nullptr); - return _ret; -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - return ((IVRTrackedCamera*)linux_side)->SetAutoExposure((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool)bEnable); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->PauseVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->ResumeVideoStream((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(void *linux_side, TrackedDeviceIndex_t nDeviceIndex) -{ - return ((IVRTrackedCamera*)linux_side)->IsVideoStreamPaused((vr::TrackedDeviceIndex_t)nDeviceIndex); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float * pflOutputU, float * pflOutputV) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraDistortion((vr::TrackedDeviceIndex_t)nDeviceIndex, (float)flInputU, (float)flInputV, (float *)pflOutputU, (float *)pflOutputV); -} - -bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (float)flWidthPixels, (float)flHeightPixels, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h deleted file mode 100644 index 83d7a1916..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_001.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(void *, TrackedDeviceIndex_t, char *, uint32_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(void *, TrackedDeviceIndex_t, ECameraVideoStreamFormat, uint32_t *, uint32_t *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(void *, TrackedDeviceIndex_t, ECameraVideoStreamFormat); -extern ECameraVideoStreamFormat cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(void *, TrackedDeviceIndex_t, bool); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(void *, TrackedDeviceIndex_t); -extern float cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(void *, TrackedDeviceIndex_t); -extern const CameraVideoStreamFrame_t * cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(void *, TrackedDeviceIndex_t, CameraVideoStreamFrame_t *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(void *, TrackedDeviceIndex_t, bool); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(void *, TrackedDeviceIndex_t); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(void *, TrackedDeviceIndex_t, float, float, float *, float *); -extern bool cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(void *, TrackedDeviceIndex_t, float, float, float, float, HmdMatrix44_t *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp deleted file mode 100644 index ec024795f..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.cpp +++ /dev/null @@ -1,54 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_002.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraIntrinisics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - return ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h deleted file mode 100644 index a2d99489d..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_002.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp deleted file mode 100644 index d07f57db0..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.cpp +++ /dev/null @@ -1,74 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.16/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_003.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - return ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, (vr::CameraVideoStreamFrameHeader_t *)pFrameHeader, (uint32_t)nFrameHeaderSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h deleted file mode 100644 index 14a1a7b0c..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_003.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, CameraVideoStreamFrameHeader_t *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp deleted file mode 100644 index 48e7dd813..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_004.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - return ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h deleted file mode 100644 index e82fa9922..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_004.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1017 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp deleted file mode 100644 index 2c8d9a08b..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.cpp +++ /dev/null @@ -1,95 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_005.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - return ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h deleted file mode 100644 index 35e67c4ce..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_005.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1610 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp deleted file mode 100644 index 111569420..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.cpp +++ /dev/null @@ -1,105 +0,0 @@ -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/ivrclientcore.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -} -#include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" -#ifdef __cplusplus -extern "C" { -#endif -const char * cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *linux_side, EVRTrackedCameraError eCameraError) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraErrorNameFromEnum((vr::EVRTrackedCameraError)eCameraError); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - return ((IVRTrackedCamera*)linux_side)->HasCamera((vr::TrackedDeviceIndex_t)nDeviceIndex, (bool *)pHasCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraFrameSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (uint32_t *)pnWidth, (uint32_t *)pnHeight, (uint32_t *)pnFrameBufferSize); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraIntrinsics((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::HmdVector2_t *)pFocalLength, (vr::HmdVector2_t *)pCenter); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraProjection((vr::TrackedDeviceIndex_t)nDeviceIndex, (uint32_t)nCameraIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (float)flZNear, (float)flZFar, (vr::HmdMatrix44_t *)pProjection); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - return ((IVRTrackedCamera*)linux_side)->AcquireVideoStreamingService((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::TrackedCameraHandle_t *)pHandle); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(void *linux_side, TrackedCameraHandle_t hTrackedCamera) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamingService((vr::TrackedCameraHandle_t)hTrackedCamera); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamFrameBuffer((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pFrameBuffer, (uint32_t)nFrameBufferSize, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(void *linux_side, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - return ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureSize((vr::TrackedDeviceIndex_t)nDeviceIndex, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::VRTextureBounds_t *)pTextureBounds, (uint32_t *)pnWidth, (uint32_t *)pnHeight); -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureD3D11((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (void *)pD3D11DeviceOrResource, (void **)ppD3D11ShaderResourceView, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - CameraVideoStreamFrameHeader_t lin; - vr::EVRTrackedCameraError _ret; - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(pFrameHeader, &lin); - _ret = ((IVRTrackedCamera*)linux_side)->GetVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::EVRTrackedCameraFrameType)eFrameType, (vr::glUInt_t *)pglTextureId, pFrameHeader ? &lin : nullptr, nFrameHeaderSize ? sizeof(lin) : 0); - if(pFrameHeader) - struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(&lin, pFrameHeader, nFrameHeaderSize); - return _ret; -} - -vr::EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *linux_side, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - return ((IVRTrackedCamera*)linux_side)->ReleaseVideoStreamTextureGL((vr::TrackedCameraHandle_t)hTrackedCamera, (vr::glUInt_t)glTextureId); -} - -void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(void *linux_side, ETrackingUniverseOrigin eUniverse) -{ - ((IVRTrackedCamera*)linux_side)->SetCameraTrackingSpace((vr::ETrackingUniverseOrigin)eUniverse); -} - -vr::ETrackingUniverseOrigin cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(void *linux_side) -{ - return ((IVRTrackedCamera*)linux_side)->GetCameraTrackingSpace(); -} - -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h b/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h deleted file mode 100644 index 718f96ee2..000000000 --- a/vrclient_x64/vrclient_x64/cppIVRTrackedCamera_IVRTrackedCamera_006.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -extern const char * cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(void *, EVRTrackedCameraError); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(void *, TrackedDeviceIndex_t, bool *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, uint32_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, HmdVector2_t *, HmdVector2_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(void *, TrackedDeviceIndex_t, uint32_t, EVRTrackedCameraFrameType, float, float, HmdMatrix44_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(void *, TrackedDeviceIndex_t, TrackedCameraHandle_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(void *, TrackedCameraHandle_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, uint32_t, winCameraVideoStreamFrameHeader_t_1237 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(void *, TrackedDeviceIndex_t, EVRTrackedCameraFrameType, VRTextureBounds_t *, uint32_t *, uint32_t *); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, void *, void **, winCameraVideoStreamFrameHeader_t_1237 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(void *, TrackedCameraHandle_t, EVRTrackedCameraFrameType, glUInt_t *, winCameraVideoStreamFrameHeader_t_1237 *, uint32_t); -extern EVRTrackedCameraError cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(void *, TrackedCameraHandle_t, glUInt_t); -extern void cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(void *, ETrackingUniverseOrigin); -extern ETrackingUniverseOrigin cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(void *); -#ifdef __cplusplus -} -#endif diff --git a/vrclient_x64/vrclient_x64/struct_converters.h b/vrclient_x64/vrclient_x64/struct_converters.h deleted file mode 100644 index dfc978746..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters.h +++ /dev/null @@ -1,1173 +0,0 @@ -typedef struct winVRVulkanTextureArrayData_t_1237 winVRVulkanTextureArrayData_t_1237; -extern void struct_VRVulkanTextureArrayData_t_1237_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1237_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1237 winVREvent_t_1237; -extern void struct_VREvent_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1237_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1237 winVRControllerState001_t_1237; -extern void struct_VRControllerState001_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1237_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1237 winCameraVideoStreamFrameHeader_t_1237; -extern void struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1237 winRenderModel_TextureMap_t_1237; -extern void struct_RenderModel_TextureMap_t_1237_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1237_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1237 *struct_RenderModel_TextureMap_t_1237_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1237_unwrap(winRenderModel_TextureMap_t_1237 *w); -typedef struct winRenderModel_t_1237 winRenderModel_t_1237; -extern void struct_RenderModel_t_1237_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1237_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1237 *struct_RenderModel_t_1237_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1237_unwrap(winRenderModel_t_1237 *w); -typedef struct winInputAnalogActionData_t_1237 winInputAnalogActionData_t_1237; -extern void struct_InputAnalogActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1237_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1237 winInputDigitalActionData_t_1237; -extern void struct_InputDigitalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1237_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1237 winInputPoseActionData_t_1237; -extern void struct_InputPoseActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1237_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1237 winInputSkeletalActionData_t_1237; -extern void struct_InputSkeletalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1237_win_to_lin(void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_1168 winVRVulkanTextureArrayData_t_1168; -extern void struct_VRVulkanTextureArrayData_t_1168_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1168_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1168 winVREvent_t_1168; -extern void struct_VREvent_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1168_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1168 winVRControllerState001_t_1168; -extern void struct_VRControllerState001_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1168_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1168 winCameraVideoStreamFrameHeader_t_1168; -extern void struct_CameraVideoStreamFrameHeader_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1168_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1168 winRenderModel_TextureMap_t_1168; -extern void struct_RenderModel_TextureMap_t_1168_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1168_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1168 *struct_RenderModel_TextureMap_t_1168_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1168_unwrap(winRenderModel_TextureMap_t_1168 *w); -typedef struct winRenderModel_t_1168 winRenderModel_t_1168; -extern void struct_RenderModel_t_1168_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1168_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1168 *struct_RenderModel_t_1168_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1168_unwrap(winRenderModel_t_1168 *w); -typedef struct winInputAnalogActionData_t_1168 winInputAnalogActionData_t_1168; -extern void struct_InputAnalogActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1168_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1168 winInputDigitalActionData_t_1168; -extern void struct_InputDigitalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1168_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1168 winInputPoseActionData_t_1168; -extern void struct_InputPoseActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1168_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1168 winInputSkeletalActionData_t_1168; -extern void struct_InputSkeletalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1168_win_to_lin(void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_11415 winVRVulkanTextureArrayData_t_11415; -extern void struct_VRVulkanTextureArrayData_t_11415_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_11415_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_11415 winVREvent_t_11415; -extern void struct_VREvent_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11415_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_11415 winVRControllerState001_t_11415; -extern void struct_VRControllerState001_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11415_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11415 winCameraVideoStreamFrameHeader_t_11415; -extern void struct_CameraVideoStreamFrameHeader_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11415_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11415 winRenderModel_TextureMap_t_11415; -extern void struct_RenderModel_TextureMap_t_11415_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11415_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_11415 *struct_RenderModel_TextureMap_t_11415_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11415_unwrap(winRenderModel_TextureMap_t_11415 *w); -typedef struct winRenderModel_t_11415 winRenderModel_t_11415; -extern void struct_RenderModel_t_11415_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11415_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_11415 *struct_RenderModel_t_11415_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_11415_unwrap(winRenderModel_t_11415 *w); -typedef struct winInputAnalogActionData_t_11415 winInputAnalogActionData_t_11415; -extern void struct_InputAnalogActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11415_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_11415 winInputDigitalActionData_t_11415; -extern void struct_InputDigitalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11415_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_11415 winInputPoseActionData_t_11415; -extern void struct_InputPoseActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11415_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_11415 winInputSkeletalActionData_t_11415; -extern void struct_InputSkeletalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11415_win_to_lin(void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_11310 winVRVulkanTextureArrayData_t_11310; -extern void struct_VRVulkanTextureArrayData_t_11310_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_11310_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_11310 winVREvent_t_11310; -extern void struct_VREvent_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11310_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_11310 winVRControllerState001_t_11310; -extern void struct_VRControllerState001_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11310_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11310 winCameraVideoStreamFrameHeader_t_11310; -extern void struct_CameraVideoStreamFrameHeader_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11310_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11310 winRenderModel_TextureMap_t_11310; -extern void struct_RenderModel_TextureMap_t_11310_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11310_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_11310 *struct_RenderModel_TextureMap_t_11310_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11310_unwrap(winRenderModel_TextureMap_t_11310 *w); -typedef struct winRenderModel_t_11310 winRenderModel_t_11310; -extern void struct_RenderModel_t_11310_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11310_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_11310 *struct_RenderModel_t_11310_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_11310_unwrap(winRenderModel_t_11310 *w); -typedef struct winInputAnalogActionData_t_11310 winInputAnalogActionData_t_11310; -extern void struct_InputAnalogActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11310_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_11310 winInputDigitalActionData_t_11310; -extern void struct_InputDigitalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11310_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_11310 winInputPoseActionData_t_11310; -extern void struct_InputPoseActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11310_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_11310 winInputSkeletalActionData_t_11310; -extern void struct_InputSkeletalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11310_win_to_lin(void *w, void *l); -typedef struct winVRVulkanTextureArrayData_t_1125 winVRVulkanTextureArrayData_t_1125; -extern void struct_VRVulkanTextureArrayData_t_1125_lin_to_win(void *l, void *w); -extern void struct_VRVulkanTextureArrayData_t_1125_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1125 winVREvent_t_1125; -extern void struct_VREvent_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1125_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1125 winVRControllerState001_t_1125; -extern void struct_VRControllerState001_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1125_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1125 winCameraVideoStreamFrameHeader_t_1125; -extern void struct_CameraVideoStreamFrameHeader_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1125_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1125 winRenderModel_TextureMap_t_1125; -extern void struct_RenderModel_TextureMap_t_1125_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1125_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1125 *struct_RenderModel_TextureMap_t_1125_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1125_unwrap(winRenderModel_TextureMap_t_1125 *w); -typedef struct winRenderModel_t_1125 winRenderModel_t_1125; -extern void struct_RenderModel_t_1125_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1125_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1125 *struct_RenderModel_t_1125_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1125_unwrap(winRenderModel_t_1125 *w); -typedef struct winInputAnalogActionData_t_1125 winInputAnalogActionData_t_1125; -extern void struct_InputAnalogActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1125_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1125 winInputDigitalActionData_t_1125; -extern void struct_InputDigitalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1125_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1125 winInputPoseActionData_t_1125; -extern void struct_InputPoseActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1125_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1125 winInputSkeletalActionData_t_1125; -extern void struct_InputSkeletalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1125_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_11111 winVREvent_t_11111; -extern void struct_VREvent_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11111_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_11111 winVRControllerState001_t_11111; -extern void struct_VRControllerState001_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11111_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11111 winCameraVideoStreamFrameHeader_t_11111; -extern void struct_CameraVideoStreamFrameHeader_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11111_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11111 winRenderModel_TextureMap_t_11111; -extern void struct_RenderModel_TextureMap_t_11111_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11111_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_11111 *struct_RenderModel_TextureMap_t_11111_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11111_unwrap(winRenderModel_TextureMap_t_11111 *w); -typedef struct winRenderModel_t_11111 winRenderModel_t_11111; -extern void struct_RenderModel_t_11111_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11111_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_11111 *struct_RenderModel_t_11111_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_11111_unwrap(winRenderModel_t_11111 *w); -typedef struct winInputAnalogActionData_t_11111 winInputAnalogActionData_t_11111; -extern void struct_InputAnalogActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11111_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_11111 winInputDigitalActionData_t_11111; -extern void struct_InputDigitalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11111_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_11111 winInputPoseActionData_t_11111; -extern void struct_InputPoseActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11111_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_11111 winInputSkeletalActionData_t_11111; -extern void struct_InputSkeletalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11111_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_11030 winVREvent_t_11030; -extern void struct_VREvent_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_11030_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_11030 winVRControllerState001_t_11030; -extern void struct_VRControllerState001_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_11030_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_11030 winCameraVideoStreamFrameHeader_t_11030; -extern void struct_CameraVideoStreamFrameHeader_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_11030_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_11030 winRenderModel_TextureMap_t_11030; -extern void struct_RenderModel_TextureMap_t_11030_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_11030_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_11030 *struct_RenderModel_TextureMap_t_11030_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11030_unwrap(winRenderModel_TextureMap_t_11030 *w); -typedef struct winRenderModel_t_11030 winRenderModel_t_11030; -extern void struct_RenderModel_t_11030_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_11030_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_11030 *struct_RenderModel_t_11030_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_11030_unwrap(winRenderModel_t_11030 *w); -typedef struct winInputAnalogActionData_t_11030 winInputAnalogActionData_t_11030; -extern void struct_InputAnalogActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_11030_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_11030 winInputDigitalActionData_t_11030; -extern void struct_InputDigitalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_11030_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_11030 winInputPoseActionData_t_11030; -extern void struct_InputPoseActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_11030_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_11030 winInputSkeletalActionData_t_11030; -extern void struct_InputSkeletalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_11030_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1916 winVREvent_t_1916; -extern void struct_VREvent_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1916_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1916 winVRControllerState001_t_1916; -extern void struct_VRControllerState001_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1916_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1916 winCameraVideoStreamFrameHeader_t_1916; -extern void struct_CameraVideoStreamFrameHeader_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1916_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1916 winRenderModel_TextureMap_t_1916; -extern void struct_RenderModel_TextureMap_t_1916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1916_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1916 *struct_RenderModel_TextureMap_t_1916_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1916_unwrap(winRenderModel_TextureMap_t_1916 *w); -typedef struct winRenderModel_t_1916 winRenderModel_t_1916; -extern void struct_RenderModel_t_1916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1916_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1916 *struct_RenderModel_t_1916_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1916_unwrap(winRenderModel_t_1916 *w); -typedef struct winInputAnalogActionData_t_1916 winInputAnalogActionData_t_1916; -extern void struct_InputAnalogActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1916_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1916 winInputDigitalActionData_t_1916; -extern void struct_InputDigitalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1916_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1916 winInputPoseActionData_t_1916; -extern void struct_InputPoseActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1916_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1916 winInputSkeletalActionData_t_1916; -extern void struct_InputSkeletalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1916_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1819 winVREvent_t_1819; -extern void struct_VREvent_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1819_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1819 winVRControllerState001_t_1819; -extern void struct_VRControllerState001_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1819_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1819 winCameraVideoStreamFrameHeader_t_1819; -extern void struct_CameraVideoStreamFrameHeader_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1819_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1819 winRenderModel_TextureMap_t_1819; -extern void struct_RenderModel_TextureMap_t_1819_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1819_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1819 *struct_RenderModel_TextureMap_t_1819_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1819_unwrap(winRenderModel_TextureMap_t_1819 *w); -typedef struct winRenderModel_t_1819 winRenderModel_t_1819; -extern void struct_RenderModel_t_1819_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1819_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1819 *struct_RenderModel_t_1819_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1819_unwrap(winRenderModel_t_1819 *w); -typedef struct winInputAnalogActionData_t_1819 winInputAnalogActionData_t_1819; -extern void struct_InputAnalogActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1819_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1819 winInputDigitalActionData_t_1819; -extern void struct_InputDigitalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1819_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1819 winInputPoseActionData_t_1819; -extern void struct_InputPoseActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1819_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1819 winInputSkeletalActionData_t_1819; -extern void struct_InputSkeletalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1819_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1715 winVREvent_t_1715; -extern void struct_VREvent_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1715_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1715 winVRControllerState001_t_1715; -extern void struct_VRControllerState001_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1715_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1715 winCameraVideoStreamFrameHeader_t_1715; -extern void struct_CameraVideoStreamFrameHeader_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1715_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1715 winRenderModel_TextureMap_t_1715; -extern void struct_RenderModel_TextureMap_t_1715_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1715_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1715 *struct_RenderModel_TextureMap_t_1715_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1715_unwrap(winRenderModel_TextureMap_t_1715 *w); -typedef struct winRenderModel_t_1715 winRenderModel_t_1715; -extern void struct_RenderModel_t_1715_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1715_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1715 *struct_RenderModel_t_1715_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1715_unwrap(winRenderModel_t_1715 *w); -typedef struct winInputAnalogActionData_t_1715 winInputAnalogActionData_t_1715; -extern void struct_InputAnalogActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1715_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1715 winInputDigitalActionData_t_1715; -extern void struct_InputDigitalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1715_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1715 winInputPoseActionData_t_1715; -extern void struct_InputPoseActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1715_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1715 winInputSkeletalActionData_t_1715; -extern void struct_InputSkeletalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1715_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1610 winVREvent_t_1610; -extern void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1610_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1610 winVRControllerState001_t_1610; -extern void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1610_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1610 winCameraVideoStreamFrameHeader_t_1610; -extern void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1610 winRenderModel_TextureMap_t_1610; -extern void struct_RenderModel_TextureMap_t_1610_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1610_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1610 *struct_RenderModel_TextureMap_t_1610_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1610_unwrap(winRenderModel_TextureMap_t_1610 *w); -typedef struct winRenderModel_t_1610 winRenderModel_t_1610; -extern void struct_RenderModel_t_1610_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1610_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1610 *struct_RenderModel_t_1610_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1610_unwrap(winRenderModel_t_1610 *w); -typedef struct winInputAnalogActionData_t_1610 winInputAnalogActionData_t_1610; -extern void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1610_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1610 winInputDigitalActionData_t_1610; -extern void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1610_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1610 winInputPoseActionData_t_1610; -extern void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1610_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1610 winInputSkeletalActionData_t_1610; -extern void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1610_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1517 winVREvent_t_1517; -extern void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1517_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1517 winVRControllerState001_t_1517; -extern void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1517_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1517 winCameraVideoStreamFrameHeader_t_1517; -extern void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1517_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1517 winRenderModel_TextureMap_t_1517; -extern void struct_RenderModel_TextureMap_t_1517_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1517_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1517 *struct_RenderModel_TextureMap_t_1517_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1517_unwrap(winRenderModel_TextureMap_t_1517 *w); -typedef struct winRenderModel_t_1517 winRenderModel_t_1517; -extern void struct_RenderModel_t_1517_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1517_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1517 *struct_RenderModel_t_1517_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1517_unwrap(winRenderModel_t_1517 *w); -typedef struct winInputAnalogActionData_t_1517 winInputAnalogActionData_t_1517; -extern void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1517_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1517 winInputDigitalActionData_t_1517; -extern void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1517_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1517 winInputPoseActionData_t_1517; -extern void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1517_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1517 winInputSkeletalActionData_t_1517; -extern void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1517_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1418 winVREvent_t_1418; -extern void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1418_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1418 winVRControllerState001_t_1418; -extern void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1418_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1418 winCameraVideoStreamFrameHeader_t_1418; -extern void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1418_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1418 winRenderModel_TextureMap_t_1418; -extern void struct_RenderModel_TextureMap_t_1418_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1418_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1418 *struct_RenderModel_TextureMap_t_1418_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1418_unwrap(winRenderModel_TextureMap_t_1418 *w); -typedef struct winRenderModel_t_1418 winRenderModel_t_1418; -extern void struct_RenderModel_t_1418_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1418_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1418 *struct_RenderModel_t_1418_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1418_unwrap(winRenderModel_t_1418 *w); -typedef struct winInputAnalogActionData_t_1418 winInputAnalogActionData_t_1418; -extern void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1418_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1418 winInputDigitalActionData_t_1418; -extern void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1418_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1418 winInputPoseActionData_t_1418; -extern void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1418_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1418 winInputSkeletalActionData_t_1418; -extern void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1418_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1322 winVREvent_t_1322; -extern void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1322_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1322 winVRControllerState001_t_1322; -extern void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1322_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1322 winCameraVideoStreamFrameHeader_t_1322; -extern void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1322_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1322 winRenderModel_TextureMap_t_1322; -extern void struct_RenderModel_TextureMap_t_1322_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1322_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1322 *struct_RenderModel_TextureMap_t_1322_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1322_unwrap(winRenderModel_TextureMap_t_1322 *w); -typedef struct winRenderModel_t_1322 winRenderModel_t_1322; -extern void struct_RenderModel_t_1322_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1322_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1322 *struct_RenderModel_t_1322_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1322_unwrap(winRenderModel_t_1322 *w); -typedef struct winInputAnalogActionData_t_1322 winInputAnalogActionData_t_1322; -extern void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1322_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1322 winInputDigitalActionData_t_1322; -extern void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1322_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1322 winInputPoseActionData_t_1322; -extern void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1322_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1322 winInputSkeletalActionData_t_1322; -extern void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1322_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1210 winVREvent_t_1210; -extern void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1210_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1210 winVRControllerState001_t_1210; -extern void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1210_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1210 winCameraVideoStreamFrameHeader_t_1210; -extern void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1210_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1210 winRenderModel_TextureMap_t_1210; -extern void struct_RenderModel_TextureMap_t_1210_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1210_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1210 *struct_RenderModel_TextureMap_t_1210_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1210_unwrap(winRenderModel_TextureMap_t_1210 *w); -typedef struct winRenderModel_t_1210 winRenderModel_t_1210; -extern void struct_RenderModel_t_1210_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1210_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1210 *struct_RenderModel_t_1210_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1210_unwrap(winRenderModel_t_1210 *w); -typedef struct winInputAnalogActionData_t_1210 winInputAnalogActionData_t_1210; -extern void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1210_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1210 winInputDigitalActionData_t_1210; -extern void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1210_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1210 winInputPoseActionData_t_1210; -extern void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1210_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1210 winInputSkeletalActionData_t_1210; -extern void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1210_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_113b winVREvent_t_113b; -extern void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_113b_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_113b winVRControllerState001_t_113b; -extern void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_113b_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_113b winCameraVideoStreamFrameHeader_t_113b; -extern void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_113b_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_113b winRenderModel_TextureMap_t_113b; -extern void struct_RenderModel_TextureMap_t_113b_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_113b_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_113b *struct_RenderModel_TextureMap_t_113b_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_113b_unwrap(winRenderModel_TextureMap_t_113b *w); -typedef struct winRenderModel_t_113b winRenderModel_t_113b; -extern void struct_RenderModel_t_113b_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_113b_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_113b *struct_RenderModel_t_113b_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_113b_unwrap(winRenderModel_t_113b *w); -typedef struct winInputAnalogActionData_t_113b winInputAnalogActionData_t_113b; -extern void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_113b_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_113b winInputDigitalActionData_t_113b; -extern void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_113b_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_113b winInputPoseActionData_t_113b; -extern void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_113b_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_113b winInputSkeletalActionData_t_113b; -extern void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_113b_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1017 winVREvent_t_1017; -extern void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1017_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1017 winVRControllerState001_t_1017; -extern void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1017_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrameHeader_t_1017 winCameraVideoStreamFrameHeader_t_1017; -extern void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1017 winRenderModel_TextureMap_t_1017; -extern void struct_RenderModel_TextureMap_t_1017_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1017_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1017 *struct_RenderModel_TextureMap_t_1017_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1017_unwrap(winRenderModel_TextureMap_t_1017 *w); -typedef struct winRenderModel_t_1017 winRenderModel_t_1017; -extern void struct_RenderModel_t_1017_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1017_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1017 *struct_RenderModel_t_1017_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1017_unwrap(winRenderModel_t_1017 *w); -typedef struct winInputAnalogActionData_t_1017 winInputAnalogActionData_t_1017; -extern void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1017_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1017 winInputDigitalActionData_t_1017; -extern void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1017_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1017 winInputPoseActionData_t_1017; -extern void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1017_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1017 winInputSkeletalActionData_t_1017; -extern void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1017_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1016 winVREvent_t_1016; -extern void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1016_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1016 winVRControllerState001_t_1016; -extern void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1016_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1016 winRenderModel_TextureMap_t_1016; -extern void struct_RenderModel_TextureMap_t_1016_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1016_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1016 *struct_RenderModel_TextureMap_t_1016_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1016_unwrap(winRenderModel_TextureMap_t_1016 *w); -typedef struct winRenderModel_t_1016 winRenderModel_t_1016; -extern void struct_RenderModel_t_1016_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1016_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1016 *struct_RenderModel_t_1016_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1016_unwrap(winRenderModel_t_1016 *w); -typedef struct winInputAnalogActionData_t_1016 winInputAnalogActionData_t_1016; -extern void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1016_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1016 winInputDigitalActionData_t_1016; -extern void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1016_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1016 winInputPoseActionData_t_1016; -extern void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1016_win_to_lin(void *w, void *l); -typedef struct winInputSkeletalActionData_t_1016 winInputSkeletalActionData_t_1016; -extern void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputSkeletalActionData_t_1016_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1015 winVREvent_t_1015; -extern void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1015_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1015 winVRControllerState001_t_1015; -extern void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1015_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1015 winRenderModel_TextureMap_t_1015; -extern void struct_RenderModel_TextureMap_t_1015_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1015_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1015 *struct_RenderModel_TextureMap_t_1015_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1015_unwrap(winRenderModel_TextureMap_t_1015 *w); -typedef struct winRenderModel_t_1015 winRenderModel_t_1015; -extern void struct_RenderModel_t_1015_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1015_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1015 *struct_RenderModel_t_1015_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1015_unwrap(winRenderModel_t_1015 *w); -typedef struct winInputAnalogActionData_t_1015 winInputAnalogActionData_t_1015; -extern void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputAnalogActionData_t_1015_win_to_lin(void *w, void *l); -typedef struct winInputDigitalActionData_t_1015 winInputDigitalActionData_t_1015; -extern void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputDigitalActionData_t_1015_win_to_lin(void *w, void *l); -typedef struct winInputPoseActionData_t_1015 winInputPoseActionData_t_1015; -extern void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_InputPoseActionData_t_1015_win_to_lin(void *w, void *l); -typedef struct winInputSkeletonActionData_t_1015 winInputSkeletonActionData_t_1015; -extern void struct_InputSkeletonActionData_t_1015_lin_to_win(void *l, void *w); -extern void struct_InputSkeletonActionData_t_1015_win_to_lin(void *w, void *l); -typedef struct winVREvent_t_1014 winVREvent_t_1014; -extern void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1014_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1014 winVRControllerState001_t_1014; -extern void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1014_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1014 winRenderModel_TextureMap_t_1014; -extern void struct_RenderModel_TextureMap_t_1014_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1014_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1014 *struct_RenderModel_TextureMap_t_1014_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1014_unwrap(winRenderModel_TextureMap_t_1014 *w); -typedef struct winRenderModel_t_1014 winRenderModel_t_1014; -extern void struct_RenderModel_t_1014_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1014_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1014 *struct_RenderModel_t_1014_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1014_unwrap(winRenderModel_t_1014 *w); -typedef struct winVREvent_t_1013 winVREvent_t_1013; -extern void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1013_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1013 winVRControllerState001_t_1013; -extern void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1013_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1013 winRenderModel_TextureMap_t_1013; -extern void struct_RenderModel_TextureMap_t_1013_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1013_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1013 *struct_RenderModel_TextureMap_t_1013_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1013_unwrap(winRenderModel_TextureMap_t_1013 *w); -typedef struct winRenderModel_t_1013 winRenderModel_t_1013; -extern void struct_RenderModel_t_1013_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1013_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1013 *struct_RenderModel_t_1013_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1013_unwrap(winRenderModel_t_1013 *w); -typedef struct winVREvent_t_1012 winVREvent_t_1012; -extern void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1012_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1012 winVRControllerState001_t_1012; -extern void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1012_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1012 winRenderModel_TextureMap_t_1012; -extern void struct_RenderModel_TextureMap_t_1012_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1012_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1012 *struct_RenderModel_TextureMap_t_1012_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1012_unwrap(winRenderModel_TextureMap_t_1012 *w); -typedef struct winRenderModel_t_1012 winRenderModel_t_1012; -extern void struct_RenderModel_t_1012_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1012_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1012 *struct_RenderModel_t_1012_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1012_unwrap(winRenderModel_t_1012 *w); -typedef struct winVREvent_t_1011 winVREvent_t_1011; -extern void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1011_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1011 winVRControllerState001_t_1011; -extern void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1011_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1011 winRenderModel_TextureMap_t_1011; -extern void struct_RenderModel_TextureMap_t_1011_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1011_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1011 *struct_RenderModel_TextureMap_t_1011_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1011_unwrap(winRenderModel_TextureMap_t_1011 *w); -typedef struct winRenderModel_t_1011 winRenderModel_t_1011; -extern void struct_RenderModel_t_1011_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1011_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1011 *struct_RenderModel_t_1011_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1011_unwrap(winRenderModel_t_1011 *w); -typedef struct winVREvent_t_1010 winVREvent_t_1010; -extern void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_1010_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_1010 winVRControllerState001_t_1010; -extern void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_1010_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_1010 winRenderModel_TextureMap_t_1010; -extern void struct_RenderModel_TextureMap_t_1010_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_1010_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_1010 *struct_RenderModel_TextureMap_t_1010_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1010_unwrap(winRenderModel_TextureMap_t_1010 *w); -typedef struct winRenderModel_t_1010 winRenderModel_t_1010; -extern void struct_RenderModel_t_1010_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_1010_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_1010 *struct_RenderModel_t_1010_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_1010_unwrap(winRenderModel_t_1010 *w); -typedef struct winVREvent_t_109 winVREvent_t_109; -extern void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_109_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_109 winVRControllerState001_t_109; -extern void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_109_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_109 winRenderModel_TextureMap_t_109; -extern void struct_RenderModel_TextureMap_t_109_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_109_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_109 *struct_RenderModel_TextureMap_t_109_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_109_unwrap(winRenderModel_TextureMap_t_109 *w); -typedef struct winRenderModel_t_109 winRenderModel_t_109; -extern void struct_RenderModel_t_109_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_109_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_109 *struct_RenderModel_t_109_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_109_unwrap(winRenderModel_t_109 *w); -typedef struct winVREvent_t_108 winVREvent_t_108; -extern void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_108_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_108 winVRControllerState001_t_108; -extern void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_108_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_108 winRenderModel_TextureMap_t_108; -extern void struct_RenderModel_TextureMap_t_108_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_108_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_108 *struct_RenderModel_TextureMap_t_108_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_108_unwrap(winRenderModel_TextureMap_t_108 *w); -typedef struct winRenderModel_t_108 winRenderModel_t_108; -extern void struct_RenderModel_t_108_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_108_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_108 *struct_RenderModel_t_108_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_108_unwrap(winRenderModel_t_108 *w); -typedef struct winVREvent_t_107 winVREvent_t_107; -extern void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_107_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_107 winVRControllerState001_t_107; -extern void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_107_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_107 winRenderModel_TextureMap_t_107; -extern void struct_RenderModel_TextureMap_t_107_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_107_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_107 *struct_RenderModel_TextureMap_t_107_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_107_unwrap(winRenderModel_TextureMap_t_107 *w); -typedef struct winRenderModel_t_107 winRenderModel_t_107; -extern void struct_RenderModel_t_107_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_107_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_107 *struct_RenderModel_t_107_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_107_unwrap(winRenderModel_t_107 *w); -typedef struct winVREvent_t_106 winVREvent_t_106; -extern void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_106_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_106 winVRControllerState001_t_106; -extern void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_106_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_106 winRenderModel_TextureMap_t_106; -extern void struct_RenderModel_TextureMap_t_106_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_106_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_106 *struct_RenderModel_TextureMap_t_106_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_106_unwrap(winRenderModel_TextureMap_t_106 *w); -typedef struct winRenderModel_t_106 winRenderModel_t_106; -extern void struct_RenderModel_t_106_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_106_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_106 *struct_RenderModel_t_106_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_106_unwrap(winRenderModel_t_106 *w); -typedef struct winVREvent_t_105 winVREvent_t_105; -extern void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_105_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_105 winVRControllerState001_t_105; -extern void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_105_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_105 winRenderModel_TextureMap_t_105; -extern void struct_RenderModel_TextureMap_t_105_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_105_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_105 *struct_RenderModel_TextureMap_t_105_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_105_unwrap(winRenderModel_TextureMap_t_105 *w); -typedef struct winRenderModel_t_105 winRenderModel_t_105; -extern void struct_RenderModel_t_105_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_105_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_105 *struct_RenderModel_t_105_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_105_unwrap(winRenderModel_t_105 *w); -typedef struct winVREvent_t_104 winVREvent_t_104; -extern void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_104_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_104 winVRControllerState001_t_104; -extern void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_104_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_104 winRenderModel_TextureMap_t_104; -extern void struct_RenderModel_TextureMap_t_104_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_104_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_104 *struct_RenderModel_TextureMap_t_104_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_104_unwrap(winRenderModel_TextureMap_t_104 *w); -typedef struct winRenderModel_t_104 winRenderModel_t_104; -extern void struct_RenderModel_t_104_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_104_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_104 *struct_RenderModel_t_104_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_104_unwrap(winRenderModel_t_104 *w); -typedef struct winVREvent_t_103a winVREvent_t_103a; -extern void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_103a_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_103a winVRControllerState001_t_103a; -extern void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_103a_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_103a winRenderModel_TextureMap_t_103a; -extern void struct_RenderModel_TextureMap_t_103a_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_103a_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_103a *struct_RenderModel_TextureMap_t_103a_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103a_unwrap(winRenderModel_TextureMap_t_103a *w); -typedef struct winRenderModel_t_103a winRenderModel_t_103a; -extern void struct_RenderModel_t_103a_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_103a_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_103a *struct_RenderModel_t_103a_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_103a_unwrap(winRenderModel_t_103a *w); -typedef struct winVREvent_t_103 winVREvent_t_103; -extern void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_103_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_103 winVRControllerState001_t_103; -extern void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_103_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_103 winCompositor_FrameTiming_103; -extern void struct_Compositor_FrameTiming_103_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_103_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_103 winRenderModel_TextureMap_t_103; -extern void struct_RenderModel_TextureMap_t_103_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_103_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_103 *struct_RenderModel_TextureMap_t_103_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103_unwrap(winRenderModel_TextureMap_t_103 *w); -typedef struct winRenderModel_t_103 winRenderModel_t_103; -extern void struct_RenderModel_t_103_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_103_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_103 *struct_RenderModel_t_103_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_103_unwrap(winRenderModel_t_103 *w); -typedef struct winVREvent_t_102 winVREvent_t_102; -extern void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_102_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_102 winVRControllerState001_t_102; -extern void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_102_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_102 winCompositor_FrameTiming_102; -extern void struct_Compositor_FrameTiming_102_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_102_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_102 winRenderModel_TextureMap_t_102; -extern void struct_RenderModel_TextureMap_t_102_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_102_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_102 *struct_RenderModel_TextureMap_t_102_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_102_unwrap(winRenderModel_TextureMap_t_102 *w); -typedef struct winRenderModel_t_102 winRenderModel_t_102; -extern void struct_RenderModel_t_102_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_102_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_102 *struct_RenderModel_t_102_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_102_unwrap(winRenderModel_t_102 *w); -typedef struct winVREvent_t_101 winVREvent_t_101; -extern void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_101_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_101 winVRControllerState001_t_101; -extern void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_101_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_101 winRenderModel_TextureMap_t_101; -extern void struct_RenderModel_TextureMap_t_101_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_101_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_101 *struct_RenderModel_TextureMap_t_101_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_101_unwrap(winRenderModel_TextureMap_t_101 *w); -typedef struct winRenderModel_t_101 winRenderModel_t_101; -extern void struct_RenderModel_t_101_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_101_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_101 *struct_RenderModel_t_101_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_101_unwrap(winRenderModel_t_101 *w); -typedef struct winVREvent_t_100 winVREvent_t_100; -extern void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_100_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_100 winVRControllerState001_t_100; -extern void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_100_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_100 winRenderModel_TextureMap_t_100; -extern void struct_RenderModel_TextureMap_t_100_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_100_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_100 *struct_RenderModel_TextureMap_t_100_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_100_unwrap(winRenderModel_TextureMap_t_100 *w); -typedef struct winRenderModel_t_100 winRenderModel_t_100; -extern void struct_RenderModel_t_100_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_100_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_100 *struct_RenderModel_t_100_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_100_unwrap(winRenderModel_t_100 *w); -typedef struct winVREvent_t_0920 winVREvent_t_0920; -extern void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0920_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0920 winVRControllerState001_t_0920; -extern void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0920_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0920 winRenderModel_TextureMap_t_0920; -extern void struct_RenderModel_TextureMap_t_0920_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0920_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0920 *struct_RenderModel_TextureMap_t_0920_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0920_unwrap(winRenderModel_TextureMap_t_0920 *w); -typedef struct winRenderModel_t_0920 winRenderModel_t_0920; -extern void struct_RenderModel_t_0920_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0920_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0920 *struct_RenderModel_t_0920_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0920_unwrap(winRenderModel_t_0920 *w); -typedef struct winVREvent_t_0919 winVREvent_t_0919; -extern void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0919_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0919 winVRControllerState001_t_0919; -extern void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0919_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0919 winRenderModel_TextureMap_t_0919; -extern void struct_RenderModel_TextureMap_t_0919_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0919_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0919 *struct_RenderModel_TextureMap_t_0919_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0919_unwrap(winRenderModel_TextureMap_t_0919 *w); -typedef struct winRenderModel_t_0919 winRenderModel_t_0919; -extern void struct_RenderModel_t_0919_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0919_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0919 *struct_RenderModel_t_0919_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0919_unwrap(winRenderModel_t_0919 *w); -typedef struct winVREvent_t_0918 winVREvent_t_0918; -extern void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0918_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0918 winVRControllerState001_t_0918; -extern void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0918_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0918 winRenderModel_TextureMap_t_0918; -extern void struct_RenderModel_TextureMap_t_0918_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0918_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0918 *struct_RenderModel_TextureMap_t_0918_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0918_unwrap(winRenderModel_TextureMap_t_0918 *w); -typedef struct winRenderModel_t_0918 winRenderModel_t_0918; -extern void struct_RenderModel_t_0918_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0918_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0918 *struct_RenderModel_t_0918_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0918_unwrap(winRenderModel_t_0918 *w); -typedef struct winVREvent_t_0917 winVREvent_t_0917; -extern void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0917_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0917 winVRControllerState001_t_0917; -extern void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0917_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0917 winRenderModel_TextureMap_t_0917; -extern void struct_RenderModel_TextureMap_t_0917_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0917_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0917 *struct_RenderModel_TextureMap_t_0917_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0917_unwrap(winRenderModel_TextureMap_t_0917 *w); -typedef struct winRenderModel_t_0917 winRenderModel_t_0917; -extern void struct_RenderModel_t_0917_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0917_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0917 *struct_RenderModel_t_0917_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0917_unwrap(winRenderModel_t_0917 *w); -typedef struct winVREvent_t_0916 winVREvent_t_0916; -extern void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0916_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0916 winVRControllerState001_t_0916; -extern void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0916_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0916 winRenderModel_TextureMap_t_0916; -extern void struct_RenderModel_TextureMap_t_0916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0916_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0916 *struct_RenderModel_TextureMap_t_0916_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0916_unwrap(winRenderModel_TextureMap_t_0916 *w); -typedef struct winRenderModel_t_0916 winRenderModel_t_0916; -extern void struct_RenderModel_t_0916_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0916_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0916 *struct_RenderModel_t_0916_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0916_unwrap(winRenderModel_t_0916 *w); -typedef struct winVREvent_t_0915 winVREvent_t_0915; -extern void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VREvent_t_0915_win_to_lin(void *w, void *l); -typedef struct winVRControllerState001_t_0915 winVRControllerState001_t_0915; -extern void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0915_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0915 winRenderModel_TextureMap_t_0915; -extern void struct_RenderModel_TextureMap_t_0915_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0915_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0915 *struct_RenderModel_TextureMap_t_0915_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0915_unwrap(winRenderModel_TextureMap_t_0915 *w); -typedef struct winRenderModel_t_0915 winRenderModel_t_0915; -extern void struct_RenderModel_t_0915_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0915_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0915 *struct_RenderModel_t_0915_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0915_unwrap(winRenderModel_t_0915 *w); -typedef struct winVRControllerState001_t_0914 winVRControllerState001_t_0914; -extern void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0914_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0914 winCameraVideoStreamFrame_t_0914; -extern void struct_CameraVideoStreamFrame_t_0914_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0914_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_0914 winCompositor_FrameTiming_0914; -extern void struct_Compositor_FrameTiming_0914_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0914_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0914 winRenderModel_TextureMap_t_0914; -extern void struct_RenderModel_TextureMap_t_0914_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0914_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0914 *struct_RenderModel_TextureMap_t_0914_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0914_unwrap(winRenderModel_TextureMap_t_0914 *w); -typedef struct winRenderModel_t_0914 winRenderModel_t_0914; -extern void struct_RenderModel_t_0914_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0914_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0914 *struct_RenderModel_t_0914_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0914_unwrap(winRenderModel_t_0914 *w); -typedef struct winVRControllerState001_t_0913 winVRControllerState001_t_0913; -extern void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0913_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0913 winCameraVideoStreamFrame_t_0913; -extern void struct_CameraVideoStreamFrame_t_0913_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0913_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_0913 winCompositor_FrameTiming_0913; -extern void struct_Compositor_FrameTiming_0913_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0913_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0913 winRenderModel_TextureMap_t_0913; -extern void struct_RenderModel_TextureMap_t_0913_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0913_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0913 *struct_RenderModel_TextureMap_t_0913_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0913_unwrap(winRenderModel_TextureMap_t_0913 *w); -typedef struct winRenderModel_t_0913 winRenderModel_t_0913; -extern void struct_RenderModel_t_0913_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0913_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0913 *struct_RenderModel_t_0913_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0913_unwrap(winRenderModel_t_0913 *w); -typedef struct winVRControllerState001_t_0912 winVRControllerState001_t_0912; -extern void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0912_win_to_lin(void *w, void *l); -typedef struct winCameraVideoStreamFrame_t_0912 winCameraVideoStreamFrame_t_0912; -extern void struct_CameraVideoStreamFrame_t_0912_lin_to_win(void *l, void *w); -extern void struct_CameraVideoStreamFrame_t_0912_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_0912 winCompositor_FrameTiming_0912; -extern void struct_Compositor_FrameTiming_0912_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0912_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_0912 winRenderModel_TextureMap_t_0912; -extern void struct_RenderModel_TextureMap_t_0912_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0912_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0912 *struct_RenderModel_TextureMap_t_0912_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0912_unwrap(winRenderModel_TextureMap_t_0912 *w); -typedef struct winRenderModel_t_0912 winRenderModel_t_0912; -extern void struct_RenderModel_t_0912_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0912_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0912 *struct_RenderModel_t_0912_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0912_unwrap(winRenderModel_t_0912 *w); -typedef struct winRenderModel_TextureMap_t_0910 winRenderModel_TextureMap_t_0910; -extern void struct_RenderModel_TextureMap_t_0910_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_0910_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_0910 *struct_RenderModel_TextureMap_t_0910_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0910_unwrap(winRenderModel_TextureMap_t_0910 *w); -typedef struct winRenderModel_t_0910 winRenderModel_t_0910; -extern void struct_RenderModel_t_0910_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_0910_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_0910 *struct_RenderModel_t_0910_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_0910_unwrap(winRenderModel_t_0910 *w); -typedef struct winVRControllerState001_t_0910 winVRControllerState001_t_0910; -extern void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_0910_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_0910 winCompositor_FrameTiming_0910; -extern void struct_Compositor_FrameTiming_0910_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_0910_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_099 winRenderModel_TextureMap_t_099; -extern void struct_RenderModel_TextureMap_t_099_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_099_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_099 *struct_RenderModel_TextureMap_t_099_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_099_unwrap(winRenderModel_TextureMap_t_099 *w); -typedef struct winRenderModel_t_099 winRenderModel_t_099; -extern void struct_RenderModel_t_099_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_099_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_099 *struct_RenderModel_t_099_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_099_unwrap(winRenderModel_t_099 *w); -typedef struct winVRControllerState001_t_099 winVRControllerState001_t_099; -extern void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_099_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_099 winCompositor_FrameTiming_099; -extern void struct_Compositor_FrameTiming_099_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_099_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_098 winRenderModel_TextureMap_t_098; -extern void struct_RenderModel_TextureMap_t_098_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_098_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_098 *struct_RenderModel_TextureMap_t_098_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_098_unwrap(winRenderModel_TextureMap_t_098 *w); -typedef struct winRenderModel_t_098 winRenderModel_t_098; -extern void struct_RenderModel_t_098_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_098_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_098 *struct_RenderModel_t_098_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_098_unwrap(winRenderModel_t_098 *w); -typedef struct winVRControllerState001_t_098 winVRControllerState001_t_098; -extern void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_098_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_098 winCompositor_FrameTiming_098; -extern void struct_Compositor_FrameTiming_098_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_098_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_097 winRenderModel_TextureMap_t_097; -extern void struct_RenderModel_TextureMap_t_097_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_097_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_097 *struct_RenderModel_TextureMap_t_097_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_097_unwrap(winRenderModel_TextureMap_t_097 *w); -typedef struct winRenderModel_t_097 winRenderModel_t_097; -extern void struct_RenderModel_t_097_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_097_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_097 *struct_RenderModel_t_097_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_097_unwrap(winRenderModel_t_097 *w); -typedef struct winVRControllerState001_t_097 winVRControllerState001_t_097; -extern void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_097_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_097 winCompositor_FrameTiming_097; -extern void struct_Compositor_FrameTiming_097_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_097_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_096 winRenderModel_TextureMap_t_096; -extern void struct_RenderModel_TextureMap_t_096_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_096_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_096 *struct_RenderModel_TextureMap_t_096_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_096_unwrap(winRenderModel_TextureMap_t_096 *w); -typedef struct winRenderModel_t_096 winRenderModel_t_096; -extern void struct_RenderModel_t_096_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_096_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_096 *struct_RenderModel_t_096_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_096_unwrap(winRenderModel_t_096 *w); -typedef struct winVRControllerState001_t_096 winVRControllerState001_t_096; -extern void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_096_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_096 winCompositor_FrameTiming_096; -extern void struct_Compositor_FrameTiming_096_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_096_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_094 winRenderModel_TextureMap_t_094; -extern void struct_RenderModel_TextureMap_t_094_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_094_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_094 *struct_RenderModel_TextureMap_t_094_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_094_unwrap(winRenderModel_TextureMap_t_094 *w); -typedef struct winRenderModel_t_094 winRenderModel_t_094; -extern void struct_RenderModel_t_094_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_094_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_094 *struct_RenderModel_t_094_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_094_unwrap(winRenderModel_t_094 *w); -typedef struct winVRControllerState001_t_094 winVRControllerState001_t_094; -extern void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_094_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_094 winCompositor_FrameTiming_094; -extern void struct_Compositor_FrameTiming_094_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_094_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_093 winRenderModel_TextureMap_t_093; -extern void struct_RenderModel_TextureMap_t_093_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_093_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_093 *struct_RenderModel_TextureMap_t_093_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_093_unwrap(winRenderModel_TextureMap_t_093 *w); -typedef struct winRenderModel_t_093 winRenderModel_t_093; -extern void struct_RenderModel_t_093_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_093_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_093 *struct_RenderModel_t_093_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_093_unwrap(winRenderModel_t_093 *w); -typedef struct winVRControllerState001_t_093 winVRControllerState001_t_093; -extern void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_093_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_093 winCompositor_FrameTiming_093; -extern void struct_Compositor_FrameTiming_093_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_093_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_092 winRenderModel_TextureMap_t_092; -extern void struct_RenderModel_TextureMap_t_092_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_092_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_092 *struct_RenderModel_TextureMap_t_092_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_092_unwrap(winRenderModel_TextureMap_t_092 *w); -typedef struct winRenderModel_t_092 winRenderModel_t_092; -extern void struct_RenderModel_t_092_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_092_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_092 *struct_RenderModel_t_092_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_092_unwrap(winRenderModel_t_092 *w); -typedef struct winVRControllerState001_t_092 winVRControllerState001_t_092; -extern void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_092_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_092 winCompositor_FrameTiming_092; -extern void struct_Compositor_FrameTiming_092_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_092_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_091 winRenderModel_TextureMap_t_091; -extern void struct_RenderModel_TextureMap_t_091_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_091_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_091 *struct_RenderModel_TextureMap_t_091_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_091_unwrap(winRenderModel_TextureMap_t_091 *w); -typedef struct winRenderModel_t_091 winRenderModel_t_091; -extern void struct_RenderModel_t_091_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_091_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_091 *struct_RenderModel_t_091_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_091_unwrap(winRenderModel_t_091 *w); -typedef struct winVRControllerState001_t_091 winVRControllerState001_t_091; -extern void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_091_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_091 winCompositor_FrameTiming_091; -extern void struct_Compositor_FrameTiming_091_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_091_win_to_lin(void *w, void *l); -typedef struct winRenderModel_TextureMap_t_090 winRenderModel_TextureMap_t_090; -extern void struct_RenderModel_TextureMap_t_090_lin_to_win(void *l, void *w); -extern void struct_RenderModel_TextureMap_t_090_win_to_lin(void *w, void *l); -extern struct winRenderModel_TextureMap_t_090 *struct_RenderModel_TextureMap_t_090_wrap(void *l); -extern RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_090_unwrap(winRenderModel_TextureMap_t_090 *w); -typedef struct winRenderModel_t_090 winRenderModel_t_090; -extern void struct_RenderModel_t_090_lin_to_win(void *l, void *w); -extern void struct_RenderModel_t_090_win_to_lin(void *w, void *l); -extern struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l); -extern RenderModel_t *struct_RenderModel_t_090_unwrap(winRenderModel_t_090 *w); -typedef struct winVRControllerState001_t_090 winVRControllerState001_t_090; -extern void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz); -extern void struct_VRControllerState001_t_090_win_to_lin(void *w, void *l); -typedef struct winCompositor_FrameTiming_090 winCompositor_FrameTiming_090; -extern void struct_Compositor_FrameTiming_090_lin_to_win(void *l, void *w); -extern void struct_Compositor_FrameTiming_090_win_to_lin(void *w, void *l); diff --git a/vrclient_x64/vrclient_x64/struct_converters_090.cpp b/vrclient_x64/vrclient_x64/struct_converters_090.cpp deleted file mode 100644 index d3efa9930..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_090.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_090 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_090_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_090 *win = (struct winRenderModel_TextureMap_t_090 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_090_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_090 *win = (struct winRenderModel_TextureMap_t_090 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_090 *struct_RenderModel_TextureMap_t_090_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_090 *win = (struct winRenderModel_TextureMap_t_090 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_090_unwrap(winRenderModel_TextureMap_t_090 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_090 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_090 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_090_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_090 *win = (struct winRenderModel_t_090 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_090_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_090_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_090 *win = (struct winRenderModel_t_090 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_090_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_090 *struct_RenderModel_t_090_wrap(void *l) -{ - struct winRenderModel_t_090 *win = (struct winRenderModel_t_090 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_090_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_090_unwrap(winRenderModel_t_090 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_090 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_090_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_090 *win = (struct winVRControllerState001_t_090 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_090_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_090 *win = (struct winVRControllerState001_t_090 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_090 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_090_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_090 *win = (struct winCompositor_FrameTiming_090 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_090_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_090 *win = (struct winCompositor_FrameTiming_090 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_091.cpp b/vrclient_x64/vrclient_x64/struct_converters_091.cpp deleted file mode 100644 index a0798da44..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_091.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_091 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_091_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_091 *win = (struct winRenderModel_TextureMap_t_091 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_091_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_091 *win = (struct winRenderModel_TextureMap_t_091 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_091 *struct_RenderModel_TextureMap_t_091_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_091 *win = (struct winRenderModel_TextureMap_t_091 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_091_unwrap(winRenderModel_TextureMap_t_091 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_091 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_091 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_091_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_091 *win = (struct winRenderModel_t_091 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_091_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_091_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_091 *win = (struct winRenderModel_t_091 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_091_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_091 *struct_RenderModel_t_091_wrap(void *l) -{ - struct winRenderModel_t_091 *win = (struct winRenderModel_t_091 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_091_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_091_unwrap(winRenderModel_t_091 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_091 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_091_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_091 *win = (struct winVRControllerState001_t_091 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_091_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_091 *win = (struct winVRControllerState001_t_091 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_091 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_091_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_091 *win = (struct winCompositor_FrameTiming_091 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_091_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_091 *win = (struct winCompositor_FrameTiming_091 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp b/vrclient_x64/vrclient_x64/struct_converters_0910.cpp deleted file mode 100644 index ffe870373..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0910.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0910 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0910_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0910 *win = (struct winRenderModel_TextureMap_t_0910 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0910_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0910 *win = (struct winRenderModel_TextureMap_t_0910 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0910 *struct_RenderModel_TextureMap_t_0910_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0910 *win = (struct winRenderModel_TextureMap_t_0910 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0910_unwrap(winRenderModel_TextureMap_t_0910 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0910 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_0910 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0910_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0910 *win = (struct winRenderModel_t_0910 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_0910_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_0910_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0910 *win = (struct winRenderModel_t_0910 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_0910_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_0910 *struct_RenderModel_t_0910_wrap(void *l) -{ - struct winRenderModel_t_0910 *win = (struct winRenderModel_t_0910 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_0910_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0910_unwrap(winRenderModel_t_0910 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0910 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0910_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0910 *win = (struct winVRControllerState001_t_0910 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0910_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0910 *win = (struct winVRControllerState001_t_0910 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0910 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0910_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0910 *win = (struct winCompositor_FrameTiming_0910 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_0910_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_0910 *win = (struct winCompositor_FrameTiming_0910 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp b/vrclient_x64/vrclient_x64/struct_converters_0912.cpp deleted file mode 100644 index 532807049..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0912.cpp +++ /dev/null @@ -1,263 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRControllerState001_t_0912 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0912_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0912 *win = (struct winVRControllerState001_t_0912 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0912_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0912 *win = (struct winVRControllerState001_t_0912 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0912 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nFrameSequence; - uint32_t m_nTimeStamp; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - uint32_t m_nImageDataSize; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0912_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0912 *win = (struct winCameraVideoStreamFrame_t_0912 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nTimeStamp = lin->m_nTimeStamp; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0912_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0912 *win = (struct winCameraVideoStreamFrame_t_0912 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nTimeStamp = win->m_nTimeStamp; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0912 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0912_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0912 *win = (struct winCompositor_FrameTiming_0912 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; -} - -void struct_Compositor_FrameTiming_0912_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_0912 *win = (struct winCompositor_FrameTiming_0912 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0912 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0912_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0912 *win = (struct winRenderModel_TextureMap_t_0912 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0912_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0912 *win = (struct winRenderModel_TextureMap_t_0912 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0912 *struct_RenderModel_TextureMap_t_0912_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0912 *win = (struct winRenderModel_TextureMap_t_0912 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0912_unwrap(winRenderModel_TextureMap_t_0912 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0912 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0912_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0912 *win = (struct winRenderModel_t_0912 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0912_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0912 *win = (struct winRenderModel_t_0912 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0912 *struct_RenderModel_t_0912_wrap(void *l) -{ - struct winRenderModel_t_0912 *win = (struct winRenderModel_t_0912 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0912_unwrap(winRenderModel_t_0912 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp b/vrclient_x64/vrclient_x64/struct_converters_0913.cpp deleted file mode 100644 index 97139e3a1..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0913.cpp +++ /dev/null @@ -1,266 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRControllerState001_t_0913 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0913_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0913 *win = (struct winVRControllerState001_t_0913 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0913_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0913 *win = (struct winVRControllerState001_t_0913 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0913 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nFrameSequence; - uint32_t m_nTimeStamp; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - uint32_t m_nImageDataSize; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0913_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0913 *win = (struct winCameraVideoStreamFrame_t_0913 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nTimeStamp = lin->m_nTimeStamp; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0913_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0913 *win = (struct winCameraVideoStreamFrame_t_0913 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nTimeStamp = win->m_nTimeStamp; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0913 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; - float m_flCompositorUpdateCpuMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0913_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0913 *win = (struct winCompositor_FrameTiming_0913 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; - win->m_flCompositorUpdateCpuMs = lin->m_flCompositorUpdateCpuMs; -} - -void struct_Compositor_FrameTiming_0913_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_0913 *win = (struct winCompositor_FrameTiming_0913 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; - lin->m_flCompositorUpdateCpuMs = win->m_flCompositorUpdateCpuMs; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0913 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0913_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0913 *win = (struct winRenderModel_TextureMap_t_0913 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0913_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0913 *win = (struct winRenderModel_TextureMap_t_0913 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0913 *struct_RenderModel_TextureMap_t_0913_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0913 *win = (struct winRenderModel_TextureMap_t_0913 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0913_unwrap(winRenderModel_TextureMap_t_0913 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0913 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0913_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0913 *win = (struct winRenderModel_t_0913 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0913_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0913 *win = (struct winRenderModel_t_0913 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0913 *struct_RenderModel_t_0913_wrap(void *l) -{ - struct winRenderModel_t_0913 *win = (struct winRenderModel_t_0913 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0913_unwrap(winRenderModel_t_0913 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp b/vrclient_x64/vrclient_x64/struct_converters_0914.cpp deleted file mode 100644 index 6e59b358f..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0914.cpp +++ /dev/null @@ -1,281 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRControllerState001_t_0914 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0914_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0914 *win = (struct winVRControllerState001_t_0914 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0914_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0914 *win = (struct winVRControllerState001_t_0914 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrame_t_0914 { - vr::ECameraVideoStreamFormat m_nStreamFormat; - uint32_t m_nWidth; - uint32_t m_nHeight; - uint32_t m_nImageDataSize; - uint32_t m_nFrameSequence; - uint32_t m_nISPFrameTimeStamp; - uint32_t m_nISPReferenceTimeStamp; - uint32_t m_nSyncCounter; - uint32_t m_nExposureTime; - uint32_t m_nBufferIndex; - uint32_t m_nBufferCount; - double m_flFrameElapsedTime; - double m_flFrameCaptureTime; - uint64_t m_nFrameCaptureTicks; - bool m_bPoseIsValid; - vr::HmdMatrix34_t m_matDeviceToAbsoluteTracking __attribute__((aligned(4))); - float m_Pad[4]; - void * m_pImageData; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrame_t_0914_lin_to_win(void *l, void *w) -{ - struct winCameraVideoStreamFrame_t_0914 *win = (struct winCameraVideoStreamFrame_t_0914 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - win->m_nStreamFormat = lin->m_nStreamFormat; - win->m_nWidth = lin->m_nWidth; - win->m_nHeight = lin->m_nHeight; - win->m_nImageDataSize = lin->m_nImageDataSize; - win->m_nFrameSequence = lin->m_nFrameSequence; - win->m_nISPFrameTimeStamp = lin->m_nISPFrameTimeStamp; - win->m_nISPReferenceTimeStamp = lin->m_nISPReferenceTimeStamp; - win->m_nSyncCounter = lin->m_nSyncCounter; - win->m_nExposureTime = lin->m_nExposureTime; - win->m_nBufferIndex = lin->m_nBufferIndex; - win->m_nBufferCount = lin->m_nBufferCount; - win->m_flFrameElapsedTime = lin->m_flFrameElapsedTime; - win->m_flFrameCaptureTime = lin->m_flFrameCaptureTime; - win->m_nFrameCaptureTicks = lin->m_nFrameCaptureTicks; - win->m_bPoseIsValid = lin->m_bPoseIsValid; - win->m_matDeviceToAbsoluteTracking = lin->m_matDeviceToAbsoluteTracking; - memcpy(win->m_Pad, lin->m_Pad, sizeof(win->m_Pad)); - win->m_pImageData = lin->m_pImageData; -} - -void struct_CameraVideoStreamFrame_t_0914_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrame_t_0914 *win = (struct winCameraVideoStreamFrame_t_0914 *)w; - CameraVideoStreamFrame_t *lin = (CameraVideoStreamFrame_t *)l; - lin->m_nStreamFormat = win->m_nStreamFormat; - lin->m_nWidth = win->m_nWidth; - lin->m_nHeight = win->m_nHeight; - lin->m_nImageDataSize = win->m_nImageDataSize; - lin->m_nFrameSequence = win->m_nFrameSequence; - lin->m_nISPFrameTimeStamp = win->m_nISPFrameTimeStamp; - lin->m_nISPReferenceTimeStamp = win->m_nISPReferenceTimeStamp; - lin->m_nSyncCounter = win->m_nSyncCounter; - lin->m_nExposureTime = win->m_nExposureTime; - lin->m_nBufferIndex = win->m_nBufferIndex; - lin->m_nBufferCount = win->m_nBufferCount; - lin->m_flFrameElapsedTime = win->m_flFrameElapsedTime; - lin->m_flFrameCaptureTime = win->m_flFrameCaptureTime; - lin->m_nFrameCaptureTicks = win->m_nFrameCaptureTicks; - lin->m_bPoseIsValid = win->m_bPoseIsValid; - lin->m_matDeviceToAbsoluteTracking = win->m_matDeviceToAbsoluteTracking; - memcpy(lin->m_Pad, win->m_Pad, sizeof(lin->m_Pad)); - lin->m_pImageData = win->m_pImageData; -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_0914 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; - float m_flHandoffStartMs; - float m_flHandoffEndMs; - float m_flCompositorUpdateCpuMs; - uint32_t m_nPresents; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_0914_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_0914 *win = (struct winCompositor_FrameTiming_0914 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; - win->m_flHandoffStartMs = lin->m_flHandoffStartMs; - win->m_flHandoffEndMs = lin->m_flHandoffEndMs; - win->m_flCompositorUpdateCpuMs = lin->m_flCompositorUpdateCpuMs; - win->m_nPresents = lin->m_nPresents; -} - -void struct_Compositor_FrameTiming_0914_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_0914 *win = (struct winCompositor_FrameTiming_0914 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; - lin->m_flHandoffStartMs = win->m_flHandoffStartMs; - lin->m_flHandoffEndMs = win->m_flHandoffEndMs; - lin->m_flCompositorUpdateCpuMs = win->m_flCompositorUpdateCpuMs; - lin->m_nPresents = win->m_nPresents; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0914 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0914_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0914 *win = (struct winRenderModel_TextureMap_t_0914 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0914_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0914 *win = (struct winRenderModel_TextureMap_t_0914 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0914 *struct_RenderModel_TextureMap_t_0914_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0914 *win = (struct winRenderModel_TextureMap_t_0914 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0914_unwrap(winRenderModel_TextureMap_t_0914 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0914 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0914_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0914 *win = (struct winRenderModel_t_0914 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0914_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0914 *win = (struct winRenderModel_t_0914 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0914 *struct_RenderModel_t_0914_wrap(void *l) -{ - struct winRenderModel_t_0914 *win = (struct winRenderModel_t_0914 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0914_unwrap(winRenderModel_t_0914 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp b/vrclient_x64/vrclient_x64/struct_converters_0915.cpp deleted file mode 100644 index 51f93edfc..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0915.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0915 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0915_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0915 *win = (struct winVREvent_t_0915 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0915_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0915 *win = (struct winVREvent_t_0915 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0915 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0915_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0915 *win = (struct winVRControllerState001_t_0915 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0915_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0915 *win = (struct winVRControllerState001_t_0915 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0915 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0915_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0915 *win = (struct winRenderModel_TextureMap_t_0915 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0915_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0915 *win = (struct winRenderModel_TextureMap_t_0915 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0915 *struct_RenderModel_TextureMap_t_0915_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0915 *win = (struct winRenderModel_TextureMap_t_0915 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0915_unwrap(winRenderModel_TextureMap_t_0915 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0915 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0915_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0915 *win = (struct winRenderModel_t_0915 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0915_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0915 *win = (struct winRenderModel_t_0915 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0915 *struct_RenderModel_t_0915_wrap(void *l) -{ - struct winRenderModel_t_0915 *win = (struct winRenderModel_t_0915 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0915_unwrap(winRenderModel_t_0915 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp b/vrclient_x64/vrclient_x64/struct_converters_0916.cpp deleted file mode 100644 index 4ce3cc44f..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0916.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0916 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0916 *win = (struct winVREvent_t_0916 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0916_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0916 *win = (struct winVREvent_t_0916 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0916 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0916 *win = (struct winVRControllerState001_t_0916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0916_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0916 *win = (struct winVRControllerState001_t_0916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0916 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0916 *win = (struct winRenderModel_TextureMap_t_0916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0916_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0916 *win = (struct winRenderModel_TextureMap_t_0916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0916 *struct_RenderModel_TextureMap_t_0916_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0916 *win = (struct winRenderModel_TextureMap_t_0916 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0916_unwrap(winRenderModel_TextureMap_t_0916 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0916 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0916 *win = (struct winRenderModel_t_0916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0916_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0916 *win = (struct winRenderModel_t_0916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0916 *struct_RenderModel_t_0916_wrap(void *l) -{ - struct winRenderModel_t_0916 *win = (struct winRenderModel_t_0916 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0916_unwrap(winRenderModel_t_0916 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp b/vrclient_x64/vrclient_x64/struct_converters_0917.cpp deleted file mode 100644 index 394f55bc3..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0917.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0917 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0917_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0917 *win = (struct winVREvent_t_0917 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0917_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0917 *win = (struct winVREvent_t_0917 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0917 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0917_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0917 *win = (struct winVRControllerState001_t_0917 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0917_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0917 *win = (struct winVRControllerState001_t_0917 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0917 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0917_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0917 *win = (struct winRenderModel_TextureMap_t_0917 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0917_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0917 *win = (struct winRenderModel_TextureMap_t_0917 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0917 *struct_RenderModel_TextureMap_t_0917_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0917 *win = (struct winRenderModel_TextureMap_t_0917 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0917_unwrap(winRenderModel_TextureMap_t_0917 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0917 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0917_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0917 *win = (struct winRenderModel_t_0917 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0917_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0917 *win = (struct winRenderModel_t_0917 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0917 *struct_RenderModel_t_0917_wrap(void *l) -{ - struct winRenderModel_t_0917 *win = (struct winRenderModel_t_0917 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0917_unwrap(winRenderModel_t_0917 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp b/vrclient_x64/vrclient_x64/struct_converters_0918.cpp deleted file mode 100644 index 40e9545af..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0918.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0918 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0918_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0918 *win = (struct winVREvent_t_0918 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0918_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0918 *win = (struct winVREvent_t_0918 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0918 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0918_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0918 *win = (struct winVRControllerState001_t_0918 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0918_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0918 *win = (struct winVRControllerState001_t_0918 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0918 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0918_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0918 *win = (struct winRenderModel_TextureMap_t_0918 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0918_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0918 *win = (struct winRenderModel_TextureMap_t_0918 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0918 *struct_RenderModel_TextureMap_t_0918_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0918 *win = (struct winRenderModel_TextureMap_t_0918 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0918_unwrap(winRenderModel_TextureMap_t_0918 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0918 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0918_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0918 *win = (struct winRenderModel_t_0918 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0918_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0918 *win = (struct winRenderModel_t_0918 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0918 *struct_RenderModel_t_0918_wrap(void *l) -{ - struct winRenderModel_t_0918 *win = (struct winRenderModel_t_0918 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0918_unwrap(winRenderModel_t_0918 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp b/vrclient_x64/vrclient_x64/struct_converters_0919.cpp deleted file mode 100644 index 5465715eb..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0919.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0919 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0919_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0919 *win = (struct winVREvent_t_0919 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0919_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0919 *win = (struct winVREvent_t_0919 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0919 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0919_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0919 *win = (struct winVRControllerState001_t_0919 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0919_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0919 *win = (struct winVRControllerState001_t_0919 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0919 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0919_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0919 *win = (struct winRenderModel_TextureMap_t_0919 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0919_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0919 *win = (struct winRenderModel_TextureMap_t_0919 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0919 *struct_RenderModel_TextureMap_t_0919_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0919 *win = (struct winRenderModel_TextureMap_t_0919 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0919_unwrap(winRenderModel_TextureMap_t_0919 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0919 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0919_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0919 *win = (struct winRenderModel_t_0919 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0919_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0919 *win = (struct winRenderModel_t_0919 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0919 *struct_RenderModel_t_0919_wrap(void *l) -{ - struct winRenderModel_t_0919 *win = (struct winRenderModel_t_0919 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0919_unwrap(winRenderModel_t_0919 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_092.cpp b/vrclient_x64/vrclient_x64/struct_converters_092.cpp deleted file mode 100644 index bacbd88e8..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_092.cpp +++ /dev/null @@ -1,178 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_092 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_092_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_092 *win = (struct winRenderModel_TextureMap_t_092 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_092_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_092 *win = (struct winRenderModel_TextureMap_t_092 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_092 *struct_RenderModel_TextureMap_t_092_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_092 *win = (struct winRenderModel_TextureMap_t_092 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_092_unwrap(winRenderModel_TextureMap_t_092 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_092 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_092 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_092_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_092 *win = (struct winRenderModel_t_092 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_092_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_092_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_092 *win = (struct winRenderModel_t_092 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_092_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_092 *struct_RenderModel_t_092_wrap(void *l) -{ - struct winRenderModel_t_092 *win = (struct winRenderModel_t_092 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_092_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_092_unwrap(winRenderModel_t_092 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_092 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_092_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_092 *win = (struct winVRControllerState001_t_092 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_092_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_092 *win = (struct winVRControllerState001_t_092 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_092 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_092_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_092 *win = (struct winCompositor_FrameTiming_092 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; -} - -void struct_Compositor_FrameTiming_092_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_092 *win = (struct winCompositor_FrameTiming_092 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp b/vrclient_x64/vrclient_x64/struct_converters_0920.cpp deleted file mode 100644 index ebf33d2ac..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_0920.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.20/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_0920 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_0920_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_0920 *win = (struct winVREvent_t_0920 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_0920_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_0920 *win = (struct winVREvent_t_0920 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_0920 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_0920_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_0920 *win = (struct winVRControllerState001_t_0920 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_0920_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_0920 *win = (struct winVRControllerState001_t_0920 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_0920 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_0920_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_0920 *win = (struct winRenderModel_TextureMap_t_0920 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_0920_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_0920 *win = (struct winRenderModel_TextureMap_t_0920 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_0920 *struct_RenderModel_TextureMap_t_0920_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_0920 *win = (struct winRenderModel_TextureMap_t_0920 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_0920_unwrap(winRenderModel_TextureMap_t_0920 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_0920 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_0920_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_0920 *win = (struct winRenderModel_t_0920 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_0920_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_0920 *win = (struct winRenderModel_t_0920 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_0920 *struct_RenderModel_t_0920_wrap(void *l) -{ - struct winRenderModel_t_0920 *win = (struct winRenderModel_t_0920 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_0920_unwrap(winRenderModel_t_0920 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_093.cpp b/vrclient_x64/vrclient_x64/struct_converters_093.cpp deleted file mode 100644 index c989b6b3d..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_093.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_0.9.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_093 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_093_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_093 *win = (struct winRenderModel_TextureMap_t_093 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_093_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_093 *win = (struct winRenderModel_TextureMap_t_093 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_093 *struct_RenderModel_TextureMap_t_093_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_093 *win = (struct winRenderModel_TextureMap_t_093 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_093_unwrap(winRenderModel_TextureMap_t_093 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_093 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_093 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_093_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_093 *win = (struct winRenderModel_t_093 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_093_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_093_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_093 *win = (struct winRenderModel_t_093 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_093_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_093 *struct_RenderModel_t_093_wrap(void *l) -{ - struct winRenderModel_t_093 *win = (struct winRenderModel_t_093 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_093_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_093_unwrap(winRenderModel_t_093 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_093 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_093_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_093 *win = (struct winVRControllerState001_t_093 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_093_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_093 *win = (struct winVRControllerState001_t_093 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_093 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_093_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_093 *win = (struct winCompositor_FrameTiming_093 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_093_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_093 *win = (struct winCompositor_FrameTiming_093 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_094.cpp b/vrclient_x64/vrclient_x64/struct_converters_094.cpp deleted file mode 100644 index f6f5991d7..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_094.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_094 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_094_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_094 *win = (struct winRenderModel_TextureMap_t_094 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_094_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_094 *win = (struct winRenderModel_TextureMap_t_094 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_094 *struct_RenderModel_TextureMap_t_094_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_094 *win = (struct winRenderModel_TextureMap_t_094 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_094_unwrap(winRenderModel_TextureMap_t_094 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_094 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_094 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_094_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_094 *win = (struct winRenderModel_t_094 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_094_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_094_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_094 *win = (struct winRenderModel_t_094 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_094_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_094 *struct_RenderModel_t_094_wrap(void *l) -{ - struct winRenderModel_t_094 *win = (struct winRenderModel_t_094 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_094_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_094_unwrap(winRenderModel_t_094 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_094 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_094_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_094 *win = (struct winVRControllerState001_t_094 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_094_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_094 *win = (struct winVRControllerState001_t_094 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_094 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_094_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_094 *win = (struct winCompositor_FrameTiming_094 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_094_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_094 *win = (struct winCompositor_FrameTiming_094 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_096.cpp b/vrclient_x64/vrclient_x64/struct_converters_096.cpp deleted file mode 100644 index 972437fe8..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_096.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.6/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_096 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_096_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_096 *win = (struct winRenderModel_TextureMap_t_096 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_096_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_096 *win = (struct winRenderModel_TextureMap_t_096 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_096 *struct_RenderModel_TextureMap_t_096_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_096 *win = (struct winRenderModel_TextureMap_t_096 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_096_unwrap(winRenderModel_TextureMap_t_096 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_096 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_096 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_096_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_096 *win = (struct winRenderModel_t_096 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_096_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_096_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_096 *win = (struct winRenderModel_t_096 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_096_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_096 *struct_RenderModel_t_096_wrap(void *l) -{ - struct winRenderModel_t_096 *win = (struct winRenderModel_t_096 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_096_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_096_unwrap(winRenderModel_t_096 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_096 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_096_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_096 *win = (struct winVRControllerState001_t_096 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_096_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_096 *win = (struct winVRControllerState001_t_096 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_096 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_096_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_096 *win = (struct winCompositor_FrameTiming_096 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_096_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_096 *win = (struct winCompositor_FrameTiming_096 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_097.cpp b/vrclient_x64/vrclient_x64/struct_converters_097.cpp deleted file mode 100644 index debbe7223..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_097.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_097 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_097_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_097 *win = (struct winRenderModel_TextureMap_t_097 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_097_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_097 *win = (struct winRenderModel_TextureMap_t_097 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_097 *struct_RenderModel_TextureMap_t_097_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_097 *win = (struct winRenderModel_TextureMap_t_097 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_097_unwrap(winRenderModel_TextureMap_t_097 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_097 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_097 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_097_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_097 *win = (struct winRenderModel_t_097 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_097_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_097_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_097 *win = (struct winRenderModel_t_097 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_097_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_097 *struct_RenderModel_t_097_wrap(void *l) -{ - struct winRenderModel_t_097 *win = (struct winRenderModel_t_097 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_097_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_097_unwrap(winRenderModel_t_097 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_097 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_097_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_097 *win = (struct winVRControllerState001_t_097 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_097_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_097 *win = (struct winVRControllerState001_t_097 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_097 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_097_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_097 *win = (struct winCompositor_FrameTiming_097 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_097_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_097 *win = (struct winCompositor_FrameTiming_097 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_098.cpp b/vrclient_x64/vrclient_x64/struct_converters_098.cpp deleted file mode 100644 index 96ef3cfec..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_098.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_098 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_098_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_098 *win = (struct winRenderModel_TextureMap_t_098 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_098_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_098 *win = (struct winRenderModel_TextureMap_t_098 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_098 *struct_RenderModel_TextureMap_t_098_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_098 *win = (struct winRenderModel_TextureMap_t_098 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_098_unwrap(winRenderModel_TextureMap_t_098 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_098 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_098 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_098_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_098 *win = (struct winRenderModel_t_098 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_098_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_098_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_098 *win = (struct winRenderModel_t_098 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_098_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_098 *struct_RenderModel_t_098_wrap(void *l) -{ - struct winRenderModel_t_098 *win = (struct winRenderModel_t_098 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_098_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_098_unwrap(winRenderModel_t_098 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_098 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_098_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_098 *win = (struct winVRControllerState001_t_098 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_098_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_098 *win = (struct winVRControllerState001_t_098 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_098 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_098_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_098 *win = (struct winCompositor_FrameTiming_098 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_098_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_098 *win = (struct winCompositor_FrameTiming_098 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_099.cpp b/vrclient_x64/vrclient_x64/struct_converters_099.cpp deleted file mode 100644 index 759c47fc2..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_099.cpp +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v0.9.9/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_099 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_099_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_099 *win = (struct winRenderModel_TextureMap_t_099 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_099_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_099 *win = (struct winRenderModel_TextureMap_t_099 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_099 *struct_RenderModel_TextureMap_t_099_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_099 *win = (struct winRenderModel_TextureMap_t_099 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_099_unwrap(winRenderModel_TextureMap_t_099 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_099 { - uint64_t ulInternalHandle; - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - winRenderModel_TextureMap_t_099 diffuseTexture __attribute__((aligned(4))); - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_099_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_099 *win = (struct winRenderModel_t_099 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_099_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); -} - -void struct_RenderModel_t_099_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_099 *win = (struct winRenderModel_t_099 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->ulInternalHandle = win->ulInternalHandle; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - struct_RenderModel_TextureMap_t_099_win_to_lin(&win->diffuseTexture, &lin->diffuseTexture); -} - -struct winRenderModel_t_099 *struct_RenderModel_t_099_wrap(void *l) -{ - struct winRenderModel_t_099 *win = (struct winRenderModel_t_099 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->ulInternalHandle = lin->ulInternalHandle; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - struct_RenderModel_TextureMap_t_099_lin_to_win(&lin->diffuseTexture, &win->diffuseTexture); - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_099_unwrap(winRenderModel_t_099 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_099 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_099_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_099 *win = (struct winVRControllerState001_t_099 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_099_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_099 *win = (struct winVRControllerState001_t_099 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_099 { - uint32_t size; - double frameStart; - float frameVSync; - uint32_t droppedFrames; - uint32_t frameIndex; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); - float prediction; - float m_flFrameIntervalMs; - float m_flSceneRenderCpuMs; - float m_flSceneRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorRenderGpuMs; - float m_flPresentCallCpuMs; - float m_flRunningStartMs; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_099_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_099 *win = (struct winCompositor_FrameTiming_099 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->size = sizeof(*win); - win->frameStart = lin->frameStart; - win->frameVSync = lin->frameVSync; - win->droppedFrames = lin->droppedFrames; - win->frameIndex = lin->frameIndex; - win->pose = lin->pose; - win->prediction = lin->prediction; - win->m_flFrameIntervalMs = lin->m_flFrameIntervalMs; - win->m_flSceneRenderCpuMs = lin->m_flSceneRenderCpuMs; - win->m_flSceneRenderGpuMs = lin->m_flSceneRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flRunningStartMs = lin->m_flRunningStartMs; -} - -void struct_Compositor_FrameTiming_099_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_099 *win = (struct winCompositor_FrameTiming_099 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->size = sizeof(*lin); - lin->frameStart = win->frameStart; - lin->frameVSync = win->frameVSync; - lin->droppedFrames = win->droppedFrames; - lin->frameIndex = win->frameIndex; - lin->pose = win->pose; - lin->prediction = win->prediction; - lin->m_flFrameIntervalMs = win->m_flFrameIntervalMs; - lin->m_flSceneRenderCpuMs = win->m_flSceneRenderCpuMs; - lin->m_flSceneRenderGpuMs = win->m_flSceneRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flRunningStartMs = win->m_flRunningStartMs; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_100.cpp b/vrclient_x64/vrclient_x64/struct_converters_100.cpp deleted file mode 100644 index 750d61dea..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_100.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.0/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_100 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_100_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_100 *win = (struct winVREvent_t_100 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_100_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_100 *win = (struct winVREvent_t_100 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_100 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_100_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_100 *win = (struct winVRControllerState001_t_100 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_100_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_100 *win = (struct winVRControllerState001_t_100 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_100 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_100_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_100 *win = (struct winRenderModel_TextureMap_t_100 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_100_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_100 *win = (struct winRenderModel_TextureMap_t_100 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_100 *struct_RenderModel_TextureMap_t_100_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_100 *win = (struct winRenderModel_TextureMap_t_100 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_100_unwrap(winRenderModel_TextureMap_t_100 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_100 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_100_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_100 *win = (struct winRenderModel_t_100 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_100_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_100 *win = (struct winRenderModel_t_100 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_100 *struct_RenderModel_t_100_wrap(void *l) -{ - struct winRenderModel_t_100 *win = (struct winRenderModel_t_100 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_100_unwrap(winRenderModel_t_100 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_101.cpp b/vrclient_x64/vrclient_x64/struct_converters_101.cpp deleted file mode 100644 index 86edf6ba6..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_101.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.1/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_101 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_101_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_101 *win = (struct winVREvent_t_101 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_101_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_101 *win = (struct winVREvent_t_101 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_101 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_101_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_101 *win = (struct winVRControllerState001_t_101 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_101_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_101 *win = (struct winVRControllerState001_t_101 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_101 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_101_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_101 *win = (struct winRenderModel_TextureMap_t_101 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_101_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_101 *win = (struct winRenderModel_TextureMap_t_101 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_101 *struct_RenderModel_TextureMap_t_101_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_101 *win = (struct winRenderModel_TextureMap_t_101 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_101_unwrap(winRenderModel_TextureMap_t_101 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_101 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_101_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_101 *win = (struct winRenderModel_t_101 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_101_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_101 *win = (struct winRenderModel_t_101 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_101 *struct_RenderModel_t_101_wrap(void *l) -{ - struct winRenderModel_t_101 *win = (struct winRenderModel_t_101 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_101_unwrap(winRenderModel_t_101 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp b/vrclient_x64/vrclient_x64/struct_converters_1010.cpp deleted file mode 100644 index 89baf0ff1..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1010.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1010 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1010_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1010 *win = (struct winVREvent_t_1010 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1010_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1010 *win = (struct winVREvent_t_1010 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1010 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1010_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1010 *win = (struct winVRControllerState001_t_1010 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1010_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1010 *win = (struct winVRControllerState001_t_1010 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1010 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1010_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1010 *win = (struct winRenderModel_TextureMap_t_1010 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1010_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1010 *win = (struct winRenderModel_TextureMap_t_1010 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1010 *struct_RenderModel_TextureMap_t_1010_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1010 *win = (struct winRenderModel_TextureMap_t_1010 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1010_unwrap(winRenderModel_TextureMap_t_1010 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1010 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1010_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1010 *win = (struct winRenderModel_t_1010 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1010_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1010 *win = (struct winRenderModel_t_1010 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1010 *struct_RenderModel_t_1010_wrap(void *l) -{ - struct winRenderModel_t_1010 *win = (struct winRenderModel_t_1010 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1010_unwrap(winRenderModel_t_1010 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp b/vrclient_x64/vrclient_x64/struct_converters_1011.cpp deleted file mode 100644 index 52a2959f5..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1011.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.11/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1011 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1011_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1011 *win = (struct winVREvent_t_1011 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1011_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1011 *win = (struct winVREvent_t_1011 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1011 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1011_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1011 *win = (struct winVRControllerState001_t_1011 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1011_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1011 *win = (struct winVRControllerState001_t_1011 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1011 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1011_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1011 *win = (struct winRenderModel_TextureMap_t_1011 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1011_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1011 *win = (struct winRenderModel_TextureMap_t_1011 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1011 *struct_RenderModel_TextureMap_t_1011_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1011 *win = (struct winRenderModel_TextureMap_t_1011 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1011_unwrap(winRenderModel_TextureMap_t_1011 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1011 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1011_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1011 *win = (struct winRenderModel_t_1011 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1011_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1011 *win = (struct winRenderModel_t_1011 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1011 *struct_RenderModel_t_1011_wrap(void *l) -{ - struct winRenderModel_t_1011 *win = (struct winRenderModel_t_1011 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1011_unwrap(winRenderModel_t_1011 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp b/vrclient_x64/vrclient_x64/struct_converters_1012.cpp deleted file mode 100644 index 19d22039e..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1012.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.12/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1012 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1012_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1012 *win = (struct winVREvent_t_1012 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1012_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1012 *win = (struct winVREvent_t_1012 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1012 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1012_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1012 *win = (struct winVRControllerState001_t_1012 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1012_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1012 *win = (struct winVRControllerState001_t_1012 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1012 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1012_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1012 *win = (struct winRenderModel_TextureMap_t_1012 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1012_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1012 *win = (struct winRenderModel_TextureMap_t_1012 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1012 *struct_RenderModel_TextureMap_t_1012_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1012 *win = (struct winRenderModel_TextureMap_t_1012 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1012_unwrap(winRenderModel_TextureMap_t_1012 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1012 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1012_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1012 *win = (struct winRenderModel_t_1012 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1012_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1012 *win = (struct winRenderModel_t_1012 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1012 *struct_RenderModel_t_1012_wrap(void *l) -{ - struct winRenderModel_t_1012 *win = (struct winRenderModel_t_1012 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1012_unwrap(winRenderModel_t_1012 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp b/vrclient_x64/vrclient_x64/struct_converters_1013.cpp deleted file mode 100644 index 0688fd833..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1013.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.13/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1013 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1013_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1013 *win = (struct winVREvent_t_1013 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1013_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1013 *win = (struct winVREvent_t_1013 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1013 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1013_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1013 *win = (struct winVRControllerState001_t_1013 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1013_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1013 *win = (struct winVRControllerState001_t_1013 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1013 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1013_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1013 *win = (struct winRenderModel_TextureMap_t_1013 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1013_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1013 *win = (struct winRenderModel_TextureMap_t_1013 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1013 *struct_RenderModel_TextureMap_t_1013_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1013 *win = (struct winRenderModel_TextureMap_t_1013 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1013_unwrap(winRenderModel_TextureMap_t_1013 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1013 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1013_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1013 *win = (struct winRenderModel_t_1013 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1013_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1013 *win = (struct winRenderModel_t_1013 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1013 *struct_RenderModel_t_1013_wrap(void *l) -{ - struct winRenderModel_t_1013 *win = (struct winRenderModel_t_1013 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1013_unwrap(winRenderModel_t_1013 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp b/vrclient_x64/vrclient_x64/struct_converters_1014.cpp deleted file mode 100644 index 2bca74209..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1014.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.14/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1014 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1014_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1014 *win = (struct winVREvent_t_1014 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1014_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1014 *win = (struct winVREvent_t_1014 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1014 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1014_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1014 *win = (struct winVRControllerState001_t_1014 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1014_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1014 *win = (struct winVRControllerState001_t_1014 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1014 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1014_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1014 *win = (struct winRenderModel_TextureMap_t_1014 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1014_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1014 *win = (struct winRenderModel_TextureMap_t_1014 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1014 *struct_RenderModel_TextureMap_t_1014_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1014 *win = (struct winRenderModel_TextureMap_t_1014 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1014_unwrap(winRenderModel_TextureMap_t_1014 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1014 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1014_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1014 *win = (struct winRenderModel_t_1014 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1014_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1014 *win = (struct winRenderModel_t_1014 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1014 *struct_RenderModel_t_1014_wrap(void *l) -{ - struct winRenderModel_t_1014 *win = (struct winRenderModel_t_1014 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1014_unwrap(winRenderModel_t_1014 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp b/vrclient_x64/vrclient_x64/struct_converters_1015.cpp deleted file mode 100644 index b04ea41a7..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1015.cpp +++ /dev/null @@ -1,293 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1015 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1015 *win = (struct winVREvent_t_1015 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1015_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1015 *win = (struct winVREvent_t_1015 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1015 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1015 *win = (struct winVRControllerState001_t_1015 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1015_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1015 *win = (struct winVRControllerState001_t_1015 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1015 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1015_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1015 *win = (struct winRenderModel_TextureMap_t_1015 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1015_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1015 *win = (struct winRenderModel_TextureMap_t_1015 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1015 *struct_RenderModel_TextureMap_t_1015_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1015 *win = (struct winRenderModel_TextureMap_t_1015 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1015_unwrap(winRenderModel_TextureMap_t_1015 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1015 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1015_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1015 *win = (struct winRenderModel_t_1015 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1015_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1015 *win = (struct winRenderModel_t_1015 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1015 *struct_RenderModel_t_1015_wrap(void *l) -{ - struct winRenderModel_t_1015 *win = (struct winRenderModel_t_1015 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1015_unwrap(winRenderModel_t_1015 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1015 *win = (struct winInputAnalogActionData_t_1015 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1015_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1015 *win = (struct winInputAnalogActionData_t_1015 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1015 *win = (struct winInputDigitalActionData_t_1015 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1015_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1015 *win = (struct winInputDigitalActionData_t_1015 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1015_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1015 *win = (struct winInputPoseActionData_t_1015 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1015_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1015 *win = (struct winInputPoseActionData_t_1015 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletonActionData_t_1015 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletonActionData_t_1015_lin_to_win(void *l, void *w) -{ - struct winInputSkeletonActionData_t_1015 *win = (struct winInputSkeletonActionData_t_1015 *)w; - InputSkeletonActionData_t *lin = (InputSkeletonActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletonActionData_t_1015_win_to_lin(void *w, void *l) -{ - struct winInputSkeletonActionData_t_1015 *win = (struct winInputSkeletonActionData_t_1015 *)w; - InputSkeletonActionData_t *lin = (InputSkeletonActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp b/vrclient_x64/vrclient_x64/struct_converters_1016.cpp deleted file mode 100644 index 9fd2b16ad..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1016.cpp +++ /dev/null @@ -1,296 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1016 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1016 *win = (struct winVREvent_t_1016 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1016_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1016 *win = (struct winVREvent_t_1016 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1016 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1016 *win = (struct winVRControllerState001_t_1016 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1016_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1016 *win = (struct winVRControllerState001_t_1016 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1016 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1016_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1016 *win = (struct winRenderModel_TextureMap_t_1016 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1016_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1016 *win = (struct winRenderModel_TextureMap_t_1016 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1016 *struct_RenderModel_TextureMap_t_1016_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1016 *win = (struct winRenderModel_TextureMap_t_1016 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1016_unwrap(winRenderModel_TextureMap_t_1016 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1016 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1016_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1016 *win = (struct winRenderModel_t_1016 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1016_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1016 *win = (struct winRenderModel_t_1016 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1016 *struct_RenderModel_t_1016_wrap(void *l) -{ - struct winRenderModel_t_1016 *win = (struct winRenderModel_t_1016 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1016_unwrap(winRenderModel_t_1016 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1016 *win = (struct winInputAnalogActionData_t_1016 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1016_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1016 *win = (struct winInputAnalogActionData_t_1016 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1016 *win = (struct winInputDigitalActionData_t_1016 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1016_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1016 *win = (struct winInputDigitalActionData_t_1016 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1016 *win = (struct winInputPoseActionData_t_1016 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1016_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1016 *win = (struct winInputPoseActionData_t_1016 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1016 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - uint32_t boneCount; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1016_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1016 *win = (struct winInputSkeletalActionData_t_1016 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->boneCount = lin->boneCount; -} - -void struct_InputSkeletalActionData_t_1016_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1016 *win = (struct winInputSkeletalActionData_t_1016 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->boneCount = win->boneCount; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp b/vrclient_x64/vrclient_x64/struct_converters_1017.cpp deleted file mode 100644 index 9e932016b..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1017.cpp +++ /dev/null @@ -1,334 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1017 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1017 *win = (struct winVREvent_t_1017 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1017_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1017 *win = (struct winVREvent_t_1017 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1017 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1017 *win = (struct winVRControllerState001_t_1017 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1017_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1017 *win = (struct winVRControllerState001_t_1017 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1017 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1017 *win = (struct winCameraVideoStreamFrameHeader_t_1017 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1017_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1017 *win = (struct winCameraVideoStreamFrameHeader_t_1017 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1017 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1017_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1017 *win = (struct winRenderModel_TextureMap_t_1017 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1017_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1017 *win = (struct winRenderModel_TextureMap_t_1017 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1017 *struct_RenderModel_TextureMap_t_1017_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1017 *win = (struct winRenderModel_TextureMap_t_1017 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1017_unwrap(winRenderModel_TextureMap_t_1017 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1017 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1017_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1017 *win = (struct winRenderModel_t_1017 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1017_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1017 *win = (struct winRenderModel_t_1017 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1017 *struct_RenderModel_t_1017_wrap(void *l) -{ - struct winRenderModel_t_1017 *win = (struct winRenderModel_t_1017 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1017_unwrap(winRenderModel_t_1017 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1017 *win = (struct winInputAnalogActionData_t_1017 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1017_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1017 *win = (struct winInputAnalogActionData_t_1017 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1017 *win = (struct winInputDigitalActionData_t_1017 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1017_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1017 *win = (struct winInputDigitalActionData_t_1017 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1017 *win = (struct winInputPoseActionData_t_1017 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1017_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1017 *win = (struct winInputPoseActionData_t_1017 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1017 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - uint32_t boneCount; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1017_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1017 *win = (struct winInputSkeletalActionData_t_1017 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->boneCount = lin->boneCount; -} - -void struct_InputSkeletalActionData_t_1017_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1017 *win = (struct winInputSkeletalActionData_t_1017 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->boneCount = win->boneCount; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_102.cpp b/vrclient_x64/vrclient_x64/struct_converters_102.cpp deleted file mode 100644 index 18f8ebcca..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_102.cpp +++ /dev/null @@ -1,254 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.2/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_102 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_102_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_102 *win = (struct winVREvent_t_102 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_102_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_102 *win = (struct winVREvent_t_102 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_102 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_102_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_102 *win = (struct winVRControllerState001_t_102 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_102_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_102 *win = (struct winVRControllerState001_t_102 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_102 { - uint32_t m_nSize; - uint32_t m_nFrameIndex; - uint32_t m_nNumFramePresents; - uint32_t m_nNumDroppedFrames; - uint32_t m_nReprojectionFlags; - double m_flSystemTimeInSeconds; - float m_flPreSubmitGpuMs; - float m_flPostSubmitGpuMs; - float m_flTotalRenderGpuMs; - float m_flCompositorRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorIdleCpuMs; - float m_flClientFrameIntervalMs; - float m_flPresentCallCpuMs; - float m_flWaitForPresentCpuMs; - float m_flSubmitFrameMs; - float m_flWaitGetPosesCalledMs; - float m_flNewPosesReadyMs; - float m_flNewFrameReadyMs; - float m_flCompositorUpdateStartMs; - float m_flCompositorUpdateEndMs; - float m_flCompositorRenderStartMs; - vr::TrackedDevicePose_t m_HmdPose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_102_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_102 *win = (struct winCompositor_FrameTiming_102 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->m_nSize = sizeof(*win); - win->m_nFrameIndex = lin->m_nFrameIndex; - win->m_nNumFramePresents = lin->m_nNumFramePresents; - win->m_nNumDroppedFrames = lin->m_nNumDroppedFrames; - win->m_nReprojectionFlags = lin->m_nReprojectionFlags; - win->m_flSystemTimeInSeconds = lin->m_flSystemTimeInSeconds; - win->m_flPreSubmitGpuMs = lin->m_flPreSubmitGpuMs; - win->m_flPostSubmitGpuMs = lin->m_flPostSubmitGpuMs; - win->m_flTotalRenderGpuMs = lin->m_flTotalRenderGpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorIdleCpuMs = lin->m_flCompositorIdleCpuMs; - win->m_flClientFrameIntervalMs = lin->m_flClientFrameIntervalMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flWaitForPresentCpuMs = lin->m_flWaitForPresentCpuMs; - win->m_flSubmitFrameMs = lin->m_flSubmitFrameMs; - win->m_flWaitGetPosesCalledMs = lin->m_flWaitGetPosesCalledMs; - win->m_flNewPosesReadyMs = lin->m_flNewPosesReadyMs; - win->m_flNewFrameReadyMs = lin->m_flNewFrameReadyMs; - win->m_flCompositorUpdateStartMs = lin->m_flCompositorUpdateStartMs; - win->m_flCompositorUpdateEndMs = lin->m_flCompositorUpdateEndMs; - win->m_flCompositorRenderStartMs = lin->m_flCompositorRenderStartMs; - win->m_HmdPose = lin->m_HmdPose; -} - -void struct_Compositor_FrameTiming_102_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_102 *win = (struct winCompositor_FrameTiming_102 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->m_nSize = sizeof(*lin); - lin->m_nFrameIndex = win->m_nFrameIndex; - lin->m_nNumFramePresents = win->m_nNumFramePresents; - lin->m_nNumDroppedFrames = win->m_nNumDroppedFrames; - lin->m_nReprojectionFlags = win->m_nReprojectionFlags; - lin->m_flSystemTimeInSeconds = win->m_flSystemTimeInSeconds; - lin->m_flPreSubmitGpuMs = win->m_flPreSubmitGpuMs; - lin->m_flPostSubmitGpuMs = win->m_flPostSubmitGpuMs; - lin->m_flTotalRenderGpuMs = win->m_flTotalRenderGpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorIdleCpuMs = win->m_flCompositorIdleCpuMs; - lin->m_flClientFrameIntervalMs = win->m_flClientFrameIntervalMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flWaitForPresentCpuMs = win->m_flWaitForPresentCpuMs; - lin->m_flSubmitFrameMs = win->m_flSubmitFrameMs; - lin->m_flWaitGetPosesCalledMs = win->m_flWaitGetPosesCalledMs; - lin->m_flNewPosesReadyMs = win->m_flNewPosesReadyMs; - lin->m_flNewFrameReadyMs = win->m_flNewFrameReadyMs; - lin->m_flCompositorUpdateStartMs = win->m_flCompositorUpdateStartMs; - lin->m_flCompositorUpdateEndMs = win->m_flCompositorUpdateEndMs; - lin->m_flCompositorRenderStartMs = win->m_flCompositorRenderStartMs; - lin->m_HmdPose = win->m_HmdPose; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_102 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_102_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_102 *win = (struct winRenderModel_TextureMap_t_102 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_102_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_102 *win = (struct winRenderModel_TextureMap_t_102 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_102 *struct_RenderModel_TextureMap_t_102_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_102 *win = (struct winRenderModel_TextureMap_t_102 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_102_unwrap(winRenderModel_TextureMap_t_102 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_102 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_102_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_102 *win = (struct winRenderModel_t_102 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_102_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_102 *win = (struct winRenderModel_t_102 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_102 *struct_RenderModel_t_102_wrap(void *l) -{ - struct winRenderModel_t_102 *win = (struct winRenderModel_t_102 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_102_unwrap(winRenderModel_t_102 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_103.cpp b/vrclient_x64/vrclient_x64/struct_converters_103.cpp deleted file mode 100644 index 7e725e9f2..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_103.cpp +++ /dev/null @@ -1,254 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_103 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_103_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_103 *win = (struct winVREvent_t_103 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_103_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_103 *win = (struct winVREvent_t_103 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_103 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_103_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_103 *win = (struct winVRControllerState001_t_103 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_103_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_103 *win = (struct winVRControllerState001_t_103 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCompositor_FrameTiming_103 { - uint32_t m_nSize; - uint32_t m_nFrameIndex; - uint32_t m_nNumFramePresents; - uint32_t m_nNumDroppedFrames; - uint32_t m_nReprojectionFlags; - double m_flSystemTimeInSeconds; - float m_flPreSubmitGpuMs; - float m_flPostSubmitGpuMs; - float m_flTotalRenderGpuMs; - float m_flCompositorRenderGpuMs; - float m_flCompositorRenderCpuMs; - float m_flCompositorIdleCpuMs; - float m_flClientFrameIntervalMs; - float m_flPresentCallCpuMs; - float m_flWaitForPresentCpuMs; - float m_flSubmitFrameMs; - float m_flWaitGetPosesCalledMs; - float m_flNewPosesReadyMs; - float m_flNewFrameReadyMs; - float m_flCompositorUpdateStartMs; - float m_flCompositorUpdateEndMs; - float m_flCompositorRenderStartMs; - vr::TrackedDevicePose_t m_HmdPose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_Compositor_FrameTiming_103_lin_to_win(void *l, void *w) -{ - struct winCompositor_FrameTiming_103 *win = (struct winCompositor_FrameTiming_103 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - win->m_nSize = sizeof(*win); - win->m_nFrameIndex = lin->m_nFrameIndex; - win->m_nNumFramePresents = lin->m_nNumFramePresents; - win->m_nNumDroppedFrames = lin->m_nNumDroppedFrames; - win->m_nReprojectionFlags = lin->m_nReprojectionFlags; - win->m_flSystemTimeInSeconds = lin->m_flSystemTimeInSeconds; - win->m_flPreSubmitGpuMs = lin->m_flPreSubmitGpuMs; - win->m_flPostSubmitGpuMs = lin->m_flPostSubmitGpuMs; - win->m_flTotalRenderGpuMs = lin->m_flTotalRenderGpuMs; - win->m_flCompositorRenderGpuMs = lin->m_flCompositorRenderGpuMs; - win->m_flCompositorRenderCpuMs = lin->m_flCompositorRenderCpuMs; - win->m_flCompositorIdleCpuMs = lin->m_flCompositorIdleCpuMs; - win->m_flClientFrameIntervalMs = lin->m_flClientFrameIntervalMs; - win->m_flPresentCallCpuMs = lin->m_flPresentCallCpuMs; - win->m_flWaitForPresentCpuMs = lin->m_flWaitForPresentCpuMs; - win->m_flSubmitFrameMs = lin->m_flSubmitFrameMs; - win->m_flWaitGetPosesCalledMs = lin->m_flWaitGetPosesCalledMs; - win->m_flNewPosesReadyMs = lin->m_flNewPosesReadyMs; - win->m_flNewFrameReadyMs = lin->m_flNewFrameReadyMs; - win->m_flCompositorUpdateStartMs = lin->m_flCompositorUpdateStartMs; - win->m_flCompositorUpdateEndMs = lin->m_flCompositorUpdateEndMs; - win->m_flCompositorRenderStartMs = lin->m_flCompositorRenderStartMs; - win->m_HmdPose = lin->m_HmdPose; -} - -void struct_Compositor_FrameTiming_103_win_to_lin(void *w, void *l) -{ - struct winCompositor_FrameTiming_103 *win = (struct winCompositor_FrameTiming_103 *)w; - Compositor_FrameTiming *lin = (Compositor_FrameTiming *)l; - lin->m_nSize = sizeof(*lin); - lin->m_nFrameIndex = win->m_nFrameIndex; - lin->m_nNumFramePresents = win->m_nNumFramePresents; - lin->m_nNumDroppedFrames = win->m_nNumDroppedFrames; - lin->m_nReprojectionFlags = win->m_nReprojectionFlags; - lin->m_flSystemTimeInSeconds = win->m_flSystemTimeInSeconds; - lin->m_flPreSubmitGpuMs = win->m_flPreSubmitGpuMs; - lin->m_flPostSubmitGpuMs = win->m_flPostSubmitGpuMs; - lin->m_flTotalRenderGpuMs = win->m_flTotalRenderGpuMs; - lin->m_flCompositorRenderGpuMs = win->m_flCompositorRenderGpuMs; - lin->m_flCompositorRenderCpuMs = win->m_flCompositorRenderCpuMs; - lin->m_flCompositorIdleCpuMs = win->m_flCompositorIdleCpuMs; - lin->m_flClientFrameIntervalMs = win->m_flClientFrameIntervalMs; - lin->m_flPresentCallCpuMs = win->m_flPresentCallCpuMs; - lin->m_flWaitForPresentCpuMs = win->m_flWaitForPresentCpuMs; - lin->m_flSubmitFrameMs = win->m_flSubmitFrameMs; - lin->m_flWaitGetPosesCalledMs = win->m_flWaitGetPosesCalledMs; - lin->m_flNewPosesReadyMs = win->m_flNewPosesReadyMs; - lin->m_flNewFrameReadyMs = win->m_flNewFrameReadyMs; - lin->m_flCompositorUpdateStartMs = win->m_flCompositorUpdateStartMs; - lin->m_flCompositorUpdateEndMs = win->m_flCompositorUpdateEndMs; - lin->m_flCompositorRenderStartMs = win->m_flCompositorRenderStartMs; - lin->m_HmdPose = win->m_HmdPose; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_103 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_103_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_103 *win = (struct winRenderModel_TextureMap_t_103 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_103_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_103 *win = (struct winRenderModel_TextureMap_t_103 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_103 *struct_RenderModel_TextureMap_t_103_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_103 *win = (struct winRenderModel_TextureMap_t_103 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103_unwrap(winRenderModel_TextureMap_t_103 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_103 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_103_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_103 *win = (struct winRenderModel_t_103 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_103_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_103 *win = (struct winRenderModel_t_103 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_103 *struct_RenderModel_t_103_wrap(void *l) -{ - struct winRenderModel_t_103 *win = (struct winRenderModel_t_103 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_103_unwrap(winRenderModel_t_103 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp b/vrclient_x64/vrclient_x64/struct_converters_103a.cpp deleted file mode 100644 index fcb43c74c..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_103a.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.3a/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_103a { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_103a_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_103a *win = (struct winVREvent_t_103a *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_103a_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_103a *win = (struct winVREvent_t_103a *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_103a { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_103a_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_103a *win = (struct winVRControllerState001_t_103a *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_103a_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_103a *win = (struct winVRControllerState001_t_103a *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_103a { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_103a_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_103a *win = (struct winRenderModel_TextureMap_t_103a *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_103a_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_103a *win = (struct winRenderModel_TextureMap_t_103a *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_103a *struct_RenderModel_TextureMap_t_103a_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_103a *win = (struct winRenderModel_TextureMap_t_103a *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_103a_unwrap(winRenderModel_TextureMap_t_103a *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_103a { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_103a_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_103a *win = (struct winRenderModel_t_103a *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_103a_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_103a *win = (struct winRenderModel_t_103a *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_103a *struct_RenderModel_t_103a_wrap(void *l) -{ - struct winRenderModel_t_103a *win = (struct winRenderModel_t_103a *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_103a_unwrap(winRenderModel_t_103a *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_104.cpp b/vrclient_x64/vrclient_x64/struct_converters_104.cpp deleted file mode 100644 index 823c2aea5..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_104.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.4/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_104 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_104_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_104 *win = (struct winVREvent_t_104 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_104_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_104 *win = (struct winVREvent_t_104 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_104 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_104_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_104 *win = (struct winVRControllerState001_t_104 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_104_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_104 *win = (struct winVRControllerState001_t_104 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_104 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_104_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_104 *win = (struct winRenderModel_TextureMap_t_104 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_104_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_104 *win = (struct winRenderModel_TextureMap_t_104 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_104 *struct_RenderModel_TextureMap_t_104_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_104 *win = (struct winRenderModel_TextureMap_t_104 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_104_unwrap(winRenderModel_TextureMap_t_104 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_104 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_104_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_104 *win = (struct winRenderModel_t_104 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_104_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_104 *win = (struct winRenderModel_t_104 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_104 *struct_RenderModel_t_104_wrap(void *l) -{ - struct winRenderModel_t_104 *win = (struct winRenderModel_t_104 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_104_unwrap(winRenderModel_t_104 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_105.cpp b/vrclient_x64/vrclient_x64/struct_converters_105.cpp deleted file mode 100644 index cc57e987a..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_105.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.5/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_105 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_105_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_105 *win = (struct winVREvent_t_105 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_105_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_105 *win = (struct winVREvent_t_105 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_105 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_105_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_105 *win = (struct winVRControllerState001_t_105 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_105_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_105 *win = (struct winVRControllerState001_t_105 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_105 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_105_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_105 *win = (struct winRenderModel_TextureMap_t_105 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_105_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_105 *win = (struct winRenderModel_TextureMap_t_105 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_105 *struct_RenderModel_TextureMap_t_105_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_105 *win = (struct winRenderModel_TextureMap_t_105 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_105_unwrap(winRenderModel_TextureMap_t_105 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_105 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_105_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_105 *win = (struct winRenderModel_t_105 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_105_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_105 *win = (struct winRenderModel_t_105 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_105 *struct_RenderModel_t_105_wrap(void *l) -{ - struct winRenderModel_t_105 *win = (struct winRenderModel_t_105 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_105_unwrap(winRenderModel_t_105 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_106.cpp b/vrclient_x64/vrclient_x64/struct_converters_106.cpp deleted file mode 100644 index 5ce6323bb..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_106.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.6/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_106 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_106_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_106 *win = (struct winVREvent_t_106 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_106_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_106 *win = (struct winVREvent_t_106 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_106 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_106_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_106 *win = (struct winVRControllerState001_t_106 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_106_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_106 *win = (struct winVRControllerState001_t_106 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_106 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_106_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_106 *win = (struct winRenderModel_TextureMap_t_106 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_106_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_106 *win = (struct winRenderModel_TextureMap_t_106 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_106 *struct_RenderModel_TextureMap_t_106_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_106 *win = (struct winRenderModel_TextureMap_t_106 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_106_unwrap(winRenderModel_TextureMap_t_106 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_106 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_106_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_106 *win = (struct winRenderModel_t_106 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_106_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_106 *win = (struct winRenderModel_t_106 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_106 *struct_RenderModel_t_106_wrap(void *l) -{ - struct winRenderModel_t_106 *win = (struct winRenderModel_t_106 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_106_unwrap(winRenderModel_t_106 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_107.cpp b/vrclient_x64/vrclient_x64/struct_converters_107.cpp deleted file mode 100644 index 491f12241..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_107.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_107 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_107_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_107 *win = (struct winVREvent_t_107 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_107_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_107 *win = (struct winVREvent_t_107 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_107 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_107_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_107 *win = (struct winVRControllerState001_t_107 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_107_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_107 *win = (struct winVRControllerState001_t_107 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_107 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_107_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_107 *win = (struct winRenderModel_TextureMap_t_107 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_107_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_107 *win = (struct winRenderModel_TextureMap_t_107 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_107 *struct_RenderModel_TextureMap_t_107_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_107 *win = (struct winRenderModel_TextureMap_t_107 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_107_unwrap(winRenderModel_TextureMap_t_107 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_107 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_107_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_107 *win = (struct winRenderModel_t_107 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_107_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_107 *win = (struct winRenderModel_t_107 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_107 *struct_RenderModel_t_107_wrap(void *l) -{ - struct winRenderModel_t_107 *win = (struct winRenderModel_t_107 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_107_unwrap(winRenderModel_t_107 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_108.cpp b/vrclient_x64/vrclient_x64/struct_converters_108.cpp deleted file mode 100644 index 05c09ee38..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_108.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_108 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_108_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_108 *win = (struct winVREvent_t_108 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_108_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_108 *win = (struct winVREvent_t_108 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_108 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_108_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_108 *win = (struct winVRControllerState001_t_108 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_108_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_108 *win = (struct winVRControllerState001_t_108 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_108 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_108_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_108 *win = (struct winRenderModel_TextureMap_t_108 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_108_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_108 *win = (struct winRenderModel_TextureMap_t_108 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_108 *struct_RenderModel_TextureMap_t_108_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_108 *win = (struct winRenderModel_TextureMap_t_108 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_108_unwrap(winRenderModel_TextureMap_t_108 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_108 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_108_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_108 *win = (struct winRenderModel_t_108 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_108_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_108 *win = (struct winRenderModel_t_108 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_108 *struct_RenderModel_t_108_wrap(void *l) -{ - struct winRenderModel_t_108 *win = (struct winRenderModel_t_108 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_108_unwrap(winRenderModel_t_108 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_109.cpp b/vrclient_x64/vrclient_x64/struct_converters_109.cpp deleted file mode 100644 index af9d0e3e5..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_109.cpp +++ /dev/null @@ -1,168 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.0.9/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_109 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_109_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_109 *win = (struct winVREvent_t_109 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_109_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_109 *win = (struct winVREvent_t_109 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_109 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_109_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_109 *win = (struct winVRControllerState001_t_109 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_109_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_109 *win = (struct winVRControllerState001_t_109 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_109 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_109_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_109 *win = (struct winRenderModel_TextureMap_t_109 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_109_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_109 *win = (struct winRenderModel_TextureMap_t_109 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_109 *struct_RenderModel_TextureMap_t_109_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_109 *win = (struct winRenderModel_TextureMap_t_109 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_109_unwrap(winRenderModel_TextureMap_t_109 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_109 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_109_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_109 *win = (struct winRenderModel_t_109 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_109_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_109 *win = (struct winRenderModel_t_109 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_109 *struct_RenderModel_t_109_wrap(void *l) -{ - struct winRenderModel_t_109 *win = (struct winRenderModel_t_109 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_109_unwrap(winRenderModel_t_109 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11030.cpp b/vrclient_x64/vrclient_x64/struct_converters_11030.cpp deleted file mode 100644 index e787d7402..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11030.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.10.30/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_11030 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11030 *win = (struct winVREvent_t_11030 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11030_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_11030 *win = (struct winVREvent_t_11030 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11030 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11030 *win = (struct winVRControllerState001_t_11030 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11030_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_11030 *win = (struct winVRControllerState001_t_11030 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11030 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11030 *win = (struct winCameraVideoStreamFrameHeader_t_11030 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11030_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11030 *win = (struct winCameraVideoStreamFrameHeader_t_11030 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11030 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11030_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11030 *win = (struct winRenderModel_TextureMap_t_11030 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_11030_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11030 *win = (struct winRenderModel_TextureMap_t_11030 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_11030 *struct_RenderModel_TextureMap_t_11030_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_11030 *win = (struct winRenderModel_TextureMap_t_11030 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11030_unwrap(winRenderModel_TextureMap_t_11030 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11030 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11030_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11030 *win = (struct winRenderModel_t_11030 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11030_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_11030 *win = (struct winRenderModel_t_11030 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_11030 *struct_RenderModel_t_11030_wrap(void *l) -{ - struct winRenderModel_t_11030 *win = (struct winRenderModel_t_11030 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_11030_unwrap(winRenderModel_t_11030 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11030 *win = (struct winInputAnalogActionData_t_11030 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11030_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_11030 *win = (struct winInputAnalogActionData_t_11030 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11030 *win = (struct winInputDigitalActionData_t_11030 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11030_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_11030 *win = (struct winInputDigitalActionData_t_11030 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11030 *win = (struct winInputPoseActionData_t_11030 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11030_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_11030 *win = (struct winInputPoseActionData_t_11030 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11030 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11030_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11030 *win = (struct winInputSkeletalActionData_t_11030 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11030_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_11030 *win = (struct winInputSkeletalActionData_t_11030 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11111.cpp b/vrclient_x64/vrclient_x64/struct_converters_11111.cpp deleted file mode 100644 index c828dd419..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11111.cpp +++ /dev/null @@ -1,335 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.11.11/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_11111 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11111 *win = (struct winVREvent_t_11111 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11111_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_11111 *win = (struct winVREvent_t_11111 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11111 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11111 *win = (struct winVRControllerState001_t_11111 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11111_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_11111 *win = (struct winVRControllerState001_t_11111 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11111 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11111 *win = (struct winCameraVideoStreamFrameHeader_t_11111 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11111_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11111 *win = (struct winCameraVideoStreamFrameHeader_t_11111 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11111 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11111_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11111 *win = (struct winRenderModel_TextureMap_t_11111 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11111_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11111 *win = (struct winRenderModel_TextureMap_t_11111 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -struct winRenderModel_TextureMap_t_11111 *struct_RenderModel_TextureMap_t_11111_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_11111 *win = (struct winRenderModel_TextureMap_t_11111 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11111_unwrap(winRenderModel_TextureMap_t_11111 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11111 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11111_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11111 *win = (struct winRenderModel_t_11111 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11111_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_11111 *win = (struct winRenderModel_t_11111 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_11111 *struct_RenderModel_t_11111_wrap(void *l) -{ - struct winRenderModel_t_11111 *win = (struct winRenderModel_t_11111 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_11111_unwrap(winRenderModel_t_11111 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11111 *win = (struct winInputAnalogActionData_t_11111 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11111_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_11111 *win = (struct winInputAnalogActionData_t_11111 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11111 *win = (struct winInputDigitalActionData_t_11111 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11111_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_11111 *win = (struct winInputDigitalActionData_t_11111 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11111 *win = (struct winInputPoseActionData_t_11111 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11111_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_11111 *win = (struct winInputPoseActionData_t_11111 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11111 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11111_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11111 *win = (struct winInputSkeletalActionData_t_11111 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11111_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_11111 *win = (struct winInputSkeletalActionData_t_11111 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1125.cpp b/vrclient_x64/vrclient_x64/struct_converters_1125.cpp deleted file mode 100644 index ccfeaf5d4..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1125.cpp +++ /dev/null @@ -1,358 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.12.5/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1125 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1125_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1125 *win = (struct winVRVulkanTextureArrayData_t_1125 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1125_win_to_lin(void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1125 *win = (struct winVRVulkanTextureArrayData_t_1125 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1125 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1125 *win = (struct winVREvent_t_1125 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1125_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1125 *win = (struct winVREvent_t_1125 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1125 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1125 *win = (struct winVRControllerState001_t_1125 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1125_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1125 *win = (struct winVRControllerState001_t_1125 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1125 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1125 *win = (struct winCameraVideoStreamFrameHeader_t_1125 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1125_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1125 *win = (struct winCameraVideoStreamFrameHeader_t_1125 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1125 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1125_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1125 *win = (struct winRenderModel_TextureMap_t_1125 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_1125_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1125 *win = (struct winRenderModel_TextureMap_t_1125 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -struct winRenderModel_TextureMap_t_1125 *struct_RenderModel_TextureMap_t_1125_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1125 *win = (struct winRenderModel_TextureMap_t_1125 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1125_unwrap(winRenderModel_TextureMap_t_1125 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1125 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1125_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1125 *win = (struct winRenderModel_t_1125 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1125_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1125 *win = (struct winRenderModel_t_1125 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1125 *struct_RenderModel_t_1125_wrap(void *l) -{ - struct winRenderModel_t_1125 *win = (struct winRenderModel_t_1125 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1125_unwrap(winRenderModel_t_1125 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1125 *win = (struct winInputAnalogActionData_t_1125 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1125_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1125 *win = (struct winInputAnalogActionData_t_1125 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1125 *win = (struct winInputDigitalActionData_t_1125 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1125_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1125 *win = (struct winInputDigitalActionData_t_1125 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1125 *win = (struct winInputPoseActionData_t_1125 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1125_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1125 *win = (struct winInputPoseActionData_t_1125 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1125 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1125_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1125 *win = (struct winInputSkeletalActionData_t_1125 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1125_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1125 *win = (struct winInputSkeletalActionData_t_1125 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11310.cpp b/vrclient_x64/vrclient_x64/struct_converters_11310.cpp deleted file mode 100644 index 914d3827d..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11310.cpp +++ /dev/null @@ -1,358 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.13.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_11310 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_11310_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_11310 *win = (struct winVRVulkanTextureArrayData_t_11310 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_11310_win_to_lin(void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_11310 *win = (struct winVRVulkanTextureArrayData_t_11310 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_11310 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11310 *win = (struct winVREvent_t_11310 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11310_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_11310 *win = (struct winVREvent_t_11310 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11310 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11310 *win = (struct winVRControllerState001_t_11310 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11310_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_11310 *win = (struct winVRControllerState001_t_11310 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11310 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11310 *win = (struct winCameraVideoStreamFrameHeader_t_11310 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11310_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11310 *win = (struct winCameraVideoStreamFrameHeader_t_11310 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11310 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11310_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11310 *win = (struct winRenderModel_TextureMap_t_11310 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11310_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11310 *win = (struct winRenderModel_TextureMap_t_11310 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -struct winRenderModel_TextureMap_t_11310 *struct_RenderModel_TextureMap_t_11310_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_11310 *win = (struct winRenderModel_TextureMap_t_11310 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11310_unwrap(winRenderModel_TextureMap_t_11310 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11310 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11310_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11310 *win = (struct winRenderModel_t_11310 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11310_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_11310 *win = (struct winRenderModel_t_11310 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_11310 *struct_RenderModel_t_11310_wrap(void *l) -{ - struct winRenderModel_t_11310 *win = (struct winRenderModel_t_11310 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_11310_unwrap(winRenderModel_t_11310 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11310 *win = (struct winInputAnalogActionData_t_11310 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11310_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_11310 *win = (struct winInputAnalogActionData_t_11310 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11310 *win = (struct winInputDigitalActionData_t_11310 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11310_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_11310 *win = (struct winInputDigitalActionData_t_11310 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11310 *win = (struct winInputPoseActionData_t_11310 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11310_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_11310 *win = (struct winInputPoseActionData_t_11310 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11310 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11310_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11310 *win = (struct winInputSkeletalActionData_t_11310 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11310_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_11310 *win = (struct winInputSkeletalActionData_t_11310 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp b/vrclient_x64/vrclient_x64/struct_converters_113b.cpp deleted file mode 100644 index 9bc72200c..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_113b.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.1.3b/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_113b { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_113b *win = (struct winVREvent_t_113b *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_113b_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_113b *win = (struct winVREvent_t_113b *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_113b { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_113b *win = (struct winVRControllerState001_t_113b *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_113b_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_113b *win = (struct winVRControllerState001_t_113b *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_113b { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_113b *win = (struct winCameraVideoStreamFrameHeader_t_113b *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_113b_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_113b *win = (struct winCameraVideoStreamFrameHeader_t_113b *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_113b { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_113b_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_113b *win = (struct winRenderModel_TextureMap_t_113b *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_113b_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_113b *win = (struct winRenderModel_TextureMap_t_113b *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_113b *struct_RenderModel_TextureMap_t_113b_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_113b *win = (struct winRenderModel_TextureMap_t_113b *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_113b_unwrap(winRenderModel_TextureMap_t_113b *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_113b { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_113b_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_113b *win = (struct winRenderModel_t_113b *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_113b_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_113b *win = (struct winRenderModel_t_113b *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_113b *struct_RenderModel_t_113b_wrap(void *l) -{ - struct winRenderModel_t_113b *win = (struct winRenderModel_t_113b *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_113b_unwrap(winRenderModel_t_113b *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_113b *win = (struct winInputAnalogActionData_t_113b *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_113b_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_113b *win = (struct winInputAnalogActionData_t_113b *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_113b *win = (struct winInputDigitalActionData_t_113b *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_113b_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_113b *win = (struct winInputDigitalActionData_t_113b *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_113b *win = (struct winInputPoseActionData_t_113b *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_113b_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_113b *win = (struct winInputPoseActionData_t_113b *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_113b { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_113b_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_113b *win = (struct winInputSkeletalActionData_t_113b *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_113b_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_113b *win = (struct winInputSkeletalActionData_t_113b *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_11415.cpp b/vrclient_x64/vrclient_x64/struct_converters_11415.cpp deleted file mode 100644 index a5e695756..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_11415.cpp +++ /dev/null @@ -1,358 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.14.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_11415 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_11415_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_11415 *win = (struct winVRVulkanTextureArrayData_t_11415 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_11415_win_to_lin(void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_11415 *win = (struct winVRVulkanTextureArrayData_t_11415 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_11415 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_11415 *win = (struct winVREvent_t_11415 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_11415_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_11415 *win = (struct winVREvent_t_11415 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_11415 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_11415 *win = (struct winVRControllerState001_t_11415 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_11415_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_11415 *win = (struct winVRControllerState001_t_11415 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_11415 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_11415 *win = (struct winCameraVideoStreamFrameHeader_t_11415 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_11415_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_11415 *win = (struct winCameraVideoStreamFrameHeader_t_11415 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_11415 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_11415_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_11415 *win = (struct winRenderModel_TextureMap_t_11415 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_11415_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_11415 *win = (struct winRenderModel_TextureMap_t_11415 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -struct winRenderModel_TextureMap_t_11415 *struct_RenderModel_TextureMap_t_11415_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_11415 *win = (struct winRenderModel_TextureMap_t_11415 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_11415_unwrap(winRenderModel_TextureMap_t_11415 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_11415 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_11415_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_11415 *win = (struct winRenderModel_t_11415 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_11415_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_11415 *win = (struct winRenderModel_t_11415 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_11415 *struct_RenderModel_t_11415_wrap(void *l) -{ - struct winRenderModel_t_11415 *win = (struct winRenderModel_t_11415 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_11415_unwrap(winRenderModel_t_11415 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_11415 *win = (struct winInputAnalogActionData_t_11415 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_11415_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_11415 *win = (struct winInputAnalogActionData_t_11415 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_11415 *win = (struct winInputDigitalActionData_t_11415 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_11415_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_11415 *win = (struct winInputDigitalActionData_t_11415 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_11415 *win = (struct winInputPoseActionData_t_11415 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_11415_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_11415 *win = (struct winInputPoseActionData_t_11415 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_11415 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_11415_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_11415 *win = (struct winInputSkeletalActionData_t_11415 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_11415_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_11415 *win = (struct winInputSkeletalActionData_t_11415 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1168.cpp b/vrclient_x64/vrclient_x64/struct_converters_1168.cpp deleted file mode 100644 index 2ff2fbe81..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1168.cpp +++ /dev/null @@ -1,358 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.16.8/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1168 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1168_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1168 *win = (struct winVRVulkanTextureArrayData_t_1168 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1168_win_to_lin(void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1168 *win = (struct winVRVulkanTextureArrayData_t_1168 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1168 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1168 *win = (struct winVREvent_t_1168 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1168_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1168 *win = (struct winVREvent_t_1168 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1168 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1168 *win = (struct winVRControllerState001_t_1168 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1168_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1168 *win = (struct winVRControllerState001_t_1168 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1168 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1168 *win = (struct winCameraVideoStreamFrameHeader_t_1168 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1168_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1168 *win = (struct winCameraVideoStreamFrameHeader_t_1168 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1168 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1168_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1168 *win = (struct winRenderModel_TextureMap_t_1168 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; -} - -void struct_RenderModel_TextureMap_t_1168_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1168 *win = (struct winRenderModel_TextureMap_t_1168 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; -} - -struct winRenderModel_TextureMap_t_1168 *struct_RenderModel_TextureMap_t_1168_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1168 *win = (struct winRenderModel_TextureMap_t_1168 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1168_unwrap(winRenderModel_TextureMap_t_1168 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1168 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1168_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1168 *win = (struct winRenderModel_t_1168 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1168_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1168 *win = (struct winRenderModel_t_1168 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1168 *struct_RenderModel_t_1168_wrap(void *l) -{ - struct winRenderModel_t_1168 *win = (struct winRenderModel_t_1168 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1168_unwrap(winRenderModel_t_1168 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1168 *win = (struct winInputAnalogActionData_t_1168 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1168_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1168 *win = (struct winInputAnalogActionData_t_1168 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1168 *win = (struct winInputDigitalActionData_t_1168 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1168_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1168 *win = (struct winInputDigitalActionData_t_1168 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1168 *win = (struct winInputPoseActionData_t_1168 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1168_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1168 *win = (struct winInputPoseActionData_t_1168 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1168 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1168_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1168 *win = (struct winInputSkeletalActionData_t_1168 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1168_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1168 *win = (struct winInputSkeletalActionData_t_1168 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp b/vrclient_x64/vrclient_x64/struct_converters_1210.cpp deleted file mode 100644 index 7a92443a2..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1210.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.2.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1210 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1210 *win = (struct winVREvent_t_1210 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1210_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1210 *win = (struct winVREvent_t_1210 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1210 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1210 *win = (struct winVRControllerState001_t_1210 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1210_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1210 *win = (struct winVRControllerState001_t_1210 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1210 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1210 *win = (struct winCameraVideoStreamFrameHeader_t_1210 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1210_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1210 *win = (struct winCameraVideoStreamFrameHeader_t_1210 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1210 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1210_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1210 *win = (struct winRenderModel_TextureMap_t_1210 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1210_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1210 *win = (struct winRenderModel_TextureMap_t_1210 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1210 *struct_RenderModel_TextureMap_t_1210_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1210 *win = (struct winRenderModel_TextureMap_t_1210 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1210_unwrap(winRenderModel_TextureMap_t_1210 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1210 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1210_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1210 *win = (struct winRenderModel_t_1210 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1210_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1210 *win = (struct winRenderModel_t_1210 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1210 *struct_RenderModel_t_1210_wrap(void *l) -{ - struct winRenderModel_t_1210 *win = (struct winRenderModel_t_1210 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1210_unwrap(winRenderModel_t_1210 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1210 *win = (struct winInputAnalogActionData_t_1210 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1210_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1210 *win = (struct winInputAnalogActionData_t_1210 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1210 *win = (struct winInputDigitalActionData_t_1210 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1210_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1210 *win = (struct winInputDigitalActionData_t_1210 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1210 *win = (struct winInputPoseActionData_t_1210 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1210_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1210 *win = (struct winInputPoseActionData_t_1210 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1210 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1210_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1210 *win = (struct winInputSkeletalActionData_t_1210 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1210_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1210 *win = (struct winInputSkeletalActionData_t_1210 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1237.cpp b/vrclient_x64/vrclient_x64/struct_converters_1237.cpp deleted file mode 100644 index cfc2d85f5..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1237.cpp +++ /dev/null @@ -1,362 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.23.7/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVRVulkanTextureArrayData_t_1237 { - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRVulkanTextureArrayData_t_1237_lin_to_win(void *l, void *w) -{ - struct winVRVulkanTextureArrayData_t_1237 *win = (struct winVRVulkanTextureArrayData_t_1237 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - win->m_unArrayIndex = lin->m_unArrayIndex; - win->m_unArraySize = lin->m_unArraySize; -} - -void struct_VRVulkanTextureArrayData_t_1237_win_to_lin(void *w, void *l) -{ - struct winVRVulkanTextureArrayData_t_1237 *win = (struct winVRVulkanTextureArrayData_t_1237 *)w; - VRVulkanTextureArrayData_t *lin = (VRVulkanTextureArrayData_t *)l; - lin->m_unArrayIndex = win->m_unArrayIndex; - lin->m_unArraySize = win->m_unArraySize; -} - -#pragma pack(push, 8) -struct winVREvent_t_1237 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1237 *win = (struct winVREvent_t_1237 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1237_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1237 *win = (struct winVREvent_t_1237 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1237 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1237 *win = (struct winVRControllerState001_t_1237 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1237_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1237 *win = (struct winVRControllerState001_t_1237 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1237 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1237 *win = (struct winCameraVideoStreamFrameHeader_t_1237 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1237_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1237 *win = (struct winCameraVideoStreamFrameHeader_t_1237 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1237 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - vr::EVRRenderModelTextureFormat format; - uint16_t unMipLevels; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1237_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1237 *win = (struct winRenderModel_TextureMap_t_1237 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->unMipLevels = lin->unMipLevels; -} - -void struct_RenderModel_TextureMap_t_1237_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1237 *win = (struct winRenderModel_TextureMap_t_1237 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; - lin->format = win->format; - lin->unMipLevels = win->unMipLevels; -} - -struct winRenderModel_TextureMap_t_1237 *struct_RenderModel_TextureMap_t_1237_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1237 *win = (struct winRenderModel_TextureMap_t_1237 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->format = lin->format; - win->unMipLevels = lin->unMipLevels; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1237_unwrap(winRenderModel_TextureMap_t_1237 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1237 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1237_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1237 *win = (struct winRenderModel_t_1237 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1237_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1237 *win = (struct winRenderModel_t_1237 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1237 *struct_RenderModel_t_1237_wrap(void *l) -{ - struct winRenderModel_t_1237 *win = (struct winRenderModel_t_1237 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1237_unwrap(winRenderModel_t_1237 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1237 *win = (struct winInputAnalogActionData_t_1237 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1237_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1237 *win = (struct winInputAnalogActionData_t_1237 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1237 *win = (struct winInputDigitalActionData_t_1237 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1237_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1237 *win = (struct winInputDigitalActionData_t_1237 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1237 *win = (struct winInputPoseActionData_t_1237 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1237_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1237 *win = (struct winInputPoseActionData_t_1237 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1237 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1237_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1237 *win = (struct winInputSkeletalActionData_t_1237 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1237_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1237 *win = (struct winInputSkeletalActionData_t_1237 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp b/vrclient_x64/vrclient_x64/struct_converters_1322.cpp deleted file mode 100644 index 5d5680649..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1322.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.3.22/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1322 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1322 *win = (struct winVREvent_t_1322 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1322_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1322 *win = (struct winVREvent_t_1322 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1322 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1322 *win = (struct winVRControllerState001_t_1322 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1322_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1322 *win = (struct winVRControllerState001_t_1322 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1322 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1322 *win = (struct winCameraVideoStreamFrameHeader_t_1322 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1322_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1322 *win = (struct winCameraVideoStreamFrameHeader_t_1322 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1322 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1322_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1322 *win = (struct winRenderModel_TextureMap_t_1322 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1322_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1322 *win = (struct winRenderModel_TextureMap_t_1322 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1322 *struct_RenderModel_TextureMap_t_1322_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1322 *win = (struct winRenderModel_TextureMap_t_1322 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1322_unwrap(winRenderModel_TextureMap_t_1322 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1322 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1322_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1322 *win = (struct winRenderModel_t_1322 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1322_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1322 *win = (struct winRenderModel_t_1322 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1322 *struct_RenderModel_t_1322_wrap(void *l) -{ - struct winRenderModel_t_1322 *win = (struct winRenderModel_t_1322 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1322_unwrap(winRenderModel_t_1322 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1322 *win = (struct winInputAnalogActionData_t_1322 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1322_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1322 *win = (struct winInputAnalogActionData_t_1322 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1322 *win = (struct winInputDigitalActionData_t_1322 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1322_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1322 *win = (struct winInputDigitalActionData_t_1322 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1322 *win = (struct winInputPoseActionData_t_1322 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1322_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1322 *win = (struct winInputPoseActionData_t_1322 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1322 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1322_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1322 *win = (struct winInputSkeletalActionData_t_1322 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1322_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1322 *win = (struct winInputSkeletalActionData_t_1322 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp b/vrclient_x64/vrclient_x64/struct_converters_1418.cpp deleted file mode 100644 index 33acfa8de..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1418.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.4.18/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1418 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1418 *win = (struct winVREvent_t_1418 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1418_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1418 *win = (struct winVREvent_t_1418 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1418 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1418 *win = (struct winVRControllerState001_t_1418 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1418_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1418 *win = (struct winVRControllerState001_t_1418 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1418 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1418 *win = (struct winCameraVideoStreamFrameHeader_t_1418 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1418_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1418 *win = (struct winCameraVideoStreamFrameHeader_t_1418 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1418 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1418_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1418 *win = (struct winRenderModel_TextureMap_t_1418 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1418_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1418 *win = (struct winRenderModel_TextureMap_t_1418 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1418 *struct_RenderModel_TextureMap_t_1418_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1418 *win = (struct winRenderModel_TextureMap_t_1418 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1418_unwrap(winRenderModel_TextureMap_t_1418 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1418 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1418_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1418 *win = (struct winRenderModel_t_1418 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1418_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1418 *win = (struct winRenderModel_t_1418 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1418 *struct_RenderModel_t_1418_wrap(void *l) -{ - struct winRenderModel_t_1418 *win = (struct winRenderModel_t_1418 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1418_unwrap(winRenderModel_t_1418 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1418 *win = (struct winInputAnalogActionData_t_1418 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1418_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1418 *win = (struct winInputAnalogActionData_t_1418 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1418 *win = (struct winInputDigitalActionData_t_1418 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1418_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1418 *win = (struct winInputDigitalActionData_t_1418 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1418 *win = (struct winInputPoseActionData_t_1418 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1418_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1418 *win = (struct winInputPoseActionData_t_1418 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1418 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1418_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1418 *win = (struct winInputSkeletalActionData_t_1418 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1418_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1418 *win = (struct winInputSkeletalActionData_t_1418 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp b/vrclient_x64/vrclient_x64/struct_converters_1517.cpp deleted file mode 100644 index 7e2441465..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1517.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.5.17/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1517 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1517 *win = (struct winVREvent_t_1517 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1517_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1517 *win = (struct winVREvent_t_1517 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1517 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1517 *win = (struct winVRControllerState001_t_1517 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1517_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1517 *win = (struct winVRControllerState001_t_1517 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1517 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1517 *win = (struct winCameraVideoStreamFrameHeader_t_1517 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1517_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1517 *win = (struct winCameraVideoStreamFrameHeader_t_1517 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1517 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1517_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1517 *win = (struct winRenderModel_TextureMap_t_1517 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1517_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1517 *win = (struct winRenderModel_TextureMap_t_1517 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1517 *struct_RenderModel_TextureMap_t_1517_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1517 *win = (struct winRenderModel_TextureMap_t_1517 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1517_unwrap(winRenderModel_TextureMap_t_1517 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1517 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1517_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1517 *win = (struct winRenderModel_t_1517 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1517_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1517 *win = (struct winRenderModel_t_1517 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1517 *struct_RenderModel_t_1517_wrap(void *l) -{ - struct winRenderModel_t_1517 *win = (struct winRenderModel_t_1517 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1517_unwrap(winRenderModel_t_1517 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1517 *win = (struct winInputAnalogActionData_t_1517 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1517_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1517 *win = (struct winInputAnalogActionData_t_1517 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1517 *win = (struct winInputDigitalActionData_t_1517 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1517_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1517 *win = (struct winInputDigitalActionData_t_1517 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1517 *win = (struct winInputPoseActionData_t_1517 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1517_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1517 *win = (struct winInputPoseActionData_t_1517 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1517 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1517_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1517 *win = (struct winInputSkeletalActionData_t_1517 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1517_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1517 *win = (struct winInputSkeletalActionData_t_1517 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp b/vrclient_x64/vrclient_x64/struct_converters_1610.cpp deleted file mode 100644 index 2bbc55ef4..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1610.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.6.10/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1610 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1610 *win = (struct winVREvent_t_1610 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1610_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1610 *win = (struct winVREvent_t_1610 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1610 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1610 *win = (struct winVRControllerState001_t_1610 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1610_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1610 *win = (struct winVRControllerState001_t_1610 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1610 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t standingTrackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1610 *win = (struct winCameraVideoStreamFrameHeader_t_1610 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->standingTrackedDevicePose = lin->standingTrackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1610_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1610 *win = (struct winCameraVideoStreamFrameHeader_t_1610 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->standingTrackedDevicePose = win->standingTrackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1610 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1610_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1610 *win = (struct winRenderModel_TextureMap_t_1610 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1610_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1610 *win = (struct winRenderModel_TextureMap_t_1610 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1610 *struct_RenderModel_TextureMap_t_1610_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1610 *win = (struct winRenderModel_TextureMap_t_1610 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1610_unwrap(winRenderModel_TextureMap_t_1610 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1610 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1610_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1610 *win = (struct winRenderModel_t_1610 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1610_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1610 *win = (struct winRenderModel_t_1610 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1610 *struct_RenderModel_t_1610_wrap(void *l) -{ - struct winRenderModel_t_1610 *win = (struct winRenderModel_t_1610 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1610_unwrap(winRenderModel_t_1610 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1610 *win = (struct winInputAnalogActionData_t_1610 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1610_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1610 *win = (struct winInputAnalogActionData_t_1610 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1610 *win = (struct winInputDigitalActionData_t_1610 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1610_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1610 *win = (struct winInputDigitalActionData_t_1610 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1610 *win = (struct winInputPoseActionData_t_1610 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1610_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1610 *win = (struct winInputPoseActionData_t_1610 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1610 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1610_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1610 *win = (struct winInputSkeletalActionData_t_1610 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1610_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1610 *win = (struct winInputSkeletalActionData_t_1610 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1715.cpp b/vrclient_x64/vrclient_x64/struct_converters_1715.cpp deleted file mode 100644 index bca109e9a..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1715.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.7.15/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1715 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1715 *win = (struct winVREvent_t_1715 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1715_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1715 *win = (struct winVREvent_t_1715 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1715 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1715 *win = (struct winVRControllerState001_t_1715 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1715_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1715 *win = (struct winVRControllerState001_t_1715 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1715 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1715 *win = (struct winCameraVideoStreamFrameHeader_t_1715 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1715_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1715 *win = (struct winCameraVideoStreamFrameHeader_t_1715 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1715 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1715_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1715 *win = (struct winRenderModel_TextureMap_t_1715 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1715_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1715 *win = (struct winRenderModel_TextureMap_t_1715 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1715 *struct_RenderModel_TextureMap_t_1715_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1715 *win = (struct winRenderModel_TextureMap_t_1715 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1715_unwrap(winRenderModel_TextureMap_t_1715 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1715 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1715_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1715 *win = (struct winRenderModel_t_1715 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1715_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1715 *win = (struct winRenderModel_t_1715 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1715 *struct_RenderModel_t_1715_wrap(void *l) -{ - struct winRenderModel_t_1715 *win = (struct winRenderModel_t_1715 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1715_unwrap(winRenderModel_t_1715 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1715 *win = (struct winInputAnalogActionData_t_1715 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1715_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1715 *win = (struct winInputAnalogActionData_t_1715 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1715 *win = (struct winInputDigitalActionData_t_1715 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1715_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1715 *win = (struct winInputDigitalActionData_t_1715 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1715 *win = (struct winInputPoseActionData_t_1715 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1715_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1715 *win = (struct winInputPoseActionData_t_1715 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1715 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1715_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1715 *win = (struct winInputSkeletalActionData_t_1715 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1715_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1715 *win = (struct winInputSkeletalActionData_t_1715 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1819.cpp b/vrclient_x64/vrclient_x64/struct_converters_1819.cpp deleted file mode 100644 index a585b4607..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1819.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.8.19/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1819 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1819 *win = (struct winVREvent_t_1819 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1819_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1819 *win = (struct winVREvent_t_1819 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1819 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1819 *win = (struct winVRControllerState001_t_1819 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1819_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1819 *win = (struct winVRControllerState001_t_1819 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1819 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1819 *win = (struct winCameraVideoStreamFrameHeader_t_1819 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1819_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1819 *win = (struct winCameraVideoStreamFrameHeader_t_1819 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1819 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1819_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1819 *win = (struct winRenderModel_TextureMap_t_1819 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1819_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1819 *win = (struct winRenderModel_TextureMap_t_1819 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1819 *struct_RenderModel_TextureMap_t_1819_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1819 *win = (struct winRenderModel_TextureMap_t_1819 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1819_unwrap(winRenderModel_TextureMap_t_1819 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1819 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1819_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1819 *win = (struct winRenderModel_t_1819 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1819_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1819 *win = (struct winRenderModel_t_1819 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1819 *struct_RenderModel_t_1819_wrap(void *l) -{ - struct winRenderModel_t_1819 *win = (struct winRenderModel_t_1819 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1819_unwrap(winRenderModel_t_1819 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1819 *win = (struct winInputAnalogActionData_t_1819 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1819_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1819 *win = (struct winInputAnalogActionData_t_1819 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1819 *win = (struct winInputDigitalActionData_t_1819 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1819_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1819 *win = (struct winInputDigitalActionData_t_1819 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1819 *win = (struct winInputPoseActionData_t_1819 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1819_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1819 *win = (struct winInputPoseActionData_t_1819 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1819 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1819_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1819 *win = (struct winInputSkeletalActionData_t_1819 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1819_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1819 *win = (struct winInputSkeletalActionData_t_1819 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/struct_converters_1916.cpp b/vrclient_x64/vrclient_x64/struct_converters_1916.cpp deleted file mode 100644 index 8fe61587f..000000000 --- a/vrclient_x64/vrclient_x64/struct_converters_1916.cpp +++ /dev/null @@ -1,331 +0,0 @@ -#include -#include -#include "vrclient_private.h" -#include "vrclient_defs.h" -#include "openvr_v1.9.16/openvr.h" -using namespace vr; -extern "C" { -#include "struct_converters.h" -#pragma pack(push, 8) -struct winVREvent_t_1916 { - uint32_t eventType; - vr::TrackedDeviceIndex_t trackedDeviceIndex; - float eventAgeSeconds; - vr::VREvent_Data_t data __attribute__((aligned(8))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VREvent_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVREvent_t_1916 *win = (struct winVREvent_t_1916 *)w; - VREvent_t *lin = (VREvent_t *)l; - win->eventType = lin->eventType; - win->trackedDeviceIndex = lin->trackedDeviceIndex; - win->eventAgeSeconds = lin->eventAgeSeconds; - memcpy(&win->data, &lin->data, sz - (((char*)&win->data) - ((char*)win))); -} - -void struct_VREvent_t_1916_win_to_lin(void *w, void *l) -{ - struct winVREvent_t_1916 *win = (struct winVREvent_t_1916 *)w; - VREvent_t *lin = (VREvent_t *)l; - lin->eventType = win->eventType; - lin->trackedDeviceIndex = win->trackedDeviceIndex; - lin->eventAgeSeconds = win->eventAgeSeconds; - lin->data = win->data; -} - -#pragma pack(push, 8) -struct winVRControllerState001_t_1916 { - uint32_t unPacketNum; - uint64_t ulButtonPressed; - uint64_t ulButtonTouched; - vr::VRControllerAxis_t rAxis[5]; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_VRControllerState001_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winVRControllerState001_t_1916 *win = (struct winVRControllerState001_t_1916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - win->unPacketNum = lin->unPacketNum; - win->ulButtonPressed = lin->ulButtonPressed; - win->ulButtonTouched = lin->ulButtonTouched; - memcpy(win->rAxis, lin->rAxis, sizeof(win->rAxis)); -} - -void struct_VRControllerState001_t_1916_win_to_lin(void *w, void *l) -{ - struct winVRControllerState001_t_1916 *win = (struct winVRControllerState001_t_1916 *)w; - VRControllerState001_t *lin = (VRControllerState001_t *)l; - lin->unPacketNum = win->unPacketNum; - lin->ulButtonPressed = win->ulButtonPressed; - lin->ulButtonTouched = win->ulButtonTouched; - memcpy(lin->rAxis, win->rAxis, sizeof(lin->rAxis)); -} - -#pragma pack(push, 8) -struct winCameraVideoStreamFrameHeader_t_1916 { - vr::EVRTrackedCameraFrameType eFrameType; - uint32_t nWidth; - uint32_t nHeight; - uint32_t nBytesPerPixel; - uint32_t nFrameSequence; - vr::TrackedDevicePose_t trackedDevicePose __attribute__((aligned(4))); - uint64_t ulFrameExposureTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_CameraVideoStreamFrameHeader_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winCameraVideoStreamFrameHeader_t_1916 *win = (struct winCameraVideoStreamFrameHeader_t_1916 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - win->eFrameType = lin->eFrameType; - win->nWidth = lin->nWidth; - win->nHeight = lin->nHeight; - win->nBytesPerPixel = lin->nBytesPerPixel; - win->nFrameSequence = lin->nFrameSequence; - win->trackedDevicePose = lin->trackedDevicePose; - win->ulFrameExposureTime = lin->ulFrameExposureTime; -} - -void struct_CameraVideoStreamFrameHeader_t_1916_win_to_lin(void *w, void *l) -{ - struct winCameraVideoStreamFrameHeader_t_1916 *win = (struct winCameraVideoStreamFrameHeader_t_1916 *)w; - CameraVideoStreamFrameHeader_t *lin = (CameraVideoStreamFrameHeader_t *)l; - lin->eFrameType = win->eFrameType; - lin->nWidth = win->nWidth; - lin->nHeight = win->nHeight; - lin->nBytesPerPixel = win->nBytesPerPixel; - lin->nFrameSequence = win->nFrameSequence; - lin->trackedDevicePose = win->trackedDevicePose; - lin->ulFrameExposureTime = win->ulFrameExposureTime; -} - -#pragma pack(push, 8) -struct winRenderModel_TextureMap_t_1916 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; - - RenderModel_TextureMap_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_TextureMap_t_1916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_TextureMap_t_1916 *win = (struct winRenderModel_TextureMap_t_1916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; -} - -void struct_RenderModel_TextureMap_t_1916_win_to_lin(void *w, void *l) -{ - struct winRenderModel_TextureMap_t_1916 *win = (struct winRenderModel_TextureMap_t_1916 *)w; - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - lin->unWidth = win->unWidth; - lin->unHeight = win->unHeight; - lin->rubTextureMapData = win->rubTextureMapData; -} - -struct winRenderModel_TextureMap_t_1916 *struct_RenderModel_TextureMap_t_1916_wrap(void *l) -{ - struct winRenderModel_TextureMap_t_1916 *win = (struct winRenderModel_TextureMap_t_1916 *)malloc(sizeof(*win)); - RenderModel_TextureMap_t *lin = (RenderModel_TextureMap_t *)l; - win->unWidth = lin->unWidth; - win->unHeight = lin->unHeight; - win->rubTextureMapData = lin->rubTextureMapData; - win->linux_side = lin; - return win; -} - -struct RenderModel_TextureMap_t *struct_RenderModel_TextureMap_t_1916_unwrap(winRenderModel_TextureMap_t_1916 *w) -{ - RenderModel_TextureMap_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winRenderModel_t_1916 { - const vr::RenderModel_Vertex_t * rVertexData; - uint32_t unVertexCount; - const uint16_t * rIndexData; - uint32_t unTriangleCount; - vr::TextureID_t diffuseTextureId; - - RenderModel_t *linux_side; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_RenderModel_t_1916_lin_to_win(void *l, void *w) -{ - struct winRenderModel_t_1916 *win = (struct winRenderModel_t_1916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; -} - -void struct_RenderModel_t_1916_win_to_lin(void *w, void *l) -{ - struct winRenderModel_t_1916 *win = (struct winRenderModel_t_1916 *)w; - RenderModel_t *lin = (RenderModel_t *)l; - lin->rVertexData = win->rVertexData; - lin->unVertexCount = win->unVertexCount; - lin->rIndexData = win->rIndexData; - lin->unTriangleCount = win->unTriangleCount; - lin->diffuseTextureId = win->diffuseTextureId; -} - -struct winRenderModel_t_1916 *struct_RenderModel_t_1916_wrap(void *l) -{ - struct winRenderModel_t_1916 *win = (struct winRenderModel_t_1916 *)malloc(sizeof(*win)); - RenderModel_t *lin = (RenderModel_t *)l; - win->rVertexData = lin->rVertexData; - win->unVertexCount = lin->unVertexCount; - win->rIndexData = lin->rIndexData; - win->unTriangleCount = lin->unTriangleCount; - win->diffuseTextureId = lin->diffuseTextureId; - win->linux_side = lin; - return win; -} - -struct RenderModel_t *struct_RenderModel_t_1916_unwrap(winRenderModel_t_1916 *w) -{ - RenderModel_t *ret = w->linux_side; - free(w); - return ret; -} - -#pragma pack(push, 8) -struct winInputAnalogActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - float x; - float y; - float z; - float deltaX; - float deltaY; - float deltaZ; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputAnalogActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputAnalogActionData_t_1916 *win = (struct winInputAnalogActionData_t_1916 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->x = lin->x; - win->y = lin->y; - win->z = lin->z; - win->deltaX = lin->deltaX; - win->deltaY = lin->deltaY; - win->deltaZ = lin->deltaZ; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputAnalogActionData_t_1916_win_to_lin(void *w, void *l) -{ - struct winInputAnalogActionData_t_1916 *win = (struct winInputAnalogActionData_t_1916 *)w; - InputAnalogActionData_t *lin = (InputAnalogActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->x = win->x; - lin->y = win->y; - lin->z = win->z; - lin->deltaX = win->deltaX; - lin->deltaY = win->deltaY; - lin->deltaZ = win->deltaZ; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputDigitalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputDigitalActionData_t_1916 *win = (struct winInputDigitalActionData_t_1916 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->bState = lin->bState; - win->bChanged = lin->bChanged; - win->fUpdateTime = lin->fUpdateTime; -} - -void struct_InputDigitalActionData_t_1916_win_to_lin(void *w, void *l) -{ - struct winInputDigitalActionData_t_1916 *win = (struct winInputDigitalActionData_t_1916 *)w; - InputDigitalActionData_t *lin = (InputDigitalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->bState = win->bState; - lin->bChanged = win->bChanged; - lin->fUpdateTime = win->fUpdateTime; -} - -#pragma pack(push, 8) -struct winInputPoseActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; - vr::TrackedDevicePose_t pose __attribute__((aligned(4))); -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputPoseActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputPoseActionData_t_1916 *win = (struct winInputPoseActionData_t_1916 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; - win->pose = lin->pose; -} - -void struct_InputPoseActionData_t_1916_win_to_lin(void *w, void *l) -{ - struct winInputPoseActionData_t_1916 *win = (struct winInputPoseActionData_t_1916 *)w; - InputPoseActionData_t *lin = (InputPoseActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; - lin->pose = win->pose; -} - -#pragma pack(push, 8) -struct winInputSkeletalActionData_t_1916 { - bool bActive; - vr::VRInputValueHandle_t activeOrigin; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -void struct_InputSkeletalActionData_t_1916_lin_to_win(void *l, void *w, uint32_t sz) -{ - struct winInputSkeletalActionData_t_1916 *win = (struct winInputSkeletalActionData_t_1916 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - win->bActive = lin->bActive; - win->activeOrigin = lin->activeOrigin; -} - -void struct_InputSkeletalActionData_t_1916_win_to_lin(void *w, void *l) -{ - struct winInputSkeletalActionData_t_1916 *win = (struct winInputSkeletalActionData_t_1916 *)w; - InputSkeletalActionData_t *lin = (InputSkeletalActionData_t *)l; - lin->bActive = win->bActive; - lin->activeOrigin = win->activeOrigin; -} - - -} diff --git a/vrclient_x64/vrclient_x64/vrclient_defs.h b/vrclient_x64/vrclient_x64/vrclient_defs.h deleted file mode 100644 index 566630203..000000000 --- a/vrclient_x64/vrclient_x64/vrclient_defs.h +++ /dev/null @@ -1,340 +0,0 @@ -#ifdef __cplusplus -#include -#else -#ifndef bool -typedef char bool; /* 1 byte on modern visual studio c++ */ -#endif - -/* enums */ -typedef int - EVREye, - ETrackingUniverseOrigin, - ETrackedDeviceClass, - EDeviceActivityLevel, - ETrackedControllerRole, - ETrackedDeviceProperty, - ETrackedPropertyError, - EHiddenAreaMeshType, - EVREventType, - EVRControllerAxisType, - EVRFirmwareError, - EVRInitError, - EVRApplicationType, - EVRButtonId, - EVRCompositorError, - EVRApplicationError, - EVRApplicationProperty, - EVRApplicationTransitionState, - EVRSettingsError, - ChaperoneCalibrationState, - EChaperoneConfigFile, - EVRNotificationType, - EVRNotificationError, - EVRNotificationStyle, - EGamepadTextInputLineMode, - EOverlayDirection, - EColorSpace, - EGamepadTextInputMode, - VROverlayFlags, - VROverlayTransformType, - VROverlayInputMethod, - EDualAnalogWhich, - VRMessageOverlayResponse, - EVRTrackedCameraError, - EVRTrackedCameraFrameType, - EVRScreenshotError, - EVRScreenshotPropertyFilenames, - EVRScreenshotType, - Hmd_Eye, - TrackingUniverseOrigin, - TrackedDeviceClass, - TrackedDeviceProperty, - TrackedPropertyError, - VRFirmwareError, - EVRControllerEventOutputType, - VRCompositorError, - VRSubmitFlags_t, - Compositor_DeviceType, - NotificationError_t, - VROverlayError, - VROverlayVisibility, - ECameraVideoStreamFormat, - EVRInputError, - EIOBufferError, - EVRSkeletalTransformSpace, - EIOBufferMode, - EVRSkeletalMotionRange, - EVRSkeletalReferencePose, - EVRSkeletalTrackingLevel, - EVRSummaryType, - EVRSceneApplicationState, - HeadsetViewMode_t, - EVRState, - EVRRenderModelTextureFormat, - vrmb_typeb; - -typedef uint32_t DriverId_t; -typedef uint32_t TrackedDeviceIndex_t; -typedef uint32_t glUInt_t; -typedef uint32_t VRNotificationId; -typedef uint32_t ScreenshotHandle_t; -typedef int32_t glInt_t; -typedef int32_t TextureID_t; -typedef void *glSharedTextureHandle_t; -typedef uint64_t VROverlayHandle_t; -typedef uint64_t TrackedCameraHandle_t; -typedef uint32_t PropertyTypeTag_t; -typedef uint64_t PropertyContainerHandle_t; -typedef PropertyContainerHandle_t DriverHandle_t; -typedef uint64_t IOBufferHandle_t; -typedef uint64_t VRActionHandle_t; -typedef uint64_t VRActionSetHandle_t; -typedef uint64_t VRInputValueHandle_t; -typedef int32_t BoneIndex_t; -typedef uint64_t WebConsoleHandle_t; -typedef uint64_t vrmb_typea; - -/* never dereferenced */ -typedef struct VROverlayIntersectionParams_t VROverlayIntersectionParams_t; -typedef struct VROverlayIntersectionResults_t VROverlayIntersectionResults_t; -typedef struct RenderModel_ComponentState_t RenderModel_ComponentState_t; -typedef struct RenderModel_ControllerMode_State_t RenderModel_ControllerMode_State_t; -typedef struct RenderModel_t RenderModel_t; -typedef struct RenderModel_TextureMap_t RenderModel_TextureMap_t; -typedef struct TrackedDevicePose_t TrackedDevicePose_t; -typedef struct VREvent_t VREvent_t; -typedef struct Compositor_FrameTiming Compositor_FrameTiming; -typedef struct Compositor_CumulativeStats Compositor_CumulativeStats; -typedef struct Compositor_StageRenderSettings Compositor_StageRenderSettings; -typedef struct Compositor_BenchmarkResults Compositor_BenchmarkResults; -typedef struct AppOverrideKeys_t AppOverrideKeys_t; -typedef struct VROverlayIntersectionMaskPrimitive_t VROverlayIntersectionMaskPrimitive_t; -typedef struct NotificationBitmap_t NotificationBitmap_t; -typedef struct CameraVideoStreamFrameHeader_t CameraVideoStreamFrameHeader_t; -typedef struct Compositor_OverlaySettings Compositor_OverlaySettings; -typedef struct ChaperoneSoftBoundsInfo_t ChaperoneSoftBoundsInfo_t; -typedef struct ChaperoneSeatedBoundsInfo_t ChaperoneSeatedBoundsInfo_t; -typedef struct NotificationBitmap NotificationBitmap; -typedef struct ComponentState_t ComponentState_t; -typedef struct CameraVideoStreamFrame_t CameraVideoStreamFrame_t; -/* XXX VRControllerState_t is an alias for a versioned struct! */ -typedef struct VRControllerState_t VRControllerState_t; -typedef struct VkDevice_T VkDevice_T; -typedef struct VkPhysicalDevice_T VkPhysicalDevice_T; -typedef struct VkInstance_T VkInstance_T; -typedef struct VkQueue_T VkQueue_T; -typedef struct InputDigitalActionData_t InputDigitalActionData_t; -typedef struct InputSkeletonActionData_t InputSkeletonActionData_t; -typedef struct InputPoseActionData_t InputPoseActionData_t; -typedef struct InputAnalogActionData_t InputAnalogActionData_t; -typedef struct VRActiveActionSet_t VRActiveActionSet_t; -typedef struct VRBoneTransform_t VRBoneTransform_t; -typedef struct InputOriginInfo_t InputOriginInfo_t; -typedef struct InputSkeletalActionData_t InputSkeletalActionData_t; -typedef struct VRSkeletalSummaryData_t VRSkeletalSummaryData_t; -typedef struct InputBindingInfo_t InputBindingInfo_t; -typedef struct VRNativeDevice_t VRNativeDevice_t; -typedef struct VROverlayView_t VROverlayView_t; -typedef struct VROverlayProjection_t VROverlayProjection_t; - -/* dereferenced structs */ -typedef struct HmdMatrix34_t -{ - float m[3][4]; -} HmdMatrix34_t; - -typedef struct HmdMatrix44_t -{ - float m[4][4]; -} HmdMatrix44_t; - -typedef struct HmdVector3_t -{ - float v[3]; -} HmdVector3_t; - -typedef struct HmdVector4_t -{ - float v[4]; -} HmdVector4_t; - -typedef struct HmdVector3d_t -{ - double v[3]; -} HmdVector3d_t; - -typedef struct HmdVector2_t -{ - float v[2]; -} HmdVector2_t; - -typedef struct HmdQuaternion_t -{ - double w, x, y, z; -} HmdQuaternion_t; - -typedef struct HmdColor_t -{ - float r, g, b, a; -} HmdColor_t; - -typedef struct HmdQuad_t -{ - HmdVector3_t vCorners[ 4 ]; -} HmdQuad_t; - -typedef struct HmdRect2_t -{ - HmdVector2_t vTopLeft; - HmdVector2_t vBottomRight; -} HmdRect2_t; - -typedef struct DistortionCoordinates_t -{ - float rfRed[2]; - float rfGreen[2]; - float rfBlue[2]; -} DistortionCoordinates_t; - -typedef struct HiddenAreaMesh_t -{ - const HmdVector2_t *pVertexData; - uint32_t unTriangleCount; -} HiddenAreaMesh_t; - -typedef enum EGraphicsAPIConvention -{ - API_DirectX = 0, - API_OpenGL = 1, -} EGraphicsAPIConvention; - -typedef EGraphicsAPIConvention GraphicsAPIConvention; - -typedef struct VRTextureBounds_t -{ - float uMin, vMin; - float uMax, vMax; -} VRTextureBounds_t; - -typedef VRTextureBounds_t Compositor_TextureBounds; - -typedef enum ETextureType -{ - TextureType_DirectX = 0, // Handle is an ID3D11Texture - TextureType_OpenGL = 1, // Handle is an OpenGL texture name or an OpenGL render buffer name, depending on submit flags - TextureType_Vulkan = 2, // Handle is a pointer to a VRVulkanTextureData_t structure - TextureType_IOSurface = 3, // Handle is a macOS cross-process-sharable IOSurfaceRef - TextureType_DirectX12 = 4, // Handle is a pointer to a D3D12TextureData_t structure -} ETextureType; - -struct VRVulkanTextureData_t -{ - uint64_t m_nImage; // VkImage - VkDevice_T *m_pDevice; - VkPhysicalDevice_T *m_pPhysicalDevice; - VkInstance_T *m_pInstance; - VkQueue_T *m_pQueue; - uint32_t m_nQueueFamilyIndex; - uint32_t m_nWidth, m_nHeight, m_nFormat, m_nSampleCount; -}; - -struct VRVulkanTextureArrayData_t -{ - struct VRVulkanTextureData_t t; - uint32_t m_unArrayIndex; - uint32_t m_unArraySize; -}; - -typedef struct Texture_t -{ - void *handle; - ETextureType eType; - EColorSpace eColorSpace; -} Texture_t; - -typedef struct VRTextureWithPose_t -{ - Texture_t texture; - HmdMatrix34_t mDeviceToAbsoluteTracking; -} VRTextureWithPose_t; - -typedef struct VRTextureDepthInfo_t -{ - void* handle; - HmdMatrix44_t mProjection; - HmdVector2_t vRange; -} VRTextureDepthInfo_t; - -typedef struct VRTextureWithDepth_t -{ - Texture_t texture; - VRTextureDepthInfo_t depth; -} VRTextureWithDepth_t; - -typedef struct VRTextureWithPoseAndDepth_t -{ - Texture_t texture; - HmdMatrix34_t mDeviceToAbsoluteTracking; - VRTextureDepthInfo_t depth; -} VRTextureWithPoseAndDepth_t; - -typedef enum EVRSubmitFlags -{ - // Simple render path. App submits rendered left and right eye images with no lens distortion correction applied. - Submit_Default = 0x00, - - // App submits final left and right eye images with lens distortion already applied (lens distortion makes the images appear - // barrel distorted with chromatic aberration correction applied). The app would have used the data returned by - // vr::IVRSystem::ComputeDistortion() to apply the correct distortion to the rendered images before calling Submit(). - Submit_LensDistortionAlreadyApplied = 0x01, - - // If the texture pointer passed in is actually a renderbuffer (e.g. for MSAA in OpenGL) then set this flag. - Submit_GlRenderBuffer = 0x02, - - // Do not use - Submit_Reserved = 0x04, - - // Set to indicate that pTexture is a pointer to a VRTextureWithPose_t. - // This flag can be combined with Submit_TextureWithDepth to pass a VRTextureWithPoseAndDepth_t. - Submit_TextureWithPose = 0x08, - - // Set to indicate that pTexture is a pointer to a VRTextureWithDepth_t. - // This flag can be combined with Submit_TextureWithPose to pass a VRTextureWithPoseAndDepth_t. - Submit_TextureWithDepth = 0x10, - - // Set to indicate a discontinuity between this and the last frame. - // This will prevent motion smoothing from attempting to extrapolate using the pair. - Submit_FrameDiscontinuty = 0x20, - - // Set to indicate that pTexture->handle is a contains VRVulkanTextureArrayData_t - Submit_VulkanTextureWithArrayData = 0x40, - - // If the texture pointer passed in is an OpenGL Array texture, set this flag - Submit_GlArrayTexture = 0x80, - - // Do not use - Submit_Reserved2 = 0x8000, -} EVRSubmitFlags; - -typedef enum EVRCompositorTimingMode -{ - VRCompositorTimingMode_Implicit = 0, - VRCompositorTimingMode_Explicit_RuntimePerformsPostPresentHandoff = 1, - VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff = 2, -} EVRCompositorTimingMode; - -typedef enum EVRRenderModelError -{ - VRRenderModelError_None = 0, - VRRenderModelError_Loading = 100, - VRRenderModelError_NotSupported = 200, - VRRenderModelError_InvalidArg = 300, - VRRenderModelError_InvalidTexture = 400, -} EVRRenderModelError; - -typedef enum EVROverlayError -{ - VROverlayError_InvalidHandle = 11, -} EVROverlayError; - -#endif diff --git a/vrclient_x64/vrclient_x64/vrclient_main.c b/vrclient_x64/vrclient_x64/vrclient_main.c deleted file mode 100644 index 359649488..000000000 --- a/vrclient_x64/vrclient_x64/vrclient_main.c +++ /dev/null @@ -1,1704 +0,0 @@ -#include -#include -#include -#define __USE_GNU -#include -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "winnls.h" -#include "winternl.h" -#include "wine/debug.h" - -#include "vrclient_defs.h" -#include "vrclient_private.h" - -#include "initguid.h" - -#define COBJMACROS -#include "d3d11_4.h" - -#include "dxvk-interop.h" - -#include "flatapi.h" - -#include "cppIVRClientCore_IVRClientCore_003.h" -#include "cppIVRCompositor_IVRCompositor_021.h" -#include "cppIVRCompositor_IVRCompositor_022.h" - -/* 0918 is binary compatible with 1015 */ -typedef struct winRenderModel_t_0918 winRenderModel_t_0918; -typedef struct winRenderModel_TextureMap_t_0918 winRenderModel_TextureMap_t_0918; -#include "cppIVRRenderModels_IVRRenderModels_004.h" - -typedef struct winRenderModel_t_1015 winRenderModel_t_1015; -typedef struct winRenderModel_TextureMap_t_1015 winRenderModel_TextureMap_t_1015; -#include "cppIVRRenderModels_IVRRenderModels_005.h" - -/* this is converted to 1237 during load_linux_texture_map, so ensure new - * structure is compatible before updating this number */ -typedef struct winRenderModel_t_1237 winRenderModel_t_1237; -typedef struct winRenderModel_TextureMap_t_1237 winRenderModel_TextureMap_t_1237; -#include "cppIVRRenderModels_IVRRenderModels_006.h" - -#include "wine/unixlib.h" - -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -static void *vrclient_lib; -static struct -{ - ID3D11Device *d3d11_device; - IDXGIVkInteropDevice *dxvk_device; - BOOL d3d11_explicit_handoff, handoff_called; - void *client_core_linux_side; - -#ifndef __x86_64__ -/* Digital action state change fixup hack. */ - struct - { - VRActionHandle_t action; - VRInputValueHandle_t origin; - LARGE_INTEGER update_qpf_time; - BOOL previous_state; - } - digital_actions_state[128]; - unsigned int digital_action_count; - LARGE_INTEGER qpf_freq; -#endif -} -compositor_data; - -BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved) -{ - TRACE("(%p, %u, %p)\n", instance, reason, reserved); - - switch (reason) - { - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(instance); - break; - - case DLL_PROCESS_DETACH: - if (vrclient_lib) - { - if (compositor_data.client_core_linux_side) - { - cppIVRClientCore_IVRClientCore_003_Cleanup(compositor_data.client_core_linux_side); - compositor_data.client_core_linux_side = NULL; - } - dlclose(vrclient_lib); - vrclient_lib = NULL; - } - break; - } - - return TRUE; -} - -/* returns the number of bytes written to dst, not including the NUL terminator */ -unsigned int vrclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32_t dst_bytes) -{ - WCHAR *dosW; - uint32_t r; - - if(!dst || !dst_bytes) - return 0; - - if(!src || !api_result){ - *dst = 0; - return 0; - } - - dosW = wine_get_dos_file_name(src); - *dst = 0; - - if(!dosW){ - WARN("Unable to convert unix filename to DOS: %s\n", src); - return 0; - } - - r = WideCharToMultiByte(CP_ACP, 0, dosW, -1, dst, dst_bytes, - NULL, NULL); - - HeapFree(GetProcessHeap(), 0, dosW); - - return r == 0 ? 0 : r - 1; -} - -#define IS_ABSOLUTE(x) (*x == '/' || *x == '\\' || (*x && *(x + 1) == ':')) - -/* returns non-zero on success, zero on failure */ -bool vrclient_dos_path_to_unix_path(const char *src, char *dst) -{ - *dst = 0; - - if(!src || !*src) - return 0; - - if(IS_ABSOLUTE(src)){ - /* absolute path, use wine conversion */ - WCHAR srcW[PATH_MAX]; - char *unix_path; - uint32_t r; - - r = MultiByteToWideChar(CP_UNIXCP, 0, src, -1, srcW, PATH_MAX); - if(r == 0) - return 0; - - unix_path = wine_get_unix_file_name(srcW); - if(!unix_path){ - WARN("Unable to convert DOS filename to unix: %s\n", src); - return 0; - } - - if (!realpath(unix_path, dst)) - { - ERR("Could not get real path for %s.\n", unix_path); - strncpy(dst, unix_path, PATH_MAX); - } - - HeapFree(GetProcessHeap(), 0, unix_path); - }else{ - /* relative path, just fix up backslashes */ - const char *s; - char *d; - - for(s = src, d = dst; *src; ++s, ++d){ - if(*s == '\\') - *d = '/'; - else - *d = *s; - } - - *d = 0; - } - - return 1; -} - -static BOOL array_reserve(void **elements, SIZE_T *capacity, SIZE_T count, SIZE_T size) -{ - SIZE_T max_capacity, new_capacity; - void *new_elements; - - if (count <= *capacity) - return TRUE; - - max_capacity = ~(SIZE_T)0 / size; - if (count > max_capacity) - return FALSE; - - new_capacity = max(1, *capacity); - while (new_capacity < count && new_capacity <= max_capacity / 2) - new_capacity *= 2; - if (new_capacity < count) - new_capacity = count; - - if (!*elements) - new_elements = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, new_capacity * size); - else - new_elements = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, *elements, new_capacity * size); - if (!new_elements) - return FALSE; - - *elements = new_elements; - *capacity = new_capacity; - return TRUE; -} - -#include "win_constructors.h" -#include "win_destructors.h" - -typedef void (*pfn_dtor)(void *); - -static const struct { - const char *iface_version; - void *(*ctor)(void *); - void (*dtor)(void *); -} constructors[] = { -#include "win_constructors_table.dat" -}; - -void *create_win_interface(const char *name, void *linux_side) -{ - unsigned int i; - - TRACE("trying to create %s\n", name); - - if(!linux_side) - return NULL; - - for(i = 0; i < sizeof(constructors) / sizeof(*constructors); ++i){ - if(!strcmp(name, constructors[i].iface_version)) - return constructors[i].ctor(linux_side); - } - - ERR("Don't recognize interface name: %s\n", name); - - return NULL; -} - -static pfn_dtor get_win_destructor(const char *name) -{ - unsigned int i; - - for(i = 0; i < sizeof(constructors) / sizeof(*constructors); ++i){ - if(!strcmp(name, constructors[i].iface_version)) - return constructors[i].dtor; - } - - return NULL; -} - -static void *(*vrclient_HmdSystemFactory)(const char *name, int *return_code); -static void *(*vrclient_VRClientCoreFactory)(const char *name, int *return_code); - -static int load_vrclient(void) -{ - WCHAR pathW[PATH_MAX]; - char *pathU; - DWORD sz; - -#ifdef _WIN64 - static const char append_path[] = "/bin/linux64/vrclient.so"; -#else - static const char append_path[] = "/bin/vrclient.so"; -#endif - - if(vrclient_lib) - return 1; - - /* PROTON_VR_RUNTIME is provided by the proton setup script */ - if(!GetEnvironmentVariableW(L"PROTON_VR_RUNTIME", pathW, ARRAY_SIZE(pathW))) - { - DWORD type, size; - LSTATUS status; - HKEY vr_key; - - if ((status = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\VR", 0, KEY_READ, &vr_key))) - { - WINE_WARN("Could not create key, status %#x.\n", status); - return 0; - } - - size = sizeof(pathW); - if ((status = RegQueryValueExW(vr_key, L"PROTON_VR_RUNTIME", NULL, &type, (BYTE *)pathW, &size))) - { - WINE_WARN("Could not query value, status %#x.\n", status); - RegCloseKey(vr_key); - return 0; - } - if (type != REG_SZ) - { - WINE_ERR("Unexpected value type %#x.\n", type); - RegCloseKey(vr_key); - return 0; - } - RegCloseKey(vr_key); - } - - sz = WideCharToMultiByte(CP_UNIXCP, 0, pathW, -1, NULL, 0, NULL, NULL); - if(!sz) - { - ERR("Can't convert path to unixcp! %s\n", wine_dbgstr_w(pathW)); - return 0; - } - - pathU = HeapAlloc(GetProcessHeap(), 0, sz + sizeof(append_path)); - - sz = WideCharToMultiByte(CP_UNIXCP, 0, pathW, -1, pathU, sz, NULL, NULL); - if(!sz) - { - ERR("Can't convert path to unixcp! %s\n", wine_dbgstr_w(pathW)); - HeapFree(GetProcessHeap(), 0, pathU); - return 0; - } - - strcat(pathU, append_path); - - TRACE("got openvr runtime path: %s\n", pathU); - - vrclient_lib = dlopen(pathU, RTLD_NOW); - if(!vrclient_lib){ - TRACE("unable to load vrclient.so\n"); - HeapFree(GetProcessHeap(), 0, pathU); - return 0; - } - - vrclient_HmdSystemFactory = dlsym(vrclient_lib, "HmdSystemFactory"); - if(!vrclient_HmdSystemFactory){ - ERR("unable to load HmdSystemFactory method\n"); - HeapFree(GetProcessHeap(), 0, pathU); - return 0; - } - - vrclient_VRClientCoreFactory = dlsym(vrclient_lib, "VRClientCoreFactory"); - if(!vrclient_VRClientCoreFactory){ - ERR("unable to load VRClientCoreFactory method\n"); - HeapFree(GetProcessHeap(), 0, pathU); - return 0; - } - - HeapFree(GetProcessHeap(), 0, pathU); - return 1; -} - -void *CDECL HmdSystemFactory(const char *name, int *return_code) -{ - TRACE("name: %s, return_code: %p\n", name, return_code); - - if(!load_vrclient()) - return NULL; - - return create_win_interface(name, vrclient_HmdSystemFactory(name, return_code)); -} - -void *CDECL VRClientCoreFactory(const char *name, int *return_code) -{ - TRACE("name: %s, return_code: %p\n", name, return_code); - - if(!load_vrclient()) - return NULL; - - return create_win_interface(name, vrclient_VRClientCoreFactory(name, return_code)); -} - -static VkDevice_T *(WINAPI *get_native_VkDevice)(VkDevice_T *); -static VkInstance_T *(WINAPI *get_native_VkInstance)(VkInstance_T *); -static VkPhysicalDevice_T *(WINAPI *get_native_VkPhysicalDevice)(VkPhysicalDevice_T *); -static VkPhysicalDevice_T *(WINAPI *get_wrapped_VkPhysicalDevice)(VkInstance_T *, VkPhysicalDevice_T *); -static VkQueue_T *(WINAPI *get_native_VkQueue)(VkQueue_T *); - -static void *get_winevulkan_unix_lib_handle(HMODULE hvulkan) -{ - unixlib_handle_t unix_funcs; - NTSTATUS status; - Dl_info info; - - status = NtQueryVirtualMemory(GetCurrentProcess(), hvulkan, (MEMORY_INFORMATION_CLASS)1000 /*MemoryWineUnixFuncs*/, - &unix_funcs, sizeof(unix_funcs), NULL); - if (status) - { - WINE_ERR("NtQueryVirtualMemory status %#x.\n", (int)status); - return NULL; - } - if (!dladdr((void *)(ULONG_PTR)unix_funcs, &info)) - { - WINE_ERR("dladdr failed.\n"); - return NULL; - } - WINE_TRACE("path %s.\n", info.dli_fname); - return dlopen(info.dli_fname, RTLD_NOW); -} - -static void load_vk_unwrappers(void) -{ - static HMODULE h = NULL; - void *unix_handle; - - if(h) - /* already loaded */ - return; - - h = LoadLibraryA("winevulkan"); - if(!h){ - ERR("unable to load winevulkan\n"); - return; - } - - if (!(unix_handle = get_winevulkan_unix_lib_handle(h))) - { - ERR("Unable to open winevulkan.so.\n"); - return; - } - -#define L(name) \ - if (!(name = dlsym(unix_handle, "__wine_"#name))) \ - {\ - ERR("%s not found.\n", #name);\ - dlclose(unix_handle);\ - return;\ - } - - L(get_native_VkDevice); - L(get_native_VkInstance); - L(get_native_VkPhysicalDevice); - L(get_wrapped_VkPhysicalDevice); - L(get_native_VkQueue); -#undef L - - dlclose(unix_handle); -} - -static bool is_hmd_present_reg(void) -{ - DWORD type, value, wait_status, size; - DWORD is_hmd_present = 0; - LSTATUS status; - HANDLE event; - HKEY vr_key; - - if ((status = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\VR", 0, KEY_READ, &vr_key))) - { - WINE_ERR("Could not create key, status %#x.\n", status); - return FALSE; - } - - size = sizeof(value); - if ((status = RegQueryValueExA(vr_key, "state", NULL, &type, (BYTE *)&value, &size))) - { - WINE_ERR("Could not query value, status %#x.\n", status); - RegCloseKey(vr_key); - return FALSE; - } - if (type != REG_DWORD) - { - WINE_ERR("Unexpected value type %#x.\n", type); - RegCloseKey(vr_key); - return FALSE; - } - - if (value) - { - RegCloseKey(vr_key); - return value == 1; - } - - event = CreateEventA( NULL, FALSE, FALSE, NULL ); - while (1) - { - if (RegNotifyChangeKeyValue(vr_key, FALSE, REG_NOTIFY_CHANGE_LAST_SET, event, TRUE)) - { - WINE_ERR("Error registering registry change notification.\n"); - goto done; - } - size = sizeof(value); - if ((status = RegQueryValueExA(vr_key, "state", NULL, &type, (BYTE *)&value, &size))) - { - WINE_ERR("Could not query value, status %#x.\n", status); - goto done; - } - if (value) - break; - while ((wait_status = WaitForSingleObject(event, 1000)) == WAIT_TIMEOUT) - WINE_ERR("VR state wait timeout.\n"); - - if (wait_status != WAIT_OBJECT_0) - { - WINE_ERR("Got unexpected wait status %#x.\n", wait_status); - break; - } - } - - if (value != 1) - goto done; - - size = sizeof(is_hmd_present); - if ((status = RegQueryValueExA(vr_key, "is_hmd_present", NULL, &type, (BYTE *)&is_hmd_present, &size))) - WINE_ERR("Could not query is_hmd_present value, status %#x.\n", status); - -done: - CloseHandle(event); - RegCloseKey(vr_key); - return is_hmd_present; -} - -bool ivrclientcore_is_hmd_present(bool (*cpp_func)(void *), void *linux_side, unsigned int version, - struct client_core_data *user_data) -{ - TRACE("linux_side %p, compositor_data.client_core_linux_side %p.\n", - linux_side, compositor_data.client_core_linux_side); - - /* BIsHmdPresent() currently always returns FALSE on Linux if called before Init(). - * Return true if the value stored by steam.exe helper in registry says the HMD is presnt. */ - if (compositor_data.client_core_linux_side || !is_hmd_present_reg()) - return cpp_func(linux_side); - - return TRUE; -} - -EVRInitError ivrclientcore_002_init(EVRInitError (*cpp_func)(void *, EVRApplicationType), - void *linux_side, EVRApplicationType application_type, - unsigned int version, struct client_core_data *user_data) -{ - EVRInitError error; - - TRACE("%p, %#x\n", linux_side, application_type); - - InitializeCriticalSection(&user_data->critical_section); - - error = cpp_func(linux_side, application_type); - if (error) - WARN("error %#x\n", error); - return error; -} - -EVRInitError ivrclientcore_init(EVRInitError (*cpp_func)(void *, EVRApplicationType, const char *), - void *linux_side, EVRApplicationType application_type, const char *startup_info, - unsigned int version, struct client_core_data *user_data) -{ - char *startup_info_converted; - EVRInitError error; - - TRACE("%p, %#x, %p\n", linux_side, application_type, startup_info); - - startup_info_converted = json_convert_startup_info(startup_info); - InitializeCriticalSection(&user_data->critical_section); - - error = cpp_func(linux_side, application_type, startup_info_converted - ? startup_info_converted : startup_info); - - free(startup_info_converted); - - if (error) - WARN("error %#x\n", error); - else - compositor_data.client_core_linux_side = linux_side; - - return error; -} - -void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char *, EVRInitError *), - 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; - void *object; - - TRACE("%p, %p, %p\n", 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; - } - - if (!(win_object = create_win_interface(name_and_version, object))) - { - ERR("Failed to create win object %s.\n", name_and_version); - return NULL; - } - - if ((destructor = get_win_destructor(name_and_version))) - { - EnterCriticalSection(&user_data->critical_section); - if (array_reserve((void **)&user_data->created_interfaces, - &user_data->created_interfaces_size, user_data->created_interface_count + 1, - sizeof(*user_data->created_interfaces))) - { - iface = &user_data->created_interfaces[user_data->created_interface_count++]; - iface->object = win_object; - iface->dtor = destructor; - } - else - { - ERR("Failed to add interface to array.\n"); - } - LeaveCriticalSection(&user_data->critical_section); - } - - if (name_and_version && !strncmp(name_and_version, "FnTable:", 8)) - return *((void **)win_object); - return win_object; -} - -static void destroy_compositor_data(void) -{ - TRACE("Destroying compositor data.\n"); - memset(&compositor_data, 0, sizeof(compositor_data)); -} - -void ivrclientcore_cleanup(void (*cpp_func)(void *), void *linux_side, - unsigned int version, struct client_core_data *user_data) -{ - struct generic_interface *iface; - SIZE_T i; - - TRACE("%p\n", linux_side); - - EnterCriticalSection(&user_data->critical_section); - for (i = 0; i < user_data->created_interface_count; ++i) - { - iface = &user_data->created_interfaces[i]; - - iface->dtor(iface->object); - } - HeapFree(GetProcessHeap(), 0, user_data->created_interfaces); - user_data->created_interfaces = NULL; - user_data->created_interfaces_size = 0; - user_data->created_interface_count = 0; - LeaveCriticalSection(&user_data->critical_section); - - DeleteCriticalSection(&user_data->critical_section); - cpp_func(linux_side); - - destroy_compositor_data(); -} - -void get_dxgi_output_info(void *cpp_func, void *linux_side, - int32_t *adapter_idx, unsigned int version) -{ - TRACE("%p\n", adapter_idx); - *adapter_idx = 0; -} - -void get_dxgi_output_info2(void *cpp_func, void *linux_side, - int32_t *adapter_idx, int32_t *output_idx, unsigned int version) -{ - TRACE("%p, %p\n", adapter_idx, output_idx); - *adapter_idx = 0; - *output_idx = 0; -} - -void ivrsystem_016_get_output_device( - void (*cpp_func)(void *, uint64_t *, ETextureType), - void *linux_side, uint64_t *out_device, ETextureType type, - unsigned int version) -{ - cpp_func(linux_side, out_device, type); -} - -void ivrsystem_get_output_device( - void (*cpp_func)(void *, uint64_t *, ETextureType, VkInstance_T *), - void *linux_side, uint64_t *out_device, ETextureType type, - VkInstance_T *wrapped_instance, unsigned int version) -{ - switch(type){ - case TextureType_Vulkan: - { - VkInstance_T *native_instance; - - load_vk_unwrappers(); - - native_instance = get_native_VkInstance(wrapped_instance); - - cpp_func(linux_side, out_device, type, native_instance); - - *out_device = (uint64_t)(intptr_t)get_wrapped_VkPhysicalDevice(wrapped_instance, - (VkPhysicalDevice_T *)(intptr_t)*out_device); - - return; - } - default: - cpp_func(linux_side, out_device, type, wrapped_instance); - return; - } -} - -struct submit_data -{ - void *linux_side; - - EVRCompositorError (*submit)(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags); - - EVREye eye; - Texture_t texture; - VRTextureWithPose_t texture_pose; - VRTextureWithDepth_t texture_depth; - VRTextureWithPoseAndDepth_t texture_both; - VRTextureBounds_t bounds; - EVRSubmitFlags flags; -}; - -static CDECL void d3d11_texture_callback(unsigned int gl_texture, unsigned int gl_depth_texture, - const void *data, unsigned int data_size) -{ - const struct submit_data *submit_data = data; - VRTextureBounds_t bounds = submit_data->bounds; - VRTextureWithPoseAndDepth_t texture_both; - VRTextureWithDepth_t texture_depth; - VRTextureWithPose_t texture_pose; - VRCompositorError error = 0; - Texture_t texture; - void *tex; - - TRACE("texture %u, depth_texture %u, data {%p, %u}\n", - gl_texture, gl_depth_texture, data, data_size); - - switch (submit_data->flags & (Submit_TextureWithPose | Submit_TextureWithDepth)) - { - case 0: - texture = submit_data->texture; - texture.handle = (void *)(UINT_PTR)gl_texture; - texture.eType = TextureType_OpenGL; - tex = &texture; - break; - case Submit_TextureWithPose: - texture_pose = submit_data->texture_pose; - texture_pose.texture.handle = (void *)(UINT_PTR)gl_texture; - texture_pose.texture.eType = TextureType_OpenGL; - tex = &texture_pose; - break; - case Submit_TextureWithDepth: - texture_depth = submit_data->texture_depth; - texture_depth.texture.handle = (void *)(UINT_PTR)gl_texture; - texture_depth.texture.eType = TextureType_OpenGL; - texture_depth.depth.handle = (void *)(UINT_PTR)gl_depth_texture; - tex = &texture_depth; - break; - case Submit_TextureWithPose | Submit_TextureWithDepth: - texture_both = submit_data->texture_both; - texture_both.texture.handle = (void *)(UINT_PTR)gl_texture; - texture_both.texture.eType = TextureType_OpenGL; - texture_both.depth.handle = (void *)(UINT_PTR)gl_depth_texture; - tex = &texture_both; - break; - } - - error = submit_data->submit(submit_data->linux_side, submit_data->eye, - tex, &bounds, submit_data->flags); - if (error) - WARN("error %#x\n", error); -} - -void ivrcompositor_005_submit( - void (*cpp_func)(void *, Hmd_Eye, void *, Compositor_TextureBounds *), - void *linux_side, Hmd_Eye eye, void *texture, Compositor_TextureBounds *bounds, - unsigned int version) -{ - TRACE("%p, %#x, %p, %p\n", linux_side, eye, texture, bounds); - - return cpp_func(linux_side, eye, texture, bounds); -} - -VRCompositorError ivrcompositor_006_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, void *, VRTextureBounds_t *), - void *linux_side, Hmd_Eye eye, void *texture, VRTextureBounds_t *bounds, - unsigned int version) -{ - TRACE("%p, %#x, %p, %p\n", linux_side, eye, texture, bounds); - - return cpp_func(linux_side, eye, texture, bounds); -} - -VRCompositorError ivrcompositor_007_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *), - void *linux_side, Hmd_Eye eye, GraphicsAPIConvention api, void *texture, VRTextureBounds_t *bounds, - unsigned int version) -{ - TRACE("%p, %#x, %#x, %p, %p\n", linux_side, eye, api, texture, bounds); - - if (api == API_DirectX) - FIXME("Not implemented Direct3D API!\n"); - - return cpp_func(linux_side, eye, api, texture, bounds); -} - -VRCompositorError ivrcompositor_008_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, GraphicsAPIConvention, void *, - VRTextureBounds_t *, VRSubmitFlags_t), - void *linux_side, Hmd_Eye eye, GraphicsAPIConvention api, void *texture, - VRTextureBounds_t *bounds, VRSubmitFlags_t flags, - unsigned int version) -{ - TRACE("%p, %#x, %#x, %p, %p, %#x\n", linux_side, eye, api, texture, bounds, flags); - - if (api == API_DirectX) - FIXME("Not implemented Direct3D API!\n"); - - return cpp_func(linux_side, eye, api, texture, bounds, flags); -} - -static Texture_t vrclient_translate_texture_dxvk(Texture_t *texture, struct VRVulkanTextureData_t *vkdata, - IDXGIVkInteropSurface *dxvk_surface, IDXGIVkInteropDevice **p_dxvk_device, VkImageLayout *image_layout, - VkImageCreateInfo *image_info) -{ - struct Texture_t vktexture; - VkImage image_handle; - - dxvk_surface->lpVtbl->GetDevice(dxvk_surface, p_dxvk_device); - - (*p_dxvk_device)->lpVtbl->GetVulkanHandles(*p_dxvk_device, &vkdata->m_pInstance, - &vkdata->m_pPhysicalDevice, &vkdata->m_pDevice); - - (*p_dxvk_device)->lpVtbl->GetSubmissionQueue(*p_dxvk_device, &vkdata->m_pQueue, &vkdata->m_nQueueFamilyIndex); - - image_info->sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; - image_info->pNext = NULL; - - dxvk_surface->lpVtbl->GetVulkanImageInfo(dxvk_surface, &image_handle, image_layout, image_info); - - load_vk_unwrappers(); - - vkdata->m_nImage = (uint64_t)image_handle; - vkdata->m_pDevice = get_native_VkDevice(vkdata->m_pDevice); - vkdata->m_pPhysicalDevice = get_native_VkPhysicalDevice(vkdata->m_pPhysicalDevice); - vkdata->m_pInstance = get_native_VkInstance(vkdata->m_pInstance); - vkdata->m_pQueue = get_native_VkQueue(vkdata->m_pQueue); - vkdata->m_nWidth = image_info->extent.width; - vkdata->m_nHeight = image_info->extent.height; - vkdata->m_nFormat = image_info->format; - vkdata->m_nSampleCount = image_info->samples; - - vktexture = *texture; - vktexture.handle = vkdata; - vktexture.eType = TextureType_Vulkan; - - return vktexture; -} - -static EVROverlayError ivroverlay_set_overlay_texture_dxvk( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, Texture_t *), - void *linux_side, VROverlayHandle_t overlayHandle, Texture_t *texture, - unsigned int version, IDXGIVkInteropSurface *dxvk_surface) -{ - struct VRVulkanTextureData_t vkdata; - IDXGIVkInteropDevice *dxvk_device; - struct Texture_t vktexture; - - VkImageLayout image_layout; - VkImageCreateInfo image_info; - VkImageSubresourceRange subresources; - - EVRCompositorError err; - - vktexture = vrclient_translate_texture_dxvk(texture, &vkdata, dxvk_surface, &dxvk_device, &image_layout, &image_info); - - subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - subresources.baseMipLevel = 0; - subresources.levelCount = image_info.mipLevels; - subresources.baseArrayLayer = 0; - subresources.layerCount = image_info.arrayLayers; - - dxvk_device->lpVtbl->TransitionSurfaceLayout(dxvk_device, dxvk_surface, &subresources, - image_layout, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - dxvk_device->lpVtbl->FlushRenderingCommands(dxvk_device); - dxvk_device->lpVtbl->LockSubmissionQueue(dxvk_device); - - err = cpp_func(linux_side, overlayHandle, &vktexture); - - dxvk_device->lpVtbl->ReleaseSubmissionQueue(dxvk_device); - dxvk_device->lpVtbl->TransitionSurfaceLayout(dxvk_device, dxvk_surface, &subresources, - VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, image_layout); - - dxvk_device->lpVtbl->Release(dxvk_device); - dxvk_surface->lpVtbl->Release(dxvk_surface); - return err; -} - -static EVRCompositorError ivrcompositor_submit_dxvk( - EVRCompositorError (*cpp_func)(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags), - void *linux_side, EVREye eye, Texture_t *texture, VRTextureBounds_t *bounds, EVRSubmitFlags flags, - unsigned int version, IDXGIVkInteropSurface *dxvk_surface) -{ - static const EVRSubmitFlags supported_flags = Submit_LensDistortionAlreadyApplied | Submit_FrameDiscontinuty; - struct VRVulkanTextureArrayData_t vkdata; - IDXGIVkInteropDevice *dxvk_device; - struct Texture_t vktexture; - - VkImageLayout image_layout; - VkImageCreateInfo image_info; - VkImageSubresourceRange subresources; - - EVRCompositorError err; - - vktexture = vrclient_translate_texture_dxvk(texture, &vkdata.t, dxvk_surface, &dxvk_device, &image_layout, &image_info); - - compositor_data.dxvk_device = dxvk_device; - - if (flags & ~supported_flags) - FIXME("Unhandled flags %#x.\n", flags); - - if (image_info.arrayLayers > 1) - { - vkdata.m_unArrayIndex = eye; - vkdata.m_unArraySize = image_info.arrayLayers; - flags |= Submit_VulkanTextureWithArrayData; - } - - subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - subresources.baseMipLevel = 0; - subresources.levelCount = image_info.mipLevels; - subresources.baseArrayLayer = 0; - subresources.layerCount = image_info.arrayLayers; - - dxvk_device->lpVtbl->TransitionSurfaceLayout(dxvk_device, dxvk_surface, &subresources, - image_layout, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - dxvk_device->lpVtbl->FlushRenderingCommands(dxvk_device); - dxvk_device->lpVtbl->LockSubmissionQueue(dxvk_device); - - err = cpp_func(linux_side, eye, &vktexture, bounds, flags); - - dxvk_device->lpVtbl->ReleaseSubmissionQueue(dxvk_device); - dxvk_device->lpVtbl->TransitionSurfaceLayout(dxvk_device, dxvk_surface, &subresources, - VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, image_layout); - - dxvk_device->lpVtbl->Release(dxvk_device); - dxvk_surface->lpVtbl->Release(dxvk_surface); - return err; -} - -static EVROverlayError ivroverlay_set_overlay_texture_vulkan( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, Texture_t *), - void *linux_side, VROverlayHandle_t overlay_handle, Texture_t *texture, - unsigned int version) -{ - struct VRVulkanTextureData_t our_vkdata, *their_vkdata; - Texture_t our_texture; - - load_vk_unwrappers(); - - their_vkdata = texture->handle; - - our_vkdata = *their_vkdata; - our_vkdata.m_pDevice = get_native_VkDevice(our_vkdata.m_pDevice); - our_vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice(our_vkdata.m_pPhysicalDevice); - our_vkdata.m_pInstance = get_native_VkInstance(our_vkdata.m_pInstance); - our_vkdata.m_pQueue = get_native_VkQueue(our_vkdata.m_pQueue); - - our_texture = *texture; - our_texture.handle = &our_vkdata; - - return cpp_func(linux_side, overlay_handle, &our_texture); -} - -static EVRCompositorError ivrcompositor_submit_vulkan( - EVRCompositorError (*cpp_func)(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags), - void *linux_side, EVREye eye, Texture_t *texture, VRTextureBounds_t *bounds, EVRSubmitFlags flags, - unsigned int version) -{ - struct VRVulkanTextureData_t our_depth_vkdata, *their_vkdata; - struct VRVulkanTextureArrayData_t our_vkdata; - VRTextureWithPoseAndDepth_t our_both; - VRTextureWithDepth_t our_depth; - VRTextureWithPose_t our_pose; - Texture_t our_texture; - void *tex; - - load_vk_unwrappers(); - - their_vkdata = texture->handle; - - memcpy(&our_vkdata, their_vkdata, flags & Submit_VulkanTextureWithArrayData - ? sizeof(struct VRVulkanTextureArrayData_t) : sizeof(struct VRVulkanTextureData_t)); - - our_vkdata.t.m_pDevice = get_native_VkDevice(our_vkdata.t.m_pDevice); - our_vkdata.t.m_pPhysicalDevice = get_native_VkPhysicalDevice(our_vkdata.t.m_pPhysicalDevice); - our_vkdata.t.m_pInstance = get_native_VkInstance(our_vkdata.t.m_pInstance); - our_vkdata.t.m_pQueue = get_native_VkQueue(our_vkdata.t.m_pQueue); - - switch (flags & (Submit_TextureWithPose | Submit_TextureWithDepth)) - { - case 0: - our_texture = *texture; - our_texture.handle = &our_vkdata; - tex = &our_texture; - break; - - case Submit_TextureWithPose: - our_pose = *(VRTextureWithPose_t *)texture; - our_pose.texture.handle = &our_vkdata; - tex = &our_pose; - break; - - case Submit_TextureWithDepth: - our_depth = *(VRTextureWithDepth_t *)texture; - - our_depth.texture.handle = &our_vkdata; - - tex = &our_depth; - break; - - case Submit_TextureWithPose | Submit_TextureWithDepth: - our_both = *(VRTextureWithPoseAndDepth_t *)texture; - - our_both.texture.handle = &our_vkdata; - - their_vkdata = our_both.depth.handle; - our_depth_vkdata = *their_vkdata; - our_depth_vkdata.m_pDevice = get_native_VkDevice(our_depth_vkdata.m_pDevice); - our_depth_vkdata.m_pPhysicalDevice = get_native_VkPhysicalDevice(our_depth_vkdata.m_pPhysicalDevice); - our_depth_vkdata.m_pInstance = get_native_VkInstance(our_depth_vkdata.m_pInstance); - our_depth_vkdata.m_pQueue = get_native_VkQueue(our_depth_vkdata.m_pQueue); - - our_both.depth.handle = &our_depth_vkdata; - - tex = &our_both; - break; - } - - return cpp_func(linux_side, eye, tex, bounds, flags); -} - -EVROverlayError ivroverlay_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, Texture_t *), - void *linux_side, VROverlayHandle_t overlayHandle, Texture_t *texture, - unsigned int version) -{ - IUnknown *texture_iface; - HRESULT hr; - - TRACE("%p, overlayHandle = %#x, texture = %p\n", linux_side, overlayHandle, texture); - - switch (texture->eType) - { - case TextureType_DirectX: - TRACE("D3D11\n"); - - if (!texture->handle) { - WARN("No D3D11 texture %p.\n", texture); - return cpp_func(linux_side, overlayHandle, texture); - } - - texture_iface = texture->handle; - - IDXGIVkInteropSurface *dxvk_surface; - if (SUCCEEDED(hr = texture_iface->lpVtbl->QueryInterface(texture_iface, &IID_IDXGIVkInteropSurface, (void **)&dxvk_surface))) { - return ivroverlay_set_overlay_texture_dxvk(cpp_func, linux_side, overlayHandle, texture, version, dxvk_surface); - } - - WARN("Invalid D3D11 texture %p.\n", texture); - return cpp_func(linux_side, overlayHandle, texture); - case TextureType_Vulkan: - TRACE("Vulkan\n"); - return ivroverlay_set_overlay_texture_vulkan(cpp_func, linux_side, overlayHandle, texture, version); - default: - return cpp_func(linux_side, overlayHandle, texture); - } -} - -EVROverlayError ivroverlay_005_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, GraphicsAPIConvention, void *), - void *linux_side, VROverlayHandle_t overlayHandle, GraphicsAPIConvention api, void *texture, - unsigned int version) -{ - /* hopefully no one actually uses this old interface... Vulkan support - * wasn't added until later; how can we pass in a DirectX texture? */ - FIXME("unimplemented!\n"); - return VROverlayError_InvalidHandle; -} - -EVROverlayError ivroverlay_001_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, void *), - void *linux_side, VROverlayHandle_t overlayHandle, void *texture, - unsigned int version) -{ - /* probably no one actually uses this old interface... */ - FIXME("unimplemented!\n"); - return VROverlayError_InvalidHandle; -} - -EVRCompositorError ivrcompositor_submit( - EVRCompositorError (*cpp_func)(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags), - void *linux_side, EVREye eye, Texture_t *texture, VRTextureBounds_t *bounds, EVRSubmitFlags flags, - unsigned int version) -{ - IDXGIVkInteropSurface *dxvk_surface; - IUnknown *texture_iface; - HRESULT hr; - - TRACE("%p, %#x, %p, %p, %#x\n", linux_side, eye, texture, bounds, flags); - - compositor_data.handoff_called = FALSE; - - switch (texture->eType) - { - case TextureType_DirectX: - { - TRACE("D3D11\n"); - - if (!texture->handle) { - WARN("No D3D11 texture %p.\n", texture); - return cpp_func(linux_side, eye, texture, bounds, flags); - } - - texture_iface = texture->handle; - - if (SUCCEEDED(hr = texture_iface->lpVtbl->QueryInterface(texture_iface, - &IID_IDXGIVkInteropSurface, (void **)&dxvk_surface))) - { - return ivrcompositor_submit_dxvk(cpp_func, linux_side, - eye, texture, bounds, flags, version, dxvk_surface); - } - - WARN("Invalid D3D11 texture %p.\n", texture); - return cpp_func(linux_side, eye, texture, bounds, flags); - } - - case TextureType_Vulkan: - return ivrcompositor_submit_vulkan(cpp_func, linux_side, - eye, texture, bounds, flags, version); - - default: - return cpp_func(linux_side, eye, texture, bounds, flags); - } -} - -void ivrcompositor_008_set_skybox_override( - void (*cpp_func)(void *, GraphicsAPIConvention, void *, void *, void *, void *, void *, void *), - void *linux_side, GraphicsAPIConvention api, void *front, void *back, void *left, void *right, void *top, void *bottom, - unsigned int version) -{ - TRACE("%p, %#x, %p, %p, %p, %p, %p, %p.\n", linux_side, api, front, back, left, right, top, bottom); - - if (api == API_DirectX) - FIXME("Not implemented Direct3D API.\n"); - - cpp_func(linux_side, api, front, back, left, right, top, bottom); -} - -static EVRCompositorError ivrcompositor_set_skybox_override_d3d11( - EVRCompositorError (*cpp_func)(void *, Texture_t *textures, uint32_t count), - void *linux_side, Texture_t *textures, uint32_t count) -{ - struct VRVulkanTextureData_t vkdata[6]; - IDXGIVkInteropSurface *dxvk_surface; - struct Texture_t vktexture[6]; - EVRCompositorError result; - unsigned int i; - - for (i = 0; i < count; ++i) - { - Texture_t *texture = &textures[i]; - IUnknown *texture_iface; - - if (!texture->handle) - { - ERR("No D3D11 texture %p.\n", texture); - return cpp_func(linux_side, textures, count); - } - if (textures[i].eType != TextureType_DirectX) - { - FIXME("Mixing texture types is not supported.\n"); - return 0; - } - - texture_iface = texture->handle; - - if (SUCCEEDED(texture_iface->lpVtbl->QueryInterface(texture_iface, - &IID_IDXGIVkInteropSurface, (void **)&dxvk_surface))) - { - VkImageSubresourceRange subresources; - IDXGIVkInteropDevice *dxvk_device; - VkImageCreateInfo image_info; - VkImageLayout image_layout; - - vktexture[i] = vrclient_translate_texture_dxvk(texture, &vkdata[i], dxvk_surface, &dxvk_device, &image_layout, &image_info); - - if (compositor_data.dxvk_device && dxvk_device != compositor_data.dxvk_device) - { - ERR("Invalid dxvk_device %p, previous %p.\n", dxvk_device, compositor_data.dxvk_device); - dxvk_surface->lpVtbl->Release(dxvk_surface); - dxvk_device->lpVtbl->Release(dxvk_device); - return 0; - } - - compositor_data.dxvk_device = dxvk_device; - - subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - subresources.baseMipLevel = 0; - subresources.levelCount = image_info.mipLevels; - subresources.baseArrayLayer = 0; - subresources.layerCount = image_info.arrayLayers; - - dxvk_device->lpVtbl->TransitionSurfaceLayout(dxvk_device, dxvk_surface, &subresources, - image_layout, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); - - dxvk_surface->lpVtbl->Release(dxvk_surface); - dxvk_device->lpVtbl->Release(dxvk_device); - - continue; - } - FIXME("Unsupported d3d11 texture %p, i %u.\n", texture, i); - return 0; - } - compositor_data.dxvk_device->lpVtbl->FlushRenderingCommands(compositor_data.dxvk_device); - compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue(compositor_data.dxvk_device); - - result = cpp_func(linux_side, vktexture, count); - - compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue(compositor_data.dxvk_device); - - TRACE("result %u.\n", result); - return result; -} - -EVRCompositorError ivrcompositor_set_skybox_override( - EVRCompositorError (*cpp_func)(void *, Texture_t *textures, uint32_t count), - void *linux_side, Texture_t *textures, uint32_t count, - unsigned int version) -{ - TRACE("cpp_func %p, linux_side %p, textures %p, count %u, version %u.\n", - cpp_func, linux_side, textures, count, version); - - if (!count || count > 6) - { - WARN("Invalid texture count %u.\n", count); - return cpp_func(linux_side, textures, count); - } - - if (textures[0].eType == TextureType_DirectX) - return ivrcompositor_set_skybox_override_d3d11(cpp_func, linux_side, textures, count); - - FIXME("Conversion for type %u is not supported.\n", textures[0].eType); - return 0; -} - -struct post_present_handoff_data -{ - void *linux_side; - void (*post_present_handoff)(void *linux_side); -}; - -static CDECL void d3d11_post_present_handoff_callback(const void *data, unsigned int data_size) -{ - const struct post_present_handoff_data *callback_data = data; - - TRACE("data {%p, %u}\n", data, data_size); - - callback_data->post_present_handoff(callback_data->linux_side); -} - -void ivrcompositor_post_present_handoff(void (*cpp_func)(void *), - void *linux_side, unsigned int version) -{ - struct post_present_handoff_data data; - - TRACE("%p\n", linux_side); - - if (compositor_data.dxvk_device) - { - compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue(compositor_data.dxvk_device); - - if (!compositor_data.d3d11_explicit_handoff && version >= 21) - { - /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode - * (which is Vulkan / d3d12 only), but doing the same with Vulkan results - * in lockups and crashes. */ - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(linux_side, - VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff); - compositor_data.d3d11_explicit_handoff = TRUE; - } - } - - cpp_func(linux_side); - - compositor_data.handoff_called = TRUE; - if (compositor_data.dxvk_device) - compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue(compositor_data.dxvk_device); -} - -struct explicit_timing_data -{ - void *linux_side; - unsigned int version; -}; - -static CDECL void d3d11_explicit_timing_callback(const void *data, unsigned int data_size) -{ - const struct explicit_timing_data *callback_data = data; - EVRCompositorError error; - - TRACE("data {%p, %u}\n", data, data_size); - - switch (callback_data->version) - { - case 21: - error = cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(callback_data->linux_side); - break; - case 22: - error = cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(callback_data->linux_side); - break; - default: - FIXME("Unhandled version %u.\n", callback_data->version); - break; - } - - if (error) - WARN("error %#x\n", error); -} - -EVRCompositorError ivrcompositor_wait_get_poses( - EVRCompositorError (cpp_func)(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t), - void *linux_side, TrackedDevicePose_t *render_poses, uint32_t render_pose_count, - TrackedDevicePose_t *game_poses, uint32_t game_pose_count, - unsigned int version) -{ - struct explicit_timing_data data; - EVRCompositorError r; - - TRACE("%p, %p, %u, %p, %u\n", linux_side, render_poses, render_pose_count, game_poses, game_pose_count); - - if (compositor_data.dxvk_device) - { - compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue(compositor_data.dxvk_device); - if (compositor_data.d3d11_explicit_handoff && !compositor_data.handoff_called) - { - /* Calling handoff after submit is optional for d3d11 but mandatory for Vulkan - * if explicit timing mode is set. */ - cppIVRCompositor_IVRCompositor_022_PostPresentHandoff(linux_side); - } - } - - r = cpp_func(linux_side, render_poses, render_pose_count, game_poses, game_pose_count); - - if (compositor_data.dxvk_device) - { - if (compositor_data.d3d11_explicit_handoff) - cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(linux_side); - - compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue(compositor_data.dxvk_device); - } - - return r; -} - -uint32_t ivrcompositor_get_vulkan_device_extensions_required( - uint32_t (*cpp_func)(void *, VkPhysicalDevice_T *, char *, uint32_t), - void *linux_side, VkPhysicalDevice_T *phys_dev, char *value, uint32_t bufsize, - unsigned int version) -{ - uint32_t ret; - - load_vk_unwrappers(); - - phys_dev = get_native_VkPhysicalDevice(phys_dev); - - ret = cpp_func(linux_side, phys_dev, value, bufsize); - TRACE("ret %u, value %s.\n", ret, value); - return ret; -} - -#pragma pack( push, 8 ) -struct winRenderModel_TextureMap_t_0918 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct));; - -struct winRenderModel_TextureMap_t_1015 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t * rubTextureMapData; -} __attribute__ ((ms_struct)); - -struct winRenderModel_TextureMap_t_1237 { - uint16_t unWidth; - uint16_t unHeight; - const uint8_t *rubTextureMapData; - EVRRenderModelTextureFormat format; - uint16_t unMipLevels; -} __attribute__ ((ms_struct)); -#pragma pack( pop ) - -static EVRRenderModelError load_into_texture_d3d11(ID3D11Texture2D *texture, - const struct winRenderModel_TextureMap_t_1237 *data) -{ - D3D11_TEXTURE2D_DESC texture_desc; - ID3D11DeviceContext *context; - ID3D11Device *device; - - texture->lpVtbl->GetDesc(texture, &texture_desc); - - TRACE("Format %#x, width %u, height %u.\n", - texture_desc.Format, texture_desc.Width, texture_desc.Height); - TRACE("Array size %u, miplevels %u.\n", - texture_desc.ArraySize, texture_desc.MipLevels); - - if (texture_desc.Format != DXGI_FORMAT_R8G8B8A8_UNORM_SRGB) - { - FIXME("Unexpected format %#x.\n", texture_desc.Format); - return VRRenderModelError_NotSupported; - } - if (texture_desc.Width != data->unWidth) - { - FIXME("Unexpected width %u.\n", texture_desc.Width); - return VRRenderModelError_NotSupported; - } - if (texture_desc.Height != data->unHeight) - { - FIXME("Unexpected height %u.\n", texture_desc.Height); - return VRRenderModelError_NotSupported; - } - if (data->format) - FIXME("Unsupported texture map format %d.\n", data->format); - if (data->unMipLevels) - FIXME("Unsupported unMipLevels %u.\n", data->unMipLevels); - - texture->lpVtbl->GetDevice(texture, &device); - device->lpVtbl->GetImmediateContext(device, &context); - device->lpVtbl->Release(device); - - context->lpVtbl->UpdateSubresource(context, (ID3D11Resource *)texture, - 0, NULL, data->rubTextureMapData, data->unWidth * 4 * sizeof(uint8_t), 0); - - context->lpVtbl->Release(context); - return VRRenderModelError_None; -} - -static EVRRenderModelError load_linux_texture_map(void *linux_side, TextureID_t texture_id, - struct winRenderModel_TextureMap_t_1237 **texture_map, unsigned int version) -{ - EVRRenderModelError ret; - - switch(version){ - case 4: - { - struct winRenderModel_TextureMap_t_0918 *orig_map; - if ((ret = cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(linux_side, texture_id, &orig_map))) - return ret; - *texture_map = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(**texture_map)); - memcpy(*texture_map, orig_map, sizeof(*orig_map)); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture(linux_side, orig_map); - return 0; - } - case 5: - { - struct winRenderModel_TextureMap_t_1015 *orig_map; - if ((ret = cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(linux_side, texture_id, &orig_map))) - return ret; - *texture_map = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(**texture_map)); - memcpy(*texture_map, orig_map, sizeof(*orig_map)); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture(linux_side, orig_map); - return 0; - } - case 6: - return cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(linux_side, texture_id, texture_map); - } - FIXME("Unsupported IVRRenderModels version! %u\n", version); - return VRRenderModelError_NotSupported; -} - -static void free_linux_texture_map(void *linux_side, - struct winRenderModel_TextureMap_t_1237 *texture_map, unsigned int version) -{ - switch(version){ - case 4: - HeapFree(GetProcessHeap(), 0, texture_map); - break; - case 5: - HeapFree(GetProcessHeap(), 0, texture_map); - break; - case 6: - cppIVRRenderModels_IVRRenderModels_006_FreeTexture(linux_side, texture_map); - break; - default: - FIXME("Unsupported IVRRenderModels version! %u\n", version); - break; - } -} - -EVRRenderModelError ivrrendermodels_load_texture_d3d11_async( - EVRRenderModelError (*cpp_func)(void *, TextureID_t, void *, void **), - void *linux_side, TextureID_t texture_id, void *device, - void **dst_texture, unsigned int version) -{ - struct winRenderModel_TextureMap_t_1237 *texture_map; - EVRRenderModelError error; - D3D11_TEXTURE2D_DESC desc; - ID3D11Device *d3d11_device = device; - ID3D11Texture2D *texture; - HRESULT hr; - - error = load_linux_texture_map(linux_side, texture_id, &texture_map, version); - if (error == VRRenderModelError_Loading) - { - TRACE("Loading.\n"); - return error; - } - if (error != VRRenderModelError_None) - { - WARN("Failed to load texture %#x.\n", error); - return error; - } - - desc.Width = texture_map->unWidth; - desc.Height = texture_map->unHeight; - desc.MipLevels = 1; - desc.ArraySize = 1; - desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM_SRGB; - desc.SampleDesc.Count = 1; - desc.SampleDesc.Quality = 0; - desc.Usage = D3D11_USAGE_DEFAULT; - desc.BindFlags = D3D11_BIND_SHADER_RESOURCE; - desc.CPUAccessFlags = 0; - desc.MiscFlags = 0; - - hr = d3d11_device->lpVtbl->CreateTexture2D(d3d11_device, &desc, NULL, &texture); - if (FAILED(hr)) - { - WARN("Failed to create D3D11 texture %#x\n", hr); - free_linux_texture_map(linux_side, texture_map, version); - return VRRenderModelError_InvalidTexture; - } - - error = load_into_texture_d3d11(texture, texture_map); - if (error == VRRenderModelError_None) - { - *dst_texture = texture; - } - else - { - texture->lpVtbl->Release(texture); - *dst_texture = NULL; - } - - free_linux_texture_map(linux_side, texture_map, version); - - return error; -} - -void ivrrendermodels_free_texture_d3d11( - void (*cpp_func)(void *, void *), - void *linux_side, void *dst_texture, unsigned int version) -{ - ID3D11Texture2D *d3d11_texture = dst_texture; - d3d11_texture->lpVtbl->Release(d3d11_texture); -} - -EVRRenderModelError ivrrendermodels_load_into_texture_d3d11_async( - EVRRenderModelError (*cpp_func)(void *, TextureID_t, void *), - void *linux_side, TextureID_t texture_id, void *dst_texture, unsigned int version) -{ - struct winRenderModel_TextureMap_t_1237 *texture_map; - IUnknown *unk = dst_texture; - EVRRenderModelError error; - ID3D11Texture2D *texture; - - if (!dst_texture) - return VRRenderModelError_InvalidArg; - - error = load_linux_texture_map(linux_side, texture_id, &texture_map, version); - if (error == VRRenderModelError_Loading) - { - TRACE("Loading.\n"); - return error; - } - if (error != VRRenderModelError_None) - { - WARN("Failed to load texture %#x.\n", error); - return error; - } - - if (SUCCEEDED(unk->lpVtbl->QueryInterface(unk, &IID_ID3D11Texture2D, (void **)&texture))) - { - error = load_into_texture_d3d11(texture, texture_map); - texture->lpVtbl->Release(texture); - } - else - { - FIXME("Expected 2D texture.\n"); - error = VRRenderModelError_NotSupported; - } - - free_linux_texture_map(linux_side, texture_map, version); - - return error; -} - -vrmb_typeb ivrmailbox_undoc3( - vrmb_typeb (*cpp_func)(void *, vrmb_typea, const char *, const char *), - void *linux_side, vrmb_typea a, const char *b, const char *c, unsigned int version) -{ - vrmb_typeb r; - char *converted = json_convert_paths(c); - - r = cpp_func(linux_side, a, b, converted ? converted : c); - - free(converted); - - return r; -} - -#pragma pack(push, 8) -struct winInputDigitalActionData_t { - bool bActive; - VRInputValueHandle_t activeOrigin; - bool bState; - bool bChanged; - float fUpdateTime; -} __attribute__ ((ms_struct)); -#pragma pack(pop) - -EVRInputError ivrinput_get_digital_action_data( - void *func, - void *linux_side, VRActionHandle_t action_handle, void *action_data, uint32_t action_data_size, - VRInputValueHandle_t restrict_to_device, unsigned int version) -{ - EVRInputError (*cpp_func)(void *, VRActionHandle_t, struct winInputDigitalActionData_t *, uint32_t, VRInputValueHandle_t) = func; - -#ifdef __x86_64__ - return cpp_func(linux_side, action_handle, action_data, action_data_size, restrict_to_device); -#else - /* Digital action state change fixup hack. */ - struct winInputDigitalActionData_t *data = action_data; - LARGE_INTEGER qpf; - EVRInputError ret; - unsigned int i; - - ret = cpp_func(linux_side, action_handle, action_data, action_data_size, restrict_to_device); - - TRACE("handle %s, data %p, data_size %u, restrict %s, origin %s, state %#x, changed %#x, ret %u, active %#x.\n", - wine_dbgstr_longlong(action_handle), action_data, action_data_size, - wine_dbgstr_longlong(restrict_to_device), wine_dbgstr_longlong(data->activeOrigin), - data->bState, data->bChanged, ret, data->bActive); - - if (ret) - return ret; - - if (action_data_size != sizeof(*data)) - { - WARN("Unexpected action_data_size %u.\n", action_data_size); - return 0; - } - - if (!data->bActive) - return 0; - - if (!compositor_data.qpf_freq.QuadPart) - QueryPerformanceFrequency(&compositor_data.qpf_freq); - QueryPerformanceCounter(&qpf); - - for (i = 0; i < compositor_data.digital_action_count; ++i) - { - if (compositor_data.digital_actions_state[i].action == action_handle - && compositor_data.digital_actions_state[i].origin == data->activeOrigin) - { - if ((data->bChanged = (!compositor_data.digital_actions_state[i].previous_state != !data->bState))) - { - TRACE("action %s (%s) changed to %#x, data->fUpdateTime %f.\n", wine_dbgstr_longlong(action_handle), - wine_dbgstr_longlong(restrict_to_device), data->bState, data->fUpdateTime); - - compositor_data.digital_actions_state[i].update_qpf_time = qpf; - compositor_data.digital_actions_state[i].previous_state = data->bState; - } - if (compositor_data.digital_actions_state[i].update_qpf_time.QuadPart) - data->fUpdateTime = -(float)(qpf.QuadPart - - compositor_data.digital_actions_state[i].update_qpf_time.QuadPart) - / compositor_data.qpf_freq.QuadPart; - - return 0; - } - } - - if (i == ARRAY_SIZE(compositor_data.digital_actions_state)) - { - static unsigned int once; - if (!once++) - WARN("Too many actions.\n"); - - return 0; - } - - compositor_data.digital_actions_state[i].action = action_handle; - compositor_data.digital_actions_state[i].origin = data->activeOrigin; - compositor_data.digital_actions_state[i].previous_state = data->bState; - compositor_data.digital_actions_state[i].update_qpf_time = qpf; - ++compositor_data.digital_action_count; - - return 0; -#endif -} diff --git a/vrclient_x64/vrclient_x64/vrclient_private.h b/vrclient_x64/vrclient_x64/vrclient_private.h deleted file mode 100644 index a99117c4c..000000000 --- a/vrclient_x64/vrclient_x64/vrclient_private.h +++ /dev/null @@ -1,179 +0,0 @@ -#include -#include - -#if __cplusplus -extern "C" { -#endif - -char *json_convert_paths(const char *input); -char *json_convert_startup_info(const char *startup_info); - -bool vrclient_dos_path_to_unix_path(const char *src, char *dst); - -#if __cplusplus -} -#endif - -/* TODO these should be generated */ -typedef struct __winISteamClient winISteamClient; -typedef struct __winISteamUser winISteamUser; -typedef struct __winISteamGameServer winISteamGameServer; -typedef struct __winISteamFriends winISteamFriends; -typedef struct __winISteamUtils winISteamUtils; -typedef struct __winISteamMatchmaking winISteamMatchmaking; -typedef struct __winISteamMatchmakingServers winISteamMatchmakingServers; -typedef struct __winISteamUserStats winISteamUserStats; -typedef struct __winISteamGameServerStats winISteamGameServerStats; -typedef struct __winISteamApps winISteamApps; -typedef struct __winISteamNetworking winISteamNetworking; -typedef struct __winISteamRemoteStorage winISteamRemoteStorage; -typedef struct __winISteamRemoteScreenshots winISteamRemoteScreenshots; -typedef struct __winISteamScreenshots winISteamScreenshots; -typedef struct __winISteamHTTP winISteamHTTP; -typedef struct __winISteamUnifiedMessages winISteamUnifiedMessages; -typedef struct __winISteamController winISteamController; -typedef struct __winISteamUGC winISteamUGC; -typedef struct __winISteamAppList winISteamAppList; -typedef struct __winISteamMusic winISteamMusic; -typedef struct __winISteamMusicRemote winISteamMusicRemote; -typedef struct __winISteamHTMLSurface winISteamHTMLSurface; -typedef struct __winISteamInventory winISteamInventory; -typedef struct __winISteamVideo winISteamVideo; -typedef struct __winISteamMasterServerUpdater winISteamMasterServerUpdater; -typedef struct __winISteamContentServer winISteamContentServer; -typedef struct __winX winX; -typedef struct __winX winX; - -void *create_win_interface(const char *name, void *linux_side); -unsigned int vrclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32_t dst_bytes); -void *create_LinuxMatchmakingServerListResponse(void *win); - -#ifndef __cplusplus -typedef struct ID3D11Device ID3D11Device; -typedef struct IDXGIVkInteropDevice IDXGIVkInteropDevice; - -struct generic_interface -{ - void *object; - void (*dtor)(void *); -}; - -struct client_core_data -{ - CRITICAL_SECTION critical_section; - struct generic_interface *created_interfaces; - SIZE_T created_interface_count; - SIZE_T created_interfaces_size; -}; - -bool ivrclientcore_is_hmd_present(bool (*cpp_func)(void *), void *linux_side, unsigned int version, - struct client_core_data *user_data); -EVRInitError ivrclientcore_002_init(EVRInitError (*cpp_func)(void *, EVRApplicationType), - void *linux_side, EVRApplicationType application_type, - unsigned int version, struct client_core_data *user_data); -EVRInitError ivrclientcore_init(EVRInitError (*cpp_func)(void *, EVRApplicationType, const char *), - void *linux_side, EVRApplicationType application_type, const char *startup_info, - unsigned int version, struct client_core_data *user_data); - -void *ivrclientcore_get_generic_interface(void *(*cpp_func)(void *, const char *, EVRInitError *), - void *linux_side, const char *name_and_version, EVRInitError *error, - unsigned int version, struct client_core_data *user_data); - -void ivrclientcore_cleanup(void (*cpp_func)(void *), void *linux_side, - unsigned int version, struct client_core_data *user_data); - -void get_dxgi_output_info(void *cpp_func, void *linux_side, - int32_t *adapter_idx, unsigned int version); -void get_dxgi_output_info2(void *cpp_func, void *linux_side, - int32_t *adapter_idx, int32_t *output_idx, unsigned int version); -void ivrsystem_016_get_output_device( - void (*cpp_func)(void *, uint64_t *, ETextureType), - void *linux_side, uint64_t *out_device, ETextureType type, - unsigned int version); -void ivrsystem_get_output_device( - void (*cpp_func)(void *, uint64_t *, ETextureType, VkInstance_T *), - void *linux_side, uint64_t *out_device, ETextureType type, - VkInstance_T *wrapped_instance, unsigned int version); - -void ivrcompositor_005_submit( - void (*cpp_func)(void *, Hmd_Eye, void *, Compositor_TextureBounds *), - void *linux_side, Hmd_Eye eye, void *texture, Compositor_TextureBounds *bounds, - unsigned int version); -VRCompositorError ivrcompositor_006_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, void *, VRTextureBounds_t *), - void *linux_side, Hmd_Eye eye, void *texture, VRTextureBounds_t *bounds, - unsigned int version); -VRCompositorError ivrcompositor_007_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, GraphicsAPIConvention, void *, VRTextureBounds_t *), - void *linux_side, Hmd_Eye eye, GraphicsAPIConvention api, void *texture, VRTextureBounds_t *bounds, - unsigned int version); -VRCompositorError ivrcompositor_008_submit( - VRCompositorError (*cpp_func)(void *, Hmd_Eye, GraphicsAPIConvention, void *, - VRTextureBounds_t *, VRSubmitFlags_t), - void *linux_side, Hmd_Eye eye, GraphicsAPIConvention texture_type, void *texture, - VRTextureBounds_t *bounds, VRSubmitFlags_t submit_flags, - unsigned int version); -EVRCompositorError ivrcompositor_submit( - EVRCompositorError (*cpp_func)(void *, EVREye, Texture_t *, VRTextureBounds_t *, EVRSubmitFlags), - void *linux_side, EVREye eye, Texture_t *texture, VRTextureBounds_t *bounds, EVRSubmitFlags flags, - unsigned int version); - -void ivrcompositor_008_set_skybox_override( - void (*cpp_func)(void *, GraphicsAPIConvention, void *, void *, void *, void *, void *, void *), - void *linux_side, GraphicsAPIConvention api, void *front, void *back, void *left, void *right, void *top, void *bottom, - unsigned int version); -EVRCompositorError ivrcompositor_set_skybox_override( - EVRCompositorError (*cpp_func)(void *, Texture_t *textures, uint32_t count), - void *linux_side, Texture_t *textures, uint32_t count, - unsigned int version); - -void ivrcompositor_post_present_handoff(void (*cpp_func)(void *), - void *linux_side, unsigned int version); - -EVRCompositorError ivrcompositor_wait_get_poses( - EVRCompositorError (cpp_func)(void *, TrackedDevicePose_t *, uint32_t, TrackedDevicePose_t *, uint32_t), - void *linux_side, TrackedDevicePose_t *render_poses, uint32_t render_pose_count, - TrackedDevicePose_t *game_poses, uint32_t game_pose_count, - unsigned int version); - -uint32_t ivrcompositor_get_vulkan_device_extensions_required( - uint32_t (*cpp_func)(void *, VkPhysicalDevice_T *, char *, uint32_t), - void *linux_side, VkPhysicalDevice_T *phys_dev, char *value, uint32_t bufsize, - unsigned int version); - -EVRRenderModelError ivrrendermodels_load_texture_d3d11_async( - EVRRenderModelError (*cpp_func)(void *, TextureID_t, void *, void **), - void *linux_side, TextureID_t texture_id, void *d3d11_device, void **dst_texture, unsigned int version); -EVRRenderModelError ivrrendermodels_load_into_texture_d3d11_async( - EVRRenderModelError (*cpp_func)(void *, TextureID_t, void *), - void *linux_side, TextureID_t texture_id, void *dst_texture, unsigned int version); -void ivrrendermodels_free_texture_d3d11( - void (*cpp_func)(void *, void *), - void *linux_side, void *dst_texture, unsigned int version); - -EVROverlayError ivroverlay_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, Texture_t *), - void *linux_side, VROverlayHandle_t overlayHandle, Texture_t *texture, - unsigned int version); - -EVROverlayError ivroverlay_005_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, GraphicsAPIConvention, void *), - void *linux_side, VROverlayHandle_t overlayHandle, GraphicsAPIConvention api, void *texture, - unsigned int version); - -EVROverlayError ivroverlay_001_set_overlay_texture( - EVROverlayError (*cpp_func)(void *, VROverlayHandle_t, void *), - void *linux_side, VROverlayHandle_t overlayHandle, void *texture, - unsigned int version); - -EVRInputError ivrinput_get_digital_action_data( - void *func, - void *linux_side, VRActionHandle_t action_handle, void *action_data, uint32_t action_data_size, - VRInputValueHandle_t restrict_to_device, unsigned int version); - -#endif /* __cplusplus */ - -#define TRACE WINE_TRACE -#define ERR WINE_ERR -#define WARN WINE_WARN -#define FIXME WINE_FIXME diff --git a/vrclient_x64/vrclient_x64/winIVRApplications.c b/vrclient_x64/vrclient_x64/winIVRApplications.c deleted file mode 100644 index 5ab4e422b..000000000 --- a/vrclient_x64/vrclient_x64/winIVRApplications.c +++ /dev/null @@ -1,1977 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRApplications_IVRApplications_007.h" - -typedef struct __winIVRApplications_IVRApplications_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_007; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(winIVRApplications_IVRApplications_007 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(winIVRApplications_IVRApplications_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_007 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 20) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(winIVRApplications_IVRApplications_007 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, const char * pchArgs) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_CancelApplicationLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(winIVRApplications_IVRApplications_007 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, const char * pchMimeType) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 16) -bool __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_007 *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_007 *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(winIVRApplications_IVRApplications_007 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationState, 4) -EVRSceneApplicationState __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(winIVRApplications_IVRApplications_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetSceneApplicationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_007 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(winIVRApplications_IVRApplications_007 *_this, EVRSceneApplicationState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(winIVRApplications_IVRApplications_007 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_007, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchTemplateApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchInternalProcess) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007(void *linux_side) -{ - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRApplications_IVRApplications_007 *create_winIVRApplications_IVRApplications_007_FnTable(void *linux_side) -{ - winIVRApplications_IVRApplications_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_007)); - struct thunk *thunks = alloc_thunks(30); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 30 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_007_AddApplicationManifest, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_007_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_007_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_007_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_007_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_007_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_007_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_007_GetSceneApplicationState, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_007_LaunchInternalProcess, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); - for (i = 0; i < 30; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRApplications_IVRApplications_007_FnTable(void *object) -{ - winIVRApplications_IVRApplications_007 *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_006.h" - -typedef struct __winIVRApplications_IVRApplications_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_006; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_AddApplicationManifest(winIVRApplications_IVRApplications_006 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_RemoveApplicationManifest(winIVRApplications_IVRApplications_006 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_006_IsApplicationInstalled(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationCount(winIVRApplications_IVRApplications_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_006 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_006 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchTemplateApplication, 20) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(winIVRApplications_IVRApplications_006 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(winIVRApplications_IVRApplications_006 *_this, const char * pchMimeType, const char * pchArgs) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(_this->linux_side, pchMimeType, pchArgs); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchDashboardOverlay(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_006_CancelApplicationLaunch(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_CancelApplicationLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_IdentifyApplication(winIVRApplications_IVRApplications_006 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationProcessId(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_006 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyString(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyBool(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, const char * pchMimeType) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(_this->linux_side, pchAppKey, pchMimeType); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, 16) -bool __thiscall winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(winIVRApplications_IVRApplications_006 *_this, const char * pchMimeType, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(_this->linux_side, pchMimeType, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, 16) -bool __thiscall winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey, char * pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(_this->linux_side, pchAppKey, pchMimeTypesBuffer, unMimeTypesBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(winIVRApplications_IVRApplications_006 *_this, const char * pchMimeType, char * pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(_this->linux_side, pchMimeType, pchAppKeysThatSupportBuffer, unAppKeysThatSupportBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments, 16) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(winIVRApplications_IVRApplications_006 *_this, uint32_t unHandle, char * pchArgs, uint32_t unArgs) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(_this->linux_side, unHandle, pchArgs, unArgs); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_GetStartingApplication(winIVRApplications_IVRApplications_006 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_006_GetTransitionState(winIVRApplications_IVRApplications_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_006 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_006 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_006_LaunchInternalProcess(winIVRApplications_IVRApplications_006 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(winIVRApplications_IVRApplications_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_006, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchTemplateApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchInternalProcess) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_006 *create_winIVRApplications_IVRApplications_006(void *linux_side) -{ - winIVRApplications_IVRApplications_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_006(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_006_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_006_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_006_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_006_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_006_LaunchTemplateApplication, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_006_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_006_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_006_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_006_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_006_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_006_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_006_LaunchInternalProcess, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_005; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(winIVRApplications_IVRApplications_005 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(winIVRApplications_IVRApplications_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_005 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 20) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(winIVRApplications_IVRApplications_005 *_this, const char * pchTemplateAppKey, const char * pchNewAppKey, AppOverrideKeys_t * pKeys, uint32_t unKeys) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchTemplateApplication(_this->linux_side, pchTemplateAppKey, pchNewAppKey, pKeys, unKeys); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_CancelApplicationLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(winIVRApplications_IVRApplications_005 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(winIVRApplications_IVRApplications_005 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(winIVRApplications_IVRApplications_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_005 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_005 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(winIVRApplications_IVRApplications_005 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_005_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -extern vtable_ptr winIVRApplications_IVRApplications_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_005, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchTemplateApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchInternalProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_005 *create_winIVRApplications_IVRApplications_005(void *linux_side) -{ - winIVRApplications_IVRApplications_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_005(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_004; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(winIVRApplications_IVRApplications_004 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_004 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_CancelApplicationLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(winIVRApplications_IVRApplications_004 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(winIVRApplications_IVRApplications_004 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_004 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_004 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalProcess, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(winIVRApplications_IVRApplications_004 *_this, const char * pchBinaryPath, const char * pchArguments, const char * pchWorkingDirectory) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_004_LaunchInternalProcess(_this->linux_side, pchBinaryPath, pchArguments, pchWorkingDirectory); -} - -extern vtable_ptr winIVRApplications_IVRApplications_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_004, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_CancelApplicationLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchInternalProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_004 *create_winIVRApplications_IVRApplications_004(void *linux_side) -{ - winIVRApplications_IVRApplications_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_004(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_003; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(winIVRApplications_IVRApplications_003 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_003 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(winIVRApplications_IVRApplications_003 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 16) -uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(winIVRApplications_IVRApplications_003 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_003 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_003 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_003, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_003 *create_winIVRApplications_IVRApplications_003(void *linux_side) -{ - winIVRApplications_IVRApplications_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_003(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_002; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(winIVRApplications_IVRApplications_002 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_002 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(winIVRApplications_IVRApplications_002 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(winIVRApplications_IVRApplications_002 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_002 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_002 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 4) -bool __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(winIVRApplications_IVRApplications_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(_this->linux_side); -} - -extern vtable_ptr winIVRApplications_IVRApplications_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_002, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_002 *create_winIVRApplications_IVRApplications_002(void *linux_side) -{ - winIVRApplications_IVRApplications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_002(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRApplications_IVRApplications_001; - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_AddApplicationManifest, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath, bool bTemporary) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_AddApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL, bTemporary); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(winIVRApplications_IVRApplications_001 *_this, const char * pchApplicationManifestFullPath) -{ - char lin_pchApplicationManifestFullPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchApplicationManifestFullPath, lin_pchApplicationManifestFullPath); - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_RemoveApplicationManifest(_this->linux_side, pchApplicationManifestFullPath ? lin_pchApplicationManifestFullPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IsApplicationInstalled, 8) -bool __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_IsApplicationInstalled(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationCount, 4) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(winIVRApplications_IVRApplications_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(winIVRApplications_IVRApplications_001 *_this, uint32_t unApplicationIndex, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(_this->linux_side, unApplicationIndex, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 16) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(_this->linux_side, unProcessId, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_LaunchApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_LaunchDashboardOverlay(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IdentifyApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(winIVRApplications_IVRApplications_001 *_this, uint32_t unProcessId, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_IdentifyApplication(_this->linux_side, unProcessId, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationProcessId, 8) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationProcessId(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationError error) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 24) -uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, char * pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationPropertyString(_this->linux_side, pchAppKey, eProperty, pchPropertyValueBuffer, unPropertyValueBufferLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 16) -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, EVRApplicationProperty eProperty, EVRApplicationError * peError) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationPropertyBool(_this->linux_side, pchAppKey, eProperty, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetHomeApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetHomeApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetHomeApplication, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_SetHomeApplication(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 9) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey, bool bAutoLaunch) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(_this->linux_side, pchAppKey, bAutoLaunch); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 8) -bool __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetStartingApplication, 12) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(winIVRApplications_IVRApplications_001 *_this, char * pchAppKeyBuffer, uint32_t unAppKeyBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetStartingApplication(_this->linux_side, pchAppKeyBuffer, unAppKeyBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetTransitionState, 4) -EVRApplicationTransitionState __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(winIVRApplications_IVRApplications_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetTransitionState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 8) -EVRApplicationError __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(winIVRApplications_IVRApplications_001 *_this, const char * pchAppKey) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(_this->linux_side, pchAppKey); -} - -DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 8) -const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(winIVRApplications_IVRApplications_001 *_this, EVRApplicationTransitionState state) -{ - TRACE("%p\n", _this); - return cppIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(_this->linux_side, state); -} - -extern vtable_ptr winIVRApplications_IVRApplications_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRApplications_IVRApplications_001, - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_AddApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_RemoveApplicationManifest) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IsApplicationInstalled) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationCount) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IdentifyApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationProcessId) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyString) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetHomeApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetHomeApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetStartingApplication) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetTransitionState) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck) - VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum) - ); -#ifndef __GNUC__ -} -#endif - -winIVRApplications_IVRApplications_001 *create_winIVRApplications_IVRApplications_001(void *linux_side) -{ - winIVRApplications_IVRApplications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRApplications_IVRApplications_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRApplications_IVRApplications_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRApplications_IVRApplications_001(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRChaperone.c b/vrclient_x64/vrclient_x64/winIVRChaperone.c deleted file mode 100644 index ca79f704f..000000000 --- a/vrclient_x64/vrclient_x64/winIVRChaperone.c +++ /dev/null @@ -1,425 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRChaperone_IVRChaperone_004.h" - -typedef struct __winIVRChaperone_IVRChaperone_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_004; - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetCalibrationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12) -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(winIVRChaperone_IVRChaperone_004 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8) -bool __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(winIVRChaperone_IVRChaperone_004 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ReloadInfo, 4) -void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ReloadInfo(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_SetSceneColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t color) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_SetSceneColor(_this->linux_side, color); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetBoundsColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(winIVRChaperone_IVRChaperone_004 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4) -bool __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 5) -void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(winIVRChaperone_IVRChaperone_004 *_this, bool bForce) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(_this->linux_side, bForce); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) -void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(winIVRChaperone_IVRChaperone_004 *_this, ETrackingUniverseOrigin eTrackingUniverseOrigin) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_004_ResetZeroPose(_this->linux_side, eTrackingUniverseOrigin); -} - -extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperone_IVRChaperone_004, - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetCalibrationState) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ReloadInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_SetSceneColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetBoundsColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_AreBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ResetZeroPose) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004(void *linux_side) -{ - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperone_IVRChaperone_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRChaperone_IVRChaperone_004 *create_winIVRChaperone_IVRChaperone_004_FnTable(void *linux_side) -{ - winIVRChaperone_IVRChaperone_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_004)); - 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_004_GetCalibrationState, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); - 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_004_FnTable(void *object) -{ - winIVRChaperone_IVRChaperone_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 "cppIVRChaperone_IVRChaperone_003.h" - -typedef struct __winIVRChaperone_IVRChaperone_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_003; - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetCalibrationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12) -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(winIVRChaperone_IVRChaperone_003 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8) -bool __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(winIVRChaperone_IVRChaperone_003 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_GetPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ReloadInfo, 4) -void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ReloadInfo(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_SetSceneColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t color) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_SetSceneColor(_this->linux_side, color); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(winIVRChaperone_IVRChaperone_003 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, pOutputCameraColor); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4) -bool __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_003_AreBoundsVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 5) -void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(winIVRChaperone_IVRChaperone_003 *_this, bool bForce) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_003_ForceBoundsVisible(_this->linux_side, bForce); -} - -extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperone_IVRChaperone_003, - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetCalibrationState) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ReloadInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_SetSceneColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetBoundsColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_AreBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperone_IVRChaperone_003 *create_winIVRChaperone_IVRChaperone_003(void *linux_side) -{ - winIVRChaperone_IVRChaperone_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperone_IVRChaperone_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_003(void *object) -{ - TRACE("%p\n", 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, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperone_IVRChaperone_002; - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetCalibrationState, 4) -ChaperoneCalibrationState __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(winIVRChaperone_IVRChaperone_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_002_GetCalibrationState(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 8) -bool __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, ChaperoneSoftBoundsInfo_t * pInfo) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(_this->linux_side, pInfo); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 12) -bool __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 8) -bool __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(winIVRChaperone_IVRChaperone_002 *_this, ChaperoneSeatedBoundsInfo_t * pInfo) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(_this->linux_side, pInfo); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ReloadInfo, 4) -void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(winIVRChaperone_IVRChaperone_002 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ReloadInfo(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_SetSceneColor, 20) -void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(winIVRChaperone_IVRChaperone_002 *_this, HmdColor_t color) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_SetSceneColor(_this->linux_side, color); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetBoundsColor, 12) -void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(winIVRChaperone_IVRChaperone_002 *_this, HmdColor_t * pOutputColorArray, int nNumOutputColors) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_GetBoundsColor(_this->linux_side, pOutputColorArray, nNumOutputColors); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 4) -bool __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(winIVRChaperone_IVRChaperone_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRChaperone_IVRChaperone_002_AreBoundsVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 5) -void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(winIVRChaperone_IVRChaperone_002 *_this, bool bForce) -{ - TRACE("%p\n", _this); - cppIVRChaperone_IVRChaperone_002_ForceBoundsVisible(_this->linux_side, bForce); -} - -extern vtable_ptr winIVRChaperone_IVRChaperone_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperone_IVRChaperone_002, - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetCalibrationState) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ReloadInfo) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_SetSceneColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetBoundsColor) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_AreBoundsVisible) - VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperone_IVRChaperone_002 *create_winIVRChaperone_IVRChaperone_002(void *linux_side) -{ - winIVRChaperone_IVRChaperone_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperone_IVRChaperone_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperone_IVRChaperone_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperone_IVRChaperone_002(void *object) -{ - TRACE("%p\n", 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, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c deleted file mode 100644 index a7bac1532..000000000 --- a/vrclient_x64/vrclient_x64/winIVRChaperoneSetup.c +++ /dev/null @@ -1,695 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRChaperoneSetup_IVRChaperoneSetup_006.h" - -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_006; - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, float sizeX, float sizeZ) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdVector2_t * pPointBuffer, uint32_t unPointCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(_this->linux_side, pPointBuffer, unPointCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, char * pBuffer, uint32_t * pnBufferLength) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this, const char * pBuffer, uint32_t nImportFlags) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(winIVRChaperoneSetup_IVRChaperoneSetup_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(_this->linux_side); -} - -extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_006, - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *linux_side) -{ - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRChaperoneSetup_IVRChaperoneSetup_006 *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *linux_side) -{ - winIVRChaperoneSetup_IVRChaperoneSetup_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_006)); - 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_006_CommitWorkingCopy, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); - 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_006_FnTable(void *object) -{ - winIVRChaperoneSetup_IVRChaperoneSetup_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 "cppIVRChaperoneSetup_IVRChaperoneSetup_005.h" - -typedef struct __winIVRChaperoneSetup_IVRChaperoneSetup_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_005; - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, float sizeX, float sizeZ) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(_this->linux_side, pTagsBuffer, unTagCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(_this->linux_side, pTagsBuffer, punTagCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, char * pBuffer, uint32_t * pnBufferLength) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(_this->linux_side, pBuffer, pnBufferLength); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(winIVRChaperoneSetup_IVRChaperoneSetup_005 *_this, const char * pBuffer, uint32_t nImportFlags) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(_this->linux_side, pBuffer, nImportFlags); -} - -extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_005, - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperoneSetup_IVRChaperoneSetup_005 *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *linux_side) -{ - winIVRChaperoneSetup_IVRChaperoneSetup_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRChaperoneSetup_IVRChaperoneSetup_004; - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 4) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float * pSizeX, float * pSizeZ) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(_this->linux_side, pSizeX, pSizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * rect) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(_this->linux_side, rect); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t * punQuadsCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, punQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pmatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, float sizeX, float sizeZ) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(_this->linux_side, sizeX, sizeZ); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdQuad_t * pQuadsBuffer, uint32_t unQuadsCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(_this->linux_side, pQuadsBuffer, unQuadsCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(_this->linux_side, pMatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pMatStandingZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(_this->linux_side, pMatStandingZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 8) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, EChaperoneConfigFile configFile) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(_this->linux_side, configFile); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 8) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, HmdMatrix34_t * pmatSeatedZeroPoseToRawTrackingPose) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(_this->linux_side, pmatSeatedZeroPoseToRawTrackingPose); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 12) -void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t unTagCount) -{ - TRACE("%p\n", _this); - cppIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(_this->linux_side, pTagsBuffer, unTagCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 12) -bool __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(winIVRChaperoneSetup_IVRChaperoneSetup_004 *_this, uint8_t * pTagsBuffer, uint32_t * punTagCount) -{ - TRACE("%p\n", _this); - return cppIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(_this->linux_side, pTagsBuffer, punTagCount); -} - -extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_004, - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo) - VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo) - ); -#ifndef __GNUC__ -} -#endif - -winIVRChaperoneSetup_IVRChaperoneSetup_004 *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *linux_side) -{ - winIVRChaperoneSetup_IVRChaperoneSetup_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRChaperoneSetup_IVRChaperoneSetup_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRClientCore.c b/vrclient_x64/vrclient_x64/winIVRClientCore.c deleted file mode 100644 index 91e78c6c8..000000000 --- a/vrclient_x64/vrclient_x64/winIVRClientCore.c +++ /dev/null @@ -1,262 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRClientCore_IVRClientCore_003.h" - -typedef struct __winIVRClientCore_IVRClientCore_003 { - vtable_ptr *vtable; - void *linux_side; - struct client_core_data user_data; -} winIVRClientCore_IVRClientCore_003; - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Init, 12) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_Init(winIVRClientCore_IVRClientCore_003 *_this, EVRApplicationType eApplicationType, const char * pStartupInfo) -{ - TRACE("%p\n", _this); - return ivrclientcore_init(cppIVRClientCore_IVRClientCore_003_Init, _this->linux_side, eApplicationType, pStartupInfo, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Cleanup, 4) -void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(winIVRClientCore_IVRClientCore_003 *_this) -{ - TRACE("%p\n", _this); - ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_003_Cleanup, _this->linux_side, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_003 *_this, const char * pchInterfaceVersion) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetGenericInterface, 12) -void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(winIVRClientCore_IVRClientCore_003 *_this, const char * pchNameAndVersion, EVRInitError * peError) -{ - TRACE("%p\n", _this); - return ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_003_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 4) -bool __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(winIVRClientCore_IVRClientCore_003 *_this) -{ - TRACE("%p\n", _this); - return ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_003_BIsHmdPresent, _this->linux_side, 3, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(winIVRClientCore_IVRClientCore_003 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_003_GetIDForVRInitError(_this->linux_side, eError); -} - -extern vtable_ptr winIVRClientCore_IVRClientCore_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRClientCore_IVRClientCore_003, - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Init) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Cleanup) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetGenericInterface) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_BIsHmdPresent) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError) - ); -#ifndef __GNUC__ -} -#endif - -winIVRClientCore_IVRClientCore_003 *create_winIVRClientCore_IVRClientCore_003(void *linux_side) -{ - winIVRClientCore_IVRClientCore_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRClientCore_IVRClientCore_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRClientCore_IVRClientCore_003(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_003_Cleanup, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; - struct client_core_data user_data; -} winIVRClientCore_IVRClientCore_002; - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_Init, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_Init(winIVRClientCore_IVRClientCore_002 *_this, EVRApplicationType eApplicationType) -{ - TRACE("%p\n", _this); - return ivrclientcore_002_init(cppIVRClientCore_IVRClientCore_002_Init, _this->linux_side, eApplicationType, 2, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_Cleanup, 4) -void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup(winIVRClientCore_IVRClientCore_002 *_this) -{ - TRACE("%p\n", _this); - ivrclientcore_cleanup(cppIVRClientCore_IVRClientCore_002_Cleanup, _this->linux_side, 2, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, 8) -EVRInitError __thiscall winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(winIVRClientCore_IVRClientCore_002 *_this, const char * pchInterfaceVersion) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(_this->linux_side, pchInterfaceVersion); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetGenericInterface, 12) -void * __thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface(winIVRClientCore_IVRClientCore_002 *_this, const char * pchNameAndVersion, EVRInitError * peError) -{ - TRACE("%p\n", _this); - return ivrclientcore_get_generic_interface(cppIVRClientCore_IVRClientCore_002_GetGenericInterface, _this->linux_side, pchNameAndVersion, peError, 2, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_BIsHmdPresent, 4) -bool __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent(winIVRClientCore_IVRClientCore_002 *_this) -{ - TRACE("%p\n", _this); - return ivrclientcore_is_hmd_present(cppIVRClientCore_IVRClientCore_002_BIsHmdPresent, _this->linux_side, 2, &_this->user_data); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(winIVRClientCore_IVRClientCore_002 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 8) -const char * __thiscall winIVRClientCore_IVRClientCore_002_GetIDForVRInitError(winIVRClientCore_IVRClientCore_002 *_this, EVRInitError eError) -{ - TRACE("%p\n", _this); - return cppIVRClientCore_IVRClientCore_002_GetIDForVRInitError(_this->linux_side, eError); -} - -extern vtable_ptr winIVRClientCore_IVRClientCore_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRClientCore_IVRClientCore_002, - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_Init) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_Cleanup) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetGenericInterface) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_BIsHmdPresent) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError) - VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetIDForVRInitError) - ); -#ifndef __GNUC__ -} -#endif - -winIVRClientCore_IVRClientCore_002 *create_winIVRClientCore_IVRClientCore_002(void *linux_side) -{ - winIVRClientCore_IVRClientCore_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRClientCore_IVRClientCore_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRClientCore_IVRClientCore_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRClientCore_IVRClientCore_002(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_002_Cleanup, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_002_GetGenericInterface, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_002_BIsHmdPresent, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRCompositor.c b/vrclient_x64/vrclient_x64/winIVRCompositor.c deleted file mode 100644 index 4a3800fe6..000000000 --- a/vrclient_x64/vrclient_x64/winIVRCompositor.c +++ /dev/null @@ -1,7614 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRCompositor_IVRCompositor_027.h" - -typedef struct __winIVRCompositor_IVRCompositor_027 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_027; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(winIVRCompositor_IVRCompositor_027 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_027 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_Submit(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_027_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_027_PostPresentHandoff, _this->linux_side, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(winIVRCompositor_IVRCompositor_027 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(winIVRCompositor_IVRCompositor_027 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_027 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(winIVRCompositor_IVRCompositor_027 *_this, float fSeconds, bool bFadeGridIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_FadeGrid(_this->linux_side, fSeconds, bFadeGridIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_027_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_027 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(winIVRCompositor_IVRCompositor_027 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_027 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_027 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_027 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_027 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_027 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 27); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_027 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(winIVRCompositor_IVRCompositor_027 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - char lin_pchRenderModelPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(winIVRCompositor_IVRCompositor_027 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_027_ClearStageOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 12) -bool __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_027 *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_027 *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(winIVRCompositor_IVRCompositor_027 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_027_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_027, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearStageOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetPosesForFrame) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027(void *linux_side) -{ - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_027_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_027(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_027 *create_winIVRCompositor_IVRCompositor_027_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_027 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_027)); - struct thunk *thunks = alloc_thunks(51); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_027_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); - for (i = 0; i < 51; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_027 *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 "cppIVRCompositor_IVRCompositor_026.h" - -typedef struct __winIVRCompositor_IVRCompositor_026 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_026; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(winIVRCompositor_IVRCompositor_026 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(winIVRCompositor_IVRCompositor_026 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_026_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoses(winIVRCompositor_IVRCompositor_026 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_026 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_Submit(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_026_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_026_PostPresentHandoff, _this->linux_side, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(winIVRCompositor_IVRCompositor_026 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(winIVRCompositor_IVRCompositor_026 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(winIVRCompositor_IVRCompositor_026 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(winIVRCompositor_IVRCompositor_026 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_026 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(winIVRCompositor_IVRCompositor_026 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(winIVRCompositor_IVRCompositor_026 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_026_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_026 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(winIVRCompositor_IVRCompositor_026 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_026 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_026 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_026 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_026 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_026 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_026 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_026 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_026 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_SetStageOverride_Async(winIVRCompositor_IVRCompositor_026 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - char lin_pchRenderModelPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(winIVRCompositor_IVRCompositor_026 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_026_ClearStageOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 12) -bool __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(winIVRCompositor_IVRCompositor_026 *_this, Compositor_BenchmarkResults * pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(_this->linux_side, pBenchmarkResults, nSizeOfBenchmarkResults); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(winIVRCompositor_IVRCompositor_026 *_this, uint32_t * pRenderPosePredictionID, uint32_t * pGamePosePredictionID) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(_this->linux_side, pRenderPosePredictionID, pGamePosePredictionID); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(winIVRCompositor_IVRCompositor_026 *_this, uint32_t unPosePredictionID, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_026_GetPosesForFrame(_this->linux_side, unPosePredictionID, pPoseArray, unPoseArrayCount); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_026_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_026, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearStageOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetPosesForFrame) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_026 *create_winIVRCompositor_IVRCompositor_026(void *linux_side) -{ - winIVRCompositor_IVRCompositor_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_026)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_026_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_026(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_026 *create_winIVRCompositor_IVRCompositor_026_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_026)); - struct thunk *thunks = alloc_thunks(51); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_026_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_026_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_026_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_026_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_026_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_026_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_026_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_026_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_026_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_026_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_026_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_026_ClearStageOverride, 0, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 3, FALSE, FALSE); - for (i = 0; i < 51; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_026 *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 "cppIVRCompositor_IVRCompositor_024.h" - -typedef struct __winIVRCompositor_IVRCompositor_024 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_024; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_024_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(winIVRCompositor_IVRCompositor_024 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_024 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_Submit(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_024_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_024_PostPresentHandoff, _this->linux_side, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(winIVRCompositor_IVRCompositor_024 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(winIVRCompositor_IVRCompositor_024 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_024 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(winIVRCompositor_IVRCompositor_024 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_024_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_024 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(winIVRCompositor_IVRCompositor_024 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_024 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_024 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_024 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_024 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_024 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_024 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(winIVRCompositor_IVRCompositor_024 *_this, const char * pchRenderModelPath, HmdMatrix34_t * pTransform, Compositor_StageRenderSettings * pRenderSettings, uint32_t nSizeOfRenderSettings) -{ - char lin_pchRenderModelPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchRenderModelPath, lin_pchRenderModelPath); - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_024_SetStageOverride_Async(_this->linux_side, pchRenderModelPath ? lin_pchRenderModelPath : NULL, pTransform, pRenderSettings, nSizeOfRenderSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(winIVRCompositor_IVRCompositor_024 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_024_ClearStageOverride(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_024, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearStageOverride) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024(void *linux_side) -{ - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_024_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_024(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_024 *create_winIVRCompositor_IVRCompositor_024_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_024)); - struct thunk *thunks = alloc_thunks(48); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_024_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); - for (i = 0; i < 48; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_024 *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 "cppIVRCompositor_IVRCompositor_022.h" - -typedef struct __winIVRCompositor_IVRCompositor_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_022; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_022_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(winIVRCompositor_IVRCompositor_022 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_022 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_Submit(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_022_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_022_PostPresentHandoff, _this->linux_side, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(winIVRCompositor_IVRCompositor_022 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(winIVRCompositor_IVRCompositor_022 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_022 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(winIVRCompositor_IVRCompositor_022 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_022_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_022 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(winIVRCompositor_IVRCompositor_022 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_022 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_022 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_022 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_022 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_022 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 8) -void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_022 *_this, EVRCompositorTimingMode eTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(_this->linux_side, eTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4) -bool __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(winIVRCompositor_IVRCompositor_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_022, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022(void *linux_side) -{ - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_022_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_022(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_022 *create_winIVRCompositor_IVRCompositor_022_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_022)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_022_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_022 *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 "cppIVRCompositor_IVRCompositor_021.h" - -typedef struct __winIVRCompositor_IVRCompositor_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_021; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_021_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(winIVRCompositor_IVRCompositor_021 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_021 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_Submit(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_021_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_021_PostPresentHandoff, _this->linux_side, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(winIVRCompositor_IVRCompositor_021 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(winIVRCompositor_IVRCompositor_021 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_021 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(winIVRCompositor_IVRCompositor_021 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_021_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_021 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(winIVRCompositor_IVRCompositor_021 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_021 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_021 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_021 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_021 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_021 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 5) -void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(winIVRCompositor_IVRCompositor_021 *_this, bool bExplicitTimingMode) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(_this->linux_side, bExplicitTimingMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(winIVRCompositor_IVRCompositor_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_021, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021(void *linux_side) -{ - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_021_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_021(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_021 *create_winIVRCompositor_IVRCompositor_021_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_021)); - struct thunk *thunks = alloc_thunks(43); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_021_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); - for (i = 0; i < 43; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_021 *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 "cppIVRCompositor_IVRCompositor_020.h" - -typedef struct __winIVRCompositor_IVRCompositor_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_020; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_020_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(winIVRCompositor_IVRCompositor_020 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_020 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_Submit(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_020_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_020_PostPresentHandoff, _this->linux_side, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(winIVRCompositor_IVRCompositor_020 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(winIVRCompositor_IVRCompositor_020 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_020 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(winIVRCompositor_IVRCompositor_020 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_020_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_020 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(winIVRCompositor_IVRCompositor_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(winIVRCompositor_IVRCompositor_020 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(winIVRCompositor_IVRCompositor_020 *_this, void * pD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(_this->linux_side, pD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_020 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_020 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_020 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_020 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 20); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_020_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_020, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020(void *linux_side) -{ - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_020_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_020(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_020 *create_winIVRCompositor_IVRCompositor_020_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_020)); - struct thunk *thunks = alloc_thunks(41); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_020_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - for (i = 0; i < 41; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_020 *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 "cppIVRCompositor_IVRCompositor_019.h" - -typedef struct __winIVRCompositor_IVRCompositor_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_019; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_019_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(winIVRCompositor_IVRCompositor_019 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_019 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_Submit(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_019_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_019_PostPresentHandoff, _this->linux_side, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(winIVRCompositor_IVRCompositor_019 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(winIVRCompositor_IVRCompositor_019 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_019 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(winIVRCompositor_IVRCompositor_019 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_019_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_019 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(winIVRCompositor_IVRCompositor_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(winIVRCompositor_IVRCompositor_019 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_019 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_019 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_019 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(_this->linux_side, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16) -uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(winIVRCompositor_IVRCompositor_019 *_this, VkPhysicalDevice_T * pPhysicalDevice, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return ivrcompositor_get_vulkan_device_extensions_required(cppIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, _this->linux_side, pPhysicalDevice, pchValue, unBufferSize, 19); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_019, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019(void *linux_side) -{ - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_019_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_019(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_019 *create_winIVRCompositor_IVRCompositor_019_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_019)); - struct thunk *thunks = alloc_thunks(40); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_019_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); - for (i = 0; i < 40; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_019 *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 "cppIVRCompositor_IVRCompositor_018.h" - -typedef struct __winIVRCompositor_IVRCompositor_018 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_018; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_018_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(winIVRCompositor_IVRCompositor_018 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_018 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_Submit(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_018_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_018_PostPresentHandoff, _this->linux_side, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(winIVRCompositor_IVRCompositor_018 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(winIVRCompositor_IVRCompositor_018 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 9) -HmdColor_t *__thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(winIVRCompositor_IVRCompositor_018 *_this, HmdColor_t *_r, bool bBackground) -{ - TRACE("%p\n", _this); - *_r = cppIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(_this->linux_side, bBackground); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(winIVRCompositor_IVRCompositor_018 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 4) -float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_018_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_018 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(winIVRCompositor_IVRCompositor_018 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(winIVRCompositor_IVRCompositor_018 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_018 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_018 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_018 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_018, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018(void *linux_side) -{ - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_018_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_018(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_018 *create_winIVRCompositor_IVRCompositor_018_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_018)); - struct thunk *thunks = alloc_thunks(38); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_018_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 38; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_018 *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 "cppIVRCompositor_IVRCompositor_017.h" - -typedef struct __winIVRCompositor_IVRCompositor_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_017; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_017_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(winIVRCompositor_IVRCompositor_017 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_017 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_Submit(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_017_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_017_PostPresentHandoff, _this->linux_side, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimings, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(winIVRCompositor_IVRCompositor_017 *_this, Compositor_FrameTiming * pTiming, uint32_t nFrames) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTimings(_this->linux_side, pTiming, nFrames); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(winIVRCompositor_IVRCompositor_017 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(winIVRCompositor_IVRCompositor_017 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_017_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_017 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(winIVRCompositor_IVRCompositor_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(winIVRCompositor_IVRCompositor_017 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_017 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_017 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_017 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_017, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimings) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017(void *linux_side) -{ - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_017_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_017(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_017 *create_winIVRCompositor_IVRCompositor_017_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_017)); - struct thunk *thunks = alloc_thunks(36); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_017_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 36; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_017 *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 "cppIVRCompositor_IVRCompositor_016.h" - -typedef struct __winIVRCompositor_IVRCompositor_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_016; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_wait_get_poses(cppIVRCompositor_IVRCompositor_016_WaitGetPoses, _this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(winIVRCompositor_IVRCompositor_016 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_016 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_Submit(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_016_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_016_PostPresentHandoff, _this->linux_side, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(winIVRCompositor_IVRCompositor_016 *_this, winCompositor_FrameTiming_103 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(winIVRCompositor_IVRCompositor_016 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(winIVRCompositor_IVRCompositor_016 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_016_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_016 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(winIVRCompositor_IVRCompositor_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(winIVRCompositor_IVRCompositor_016 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_016 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_016 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_016 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_016, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016(void *linux_side) -{ - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_016_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_016(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_016 *create_winIVRCompositor_IVRCompositor_016_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_016)); - struct thunk *thunks = alloc_thunks(35); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_016_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 35; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_016 *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 "cppIVRCompositor_IVRCompositor_015.h" - -typedef struct __winIVRCompositor_IVRCompositor_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_015; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(winIVRCompositor_IVRCompositor_015 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_015 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_Submit(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_015_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_015_PostPresentHandoff, _this->linux_side, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(winIVRCompositor_IVRCompositor_015 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 12) -void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(winIVRCompositor_IVRCompositor_015 *_this, Compositor_CumulativeStats * pStats, uint32_t nStatsSizeInBytes) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_GetCumulativeStats(_this->linux_side, pStats, nStatsSizeInBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(winIVRCompositor_IVRCompositor_015 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_015_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_015 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(winIVRCompositor_IVRCompositor_015 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_SuspendRendering(_this->linux_side, bSuspend); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_RequestScreenshot, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(winIVRCompositor_IVRCompositor_015 *_this, EVRScreenshotType type, const char * pchDestinationFileName, const char * pchVRDestinationFileName) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_RequestScreenshot(_this->linux_side, type, pchDestinationFileName, pchVRDestinationFileName); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 4) -EVRScreenshotType __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(winIVRCompositor_IVRCompositor_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(_this->linux_side, eEye, pD3D11DeviceOrResource, ppD3D11ShaderResourceView); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(winIVRCompositor_IVRCompositor_015 *_this, EVREye eEye, glUInt_t * pglTextureId, glSharedTextureHandle_t * pglSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(_this->linux_side, eEye, pglTextureId, pglSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 12) -bool __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(winIVRCompositor_IVRCompositor_015 *_this, glUInt_t glTextureId, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(_this->linux_side, glTextureId, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8) -void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(winIVRCompositor_IVRCompositor_015 *_this, glSharedTextureHandle_t glSharedTextureHandle) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(_this->linux_side, glSharedTextureHandle); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_015, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCumulativeStats) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SuspendRendering) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_RequestScreenshot) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015(void *linux_side) -{ - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_015_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_015(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_015 *create_winIVRCompositor_IVRCompositor_015_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_015)); - struct thunk *thunks = alloc_thunks(37); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_015_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); - for (i = 0; i < 37; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_015 *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 "cppIVRCompositor_IVRCompositor_014.h" - -typedef struct __winIVRCompositor_IVRCompositor_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_014; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(winIVRCompositor_IVRCompositor_014 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_014 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_Submit(winIVRCompositor_IVRCompositor_014 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_014_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_014_PostPresentHandoff, _this->linux_side, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(winIVRCompositor_IVRCompositor_014 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(winIVRCompositor_IVRCompositor_014 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_014_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_014 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4) -void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(winIVRCompositor_IVRCompositor_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_ForceReconnectProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 5) -void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(winIVRCompositor_IVRCompositor_014 *_this, bool bSuspend) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_014_SuspendRendering(_this->linux_side, bSuspend); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_014, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SuspendRendering) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014(void *linux_side) -{ - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_014_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_014(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_014 *create_winIVRCompositor_IVRCompositor_014_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_014)); - struct thunk *thunks = alloc_thunks(29); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_014_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); - for (i = 0; i < 29; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_014 *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 "cppIVRCompositor_IVRCompositor_013.h" - -typedef struct __winIVRCompositor_IVRCompositor_013 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_013; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(winIVRCompositor_IVRCompositor_013 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_013 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_Submit(winIVRCompositor_IVRCompositor_013 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_013_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_013_PostPresentHandoff, _this->linux_side, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(winIVRCompositor_IVRCompositor_013 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(winIVRCompositor_IVRCompositor_013 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_013_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 5) -void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(winIVRCompositor_IVRCompositor_013 *_this, bool bOverride) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(_this->linux_side, bOverride); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_013, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013(void *linux_side) -{ - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_013_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_013(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_013 *create_winIVRCompositor_IVRCompositor_013_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_013)); - struct thunk *thunks = alloc_thunks(27); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_013_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); - for (i = 0; i < 27; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_013 *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 "cppIVRCompositor_IVRCompositor_012.h" - -typedef struct __winIVRCompositor_IVRCompositor_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_012; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(winIVRCompositor_IVRCompositor_012 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 16) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(winIVRCompositor_IVRCompositor_012 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pOutputGamePose) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(_this->linux_side, unDeviceIndex, pOutputPose, pOutputGamePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_Submit(winIVRCompositor_IVRCompositor_012 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_012_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_012_PostPresentHandoff, _this->linux_side, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(winIVRCompositor_IVRCompositor_012 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(winIVRCompositor_IVRCompositor_012 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_012_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_012_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4) -bool __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(winIVRCompositor_IVRCompositor_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_012, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012(void *linux_side) -{ - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_012_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_012(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_012 *create_winIVRCompositor_IVRCompositor_012_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_012)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_012_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_012 *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 "cppIVRCompositor_IVRCompositor_011.h" - -typedef struct __winIVRCompositor_IVRCompositor_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_011; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(winIVRCompositor_IVRCompositor_011 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_Submit(winIVRCompositor_IVRCompositor_011 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_011_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_011_PostPresentHandoff, _this->linux_side, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(winIVRCompositor_IVRCompositor_011 *_this, Compositor_FrameTiming * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(winIVRCompositor_IVRCompositor_011 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_011_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(winIVRCompositor_IVRCompositor_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_011_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_011, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011(void *linux_side) -{ - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_011_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_011(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_011 *create_winIVRCompositor_IVRCompositor_011_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_011)); - 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, winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_011_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_011 *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 "cppIVRCompositor_IVRCompositor_010.h" - -typedef struct __winIVRCompositor_IVRCompositor_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_010; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(winIVRCompositor_IVRCompositor_010 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_Submit(winIVRCompositor_IVRCompositor_010 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_010_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_010_PostPresentHandoff, _this->linux_side, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(winIVRCompositor_IVRCompositor_010 *_this, winCompositor_FrameTiming_0914 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(winIVRCompositor_IVRCompositor_010 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_010_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(winIVRCompositor_IVRCompositor_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_010_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_010, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010(void *linux_side) -{ - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_010 *create_winIVRCompositor_IVRCompositor_010_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_010)); - 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, winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_010_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_010 *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 "cppIVRCompositor_IVRCompositor_009.h" - -typedef struct __winIVRCompositor_IVRCompositor_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_009; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this, ETrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastPoses, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(winIVRCompositor_IVRCompositor_009 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetLastPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_Submit, 20) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_Submit(winIVRCompositor_IVRCompositor_009 *_this, EVREye eEye, Texture_t * pTexture, VRTextureBounds_t * pBounds, EVRSubmitFlags nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_submit(cppIVRCompositor_IVRCompositor_009_Submit, _this->linux_side, eEye, pTexture, pBounds, nSubmitFlags, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - ivrcompositor_post_present_handoff(cppIVRCompositor_IVRCompositor_009_PostPresentHandoff, _this->linux_side, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(winIVRCompositor_IVRCompositor_009 *_this, winCompositor_FrameTiming_0913 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(winIVRCompositor_IVRCompositor_009 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 12) -EVRCompositorError __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this, Texture_t * pTextures, uint32_t unTextureCount) -{ - TRACE("%p\n", _this); - return ivrcompositor_set_skybox_override(cppIVRCompositor_IVRCompositor_009_SetSkyboxOverride, _this->linux_side, pTextures, unTextureCount, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4) -bool __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(winIVRCompositor_IVRCompositor_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_009_CompositorDumpImages(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_009, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_PostPresentHandoff) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorDumpImages) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009(void *linux_side) -{ - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_009_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_009(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_009 *create_winIVRCompositor_IVRCompositor_009_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_009)); - 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, winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_009_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_009 *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 "cppIVRCompositor_IVRCompositor_008.h" - -typedef struct __winIVRCompositor_IVRCompositor_008 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_008; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(winIVRCompositor_IVRCompositor_008 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(winIVRCompositor_IVRCompositor_008 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(winIVRCompositor_IVRCompositor_008 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(winIVRCompositor_IVRCompositor_008 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_Submit, 24) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_008_Submit(winIVRCompositor_IVRCompositor_008 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds, VRSubmitFlags_t nSubmitFlags) -{ - TRACE("%p\n", _this); - return ivrcompositor_008_submit(cppIVRCompositor_IVRCompositor_008_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, nSubmitFlags, 8); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(winIVRCompositor_IVRCompositor_008 *_this, winCompositor_FrameTiming_0910 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(winIVRCompositor_IVRCompositor_008 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 32) -void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this, GraphicsAPIConvention eTextureType, void * pFront, void * pBack, void * pLeft, void * pRight, void * pTop, void * pBottom) -{ - TRACE("%p\n", _this); - ivrcompositor_008_set_skybox_override(cppIVRCompositor_IVRCompositor_008_SetSkyboxOverride, _this->linux_side, eTextureType, pFront, pBack, pLeft, pRight, pTop, pBottom, 8); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_CanRenderScene(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_ShowMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_HideMirrorWindow(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 4) -void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_008_CompositorDumpImages(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4) -float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(winIVRCompositor_IVRCompositor_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_008, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CanRenderScene) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_HideMirrorWindow) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorDumpImages) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008(void *linux_side) -{ - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_008_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_008(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_008 *create_winIVRCompositor_IVRCompositor_008_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_008)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_008_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_008_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_008_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_008_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_008_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_008_Submit, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_008 *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 "cppIVRCompositor_IVRCompositor_007.h" - -typedef struct __winIVRCompositor_IVRCompositor_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_007; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(winIVRCompositor_IVRCompositor_007 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(winIVRCompositor_IVRCompositor_007 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(winIVRCompositor_IVRCompositor_007 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(winIVRCompositor_IVRCompositor_007 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_Submit, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_007_Submit(winIVRCompositor_IVRCompositor_007 *_this, Hmd_Eye eEye, GraphicsAPIConvention eTextureType, void * pTexture, VRTextureBounds_t * pBounds) -{ - TRACE("%p\n", _this); - return ivrcompositor_007_submit(cppIVRCompositor_IVRCompositor_007_Submit, _this->linux_side, eEye, eTextureType, pTexture, pBounds, 7); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(winIVRCompositor_IVRCompositor_007 *_this, winCompositor_FrameTiming_098 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(winIVRCompositor_IVRCompositor_007 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_007_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(winIVRCompositor_IVRCompositor_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_007_CanRenderScene(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_007, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CanRenderScene) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007(void *linux_side) -{ - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_007 *create_winIVRCompositor_IVRCompositor_007_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_007)); - struct thunk *thunks = alloc_thunks(19); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_007_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_007_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_007_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_007_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_007_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_007_Submit, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); - for (i = 0; i < 19; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_007 *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 "cppIVRCompositor_IVRCompositor_006.h" - -typedef struct __winIVRCompositor_IVRCompositor_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_006; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(winIVRCompositor_IVRCompositor_006 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(winIVRCompositor_IVRCompositor_006 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(winIVRCompositor_IVRCompositor_006 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 12) -void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(winIVRCompositor_IVRCompositor_006 *_this, Compositor_DeviceType eType, void * pDevice) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetGraphicsDevice(_this->linux_side, eType, pDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_WaitGetPoses, 20) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(winIVRCompositor_IVRCompositor_006 *_this, TrackedDevicePose_t * pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t * pGamePoseArray, uint32_t unGamePoseArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_WaitGetPoses(_this->linux_side, pRenderPoseArray, unRenderPoseArrayCount, pGamePoseArray, unGamePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_Submit, 16) -VRCompositorError __thiscall winIVRCompositor_IVRCompositor_006_Submit(winIVRCompositor_IVRCompositor_006 *_this, Hmd_Eye eEye, void * pTexture, VRTextureBounds_t * pBounds) -{ - TRACE("%p\n", _this); - return ivrcompositor_006_submit(cppIVRCompositor_IVRCompositor_006_Submit, _this->linux_side, eEye, pTexture, pBounds, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(winIVRCompositor_IVRCompositor_006 *_this, winCompositor_FrameTiming_092 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(winIVRCompositor_IVRCompositor_006 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_006_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetTrackingSpace(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4) -uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) -bool __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(winIVRCompositor_IVRCompositor_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_006_CanRenderScene(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_006, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CanRenderScene) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006(void *linux_side) -{ - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_006 *create_winIVRCompositor_IVRCompositor_006_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_006)); - 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, winIVRCompositor_IVRCompositor_006_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_006_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_006_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_006_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_006_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_006_Submit, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); - for (i = 0; i < 20; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_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 "cppIVRCompositor_IVRCompositor_005.h" - -typedef struct __winIVRCompositor_IVRCompositor_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRCompositor_IVRCompositor_005; - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetLastError, 12) -uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(winIVRCompositor_IVRCompositor_005 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetLastError(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 5) -void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(winIVRCompositor_IVRCompositor_005 *_this, bool bVSync) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetVSync(_this->linux_side, bVSync); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4) -bool __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetVSync(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGamma, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(winIVRCompositor_IVRCompositor_005 *_this, float fGamma) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGamma(_this->linux_side, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetGamma, 4) -float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetGamma(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(winIVRCompositor_IVRCompositor_005 *_this, Compositor_DeviceType eType, void * pDevice) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetGraphicsDevice(_this->linux_side, eType, pDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_WaitGetPoses, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(winIVRCompositor_IVRCompositor_005 *_this, TrackedDevicePose_t * pPoseArray, uint32_t unPoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_WaitGetPoses(_this->linux_side, pPoseArray, unPoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_Submit, 16) -void __thiscall winIVRCompositor_IVRCompositor_005_Submit(winIVRCompositor_IVRCompositor_005 *_this, Hmd_Eye eEye, void * pTexture, Compositor_TextureBounds * pBounds) -{ - TRACE("%p\n", _this); - ivrcompositor_005_submit(cppIVRCompositor_IVRCompositor_005_Submit, _this->linux_side, eEye, pTexture, pBounds, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_GetOverlayDefaults(_this->linux_side, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlay, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(winIVRCompositor_IVRCompositor_005 *_this, void * pTexture, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlay(_this->linux_side, pTexture, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 24) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(winIVRCompositor_IVRCompositor_005 *_this, void * buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings * pSettings) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayRaw(_this->linux_side, buffer, width, height, depth, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 12) -void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(winIVRCompositor_IVRCompositor_005 *_this, const char * pchFilePath, Compositor_OverlaySettings * pSettings) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetOverlayFromFile(_this->linux_side, pchFilePath ? lin_pchFilePath : NULL, pSettings); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearOverlay, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_ClearOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetFrameTiming, 12) -bool __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(winIVRCompositor_IVRCompositor_005 *_this, winCompositor_FrameTiming_091 * pTiming, uint32_t unFramesAgo) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetFrameTiming(_this->linux_side, pTiming, unFramesAgo); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeToColor, 25) -void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, bool bBackground) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeToColor(_this->linux_side, fSeconds, fRed, fGreen, fBlue, fAlpha, bBackground); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeGrid, 9) -void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(winIVRCompositor_IVRCompositor_005 *_this, float fSeconds, bool bFadeIn) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_FadeGrid(_this->linux_side, fSeconds, bFadeIn); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorBringToFront(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorGoToBack(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorQuit, 4) -void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_CompositorQuit(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_IsFullscreen, 4) -bool __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_IsFullscreen(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 48) -bool __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(winIVRCompositor_IVRCompositor_005 *_this, Compositor_OverlaySettings * pSettings, float fAspectRatio, TrackingUniverseOrigin eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t * pvecIntersectionUV, HmdVector3_t * pvecIntersectionTrackingSpace) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(_this->linux_side, pSettings, fAspectRatio, eOrigin, vSource, vDirection, pvecIntersectionUV, pvecIntersectionTrackingSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8) -void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this, TrackingUniverseOrigin eOrigin) -{ - TRACE("%p\n", _this); - cppIVRCompositor_IVRCompositor_005_SetTrackingSpace(_this->linux_side, eOrigin); -} - -DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) -TrackingUniverseOrigin __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(winIVRCompositor_IVRCompositor_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRCompositor_IVRCompositor_005_GetTrackingSpace(_this->linux_side); -} - -extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRCompositor_IVRCompositor_005, - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetLastError) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetVSync) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetGamma) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_WaitGetPoses) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_Submit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlay) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearOverlay) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetFrameTiming) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeToColor) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeGrid) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorBringToFront) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorGoToBack) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorQuit) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_IsFullscreen) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetTrackingSpace) - VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetTrackingSpace) - ); -#ifndef __GNUC__ -} -#endif - -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005(void *linux_side) -{ - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRCompositor_IVRCompositor_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRCompositor_IVRCompositor_005 *create_winIVRCompositor_IVRCompositor_005_FnTable(void *linux_side) -{ - winIVRCompositor_IVRCompositor_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRCompositor_IVRCompositor_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, winIVRCompositor_IVRCompositor_005_GetLastError, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_005_SetVSync, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_005_GetVSync, 0, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_005_SetGamma, 1, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_005_GetGamma, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_005_Submit, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); - init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); - for (i = 0; i < 24; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *object) -{ - winIVRCompositor_IVRCompositor_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRControlPanel.c b/vrclient_x64/vrclient_x64/winIVRControlPanel.c deleted file mode 100644 index 91489ea42..000000000 --- a/vrclient_x64/vrclient_x64/winIVRControlPanel.c +++ /dev/null @@ -1,333 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRControlPanel_IVRControlPanel_006.h" - -typedef struct __winIVRControlPanel_IVRControlPanel_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRControlPanel_IVRControlPanel_006; - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc1, 4) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc1(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc2, 16) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a, char * b, uint32_t c) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc2(_this->linux_side, a, b, c); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc3, 8) -EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc3(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc4, 8) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc4(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc5, 20) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc5(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, uint32_t b, char * c, uint32_t d) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc5(_this->linux_side, a, b, c, d); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc6, 20) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc6(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, const char * b, char * c, uint32_t d) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc6(_this->linux_side, a, b, c, d); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc7, 20) -uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc7(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a, const char * b, char * c, uint32_t d) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc7(_this->linux_side, a, b, c, d); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc8, 8) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc8(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc9, 4) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc9(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc10, 4) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc10(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc11, 8) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(winIVRControlPanel_IVRControlPanel_006 *_this, uint32_t a) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc11(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc12, 4) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc12(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc13, 8) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(winIVRControlPanel_IVRControlPanel_006 *_this, TrackedDeviceIndex_t a) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc13(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc14, 8) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(winIVRControlPanel_IVRControlPanel_006 *_this, EVRState a) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc14(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc15, 4) -EVRState __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc15(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc16, 5) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc16(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc17, 4) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc17(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc18, 4) -EVRApplicationError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc18(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc19, 5) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc19(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc20, 4) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc20(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc21, 4) -EVRInitError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc21(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc22, 28) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc22(winIVRControlPanel_IVRControlPanel_006 *_this, WebConsoleHandle_t a, const char * b, uint32_t c, uint32_t d, const char * e) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc22(_this->linux_side, a, b, c, d, e); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc23, 8) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a) -{ - char lin_a[PATH_MAX]; - vrclient_dos_path_to_unix_path(a, lin_a); - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc23(_this->linux_side, a ? lin_a : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc24, 4) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc24(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc25, 5) -bool __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(winIVRControlPanel_IVRControlPanel_006 *_this, bool a) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc25(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc26, 4) -uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(winIVRControlPanel_IVRControlPanel_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc26(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc27, 8) -EVRCompositorError __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(winIVRControlPanel_IVRControlPanel_006 *_this, const char * a) -{ - char lin_a[PATH_MAX]; - vrclient_dos_path_to_unix_path(a, lin_a); - TRACE("%p\n", _this); - return cppIVRControlPanel_IVRControlPanel_006_undoc27(_this->linux_side, a ? lin_a : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc28, 12) -void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(winIVRControlPanel_IVRControlPanel_006 *_this, VROverlayHandle_t a) -{ - TRACE("%p\n", _this); - cppIVRControlPanel_IVRControlPanel_006_undoc28(_this->linux_side, a); -} - -extern vtable_ptr winIVRControlPanel_IVRControlPanel_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRControlPanel_IVRControlPanel_006, - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc1) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc2) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc3) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc4) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc5) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc6) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc7) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc8) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc9) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc10) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc11) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc12) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc13) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc14) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc15) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc16) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc17) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc18) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc19) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc20) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc21) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc22) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc23) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc24) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc25) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc26) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc27) - VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc28) - ); -#ifndef __GNUC__ -} -#endif - -winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006(void *linux_side) -{ - winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRControlPanel_IVRControlPanel_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRControlPanel_IVRControlPanel_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRControlPanel_IVRControlPanel_006 *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *linux_side) -{ - winIVRControlPanel_IVRControlPanel_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRControlPanel_IVRControlPanel_006)); - struct thunk *thunks = alloc_thunks(28); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRControlPanel_IVRControlPanel_006_undoc1, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRControlPanel_IVRControlPanel_006_undoc2, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRControlPanel_IVRControlPanel_006_undoc3, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRControlPanel_IVRControlPanel_006_undoc4, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRControlPanel_IVRControlPanel_006_undoc5, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRControlPanel_IVRControlPanel_006_undoc6, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRControlPanel_IVRControlPanel_006_undoc7, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRControlPanel_IVRControlPanel_006_undoc8, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRControlPanel_IVRControlPanel_006_undoc9, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRControlPanel_IVRControlPanel_006_undoc10, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRControlPanel_IVRControlPanel_006_undoc11, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRControlPanel_IVRControlPanel_006_undoc12, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRControlPanel_IVRControlPanel_006_undoc13, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRControlPanel_IVRControlPanel_006_undoc14, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRControlPanel_IVRControlPanel_006_undoc15, 0, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRControlPanel_IVRControlPanel_006_undoc16, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRControlPanel_IVRControlPanel_006_undoc17, 0, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRControlPanel_IVRControlPanel_006_undoc18, 0, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRControlPanel_IVRControlPanel_006_undoc19, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRControlPanel_IVRControlPanel_006_undoc20, 0, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRControlPanel_IVRControlPanel_006_undoc21, 0, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRControlPanel_IVRControlPanel_006_undoc22, 5, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRControlPanel_IVRControlPanel_006_undoc23, 1, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRControlPanel_IVRControlPanel_006_undoc24, 0, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRControlPanel_IVRControlPanel_006_undoc25, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRControlPanel_IVRControlPanel_006_undoc26, 0, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRControlPanel_IVRControlPanel_006_undoc27, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRControlPanel_IVRControlPanel_006_undoc28, 1, FALSE, FALSE); - for (i = 0; i < 28; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *object) -{ - winIVRControlPanel_IVRControlPanel_006 *win_object = object; - TRACE("%p\n", win_object); - VirtualFree(win_object->vtable[0], 0, MEM_RELEASE); - HeapFree(GetProcessHeap(), 0, win_object->vtable); - HeapFree(GetProcessHeap(), 0, win_object); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRDriverManager.c b/vrclient_x64/vrclient_x64/winIVRDriverManager.c deleted file mode 100644 index a60f3229c..000000000 --- a/vrclient_x64/vrclient_x64/winIVRDriverManager.c +++ /dev/null @@ -1,113 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRDriverManager_IVRDriverManager_001.h" - -typedef struct __winIVRDriverManager_IVRDriverManager_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRDriverManager_IVRDriverManager_001; - -DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverCount, 4) -uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverCount(winIVRDriverManager_IVRDriverManager_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRDriverManager_IVRDriverManager_001_GetDriverCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverName, 16) -uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverName(winIVRDriverManager_IVRDriverManager_001 *_this, DriverId_t nDriver, char * pchValue, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRDriverManager_IVRDriverManager_001_GetDriverName(_this->linux_side, nDriver, pchValue, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverHandle, 8) -DriverHandle_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverHandle(winIVRDriverManager_IVRDriverManager_001 *_this, const char * pchDriverName) -{ - TRACE("%p\n", _this); - return cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(_this->linux_side, pchDriverName); -} - -DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_IsEnabled, 8) -bool __thiscall winIVRDriverManager_IVRDriverManager_001_IsEnabled(winIVRDriverManager_IVRDriverManager_001 *_this, DriverId_t nDriver) -{ - TRACE("%p\n", _this); - return cppIVRDriverManager_IVRDriverManager_001_IsEnabled(_this->linux_side, nDriver); -} - -extern vtable_ptr winIVRDriverManager_IVRDriverManager_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRDriverManager_IVRDriverManager_001, - VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverCount) - VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverName) - VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverHandle) - VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_IsEnabled) - ); -#ifndef __GNUC__ -} -#endif - -winIVRDriverManager_IVRDriverManager_001 *create_winIVRDriverManager_IVRDriverManager_001(void *linux_side) -{ - winIVRDriverManager_IVRDriverManager_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRDriverManager_IVRDriverManager_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRDriverManager_IVRDriverManager_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRDriverManager_IVRDriverManager_001(void *object) -{ - TRACE("%p\n", 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(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, winIVRDriverManager_IVRDriverManager_001_GetDriverCount, 0, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRDriverManager_IVRDriverManager_001_GetDriverName, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRDriverManager_IVRDriverManager_001_GetDriverHandle, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRDriverManager_IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); - for (i = 0; i < 4; 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c b/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c deleted file mode 100644 index 8df1650c8..000000000 --- a/vrclient_x64/vrclient_x64/winIVRExtendedDisplay.c +++ /dev/null @@ -1,104 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h" - -typedef struct __winIVRExtendedDisplay_IVRExtendedDisplay_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRExtendedDisplay_IVRExtendedDisplay_001; - -DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, 20) -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, 24) -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 12) -void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(winIVRExtendedDisplay_IVRExtendedDisplay_001 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(_this->linux_side, pnAdapterIndex, pnAdapterOutputIndex); -} - -extern vtable_ptr winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRExtendedDisplay_IVRExtendedDisplay_001, - VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo) - ); -#ifndef __GNUC__ -} -#endif - -winIVRExtendedDisplay_IVRExtendedDisplay_001 *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *linux_side) -{ - winIVRExtendedDisplay_IVRExtendedDisplay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRExtendedDisplay_IVRExtendedDisplay_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *object) -{ - TRACE("%p\n", 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, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c b/vrclient_x64/vrclient_x64/winIVRHeadsetView.c deleted file mode 100644 index ec11b257f..000000000 --- a/vrclient_x64/vrclient_x64/winIVRHeadsetView.c +++ /dev/null @@ -1,158 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRHeadsetView_IVRHeadsetView_001.h" - -typedef struct __winIVRHeadsetView_IVRHeadsetView_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRHeadsetView_IVRHeadsetView_001; - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, 12) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(winIVRHeadsetView_IVRHeadsetView_001 *_this, uint32_t nWidth, uint32_t nHeight) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(_this->linux_side, nWidth, nHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, 12) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(winIVRHeadsetView_IVRHeadsetView_001 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, 8) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(winIVRHeadsetView_IVRHeadsetView_001 *_this, HeadsetViewMode_t eHeadsetViewMode) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(_this->linux_side, eHeadsetViewMode); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, 4) -HeadsetViewMode_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(winIVRHeadsetView_IVRHeadsetView_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, 5) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(winIVRHeadsetView_IVRHeadsetView_001 *_this, bool bCropped) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(_this->linux_side, bCropped); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, 4) -bool __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(winIVRHeadsetView_IVRHeadsetView_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, 4) -float __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(winIVRHeadsetView_IVRHeadsetView_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, 12) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(winIVRHeadsetView_IVRHeadsetView_001 *_this, float flStartPct, float flEndPct) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(_this->linux_side, flStartPct, flEndPct); -} - -DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 12) -void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(winIVRHeadsetView_IVRHeadsetView_001 *_this, float * pStartPct, float * pEndPct) -{ - TRACE("%p\n", _this); - cppIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(_this->linux_side, pStartPct, pEndPct); -} - -extern vtable_ptr winIVRHeadsetView_IVRHeadsetView_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRHeadsetView_IVRHeadsetView_001, - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange) - VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange) - ); -#ifndef __GNUC__ -} -#endif - -winIVRHeadsetView_IVRHeadsetView_001 *create_winIVRHeadsetView_IVRHeadsetView_001(void *linux_side) -{ - winIVRHeadsetView_IVRHeadsetView_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRHeadsetView_IVRHeadsetView_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRHeadsetView_IVRHeadsetView_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRHeadsetView_IVRHeadsetView_001 *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *linux_side) -{ - winIVRHeadsetView_IVRHeadsetView_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRHeadsetView_IVRHeadsetView_001)); - 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, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, 0, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, 2, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); - for (i = 0; i < 9; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *object) -{ - winIVRHeadsetView_IVRHeadsetView_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/vrclient_x64/winIVRIOBuffer.c deleted file mode 100644 index e5f9d87d7..000000000 --- a/vrclient_x64/vrclient_x64/winIVRIOBuffer.c +++ /dev/null @@ -1,233 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRIOBuffer_IVRIOBuffer_002.h" - -typedef struct __winIVRIOBuffer_IVRIOBuffer_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRIOBuffer_IVRIOBuffer_002; - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Open, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Open(winIVRIOBuffer_IVRIOBuffer_002 *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Close, 12) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Close(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_Close(_this->linux_side, ulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Read, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Read(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Write, 20) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_002_Write(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_Write(_this->linux_side, ulBuffer, pSrc, unBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer, 12) -PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(_this->linux_side, ulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 12) -bool __thiscall winIVRIOBuffer_IVRIOBuffer_002_HasReaders(winIVRIOBuffer_IVRIOBuffer_002 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_002_HasReaders(_this->linux_side, ulBuffer); -} - -extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_002, - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Open) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Close) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Read) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Write) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_HasReaders) - ); -#ifndef __GNUC__ -} -#endif - -winIVRIOBuffer_IVRIOBuffer_002 *create_winIVRIOBuffer_IVRIOBuffer_002(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRIOBuffer_IVRIOBuffer_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRIOBuffer_IVRIOBuffer_002 *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_002)); - struct thunk *thunks = alloc_thunks(6); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 6 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_002_Open, 5, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_002_Close, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_002_Read, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_002_Write, 3, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); - for (i = 0; i < 6; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *object) -{ - winIVRIOBuffer_IVRIOBuffer_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 "cppIVRIOBuffer_IVRIOBuffer_001.h" - -typedef struct __winIVRIOBuffer_IVRIOBuffer_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRIOBuffer_IVRIOBuffer_001; - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Open, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(winIVRIOBuffer_IVRIOBuffer_001 *_this, const char * pchPath, EIOBufferMode mode, uint32_t unElementSize, uint32_t unElements, IOBufferHandle_t * pulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Open(_this->linux_side, pchPath, mode, unElementSize, unElements, pulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Close, 12) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Close(_this->linux_side, ulBuffer); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Read, 24) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pDst, uint32_t unBytes, uint32_t * punRead) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Read(_this->linux_side, ulBuffer, pDst, unBytes, punRead); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Write, 20) -EIOBufferError __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer, void * pSrc, uint32_t unBytes) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_Write(_this->linux_side, ulBuffer, pSrc, unBytes); -} - -DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) -PropertyContainerHandle_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(winIVRIOBuffer_IVRIOBuffer_001 *_this, IOBufferHandle_t ulBuffer) -{ - TRACE("%p\n", _this); - return cppIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(_this->linux_side, ulBuffer); -} - -extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_001, - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Open) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Close) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Read) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Write) - VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRIOBuffer_IVRIOBuffer_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRIOBuffer_IVRIOBuffer_001 *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *linux_side) -{ - winIVRIOBuffer_IVRIOBuffer_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRIOBuffer_IVRIOBuffer_001)); - struct thunk *thunks = alloc_thunks(5); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 5 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_001_Open, 5, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_001_Close, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_001_Read, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_001_Write, 3, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); - for (i = 0; i < 5; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *object) -{ - winIVRIOBuffer_IVRIOBuffer_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRInput.c b/vrclient_x64/vrclient_x64/winIVRInput.c deleted file mode 100644 index b0412247b..000000000 --- a/vrclient_x64/vrclient_x64/winIVRInput.c +++ /dev/null @@ -1,1688 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRInput_IVRInput_010.h" - -typedef struct __winIVRInput_IVRInput_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_010; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_010_SetActionManifestPath(winIVRInput_IVRInput_010 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionSetHandle(winIVRInput_IVRInput_010 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionHandle(winIVRInput_IVRInput_010 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(winIVRInput_IVRInput_010 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_010_UpdateActionState(winIVRInput_IVRInput_010 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_010_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, 36) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame, 32) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1237 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1237 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetDominantHand, 8) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetDominantHand(winIVRInput_IVRInput_010 *_this, ETrackedControllerRole * peDominantHand) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetDominantHand(_this->linux_side, peDominantHand); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_SetDominantHand, 8) -EVRInputError __thiscall winIVRInput_IVRInput_010_SetDominantHand(winIVRInput_IVRInput_010 *_this, ETrackedControllerRole eDominantHand) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_SetDominantHand(_this->linux_side, eDominantHand); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneCount(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneHierarchy(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBoneName(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalTrackingLevel(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalSummaryData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalSummaryData(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_010_DecompressSkeletalBoneData(winIVRInput_IVRInput_010 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_010_TriggerHapticVibrationAction(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionOrigins(winIVRInput_IVRInput_010 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionBindingInfo, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(winIVRInput_IVRInput_010 *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(winIVRInput_IVRInput_010 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(winIVRInput_IVRInput_010 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetComponentStateForBinding, 28) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetComponentStateForBinding(winIVRInput_IVRInput_010 *_this, const char * pchRenderModelName, const char * pchComponentName, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetComponentStateForBinding(_this->linux_side, pchRenderModelName, pchComponentName, pOriginInfo, unBindingInfoSize, unBindingInfoCount, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_010_IsUsingLegacyInput(winIVRInput_IVRInput_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_IsUsingLegacyInput(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_OpenBindingUI, 25) -EVRInputError __thiscall winIVRInput_IVRInput_010_OpenBindingUI(winIVRInput_IVRInput_010 *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBindingVariant, 20) -EVRInputError __thiscall winIVRInput_IVRInput_010_GetBindingVariant(winIVRInput_IVRInput_010 *_this, VRInputValueHandle_t ulDevicePath, char * pchVariantArray, uint32_t unVariantArraySize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_010_GetBindingVariant(_this->linux_side, ulDevicePath, pchVariantArray, unVariantArraySize); -} - -extern vtable_ptr winIVRInput_IVRInput_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_010, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetDominantHand) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_SetDominantHand) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionBindingInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetComponentStateForBinding) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_IsUsingLegacyInput) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_OpenBindingUI) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBindingVariant) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_010 *create_winIVRInput_IVRInput_010(void *linux_side) -{ - winIVRInput_IVRInput_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_010 *create_winIVRInput_IVRInput_010_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_010)); - struct thunk *thunks = alloc_thunks(32); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 32 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_010_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_010_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_010_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_010_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_010_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_010_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_010_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_010_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_010_GetDominantHand, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_010_SetDominantHand, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_010_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_010_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_010_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_010_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_010_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_010_GetSkeletalSummaryData, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_010_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_010_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_010_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_010_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRInput_IVRInput_010_GetActionBindingInfo, 5, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRInput_IVRInput_010_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRInput_IVRInput_010_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRInput_IVRInput_010_GetComponentStateForBinding, 6, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRInput_IVRInput_010_IsUsingLegacyInput, 0, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRInput_IVRInput_010_OpenBindingUI, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRInput_IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); - for (i = 0; i < 32; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_010_FnTable(void *object) -{ - winIVRInput_IVRInput_010 *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 "cppIVRInput_IVRInput_007.h" - -typedef struct __winIVRInput_IVRInput_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_007; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(winIVRInput_IVRInput_007 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionHandle(winIVRInput_IVRInput_007 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(winIVRInput_IVRInput_007 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_UpdateActionState(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_007_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 7); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 36) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 32) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1916 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1916 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneCount(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetBoneName(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalSummaryData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(winIVRInput_IVRInput_007 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_007 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionBindingInfo, 28) -EVRInputError __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(winIVRInput_IVRInput_007 *_this, VRActionHandle_t action, InputBindingInfo_t * pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t * punReturnedBindingInfoCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_GetActionBindingInfo(_this->linux_side, action, pOriginInfo, unBindingInfoSize, unBindingInfoCount, punReturnedBindingInfoCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(winIVRInput_IVRInput_007 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(winIVRInput_IVRInput_007 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(winIVRInput_IVRInput_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_IsUsingLegacyInput(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 25) -EVRInputError __thiscall winIVRInput_IVRInput_007_OpenBindingUI(winIVRInput_IVRInput_007 *_this, const char * pchAppKey, VRActionSetHandle_t ulActionSetHandle, VRInputValueHandle_t ulDeviceHandle, bool bShowOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_007_OpenBindingUI(_this->linux_side, pchAppKey, ulActionSetHandle, ulDeviceHandle, bShowOnDesktop); -} - -extern vtable_ptr winIVRInput_IVRInput_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_007, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionBindingInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_IsUsingLegacyInput) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_OpenBindingUI) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007(void *linux_side) -{ - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_007 *create_winIVRInput_IVRInput_007_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_007)); - struct thunk *thunks = alloc_thunks(28); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_007_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_007_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_007_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_007_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_007_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_007_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_007_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_007_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_007_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_007_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_007_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_007_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_007_GetSkeletalSummaryData, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_007_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_007_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_007_GetActionBindingInfo, 5, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_007_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRInput_IVRInput_007_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRInput_IVRInput_007_IsUsingLegacyInput, 0, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRInput_IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); - for (i = 0; i < 28; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_007_FnTable(void *object) -{ - winIVRInput_IVRInput_007 *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 "cppIVRInput_IVRInput_006.h" - -typedef struct __winIVRInput_IVRInput_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_006; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(winIVRInput_IVRInput_006 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionHandle(winIVRInput_IVRInput_006 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(winIVRInput_IVRInput_006 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_UpdateActionState(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_006_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 36) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 32) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_1418 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(_this->linux_side, action, eOrigin, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1418 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneCount(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetBoneName(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalSummaryData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSummaryType eSummaryType, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalSummaryData(_this->linux_side, action, eSummaryType, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(winIVRInput_IVRInput_006 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(winIVRInput_IVRInput_006 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_006 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(winIVRInput_IVRInput_006 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(winIVRInput_IVRInput_006 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(winIVRInput_IVRInput_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_006_IsUsingLegacyInput(_this->linux_side); -} - -extern vtable_ptr winIVRInput_IVRInput_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_006, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_IsUsingLegacyInput) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006(void *linux_side) -{ - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_006 *create_winIVRInput_IVRInput_006_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_006)); - struct thunk *thunks = alloc_thunks(26); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_006_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_006_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_006_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_006_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRInput_IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); - for (i = 0; i < 26; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_006_FnTable(void *object) -{ - winIVRInput_IVRInput_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 "cppIVRInput_IVRInput_005.h" - -typedef struct __winIVRInput_IVRInput_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_005; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(winIVRInput_IVRInput_005 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionHandle(winIVRInput_IVRInput_005 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(winIVRInput_IVRInput_005 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_UpdateActionState(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_005_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetPoseActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetPoseActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1322 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1322 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneCount, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneCount(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, uint32_t * pBoneCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneCount(_this->linux_side, action, pBoneCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneHierarchy, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t * pParentIndices, uint32_t unIndexArayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneHierarchy(_this->linux_side, action, pParentIndices, unIndexArayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetBoneName(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, BoneIndex_t nBoneIndex, char * pchBoneName, uint32_t unNameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetBoneName(_this->linux_side, action, nBoneIndex, pchBoneName, unNameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalReferencePose eReferencePose, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(_this->linux_side, action, eTransformSpace, eReferencePose, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTrackingLevel * pSkeletalTrackingLevel) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalTrackingLevel(_this->linux_side, action, pSkeletalTrackingLevel); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalSummaryData, 16) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, VRSkeletalSummaryData_t * pSkeletalSummaryData) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalSummaryData(_this->linux_side, action, pSkeletalSummaryData); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(_this->linux_side, action, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(winIVRInput_IVRInput_005 *_this, const void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace eTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, eTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(winIVRInput_IVRInput_005 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginLocalizedName, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize, unStringSectionsToInclude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_005 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(winIVRInput_IVRInput_005 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(winIVRInput_IVRInput_005 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) -bool __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(winIVRInput_IVRInput_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_005_IsUsingLegacyInput(_this->linux_side); -} - -extern vtable_ptr winIVRInput_IVRInput_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_005, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneCount) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneHierarchy) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalSummaryData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowBindingsForActionSet) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_IsUsingLegacyInput) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005(void *linux_side) -{ - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_005 *create_winIVRInput_IVRInput_005_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_005)); - struct thunk *thunks = alloc_thunks(25); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 25 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_005_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_005_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_005_GetBoneCount, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_005_GetBoneName, 4, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[19], r, winIVRInput_IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRInput_IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRInput_IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRInput_IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRInput_IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); - for (i = 0; i < 25; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_005_FnTable(void *object) -{ - winIVRInput_IVRInput_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 "cppIVRInput_IVRInput_004.h" - -typedef struct __winIVRInput_IVRInput_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_004; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(winIVRInput_IVRInput_004 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionHandle(winIVRInput_IVRInput_004 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(winIVRInput_IVRInput_004 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_004_UpdateActionState(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetDigitalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return ivrinput_get_digital_action_data(cppIVRInput_IVRInput_004_GetDigitalActionData, _this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetAnalogActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetPoseActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetPoseActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, winInputSkeletalActionData_t_1017 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalActionData(_this->linux_side, action, pActionData, unActionDataSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalBoneData(_this->linux_side, action, eTransformSpace, eMotionRange, pTransformArray, unTransformArrayCount, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 40) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eTransformSpace, EVRSkeletalMotionRange eMotionRange, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(_this->linux_side, action, eTransformSpace, eMotionRange, pvCompressedData, unCompressedSize, punRequiredCompressedSize, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(winIVRInput_IVRInput_004 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peTransformSpace, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_DecompressSkeletalBoneData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peTransformSpace, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 36) -EVRInputError __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(winIVRInput_IVRInput_004 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, VRInputValueHandle_t ulRestrictToDevice) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude, ulRestrictToDevice); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginLocalizedName, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_004 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(winIVRInput_IVRInput_004 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(winIVRInput_IVRInput_004 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_004_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -extern vtable_ptr winIVRInput_IVRInput_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_004, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_DecompressSkeletalBoneData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowBindingsForActionSet) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004(void *linux_side) -{ - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_004 *create_winIVRInput_IVRInput_004_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_004)); - 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, winIVRInput_IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_004_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_004_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRInput_IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); - for (i = 0; i < 18; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_004_FnTable(void *object) -{ - winIVRInput_IVRInput_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 "cppIVRInput_IVRInput_003.h" - -typedef struct __winIVRInput_IVRInput_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRInput_IVRInput_003; - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_SetActionManifestPath, 8) -EVRInputError __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(winIVRInput_IVRInput_003 *_this, const char * pchActionManifestPath) -{ - char lin_pchActionManifestPath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchActionManifestPath, lin_pchActionManifestPath); - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_SetActionManifestPath(_this->linux_side, pchActionManifestPath ? lin_pchActionManifestPath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionSetHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionSetName, VRActionSetHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionSetHandle(_this->linux_side, pchActionSetName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionHandle(winIVRInput_IVRInput_003 *_this, const char * pchActionName, VRActionHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionHandle(_this->linux_side, pchActionName, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetInputSourceHandle, 12) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(winIVRInput_IVRInput_003 *_this, const char * pchInputSourcePath, VRInputValueHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetInputSourceHandle(_this->linux_side, pchInputSourcePath, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UpdateActionState, 16) -EVRInputError __thiscall winIVRInput_IVRInput_003_UpdateActionState(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_UpdateActionState(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetDigitalActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputDigitalActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetDigitalActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetAnalogActionData, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, winInputAnalogActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetAnalogActionData(_this->linux_side, action, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetPoseActionData, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetPoseActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_1015 * pActionData, uint32_t unActionDataSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetPoseActionData(_this->linux_side, action, eOrigin, fPredictedSecondsFromNow, pActionData, unActionDataSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionData, 36) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, winInputSkeletonActionData_t_1015 * pActionData, uint32_t unActionDataSize, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetSkeletalActionData(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pActionData, unActionDataSize, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 32) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, EVRSkeletalTransformSpace eBoneParent, float fPredictedSecondsFromNow, void * pvCompressedData, uint32_t unCompressedSize, uint32_t * punRequiredCompressedSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(_this->linux_side, action, eBoneParent, fPredictedSecondsFromNow, pvCompressedData, unCompressedSize, punRequiredCompressedSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UncompressSkeletalActionData, 24) -EVRInputError __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(winIVRInput_IVRInput_003 *_this, void * pvCompressedBuffer, uint32_t unCompressedBufferSize, EVRSkeletalTransformSpace * peBoneParent, VRBoneTransform_t * pTransformArray, uint32_t unTransformArrayCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_UncompressSkeletalActionData(_this->linux_side, pvCompressedBuffer, unCompressedBufferSize, peBoneParent, pTransformArray, unTransformArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(winIVRInput_IVRInput_003 *_this, VRActionHandle_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_TriggerHapticVibrationAction(_this->linux_side, action, fStartSecondsFromNow, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionOrigins, 28) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t digitalActionHandle, VRInputValueHandle_t * originsOut, uint32_t originOutCount) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetActionOrigins(_this->linux_side, actionSetHandle, digitalActionHandle, originsOut, originOutCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginLocalizedName, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, char * pchNameArray, uint32_t unNameArraySize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetOriginLocalizedName(_this->linux_side, origin, pchNameArray, unNameArraySize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(winIVRInput_IVRInput_003 *_this, VRInputValueHandle_t origin, InputOriginInfo_t * pOriginInfo, uint32_t unOriginInfoSize) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(_this->linux_side, origin, pOriginInfo, unOriginInfoSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowActionOrigins, 20) -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(winIVRInput_IVRInput_003 *_this, VRActionSetHandle_t actionSetHandle, VRActionHandle_t ulActionHandle) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_ShowActionOrigins(_this->linux_side, actionSetHandle, ulActionHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) -EVRInputError __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(winIVRInput_IVRInput_003 *_this, VRActiveActionSet_t * pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, VRInputValueHandle_t originToHighlight) -{ - TRACE("%p\n", _this); - return cppIVRInput_IVRInput_003_ShowBindingsForActionSet(_this->linux_side, pSets, unSizeOfVRSelectedActionSet_t, unSetCount, originToHighlight); -} - -extern vtable_ptr winIVRInput_IVRInput_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRInput_IVRInput_003, - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_SetActionManifestPath) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionSetHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetInputSourceHandle) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UpdateActionState) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetDigitalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetAnalogActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetPoseActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UncompressSkeletalActionData) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_TriggerHapticVibrationAction) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginLocalizedName) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowActionOrigins) - VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowBindingsForActionSet) - ); -#ifndef __GNUC__ -} -#endif - -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003(void *linux_side) -{ - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRInput_IVRInput_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRInput_IVRInput_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRInput_IVRInput_003 *create_winIVRInput_IVRInput_003_FnTable(void *linux_side) -{ - winIVRInput_IVRInput_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRInput_IVRInput_003)); - struct thunk *thunks = alloc_thunks(17); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 17 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRInput_IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRInput_IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRInput_IVRInput_003_GetActionHandle, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRInput_IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRInput_IVRInput_003_UpdateActionState, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRInput_IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRInput_IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRInput_IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRInput_IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); - init_thunk(&thunks[10], r, winIVRInput_IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVRInput_IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRInput_IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRInput_IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRInput_IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); - for (i = 0; i < 17; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRInput_IVRInput_003_FnTable(void *object) -{ - winIVRInput_IVRInput_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRMailbox.c b/vrclient_x64/vrclient_x64/winIVRMailbox.c deleted file mode 100644 index f7b658852..000000000 --- a/vrclient_x64/vrclient_x64/winIVRMailbox.c +++ /dev/null @@ -1,113 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRMailbox_IVRMailbox_001.h" - -typedef struct __winIVRMailbox_IVRMailbox_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRMailbox_IVRMailbox_001; - -DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc1, 12) -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc1(winIVRMailbox_IVRMailbox_001 *_this, const char * a, vrmb_typea * b) -{ - TRACE("%p\n", _this); - return cppIVRMailbox_IVRMailbox_001_undoc1(_this->linux_side, a, b); -} - -DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc2, 12) -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc2(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a) -{ - TRACE("%p\n", _this); - return cppIVRMailbox_IVRMailbox_001_undoc2(_this->linux_side, a); -} - -DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc3, 20) -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc3(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a, const char * b, const char * c) -{ - TRACE("%p\n", _this); - return ivrmailbox_undoc3(cppIVRMailbox_IVRMailbox_001_undoc3, _this->linux_side, a, b, c, 1); -} - -DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc4, 24) -vrmb_typeb __thiscall winIVRMailbox_IVRMailbox_001_undoc4(winIVRMailbox_IVRMailbox_001 *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d) -{ - TRACE("%p\n", _this); - return cppIVRMailbox_IVRMailbox_001_undoc4(_this->linux_side, a, b, c, d); -} - -extern vtable_ptr winIVRMailbox_IVRMailbox_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRMailbox_IVRMailbox_001, - VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc1) - VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc2) - VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc3) - VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc4) - ); -#ifndef __GNUC__ -} -#endif - -winIVRMailbox_IVRMailbox_001 *create_winIVRMailbox_IVRMailbox_001(void *linux_side) -{ - winIVRMailbox_IVRMailbox_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRMailbox_IVRMailbox_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRMailbox_IVRMailbox_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRMailbox_IVRMailbox_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRMailbox_IVRMailbox_001 *create_winIVRMailbox_IVRMailbox_001_FnTable(void *linux_side) -{ - winIVRMailbox_IVRMailbox_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRMailbox_IVRMailbox_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, winIVRMailbox_IVRMailbox_001_undoc1, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRMailbox_IVRMailbox_001_undoc2, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRMailbox_IVRMailbox_001_undoc3, 3, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRMailbox_IVRMailbox_001_undoc4, 4, FALSE, FALSE); - for (i = 0; i < 4; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *object) -{ - winIVRMailbox_IVRMailbox_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRNotifications.c b/vrclient_x64/vrclient_x64/winIVRNotifications.c deleted file mode 100644 index 52bc6eb4f..000000000 --- a/vrclient_x64/vrclient_x64/winIVRNotifications.c +++ /dev/null @@ -1,179 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRNotifications_IVRNotifications_002.h" - -typedef struct __winIVRNotifications_IVRNotifications_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRNotifications_IVRNotifications_002; - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_CreateNotification, 40) -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_CreateNotification(winIVRNotifications_IVRNotifications_002 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, EVRNotificationType type, const char * pchText, EVRNotificationStyle style, NotificationBitmap_t * pImage, VRNotificationId * pNotificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_002_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, type, pchText, style, pImage, pNotificationId); -} - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_002_RemoveNotification, 8) -EVRNotificationError __thiscall winIVRNotifications_IVRNotifications_002_RemoveNotification(winIVRNotifications_IVRNotifications_002 *_this, VRNotificationId notificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_002_RemoveNotification(_this->linux_side, notificationId); -} - -extern vtable_ptr winIVRNotifications_IVRNotifications_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRNotifications_IVRNotifications_002, - VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_CreateNotification) - VTABLE_ADD_FUNC(winIVRNotifications_IVRNotifications_002_RemoveNotification) - ); -#ifndef __GNUC__ -} -#endif - -winIVRNotifications_IVRNotifications_002 *create_winIVRNotifications_IVRNotifications_002(void *linux_side) -{ - winIVRNotifications_IVRNotifications_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRNotifications_IVRNotifications_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRNotifications_IVRNotifications_002(void *object) -{ - TRACE("%p\n", 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, 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->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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRNotifications_IVRNotifications_001; - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_GetErrorString, 16) -uint32_t __thiscall winIVRNotifications_IVRNotifications_001_GetErrorString(winIVRNotifications_IVRNotifications_001 *_this, NotificationError_t error, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_001_GetErrorString(_this->linux_side, error, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_CreateNotification, 40) -NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_CreateNotification(winIVRNotifications_IVRNotifications_001 *_this, VROverlayHandle_t ulOverlayHandle, uint64_t ulUserValue, const char * strType, const char * strText, const char * strCategory, NotificationBitmap * photo, VRNotificationId * notificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_001_CreateNotification(_this->linux_side, ulOverlayHandle, ulUserValue, strType, strText, strCategory, photo, notificationId); -} - -DEFINE_THISCALL_WRAPPER(winIVRNotifications_IVRNotifications_001_DismissNotification, 8) -NotificationError_t __thiscall winIVRNotifications_IVRNotifications_001_DismissNotification(winIVRNotifications_IVRNotifications_001 *_this, VRNotificationId notificationId) -{ - TRACE("%p\n", _this); - return cppIVRNotifications_IVRNotifications_001_DismissNotification(_this->linux_side, notificationId); -} - -extern vtable_ptr winIVRNotifications_IVRNotifications_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __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) - ); -#ifndef __GNUC__ -} -#endif - -winIVRNotifications_IVRNotifications_001 *create_winIVRNotifications_IVRNotifications_001(void *linux_side) -{ - winIVRNotifications_IVRNotifications_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRNotifications_IVRNotifications_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRNotifications_IVRNotifications_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRNotifications_IVRNotifications_001(void *object) -{ - TRACE("%p\n", 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, 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->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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVROverlay.c b/vrclient_x64/vrclient_x64/winIVROverlay.c deleted file mode 100644 index 4a6c18cb1..000000000 --- a/vrclient_x64/vrclient_x64/winIVROverlay.c +++ /dev/null @@ -1,14782 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVROverlay_IVROverlay_026.h" - -typedef struct __winIVROverlay_IVROverlay_026 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_026; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_FindOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_026 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fRadians) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, fRadians); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRadians) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(_this->linux_side, ulOverlayHandle, pfRadians); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_HideOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_WaitFrameSync, 8) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(winIVROverlay_IVROverlay_026 *_this, uint32_t nTimeoutMs) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_WaitFrameSync(_this->linux_side, nTimeoutMs); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_026_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 26); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(winIVROverlay_IVROverlay_026 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(winIVROverlay_IVROverlay_026 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(winIVROverlay_IVROverlay_026 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_026 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_026 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(winIVROverlay_IVROverlay_026 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_026_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(winIVROverlay_IVROverlay_026 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_026_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_026, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_WaitFrameSync) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026(void *linux_side) -{ - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_026_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_026(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_026 *create_winIVROverlay_IVROverlay_026_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_026 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_026)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_026_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_026_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_026_FnTable(void *object) -{ - winIVROverlay_IVROverlay_026 *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 "cppIVROverlay_IVROverlay_025.h" - -typedef struct __winIVROverlay_IVROverlay_025 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_025; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_FindOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_025 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform, VROverlayProjection_t * pProjection, EVREye eEye) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayTransformProjection(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform, pProjection, eEye); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_HideOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1168 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_025_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 25); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(winIVROverlay_IVROverlay_025 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(winIVROverlay_IVROverlay_025 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(winIVROverlay_IVROverlay_025 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_025 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_025 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(winIVROverlay_IVROverlay_025 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_025_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(winIVROverlay_IVROverlay_025 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_025_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_025, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025(void *linux_side) -{ - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_025_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_025(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_025 *create_winIVROverlay_IVROverlay_025_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_025 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_025)); - struct thunk *thunks = alloc_thunks(79); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 79 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_025_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_025_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 79; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_025_FnTable(void *object) -{ - winIVROverlay_IVROverlay_025 *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 "cppIVROverlay_IVROverlay_024.h" - -typedef struct __winIVROverlay_IVROverlay_024 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_024; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_FindOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_024 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_HideOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11415 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_024_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 24); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(winIVROverlay_IVROverlay_024 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboard, 36) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(winIVROverlay_IVROverlay_024 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, uint32_t unFlags, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, unFlags, pchDescription, unCharMax, pchExistingText, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(winIVROverlay_IVROverlay_024 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_024 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_024 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(winIVROverlay_IVROverlay_024 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_024_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(winIVROverlay_IVROverlay_024 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_024_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_024, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024(void *linux_side) -{ - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_024_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_024(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_024 *create_winIVROverlay_IVROverlay_024_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_024 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_024)); - struct thunk *thunks = alloc_thunks(78); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 78 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_024_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_024_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 78; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_024_FnTable(void *object) -{ - winIVROverlay_IVROverlay_024 *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 "cppIVROverlay_IVROverlay_022.h" - -typedef struct __winIVROverlay_IVROverlay_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_022; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_FindOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_022 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulCursorOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayTransformCursor(_this->linux_side, ulCursorOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvHotspot) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTransformCursor(_this->linux_side, ulOverlayHandle, pvHotspot); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_HideOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1916 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(_this->linux_side, ulOverlayHandle, fDurationSeconds, fFrequency, fAmplitude); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursor, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulCursorHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCursor(_this->linux_side, ulOverlayHandle, ulCursorHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvCursor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle, pvCursor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_022_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unBytesPerPixel); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(winIVROverlay_IVROverlay_022 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(winIVROverlay_IVROverlay_022 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(winIVROverlay_IVROverlay_022 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_022 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_022 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(winIVROverlay_IVROverlay_022 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_022_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(winIVROverlay_IVROverlay_022 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_022_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_022, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022(void *linux_side) -{ - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_022_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_022(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_022 *create_winIVROverlay_IVROverlay_022_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_022)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_022_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_022_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_022_FnTable(void *object) -{ - winIVROverlay_IVROverlay_022 *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 "cppIVROverlay_IVROverlay_021.h" - -typedef struct __winIVROverlay_IVROverlay_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_021; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_FindOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_021 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float fCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayCurvature(_this->linux_side, ulOverlayHandle, fCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayCurvature, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, float * pfCurvature) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayCurvature(_this->linux_side, ulOverlayHandle, pfCurvature); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_HideOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1819 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_021_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(winIVROverlay_IVROverlay_021 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(winIVROverlay_IVROverlay_021 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(winIVROverlay_IVROverlay_021 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_021 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(winIVROverlay_IVROverlay_021 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(winIVROverlay_IVROverlay_021 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_021_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(winIVROverlay_IVROverlay_021 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_021_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_021, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayCurvature) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021(void *linux_side) -{ - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_021_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_021(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_021 *create_winIVROverlay_IVROverlay_021_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_021)); - struct thunk *thunks = alloc_thunks(76); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 76 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_021_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_021_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 76; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_021_FnTable(void *object) -{ - winIVROverlay_IVROverlay_021 *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 "cppIVROverlay_IVROverlay_020.h" - -typedef struct __winIVROverlay_IVROverlay_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_020; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_FindOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_020 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_HideOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_020 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_020_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(winIVROverlay_IVROverlay_020 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(winIVROverlay_IVROverlay_020 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(winIVROverlay_IVROverlay_020 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_020 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(winIVROverlay_IVROverlay_020 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(winIVROverlay_IVROverlay_020 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_020_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(winIVROverlay_IVROverlay_020 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_020_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_020, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020(void *linux_side) -{ - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_020_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_020(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_020 *create_winIVROverlay_IVROverlay_020_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_020)); - struct thunk *thunks = alloc_thunks(80); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_020_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_020_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 80; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_020_FnTable(void *object) -{ - winIVROverlay_IVROverlay_020 *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 "cppIVROverlay_IVROverlay_019.h" - -typedef struct __winIVROverlay_IVROverlay_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_019; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_FindOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_019 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_HideOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1610 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_019 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_019_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(winIVROverlay_IVROverlay_019 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(winIVROverlay_IVROverlay_019 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(winIVROverlay_IVROverlay_019 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_019 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(winIVROverlay_IVROverlay_019 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(winIVROverlay_IVROverlay_019 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_019_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(winIVROverlay_IVROverlay_019 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_019_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_019, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019(void *linux_side) -{ - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_019_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_019(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_019 *create_winIVROverlay_IVROverlay_019_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_019)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_019_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_019_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_019_FnTable(void *object) -{ - winIVROverlay_IVROverlay_019 *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 "cppIVROverlay_IVROverlay_018.h" - -typedef struct __winIVROverlay_IVROverlay_018 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_018; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_FindOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_018 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_HideOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1017 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_018 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_018_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 18); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(winIVROverlay_IVROverlay_018 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(winIVROverlay_IVROverlay_018 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(winIVROverlay_IVROverlay_018 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_018 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(winIVROverlay_IVROverlay_018 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(winIVROverlay_IVROverlay_018 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_018_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(winIVROverlay_IVROverlay_018 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_018_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_018, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018(void *linux_side) -{ - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_018_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_018(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_018 *create_winIVROverlay_IVROverlay_018_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_018 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_018)); - struct thunk *thunks = alloc_thunks(82); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_018_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_018_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 82; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_018_FnTable(void *object) -{ - winIVROverlay_IVROverlay_018 *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 "cppIVROverlay_IVROverlay_017.h" - -typedef struct __winIVROverlay_IVROverlay_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_017; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_FindOverlay(winIVROverlay_IVROverlay_017 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateOverlay(winIVROverlay_IVROverlay_017 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_DestroyOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetHighQualityOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetHighQualityOverlay(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayKey(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayName(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayName(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayImageData(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_017 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderingPid(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderingPid(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFlag(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlag(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayColor(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayColor(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAlpha(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAlpha(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexelAspect(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexelAspect(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlaySortOrder(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlaySortOrder(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureBounds(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureBounds(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderModel(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderModel(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformType(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_HideOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_017_IsOverlayVisible(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayInputMethod(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayInputMethod(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayMouseScale(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayMouseScale(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_017_ComputeOverlayIntersection(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_017_IsHoverTargetOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayNeighbor(winIVROverlay_IVROverlay_017 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_017 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * vCenter, float fRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, vCenter, fRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlay, EDualAnalogWhich eWhich, HmdVector2_t * pvCenter, float * pfRadius) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(_this->linux_side, ulOverlay, eWhich, pvCenter, pfRadius); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_017_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayRaw(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayFromFile(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexture(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureSize(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_CreateDashboardOverlay(winIVROverlay_IVROverlay_017 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_017_IsDashboardVisible(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_017_ShowDashboard(winIVROverlay_IVROverlay_017 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboard(winIVROverlay_IVROverlay_017 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_017_GetKeyboardText(winIVROverlay_IVROverlay_017 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_017_HideKeyboard(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_017 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlags(winIVROverlay_IVROverlay_017 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_017_ShowMessageOverlay(winIVROverlay_IVROverlay_017 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_017_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_017_CloseMessageOverlay(winIVROverlay_IVROverlay_017 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_017_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_017, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_017 *create_winIVROverlay_IVROverlay_017(void *linux_side) -{ - winIVROverlay_IVROverlay_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_017)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_017_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_017(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_017 *create_winIVROverlay_IVROverlay_017_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_017)); - struct thunk *thunks = alloc_thunks(83); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 83 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_017_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_017_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_017_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_017_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_017_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_017_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_017_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_017_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_017_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_017_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_017_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_017_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_017_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_017_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_017_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_017_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_017_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_017_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_017_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_017_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_017_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_017_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_017_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_017_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_017_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_017_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_017_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_017_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_017_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_017_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_017_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_017_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_017_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_017_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_017_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_017_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_017_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_017_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_017_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_017_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_017_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_017_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_017_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_017_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_017_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_017_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_017_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_017_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_017_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_017_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_017_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[82], r, winIVROverlay_IVROverlay_017_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 83; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_017_FnTable(void *object) -{ - winIVROverlay_IVROverlay_017 *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 "cppIVROverlay_IVROverlay_016.h" - -typedef struct __winIVROverlay_IVROverlay_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_016; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_FindOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayName, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayName(_this->linux_side, ulOverlayHandle, pchName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_016 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 28) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, HmdColor_t * pColor, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pColor, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchRenderModel, HmdColor_t * pColor) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRenderModel(_this->linux_side, ulOverlayHandle, pchRenderModel, pColor); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t * ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayHandle_t ulOverlayHandleParent, HmdMatrix34_t * pmatParentOverlayToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(_this->linux_side, ulOverlayHandle, ulOverlayHandleParent, pmatParentOverlayToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_HideOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_1010 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_016 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_016_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(winIVROverlay_IVROverlay_016 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(winIVROverlay_IVROverlay_016 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(winIVROverlay_IVROverlay_016 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_016 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(winIVROverlay_IVROverlay_016 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(winIVROverlay_IVROverlay_016 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_016_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) -void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(winIVROverlay_IVROverlay_016 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_016_CloseMessageOverlay(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_016, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderModel) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowMessageOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CloseMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016(void *linux_side) -{ - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_016_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_016(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_016 *create_winIVROverlay_IVROverlay_016_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_016)); - struct thunk *thunks = alloc_thunks(81); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 81 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_016_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_016_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); - init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); - for (i = 0; i < 81; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_016_FnTable(void *object) -{ - winIVROverlay_IVROverlay_016 *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 "cppIVROverlay_IVROverlay_014.h" - -typedef struct __winIVROverlay_IVROverlay_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_014; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_FindOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(winIVROverlay_IVROverlay_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_014 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_HideOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_106 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_014 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_014_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexture, 44) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, ETextureType * pAPIType, EColorSpace * pColorSpace, VRTextureBounds_t * pTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPIType, pColorSpace, pTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(winIVROverlay_IVROverlay_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(winIVROverlay_IVROverlay_014 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(winIVROverlay_IVROverlay_014 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(winIVROverlay_IVROverlay_014 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(winIVROverlay_IVROverlay_014 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_014 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlags, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(winIVROverlay_IVROverlay_014 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pFlags) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_GetOverlayFlags(_this->linux_side, ulOverlayHandle, pFlags); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) -VRMessageOverlayResponse __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(winIVROverlay_IVROverlay_014 *_this, const char * pchText, const char * pchCaption, const char * pchButton0Text, const char * pchButton1Text, const char * pchButton2Text, const char * pchButton3Text) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_014_ShowMessageOverlay(_this->linux_side, pchText, pchCaption, pchButton0Text, pchButton1Text, pchButton2Text, pchButton3Text); -} - -extern vtable_ptr winIVROverlay_IVROverlay_014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_014, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlags) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowMessageOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014(void *linux_side) -{ - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_014_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_014(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_014 *create_winIVROverlay_IVROverlay_014_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_014)); - struct thunk *thunks = alloc_thunks(75); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 75 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_014_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_014_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); - init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); - init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); - for (i = 0; i < 75; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_014_FnTable(void *object) -{ - winIVROverlay_IVROverlay_014 *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 "cppIVROverlay_IVROverlay_013.h" - -typedef struct __winIVROverlay_IVROverlay_013 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_013; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_FindOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(winIVROverlay_IVROverlay_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_013 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, fTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfTexelAspect) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTexelAspect(_this->linux_side, ulOverlayHandle, pfTexelAspect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlaySortOrder(_this->linux_side, ulOverlayHandle, unSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punSortOrder) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlaySortOrder(_this->linux_side, ulOverlayHandle, punSortOrder); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_HideOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_013 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_013_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 13); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(winIVROverlay_IVROverlay_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(winIVROverlay_IVROverlay_013 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_013 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(winIVROverlay_IVROverlay_013 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(winIVROverlay_IVROverlay_013 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(winIVROverlay_IVROverlay_013 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_013 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(winIVROverlay_IVROverlay_013 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t * pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(_this->linux_side, ulOverlayHandle, pMaskPrimitives, unNumMaskPrimitives, unPrimitiveSize); -} - -extern vtable_ptr winIVROverlay_IVROverlay_013_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_013, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlaySortOrder) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013(void *linux_side) -{ - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_013_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_013(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_013 *create_winIVROverlay_IVROverlay_013_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_013 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_013)); - struct thunk *thunks = alloc_thunks(73); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 73 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_013_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_013_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); - for (i = 0; i < 73; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_013_FnTable(void *object) -{ - winIVROverlay_IVROverlay_013 *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 "cppIVROverlay_IVROverlay_012.h" - -typedef struct __winIVROverlay_IVROverlay_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_012; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_FindOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(winIVROverlay_IVROverlay_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_012 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_HideOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_101 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_012 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_012_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetOverlayTextureSize(_this->linux_side, ulOverlayHandle, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(winIVROverlay_IVROverlay_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(winIVROverlay_IVROverlay_012 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(winIVROverlay_IVROverlay_012 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(winIVROverlay_IVROverlay_012 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_012_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(winIVROverlay_IVROverlay_012 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_012 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_012 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_012, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureSize) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012(void *linux_side) -{ - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_012_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_012(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_012 *create_winIVROverlay_IVROverlay_012_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_012)); - struct thunk *thunks = alloc_thunks(68); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 68 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_012_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_012_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 68; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_012_FnTable(void *object) -{ - winIVROverlay_IVROverlay_012 *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 "cppIVROverlay_IVROverlay_011.h" - -typedef struct __winIVROverlay_IVROverlay_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_011; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_FindOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(winIVROverlay_IVROverlay_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_011 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unPID) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayRenderingPid(_this->linux_side, ulOverlayHandle, unPID); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayRenderingPid(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_HideOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0920 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_011 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_011_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTexture, 40) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void ** pNativeTextureHandle, void * pNativeTextureRef, uint32_t * pWidth, uint32_t * pHeight, uint32_t * pNativeFormat, EGraphicsAPIConvention * pAPI, EColorSpace * pColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetOverlayTexture(_this->linux_side, ulOverlayHandle, pNativeTextureHandle, pNativeTextureRef, pWidth, pHeight, pNativeFormat, pAPI, pColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, void * pNativeTextureHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(_this->linux_side, ulOverlayHandle, pNativeTextureHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(winIVROverlay_IVROverlay_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(winIVROverlay_IVROverlay_011 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(winIVROverlay_IVROverlay_011 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(winIVROverlay_IVROverlay_011 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_011_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(winIVROverlay_IVROverlay_011 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_011 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_011 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_011, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011(void *linux_side) -{ - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_011_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_011(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_011 *create_winIVROverlay_IVROverlay_011_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_011)); - struct thunk *thunks = alloc_thunks(67); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 67 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_011_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_011_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 67; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_011_FnTable(void *object) -{ - winIVROverlay_IVROverlay_011 *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 "cppIVROverlay_IVROverlay_010.h" - -typedef struct __winIVROverlay_IVROverlay_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_010; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_FindOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(winIVROverlay_IVROverlay_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_010 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unDeviceIndex, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, unDeviceIndex, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punDeviceIndex, char * pchComponentName, uint32_t unComponentNameSize) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(_this->linux_side, ulOverlayHandle, punDeviceIndex, pchComponentName, unComponentNameSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_HideOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 20) -bool __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_010 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_010_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(winIVROverlay_IVROverlay_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(winIVROverlay_IVROverlay_010 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 4) -TrackedDeviceIndex_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(winIVROverlay_IVROverlay_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(winIVROverlay_IVROverlay_010 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(winIVROverlay_IVROverlay_010 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_010_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(winIVROverlay_IVROverlay_010 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_010 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_010 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_010, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010(void *linux_side) -{ - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_010 *create_winIVROverlay_IVROverlay_010_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_010)); - struct thunk *thunks = alloc_thunks(63); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 63 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_010_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_010_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 63; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_010_FnTable(void *object) -{ - winIVROverlay_IVROverlay_010 *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 "cppIVROverlay_IVROverlay_008.h" - -typedef struct __winIVROverlay_IVROverlay_008 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_008; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_FindOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(winIVROverlay_IVROverlay_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_008 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_HideOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t * pmatTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(_this->linux_side, ulOverlayHandle, eTrackingOrigin, coordinatesInOverlay, pmatTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_008 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_008_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 8); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(winIVROverlay_IVROverlay_008 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(winIVROverlay_IVROverlay_008 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(winIVROverlay_IVROverlay_008 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(winIVROverlay_IVROverlay_008 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_008_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(winIVROverlay_IVROverlay_008 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_HideKeyboard(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 12) -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(winIVROverlay_IVROverlay_008 *_this, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToKeyboardTransform) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(_this->linux_side, eTrackingOrigin, pmatTrackingOriginToKeyboardTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 28) -void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(winIVROverlay_IVROverlay_008 *_this, VROverlayHandle_t ulOverlayHandle, HmdRect2_t avoidRect) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(_this->linux_side, ulOverlayHandle, avoidRect); -} - -extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_008, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008(void *linux_side) -{ - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_008_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_008(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_008 *create_winIVROverlay_IVROverlay_008_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_008 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_008)); - struct thunk *thunks = alloc_thunks(60); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 60 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_008_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_008_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); - init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); - init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); - for (i = 0; i < 60; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_008_FnTable(void *object) -{ - winIVROverlay_IVROverlay_008 *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 "cppIVROverlay_IVROverlay_007.h" - -typedef struct __winIVROverlay_IVROverlay_007 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_007; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_FindOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_FindOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateOverlay, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_DestroyOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(winIVROverlay_IVROverlay_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, EVROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayImageData, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_007 *_this, EVROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFlag, 17) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayFlag, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayColor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAlpha, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace eTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, eTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EColorSpace * peTextureColorSpace) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(_this->linux_side, ulOverlayHandle, peTextureColorSpace); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformType, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, ETrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_HideOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsHoverTargetOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulNewFocusOverlay) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(_this->linux_side, ulNewFocusOverlay); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 24) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom, VROverlayHandle_t ulTo) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayNeighbor(_this->linux_side, eDirection, ulFrom, ulTo); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(winIVROverlay_IVROverlay_007 *_this, EOverlayDirection eDirection, VROverlayHandle_t ulFrom) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(_this->linux_side, eDirection, ulFrom); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTexture, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, Texture_t * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_set_overlay_texture(cppIVROverlay_IVROverlay_007_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 7); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ClearOverlayTexture, 12) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayRaw, 28) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFromFile, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 20) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(winIVROverlay_IVROverlay_007 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 16) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(winIVROverlay_IVROverlay_007 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboard, 33) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(winIVROverlay_IVROverlay_007 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 41) -EVROverlayError __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(winIVROverlay_IVROverlay_007 *_this, VROverlayHandle_t ulOverlayHandle, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode, uint64_t uUserValue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(_this->linux_side, ulOverlayHandle, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode, uUserValue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(winIVROverlay_IVROverlay_007 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_007_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(winIVROverlay_IVROverlay_007 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_007_HideKeyboard(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_007, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideKeyboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007(void *linux_side) -{ - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_007_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_007(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_007 *create_winIVROverlay_IVROverlay_007_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_007 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_007)); - struct thunk *thunks = alloc_thunks(57); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 57 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_007_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_007_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); - init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); - init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); - for (i = 0; i < 57; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_007_FnTable(void *object) -{ - winIVROverlay_IVROverlay_007 *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 "cppIVROverlay_IVROverlay_005.h" - -typedef struct __winIVROverlay_IVROverlay_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_005; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_FindOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(winIVROverlay_IVROverlay_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_005 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_HideOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsFocusOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsFocusOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_005_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(winIVROverlay_IVROverlay_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_005 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(winIVROverlay_IVROverlay_005 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowKeyboard, 25) -VROverlayError __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(winIVROverlay_IVROverlay_005 *_this, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32_t unCharMax, const char * pchExistingText, bool bUseMinimalMode) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_ShowKeyboard(_this->linux_side, eInputMode, eLineInputMode, pchDescription, unCharMax, pchExistingText, bUseMinimalMode); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetKeyboardText, 12) -uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(winIVROverlay_IVROverlay_005 *_this, char * pchText, uint32_t cchText) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_005_GetKeyboardText(_this->linux_side, pchText, cchText); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) -void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(winIVROverlay_IVROverlay_005 *_this) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_005_HideKeyboard(_this->linux_side); -} - -extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_005, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsFocusOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowDashboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowKeyboard) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetKeyboardText) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideKeyboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005(void *linux_side) -{ - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_005 *create_winIVROverlay_IVROverlay_005_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_005)); - struct thunk *thunks = alloc_thunks(52); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 52 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_005_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_005_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); - init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); - init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); - init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); - for (i = 0; i < 52; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_005_FnTable(void *object) -{ - winIVROverlay_IVROverlay_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 "cppIVROverlay_IVROverlay_004.h" - -typedef struct __winIVROverlay_IVROverlay_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_004; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_FindOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(winIVROverlay_IVROverlay_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_004 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, fMinDistanceInMeters, fMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, float * pfMinDistanceInMeters, float * pfMaxDistanceInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(_this->linux_side, ulOverlayHandle, pfMinDistanceInMeters, pfMaxDistanceInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_HideOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_004_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(winIVROverlay_IVROverlay_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_004 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(winIVROverlay_IVROverlay_004 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_004_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_004, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowDashboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004(void *linux_side) -{ - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_004 *create_winIVROverlay_IVROverlay_004_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_004)); - struct thunk *thunks = alloc_thunks(48); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_004_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_004_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); - for (i = 0; i < 48; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_004_FnTable(void *object) -{ - winIVROverlay_IVROverlay_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 "cppIVROverlay_IVROverlay_003.h" - -typedef struct __winIVROverlay_IVROverlay_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_003; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_FindOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(winIVROverlay_IVROverlay_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayKey, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayKey(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayName, 24) -uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, char * pchValue, uint32_t unBufferSize, VROverlayError * pError) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayName(_this->linux_side, ulOverlayHandle, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayImageData, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unBufferSize, uint32_t * punWidth, uint32_t * punHeight) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayImageData(_this->linux_side, ulOverlayHandle, pvBuffer, unBufferSize, punWidth, punHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_003 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_HideOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_003_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 3); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(winIVROverlay_IVROverlay_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_003 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) -void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(winIVROverlay_IVROverlay_003 *_this, const char * pchOverlayToShow) -{ - TRACE("%p\n", _this); - cppIVROverlay_IVROverlay_003_ShowDashboard(_this->linux_side, pchOverlayToShow); -} - -extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_003, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayKey) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayName) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayImageData) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowDashboard) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003(void *linux_side) -{ - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_003 *create_winIVROverlay_IVROverlay_003_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_003)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_003_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_003_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_003_FnTable(void *object) -{ - winIVROverlay_IVROverlay_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 "cppIVROverlay_IVROverlay_002.h" - -typedef struct __winIVROverlay_IVROverlay_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_002; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_FindOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(winIVROverlay_IVROverlay_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_002 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fRed, float fGreen, float fBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayColor(_this->linux_side, ulOverlayHandle, fRed, fGreen, fBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayColor, 24) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfRed, float * pfGreen, float * pfBlue) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayColor(_this->linux_side, ulOverlayHandle, pfRed, pfGreen, pfBlue); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_HideOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTexture, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, GraphicsAPIConvention eTextureType, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_005_set_overlay_texture(cppIVROverlay_IVROverlay_002_SetOverlayTexture, _this->linux_side, ulOverlayHandle, eTextureType, pTexture, 2); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ClearOverlayTexture, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_ClearOverlayTexture(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pMainHandle, VROverlayHandle_t * pThumbnailHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_CreateDashboardOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pMainHandle, pThumbnailHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsDashboardVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(winIVROverlay_IVROverlay_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsDashboardVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(winIVROverlay_IVROverlay_002 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -extern vtable_ptr winIVROverlay_IVROverlay_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_002, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayColor) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ClearOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsDashboardVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002(void *linux_side) -{ - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_002(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_002 *create_winIVROverlay_IVROverlay_002_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_002)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_002_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_002_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_002_FnTable(void *object) -{ - winIVROverlay_IVROverlay_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 "cppIVROverlay_IVROverlay_001.h" - -typedef struct __winIVROverlay_IVROverlay_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlay_IVROverlay_001; - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_FindOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_FindOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_FindOverlay(_this->linux_side, pchOverlayKey, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_CreateOverlay, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(winIVROverlay_IVROverlay_001 *_this, const char * pchOverlayKey, const char * pchOverlayFriendlyName, VROverlayHandle_t * pOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_CreateOverlay(_this->linux_side, pchOverlayKey, pchOverlayFriendlyName, pOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_DestroyOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_DestroyOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetHighQualityOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 4) -VROverlayHandle_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(winIVROverlay_IVROverlay_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetHighQualityOverlay(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 8) -const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(winIVROverlay_IVROverlay_001 *_this, VROverlayError error) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFlag, 17) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool bEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, bEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayFlag, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayFlags eOverlayFlag, bool * pbEnabled) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayFlag(_this->linux_side, ulOverlayHandle, eOverlayFlag, pbEnabled); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayAlpha(_this->linux_side, ulOverlayHandle, fAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayAlpha, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfAlpha) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayAlpha(_this->linux_side, ulOverlayHandle, pfAlpha); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayGamma(_this->linux_side, ulOverlayHandle, fGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayGamma, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfGamma) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayGamma(_this->linux_side, ulOverlayHandle, pfGamma); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float fWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, fWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, float * pfWidthInMeters) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(_this->linux_side, ulOverlayHandle, pfWidthInMeters); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VRTextureBounds_t * pOverlayTextureBounds) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTextureBounds(_this->linux_side, ulOverlayHandle, pOverlayTextureBounds); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformType, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayTransformType * peTransformType) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformType(_this->linux_side, ulOverlayHandle, peTransformType); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin eTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, eTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackingUniverseOrigin * peTrackingOrigin, HmdMatrix34_t * pmatTrackingOriginToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(_this->linux_side, ulOverlayHandle, peTrackingOrigin, pmatTrackingOriginToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, unTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 20) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t * punTrackedDevice, HmdMatrix34_t * pmatTrackedDeviceToOverlayTransform) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(_this->linux_side, ulOverlayHandle, punTrackedDevice, pmatTrackedDeviceToOverlayTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayVisibility, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility * peOverlayVisibility) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayVisibility(_this->linux_side, ulOverlayHandle, peOverlayVisibility); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayVisibility, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayVisibility eOverlayVisibility) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayVisibility(_this->linux_side, ulOverlayHandle, eOverlayVisibility); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ShowOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_ShowOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HideOverlay, 12) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_HideOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_HideOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsOverlayVisible, 12) -bool __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsOverlayVisible(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 16) -bool __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_PollNextOverlayEvent(_this->linux_side, ulOverlayHandle, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod * peInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayInputMethod(_this->linux_side, ulOverlayHandle, peInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayInputMethod eInputMethod) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayInputMethod(_this->linux_side, ulOverlayHandle, eInputMethod); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, HmdVector2_t * pvecMouseScale) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayMouseScale(_this->linux_side, ulOverlayHandle, pvecMouseScale); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 20) -bool __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, VROverlayIntersectionParams_t * pParams, VROverlayIntersectionResults_t * pResults) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_ComputeOverlayIntersection(_this->linux_side, ulOverlayHandle, pParams, pResults); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 16) -bool __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(_this->linux_side, ulOverlayHandle, unControllerDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTexture, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pTexture) -{ - TRACE("%p\n", _this); - return ivroverlay_001_set_overlay_texture(cppIVROverlay_IVROverlay_001_SetOverlayTexture, _this->linux_side, ulOverlayHandle, pTexture, 1); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayRaw, 28) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, void * pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayRaw(_this->linux_side, ulOverlayHandle, pvBuffer, unWidth, unHeight, unDepth); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFromFile, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, const char * pchFilePath) -{ - char lin_pchFilePath[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchFilePath, lin_pchFilePath); - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetOverlayFromFile(_this->linux_side, ulOverlayHandle, pchFilePath ? lin_pchFilePath : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 4) -bool __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(winIVROverlay_IVROverlay_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsSystemOverlayVisible(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 12) -bool __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_IsActiveSystemOverlay(_this->linux_side, ulOverlayHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t unProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, unProcessId); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 16) -VROverlayError __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(winIVROverlay_IVROverlay_001 *_this, VROverlayHandle_t ulOverlayHandle, uint32_t * punProcessId) -{ - TRACE("%p\n", _this); - return cppIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(_this->linux_side, ulOverlayHandle, punProcessId); -} - -extern vtable_ptr winIVROverlay_IVROverlay_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlay_IVROverlay_001, - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_FindOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_CreateOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_DestroyOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetHighQualityOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayFlag) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayAlpha) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayGamma) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformType) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayVisibility) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayVisibility) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ShowOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HideOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_PollNextOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayInputMethod) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayMouseScale) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTexture) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayRaw) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFromFile) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess) - VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001(void *linux_side) -{ - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlay_IVROverlay_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlay_IVROverlay_001(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlay_IVROverlay_001 *create_winIVROverlay_IVROverlay_001_FnTable(void *linux_side) -{ - winIVROverlay_IVROverlay_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlay_IVROverlay_001)); - struct thunk *thunks = alloc_thunks(40); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_001_FindOverlay, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); - init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); - init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_001_HideOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); - for (i = 0; i < 40; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlay_IVROverlay_001_FnTable(void *object) -{ - winIVROverlay_IVROverlay_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVROverlayView.c b/vrclient_x64/vrclient_x64/winIVROverlayView.c deleted file mode 100644 index 9b7c475ae..000000000 --- a/vrclient_x64/vrclient_x64/winIVROverlayView.c +++ /dev/null @@ -1,113 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVROverlayView_IVROverlayView_003.h" - -typedef struct __winIVROverlayView_IVROverlayView_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVROverlayView_IVROverlayView_003; - -DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_AcquireOverlayView, 24) -EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle, VRNativeDevice_t * pNativeDevice, VROverlayView_t * pOverlayView, uint32_t unOverlayViewSize) -{ - TRACE("%p\n", _this); - return cppIVROverlayView_IVROverlayView_003_AcquireOverlayView(_this->linux_side, ulOverlayHandle, pNativeDevice, pOverlayView, unOverlayViewSize); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, 8) -EVROverlayError __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(winIVROverlayView_IVROverlayView_003 *_this, VROverlayView_t * pOverlayView) -{ - TRACE("%p\n", _this); - return cppIVROverlayView_IVROverlayView_003_ReleaseOverlayView(_this->linux_side, pOverlayView); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 16) -void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle, VREvent_t * pvrEvent) -{ - TRACE("%p\n", _this); - cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(_this->linux_side, ulOverlayHandle, pvrEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 12) -bool __thiscall winIVROverlayView_IVROverlayView_003_IsViewingPermitted(winIVROverlayView_IVROverlayView_003 *_this, VROverlayHandle_t ulOverlayHandle) -{ - TRACE("%p\n", _this); - return cppIVROverlayView_IVROverlayView_003_IsViewingPermitted(_this->linux_side, ulOverlayHandle); -} - -extern vtable_ptr winIVROverlayView_IVROverlayView_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVROverlayView_IVROverlayView_003, - VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_AcquireOverlayView) - VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView) - VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_PostOverlayEvent) - VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_IsViewingPermitted) - ); -#ifndef __GNUC__ -} -#endif - -winIVROverlayView_IVROverlayView_003 *create_winIVROverlayView_IVROverlayView_003(void *linux_side) -{ - winIVROverlayView_IVROverlayView_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlayView_IVROverlayView_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVROverlayView_IVROverlayView_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVROverlayView_IVROverlayView_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVROverlayView_IVROverlayView_003 *create_winIVROverlayView_IVROverlayView_003_FnTable(void *linux_side) -{ - winIVROverlayView_IVROverlayView_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVROverlayView_IVROverlayView_003)); - 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, winIVROverlayView_IVROverlayView_003_AcquireOverlayView, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); - for (i = 0; i < 4; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *object) -{ - winIVROverlayView_IVROverlayView_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/vrclient_x64/winIVRRenderModels.c deleted file mode 100644 index b9dc39464..000000000 --- a/vrclient_x64/vrclient_x64/winIVRRenderModels.c +++ /dev/null @@ -1,908 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRRenderModels_IVRRenderModels_006.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_006; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, winRenderModel_t_1237 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(winIVRRenderModels_IVRRenderModels_006 *_this, winRenderModel_t_1237 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1237 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(winIVRRenderModels_IVRRenderModels_006 *_this, winRenderModel_TextureMap_t_1237 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_006_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, 16) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_006 *_this, TextureID_t textureId, void * pDstTexture) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_006 *_this, void * pD3D11Texture2D) -{ - TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelName(winIVRRenderModels_IVRRenderModels_006 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentCount(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentName(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, 28) -bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, const char * pchComponentName, VRInputValueHandle_t devicePath, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(_this->linux_side, pchRenderModelName, pchComponentName, devicePath, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentState, 24) -bool __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentState(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_006 *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 8) -const char * __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_006 *_this, EVRRenderModelError error) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(_this->linux_side, error); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_006, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_006 *create_winIVRRenderModels_IVRRenderModels_006(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRRenderModels_IVRRenderModels_006 *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_006)); - struct thunk *thunks = alloc_thunks(19); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_006_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_006_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_006_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_006_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_006_GetComponentState, 5, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, 2, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 4, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - for (i = 0; i < 19; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *object) -{ - winIVRRenderModels_IVRRenderModels_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 "cppIVRRenderModels_IVRRenderModels_005.h" - -typedef struct __winIVRRenderModels_IVRRenderModels_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_005; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, winRenderModel_t_1015 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_t_1015 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_1015 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(winIVRRenderModels_IVRRenderModels_005 *_this, winRenderModel_TextureMap_t_1015 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_005_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 16) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_005 *_this, TextureID_t textureId, void * pDstTexture) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_into_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, _this->linux_side, textureId, pDstTexture, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_005 *_this, void * pD3D11Texture2D) -{ - TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentState, 24) -bool __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchThumbnailURL, uint32_t unThumbnailURLLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(_this->linux_side, pchRenderModelName, pchThumbnailURL, unThumbnailURLLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(winIVRRenderModels_IVRRenderModels_005 *_this, const char * pchRenderModelName, char * pchOriginalPath, uint32_t unOriginalPathLen, EVRRenderModelError * peError) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(_this->linux_side, pchRenderModelName, pchOriginalPath, unOriginalPathLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) -const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(winIVRRenderModels_IVRRenderModels_005 *_this, EVRRenderModelError error) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(_this->linux_side, error); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_005, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_005 *create_winIVRRenderModels_IVRRenderModels_005(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_005(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_004; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, winRenderModel_t_0918 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_t_0918 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 12) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0918 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(winIVRRenderModels_IVRRenderModels_004 *_this, winRenderModel_TextureMap_t_0918 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_004_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 16) -EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(winIVRRenderModels_IVRRenderModels_004 *_this, TextureID_t textureId, void * pD3D11Device, void ** ppD3D11Texture2D) -{ - TRACE("%p\n", _this); - return ivrrendermodels_load_texture_d3d11_async(cppIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, _this->linux_side, textureId, pD3D11Device, ppD3D11Texture2D, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(winIVRRenderModels_IVRRenderModels_004 *_this, void * pD3D11Texture2D) -{ - TRACE("%p\n", _this); - ivrrendermodels_free_texture_d3d11(cppIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, _this->linux_side, pD3D11Texture2D, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) -bool __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_004 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_004, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_004 *create_winIVRRenderModels_IVRRenderModels_004(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_004(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_002; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, winRenderModel_t_0915 ** ppRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_LoadRenderModel(_this->linux_side, pchRenderModelName, ppRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_t_0915 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadTexture, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(winIVRRenderModels_IVRRenderModels_002 *_this, TextureID_t textureId, winRenderModel_TextureMap_t_0915 ** ppTexture) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_LoadTexture(_this->linux_side, textureId, ppTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeTexture, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(winIVRRenderModels_IVRRenderModels_002 *_this, winRenderModel_TextureMap_t_0915 * pTexture) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_002_FreeTexture(_this->linux_side, pTexture); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_002 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 8) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentCount(_this->linux_side, pchRenderModelName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, uint32_t unComponentIndex, char * pchComponentName, uint32_t unComponentNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentName(_this->linux_side, pchRenderModelName, unComponentIndex, pchComponentName, unComponentNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 12) -uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(_this->linux_side, pchRenderModelName, pchComponentName); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 20) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, char * pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(_this->linux_side, pchRenderModelName, pchComponentName, pchComponentRenderModelName, unComponentRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ComponentState_t * pComponentState) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_GetComponentState(_this->linux_side, pchRenderModelName, pchComponentName, pControllerState, pComponentState); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(winIVRRenderModels_IVRRenderModels_002 *_this, const char * pchRenderModelName, const char * pchComponentName) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(_this->linux_side, pchRenderModelName, pchComponentName); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_002, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeTexture) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentCount) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentState) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_002 *create_winIVRRenderModels_IVRRenderModels_002(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_002(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRRenderModels_IVRRenderModels_001; - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 12) -bool __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, const char * pchRenderModelName, winRenderModel_t_0910 * pRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 8) -void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(winIVRRenderModels_IVRRenderModels_001 *_this, winRenderModel_t_0910 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRRenderModels_IVRRenderModels_001_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(winIVRRenderModels_IVRRenderModels_001 *_this, uint32_t unRenderModelIndex, char * pchRenderModelName, uint32_t unRenderModelNameLen) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelName(_this->linux_side, unRenderModelIndex, pchRenderModelName, unRenderModelNameLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) -uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(winIVRRenderModels_IVRRenderModels_001 *_this) -{ - TRACE("%p\n", _this); - return cppIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(_this->linux_side); -} - -extern vtable_ptr winIVRRenderModels_IVRRenderModels_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_001, - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName) - VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount) - ); -#ifndef __GNUC__ -} -#endif - -winIVRRenderModels_IVRRenderModels_001 *create_winIVRRenderModels_IVRRenderModels_001(void *linux_side) -{ - winIVRRenderModels_IVRRenderModels_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRRenderModels_IVRRenderModels_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRRenderModels_IVRRenderModels_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRRenderModels_IVRRenderModels_001(void *object) -{ - TRACE("%p\n", 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, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRResources.c b/vrclient_x64/vrclient_x64/winIVRResources.c deleted file mode 100644 index 88d9c3b8b..000000000 --- a/vrclient_x64/vrclient_x64/winIVRResources.c +++ /dev/null @@ -1,95 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRResources_IVRResources_001.h" - -typedef struct __winIVRResources_IVRResources_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRResources_IVRResources_001; - -DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_LoadSharedResource, 16) -uint32_t __thiscall winIVRResources_IVRResources_001_LoadSharedResource(winIVRResources_IVRResources_001 *_this, const char * pchResourceName, char * pchBuffer, uint32_t unBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRResources_IVRResources_001_LoadSharedResource(_this->linux_side, pchResourceName, pchBuffer, unBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_GetResourceFullPath, 20) -uint32_t __thiscall winIVRResources_IVRResources_001_GetResourceFullPath(winIVRResources_IVRResources_001 *_this, const char * pchResourceName, const char * pchResourceTypeDirectory, char * pchPathBuffer, uint32_t unBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRResources_IVRResources_001_GetResourceFullPath(_this->linux_side, pchResourceName, pchResourceTypeDirectory, pchPathBuffer, unBufferLen); -} - -extern vtable_ptr winIVRResources_IVRResources_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRResources_IVRResources_001, - VTABLE_ADD_FUNC(winIVRResources_IVRResources_001_LoadSharedResource) - VTABLE_ADD_FUNC(winIVRResources_IVRResources_001_GetResourceFullPath) - ); -#ifndef __GNUC__ -} -#endif - -winIVRResources_IVRResources_001 *create_winIVRResources_IVRResources_001(void *linux_side) -{ - winIVRResources_IVRResources_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRResources_IVRResources_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRResources_IVRResources_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRResources_IVRResources_001(void *object) -{ - TRACE("%p\n", 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, 3, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRResources_IVRResources_001_GetResourceFullPath, 4, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRScreenshots.c b/vrclient_x64/vrclient_x64/winIVRScreenshots.c deleted file mode 100644 index ef9920f07..000000000 --- a/vrclient_x64/vrclient_x64/winIVRScreenshots.c +++ /dev/null @@ -1,155 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRScreenshots_IVRScreenshots_001.h" - -typedef struct __winIVRScreenshots_IVRScreenshots_001 { - vtable_ptr *vtable; - void *linux_side; -} winIVRScreenshots_IVRScreenshots_001; - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_RequestScreenshot, 20) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t * pOutScreenshotHandle, EVRScreenshotType type, const char * pchPreviewFilename, const char * pchVRFilename) -{ - char lin_pchPreviewFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchPreviewFilename, lin_pchPreviewFilename); - char lin_pchVRFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchVRFilename, lin_pchVRFilename); - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_RequestScreenshot(_this->linux_side, pOutScreenshotHandle, type, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_HookScreenshot, 12) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, EVRScreenshotType * pSupportedTypes, int numTypes) -{ - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_HookScreenshot(_this->linux_side, pSupportedTypes, numTypes); -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, 12) -EVRScreenshotType __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotError * pError) -{ - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(_this->linux_side, screenshotHandle, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, 24) -uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotPropertyFilenames filenameType, char * pchFilename, uint32_t cchFilename, EVRScreenshotError * pError) -{ - uint32_t path_result; - TRACE("%p\n", _this); - path_result = cppIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(_this->linux_side, screenshotHandle, filenameType, pchFilename, cchFilename, pError); - path_result = vrclient_unix_path_to_dos_path(path_result, pchFilename, pchFilename, cchFilename); - return path_result; -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, 12) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, float flProgress) -{ - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(_this->linux_side, screenshotHandle, flProgress); -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, 16) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t * pOutScreenshotHandle, const char * pchPreviewFilename, const char * pchVRFilename) -{ - char lin_pchPreviewFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchPreviewFilename, lin_pchPreviewFilename); - char lin_pchVRFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchVRFilename, lin_pchVRFilename); - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(_this->linux_side, pOutScreenshotHandle, pchPreviewFilename ? lin_pchPreviewFilename : NULL, pchVRFilename ? lin_pchVRFilename : NULL); -} - -DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 20) -EVRScreenshotError __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(winIVRScreenshots_IVRScreenshots_001 *_this, ScreenshotHandle_t screenshotHandle, EVRScreenshotType type, const char * pchSourcePreviewFilename, const char * pchSourceVRFilename) -{ - char lin_pchSourcePreviewFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchSourcePreviewFilename, lin_pchSourcePreviewFilename); - char lin_pchSourceVRFilename[PATH_MAX]; - vrclient_dos_path_to_unix_path(pchSourceVRFilename, lin_pchSourceVRFilename); - TRACE("%p\n", _this); - return cppIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(_this->linux_side, screenshotHandle, type, pchSourcePreviewFilename ? lin_pchSourcePreviewFilename : NULL, pchSourceVRFilename ? lin_pchSourceVRFilename : NULL); -} - -extern vtable_ptr winIVRScreenshots_IVRScreenshots_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRScreenshots_IVRScreenshots_001, - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_RequestScreenshot) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_HookScreenshot) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot) - VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot) - ); -#ifndef __GNUC__ -} -#endif - -winIVRScreenshots_IVRScreenshots_001 *create_winIVRScreenshots_IVRScreenshots_001(void *linux_side) -{ - winIVRScreenshots_IVRScreenshots_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRScreenshots_IVRScreenshots_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRScreenshots_IVRScreenshots_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRScreenshots_IVRScreenshots_001(void *object) -{ - TRACE("%p\n", 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, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRScreenshots_IVRScreenshots_001_HookScreenshot, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, 2, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, 5, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, 2, TRUE, FALSE); - init_thunk(&thunks[5], r, winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRSettings.c b/vrclient_x64/vrclient_x64/winIVRSettings.c deleted file mode 100644 index 60f2e435e..000000000 --- a/vrclient_x64/vrclient_x64/winIVRSettings.c +++ /dev/null @@ -1,506 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRSettings_IVRSettings_003.h" - -typedef struct __winIVRSettings_IVRSettings_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_003; - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8) -const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_003 *_this, EVRSettingsError eError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 17) -void __thiscall winIVRSettings_IVRSettings_003_SetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetFloat, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetString, 20) -void __thiscall winIVRSettings_IVRSettings_003_SetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetBool, 16) -bool __thiscall winIVRSettings_IVRSettings_003_GetBool(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetInt32, 16) -int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetFloat, 16) -float __thiscall winIVRSettings_IVRSettings_003_GetFloat(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_003_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24) -void __thiscall winIVRSettings_IVRSettings_003_GetString(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12) -void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveSection(_this->linux_side, pchSection, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) -void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(winIVRSettings_IVRSettings_003 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_003_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSettings_IVRSettings_003, - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveSection) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveKeyInSection) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003(void *linux_side) -{ - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSettings_IVRSettings_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSettings_IVRSettings_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSettings_IVRSettings_003 *create_winIVRSettings_IVRSettings_003_FnTable(void *linux_side) -{ - winIVRSettings_IVRSettings_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_003)); - struct thunk *thunks = alloc_thunks(11); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_003_SetBool, 4, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_003_SetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_003_SetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_003_SetString, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_003_GetBool, 3, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_003_GetInt32, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_003_GetFloat, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_003_GetString, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_003_RemoveSection, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); - for (i = 0; i < 11; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSettings_IVRSettings_003_FnTable(void *object) -{ - winIVRSettings_IVRSettings_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 "cppIVRSettings_IVRSettings_002.h" - -typedef struct __winIVRSettings_IVRSettings_002 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_002; - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, 8) -const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_002 *_this, EVRSettingsError eError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_Sync, 9) -bool __thiscall winIVRSettings_IVRSettings_002_Sync(winIVRSettings_IVRSettings_002 *_this, bool bForce, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_002_Sync(_this->linux_side, bForce, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetBool, 17) -void __thiscall winIVRSettings_IVRSettings_002_SetBool(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetInt32, 20) -void __thiscall winIVRSettings_IVRSettings_002_SetInt32(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetFloat, 20) -void __thiscall winIVRSettings_IVRSettings_002_SetFloat(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetString, 20) -void __thiscall winIVRSettings_IVRSettings_002_SetString(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetBool, 16) -bool __thiscall winIVRSettings_IVRSettings_002_GetBool(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_002_GetBool(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetInt32, 16) -int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_002_GetInt32(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetFloat, 16) -float __thiscall winIVRSettings_IVRSettings_002_GetFloat(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_002_GetFloat(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetString, 24) -void __thiscall winIVRSettings_IVRSettings_002_GetString(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveSection, 12) -void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveSection(_this->linux_side, pchSection, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveKeyInSection, 16) -void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(winIVRSettings_IVRSettings_002 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_002_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -extern vtable_ptr winIVRSettings_IVRSettings_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSettings_IVRSettings_002, - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_Sync) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveSection) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveKeyInSection) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSettings_IVRSettings_002 *create_winIVRSettings_IVRSettings_002(void *linux_side) -{ - winIVRSettings_IVRSettings_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSettings_IVRSettings_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSettings_IVRSettings_002(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_002_Sync, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_002_SetBool, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_002_SetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_002_SetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_002_SetString, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_002_GetBool, 3, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_002_GetInt32, 3, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_002_GetFloat, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_002_GetString, 5, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_002_RemoveSection, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSettings_IVRSettings_001; - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8) -const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(winIVRSettings_IVRSettings_001 *_this, EVRSettingsError eError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(_this->linux_side, eError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 9) -bool __thiscall winIVRSettings_IVRSettings_001_Sync(winIVRSettings_IVRSettings_001 *_this, bool bForce, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_Sync(_this->linux_side, bForce, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 17) -bool __thiscall winIVRSettings_IVRSettings_001_GetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bDefaultValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetBool(_this->linux_side, pchSection, pchSettingsKey, bDefaultValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetBool, 17) -void __thiscall winIVRSettings_IVRSettings_001_SetBool(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, bool bValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetBool(_this->linux_side, pchSection, pchSettingsKey, bValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetInt32, 20) -int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nDefaultValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetInt32(_this->linux_side, pchSection, pchSettingsKey, nDefaultValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetInt32, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetInt32(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, int32_t nValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetInt32(_this->linux_side, pchSection, pchSettingsKey, nValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetFloat, 20) -float __thiscall winIVRSettings_IVRSettings_001_GetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flDefaultValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - return cppIVRSettings_IVRSettings_001_GetFloat(_this->linux_side, pchSection, pchSettingsKey, flDefaultValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetFloat, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetFloat(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, float flValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetFloat(_this->linux_side, pchSection, pchSettingsKey, flValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetString, 28) -void __thiscall winIVRSettings_IVRSettings_001_GetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, char * pchValue, uint32_t unValueLen, const char * pchDefaultValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_GetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, unValueLen, pchDefaultValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20) -void __thiscall winIVRSettings_IVRSettings_001_SetString(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, const char * pchValue, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_SetString(_this->linux_side, pchSection, pchSettingsKey, pchValue, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12) -void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveSection(_this->linux_side, pchSection, peError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) -void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(winIVRSettings_IVRSettings_001 *_this, const char * pchSection, const char * pchSettingsKey, EVRSettingsError * peError) -{ - TRACE("%p\n", _this); - cppIVRSettings_IVRSettings_001_RemoveKeyInSection(_this->linux_side, pchSection, pchSettingsKey, peError); -} - -extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSettings_IVRSettings_001, - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_Sync) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetBool) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetInt32) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetFloat) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetString) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveSection) - VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveKeyInSection) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSettings_IVRSettings_001 *create_winIVRSettings_IVRSettings_001(void *linux_side) -{ - winIVRSettings_IVRSettings_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSettings_IVRSettings_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSettings_IVRSettings_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSettings_IVRSettings_001(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32, 4, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat, 4, TRUE, FALSE); - init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString, 6, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString, 4, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection, 2, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRSystem.c b/vrclient_x64/vrclient_x64/winIVRSystem.c deleted file mode 100644 index 67802636a..000000000 --- a/vrclient_x64/vrclient_x64/winIVRSystem.c +++ /dev/null @@ -1,7306 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRSystem_IVRSystem_022.h" - -typedef struct __winIVRSystem_IVRSystem_022 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_022; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_022 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(winIVRSystem_IVRSystem_022 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(winIVRSystem_IVRSystem_022 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_022 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(winIVRSystem_IVRSystem_022 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_022_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(winIVRSystem_IVRSystem_022 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_022_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 22); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(winIVRSystem_IVRSystem_022 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_022 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(winIVRSystem_IVRSystem_022 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_022 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_022 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(winIVRSystem_IVRSystem_022 *_this, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1237 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(winIVRSystem_IVRSystem_022 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_022_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerState(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1237 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(winIVRSystem_IVRSystem_022 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1237 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_022 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsInputAvailable(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ShouldApplicationPause(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(winIVRSystem_IVRSystem_022 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 12) -uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(winIVRSystem_IVRSystem_022 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) -const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(winIVRSystem_IVRSystem_022 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_022_GetRuntimeVersion(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_022_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_022, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRuntimeVersion) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022(void *linux_side) -{ - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_022_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_022(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_022 *create_winIVRSystem_IVRSystem_022_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_022 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_022)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_022_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_022_FnTable(void *object) -{ - winIVRSystem_IVRSystem_022 *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 "cppIVRSystem_IVRSystem_021.h" - -typedef struct __winIVRSystem_IVRSystem_021 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_021; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_021 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(winIVRSystem_IVRSystem_021 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(winIVRSystem_IVRSystem_021 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_021 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(winIVRSystem_IVRSystem_021 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_021_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(winIVRSystem_IVRSystem_021 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_021_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 21); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(winIVRSystem_IVRSystem_021 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_021 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(winIVRSystem_IVRSystem_021 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_021 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_021 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(winIVRSystem_IVRSystem_021 *_this, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1125 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(winIVRSystem_IVRSystem_021 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_021_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerState(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(winIVRSystem_IVRSystem_021 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1125 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_021 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsInputAvailable(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ShouldApplicationPause(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(winIVRSystem_IVRSystem_021 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 12) -uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(winIVRSystem_IVRSystem_021 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) -const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(winIVRSystem_IVRSystem_021 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_021_GetRuntimeVersion(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_021_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_021, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRuntimeVersion) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021(void *linux_side) -{ - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_021_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_021(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_021 *create_winIVRSystem_IVRSystem_021_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_021 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_021)); - struct thunk *thunks = alloc_thunks(47); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_021_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); - for (i = 0; i < 47; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_021_FnTable(void *object) -{ - winIVRSystem_IVRSystem_021 *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 "cppIVRSystem_IVRSystem_020.h" - -typedef struct __winIVRSystem_IVRSystem_020 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_020; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_020 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_020_GetProjectionMatrix(winIVRSystem_IVRSystem_020 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_020_GetProjectionRaw(winIVRSystem_IVRSystem_020 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_020_ComputeDistortion(winIVRSystem_IVRSystem_020 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_020_GetEyeToHeadTransform(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_020 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo(winIVRSystem_IVRSystem_020 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_020_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice(winIVRSystem_IVRSystem_020 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_020_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 20); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_020_IsDisplayOnDesktop(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_020_SetDisplayVisibility(winIVRSystem_IVRSystem_020 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_020_ResetSeatedZeroPose(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_020 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_020_ApplyTransform(winIVRSystem_IVRSystem_020 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_020 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceClass(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_020 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(winIVRSystem_IVRSystem_020 *_this, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1715 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(winIVRSystem_IVRSystem_020 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_020_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerState(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(winIVRSystem_IVRSystem_020 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1715 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_020 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_020_IsInputAvailable(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_IsInputAvailable(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationPause(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_ShouldApplicationPause(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_020_PerformFirmwareUpdate(winIVRSystem_IVRSystem_020 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetAppContainerFilePaths, 12) -uint32_t __thiscall winIVRSystem_IVRSystem_020_GetAppContainerFilePaths(winIVRSystem_IVRSystem_020 *_this, char * pchBuffer, uint32_t unBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetAppContainerFilePaths(_this->linux_side, pchBuffer, unBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRuntimeVersion, 4) -const char * __thiscall winIVRSystem_IVRSystem_020_GetRuntimeVersion(winIVRSystem_IVRSystem_020 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_020_GetRuntimeVersion(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_020_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_020, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetAppContainerFilePaths) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRuntimeVersion) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_020 *create_winIVRSystem_IVRSystem_020(void *linux_side) -{ - winIVRSystem_IVRSystem_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_020)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_020_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_020(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_020 *create_winIVRSystem_IVRSystem_020_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_020 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_020)); - struct thunk *thunks = alloc_thunks(48); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_020_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_020_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_020_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_020_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_020_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_020_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_020_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_020_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_020_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_020_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_020_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_020_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_020_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_020_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_020_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_020_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_020_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_020_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_020_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_020_GetAppContainerFilePaths, 2, FALSE, FALSE); - init_thunk(&thunks[47], r, winIVRSystem_IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); - for (i = 0; i < 48; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_020_FnTable(void *object) -{ - winIVRSystem_IVRSystem_020 *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 "cppIVRSystem_IVRSystem_019.h" - -typedef struct __winIVRSystem_IVRSystem_019 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_019; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_019 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(winIVRSystem_IVRSystem_019 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(winIVRSystem_IVRSystem_019 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_019 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(winIVRSystem_IVRSystem_019 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_019_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(winIVRSystem_IVRSystem_019 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_019_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 19); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(winIVRSystem_IVRSystem_019 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_019 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(winIVRSystem_IVRSystem_019 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_019 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 28) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, PropertyTypeTag_t propType, void * pBuffer, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, propType, pBuffer, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_019 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(winIVRSystem_IVRSystem_019 *_this, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1418 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(winIVRSystem_IVRSystem_019 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_019_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerState(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(winIVRSystem_IVRSystem_019 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1418 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_019 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsInputAvailable, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsInputAvailable(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 4) -bool __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationPause, 4) -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ShouldApplicationPause(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 4) -bool __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(winIVRSystem_IVRSystem_019 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_019_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_019 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_019, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsInputAvailable) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationPause) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019(void *linux_side) -{ - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_019_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_019(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_019 *create_winIVRSystem_IVRSystem_019_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_019 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_019)); - struct thunk *thunks = alloc_thunks(47); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_019_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 47; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_019_FnTable(void *object) -{ - winIVRSystem_IVRSystem_019 *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 "cppIVRSystem_IVRSystem_017.h" - -typedef struct __winIVRSystem_IVRSystem_017 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_017; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_017 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(winIVRSystem_IVRSystem_017 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(winIVRSystem_IVRSystem_017 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_017 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(winIVRSystem_IVRSystem_017 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_017_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetOutputDevice, 16) -void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(winIVRSystem_IVRSystem_017 *_this, uint64_t * pnDevice, ETextureType textureType, VkInstance_T * pInstance) -{ - TRACE("%p\n", _this); - ivrsystem_get_output_device(cppIVRSystem_IVRSystem_017_GetOutputDevice, _this->linux_side, pnDevice, textureType, pInstance, 17); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(winIVRSystem_IVRSystem_017 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_017 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(winIVRSystem_IVRSystem_017 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_017 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_017 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(winIVRSystem_IVRSystem_017 *_this, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_1011 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(winIVRSystem_IVRSystem_017 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_017_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerState(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(winIVRSystem_IVRSystem_017 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_1011 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_017 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(winIVRSystem_IVRSystem_017 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_017_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_017 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_017, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017(void *linux_side) -{ - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_017_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_017(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_017 *create_winIVRSystem_IVRSystem_017_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_017 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_017)); - struct thunk *thunks = alloc_thunks(45); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_017_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 45; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_017_FnTable(void *object) -{ - winIVRSystem_IVRSystem_017 *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 "cppIVRSystem_IVRSystem_016.h" - -typedef struct __winIVRSystem_IVRSystem_016 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_016; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_016 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(winIVRSystem_IVRSystem_016 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(winIVRSystem_IVRSystem_016 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_016 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(winIVRSystem_IVRSystem_016 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_016_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetOutputDevice, 12) -void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(winIVRSystem_IVRSystem_016 *_this, uint64_t * pnDevice, ETextureType textureType) -{ - TRACE("%p\n", _this); - ivrsystem_016_get_output_device(cppIVRSystem_IVRSystem_016_GetOutputDevice, _this->linux_side, pnDevice, textureType, 16); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(winIVRSystem_IVRSystem_016 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_016 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(winIVRSystem_IVRSystem_016 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_016 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_016 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(winIVRSystem_IVRSystem_016 *_this, winVREvent_t_109 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_109 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(winIVRSystem_IVRSystem_016 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_016_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerState(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(winIVRSystem_IVRSystem_016 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_109 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_016 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(winIVRSystem_IVRSystem_016 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_016_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_016 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_016, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetOutputDevice) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016(void *linux_side) -{ - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_016_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_016(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_016 *create_winIVRSystem_IVRSystem_016_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_016 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_016)); - struct thunk *thunks = alloc_thunks(45); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_016_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 45; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_016_FnTable(void *object) -{ - winIVRSystem_IVRSystem_016 *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 "cppIVRSystem_IVRSystem_015.h" - -typedef struct __winIVRSystem_IVRSystem_015 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_015; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_015 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionMatrix, 20) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(winIVRSystem_IVRSystem_015 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(winIVRSystem_IVRSystem_015 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_015 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(winIVRSystem_IVRSystem_015 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 15); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(winIVRSystem_IVRSystem_015 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_015 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(winIVRSystem_IVRSystem_015 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_015 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_015 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(winIVRSystem_IVRSystem_015 *_this, winVREvent_t_107 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_107 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(winIVRSystem_IVRSystem_015 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerState(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(winIVRSystem_IVRSystem_015 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_107 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_015 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(winIVRSystem_IVRSystem_015 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_015 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_015, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015(void *linux_side) -{ - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_015_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_015(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_015 *create_winIVRSystem_IVRSystem_015_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_015 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_015)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_015_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_015_FnTable(void *object) -{ - winIVRSystem_IVRSystem_015 *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 "cppIVRSystem_IVRSystem_014.h" - -typedef struct __winIVRSystem_IVRSystem_014 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_014; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_014 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(winIVRSystem_IVRSystem_014 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ComputeDistortion, 20) -bool __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(winIVRSystem_IVRSystem_014 *_this, EVREye eEye, float fU, float fV, DistortionCoordinates_t * pDistortionCoordinates) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_ComputeDistortion(_this->linux_side, eEye, fU, fV, pDistortionCoordinates); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_014 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(winIVRSystem_IVRSystem_014 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_014_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 14); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(winIVRSystem_IVRSystem_014 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_014 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(winIVRSystem_IVRSystem_014 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_014 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_014 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(winIVRSystem_IVRSystem_014 *_this, winVREvent_t_104 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_104 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 16) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(winIVRSystem_IVRSystem_014 *_this, HiddenAreaMesh_t *_r, EVREye eEye, EHiddenAreaMeshType type) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_014_GetHiddenAreaMesh(_this->linux_side, eEye, type); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerState, 16) -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerState(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState, unControllerStateSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 24) -bool __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(winIVRSystem_IVRSystem_014 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_104 * pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, unControllerStateSize, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_014 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(winIVRSystem_IVRSystem_014 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_014_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_014 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_014, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014(void *linux_side) -{ - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_014_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_014(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_014 *create_winIVRSystem_IVRSystem_014_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_014 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_014)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_014_GetControllerState, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_014_FnTable(void *object) -{ - winIVRSystem_IVRSystem_014 *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 "cppIVRSystem_IVRSystem_012.h" - -typedef struct __winIVRSystem_IVRSystem_012 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_012; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_012 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(winIVRSystem_IVRSystem_012 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(winIVRSystem_IVRSystem_012 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(winIVRSystem_IVRSystem_012 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_012 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(winIVRSystem_IVRSystem_012 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_012_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 12); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(winIVRSystem_IVRSystem_012 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_012 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(winIVRSystem_IVRSystem_012 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_012 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_012 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(winIVRSystem_IVRSystem_012 *_this, winVREvent_t_103 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_103 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(winIVRSystem_IVRSystem_012 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_012_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerState(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(winIVRSystem_IVRSystem_012 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_103 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_012 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(winIVRSystem_IVRSystem_012 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_012_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_012 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_012, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012(void *linux_side) -{ - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_012_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_012(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_012 *create_winIVRSystem_IVRSystem_012_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_012 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_012)); - struct thunk *thunks = alloc_thunks(44); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_012_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 44; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_012_FnTable(void *object) -{ - winIVRSystem_IVRSystem_012 *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 "cppIVRSystem_IVRSystem_011.h" - -typedef struct __winIVRSystem_IVRSystem_011 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_011; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_011 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(winIVRSystem_IVRSystem_011 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(winIVRSystem_IVRSystem_011 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(winIVRSystem_IVRSystem_011 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_011 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(winIVRSystem_IVRSystem_011 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_011_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 11); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(winIVRSystem_IVRSystem_011 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_011 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(winIVRSystem_IVRSystem_011 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_011 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_011 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEvent, 12) -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(winIVRSystem_IVRSystem_011 *_this, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PollNextEvent(_this->linux_side, pEvent, uncbVREvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEventWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, winVREvent_t_0918 * pEvent, uint32_t uncbVREvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, uncbVREvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(winIVRSystem_IVRSystem_011 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_011_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerState(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(winIVRSystem_IVRSystem_011 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0918 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_011 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(winIVRSystem_IVRSystem_011 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_011_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_011 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 5) -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_011 *_this, bool bEnable) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(_this->linux_side, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_011 *_this, int nFidelityLevel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); -} - -extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_011, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011(void *linux_side) -{ - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_011_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_011(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_011 *create_winIVRSystem_IVRSystem_011_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_011 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_011)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_011_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_011_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_011_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_011_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_011_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_011_PollNextEvent, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_011_PollNextEventWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_011_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_011_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_011_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_011_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_011_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_011_FnTable(void *object) -{ - winIVRSystem_IVRSystem_011 *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 "cppIVRSystem_IVRSystem_010.h" - -typedef struct __winIVRSystem_IVRSystem_010 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_010; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_010 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(winIVRSystem_IVRSystem_010 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(winIVRSystem_IVRSystem_010 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(winIVRSystem_IVRSystem_010 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_010 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(winIVRSystem_IVRSystem_010 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_010_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 10); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(winIVRSystem_IVRSystem_010 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_010 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(winIVRSystem_IVRSystem_010 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 8) -TrackedDeviceIndex_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(winIVRSystem_IVRSystem_010 *_this, ETrackedControllerRole unDeviceType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(_this->linux_side, unDeviceType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 8) -ETrackedControllerRole __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_010 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(winIVRSystem_IVRSystem_010 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(winIVRSystem_IVRSystem_010 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_010_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerState(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(winIVRSystem_IVRSystem_010 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0914 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_010 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(winIVRSystem_IVRSystem_010 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_010_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_010 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 5) -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(winIVRSystem_IVRSystem_010 *_this, bool bEnable) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(_this->linux_side, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 8) -void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(winIVRSystem_IVRSystem_010 *_this, int nFidelityLevel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(_this->linux_side, nFidelityLevel); -} - -extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_010, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010(void *linux_side) -{ - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_010_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_010(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_010 *create_winIVRSystem_IVRSystem_010_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_010 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_010)); - struct thunk *thunks = alloc_thunks(46); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_010_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); - init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); - for (i = 0; i < 46; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_010_FnTable(void *object) -{ - winIVRSystem_IVRSystem_010 *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 "cppIVRSystem_IVRSystem_009.h" - -typedef struct __winIVRSystem_IVRSystem_009 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_009; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_009 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(winIVRSystem_IVRSystem_009 *_this, HmdMatrix44_t *_r, EVREye eEye, float fNearZ, float fFarZ, EGraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(winIVRSystem_IVRSystem_009 *_this, EVREye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(winIVRSystem_IVRSystem_009 *_this, DistortionCoordinates_t *_r, EVREye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_009 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 8) -void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(winIVRSystem_IVRSystem_009 *_this, int32_t * pnAdapterIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info(cppIVRSystem_IVRSystem_009_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, 9); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(winIVRSystem_IVRSystem_009 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_009 *_this, ETrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ApplyTransform, 16) -void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(winIVRSystem_IVRSystem_009 *_this, TrackedDevicePose_t * pOutputPose, TrackedDevicePose_t * pTrackedDevicePose, HmdMatrix34_t * pTransform) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ApplyTransform(_this->linux_side, pOutputPose, pTrackedDevicePose, pTransform); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 8) -ETrackedDeviceClass __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, ETrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, ETrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_009 *_this, ETrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(winIVRSystem_IVRSystem_009 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(winIVRSystem_IVRSystem_009 *_this, HiddenAreaMesh_t *_r, EVREye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_009_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerState(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(winIVRSystem_IVRSystem_009 *_this, ETrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0912 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_009 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 8) -EVRFirmwareError __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(winIVRSystem_IVRSystem_009 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_009_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 4) -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4) -void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(winIVRSystem_IVRSystem_009 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_009, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_SetDisplayVisibility) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ApplyTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009(void *linux_side) -{ - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_009_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_009(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_009 *create_winIVRSystem_IVRSystem_009_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_009 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_009)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_009_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_009_FnTable(void *object) -{ - winIVRSystem_IVRSystem_009 *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 "cppIVRSystem_IVRSystem_006.h" - -typedef struct __winIVRSystem_IVRSystem_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_006; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(winIVRSystem_IVRSystem_006 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_006 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(winIVRSystem_IVRSystem_006 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(winIVRSystem_IVRSystem_006 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(winIVRSystem_IVRSystem_006 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_006 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(winIVRSystem_IVRSystem_006 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_006_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 6); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(winIVRSystem_IVRSystem_006 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 8) -EDeviceActivityLevel __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(_this->linux_side, unDeviceId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_006 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(winIVRSystem_IVRSystem_006 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(winIVRSystem_IVRSystem_006 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_006_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerState(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(winIVRSystem_IVRSystem_006 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_0910 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_006 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_006_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 8) -VRFirmwareError __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(winIVRSystem_IVRSystem_006 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_PerformFirmwareUpdate(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 4) -bool __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(winIVRSystem_IVRSystem_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_IsDisplayOnDesktop(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 5) -bool __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(winIVRSystem_IVRSystem_006 *_this, bool bIsVisibleOnDesktop) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_006_SetDisplayVisibility(_this->linux_side, bIsVisibleOnDesktop); -} - -extern vtable_ptr winIVRSystem_IVRSystem_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_006, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_DriverDebugRequest) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_SetDisplayVisibility) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006(void *linux_side) -{ - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_006 *create_winIVRSystem_IVRSystem_006_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_006)); - struct thunk *thunks = alloc_thunks(42); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_006_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); - init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); - init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); - init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); - for (i = 0; i < 42; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_006_FnTable(void *object) -{ - winIVRSystem_IVRSystem_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 "cppIVRSystem_IVRSystem_005.h" - -typedef struct __winIVRSystem_IVRSystem_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_005; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(winIVRSystem_IVRSystem_005 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_005 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(winIVRSystem_IVRSystem_005 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(winIVRSystem_IVRSystem_005 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(winIVRSystem_IVRSystem_005 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_005 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(winIVRSystem_IVRSystem_005 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_005_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 5); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(winIVRSystem_IVRSystem_005 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceClass eTrackedDeviceClass, TrackedDeviceIndex_t * punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, TrackedDeviceIndex_t unRelativeToTrackedDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(_this->linux_side, eTrackedDeviceClass, punTrackedDeviceIndexArray, unTrackedDeviceIndexArrayCount, unRelativeToTrackedDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_005 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(winIVRSystem_IVRSystem_005 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(winIVRSystem_IVRSystem_005 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_005_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerState(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(winIVRSystem_IVRSystem_005 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_098 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_005 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_005_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_005 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(winIVRSystem_IVRSystem_005 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_005_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -extern vtable_ptr winIVRSystem_IVRSystem_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_005, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_DriverDebugRequest) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005(void *linux_side) -{ - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_005 *create_winIVRSystem_IVRSystem_005_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_005)); - struct thunk *thunks = alloc_thunks(37); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_005_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); - for (i = 0; i < 37; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_005_FnTable(void *object) -{ - winIVRSystem_IVRSystem_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 "cppIVRSystem_IVRSystem_004.h" - -typedef struct __winIVRSystem_IVRSystem_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_004; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(winIVRSystem_IVRSystem_004 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_004 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(winIVRSystem_IVRSystem_004 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(winIVRSystem_IVRSystem_004 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(winIVRSystem_IVRSystem_004 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_004 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(winIVRSystem_IVRSystem_004 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_004_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 4); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(winIVRSystem_IVRSystem_004 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_004 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(winIVRSystem_IVRSystem_004 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(winIVRSystem_IVRSystem_004 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_004_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerState(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(winIVRSystem_IVRSystem_004 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_092 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_004 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_004_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_004 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) -uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(winIVRSystem_IVRSystem_004 *_this, TrackedDeviceIndex_t unDeviceIndex, const char * pchRequest, char * pchResponseBuffer, uint32_t unResponseBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_004_DriverDebugRequest(_this->linux_side, unDeviceIndex, pchRequest, pchResponseBuffer, unResponseBufferSize); -} - -extern vtable_ptr winIVRSystem_IVRSystem_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_004, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_DriverDebugRequest) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004(void *linux_side) -{ - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_004 *create_winIVRSystem_IVRSystem_004_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_004)); - struct thunk *thunks = alloc_thunks(36); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_004_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); - for (i = 0; i < 36; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_004_FnTable(void *object) -{ - winIVRSystem_IVRSystem_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 "cppIVRSystem_IVRSystem_003.h" - -typedef struct __winIVRSystem_IVRSystem_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRSystem_IVRSystem_003; - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetWindowBounds, 20) -void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(winIVRSystem_IVRSystem_003 *_this, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetWindowBounds(_this->linux_side, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 12) -void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(winIVRSystem_IVRSystem_003 *_this, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(_this->linux_side, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 24) -void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetEyeOutputViewport(_this->linux_side, eEye, pnX, pnY, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionMatrix, 24) -HmdMatrix44_t *__thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(winIVRSystem_IVRSystem_003 *_this, HmdMatrix44_t *_r, Hmd_Eye eEye, float fNearZ, float fFarZ, GraphicsAPIConvention eProjType) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetProjectionMatrix(_this->linux_side, eEye, fNearZ, fFarZ, eProjType); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionRaw, 24) -void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(winIVRSystem_IVRSystem_003 *_this, Hmd_Eye eEye, float * pfLeft, float * pfRight, float * pfTop, float * pfBottom) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetProjectionRaw(_this->linux_side, eEye, pfLeft, pfRight, pfTop, pfBottom); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ComputeDistortion, 20) -DistortionCoordinates_t *__thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(winIVRSystem_IVRSystem_003 *_this, DistortionCoordinates_t *_r, Hmd_Eye eEye, float fU, float fV) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_ComputeDistortion(_this->linux_side, eEye, fU, fV); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 12) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetEyeToHeadTransform(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 12) -bool __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(winIVRSystem_IVRSystem_003 *_this, float * pfSecondsSinceLastVsync, uint64_t * pulFrameCounter) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(_this->linux_side, pfSecondsSinceLastVsync, pulFrameCounter); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 4) -int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 12) -void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(winIVRSystem_IVRSystem_003 *_this, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex) -{ - TRACE("%p\n", _this); - get_dxgi_output_info2(cppIVRSystem_IVRSystem_003_GetDXGIOutputInfo, _this->linux_side, pnAdapterIndex, pnAdapterOutputIndex, 3); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_AttachToWindow, 8) -bool __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(winIVRSystem_IVRSystem_003 *_this, void * hWnd) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_AttachToWindow(_this->linux_side, hWnd); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 20) -void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t * pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(_this->linux_side, eOrigin, fPredictedSecondsToPhotonsFromNow, pTrackedDevicePoseArray, unTrackedDevicePoseArrayCount); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 4) -void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ResetSeatedZeroPose(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(_this->linux_side); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_LoadRenderModel, 12) -bool __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(winIVRSystem_IVRSystem_003 *_this, const char * pchRenderModelName, winRenderModel_t_091 * pRenderModel) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_LoadRenderModel(_this->linux_side, pchRenderModelName, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_FreeRenderModel, 8) -void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(winIVRSystem_IVRSystem_003 *_this, winRenderModel_t_091 * pRenderModel) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_FreeRenderModel(_this->linux_side, pRenderModel); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 8) -TrackedDeviceClass __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetTrackedDeviceClass(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 8) -bool __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(_this->linux_side, unDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 16) -bool __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 16) -float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 16) -int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 16) -uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 20) -HmdMatrix34_t *__thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, HmdMatrix34_t *_r, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pError); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 24) -uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unDeviceIndex, TrackedDeviceProperty prop, char * pchValue, uint32_t unBufferSize, TrackedPropertyError * pError) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(_this->linux_side, unDeviceIndex, prop, pchValue, unBufferSize, pError); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(winIVRSystem_IVRSystem_003 *_this, TrackedPropertyError error) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(_this->linux_side, error); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEvent, 8) -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(winIVRSystem_IVRSystem_003 *_this, VREvent_t * pEvent) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_PollNextEvent(_this->linux_side, pEvent); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEventWithPose, 16) -bool __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, VREvent_t * pEvent, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_PollNextEventWithPose(_this->linux_side, eOrigin, pEvent, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVREventType eType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(_this->linux_side, eType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 12) -HiddenAreaMesh_t *__thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(winIVRSystem_IVRSystem_003 *_this, HiddenAreaMesh_t *_r, Hmd_Eye eEye) -{ - TRACE("%p\n", _this); - *_r = cppIVRSystem_IVRSystem_003_GetHiddenAreaMesh(_this->linux_side, eEye); - return _r; -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerState, 12) -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerState(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerState(_this->linux_side, unControllerDeviceIndex, pControllerState); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 20) -bool __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(winIVRSystem_IVRSystem_003 *_this, TrackingUniverseOrigin eOrigin, TrackedDeviceIndex_t unControllerDeviceIndex, winVRControllerState001_t_091 * pControllerState, TrackedDevicePose_t * pTrackedDevicePose) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerStateWithPose(_this->linux_side, eOrigin, unControllerDeviceIndex, pControllerState, pTrackedDevicePose); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_TriggerHapticPulse, 14) -void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(winIVRSystem_IVRSystem_003 *_this, TrackedDeviceIndex_t unControllerDeviceIndex, uint32_t unAxisId, unsigned short usDurationMicroSec) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_TriggerHapticPulse(_this->linux_side, unControllerDeviceIndex, unAxisId, usDurationMicroSec); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRButtonId eButtonId) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(_this->linux_side, eButtonId); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 8) -const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(winIVRSystem_IVRSystem_003 *_this, EVRControllerAxisType eAxisType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(_this->linux_side, eAxisType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 140) -bool __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(winIVRSystem_IVRSystem_003 *_this, Compositor_OverlaySettings * overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, TrackedDeviceIndex_t unControllerDeviceIndex, EVRControllerEventOutputType eOutputType) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(_this->linux_side, overlaySettings, vecWindowClientPositionOnScreen, vecWindowClientSize, unControllerDeviceIndex, eOutputType); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_CaptureInputFocus, 4) -bool __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_CaptureInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ReleaseInputFocus, 4) -void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - cppIVRSystem_IVRSystem_003_ReleaseInputFocus(_this->linux_side); -} - -DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 4) -bool __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(winIVRSystem_IVRSystem_003 *_this) -{ - TRACE("%p\n", _this); - return cppIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(_this->linux_side); -} - -extern vtable_ptr winIVRSystem_IVRSystem_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRSystem_IVRSystem_003, - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetWindowBounds) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeOutputViewport) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionMatrix) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionRaw) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ComputeDistortion) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_AttachToWindow) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_LoadRenderModel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_FreeRenderModel) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEvent) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEventWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerState) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerStateWithPose) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_TriggerHapticPulse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_CaptureInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ReleaseInputFocus) - VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess) - ); -#ifndef __GNUC__ -} -#endif - -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003(void *linux_side) -{ - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRSystem_IVRSystem_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRSystem_IVRSystem_003(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRSystem_IVRSystem_003 *create_winIVRSystem_IVRSystem_003_FnTable(void *linux_side) -{ - winIVRSystem_IVRSystem_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRSystem_IVRSystem_003)); - struct thunk *thunks = alloc_thunks(38); - struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); - int i; - - TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); - init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); - init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); - init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); - init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); - init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); - init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); - init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); - init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); - init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); - init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); - init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); - init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_003_GetControllerState, 2, FALSE, FALSE); - init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); - init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); - init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); - init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); - init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); - for (i = 0; i < 38; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRSystem_IVRSystem_003_FnTable(void *object) -{ - winIVRSystem_IVRSystem_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); -} - diff --git a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c deleted file mode 100644 index 1c6cc5029..000000000 --- a/vrclient_x64/vrclient_x64/winIVRTrackedCamera.c +++ /dev/null @@ -1,1046 +0,0 @@ -/* This file is auto-generated, do not edit. */ -#include -#include - -#include "windef.h" -#include "winbase.h" -#include "wine/debug.h" - -#include "cxx.h" - -#include "vrclient_defs.h" - -#include "vrclient_private.h" - -#include "struct_converters.h" - -#include "flatapi.h" - -WINE_DEFAULT_DEBUG_CHANNEL(vrclient); - -#include "cppIVRTrackedCamera_IVRTrackedCamera_006.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_006 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_006; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1237 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 8) -void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this, ETrackingUniverseOrigin eUniverse) -{ - TRACE("%p\n", _this); - cppIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(_this->linux_side, eUniverse); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 4) -ETrackingUniverseOrigin __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(winIVRTrackedCamera_IVRTrackedCamera_006 *_this) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(_this->linux_side); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_006_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_006, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_006_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_006 *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_006 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_006)); - 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, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); - for (i = 0; i < 14; i++) - vtable[i] = &thunks[i]; - r->linux_side = linux_side; - r->vtable = (void *)vtable; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_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 "cppIVRTrackedCamera_IVRTrackedCamera_005.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_005 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_005; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, uint32_t nCameraIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(_this->linux_side, nDeviceIndex, nCameraIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1610 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_005 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_005_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_005, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_005_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_005 *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_005 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_005)); - 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_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - 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_005_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_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 "cppIVRTrackedCamera_IVRTrackedCamera_004.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_004 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_004; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, winCameraVideoStreamFrameHeader_t_1017 * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_004 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_004_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_004, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_004_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *object) -{ - TRACE("%p\n", object); - HeapFree(GetProcessHeap(), 0, object); -} - -winIVRTrackedCamera_IVRTrackedCamera_004 *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_004 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_004)); - 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_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - 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_004_FnTable(void *object) -{ - winIVRTrackedCamera_IVRTrackedCamera_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 "cppIVRTrackedCamera_IVRTrackedCamera_003.h" - -typedef struct __winIVRTrackedCamera_IVRTrackedCamera_003 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_003; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, VRTextureBounds_t * pTextureBounds, uint32_t * pnWidth, uint32_t * pnHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(_this->linux_side, nDeviceIndex, eFrameType, pTextureBounds, pnWidth, pnHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 32) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pD3D11DeviceOrResource, void ** ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(_this->linux_side, hTrackedCamera, eFrameType, pD3D11DeviceOrResource, ppD3D11ShaderResourceView, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, glUInt_t * pglTextureId, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(_this->linux_side, hTrackedCamera, eFrameType, pglTextureId, pFrameHeader, nFrameHeaderSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 16) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(winIVRTrackedCamera_IVRTrackedCamera_003 *_this, TrackedCameraHandle_t hTrackedCamera, glUInt_t glTextureId) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(_this->linux_side, hTrackedCamera, glTextureId); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_003_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_003, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_003 *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_003 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_003)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_003_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_002; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 8) -const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, EVRTrackedCameraError eCameraError) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(_this->linux_side, eCameraError); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, bool * pHasCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(_this->linux_side, nDeviceIndex, pHasCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, uint32_t * pnWidth, uint32_t * pnHeight, uint32_t * pnFrameBufferSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(_this->linux_side, nDeviceIndex, eFrameType, pnWidth, pnHeight, pnFrameBufferSize); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 20) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, HmdVector2_t * pFocalLength, HmdVector2_t * pCenter) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(_this->linux_side, nDeviceIndex, eFrameType, pFocalLength, pCenter); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 24) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, EVRTrackedCameraFrameType eFrameType, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(_this->linux_side, nDeviceIndex, eFrameType, flZNear, flZFar, pProjection); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 12) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedDeviceIndex_t nDeviceIndex, TrackedCameraHandle_t * pHandle) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(_this->linux_side, nDeviceIndex, pHandle); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 8) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(_this->linux_side, hTrackedCamera); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 28) -EVRTrackedCameraError __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(winIVRTrackedCamera_IVRTrackedCamera_002 *_this, TrackedCameraHandle_t hTrackedCamera, EVRTrackedCameraFrameType eFrameType, void * pFrameBuffer, uint32_t nFrameBufferSize, CameraVideoStreamFrameHeader_t * pFrameHeader, uint32_t nFrameHeaderSize) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(_this->linux_side, hTrackedCamera, eFrameType, pFrameBuffer, nFrameBufferSize, pFrameHeader, nFrameHeaderSize); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_002_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_002, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_002 *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_002 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_002)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_002_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); - 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 { - vtable_ptr *vtable; - void *linux_side; -} winIVRTrackedCamera_IVRTrackedCamera_001; - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, 16) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, char * pBuffer, uint32_t nBufferLen) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(_this->linux_side, nDeviceIndex, pBuffer, nBufferLen); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, 20) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat, uint32_t * pWidth, uint32_t * pHeight) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(_this->linux_side, nDeviceIndex, nVideoStreamFormat, pWidth, pHeight); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, 12) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, ECameraVideoStreamFormat nVideoStreamFormat) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(_this->linux_side, nDeviceIndex, nVideoStreamFormat); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, 8) -ECameraVideoStreamFormat __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, 9) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(_this->linux_side, nDeviceIndex, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, 8) -float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, 8) -const CameraVideoStreamFrame_t * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, 12) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, CameraVideoStreamFrame_t * pFrameImage) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(_this->linux_side, nDeviceIndex, pFrameImage); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, 9) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, bool bEnable) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(_this->linux_side, nDeviceIndex, bEnable); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, 8) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(_this->linux_side, nDeviceIndex); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, 24) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, float flInputU, float flInputV, float * pflOutputU, float * pflOutputV) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(_this->linux_side, nDeviceIndex, flInputU, flInputV, pflOutputU, pflOutputV); -} - -DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 28) -bool __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(winIVRTrackedCamera_IVRTrackedCamera_001 *_this, TrackedDeviceIndex_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t * pProjection) -{ - TRACE("%p\n", _this); - return cppIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(_this->linux_side, nDeviceIndex, flWidthPixels, flHeightPixels, flZNear, flZFar, pProjection); -} - -extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_001_vtable; - -#ifndef __GNUC__ -void __asm_dummy_vtables(void) { -#endif - __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_001, - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion) - VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection) - ); -#ifndef __GNUC__ -} -#endif - -winIVRTrackedCamera_IVRTrackedCamera_001 *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *linux_side) -{ - winIVRTrackedCamera_IVRTrackedCamera_001 *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(winIVRTrackedCamera_IVRTrackedCamera_001)); - TRACE("-> %p\n", r); - r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_001_vtable; - r->linux_side = linux_side; - return r; -} - -void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *object) -{ - TRACE("%p\n", 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, 1, FALSE, FALSE); - init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, 3, FALSE, FALSE); - init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, 4, FALSE, FALSE); - init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, 2, FALSE, FALSE); - init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, 1, FALSE, FALSE); - init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, 2, FALSE, FALSE); - init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, 1, FALSE, FALSE); - init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, 1, FALSE, FALSE); - init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, 1, FALSE, FALSE); - init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, 1, FALSE, FALSE); - init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, 1, FALSE, FALSE); - init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, 2, FALSE, FALSE); - init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, 2, FALSE, FALSE); - init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, 1, FALSE, FALSE); - init_thunk(&thunks[14], r, winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, 1, FALSE, FALSE); - init_thunk(&thunks[15], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, 1, FALSE, FALSE); - init_thunk(&thunks[16], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, 5, TRUE, FALSE); - init_thunk(&thunks[17], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 6, TRUE, TRUE); - 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); -} - diff --git a/vrclient_x64/vrclient_x64/win_constructors.h b/vrclient_x64/vrclient_x64/win_constructors.h deleted file mode 100644 index 99c6cc820..000000000 --- a/vrclient_x64/vrclient_x64/win_constructors.h +++ /dev/null @@ -1,212 +0,0 @@ -extern void *create_winIVRSystem_IVRSystem_022(void *); -extern void *create_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_007(void *); -extern void *create_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_003(void *); -extern void *create_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_004(void *); -extern void *create_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_027(void *); -extern void *create_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void *create_winIVRNotifications_IVRNotifications_002(void *); -extern void *create_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_026(void *); -extern void *create_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void *create_winIVROverlayView_IVROverlayView_003(void *); -extern void *create_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void *create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_006_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_winIVRInput_IVRInput_010(void *); -extern void *create_winIVRInput_IVRInput_010_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void *create_winIVRClientCore_IVRClientCore_003(void *); -extern void *create_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_025(void *); -extern void *create_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_026(void *); -extern void *create_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_024(void *); -extern void *create_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_021(void *); -extern void *create_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void *create_winIVRChaperone_IVRChaperone_003(void *); -extern void *create_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006(void *); -extern void *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void *create_winIVRMailbox_IVRMailbox_001(void *); -extern void *create_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_024(void *); -extern void *create_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_022(void *); -extern void *create_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void *create_winIVRInput_IVRInput_007(void *); -extern void *create_winIVRInput_IVRInput_007_FnTable(void *); -extern void *create_winIVRSettings_IVRSettings_002(void *); -extern void *create_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void *create_winIVRCompositor_IVRCompositor_022(void *); -extern void *create_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_021(void *); -extern void *create_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_020(void *); -extern void *create_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void *create_winIVRApplications_IVRApplications_006(void *); -extern void *create_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_020(void *); -extern void *create_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_019(void *); -extern void *create_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void *create_winIVRSystem_IVRSystem_019(void *); -extern void *create_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void *create_winIVRInput_IVRInput_006(void *); -extern void *create_winIVRInput_IVRInput_006_FnTable(void *); -extern void *create_winIVRInput_IVRInput_005(void *); -extern void *create_winIVRInput_IVRInput_005_FnTable(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void *create_winIVROverlay_IVROverlay_018(void *); -extern void *create_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void *create_winIVRInput_IVRInput_004(void *); -extern void *create_winIVRInput_IVRInput_004_FnTable(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005(void *); -extern void *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void *create_winIVRInput_IVRInput_003(void *); -extern void *create_winIVRInput_IVRInput_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_winIVRCompositor_IVRCompositor_017(void *); -extern void *create_winIVRCompositor_IVRCompositor_017_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 *); diff --git a/vrclient_x64/vrclient_x64/win_constructors_table.dat b/vrclient_x64/vrclient_x64/win_constructors_table.dat deleted file mode 100644 index a3c189b3f..000000000 --- a/vrclient_x64/vrclient_x64/win_constructors_table.dat +++ /dev/null @@ -1,212 +0,0 @@ - {"IVRSystem_022", &create_winIVRSystem_IVRSystem_022, &destroy_winIVRSystem_IVRSystem_022}, - {"FnTable:IVRSystem_022", &create_winIVRSystem_IVRSystem_022_FnTable, &destroy_winIVRSystem_IVRSystem_022_FnTable}, - {"IVRApplications_007", &create_winIVRApplications_IVRApplications_007, &destroy_winIVRApplications_IVRApplications_007}, - {"FnTable:IVRApplications_007", &create_winIVRApplications_IVRApplications_007_FnTable, &destroy_winIVRApplications_IVRApplications_007_FnTable}, - {"IVRSettings_003", &create_winIVRSettings_IVRSettings_003, &destroy_winIVRSettings_IVRSettings_003}, - {"FnTable:IVRSettings_003", &create_winIVRSettings_IVRSettings_003_FnTable, &destroy_winIVRSettings_IVRSettings_003_FnTable}, - {"IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004, &destroy_winIVRChaperone_IVRChaperone_004}, - {"FnTable:IVRChaperone_004", &create_winIVRChaperone_IVRChaperone_004_FnTable, &destroy_winIVRChaperone_IVRChaperone_004_FnTable}, - {"IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006}, - {"FnTable:IVRChaperoneSetup_006", &create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable}, - {"IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027, &destroy_winIVRCompositor_IVRCompositor_027}, - {"FnTable:IVRCompositor_027", &create_winIVRCompositor_IVRCompositor_027_FnTable, &destroy_winIVRCompositor_IVRCompositor_027_FnTable}, - {"IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001, &destroy_winIVRHeadsetView_IVRHeadsetView_001}, - {"FnTable:IVRHeadsetView_001", &create_winIVRHeadsetView_IVRHeadsetView_001_FnTable, &destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable}, - {"IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002, &destroy_winIVRNotifications_IVRNotifications_002}, - {"FnTable:IVRNotifications_002", &create_winIVRNotifications_IVRNotifications_002_FnTable, &destroy_winIVRNotifications_IVRNotifications_002_FnTable}, - {"IVROverlay_026", &create_winIVROverlay_IVROverlay_026, &destroy_winIVROverlay_IVROverlay_026}, - {"FnTable:IVROverlay_026", &create_winIVROverlay_IVROverlay_026_FnTable, &destroy_winIVROverlay_IVROverlay_026_FnTable}, - {"IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003, &destroy_winIVROverlayView_IVROverlayView_003}, - {"FnTable:IVROverlayView_003", &create_winIVROverlayView_IVROverlayView_003_FnTable, &destroy_winIVROverlayView_IVROverlayView_003_FnTable}, - {"IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006, &destroy_winIVRRenderModels_IVRRenderModels_006}, - {"FnTable:IVRRenderModels_006", &create_winIVRRenderModels_IVRRenderModels_006_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_006_FnTable}, - {"IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001}, - {"FnTable:IVRExtendedDisplay_001", &create_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable, &destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable}, - {"IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006}, - {"FnTable:IVRTrackedCamera_006", &create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable}, - {"IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001, &destroy_winIVRScreenshots_IVRScreenshots_001}, - {"FnTable:IVRScreenshots_001", &create_winIVRScreenshots_IVRScreenshots_001_FnTable, &destroy_winIVRScreenshots_IVRScreenshots_001_FnTable}, - {"IVRResources_001", &create_winIVRResources_IVRResources_001, &destroy_winIVRResources_IVRResources_001}, - {"FnTable:IVRResources_001", &create_winIVRResources_IVRResources_001_FnTable, &destroy_winIVRResources_IVRResources_001_FnTable}, - {"IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001, &destroy_winIVRDriverManager_IVRDriverManager_001}, - {"FnTable:IVRDriverManager_001", &create_winIVRDriverManager_IVRDriverManager_001_FnTable, &destroy_winIVRDriverManager_IVRDriverManager_001_FnTable}, - {"IVRInput_010", &create_winIVRInput_IVRInput_010, &destroy_winIVRInput_IVRInput_010}, - {"FnTable:IVRInput_010", &create_winIVRInput_IVRInput_010_FnTable, &destroy_winIVRInput_IVRInput_010_FnTable}, - {"IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002, &destroy_winIVRIOBuffer_IVRIOBuffer_002}, - {"FnTable:IVRIOBuffer_002", &create_winIVRIOBuffer_IVRIOBuffer_002_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable}, - {"IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003, &destroy_winIVRClientCore_IVRClientCore_003}, - {"FnTable:IVRClientCore_003", &create_winIVRClientCore_IVRClientCore_003_FnTable, &destroy_winIVRClientCore_IVRClientCore_003_FnTable}, - {"IVROverlay_025", &create_winIVROverlay_IVROverlay_025, &destroy_winIVROverlay_IVROverlay_025}, - {"FnTable:IVROverlay_025", &create_winIVROverlay_IVROverlay_025_FnTable, &destroy_winIVROverlay_IVROverlay_025_FnTable}, - {"IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026, &destroy_winIVRCompositor_IVRCompositor_026}, - {"FnTable:IVRCompositor_026", &create_winIVRCompositor_IVRCompositor_026_FnTable, &destroy_winIVRCompositor_IVRCompositor_026_FnTable}, - {"IVROverlay_024", &create_winIVROverlay_IVROverlay_024, &destroy_winIVROverlay_IVROverlay_024}, - {"FnTable:IVROverlay_024", &create_winIVROverlay_IVROverlay_024_FnTable, &destroy_winIVROverlay_IVROverlay_024_FnTable}, - {"IVRSystem_021", &create_winIVRSystem_IVRSystem_021, &destroy_winIVRSystem_IVRSystem_021}, - {"FnTable:IVRSystem_021", &create_winIVRSystem_IVRSystem_021_FnTable, &destroy_winIVRSystem_IVRSystem_021_FnTable}, - {"IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003, &destroy_winIVRChaperone_IVRChaperone_003}, - {"FnTable:IVRChaperone_003", &create_winIVRChaperone_IVRChaperone_003_FnTable, &destroy_winIVRChaperone_IVRChaperone_003_FnTable}, - {"IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006, &destroy_winIVRControlPanel_IVRControlPanel_006}, - {"FnTable:IVRControlPanel_006", &create_winIVRControlPanel_IVRControlPanel_006_FnTable, &destroy_winIVRControlPanel_IVRControlPanel_006_FnTable}, - {"IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001, &destroy_winIVRMailbox_IVRMailbox_001}, - {"FnTable:IVRMailbox_001", &create_winIVRMailbox_IVRMailbox_001_FnTable, &destroy_winIVRMailbox_IVRMailbox_001_FnTable}, - {"IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024, &destroy_winIVRCompositor_IVRCompositor_024}, - {"FnTable:IVRCompositor_024", &create_winIVRCompositor_IVRCompositor_024_FnTable, &destroy_winIVRCompositor_IVRCompositor_024_FnTable}, - {"IVROverlay_022", &create_winIVROverlay_IVROverlay_022, &destroy_winIVROverlay_IVROverlay_022}, - {"FnTable:IVROverlay_022", &create_winIVROverlay_IVROverlay_022_FnTable, &destroy_winIVROverlay_IVROverlay_022_FnTable}, - {"IVRInput_007", &create_winIVRInput_IVRInput_007, &destroy_winIVRInput_IVRInput_007}, - {"FnTable:IVRInput_007", &create_winIVRInput_IVRInput_007_FnTable, &destroy_winIVRInput_IVRInput_007_FnTable}, - {"IVRSettings_002", &create_winIVRSettings_IVRSettings_002, &destroy_winIVRSettings_IVRSettings_002}, - {"FnTable:IVRSettings_002", &create_winIVRSettings_IVRSettings_002_FnTable, &destroy_winIVRSettings_IVRSettings_002_FnTable}, - {"IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022, &destroy_winIVRCompositor_IVRCompositor_022}, - {"FnTable:IVRCompositor_022", &create_winIVRCompositor_IVRCompositor_022_FnTable, &destroy_winIVRCompositor_IVRCompositor_022_FnTable}, - {"IVROverlay_021", &create_winIVROverlay_IVROverlay_021, &destroy_winIVROverlay_IVROverlay_021}, - {"FnTable:IVROverlay_021", &create_winIVROverlay_IVROverlay_021_FnTable, &destroy_winIVROverlay_IVROverlay_021_FnTable}, - {"IVRSystem_020", &create_winIVRSystem_IVRSystem_020, &destroy_winIVRSystem_IVRSystem_020}, - {"FnTable:IVRSystem_020", &create_winIVRSystem_IVRSystem_020_FnTable, &destroy_winIVRSystem_IVRSystem_020_FnTable}, - {"IVRApplications_006", &create_winIVRApplications_IVRApplications_006, &destroy_winIVRApplications_IVRApplications_006}, - {"FnTable:IVRApplications_006", &create_winIVRApplications_IVRApplications_006_FnTable, &destroy_winIVRApplications_IVRApplications_006_FnTable}, - {"IVROverlay_020", &create_winIVROverlay_IVROverlay_020, &destroy_winIVROverlay_IVROverlay_020}, - {"FnTable:IVROverlay_020", &create_winIVROverlay_IVROverlay_020_FnTable, &destroy_winIVROverlay_IVROverlay_020_FnTable}, - {"IVROverlay_019", &create_winIVROverlay_IVROverlay_019, &destroy_winIVROverlay_IVROverlay_019}, - {"FnTable:IVROverlay_019", &create_winIVROverlay_IVROverlay_019_FnTable, &destroy_winIVROverlay_IVROverlay_019_FnTable}, - {"IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005}, - {"FnTable:IVRTrackedCamera_005", &create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable}, - {"IVRSystem_019", &create_winIVRSystem_IVRSystem_019, &destroy_winIVRSystem_IVRSystem_019}, - {"FnTable:IVRSystem_019", &create_winIVRSystem_IVRSystem_019_FnTable, &destroy_winIVRSystem_IVRSystem_019_FnTable}, - {"IVRInput_006", &create_winIVRInput_IVRInput_006, &destroy_winIVRInput_IVRInput_006}, - {"FnTable:IVRInput_006", &create_winIVRInput_IVRInput_006_FnTable, &destroy_winIVRInput_IVRInput_006_FnTable}, - {"IVRInput_005", &create_winIVRInput_IVRInput_005, &destroy_winIVRInput_IVRInput_005}, - {"FnTable:IVRInput_005", &create_winIVRInput_IVRInput_005_FnTable, &destroy_winIVRInput_IVRInput_005_FnTable}, - {"IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001, &destroy_winIVRIOBuffer_IVRIOBuffer_001}, - {"FnTable:IVRIOBuffer_001", &create_winIVRIOBuffer_IVRIOBuffer_001_FnTable, &destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable}, - {"IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005}, - {"FnTable:IVRChaperoneSetup_005", &create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable}, - {"IVROverlay_018", &create_winIVROverlay_IVROverlay_018, &destroy_winIVROverlay_IVROverlay_018}, - {"FnTable:IVROverlay_018", &create_winIVROverlay_IVROverlay_018_FnTable, &destroy_winIVROverlay_IVROverlay_018_FnTable}, - {"IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004}, - {"FnTable:IVRTrackedCamera_004", &create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable}, - {"IVRInput_004", &create_winIVRInput_IVRInput_004, &destroy_winIVRInput_IVRInput_004}, - {"FnTable:IVRInput_004", &create_winIVRInput_IVRInput_004_FnTable, &destroy_winIVRInput_IVRInput_004_FnTable}, - {"IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003}, - {"FnTable:IVRTrackedCamera_003", &create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable}, - {"IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005, &destroy_winIVRRenderModels_IVRRenderModels_005}, - {"FnTable:IVRRenderModels_005", &create_winIVRRenderModels_IVRRenderModels_005_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_005_FnTable}, - {"IVRInput_003", &create_winIVRInput_IVRInput_003, &destroy_winIVRInput_IVRInput_003}, - {"FnTable:IVRInput_003", &create_winIVRInput_IVRInput_003_FnTable, &destroy_winIVRInput_IVRInput_003_FnTable}, - {"IVRSystem_017", &create_winIVRSystem_IVRSystem_017, &destroy_winIVRSystem_IVRSystem_017}, - {"FnTable:IVRSystem_017", &create_winIVRSystem_IVRSystem_017_FnTable, &destroy_winIVRSystem_IVRSystem_017_FnTable}, - {"IVROverlay_017", &create_winIVROverlay_IVROverlay_017, &destroy_winIVROverlay_IVROverlay_017}, - {"FnTable:IVROverlay_017", &create_winIVROverlay_IVROverlay_017_FnTable, &destroy_winIVROverlay_IVROverlay_017_FnTable}, - {"IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021, &destroy_winIVRCompositor_IVRCompositor_021}, - {"FnTable:IVRCompositor_021", &create_winIVRCompositor_IVRCompositor_021_FnTable, &destroy_winIVRCompositor_IVRCompositor_021_FnTable}, - {"IVROverlay_016", &create_winIVROverlay_IVROverlay_016, &destroy_winIVROverlay_IVROverlay_016}, - {"FnTable:IVROverlay_016", &create_winIVROverlay_IVROverlay_016_FnTable, &destroy_winIVROverlay_IVROverlay_016_FnTable}, - {"IVRSystem_016", &create_winIVRSystem_IVRSystem_016, &destroy_winIVRSystem_IVRSystem_016}, - {"FnTable:IVRSystem_016", &create_winIVRSystem_IVRSystem_016_FnTable, &destroy_winIVRSystem_IVRSystem_016_FnTable}, - {"IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020, &destroy_winIVRCompositor_IVRCompositor_020}, - {"FnTable:IVRCompositor_020", &create_winIVRCompositor_IVRCompositor_020_FnTable, &destroy_winIVRCompositor_IVRCompositor_020_FnTable}, - {"IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002, &destroy_winIVRClientCore_IVRClientCore_002}, - {"FnTable:IVRClientCore_002", &create_winIVRClientCore_IVRClientCore_002_FnTable, &destroy_winIVRClientCore_IVRClientCore_002_FnTable}, - {"IVRSystem_015", &create_winIVRSystem_IVRSystem_015, &destroy_winIVRSystem_IVRSystem_015}, - {"FnTable:IVRSystem_015", &create_winIVRSystem_IVRSystem_015_FnTable, &destroy_winIVRSystem_IVRSystem_015_FnTable}, - {"IVROverlay_014", &create_winIVROverlay_IVROverlay_014, &destroy_winIVROverlay_IVROverlay_014}, - {"FnTable:IVROverlay_014", &create_winIVROverlay_IVROverlay_014_FnTable, &destroy_winIVROverlay_IVROverlay_014_FnTable}, - {"IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019, &destroy_winIVRCompositor_IVRCompositor_019}, - {"FnTable:IVRCompositor_019", &create_winIVRCompositor_IVRCompositor_019_FnTable, &destroy_winIVRCompositor_IVRCompositor_019_FnTable}, - {"IVRSystem_014", &create_winIVRSystem_IVRSystem_014, &destroy_winIVRSystem_IVRSystem_014}, - {"FnTable:IVRSystem_014", &create_winIVRSystem_IVRSystem_014_FnTable, &destroy_winIVRSystem_IVRSystem_014_FnTable}, - {"IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018, &destroy_winIVRCompositor_IVRCompositor_018}, - {"FnTable:IVRCompositor_018", &create_winIVRCompositor_IVRCompositor_018_FnTable, &destroy_winIVRCompositor_IVRCompositor_018_FnTable}, - {"IVROverlay_013", &create_winIVROverlay_IVROverlay_013, &destroy_winIVROverlay_IVROverlay_013}, - {"FnTable:IVROverlay_013", &create_winIVROverlay_IVROverlay_013_FnTable, &destroy_winIVROverlay_IVROverlay_013_FnTable}, - {"IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017, &destroy_winIVRCompositor_IVRCompositor_017}, - {"FnTable:IVRCompositor_017", &create_winIVRCompositor_IVRCompositor_017_FnTable, &destroy_winIVRCompositor_IVRCompositor_017_FnTable}, - {"IVRSystem_012", &create_winIVRSystem_IVRSystem_012, &destroy_winIVRSystem_IVRSystem_012}, - {"FnTable:IVRSystem_012", &create_winIVRSystem_IVRSystem_012_FnTable, &destroy_winIVRSystem_IVRSystem_012_FnTable}, - {"IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016, &destroy_winIVRCompositor_IVRCompositor_016}, - {"FnTable:IVRCompositor_016", &create_winIVRCompositor_IVRCompositor_016_FnTable, &destroy_winIVRCompositor_IVRCompositor_016_FnTable}, - {"IVRSettings_001", &create_winIVRSettings_IVRSettings_001, &destroy_winIVRSettings_IVRSettings_001}, - {"FnTable:IVRSettings_001", &create_winIVRSettings_IVRSettings_001_FnTable, &destroy_winIVRSettings_IVRSettings_001_FnTable}, - {"IVRApplications_005", &create_winIVRApplications_IVRApplications_005, &destroy_winIVRApplications_IVRApplications_005}, - {"FnTable:IVRApplications_005", &create_winIVRApplications_IVRApplications_005_FnTable, &destroy_winIVRApplications_IVRApplications_005_FnTable}, - {"IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015, &destroy_winIVRCompositor_IVRCompositor_015}, - {"FnTable:IVRCompositor_015", &create_winIVRCompositor_IVRCompositor_015_FnTable, &destroy_winIVRCompositor_IVRCompositor_015_FnTable}, - {"IVROverlay_012", &create_winIVROverlay_IVROverlay_012, &destroy_winIVROverlay_IVROverlay_012}, - {"FnTable:IVROverlay_012", &create_winIVROverlay_IVROverlay_012_FnTable, &destroy_winIVROverlay_IVROverlay_012_FnTable}, - {"IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002}, - {"FnTable:IVRTrackedCamera_002", &create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable}, - {"IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014, &destroy_winIVRCompositor_IVRCompositor_014}, - {"FnTable:IVRCompositor_014", &create_winIVRCompositor_IVRCompositor_014_FnTable, &destroy_winIVRCompositor_IVRCompositor_014_FnTable}, - {"IVROverlay_011", &create_winIVROverlay_IVROverlay_011, &destroy_winIVROverlay_IVROverlay_011}, - {"FnTable:IVROverlay_011", &create_winIVROverlay_IVROverlay_011_FnTable, &destroy_winIVROverlay_IVROverlay_011_FnTable}, - {"IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013, &destroy_winIVRCompositor_IVRCompositor_013}, - {"FnTable:IVRCompositor_013", &create_winIVRCompositor_IVRCompositor_013_FnTable, &destroy_winIVRCompositor_IVRCompositor_013_FnTable}, - {"IVRSystem_011", &create_winIVRSystem_IVRSystem_011, &destroy_winIVRSystem_IVRSystem_011}, - {"FnTable:IVRSystem_011", &create_winIVRSystem_IVRSystem_011_FnTable, &destroy_winIVRSystem_IVRSystem_011_FnTable}, - {"IVRApplications_004", &create_winIVRApplications_IVRApplications_004, &destroy_winIVRApplications_IVRApplications_004}, - {"FnTable:IVRApplications_004", &create_winIVRApplications_IVRApplications_004_FnTable, &destroy_winIVRApplications_IVRApplications_004_FnTable}, - {"IVROverlay_010", &create_winIVROverlay_IVROverlay_010, &destroy_winIVROverlay_IVROverlay_010}, - {"FnTable:IVROverlay_010", &create_winIVROverlay_IVROverlay_010_FnTable, &destroy_winIVROverlay_IVROverlay_010_FnTable}, - {"IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004, &destroy_winIVRRenderModels_IVRRenderModels_004}, - {"FnTable:IVRRenderModels_004", &create_winIVRRenderModels_IVRRenderModels_004_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_004_FnTable}, - {"IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012, &destroy_winIVRCompositor_IVRCompositor_012}, - {"FnTable:IVRCompositor_012", &create_winIVRCompositor_IVRCompositor_012_FnTable, &destroy_winIVRCompositor_IVRCompositor_012_FnTable}, - {"IVRApplications_003", &create_winIVRApplications_IVRApplications_003, &destroy_winIVRApplications_IVRApplications_003}, - {"FnTable:IVRApplications_003", &create_winIVRApplications_IVRApplications_003_FnTable, &destroy_winIVRApplications_IVRApplications_003_FnTable}, - {"IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011, &destroy_winIVRCompositor_IVRCompositor_011}, - {"FnTable:IVRCompositor_011", &create_winIVRCompositor_IVRCompositor_011_FnTable, &destroy_winIVRCompositor_IVRCompositor_011_FnTable}, - {"IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002, &destroy_winIVRRenderModels_IVRRenderModels_002}, - {"FnTable:IVRRenderModels_002", &create_winIVRRenderModels_IVRRenderModels_002_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_002_FnTable}, - {"IVRSystem_010", &create_winIVRSystem_IVRSystem_010, &destroy_winIVRSystem_IVRSystem_010}, - {"FnTable:IVRSystem_010", &create_winIVRSystem_IVRSystem_010_FnTable, &destroy_winIVRSystem_IVRSystem_010_FnTable}, - {"IVRApplications_002", &create_winIVRApplications_IVRApplications_002, &destroy_winIVRApplications_IVRApplications_002}, - {"FnTable:IVRApplications_002", &create_winIVRApplications_IVRApplications_002_FnTable, &destroy_winIVRApplications_IVRApplications_002_FnTable}, - {"IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004}, - {"FnTable:IVRChaperoneSetup_004", &create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable, &destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable}, - {"IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010, &destroy_winIVRCompositor_IVRCompositor_010}, - {"FnTable:IVRCompositor_010", &create_winIVRCompositor_IVRCompositor_010_FnTable, &destroy_winIVRCompositor_IVRCompositor_010_FnTable}, - {"IVROverlay_008", &create_winIVROverlay_IVROverlay_008, &destroy_winIVROverlay_IVROverlay_008}, - {"FnTable:IVROverlay_008", &create_winIVROverlay_IVROverlay_008_FnTable, &destroy_winIVROverlay_IVROverlay_008_FnTable}, - {"IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001}, - {"FnTable:IVRTrackedCamera_001", &create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable, &destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable}, - {"IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009, &destroy_winIVRCompositor_IVRCompositor_009}, - {"FnTable:IVRCompositor_009", &create_winIVRCompositor_IVRCompositor_009_FnTable, &destroy_winIVRCompositor_IVRCompositor_009_FnTable}, - {"IVRSystem_009", &create_winIVRSystem_IVRSystem_009, &destroy_winIVRSystem_IVRSystem_009}, - {"FnTable:IVRSystem_009", &create_winIVRSystem_IVRSystem_009_FnTable, &destroy_winIVRSystem_IVRSystem_009_FnTable}, - {"IVROverlay_007", &create_winIVROverlay_IVROverlay_007, &destroy_winIVROverlay_IVROverlay_007}, - {"FnTable:IVROverlay_007", &create_winIVROverlay_IVROverlay_007_FnTable, &destroy_winIVROverlay_IVROverlay_007_FnTable}, - {"IVRSystem_006", &create_winIVRSystem_IVRSystem_006, &destroy_winIVRSystem_IVRSystem_006}, - {"FnTable:IVRSystem_006", &create_winIVRSystem_IVRSystem_006_FnTable, &destroy_winIVRSystem_IVRSystem_006_FnTable}, - {"IVRApplications_001", &create_winIVRApplications_IVRApplications_001, &destroy_winIVRApplications_IVRApplications_001}, - {"FnTable:IVRApplications_001", &create_winIVRApplications_IVRApplications_001_FnTable, &destroy_winIVRApplications_IVRApplications_001_FnTable}, - {"IVRChaperone_002", &create_winIVRChaperone_IVRChaperone_002, &destroy_winIVRChaperone_IVRChaperone_002}, - {"FnTable:IVRChaperone_002", &create_winIVRChaperone_IVRChaperone_002_FnTable, &destroy_winIVRChaperone_IVRChaperone_002_FnTable}, - {"IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008, &destroy_winIVRCompositor_IVRCompositor_008}, - {"FnTable:IVRCompositor_008", &create_winIVRCompositor_IVRCompositor_008_FnTable, &destroy_winIVRCompositor_IVRCompositor_008_FnTable}, - {"IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001, &destroy_winIVRNotifications_IVRNotifications_001}, - {"FnTable:IVRNotifications_001", &create_winIVRNotifications_IVRNotifications_001_FnTable, &destroy_winIVRNotifications_IVRNotifications_001_FnTable}, - {"IVROverlay_005", &create_winIVROverlay_IVROverlay_005, &destroy_winIVROverlay_IVROverlay_005}, - {"FnTable:IVROverlay_005", &create_winIVROverlay_IVROverlay_005_FnTable, &destroy_winIVROverlay_IVROverlay_005_FnTable}, - {"IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001, &destroy_winIVRRenderModels_IVRRenderModels_001}, - {"FnTable:IVRRenderModels_001", &create_winIVRRenderModels_IVRRenderModels_001_FnTable, &destroy_winIVRRenderModels_IVRRenderModels_001_FnTable}, - {"IVRSystem_005", &create_winIVRSystem_IVRSystem_005, &destroy_winIVRSystem_IVRSystem_005}, - {"FnTable:IVRSystem_005", &create_winIVRSystem_IVRSystem_005_FnTable, &destroy_winIVRSystem_IVRSystem_005_FnTable}, - {"IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007, &destroy_winIVRCompositor_IVRCompositor_007}, - {"FnTable:IVRCompositor_007", &create_winIVRCompositor_IVRCompositor_007_FnTable, &destroy_winIVRCompositor_IVRCompositor_007_FnTable}, - {"IVROverlay_004", &create_winIVROverlay_IVROverlay_004, &destroy_winIVROverlay_IVROverlay_004}, - {"FnTable:IVROverlay_004", &create_winIVROverlay_IVROverlay_004_FnTable, &destroy_winIVROverlay_IVROverlay_004_FnTable}, - {"IVROverlay_003", &create_winIVROverlay_IVROverlay_003, &destroy_winIVROverlay_IVROverlay_003}, - {"FnTable:IVROverlay_003", &create_winIVROverlay_IVROverlay_003_FnTable, &destroy_winIVROverlay_IVROverlay_003_FnTable}, - {"IVROverlay_002", &create_winIVROverlay_IVROverlay_002, &destroy_winIVROverlay_IVROverlay_002}, - {"FnTable:IVROverlay_002", &create_winIVROverlay_IVROverlay_002_FnTable, &destroy_winIVROverlay_IVROverlay_002_FnTable}, - {"IVRSystem_004", &create_winIVRSystem_IVRSystem_004, &destroy_winIVRSystem_IVRSystem_004}, - {"FnTable:IVRSystem_004", &create_winIVRSystem_IVRSystem_004_FnTable, &destroy_winIVRSystem_IVRSystem_004_FnTable}, - {"IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006, &destroy_winIVRCompositor_IVRCompositor_006}, - {"FnTable:IVRCompositor_006", &create_winIVRCompositor_IVRCompositor_006_FnTable, &destroy_winIVRCompositor_IVRCompositor_006_FnTable}, - {"IVROverlay_001", &create_winIVROverlay_IVROverlay_001, &destroy_winIVROverlay_IVROverlay_001}, - {"FnTable:IVROverlay_001", &create_winIVROverlay_IVROverlay_001_FnTable, &destroy_winIVROverlay_IVROverlay_001_FnTable}, - {"IVRSystem_003", &create_winIVRSystem_IVRSystem_003, &destroy_winIVRSystem_IVRSystem_003}, - {"FnTable:IVRSystem_003", &create_winIVRSystem_IVRSystem_003_FnTable, &destroy_winIVRSystem_IVRSystem_003_FnTable}, - {"IVRCompositor_005", &create_winIVRCompositor_IVRCompositor_005, &destroy_winIVRCompositor_IVRCompositor_005}, - {"FnTable:IVRCompositor_005", &create_winIVRCompositor_IVRCompositor_005_FnTable, &destroy_winIVRCompositor_IVRCompositor_005_FnTable}, diff --git a/vrclient_x64/vrclient_x64/win_destructors.h b/vrclient_x64/vrclient_x64/win_destructors.h deleted file mode 100644 index 9c0d3bf78..000000000 --- a/vrclient_x64/vrclient_x64/win_destructors.h +++ /dev/null @@ -1,212 +0,0 @@ -extern void destroy_winIVRSystem_IVRSystem_022(void *); -extern void destroy_winIVRSystem_IVRSystem_022_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_007(void *); -extern void destroy_winIVRApplications_IVRApplications_007_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_003(void *); -extern void destroy_winIVRSettings_IVRSettings_003_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004(void *); -extern void destroy_winIVRChaperone_IVRChaperone_004_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027(void *); -extern void destroy_winIVRCompositor_IVRCompositor_027_FnTable(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001(void *); -extern void destroy_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002(void *); -extern void destroy_winIVRNotifications_IVRNotifications_002_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_026(void *); -extern void destroy_winIVROverlay_IVROverlay_026_FnTable(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003(void *); -extern void destroy_winIVROverlayView_IVROverlayView_003_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_006_FnTable(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *); -extern void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001(void *); -extern void destroy_winIVRScreenshots_IVRScreenshots_001_FnTable(void *); -extern void destroy_winIVRResources_IVRResources_001(void *); -extern void destroy_winIVRResources_IVRResources_001_FnTable(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001(void *); -extern void destroy_winIVRDriverManager_IVRDriverManager_001_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_010(void *); -extern void destroy_winIVRInput_IVRInput_010_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003(void *); -extern void destroy_winIVRClientCore_IVRClientCore_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_025(void *); -extern void destroy_winIVROverlay_IVROverlay_025_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026(void *); -extern void destroy_winIVRCompositor_IVRCompositor_026_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_024(void *); -extern void destroy_winIVROverlay_IVROverlay_024_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_021(void *); -extern void destroy_winIVRSystem_IVRSystem_021_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003(void *); -extern void destroy_winIVRChaperone_IVRChaperone_003_FnTable(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006(void *); -extern void destroy_winIVRControlPanel_IVRControlPanel_006_FnTable(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001(void *); -extern void destroy_winIVRMailbox_IVRMailbox_001_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024(void *); -extern void destroy_winIVRCompositor_IVRCompositor_024_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_022(void *); -extern void destroy_winIVROverlay_IVROverlay_022_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_007(void *); -extern void destroy_winIVRInput_IVRInput_007_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_002(void *); -extern void destroy_winIVRSettings_IVRSettings_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022(void *); -extern void destroy_winIVRCompositor_IVRCompositor_022_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_021(void *); -extern void destroy_winIVROverlay_IVROverlay_021_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_020(void *); -extern void destroy_winIVRSystem_IVRSystem_020_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_006(void *); -extern void destroy_winIVRApplications_IVRApplications_006_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_020(void *); -extern void destroy_winIVROverlay_IVROverlay_020_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_019(void *); -extern void destroy_winIVROverlay_IVROverlay_019_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_019(void *); -extern void destroy_winIVRSystem_IVRSystem_019_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_006(void *); -extern void destroy_winIVRInput_IVRInput_006_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_005(void *); -extern void destroy_winIVRInput_IVRInput_005_FnTable(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001(void *); -extern void destroy_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_018(void *); -extern void destroy_winIVROverlay_IVROverlay_018_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_004(void *); -extern void destroy_winIVRInput_IVRInput_004_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_005_FnTable(void *); -extern void destroy_winIVRInput_IVRInput_003(void *); -extern void destroy_winIVRInput_IVRInput_003_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_017(void *); -extern void destroy_winIVRSystem_IVRSystem_017_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_017(void *); -extern void destroy_winIVROverlay_IVROverlay_017_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021(void *); -extern void destroy_winIVRCompositor_IVRCompositor_021_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_016(void *); -extern void destroy_winIVROverlay_IVROverlay_016_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_016(void *); -extern void destroy_winIVRSystem_IVRSystem_016_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020(void *); -extern void destroy_winIVRCompositor_IVRCompositor_020_FnTable(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002(void *); -extern void destroy_winIVRClientCore_IVRClientCore_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_015(void *); -extern void destroy_winIVRSystem_IVRSystem_015_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_014(void *); -extern void destroy_winIVROverlay_IVROverlay_014_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019(void *); -extern void destroy_winIVRCompositor_IVRCompositor_019_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_014(void *); -extern void destroy_winIVRSystem_IVRSystem_014_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018(void *); -extern void destroy_winIVRCompositor_IVRCompositor_018_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_013(void *); -extern void destroy_winIVROverlay_IVROverlay_013_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017(void *); -extern void destroy_winIVRCompositor_IVRCompositor_017_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_012(void *); -extern void destroy_winIVRSystem_IVRSystem_012_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016(void *); -extern void destroy_winIVRCompositor_IVRCompositor_016_FnTable(void *); -extern void destroy_winIVRSettings_IVRSettings_001(void *); -extern void destroy_winIVRSettings_IVRSettings_001_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_005(void *); -extern void destroy_winIVRApplications_IVRApplications_005_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015(void *); -extern void destroy_winIVRCompositor_IVRCompositor_015_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_012(void *); -extern void destroy_winIVROverlay_IVROverlay_012_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014(void *); -extern void destroy_winIVRCompositor_IVRCompositor_014_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_011(void *); -extern void destroy_winIVROverlay_IVROverlay_011_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013(void *); -extern void destroy_winIVRCompositor_IVRCompositor_013_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_011(void *); -extern void destroy_winIVRSystem_IVRSystem_011_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_004(void *); -extern void destroy_winIVRApplications_IVRApplications_004_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_010(void *); -extern void destroy_winIVROverlay_IVROverlay_010_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012(void *); -extern void destroy_winIVRCompositor_IVRCompositor_012_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_003(void *); -extern void destroy_winIVRApplications_IVRApplications_003_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011(void *); -extern void destroy_winIVRCompositor_IVRCompositor_011_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_010(void *); -extern void destroy_winIVRSystem_IVRSystem_010_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_002(void *); -extern void destroy_winIVRApplications_IVRApplications_002_FnTable(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *); -extern void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010(void *); -extern void destroy_winIVRCompositor_IVRCompositor_010_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_008(void *); -extern void destroy_winIVROverlay_IVROverlay_008_FnTable(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(void *); -extern void destroy_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009(void *); -extern void destroy_winIVRCompositor_IVRCompositor_009_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_009(void *); -extern void destroy_winIVRSystem_IVRSystem_009_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_007(void *); -extern void destroy_winIVROverlay_IVROverlay_007_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_006(void *); -extern void destroy_winIVRSystem_IVRSystem_006_FnTable(void *); -extern void destroy_winIVRApplications_IVRApplications_001(void *); -extern void destroy_winIVRApplications_IVRApplications_001_FnTable(void *); -extern void destroy_winIVRChaperone_IVRChaperone_002(void *); -extern void destroy_winIVRChaperone_IVRChaperone_002_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008(void *); -extern void destroy_winIVRCompositor_IVRCompositor_008_FnTable(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001(void *); -extern void destroy_winIVRNotifications_IVRNotifications_001_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_005(void *); -extern void destroy_winIVROverlay_IVROverlay_005_FnTable(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001(void *); -extern void destroy_winIVRRenderModels_IVRRenderModels_001_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_005(void *); -extern void destroy_winIVRSystem_IVRSystem_005_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007(void *); -extern void destroy_winIVRCompositor_IVRCompositor_007_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_004(void *); -extern void destroy_winIVROverlay_IVROverlay_004_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_003(void *); -extern void destroy_winIVROverlay_IVROverlay_003_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_002(void *); -extern void destroy_winIVROverlay_IVROverlay_002_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_004(void *); -extern void destroy_winIVRSystem_IVRSystem_004_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006(void *); -extern void destroy_winIVRCompositor_IVRCompositor_006_FnTable(void *); -extern void destroy_winIVROverlay_IVROverlay_001(void *); -extern void destroy_winIVROverlay_IVROverlay_001_FnTable(void *); -extern void destroy_winIVRSystem_IVRSystem_003(void *); -extern void destroy_winIVRSystem_IVRSystem_003_FnTable(void *); -extern void destroy_winIVRCompositor_IVRCompositor_005(void *); -extern void destroy_winIVRCompositor_IVRCompositor_005_FnTable(void *); diff --git a/vrclient_x64/vrcompositor_manual.c b/vrclient_x64/vrcompositor_manual.c new file mode 100644 index 000000000..ad29d84e4 --- /dev/null +++ b/vrclient_x64/vrcompositor_manual.c @@ -0,0 +1,1344 @@ +#include +#include + +#include "windef.h" +#include "winbase.h" + +#define COBJMACROS +#include "d3d11_4.h" +#include "dxvk-interop.h" +#include "vrclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +struct submit_state +{ + w_Texture_t texture; + w_VRVulkanTextureArrayData_t vkdata; + VkImageLayout image_layout; + VkImageSubresourceRange subresources; + IDXGIVkInteropSurface *dxvk_surface; + IDXGIVkInteropDevice *dxvk_device; +}; + +static const w_Texture_t *load_compositor_texture_dxvk( uint32_t eye, const w_Texture_t *texture, uint32_t *flags, + struct submit_state *state ) +{ + static const uint32_t supported_flags = Submit_LensDistortionAlreadyApplied | Submit_FrameDiscontinuty; + w_VRVulkanTextureData_t vkdata; + VkImageCreateInfo image_info; + IUnknown *texture_iface; + + TRACE( "texture = %p\n", texture ); + + if (!(texture_iface = texture->handle)) + { + WARN( "No D3D11 texture %p.\n", texture ); + return texture; + } + + if (FAILED(texture_iface->lpVtbl->QueryInterface( texture_iface, &IID_IDXGIVkInteropSurface, + (void **)&state->dxvk_surface ))) + { + WARN( "Invalid D3D11 texture %p.\n", texture ); + return texture; + } + + state->texture = vrclient_translate_texture_dxvk( texture, &vkdata, state->dxvk_surface, &state->dxvk_device, + &state->image_layout, &image_info ); + state->vkdata.m_nImage = vkdata.m_nImage; + state->vkdata.m_pDevice = vkdata.m_pDevice; + state->vkdata.m_pPhysicalDevice = vkdata.m_pPhysicalDevice; + state->vkdata.m_pInstance = vkdata.m_pInstance; + state->vkdata.m_pQueue = vkdata.m_pQueue; + state->vkdata.m_nQueueFamilyIndex = vkdata.m_nQueueFamilyIndex; + state->vkdata.m_nWidth = vkdata.m_nWidth; + state->vkdata.m_nHeight = vkdata.m_nHeight; + state->vkdata.m_nFormat = vkdata.m_nFormat; + state->vkdata.m_nSampleCount = vkdata.m_nSampleCount; + state->texture.handle = &state->vkdata; + + compositor_data.dxvk_device = state->dxvk_device; + + if (*flags & ~supported_flags) FIXME( "Unhandled flags %#x.\n", *flags ); + + if (image_info.arrayLayers > 1) + { + state->vkdata.m_unArrayIndex = eye; + state->vkdata.m_unArraySize = image_info.arrayLayers; + *flags = *flags | Submit_VulkanTextureWithArrayData; + } + + state->subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + state->subresources.baseMipLevel = 0; + state->subresources.levelCount = image_info.mipLevels; + state->subresources.baseArrayLayer = 0; + state->subresources.layerCount = image_info.arrayLayers; + + state->dxvk_device->lpVtbl->TransitionSurfaceLayout( state->dxvk_device, state->dxvk_surface, &state->subresources, + state->image_layout, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL ); + state->dxvk_device->lpVtbl->FlushRenderingCommands( state->dxvk_device ); + state->dxvk_device->lpVtbl->LockSubmissionQueue( state->dxvk_device ); + + return &state->texture; +} + +static void free_compositor_texture_dxvk( struct submit_state *state ) +{ + if (!state->dxvk_device) return; + + state->dxvk_device->lpVtbl->ReleaseSubmissionQueue( state->dxvk_device ); + state->dxvk_device->lpVtbl->TransitionSurfaceLayout( state->dxvk_device, state->dxvk_surface, &state->subresources, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, state->image_layout ); + state->dxvk_device->lpVtbl->Release( state->dxvk_device ); + state->dxvk_surface->lpVtbl->Release( state->dxvk_surface ); +} + +struct set_skybox_override_state +{ + w_Texture_t textures[6]; + w_VRVulkanTextureData_t vkdata[6]; +}; + +static const w_Texture_t *set_skybox_override_d3d11_init( const w_Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) +{ + IDXGIVkInteropSurface *dxvk_surface; + unsigned int i; + + for (i = 0; i < count; ++i) + { + const w_Texture_t *texture = &textures[i]; + VkImageSubresourceRange subresources; + IDXGIVkInteropDevice *dxvk_device; + VkImageCreateInfo image_info; + VkImageLayout image_layout; + IUnknown *texture_iface; + + if (!texture->handle) + { + ERR( "No D3D11 texture %p.\n", texture ); + return textures; + } + if (textures[i].eType != TextureType_DirectX) + { + FIXME( "Mixing texture types is not supported.\n" ); + return textures; + } + + texture_iface = texture->handle; + + if (FAILED(texture_iface->lpVtbl->QueryInterface( texture_iface, &IID_IDXGIVkInteropSurface, + (void **)&dxvk_surface ))) + { + FIXME( "Unsupported d3d11 texture %p, i %u.\n", texture, i ); + return textures; + } + + state->textures[i] = vrclient_translate_texture_dxvk( texture, &state->vkdata[i], dxvk_surface, + &dxvk_device, &image_layout, &image_info ); + if (compositor_data.dxvk_device && dxvk_device != compositor_data.dxvk_device) + { + ERR( "Invalid dxvk_device %p, previous %p.\n", dxvk_device, compositor_data.dxvk_device ); + dxvk_surface->lpVtbl->Release( dxvk_surface ); + dxvk_device->lpVtbl->Release( dxvk_device ); + return textures; + } + + compositor_data.dxvk_device = dxvk_device; + + subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + subresources.baseMipLevel = 0; + subresources.levelCount = image_info.mipLevels; + subresources.baseArrayLayer = 0; + subresources.layerCount = image_info.arrayLayers; + + dxvk_device->lpVtbl->TransitionSurfaceLayout( dxvk_device, dxvk_surface, &subresources, image_layout, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL ); + + dxvk_surface->lpVtbl->Release( dxvk_surface ); + dxvk_device->lpVtbl->Release( dxvk_device ); + } + + compositor_data.dxvk_device->lpVtbl->FlushRenderingCommands( compositor_data.dxvk_device ); + compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue( compositor_data.dxvk_device ); + + return state->textures; +} + +static const w_Texture_t *set_skybox_override_init( const w_Texture_t *textures, uint32_t count, struct set_skybox_override_state *state ) +{ + if (!count || count > 6) + { + WARN( "Invalid texture count %u.\n", count ); + return textures; + } + + if (textures[0].eType == TextureType_DirectX) + return set_skybox_override_d3d11_init( textures, count, state ); + + FIXME( "Conversion for type %u is not supported.\n", textures[0].eType ); + return textures; +} + +static void set_skybox_override_done( const w_Texture_t *textures, uint32_t count ) +{ + if (!count || count > 6) return; + while (count--) if (!textures[count].handle || textures[count].eType != TextureType_DirectX) return; + compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue( compositor_data.dxvk_device ); +} + +static void post_present_handoff_init( void *linux_side, unsigned int version ) +{ + if (!compositor_data.dxvk_device) return; + compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue( compositor_data.dxvk_device ); +} + +static void post_present_handoff_done(void) +{ + compositor_data.handoff_called = TRUE; + if (!compositor_data.dxvk_device) return; + compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue( compositor_data.dxvk_device ); +} + +static void wait_get_poses_init( void *linux_side ) +{ + if (!compositor_data.dxvk_device) return; + compositor_data.dxvk_device->lpVtbl->LockSubmissionQueue( compositor_data.dxvk_device ); +} + +static void wait_get_poses_done( void *linux_side ) +{ + if (!compositor_data.dxvk_device) return; + compositor_data.dxvk_device->lpVtbl->ReleaseSubmissionQueue( compositor_data.dxvk_device ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_009_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_009_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 9 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_009_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_010_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 10 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_010_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_011_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_011_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 11 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_011_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_012_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_012_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 12 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_012_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_013_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_013_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 13 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_013_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_014_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_014_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 14 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_014_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_015_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_015_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 15 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_015_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_WaitGetPoses, ¶ms ); + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_016_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 16 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_016_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_017_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_WaitGetPoses, ¶ms ); + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_017_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_017_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 17 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_017_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_018_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_WaitGetPoses, ¶ms ); + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_018_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_018_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 18 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_018_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_019_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_WaitGetPoses, ¶ms ); + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_019_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_019_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 19 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_019_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_020_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_WaitGetPoses, ¶ms ); + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_020_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_020_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 20 ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_020_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_021_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff && !compositor_data.handoff_called) + { + struct IVRCompositor_IVRCompositor_021_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + /* Calling handoff after submit is optional for d3d11 but mandatory for Vulkan + * if explicit timing mode is set. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_PostPresentHandoff, ¶ms ); + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_WaitGetPoses, ¶ms ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params params = {.linux_side = _this->u_iface}; + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, ¶ms ); + } + + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_021_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_021_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 21 ); + + if (compositor_data.dxvk_device && !compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .bExplicitTimingMode = TRUE, + }; + + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode + * (which is Vulkan / d3d12 only), but doing the same with Vulkan results + * in lockups and crashes. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SetExplicitTimingMode, ¶ms ); + compositor_data.d3d11_explicit_handoff = TRUE; + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_021_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_022_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff && !compositor_data.handoff_called) + { + struct IVRCompositor_IVRCompositor_022_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + /* Calling handoff after submit is optional for d3d11 but mandatory for Vulkan + * if explicit timing mode is set. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_PostPresentHandoff, ¶ms ); + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_WaitGetPoses, ¶ms ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params params = {.linux_side = _this->u_iface}; + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, ¶ms ); + } + + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_022_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_022_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 22 ); + + if (compositor_data.dxvk_device && !compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff, + }; + + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode + * (which is Vulkan / d3d12 only), but doing the same with Vulkan results + * in lockups and crashes. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SetExplicitTimingMode, ¶ms ); + compositor_data.d3d11_explicit_handoff = TRUE; + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_022_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff && !compositor_data.handoff_called) + { + struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + /* Calling handoff after submit is optional for d3d11 but mandatory for Vulkan + * if explicit timing mode is set. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_PostPresentHandoff, ¶ms ); + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_WaitGetPoses, ¶ms ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params params = {.linux_side = _this->u_iface}; + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, ¶ms ); + } + + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_024_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 24 ); + + if (compositor_data.dxvk_device && !compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff, + }; + + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode + * (which is Vulkan / d3d12 only), but doing the same with Vulkan results + * in lockups and crashes. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SetExplicitTimingMode, ¶ms ); + compositor_data.d3d11_explicit_handoff = TRUE; + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_024_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses( struct w_steam_iface *_this, + TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, + TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount ) +{ + struct IVRCompositor_IVRCompositor_026_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE( "%p\n", _this ); + wait_get_poses_init( _this->u_iface ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff && !compositor_data.handoff_called) + { + struct IVRCompositor_IVRCompositor_026_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + /* Calling handoff after submit is optional for d3d11 but mandatory for Vulkan + * if explicit timing mode is set. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_PostPresentHandoff, ¶ms ); + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_WaitGetPoses, ¶ms ); + + if (compositor_data.dxvk_device && compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params params = {.linux_side = _this->u_iface}; + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, ¶ms ); + } + + wait_get_poses_done( _this->u_iface ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_026_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_026_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 26 ); + + if (compositor_data.dxvk_device && !compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff, + }; + + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode + * (which is Vulkan / d3d12 only), but doing the same with Vulkan results + * in lockups and crashes. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SetExplicitTimingMode, ¶ms ); + compositor_data.d3d11_explicit_handoff = TRUE; + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_026_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_Submit( struct w_steam_iface *_this, + uint32_t eEye, const w_Texture_t *pTexture, + const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags ) +{ + struct submit_state state = {0}; + struct IVRCompositor_IVRCompositor_027_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE( "_this %p, eEye %u, pTexture %p (eType %u), pBounds %p, nSubmitFlags %#x\n", _this, eEye, pTexture, pTexture->eType, pBounds, nSubmitFlags ); + + compositor_data.handoff_called = FALSE; + if (pTexture->eType == TextureType_DirectX) + params.pTexture = load_compositor_texture_dxvk( eEye, pTexture, ¶ms.nSubmitFlags, &state ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_Submit, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_compositor_texture_dxvk( &state ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff( struct w_steam_iface *_this ) +{ + struct IVRCompositor_IVRCompositor_027_PostPresentHandoff_params params = {.linux_side = _this->u_iface}; + TRACE( "%p\n", _this ); + post_present_handoff_init( _this->u_iface, 27 ); + + if (compositor_data.dxvk_device && !compositor_data.d3d11_explicit_handoff) + { + struct IVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = VRCompositorTimingMode_Explicit_ApplicationPerformsPostPresentHandoff, + }; + + /* PostPresentHandoff can be used with d3d11 without SetExplicitTimingMode + * (which is Vulkan / d3d12 only), but doing the same with Vulkan results + * in lockups and crashes. */ + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SetExplicitTimingMode, ¶ms ); + compositor_data.d3d11_explicit_handoff = TRUE; + } + + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_PostPresentHandoff, ¶ms ); + post_present_handoff_done(); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride( struct w_steam_iface *_this, + const w_Texture_t *pTextures, uint32_t unTextureCount ) +{ + struct set_skybox_override_state state = {0}; + struct IVRCompositor_IVRCompositor_027_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .pTextures = set_skybox_override_init( pTextures, unTextureCount, &state ), + .unTextureCount = unTextureCount, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SetSkyboxOverride, ¶ms ); + set_skybox_override_done( pTextures, unTextureCount ); + return params._ret; +} diff --git a/vrclient_x64/vrinput_manual.c b/vrclient_x64/vrinput_manual.c new file mode 100644 index 000000000..52c557936 --- /dev/null +++ b/vrclient_x64/vrinput_manual.c @@ -0,0 +1,186 @@ +#include "vrclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +#ifndef __x86_64__ +static uint32_t ivrinput_get_digital_action_data( uint64_t action_handle, void *action_data, uint32_t action_data_size, + uint32_t restrict_to_device, unsigned int version ) +{ + /* Digital action state change fixup hack. */ + w_InputDigitalActionData_t *data = action_data; + LARGE_INTEGER qpf; + unsigned int i; + + TRACE( "handle %s, data %p, data_size %u, restrict %s, origin %s, state %#x, changed %#x, active %#x.\n", + wine_dbgstr_longlong( action_handle ), action_data, action_data_size, + wine_dbgstr_longlong( restrict_to_device ), wine_dbgstr_longlong( data->activeOrigin ), + data->bState, data->bChanged, data->bActive ); + + if (action_data_size != sizeof(*data)) + { + WARN( "Unexpected action_data_size %u.\n", action_data_size ); + return 0; + } + + if (!data->bActive) return 0; + + if (!compositor_data.qpf_freq.QuadPart) QueryPerformanceFrequency( &compositor_data.qpf_freq ); + QueryPerformanceCounter( &qpf ); + + for (i = 0; i < compositor_data.digital_action_count; ++i) + { + if (compositor_data.digital_actions_state[i].action == action_handle && + compositor_data.digital_actions_state[i].origin == data->activeOrigin) + { + if ((data->bChanged = (!compositor_data.digital_actions_state[i].previous_state != !data->bState))) + { + TRACE( "action %s (%s) changed to %#x, data->fUpdateTime %f.\n", + wine_dbgstr_longlong( action_handle ), + wine_dbgstr_longlong( restrict_to_device ), data->bState, data->fUpdateTime ); + + compositor_data.digital_actions_state[i].update_qpf_time = qpf; + compositor_data.digital_actions_state[i].previous_state = data->bState; + } + if (compositor_data.digital_actions_state[i].update_qpf_time.QuadPart) + data->fUpdateTime = -(float)(qpf.QuadPart - compositor_data.digital_actions_state[i].update_qpf_time.QuadPart) / compositor_data.qpf_freq.QuadPart; + + return 0; + } + } + + if (i == ARRAY_SIZE(compositor_data.digital_actions_state)) + { + static unsigned int once; + if (!once++) WARN( "Too many actions.\n" ); + return 0; + } + + compositor_data.digital_actions_state[i].action = action_handle; + compositor_data.digital_actions_state[i].origin = data->activeOrigin; + compositor_data.digital_actions_state[i].previous_state = data->bState; + compositor_data.digital_actions_state[i].update_qpf_time = qpf; + ++compositor_data.digital_action_count; + + return 0; +} +#endif + +uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, + w_InputDigitalActionData_t *pActionData, + uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) +{ + struct IVRInput_IVRInput_004_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + + TRACE( "%p\n", _this ); + + VRCLIENT_CALL( IVRInput_IVRInput_004_GetDigitalActionData, ¶ms ); +#ifdef __x86_64__ + return params._ret; +#else + if (params._ret) return params._ret; + return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 4 ); +#endif +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, + w_InputDigitalActionData_t *pActionData, + uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) +{ + struct IVRInput_IVRInput_005_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + + TRACE( "%p\n", _this ); + + VRCLIENT_CALL( IVRInput_IVRInput_005_GetDigitalActionData, ¶ms ); +#ifdef __x86_64__ + return params._ret; +#else + if (params._ret) return params._ret; + return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 5 ); +#endif +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, + w_InputDigitalActionData_t *pActionData, + uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) +{ + struct IVRInput_IVRInput_006_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + + TRACE( "%p\n", _this ); + + VRCLIENT_CALL( IVRInput_IVRInput_006_GetDigitalActionData, ¶ms ); +#ifdef __x86_64__ + return params._ret; +#else + if (params._ret) return params._ret; + return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 6 ); +#endif +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, + w_InputDigitalActionData_t *pActionData, + uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) +{ + struct IVRInput_IVRInput_007_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + + TRACE( "%p\n", _this ); + + VRCLIENT_CALL( IVRInput_IVRInput_007_GetDigitalActionData, ¶ms ); +#ifdef __x86_64__ + return params._ret; +#else + if (params._ret) return params._ret; + return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 7 ); +#endif +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action, + w_InputDigitalActionData_t *pActionData, + uint32_t unActionDataSize, uint32_t ulRestrictToDevice ) +{ + struct IVRInput_IVRInput_010_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + + TRACE( "%p\n", _this ); + + VRCLIENT_CALL( IVRInput_IVRInput_010_GetDigitalActionData, ¶ms ); +#ifdef __x86_64__ + return params._ret; +#else + if (params._ret) return params._ret; + return ivrinput_get_digital_action_data( action, pActionData, unActionDataSize, ulRestrictToDevice, 10 ); +#endif +} diff --git a/vrclient_x64/vroverlay_manual.c b/vrclient_x64/vroverlay_manual.c new file mode 100644 index 000000000..0e22211a2 --- /dev/null +++ b/vrclient_x64/vroverlay_manual.c @@ -0,0 +1,472 @@ +#include +#include + +#include "windef.h" +#include "winbase.h" + +#define COBJMACROS +#include "d3d11_4.h" +#include "dxvk-interop.h" +#include "vrclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +struct set_overlay_texture_state +{ + w_Texture_t texture; + w_VRVulkanTextureData_t vkdata; + + VkImageLayout image_layout; + VkImageSubresourceRange subresources; + IDXGIVkInteropSurface *dxvk_surface; + IDXGIVkInteropDevice *dxvk_device; +}; + +static void load_overlay_texture_dxvk( const w_Texture_t *texture, struct set_overlay_texture_state *state ) +{ + VkImageCreateInfo image_info; + IUnknown *texture_iface; + + TRACE( "texture = %p\n", texture ); + + if (!(texture_iface = texture->handle)) + { + WARN( "No D3D11 texture %p.\n", texture ); + return; + } + + if (FAILED(texture_iface->lpVtbl->QueryInterface( texture_iface, &IID_IDXGIVkInteropSurface, + (void **)&state->dxvk_surface ))) + { + WARN( "Invalid D3D11 texture %p.\n", texture ); + return; + } + + state->texture = vrclient_translate_texture_dxvk( texture, &state->vkdata, state->dxvk_surface, &state->dxvk_device, + &state->image_layout, &image_info ); + state->subresources.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + state->subresources.baseMipLevel = 0; + state->subresources.levelCount = image_info.mipLevels; + state->subresources.baseArrayLayer = 0; + state->subresources.layerCount = image_info.arrayLayers; + + state->dxvk_device->lpVtbl->TransitionSurfaceLayout( state->dxvk_device, state->dxvk_surface, &state->subresources, + state->image_layout, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL ); + state->dxvk_device->lpVtbl->FlushRenderingCommands( state->dxvk_device ); + state->dxvk_device->lpVtbl->LockSubmissionQueue( state->dxvk_device ); +} + +static void free_unix_overlay_texture_dxvk( struct set_overlay_texture_state *state ) +{ + if (!state->dxvk_device) return; + + state->dxvk_device->lpVtbl->ReleaseSubmissionQueue( state->dxvk_device ); + state->dxvk_device->lpVtbl->TransitionSurfaceLayout( state->dxvk_device, state->dxvk_surface, &state->subresources, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, state->image_layout ); + state->dxvk_device->lpVtbl->Release( state->dxvk_device ); + state->dxvk_surface->lpVtbl->Release( state->dxvk_surface ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture( struct w_steam_iface *_this, + uint64_t ulOverlayHandle, void *pTexture ) +{ + /* probably no one actually uses this old interface... */ + FIXME( "unimplemented!\n" ); + return VROverlayError_InvalidHandle; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + uint32_t eTextureType, void *pTexture ) +{ + /* hopefully no one actually uses this old interface... Vulkan support + * wasn't added until later; how can we pass in a DirectX texture? */ + FIXME( "unimplemented!\n" ); + return VROverlayError_InvalidHandle; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + uint32_t eTextureType, void *pTexture ) +{ + /* hopefully no one actually uses this old interface... Vulkan support + * wasn't added until later; how can we pass in a DirectX texture? */ + FIXME( "unimplemented!\n" ); + return VROverlayError_InvalidHandle; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + uint32_t eTextureType, void *pTexture ) +{ + /* hopefully no one actually uses this old interface... Vulkan support + * wasn't added until later; how can we pass in a DirectX texture? */ + FIXME( "unimplemented!\n" ); + return VROverlayError_InvalidHandle; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + uint32_t eTextureType, void *pTexture ) +{ + /* hopefully no one actually uses this old interface... Vulkan support + * wasn't added until later; how can we pass in a DirectX texture? */ + FIXME( "unimplemented!\n" ); + return VROverlayError_InvalidHandle; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_007_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_008_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_010_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_011_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_012_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_013_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_014_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_016_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_017_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_018_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_019_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_020_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_021_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_022_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_024_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_025_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_026_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture( struct w_steam_iface *_this, uint64_t ulOverlayHandle, + const w_Texture_t *pTexture ) +{ + struct set_overlay_texture_state state = {.texture = *pTexture}; + struct IVROverlay_IVROverlay_027_SetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pTexture = &state.texture, + }; + + TRACE( "%p\n", _this ); + + if (pTexture->eType == TextureType_DirectX) load_overlay_texture_dxvk( pTexture, &state ); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTexture, ¶ms ); + if (pTexture->eType == TextureType_DirectX) free_unix_overlay_texture_dxvk( &state ); + + return params._ret; +} diff --git a/vrclient_x64/vrrendermodels_manual.c b/vrclient_x64/vrrendermodels_manual.c new file mode 100644 index 000000000..07db31252 --- /dev/null +++ b/vrclient_x64/vrrendermodels_manual.c @@ -0,0 +1,532 @@ +#include +#include + +#include "windef.h" +#include "winbase.h" + +#define COBJMACROS +#include "d3d11_4.h" +#include "dxvk-interop.h" +#include "vrclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +static uint32_t load_into_texture_d3d11( ID3D11Texture2D *texture, const w_RenderModel_TextureMap_t_1237 *data ) +{ + D3D11_TEXTURE2D_DESC texture_desc; + ID3D11DeviceContext *context; + ID3D11Device *device; + + texture->lpVtbl->GetDesc( texture, &texture_desc ); + + TRACE( "Format %#x, width %u, height %u.\n", texture_desc.Format, texture_desc.Width, texture_desc.Height ); + TRACE( "Array size %u, miplevels %u.\n", texture_desc.ArraySize, texture_desc.MipLevels ); + + if (texture_desc.Format != DXGI_FORMAT_R8G8B8A8_UNORM_SRGB) + { + FIXME( "Unexpected format %#x.\n", texture_desc.Format ); + return VRRenderModelError_NotSupported; + } + if (texture_desc.Width != data->unWidth) + { + FIXME( "Unexpected width %u.\n", texture_desc.Width ); + return VRRenderModelError_NotSupported; + } + if (texture_desc.Height != data->unHeight) + { + FIXME( "Unexpected height %u.\n", texture_desc.Height ); + return VRRenderModelError_NotSupported; + } + + if (data->format) FIXME( "Unsupported texture map format %d.\n", data->format ); + if (data->unMipLevels) FIXME( "Unsupported unMipLevels %u.\n", data->unMipLevels ); + + texture->lpVtbl->GetDevice( texture, &device ); + device->lpVtbl->GetImmediateContext( device, &context ); + device->lpVtbl->Release( device ); + + context->lpVtbl->UpdateSubresource( context, (ID3D11Resource *)texture, 0, NULL, + data->rubTextureMapData, data->unWidth * 4 * sizeof(uint8_t), 0 ); + + context->lpVtbl->Release( context ); + return VRRenderModelError_None; +} + +static uint32_t ivrrendermodels_load_texture_d3d11_async( void *device, w_RenderModel_TextureMap_t_1237 *texture_map, + void **dst_texture ) +{ + uint32_t error; + D3D11_TEXTURE2D_DESC desc; + ID3D11Device *d3d11_device = device; + ID3D11Texture2D *texture; + HRESULT hr; + + desc.Width = texture_map->unWidth; + desc.Height = texture_map->unHeight; + desc.MipLevels = 1; + desc.ArraySize = 1; + desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM_SRGB; + desc.SampleDesc.Count = 1; + desc.SampleDesc.Quality = 0; + desc.Usage = D3D11_USAGE_DEFAULT; + desc.BindFlags = D3D11_BIND_SHADER_RESOURCE; + desc.CPUAccessFlags = 0; + desc.MiscFlags = 0; + + hr = d3d11_device->lpVtbl->CreateTexture2D( d3d11_device, &desc, NULL, &texture ); + if (FAILED(hr)) + { + WARN( "Failed to create D3D11 texture %#x\n", hr ); + return VRRenderModelError_InvalidTexture; + } + + error = load_into_texture_d3d11( texture, texture_map ); + if (error == VRRenderModelError_None) + { + *dst_texture = texture; + } + else + { + texture->lpVtbl->Release( texture ); + *dst_texture = NULL; + } + + return error; +} + +static uint32_t ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture, w_RenderModel_TextureMap_t_1237 *texture_map ) +{ + IUnknown *unk = dst_texture; + uint32_t error; + ID3D11Texture2D *texture; + + if (SUCCEEDED(unk->lpVtbl->QueryInterface( unk, &IID_ID3D11Texture2D, (void **)&texture ))) + { + error = load_into_texture_d3d11( texture, texture_map ); + texture->lpVtbl->Release( texture ); + } + else + { + FIXME( "Expected 2D texture.\n" ); + error = VRRenderModelError_NotSupported; + } + + return error; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_090 **ppTexture ); +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture ); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, + void *pD3D11Device, void **ppD3D11Texture2D ) +{ + w_RenderModel_TextureMap_t_1237 texture_map = {0}; + w_RenderModel_TextureMap_t_090 *texture_map_090; + uint32_t _ret; + + TRACE( "%p\n", _this ); + + _ret = winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( _this, textureId, &texture_map_090 ); + if (_ret == VRRenderModelError_Loading) + { + TRACE( "Loading.\n" ); + return _ret; + } + if (_ret != VRRenderModelError_None) + { + WARN( "Failed to load texture %#x.\n", _ret ); + return _ret; + } + + texture_map.unWidth = texture_map_090->unWidth; + texture_map.unHeight = texture_map_090->unHeight; + texture_map.rubTextureMapData = texture_map_090->rubTextureMapData; + _ret = ivrrendermodels_load_texture_d3d11_async( pD3D11Device, &texture_map, ppD3D11Texture2D ); + winIVRRenderModels_IVRRenderModels_004_FreeTexture( _this, texture_map_090 ); + + return _ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_090 **ppTexture ); +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture ); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, + void *pD3D11Device, void **ppD3D11Texture2D ) +{ + w_RenderModel_TextureMap_t_1237 texture_map = {0}; + w_RenderModel_TextureMap_t_090 *texture_map_090; + uint32_t _ret; + + TRACE( "%p\n", _this ); + + _ret = winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( _this, textureId, &texture_map_090 ); + if (_ret == VRRenderModelError_Loading) + { + TRACE( "Loading.\n" ); + return _ret; + } + if (_ret != VRRenderModelError_None) + { + WARN( "Failed to load texture %#x.\n", _ret ); + return _ret; + } + + texture_map.unWidth = texture_map_090->unWidth; + texture_map.unHeight = texture_map_090->unHeight; + texture_map.rubTextureMapData = texture_map_090->rubTextureMapData; + _ret = ivrrendermodels_load_texture_d3d11_async( pD3D11Device, &texture_map, ppD3D11Texture2D ); + winIVRRenderModels_IVRRenderModels_005_FreeTexture( _this, texture_map_090 ); + + return _ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_1237 **ppTexture ); +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_1237 *pTexture ); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async( struct w_steam_iface *_this, int32_t textureId, + void *pD3D11Device, void **ppD3D11Texture2D ) +{ + w_RenderModel_TextureMap_t_1237 *texture_map; + uint32_t _ret; + + TRACE( "%p\n", _this ); + + _ret = winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( _this, textureId, &texture_map ); + if (_ret == VRRenderModelError_Loading) + { + TRACE( "Loading.\n" ); + return _ret; + } + if (_ret != VRRenderModelError_None) + { + WARN( "Failed to load texture %#x.\n", _ret ); + return _ret; + } + + _ret = ivrrendermodels_load_texture_d3d11_async( pD3D11Device, texture_map, ppD3D11Texture2D ); + winIVRRenderModels_IVRRenderModels_006_FreeTexture( _this, texture_map ); + + return _ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11( struct w_steam_iface *_this, void *pD3D11Texture2D ) +{ + ID3D11Texture2D *d3d11_texture = pD3D11Texture2D; + TRACE( "%p\n", _this ); + d3d11_texture->lpVtbl->Release( d3d11_texture ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async( struct w_steam_iface *_this, + int32_t textureId, void *pDstTexture ) +{ + w_RenderModel_TextureMap_t_1237 texture_map = {0}; + w_RenderModel_TextureMap_t_090 *texture_map_090; + uint32_t _ret; + + TRACE( "%p\n", _this ); + + if (!pDstTexture) return VRRenderModelError_InvalidArg; + + TRACE( "%p\n", _this ); + + _ret = winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( _this, textureId, &texture_map_090 ); + if (_ret == VRRenderModelError_Loading) + { + TRACE( "Loading.\n" ); + return _ret; + } + if (_ret != VRRenderModelError_None) + { + WARN( "Failed to load texture %#x.\n", _ret ); + return _ret; + } + + texture_map.unWidth = texture_map_090->unWidth; + texture_map.unHeight = texture_map_090->unHeight; + texture_map.rubTextureMapData = texture_map_090->rubTextureMapData; + _ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture, &texture_map ); + winIVRRenderModels_IVRRenderModels_005_FreeTexture( _this, texture_map_090 ); + + return _ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11( struct w_steam_iface *_this, void *pD3D11Texture2D ) +{ + ID3D11Texture2D *d3d11_texture = pD3D11Texture2D; + TRACE( "%p\n", _this ); + d3d11_texture->lpVtbl->Release( d3d11_texture ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async( struct w_steam_iface *_this, + int32_t textureId, void *pDstTexture ) +{ + w_RenderModel_TextureMap_t_1237 *texture_map = NULL; + uint32_t _ret; + + TRACE( "%p\n", _this ); + + if (!pDstTexture) return VRRenderModelError_InvalidArg; + + _ret = winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( _this, textureId, &texture_map ); + if (_ret == VRRenderModelError_Loading) + { + TRACE( "Loading.\n" ); + return _ret; + } + if (_ret != VRRenderModelError_None) + { + WARN( "Failed to load texture %#x.\n", _ret ); + return _ret; + } + + _ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture, texture_map ); + winIVRRenderModels_IVRRenderModels_006_FreeTexture( _this, texture_map ); + + return _ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11( struct w_steam_iface *_this, void *pD3D11Texture2D ) +{ + ID3D11Texture2D *d3d11_texture = pD3D11Texture2D; + TRACE( "%p\n", _this ); + d3d11_texture->lpVtbl->Release( d3d11_texture ); +} + +/* LoadRenderModel(_Async) / FreeRenderModel */ + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel( struct w_steam_iface *_this, const char *pchRenderModelName, + w_RenderModel_t_0912 **ppRenderModel ) +{ + struct render_model *model; + struct IVRRenderModels_IVRRenderModels_002_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; + TRACE( "%p\n", _this ); + if (ppRenderModel && (model = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*model) ))) *ppRenderModel = &model->w_0912; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_LoadRenderModel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel( struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel ) +{ + struct render_model *model = CONTAINING_RECORD( pRenderModel, struct render_model, w_0912 ); + struct IVRRenderModels_IVRRenderModels_002_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_FreeRenderModel, ¶ms ); + HeapFree( GetProcessHeap(), 0, model ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async( struct w_steam_iface *_this, const char *pchRenderModelName, + w_RenderModel_t_0912 **ppRenderModel ) +{ + struct render_model *model; + struct IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; + TRACE( "%p\n", _this ); + if (ppRenderModel && (model = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*model) ))) *ppRenderModel = &model->w_0912; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel( struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel ) +{ + struct render_model *model = CONTAINING_RECORD( pRenderModel, struct render_model, w_0912 ); + struct IVRRenderModels_IVRRenderModels_004_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_FreeRenderModel, ¶ms ); + HeapFree( GetProcessHeap(), 0, model ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async( struct w_steam_iface *_this, const char *pchRenderModelName, + w_RenderModel_t_0912 **ppRenderModel ) +{ + struct render_model *model; + struct IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; + TRACE( "%p\n", _this ); + if (ppRenderModel && (model = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*model) ))) *ppRenderModel = &model->w_0912; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel( struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel ) +{ + struct render_model *model = CONTAINING_RECORD( pRenderModel, struct render_model, w_0912 ); + struct IVRRenderModels_IVRRenderModels_005_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_FreeRenderModel, ¶ms ); + HeapFree( GetProcessHeap(), 0, model ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async( struct w_steam_iface *_this, const char *pchRenderModelName, + w_RenderModel_t_0912 **ppRenderModel ) +{ + struct render_model *model; + struct IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .ppRenderModel = ppRenderModel, + }; + TRACE( "%p\n", _this ); + if (ppRenderModel && (model = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*model) ))) *ppRenderModel = &model->w_0912; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel( struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel ) +{ + struct render_model *model = CONTAINING_RECORD( pRenderModel, struct render_model, w_0912 ); + struct IVRRenderModels_IVRRenderModels_006_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_FreeRenderModel, ¶ms ); + HeapFree( GetProcessHeap(), 0, model ); +} + +/* LoadTexture(_Async) / FreeTexture */ + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_090 **ppTexture ) +{ + struct render_model_texture_map *map; + struct IVRRenderModels_IVRRenderModels_002_LoadTexture_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; + TRACE( "%p\n", _this ); + if (ppTexture && (map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*map) ))) *ppTexture = &map->w_090; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_LoadTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture ) +{ + struct render_model_texture_map *map = CONTAINING_RECORD( pTexture, struct render_model_texture_map, w_090 ); + struct IVRRenderModels_IVRRenderModels_002_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_FreeTexture, ¶ms ); + HeapFree( GetProcessHeap(), 0, map ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_090 **ppTexture ) +{ + struct render_model_texture_map *map; + struct IVRRenderModels_IVRRenderModels_004_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; + TRACE( "%p\n", _this ); + if (ppTexture && (map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*map) ))) *ppTexture = &map->w_090; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_LoadTexture_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture ) +{ + struct render_model_texture_map *map = CONTAINING_RECORD( pTexture, struct render_model_texture_map, w_090 ); + struct IVRRenderModels_IVRRenderModels_004_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_FreeTexture, ¶ms ); + HeapFree( GetProcessHeap(), 0, map ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_090 **ppTexture ) +{ + struct render_model_texture_map *map; + struct IVRRenderModels_IVRRenderModels_005_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; + TRACE( "%p\n", _this ); + if (ppTexture && (map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*map) ))) *ppTexture = &map->w_090; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_LoadTexture_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture ) +{ + struct render_model_texture_map *map = CONTAINING_RECORD( pTexture, struct render_model_texture_map, w_090 ); + struct IVRRenderModels_IVRRenderModels_005_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_FreeTexture, ¶ms ); + HeapFree( GetProcessHeap(), 0, map ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async( struct w_steam_iface *_this, int32_t textureId, + w_RenderModel_TextureMap_t_1237 **ppTexture ) +{ + struct render_model_texture_map *map; + struct IVRRenderModels_IVRRenderModels_006_LoadTexture_Async_params params = + { + .linux_side = _this->u_iface, + .textureId = textureId, + .ppTexture = ppTexture, + }; + TRACE( "%p\n", _this ); + if (ppTexture && (map = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*map) ))) *ppTexture = &map->w_1237; + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_LoadTexture_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture( struct w_steam_iface *_this, w_RenderModel_TextureMap_t_1237 *pTexture ) +{ + struct render_model_texture_map *map = CONTAINING_RECORD( pTexture, struct render_model_texture_map, w_1237 ); + struct IVRRenderModels_IVRRenderModels_006_FreeTexture_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + }; + TRACE( "%p\n", _this ); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_FreeTexture, ¶ms ); + HeapFree( GetProcessHeap(), 0, map ); +} diff --git a/vrclient_x64/vrsystem_manual.c b/vrclient_x64/vrsystem_manual.c new file mode 100644 index 000000000..6ae2ae1ac --- /dev/null +++ b/vrclient_x64/vrsystem_manual.c @@ -0,0 +1,107 @@ +#include "vrclient_private.h" + +WINE_DEFAULT_DEBUG_CHANNEL(vrclient); + +void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex, + int32_t *pnAdapterOutputIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; + *pnAdapterOutputIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex, + int32_t *pnAdapterOutputIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; + *pnAdapterOutputIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex, + int32_t *pnAdapterOutputIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; + *pnAdapterOutputIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex, + int32_t *pnAdapterOutputIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; + *pnAdapterOutputIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} + +void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo( struct w_steam_iface *_this, int32_t *pnAdapterIndex ) +{ + FIXME( "%p\n", _this ); + *pnAdapterIndex = 0; +} diff --git a/vrclient_x64/winIVRApplications.c b/vrclient_x64/winIVRApplications.c new file mode 100644 index 000000000..0a1863f27 --- /dev/null +++ b/vrclient_x64/winIVRApplications.c @@ -0,0 +1,3033 @@ +/* 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(winIVRApplications_IVRApplications_001_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetHomeApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetHomeApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 8) + +uint32_t __thiscall winIVRApplications_IVRApplications_001_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_001_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_001_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_001_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_001_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_001_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_001_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_001_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetHomeApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_001_GetHomeApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetHomeApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_SetHomeApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_SetHomeApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_SetHomeApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_001_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_001_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_001_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_001_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_001, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_001_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_001, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetHomeApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetHomeApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_001_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_001_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_001_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_001_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_001_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_001_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_001_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_001_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_001_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_001_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_001_GetHomeApplication, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_001_SetHomeApplication, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_001_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_001_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_001_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_001_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_001_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_001_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + for (i = 0; i < 21; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_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(winIVRApplications_IVRApplications_002_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 4) + +uint32_t __thiscall winIVRApplications_IVRApplications_002_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_002_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_002_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_002_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_002_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_002_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_002_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_002_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_002_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_002_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_002_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_002_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_002_IsQuitUserPromptRequested, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_002_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_002, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_002_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_002, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_002_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_002_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_002_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_002_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_002_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_002_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_002_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_002_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_002_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_002_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_002_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_002_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_002_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_002_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_002_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_002_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_002_IsQuitUserPromptRequested, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 4) + +uint32_t __thiscall winIVRApplications_IVRApplications_003_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_003_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_003_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_003_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_003_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_003_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_003_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationPropertyUint64, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_003_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_003_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_003_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_003_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_003_IsQuitUserPromptRequested, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_003_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_003, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_003_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_003, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_003_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_003_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_003_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_003_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_003_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_003_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_003_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_003_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_003_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_003_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_003_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_003_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_003_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_003_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_003_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_003_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_003_IsQuitUserPromptRequested, 0, FALSE, FALSE); + for (i = 0; i < 21; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_003_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(winIVRApplications_IVRApplications_004_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_004_LaunchInternalProcess, 16) + +uint32_t __thiscall winIVRApplications_IVRApplications_004_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_004_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_004_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_004_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_004_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_004_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_004_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_CancelApplicationLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_004_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationPropertyUint64, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_004_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_004_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_004_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_004_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_IsQuitUserPromptRequested, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_004_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +{ + struct IVRApplications_IVRApplications_004_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_004_LaunchInternalProcess, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_004_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_004, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_004_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_004, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_004_LaunchInternalProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_004_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_004_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_004_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_004_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_004_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_004_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_004_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_004_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_004_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_004_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_004_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_004_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_004_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_004_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_004_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_004_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_004_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_004_IsQuitUserPromptRequested, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_004_LaunchInternalProcess, 3, FALSE, FALSE); + for (i = 0; i < 23; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_004_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(winIVRApplications_IVRApplications_005_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 20) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_005_LaunchInternalProcess, 16) + +uint32_t __thiscall winIVRApplications_IVRApplications_005_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_005_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_005_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_005_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_005_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_005_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) +{ + struct IVRApplications_IVRApplications_005_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_LaunchTemplateApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_005_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_CancelApplicationLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_005_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationPropertyUint64, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_005_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_005_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_005_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_005_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_IsQuitUserPromptRequested, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_005_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +{ + struct IVRApplications_IVRApplications_005_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_005_LaunchInternalProcess, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_005_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_005, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_005_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_005, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchTemplateApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_005_LaunchInternalProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_005_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_005_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_005_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_005_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_005_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_005_LaunchTemplateApplication, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_005_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_005_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_005_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_005_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_005_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_005_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_005_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_005_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_005_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_005_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_005_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_005_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_005_IsQuitUserPromptRequested, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_005_LaunchInternalProcess, 3, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_005_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(winIVRApplications_IVRApplications_006_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchTemplateApplication, 20) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_CancelApplicationLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetTransitionState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_LaunchInternalProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 4) + +uint32_t __thiscall winIVRApplications_IVRApplications_006_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_006_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_006_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_006_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_006_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) +{ + struct IVRApplications_IVRApplications_006_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_LaunchTemplateApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) +{ + struct IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchArgs = pchArgs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_CancelApplicationLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_006_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationPropertyUint64, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_006_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) +{ + struct IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeType = pchMimeType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +{ + struct IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeTypesBuffer = pchMimeTypesBuffer, + .unMimeTypesBuffer = unMimeTypesBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeysThatSupportBuffer = pchAppKeysThatSupportBuffer, + .unAppKeysThatSupportBuffer = unAppKeysThatSupportBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +{ + struct IVRApplications_IVRApplications_006_GetApplicationLaunchArguments_params params = + { + .linux_side = _this->u_iface, + .unHandle = unHandle, + .pchArgs = pchArgs, + .unArgs = unArgs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationLaunchArguments, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_006_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetTransitionState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_006_GetTransitionState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetTransitionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_006_IsQuitUserPromptRequested_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_IsQuitUserPromptRequested, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +{ + struct IVRApplications_IVRApplications_006_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_LaunchInternalProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_006_GetCurrentSceneProcessId_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_006_GetCurrentSceneProcessId, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_006_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_006, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_006_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_006, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchTemplateApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetTransitionState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_LaunchInternalProcess) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_006_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_006_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_006_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_006_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_006_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_006_LaunchTemplateApplication, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_006_LaunchApplicationFromMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_006_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_006_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_006_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_006_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_006_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_006_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_006_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_006_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_006_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_006_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_006_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_006_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_006_GetApplicationLaunchArguments, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_006_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_006_GetTransitionState, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_006_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_006_GetApplicationsTransitionStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_006_IsQuitUserPromptRequested, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_006_LaunchInternalProcess, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRApplications_IVRApplications_006_GetCurrentSceneProcessId, 0, FALSE, FALSE); + for (i = 0; i < 31; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_006_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(winIVRApplications_IVRApplications_007_AddApplicationManifest, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IsApplicationInstalled, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplication, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 20) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_IdentifyApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationProcessId, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 24) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetStartingApplication, 12) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationState, 4) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_LaunchInternalProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 4) + +uint32_t __thiscall winIVRApplications_IVRApplications_007_AddApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath, int8_t bTemporary) +{ + struct IVRApplications_IVRApplications_007_AddApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + .bTemporary = bTemporary, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_AddApplicationManifest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_RemoveApplicationManifest(struct w_steam_iface *_this, const char *pchApplicationManifestFullPath) +{ + struct IVRApplications_IVRApplications_007_RemoveApplicationManifest_params params = + { + .linux_side = _this->u_iface, + .pchApplicationManifestFullPath = pchApplicationManifestFullPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_RemoveApplicationManifest, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_IsApplicationInstalled(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_IsApplicationInstalled_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_IsApplicationInstalled, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationCount(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_007_GetApplicationCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex(struct w_steam_iface *_this, uint32_t unApplicationIndex, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_007_GetApplicationKeyByIndex_params params = + { + .linux_side = _this->u_iface, + .unApplicationIndex = unApplicationIndex, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationKeyByIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId(struct w_steam_iface *_this, uint32_t unProcessId, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchApplication(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_LaunchApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_LaunchApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchTemplateApplication(struct w_steam_iface *_this, const char *pchTemplateAppKey, const char *pchNewAppKey, const w_AppOverrideKeys_t *pKeys, uint32_t unKeys) +{ + struct IVRApplications_IVRApplications_007_LaunchTemplateApplication_params params = + { + .linux_side = _this->u_iface, + .pchTemplateAppKey = pchTemplateAppKey, + .pchNewAppKey = pchNewAppKey, + .pKeys = pKeys, + .unKeys = unKeys, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_LaunchTemplateApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType(struct w_steam_iface *_this, const char *pchMimeType, const char *pchArgs) +{ + struct IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchArgs = pchArgs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchDashboardOverlay(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_LaunchDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_LaunchDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_CancelApplicationLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_CancelApplicationLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_CancelApplicationLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_IdentifyApplication(struct w_steam_iface *_this, uint32_t unProcessId, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_IdentifyApplication_params params = + { + .linux_side = _this->u_iface, + .unProcessId = unProcessId, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_IdentifyApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationProcessId(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_GetApplicationProcessId_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationProcessId, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyString(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, char *pchPropertyValueBuffer, uint32_t unPropertyValueBufferLen, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyString_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .pchPropertyValueBuffer = pchPropertyValueBuffer, + .unPropertyValueBufferLen = unPropertyValueBufferLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationPropertyString, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyBool(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyBool_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationPropertyBool, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64(struct w_steam_iface *_this, const char *pchAppKey, uint32_t eProperty, uint32_t *peError) +{ + struct IVRApplications_IVRApplications_007_GetApplicationPropertyUint64_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .eProperty = eProperty, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationPropertyUint64, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey, int8_t bAutoLaunch) +{ + struct IVRApplications_IVRApplications_007_SetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .bAutoLaunch = bAutoLaunch, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_SetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_GetApplicationAutoLaunch_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationAutoLaunch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchAppKey, const char *pchMimeType) +{ + struct IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeType = pchMimeType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes(struct w_steam_iface *_this, const char *pchAppKey, char *pchMimeTypesBuffer, uint32_t unMimeTypesBuffer) +{ + struct IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .pchMimeTypesBuffer = pchMimeTypesBuffer, + .unMimeTypesBuffer = unMimeTypesBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType(struct w_steam_iface *_this, const char *pchMimeType, char *pchAppKeysThatSupportBuffer, uint32_t unAppKeysThatSupportBuffer) +{ + struct IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType_params params = + { + .linux_side = _this->u_iface, + .pchMimeType = pchMimeType, + .pchAppKeysThatSupportBuffer = pchAppKeysThatSupportBuffer, + .unAppKeysThatSupportBuffer = unAppKeysThatSupportBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments(struct w_steam_iface *_this, uint32_t unHandle, char *pchArgs, uint32_t unArgs) +{ + struct IVRApplications_IVRApplications_007_GetApplicationLaunchArguments_params params = + { + .linux_side = _this->u_iface, + .unHandle = unHandle, + .pchArgs = pchArgs, + .unArgs = unArgs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetApplicationLaunchArguments, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetStartingApplication(struct w_steam_iface *_this, char *pchAppKeyBuffer, uint32_t unAppKeyBufferLen) +{ + struct IVRApplications_IVRApplications_007_GetStartingApplication_params params = + { + .linux_side = _this->u_iface, + .pchAppKeyBuffer = pchAppKeyBuffer, + .unAppKeyBufferLen = unAppKeyBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetStartingApplication, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationState(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_007_GetSceneApplicationState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetSceneApplicationState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck(struct w_steam_iface *_this, const char *pchAppKey) +{ + struct IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum(struct w_steam_iface *_this, uint32_t state) +{ + struct IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .state = state, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_LaunchInternalProcess(struct w_steam_iface *_this, const char *pchBinaryPath, const char *pchArguments, const char *pchWorkingDirectory) +{ + struct IVRApplications_IVRApplications_007_LaunchInternalProcess_params params = + { + .linux_side = _this->u_iface, + .pchBinaryPath = pchBinaryPath, + .pchArguments = pchArguments, + .pchWorkingDirectory = pchWorkingDirectory, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_LaunchInternalProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId(struct w_steam_iface *_this) +{ + struct IVRApplications_IVRApplications_007_GetCurrentSceneProcessId_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRApplications_IVRApplications_007_GetCurrentSceneProcessId, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRApplications_IVRApplications_007_vtable; + +DEFINE_RTTI_DATA0(winIVRApplications_IVRApplications_007, 0, ".?AVIVRApplications@@") + +__ASM_BLOCK_BEGIN(winIVRApplications_IVRApplications_007_vtables) + __ASM_VTABLE(winIVRApplications_IVRApplications_007, + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_AddApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_RemoveApplicationManifest) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IsApplicationInstalled) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationCount) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchTemplateApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchDashboardOverlay) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_CancelApplicationLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_IdentifyApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationProcessId) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyString) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyBool) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetStartingApplication) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationState) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_LaunchInternalProcess) + VTABLE_ADD_FUNC(winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRApplications_IVRApplications_007(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRApplications_IVRApplications_007_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRApplications_IVRApplications_007(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRApplications_IVRApplications_007_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(30); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 30 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRApplications_IVRApplications_007_AddApplicationManifest, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRApplications_IVRApplications_007_RemoveApplicationManifest, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRApplications_IVRApplications_007_IsApplicationInstalled, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRApplications_IVRApplications_007_GetApplicationCount, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRApplications_IVRApplications_007_GetApplicationKeyByProcessId, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRApplications_IVRApplications_007_LaunchApplication, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRApplications_IVRApplications_007_LaunchTemplateApplication, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRApplications_IVRApplications_007_LaunchApplicationFromMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRApplications_IVRApplications_007_LaunchDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRApplications_IVRApplications_007_CancelApplicationLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRApplications_IVRApplications_007_IdentifyApplication, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRApplications_IVRApplications_007_GetApplicationProcessId, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRApplications_IVRApplications_007_GetApplicationsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyString, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyBool, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRApplications_IVRApplications_007_GetApplicationPropertyUint64, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRApplications_IVRApplications_007_SetApplicationAutoLaunch, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRApplications_IVRApplications_007_GetApplicationAutoLaunch, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRApplications_IVRApplications_007_SetDefaultApplicationForMimeType, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRApplications_IVRApplications_007_GetDefaultApplicationForMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRApplications_IVRApplications_007_GetApplicationSupportedMimeTypes, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRApplications_IVRApplications_007_GetApplicationsThatSupportMimeType, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRApplications_IVRApplications_007_GetApplicationLaunchArguments, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRApplications_IVRApplications_007_GetStartingApplication, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRApplications_IVRApplications_007_GetSceneApplicationState, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRApplications_IVRApplications_007_PerformApplicationPrelaunchCheck, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRApplications_IVRApplications_007_GetSceneApplicationStateNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRApplications_IVRApplications_007_LaunchInternalProcess, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRApplications_IVRApplications_007_GetCurrentSceneProcessId, 0, FALSE, FALSE); + for (i = 0; i < 30; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRApplications_IVRApplications_007_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_winIVRApplications_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRApplications_IVRApplications_001_rtti( base ); + init_winIVRApplications_IVRApplications_002_rtti( base ); + init_winIVRApplications_IVRApplications_003_rtti( base ); + init_winIVRApplications_IVRApplications_004_rtti( base ); + init_winIVRApplications_IVRApplications_005_rtti( base ); + init_winIVRApplications_IVRApplications_006_rtti( base ); + init_winIVRApplications_IVRApplications_007_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRChaperone.c b/vrclient_x64/winIVRChaperone.c new file mode 100644 index 000000000..adf65e21e --- /dev/null +++ b/vrclient_x64/winIVRChaperone.c @@ -0,0 +1,540 @@ +/* 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(winIVRChaperone_IVRChaperone_002_GetCalibrationState, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ReloadInfo, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_SetSceneColor, 20) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_GetBoundsColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 8) + +uint32_t __thiscall winIVRChaperone_IVRChaperone_002_GetCalibrationState(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_002_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetCalibrationState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo(struct w_steam_iface *_this, ChaperoneSoftBoundsInfo_t *pInfo) +{ + struct IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pInfo = pInfo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperone_IVRChaperone_002_GetHardBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetHardBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo(struct w_steam_iface *_this, ChaperoneSeatedBoundsInfo_t *pInfo) +{ + struct IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pInfo = pInfo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_002_ReloadInfo(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_002_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_ReloadInfo, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_002_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) +{ + struct IVRChaperone_IVRChaperone_002_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_SetSceneColor, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_002_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors) +{ + struct IVRChaperone_IVRChaperone_002_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_GetBoundsColor, ¶ms ); +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_002_AreBoundsVisible(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_002_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_AreBoundsVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_002_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce) +{ + struct IVRChaperone_IVRChaperone_002_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_002_ForceBoundsVisible, ¶ms ); +} + +extern vtable_ptr winIVRChaperone_IVRChaperone_002_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_002, 0, ".?AVIVRChaperone@@") + +__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_002_vtables) + __ASM_VTABLE(winIVRChaperone_IVRChaperone_002, + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetCalibrationState) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ReloadInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_SetSceneColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_GetBoundsColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_AreBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_002_ForceBoundsVisible) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperone_IVRChaperone_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_002_GetSoftBoundsInfo, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_002_GetHardBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_002_GetSeatedBoundsInfo, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_002_ReloadInfo, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_002_SetSceneColor, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_002_GetBoundsColor, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_002_AreBoundsVisible, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_002_ForceBoundsVisible, 1, FALSE, FALSE); + for (i = 0; i < 9; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetCalibrationState, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ReloadInfo, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_SetSceneColor, 20) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_GetBoundsColor, 20) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 8) + +uint32_t __thiscall winIVRChaperone_IVRChaperone_003_GetCalibrationState(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_003_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetCalibrationState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) +{ + struct IVRChaperone_IVRChaperone_003_GetPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetPlayAreaSize, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_003_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) +{ + struct IVRChaperone_IVRChaperone_003_GetPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetPlayAreaRect, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_003_ReloadInfo(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_003_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_ReloadInfo, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_003_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) +{ + struct IVRChaperone_IVRChaperone_003_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_SetSceneColor, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_003_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +{ + struct IVRChaperone_IVRChaperone_003_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + .flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance, + .pOutputCameraColor = pOutputCameraColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_GetBoundsColor, ¶ms ); +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_003_AreBoundsVisible(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_003_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_AreBoundsVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_003_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce) +{ + struct IVRChaperone_IVRChaperone_003_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_003_ForceBoundsVisible, ¶ms ); +} + +extern vtable_ptr winIVRChaperone_IVRChaperone_003_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_003, 0, ".?AVIVRChaperone@@") + +__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_003_vtables) + __ASM_VTABLE(winIVRChaperone_IVRChaperone_003, + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetCalibrationState) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ReloadInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_SetSceneColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_GetBoundsColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_AreBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_003_ForceBoundsVisible) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperone_IVRChaperone_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_003_GetPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_003_ReloadInfo, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_003_SetSceneColor, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_003_GetBoundsColor, 4, TRUE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_003_AreBoundsVisible, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_003_ForceBoundsVisible, 1, FALSE, FALSE); + for (i = 0; i < 8; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_003_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(winIVRChaperone_IVRChaperone_004_GetCalibrationState, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ReloadInfo, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_SetSceneColor, 20) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_GetBoundsColor, 20) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperone_IVRChaperone_004_ResetZeroPose, 8) + +uint32_t __thiscall winIVRChaperone_IVRChaperone_004_GetCalibrationState(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetCalibrationState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) +{ + struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetPlayAreaSize, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_004_GetPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) +{ + struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetPlayAreaRect, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_004_ReloadInfo(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_004_ReloadInfo_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ReloadInfo, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_004_SetSceneColor(struct w_steam_iface *_this, HmdColor_t color) +{ + struct IVRChaperone_IVRChaperone_004_SetSceneColor_params params = + { + .linux_side = _this->u_iface, + .color = color, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_SetSceneColor, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_004_GetBoundsColor(struct w_steam_iface *_this, HmdColor_t *pOutputColorArray, int32_t nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t *pOutputCameraColor) +{ + struct IVRChaperone_IVRChaperone_004_GetBoundsColor_params params = + { + .linux_side = _this->u_iface, + .pOutputColorArray = pOutputColorArray, + .nNumOutputColors = nNumOutputColors, + .flCollisionBoundsFadeDistance = flCollisionBoundsFadeDistance, + .pOutputCameraColor = pOutputCameraColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_GetBoundsColor, ¶ms ); +} + +int8_t __thiscall winIVRChaperone_IVRChaperone_004_AreBoundsVisible(struct w_steam_iface *_this) +{ + struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_AreBoundsVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperone_IVRChaperone_004_ForceBoundsVisible(struct w_steam_iface *_this, int8_t bForce) +{ + struct IVRChaperone_IVRChaperone_004_ForceBoundsVisible_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ForceBoundsVisible, ¶ms ); +} + +void __thiscall winIVRChaperone_IVRChaperone_004_ResetZeroPose(struct w_steam_iface *_this, uint32_t eTrackingUniverseOrigin) +{ + struct IVRChaperone_IVRChaperone_004_ResetZeroPose_params params = + { + .linux_side = _this->u_iface, + .eTrackingUniverseOrigin = eTrackingUniverseOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperone_IVRChaperone_004_ResetZeroPose, ¶ms ); +} + +extern vtable_ptr winIVRChaperone_IVRChaperone_004_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperone_IVRChaperone_004, 0, ".?AVIVRChaperone@@") + +__ASM_BLOCK_BEGIN(winIVRChaperone_IVRChaperone_004_vtables) + __ASM_VTABLE(winIVRChaperone_IVRChaperone_004, + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetCalibrationState) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ReloadInfo) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_SetSceneColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_GetBoundsColor) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_AreBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ForceBoundsVisible) + VTABLE_ADD_FUNC(winIVRChaperone_IVRChaperone_004_ResetZeroPose) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperone_IVRChaperone_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperone_IVRChaperone_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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_004_GetCalibrationState, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperone_IVRChaperone_004_GetPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperone_IVRChaperone_004_ReloadInfo, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperone_IVRChaperone_004_SetSceneColor, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperone_IVRChaperone_004_GetBoundsColor, 4, TRUE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperone_IVRChaperone_004_AreBoundsVisible, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperone_IVRChaperone_004_ForceBoundsVisible, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperone_IVRChaperone_004_ResetZeroPose, 1, FALSE, FALSE); + for (i = 0; i < 9; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperone_IVRChaperone_004_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_winIVRChaperone_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRChaperone_IVRChaperone_002_rtti( base ); + init_winIVRChaperone_IVRChaperone_003_rtti( base ); + init_winIVRChaperone_IVRChaperone_004_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRChaperoneSetup.c b/vrclient_x64/winIVRChaperoneSetup.c new file mode 100644 index 000000000..3365653b3 --- /dev/null +++ b/vrclient_x64/winIVRChaperoneSetup.c @@ -0,0 +1,998 @@ +/* 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(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 12) + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .unTagCount = unTagCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .punTagCount = punTagCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperoneSetup_IVRChaperoneSetup_004, 0, ".?AVIVRChaperoneSetup@@") + +__ASM_BLOCK_BEGIN(winIVRChaperoneSetup_IVRChaperoneSetup_004_vtables) + __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_004, + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_CommitWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_RevertWorkingCopy, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_ReloadFromDisk, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_SetWorkingWallTagInfo, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_004_GetLiveWallTagInfo, 2, FALSE, FALSE); + for (i = 0; i < 16; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_004_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(winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 12) + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t unTagCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .unTagCount = unTagCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo(struct w_steam_iface *_this, uint8_t *pTagsBuffer, uint32_t *punTagCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo_params params = + { + .linux_side = _this->u_iface, + .pTagsBuffer = pTagsBuffer, + .punTagCount = punTagCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .pnBufferLength = pnBufferLength, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .nImportFlags = nImportFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperoneSetup_IVRChaperoneSetup_005, 0, ".?AVIVRChaperoneSetup@@") + +__ASM_BLOCK_BEGIN(winIVRChaperoneSetup_IVRChaperoneSetup_005_vtables) + __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_005, + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_CommitWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_RevertWorkingCopy, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ReloadFromDisk, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingCollisionBoundsTagsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLiveCollisionBoundsTagsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_SetWorkingPhysicalBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_GetLivePhysicalBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ExportLiveToBuffer, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_005_ImportFromBufferToWorking, 2, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_005_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(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 12) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 4) +DEFINE_THISCALL_WRAPPER(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 4) + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize(struct w_steam_iface *_this, float *pSizeX, float *pSizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .pSizeX = pSizeX, + .pSizeZ = pSizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect(struct w_steam_iface *_this, HmdQuad_t *rect) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect_params params = + { + .linux_side = _this->u_iface, + .rect = rect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t *punQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .punQuadsCount = punQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatStandingZeroPoseToRawTrackingPose = pmatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize(struct w_steam_iface *_this, float sizeX, float sizeZ) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize_params params = + { + .linux_side = _this->u_iface, + .sizeX = sizeX, + .sizeZ = sizeZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo(struct w_steam_iface *_this, HmdQuad_t *pQuadsBuffer, uint32_t unQuadsCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo_params params = + { + .linux_side = _this->u_iface, + .pQuadsBuffer = pQuadsBuffer, + .unQuadsCount = unQuadsCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter(struct w_steam_iface *_this, HmdVector2_t *pPointBuffer, uint32_t unPointCount) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter_params params = + { + .linux_side = _this->u_iface, + .pPointBuffer = pPointBuffer, + .unPointCount = unPointCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatSeatedZeroPoseToRawTrackingPose = pMatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose(struct w_steam_iface *_this, const HmdMatrix34_t *pMatStandingZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pMatStandingZeroPoseToRawTrackingPose = pMatStandingZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk(struct w_steam_iface *_this, uint32_t configFile) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk_params params = + { + .linux_side = _this->u_iface, + .configFile = configFile, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, ¶ms ); +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *pmatSeatedZeroPoseToRawTrackingPose) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose_params params = + { + .linux_side = _this->u_iface, + .pmatSeatedZeroPoseToRawTrackingPose = pmatSeatedZeroPoseToRawTrackingPose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer(struct w_steam_iface *_this, char *pBuffer, uint32_t *pnBufferLength) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .pnBufferLength = pnBufferLength, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking(struct w_steam_iface *_this, const char *pBuffer, uint32_t nImportFlags) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking_params params = + { + .linux_side = _this->u_iface, + .pBuffer = pBuffer, + .nImportFlags = nImportFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, ¶ms ); + return params._ret; +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, ¶ms ); +} + +void __thiscall winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting(struct w_steam_iface *_this) +{ + struct IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, ¶ms ); +} + +extern vtable_ptr winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; + +DEFINE_RTTI_DATA0(winIVRChaperoneSetup_IVRChaperoneSetup_006, 0, ".?AVIVRChaperoneSetup@@") + +__ASM_BLOCK_BEGIN(winIVRChaperoneSetup_IVRChaperoneSetup_006_vtables) + __ASM_VTABLE(winIVRChaperoneSetup_IVRChaperoneSetup_006, + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_CommitWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview) + VTABLE_ADD_FUNC(winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRChaperoneSetup_IVRChaperoneSetup_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRChaperoneSetup_IVRChaperoneSetup_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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_006_CommitWorkingCopy, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RevertWorkingCopy, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaSize, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingPlayAreaRect, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPlayAreaSize, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingCollisionBoundsInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingPerimeter, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_SetWorkingStandingZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ReloadFromDisk, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_GetLiveSeatedZeroPoseToRawTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ExportLiveToBuffer, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ImportFromBufferToWorking, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_ShowWorkingSetPreview, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_HideWorkingSetPreview, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRChaperoneSetup_IVRChaperoneSetup_006_RoomSetupStarting, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRChaperoneSetup_IVRChaperoneSetup_006_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_winIVRChaperoneSetup_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRChaperoneSetup_IVRChaperoneSetup_004_rtti( base ); + init_winIVRChaperoneSetup_IVRChaperoneSetup_005_rtti( base ); + init_winIVRChaperoneSetup_IVRChaperoneSetup_006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRClientCore.c b/vrclient_x64/winIVRClientCore.c new file mode 100644 index 000000000..49f59712f --- /dev/null +++ b/vrclient_x64/winIVRClientCore.c @@ -0,0 +1,243 @@ +/* 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(winIVRClientCore_IVRClientCore_002_Init, 8) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_Cleanup, 4) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, 8) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetGenericInterface, 12) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_BIsHmdPresent, 4) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, 8) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 8) + +extern uint32_t __thiscall winIVRClientCore_IVRClientCore_002_Init(struct w_steam_iface *_this, uint32_t eApplicationType); + +extern void __thiscall winIVRClientCore_IVRClientCore_002_Cleanup(struct w_steam_iface *_this); + +uint32_t __thiscall winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) +{ + struct IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid_params params = + { + .linux_side = _this->u_iface, + .pchInterfaceVersion = pchInterfaceVersion, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, ¶ms ); + return params._ret; +} + +extern void * __thiscall winIVRClientCore_IVRClientCore_002_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, uint32_t *peError); + +extern int8_t __thiscall winIVRClientCore_IVRClientCore_002_BIsHmdPresent(struct w_steam_iface *_this); + +const char * __thiscall winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRClientCore_IVRClientCore_002_GetIDForVRInitError(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRClientCore_IVRClientCore_002_GetIDForVRInitError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_002_GetIDForVRInitError, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRClientCore_IVRClientCore_002_vtable; + +DEFINE_RTTI_DATA0(winIVRClientCore_IVRClientCore_002, 0, ".?AVIVRClientCore@@") + +__ASM_BLOCK_BEGIN(winIVRClientCore_IVRClientCore_002_vtables) + __ASM_VTABLE(winIVRClientCore_IVRClientCore_002, + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_Init) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_Cleanup) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetGenericInterface) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_BIsHmdPresent) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_002_GetIDForVRInitError) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRClientCore_IVRClientCore_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_002_Cleanup, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_002_IsInterfaceVersionValid, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_002_GetGenericInterface, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_002_BIsHmdPresent, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_002_GetEnglishStringForHmdError, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_002_GetIDForVRInitError, 1, FALSE, FALSE); + for (i = 0; i < 7; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Init, 12) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_Cleanup, 4) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 8) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetGenericInterface, 12) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 4) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 8) +DEFINE_THISCALL_WRAPPER(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 8) + +extern uint32_t __thiscall winIVRClientCore_IVRClientCore_003_Init(struct w_steam_iface *_this, uint32_t eApplicationType, const char *pStartupInfo); + +extern void __thiscall winIVRClientCore_IVRClientCore_003_Cleanup(struct w_steam_iface *_this); + +uint32_t __thiscall winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid(struct w_steam_iface *_this, const char *pchInterfaceVersion) +{ + struct IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid_params params = + { + .linux_side = _this->u_iface, + .pchInterfaceVersion = pchInterfaceVersion, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, ¶ms ); + return params._ret; +} + +extern void * __thiscall winIVRClientCore_IVRClientCore_003_GetGenericInterface(struct w_steam_iface *_this, const char *pchNameAndVersion, uint32_t *peError); + +extern int8_t __thiscall winIVRClientCore_IVRClientCore_003_BIsHmdPresent(struct w_steam_iface *_this); + +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRClientCore_IVRClientCore_003_GetIDForVRInitError(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRClientCore_IVRClientCore_003_GetIDForVRInitError_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRClientCore_IVRClientCore_003_GetIDForVRInitError, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRClientCore_IVRClientCore_003_vtable; + +DEFINE_RTTI_DATA0(winIVRClientCore_IVRClientCore_003, 0, ".?AVIVRClientCore@@") + +__ASM_BLOCK_BEGIN(winIVRClientCore_IVRClientCore_003_vtables) + __ASM_VTABLE(winIVRClientCore_IVRClientCore_003, + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Init) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_Cleanup) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetGenericInterface) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_BIsHmdPresent) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError) + VTABLE_ADD_FUNC(winIVRClientCore_IVRClientCore_003_GetIDForVRInitError) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRClientCore_IVRClientCore_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRClientCore_IVRClientCore_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRClientCore_IVRClientCore_003_Cleanup, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRClientCore_IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRClientCore_IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRClientCore_IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRClientCore_IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRClientCore_IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE); + for (i = 0; i < 7; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRClientCore_IVRClientCore_003_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_winIVRClientCore_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRClientCore_IVRClientCore_002_rtti( base ); + init_winIVRClientCore_IVRClientCore_003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRCompositor.c b/vrclient_x64/winIVRCompositor.c new file mode 100644 index 000000000..3608e7ca3 --- /dev/null +++ b/vrclient_x64/winIVRCompositor.c @@ -0,0 +1,10824 @@ +/* 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(winIVRCompositor_IVRCompositor_005_GetLastError, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetVSync, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetVSync, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGamma, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetGamma, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_WaitGetPoses, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_Submit, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ClearOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 48) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 4) + +uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_005_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetLastError, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetVSync(struct w_steam_iface *_this, int8_t bVSync) +{ + struct IVRCompositor_IVRCompositor_005_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetVSync, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_005_GetVSync(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetVSync, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetGamma(struct w_steam_iface *_this, float fGamma) +{ + struct IVRCompositor_IVRCompositor_005_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetGamma, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_005_GetGamma(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetGamma, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetGraphicsDevice(struct w_steam_iface *_this, uint32_t eType, void *pDevice) +{ + struct IVRCompositor_IVRCompositor_005_SetGraphicsDevice_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pDevice = pDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetGraphicsDevice, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_005_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_WaitGetPoses, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_Submit(struct w_steam_iface *_this, uint32_t eEye, void *pTexture, Compositor_TextureBounds *pBounds) +{ + struct IVRCompositor_IVRCompositor_005_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_Submit, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_GetOverlayDefaults(struct w_steam_iface *_this, Compositor_OverlaySettings *pSettings) +{ + struct IVRCompositor_IVRCompositor_005_GetOverlayDefaults_params params = + { + .linux_side = _this->u_iface, + .pSettings = pSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetOverlayDefaults, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlay(struct w_steam_iface *_this, void *pTexture, Compositor_OverlaySettings *pSettings) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlay_params params = + { + .linux_side = _this->u_iface, + .pTexture = pTexture, + .pSettings = pSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetOverlay, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayRaw(struct w_steam_iface *_this, void *buffer, uint32_t width, uint32_t height, uint32_t depth, Compositor_OverlaySettings *pSettings) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .buffer = buffer, + .width = width, + .height = height, + .depth = depth, + .pSettings = pSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetOverlayRaw, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetOverlayFromFile(struct w_steam_iface *_this, const char *pchFilePath, Compositor_OverlaySettings *pSettings) +{ + struct IVRCompositor_IVRCompositor_005_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .pchFilePath = pchFilePath, + .pSettings = pSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetOverlayFromFile, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_ClearOverlay(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_ClearOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_ClearOverlay, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_005_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_090 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_005_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetFrameTiming, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_005_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_005_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_005_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_FadeGrid, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_005_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_005_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_IsFullscreen, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection(struct w_steam_iface *_this, const Compositor_OverlaySettings *pSettings, float fAspectRatio, uint32_t eOrigin, HmdVector3_t vSource, HmdVector3_t vDirection, HmdVector2_t *pvecIntersectionUV, HmdVector3_t *pvecIntersectionTrackingSpace) +{ + struct IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .pSettings = pSettings, + .fAspectRatio = fAspectRatio, + .eOrigin = eOrigin, + .vSource = vSource, + .vDirection = vDirection, + .pvecIntersectionUV = pvecIntersectionUV, + .pvecIntersectionTrackingSpace = pvecIntersectionTrackingSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_005_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_005_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_005_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_005_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_005_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_005_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_005, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_005_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_005, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetGraphicsDevice) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetOverlayDefaults) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlay) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ClearOverlay) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_005_GetTrackingSpace) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRCompositor_IVRCompositor_005_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_005_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_005_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_005_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_005_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_005_SetGraphicsDevice, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_005_WaitGetPoses, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_005_Submit, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_005_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_005_GetOverlayDefaults, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_005_SetOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_005_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_005_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_005_ClearOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_005_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_005_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_005_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_005_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_005_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_005_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_005_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_005_ComputeOverlayIntersection, 7, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_005_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_005_GetTrackingSpace, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_005_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(winIVRCompositor_IVRCompositor_006_GetLastError, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetVSync, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetVSync, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGamma, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetGamma, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_Submit, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_006_CanRenderScene, 4) + +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_006_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetLastError, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_SetVSync(struct w_steam_iface *_this, int8_t bVSync) +{ + struct IVRCompositor_IVRCompositor_006_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_SetVSync, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_006_GetVSync(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetVSync, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_SetGamma(struct w_steam_iface *_this, float fGamma) +{ + struct IVRCompositor_IVRCompositor_006_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_SetGamma, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_006_GetGamma(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetGamma, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_SetGraphicsDevice(struct w_steam_iface *_this, uint32_t eType, void *pDevice) +{ + struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + .pDevice = pDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_SetGraphicsDevice, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_Submit(struct w_steam_iface *_this, uint32_t eEye, void *pTexture, VRTextureBounds_t *pBounds) +{ + struct IVRCompositor_IVRCompositor_006_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pTexture = pTexture, + .pBounds = pBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_Submit, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_006_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_090 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetFrameTiming, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_006_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_006_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_006_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_FadeGrid, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_006_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_006_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_IsFullscreen, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_006_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_006_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_006_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_006_CanRenderScene, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_006_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_006, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_006_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_006, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetGraphicsDevice) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_006_CanRenderScene) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRCompositor_IVRCompositor_006_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_006_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_006_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_006_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_006_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_006_SetGraphicsDevice, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_006_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_006_Submit, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_006_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_006_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_006_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_006_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_006_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_006_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_006_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_006_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_006_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_006_CanRenderScene, 0, FALSE, FALSE); + for (i = 0; i < 20; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_006_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(winIVRCompositor_IVRCompositor_007_GetLastError, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetVSync, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetVSync, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetGamma, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetGamma, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_007_CanRenderScene, 4) + +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_007_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetLastError, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_007_SetVSync(struct w_steam_iface *_this, int8_t bVSync) +{ + struct IVRCompositor_IVRCompositor_007_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_SetVSync, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_007_GetVSync(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetVSync, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_007_SetGamma(struct w_steam_iface *_this, float fGamma) +{ + struct IVRCompositor_IVRCompositor_007_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_SetGamma, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_007_GetGamma(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_007_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_Submit(struct w_steam_iface *_this, uint32_t eEye, uint32_t eTextureType, void *pTexture, const VRTextureBounds_t *pBounds) +{ + struct IVRCompositor_IVRCompositor_007_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .eTextureType = eTextureType, + .pTexture = pTexture, + .pBounds = pBounds, + }; + TRACE("%p\n", _this); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_Submit, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_007_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_093 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_007_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetFrameTiming, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_007_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_007_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_007_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_007_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_FadeGrid, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_007_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_007_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_IsFullscreen, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_007_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_007_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_007_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_007_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_007_CanRenderScene, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_007_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_007, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_007_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_007, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_007_CanRenderScene) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_007_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_007(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_007_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(19); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_007_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_007_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_007_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_007_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_007_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_007_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_007_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_007_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_007_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_007_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_007_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_007_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_007_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_007_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_007_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_007_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_007_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_007_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_007_CanRenderScene, 0, FALSE, FALSE); + for (i = 0; i < 19; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_007_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(winIVRCompositor_IVRCompositor_008_GetLastError, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetVSync, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetVSync, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetGamma, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetGamma, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_Submit, 24) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 32) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 4) + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastError(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_008_GetLastError_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetLastError, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_SetVSync(struct w_steam_iface *_this, int8_t bVSync) +{ + struct IVRCompositor_IVRCompositor_008_SetVSync_params params = + { + .linux_side = _this->u_iface, + .bVSync = bVSync, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_SetVSync, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_008_GetVSync(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetVSync_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetVSync, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_SetGamma(struct w_steam_iface *_this, float fGamma) +{ + struct IVRCompositor_IVRCompositor_008_SetGamma_params params = + { + .linux_side = _this->u_iface, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_SetGamma, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_008_GetGamma(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetGamma_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_008_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_Submit(struct w_steam_iface *_this, uint32_t eEye, uint32_t eTextureType, void *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags) +{ + struct IVRCompositor_IVRCompositor_008_Submit_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .eTextureType = eTextureType, + .pTexture = pTexture, + .pBounds = pBounds, + .nSubmitFlags = nSubmitFlags, + }; + TRACE("%p\n", _this); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_Submit, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_093 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_008_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetFrameTiming, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_008_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_008_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_FadeGrid, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_SetSkyboxOverride(struct w_steam_iface *_this, uint32_t eTextureType, void *pFront, void *pBack, void *pLeft, void *pRight, void *pTop, void *pBottom) +{ + struct IVRCompositor_IVRCompositor_008_SetSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + .eTextureType = eTextureType, + .pFront = pFront, + .pBack = pBack, + .pLeft = pLeft, + .pRight = pRight, + .pTop = pTop, + .pBottom = pBottom, + }; + TRACE("%p\n", _this); + if (eTextureType == TextureType_DirectX) FIXME( "Not implemented Direct3D API!\n" ); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_SetSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_008_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_IsFullscreen, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_008_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_008_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_008_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_HideMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_008_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_CompositorDumpImages, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_008_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_008_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_008_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_008, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_008_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_008, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastError) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetVSync) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetGamma) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_008_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_008(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_008_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_008_GetLastError, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_008_SetVSync, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_008_GetVSync, 0, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_008_SetGamma, 1, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_008_GetGamma, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_008_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_008_Submit, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_008_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_008_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_008_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_008_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_008_SetSkyboxOverride, 7, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_008_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_008_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_008_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_008_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_008_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_008_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_008_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_008_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_008_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_008_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_008_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_008_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_008_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_008_GetLastFrameRenderer, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_008_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(winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 4) + +void __thiscall winIVRCompositor_IVRCompositor_009_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_009_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_009_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_009_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetLastPoses, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_009_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0913 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_009_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_009_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_009_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_009_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_009_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_009_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_009_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_009_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_009_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_009_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_009_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_009_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_009_CompositorDumpImages, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_009_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_009, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_009_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_009, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_009_CompositorDumpImages) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_009_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_009(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_009_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRCompositor_IVRCompositor_009_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_009_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_009_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_009_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_009_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_009_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_009_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_009_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_009_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_009_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_009_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_009_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_009_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_009_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_009_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_009_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_009_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_009_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_009_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_009_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_009_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_009_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_009_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_009_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_009_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(winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 4) + +void __thiscall winIVRCompositor_IVRCompositor_010_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_010_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetLastPoses, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_010_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0914 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_010_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_010_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_010_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_010_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_010_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_010_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_010_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_010_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_010_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_010_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_010_CompositorDumpImages, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_010_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_010, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_010_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_010, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_010_CompositorDumpImages) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_010_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_010(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_010_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRCompositor_IVRCompositor_010_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_010_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_010_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_010_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_010_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_010_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_010_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_010_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_010_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_010_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_010_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_010_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_010_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_010_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_010_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_010_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_010_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_010_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_010_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_010_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_010_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_010_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_010_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(winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 4) + +void __thiscall winIVRCompositor_IVRCompositor_011_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_011_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_011_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_011_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetLastPoses, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_011_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_011_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_011_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_011_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_011_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_011_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_011_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_011_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_011_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_011_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_011_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_011_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_011_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_011_CompositorDumpImages, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_011_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_011, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_011_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_011, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_011_CompositorDumpImages) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_011_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_011(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_011_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRCompositor_IVRCompositor_011_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_011_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_011_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_011_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_011_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_011_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_011_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_011_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_011_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_011_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_011_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_011_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_011_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_011_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_011_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_011_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_011_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_011_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_011_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_011_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_011_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_011_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_011_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_011_CompositorDumpImages, 0, FALSE, FALSE); + for (i = 0; i < 24; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_011_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(winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 4) + +void __thiscall winIVRCompositor_IVRCompositor_012_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_012_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_012_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_012_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_012_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_012_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_012_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_012_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_012_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_012_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_012_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_012_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_012_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_012_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_012_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_012_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_012_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_012, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_012_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_012, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_012_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_012(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_012_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_012_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_012_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_012_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_012_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_012_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_012_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_012_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_012_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_012_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_012_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_012_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_012_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_012_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_012_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_012_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_012_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_012_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_012_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_012_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_012_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_012_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_012_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_012_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_012_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_012_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_012_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_012_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(winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 8) + +void __thiscall winIVRCompositor_IVRCompositor_013_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_013_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_013_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_013_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_013_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0915 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_013_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_013_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_013_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_013_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_013_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_013_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_013_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_013_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_013_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_013_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_013_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_013_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_013, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_013_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_013, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_013_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_013(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_013_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(27); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 27 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_013_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_013_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_013_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_013_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_013_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_013_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_013_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_013_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_013_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_013_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_013_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_013_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_013_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_013_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_013_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_013_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_013_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_013_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_013_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_013_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_013_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_013_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_013_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_013_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_013_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_013_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_013_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + for (i = 0; i < 27; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_013_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(winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_014_SuspendRendering, 8) + +void __thiscall winIVRCompositor_IVRCompositor_014_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_014_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_014_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_014_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_014_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0920 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_014_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_014_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_014_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_014_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_014_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_014_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_014_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_014_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_014_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_014_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_014_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_014_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_014_SuspendRendering, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_014_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_014, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_014_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_014, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_014_SuspendRendering) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_014_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_014(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_014_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(29); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 29 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_014_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_014_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_014_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_014_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_014_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_014_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_014_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_014_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_014_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_014_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_014_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_014_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_014_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_014_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_014_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_014_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_014_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_014_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_014_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_014_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_014_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_014_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_014_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_014_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_014_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_014_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_014_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_014_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_014_SuspendRendering, 1, FALSE, FALSE); + for (i = 0; i < 29; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_014_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(winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_RequestScreenshot, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 8) + +void __thiscall winIVRCompositor_IVRCompositor_015_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_015_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_015_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_015_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_015_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_0920 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_015_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_015_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_015_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_015_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_015_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_015_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_RequestScreenshot(struct w_steam_iface *_this, uint32_t type, const char *pchDestinationFileName, const char *pchVRDestinationFileName) +{ + struct IVRCompositor_IVRCompositor_015_RequestScreenshot_params params = + { + .linux_side = _this->u_iface, + .type = type, + .pchDestinationFileName = pchDestinationFileName, + .pchVRDestinationFileName = pchVRDestinationFileName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_RequestScreenshot, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_015_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_015_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_015, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_015_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_015, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_RequestScreenshot) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_015_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_015(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_015_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(37); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_015_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_015_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_015_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_015_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_015_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_015_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_015_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_015_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_015_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_015_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_015_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_015_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_015_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_015_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_015_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_015_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_015_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_015_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_015_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_015_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_015_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_015_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_015_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_015_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_015_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_015_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_015_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_015_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_015_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_015_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_015_RequestScreenshot, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_015_GetCurrentScreenshotType, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_015_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_015_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_015_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_015_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 37; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_015_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(winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 8) + +void __thiscall winIVRCompositor_IVRCompositor_016_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_016_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_016_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_102 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetFrameTiming, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_016_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_016_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_016_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_016_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_016_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_016, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_016_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_016, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_016_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_016(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_016_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(35); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 35 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_016_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_016_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_016_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_016_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_016_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_016_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_016_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_016_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_016_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_016_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_016_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_016_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_016_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_016_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_016_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_016_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_016_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_016_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_016_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_016_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_016_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_016_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_016_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_016_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_016_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_016_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 35; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_016_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(winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 8) + +void __thiscall winIVRCompositor_IVRCompositor_017_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_017_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_017_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_017_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_017_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_017_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_FadeToColor, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_017_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_FadeGrid, ¶ms ); +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_017_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_017_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_017_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_017_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_017_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_017, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_017_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_017, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_017_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_017(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_017_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(36); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_017_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_017_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_017_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_017_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_017_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_017_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_017_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_017_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_017_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_017_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_017_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_017_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_017_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_017_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_017_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_017_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_017_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_017_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_017_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_017_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_017_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_017_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_017_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_017_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_017_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_017_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_017_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_017_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_017_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_017_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_017_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_017_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_017_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_017_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_017_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 36; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_017_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(winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 8) + +void __thiscall winIVRCompositor_IVRCompositor_018_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_018_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_018_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_018_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_018_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_018_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_018_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_018_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_018_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_018_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_018_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_018_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_018, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_018_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_018, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_018_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_018(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_018_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(38); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_018_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_018_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_018_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_018_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_018_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_018_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_018_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_018_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_018_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_018_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_018_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_018_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_018_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_018_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_018_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_018_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_018_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_018_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_018_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_018_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_018_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_018_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_018_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_018_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_018_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_018_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_018_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_018_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_018_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_018_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_018_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_018_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_018_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_018_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_018_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_018_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_018_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + for (i = 0; i < 38; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_018_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(winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 16) + +void __thiscall winIVRCompositor_IVRCompositor_019_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_019_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_019_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_019_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_019_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_019_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_019_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_019_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_019_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_019_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_019_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_019_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_019, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_019_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_019, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_019_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_019(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_019_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(40); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_019_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_019_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_019_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_019_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_019_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_019_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_019_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_019_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_019_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_019_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_019_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_019_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_019_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_019_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_019_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_019_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_019_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_019_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_019_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_019_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_019_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_019_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_019_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_019_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_019_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_019_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_019_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_019_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_019_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_019_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_019_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_019_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_019_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_019_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_019_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_019_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_019_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_019_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_019_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + for (i = 0; i < 40; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_019_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(winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 16) + +void __thiscall winIVRCompositor_IVRCompositor_020_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_020_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_020_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_020_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_020_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_020_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_020_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_020_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_020_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_020_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_020_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_020_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_020, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_020_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_020, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_020_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_020(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_020_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(41); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 41 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_020_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_020_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_020_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_020_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_020_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_020_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_020_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_020_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_020_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_020_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_020_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_020_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_020_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_020_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_020_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_020_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_020_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_020_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_020_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_020_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_020_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_020_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_020_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_020_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_020_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_020_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_020_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_020_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_020_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_020_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_020_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_020_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_020_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_020_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_020_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_020_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_020_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_020_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_020_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_020_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + for (i = 0; i < 41; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_020_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(winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 4) + +void __thiscall winIVRCompositor_IVRCompositor_021_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_021_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_021_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_021_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_103a *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_021_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_021_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_021_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_021_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_021_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode(struct w_steam_iface *_this, int8_t bExplicitTimingMode) +{ + struct IVRCompositor_IVRCompositor_021_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .bExplicitTimingMode = bExplicitTimingMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SetExplicitTimingMode, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_021_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_021, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_021_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_021, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_021_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_021(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_021_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(43); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 43 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_021_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_021_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_021_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_021_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_021_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_021_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_021_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_021_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_021_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_021_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_021_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_021_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_021_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_021_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_021_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_021_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_021_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_021_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_021_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_021_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_021_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_021_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_021_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_021_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_021_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_021_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_021_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_021_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_021_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_021_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_021_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_021_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_021_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_021_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_021_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_021_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_021_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_021_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_021_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_021_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_021_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_021_SubmitExplicitTimingData, 0, FALSE, FALSE); + for (i = 0; i < 43; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_021_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(winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 4) + +void __thiscall winIVRCompositor_IVRCompositor_022_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_022_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_022_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_022_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_022_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_022_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_022_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_022_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_022_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode(struct w_steam_iface *_this, uint32_t eTimingMode) +{ + struct IVRCompositor_IVRCompositor_022_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SetExplicitTimingMode, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_022_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_022, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_022_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_022, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_022_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_022(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_022_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_022_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_022_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_022_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_022_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_022_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_022_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_022_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_022_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_022_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_022_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_022_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_022_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_022_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_022_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_022_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_022_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_022_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_022_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_022_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_022_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_022_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_022_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_022_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_022_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_022_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_022_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_022_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_022_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_022_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_022_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_022_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_022_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_022_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_022_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_022_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_022_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_022_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_022_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_022_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_022_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_022_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_022_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_022_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_022_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_022_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(winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_024_ClearStageOverride, 4) + +void __thiscall winIVRCompositor_IVRCompositor_024_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_024_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_024_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_024_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_024_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_024_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode(struct w_steam_iface *_this, uint32_t eTimingMode) +{ + struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SetExplicitTimingMode, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_024_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_SetStageOverride_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_024_ClearStageOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_024_ClearStageOverride, ¶ms ); +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_024_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_024, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_024_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_024, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_SetStageOverride_Async) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_024_ClearStageOverride) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_024_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_024(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_024_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(48); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_024_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_024_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_024_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_024_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_024_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_024_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_024_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_024_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_024_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_024_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_024_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_024_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_024_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_024_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_024_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_024_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_024_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_024_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_024_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_024_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_024_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_024_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_024_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_024_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_024_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_024_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_024_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_024_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_024_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_024_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_024_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_024_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_024_SetStageOverride_Async, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_024_ClearStageOverride, 0, FALSE, FALSE); + for (i = 0; i < 48; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_024_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(winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_ClearStageOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 16) + +void __thiscall winIVRCompositor_IVRCompositor_026_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_026_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetTrackingSpace, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount); + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_026_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_100 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_026_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_026_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeIn) +{ + struct IVRCompositor_IVRCompositor_026_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeIn = bFadeIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_026_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_026_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode(struct w_steam_iface *_this, uint32_t eTimingMode) +{ + struct IVRCompositor_IVRCompositor_026_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SetExplicitTimingMode, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + struct IVRCompositor_IVRCompositor_026_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_SetStageOverride_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_026_ClearStageOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_026_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_ClearStageOverride, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +{ + struct IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults_params params = + { + .linux_side = _this->u_iface, + .pBenchmarkResults = pBenchmarkResults, + .nSizeOfBenchmarkResults = nSizeOfBenchmarkResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +{ + struct IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs_params params = + { + .linux_side = _this->u_iface, + .pRenderPosePredictionID = pRenderPosePredictionID, + .pGamePosePredictionID = pGamePosePredictionID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_026_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_026_GetPosesForFrame_params params = + { + .linux_side = _this->u_iface, + .unPosePredictionID = unPosePredictionID, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_026_GetPosesForFrame, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_026_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_026, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_026_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_026, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_SetStageOverride_Async) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_ClearStageOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_026_GetPosesForFrame) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_026_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_026(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_026_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(51); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_026_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_026_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_026_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_026_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_026_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_026_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_026_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_026_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_026_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_026_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_026_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_026_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_026_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_026_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_026_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_026_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_026_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_026_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_026_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_026_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_026_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_026_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_026_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_026_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_026_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_026_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_026_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_026_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_026_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_026_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_026_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_026_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_026_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_026_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_026_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_026_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_026_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_026_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_026_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_026_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_026_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_026_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_026_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_026_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_026_SetStageOverride_Async, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_026_ClearStageOverride, 0, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_026_GetCompositorBenchmarkResults, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_026_GetLastPosePredictionIDs, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_026_GetPosesForFrame, 3, FALSE, FALSE); + for (i = 0; i < 51; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_026_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(winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_WaitGetPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoses, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_Submit, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTiming, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimings, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeToColor, 28) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_FadeGrid, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorQuit, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsFullscreen, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CanRenderScene, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SuspendRendering, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 16) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 20) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_ClearStageOverride, 4) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 12) +DEFINE_THISCALL_WRAPPER(winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 16) + +void __thiscall winIVRCompositor_IVRCompositor_027_SetTrackingSpace(struct w_steam_iface *_this, uint32_t eOrigin) +{ + struct IVRCompositor_IVRCompositor_027_SetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SetTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_GetTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetTrackingSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_WaitGetPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_027_WaitGetPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_WaitGetPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoses(struct w_steam_iface *_this, TrackedDevicePose_t *pRenderPoseArray, uint32_t unRenderPoseArrayCount, TrackedDevicePose_t *pGamePoseArray, uint32_t unGamePoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPoses_params params = + { + .linux_side = _this->u_iface, + .pRenderPoseArray = pRenderPoseArray, + .unRenderPoseArrayCount = unRenderPoseArrayCount, + .pGamePoseArray = pGamePoseArray, + .unGamePoseArrayCount = unGamePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetLastPoses, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex, TrackedDevicePose_t *pOutputPose, TrackedDevicePose_t *pOutputGamePose) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pOutputPose = pOutputPose, + .pOutputGamePose = pOutputGamePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_Submit(struct w_steam_iface *_this, uint32_t eEye, const w_Texture_t *pTexture, const VRTextureBounds_t *pBounds, uint32_t nSubmitFlags); + +void __thiscall winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, ¶ms ); +} + +extern void __thiscall winIVRCompositor_IVRCompositor_027_PostPresentHandoff(struct w_steam_iface *_this); + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTiming(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t unFramesAgo) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTiming_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .unFramesAgo = unFramesAgo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetFrameTiming, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimings(struct w_steam_iface *_this, w_Compositor_FrameTiming_1017 *pTiming, uint32_t nFrames) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTimings_params params = + { + .linux_side = _this->u_iface, + .pTiming = pTiming, + .nFrames = nFrames, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetFrameTimings, ¶ms ); + return params._ret; +} + +float __thiscall winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_GetCumulativeStats(struct w_steam_iface *_this, Compositor_CumulativeStats_1267 *pStats, uint32_t nStatsSizeInBytes) +{ + struct IVRCompositor_IVRCompositor_027_GetCumulativeStats_params params = + { + .linux_side = _this->u_iface, + .pStats = pStats, + .nStatsSizeInBytes = nStatsSizeInBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetCumulativeStats, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_FadeToColor(struct w_steam_iface *_this, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_027_FadeToColor_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + .fAlpha = fAlpha, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_FadeToColor, ¶ms ); +} + +HmdColor_t * __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor(struct w_steam_iface *_this, HmdColor_t *_ret, int8_t bBackground) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentFadeColor_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .bBackground = bBackground, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetCurrentFadeColor, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_FadeGrid(struct w_steam_iface *_this, float fSeconds, int8_t bFadeGridIn) +{ + struct IVRCompositor_IVRCompositor_027_FadeGrid_params params = + { + .linux_side = _this->u_iface, + .fSeconds = fSeconds, + .bFadeGridIn = bFadeGridIn, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_FadeGrid, ¶ms ); +} + +float __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetSkyboxOverride(struct w_steam_iface *_this, const w_Texture_t *pTextures, uint32_t unTextureCount); + +void __thiscall winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ClearSkyboxOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ClearSkyboxOverride, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorBringToFront(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_CompositorBringToFront_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_CompositorBringToFront, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorGoToBack(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_CompositorGoToBack_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_CompositorGoToBack, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorQuit(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_CompositorQuit_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_CompositorQuit, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_IsFullscreen(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_IsFullscreen_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_IsFullscreen, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_GetLastFrameRenderer_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetLastFrameRenderer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_CanRenderScene(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_CanRenderScene_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_CanRenderScene, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_ShowMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ShowMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ShowMirrorWindow, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_HideMirrorWindow(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_HideMirrorWindow_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_HideMirrorWindow, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_CompositorDumpImages(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_CompositorDumpImages_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_CompositorDumpImages, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn(struct w_steam_iface *_this, int8_t bOverride) +{ + struct IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn_params params = + { + .linux_side = _this->u_iface, + .bOverride = bOverride, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_ForceReconnectProcess(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ForceReconnectProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ForceReconnectProcess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_SuspendRendering(struct w_steam_iface *_this, int8_t bSuspend) +{ + struct IVRCompositor_IVRCompositor_027_SuspendRendering_params params = + { + .linux_side = _this->u_iface, + .bSuspend = bSuspend, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SuspendRendering, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11(struct w_steam_iface *_this, uint32_t eEye, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11(struct w_steam_iface *_this, void *pD3D11ShaderResourceView) +{ + struct IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .pD3D11ShaderResourceView = pD3D11ShaderResourceView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pglTextureId, void **pglSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_027_GetMirrorTextureGL_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pglTextureId = pglTextureId, + .pglSharedTextureHandle = pglSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetMirrorTextureGL, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture(struct w_steam_iface *_this, uint32_t glTextureId, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture_params params = + { + .linux_side = _this->u_iface, + .glTextureId = glTextureId, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, ¶ms ); +} + +void __thiscall winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess(struct w_steam_iface *_this, void *glSharedTextureHandle) +{ + struct IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess_params params = + { + .linux_side = _this->u_iface, + .glSharedTextureHandle = glSharedTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired(struct w_steam_iface *_this, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired(struct w_steam_iface *_this, VkPhysicalDevice_T *pPhysicalDevice, char *pchValue, uint32_t unBufferSize) +{ + struct IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired_params params = + { + .linux_side = _this->u_iface, + .pPhysicalDevice = pPhysicalDevice, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode(struct w_steam_iface *_this, uint32_t eTimingMode) +{ + struct IVRCompositor_IVRCompositor_027_SetExplicitTimingMode_params params = + { + .linux_side = _this->u_iface, + .eTimingMode = eTimingMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SetExplicitTimingMode, ¶ms ); +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_SetStageOverride_Async(struct w_steam_iface *_this, const char *pchRenderModelPath, const HmdMatrix34_t *pTransform, const Compositor_StageRenderSettings *pRenderSettings, uint32_t nSizeOfRenderSettings) +{ + struct IVRCompositor_IVRCompositor_027_SetStageOverride_Async_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelPath = pchRenderModelPath, + .pTransform = pTransform, + .pRenderSettings = pRenderSettings, + .nSizeOfRenderSettings = nSizeOfRenderSettings, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_SetStageOverride_Async, ¶ms ); + return params._ret; +} + +void __thiscall winIVRCompositor_IVRCompositor_027_ClearStageOverride(struct w_steam_iface *_this) +{ + struct IVRCompositor_IVRCompositor_027_ClearStageOverride_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_ClearStageOverride, ¶ms ); +} + +int8_t __thiscall winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults(struct w_steam_iface *_this, Compositor_BenchmarkResults *pBenchmarkResults, uint32_t nSizeOfBenchmarkResults) +{ + struct IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults_params params = + { + .linux_side = _this->u_iface, + .pBenchmarkResults = pBenchmarkResults, + .nSizeOfBenchmarkResults = nSizeOfBenchmarkResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs(struct w_steam_iface *_this, uint32_t *pRenderPosePredictionID, uint32_t *pGamePosePredictionID) +{ + struct IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs_params params = + { + .linux_side = _this->u_iface, + .pRenderPosePredictionID = pRenderPosePredictionID, + .pGamePosePredictionID = pGamePosePredictionID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRCompositor_IVRCompositor_027_GetPosesForFrame(struct w_steam_iface *_this, uint32_t unPosePredictionID, TrackedDevicePose_t *pPoseArray, uint32_t unPoseArrayCount) +{ + struct IVRCompositor_IVRCompositor_027_GetPosesForFrame_params params = + { + .linux_side = _this->u_iface, + .unPosePredictionID = unPosePredictionID, + .pPoseArray = pPoseArray, + .unPoseArrayCount = unPoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRCompositor_IVRCompositor_027_GetPosesForFrame, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRCompositor_IVRCompositor_027_vtable; + +DEFINE_RTTI_DATA0(winIVRCompositor_IVRCompositor_027, 0, ".?AVIVRCompositor@@") + +__ASM_BLOCK_BEGIN(winIVRCompositor_IVRCompositor_027_vtables) + __ASM_VTABLE(winIVRCompositor_IVRCompositor_027, + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetTrackingSpace) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_WaitGetPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoses) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_Submit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_PostPresentHandoff) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTiming) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimings) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCumulativeStats) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeToColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_FadeGrid) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorBringToFront) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorGoToBack) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorQuit) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsFullscreen) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CanRenderScene) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShowMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_HideMirrorWindow) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_CompositorDumpImages) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ForceReconnectProcess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SuspendRendering) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_SetStageOverride_Async) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_ClearStageOverride) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs) + VTABLE_ADD_FUNC(winIVRCompositor_IVRCompositor_027_GetPosesForFrame) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRCompositor_IVRCompositor_027_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_027(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRCompositor_IVRCompositor_027_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(51); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 51 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRCompositor_IVRCompositor_027_SetTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRCompositor_IVRCompositor_027_GetTrackingSpace, 0, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRCompositor_IVRCompositor_027_WaitGetPoses, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRCompositor_IVRCompositor_027_GetLastPoses, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRCompositor_IVRCompositor_027_GetLastPoseForTrackedDeviceIndex, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRCompositor_IVRCompositor_027_Submit, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRCompositor_IVRCompositor_027_ClearLastSubmittedFrame, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRCompositor_IVRCompositor_027_PostPresentHandoff, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRCompositor_IVRCompositor_027_GetFrameTiming, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRCompositor_IVRCompositor_027_GetFrameTimings, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRCompositor_IVRCompositor_027_GetFrameTimeRemaining, 0, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRCompositor_IVRCompositor_027_GetCumulativeStats, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRCompositor_IVRCompositor_027_FadeToColor, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRCompositor_IVRCompositor_027_GetCurrentFadeColor, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRCompositor_IVRCompositor_027_FadeGrid, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVRCompositor_IVRCompositor_027_GetCurrentGridAlpha, 0, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRCompositor_IVRCompositor_027_SetSkyboxOverride, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRCompositor_IVRCompositor_027_ClearSkyboxOverride, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRCompositor_IVRCompositor_027_CompositorBringToFront, 0, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRCompositor_IVRCompositor_027_CompositorGoToBack, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRCompositor_IVRCompositor_027_CompositorQuit, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRCompositor_IVRCompositor_027_IsFullscreen, 0, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRCompositor_IVRCompositor_027_GetCurrentSceneFocusProcess, 0, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRCompositor_IVRCompositor_027_GetLastFrameRenderer, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRCompositor_IVRCompositor_027_CanRenderScene, 0, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRCompositor_IVRCompositor_027_ShowMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRCompositor_IVRCompositor_027_HideMirrorWindow, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRCompositor_IVRCompositor_027_IsMirrorWindowVisible, 0, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRCompositor_IVRCompositor_027_CompositorDumpImages, 0, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRCompositor_IVRCompositor_027_ShouldAppRenderWithLowResources, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRCompositor_IVRCompositor_027_ForceInterleavedReprojectionOn, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRCompositor_IVRCompositor_027_ForceReconnectProcess, 0, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRCompositor_IVRCompositor_027_SuspendRendering, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureD3D11, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRCompositor_IVRCompositor_027_ReleaseMirrorTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRCompositor_IVRCompositor_027_GetMirrorTextureGL, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRCompositor_IVRCompositor_027_ReleaseSharedGLTexture, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRCompositor_IVRCompositor_027_LockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRCompositor_IVRCompositor_027_UnlockGLSharedTextureForAccess, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRCompositor_IVRCompositor_027_GetVulkanInstanceExtensionsRequired, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRCompositor_IVRCompositor_027_GetVulkanDeviceExtensionsRequired, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRCompositor_IVRCompositor_027_SetExplicitTimingMode, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRCompositor_IVRCompositor_027_SubmitExplicitTimingData, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingEnabled, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRCompositor_IVRCompositor_027_IsMotionSmoothingSupported, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRCompositor_IVRCompositor_027_IsCurrentSceneFocusAppLoading, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRCompositor_IVRCompositor_027_SetStageOverride_Async, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRCompositor_IVRCompositor_027_ClearStageOverride, 0, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVRCompositor_IVRCompositor_027_GetCompositorBenchmarkResults, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVRCompositor_IVRCompositor_027_GetLastPosePredictionIDs, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVRCompositor_IVRCompositor_027_GetPosesForFrame, 3, FALSE, FALSE); + for (i = 0; i < 51; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRCompositor_IVRCompositor_027_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_winIVRCompositor_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRCompositor_IVRCompositor_005_rtti( base ); + init_winIVRCompositor_IVRCompositor_006_rtti( base ); + init_winIVRCompositor_IVRCompositor_007_rtti( base ); + init_winIVRCompositor_IVRCompositor_008_rtti( base ); + init_winIVRCompositor_IVRCompositor_009_rtti( base ); + init_winIVRCompositor_IVRCompositor_010_rtti( base ); + init_winIVRCompositor_IVRCompositor_011_rtti( base ); + init_winIVRCompositor_IVRCompositor_012_rtti( base ); + init_winIVRCompositor_IVRCompositor_013_rtti( base ); + init_winIVRCompositor_IVRCompositor_014_rtti( base ); + init_winIVRCompositor_IVRCompositor_015_rtti( base ); + init_winIVRCompositor_IVRCompositor_016_rtti( base ); + init_winIVRCompositor_IVRCompositor_017_rtti( base ); + init_winIVRCompositor_IVRCompositor_018_rtti( base ); + init_winIVRCompositor_IVRCompositor_019_rtti( base ); + init_winIVRCompositor_IVRCompositor_020_rtti( base ); + init_winIVRCompositor_IVRCompositor_021_rtti( base ); + init_winIVRCompositor_IVRCompositor_022_rtti( base ); + init_winIVRCompositor_IVRCompositor_024_rtti( base ); + init_winIVRCompositor_IVRCompositor_026_rtti( base ); + init_winIVRCompositor_IVRCompositor_027_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRControlPanel.c b/vrclient_x64/winIVRControlPanel.c new file mode 100644 index 000000000..5795837a5 --- /dev/null +++ b/vrclient_x64/winIVRControlPanel.c @@ -0,0 +1,479 @@ +/* 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(winIVRControlPanel_IVRControlPanel_006_undoc1, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc2, 16) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc3, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc4, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc5, 20) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc6, 20) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc7, 20) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc8, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc9, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc10, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc11, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc12, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc13, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc14, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc15, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc16, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc17, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc18, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc19, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc20, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc21, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc22, 28) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc23, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc24, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc25, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc26, 4) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc27, 8) +DEFINE_THISCALL_WRAPPER(winIVRControlPanel_IVRControlPanel_006_undoc28, 12) + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc1(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc1_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc1, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc2(struct w_steam_iface *_this, uint32_t a, char *b, uint32_t c) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc2_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc2, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc3(struct w_steam_iface *_this, const char *a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc3_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc3, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc4(struct w_steam_iface *_this, const char *a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc4_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc4, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc5(struct w_steam_iface *_this, const char *a, uint32_t b, char *c, uint32_t d) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc5_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc5, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc6(struct w_steam_iface *_this, const char *a, const char *b, char *c, uint32_t d) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc6_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc6, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc7(struct w_steam_iface *_this, const char *a, const char *b, char *c, uint32_t d) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc7_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc7, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc8(struct w_steam_iface *_this, uint32_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc8_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc8, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc9(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc9_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc9, ¶ms ); +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc10(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc10_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc10, ¶ms ); +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc11(struct w_steam_iface *_this, uint32_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc11_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc11, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc12(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc12_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc12, ¶ms ); +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc13(struct w_steam_iface *_this, uint32_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc13_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc13, ¶ms ); +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc14(struct w_steam_iface *_this, uint32_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc14_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc14, ¶ms ); +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc15(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc15_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc15, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc16(struct w_steam_iface *_this, int8_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc16_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc16, ¶ms ); +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc17(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc17_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc17, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc18(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc18_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc18, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc19(struct w_steam_iface *_this, int8_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc19_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc19, ¶ms ); +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc20(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc20_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc20, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc21(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc21_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc21, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc22(struct w_steam_iface *_this, uint64_t a, const char *b, uint32_t c, uint32_t d, const char *e) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc22_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + .e = e, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc22, ¶ms ); +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc23(struct w_steam_iface *_this, const char *a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc23_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc23, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc24(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc24_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc24, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc25(struct w_steam_iface *_this, int8_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc25_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc25, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc26(struct w_steam_iface *_this) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc26_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc26, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRControlPanel_IVRControlPanel_006_undoc27(struct w_steam_iface *_this, const char *a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc27_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc27, ¶ms ); + return params._ret; +} + +void __thiscall winIVRControlPanel_IVRControlPanel_006_undoc28(struct w_steam_iface *_this, uint64_t a) +{ + struct IVRControlPanel_IVRControlPanel_006_undoc28_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRControlPanel_IVRControlPanel_006_undoc28, ¶ms ); +} + +extern vtable_ptr winIVRControlPanel_IVRControlPanel_006_vtable; + +DEFINE_RTTI_DATA0(winIVRControlPanel_IVRControlPanel_006, 0, ".?AVIVRControlPanel@@") + +__ASM_BLOCK_BEGIN(winIVRControlPanel_IVRControlPanel_006_vtables) + __ASM_VTABLE(winIVRControlPanel_IVRControlPanel_006, + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc1) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc2) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc3) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc4) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc5) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc6) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc7) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc8) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc9) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc10) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc11) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc12) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc13) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc14) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc15) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc16) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc17) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc18) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc19) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc20) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc21) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc22) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc23) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc24) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc25) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc26) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc27) + VTABLE_ADD_FUNC(winIVRControlPanel_IVRControlPanel_006_undoc28) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRControlPanel_IVRControlPanel_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRControlPanel_IVRControlPanel_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRControlPanel_IVRControlPanel_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(28); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRControlPanel_IVRControlPanel_006_undoc1, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRControlPanel_IVRControlPanel_006_undoc2, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRControlPanel_IVRControlPanel_006_undoc3, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRControlPanel_IVRControlPanel_006_undoc4, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRControlPanel_IVRControlPanel_006_undoc5, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRControlPanel_IVRControlPanel_006_undoc6, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRControlPanel_IVRControlPanel_006_undoc7, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRControlPanel_IVRControlPanel_006_undoc8, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRControlPanel_IVRControlPanel_006_undoc9, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRControlPanel_IVRControlPanel_006_undoc10, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRControlPanel_IVRControlPanel_006_undoc11, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRControlPanel_IVRControlPanel_006_undoc12, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRControlPanel_IVRControlPanel_006_undoc13, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRControlPanel_IVRControlPanel_006_undoc14, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRControlPanel_IVRControlPanel_006_undoc15, 0, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRControlPanel_IVRControlPanel_006_undoc16, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRControlPanel_IVRControlPanel_006_undoc17, 0, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRControlPanel_IVRControlPanel_006_undoc18, 0, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRControlPanel_IVRControlPanel_006_undoc19, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRControlPanel_IVRControlPanel_006_undoc20, 0, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRControlPanel_IVRControlPanel_006_undoc21, 0, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRControlPanel_IVRControlPanel_006_undoc22, 5, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRControlPanel_IVRControlPanel_006_undoc23, 1, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRControlPanel_IVRControlPanel_006_undoc24, 0, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRControlPanel_IVRControlPanel_006_undoc25, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRControlPanel_IVRControlPanel_006_undoc26, 0, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRControlPanel_IVRControlPanel_006_undoc27, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRControlPanel_IVRControlPanel_006_undoc28, 1, FALSE, FALSE); + for (i = 0; i < 28; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRControlPanel_IVRControlPanel_006_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_winIVRControlPanel_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRControlPanel_IVRControlPanel_006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRDriverManager.c b/vrclient_x64/winIVRDriverManager.c new file mode 100644 index 000000000..98eb68ef7 --- /dev/null +++ b/vrclient_x64/winIVRDriverManager.c @@ -0,0 +1,125 @@ +/* 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(winIVRDriverManager_IVRDriverManager_001_GetDriverCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverName, 16) +DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_GetDriverHandle, 8) +DEFINE_THISCALL_WRAPPER(winIVRDriverManager_IVRDriverManager_001_IsEnabled, 8) + +uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverCount(struct w_steam_iface *_this) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRDriverManager_IVRDriverManager_001_GetDriverCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverName(struct w_steam_iface *_this, uint32_t nDriver, char *pchValue, uint32_t unBufferSize) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverName_params params = + { + .linux_side = _this->u_iface, + .nDriver = nDriver, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRDriverManager_IVRDriverManager_001_GetDriverName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRDriverManager_IVRDriverManager_001_GetDriverHandle(struct w_steam_iface *_this, const char *pchDriverName) +{ + struct IVRDriverManager_IVRDriverManager_001_GetDriverHandle_params params = + { + .linux_side = _this->u_iface, + .pchDriverName = pchDriverName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRDriverManager_IVRDriverManager_001_GetDriverHandle, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRDriverManager_IVRDriverManager_001_IsEnabled(struct w_steam_iface *_this, uint32_t nDriver) +{ + struct IVRDriverManager_IVRDriverManager_001_IsEnabled_params params = + { + .linux_side = _this->u_iface, + .nDriver = nDriver, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRDriverManager_IVRDriverManager_001_IsEnabled, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRDriverManager_IVRDriverManager_001_vtable; + +DEFINE_RTTI_DATA0(winIVRDriverManager_IVRDriverManager_001, 0, ".?AVIVRDriverManager@@") + +__ASM_BLOCK_BEGIN(winIVRDriverManager_IVRDriverManager_001_vtables) + __ASM_VTABLE(winIVRDriverManager_IVRDriverManager_001, + VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverCount) + VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverName) + VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_GetDriverHandle) + VTABLE_ADD_FUNC(winIVRDriverManager_IVRDriverManager_001_IsEnabled) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRDriverManager_IVRDriverManager_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRDriverManager_IVRDriverManager_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRDriverManager_IVRDriverManager_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRDriverManager_IVRDriverManager_001_GetDriverCount, 0, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRDriverManager_IVRDriverManager_001_GetDriverName, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRDriverManager_IVRDriverManager_001_GetDriverHandle, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRDriverManager_IVRDriverManager_001_IsEnabled, 1, FALSE, FALSE); + for (i = 0; i < 4; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRDriverManager_IVRDriverManager_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); +} + +void init_winIVRDriverManager_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRDriverManager_IVRDriverManager_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRExtendedDisplay.c b/vrclient_x64/winIVRExtendedDisplay.c new file mode 100644 index 000000000..c9c710f05 --- /dev/null +++ b/vrclient_x64/winIVRExtendedDisplay.c @@ -0,0 +1,114 @@ +/* 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(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, 20) +DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, 24) +DEFINE_THISCALL_WRAPPER(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 12) + +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, ¶ms ); +} + +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, ¶ms ); +} + +void __thiscall winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex) +{ + struct IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo_params params = + { + .linux_side = _this->u_iface, + .pnAdapterIndex = pnAdapterIndex, + .pnAdapterOutputIndex = pnAdapterOutputIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, ¶ms ); +} + +extern vtable_ptr winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; + +DEFINE_RTTI_DATA0(winIVRExtendedDisplay_IVRExtendedDisplay_001, 0, ".?AVIVRExtendedDisplay@@") + +__ASM_BLOCK_BEGIN(winIVRExtendedDisplay_IVRExtendedDisplay_001_vtables) + __ASM_VTABLE(winIVRExtendedDisplay_IVRExtendedDisplay_001, + VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRExtendedDisplay_IVRExtendedDisplay_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRExtendedDisplay_IVRExtendedDisplay_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRExtendedDisplay_IVRExtendedDisplay_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, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo, 2, 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_winIVRExtendedDisplay_IVRExtendedDisplay_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); +} + +void init_winIVRExtendedDisplay_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRExtendedDisplay_IVRExtendedDisplay_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRHeadsetView.c b/vrclient_x64/winIVRHeadsetView.c new file mode 100644 index 000000000..e51034c90 --- /dev/null +++ b/vrclient_x64/winIVRHeadsetView.c @@ -0,0 +1,194 @@ +/* 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(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, 8) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, 4) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, 8) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, 4) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, 4) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, 12) +DEFINE_THISCALL_WRAPPER(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 12) + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize(struct w_steam_iface *_this, uint32_t nWidth, uint32_t nHeight) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize_params params = + { + .linux_side = _this->u_iface, + .nWidth = nWidth, + .nHeight = nHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, ¶ms ); +} + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, ¶ms ); +} + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode(struct w_steam_iface *_this, uint32_t eHeadsetViewMode) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode_params params = + { + .linux_side = _this->u_iface, + .eHeadsetViewMode = eHeadsetViewMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, ¶ms ); +} + +uint32_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode(struct w_steam_iface *_this) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, ¶ms ); + return params._ret; +} + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped(struct w_steam_iface *_this, int8_t bCropped) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped_params params = + { + .linux_side = _this->u_iface, + .bCropped = bCropped, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, ¶ms ); +} + +int8_t __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped(struct w_steam_iface *_this) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, ¶ms ); + return params._ret; +} + +float __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio(struct w_steam_iface *_this) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, ¶ms ); + return params._ret; +} + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange(struct w_steam_iface *_this, float flStartPct, float flEndPct) +{ + struct IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange_params params = + { + .linux_side = _this->u_iface, + .flStartPct = flStartPct, + .flEndPct = flEndPct, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, ¶ms ); +} + +void __thiscall winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange(struct w_steam_iface *_this, float *pStartPct, float *pEndPct) +{ + struct IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange_params params = + { + .linux_side = _this->u_iface, + .pStartPct = pStartPct, + .pEndPct = pEndPct, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, ¶ms ); +} + +extern vtable_ptr winIVRHeadsetView_IVRHeadsetView_001_vtable; + +DEFINE_RTTI_DATA0(winIVRHeadsetView_IVRHeadsetView_001, 0, ".?AVIVRHeadsetView@@") + +__ASM_BLOCK_BEGIN(winIVRHeadsetView_IVRHeadsetView_001_vtables) + __ASM_VTABLE(winIVRHeadsetView_IVRHeadsetView_001, + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange) + VTABLE_ADD_FUNC(winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRHeadsetView_IVRHeadsetView_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRHeadsetView_IVRHeadsetView_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRHeadsetView_IVRHeadsetView_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewMode, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewMode, 0, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewCropped, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewCropped, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewAspectRatio, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRHeadsetView_IVRHeadsetView_001_SetHeadsetViewBlendRange, 2, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRHeadsetView_IVRHeadsetView_001_GetHeadsetViewBlendRange, 2, FALSE, FALSE); + for (i = 0; i < 9; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRHeadsetView_IVRHeadsetView_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); +} + +void init_winIVRHeadsetView_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRHeadsetView_IVRHeadsetView_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRIOBuffer.c b/vrclient_x64/winIVRIOBuffer.c new file mode 100644 index 000000000..74ca592f5 --- /dev/null +++ b/vrclient_x64/winIVRIOBuffer.c @@ -0,0 +1,296 @@ +/* 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(winIVRIOBuffer_IVRIOBuffer_001_Open, 24) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Close, 12) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Read, 24) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_Write, 20) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 12) + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_Open(struct w_steam_iface *_this, const char *pchPath, uint32_t mode, uint32_t unElementSize, uint32_t unElements, uint64_t *pulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Open_params params = + { + .linux_side = _this->u_iface, + .pchPath = pchPath, + .mode = mode, + .unElementSize = unElementSize, + .unElements = unElements, + .pulBuffer = pulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_001_Open, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_Close(struct w_steam_iface *_this, uint64_t ulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Close_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_001_Close, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_Read(struct w_steam_iface *_this, uint64_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Read_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pDst = pDst, + .unBytes = unBytes, + .punRead = punRead, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_001_Read, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_Write(struct w_steam_iface *_this, uint64_t ulBuffer, void *pSrc, uint32_t unBytes) +{ + struct IVRIOBuffer_IVRIOBuffer_001_Write_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pSrc = pSrc, + .unBytes = unBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_001_Write, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer(struct w_steam_iface *_this, uint64_t ulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_001_PropertyContainer_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_001_PropertyContainer, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_001_vtable; + +DEFINE_RTTI_DATA0(winIVRIOBuffer_IVRIOBuffer_001, 0, ".?AVIVRIOBuffer@@") + +__ASM_BLOCK_BEGIN(winIVRIOBuffer_IVRIOBuffer_001_vtables) + __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_001, + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Open) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Close) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Read) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_Write) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRIOBuffer_IVRIOBuffer_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(5); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 5 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_001_Open, 5, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_001_Close, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_001_Read, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_001_Write, 3, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_001_PropertyContainer, 1, FALSE, FALSE); + for (i = 0; i < 5; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_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(winIVRIOBuffer_IVRIOBuffer_002_Open, 24) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Close, 12) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Read, 24) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_Write, 20) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer, 12) +DEFINE_THISCALL_WRAPPER(winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 12) + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_Open(struct w_steam_iface *_this, const char *pchPath, uint32_t mode, uint32_t unElementSize, uint32_t unElements, uint64_t *pulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Open_params params = + { + .linux_side = _this->u_iface, + .pchPath = pchPath, + .mode = mode, + .unElementSize = unElementSize, + .unElements = unElements, + .pulBuffer = pulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_Open, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_Close(struct w_steam_iface *_this, uint64_t ulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Close_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_Close, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_Read(struct w_steam_iface *_this, uint64_t ulBuffer, void *pDst, uint32_t unBytes, uint32_t *punRead) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Read_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pDst = pDst, + .unBytes = unBytes, + .punRead = punRead, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_Read, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_Write(struct w_steam_iface *_this, uint64_t ulBuffer, void *pSrc, uint32_t unBytes) +{ + struct IVRIOBuffer_IVRIOBuffer_002_Write_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + .pSrc = pSrc, + .unBytes = unBytes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_Write, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer(struct w_steam_iface *_this, uint64_t ulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_002_PropertyContainer_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_PropertyContainer, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRIOBuffer_IVRIOBuffer_002_HasReaders(struct w_steam_iface *_this, uint64_t ulBuffer) +{ + struct IVRIOBuffer_IVRIOBuffer_002_HasReaders_params params = + { + .linux_side = _this->u_iface, + .ulBuffer = ulBuffer, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRIOBuffer_IVRIOBuffer_002_HasReaders, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRIOBuffer_IVRIOBuffer_002_vtable; + +DEFINE_RTTI_DATA0(winIVRIOBuffer_IVRIOBuffer_002, 0, ".?AVIVRIOBuffer@@") + +__ASM_BLOCK_BEGIN(winIVRIOBuffer_IVRIOBuffer_002_vtables) + __ASM_VTABLE(winIVRIOBuffer_IVRIOBuffer_002, + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Open) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Close) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Read) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_Write) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer) + VTABLE_ADD_FUNC(winIVRIOBuffer_IVRIOBuffer_002_HasReaders) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRIOBuffer_IVRIOBuffer_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRIOBuffer_IVRIOBuffer_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(6); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 6 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRIOBuffer_IVRIOBuffer_002_Open, 5, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRIOBuffer_IVRIOBuffer_002_Close, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRIOBuffer_IVRIOBuffer_002_Read, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRIOBuffer_IVRIOBuffer_002_Write, 3, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRIOBuffer_IVRIOBuffer_002_PropertyContainer, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRIOBuffer_IVRIOBuffer_002_HasReaders, 1, FALSE, FALSE); + for (i = 0; i < 6; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRIOBuffer_IVRIOBuffer_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_winIVRIOBuffer_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRIOBuffer_IVRIOBuffer_001_rtti( base ); + init_winIVRIOBuffer_IVRIOBuffer_002_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRInput.c b/vrclient_x64/winIVRInput.c new file mode 100644 index 000000000..e2892b9a2 --- /dev/null +++ b/vrclient_x64/winIVRInput.c @@ -0,0 +1,2795 @@ +/* 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(winIVRInput_IVRInput_003_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetDigitalActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetAnalogActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetPoseActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionData, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 32) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_UncompressSkeletalActionData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginLocalizedName, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_003_ShowBindingsForActionSet, 24) + +uint32_t __thiscall winIVRInput_IVRInput_003_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_003_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_003_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_003_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_003_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1015 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_003_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_UpdateActionState, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_003_GetDigitalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetDigitalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_003_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_003_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetPoseActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eBoneParent, float fPredictedSecondsFromNow, w_InputSkeletonActionData_t *pActionData, uint32_t unActionDataSize, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_003_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eBoneParent = eBoneParent, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eBoneParent, float fPredictedSecondsFromNow, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +{ + struct IVRInput_IVRInput_003_GetSkeletalActionDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eBoneParent = eBoneParent, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetSkeletalActionDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_UncompressSkeletalActionData(struct w_steam_iface *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t *peBoneParent, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_003_UncompressSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .peBoneParent = peBoneParent, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_UncompressSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVRInput_IVRInput_003_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_003_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize) +{ + struct IVRInput_IVRInput_003_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_003_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_003_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1015 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_003_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_003_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_003_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_003, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_003_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_003, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_UncompressSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_003_ShowBindingsForActionSet) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(17); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 17 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_003_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_003_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_003_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_003_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_003_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_003_GetDigitalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_003_GetAnalogActionData, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_003_GetPoseActionData, 5, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_003_GetSkeletalActionData, 7, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_003_GetSkeletalActionDataCompressed, 6, TRUE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_003_UncompressSkeletalActionData, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_003_TriggerHapticVibrationAction, 5, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_003_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_003_GetOriginLocalizedName, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_003_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_003_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_003_ShowBindingsForActionSet, 4, FALSE, FALSE); + for (i = 0; i < 17; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_003_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(winIVRInput_IVRInput_004_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetDigitalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetAnalogActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetPoseActionData, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneData, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 40) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginLocalizedName, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_004_ShowBindingsForActionSet, 24) + +uint32_t __thiscall winIVRInput_IVRInput_004_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_004_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_004_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_004_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_004_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_004_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_UpdateActionState, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); + +uint32_t __thiscall winIVRInput_IVRInput_004_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetPoseActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_1016 *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneData(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_DecompressSkeletalBoneData(struct w_steam_iface *_this, void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t *peTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_004_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .peTransformSpace = peTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_DecompressSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_004_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_004_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize) +{ + struct IVRInput_IVRInput_004_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_004_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_004_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_004_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_004_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_004_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_004, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_004_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_004, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_004_ShowBindingsForActionSet) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRInput_IVRInput_004_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_004_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_004_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_004_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_004_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_004_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_004_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_004_GetPoseActionData, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_004_GetSkeletalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_004_GetSkeletalBoneData, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_004_GetSkeletalBoneDataCompressed, 7, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_004_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_004_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_004_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_004_GetOriginLocalizedName, 3, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_004_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_004_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_004_ShowBindingsForActionSet, 4, FALSE, FALSE); + for (i = 0; i < 18; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_004_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(winIVRInput_IVRInput_005_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetDigitalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetAnalogActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetPoseActionData, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneCount, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneHierarchy, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetBoneName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalSummaryData, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginLocalizedName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_ShowBindingsForActionSet, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_005_IsUsingLegacyInput, 4) + +uint32_t __thiscall winIVRInput_IVRInput_005_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_005_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_005_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_005_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_005_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_005_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_UpdateActionState, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); + +uint32_t __thiscall winIVRInput_IVRInput_005_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_005_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetPoseActionData(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_005_GetPoseActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetPoseActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_005_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetBoneCount(struct w_steam_iface *_this, uint64_t action, uint32_t *pBoneCount) +{ + struct IVRInput_IVRInput_005_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetBoneCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetBoneHierarchy(struct w_steam_iface *_this, uint64_t action, int32_t *pParentIndices, uint32_t unIndexArayCount) +{ + struct IVRInput_IVRInput_005_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetBoneHierarchy, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetBoneName(struct w_steam_iface *_this, uint64_t action, int32_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +{ + struct IVRInput_IVRInput_005_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetBoneName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_005_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalReferenceTransforms, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalTrackingLevel(struct w_steam_iface *_this, uint64_t action, uint32_t *pSkeletalTrackingLevel) +{ + struct IVRInput_IVRInput_005_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalTrackingLevel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneData(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_005_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalSummaryData(struct w_steam_iface *_this, uint64_t action, VRSkeletalSummaryData_t *pSkeletalSummaryData) +{ + struct IVRInput_IVRInput_005_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalSummaryData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +{ + struct IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_005_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_DecompressSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_005_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_005_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + struct IVRInput_IVRInput_005_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_005_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_005_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_005_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRInput_IVRInput_005_IsUsingLegacyInput(struct w_steam_iface *_this) +{ + struct IVRInput_IVRInput_005_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_005_IsUsingLegacyInput, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_005_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_005, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_005_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_005, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetPoseActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_005_IsUsingLegacyInput) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(25); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 25 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_005_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_005_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_005_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_005_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_005_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_005_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_005_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_005_GetPoseActionData, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_005_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_005_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_005_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_005_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_005_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_005_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_005_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_005_GetSkeletalSummaryData, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_005_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_005_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_005_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_005_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_005_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_005_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_005_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_005_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_005_IsUsingLegacyInput, 0, FALSE, FALSE); + for (i = 0; i < 25; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_005_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(winIVRInput_IVRInput_006_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetDigitalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetAnalogActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 32) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneCount, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneHierarchy, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetBoneName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalSummaryData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginLocalizedName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_ShowBindingsForActionSet, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_006_IsUsingLegacyInput, 4) + +uint32_t __thiscall winIVRInput_IVRInput_006_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_006_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_006_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_006_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_006_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_006_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_UpdateActionState, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); + +uint32_t __thiscall winIVRInput_IVRInput_006_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_006_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_006_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetPoseActionDataForNextFrame, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_006_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetBoneCount(struct w_steam_iface *_this, uint64_t action, uint32_t *pBoneCount) +{ + struct IVRInput_IVRInput_006_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetBoneCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetBoneHierarchy(struct w_steam_iface *_this, uint64_t action, int32_t *pParentIndices, uint32_t unIndexArayCount) +{ + struct IVRInput_IVRInput_006_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetBoneHierarchy, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetBoneName(struct w_steam_iface *_this, uint64_t action, int32_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +{ + struct IVRInput_IVRInput_006_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetBoneName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_006_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalReferenceTransforms, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalTrackingLevel(struct w_steam_iface *_this, uint64_t action, uint32_t *pSkeletalTrackingLevel) +{ + struct IVRInput_IVRInput_006_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalTrackingLevel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneData(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_006_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalSummaryData(struct w_steam_iface *_this, uint64_t action, uint32_t eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +{ + struct IVRInput_IVRInput_006_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalSummaryData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +{ + struct IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_006_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_DecompressSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_006_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_006_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + struct IVRInput_IVRInput_006_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_006_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_006_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_006_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRInput_IVRInput_006_IsUsingLegacyInput(struct w_steam_iface *_this) +{ + struct IVRInput_IVRInput_006_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_006_IsUsingLegacyInput, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_006_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_006, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_006_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_006, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_006_IsUsingLegacyInput) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(26); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 26 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_006_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_006_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_006_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_006_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_006_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_006_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_006_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_006_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_006_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_006_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_006_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_006_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_006_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_006_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_006_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_006_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_006_GetSkeletalSummaryData, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_006_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_006_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_006_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_006_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_006_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_006_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_006_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_006_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRInput_IVRInput_006_IsUsingLegacyInput, 0, FALSE, FALSE); + for (i = 0; i < 26; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_006_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(winIVRInput_IVRInput_007_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetDigitalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetAnalogActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 32) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneCount, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneHierarchy, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetBoneName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalSummaryData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginLocalizedName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_GetActionBindingInfo, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_ShowBindingsForActionSet, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_IsUsingLegacyInput, 4) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_007_OpenBindingUI, 28) + +uint32_t __thiscall winIVRInput_IVRInput_007_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_007_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_007_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_007_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_007_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_007_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_UpdateActionState, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); + +uint32_t __thiscall winIVRInput_IVRInput_007_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_007_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetPoseActionDataForNextFrame, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_007_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetBoneCount(struct w_steam_iface *_this, uint64_t action, uint32_t *pBoneCount) +{ + struct IVRInput_IVRInput_007_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetBoneCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetBoneHierarchy(struct w_steam_iface *_this, uint64_t action, int32_t *pParentIndices, uint32_t unIndexArayCount) +{ + struct IVRInput_IVRInput_007_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetBoneHierarchy, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetBoneName(struct w_steam_iface *_this, uint64_t action, int32_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +{ + struct IVRInput_IVRInput_007_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetBoneName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalReferenceTransforms, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalTrackingLevel(struct w_steam_iface *_this, uint64_t action, uint32_t *pSkeletalTrackingLevel) +{ + struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalTrackingLevel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneData(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_007_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalSummaryData(struct w_steam_iface *_this, uint64_t action, uint32_t eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +{ + struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalSummaryData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +{ + struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_DecompressSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_007_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + struct IVRInput_IVRInput_007_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t_1517 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +{ + struct IVRInput_IVRInput_007_GetActionBindingInfo_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .punReturnedBindingInfoCount = punReturnedBindingInfoCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_GetActionBindingInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_007_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRInput_IVRInput_007_IsUsingLegacyInput(struct w_steam_iface *_this) +{ + struct IVRInput_IVRInput_007_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_IsUsingLegacyInput, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_007_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, uint64_t ulActionSetHandle, uint64_t ulDeviceHandle, int8_t bShowOnDesktop) +{ + struct IVRInput_IVRInput_007_OpenBindingUI_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .ulActionSetHandle = ulActionSetHandle, + .ulDeviceHandle = ulDeviceHandle, + .bShowOnDesktop = bShowOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_007_OpenBindingUI, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_007_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_007, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_007_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_007, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_GetActionBindingInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_IsUsingLegacyInput) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_007_OpenBindingUI) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_007(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_007_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_007(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_007_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(28); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 28 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_007_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_007_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_007_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_007_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_007_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_007_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_007_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_007_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_007_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_007_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_007_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_007_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_007_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_007_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_007_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_007_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_007_GetSkeletalSummaryData, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_007_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_007_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_007_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_007_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_007_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_007_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_007_GetActionBindingInfo, 5, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_007_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRInput_IVRInput_007_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRInput_IVRInput_007_IsUsingLegacyInput, 0, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRInput_IVRInput_007_OpenBindingUI, 4, FALSE, FALSE); + for (i = 0; i < 28; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_007_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(winIVRInput_IVRInput_010_SetActionManifestPath, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionSetHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetInputSourceHandle, 12) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_UpdateActionState, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetDigitalActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetAnalogActionData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame, 32) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalActionData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetDominantHand, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_SetDominantHand, 8) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneCount, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneHierarchy, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBoneName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalTrackingLevel, 16) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalBoneData, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalSummaryData, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_DecompressSkeletalBoneData, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_TriggerHapticVibrationAction, 36) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionOrigins, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetOriginLocalizedName, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetActionBindingInfo, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_ShowActionOrigins, 20) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_ShowBindingsForActionSet, 24) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetComponentStateForBinding, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_IsUsingLegacyInput, 4) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_OpenBindingUI, 28) +DEFINE_THISCALL_WRAPPER(winIVRInput_IVRInput_010_GetBindingVariant, 20) + +uint32_t __thiscall winIVRInput_IVRInput_010_SetActionManifestPath(struct w_steam_iface *_this, const char *pchActionManifestPath) +{ + struct IVRInput_IVRInput_010_SetActionManifestPath_params params = + { + .linux_side = _this->u_iface, + .pchActionManifestPath = pchActionManifestPath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_SetActionManifestPath, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetActionSetHandle(struct w_steam_iface *_this, const char *pchActionSetName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_010_GetActionSetHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionSetName = pchActionSetName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetActionSetHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetActionHandle(struct w_steam_iface *_this, const char *pchActionName, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_010_GetActionHandle_params params = + { + .linux_side = _this->u_iface, + .pchActionName = pchActionName, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetActionHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetInputSourceHandle(struct w_steam_iface *_this, const char *pchInputSourcePath, uint64_t *pHandle) +{ + struct IVRInput_IVRInput_010_GetInputSourceHandle_params params = + { + .linux_side = _this->u_iface, + .pchInputSourcePath = pchInputSourcePath, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetInputSourceHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_UpdateActionState(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount) +{ + struct IVRInput_IVRInput_010_UpdateActionState_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_UpdateActionState, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData(struct w_steam_iface *_this, uint64_t action, w_InputDigitalActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice); + +uint32_t __thiscall winIVRInput_IVRInput_010_GetAnalogActionData(struct w_steam_iface *_this, uint64_t action, w_InputAnalogActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_010_GetAnalogActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetAnalogActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, float fPredictedSecondsFromNow, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .fPredictedSecondsFromNow = fPredictedSecondsFromNow, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(struct w_steam_iface *_this, uint64_t action, uint32_t eOrigin, w_InputPoseActionData_t *pActionData, uint32_t unActionDataSize, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eOrigin = eOrigin, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetPoseActionDataForNextFrame, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalActionData(struct w_steam_iface *_this, uint64_t action, w_InputSkeletalActionData_t_113b *pActionData, uint32_t unActionDataSize) +{ + struct IVRInput_IVRInput_010_GetSkeletalActionData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pActionData = pActionData, + .unActionDataSize = unActionDataSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalActionData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetDominantHand(struct w_steam_iface *_this, uint32_t *peDominantHand) +{ + struct IVRInput_IVRInput_010_GetDominantHand_params params = + { + .linux_side = _this->u_iface, + .peDominantHand = peDominantHand, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetDominantHand, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_SetDominantHand(struct w_steam_iface *_this, uint32_t eDominantHand) +{ + struct IVRInput_IVRInput_010_SetDominantHand_params params = + { + .linux_side = _this->u_iface, + .eDominantHand = eDominantHand, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_SetDominantHand, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetBoneCount(struct w_steam_iface *_this, uint64_t action, uint32_t *pBoneCount) +{ + struct IVRInput_IVRInput_010_GetBoneCount_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pBoneCount = pBoneCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetBoneCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetBoneHierarchy(struct w_steam_iface *_this, uint64_t action, int32_t *pParentIndices, uint32_t unIndexArayCount) +{ + struct IVRInput_IVRInput_010_GetBoneHierarchy_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pParentIndices = pParentIndices, + .unIndexArayCount = unIndexArayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetBoneHierarchy, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetBoneName(struct w_steam_iface *_this, uint64_t action, int32_t nBoneIndex, char *pchBoneName, uint32_t unNameBufferSize) +{ + struct IVRInput_IVRInput_010_GetBoneName_params params = + { + .linux_side = _this->u_iface, + .action = action, + .nBoneIndex = nBoneIndex, + .pchBoneName = pchBoneName, + .unNameBufferSize = unNameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetBoneName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eReferencePose, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eReferencePose = eReferencePose, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalReferenceTransforms, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalTrackingLevel(struct w_steam_iface *_this, uint64_t action, uint32_t *pSkeletalTrackingLevel) +{ + struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pSkeletalTrackingLevel = pSkeletalTrackingLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalTrackingLevel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneData(struct w_steam_iface *_this, uint64_t action, uint32_t eTransformSpace, uint32_t eMotionRange, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_010_GetSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eTransformSpace = eTransformSpace, + .eMotionRange = eMotionRange, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalSummaryData(struct w_steam_iface *_this, uint64_t action, uint32_t eSummaryType, VRSkeletalSummaryData_t *pSkeletalSummaryData) +{ + struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eSummaryType = eSummaryType, + .pSkeletalSummaryData = pSkeletalSummaryData, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalSummaryData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed(struct w_steam_iface *_this, uint64_t action, uint32_t eMotionRange, void *pvCompressedData, uint32_t unCompressedSize, uint32_t *punRequiredCompressedSize) +{ + struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params params = + { + .linux_side = _this->u_iface, + .action = action, + .eMotionRange = eMotionRange, + .pvCompressedData = pvCompressedData, + .unCompressedSize = unCompressedSize, + .punRequiredCompressedSize = punRequiredCompressedSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_DecompressSkeletalBoneData(struct w_steam_iface *_this, const void *pvCompressedBuffer, uint32_t unCompressedBufferSize, uint32_t eTransformSpace, VRBoneTransform_t *pTransformArray, uint32_t unTransformArrayCount) +{ + struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params params = + { + .linux_side = _this->u_iface, + .pvCompressedBuffer = pvCompressedBuffer, + .unCompressedBufferSize = unCompressedBufferSize, + .eTransformSpace = eTransformSpace, + .pTransformArray = pTransformArray, + .unTransformArrayCount = unTransformArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_DecompressSkeletalBoneData, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_TriggerHapticVibrationAction(struct w_steam_iface *_this, uint64_t action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, uint64_t ulRestrictToDevice) +{ + struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params params = + { + .linux_side = _this->u_iface, + .action = action, + .fStartSecondsFromNow = fStartSecondsFromNow, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + .ulRestrictToDevice = ulRestrictToDevice, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_TriggerHapticVibrationAction, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t digitalActionHandle, uint64_t *originsOut, uint32_t originOutCount) +{ + struct IVRInput_IVRInput_010_GetActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .digitalActionHandle = digitalActionHandle, + .originsOut = originsOut, + .originOutCount = originOutCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginLocalizedName(struct w_steam_iface *_this, uint64_t origin, char *pchNameArray, uint32_t unNameArraySize, int32_t unStringSectionsToInclude) +{ + struct IVRInput_IVRInput_010_GetOriginLocalizedName_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pchNameArray = pchNameArray, + .unNameArraySize = unNameArraySize, + .unStringSectionsToInclude = unStringSectionsToInclude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetOriginLocalizedName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo(struct w_steam_iface *_this, uint64_t origin, w_InputOriginInfo_t *pOriginInfo, uint32_t unOriginInfoSize) +{ + struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params params = + { + .linux_side = _this->u_iface, + .origin = origin, + .pOriginInfo = pOriginInfo, + .unOriginInfoSize = unOriginInfoSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetActionBindingInfo(struct w_steam_iface *_this, uint64_t action, InputBindingInfo_t_11030 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, uint32_t *punReturnedBindingInfoCount) +{ + struct IVRInput_IVRInput_010_GetActionBindingInfo_params params = + { + .linux_side = _this->u_iface, + .action = action, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .punReturnedBindingInfoCount = punReturnedBindingInfoCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetActionBindingInfo, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_ShowActionOrigins(struct w_steam_iface *_this, uint64_t actionSetHandle, uint64_t ulActionHandle) +{ + struct IVRInput_IVRInput_010_ShowActionOrigins_params params = + { + .linux_side = _this->u_iface, + .actionSetHandle = actionSetHandle, + .ulActionHandle = ulActionHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_ShowActionOrigins, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_ShowBindingsForActionSet(struct w_steam_iface *_this, VRActiveActionSet_t_1016 *pSets, uint32_t unSizeOfVRSelectedActionSet_t, uint32_t unSetCount, uint64_t originToHighlight) +{ + struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params params = + { + .linux_side = _this->u_iface, + .pSets = pSets, + .unSizeOfVRSelectedActionSet_t = unSizeOfVRSelectedActionSet_t, + .unSetCount = unSetCount, + .originToHighlight = originToHighlight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_ShowBindingsForActionSet, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetComponentStateForBinding(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const InputBindingInfo_t_11030 *pOriginInfo, uint32_t unBindingInfoSize, uint32_t unBindingInfoCount, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRInput_IVRInput_010_GetComponentStateForBinding_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pOriginInfo = pOriginInfo, + .unBindingInfoSize = unBindingInfoSize, + .unBindingInfoCount = unBindingInfoCount, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetComponentStateForBinding, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRInput_IVRInput_010_IsUsingLegacyInput(struct w_steam_iface *_this) +{ + struct IVRInput_IVRInput_010_IsUsingLegacyInput_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_IsUsingLegacyInput, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_OpenBindingUI(struct w_steam_iface *_this, const char *pchAppKey, uint64_t ulActionSetHandle, uint64_t ulDeviceHandle, int8_t bShowOnDesktop) +{ + struct IVRInput_IVRInput_010_OpenBindingUI_params params = + { + .linux_side = _this->u_iface, + .pchAppKey = pchAppKey, + .ulActionSetHandle = ulActionSetHandle, + .ulDeviceHandle = ulDeviceHandle, + .bShowOnDesktop = bShowOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_OpenBindingUI, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRInput_IVRInput_010_GetBindingVariant(struct w_steam_iface *_this, uint64_t ulDevicePath, char *pchVariantArray, uint32_t unVariantArraySize) +{ + struct IVRInput_IVRInput_010_GetBindingVariant_params params = + { + .linux_side = _this->u_iface, + .ulDevicePath = ulDevicePath, + .pchVariantArray = pchVariantArray, + .unVariantArraySize = unVariantArraySize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRInput_IVRInput_010_GetBindingVariant, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRInput_IVRInput_010_vtable; + +DEFINE_RTTI_DATA0(winIVRInput_IVRInput_010, 0, ".?AVIVRInput@@") + +__ASM_BLOCK_BEGIN(winIVRInput_IVRInput_010_vtables) + __ASM_VTABLE(winIVRInput_IVRInput_010, + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_SetActionManifestPath) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionSetHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetInputSourceHandle) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_UpdateActionState) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetDigitalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetAnalogActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalActionData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetDominantHand) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_SetDominantHand) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneCount) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneHierarchy) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBoneName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalTrackingLevel) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalSummaryData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_DecompressSkeletalBoneData) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_TriggerHapticVibrationAction) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetOriginLocalizedName) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetActionBindingInfo) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_ShowActionOrigins) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_ShowBindingsForActionSet) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetComponentStateForBinding) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_IsUsingLegacyInput) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_OpenBindingUI) + VTABLE_ADD_FUNC(winIVRInput_IVRInput_010_GetBindingVariant) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRInput_IVRInput_010(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRInput_IVRInput_010_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRInput_IVRInput_010(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRInput_IVRInput_010_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(32); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 32 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRInput_IVRInput_010_SetActionManifestPath, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRInput_IVRInput_010_GetActionSetHandle, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRInput_IVRInput_010_GetActionHandle, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRInput_IVRInput_010_GetInputSourceHandle, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRInput_IVRInput_010_UpdateActionState, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRInput_IVRInput_010_GetDigitalActionData, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRInput_IVRInput_010_GetAnalogActionData, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow, 6, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRInput_IVRInput_010_GetPoseActionDataForNextFrame, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRInput_IVRInput_010_GetSkeletalActionData, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRInput_IVRInput_010_GetDominantHand, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRInput_IVRInput_010_SetDominantHand, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRInput_IVRInput_010_GetBoneCount, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRInput_IVRInput_010_GetBoneHierarchy, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRInput_IVRInput_010_GetBoneName, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRInput_IVRInput_010_GetSkeletalReferenceTransforms, 5, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRInput_IVRInput_010_GetSkeletalTrackingLevel, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRInput_IVRInput_010_GetSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRInput_IVRInput_010_GetSkeletalSummaryData, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRInput_IVRInput_010_GetSkeletalBoneDataCompressed, 5, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRInput_IVRInput_010_DecompressSkeletalBoneData, 5, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRInput_IVRInput_010_TriggerHapticVibrationAction, 6, TRUE, TRUE); + init_thunk(&thunks[22], r, winIVRInput_IVRInput_010_GetActionOrigins, 4, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRInput_IVRInput_010_GetOriginLocalizedName, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRInput_IVRInput_010_GetOriginTrackedDeviceInfo, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRInput_IVRInput_010_GetActionBindingInfo, 5, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRInput_IVRInput_010_ShowActionOrigins, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRInput_IVRInput_010_ShowBindingsForActionSet, 4, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRInput_IVRInput_010_GetComponentStateForBinding, 6, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRInput_IVRInput_010_IsUsingLegacyInput, 0, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRInput_IVRInput_010_OpenBindingUI, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRInput_IVRInput_010_GetBindingVariant, 3, FALSE, FALSE); + for (i = 0; i < 32; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRInput_IVRInput_010_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_winIVRInput_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRInput_IVRInput_003_rtti( base ); + init_winIVRInput_IVRInput_004_rtti( base ); + init_winIVRInput_IVRInput_005_rtti( base ); + init_winIVRInput_IVRInput_006_rtti( base ); + init_winIVRInput_IVRInput_007_rtti( base ); + init_winIVRInput_IVRInput_010_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRMailbox.c b/vrclient_x64/winIVRMailbox.c new file mode 100644 index 000000000..b4745f369 --- /dev/null +++ b/vrclient_x64/winIVRMailbox.c @@ -0,0 +1,130 @@ +/* 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(winIVRMailbox_IVRMailbox_001_undoc1, 12) +DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc2, 12) +DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc3, 20) +DEFINE_THISCALL_WRAPPER(winIVRMailbox_IVRMailbox_001_undoc4, 24) + +uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc1(struct w_steam_iface *_this, const char *a, uint64_t *b) +{ + struct IVRMailbox_IVRMailbox_001_undoc1_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc1, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc2(struct w_steam_iface *_this, uint64_t a) +{ + struct IVRMailbox_IVRMailbox_001_undoc2_params params = + { + .linux_side = _this->u_iface, + .a = a, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc2, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc3(struct w_steam_iface *_this, uint64_t a, const char *b, const char *c) +{ + struct IVRMailbox_IVRMailbox_001_undoc3_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc3, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRMailbox_IVRMailbox_001_undoc4(struct w_steam_iface *_this, uint64_t a, char *b, uint32_t c, uint32_t *d) +{ + struct IVRMailbox_IVRMailbox_001_undoc4_params params = + { + .linux_side = _this->u_iface, + .a = a, + .b = b, + .c = c, + .d = d, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRMailbox_IVRMailbox_001_undoc4, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRMailbox_IVRMailbox_001_vtable; + +DEFINE_RTTI_DATA0(winIVRMailbox_IVRMailbox_001, 0, ".?AVIVRMailbox@@") + +__ASM_BLOCK_BEGIN(winIVRMailbox_IVRMailbox_001_vtables) + __ASM_VTABLE(winIVRMailbox_IVRMailbox_001, + VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc1) + VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc2) + VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc3) + VTABLE_ADD_FUNC(winIVRMailbox_IVRMailbox_001_undoc4) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRMailbox_IVRMailbox_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRMailbox_IVRMailbox_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRMailbox_IVRMailbox_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRMailbox_IVRMailbox_001_undoc1, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRMailbox_IVRMailbox_001_undoc2, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRMailbox_IVRMailbox_001_undoc3, 3, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRMailbox_IVRMailbox_001_undoc4, 4, FALSE, FALSE); + for (i = 0; i < 4; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRMailbox_IVRMailbox_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); +} + +void init_winIVRMailbox_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRMailbox_IVRMailbox_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRNotifications.c b/vrclient_x64/winIVRNotifications.c new file mode 100644 index 000000000..5af7cd8df --- /dev/null +++ b/vrclient_x64/winIVRNotifications.c @@ -0,0 +1,202 @@ +/* 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__ */ +} diff --git a/vrclient_x64/winIVROverlay.c b/vrclient_x64/winIVROverlay.c new file mode 100644 index 000000000..6709c2cd1 --- /dev/null +++ b/vrclient_x64/winIVROverlay.c @@ -0,0 +1,26729 @@ +/* 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(winIVROverlay_IVROverlay_001_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayVisibility, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayVisibility, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 16) + +uint32_t __thiscall winIVROverlay_IVROverlay_001_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_001_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_001_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_001_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_001_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_001_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_001_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fGamma) +{ + struct IVROverlay_IVROverlay_001_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfGamma) +{ + struct IVROverlay_IVROverlay_001_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_001_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_001_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayVisibility(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peOverlayVisibility) +{ + struct IVROverlay_IVROverlay_001_GetOverlayVisibility_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peOverlayVisibility = peOverlayVisibility, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayVisibility, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayVisibility(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayVisibility) +{ + struct IVROverlay_IVROverlay_001_SetOverlayVisibility_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayVisibility = eOverlayVisibility, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayVisibility, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_092 *pEvent) +{ + struct IVROverlay_IVROverlay_001_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_001_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_001_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_001_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_001_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_001_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_001_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_001_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_IsSystemOverlayVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_001_IsSystemOverlayVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_IsSystemOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_001_IsActiveSystemOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_001_IsActiveSystemOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_IsActiveSystemOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVROverlay_IVROverlay_001_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_001, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_001_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_001, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayVisibility) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayVisibility) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsSystemOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_IsActiveSystemOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(40); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 40 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_001_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_001_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_001_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_001_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_001_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_001_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_001_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_001_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_001_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_001_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_001_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_001_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_001_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_001_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_001_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_001_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_001_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_001_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_001_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_001_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_001_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_001_GetOverlayVisibility, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_001_SetOverlayVisibility, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_001_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_001_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_001_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_001_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_001_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_001_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_001_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_001_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_001_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_001_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_001_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_001_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_001_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_001_IsSystemOverlayVisible, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_001_IsActiveSystemOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_001_SetSystemOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_001_GetSystemOverlaySceneProcess, 2, FALSE, FALSE); + for (i = 0; i < 40; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_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(winIVROverlay_IVROverlay_002_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayTexture, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 16) + +uint32_t __thiscall winIVROverlay_IVROverlay_002_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_002_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_002_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_002_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_002_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_002_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_002_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_002_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_002_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fGamma) +{ + struct IVROverlay_IVROverlay_002_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfGamma) +{ + struct IVROverlay_IVROverlay_002_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_002_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_002_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_093 *pEvent) +{ + struct IVROverlay_IVROverlay_002_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_002_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_002_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_002_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_002_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_002_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureType, void *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_002_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_002_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_002_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_002_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_002_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_002_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVROverlay_IVROverlay_002_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_002, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_002_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_002, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_002_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_002_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_002_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_002_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_002_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_002_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_002_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_002_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_002_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_002_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_002_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_002_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_002_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_002_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_002_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_002_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_002_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_002_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_002_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_002_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_002_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_002_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_002_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_002_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_002_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_002_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_002_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_002_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_002_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_002_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_002_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_002_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_002_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_002_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_002_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_002_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_002_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_002_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_002_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_002_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_002_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_002_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + for (i = 0; i < 42; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_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); +} + +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayTexture, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_003_ShowDashboard, 8) + +uint32_t __thiscall winIVROverlay_IVROverlay_003_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_003_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_003_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_003_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_003_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_003_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_003_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_003_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_003_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_003_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_003_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_003_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fGamma) +{ + struct IVROverlay_IVROverlay_003_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfGamma) +{ + struct IVROverlay_IVROverlay_003_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_003_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_003_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_097 *pEvent) +{ + struct IVROverlay_IVROverlay_003_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_003_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_003_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_003_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_003_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_003_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureType, void *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_003_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_003_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_003_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_003_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_003_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_003_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_003_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_003_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_003_ShowDashboard, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_003_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_003, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_003_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_003, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_003_ShowDashboard) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_003_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_003_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_003_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_003_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_003_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_003_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_003_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_003_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_003_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_003_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_003_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_003_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_003_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_003_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_003_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_003_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_003_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_003_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_003_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_003_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_003_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_003_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_003_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_003_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_003_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_003_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_003_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_003_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_003_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_003_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_003_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_003_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_003_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_003_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_003_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_003_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_003_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_003_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_003_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_003_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_003_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_003_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_003_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_003_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_003_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_003_ShowDashboard, 1, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_003_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(winIVROverlay_IVROverlay_004_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayTexture, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_004_ShowDashboard, 8) + +uint32_t __thiscall winIVROverlay_IVROverlay_004_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_004_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_004_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_004_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_004_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_004_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_004_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_004_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_004_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_004_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_004_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_004_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fGamma) +{ + struct IVROverlay_IVROverlay_004_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfGamma) +{ + struct IVROverlay_IVROverlay_004_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_004_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_004_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_097 *pEvent) +{ + struct IVROverlay_IVROverlay_004_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_004_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_004_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_004_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_004_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_004_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureType, void *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_004_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_004_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_004_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_004_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_004_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_004_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_004_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_004_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_004_ShowDashboard, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_004_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_004, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_004_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_004, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_004_ShowDashboard) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(48); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_004_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_004_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_004_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_004_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_004_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_004_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_004_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_004_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_004_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_004_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_004_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_004_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_004_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_004_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_004_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_004_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_004_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_004_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_004_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_004_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_004_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_004_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_004_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_004_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_004_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_004_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_004_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_004_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_004_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_004_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_004_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_004_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_004_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_004_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_004_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_004_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_004_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_004_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_004_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_004_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_004_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_004_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_004_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_004_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_004_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_004_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_004_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_004_ShowDashboard, 1, FALSE, FALSE); + for (i = 0; i < 48; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_004_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(winIVROverlay_IVROverlay_005_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayGamma, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayTexture, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_ShowKeyboard, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_005_HideKeyboard, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_005_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_005_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_005_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_005_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_005_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_005_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_005_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_005_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_005_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_005_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_005_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_005_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fGamma) +{ + struct IVROverlay_IVROverlay_005_SetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fGamma = fGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayGamma(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfGamma) +{ + struct IVROverlay_IVROverlay_005_GetOverlayGamma_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfGamma = pfGamma, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayGamma, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_005_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_005_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0910 *pEvent) +{ + struct IVROverlay_IVROverlay_005_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_005_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_005_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_005_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_005_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_005_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_IsFocusOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_IsFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_IsFocusOverlay, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureType, void *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_005_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_005_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_005_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_005_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_005_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_005_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_005_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_005_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode) +{ + struct IVROverlay_IVROverlay_005_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_005_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_005_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_005_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_005_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_005_HideKeyboard, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_005_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_005, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_005_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_005, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayGamma) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_005_HideKeyboard) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(52); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 52 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_005_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_005_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_005_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_005_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_005_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_005_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_005_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_005_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_005_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_005_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_005_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_005_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_005_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_005_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_005_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_005_SetOverlayGamma, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_005_GetOverlayGamma, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_005_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_005_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_005_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_005_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_005_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_005_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_005_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_005_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_005_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_005_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_005_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_005_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_005_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_005_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_005_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_005_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_005_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_005_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_005_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_005_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_005_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_005_IsFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_005_SetOverlayTexture, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_005_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_005_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_005_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_005_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_005_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_005_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_005_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_005_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_005_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_005_ShowKeyboard, 6, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_005_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_005_HideKeyboard, 0, FALSE, FALSE); + for (i = 0; i < 52; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_005_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(winIVROverlay_IVROverlay_007_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_007_HideKeyboard, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_007_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_007_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_007_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_007_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_007_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_007_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_007_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_007_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_007_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_007_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_007_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_007_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_007_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_007_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_IsOverlayVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0912 *pEvent) +{ + struct IVROverlay_IVROverlay_007_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_007_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_007_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_007_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_007_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_007_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_007_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_007_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_007_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_007_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_007_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_007_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_007_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_007_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_007_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_007_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_007_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_007_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_007_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_007_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_007_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_007_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_007_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_007_HideKeyboard, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_007_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_007, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_007_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_007, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_007_HideKeyboard) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_007(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_007_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_007(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_007_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(57); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 57 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_007_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_007_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_007_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_007_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_007_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_007_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_007_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_007_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_007_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_007_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_007_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_007_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_007_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_007_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_007_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_007_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_007_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_007_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_007_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_007_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_007_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_007_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_007_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_007_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_007_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_007_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_007_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_007_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_007_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_007_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_007_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_007_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_007_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_007_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_007_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_007_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_007_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_007_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_007_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_007_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_007_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_007_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_007_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_007_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_007_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_007_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_007_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_007_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_007_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_007_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_007_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_007_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_007_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_007_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_007_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_007_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_007_HideKeyboard, 0, FALSE, FALSE); + for (i = 0; i < 57; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_007_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(winIVROverlay_IVROverlay_008_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 28) + +uint32_t __thiscall winIVROverlay_IVROverlay_008_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_008_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_008_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_008_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_008_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_008_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_008_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_008_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_008_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_008_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_008_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_008_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_008_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_008_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0914 *pEvent) +{ + struct IVROverlay_IVROverlay_008_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_008_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_008_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_008_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_008_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_008_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_008_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_008_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_008_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_008_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_008_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_008_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_008_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_008_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_008_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_008_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_008_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_008_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_008_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_008_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_008_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_008_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_008_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_008_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_008, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_008_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_008, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_008(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_008_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_008(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_008_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(60); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 60 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_008_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_008_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_008_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_008_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_008_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_008_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_008_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_008_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_008_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_008_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_008_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_008_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_008_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_008_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_008_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_008_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_008_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_008_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_008_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_008_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_008_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_008_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_008_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_008_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_008_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_008_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_008_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_008_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_008_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_008_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_008_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_008_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_008_PollNextOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_008_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_008_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_008_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_008_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_008_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_008_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_008_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_008_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_008_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_008_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_008_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_008_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_008_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_008_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_008_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_008_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_008_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_008_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_008_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_008_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_008_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_008_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_008_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_008_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_008_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_008_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_008_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 60; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_008_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(winIVROverlay_IVROverlay_010_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 28) + +uint32_t __thiscall winIVROverlay_IVROverlay_010_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_010_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_010_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_010_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_010_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_010_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_010_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_010_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_010_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_010_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_010_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_010_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_010_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_010_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_010_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_010_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_010_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_010_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_010_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_010_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_010_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_010_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_010_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_010_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_010_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_010_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_010_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_010_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_010_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_010_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_010_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_010_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_010_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_010_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_010_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_010_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_010_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_010_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_010, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_010_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_010, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_010(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_010_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_010(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_010_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(63); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 63 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_010_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_010_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_010_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_010_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_010_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_010_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_010_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_010_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_010_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_010_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_010_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_010_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_010_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_010_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_010_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_010_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_010_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_010_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_010_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_010_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_010_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_010_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_010_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_010_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_010_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_010_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_010_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_010_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_010_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_010_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_010_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_010_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_010_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_010_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_010_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_010_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_010_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_010_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_010_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_010_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_010_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_010_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_010_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_010_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_010_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_010_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_010_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_010_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_010_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_010_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_010_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_010_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_010_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_010_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_010_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_010_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_010_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_010_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_010_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_010_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_010_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 63; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_010_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(winIVROverlay_IVROverlay_011_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetOverlayTexture, 40) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 28) + +uint32_t __thiscall winIVROverlay_IVROverlay_011_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_011_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_011_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_011_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_011_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_011_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_011_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_011_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_011_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_011_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_011_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_011_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_011_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_011_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_011_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_011_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_011_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_011_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_011_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_011_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_011_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_011_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_011_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_011_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_011_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_011_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_011_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPI, uint32_t *pColorSpace) +{ + struct IVROverlay_IVROverlay_011_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_011_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_011_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_011_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_011_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_011_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_011_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_011_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_011_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_011_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_011_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_011_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_011_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_011, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_011_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_011, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_011(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_011_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_011(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_011_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(67); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 67 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_011_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_011_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_011_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_011_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_011_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_011_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_011_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_011_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_011_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_011_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_011_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_011_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_011_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_011_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_011_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_011_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_011_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_011_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_011_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_011_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_011_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_011_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_011_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_011_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_011_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_011_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_011_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_011_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_011_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_011_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_011_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_011_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_011_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_011_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_011_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_011_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_011_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_011_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_011_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_011_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_011_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_011_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_011_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_011_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_011_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_011_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_011_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_011_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_011_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_011_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_011_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_011_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_011_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_011_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_011_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_011_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_011_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_011_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_011_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_011_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_011_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_011_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_011_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_011_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_011_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 67; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_011_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(winIVROverlay_IVROverlay_012_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTexture, 40) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 28) + +uint32_t __thiscall winIVROverlay_IVROverlay_012_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_012_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_012_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_012_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_012_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_012_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_012_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_012_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_012_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_012_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_012_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_012_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_012_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_012_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_012_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_101 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_012_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_012_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_012_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_012_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_012_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_012_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_012_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_012_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_012_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_012_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_012_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_012_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPI, uint32_t *pColorSpace) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_012_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_012_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_012_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_012_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_012_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_012_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_012_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_012_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_012_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_012_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_012_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_012_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_012_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_012, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_012_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_012, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_012(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_012_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_012(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_012_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(68); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 68 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_012_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_012_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_012_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_012_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_012_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_012_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_012_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_012_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_012_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_012_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_012_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_012_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_012_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_012_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_012_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_012_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_012_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_012_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_012_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_012_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_012_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_012_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_012_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_012_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_012_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_012_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_012_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_012_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_012_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_012_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_012_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_012_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_012_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_012_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_012_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_012_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_012_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_012_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_012_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_012_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_012_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_012_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_012_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_012_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_012_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_012_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_012_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_012_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_012_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_012_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_012_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_012_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_012_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_012_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_012_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_012_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_012_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_012_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_012_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_012_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_012_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_012_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_012_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_012_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_012_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_012_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + for (i = 0; i < 68; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_012_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(winIVROverlay_IVROverlay_013_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTexture, 40) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 24) + +uint32_t __thiscall winIVROverlay_IVROverlay_013_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_013_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_013_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_013_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_013_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_013_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_013_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_013_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_013_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_013_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_013_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_013_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_013_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_013_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_013_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_013_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_013_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_013_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_013_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_013_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_013_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_013_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_013_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_013_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_013_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_013_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_013_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_013_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_013_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPI, uint32_t *pColorSpace) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPI = pAPI, + .pColorSpace = pColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_013_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_013_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_013_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_013_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_013_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_013_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_013_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_013_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_013_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_013_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_013_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_013_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_013_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVROverlay_IVROverlay_013_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_013, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_013_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_013, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_013(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_013_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_013(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_013_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(73); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 73 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_013_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_013_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_013_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_013_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_013_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_013_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_013_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_013_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_013_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_013_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_013_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_013_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_013_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_013_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_013_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_013_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_013_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_013_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_013_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_013_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_013_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_013_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_013_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_013_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_013_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_013_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_013_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_013_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_013_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_013_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_013_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_013_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_013_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_013_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_013_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_013_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_013_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_013_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_013_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_013_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_013_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_013_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_013_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_013_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_013_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_013_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_013_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_013_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_013_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_013_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_013_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_013_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_013_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_013_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_013_GetOverlayTexture, 8, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_013_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_013_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_013_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_013_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_013_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_013_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_013_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_013_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_013_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_013_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_013_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_013_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_013_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_013_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_013_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_013_SetOverlayIntersectionMask, 4, FALSE, FALSE); + for (i = 0; i < 73; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_013_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(winIVROverlay_IVROverlay_014_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_014_ShowMessageOverlay, 28) + +uint32_t __thiscall winIVROverlay_IVROverlay_014_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_014_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_014_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_014_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_014_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_014_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_014_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_014_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_014_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_014_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_014_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_014_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_014_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_014_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_014_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_014_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_014_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_014_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_014_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_014_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_014_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_014_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_014_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_014_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_014_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_014_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_014_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_014_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_014_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_014_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_014_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_014_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_014_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_014_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_014_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_014_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_014_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_014_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_014_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_014_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_014_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_014_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_014_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_014_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVROverlay_IVROverlay_014_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_014, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_014_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_014, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_014_ShowMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_014(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_014_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_014(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_014_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(75); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 75 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_014_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_014_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_014_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_014_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_014_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_014_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_014_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_014_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_014_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_014_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_014_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_014_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_014_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_014_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_014_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_014_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_014_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_014_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_014_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_014_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_014_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_014_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_014_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_014_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_014_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_014_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_014_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_014_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_014_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_014_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_014_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_014_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_014_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_014_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_014_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_014_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_014_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_014_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_014_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_014_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_014_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_014_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_014_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_014_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_014_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_014_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_014_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_014_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_014_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_014_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_014_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_014_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_014_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_014_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_014_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_014_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_014_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_014_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_014_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_014_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_014_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_014_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_014_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_014_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_014_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_014_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_014_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_014_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_014_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_014_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_014_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_014_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_014_ShowMessageOverlay, 6, FALSE, FALSE); + for (i = 0; i < 75; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_014_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(winIVROverlay_IVROverlay_016_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_016_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_016_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_016_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_016_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_016_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_016_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_016_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_016_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_016_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_016_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_016_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_016_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_016_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_016_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_016_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_016_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_016_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_016_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_016_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_016_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_016_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_016_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_016_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_016_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_016_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_016_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_016_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_016_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_016_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_016_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_016_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_016_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_016_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_016_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_016_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_016_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_016_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_016_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_016_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_016_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_016_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_016_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_016_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_016_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_016_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_016, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_016_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_016, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_016_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_016(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_016_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_016(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_016_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(81); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 81 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_016_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_016_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_016_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_016_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_016_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_016_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_016_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_016_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_016_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_016_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_016_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_016_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_016_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_016_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_016_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_016_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_016_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_016_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_016_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_016_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_016_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_016_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_016_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_016_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_016_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_016_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_016_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_016_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_016_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_016_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_016_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_016_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_016_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_016_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_016_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_016_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_016_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_016_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_016_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_016_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_016_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_016_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_016_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_016_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_016_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_016_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_016_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_016_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_016_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_016_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_016_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_016_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_016_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_016_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_016_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_016_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_016_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_016_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_016_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_016_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_016_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_016_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_016_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_016_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_016_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_016_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_016_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_016_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_016_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_016_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_016_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_016_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_016_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_016_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_016_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_016_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_016_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_016_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_016_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 81; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_016_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(winIVROverlay_IVROverlay_017_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_017_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_017_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_017_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_017_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_017_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_017_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_017_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_017_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_017_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_017_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_017_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_017_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_017_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_017_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_017_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_017_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_017_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_017_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_017_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_017_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_017_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_017_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_017_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_017_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unControllerDeviceIndex) +{ + struct IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unControllerDeviceIndex = unControllerDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_017_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_017_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *vCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .vCenter = vCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_017_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_017_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_017_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_017_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_017_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_017_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_017_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_017_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_017_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_017_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_017_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_017_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_017_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_017_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_017_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_017_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_017_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_017_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_017_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_017, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_017_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_017, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_017_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_017(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_017_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_017(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_017_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(83); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 83 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_017_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_017_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_017_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_017_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_017_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_017_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_017_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_017_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_017_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_017_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_017_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_017_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_017_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_017_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_017_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_017_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_017_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_017_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_017_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_017_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_017_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_017_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_017_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_017_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_017_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_017_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_017_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_017_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_017_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_017_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_017_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_017_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_017_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_017_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_017_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_017_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_017_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_017_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_017_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_017_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_017_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_017_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_017_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_017_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_017_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_017_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_017_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_017_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_017_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_017_HandleControllerOverlayInteractionAsMouse, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_017_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_017_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_017_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_017_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_017_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_017_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_017_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_017_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_017_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_017_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_017_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_017_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_017_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_017_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_017_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_017_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_017_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_017_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_017_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_017_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_017_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_017_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_017_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_017_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_017_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_017_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_017_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_017_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_017_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_017_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[82], r, winIVROverlay_IVROverlay_017_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 83; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_017_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(winIVROverlay_IVROverlay_018_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_018_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_018_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_018_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_018_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_018_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_018_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_018_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_018_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_018_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_018_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_018_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_018_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_018_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_018_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_018_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_018_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_018_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_018_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1016 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_018_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_018_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_018_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_018_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_018_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_018_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_018_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_018_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *vCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .vCenter = vCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_018_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_018_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_018_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_018_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_018_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_018_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_018_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_018_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_018_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_018_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_018_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_018_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_018_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_018_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_018_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_018_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_018_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_018_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_018_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_018, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_018_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_018, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_018_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_018(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_018_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_018(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_018_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_018_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_018_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_018_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_018_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_018_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_018_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_018_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_018_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_018_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_018_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_018_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_018_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_018_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_018_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_018_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_018_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_018_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_018_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_018_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_018_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_018_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_018_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_018_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_018_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_018_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_018_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_018_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_018_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_018_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_018_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_018_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_018_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_018_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_018_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_018_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_018_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_018_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_018_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_018_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_018_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_018_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_018_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_018_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_018_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_018_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_018_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_018_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_018_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_018_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_018_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_018_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_018_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_018_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_018_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_018_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_018_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_018_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_018_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_018_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_018_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_018_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_018_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_018_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_018_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_018_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_018_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_018_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_018_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_018_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_018_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_018_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_018_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_018_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_018_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_018_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_018_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_018_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_018_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_018_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_018_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_018_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(winIVROverlay_IVROverlay_019_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_019_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_019_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetHighQualityOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_SetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_019_GetHighQualityOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_GetHighQualityOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetHighQualityOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_019_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_019_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_019_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_019_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_019_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_019_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_019_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_019_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_019_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_019_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_019_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_019_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_019_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_019_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_019_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_019_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_019_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_019_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_019_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_019_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_019_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_019_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_019_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *pvCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_019_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_019_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_019_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_019_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_019_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_019_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_019_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_019_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_019_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_019_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_019_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_019_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_019_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_019_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_019_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_019_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_019_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_019_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_019_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_019, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_019_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_019, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetHighQualityOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_019_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_019(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_019_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_019(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_019_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_019_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_019_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_019_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_019_SetHighQualityOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_019_GetHighQualityOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_019_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_019_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_019_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_019_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_019_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_019_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_019_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_019_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_019_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_019_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_019_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_019_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_019_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_019_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_019_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_019_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_019_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_019_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_019_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_019_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_019_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_019_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_019_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_019_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_019_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_019_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_019_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_019_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_019_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_019_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_019_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_019_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_019_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_019_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_019_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_019_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_019_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_019_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_019_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_019_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_019_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_019_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_019_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_019_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_019_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_019_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_019_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_019_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_019_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_019_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_019_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_019_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_019_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_019_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_019_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_019_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_019_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_019_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_019_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_019_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_019_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_019_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_019_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_019_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_019_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_019_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_019_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_019_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_019_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_019_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_019_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_019_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_019_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_019_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_019_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_019_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(winIVROverlay_IVROverlay_020_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_020_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_020_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_020_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_020_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_020_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_020_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_020_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_020_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_020_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_020_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_020_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_020_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_020_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_020_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_020_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_020_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fMinDistanceInMeters = fMinDistanceInMeters, + .fMaxDistanceInMeters = fMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfMinDistanceInMeters, float *pfMaxDistanceInMeters) +{ + struct IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfMinDistanceInMeters = pfMinDistanceInMeters, + .pfMaxDistanceInMeters = pfMaxDistanceInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_020_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_020_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_020_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_020_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_020_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_020_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_020_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_020_GetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay(struct w_steam_iface *_this, uint64_t ulNewFocusOverlay) +{ + struct IVROverlay_IVROverlay_020_SetGamepadFocusOverlay_params params = + { + .linux_side = _this->u_iface, + .ulNewFocusOverlay = ulNewFocusOverlay, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetGamepadFocusOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom, uint64_t ulTo) +{ + struct IVROverlay_IVROverlay_020_SetOverlayNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + .ulTo = ulTo, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor(struct w_steam_iface *_this, uint32_t eDirection, uint64_t ulFrom) +{ + struct IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor_params params = + { + .linux_side = _this->u_iface, + .eDirection = eDirection, + .ulFrom = ulFrom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *pvCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_020_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_020_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_020_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_020_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_020_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_020_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_020_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_020_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_020_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_020_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_020_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_020_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_020_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_020_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_020_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_020_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_020_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_020_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_020_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_020_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_020_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_020, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_020_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_020, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_020_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_020(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_020_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_020(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_020_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(80); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_020_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_020_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_020_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_020_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_020_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_020_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_020_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_020_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_020_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_020_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_020_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_020_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_020_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_020_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_020_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_020_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_020_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_020_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_020_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_020_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_020_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_020_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_020_SetOverlayAutoCurveDistanceRangeInMeters, 3, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_020_GetOverlayAutoCurveDistanceRangeInMeters, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_020_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_020_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_020_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_020_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_020_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_020_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_020_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_020_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_020_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_020_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_020_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_020_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_020_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_020_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_020_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_020_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_020_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_020_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_020_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_020_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_020_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_020_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_020_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_020_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_020_GetGamepadFocusOverlay, 0, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_020_SetGamepadFocusOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_020_SetOverlayNeighbor, 3, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_020_MoveGamepadFocusToNeighbor, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_020_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_020_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_020_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_020_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_020_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_020_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_020_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_020_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_020_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_020_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_020_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_020_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_020_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_020_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_020_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_020_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_020_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_020_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_020_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_020_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_020_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_020_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_020_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_020_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_020_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_020_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 80; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_020_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(winIVROverlay_IVROverlay_021_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_021_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_021_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_021_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_021_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_021_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_021_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_021_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_021_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_021_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_021_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_021_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_021_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_021_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_021_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_021_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_021_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_021_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_021_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_021_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_021_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_021_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_021_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_021_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_021_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_021_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *pvCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unDepth) +{ + struct IVROverlay_IVROverlay_021_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unDepth = unDepth, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_021_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_021_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_021_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_021_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_021_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_021_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_021_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_021_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_021_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_021_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_021_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_021_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_021_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_021_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_021_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_021_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_021_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_021_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_021_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_021_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_021, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_021_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_021, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_021_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_021(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_021_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_021(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_021_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(76); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 76 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_021_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_021_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_021_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_021_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_021_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_021_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_021_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_021_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_021_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_021_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_021_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_021_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_021_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_021_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_021_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_021_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_021_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_021_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_021_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_021_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_021_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_021_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_021_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_021_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_021_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_021_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_021_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_021_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_021_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_021_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_021_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_021_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_021_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_021_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_021_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_021_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_021_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_021_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_021_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_021_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_021_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_021_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_021_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_021_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_021_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_021_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_021_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_021_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_021_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_021_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_021_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_021_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_021_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_021_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_021_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_021_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_021_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_021_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_021_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_021_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_021_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_021_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_021_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_021_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_021_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_021_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_021_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_021_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_021_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_021_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_021_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_021_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_021_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_021_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 76; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_021_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(winIVROverlay_IVROverlay_022_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursor, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_022_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_022_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_022_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_022_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_022_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_022_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_022_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_022_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_022_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_022_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_022_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_022_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_022_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_022_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_022_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_022_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_022_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_022_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, HmdColor_t *pColor, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_022_GetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pColor = pColor, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayRenderModel(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchRenderModel, const HmdColor_t *pColor) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRenderModel_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchRenderModel = pchRenderModel, + .pColor = pColor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayRenderModel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_022_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_022_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_022_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_022_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_022_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_022_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_022_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, const HmdVector2_t *pvCenter, float fRadius) +{ + struct IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .fRadius = fRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform(struct w_steam_iface *_this, uint64_t ulOverlay, uint32_t eWhich, HmdVector2_t *pvCenter, float *pfRadius) +{ + struct IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform_params params = + { + .linux_side = _this->u_iface, + .ulOverlay = ulOverlay, + .eWhich = eWhich, + .pvCenter = pvCenter, + .pfRadius = pfRadius, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_022_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulCursorHandle) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvCursor) +{ + struct IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + struct IVROverlay_IVROverlay_022_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_022_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_022_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_022_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_022_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_022_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_022_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_022_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_022_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, int8_t bUseMinimalMode, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_022_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .bUseMinimalMode = bUseMinimalMode, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_022_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_022_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_022_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_022_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_022_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_022_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_022_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_022_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_022_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_022, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_022_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_022, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRenderModel) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_022_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_022(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_022_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_022(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_022_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_022_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_022_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_022_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_022_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_022_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_022_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_022_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_022_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_022_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_022_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_022_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_022_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_022_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_022_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_022_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_022_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_022_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_022_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_022_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_022_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_022_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_022_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_022_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_022_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_022_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_022_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_022_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_022_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_022_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_022_GetOverlayRenderModel, 5, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_022_SetOverlayRenderModel, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_022_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_022_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_022_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_022_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_022_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_022_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_022_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_022_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_022_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_022_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_022_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_022_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_022_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_022_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_022_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_022_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_022_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_022_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_022_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_022_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_022_SetOverlayDualAnalogTransform, 4, TRUE, TRUE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_022_GetOverlayDualAnalogTransform, 4, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_022_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_022_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_022_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_022_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_022_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_022_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_022_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_022_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_022_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_022_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_022_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_022_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_022_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_022_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_022_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_022_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_022_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_022_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_022_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_022_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_022_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_022_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_022_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_022_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_022_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_022_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_022_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_022_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(winIVROverlay_IVROverlay_024_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursor, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_024_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_024_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_024_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_024_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_024_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_024_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_024_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_024_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_024_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_024_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_024_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_024_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_024_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_024_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_024_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_024_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_024_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_024_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_024_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_024_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_024_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_024_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_024_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_024_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_024_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_024_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_024_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulCursorHandle) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvCursor) +{ + struct IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + struct IVROverlay_IVROverlay_024_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_024_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_024_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_024_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_024_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_024_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_024_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_024_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_024_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_024_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_024_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_024_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_024_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_024_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_024_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_024_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_024_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_024_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_024_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_024, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_024_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_024, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_024_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_024(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_024_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_024(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_024_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(78); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 78 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_024_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_024_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_024_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_024_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_024_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_024_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_024_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_024_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_024_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_024_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_024_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_024_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_024_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_024_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_024_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_024_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_024_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_024_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_024_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_024_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_024_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_024_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_024_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_024_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_024_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_024_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_024_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_024_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_024_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_024_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_024_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_024_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_024_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_024_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_024_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_024_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_024_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_024_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_024_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_024_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_024_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_024_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_024_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_024_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_024_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_024_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_024_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_024_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_024_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_024_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_024_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_024_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_024_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_024_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_024_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_024_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_024_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_024_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_024_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_024_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_024_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_024_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_024_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_024_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_024_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_024_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_024_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_024_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_024_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_024_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_024_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_024_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_024_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_024_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_024_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 78; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_024_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(winIVROverlay_IVROverlay_025_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursor, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_025_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_025_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_025_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_025_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_025_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_025_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_025_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_025_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_025_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_025_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_025_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_025_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_025_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_025_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_025_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_025_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_025_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_025_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_025_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTransformProjection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, uint32_t eEye) +{ + struct IVROverlay_IVROverlay_025_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayTransformProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_025_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_025_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_025_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_025_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_025_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_025_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_025_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulCursorHandle) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvCursor) +{ + struct IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + struct IVROverlay_IVROverlay_025_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_025_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_025_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_025_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_025_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_025_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_025_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_025_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_025_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_025_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_025_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_025_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_025_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_025_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_025_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_025_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_025_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_025_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_025_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_025, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_025_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_025, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_025_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_025(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_025_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_025(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_025_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(79); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 79 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_025_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_025_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_025_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_025_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_025_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_025_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_025_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_025_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_025_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_025_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_025_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_025_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_025_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_025_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_025_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_025_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_025_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_025_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_025_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_025_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_025_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_025_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_025_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_025_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_025_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_025_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_025_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_025_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_025_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_025_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_025_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_025_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_025_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_025_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_025_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_025_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_025_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_025_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_025_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_025_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_025_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_025_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_025_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_025_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_025_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_025_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_025_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_025_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_025_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_025_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_025_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_025_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_025_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_025_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_025_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_025_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_025_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_025_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_025_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_025_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_025_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_025_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_025_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_025_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_025_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_025_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_025_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_025_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_025_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_025_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_025_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_025_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_025_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_025_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_025_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_025_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_025_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 79; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_025_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(winIVROverlay_IVROverlay_026_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_WaitFrameSync, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursor, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_026_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_026_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_026_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_026_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_026_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_026_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_026_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_026_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_026_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_026_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_026_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_026_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_026_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_026_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_026_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_026_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_026_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_026_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_026_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRadians) +{ + struct IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRadians = fRadians, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRadians) +{ + struct IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRadians = pfRadians, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t *ulOverlayHandleParent, HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulOverlayHandleParent, const HmdMatrix34_t *pmatParentOverlayToOverlayTransform) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulOverlayHandleParent = ulOverlayHandleParent, + .pmatParentOverlayToOverlayTransform = pmatParentOverlayToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTransformProjection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, uint32_t eEye) +{ + struct IVROverlay_IVROverlay_026_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayTransformProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) +{ + struct IVROverlay_IVROverlay_026_WaitFrameSync_params params = + { + .linux_side = _this->u_iface, + .nTimeoutMs = nTimeoutMs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_WaitFrameSync, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_026_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_026_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_026_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_026_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_026_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_026_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_026_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulCursorHandle) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvCursor) +{ + struct IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + struct IVROverlay_IVROverlay_026_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_026_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_026_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_026_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_026_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_026_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_026_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_026_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_026_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_026_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_026_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_026_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_026_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_026_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_026_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_026_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_026_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_026_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_026_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_026, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_026_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_026, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_WaitFrameSync) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_026_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_026(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_026_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_026(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_026_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(82); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 82 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_026_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_026_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_026_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_026_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_026_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_026_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_026_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_026_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_026_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_026_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_026_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_026_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_026_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_026_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_026_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_026_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_026_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_026_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_026_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_026_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_026_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_026_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_026_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_026_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_026_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_026_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_026_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_026_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_026_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_026_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_026_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_026_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_026_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_026_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_026_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_026_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_026_GetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_026_SetOverlayTransformOverlayRelative, 3, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_026_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_026_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_026_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_026_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_026_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_026_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_026_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_026_WaitFrameSync, 1, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_026_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_026_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_026_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_026_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_026_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_026_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_026_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_026_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_026_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_026_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_026_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_026_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_026_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_026_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_026_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_026_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_026_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_026_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_026_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_026_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_026_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_026_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_026_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_026_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_026_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_026_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_026_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_026_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_026_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_026_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_026_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_026_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[80], r, winIVROverlay_IVROverlay_026_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[81], r, winIVROverlay_IVROverlay_026_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 82; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_026_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(winIVROverlay_IVROverlay_027_FindOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateOverlay, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_DestroyOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayKey, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayName, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayName, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayImageData, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlag, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayFlags, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayColor, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayAlpha, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayCurvature, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformType, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsOverlayVisible, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_WaitFrameSync, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursor, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayTexture, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ClearOverlayTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayRaw, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetOverlayFromFile, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTexture, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 20) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsDashboardVisible, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowDashboard, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboard, 36) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 44) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_GetKeyboardText, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_HideKeyboard, 4) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 12) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_ShowMessageOverlay, 28) +DEFINE_THISCALL_WRAPPER(winIVROverlay_IVROverlay_027_CloseMessageOverlay, 4) + +uint32_t __thiscall winIVROverlay_IVROverlay_027_FindOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_FindOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_FindOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_CreateOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayName, uint64_t *pOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_CreateOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayName = pchOverlayName, + .pOverlayHandle = pOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_CreateOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_DestroyOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_DestroyOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_DestroyOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayKey(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_027_GetOverlayKey_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayKey, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVROverlay_IVROverlay_027_GetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayName(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchName) +{ + struct IVROverlay_IVROverlay_027_SetOverlayName_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchName = pchName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayImageData(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unBufferSize, uint32_t *punWidth, uint32_t *punHeight) +{ + struct IVROverlay_IVROverlay_027_GetOverlayImageData_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unBufferSize = unBufferSize, + .punWidth = punWidth, + .punHeight = punHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayImageData, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unPID) +{ + struct IVROverlay_IVROverlay_027_SetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unPID = unPID, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayRenderingPid(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_GetOverlayRenderingPid_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayRenderingPid, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t bEnabled) +{ + struct IVROverlay_IVROverlay_027_SetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .bEnabled = bEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlag(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eOverlayFlag, int8_t *pbEnabled) +{ + struct IVROverlay_IVROverlay_027_GetOverlayFlag_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eOverlayFlag = eOverlayFlag, + .pbEnabled = pbEnabled, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayFlag, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayFlags(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pFlags) +{ + struct IVROverlay_IVROverlay_027_GetOverlayFlags_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pFlags = pFlags, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayFlags, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRed, float fGreen, float fBlue) +{ + struct IVROverlay_IVROverlay_027_SetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRed = fRed, + .fGreen = fGreen, + .fBlue = fBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayColor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRed, float *pfGreen, float *pfBlue) +{ + struct IVROverlay_IVROverlay_027_GetOverlayColor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRed = pfRed, + .pfGreen = pfGreen, + .pfBlue = pfBlue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayColor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fAlpha) +{ + struct IVROverlay_IVROverlay_027_SetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fAlpha = fAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayAlpha(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfAlpha) +{ + struct IVROverlay_IVROverlay_027_GetOverlayAlpha_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfAlpha = pfAlpha, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayAlpha, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fTexelAspect) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fTexelAspect = fTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexelAspect(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfTexelAspect) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTexelAspect_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfTexelAspect = pfTexelAspect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTexelAspect, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unSortOrder) +{ + struct IVROverlay_IVROverlay_027_SetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unSortOrder = unSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlaySortOrder(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punSortOrder) +{ + struct IVROverlay_IVROverlay_027_GetOverlaySortOrder_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punSortOrder = punSortOrder, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlaySortOrder, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fWidthInMeters) +{ + struct IVROverlay_IVROverlay_027_SetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fWidthInMeters = fWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfWidthInMeters) +{ + struct IVROverlay_IVROverlay_027_GetOverlayWidthInMeters_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfWidthInMeters = pfWidthInMeters, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayWidthInMeters, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fCurvature) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fCurvature = fCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayCurvature(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfCurvature) +{ + struct IVROverlay_IVROverlay_027_GetOverlayCurvature_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfCurvature = pfCurvature, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayCurvature, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fRadians) +{ + struct IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fRadians = fRadians, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float *pfRadians) +{ + struct IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pfRadians = pfRadians, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTextureColorSpace) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTextureColorSpace = eTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTextureColorSpace) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTextureColorSpace = peTextureColorSpace, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureBounds(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VRTextureBounds_t *pOverlayTextureBounds) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureBounds_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pOverlayTextureBounds = pOverlayTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTextureBounds, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformType(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTransformType) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformType_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTransformType = peTransformType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTransformType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peTrackingOrigin, HmdMatrix34_t *pmatTrackingOriginToOverlayTransform) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peTrackingOrigin = peTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unTrackedDevice, const HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unTrackedDevice = unTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punTrackedDevice, HmdMatrix34_t *pmatTrackedDeviceToOverlayTransform) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punTrackedDevice = punTrackedDevice, + .pmatTrackedDeviceToOverlayTransform = pmatTrackedDeviceToOverlayTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unDeviceIndex, const char *pchComponentName) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unDeviceIndex = unDeviceIndex, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punDeviceIndex, char *pchComponentName, uint32_t unComponentNameSize) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punDeviceIndex = punDeviceIndex, + .pchComponentName = pchComponentName, + .unComponentNameSize = unComponentNameSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulCursorOverlayHandle, const HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulCursorOverlayHandle = ulCursorOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTransformCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvHotspot) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTransformCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvHotspot = pvHotspot, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTransformCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTransformProjection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToOverlayTransform, const VROverlayProjection_t *pProjection, uint32_t eEye) +{ + struct IVROverlay_IVROverlay_027_SetOverlayTransformProjection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToOverlayTransform = pmatTrackingOriginToOverlayTransform, + .pProjection = pProjection, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayTransformProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ShowOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_ShowOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ShowOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_HideOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_HideOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_HideOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_IsOverlayVisible(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_IsOverlayVisible_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_IsOverlayVisible, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eTrackingOrigin, HmdVector2_t coordinatesInOverlay, HmdMatrix34_t *pmatTransform) +{ + struct IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eTrackingOrigin = eTrackingOrigin, + .coordinatesInOverlay = coordinatesInOverlay, + .pmatTransform = pmatTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_WaitFrameSync(struct w_steam_iface *_this, uint32_t nTimeoutMs) +{ + struct IVROverlay_IVROverlay_027_WaitFrameSync_params params = + { + .linux_side = _this->u_iface, + .nTimeoutMs = nTimeoutMs, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_WaitFrameSync, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_PollNextOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) +{ + struct IVROverlay_IVROverlay_027_PollNextOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_PollNextOverlayEvent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *peInputMethod) +{ + struct IVROverlay_IVROverlay_027_GetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .peInputMethod = peInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayInputMethod(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMethod) +{ + struct IVROverlay_IVROverlay_027_SetOverlayInputMethod_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMethod = eInputMethod, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayInputMethod, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_027_GetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayMouseScale, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayMouseScale(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvecMouseScale) +{ + struct IVROverlay_IVROverlay_027_SetOverlayMouseScale_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvecMouseScale = pvecMouseScale, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayMouseScale, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_ComputeOverlayIntersection(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const VROverlayIntersectionParams_t *pParams, VROverlayIntersectionResults_t *pResults) +{ + struct IVROverlay_IVROverlay_027_ComputeOverlayIntersection_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pParams = pParams, + .pResults = pResults, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ComputeOverlayIntersection, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_IsHoverTargetOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_IsHoverTargetOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_IsHoverTargetOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask(struct w_steam_iface *_this, uint64_t ulOverlayHandle, VROverlayIntersectionMaskPrimitive_t *pMaskPrimitives, uint32_t unNumMaskPrimitives, uint32_t unPrimitiveSize) +{ + struct IVROverlay_IVROverlay_027_SetOverlayIntersectionMask_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pMaskPrimitives = pMaskPrimitives, + .unNumMaskPrimitives = unNumMaskPrimitives, + .unPrimitiveSize = unPrimitiveSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayIntersectionMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration(struct w_steam_iface *_this, uint64_t ulOverlayHandle, float fDurationSeconds, float fFrequency, float fAmplitude) +{ + struct IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .fDurationSeconds = fDurationSeconds, + .fFrequency = fFrequency, + .fAmplitude = fAmplitude, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursor(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint64_t ulCursorHandle) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCursor_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .ulCursorHandle = ulCursorHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayCursor, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const HmdVector2_t *pvCursor) +{ + struct IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvCursor = pvCursor, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, ¶ms ); + return params._ret; +} + +extern uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_Texture_t *pTexture); + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ClearOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_ClearOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ClearOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayRaw(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pvBuffer, uint32_t unWidth, uint32_t unHeight, uint32_t unBytesPerPixel) +{ + struct IVROverlay_IVROverlay_027_SetOverlayRaw_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvBuffer = pvBuffer, + .unWidth = unWidth, + .unHeight = unHeight, + .unBytesPerPixel = unBytesPerPixel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayRaw, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetOverlayFromFile(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const char *pchFilePath) +{ + struct IVROverlay_IVROverlay_027_SetOverlayFromFile_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pchFilePath = pchFilePath, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetOverlayFromFile, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTexture(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void **pNativeTextureHandle, void *pNativeTextureRef, uint32_t *pWidth, uint32_t *pHeight, uint32_t *pNativeFormat, uint32_t *pAPIType, uint32_t *pColorSpace, VRTextureBounds_t *pTextureBounds) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTexture_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + .pNativeTextureRef = pNativeTextureRef, + .pWidth = pWidth, + .pHeight = pHeight, + .pNativeFormat = pNativeFormat, + .pAPIType = pAPIType, + .pColorSpace = pColorSpace, + .pTextureBounds = pTextureBounds, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTexture, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle(struct w_steam_iface *_this, uint64_t ulOverlayHandle, void *pNativeTextureHandle) +{ + struct IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeTextureHandle = pNativeTextureHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetOverlayTextureSize(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVROverlay_IVROverlay_027_GetOverlayTextureSize_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetOverlayTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_CreateDashboardOverlay(struct w_steam_iface *_this, const char *pchOverlayKey, const char *pchOverlayFriendlyName, uint64_t *pMainHandle, uint64_t *pThumbnailHandle) +{ + struct IVROverlay_IVROverlay_027_CreateDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .pchOverlayKey = pchOverlayKey, + .pchOverlayFriendlyName = pchOverlayFriendlyName, + .pMainHandle = pMainHandle, + .pThumbnailHandle = pThumbnailHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_CreateDashboardOverlay, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_IsDashboardVisible(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_027_IsDashboardVisible_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_IsDashboardVisible, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlay_IVROverlay_027_IsActiveDashboardOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_IsActiveDashboardOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t unProcessId) +{ + struct IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .unProcessId = unProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t *punProcessId) +{ + struct IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .punProcessId = punProcessId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_027_ShowDashboard(struct w_steam_iface *_this, const char *pchOverlayToShow) +{ + struct IVROverlay_IVROverlay_027_ShowDashboard_params params = + { + .linux_side = _this->u_iface, + .pchOverlayToShow = pchOverlayToShow, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ShowDashboard, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ShowKeyboard(struct w_steam_iface *_this, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_027_ShowKeyboard_params params = + { + .linux_side = _this->u_iface, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ShowKeyboard, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, uint32_t eInputMode, uint32_t eLineInputMode, uint32_t unFlags, const char *pchDescription, uint32_t unCharMax, const char *pchExistingText, uint64_t uUserValue) +{ + struct IVROverlay_IVROverlay_027_ShowKeyboardForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .eInputMode = eInputMode, + .eLineInputMode = eLineInputMode, + .unFlags = unFlags, + .pchDescription = pchDescription, + .unCharMax = unCharMax, + .pchExistingText = pchExistingText, + .uUserValue = uUserValue, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ShowKeyboardForOverlay, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_GetKeyboardText(struct w_steam_iface *_this, char *pchText, uint32_t cchText) +{ + struct IVROverlay_IVROverlay_027_GetKeyboardText_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .cchText = cchText, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_GetKeyboardText, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_027_HideKeyboard(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_027_HideKeyboard_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_HideKeyboard, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute(struct w_steam_iface *_this, uint32_t eTrackingOrigin, const HmdMatrix34_t *pmatTrackingOriginToKeyboardTransform) +{ + struct IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute_params params = + { + .linux_side = _this->u_iface, + .eTrackingOrigin = eTrackingOrigin, + .pmatTrackingOriginToKeyboardTransform = pmatTrackingOriginToKeyboardTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, ¶ms ); +} + +void __thiscall winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay(struct w_steam_iface *_this, uint64_t ulOverlayHandle, HmdRect2_t avoidRect) +{ + struct IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .avoidRect = avoidRect, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, ¶ms ); +} + +uint32_t __thiscall winIVROverlay_IVROverlay_027_ShowMessageOverlay(struct w_steam_iface *_this, const char *pchText, const char *pchCaption, const char *pchButton0Text, const char *pchButton1Text, const char *pchButton2Text, const char *pchButton3Text) +{ + struct IVROverlay_IVROverlay_027_ShowMessageOverlay_params params = + { + .linux_side = _this->u_iface, + .pchText = pchText, + .pchCaption = pchCaption, + .pchButton0Text = pchButton0Text, + .pchButton1Text = pchButton1Text, + .pchButton2Text = pchButton2Text, + .pchButton3Text = pchButton3Text, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_ShowMessageOverlay, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlay_IVROverlay_027_CloseMessageOverlay(struct w_steam_iface *_this) +{ + struct IVROverlay_IVROverlay_027_CloseMessageOverlay_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlay_IVROverlay_027_CloseMessageOverlay, ¶ms ); +} + +extern vtable_ptr winIVROverlay_IVROverlay_027_vtable; + +DEFINE_RTTI_DATA0(winIVROverlay_IVROverlay_027, 0, ".?AVIVROverlay@@") + +__ASM_BLOCK_BEGIN(winIVROverlay_IVROverlay_027_vtables) + __ASM_VTABLE(winIVROverlay_IVROverlay_027, + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_FindOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_DestroyOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayKey) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayName) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayImageData) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayRenderingPid) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlag) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayFlags) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayColor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayAlpha) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexelAspect) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlaySortOrder) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayCurvature) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureBounds) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformType) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTransformCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTransformProjection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsOverlayVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_WaitFrameSync) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_PollNextOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayInputMethod) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayMouseScale) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ComputeOverlayIntersection) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsHoverTargetOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursor) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ClearOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayRaw) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetOverlayFromFile) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTexture) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetOverlayTextureSize) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CreateDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsDashboardVisible) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowDashboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_GetKeyboardText) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_HideKeyboard) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_ShowMessageOverlay) + VTABLE_ADD_FUNC(winIVROverlay_IVROverlay_027_CloseMessageOverlay) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlay_IVROverlay_027(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlay_IVROverlay_027_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlay_IVROverlay_027(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlay_IVROverlay_027_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(80); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 80 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVROverlay_IVROverlay_027_FindOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlay_IVROverlay_027_CreateOverlay, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlay_IVROverlay_027_DestroyOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlay_IVROverlay_027_GetOverlayKey, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVROverlay_IVROverlay_027_GetOverlayName, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVROverlay_IVROverlay_027_SetOverlayName, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVROverlay_IVROverlay_027_GetOverlayImageData, 5, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVROverlay_IVROverlay_027_GetOverlayErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVROverlay_IVROverlay_027_SetOverlayRenderingPid, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVROverlay_IVROverlay_027_GetOverlayRenderingPid, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVROverlay_IVROverlay_027_SetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVROverlay_IVROverlay_027_GetOverlayFlag, 3, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVROverlay_IVROverlay_027_GetOverlayFlags, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVROverlay_IVROverlay_027_SetOverlayColor, 4, TRUE, TRUE); + init_thunk(&thunks[14], r, winIVROverlay_IVROverlay_027_GetOverlayColor, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVROverlay_IVROverlay_027_SetOverlayAlpha, 2, TRUE, FALSE); + init_thunk(&thunks[16], r, winIVROverlay_IVROverlay_027_GetOverlayAlpha, 2, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVROverlay_IVROverlay_027_SetOverlayTexelAspect, 2, TRUE, FALSE); + init_thunk(&thunks[18], r, winIVROverlay_IVROverlay_027_GetOverlayTexelAspect, 2, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVROverlay_IVROverlay_027_SetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVROverlay_IVROverlay_027_GetOverlaySortOrder, 2, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVROverlay_IVROverlay_027_SetOverlayWidthInMeters, 2, TRUE, FALSE); + init_thunk(&thunks[22], r, winIVROverlay_IVROverlay_027_GetOverlayWidthInMeters, 2, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVROverlay_IVROverlay_027_SetOverlayCurvature, 2, TRUE, FALSE); + init_thunk(&thunks[24], r, winIVROverlay_IVROverlay_027_GetOverlayCurvature, 2, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVROverlay_IVROverlay_027_SetOverlayPreCurvePitch, 2, TRUE, FALSE); + init_thunk(&thunks[26], r, winIVROverlay_IVROverlay_027_GetOverlayPreCurvePitch, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVROverlay_IVROverlay_027_SetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVROverlay_IVROverlay_027_GetOverlayTextureColorSpace, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVROverlay_IVROverlay_027_SetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVROverlay_IVROverlay_027_GetOverlayTextureBounds, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVROverlay_IVROverlay_027_GetOverlayTransformType, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVROverlay_IVROverlay_027_SetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVROverlay_IVROverlay_027_GetOverlayTransformAbsolute, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceRelative, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVROverlay_IVROverlay_027_SetOverlayTransformTrackedDeviceComponent, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVROverlay_IVROverlay_027_GetOverlayTransformTrackedDeviceComponent, 4, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVROverlay_IVROverlay_027_SetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVROverlay_IVROverlay_027_GetOverlayTransformCursor, 2, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVROverlay_IVROverlay_027_SetOverlayTransformProjection, 5, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVROverlay_IVROverlay_027_ShowOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVROverlay_IVROverlay_027_HideOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVROverlay_IVROverlay_027_IsOverlayVisible, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVROverlay_IVROverlay_027_GetTransformForOverlayCoordinates, 4, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVROverlay_IVROverlay_027_WaitFrameSync, 1, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVROverlay_IVROverlay_027_PollNextOverlayEvent, 3, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVROverlay_IVROverlay_027_GetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[48], r, winIVROverlay_IVROverlay_027_SetOverlayInputMethod, 2, FALSE, FALSE); + init_thunk(&thunks[49], r, winIVROverlay_IVROverlay_027_GetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[50], r, winIVROverlay_IVROverlay_027_SetOverlayMouseScale, 2, FALSE, FALSE); + init_thunk(&thunks[51], r, winIVROverlay_IVROverlay_027_ComputeOverlayIntersection, 3, FALSE, FALSE); + init_thunk(&thunks[52], r, winIVROverlay_IVROverlay_027_IsHoverTargetOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[53], r, winIVROverlay_IVROverlay_027_SetOverlayIntersectionMask, 4, FALSE, FALSE); + init_thunk(&thunks[54], r, winIVROverlay_IVROverlay_027_TriggerLaserMouseHapticVibration, 4, TRUE, TRUE); + init_thunk(&thunks[55], r, winIVROverlay_IVROverlay_027_SetOverlayCursor, 2, FALSE, FALSE); + init_thunk(&thunks[56], r, winIVROverlay_IVROverlay_027_SetOverlayCursorPositionOverride, 2, FALSE, FALSE); + init_thunk(&thunks[57], r, winIVROverlay_IVROverlay_027_ClearOverlayCursorPositionOverride, 1, FALSE, FALSE); + init_thunk(&thunks[58], r, winIVROverlay_IVROverlay_027_SetOverlayTexture, 2, FALSE, FALSE); + init_thunk(&thunks[59], r, winIVROverlay_IVROverlay_027_ClearOverlayTexture, 1, FALSE, FALSE); + init_thunk(&thunks[60], r, winIVROverlay_IVROverlay_027_SetOverlayRaw, 5, FALSE, FALSE); + init_thunk(&thunks[61], r, winIVROverlay_IVROverlay_027_SetOverlayFromFile, 2, FALSE, FALSE); + init_thunk(&thunks[62], r, winIVROverlay_IVROverlay_027_GetOverlayTexture, 9, FALSE, FALSE); + init_thunk(&thunks[63], r, winIVROverlay_IVROverlay_027_ReleaseNativeOverlayHandle, 2, FALSE, FALSE); + init_thunk(&thunks[64], r, winIVROverlay_IVROverlay_027_GetOverlayTextureSize, 3, FALSE, FALSE); + init_thunk(&thunks[65], r, winIVROverlay_IVROverlay_027_CreateDashboardOverlay, 4, FALSE, FALSE); + init_thunk(&thunks[66], r, winIVROverlay_IVROverlay_027_IsDashboardVisible, 0, FALSE, FALSE); + init_thunk(&thunks[67], r, winIVROverlay_IVROverlay_027_IsActiveDashboardOverlay, 1, FALSE, FALSE); + init_thunk(&thunks[68], r, winIVROverlay_IVROverlay_027_SetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[69], r, winIVROverlay_IVROverlay_027_GetDashboardOverlaySceneProcess, 2, FALSE, FALSE); + init_thunk(&thunks[70], r, winIVROverlay_IVROverlay_027_ShowDashboard, 1, FALSE, FALSE); + init_thunk(&thunks[71], r, winIVROverlay_IVROverlay_027_GetPrimaryDashboardDevice, 0, FALSE, FALSE); + init_thunk(&thunks[72], r, winIVROverlay_IVROverlay_027_ShowKeyboard, 7, FALSE, FALSE); + init_thunk(&thunks[73], r, winIVROverlay_IVROverlay_027_ShowKeyboardForOverlay, 8, FALSE, FALSE); + init_thunk(&thunks[74], r, winIVROverlay_IVROverlay_027_GetKeyboardText, 2, FALSE, FALSE); + init_thunk(&thunks[75], r, winIVROverlay_IVROverlay_027_HideKeyboard, 0, FALSE, FALSE); + init_thunk(&thunks[76], r, winIVROverlay_IVROverlay_027_SetKeyboardTransformAbsolute, 2, FALSE, FALSE); + init_thunk(&thunks[77], r, winIVROverlay_IVROverlay_027_SetKeyboardPositionForOverlay, 2, FALSE, FALSE); + init_thunk(&thunks[78], r, winIVROverlay_IVROverlay_027_ShowMessageOverlay, 6, FALSE, FALSE); + init_thunk(&thunks[79], r, winIVROverlay_IVROverlay_027_CloseMessageOverlay, 0, FALSE, FALSE); + for (i = 0; i < 80; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlay_IVROverlay_027_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_winIVROverlay_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVROverlay_IVROverlay_001_rtti( base ); + init_winIVROverlay_IVROverlay_002_rtti( base ); + init_winIVROverlay_IVROverlay_003_rtti( base ); + init_winIVROverlay_IVROverlay_004_rtti( base ); + init_winIVROverlay_IVROverlay_005_rtti( base ); + init_winIVROverlay_IVROverlay_007_rtti( base ); + init_winIVROverlay_IVROverlay_008_rtti( base ); + init_winIVROverlay_IVROverlay_010_rtti( base ); + init_winIVROverlay_IVROverlay_011_rtti( base ); + init_winIVROverlay_IVROverlay_012_rtti( base ); + init_winIVROverlay_IVROverlay_013_rtti( base ); + init_winIVROverlay_IVROverlay_014_rtti( base ); + init_winIVROverlay_IVROverlay_016_rtti( base ); + init_winIVROverlay_IVROverlay_017_rtti( base ); + init_winIVROverlay_IVROverlay_018_rtti( base ); + init_winIVROverlay_IVROverlay_019_rtti( base ); + init_winIVROverlay_IVROverlay_020_rtti( base ); + init_winIVROverlay_IVROverlay_021_rtti( base ); + init_winIVROverlay_IVROverlay_022_rtti( base ); + init_winIVROverlay_IVROverlay_024_rtti( base ); + init_winIVROverlay_IVROverlay_025_rtti( base ); + init_winIVROverlay_IVROverlay_026_rtti( base ); + init_winIVROverlay_IVROverlay_027_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVROverlayView.c b/vrclient_x64/winIVROverlayView.c new file mode 100644 index 000000000..bbf88996c --- /dev/null +++ b/vrclient_x64/winIVROverlayView.c @@ -0,0 +1,127 @@ +/* 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(winIVROverlayView_IVROverlayView_003_AcquireOverlayView, 24) +DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, 8) +DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 16) +DEFINE_THISCALL_WRAPPER(winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 12) + +uint32_t __thiscall winIVROverlayView_IVROverlayView_003_AcquireOverlayView(struct w_steam_iface *_this, uint64_t ulOverlayHandle, w_VRNativeDevice_t *pNativeDevice, w_VROverlayView_t *pOverlayView, uint32_t unOverlayViewSize) +{ + struct IVROverlayView_IVROverlayView_003_AcquireOverlayView_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pNativeDevice = pNativeDevice, + .pOverlayView = pOverlayView, + .unOverlayViewSize = unOverlayViewSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlayView_IVROverlayView_003_AcquireOverlayView, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVROverlayView_IVROverlayView_003_ReleaseOverlayView(struct w_steam_iface *_this, w_VROverlayView_t *pOverlayView) +{ + struct IVROverlayView_IVROverlayView_003_ReleaseOverlayView_params params = + { + .linux_side = _this->u_iface, + .pOverlayView = pOverlayView, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlayView_IVROverlayView_003_ReleaseOverlayView, ¶ms ); + return params._ret; +} + +void __thiscall winIVROverlayView_IVROverlayView_003_PostOverlayEvent(struct w_steam_iface *_this, uint64_t ulOverlayHandle, const w_VREvent_t_1168 *pvrEvent) +{ + struct IVROverlayView_IVROverlayView_003_PostOverlayEvent_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + .pvrEvent = pvrEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlayView_IVROverlayView_003_PostOverlayEvent, ¶ms ); +} + +int8_t __thiscall winIVROverlayView_IVROverlayView_003_IsViewingPermitted(struct w_steam_iface *_this, uint64_t ulOverlayHandle) +{ + struct IVROverlayView_IVROverlayView_003_IsViewingPermitted_params params = + { + .linux_side = _this->u_iface, + .ulOverlayHandle = ulOverlayHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVROverlayView_IVROverlayView_003_IsViewingPermitted, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVROverlayView_IVROverlayView_003_vtable; + +DEFINE_RTTI_DATA0(winIVROverlayView_IVROverlayView_003, 0, ".?AVIVROverlayView@@") + +__ASM_BLOCK_BEGIN(winIVROverlayView_IVROverlayView_003_vtables) + __ASM_VTABLE(winIVROverlayView_IVROverlayView_003, + VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_AcquireOverlayView) + VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_ReleaseOverlayView) + VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_PostOverlayEvent) + VTABLE_ADD_FUNC(winIVROverlayView_IVROverlayView_003_IsViewingPermitted) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVROverlayView_IVROverlayView_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVROverlayView_IVROverlayView_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVROverlayView_IVROverlayView_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVROverlayView_IVROverlayView_003_AcquireOverlayView, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVROverlayView_IVROverlayView_003_ReleaseOverlayView, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVROverlayView_IVROverlayView_003_PostOverlayEvent, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVROverlayView_IVROverlayView_003_IsViewingPermitted, 1, FALSE, FALSE); + for (i = 0; i < 4; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVROverlayView_IVROverlayView_003_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_winIVROverlayView_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVROverlayView_IVROverlayView_003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRRenderModels.c b/vrclient_x64/winIVRRenderModels.c new file mode 100644 index 000000000..ee8f958a4 --- /dev/null +++ b/vrclient_x64/winIVRRenderModels.c @@ -0,0 +1,1093 @@ +/* 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(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 4) + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_001_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_090 *pRenderModel) +{ + struct IVRRenderModels_IVRRenderModels_001_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pRenderModel = pRenderModel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_001_LoadRenderModel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRRenderModels_IVRRenderModels_001_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_090 *pRenderModel) +{ + struct IVRRenderModels_IVRRenderModels_001_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_001_FreeRenderModel, ¶ms ); +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_001_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_001_GetRenderModelName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount(struct w_steam_iface *_this) +{ + struct IVRRenderModels_IVRRenderModels_001_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_001_GetRenderModelCount, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_001_vtable; + +DEFINE_RTTI_DATA0(winIVRRenderModels_IVRRenderModels_001, 0, ".?AVIVRRenderModels@@") + +__ASM_BLOCK_BEGIN(winIVRRenderModels_IVRRenderModels_001_vtables) + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_001, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_001_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_001_GetRenderModelCount, 0, FALSE, FALSE); + for (i = 0; i < 4; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_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(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_LoadTexture, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_FreeTexture, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_GetComponentState, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 12) + +extern int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel); + +extern int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_LoadTexture(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_002_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_002_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetRenderModelName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount(struct w_steam_iface *_this) +{ + struct IVRRenderModels_IVRRenderModels_002_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetRenderModelCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetComponentCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetComponentName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRRenderModels_IVRRenderModels_002_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_GetComponentState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_002_vtable; + +DEFINE_RTTI_DATA0(winIVRRenderModels_IVRRenderModels_002, 0, ".?AVIVRRenderModels@@") + +__ASM_BLOCK_BEGIN(winIVRRenderModels_IVRRenderModels_002_vtables) + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_002, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_LoadTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_002_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_002_LoadTexture, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_002_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_002_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_002_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_002_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_002_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_002_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_002_GetComponentState, 4, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_002_RenderModelHasComponent, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTexture, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_GetComponentState, 24) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 12) + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async(struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_004_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetRenderModelName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount(struct w_steam_iface *_this) +{ + struct IVRRenderModels_IVRRenderModels_004_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetRenderModelCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetComponentCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetComponentName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_004_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRRenderModels_IVRRenderModels_004_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_GetComponentState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_004_vtable; + +DEFINE_RTTI_DATA0(winIVRRenderModels_IVRRenderModels_004, 0, ".?AVIVRRenderModels@@") + +__ASM_BLOCK_BEGIN(winIVRRenderModels_IVRRenderModels_004_vtables) + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_004, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadRenderModel_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_004_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_004_LoadTexture_Async, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_004_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_004_LoadTextureD3D11_Async, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_004_FreeTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_004_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_004_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_004_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_004_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_004_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_004_GetComponentState, 5, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_004_RenderModelHasComponent, 2, FALSE, FALSE); + for (i = 0; i < 14; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_004_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(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTexture, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetComponentState, 24) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 8) + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_090 **ppTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_090 *pTexture); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async(struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async(struct w_steam_iface *_this, int32_t textureId, void *pDstTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetRenderModelName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount(struct w_steam_iface *_this) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetRenderModelCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetComponentCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetComponentName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRRenderModels_IVRRenderModels_005_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetComponentState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, uint32_t *peError) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchThumbnailURL = pchThumbnailURL, + .unThumbnailURLLen = unThumbnailURLLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, uint32_t *peError) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchOriginalPath = pchOriginalPath, + .unOriginalPathLen = unOriginalPathLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_005_vtable; + +DEFINE_RTTI_DATA0(winIVRRenderModels_IVRRenderModels_005, 0, ".?AVIVRRenderModels@@") + +__ASM_BLOCK_BEGIN(winIVRRenderModels_IVRRenderModels_005_vtables) + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_005, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadRenderModel_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_005_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_005_LoadTexture_Async, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_005_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_005_LoadTextureD3D11_Async, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_005_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_005_FreeTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_005_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_005_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_005_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_005_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_005_GetComponentState, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_005_RenderModelHasComponent, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelThumbnailURL, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelOriginalPath, 4, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_005_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); + for (i = 0; i < 18; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_005_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(winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeTexture, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelName, 16) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount, 4) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentCount, 8) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, 28) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetComponentState, 24) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, 12) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 20) +DEFINE_THISCALL_WRAPPER(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 8) + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_0912 **ppRenderModel); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_0912 *pRenderModel); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async(struct w_steam_iface *_this, int32_t textureId, w_RenderModel_TextureMap_t_1237 **ppTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTexture(struct w_steam_iface *_this, w_RenderModel_TextureMap_t_1237 *pTexture); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async(struct w_steam_iface *_this, int32_t textureId, void *pD3D11Device, void **ppD3D11Texture2D); + +extern uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async(struct w_steam_iface *_this, int32_t textureId, void *pDstTexture); + +extern void __thiscall winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11(struct w_steam_iface *_this, void *pD3D11Texture2D); + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelName(struct w_steam_iface *_this, uint32_t unRenderModelIndex, char *pchRenderModelName, uint32_t unRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelName_params params = + { + .linux_side = _this->u_iface, + .unRenderModelIndex = unRenderModelIndex, + .pchRenderModelName = pchRenderModelName, + .unRenderModelNameLen = unRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetRenderModelName, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount(struct w_steam_iface *_this) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelCount_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetRenderModelCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentCount(struct w_steam_iface *_this, const char *pchRenderModelName) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentCount_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentCount, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentName(struct w_steam_iface *_this, const char *pchRenderModelName, uint32_t unComponentIndex, char *pchComponentName, uint32_t unComponentNameLen) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .unComponentIndex = unComponentIndex, + .pchComponentName = pchComponentName, + .unComponentNameLen = unComponentNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentName, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, char *pchComponentRenderModelName, uint32_t unComponentRenderModelNameLen) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pchComponentRenderModelName = pchComponentRenderModelName, + .unComponentRenderModelNameLen = unComponentRenderModelNameLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, uint64_t devicePath, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .devicePath = devicePath, + .pState = pState, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetComponentState(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName, const w_VRControllerState001_t *pControllerState, const RenderModel_ControllerMode_State_t *pState, RenderModel_ComponentState_t *pComponentState) +{ + struct IVRRenderModels_IVRRenderModels_006_GetComponentState_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + .pControllerState = pControllerState, + .pState = pState, + .pComponentState = pComponentState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetComponentState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent(struct w_steam_iface *_this, const char *pchRenderModelName, const char *pchComponentName) +{ + struct IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchComponentName = pchComponentName, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchThumbnailURL, uint32_t unThumbnailURLLen, uint32_t *peError) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchThumbnailURL = pchThumbnailURL, + .unThumbnailURLLen = unThumbnailURLLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath(struct w_steam_iface *_this, const char *pchRenderModelName, char *pchOriginalPath, uint32_t unOriginalPathLen, uint32_t *peError) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pchOriginalPath = pchOriginalPath, + .unOriginalPathLen = unOriginalPathLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRRenderModels_IVRRenderModels_006_vtable; + +DEFINE_RTTI_DATA0(winIVRRenderModels_IVRRenderModels_006, 0, ".?AVIVRRenderModels@@") + +__ASM_BLOCK_BEGIN(winIVRRenderModels_IVRRenderModels_006_vtables) + __ASM_VTABLE(winIVRRenderModels_IVRRenderModels_006, + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeTexture) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentCount) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetComponentState) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath) + VTABLE_ADD_FUNC(winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRRenderModels_IVRRenderModels_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRRenderModels_IVRRenderModels_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(19); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 19 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRRenderModels_IVRRenderModels_006_LoadRenderModel_Async, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRRenderModels_IVRRenderModels_006_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRRenderModels_IVRRenderModels_006_LoadTexture_Async, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRRenderModels_IVRRenderModels_006_FreeTexture, 1, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRRenderModels_IVRRenderModels_006_LoadTextureD3D11_Async, 3, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRRenderModels_IVRRenderModels_006_LoadIntoTextureD3D11_Async, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRRenderModels_IVRRenderModels_006_FreeTextureD3D11, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelName, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelCount, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRRenderModels_IVRRenderModels_006_GetComponentCount, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRRenderModels_IVRRenderModels_006_GetComponentName, 4, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRRenderModels_IVRRenderModels_006_GetComponentButtonMask, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRRenderModels_IVRRenderModels_006_GetComponentRenderModelName, 4, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath, 5, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRRenderModels_IVRRenderModels_006_GetComponentState, 5, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRRenderModels_IVRRenderModels_006_RenderModelHasComponent, 2, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelThumbnailURL, 4, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelOriginalPath, 4, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRRenderModels_IVRRenderModels_006_GetRenderModelErrorNameFromEnum, 1, FALSE, FALSE); + for (i = 0; i < 19; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRRenderModels_IVRRenderModels_006_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_winIVRRenderModels_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRRenderModels_IVRRenderModels_001_rtti( base ); + init_winIVRRenderModels_IVRRenderModels_002_rtti( base ); + init_winIVRRenderModels_IVRRenderModels_004_rtti( base ); + init_winIVRRenderModels_IVRRenderModels_005_rtti( base ); + init_winIVRRenderModels_IVRRenderModels_006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRResources.c b/vrclient_x64/winIVRResources.c new file mode 100644 index 000000000..43c1a23e3 --- /dev/null +++ b/vrclient_x64/winIVRResources.c @@ -0,0 +1,99 @@ +/* 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(winIVRResources_IVRResources_001_LoadSharedResource, 16) +DEFINE_THISCALL_WRAPPER(winIVRResources_IVRResources_001_GetResourceFullPath, 20) + +uint32_t __thiscall winIVRResources_IVRResources_001_LoadSharedResource(struct w_steam_iface *_this, const char *pchResourceName, char *pchBuffer, uint32_t unBufferLen) +{ + struct IVRResources_IVRResources_001_LoadSharedResource_params params = + { + .linux_side = _this->u_iface, + .pchResourceName = pchResourceName, + .pchBuffer = pchBuffer, + .unBufferLen = unBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRResources_IVRResources_001_LoadSharedResource, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRResources_IVRResources_001_GetResourceFullPath(struct w_steam_iface *_this, const char *pchResourceName, const char *pchResourceTypeDirectory, char *pchPathBuffer, uint32_t unBufferLen) +{ + struct IVRResources_IVRResources_001_GetResourceFullPath_params params = + { + .linux_side = _this->u_iface, + .pchResourceName = pchResourceName, + .pchResourceTypeDirectory = pchResourceTypeDirectory, + .pchPathBuffer = pchPathBuffer, + .unBufferLen = unBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRResources_IVRResources_001_GetResourceFullPath, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRResources_IVRResources_001_vtable; + +DEFINE_RTTI_DATA0(winIVRResources_IVRResources_001, 0, ".?AVIVRResources@@") + +__ASM_BLOCK_BEGIN(winIVRResources_IVRResources_001_vtables) + __ASM_VTABLE(winIVRResources_IVRResources_001, + VTABLE_ADD_FUNC(winIVRResources_IVRResources_001_LoadSharedResource) + VTABLE_ADD_FUNC(winIVRResources_IVRResources_001_GetResourceFullPath) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRResources_IVRResources_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRResources_IVRResources_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRResources_IVRResources_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRResources_IVRResources_001_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, winIVRResources_IVRResources_001_LoadSharedResource, 3, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRResources_IVRResources_001_GetResourceFullPath, 4, 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_winIVRResources_IVRResources_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); +} + +void init_winIVRResources_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRResources_IVRResources_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRScreenshots.c b/vrclient_x64/winIVRScreenshots.c new file mode 100644 index 000000000..75bd43790 --- /dev/null +++ b/vrclient_x64/winIVRScreenshots.c @@ -0,0 +1,184 @@ +/* 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(winIVRScreenshots_IVRScreenshots_001_RequestScreenshot, 20) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_HookScreenshot, 12) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, 12) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, 24) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, 12) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, 16) +DEFINE_THISCALL_WRAPPER(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 20) + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_RequestScreenshot(struct w_steam_iface *_this, uint32_t *pOutScreenshotHandle, uint32_t type, const char *pchPreviewFilename, const char *pchVRFilename) +{ + struct IVRScreenshots_IVRScreenshots_001_RequestScreenshot_params params = + { + .linux_side = _this->u_iface, + .pOutScreenshotHandle = pOutScreenshotHandle, + .type = type, + .pchPreviewFilename = pchPreviewFilename, + .pchVRFilename = pchVRFilename, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_RequestScreenshot, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_HookScreenshot(struct w_steam_iface *_this, uint32_t *pSupportedTypes, int32_t numTypes) +{ + struct IVRScreenshots_IVRScreenshots_001_HookScreenshot_params params = + { + .linux_side = _this->u_iface, + .pSupportedTypes = pSupportedTypes, + .numTypes = numTypes, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_HookScreenshot, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType(struct w_steam_iface *_this, uint32_t screenshotHandle, uint32_t *pError) +{ + struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename(struct w_steam_iface *_this, uint32_t screenshotHandle, uint32_t filenameType, char *pchFilename, uint32_t cchFilename, uint32_t *pError) +{ + struct IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .filenameType = filenameType, + .pchFilename = pchFilename, + .cchFilename = cchFilename, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress(struct w_steam_iface *_this, uint32_t screenshotHandle, float flProgress) +{ + struct IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .flProgress = flProgress, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot(struct w_steam_iface *_this, uint32_t *pOutScreenshotHandle, const char *pchPreviewFilename, const char *pchVRFilename) +{ + struct IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot_params params = + { + .linux_side = _this->u_iface, + .pOutScreenshotHandle = pOutScreenshotHandle, + .pchPreviewFilename = pchPreviewFilename, + .pchVRFilename = pchVRFilename, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot(struct w_steam_iface *_this, uint32_t screenshotHandle, uint32_t type, const char *pchSourcePreviewFilename, const char *pchSourceVRFilename) +{ + struct IVRScreenshots_IVRScreenshots_001_SubmitScreenshot_params params = + { + .linux_side = _this->u_iface, + .screenshotHandle = screenshotHandle, + .type = type, + .pchSourcePreviewFilename = pchSourcePreviewFilename, + .pchSourceVRFilename = pchSourceVRFilename, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRScreenshots_IVRScreenshots_001_SubmitScreenshot, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRScreenshots_IVRScreenshots_001_vtable; + +DEFINE_RTTI_DATA0(winIVRScreenshots_IVRScreenshots_001, 0, ".?AVIVRScreenshots@@") + +__ASM_BLOCK_BEGIN(winIVRScreenshots_IVRScreenshots_001_vtables) + __ASM_VTABLE(winIVRScreenshots_IVRScreenshots_001, + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_RequestScreenshot) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_HookScreenshot) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot) + VTABLE_ADD_FUNC(winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRScreenshots_IVRScreenshots_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRScreenshots_IVRScreenshots_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRScreenshots_IVRScreenshots_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRScreenshots_IVRScreenshots_001_HookScreenshot, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyType, 2, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRScreenshots_IVRScreenshots_001_GetScreenshotPropertyFilename, 5, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRScreenshots_IVRScreenshots_001_UpdateScreenshotProgress, 2, TRUE, FALSE); + init_thunk(&thunks[5], r, winIVRScreenshots_IVRScreenshots_001_TakeStereoScreenshot, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRScreenshots_IVRScreenshots_001_SubmitScreenshot, 4, FALSE, FALSE); + for (i = 0; i < 7; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRScreenshots_IVRScreenshots_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); +} + +void init_winIVRScreenshots_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRScreenshots_IVRScreenshots_001_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRSettings.c b/vrclient_x64/winIVRSettings.c new file mode 100644 index 000000000..a31b20369 --- /dev/null +++ b/vrclient_x64/winIVRSettings.c @@ -0,0 +1,747 @@ +/* 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(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_Sync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetBool, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetBool, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetInt32, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetInt32, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetFloat, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetFloat, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_GetString, 28) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_SetString, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveSection, 12) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_001_RemoveKeyInSection, 16) + +const char * __thiscall winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSettings_IVRSettings_001_Sync(struct w_steam_iface *_this, int8_t bForce, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_Sync_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_Sync, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSettings_IVRSettings_001_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int8_t bDefaultValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bDefaultValue = bDefaultValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_GetBool, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_001_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int8_t bValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_SetBool, ¶ms ); +} + +int32_t __thiscall winIVRSettings_IVRSettings_001_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nDefaultValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nDefaultValue = nDefaultValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_GetInt32, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_001_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_SetInt32, ¶ms ); +} + +float __thiscall winIVRSettings_IVRSettings_001_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flDefaultValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flDefaultValue = flDefaultValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_GetFloat, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_001_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_SetFloat, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_001_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, const char *pchDefaultValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .pchDefaultValue = pchDefaultValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_GetString, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_001_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_SetString, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_001_RemoveSection(struct w_steam_iface *_this, const char *pchSection, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_RemoveSection, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_001_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_001_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_001_RemoveKeyInSection, ¶ms ); +} + +extern vtable_ptr winIVRSettings_IVRSettings_001_vtable; + +DEFINE_RTTI_DATA0(winIVRSettings_IVRSettings_001, 0, ".?AVIVRSettings@@") + +__ASM_BLOCK_BEGIN(winIVRSettings_IVRSettings_001_vtables) + __ASM_VTABLE(winIVRSettings_IVRSettings_001, + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetSettingsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_Sync) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_GetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_SetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveSection) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_001_RemoveKeyInSection) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSettings_IVRSettings_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSettings_IVRSettings_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSettings_IVRSettings_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSettings_IVRSettings_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_001_Sync, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_001_GetBool, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_001_SetBool, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_001_GetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_001_SetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_001_GetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_001_SetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_001_GetString, 6, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_001_SetString, 4, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_001_RemoveSection, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_001_RemoveKeyInSection, 3, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSettings_IVRSettings_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(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_Sync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetBool, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetInt32, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetFloat, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_SetString, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetInt32, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetFloat, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_GetString, 24) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveSection, 12) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_002_RemoveKeyInSection, 16) + +const char * __thiscall winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSettings_IVRSettings_002_Sync(struct w_steam_iface *_this, int8_t bForce, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_Sync_params params = + { + .linux_side = _this->u_iface, + .bForce = bForce, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_Sync, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_002_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int8_t bValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_SetBool, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_002_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_SetInt32, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_002_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_SetFloat, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_002_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_SetString, ¶ms ); +} + +int8_t __thiscall winIVRSettings_IVRSettings_002_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_GetBool, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSettings_IVRSettings_002_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_GetInt32, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSettings_IVRSettings_002_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_GetFloat, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_002_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_GetString, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_002_RemoveSection(struct w_steam_iface *_this, const char *pchSection, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_RemoveSection, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_002_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_002_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_002_RemoveKeyInSection, ¶ms ); +} + +extern vtable_ptr winIVRSettings_IVRSettings_002_vtable; + +DEFINE_RTTI_DATA0(winIVRSettings_IVRSettings_002, 0, ".?AVIVRSettings@@") + +__ASM_BLOCK_BEGIN(winIVRSettings_IVRSettings_002_vtables) + __ASM_VTABLE(winIVRSettings_IVRSettings_002, + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetSettingsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_Sync) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_SetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_GetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveSection) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_002_RemoveKeyInSection) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSettings_IVRSettings_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSettings_IVRSettings_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSettings_IVRSettings_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSettings_IVRSettings_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_002_Sync, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_002_SetBool, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_002_SetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_002_SetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_002_SetString, 4, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_002_GetBool, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_002_GetInt32, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_002_GetFloat, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_002_GetString, 5, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_002_RemoveSection, 2, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSettings_IVRSettings_002_RemoveKeyInSection, 3, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSettings_IVRSettings_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetBool, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetInt32, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetFloat, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_SetString, 20) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetBool, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetInt32, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetFloat, 16) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_GetString, 24) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveSection, 12) +DEFINE_THISCALL_WRAPPER(winIVRSettings_IVRSettings_003_RemoveKeyInSection, 16) + +const char * __thiscall winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eError) +{ + struct IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eError = eError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_003_SetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int8_t bValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_SetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .bValue = bValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_SetBool, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_003_SetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, int32_t nValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_SetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .nValue = nValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_SetInt32, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_003_SetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, float flValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_SetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .flValue = flValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_SetFloat, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_003_SetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, const char *pchValue, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_SetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_SetString, ¶ms ); +} + +int8_t __thiscall winIVRSettings_IVRSettings_003_GetBool(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_GetBool_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_GetBool, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSettings_IVRSettings_003_GetInt32(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_GetInt32_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_GetInt32, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSettings_IVRSettings_003_GetFloat(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_GetFloat_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_GetFloat, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSettings_IVRSettings_003_GetString(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, char *pchValue, uint32_t unValueLen, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_GetString_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .pchValue = pchValue, + .unValueLen = unValueLen, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_GetString, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_003_RemoveSection(struct w_steam_iface *_this, const char *pchSection, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_RemoveSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_RemoveSection, ¶ms ); +} + +void __thiscall winIVRSettings_IVRSettings_003_RemoveKeyInSection(struct w_steam_iface *_this, const char *pchSection, const char *pchSettingsKey, uint32_t *peError) +{ + struct IVRSettings_IVRSettings_003_RemoveKeyInSection_params params = + { + .linux_side = _this->u_iface, + .pchSection = pchSection, + .pchSettingsKey = pchSettingsKey, + .peError = peError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSettings_IVRSettings_003_RemoveKeyInSection, ¶ms ); +} + +extern vtable_ptr winIVRSettings_IVRSettings_003_vtable; + +DEFINE_RTTI_DATA0(winIVRSettings_IVRSettings_003, 0, ".?AVIVRSettings@@") + +__ASM_BLOCK_BEGIN(winIVRSettings_IVRSettings_003_vtables) + __ASM_VTABLE(winIVRSettings_IVRSettings_003, + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_SetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetBool) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetInt32) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetFloat) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_GetString) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveSection) + VTABLE_ADD_FUNC(winIVRSettings_IVRSettings_003_RemoveKeyInSection) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSettings_IVRSettings_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSettings_IVRSettings_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSettings_IVRSettings_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSettings_IVRSettings_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(11); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 11 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSettings_IVRSettings_003_GetSettingsErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSettings_IVRSettings_003_SetBool, 4, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSettings_IVRSettings_003_SetInt32, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSettings_IVRSettings_003_SetFloat, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSettings_IVRSettings_003_SetString, 4, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSettings_IVRSettings_003_GetBool, 3, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSettings_IVRSettings_003_GetInt32, 3, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSettings_IVRSettings_003_GetFloat, 3, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSettings_IVRSettings_003_GetString, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSettings_IVRSettings_003_RemoveSection, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSettings_IVRSettings_003_RemoveKeyInSection, 3, FALSE, FALSE); + for (i = 0; i < 11; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSettings_IVRSettings_003_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_winIVRSettings_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRSettings_IVRSettings_001_rtti( base ); + init_winIVRSettings_IVRSettings_002_rtti( base ); + init_winIVRSettings_IVRSettings_003_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRSystem.c b/vrclient_x64/winIVRSystem.c new file mode 100644 index 000000000..b9c298a47 --- /dev/null +++ b/vrclient_x64/winIVRSystem.c @@ -0,0 +1,11691 @@ +/* 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(winIVRSystem_IVRSystem_003_GetWindowBounds, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_AttachToWindow, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_LoadRenderModel, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_FreeRenderModel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 32) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 4) + +void __thiscall winIVRSystem_IVRSystem_003_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_003_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetWindowBounds, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_003_GetEyeOutputViewport(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_003_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetEyeOutputViewport, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_003_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_003_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_003_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_003_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_003_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_003_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_003_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_003_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_003_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_003_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_003_AttachToWindow(struct w_steam_iface *_this, void *hWnd) +{ + struct IVRSystem_IVRSystem_003_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_AttachToWindow, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_003_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_003_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_LoadRenderModel(struct w_steam_iface *_this, const char *pchRenderModelName, w_RenderModel_t_090 *pRenderModel) +{ + struct IVRSystem_IVRSystem_003_LoadRenderModel_params params = + { + .linux_side = _this->u_iface, + .pchRenderModelName = pchRenderModelName, + .pRenderModel = pRenderModel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_LoadRenderModel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_003_FreeRenderModel(struct w_steam_iface *_this, w_RenderModel_t_090 *pRenderModel) +{ + struct IVRSystem_IVRSystem_003_FreeRenderModel_params params = + { + .linux_side = _this->u_iface, + .pRenderModel = pRenderModel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_FreeRenderModel, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_003_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_003_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_003_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_090 *pEvent) +{ + struct IVRSystem_IVRSystem_003_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_090 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_003_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_003_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_003_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_003_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_003_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_003_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_003_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse(struct w_steam_iface *_this, const Compositor_OverlaySettings *overlaySettings, HmdVector2_t vecWindowClientPositionOnScreen, HmdVector2_t vecWindowClientSize, uint32_t unControllerDeviceIndex, uint32_t eOutputType) +{ + struct IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse_params params = + { + .linux_side = _this->u_iface, + .overlaySettings = overlaySettings, + .vecWindowClientPositionOnScreen = vecWindowClientPositionOnScreen, + .vecWindowClientSize = vecWindowClientSize, + .unControllerDeviceIndex = unControllerDeviceIndex, + .eOutputType = eOutputType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_003_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_003_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_003_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_003_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_003, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_003_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_003, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_LoadRenderModel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_FreeRenderModel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(38); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 38 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_003_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_003_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_003_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_003_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_003_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_003_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_003_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_003_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_003_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_003_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_003_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_003_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_003_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_003_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_003_LoadRenderModel, 2, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_003_FreeRenderModel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_003_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_003_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_003_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_003_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_003_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_003_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_003_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_003_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_003_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_003_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_003_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_003_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_003_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_003_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_003_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_003_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_003_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_003_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_003_HandleControllerOverlayInteractionAsMouse, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_003_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_003_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_003_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + for (i = 0; i < 38; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_003_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(winIVRSystem_IVRSystem_004_GetWindowBounds, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_AttachToWindow, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_004_DriverDebugRequest, 20) + +void __thiscall winIVRSystem_IVRSystem_004_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_004_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetWindowBounds, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_004_GetEyeOutputViewport(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_004_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetEyeOutputViewport, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_004_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_004_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_004_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_004_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_004_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_004_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_004_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_004_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_004_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_004_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_004_AttachToWindow(struct w_steam_iface *_this, void *hWnd) +{ + struct IVRSystem_IVRSystem_004_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_AttachToWindow, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_004_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_004_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_004_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_004_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_004_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_092 *pEvent) +{ + struct IVRSystem_IVRSystem_004_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_092 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_004_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_004_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_004_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_004_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_004_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_004_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_004_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_004_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_004_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_004_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_004_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_004_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_004_DriverDebugRequest, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_004_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_004, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_004_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_004, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_004_DriverDebugRequest) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(36); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 36 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_004_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_004_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_004_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_004_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_004_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_004_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_004_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_004_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_004_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_004_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_004_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_004_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_004_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_004_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_004_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_004_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_004_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_004_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_004_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_004_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_004_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_004_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_004_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_004_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_004_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_004_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_004_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_004_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_004_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_004_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_004_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_004_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_004_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_004_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_004_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_004_DriverDebugRequest, 4, FALSE, FALSE); + for (i = 0; i < 36; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_004_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(winIVRSystem_IVRSystem_005_GetWindowBounds, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_AttachToWindow, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_005_DriverDebugRequest, 20) + +void __thiscall winIVRSystem_IVRSystem_005_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_005_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetWindowBounds, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_005_GetEyeOutputViewport(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_005_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetEyeOutputViewport, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_005_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_005_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_005_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_005_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_005_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_005_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_005_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_005_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_005_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_005_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_005_AttachToWindow(struct w_steam_iface *_this, void *hWnd) +{ + struct IVRSystem_IVRSystem_005_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_AttachToWindow, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_005_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_005_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_005_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_005_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_097 *pEvent) +{ + struct IVRSystem_IVRSystem_005_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_097 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_005_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_005_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_005_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_005_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_005_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_005_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_005_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_005_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_005_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_005_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_005_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_005_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_005_DriverDebugRequest, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_005_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_005, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_005_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_005, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_005_DriverDebugRequest) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(37); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 37 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_005_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_005_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_005_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_005_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_005_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_005_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_005_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_005_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_005_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_005_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_005_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_005_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_005_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_005_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_005_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_005_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_005_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_005_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_005_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_005_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_005_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_005_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_005_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_005_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_005_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_005_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_005_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_005_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_005_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_005_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_005_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_005_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_005_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_005_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_005_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_005_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_005_DriverDebugRequest, 4, FALSE, FALSE); + for (i = 0; i < 37; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_005_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(winIVRSystem_IVRSystem_006_GetWindowBounds, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_AttachToWindow, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_006_SetDisplayVisibility, 8) + +void __thiscall winIVRSystem_IVRSystem_006_GetWindowBounds(struct w_steam_iface *_this, int32_t *pnX, int32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_006_GetWindowBounds_params params = + { + .linux_side = _this->u_iface, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetWindowBounds, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_006_GetEyeOutputViewport(struct w_steam_iface *_this, uint32_t eEye, uint32_t *pnX, uint32_t *pnY, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_006_GetEyeOutputViewport_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pnX = pnX, + .pnY = pnY, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetEyeOutputViewport, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_006_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_006_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_006_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_006_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_006_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_006_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_006_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_006_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_006_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex, int32_t *pnAdapterOutputIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_006_AttachToWindow(struct w_steam_iface *_this, void *hWnd) +{ + struct IVRSystem_IVRSystem_006_AttachToWindow_params params = + { + .linux_side = _this->u_iface, + .hWnd = hWnd, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_AttachToWindow, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_006_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_006_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_006_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0910 *pEvent) +{ + struct IVRSystem_IVRSystem_006_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0910 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_006_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_006_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_006_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_006_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_006_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_006_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_006_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_006_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_006_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_006_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_006_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_006_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_006_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_006_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_006_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_006_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_006, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_006_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_006, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetWindowBounds) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeOutputViewport) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_AttachToWindow) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_006_SetDisplayVisibility) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_006_GetWindowBounds, 4, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_006_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_006_GetEyeOutputViewport, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_006_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_006_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_006_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_006_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_006_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_006_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_006_GetDXGIOutputInfo, 2, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_006_AttachToWindow, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_006_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_006_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_006_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_006_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_006_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_006_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_006_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_006_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_006_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_006_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_006_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_006_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_006_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_006_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_006_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_006_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_006_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_006_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_006_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_006_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_006_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_006_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_006_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_006_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_006_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_006_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_006_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_006_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_006_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_006_SetDisplayVisibility, 1, FALSE, FALSE); + for (i = 0; i < 42; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_006_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(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_009_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_009_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_009_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_009_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_009_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_009_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_009_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_009_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_009_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_009_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_009_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_009_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_009_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_009_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0912 *pEvent) +{ + struct IVRSystem_IVRSystem_009_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0912 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_009_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_009_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_009_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_009_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_009_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_009_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_009_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_009_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_009_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_009_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_009, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_009_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_009, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_009(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_009_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_009(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_009_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(42); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 42 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_009_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_009_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_009_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_009_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_009_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_009_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_009_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_009_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_009_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_009_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_009_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_009_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_009_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_009_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_009_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_009_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_009_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_009_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_009_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_009_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_009_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_009_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_009_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_009_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_009_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_009_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_009_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_009_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_009_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_009_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_009_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_009_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_009_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_009_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_009_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_009_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_009_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_009_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_009_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_009_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 42; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_009_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(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEvent, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PollNextEventWithPose, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 8) + +void __thiscall winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_010_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_010_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_010_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_010_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_010_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_010_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_010_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_010_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_010_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_010_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_010_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_010_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_010_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_010_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0914 *pEvent) +{ + struct IVRSystem_IVRSystem_010_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0914 *pEvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_010_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_010_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_010_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_010_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_010_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_010_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_010_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_010_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_010_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture(struct w_steam_iface *_this, int8_t bEnable) +{ + struct IVRSystem_IVRSystem_010_PerformanceTestEnableCapture_params params = + { + .linux_side = _this->u_iface, + .bEnable = bEnable, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_PerformanceTestEnableCapture, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int32_t nFidelityLevel) +{ + struct IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange_params params = + { + .linux_side = _this->u_iface, + .nFidelityLevel = nFidelityLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_010_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_010, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_010_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_010, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_010(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_010_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_010(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_010_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_010_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_010_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_010_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_010_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_010_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_010_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_010_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_010_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_010_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_010_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_010_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_010_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_010_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_010_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_010_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_010_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_010_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_010_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_010_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_010_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_010_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_010_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_010_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_010_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_010_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_010_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_010_PollNextEvent, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_010_PollNextEventWithPose, 3, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_010_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_010_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_010_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_010_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_010_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_010_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_010_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_010_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_010_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_010_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_010_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_010_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_010_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_010_PerformanceTestEnableCapture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_010_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_010_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(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 8) + +void __thiscall winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_011_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_011_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_011_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_011_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_011_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_011_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_011_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_011_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_011_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_011_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_011_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_011_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_011_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_011_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_011_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_0918 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_011_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_011_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_011_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_011_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_011_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_011_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_011_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_011_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_011_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture(struct w_steam_iface *_this, int8_t bEnable) +{ + struct IVRSystem_IVRSystem_011_PerformanceTestEnableCapture_params params = + { + .linux_side = _this->u_iface, + .bEnable = bEnable, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_PerformanceTestEnableCapture, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange(struct w_steam_iface *_this, int32_t nFidelityLevel) +{ + struct IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange_params params = + { + .linux_side = _this->u_iface, + .nFidelityLevel = nFidelityLevel, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_011_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_011, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_011_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_011, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_011(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_011_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_011(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_011_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_011_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_011_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_011_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_011_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_011_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_011_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_011_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_011_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_011_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_011_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_011_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_011_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_011_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_011_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_011_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_011_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_011_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_011_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_011_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_011_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_011_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_011_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_011_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_011_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_011_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_011_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_011_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_011_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_011_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_011_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_011_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_011_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_011_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_011_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_011_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_011_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_011_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_011_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_011_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_011_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_011_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_011_PerformanceTestEnableCapture, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_011_PerformanceTestReportFidelityLevelChange, 1, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_011_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(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerState, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_012_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_012_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_012_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetProjectionRaw, ¶ms ); +} + +DistortionCoordinates_t * __thiscall winIVRSystem_IVRSystem_012_ComputeDistortion(struct w_steam_iface *_this, DistortionCoordinates_t *_ret, uint32_t eEye, float fU, float fV) +{ + struct IVRSystem_IVRSystem_012_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fU = fU, + .fV = fV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_012_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_012_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_012_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_012_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_012_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_012_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_012_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_012_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_012_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_012_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_012_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_012_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_012_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState) +{ + struct IVRSystem_IVRSystem_012_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_012_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_012_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_012_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_012_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_012_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_012_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_012, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_012_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_012, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_012(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_012_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_012(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_012_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_012_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_012_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_012_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_012_ComputeDistortion, 4, TRUE, TRUE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_012_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_012_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_012_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_012_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_012_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_012_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_012_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_012_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_012_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_012_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_012_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_012_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_012_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_012_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_012_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_012_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_012_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_012_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_012_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_012_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_012_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_012_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_012_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_012_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_012_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_012_GetHiddenAreaMesh, 2, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_012_GetControllerState, 2, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_012_GetControllerStateWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_012_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_012_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_012_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_012_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_012_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_012_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_012_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_012_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_012_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_012_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(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionMatrix, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_014_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ, uint32_t eProjType) +{ + struct IVRSystem_IVRSystem_014_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + .eProjType = eProjType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_014_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_014_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_014_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_014_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_014_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_014_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_014_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_014_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_014_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_014_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_014_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_014_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_103 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_014_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_014_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_014_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_014_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_014_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_014_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_014_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_014_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_014_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_014_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_014, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_014_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_014, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_014(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_014_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_014(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_014_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_014_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_014_GetProjectionMatrix, 5, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_014_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_014_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_014_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_014_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_014_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_014_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_014_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_014_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_014_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_014_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_014_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_014_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_014_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_014_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_014_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_014_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_014_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_014_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_014_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_014_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_014_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_014_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_014_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_014_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_014_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_014_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_014_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_014_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_014_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_014_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_014_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_014_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_014_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_014_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_014_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_014_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_014_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_014_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_014_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_014_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(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_015_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_015_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_015_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_015_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_015_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_015_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +int8_t __thiscall winIVRSystem_IVRSystem_015_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_015_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_015_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_015_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_015_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_015_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_015_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_015_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_015_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_015_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_015_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_015_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_015_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_015_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_015_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_015_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_015, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_015_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_015, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_015(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_015_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_015(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_015_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(44); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 44 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_015_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_015_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_015_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_015_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_015_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_015_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_015_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_015_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_015_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_015_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_015_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_015_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_015_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_015_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_015_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_015_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_015_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_015_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_015_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_015_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_015_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_015_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_015_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 44; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_015_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(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetOutputDevice, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_016_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_016_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_016_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_016_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_016_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_016_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_016_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_016_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType) +{ + struct IVRSystem_IVRSystem_016_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_016_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_016_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_016_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_016_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_016_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_016_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_106 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_016_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_016_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_016_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_016_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_016_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_016_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_016_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_016_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_016_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_016_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_016, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_016_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_016, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_016(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_016_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_016(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_016_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(45); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_016_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_016_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_016_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_016_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_016_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_016_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_016_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_016_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_016_GetOutputDevice, 2, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_016_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_016_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_016_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_016_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_016_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_016_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_016_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_016_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_016_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_016_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_016_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_016_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_016_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_016_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_016_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_016_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_016_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_016_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_016_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_016_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_016_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_016_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_016_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_016_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_016_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_016_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_016_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_016_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_016_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_016_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_016_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_016_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_016_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 45; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_016_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(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetOutputDevice, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_CaptureInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_ReleaseInputFocus, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_017_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_017_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_017_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_017_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_017_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_017_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_017_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_017_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType, VkInstance_T *pInstance) +{ + struct IVRSystem_IVRSystem_017_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = pInstance, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_017_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_017_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_017_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_017_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_017_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_017_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1011 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_017_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_017_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_017_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_017_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_017_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_017_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_CaptureInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_CaptureInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_CaptureInputFocus, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_ReleaseInputFocus(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_ReleaseInputFocus_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_ReleaseInputFocus, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_017_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_017_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_017_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_017_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_017, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_017_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_017, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_CaptureInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_ReleaseInputFocus) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_017(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_017_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_017(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_017_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(45); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 45 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_017_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_017_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_017_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_017_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_017_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_017_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_017_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_017_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_017_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_017_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_017_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_017_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_017_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_017_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_017_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_017_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_017_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_017_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_017_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_017_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_017_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_017_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_017_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_017_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_017_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_017_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_017_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_017_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_017_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_017_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_017_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_017_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_017_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_017_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_017_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_017_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_017_CaptureInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_017_ReleaseInputFocus, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_017_IsInputFocusCapturedByAnotherProcess, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_017_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_017_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_017_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 45; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_017_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(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetOutputDevice, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 28) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsInputAvailable, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationPause, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_DriverDebugRequest, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 4) + +void __thiscall winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_019_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_019_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_019_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_019_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_019_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_019_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_019_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_019_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_019_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType, VkInstance_T *pInstance) +{ + struct IVRSystem_IVRSystem_019_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = pInstance, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_019_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_019_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_019_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_019_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_019_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_019_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t propType, void *pBuffer, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_019_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_019_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_019_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_019_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_019_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_019_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_019_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_019_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_IsInputAvailable(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_IsInputAvailable, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationPause(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_ShouldApplicationPause, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_DriverDebugRequest(struct w_steam_iface *_this, uint32_t unDeviceIndex, const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) +{ + struct IVRSystem_IVRSystem_019_DriverDebugRequest_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .pchRequest = pchRequest, + .pchResponseBuffer = pchResponseBuffer, + .unResponseBufferSize = unResponseBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_DriverDebugRequest, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_019_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_019_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +extern vtable_ptr winIVRSystem_IVRSystem_019_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_019, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_019_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_019, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_DriverDebugRequest) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_019(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_019_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_019(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_019_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(47); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_019_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_019_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_019_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_019_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_019_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_019_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_019_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_019_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_019_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_019_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_019_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_019_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_019_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_019_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_019_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_019_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_019_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_019_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_019_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_019_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_019_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_019_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_019_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_019_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_019_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_019_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_019_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_019_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_019_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_019_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_019_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_019_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_019_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_019_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_019_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_019_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_019_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_019_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_019_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_019_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_019_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_019_DriverDebugRequest, 4, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_019_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_019_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + for (i = 0; i < 47; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_019_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(winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetOutputDevice, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, 28) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsInputAvailable, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ShouldApplicationPause, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetAppContainerFilePaths, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_020_GetRuntimeVersion, 4) + +void __thiscall winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_020_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_020_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_020_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_020_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_020_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_020_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType, VkInstance_T *pInstance) +{ + struct IVRSystem_IVRSystem_020_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = pInstance, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_020_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_020_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_020_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t propType, void *pBuffer, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_020_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1322 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_020_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_020_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_020_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_IsInputAvailable(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_IsInputAvailable, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationPause(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_ShouldApplicationPause, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_020_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetAppContainerFilePaths, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_020_GetRuntimeVersion(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_020_GetRuntimeVersion, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_020_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_020, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_020_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_020, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetAppContainerFilePaths) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_020_GetRuntimeVersion) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_020(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_020_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_020(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_020_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(48); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 48 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_020_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_020_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_020_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_020_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_020_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_020_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_020_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_020_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_020_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_020_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_020_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_020_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_020_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_020_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_020_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_020_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_020_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_020_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_020_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_020_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_020_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_020_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_020_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_020_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_020_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_020_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_020_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt, 0, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_020_GetAppContainerFilePaths, 2, FALSE, FALSE); + init_thunk(&thunks[47], r, winIVRSystem_IVRSystem_020_GetRuntimeVersion, 0, FALSE, FALSE); + for (i = 0; i < 48; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_020_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(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetOutputDevice, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 28) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsInputAvailable, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationPause, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_021_GetRuntimeVersion, 4) + +void __thiscall winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_021_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_021_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_021_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_021_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_021_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_021_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_021_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_021_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_021_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType, VkInstance_T *pInstance) +{ + struct IVRSystem_IVRSystem_021_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = pInstance, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_021_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +void __thiscall winIVRSystem_IVRSystem_021_ResetSeatedZeroPose(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_ResetSeatedZeroPose_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_ResetSeatedZeroPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_021_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_021_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_021_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_021_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t propType, void *pBuffer, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_021_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_11030 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_021_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_021_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_021_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_021_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_021_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_021_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_021_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_IsInputAvailable(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_IsInputAvailable, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationPause(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_ShouldApplicationPause, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_021_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_021_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRSystem_IVRSystem_021_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetAppContainerFilePaths, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_021_GetRuntimeVersion(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_021_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_021_GetRuntimeVersion, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_021_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_021, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_021_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_021, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ResetSeatedZeroPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetAppContainerFilePaths) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_021_GetRuntimeVersion) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_021(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_021_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_021(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_021_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(47); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 47 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_021_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_021_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_021_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_021_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_021_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_021_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_021_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_021_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_021_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_021_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_021_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_021_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_021_ResetSeatedZeroPose, 0, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_021_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_021_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_021_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_021_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_021_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_021_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_021_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_021_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_021_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_021_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_021_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_021_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_021_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_021_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_021_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_021_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_021_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_021_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_021_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_021_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_021_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_021_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_021_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_021_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_021_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_021_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_021_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_021_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_021_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_021_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_021_GetAppContainerFilePaths, 2, FALSE, FALSE); + init_thunk(&thunks[46], r, winIVRSystem_IVRSystem_021_GetRuntimeVersion, 0, FALSE, FALSE); + for (i = 0; i < 47; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_021_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(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionMatrix, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetProjectionRaw, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ComputeDistortion, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetOutputDevice, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_SetDisplayVisibility, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ApplyTransform, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 28) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEvent, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PollNextEventWithPose, 20) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerState, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 24) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_TriggerHapticPulse, 16) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsInputAvailable, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationPause, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 8) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 4) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 12) +DEFINE_THISCALL_WRAPPER(winIVRSystem_IVRSystem_022_GetRuntimeVersion, 4) + +void __thiscall winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize(struct w_steam_iface *_this, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize_params params = + { + .linux_side = _this->u_iface, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, ¶ms ); +} + +HmdMatrix44_t * __thiscall winIVRSystem_IVRSystem_022_GetProjectionMatrix(struct w_steam_iface *_this, HmdMatrix44_t *_ret, uint32_t eEye, float fNearZ, float fFarZ) +{ + struct IVRSystem_IVRSystem_022_GetProjectionMatrix_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .fNearZ = fNearZ, + .fFarZ = fFarZ, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetProjectionMatrix, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_022_GetProjectionRaw(struct w_steam_iface *_this, uint32_t eEye, float *pfLeft, float *pfRight, float *pfTop, float *pfBottom) +{ + struct IVRSystem_IVRSystem_022_GetProjectionRaw_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .pfLeft = pfLeft, + .pfRight = pfRight, + .pfTop = pfTop, + .pfBottom = pfBottom, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetProjectionRaw, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_ComputeDistortion(struct w_steam_iface *_this, uint32_t eEye, float fU, float fV, DistortionCoordinates_t *pDistortionCoordinates) +{ + struct IVRSystem_IVRSystem_022_ComputeDistortion_params params = + { + .linux_side = _this->u_iface, + .eEye = eEye, + .fU = fU, + .fV = fV, + .pDistortionCoordinates = pDistortionCoordinates, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_ComputeDistortion, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetEyeToHeadTransform(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t eEye) +{ + struct IVRSystem_IVRSystem_022_GetEyeToHeadTransform_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetEyeToHeadTransform, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync(struct w_steam_iface *_this, float *pfSecondsSinceLastVsync, uint64_t *pulFrameCounter) +{ + struct IVRSystem_IVRSystem_022_GetTimeSinceLastVsync_params params = + { + .linux_side = _this->u_iface, + .pfSecondsSinceLastVsync = pfSecondsSinceLastVsync, + .pulFrameCounter = pulFrameCounter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetTimeSinceLastVsync, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_GetD3D9AdapterIndex_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetD3D9AdapterIndex, ¶ms ); + return params._ret; +} + +extern void __thiscall winIVRSystem_IVRSystem_022_GetDXGIOutputInfo(struct w_steam_iface *_this, int32_t *pnAdapterIndex); + +void __thiscall winIVRSystem_IVRSystem_022_GetOutputDevice(struct w_steam_iface *_this, uint64_t *pnDevice, uint32_t textureType, VkInstance_T *pInstance) +{ + struct IVRSystem_IVRSystem_022_GetOutputDevice_params params = + { + .linux_side = _this->u_iface, + .pnDevice = pnDevice, + .textureType = textureType, + .pInstance = pInstance, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetOutputDevice, ¶ms ); +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_IsDisplayOnDesktop(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_IsDisplayOnDesktop_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_IsDisplayOnDesktop, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_SetDisplayVisibility(struct w_steam_iface *_this, int8_t bIsVisibleOnDesktop) +{ + struct IVRSystem_IVRSystem_022_SetDisplayVisibility_params params = + { + .linux_side = _this->u_iface, + .bIsVisibleOnDesktop = bIsVisibleOnDesktop, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_SetDisplayVisibility, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose(struct w_steam_iface *_this, uint32_t eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t *pTrackedDevicePoseArray, uint32_t unTrackedDevicePoseArrayCount) +{ + struct IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .fPredictedSecondsToPhotonsFromNow = fPredictedSecondsToPhotonsFromNow, + .pTrackedDevicePoseArray = pTrackedDevicePoseArray, + .unTrackedDevicePoseArrayCount = unTrackedDevicePoseArrayCount, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, ¶ms ); +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose(struct w_steam_iface *_this, HmdMatrix34_t *_ret) +{ + struct IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass(struct w_steam_iface *_this, uint32_t eTrackedDeviceClass, uint32_t *punTrackedDeviceIndexArray, uint32_t unTrackedDeviceIndexArrayCount, uint32_t unRelativeToTrackedDeviceIndex) +{ + struct IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass_params params = + { + .linux_side = _this->u_iface, + .eTrackedDeviceClass = eTrackedDeviceClass, + .punTrackedDeviceIndexArray = punTrackedDeviceIndexArray, + .unTrackedDeviceIndexArrayCount = unTrackedDeviceIndexArrayCount, + .unRelativeToTrackedDeviceIndex = unRelativeToTrackedDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel(struct w_steam_iface *_this, uint32_t unDeviceId) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel_params params = + { + .linux_side = _this->u_iface, + .unDeviceId = unDeviceId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_022_ApplyTransform(struct w_steam_iface *_this, TrackedDevicePose_t *pOutputPose, const TrackedDevicePose_t *pTrackedDevicePose, const HmdMatrix34_t *pTransform) +{ + struct IVRSystem_IVRSystem_022_ApplyTransform_params params = + { + .linux_side = _this->u_iface, + .pOutputPose = pOutputPose, + .pTrackedDevicePose = pTrackedDevicePose, + .pTransform = pTransform, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_ApplyTransform, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole(struct w_steam_iface *_this, uint32_t unDeviceType) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole_params params = + { + .linux_side = _this->u_iface, + .unDeviceType = unDeviceType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetTrackedDeviceClass(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_022_GetTrackedDeviceClass_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetTrackedDeviceClass, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_022_IsTrackedDeviceConnected_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_IsTrackedDeviceConnected, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +float __thiscall winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +int32_t __thiscall winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint64_t __thiscall winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +HmdMatrix34_t * __thiscall winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty(struct w_steam_iface *_this, HmdMatrix34_t *_ret, uint32_t unDeviceIndex, uint32_t prop, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, uint32_t propType, void *pBuffer, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .propType = propType, + .pBuffer = pBuffer, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty(struct w_steam_iface *_this, uint32_t unDeviceIndex, uint32_t prop, char *pchValue, uint32_t unBufferSize, uint32_t *pError) +{ + struct IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + .prop = prop, + .pchValue = pchValue, + .unBufferSize = unBufferSize, + .pError = pError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum(struct w_steam_iface *_this, uint32_t error) +{ + struct IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .error = error, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEvent(struct w_steam_iface *_this, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent) +{ + struct IVRSystem_IVRSystem_022_PollNextEvent_params params = + { + .linux_side = _this->u_iface, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_PollNextEvent, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_PollNextEventWithPose(struct w_steam_iface *_this, uint32_t eOrigin, w_VREvent_t_1168 *pEvent, uint32_t uncbVREvent, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .pEvent = pEvent, + .uncbVREvent = uncbVREvent, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_PollNextEventWithPose, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eType) +{ + struct IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eType = eType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, ¶ms ); + return params._ret; +} + +w_HiddenAreaMesh_t * __thiscall winIVRSystem_IVRSystem_022_GetHiddenAreaMesh(struct w_steam_iface *_this, w_HiddenAreaMesh_t *_ret, uint32_t eEye, uint32_t type) +{ + struct IVRSystem_IVRSystem_022_GetHiddenAreaMesh_params params = + { + .linux_side = _this->u_iface, + ._ret = _ret, + .eEye = eEye, + .type = type, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetHiddenAreaMesh, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize) +{ + struct IVRSystem_IVRSystem_022_GetControllerState_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetControllerState, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_GetControllerStateWithPose(struct w_steam_iface *_this, uint32_t eOrigin, uint32_t unControllerDeviceIndex, w_VRControllerState001_t *pControllerState, uint32_t unControllerStateSize, TrackedDevicePose_t *pTrackedDevicePose) +{ + struct IVRSystem_IVRSystem_022_GetControllerStateWithPose_params params = + { + .linux_side = _this->u_iface, + .eOrigin = eOrigin, + .unControllerDeviceIndex = unControllerDeviceIndex, + .pControllerState = pControllerState, + .unControllerStateSize = unControllerStateSize, + .pTrackedDevicePose = pTrackedDevicePose, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetControllerStateWithPose, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_022_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerDeviceIndex, uint32_t unAxisId, uint16_t usDurationMicroSec) +{ + struct IVRSystem_IVRSystem_022_TriggerHapticPulse_params params = + { + .linux_side = _this->u_iface, + .unControllerDeviceIndex = unControllerDeviceIndex, + .unAxisId = unAxisId, + .usDurationMicroSec = usDurationMicroSec, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_TriggerHapticPulse, ¶ms ); +} + +const char * __thiscall winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum(struct w_steam_iface *_this, uint32_t eButtonId) +{ + struct IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eButtonId = eButtonId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum(struct w_steam_iface *_this, uint32_t eAxisType) +{ + struct IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eAxisType = eAxisType, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_IsInputAvailable(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_IsInputAvailable_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_IsInputAvailable, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationPause(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_ShouldApplicationPause_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_ShouldApplicationPause, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_PerformFirmwareUpdate(struct w_steam_iface *_this, uint32_t unDeviceIndex) +{ + struct IVRSystem_IVRSystem_022_PerformFirmwareUpdate_params params = + { + .linux_side = _this->u_iface, + .unDeviceIndex = unDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_PerformFirmwareUpdate, ¶ms ); + return params._ret; +} + +void __thiscall winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, ¶ms ); +} + +uint32_t __thiscall winIVRSystem_IVRSystem_022_GetAppContainerFilePaths(struct w_steam_iface *_this, char *pchBuffer, uint32_t unBufferSize) +{ + struct IVRSystem_IVRSystem_022_GetAppContainerFilePaths_params params = + { + .linux_side = _this->u_iface, + .pchBuffer = pchBuffer, + .unBufferSize = unBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetAppContainerFilePaths, ¶ms ); + return params._ret; +} + +const char * __thiscall winIVRSystem_IVRSystem_022_GetRuntimeVersion(struct w_steam_iface *_this) +{ + struct IVRSystem_IVRSystem_022_GetRuntimeVersion_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRSystem_IVRSystem_022_GetRuntimeVersion, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRSystem_IVRSystem_022_vtable; + +DEFINE_RTTI_DATA0(winIVRSystem_IVRSystem_022, 0, ".?AVIVRSystem@@") + +__ASM_BLOCK_BEGIN(winIVRSystem_IVRSystem_022_vtables) + __ASM_VTABLE(winIVRSystem_IVRSystem_022, + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionMatrix) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetProjectionRaw) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ComputeDistortion) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEyeToHeadTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDXGIOutputInfo) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetOutputDevice) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsDisplayOnDesktop) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_SetDisplayVisibility) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ApplyTransform) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetTrackedDeviceClass) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEvent) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PollNextEventWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetHiddenAreaMesh) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerState) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerStateWithPose) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_TriggerHapticPulse) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsInputAvailable) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationPause) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_PerformFirmwareUpdate) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetAppContainerFilePaths) + VTABLE_ADD_FUNC(winIVRSystem_IVRSystem_022_GetRuntimeVersion) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRSystem_IVRSystem_022(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRSystem_IVRSystem_022_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRSystem_IVRSystem_022(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRSystem_IVRSystem_022_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + struct thunk *thunks = alloc_thunks(46); + struct thunk **vtable = HeapAlloc(GetProcessHeap(), 0, 46 * sizeof(*vtable)); + int i; + + TRACE("-> %p, vtable %p, thunks %p\n", r, vtable, thunks); + init_thunk(&thunks[0], r, winIVRSystem_IVRSystem_022_GetRecommendedRenderTargetSize, 2, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRSystem_IVRSystem_022_GetProjectionMatrix, 4, TRUE, TRUE); + init_thunk(&thunks[2], r, winIVRSystem_IVRSystem_022_GetProjectionRaw, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRSystem_IVRSystem_022_ComputeDistortion, 4, TRUE, FALSE); + init_thunk(&thunks[4], r, winIVRSystem_IVRSystem_022_GetEyeToHeadTransform, 2, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRSystem_IVRSystem_022_GetTimeSinceLastVsync, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRSystem_IVRSystem_022_GetD3D9AdapterIndex, 0, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRSystem_IVRSystem_022_GetDXGIOutputInfo, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRSystem_IVRSystem_022_GetOutputDevice, 3, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRSystem_IVRSystem_022_IsDisplayOnDesktop, 0, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRSystem_IVRSystem_022_SetDisplayVisibility, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRSystem_IVRSystem_022_GetDeviceToAbsoluteTrackingPose, 4, TRUE, FALSE); + init_thunk(&thunks[12], r, winIVRSystem_IVRSystem_022_GetSeatedZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRSystem_IVRSystem_022_GetRawZeroPoseToStandingAbsoluteTrackingPose, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRSystem_IVRSystem_022_GetSortedTrackedDeviceIndicesOfClass, 4, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceActivityLevel, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRSystem_IVRSystem_022_ApplyTransform, 3, FALSE, FALSE); + init_thunk(&thunks[17], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceIndexForControllerRole, 1, FALSE, FALSE); + init_thunk(&thunks[18], r, winIVRSystem_IVRSystem_022_GetControllerRoleForTrackedDeviceIndex, 1, FALSE, FALSE); + init_thunk(&thunks[19], r, winIVRSystem_IVRSystem_022_GetTrackedDeviceClass, 1, FALSE, FALSE); + init_thunk(&thunks[20], r, winIVRSystem_IVRSystem_022_IsTrackedDeviceConnected, 1, FALSE, FALSE); + init_thunk(&thunks[21], r, winIVRSystem_IVRSystem_022_GetBoolTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[22], r, winIVRSystem_IVRSystem_022_GetFloatTrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[23], r, winIVRSystem_IVRSystem_022_GetInt32TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[24], r, winIVRSystem_IVRSystem_022_GetUint64TrackedDeviceProperty, 3, FALSE, FALSE); + init_thunk(&thunks[25], r, winIVRSystem_IVRSystem_022_GetMatrix34TrackedDeviceProperty, 4, FALSE, FALSE); + init_thunk(&thunks[26], r, winIVRSystem_IVRSystem_022_GetArrayTrackedDeviceProperty, 6, FALSE, FALSE); + init_thunk(&thunks[27], r, winIVRSystem_IVRSystem_022_GetStringTrackedDeviceProperty, 5, FALSE, FALSE); + init_thunk(&thunks[28], r, winIVRSystem_IVRSystem_022_GetPropErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[29], r, winIVRSystem_IVRSystem_022_PollNextEvent, 2, FALSE, FALSE); + init_thunk(&thunks[30], r, winIVRSystem_IVRSystem_022_PollNextEventWithPose, 4, FALSE, FALSE); + init_thunk(&thunks[31], r, winIVRSystem_IVRSystem_022_GetEventTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[32], r, winIVRSystem_IVRSystem_022_GetHiddenAreaMesh, 3, FALSE, FALSE); + init_thunk(&thunks[33], r, winIVRSystem_IVRSystem_022_GetControllerState, 3, FALSE, FALSE); + init_thunk(&thunks[34], r, winIVRSystem_IVRSystem_022_GetControllerStateWithPose, 5, FALSE, FALSE); + init_thunk(&thunks[35], r, winIVRSystem_IVRSystem_022_TriggerHapticPulse, 3, FALSE, FALSE); + init_thunk(&thunks[36], r, winIVRSystem_IVRSystem_022_GetButtonIdNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[37], r, winIVRSystem_IVRSystem_022_GetControllerAxisTypeNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[38], r, winIVRSystem_IVRSystem_022_IsInputAvailable, 0, FALSE, FALSE); + init_thunk(&thunks[39], r, winIVRSystem_IVRSystem_022_IsSteamVRDrawingControllers, 0, FALSE, FALSE); + init_thunk(&thunks[40], r, winIVRSystem_IVRSystem_022_ShouldApplicationPause, 0, FALSE, FALSE); + init_thunk(&thunks[41], r, winIVRSystem_IVRSystem_022_ShouldApplicationReduceRenderingWork, 0, FALSE, FALSE); + init_thunk(&thunks[42], r, winIVRSystem_IVRSystem_022_PerformFirmwareUpdate, 1, FALSE, FALSE); + init_thunk(&thunks[43], r, winIVRSystem_IVRSystem_022_AcknowledgeQuit_Exiting, 0, FALSE, FALSE); + init_thunk(&thunks[44], r, winIVRSystem_IVRSystem_022_GetAppContainerFilePaths, 2, FALSE, FALSE); + init_thunk(&thunks[45], r, winIVRSystem_IVRSystem_022_GetRuntimeVersion, 0, FALSE, FALSE); + for (i = 0; i < 46; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRSystem_IVRSystem_022_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_winIVRSystem_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRSystem_IVRSystem_003_rtti( base ); + init_winIVRSystem_IVRSystem_004_rtti( base ); + init_winIVRSystem_IVRSystem_005_rtti( base ); + init_winIVRSystem_IVRSystem_006_rtti( base ); + init_winIVRSystem_IVRSystem_009_rtti( base ); + init_winIVRSystem_IVRSystem_010_rtti( base ); + init_winIVRSystem_IVRSystem_011_rtti( base ); + init_winIVRSystem_IVRSystem_012_rtti( base ); + init_winIVRSystem_IVRSystem_014_rtti( base ); + init_winIVRSystem_IVRSystem_015_rtti( base ); + init_winIVRSystem_IVRSystem_016_rtti( base ); + init_winIVRSystem_IVRSystem_017_rtti( base ); + init_winIVRSystem_IVRSystem_019_rtti( base ); + init_winIVRSystem_IVRSystem_020_rtti( base ); + init_winIVRSystem_IVRSystem_021_rtti( base ); + init_winIVRSystem_IVRSystem_022_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/vrclient_x64/winIVRTrackedCamera.c b/vrclient_x64/winIVRTrackedCamera.c new file mode 100644 index 000000000..9c2793047 --- /dev/null +++ b/vrclient_x64/winIVRTrackedCamera.c @@ -0,0 +1,1605 @@ +/* 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(winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, 16) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, 20) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 28) + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_HasCamera, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription(struct w_steam_iface *_this, uint32_t nDeviceIndex, char *pBuffer, uint32_t nBufferLen) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pBuffer = pBuffer, + .nBufferLen = nBufferLen, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nVideoStreamFormat, uint32_t *pWidth, uint32_t *pHeight) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nVideoStreamFormat = nVideoStreamFormat, + .pWidth = pWidth, + .pHeight = pHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nVideoStreamFormat) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nVideoStreamFormat = nVideoStreamFormat, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t bEnable) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .bEnable = bEnable, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, ¶ms ); + return params._ret; +} + +float __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, ¶ms ); + return params._ret; +} + +extern const w_CameraVideoStreamFrame_t_0914 * __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex); + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame(struct w_steam_iface *_this, uint32_t nDeviceIndex, const w_CameraVideoStreamFrame_t_0914 *pFrameImage) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pFrameImage = pFrameImage, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t bEnable) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .bEnable = bEnable, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused(struct w_steam_iface *_this, uint32_t nDeviceIndex) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion(struct w_steam_iface *_this, uint32_t nDeviceIndex, float flInputU, float flInputV, float *pflOutputU, float *pflOutputV) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .flInputU = flInputU, + .flInputV = flInputV, + .pflOutputU = pflOutputU, + .pflOutputV = pflOutputV, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, ¶ms ); + return params._ret; +} + +int8_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .flWidthPixels = flWidthPixels, + .flHeightPixels = flHeightPixels, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_001_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_001, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_001_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_001, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_001_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_001(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_001_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFirmwareDescription, 3, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraFrameDimensions, 4, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetCameraVideoStreamFormat, 2, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraVideoStreamFormat, 1, FALSE, FALSE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_001_EnableCameraForStreaming, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_001_StartVideoStream, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_001_StopVideoStream, 1, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamActive, 1, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamElapsedTime, 1, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetVideoStreamFrame, 1, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_001_ReleaseVideoStreamFrame, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_001_SetAutoExposure, 2, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_001_PauseVideoStream, 1, FALSE, FALSE); + init_thunk(&thunks[14], r, winIVRTrackedCamera_IVRTrackedCamera_001_ResumeVideoStream, 1, FALSE, FALSE); + init_thunk(&thunks[15], r, winIVRTrackedCamera_IVRTrackedCamera_001_IsVideoStreamPaused, 1, FALSE, FALSE); + init_thunk(&thunks[16], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraDistortion, 5, TRUE, FALSE); + init_thunk(&thunks[17], r, winIVRTrackedCamera_IVRTrackedCamera_001_GetCameraProjection, 6, TRUE, TRUE); + for (i = 0; i < 18; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_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(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 20) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 28) + +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eCameraError) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t *pHasCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_HasCamera, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService(struct w_steam_iface *_this, uint32_t nDeviceIndex, void **pHandle) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService(struct w_steam_iface *_this, void *hTrackedCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, void *hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_002_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_002, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_002_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_002, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_002_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_002(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_002_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_002_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraIntrinisics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_002_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_002_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_002_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + for (i = 0; i < 8; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_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); +} + +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 20) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 16) + +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eCameraError) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t *pHasCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_HasCamera, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint64_t *pHandle) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService(struct w_steam_iface *_this, uint64_t hTrackedCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_100 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t glTextureId) +{ + struct IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_003_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_003, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_003_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_003, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_003_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_003_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_003_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraIntrinsics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_003_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_003_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_003_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_003_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(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 20) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 16) + +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eCameraError) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t *pHasCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_HasCamera, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint64_t *pHandle) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService(struct w_steam_iface *_this, uint64_t hTrackedCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t glTextureId) +{ + struct IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_004_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_004, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_004_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_004, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_004_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_004_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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_004_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_004_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraIntrinsics, 4, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetCameraProjection, 5, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_004_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_004_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_004_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_004_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(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 16) + +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eCameraError) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t *pHasCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_HasCamera, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nCameraIndex, uint32_t eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nCameraIndex, uint32_t eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint64_t *pHandle) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService(struct w_steam_iface *_this, uint64_t hTrackedCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t glTextureId) +{ + struct IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_005_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_005, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_005_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_005, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_005_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_005_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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_005_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_005_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraIntrinsics, 5, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetCameraProjection, 6, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_005_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_005_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_005_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + for (i = 0; i < 12; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_005_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(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 12) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 24) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 32) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 28) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 16) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 8) +DEFINE_THISCALL_WRAPPER(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 4) + +const char * __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum(struct w_steam_iface *_this, uint32_t eCameraError) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum_params params = + { + .linux_side = _this->u_iface, + .eCameraError = eCameraError, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera(struct w_steam_iface *_this, uint32_t nDeviceIndex, int8_t *pHasCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_HasCamera_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHasCamera = pHasCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_HasCamera, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, uint32_t *pnWidth, uint32_t *pnHeight, uint32_t *pnFrameBufferSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + .pnFrameBufferSize = pnFrameBufferSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nCameraIndex, uint32_t eFrameType, HmdVector2_t *pFocalLength, HmdVector2_t *pCenter) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .pFocalLength = pFocalLength, + .pCenter = pCenter, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t nCameraIndex, uint32_t eFrameType, float flZNear, float flZFar, HmdMatrix44_t *pProjection) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .nCameraIndex = nCameraIndex, + .eFrameType = eFrameType, + .flZNear = flZNear, + .flZFar = flZFar, + .pProjection = pProjection, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint64_t *pHandle) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .pHandle = pHandle, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService(struct w_steam_iface *_this, uint64_t hTrackedCamera) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pFrameBuffer, uint32_t nFrameBufferSize, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pFrameBuffer = pFrameBuffer, + .nFrameBufferSize = nFrameBufferSize, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize(struct w_steam_iface *_this, uint32_t nDeviceIndex, uint32_t eFrameType, VRTextureBounds_t *pTextureBounds, uint32_t *pnWidth, uint32_t *pnHeight) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize_params params = + { + .linux_side = _this->u_iface, + .nDeviceIndex = nDeviceIndex, + .eFrameType = eFrameType, + .pTextureBounds = pTextureBounds, + .pnWidth = pnWidth, + .pnHeight = pnHeight, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, void *pD3D11DeviceOrResource, void **ppD3D11ShaderResourceView, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pD3D11DeviceOrResource = pD3D11DeviceOrResource, + .ppD3D11ShaderResourceView = ppD3D11ShaderResourceView, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t eFrameType, uint32_t *pglTextureId, w_CameraVideoStreamFrameHeader_t_1017 *pFrameHeader, uint32_t nFrameHeaderSize) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .eFrameType = eFrameType, + .pglTextureId = pglTextureId, + .pFrameHeader = pFrameHeader, + .nFrameHeaderSize = nFrameHeaderSize, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL(struct w_steam_iface *_this, uint64_t hTrackedCamera, uint32_t glTextureId) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL_params params = + { + .linux_side = _this->u_iface, + .hTrackedCamera = hTrackedCamera, + .glTextureId = glTextureId, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, ¶ms ); + return params._ret; +} + +void __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace(struct w_steam_iface *_this, uint32_t eUniverse) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace_params params = + { + .linux_side = _this->u_iface, + .eUniverse = eUniverse, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, ¶ms ); +} + +uint32_t __thiscall winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace(struct w_steam_iface *_this) +{ + struct IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace_params params = + { + .linux_side = _this->u_iface, + }; + TRACE("%p\n", _this); + VRCLIENT_CALL( IVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, ¶ms ); + return params._ret; +} + +extern vtable_ptr winIVRTrackedCamera_IVRTrackedCamera_006_vtable; + +DEFINE_RTTI_DATA0(winIVRTrackedCamera_IVRTrackedCamera_006, 0, ".?AVIVRTrackedCamera@@") + +__ASM_BLOCK_BEGIN(winIVRTrackedCamera_IVRTrackedCamera_006_vtables) + __ASM_VTABLE(winIVRTrackedCamera_IVRTrackedCamera_006, + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace) + VTABLE_ADD_FUNC(winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace) + ); +__ASM_BLOCK_END + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + TRACE("-> %p\n", r); + r->vtable = &winIVRTrackedCamera_IVRTrackedCamera_006_vtable; + r->u_iface = u_iface; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006(struct w_steam_iface *object) +{ + TRACE("%p\n", object); + HeapFree(GetProcessHeap(), 0, object); +} + +struct w_steam_iface *create_winIVRTrackedCamera_IVRTrackedCamera_006_FnTable(void *u_iface) +{ + struct w_steam_iface *r = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*r)); + 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, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraErrorNameFromEnum, 1, FALSE, FALSE); + init_thunk(&thunks[1], r, winIVRTrackedCamera_IVRTrackedCamera_006_HasCamera, 2, FALSE, FALSE); + init_thunk(&thunks[2], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraFrameSize, 5, FALSE, FALSE); + init_thunk(&thunks[3], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraIntrinsics, 5, FALSE, FALSE); + init_thunk(&thunks[4], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraProjection, 6, TRUE, TRUE); + init_thunk(&thunks[5], r, winIVRTrackedCamera_IVRTrackedCamera_006_AcquireVideoStreamingService, 2, FALSE, FALSE); + init_thunk(&thunks[6], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamingService, 1, FALSE, FALSE); + init_thunk(&thunks[7], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamFrameBuffer, 6, FALSE, FALSE); + init_thunk(&thunks[8], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureSize, 5, FALSE, FALSE); + init_thunk(&thunks[9], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureD3D11, 6, FALSE, FALSE); + init_thunk(&thunks[10], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetVideoStreamTextureGL, 5, FALSE, FALSE); + init_thunk(&thunks[11], r, winIVRTrackedCamera_IVRTrackedCamera_006_ReleaseVideoStreamTextureGL, 2, FALSE, FALSE); + init_thunk(&thunks[12], r, winIVRTrackedCamera_IVRTrackedCamera_006_SetCameraTrackingSpace, 1, FALSE, FALSE); + init_thunk(&thunks[13], r, winIVRTrackedCamera_IVRTrackedCamera_006_GetCameraTrackingSpace, 0, FALSE, FALSE); + for (i = 0; i < 14; i++) + vtable[i] = &thunks[i]; + r->u_iface = u_iface; + r->vtable = (void *)vtable; + return r; +} + +void destroy_winIVRTrackedCamera_IVRTrackedCamera_006_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_winIVRTrackedCamera_rtti( char *base ) +{ +#ifdef __x86_64__ + init_winIVRTrackedCamera_IVRTrackedCamera_001_rtti( base ); + init_winIVRTrackedCamera_IVRTrackedCamera_002_rtti( base ); + init_winIVRTrackedCamera_IVRTrackedCamera_003_rtti( base ); + init_winIVRTrackedCamera_IVRTrackedCamera_004_rtti( base ); + init_winIVRTrackedCamera_IVRTrackedCamera_005_rtti( base ); + init_winIVRTrackedCamera_IVRTrackedCamera_006_rtti( base ); +#endif /* __x86_64__ */ +} diff --git a/wine b/wine index 8a8ec5f86..83a713801 160000 --- a/wine +++ b/wine @@ -1 +1 @@ -Subproject commit 8a8ec5f86d8ab1e1d4c6bc88dda016b5e8cf479e +Subproject commit 83a713801b989294d8c414ca81a1852b939497c6 diff --git a/wineopenxr/Makefile.in b/wineopenxr/Makefile.in new file mode 100644 index 000000000..e2cd8b7a9 --- /dev/null +++ b/wineopenxr/Makefile.in @@ -0,0 +1,9 @@ +MODULE = wineopenxr.dll +IMPORTS = advapi32 dxgi + +EXTRADLLFLAGS = -mcygwin -lvulkan +EXTRADEFS = -DWINE_NO_LONG_TYPES + +SOURCES = \ + openxr.c \ + openxr_thunks.c \ diff --git a/wineopenxr/openxr.c b/wineopenxr/openxr.c index 0b8b875ae..0a4b9c18f 100644 --- a/wineopenxr/openxr.c +++ b/wineopenxr/openxr.c @@ -295,7 +295,7 @@ static BOOL get_vulkan_extensions(void) * functioning before calling xrCreateInstance. * * This should be removed when SteamVR's bug is fixed. */ - DWORD type, value, wait_status, size; + DWORD type, value, wait_status = 0, size; LSTATUS status; HANDLE event; HKEY vr_key; @@ -362,7 +362,7 @@ static BOOL get_vulkan_extensions(void) return FALSE; } g_instance_extensions = heap_alloc(size); - if ((status = RegQueryValueExA(vr_key, "openxr_vulkan_instance_extensions", NULL, &type, g_instance_extensions, &size))) + if ((status = RegQueryValueExA(vr_key, "openxr_vulkan_instance_extensions", NULL, &type, (BYTE *)g_instance_extensions, &size))) { WINE_ERR("Error getting openxr_vulkan_instance_extensions, status %#x.\n", wait_status); RegCloseKey(vr_key); @@ -375,7 +375,7 @@ static BOOL get_vulkan_extensions(void) return FALSE; } g_device_extensions = heap_alloc(size); - if ((status = RegQueryValueExA(vr_key, "openxr_vulkan_device_extensions", NULL, &type, g_device_extensions, &size))) + if ((status = RegQueryValueExA(vr_key, "openxr_vulkan_device_extensions", NULL, &type, (BYTE *)g_device_extensions, &size))) { WINE_ERR("Error getting openxr_vulkan_device_extensions, status %#x.\n", wait_status); RegCloseKey(vr_key); @@ -425,6 +425,36 @@ int WINAPI __wineopenxr_get_extensions_internal(char **ret_instance_extensions, .enabledExtensionCount = ARRAY_SIZE(xr_extensions), .enabledExtensionNames = xr_extensions, }; + XrInstanceProperties inst_props = { + .type = XR_TYPE_INSTANCE_PROPERTIES, + }; + XrSystemGetInfo system_info = { + .type = XR_TYPE_SYSTEM_GET_INFO, + .formFactor = XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY, + }; + XrGraphicsRequirementsVulkanKHR reqs = { + .type = XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR, + }; + VkApplicationInfo vk_appinfo = { + .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, + .pNext = NULL, + .pApplicationName = "wineopenxr test instance", + .applicationVersion = 0, + .pEngineName = "wineopenxr test instance", + .engineVersion = VK_MAKE_VERSION(1, 0, 0), + .apiVersion = VK_MAKE_VERSION(1, 1, 0), + }; + VkInstanceCreateInfo vk_createinfo = { + .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, + .pNext = NULL, + .flags = 0, + .pApplicationInfo = &vk_appinfo, + .enabledLayerCount = 0, + .ppEnabledLayerNames = NULL, + .enabledExtensionCount = 0, + .ppEnabledExtensionNames = NULL, + }; + XrViewConfigurationType *configs; strcpy(xrCreateInfo.applicationInfo.applicationName, "wineopenxr test instance"); strcpy(xrCreateInfo.applicationInfo.engineName, "wineopenxr test instance"); @@ -443,17 +473,10 @@ int WINAPI __wineopenxr_get_extensions_internal(char **ret_instance_extensions, xrGetInstanceProcAddr(instance, "xrGetInstanceProperties", (PFN_xrVoidFunction *)&pxrGetInstanceProperties); xrGetInstanceProcAddr(instance, "xrEnumerateViewConfigurations", (PFN_xrVoidFunction *)&pxrEnumerateViewConfigurations); - XrInstanceProperties inst_props = { - .type = XR_TYPE_INSTANCE_PROPERTIES, - }; res = pxrGetInstanceProperties(instance, &inst_props); if(res != XR_SUCCESS) WINE_WARN("xrGetInstanceProperties failed: %d\n", res); - XrSystemGetInfo system_info = { - .type = XR_TYPE_SYSTEM_GET_INFO, - .formFactor = XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY, - }; res = pxrGetSystem(instance, &system_info, &system); if(res != XR_SUCCESS){ WINE_WARN("xrGetSystem failed: %d\n", res); @@ -464,15 +487,12 @@ int WINAPI __wineopenxr_get_extensions_internal(char **ret_instance_extensions, res = pxrEnumerateViewConfigurations(instance, system, 0, &len, NULL); if(res != XR_SUCCESS) WINE_WARN("xrEnumerateViewConfigurations failed: %d\n", res); - XrViewConfigurationType *configs = heap_alloc(len * sizeof(*configs)); + configs = heap_alloc(len * sizeof(*configs)); res = pxrEnumerateViewConfigurations(instance, system, len, &len, configs); if(res != XR_SUCCESS) WINE_WARN("xrEnumerateViewConfigurations failed: %d\n", res); heap_free(configs); - XrGraphicsRequirementsVulkanKHR reqs = { - .type = XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR, - }; res = pxrGetVulkanGraphicsRequirementsKHR(instance, system, &reqs); if(res != XR_SUCCESS) WINE_WARN("xrGetVulkanGraphicsRequirementsKHR failed: %d\n", res); @@ -492,27 +512,6 @@ int WINAPI __wineopenxr_get_extensions_internal(char **ret_instance_extensions, return res; } - VkApplicationInfo vk_appinfo = { - .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, - .pNext = NULL, - .pApplicationName = "wineopenxr test instance", - .applicationVersion = 0, - .pEngineName = "wineopenxr test instance", - .engineVersion = VK_MAKE_VERSION(1, 0, 0), - .apiVersion = VK_MAKE_VERSION(1, 1, 0), - }; - - VkInstanceCreateInfo vk_createinfo = { - .sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, - .pNext = NULL, - .flags = 0, - .pApplicationInfo = &vk_appinfo, - .enabledLayerCount = 0, - .ppEnabledLayerNames = NULL, - .enabledExtensionCount = 0, - .ppEnabledExtensionNames = NULL, - }; - parse_extensions(instance_extensions, &vk_createinfo.enabledExtensionCount, (char ***)&vk_createinfo.ppEnabledExtensionNames); @@ -1737,7 +1736,7 @@ XrResult WINAPI wine_xrCreateVulkanInstanceKHR(XrInstance instance, const XrVulk instance, createInfo, vulkanInstance, vulkanResult); if (createInfo->createFlags) - WINE_WARN("Unexpected flags %#x.\n", createInfo->createFlags); + WINE_WARN("Unexpected flags %#lx.\n", createInfo->createFlags); context.wine_instance = (wine_XrInstance *)instance; context.xr_create_info = createInfo; @@ -1792,7 +1791,7 @@ XrResult WINAPI wine_xrCreateVulkanDeviceKHR(XrInstance instance, const XrVulkan instance, createInfo, vulkanDevice, vulkanResult); if (createInfo->createFlags) - WINE_WARN("Unexpected flags %#x.\n", createInfo->createFlags); + WINE_WARN("Unexpected flags %#lx.\n", createInfo->createFlags); context.wine_instance = (wine_XrInstance *)instance; context.xr_create_info = createInfo; @@ -2065,7 +2064,7 @@ static D3D11_USAGE d3d11usage_from_XrSwapchainUsageFlags(XrSwapchainUsageFlags f D3D11_USAGE ret = 0; if (flags & ~supported_flags) - WINE_FIXME("Unhandled flags %#x.\n", flags); + WINE_FIXME("Unhandled flags %#lx.\n", flags); if (flags & XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT) ret |= D3D11_BIND_RENDER_TARGET; @@ -2105,6 +2104,7 @@ XrResult WINAPI wine_xrEnumerateSwapchainImages(XrSwapchain swapchain, uint32_t if(images && res == XR_SUCCESS){ if(wine_instance->instance_type == INSTANCE_TYPE_D3D11){ + XrSwapchainImageD3D11KHR *their_d3d11; D3D11_TEXTURE2D_DESC1 desc; desc.Width = wine_swapchain->create_info.width; @@ -2122,7 +2122,7 @@ XrResult WINAPI wine_xrEnumerateSwapchainImages(XrSwapchain swapchain, uint32_t desc.MiscFlags = 0; desc.TextureLayout = D3D11_TEXTURE_LAYOUT_UNDEFINED; - XrSwapchainImageD3D11KHR *their_d3d11 = (XrSwapchainImageD3D11KHR *)their_images; + their_d3d11 = (XrSwapchainImageD3D11KHR *)their_images; for(i = 0; i < *imageCountOutput; ++i){ hr = wine_instance->dxvk_device->lpVtbl->CreateTexture2DFromVkImage(wine_instance->dxvk_device, &desc, our_images[i].image, &their_d3d11[i].texture); diff --git a/wineopenxr/openxr_private.h b/wineopenxr/openxr_private.h index fb95749d9..f7e41f2d7 100644 --- a/wineopenxr/openxr_private.h +++ b/wineopenxr/openxr_private.h @@ -109,8 +109,6 @@ struct openxr_func { void *func; }; -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) - extern void *wine_xr_proc_addr(const char *name); extern XrResult WINAPI wine_xrEnumerateInstanceExtensionProperties(const char *layerName, diff --git a/wineopenxr/openxr_thunks.c b/wineopenxr/openxr_thunks.c index a7e8aaaa8..29cb7fca8 100644 --- a/wineopenxr/openxr_thunks.c +++ b/wineopenxr/openxr_thunks.c @@ -648,7 +648,7 @@ static XrResult WINAPI wine_xrSetInputDeviceActiveEXT(XrSession session, XrPath static XrResult WINAPI wine_xrSetInputDeviceLocationEXT(XrSession session, XrPath topLevelPath, XrPath inputSourcePath, XrSpace space, XrPosef pose) { - WINE_TRACE("%p, 0x%s, 0x%s, %p, \n", session, wine_dbgstr_longlong(topLevelPath), wine_dbgstr_longlong(inputSourcePath), space, pose); + WINE_TRACE("%p, 0x%s, 0x%s, %p, %p\n", session, wine_dbgstr_longlong(topLevelPath), wine_dbgstr_longlong(inputSourcePath), space, &pose); return ((wine_XrSession *)session)->wine_instance->funcs.p_xrSetInputDeviceLocationEXT(((wine_XrSession *)session)->session, topLevelPath, inputSourcePath, space, pose); } diff --git a/wineopenxr/wineopenxr.h b/wineopenxr/wineopenxr.h index 43e9097c9..539b1ba35 100644 --- a/wineopenxr/wineopenxr.h +++ b/wineopenxr/wineopenxr.h @@ -43,6 +43,10 @@ #define WINE_XR_ALIGN DECLSPEC_ALIGN #endif +#ifdef __x86_64__ +#define XR_PTR_SIZE 8 +#endif + #define XR_TRUE 1 #define XR_FALSE 0 #define XR_MAX_EXTENSION_NAME_SIZE 128